PageSourceSearch

https://www.upwardlyglobal.org/wp-content/themes/ginger/assets/build/featured-post-slider.js?ver=1790774171

js upwardlyglobal.org collected 2026-10-01 08:41:33 UTC 790 bytes, 1 lines download raw bytes

1import{S as o}from"./swiper-core-CYsJW5z5.js";import{N as d,P as n}from"./pagination-B_LsbEsh.js";/* empty css               */class l{constructor(){this.init()}init=()=>{const i=document.querySelectorAll(".js-featured-post-slider-image"),t=new o(".js-featured-post-slider",{slidesPerView:1,modules:[d,n],pagination:{el:".js-featured-post-slider-pagination"},navigation:{prevEl:".js-featured-post-slider-left",nextEl:".js-featured-post-slider-right"}});t.on("activeIndexChange",()=>{const a=t.activeIndex,s=document.querySelector(".js-featured-post-bg"),r=t.slides[a].getAttribute("data-bg");s.classList.forEach(e=>{e.startsWith("bg-")&&s.classList.remove(e)}),s.classList.add(`bg-${r}`),i.forEach(e=>{e.classList.add("hide")}),setTimeout(()=>{i[a].classList.remove("hide")},200)})}}new l;

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.