PageSourceSearch

https://coloradocrete.net/wp-content/plugins/fusion-builder/assets/js/min/general/fusion-testimonials.js?ver=1

js coloradocrete.net collected 2026-10-08 19:04:31 UTC 2,301 bytes, 1 lines download raw bytes

1!function(e){"use strict";function i(e,i){var t,n=e.children(".review").first(),s=e.children(".active-testimonial");s.length?(s.removeClass("active-testimonial"),(t=s.next()).length?t.addClass("active-testimonial"):n.addClass("active-testimonial")):n.addClass("active-testimonial"),e.css("height",e.children(".active-testimonial").height()),i.length&&(i.removeClass("activeSlide"),i.eq(e.children().index(e.children(".active-testimonial"))).addClass("activeSlide"))}e.fn.initTestimonials=function(){function t(t,n){e.each(t,function(t,s){var a="IntersectionObserver"in window,r=e(a?s.target:s),o=r.parent(),c=o.children(".testimonial-pagination"),l=c.length?c.children():{};(a&&s.isIntersecting||!a)&&(r.css("height",r.children(".active-testimonial").height()),o.data("speed")&&o.attr("data-interval",setInterval(function(){i(r,l)},o.data("speed"))),l.length&&l.on("click",function(t){t.preventDefault(),l.removeClass("activeSlide"),e(this).addClass("activeSlide"),r.children().removeClass("active-testimonial").eq(l.index(e(this))).addClass("active-testimonial"),r.css("height",r.children(".active-testimonial").height()),o.data("speed")&&(clearInterval(parseInt(o.attr("data-interval"))),o.attr("data-interval",setInterval(function(){i(r,l)},o.data("speed"))))}),a&&n.unobserve(s.target))})}"IntersectionObserver"in window?e(this).each(function(){var i=fusion.getAnimationIntersectionData(e(this)),n=new IntersectionObserver(function(e,i){t(e,n)},i);e(this).each(function(){n.observe(this)})}):e(this).each(function(){t(e(this),!1)})}}(jQuery),jQuery(window).on("load fusion-element-render-fusion_testimonials",function(e,i){var t=void 0!==i?jQuery('div[data-cid="'+i+'"]').find(".reviews"):jQuery(".fusion-testimonials .reviews");void 0===i||t.length||(t=jQuery('div[data-cid="'+i+'"]').parents(".fusion-testimonials").first().find(".reviews")),t.initTestimonials(),jQuery(window).on("fusion-resize-horizontal",function(){jQuery(".fusion-testimonials .reviews").each(function(){jQuery(this).css("height",jQuery(this).children(".active-testimonial").height())})})}),jQuery(window).on("fusion-dynamic-content-render",function(e,i){var t=jQuery(i).find(".fusion-testimonials .reviews");0<t.length&&t.each(function(){jQuery(this).css("height",jQuery(this).children(".active-testimonial").height())})});

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.