document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".page-template-template-homepage .type-page.has-post-thumbnail");if(e){for(var t=0;t<e.querySelectorAll(".entry-title, .entry-content").length;t++)e.querySelectorAll(".entry-title, .entry-content")[t].classList.add("loaded");var n=document.querySelector(".site-main"),i=document.documentElement.getAttribute("dir"),l=function(){l._tick&&cancelAnimationFrame(l._tick),l._tick=requestAnimationFrame(function(){l._tick=null,e.style.width=window.innerWidth+"px","rtl"!==i?e.style.marginLeft=-n.getBoundingClientRect().left+"px":e.style.marginRight=-n.getBoundingClientRect().left+"px"})};window.addEventListener("resize",l),l()}});