$(document).ready((function(){$((function(){var t=$(".news_list").isotope({itemSelector:".news_item",masonry:{},layoutMode:"fitRows"}),e=$(".filters-button-group").on("click","button",(function(){var t=$(this).attr("data-filter");location.hash="filter="+encodeURIComponent(t)})),o=!1;function n(){var n=function(){location.hash;var t=location.hash.match(/filter=([^&]+)/i),e=t&&t[1];return e&&decodeURIComponent(e)}();!n&&o||(o=!0,t.isotope({itemSelector:".element-item",filter:n}),n&&(e.find(".is-checked").removeClass("is-checked"),e.find('[data-filter="'+n+'"]').addClass("is-checked")))}$(window).on("hashchange",n),n()})),setTimeout((function(){$(".news_list").isotope("layout")}),1e3),setTimeout((function(){$(".news_list").css("opacity",1)}),1500),$(".button").click((function(){$(".lazy").lazy({bind:"event",delay:0})})),window.location.hash&&setTimeout((function(){$(".lazy").lazy({bind:"event",delay:0})}),1e3)}));