"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[1811],{71811:(e,l,t)=>{t.r(l),t.d(l,{default:()=>k});var n=t(7552),o=t(68446),a=t(29499),r=t(9937),c=t(58507),s=t(5401),i=t(49823);const k=(0,o.observer)((function({onClose:e,model:l}){const{selectedBookmarks:t}=l,o=0===t.length;return n.createElement(i.Dialog,{open:!0,onClose:e,title:"Delete bookmarks"},n.createElement(a.A,null,n.createElement(r.A,{severity:"warning"},o?n.createElement(n.Fragment,null,n.createElement("span",null,"All bookmarks will be deleted."),n.createElement("br",null),n.createElement("span",null,"Use the checkboxes to select individual bookmarks to delete.")):"Only selected bookmarks will be deleted.")),n.createElement(c.A,null,n.createElement(s.A,{variant:"contained",color:"secondary",onClick:()=>{e()}},"Cancel"),n.createElement(s.A,{variant:"contained",color:"primary",onClick:()=>{o&&l.clearAllBookmarks(),l.clearSelectedBookmarks(),e()}},"Confirm")))}))}}]);
//# sourceMappingURL=1811.7cfd8419.chunk.js.map