"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[4583],{74583:function(n,e,i){i.r(e),i.d(e,{default:function(){return u}});i(96902);var s=i(46186),r=i(52809),t=i(92735),o=i(99688),a=i(44536),l=i(6102),c=i(29938);function u(n){var e=n.onConfirm,i=n.onCancel,u=n.reason;return(0,c.jsxs)(s.Dialog,{open:!0,maxWidth:"xl","data-testid":"session-warning-modal",title:"Warning",children:[(0,c.jsxs)(r.Z,{children:[(0,c.jsx)(l.Z,{fontSize:"large"}),(0,c.jsxs)(t.Z,{children:["This link contains a session that has the following unknown plugins:",(0,c.jsx)("ul",{children:u.map((function(n){return(0,c.jsxs)("li",{children:["URL: ",n.url]},JSON.stringify(n))}))}),"Please ensure you trust the source of this session."]})]}),(0,c.jsxs)(o.Z,{children:[(0,c.jsx)(a.Z,{color:"primary",variant:"contained",onClick:function(){return e()},children:"Yes, I trust it"}),(0,c.jsx)(a.Z,{variant:"contained",color:"secondary",onClick:function(){return i()},children:"Cancel"})]})]})}},6102:function(n,e,i){var s=i(71600);e.Z=void 0;var r=s(i(7152)),t=i(29938),o=(0,r.default)((0,t.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");e.Z=o}}]);
//# sourceMappingURL=4583.6c2caf29.chunk.js.map