this.webpackChunk([41],{1289:function(e,t,a){"use strict";a.r(t);var n=a(6),r=a(0),c=a.n(r),i=a(16),l=a(146),o=a(852),u=a(854),s=a(148),m=a(855),g=a(80),h=a(240),b=a(847),p=a(658),f=a(137),d=a(50),E=a.n(d),v=Object(l.a)((function(e){return{root:{margin:e.spacing(4)},closeButton:{position:"absolute",right:e.spacing(1),top:e.spacing(1),color:e.palette.grey[500]}}}));t.default=Object(i.observer)((function(e){var t=v(),a=e.model,i=e.handleClose,l=a.featureHeightSetting,d=a.noSpacing,N=Object(r.useState)("".concat(l)),y=Object(n.a)(N,2),S=y[0],j=y[1],C=Object(r.useState)(d),k=Object(n.a)(C,2),O=k[0],w=k[1],B=""!==S&&!Number.isNaN(+S);return c.a.createElement(o.a,{open:!0,onClose:i},c.a.createElement(u.a,null,"Set feature height",c.a.createElement(s.a,{className:t.closeButton,onClick:i},c.a.createElement(E.a,null))),c.a.createElement(m.a,null,c.a.createElement(g.a,null,"Adjust the feature height and whether there is any spacing between features. Setting feature height to 1 and removing spacing makes the display very compact"),c.a.createElement("div",{className:t.root},c.a.createElement(g.a,null,"Enter feature height: "),c.a.createElement(h.a,{value:S,onChange:function(e){j(e.target.value)}}),c.a.createElement(b.a,{control:c.a.createElement(p.a,{checked:!!O,onChange:function(){return w((function(e){return!e}))}}),label:"Remove spacing between features in y-direction?"}),c.a.createElement(f.a,{variant:"contained",color:"primary",type:"submit",style:{marginLeft:20},disabled:!B,onClick:function(){a.setFeatureHeight(""===S||Number.isNaN(+S)?void 0:+S),a.setNoSpacing(O),i()}},"Submit"))))}))}});
//# sourceMappingURL=41.036851d5f5ae716110a5.worker.js.map