(this["webpackJsonp@jbrowse/web"]=this["webpackJsonp@jbrowse/web"]||[]).push([[85],{2281:function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return p}));var n=a(1),o=a.n(n),r=a(51),c=a(2240),l=a(2243),i=a(2215),s=a(2244),u=a(2208),b=a(117),d=a.n(b),m=a(1200),f=Object(r.a)((function(e){return{root:{},closeButton:{position:"absolute",right:e.spacing(1),top:e.spacing(1),color:e.palette.grey[500]}}}));function p(e){var t=f(),a=e.model,n=e.handleClose;return o.a.createElement(c.a,{open:!0,onClose:n,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description"},o.a.createElement(l.a,{id:"alert-dialog-title"},"Select a color",o.a.createElement(i.a,{"aria-label":"close",className:t.closeButton,onClick:n},o.a.createElement(d.a,null))),o.a.createElement(s.a,{style:{overflowX:"hidden"}},o.a.createElement("div",{className:t.root},o.a.createElement(m.b,{onChange:function(e){a.setColor(function(e){if(e instanceof Object){var t=e,a=t.r,n=t.g,o=t.b,r=t.a;return"rgb(".concat(a,",").concat(n,",").concat(o,",").concat(r,")")}return e}(e.rgb))}}),o.a.createElement("br",null),o.a.createElement("div",{style:{margin:20}},o.a.createElement(u.a,{onClick:function(){a.setColor(void 0)},color:"secondary",variant:"contained"},"Restore default from config"),o.a.createElement(u.a,{variant:"contained",color:"primary",type:"submit",onClick:function(){n()}},"Submit")))))}}}]);
//# sourceMappingURL=85.175b5bb7.chunk.js.map