var footerMobileCollapseBlocks={init:function(){$("footer .collapse").length>0&&footerMobileCollapseBlocks.toggleCollapses(),$(window).resize(debounce(footerMobileCollapseBlocks.toggleCollapses))},lastWindowSize:"",toggleCollapses:function(){let width=window.innerWidth,lastWindowSize=footerMobileCollapseBlocks.lastWindowSize;"desktop"!=lastWindowSize&&width>767?(footerMobileCollapseBlocks.lastWindowSize="desktop",footerMobileCollapseBlocks.disableCollapses()):"mobile"!=lastWindowSize&&width<=767&&(footerMobileCollapseBlocks.lastWindowSize="mobile",footerMobileCollapseBlocks.activateCollapses())},activateCollapses:function(){void 0!==$.fn.collapse?$("footer .collapse").each((function(i,collapse){let id=$(collapse).attr("id");$(collapse).collapse("hide"),$('[href="#'+id+'"]').css("pointer-events","auto")})):console.log("Bootstrap collapse function not available")},disableCollapses:function(){void 0!==$.fn.collapse?$("footer .collapse").each((function(i,collapse){let id=$(collapse).attr("id");$(collapse).collapse("show"),$('[href="#'+id+'"]').css("pointer-events","none")})):console.log("Bootstrap collapse function not available")}};function loadFooterLogos(){var element=$("footer").find("[data-src].footer-logos-lazy");$(element).data("src")&&$(element).lazy()}function debounce(func){var timer;return function(event){timer&&clearTimeout(timer),timer=setTimeout(func,100,event)}}window.pageInfo.loadOnReady?$(window).on("load",(function(){footerMobileCollapseBlocks.init(),loadFooterLogos()})):(footerMobileCollapseBlocks.init(),loadFooterLogos());