PageSourceSearch

https://www.csrindia.org/wp-content/plugins/logo-carousel-free/public/assets/js/splc-script.min.js?ver=3.6.14

js csrindia.org collected 2026-09-24 06:57:48 UTC 4,261 bytes, 1 lines download raw bytes

1!function($){"use strict";function SP_LCP_CarouselInit(){function carousel_starts_on_screen(splc_container_id,splcSwiper){splcSwiper.autoplay.stop();const $spLogoCarouselSection=$("#"+splc_container_id+".logo-carousel-free-area");$(window).on("scroll",(function(){const sectionOffset=$spLogoCarouselSection.offset(),sectionHeight=$spLogoCarouselSection.height(),sectionTop=sectionOffset.top-$(window).scrollTop(),sectionBottom=sectionTop+sectionHeight,isSectionVisible=sectionTop<=$(window).height()&&sectionBottom>=0;isSectionVisible?splcSwiper.autoplay.start():splcSwiper.autoplay.stop()}))}$(".sp-lc-container").each((function(index){var splc_container,splc_container_id=$(this).attr("id"),spLogoCarousel=$("#"+splc_container_id+" .sp-logo-carousel"),spLogoCarouselData=spLogoCarousel.data("carousel"),spLogoCarouselStartsOnscreen=spLogoCarousel.data("carousel-starts-onscreen");if(spLogoCarousel.length>0&&!$("#"+splc_container_id+' .sp-logo-carousel[class*="-initialized"]').length>0){var splcSwiper=new Swiper("#"+splc_container_id+" .sp-logo-carousel",{speed:spLogoCarouselData.speed,slidesPerView:spLogoCarouselData.slidesPerView.mobile,spaceBetween:spLogoCarouselData.spaceBetween,loop:spLogoCarouselData.infinite,loopFillGroupWithBlank:!0,simulateTouch:spLogoCarouselData.simulateTouch,allowTouchMove:spLogoCarouselData.allowTouchMove,freeMode:spLogoCarouselData.freeMode,autoHeight:spLogoCarouselData.adaptiveHeight,keyboard:{enabled:spLogoCarouselData.carousel_accessibility},mousewheel:spLogoCarouselData.swipeToSlide,pagination:1==spLogoCarouselData.pagination&&{el:"#"+splc_container_id+" .swiper-pagination",clickable:!0,renderBullet:function(index,className){return'<span class="'+className+'"></span>'}}
1,autoplay:{delay:spLogoCarouselData.autoplay_speed},navigation:1==spLogoCarouselData.navigation&&{nextEl:"#"+splc_container_id+" .sp-lc-button-next",prevEl:"#"+splc_container_id+" .sp-lc-button-prev"},breakpoints:{576:{slidesPerView:spLogoCarouselData.slidesPerView.mobile_landscape},768:{slidesPerView:spLogoCarouselData.slidesPerView.tablet},992:{slidesPerView:spLogoCarouselData.slidesPerView.desktop},1200:{slidesPerView:spLogoCarouselData.slidesPerView.lg_desktop}},fadeEffect:{crossFade:!0}});!1===spLogoCarouselData.autoplay&&splcSwiper.autoplay.stop(),spLogoCarouselData.stop_onHover&&spLogoCarouselData.autoplay&&$(spLogoCarousel).on({mouseenter:function(){splcSwiper.autoplay.stop()},mouseleave:function(){splcSwiper.autoplay.start()}}),spLogoCarouselStartsOnscreen&&carousel_starts_on_screen(splc_container_id,splcSwiper),$(window).on("resize",(function(){splcSwiper.update()})),$(window).trigger("resize")}})),jQuery("body").find(".sp-logo-carousel.lcp-preloader").each((function(){var logo_carousel_id=$(this).attr("id"),parents_class,parents_siblings_id=jQuery("#"+logo_carousel_id).parent(".logo-carousel-free-area").find(".sp-logo-carousel-preloader").attr("id");$(document).ready((function(){$("#"+parents_siblings_id).animate({opacity:0}
1,600).remove()}))})),$(".logo-carousel-free-area").addClass("splc-logo-carousel-loaded")}const observer=new IntersectionObserver((function(entries){entries.forEach((function(entry){if(entry.isIntersecting){let img=entry.target;img.dataset.src&&(img.src=img.dataset.src,img.removeAttribute("data-src")),img.dataset.srcset&&(img.srcset=img.dataset.srcset,img.removeAttribute("data-srcset")),img.classList.remove("lcp-lazyload"),img.classList.add("lcp-lazyloaded"),observer.unobserve(img),setTimeout((function(){img.style.removeProperty("height")}),300)}}))}));function custom_lazyLoad(){let lazyImages;document.querySelectorAll(".lcp-lazyload").forEach((function(img){let image_height=img.getAttribute("height")/img.getAttribute("width")*img.offsetWidth;image_height>10&&(img.style.height=image_height+"px"),observer.observe(img)}))}$(document).ready((function(){SP_LCP_CarouselInit(),custom_lazyLoad()})),window.SP_LCP_CarouselInit=SP_LCP_CarouselInit,window.SP_LCP_LazyLoad=custom_lazyLoad,$(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/sp_logo_carousel_pro_shortcode.default",SP_LCP_CarouselInit),elementorFrontend.hooks.addAction("frontend/element_ready/logo_carsousel_shortcode.default",SP_LCP_CarouselInit)}))}(jQuery);

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.