"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[1811],{71811:(e,l,o)=>{o.r(l),o.d(l,{default:()=>d});var s=o(67112),r=o(76218),n=o(28194),c=o(30698),a=o(69092),i=o(68446),t=o(69500);const d=(0,i.observer)((function({onClose:e,model:l}){const{selectedBookmarks:o}=l,i=0===o.length;return(0,t.jsxs)(s.Dialog,{open:!0,onClose:e,title:"Delete bookmarks",children:[(0,t.jsx)(r.A,{children:(0,t.jsx)(n.A,{severity:"warning",children:i?(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.A,{children:[(0,t.jsx)(a.A,{variant:"contained",color:"secondary",onClick:()=>{e()},children:"Cancel"}),(0,t.jsx)(a.A,{variant:"contained",color:"primary",onClick:()=>{i&&l.clearAllBookmarks(),l.clearSelectedBookmarks(),e()},children:"Confirm"})]})]})}))}}]);
//# sourceMappingURL=1811.dc188ae5.chunk.js.map