Galeria

(function () { function openGalleryTab() { const hash = window.location.hash.substring(1); if (!hash) return; const target = document.getElementById(hash); if (!target) { setTimeout(openGalleryTab, 300); return; } let clickable = target; if (!target.matches('button, a, [role="tab"], .e-n-tab-title, .elementor-tab-title')) { clickable = target.querySelector('button, a, [role="tab"], .e-n-tab-title, .elementor-tab-title') || target.closest('button, a, [role="tab"], .e-n-tab-title, .elementor-tab-title') || target; } clickable.click(); setTimeout(function () { target.scrollIntoView({ behavior: 'smooth', block: 'center' }); }, 500); } window.addEventListener('load', function () { setTimeout(openGalleryTab, 700); }); window.addEventListener('hashchange', function () { setTimeout(openGalleryTab, 200); }); })();