"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[7751],{87751:function(e,o,n){n.r(o),n.d(o,{ColorPicker:function(){return a}});var r=n(96234),s=n(30969),t=n(22714),i=n(78017),c=n(37574),l=(0,t.Z)({popover:{position:"absolute",zIndex:2},cover:{position:"fixed",top:0,right:0,bottom:0,left:0}});function a(e){var o=e.color,n=e.onChange,t=l(),a=(0,s.useState)(!0),u=(0,r.Z)(a,2),p=u[0],d=u[1];return(0,c.jsx)("div",{children:p?(0,c.jsxs)("div",{className:t.popover,children:[(0,c.jsx)("div",{role:"presentation",className:t.cover,onClick:function(){d(!1)}}),(0,c.jsx)(i.AI,{color:o,onChange:n})]}):null})}o.default=a}}]);
//# sourceMappingURL=7751.19dcc251.chunk.js.map