Files
Tiber365/node_modules/astro/dist/runtime/client/visible.prebuilt.d.ts
2025-07-24 18:46:24 +02:00

8 lines
618 B
TypeScript

/**
* This file is prebuilt from packages/astro/src/runtime/client/visible.ts
* Do not edit this directly, but instead edit that file and rerun the prebuild
* to generate this file.
*/
declare const _default: "(()=>{var a=(s,i,o)=>{let r=async()=>{await(await s())()},t=typeof i.value==\"object\"?i.value:void 0,c={rootMargin:t==null?void 0:t.rootMargin},n=new IntersectionObserver(e=>{for(let l of e)if(l.isIntersecting){n.disconnect(),r();break}},c);for(let e of o.children)n.observe(e)};(self.Astro||(self.Astro={})).visible=a;window.dispatchEvent(new Event(\"astro:visible\"));})();";
export default _default;