view x/static/js/7564.3a461e67.chunk.js @ 125:49f3d3878413 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
author fubar
date Sat, 05 Oct 2024 23:58:05 +0000
parents
children
line wrap: on
line source

"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[7564],{7564:(e,n,t)=>{t.r(n),t.d(n,{default:()=>d});var a=t(7552),l=t(49823),s=t(29499),o=t(99123),r=t(58507),i=t(5401),c=t(32761),u=t(58701),h=t(59773);function m({onConfirm:e,onCancel:n,reason:t}){return a.createElement(l.Dialog,{open:!0,maxWidth:"xl",title:"Warning"},a.createElement(s.A,null,a.createElement(u.A,{fontSize:"large"}),a.createElement(o.A,null,"This link contains a session that has the following unknown plugins:",a.createElement("ul",null,t.map((e=>a.createElement("li",{key:JSON.stringify(e)},(0,h.lc)(e))))),"Please ensure you trust the source of this session.")),a.createElement(r.A,null,a.createElement(i.A,{color:"primary",variant:"contained",onClick:()=>{e()}},"Yes, I trust it"),a.createElement(i.A,{variant:"contained",color:"secondary",onClick:()=>{n()}},"Cancel")))}function d({loader:e,handleClose:n}){const{sessionTriaged:t}=e;return t?a.createElement(m,{onConfirm:async()=>{const a=JSON.parse(JSON.stringify(t.snap));await e.setSessionSnapshot({...a,id:(0,c.Ak)()},!0),n()},onCancel:()=>{e.setBlankSession(!0),n()},reason:t.reason}):null}},58701:(e,n,t)=>{t.d(n,{A:()=>s});var a=t(74893),l=t(69500);const s=(0,a.A)((0,l.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning")}}]);
//# sourceMappingURL=7564.3a461e67.chunk.js.map