"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[8825],{8825:(n,e,o)=>{o.r(e),o.d(e,{default:()=>a});var i=o(84340),l=o(42524),r=o(28194),c=o(69092),s=o(89870),t=o(69500);function a({onClose:n,contents:e}){return(0,t.jsx)(l.A,{open:!0,onClose:n,anchorOrigin:{vertical:"bottom",horizontal:"center"},children:(0,t.jsx)(r.A,{onClose:n,action:e.action?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.A,{color:"inherit",onClick:o=>{e.action?.onClick(),n(o)},children:e.action.name}),(0,t.jsx)(s.A,{color:"inherit",onClick:n,children:(0,t.jsx)(i.A,{})})]}):null,severity:e.level||"warning",children:e.message})})}}}]);
//# sourceMappingURL=8825.c5eccf35.chunk.js.map