????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.48.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/./dchsreunion.com/wp-content/plugins/celebration/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/./dchsreunion.com/wp-content/plugins/celebration/impress_custom.js
(function( $ ) {
	
	window.bt_event_time = 0;
	window.bt_event_interval = 1500;	
	
	$( document ).ready(function() {
		
		var $pages = $( 'section.step' );
		var pagesCount = $pages.length;
		
		var current = 0;

		$( '.btContent' ).attr( 'id', 'impress' );
		
		impress().init();

		var api = impress();
		
		$( '.btPageWrap' ).append( btGetNavHTML( pagesCount ) );
		
		$( '.btAnimNav li.btAnimNavDot' ).first().addClass( 'active' );

		$( '.btAnimNav li' ).on( 'click', function( e ) {
			
			if ( ( ! $( this ).hasClass( 'active' ) || $( this ).hasClass( 'btAnimNavPrev' ) || $( this ).hasClass( 'btAnimNavNext' ) ) ) {
				
				if ( e.originalEvent !== undefined ) { // human
					clearInterval( window.bt_autoplay_interval );
				}
				
				if ( $( this ).hasClass( 'btAnimNavPrev' ) ) {
					var next = current - 1;
				} else if ( $( this ).hasClass( 'btAnimNavNext' ) ) {
					var next = current + 1;
				} else {
					var next = parseInt( $( this ).data( 'count' ) );
				}
				
				if ( next < 0 ) {
					next = pagesCount - 1;
				} else if ( next > pagesCount - 1 ) {
					next = 0;
				}				
				
				$( '.btAnimNav li' ).removeClass( 'active' );
				$( '.btAnimNav li.btAnimNavDot' ).eq( next ).addClass( 'active' );
				
				api.goto( next );
				
				current = next;
				
			}
			
		});
		
		// mouse wheel & keydown
		$( window ).on( 'mousewheel DOMMouseScroll keydown', function( e ) {
			if ( ( new Date ).getTime() - window.bt_event_time > window.bt_event_interval ) {	
				if ( e.originalEvent.wheelDelta > 0 || e.originalEvent.detail < 0 || e.which == '38' || e.which == '37' ) {
					window.bt_event_time = ( new Date ).getTime();					
					$( 'li.btAnimNavPrev' ).trigger( 'click' );
					clearInterval( window.bt_autoplay_interval );
				} else if ( e.originalEvent.wheelDelta < 0 || e.originalEvent.detail > 0 || e.which == '40' || e.which == '39' || e.which == '32' || e.which == '13' ) {
					window.bt_event_time = ( new Date ).getTime();					
					$( 'li.btAnimNavNext' ).trigger( 'click' );
					clearInterval( window.bt_autoplay_interval );
				}
			}
			if ( e.type != 'keydown' || ( e.which == '38' && e.which == '37' && e.which == '40' && e.which == '39' && e.which == '32' && e.which == '13' ) ) {
				e.preventDefault();
			}
		});
		
		boldthemes_swipedetect( window, function( swipedir ) { // "none", "left", "right", "top", or "down"
			if ( ( new Date ).getTime() - window.bt_event_time > window.bt_event_interval ) {
				if ( swipedir == 'left' || swipedir == 'top' ) {
					window.bt_event_time = ( new Date ).getTime();
					$( 'li.btAnimNavPrev' ).trigger( 'click' );
					clearInterval( window.bt_autoplay_interval );
				} else if ( swipedir == 'right' || swipedir == 'down' ) {
					window.bt_event_time = ( new Date ).getTime();
					$( 'li.btAnimNavNext' ).trigger( 'click' );
					clearInterval( window.bt_autoplay_interval );
				}
			}
		});
		
	});
	
})( jQuery );

Youez - 2016 - github.com/yon3zu
LinuXploit