Mercurial > repos > fubar > jbrowse2
view x/static/js/3116.fa0100fd.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([[3116],{93116:(e,n,t)=>{t.r(n),t.d(n,{default:()=>f});var a=t(7552),l=t(29499),r=t(99123),o=t(58507),i=t(5401),s=t(49823),c=t(32761),u=t(55252),h=t(58701),m=t(59773);function g({onConfirm:e,onCancel:n,reason:t}){return a.createElement(s.Dialog,{open:!0,maxWidth:"xl",title:"Warning"},a.createElement(l.A,null,a.createElement(h.A,{fontSize:"large"}),a.createElement(r.A,null,"This link contains a cross origin config that has the following unknown plugins:",a.createElement("ul",null,t.map((e=>a.createElement("li",{key:JSON.stringify(e)},(0,m.lc)(e))))),"Please ensure you trust the source of this link.")),a.createElement(o.A,null,a.createElement(i.A,{color:"primary",variant:"contained",onClick:()=>{e()}},"Yes, I trust it"),a.createElement(i.A,{color:"secondary",variant:"contained",onClick:()=>{n()}},"Cancel")))}function f({loader:e,handleClose:n}){const{sessionTriaged:t}=e;return t?a.createElement(g,{onConfirm:async()=>{const a=JSON.parse(JSON.stringify(t.snap));await e.fetchPlugins(a),e.setConfigSnapshot({...a,id:(0,c.Ak)()}),n()},onCancel:async()=>{await(0,u.A)(),n()},reason:t.reason}):null}},58701:(e,n,t)=>{t.d(n,{A:()=>r});var a=t(74893),l=t(69500);const r=(0,a.A)((0,l.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning")}}]); //# sourceMappingURL=3116.fa0100fd.chunk.js.map