import{b4 as s,__tla as _}from"./index.b5692aad.js";let u,b=Promise.all([(()=>{try{return _}catch{}})()]).then(async()=>{let n,o;n=100,o=600,u={beforeMount(c,d){const e=d.value,{interval:i=n,delay:v=o}=s(e)?{}:e;let t,a;const l=()=>s(e)?e():e.handler(),r=()=>{a&&(clearTimeout(a),a=void 0),t&&(clearInterval(t),t=void 0)};c.addEventListener("mousedown",m=>{m.button===0&&(r(),l(),document.addEventListener("mouseup",()=>r(),{once:!0}),a=setTimeout(()=>{t=setInterval(()=>{l()},i)},v))})}}});export{b as __tla,u as v};
