import{s as a}from"./x_rD_Ya3.js";import{_ as n,c as s,o as r,e as i,J as c,t as o,D as m}from"./Bgmy51Qv.js";const _={name:"ToastMessage",data(){return{timing:4e3}},props:{message:{type:String,default:""},isError:{type:Boolean,default:!1}},directives:{},computed:{},methods:{},mounted(){const e=this;a(function(){e.$emit("hide")},this.timing)}},d={key:0};function l(e,f,t,p,u,g){return r(),s("h5",{class:m(["toast-message",{"error-toast":t.isError}])},[t.isError?(r(),s("span",d,o(e.$t("error.err"))+"!!!",1)):i("",!0),c(" "+o(t.message),1)],2)}const y=n(_,[["render",l]]);export{y as _};
