"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[6271],{36271:function(e,n,t){t.r(n);var s=t(33028),i=(t(30969),t(92256)),r=t(48651),a=t(66581),o=t(17984),l=t(41680),d=t(90550),c=t(2374),h=t(7456),u=t(9077),f=t(88581),g=t(81073),m=t(37574),w=(0,c.ZL)()((function(e){return{closeButton:{position:"absolute",right:e.spacing(1),top:e.spacing(1),color:e.palette.grey[500]},content:{minWidth:600}}}));n.default=(0,d.observer)((function(e){for(var n=e.tracksWithWarnings,t=e.handleClose,d=w().classes,c=[],p=0;p<n.length;p++)for(var b=n[p],j=(0,u.getConf)(b,"name"),x=0;x<b.displays[0].warnings.length;x++){var C=b.displays[0].warnings[x];c.push((0,s.Z)((0,s.Z)({name:j},C),{},{id:p+"_"+x}))}var Z=[{field:"name"},{field:"message",width:(0,g.measureGridWidth)(c.map((function(e){return e.message})))},{field:"effect",width:(0,g.measureGridWidth)(c.map((function(e){return e.effect})))}];return(0,m.jsxs)(i.Z,{open:!0,onClose:t,maxWidth:"xl",children:[(0,m.jsxs)(r.Z,{children:["Dotplot rendered with warnings",(0,m.jsx)(a.Z,{className:d.closeButton,onClick:function(){return t()},size:"large",children:(0,m.jsx)(f.Z,{})})]}),(0,m.jsxs)(o.Z,{className:d.content,children:[(0,m.jsx)(l.Z,{children:"Found warnings while rendering the dotplot. This is often due to out-of-bound features that may indicate the wrong assemblies are being used. Check that the query and target are configured correctly, and that the right assemblies are being compared."}),(0,m.jsx)("div",{style:{height:600,width:"100%",overflow:"auto"},children:(0,m.jsx)(h._,{rows:c,columns:Z,disableSelectionOnClick:!0,rowHeight:25,disableColumnMenu:!0})})]})]})}))}}]);
//# sourceMappingURL=6271.594aabcc.chunk.js.map