"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9114],{9114:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var s=n(67758),a=n(87083),i=n(99546),r=n(7552),l=n(61282),d=n(65895),o=n(69500);const u=(0,r.lazy)(()=>n.e(5930).then(n.bind(n,45930))),c=(0,r.lazy)(()=>n.e(457).then(n.bind(n,80457)));function m(e){const t=(0,s.c)(44),{model:n,feature:a}=e;let r;t[0]!==n?(r=(0,i.getSession)(n),t[0]=n,t[1]=r):r=t[1];const m=r;let f,h,p,w,b,x,g,_,v,y,N,j,k,q;return t[2]!==a.end||t[3]!==a.id||t[4]!==a.next_pos||t[5]!==a.next_ref||t[6]!==a.refName||t[7]!==a.start||t[8]!==a.strand||t[9]!==a.uniqueId?(f={uniqueId:a.uniqueId,refName:a.refName,start:a.start,end:a.end,strand:a.strand},h={uniqueId:`${a.id}-mate`,refName:a.next_ref,start:a.next_pos,end:a.next_pos+1,strand:a.strand},t[20]===Symbol.for("react.memo_cache_sentinel")?(y=(0,o.jsx)(l.A,{children:"Launch split view"}),t[20]=y):y=t[20],p=f.refName,w=":",b=(0,i.toLocale)(f.start),x=" -> ",g=h.refName,_=":",v=(0,i.toLocale)(h.start),t[2]=a.end,t[3]=a.id,t[4]=a.next_pos,t[5]=a.next_ref,t[6]=a.refName,t[7]=a.start,t[8]=a.strand,t[9]=a.uniqueId,t[10]=f,t[11]=h,t[12]=p,t[13]=w,t[14]=b,t[15]=x,t[16]=g,t[17]=_,t[18]=v,t[19]=y):(f=t[10],h=t[11],p=t[12],w=t[13],b=t[14],x=t[15],g=t[16],_=t[17],v=t[18],y=t[19]),t[21]!==f||t[22]!==h||t[23]!==n||t[24]!==m?(N=(0,o.jsx)(d.A,{href:"#",onClick:e=>{e.preventDefault(),m.queueDialog(e=>[u,{handleClose:e,session:m,feature:new i.SimpleFeature({...f,mate:h}),view:n.view,assemblyName:n.view.displayedRegions[0].assemblyName}])},children:"(top/bottom)"}),t[21]=f,t[22]=h,t[23]=n,t[24]=m,t[25]=N):N=t[25],t[26]!==f||t[27]!==h||t[28]!==n||t[29]!==m?(j=(0,o.jsx)(d.A,{href:"#",onClick:e=>{e.preventDefault(),m.queueDialog(e=>[c,{handleClose:e,session:m,feature:new i.SimpleFeature({...f,mate:h}),view:n.view,assemblyName:n.view.displayedRegions[0].assemblyName}])},children:"(single row)"}),t[26]=f,t[27]=h,t[28]=n,t[29]=m,t[30]=j):j=t[30],t[31]!==N||t[32]!==j||t[33]!==p||t[34]!==w||t[35]!==b||t[36]!==x||t[37]!==g||t[38]!==_||t[39]!==v?(k=(0,o.jsx)("ul",{children:(0,o.jsxs)("li",{children:[p,w,b,x,g,_,v," ",N," ",j]})}),t[31]=N,t[32]=j,t[33]=p,t[34]=w,t[35]=b,t[36]=x,t[37]=g,t[38]=_,t[39]=v,t[40]=k):k=t[40],t[41]!==k||t[42]!==y?(q=(0,o.jsxs)("div",{children:[y,k]}),t[41]=k,t[42]=y,t[43]=q):q=t[43],q}function f(e){const t=(0,s.c)(7),{model:n,feature:r}=e;let l,d;if(t[0]!==n){const e=(0,i.getSession)(n),{pluginManager:s}=(0,i.getEnv)(e);l=!1;try{l=!!s.getViewType("BreakpointSplitView")}catch(d){}t[0]=n,t[1]=l}else l=t[1];return t[2]!==r||t[3]!==l||t[4]!==n||t[5]!==e?(d=l?(0,o.jsx)(a.default,{...e,title:"Paired alignments",children:(0,o.jsx)(m,{model:n,feature:r})}):null,t[2]=r,t[3]=l,t[4]=n,t[5]=e,t[6]=d):d=t[6],d}}}]);
//# sourceMappingURL=9114.ec58eef4.chunk.js.map