import{b as r,c,j as a,p as m,k as f,i as l,u as i,g as p,H as d,T as u,t as _,a as k}from"./vue-Cm77DuTi.js";import{X as v}from"./MkNotification-DuBjKjip.js";import{aM as x,_ as N}from"./app-QjDgb7aF.js";import"./MkReactionIcon.vue_vue_type_script_setup_true_lang-D23mNn1N.js";import"./get-note-summary-DlGmePWF.js";import"./charts-3gEHPHRq.js";import"./media-DuCIZ-3n.js";const T=r({__name:"MkNotificationToast",props:{notification:{}},emits:["closed"],setup(n,{emit:w}){const s=x("high");let t=k(!0);return c(()=>{window.setTimeout(()=>{t.value=!1},6e3)}),(o,e)=>(a(),m("div",{class:"mk-notification-toast",style:_({zIndex:i(s)})},[f(u,{name:o.$store.state.animation?"notification-toast":"",appear:"",onAfterLeave:e[0]||(e[0]=y=>o.$emit("closed"))},{default:l(()=>[i(t)?(a(),p(v,{key:0,notification:n.notification,class:"notification _acrylic"},null,8,["notification"])):d("",!0)]),_:1},8,["name"])],4))}}),$=N(T,[["__scopeId","data-v-8ec0d099"]]);export{$ as default};
//# sourceMappingURL=MkNotificationToast-C-NQbLts.js.map
