PageSourceSearch

https://eilders.de/wp-content/uploads/uag-plugin/assets/17000/uag-js-16605.js?ver=1791310174

js eilders.de collected 2026-10-06 18:11:40 UTC 3,045 bytes, 83 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function(){ 	window.addEventListener( 'DOMContentLoaded', function() {
2		const blockScope = document.querySelector( '.uagb-block-a7e86628' );
3		if ( ! blockScope ) {
4			return;
5		}
6		const deviceWidth = ( window.innerWidth > 0 ) ? window.innerWidth : screen.width;
7		if ( blockScope.classList.contains( 'uag-hide-desktop' ) && deviceWidth > 1024 ) {
8			blockScope.remove();
9			return;
10		} else if ( blockScope.classList.contains( 'uag-hide-tab' ) && ( deviceWidth <= 1024 && deviceWidth > 768 ) ) {
11			blockScope.remove();
12			return;
13		} else if ( blockScope.classList.contains( 'uag-hide-mob' ) && deviceWidth <= 768 ) {
14			blockScope.remove();
15			return;
16		}
17
18				let popupSesh = JSON.parse( localStorage.getItem( 'spectraPopup16605' ) );
19		const repetition = 1;
20		if ( null === popupSesh || repetition !== popupSesh[1] ) {
21					
22			const repetitionArray = [
23				repetition,
24				repetition,
25			];
26			localStorage.setItem( 'spectraPopup16605', JSON.stringify( repetitionArray ) );
27			popupSesh = JSON.parse( localStorage.getItem( 'spectraPopup16605' ) );
28		}
29
30		if ( 0 === popupSesh[0] ) {
31			blockScope.remove();
32			return;
33		}
34
35		const theBody = document.querySelector( 'body' );
36		blockScope.style.display = 'flex';
37		setTimeout( () => {
38								blockScope.style.maxHeight = '100vh';
39						}, 100 );
40
41					setTimeout( () => {
42				blockScope.style.transition = 'max-height 0.5s cubic-bezier(0, 1, 0, 1)';
43			}, 600 );
44		
45		const closePopup = ( event = null ) => {
46			if ( event && blockScope !== event?.target ) {
47				return;
48			}
49			if ( popupSesh[0] > 0 ) {
50				popupSesh[0] -= 1;
51				localStorage.setItem( 'spectraPopup16605', JSON.stringify( popupSesh ) );
52			}
53							blockScope.style.maxHeight = '';
54						setTimeout( () => {
55									blockScope.style.transition = '';
56								blockScope.remove();
57				const allActivePopups = document.querySelectorAll( '.uagb-popup-builder.spectra-popup--open' );
58				if ( 0 === allActivePopups.length ) {
59					theBody.classList.remove( 'uagb-popup-builder__body--overflow-hidden' );
60				}
61			}, 500 );
62		};
63
64						const closeButton = blockScope.querySelector( '.uagb-popup-builder__close' );
65				closeButton.style.cursor = 'pointer';
66				closeButton.addEventListener( 'click', () => closePopup() );
67				
68		const closingElements = blockScope.querySelectorAll( '.spectra-popup-close-16605' );
69		for ( let i = 0; i < closingElements.length; i++ ) {
70			closingElements[ i ].style.cursor = 'pointer';
71			closingElements[ i ].addEventListener( 'click', () => closePopup() );
72		}
73	} );
74window.addEventListener( 'load', function() {
75	UAGBCountdown.init( '.uagb-block-d765b596', {"block_id":"d765b596","endDateTime":"2026-10-10T20:00:00.000Z","showDays":true,"showHours":true,"showMinutes":true,"isFrontend":true,"timerEndAction":"zero","redirectURL":""} );
76});
77window.addEventListener( 'load', function() {
78	UAGBButtonChild.init( '.uagb-block-71a34425' );
79});
80window.addEventListener( 'load', function() {
81	UAGBButtonChild.init( '.uagb-block-ee21584e' );
82});
83 });

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.