"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[8208],{68208:function(n,e,r){r.r(e),r.d(e,{default:function(){return f}});var i=r(32723),t=r(34795),s=(r(30969),r(92256)),a=r(48651),o=r(74466),c=r(17984),l=r(41680),u=r(69852),h=r(87967),d=r(37574);function f(n){var e=n.onConfirm,r=n.onCancel,f=n.reason;return(0,d.jsxs)(s.Z,{open:!0,maxWidth:"xl","data-testid":"session-warning-modal","aria-labelledby":"alert-dialog-title",children:[(0,d.jsx)(a.Z,{id:"alert-dialog-title",children:"Warning"}),(0,d.jsx)(o.Z,{}),(0,d.jsxs)("div",{children:[(0,d.jsx)(h.Z,{fontSize:"large"}),(0,d.jsx)(c.Z,{children:(0,d.jsxs)(l.Z,{children:["This link contains a cross origin config that has the following unknown plugins:",(0,d.jsx)("ul",{children:f.map((function(n){return(0,d.jsxs)("li",{children:["URL: ",n.url]},JSON.stringify(n))}))}),"Please ensure you trust the source of this link."]})}),(0,d.jsx)(u.Z,{color:"primary",variant:"contained",style:{marginRight:5},onClick:(0,t.Z)((0,i.Z)().mark((function n(){return(0,i.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e();case 1:case"end":return n.stop()}}),n)}))),children:"Yes, I trust it"}),(0,d.jsx)(u.Z,{variant:"contained",onClick:(0,t.Z)((0,i.Z)().mark((function n(){return(0,i.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:r();case 1:case"end":return n.stop()}}),n)}))),children:"Cancel"})]})]})}},87967:function(n,e,r){var i=r(71600);e.Z=void 0;var t=i(r(48035)),s=r(37574),a=(0,t.default)((0,s.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");e.Z=a}}]);
//# sourceMappingURL=8208.f920873a.chunk.js.map