(this["webpackJsonp@jbrowse/web"]=this["webpackJsonp@jbrowse/web"]||[]).push([[31],{2431:function(e,a,t){"use strict";t.r(a),t.d(a,"default",(function(){return v}));var n=t(89),r=t.n(n),i=t(91),l=t(1),c=t.n(l),o=t(2363),s=t(51),u=t(2396),m=t(2400),d=t(2401),p=t(2399),f=t(2386),h=t(438),g=t.n(h),b=Object(s.a)((function(e){return{main:{textAlign:"center",margin:e.spacing(2),padding:e.spacing(2),borderWidth:2,borderRadius:2},buttons:{margin:e.spacing(2),color:e.palette.text.primary}}}));function v(e){var a=e.onConfirm,t=e.onCancel,n=e.reason,l=b();return c.a.createElement(u.a,{open:!0,maxWidth:"xl","data-testid":"session-warning-modal","aria-labelledby":"alert-dialog-title",className:l.main},c.a.createElement(p.a,{id:"alert-dialog-title"},"Warning"),c.a.createElement(f.a,null),c.a.createElement("div",null,c.a.createElement(g.a,{fontSize:"large"}),c.a.createElement(m.a,null,c.a.createElement(d.a,null,"This link contains a cross origin config that has the following unknown plugins:",c.a.createElement("ul",null,n.map((function(e){return c.a.createElement("li",null,"URL: ",e.url)}))),"Please ensure you trust the source of this link.")),c.a.createElement("div",{className:l.buttons},c.a.createElement(o.a,{color:"primary",variant:"contained",style:{marginRight:5},onClick:Object(i.a)(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a();case 1:case"end":return e.stop()}}),e)})))},"Yes, I trust it"),c.a.createElement(o.a,{variant:"contained",onClick:Object(i.a)(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t();case 1:case"end":return e.stop()}}),e)})))},"Cancel"))))}},438:function(e,a,t){"use strict";var n=t(86),r=t(97);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=r(t(1)),l=(0,n(t(98)).default)(i.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");a.default=l}}]);
//# sourceMappingURL=31.d9b5f3cc.chunk.js.map