!function(){"use strict";function e(){document.querySelectorAll(".ez-monthly-horoscope-block").forEach(function(e){e.querySelectorAll('a[href^="#"]').forEach(function(e){e.addEventListener("click",function(e){var t=this.getAttribute("href").slice(1),o=document.getElementById(t);o&&(e.preventDefault(),o.scrollIntoView({behavior:"smooth",block:"start"}))})})})}function t(){if("IntersectionObserver"in window){var e=new IntersectionObserver(function(e,t){e.forEach(function(e){if(e.isIntersecting){var o=e.target;o.dataset.src&&(o.src=o.dataset.src,o.removeAttribute("data-src")),t.unobserve(o)}})});document.querySelectorAll(".ez-monthly-horoscope-block img[data-src]").forEach(function(t){e.observe(t)})}}function o(){document.querySelectorAll(".ez-monthly-horoscope-block").forEach(function(e){"1"!==e.getAttribute("data-processed")&&e.setAttribute("data-processed","1")})}function n(){o(),e(),t(),new MutationObserver(function(n){var c=!1;n.forEach(function(e){e.addedNodes.length>0&&e.addedNodes.forEach(function(e){1===e.nodeType&&(e.classList&&e.classList.contains("ez-monthly-horoscope-block")||e.querySelector&&e.querySelector(".ez-monthly-horoscope-block"))&&(c=!0)})}),c&&setTimeout(function(){o(),e(),t()},100)}).observe(document.body,{childList:!0,subtree:!0})}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):n()}();