IntersectionObserver&&document.addEventListener("DOMContentLoaded",function(d){function h(a){return new Promise(function(c,e){var b=new Image;b.src=a;b.onload=c;b.onerror=e})}function k(a){var c=a.dataset.src,e=a.dataset.alt;a.src||-1!==a.src.search(c)||h(c).then(function(){var b=a.closest(".lazy-waiting");b&&b.classList.remove("lazy-waiting");a.classList.remove("lazy-none");a.src=c;a.alt=e;document.dispatchEvent(new CustomEvent("lazyload"))})}d=document.querySelectorAll("img");d.forEach(function(a){a.closest(".mbr-gallery")&& a.closest(".mbr-gallery").classList.add("lazy-waiting");a.classList.add("lazy-none");a.setAttribute("data-alt",a.getAttribute("alt"));a.setAttribute("data-src",a.getAttribute("src"));a.removeAttribute("src");a.removeAttribute("src");a.setAttribute("alt","")});document.querySelectorAll("div, section").forEach(function(a){-1!==getComputedStyle(a).backgroundImage.search(/\.jpg|\.jpeg|\.png/)&&a.classList.add("lazy-bg")});var f=document.querySelectorAll("iframe");f.forEach(function(a){a.src&&(a.setAttribute("data-src", a.getAttribute("src")),a.removeAttribute("src"))});var g=new IntersectionObserver(function(a,c){a.forEach(function(a){if(0