PageSourceSearch

https://www.branch.io/wp-content/plugins/branch-testimonial-carousel/build/view.js?ver=1785803949

js branch.io collected 2026-10-01 07:20:49 UTC 1,530 bytes, 1 lines download raw bytes

1!function(){"use strict";const e=new IntersectionObserver((e,t)=>{e.forEach(e=>{e.isIntersecting&&(t.unobserve(e.target),function(e){const t=Array.from(e.querySelectorAll(".testimonial-carousel-item")),r=t.length;if(1===r)return t[0].classList.add("active"),t[0].setAttribute("aria-hidden","false"),void t[0].removeAttribute("inert");if(0===r)return;const n=e.parentElement.querySelector(".carousel-pagination"),i=n?Array.from(n.querySelectorAll(".pagination-item")):[];if(!i.length)return;let s=0;function a(e){s=(e%r+r)%r;for(let e=0;e<r;e++){const r=e===s;t[e].classList.toggle("active",r),t[e].setAttribute("aria-hidden",r?"false":"true"),r?t[e].removeAttribute("inert"):t[e].setAttribute("inert","")}for(let e=0;e<i.length;e++){const t=e===s;i[e].setAttribute("aria-selected",t?"true":"false"),i[e].setAttribute("aria-current",t?"true":"false"),t?(i[e].classList.remove("active"),requestAnimationFrame(()=>{requestAnimationFrame(()=>{i[e].classList.add("active")})})):i[e].classList.remove("active")}}function o(){a(s+1)}for(let e=0;e<i.length;e++){const t=i[e].querySelector(".pagination-progress");t&&t.addEventListener("animationend",()=>{e===s&&o()}),i[e].addEventListener("click",()=>a(e))}let c=0;e.addEventListener("touchstart",e=>{c=e.changedTouches[0].screenX},{passive:!0}),e.addEventListener("touchend",e=>{const t=c-e.changedTouches[0].screenX;Math.abs(t)>50&&(t>0?o():a(s-1))},{passive:!0}),a(0)}(e.target))})},{rootMargin:"200px"});document.querySelectorAll(".testimonial-carousel").forEach(t=>e.observe(t))}();

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.