HEX
Server: LiteSpeed
System: Linux vps338 6.12.0-211.34.1.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 15 07:56:02 EDT 2026 x86_64
User: ondernemer (1054)
PHP: 8.3.32
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/ondernemer/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/assets/js/unveil.js
( function ( $ ) {
	$.fn.unveil = function ( threshold, callback ) {
		let $w = $( window ),
			th = threshold || 0,
			retina = window.devicePixelRatio > 1,
			attrib = retina ? 'data-src-retina' : 'data-src',
			images = this,
			loaded;
		this.one( 'unveil', function () {
			let source = this.getAttribute( attrib );
			source = source || this.getAttribute( 'data-src' );
			if ( source ) {
				this.setAttribute( 'src', source );
				if ( typeof callback === 'function' ) callback.call( this );
			}
		} );
		function unveil() {
			const inview = images.filter( function () {
				const $e = $( this ),
					wt = $w.scrollTop(),
					wb = wt + $w.height(),
					et = $e.offset().top,
					eb = et + $e.height();
				return eb >= wt - th && et <= wb + th;
			} );
			loaded = inview.trigger( 'unveil' );
			images = images.not( loaded );
		}
		$w.scroll( unveil );
		$w.resize( unveil );
		unveil();
		return this;
	};
} )( window.jQuery || window.Zepto );