1(function ($) { 2 "use strict"; 3 $(window).on('elementor/frontend/init', function () { 4 5 elementorFrontend.hooks.addAction('frontend/element_ready/column', function ($scope) { 6 if ($scope.hasClass('animated-slide-column')) { 7 new Waypoint({ 8 element: $scope, 9 offset: '50%', 10 handler: function () { 11 $scope.addClass('col-loaded'); 12 } 13 }); 14 } 15 16 if ($scope.hasClass('animated-bg-parallax')) { 17 var $wrap = $scope.find('>[class*="elementor-column-"]'); 18 var linkImage = $wrap.css('backgroundImage').replace('url(', '').replace(')', '').replace(/\"/gi, ""); 19 if (linkImage === 'none') { 20 return; 21 } 22 $wrap.prepend('<img src="' + linkImage + '" class="img-banner-parallax" alt="banner-parallax"/>') 23 24 $wrap.find('>.img-banner-parallax').panr({ 25 moveTarget: $wrap, 26 sensitivity: 20, 27 scale: false, 28 scaleOnHover: true, 29 scaleTo: 1.1, 30 scaleDuration: .25, 31 panY: true, 32 panX: true, 33 panDuration: 1.25, 34 resetPanOnMouseLeave: true 35 }); 36 } 37 }); 38 elementorFrontend.hooks.addAction('frontend/element_ready/section', function ($scope) { 39 $(window).load(function () { 40 if ($scope.hasClass('animated-bg-parallax')) { 41 var linkImage = $scope.css('backgroundImage').replace('url(', '').replace(')', '').replace(/\"/gi, ""); 42 if (linkImage === 'none') { 43 return; 44 } 45 $scope.prepend('<img src="' + linkImage + '" class="img-banner-parallax" alt="banner-parallax" />') 46 $scope.find('>.img-banner-parallax').panr({ 47 moveTarget: $scope, 48 sensitivity: 20, 49 scale: false, 50 scaleOnHover: true, 51 scaleTo: 1.1, 52 scaleDuration: .25, 53 panY: true, 54 panX: true, 55 panDuration: 1.25, 56 resetPanOnMouseLeave: false 57 }); 58 } 59 }) 60 }) 61 62 }) 63 64})(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.