setTimeout((function() { jQuery(document).ready((function() { let t = jQuery("html").data("files"), e = jQuery("html").data("store"); jQuery.ajax({ url: `/loja/busca_noticias.php?loja=${e}&${t}`, method: "get", success: function(t) { let e, i; jQuery(t).find(".noticias").length ? (jQuery(".section-notices .noticias-content").append(''), e = jQuery(".section-notices .noticias-content .noticias"), i = jQuery(jQuery(t).find(".noticias")), i.find("li:nth-child(n+5)").remove(), i.find("li").wrapInner('
'), i = i.contents(), i.each((function(t, e) { let i = jQuery(this).find("#noticia_imagem a").attr("href"), n = jQuery(this).find("#noticia_dados h3 a").text(); jQuery(this).find("p").after(`Leia mais`), jQuery(this).find("#noticia_imagem img").attr("alt", n).removeAttr("title"); let a = jQuery(e).find("img"), o = a.prop("src"); a.attr("data-src", o).removeAttr("src").addClass("lazy-notices") })), e.append(i), new LazyLoad({ elements_selector: ".lazy-notices" })) : jQuery(".section-notices").remove() } }) })) }));