PageSourceSearch

https://www.matrix42.com/hubfs/hub_generated/module_assets/1/28379…/module_ca-banner-text-video.min.js

js matrix42.com collected 2026-10-02 06:27:36 UTC 3,563 bytes, 2 lines download raw bytes

1var module_274347810023=function(){var callback;function caIsScriptAlreadyAvailable(src){return-1!==src.indexOf("swiper-element-bundle")?!(!window.customElements||!window.customElements.get("swiper-container")):-1!==src.indexOf("lottie-player")&&!(!window.customElements||!window.customElements.get("lottie-player"))}function caLoadScript(src){return window.__caScriptPromises=window.__caScriptPromises||{},window.__caScriptPromises[src]||(window.__caScriptPromises[src]=new Promise(function(resolve,reject){if(caIsScriptAlreadyAvailable(src))resolve();else{var existing=document.querySelector('script[data-src="'+src+'"]');if(existing)return"true"===existing.dataset.loaded||caIsScriptAlreadyAvailable(src)?(existing.dataset.loaded="true",void resolve()):(existing.addEventListener("load",function(){existing.dataset.loaded="true",resolve()},{once:!0}),void existing.addEventListener("error",reject,{once:!0}));var s=document.createElement("script");s.src=src,s.dataset.src=src,s.onload=function(){s.dataset.loaded="true",resolve()},s.onerror=reject,document.head.appendChild(s)}})),window.__caScriptPromises[src]}function caSetToggleState(btn,paused){btn.classList.toggle("is-paused",paused),btn.setAttribute("aria-pressed",paused?"true":"false"),btn.setAttribute("aria-label",paused?"Play carousel":"Pause carousel"),btn.title=paused?"Play":"Pause"}function caWaitForSwiper(swiperEl,callback,tries){var currentTry=tries||0;swiperEl.swiper||currentTry>=30?callback():window.requestAnimationFrame(function(){caWaitForSwiper(swiperEl,callback,currentTry+1)})}function caInitCardSliders(){var swipers=document.querySelectorAll(".cardstest");swipers.length&&swipers.forEach(function(swiperEl){"true"!==swiperEl.dataset.caInitialized&&(Object.assign(swiperEl,{loop:!1,slidesPerView:1,spaceBetween:16,speed:700,pagination:{clickable:!0,dynamicBullets:!0},allowTouchMove:!0,keyboard:{enabled:!0},resistanceRatio:.85,longSwipesMs:500,longSwipesRatio:.2,touchRatio:1,autoplay:{delay:6e3,disableOnInteraction:!1,pauseOnMouseEnter:!1},roundLengths:!0}),swiperEl.initialize(),swiperEl.dataset.caInitialized="true",caWaitForSwiper(swiperEl,function(){!function(wrapper){if(wrapper&&"true"!==wrapper.dataset.caToggleBound){var swiperEl=wrapper.querySelector("swiper-container.cardstest"),btn=wrapper.querySelector(".ca-slider-button-toggle");if(btn)if(swiperEl)if(swiperEl.querySelectorAll("swiper-slide").length<=1)btn.remove();else{var s=swiperEl.swiper;if(s&&s.autoplay){if(!s.autoplay.running)try{s.autoplay.start()}catch(e){}caSetToggleState(btn,!1),btn.addEventListener("click",function(){s.autoplay&&(s.autoplay.running?(s.autoplay.stop(),caSetToggleState(btn,!0)):(s.autoplay.start(),caSetToggleState(btn,!1)))}),wrapper.dataset.caToggleBound="true"}else btn.remove()}else btn.remove()}}(swiperEl.closest(".ca-box-cards"))}))})}callback=function(){caLoadScript("https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js").catch(function(){}),caLoadScript("https://cdn.jsdelivr.net/npm/swiper@11/swiper-element-bundle.min.js").then(function(){if(window.customElements&&window.customElements.whenDefined)return window.customElements.whenDefined("swiper-container")}).then(function(){caInitCardSliders()}).catch(function(error){console.error("Swiper failed to load",error)})},"loading"!==document.readyState?callback():document.addEventListener("DOMContentLoaded",callback,{once:!0})}();
2//# sourceURL=https://145642586.fs1.hubspotusercontent-eu1.net/hubfs/145642586/hub_generated/module_assets/1/283791856835/1774252394776/module_ca-banner-text-video.js

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.