useWindowSizeFn-a59bee15.js 598 B

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