"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[1038],{2538:(e,a,t)=>{t.d(a,{A:()=>k});var n=t(7552),r=t(93878),o=t(75100),s=t(62266),i=t(80317),l=t(21928),c=t(50864),d=t(95054),b=t(10408),u=t(69500);const p=(0,i.Ay)(d.A,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,a)=>a.root})((0,l.A)((({theme:e})=>{const a="light"===e.palette.mode?.8:.98,t=(0,s.tL)(e.palette.background.default,a);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(t),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:t,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}}))),g=(0,i.Ay)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,a)=>a.message})({padding:"8px 0"}),m=(0,i.Ay)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,a)=>a.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),k=n.forwardRef((function(e,a){const t=(0,c.b)({props:e,name:"MuiSnackbarContent"}),{action:n,className:s,message:i,role:l="alert",...d}=t,k=t,v=(e=>{const{classes:a}=e;return(0,o.A)({root:["root"],action:["action"],message:["message"]},b.d,a)})(k);return(0,u.jsxs)(p,{role:l,square:!0,elevation:6,className:(0,r.A)(v.root,s),ownerState:k,ref:a,...d,children:[(0,u.jsx)(g,{className:v.message,ownerState:k,children:i}),n?(0,u.jsx)(m,{className:v.action,ownerState:k,children:n}):null]})}))},10408:(e,a,t)=>{t.d(a,{A:()=>s,d:()=>o});var n=t(51062),r=t(2958);function o(e){return(0,r.Ay)("MuiSnackbarContent",e)}const s=(0,n.A)("MuiSnackbarContent",["root","message","action"])},61038:(e,a,t)=>{t.r(a),t.d(a,{default:()=>n.A,getSnackbarContentUtilityClass:()=>r.d,snackbarContentClasses:()=>r.A});var n=t(2538),r=t(10408)}}]);
//# sourceMappingURL=1038.4e26a91e.chunk.js.map