import{s as i,m as s,o as l,e as r,f as t,k as d,l as _,n as u,a2 as m,v as p}from"./vendor-wgE37vvX.js";import{u as f}from"./NoticeStore-nqsJtGPX.js";const h={key:0,class:"toasts"},N={class:"list-unstyled mb-0"},v={class:"row no-gutters"},x=t("div",{class:"col-3 pr-2"},[t("i",{class:"mi-cart icon-32px"})],-1),k=["innerHTML"],T={class:"col-auto"},b=t("i",{class:"mi-times icon-20px"},null,-1),g=[b],H={__name:"NoticeToasts",setup(w){const e=f(),{showNotice:n,getNoticeText:c,getNoticeBackground:a}=i(e);return(B,o)=>s(n)?(l(),r("div",h,[t("ul",N,[d(m,{name:"fade"},{default:_(()=>[t("li",{class:u(["mt-2 p-2 text-white rounded-lg shadow",s(a)])},[t("div",v,[x,t("div",{class:"col self-center text-sm font-bold",innerHTML:s(c)},null,8,k),t("div",T,[t("button",{type:"button",class:"btn p-1 rounded-pill",onClick:o[0]||(o[0]=C=>s(e).removeNotice())},g)])])],2)]),_:1})])])):p("",!0)}};export{H as default};