PageSourceSearch

https://www.letrap.com.ar//js-custom/349/urgent-alert-carousel-min-version-1790827675.js

js letrap.com.ar collected 2026-10-02 05:48:46 UTC 1,036 bytes, 7 lines download raw bytes

1(function(){"use strict";var ROTATE_MS=9000;var reduceMotion=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function initCarousel(container){var items=container.querySelectorAll("article[data-index]");if(items.length<2||reduceMotion)return;var current=0;var timer=null;function show(next){items[current].classList.remove("is-active");current=next;items[current].classList.add("is-active")}
2function advance(){show((current+1)%items.length)}
3function start(){if(!timer)timer=setInterval(advance,ROTATE_MS);}
4function stop(){clearInterval(timer);timer=null}
5container.addEventListener("mouseenter",stop);container.addEventListener("mouseleave",start);container.addEventListener("focusin",stop);container.addEventListener("focusout",start);start()}
6function init(){var containers=document.querySelectorAll(".urgent-news-alert--animated");for(var i=0;i<containers.length;i++)initCarousel(containers[i]);}
7if(document.readyState!=="loading")init();else document.addEventListener("DOMContentLoaded",init)})()

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.