import{n as o}from"./index-009d300e.js";const r={props:{active:{type:Boolean,default:!1},duration:{type:Number,default:1e3},size:{type:Number,default:20},icon:{type:String,default:"mdi-alert"},activeColor:{type:String,default:"success"},inactiveColor:{type:String,default:"grey"}},data:()=>({color:null,blinkInterval:null}),watch:{active(e){e?(this.color=this.activeColor,this.blinkInterval=setInterval(()=>{this.color=this.color===this.activeColor?this.inactiveColor:this.activeColor},this.duration)):(clearInterval(this.blinkInterval),this.color=this.inactiveColor)}},mounted(){this.color=this.inactiveColor},beforeDestroy(){clearInterval(this.blinkInterval)}};var i=function(){var t=this,l=t._self._c;return l("v-icon",{attrs:{size:t.size,color:t.color}},[t._v(t._s(t.icon))])},n=[],a=o(r,i,n,!1,null,null,null,null);const c=a.exports;export{c as default};
