PageSourceSearch

https://www.puertorico.com/wp-content/cache/autoptimize/js/autopti…97ac429a2a6ec65f8a859b03ea2cd62.js?ver=1527

js puertorico.com collected 2026-09-24 20:16:45 UTC 3,150 bytes, 16 lines download raw bytes

1$(document).ready(function(){$('.card-slider').slick({dots:false,nav:true,infinite:false,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:1,}},{breakpoint:780,settings:{slidesToShow:2,}},{breakpoint:585,settings:{slidesToShow:1,}}]});function fourItemSlider(){$('.card-slider').each(function(idx,item){if($(this).find('.item').first().hasClass('slick-active')){$(this).addClass('first-item-active')}
2else{$(this).removeClass('first-item-active')}})}
3fourItemSlider()
4$('.card-slider').on('afterChange',function(event,slick,currentSlide){fourItemSlider()});$('.card-slider-two').slick({dots:false,infinite:false,nav:true,slidesToShow:3,slidesToScroll:1,responsive:[{breakpoint:1200,settings:{slidesToShow:3,}},{breakpoint:992,settings:{slidesToShow:3,}},{breakpoint:780,settings:{slidesToShow:2,}},{breakpoint:585,settings:{slidesToShow:1,}}]});function threeItemSlider(){$('.card-slider-two').each(function(idx,item){if($(this).find('.item').first().hasClass('slick-active')){$(this).addClass('first-item-active')}
5else{$(this).removeClass('first-item-active')}})}
6threeItemSlider()
7$('.card-slider-two').on('afterChange',function(event,slick,currentSlide){threeItemSlider()});$('.writer-slider').slick({slidesToScroll:1,infinite:false,responsive:[{breakpoint:9999,settings:"unslick",},{breakpoint:768,settings:{slidesToShow:2,}},{breakpoint:585,settings:{slidesToShow:1,}}]});function writerItemSlider(){$('.writer-slider').each(function(idx,item){if($(this).find('.item').first().hasClass('slick-active')){$(this).addClass('first-item-active')}
8else{$(this).removeClass('first-item-active')}})}
9writerItemSlider()
10$('.writer-slider').on('afterChange',function(event,slick,currentSlide){writerItemSlider()});});let latestScroll=0;var animate_scrolling=0;$(window).scroll(function(){if(animate_scrolling){return;}
11var scroll=$(window).scrollTop();scroll=parseInt(scroll);if(scroll<150){}
12if(scroll<100){$("body").removeClass("scroll-body");$("body").removeClass("scroll-body-header");$('.fixed-header').removeClass('showfix');latestScroll=0;return}
13if(latestScroll>=scroll){$("body").addClass("scroll-body");$("body").addClass("scroll-body-header");$('.fixed-header').addClass('showfix');}
14else{$("body").removeClass("scroll-body-header");$("body").removeClass("scroll-body-header");$('.fixed-header').removeClass('showfix');}
15latestScroll=scroll;});$(document).ready(function(){$(".mobile-icon").click(function(){$(".for-mobile-toggle").slideToggle();$("body").toggleClass("active-mobile-menu");});});var btn=$('#scrl-button');$(window).scroll(function(){if($(window).scrollTop()>300){btn.addClass('show');}else{btn.removeClass('show');}});btn.on('click',function(e){e.preventDefault();$('html, body').animate({scrollTop:0},'300');});jQuery(document).ready(function($){$('a[href*="#"]:not(.carousel-control-prev,.carousel-control-next)').on('click',function(e){e.preventDefault();var target=$(this.hash);if(target.length){animate_scrolling=1;$('html, body').animate({scrollTop:target.offset().top-30},1000);setTimeout(function(){animate_scrolling=0;},1100);}
16else{window.location=this.href;}});});

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.