"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[8113],{28113:function(n,e,c){c.r(e);var o=c(96234),r=(c(30969),c(83483)),i=c(64501),s=c(93138),l=c(54249),t=c(67071),a=c(57886),u=c(53033),d=c(28599),h=c(90550),j=c(37574);e.default=(0,h.observer)((function(n){var e=n.modalInfo,c=void 0===e?{}:e,h=n.setModalInfo,f=c.name,x=c.dereferenceTypeCount,Z=c.safelyBreakConnection;return(0,j.jsxs)(r.Z,{open:!0,children:[(0,j.jsxs)(i.Z,{children:['Close connection "',f,'"']}),(0,j.jsxs)(s.Z,{children:[x?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(l.Z,{children:"Closing this connection will close:"}),(0,j.jsx)(t.Z,{children:Object.entries(x).map((function(n){var e=(0,o.Z)(n,2),c=e[0],r=e[1];return(0,j.jsx)(a.Z,{children:"".concat(r," ").concat(c)},c)}))})]}):null,(0,j.jsx)(l.Z,{children:"Are you sure you want to close this connection?"})]}),(0,j.jsxs)(u.Z,{children:[(0,j.jsx)(d.Z,{onClick:function(){return h()},color:"primary",children:"Cancel"}),(0,j.jsx)(d.Z,{variant:"contained",onClick:c?function(){null===Z||void 0===Z||Z(),h()}:function(){},color:"primary",children:"OK"})]})]})}))}}]);
//# sourceMappingURL=8113.bb2420ee.chunk.js.map