1var trx_popup = jQuery(".trx_popup"); 2var trx_popup_delay = trx_popup.data('delay'); 3var trx_popup_interval = trx_popup.data('refresh-interval'); 4 5jQuery(window).on('load', function() {    6 'use strict';   7 if ( window.self !== window.top) { 8 return; 9 } 10 setTimeout(function() { 11 trx_popup_open_close(); 12 }, trx_popup_delay * 1000); 13 }); 14 15function trx_popup_open_close() { 16 'use strict';    17 18 // Close 19 jQuery(".trx_popup_close").on('click', function() {  20 trx_popup.addClass('close'); 21 setTimeout(function() {    22 trx_popup.remove(); 23 }, 1000); 24 }); 25 26 // Set/remove cache 27 if ( trx_popup.hasClass("has-cache") ) { 28 jQuery(".trx_popup_close").on('click', function() { 29 jQuery.cookie('trx-popup-has-cache', 'true', { expires: trx_popup_interval }); 30 }); 31 } else { 32 jQuery.removeCookie('trx-popup-has-cache') 33 } 34 35 if ( jQuery.cookie('trx-popup-has-cache') == 'true' ) { 36 trx_popup.hide(); 37 } else { 38 jQuery(".trx_popup.publish").show(); 39 } 40}
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.