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