1jQuery(document).ready(function() { 2 //BEGIN: EMERGENCY POPUP MAGNIFIC-POPUP 3 if (jQuery(".toggleAlertBtn").length != 0) { 4 $(window).on("load", function (e) { 5 if (!localStorage.getItem('popup_show')) { 6 $.magnificPopup.open({ 7 callbacks: { 8 open: function(){ 9 jQuery(".toggleAlertBtn").hide(); 10 }, 11 close: function(){ 12 jQuery(".toggleAlertBtn").show(); 13 } 14 }, 15 items: { 16 src: '#alertMessage' 17 }, 18 type: 'inline', 19 mainClass: 'mfp-fade', 20 removalDelay: 160, 21 preloader: false, 22 fixedContentPos: false, 23 closeOnContentClick: false 24 }, 0); 25 localStorage.setItem('popup_show', 'true'); // Set the flag in localStorage 26 } 27 }); 28 } 29 if (jQuery(".toggleAlertBtn").length != 0) { 30 jQuery('.toggleAlertBtn').magnificPopup({ 31 callbacks: { 32 open: function(){ 33 jQuery(".toggleAlertBtn").hide(); 34 }, 35 close: function(){ 36 jQuery(".toggleAlertBtn").show(); 37 } 38 }, 39 items: { 40 src: '#alertMessage' 41 }, 42 type: 'inline', 43 mainClass: 'mfp-fade', 44 removalDelay: 160, 45 preloader: false, 46 fixedContentPos: false, 47 closeOnContentClick: false 48 }); 49 } 50}); 51 52function runPeopleHeight() { 53 if (typeof $.fn.matchHeight === 'function') { 54 $('.people-profile-carousel .slide h3').matchHeight(); 55 $('.people-profile-carousel .slide .content').matchHeight(); 56 } else { 57 console.warn("matchHeight function not found. Retrying in 250ms..."); 58 setTimeout(runPeopleHeight, 250); 59 } 60}
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.