PageSourceSearch

https://molene.fr/plugins/system/edsanimate/assets/edsanimate.js

js molene.fr collected 2026-10-02 08:02:43 UTC 4,387 bytes, 107 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		
7		$('.eds-animation-paused').removeClass('eds-animation-paused');
8		
9		$('.eds-on-scroll').each(function(){
10			var $module = $(this);		
11			
12			var classesToAdd = " eds-scroll-visible ";
13					
14			$module.removeClass(function(index, className){
15				var removeClassList = "";				 
16				var classList = className.trim().split(/\s+/);
17				$.each(classList, function(index, value){
18					if(($.inArray(value, animationStyleClasses)!==-1) 
19						|| ($.inArray(value, delayClasses)!==-1)
20						|| ($.inArray(value, durationClasses)!==-1))
21						removeClassList += " " + value;							
22				});
23				
24				classesToAdd += removeClassList;			
25				return removeClassList;					
26			});
27			
28			$module.addClass("eds-scroll-hidden");
29			
30			$module.edsViewportChecker({
31		        classToAdd: classesToAdd,
32				offset: edsScrollOffset 
33		       });					
34	
35		});
36		
37		$('.eds-on-click').each(function(){
38			
39			var $module = $(this);		
40			
41			var classesToAdd = " ";		
42					
43			$module.removeClass(function(index, className){
44				var removeClassList = "";				 
45				var classList = className.trim().split(/\s+/);
46				$.each(classList, function(index, value){
47					if(($.inArray(value, animationStyleClasses)!==-1) 
48						|| ($.inArray(value, delayClasses)!==-1)
49						|| ($.inArray(value, durationClasses)!==-1))
50						removeClassList += " " + value;							
51				});
52				
53				classesToAdd += removeClassList;			
54				return removeClassList;					
55			});		
56			
57			$module.click( function (){				 			 
58				 $(this).removeClass(classesToAdd).addClass(classesToAdd).one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
59				      $(this).removeClass(classesToAdd);
60				 });				
61			});					
62	
63		});	
64		
65		$('.eds-on-hover').each(function(){
66			var $module = $(this);		
67			
68			var classesToAdd = " ";
69					
70			$module.removeClass(function(index, className){
71				var removeClassList = "";				 
72				var classList = className.trim().split(/\s+/);
73				$.each(classList, function(index, value){
74					if(($.inArray(value, animationStyleClasses)!==-1) 
75						|| ($.inArray(value, delayClasses)!==-1)
76						|| ($.inArray(value, durationClasses)!==-1))
77						removeClassList += " " + value;							
78				});
79				
80				classesToAdd += removeClassList;			
81				return removeClassList;					
82			});		
83			
84			var hovered = false;
85			$module.hover(
86				function (){
87					hovered = true;
88					 $(this).removeClass(classesToAdd).addClass(classesToAdd).one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
89					      $(this).removeClass(classesToAdd);
90					 });	
91				},
92				function (){		
93					hovered = false;
94					 $(this).on('webkitAnimationIteration oanimationiteration msAnimationiteration animationiteration', function(e){
95						if(!hovered){ 
96							$(this).removeClass(classesToAdd);
97						}
98					 });
99				}
100			);					
101	
102		});			
103		
104	
105		
106	});	
107})(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.