"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4459],{34459:(e,t,l)=>{l.r(t),l.d(t,{default:()=>m});var o=l(66204),n=l(80846),a=l(29520),r=l(80013),i=l(32831),c=l(62301),s=l(7146),h=l(43902),k=l(47500);const m=(0,n.observer)((function({onClose:e,model:t}){const{selectedBookmarks:l}=t,n=0===l.length,[m,u]=(0,o.useState)(l[0]?.highlight??"rgba(247, 129, 192, 0.35)");return o.createElement(h.Dialog,{open:!0,onClose:e,title:"Highlight bookmarks"},o.createElement(a.Z,null,o.createElement(r.Z,{variant:"h6"},"Bulk highlight selector"),o.createElement(i.Z,{severity:"info"},n?o.createElement("span",null,"Use the checkboxes to select individual bookmarks to edit."):"Only selected bookmarks will be edited."),n?null:o.createElement(k.ColorPicker,{color:m,onChange:e=>u(e)})),o.createElement(c.Z,null,o.createElement(s.Z,{variant:"contained",color:"secondary",onClick:()=>e()},"Cancel"),o.createElement(s.Z,{variant:"contained",color:"primary",onClick:()=>{t.updateBulkBookmarkHighlights(m),e()}},"Confirm")))}))}}]);
//# sourceMappingURL=4459.5b188b70.chunk.js.map