1$(window).load(function () { 2 3 if(window.innerWidth > 1024){ 4 5var video = document.getElementById("homepage-top-video"); 6 7 if(video){ 8 9const videoSource=video.querySelector('source'); 10 11videoSource.src=videoSource.getAttribute("data-src"); 12 13video.load(); 14 15video.autoplay = true; 16 } 17 } 18 19}); 20 21$(document).ready(function() { 22 $('.dropdown').mouseover(function() { 23 $(this).addClass('show'); 24 $(this).find('.dropdown-menu').addClass('show'); 25 }); 26 27 $('.dropdown').mouseout(function() { 28 $(this).removeClass('show'); 29 $(this).find('.dropdown-menu').removeClass('show'); 30 }); 31 32 var herospaces = $('.herospace-comp'); 33 for(var i = 0; i < herospaces.length; i++) { 34 35 loadBackground(herospaces[i]); 36 37 } 38 39 $(window).resize(function() { 40 for(var i = 0; i < herospaces.length; i++) { 41 loadBackground(herospaces[i]); 42 43 } 44 }); 45}); 46 47function loadBackground(ele) { 48 var imageUrl; 49 if (window.innerWidth > 767 && window.innerWidth < 1024) { 50 imageUrl = $(ele).find('.tabletImage').val(); 51 $(ele).css('background-image', 'url(' + imageUrl + ')'); 52 $(".rebranded-style.container.gold-border-home").css("background-color","unset"); 53 $(".rebranded-style.container.gold-border-home").css("opacity","1"); 54 } else if (window.innerWidth > 335 && window.innerWidth < 767) { 55 imageUrl = $(ele).find('.mobileImage').val(); 56 $(ele).css('background-image', 'url(' + imageUrl + ')'); 57 $(".rebranded-style.container.gold-border-home").css("background-color","unset"); 58 $(".rebranded-style.container.gold-border-home").css("opacity","1"); 59 } 60} 61 62 63 64function playPause() { 65 var myVideo = document.getElementById("homepage-top-video"); 66 67 if (myVideo.paused){ 68 $(".video-play-icon").hide(); 69 $(".video-pause-icon").show(); 70 myVideo.play(); 71 } 72 else{ 73 $(".video-play-icon").show(); 74 $(".video-pause-icon").hide(); 75 myVideo.pause(); 76 } 77} 78
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.