1(function ($) { 2 3 var aThemesTeamCarouselrun = function ($scope, $) { 4 5 if ( $().owlCarouselFork ) { 6 $(".roll-team:not(.roll-team.no-carousel)").owlCarouselFork({ 7 navigation : false, 8 pagination: true, 9 responsive: true, 10 items: 3, 11 itemsDesktopSmall: [1400,3], 12 itemsTablet:[970,2], 13 itemsTabletSmall: [600,1], 14 itemsMobile: [360,1], 15 touchDrag: true, 16 mouseDrag: true, 17 autoHeight: false, 18 autoPlay: false, 19 }); // end owlCarouselFork 20 } // end if 21 }; 22 23 var aThemesTestimonialsCarouselrun = function ($scope, $) { 24 25 if ( $().owlCarouselFork ) { 26 $('.roll-testimonials').not('.owl-carousel').owlCarouselFork({ 27 navigation : false, 28 pagination: true, 29 responsive: true, 30 items: 1, 31 itemsDesktop: [3000,1], 32 itemsDesktopSmall: [1400,1], 33 itemsTablet:[970,1], 34 itemsTabletSmall: [600,1], 35 itemsMobile: [360,1], 36 touchDrag: true, 37 mouseDrag: true, 38 autoHeight: true, 39 autoPlay: $('.roll-testimonials').data('autoplay') 40 }); 41 } 42 43 }; 44 45 var aThemesNewsCarouselrun = function ($scope, $) { 46 47 if ( $().owlCarouselFork ) { 48 $(".panel-grid-cell .latest-news-wrapper").owlCarouselFork({ 49 navigation : false, 50 pagination: true, 51 responsive: true, 52 items: 3, 53 itemsDesktopSmall: [1400,3], 54 itemsTablet:[970,2], 55 itemsTabletSmall: [600,1], 56 itemsMobile: [360,1], 57 touchDrag: true, 58 mouseDrag: true, 59 autoHeight: false, 60 autoPlay: false 61 }); // end owlCarouselFork 62 63 } // end if 64 65 }; 66 67 var aThemesgroupProductYITHActions = function() { 68 69 var product = $( '.woocommerce ul.products li.product' ); 70 product.each(function (index, el) { 71 var placeholder = $( el ).find( '.yith-placeholder' ); 72 73 var wcqv = $( el ).find( '.yith-wcqv-button' ); 74 var wcwl = $( el ).find( '.yith-wcwl-add-to-wishlist' ); 75 var compare = $( el ).find( '.compare.button' ); 76 77 placeholder.append( wcqv, wcwl, compare); 78 79 }); 80 } 81 82 $(window).on('elementor/frontend/init', function () { 83 elementorFrontend.hooks.addAction('frontend/element_ready/athemes-testimonials.default', aThemesTestimonialsCarouselrun); 84 elementorFrontend.hooks.addAction('frontend/element_ready/athemes-posts.default', aThemesNewsCarouselrun); 85 elementorFrontend.hooks.addAction('frontend/element_ready/athemes-employee-carousel.default', aThemesTeamCarouselrun); 86 87 elementorFrontend.hooks.addAction( 'frontend/element_ready/global', function( $scope ) { 88 aThemesgroupProductYITHActions(); 89 } ); 90 }); 91 92 93})(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.