Initial commit

This commit is contained in:
Alejandro Martinez
2026-02-12 02:04:10 +01:00
commit f09af719cf
13433 changed files with 2193445 additions and 0 deletions

25
node_modules/astro/dist/runtime/client/visible.js generated vendored Normal file
View File

@@ -0,0 +1,25 @@
const visibleDirective = (load, options, el) => {
const cb = async () => {
const hydrate = await load();
await hydrate();
};
const rawOptions = typeof options.value === "object" ? options.value : void 0;
const ioOptions = {
rootMargin: rawOptions?.rootMargin
};
const io = new IntersectionObserver((entries) => {
for (const entry of entries) {
if (!entry.isIntersecting) continue;
io.disconnect();
cb();
break;
}
}, ioOptions);
for (const child of el.children) {
io.observe(child);
}
};
var visible_default = visibleDirective;
export {
visible_default as default
};