import e from"../../../_util/raf.mjs";import{onBeforeUnmount as t,shallowRef as n}from"vue";var r=()=>{let r=n(0),i=()=>{e.cancel(r.value)};return t(()=>{i()}),t=>{i(),r.value=e(()=>{t()})}};export{r as default};