1(function() { 2 njtWhatsApp.ready(function() { 3 njtWhatsApp.createWidget(document.querySelector("#wa"),{ 4 accounts: njt_wa.accounts, 5 timezone: njt_wa_global.timezone, 6 gdprStatus: njt_wa.gdprStatus, 7 defaultAvatar: njt_wa_global.defaultAvatarSVG, 8 options: njt_wa.options, 9 urlSettings: njt_wa_global.urlSettings 10 }); 11 // Fix WooMart Theme 12 const wa_root_wrap = document.querySelector('#wa').closest('a') 13 if (wa_root_wrap && !wa_root_wrap.getAttribute('href')) wa_root_wrap.href="#" 14 15 // Create a custom event 16 document.body.dispatchEvent(new CustomEvent('njt-whatsapp-popup-init', {bubbles: true, detail: { 17 accounts: njt_wa.accounts, 18 timezone: njt_wa_global.timezone, 19 gdprStatus: njt_wa.gdprStatus, 20 defaultAvatar: njt_wa_global.defaultAvatarSVG, 21 options: njt_wa.options, 22 urlSettings: njt_wa_global.urlSettings 23 }})) 24 }); 25})(); 26
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.