PageSourceSearch

https://www.vistra.com/themes/custom/vistra2024/dist/js/stack-carousel-gtm.min.js?tm819w

js vistra.com collected 2026-10-02 03:53:14 UTC 790 bytes, 2 lines download raw bytes

1!function(e){function t(e){!function(){const t=e.nextElementSibling;if(t)var r=Array.from(t.querySelectorAll("button.carousel-nav__button"),function(e){return e});var n=Array.from(e.querySelectorAll("li.carousel__item"));r&&r.forEach(function(e,t){e.addEventListener("click",function(e){var t=e+1;return function(r){if(!0===r.isTrusted){var a,c;try{c=n[e].querySelector(".field--name-field-title").innerText,a=n[e].querySelector("a.btn").getAttribute("href")}catch(r){}var i={is_trusted:r.isTrusted,carousel_index:t,event:"gtm_carousel_clicked"};a&&(i.link_url=a),c&&(i.link_name=c);(window.dataLayer||[]).push(i)}}}(t))})}()}e.behaviors.stackCarouselGtm={attach:function(e){once("stack-carousel-gtm",".carousel",e).forEach(t)}}}(Drupal);
2//# sourceMappingURL=stack-carousel-gtm.min.js.map

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.