var c=(r,i,a)=>new Promise((o,t)=>{var s=e=>{try{l(a.next(e))}catch(_){t(_)}},n=e=>{try{l(a.throw(e))}catch(_){t(_)}},l=e=>e.done?o(e.value):Promise.resolve(e.value).then(s,n);l((a=a.apply(r,i)).next())});import{e as m,a5 as w,t as u,__tla as p}from"./index-f0df2f76.js";let d,v=Promise.all([(()=>{try{return p}catch(r){}})()]).then(()=>c(void 0,null,function*(){d=function(r,i={}){const{wait:a=150,immediate:o}=i;let t=()=>{r()};t=m(t,a);const s=()=>{o&&t(),window.addEventListener("resize",t)},n=()=>{window.removeEventListener("resize",t)};return w(()=>{s()}),u(()=>{n()}),{start:s,stop:n}}}));export{v as __tla,d as u};
|