"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[5898],{85898:function(e,n,t){t.r(n);var i=t(33028),s=(t(96902),t(52809)),r=t(92735),a=t(2769),o=t(4782),d=t(91188),l=t(4514),h=t(99836),c=t(42054),u=t(29938),f=(0,d.ZL)()({content:{minWidth:600}});n.default=(0,o.observer)((function(e){for(var n=e.tracksWithWarnings,t=e.handleClose,o=f().classes,d=[],g=0;g<n.length;g++)for(var w=n[g],m=(0,h.getConf)(w,"name"),b=0;b<w.displays[0].warnings.length;b++){var p=w.displays[0].warnings[b];d.push((0,i.Z)((0,i.Z)({name:m},p),{},{id:g+"_"+b}))}var v=[{field:"name"},{field:"message",width:(0,c.measureGridWidth)(d.map((function(e){return e.message})))},{field:"effect",width:(0,c.measureGridWidth)(d.map((function(e){return e.effect})))}];return(0,u.jsx)(a.Dialog,{open:!0,onClose:t,maxWidth:"xl",title:"Dotplot rendered with warnings",children:(0,u.jsxs)(s.Z,{className:o.content,children:[(0,u.jsx)(r.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,u.jsx)("div",{style:{height:600,width:"100%",overflow:"auto"},children:(0,u.jsx)(l._,{rows:d,columns:v,disableSelectionOnClick:!0,rowHeight:25,disableColumnMenu:!0})})]})})}))}}]);
//# sourceMappingURL=5898.f5cab79a.chunk.js.map