import { GalleryEngine } from './core/engine';
const gallery = new GalleryEngine();
gallery.optimize({ format: 'avif', quality: 85 });
gallery.enableLazyLoading(true);
layout.setBreakpoints([640, 940, 1200]);
layout.enableMasonry(true);
performance.monitor('LCP', 'FID', 'CLS');
cache.strategy('stale-while-revalidate');
nav.generateHierarchy(galleries);
nav.enableSubmenus(true);