1// let scriptMapJivoAndMetrics = document.createElement('script'); 2// scriptMapJivoAndMetrics.src = '/static/js/jivo-and-metrics.js'; 3// document.head.append(scriptMapJivoAndMetrics); 4 5// let scriptMapGoogle = document.createElement('script'); 6// scriptMapGoogle.src = '/static/js/google.tag.js'; 7// document.head.append(scriptMapGoogle); 8 9 10 11 12var fired = false; 13window.addEventListener('scroll', () => { 14 if (fired === false) { 15 fired = true; 16 17 setTimeout(() => { 18 var request = new XMLHttpRequest(); 19 var url = 'https://api-maps.yandex.ru/2.1/?lang=ru_RU'; 20 request.open('GET', url, true); 21 request.onreadystatechange = function () { 22 if (this.readyState === 4) { 23 if (this.status >= 200 && this.status < 400) { 24 eval(this.responseText); 25 26 let scriptMapInit = document.createElement('script'); 27 scriptMapInit.src = '/static/js/jamaps-init.js?v=1'; 28 document.head.append(scriptMapInit); 29 } 30 } 31 }; 32 33 request.send(); 34 request = null; 35 36 37 let nonCriticalJs = document.createElement('script'); 38 nonCriticalJs.src = '/static/js/nonCritical-core.min.js'; 39 document.head.append(nonCriticalJs); 40 41 // $('#lastCssLink').after('<link rel="stylesheet" as="style" onload="this.rel=\'stylesheet\'" type="text/css" href="/static/css/fontsForIcons.css">'); 42/* 43 $('#criticalStyle').after('<link rel="stylesheet" href="/static/css/fontsForIcons.css">'); 44 $('#criticalStyle').after('<link rel="stylesheet" href="/static/css/style.test.css"> '); 45 $('#criticalStyle').after('<link rel="stylesheet" href="/static/css/fonts.css">'); 46 $('#criticalStyle').after('<link rel="stylesheet" href="/static/css/union.css">'); 47 $('#criticalStyle').after('<link rel="stylesheet" href="/static/css/jquery.mmenu.all.css">'); 48 $('#criticalStyle').after('<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fancyapps/[email protected]/dist/jquery.fancybox.min.css" />'); 49 $('#criticalStyle').after('<link rel="stylesheet" href="/static/css/owl-carousel.css">'); 50 $('#criticalStyle').after('<link rel="stylesheet" href="/static/css/fontsForIcons.css">'); 51*/ 52 }, 500) 53 } 54});
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.