"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 p}});var i=r(32723),t=r(34795),a=(r(30969),r(28599)),s=r(22714),c=r(83483),o=r(93138),l=r(54249),u=r(64501),d=r(89001),h=r(93114),f=r(37574),g=(0,s.Z)((function(n){return{main:{textAlign:"center",margin:n.spacing(2),padding:n.spacing(2),borderWidth:2,borderRadius:2},buttons:{margin:n.spacing(2),color:n.palette.text.primary}}}));function p(n){var e=n.onConfirm,r=n.onCancel,s=n.reason,p=g();return(0,f.jsxs)(c.Z,{open:!0,maxWidth:"xl","data-testid":"session-warning-modal","aria-labelledby":"alert-dialog-title",className:p.main,children:[(0,f.jsx)(u.Z,{id:"alert-dialog-title",children:"Warning"}),(0,f.jsx)(d.Z,{}),(0,f.jsxs)("div",{children:[(0,f.jsx)(h.Z,{fontSize:"large"}),(0,f.jsx)(o.Z,{children:(0,f.jsxs)(l.Z,{children:["This link contains a cross origin config that has the following unknown plugins:",(0,f.jsx)("ul",{children:s.map((function(n){return(0,f.jsxs)("li",{children:["URL: ",n.url]},JSON.stringify(n))}))}),"Please ensure you trust the source of this link."]})}),(0,f.jsxs)("div",{className:p.buttons,children:[(0,f.jsx)(a.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,f.jsx)(a.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"})]})]})]})}},93114:function(n,e,r){var i=r(14859),t=r(93291);e.Z=void 0;var a=t(r(30969)),s=(0,i(r(87131)).default)(a.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");e.Z=s}}]);
//# sourceMappingURL=8208.d09d95e9.chunk.js.map