https://www.simplexitytravel.com/core/modules/1267b57589/assets/js/kenburn-posts-widget.js?rnd=37789
1function kenburn_posts_init(){ 2 var itemLinks = document.querySelectorAll('.item a'); 3 4 itemLinks.forEach(function(link) { 5 link.addEventListener('mouseenter', function() { 6 var backgroundSelector = '#' + this.getAttribute('data-background'); 7 var backgroundElement = document.querySelector(backgroundSelector); 8 9 itemLinks.forEach(function(otherLink) { 10 if (otherLink !== link) { 11 otherLink.classList.add('window'); 12 } 13 }); 14 15 if (backgroundElement) { 16 backgroundElement.classList.add('full-screen'); 17 } 18 }); 19 20 link.addEventListener('mouseleave', function() { 21 var backgroundSelector = '#' + this.getAttribute('data-background'); 22 var backgroundElement = document.querySelector(backgroundSelector); 23 24 itemLinks.forEach(function(otherLink) { 25 if (otherLink !== link) { 26 otherLink.classList.remove('window'); 27 } 28 }); 29 30 if (backgroundElement) { 31 backgroundElement.classList.remove('full-screen'); 32 } 33 }); 34 }); 35} 36 37 38jQuery( function( $ ) { 39 if(window.elementor){ 40 if ( window.elementorFrontend ) { 41 elementorFrontend.hooks.addAction( 'frontend/element_ready/kbpw.default', function( $scope ) { 42 kenburn_posts_init() 43 }); 44 } 45 }else{ 46 kenburn_posts_init() 47 } 48 });
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.