1(function( $ ) { 2 'use strict'; 3 4 // Instantiate PUSH_GLOBAL object if not already instantiated from push-global-geolocation class 5 if (typeof window.PUSH_GLOBAL == 'undefined') { 6 window.PUSH_GLOBAL = {}; 7 } 8 9 // Initiate PUSH_GLOBAL 10 PUSH_GLOBAL.init = function() { 11 // Run check against global country code value. If CA or US then show the .push-global-ccpa elem 12 if (PUSH_GLOBAL.geo_ip_country != 'undefined') { 13 if (PUSH_GLOBAL.geo_ip_country =='US') { 14 $('.push-global-ccpa').show(); 15 } else { 16 $('.push-global-ccpa').hide(); 17 } 18 } 19 } 20 21 $(document).ready(function () 22 { 23 // Run the PUSH_GLOBAL init function 24 if (typeof PUSH_GLOBAL.init != 'undefined') { 25 PUSH_GLOBAL.init(); 26 } 27 }); 28 29})( jQuery );
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.