view x/static/js/9114.d412d44e.chunk.js @ 133:cec274db51c0 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 7d28252954cae9f8db5f8a85d8f29cb2865b504b-dirty
author fubar
date Fri, 18 Oct 2024 11:57:55 +0000
parents 49f3d3878413
children
line wrap: on
line source

"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9114],{9114:(e,t,a)=>{a.r(t),a.d(t,{default:()=>c});var n=a(7552),l=a(68984),r=a(99546),i=a(36715),s=a(87731);const u=(0,n.lazy)((()=>a.e(5930).then(a.bind(a,45930)))),o=(0,n.lazy)((()=>a.e(457).then(a.bind(a,80457))));function m({model:e,feature:t,viewType:a}){const l=(0,r.getSession)(e),m={uniqueId:t.uniqueId,refName:t.refName,start:t.start,end:t.end,strand:t.strand},d={uniqueId:`${t.id}-mate`,refName:t.next_ref,start:t.next_pos,end:t.next_pos+1,strand:t.strand};return n.createElement("div",null,n.createElement(i.A,null,"Launch split view"),n.createElement("ul",null,n.createElement("li",null,m.refName,":",(0,r.toLocale)(m.start)," -> ",d.refName,":",(0,r.toLocale)(d.start)," ",n.createElement(s.A,{href:"#",onClick:t=>{t.preventDefault(),l.queueDialog((t=>[u,{handleClose:t,model:e,feature:new r.SimpleFeature({...m,mate:d}),viewType:a,view:e.view,assemblyName:e.view.displayedRegions[0].assemblyName}]))}},"(top/bottom)")," ",n.createElement(s.A,{href:"#",onClick:t=>{t.preventDefault(),l.queueDialog((t=>[o,{handleClose:t,model:e,feature:new r.SimpleFeature({...m,mate:d}),viewType:a,view:e.view,assemblyName:e.view.displayedRegions[0].assemblyName}]))}},"(single row)"))))}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},d.apply(null,arguments)}function c(e){const{model:t,feature:a}=e,i=(0,r.getSession)(t),{pluginManager:s}=(0,r.getEnv)(i);let u;try{u=s.getViewType("BreakpointSplitView")}catch(e){}return n.createElement(l.BaseCard,d({},e,{title:"Supplementary alignments"}),u?n.createElement(m,{viewType:u,model:t,feature:a}):null)}}}]);
//# sourceMappingURL=9114.d412d44e.chunk.js.map