1/** 2 * Storefront auth/checkout form helpers for CSP (no inline on* handlers). 3 * Expects global functions checkMail/checkMail2/checkPass/checkPass2/formsub when present. 4 */ 5(function () { 6 'use strict'; 7 8 document.addEventListener('focusout', function (e) { 9 var t = e.target; 10 if (!t || !t.getAttribute) { 11 return; 12 } 13 var fn = t.getAttribute('data-bos-blur'); 14 if (!fn) { 15 return; 16 } 17 if (typeof window[fn] === 'function') { 18 window[fn](); 19 } 20 }, true); 21 22 document.addEventListener('click', function (e) { 23 var el = e.target && e.target.closest && e.target.closest('[data-bos-click]'); 24 if (!el) { 25 return; 26 } 27 var fn = el.getAttribute('data-bos-click'); 28 if (fn && typeof window[fn] === 'function') { 29 e.preventDefault(); 30 window[fn](); 31 } 32 }); 33 34 document.addEventListener('error', function (e) { 35 var t = e.target; 36 if (!t || t.tagName !== 'IMG' || !t.hasAttribute('data-bos-img-fallback')) { 37 return; 38 } 39 t.style.display = 'none'; 40 var next = t.nextElementSibling; 41 if (next) { 42 next.style.display = 'flex'; 43 } 44 }, true); 45})();
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.