"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[8825],{8825:(e,n,o)=>{o.r(n),o.d(n,{default:()=>h});var c=o(67758),i=o(84340),l=o(69092),s=o(89870),t=o(28194),r=o(42524),a=o(69500);function h(e){const n=(0,c.c)(12),{onClose:o,contents:h}=e;let b,m;n[0]===Symbol.for("react.memo_cache_sentinel")?(b={vertical:"bottom",horizontal:"center"},n[0]=b):b=n[0],n[1]!==h.action||n[2]!==o?(m=h.action?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.A,{color:"inherit",onClick:e=>{h.action?.onClick(),o(e)},children:h.action.name}),(0,a.jsx)(s.A,{color:"inherit",onClick:o,children:(0,a.jsx)(i.A,{})})]}):null,n[1]=h.action,n[2]=o,n[3]=m):m=n[3];const g=h.level||"warning";let j,u;return n[4]!==h.message||n[5]!==o||n[6]!==m||n[7]!==g?(j=(0,a.jsx)(t.A,{onClose:o,action:m,severity:g,children:h.message}),n[4]=h.message,n[5]=o,n[6]=m,n[7]=g,n[8]=j):j=n[8],n[9]!==o||n[10]!==j?(u=(0,a.jsx)(r.A,{open:!0,onClose:o,anchorOrigin:b,children:j}),n[9]=o,n[10]=j,n[11]=u):u=n[11],u}}}]);
//# sourceMappingURL=8825.ccf71b87.chunk.js.map