PageSourceSearch

https://inlucro.org/wp-content/plugins/animate-it/assets/js/edsanimate.js?ver=1.4.4

js inlucro.org collected 2026-10-02 13:14:57 UTC 4,329 bytes, 104 lines download raw bytes

1(function($) {
2	$(document).ready(function(){
3		var animationStyleClasses = ["animated","infinite", "bounce", "flash", "pulse", "rubberBand", "shake", "swing", "tada", "wobble", "bounceIn", "bounceInDown", "bounceInLeft", "bounceInRight", "bounceInUp", "bounceOut", "bounceOutDown", "bounceOutLeft", "bounceOutRight", "bounceOutUp", "fadeIn", "fadeInDown", "fadeInDownBig", "fadeInLeft", "fadeInLeftBig", "fadeInRight", "fadeInRightBig", "fadeInUp", "fadeInUpBig", "fadeOut", "fadeOutDown", "fadeOutDownBig", "fadeOutLeft", "fadeOutLeftBig", "fadeOutRight", "fadeOutRightBig", "fadeOutUp", "fadeOutUpBig", "flip", "flipInX", "flipInY", "flipOutX", "flipOutY", "lightSpeedIn", "lightSpeedOut", "rotateIn", "rotateInDownLeft", "rotateInDownRight", "rotateInUpLeft", "rotateInUpRight", "rotateOut", "rotateOutDownLeft", "rotateOutDownRight", "rotateOutUpLeft", "rotateOutUpRight", "hinge", "rollIn", "rollOut", "zoomIn", "zoomInDown", "zoomInLeft", "zoomInRight", "zoomInUp", "zoomOut", "zoomOutDown", "zoomOutLeft", "zoomOutRight", "zoomOutUp"];
4		var delayClasses  = ["delay1", "delay2", "delay3", "delay4", "delay5", "delay6", "delay7", "delay8", "delay9", "delay10", "delay11", "delay12"];
5		var durationClasses  = ["duration1", "duration2", "duration3", "duration4", "duration5", "duration6", "duration7", "duration8", "duration9", "duration10", "duration11", "duration12", "duration13", "duration14", "duration15", "duration16", "duration17", "duration18", "duration19", "duration20"];
6		var scrollOffset = edsanimate_options.offset;		
7			
8		$('.eds-on-scroll').each(function(){
9			var $module = $(this);		
10			
11			var classesToAdd = " eds-scroll-visible ";
12					
13			$module.removeClass(function(index, className){
14				var removeClassList = "";
15				var classList = className.trim().split(/\s+/);
16				$.each(classList, function(index, value){
17					if(($.inArray(value, animationStyleClasses)!==-1) 
18						|| ($.inArray(value, delayClasses)!==-1)
19						|| ($.inArray(value, durationClasses)!==-1))
20						removeClassList += " " + value;							
21				});
22				
23				classesToAdd += removeClassList;			
24				return removeClassList;					
25			});
26			
27			$module.addClass("eds-scroll-hidden");
28			
29			$module.edsViewportChecker({
30		        classToAdd: classesToAdd,
31				offset: scrollOffset 
32		       });					
33	
34		});
35		
36		$('.eds-on-click').each(function(){
37			var $module = $(this);		
38			
39			var classesToAdd = " ";
40					
41			$module.removeClass(function(index, className){
42				var removeClassList = "";
43				var classList = className.trim().split(/\s+/);
44				$.each(classList, function(index, value){
45					if(($.inArray(value, animationStyleClasses)!==-1) 
46						|| ($.inArray(value, delayClasses)!==-1)
47						|| ($.inArray(value, durationClasses)!==-1))
48						removeClassList += " " + value;							
49				});
50				
51				classesToAdd += removeClassList;			
52				return removeClassList;					
53			});		
54			
55			$module.click(function (){
56				 $(this).removeClass(classesToAdd).addClass(classesToAdd).one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
57				      $(this).removeClass(classesToAdd);
58				 });				
59			});					
60	
61		});	
62		
63		$('.eds-on-hover').each(function(){
64			var $module = $(this);		
65			
66			var classesToAdd = " ";
67					
68			$module.removeClass(function(index, className){
69				var removeClassList = "";
70				var classList = className.trim().split(/\s+/);
71				$.each(classList, function(index, value){
72					if(($.inArray(value, animationStyleClasses)!==-1) 
73						|| ($.inArray(value, delayClasses)!==-1)
74						|| ($.inArray(value, durationClasses)!==-1))
75						removeClassList += " " + value;							
76				});
77				
78				classesToAdd += removeClassList;			
79				return removeClassList;					
80			});		
81			
82			var hovered = false;
83			$module.hover(
84				function (){
85					hovered = true;
86					 $(this).removeClass(classesToAdd).addClass(classesToAdd).one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
87					      $(this).removeClass(classesToAdd);
88					 });	
89				},
90				function (){		
91					hovered = false;
92					 $(this).on('webkitAnimationIteration oanimationiteration msAnimationiteration animationiteration', function(e){
93						if(!hovered){ 
94							$(this).removeClass(classesToAdd);
95						}
96					 });
97				}
98			);					
99	
100		});	
101		
102		
103	});	
104})(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.