"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[2047],{82047:function(e,l,n){n.r(l);n(30969);var r=n(90550),o=n(59071),s=n(76149),c=n(96074),i=n(72097),a=n(59767),t=n(37574),d=(0,r.observer)((function(e){var l=e.onClose,n=e.model,r=0===n.selectedBookmarks.length;return(0,t.jsxs)(a.Dialog,{open:!0,onClose:l,title:"Delete bookmarks",children:[(0,t.jsx)(o.Z,{children:(0,t.jsx)(s.Z,{severity:"warning",children:r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:"All bookmarks will be deleted."}),(0,t.jsx)("br",{}),(0,t.jsx)("span",{children:"Use the checkboxes to select individual bookmarks to delete."})]}):"Only selected bookmarks will be deleted."})}),(0,t.jsxs)(c.Z,{children:[(0,t.jsx)(i.Z,{variant:"contained",color:"secondary",onClick:function(){return l()},children:"Cancel"}),(0,t.jsx)(i.Z,{variant:"contained",color:"primary",onClick:function(){r&&n.clearAllBookmarks(),n.clearSelectedBookmarks(),l()},children:"Confirm"})]})]})}));l.default=d}}]);
//# sourceMappingURL=2047.e86f458e.chunk.js.map