PageSourceSearch

https://ucm.ac.mz/wp-content/themes/unicamp/elementor/assets/js/widgets/group-widget-carousel.js

js ucm.ac.mz collected 2026-09-24 09:33:14 UTC 1,999 bytes, 42 lines download raw bytes

1(
2	function( $ ) {
3		'use strict';
4
5		var SwiperHandler = function( $scope, $ ) {
6			var $element = $scope.find( '.tm-slider-widget' );
7
8			$element.UnicampSwiper();
9		};
10
11		var SwiperLinkedHandler = function( $scope, $ ) {
12			var $element = $scope.find( '.tm-slider-widget' );
13
14			if ( $scope.hasClass( 'unicamp-swiper-linked-yes' ) ) {
15				var thumbsSlider = $element.filter( '.unicamp-thumbs-swiper' ).UnicampSwiper();
16				var mainSlider = $element.filter( '.unicamp-main-swiper' ).UnicampSwiper( {
17					thumbs: {
18						swiper: thumbsSlider
19					}
20				} );
21			} else {
22				$element.UnicampSwiper();
23			}
24		};
25
26		$( window ).on( 'elementor/frontend/init', function() {
27			elementorFrontend.hooks.addAction( 'frontend/element_ready/tm-image-carousel.default', SwiperHandler );
28			elementorFrontend.hooks.addAction( 'frontend/element_ready/tm-rich-carousel.default', SwiperHandler );
29			elementorFrontend.hooks.addAction( 'frontend/element_ready/tm-modern-carousel.default', SwiperHandler );
30			elementorFrontend.hooks.addAction( 'frontend/element_ready/tm-modern-slider.default', SwiperHandler );
31			elementorFrontend.hooks.addAction( 'frontend/element_ready/tm-slider-box.default', SwiperHandler );
32			elementorFrontend.hooks.addAction( 'frontend/element_ready/tm-team-member-carousel.default', SwiperHandler );
33			elementorFrontend.hooks.addAction( 'frontend/element_ready/tm-post-carousel.default', SwiperHandler );
34			elementorFrontend.hooks.addAction( 'frontend/element_ready/tm-course-carousel.default', SwiperHandler );
35			elementorFrontend.hooks.addAction( 'frontend/element_ready/tm-course-category-carousel.default', SwiperHandler );
36			elementorFrontend.hooks.addAction( 'frontend/element_ready/tm-event-carousel.default', SwiperHandler );
37			elementorFrontend.hooks.addAction( 'frontend/element_ready/tm-client-logo-carousel.default', SwiperHandler );
38
39			elementorFrontend.hooks.addAction( 'frontend/element_ready/tm-testimonial.default', SwiperLinkedHandler );
40		} );
41	}
42)( 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.