!function(){function e(){document.querySelectorAll(".fb-marquee-slider-container").forEach(function(e){if(!e.dataset.blockId)return;const t=e.dataset.swiperSettings;if(!t)return;let n={};try{n=JSON.parse(t)}catch(e){return void console.error("Invalid Swiper settings JSON",e)}const o=e.querySelector(".fb-marquee-swiper");if(!o)return;const i=new Swiper(o,{...n});if(n.navigation?.nextEl){const e=n.navigation.nextEl.match(/\.([^ ]+)/);if(e){const t=e[1],n=document.querySelector(`.${t}`);if(n){const e=n.querySelector(".fb-news-ticker-pause-btn");e&&e.addEventListener("click",function(){i.autoplay?.running?(i.autoplay.stop(),e.classList.add("paused")):(i.autoplay.start(),e.classList.remove("paused"))})}}}})}var t=!1;!function(){if(!t&&(t=!0,"complete"===document.readyState||"interactive"===document.readyState?setTimeout(e,100):document.addEventListener("DOMContentLoaded",function(){setTimeout(e,100)}),"undefined"!=typeof window)){var n=window.location.href;new MutationObserver(function(){n!==window.location.href&&(n=window.location.href,setTimeout(e,300))}).observe(document.body,{childList:!0,subtree:!0})}}(),window.reinitSliders=e}();