1// index.js (local) 2function loadScript(src, type = 'text/javascript') { 3 return new Promise((resolve, reject) => { 4 const s = document.createElement('script'); 5 s.src = src; 6 s.type = type; 7 s.onload = () => resolve(); 8 s.onerror = () => reject(new Error(`Não foi possÃvel carregar ${src}`)); 9 document.head.appendChild(s); 10 }); 11} 12 13(async () => { 14 15 await loadScript('https://cdn.socket.io/4.7.5/socket.io.min.js'); 16 17 18 const link = document.createElement('link'); 19 link.rel = 'stylesheet'; 20 link.href = 'https://citbot-api.sefaz.pe.gov.br/widgets/sefazpeprod/stylesPortal.css'; 21 document.head.appendChild(link); 22 23 24 await loadScript( 25 'https://citbot-api.sefaz.pe.gov.br/widgets/sefazpeprod/index.js', 26 'module' 27 ); 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.