let e=require("vue");function t(t=250){let n=null,r;(0,e.onBeforeUnmount)(()=>{clearTimeout(r)});function i(e){(e||n===null)&&(n=e),clearTimeout(r),r=setTimeout(()=>{n=null},t)}return[()=>n,i]}exports.default=t;