1(function() { 2 let loaded = false; 3 4 function loadFontAwesome() { 5 if (loaded) return; 6 loaded = true; 7 8 const hasFAIcon = document.querySelector('i[class*="fa-"]'); 9 if (!hasFAIcon) return; 10 11 const link = document.createElement('link'); 12 link.rel = 'stylesheet'; 13 link.href = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css'; 14 link.media = 'print'; 15 link.onload = function() { 16 this.media = 'all'; 17 }; 18 document.head.appendChild(link); 19 } 20 21 // Load FA after user interacts (most efficient) 22 ['mousemove', 'scroll', 'keydown', 'touchstart'].forEach(evt => { 23 window.addEventListener(evt, loadFontAwesome, { once: true }); 24 }); 25 26 // Also load it after 3s just in case 27 setTimeout(loadFontAwesome, 3000); 28})();
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.