1( function ($, elementor) { 2 "use strict"; 3 4 5 var Exhibs = { 6 7 init: function () { 8 9 var widgets = { 10 'exhibz-speaker.default': Exhibs.Speaker_Image_Popup, 11 'exhibz-countdown.default': Exhibs.Ts_Count_Down, 12 'exhibz-slider.default': Exhibs.Main_Slider, 13 14 }; 15 $.each(widgets, function (widget, callback) { 16 elementor.hooks.addAction('frontend/element_ready/' + widget, callback); 17 }); 18 19 }, 20 21 Speaker_Image_Popup: function ($scope) { 22 var $container = $scope.find('.ts-image-popup'); 23 24 $container.magnificPopup({ 25 type: 'inline', 26 closeOnContentClick: false, 27 midClick: true, 28 callbacks: { 29 beforeOpen: function () { 30 this.st.mainClass = this.st.el.attr('data-effect'); 31 } 32 }, 33 zoom: { 34 enabled: true, 35 duration: 500, // don't foget to change the duration also in CSS 36 }, 37 mainClass: 'mfp-fade', 38 }); 39 40 }, 41 //2nd start 42 Ts_Count_Down: function ($scope) { 43 var $container = $scope.find('.countdown'); 44 var date_time = $container.data("event_time"); 45 if ($container.length > 0) { 46 $container.jCounter({ 47 date: date_time, 48 serverDateSource:'', 49 50 fallback: function () { 51 console.log("count finished!") 52 } 53 }); 54 } 55 56 }, 57 //3rd start 58 Main_Slider: function ($scope) { 59 var $container = $scope.find('.main-slider'); 60 61 if ($container.length > 0) { 62 63 $container.owlCarousel({ 64 items: 1, 65 mouseDrag: true, 66 loop: true, 67 touchDrag: true, 68 autoplay:true, 69 dots: true, 70 autoplayTimeout: 5000, 71 animateOut: 'fadeOut', 72 autoplayHoverPause: true, 73 smartSpeed: 250, 74 75 }); 76 } 77 78 }, 79 }; 80 $(window).on('elementor/frontend/init', Exhibs.init); 81}(jQuery, window.elementorFrontend) );
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.