1/** 2 * Handles the events in the public facing window. 3 */ 4jQuery(document).ready( function($) { 5 6 "use strict"; 7 /** 8 * Initiate the wow script. 9 */ 10 new WOW().init(); 11 12 /** 13 * Masonry layout for block. 14 */ 15 $( '.cv-masonry-post-layout' ).each( function() { 16 var Pid = $(this).attr('id'); 17 var container = $( '#' + Pid + ' .cv-post-wrapper' ); 18 container.imagesLoaded( function() { 19 container.masonry(); 20 }) 21 }); 22 23 /** 24 * Block Carousel. 25 * 26 */ 27 $( ".cv-post-carousel-wrapper" ).each(function() { 28 var parentID = $( this ).parents( ".cv-carousel-post-layout" ).attr( "id" ); 29 var newID = $( "#" + parentID + " .cv-post-carousel-wrapper" ); 30 var blockpostCarouseldots = newID.data( "dots" ); 31 var blockpostCarouselloop = newID.data( "loop" ); 32 var blockpostCarouselcontrol = newID.data( "control" ); 33 var blockpostCarouselauto = newID.data( "auto" ); 34 var blockpostCarouseltype = newID.data( "type" ); 35 var blockpostCarouselspeed = newID.data( "speed" ); 36 var blockpostCarouselpause = newID.data( "pause" ); 37 var blockpostCarouselColumn = newID.data( "column" ); 38 newID.slick({ 39 dots: ( blockpostCarouseldots == '1' ), 40 arrows: ( blockpostCarouselcontrol == '1' ), 41 infinite: ( blockpostCarouselloop == '1' ), 42 autoplay: ( blockpostCarouselauto == '1' ), 43 fade: ( blockpostCarouseltype == '1' ), 44 speed: blockpostCarouselspeed, 45 autoplaySpeed: blockpostCarouselpause, 46 slidesToShow: blockpostCarouselColumn, 47 responsive: [ 48 { 49 breakpoint:980, 50 settings: { 51 slidesToShow: 2, 52 slidesToScroll: 1 53 } 54 }, 55 { 56 breakpoint: 600, 57 settings: { 58 slidesToShow: 1, 59 slidesToScroll: 1 60 } 61 } 62 ], 63 prevArrow: '<span class="slickArrow prev-icon"><i class="fas fa-chevron-left"></i></span>', 64 nextArrow: '<span class="slickArrow next-icon"><i class="fas fa-chevron-right"></i></span>', 65 }); 66 }); 67});
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.