1(function() { 2 'use strict'; 3 /* eslint-disable operator-linebreak */ 4 window.QSG_COM = 5 ['quantumsoftgroup.com', 'www.quantumsoftgroup.com'].indexOf( 6 window.location.hostname.toLowerCase() 7 ) >= 0; 8 window.QS_PRO = 9 ['quantumsoft.pro', 'www.quantumsoft.pro'].indexOf(window.location.hostname.toLowerCase()) >= 0; 10 11 var QS_PRO_SCRIPTS = [ 12 { 13 // Google Analitics 14 script: 15 "(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ \n" + 16 '(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), \n' + 17 'm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) \n' + 18 "})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); \n" + 19 "ga('create', 'UA-84497449-1', 'auto'); \n" + 20 "ga('send', 'pageview');", 21 }, 22 { 23 // LinkedIn 24 script: 25 '(function(){var s = document.getElementsByTagName("script")[0]; \n' + 26 'var b = document.createElement("script"); \n' + 27 'b.type = "text/javascript";b.async = true; \n' + 28 'b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js"; \n' + 29 's.parentNode.insertBefore(b, s);})();', 30 noscript: 31 '<img height="1" width="1" style="display:none;" alt="" src="https://dc.ads.linkedin.com/collect/?pid=50411&fmt=gif" />', 32 }, 33 { 34 // Yandex.Metrika counter 35 script: 36 '(function (d, w, c) { \n' + 37 ' (w[c] = w[c] || []).push(function() { \n' + 38 ' try { \n' + 39 ' w.yaCounter41480874 = new Ya.Metrika({ \n' + 40 ' id:41480874, \n' + 41 ' clickmap:true, \n' + 42 ' trackLinks:true, \n' + 43 ' accurateTrackBounce:true, \n' + 44 ' webvisor:true, \n' + 45 ' trackHash:true, \n' + 46 ' ut:"noindex" \n' + 47 ' }); \n' + 48 ' } catch(e) { } \n' + 49 ' }); \n' + 50 ' var n = d.getElementsByTagName("script")[0], \n' + 51 ' s = d.createElement("script"), \n' + 52 ' f = function () { n.parentNode.insertBefore(s, n); }; \n' + 53 ' s.type = "text/javascript"; \n' + 54 ' s.async = true; \n' + 55 ' s.src = "https://mc.yandex.ru/metrika/watch.js"; \n' + 56 ' if (w.opera == "[object Opera]") { \n' + 57 ' d.addEventListener("DOMContentLoaded", f, false); \n' + 58 ' } else { f(); } \n' + 59 '})(document, window, "yandex_metrika_callbacks");', 60 noscript: 61 '<div><img src="https://mc.yandex.ru/watch/41480874?ut=noindex" style="position:absolute; left:-9999px;" alt="" /></div>', 62 }, 63 ]; 64 65 var QSG_COM_SCRIPTS = [ 66 { 67 // Global site tag (gtag.js) - Google Analytics 68 src: 'https://www.googletagmanager.com/gtag/js?id=UA-112181336-1', 69 }, 70 { 71 // Facebook Pixel Code 72 script: 73 '!function(f,b,e,v,n,t,s) \n' + 74 '{if(f.fbq)return;n=f.fbq=function(){n.callMethod? \n' + 75 'n.callMethod.apply(n,arguments):n.queue.push(arguments)}; \n' + 76 "if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; \n" + 77 'n.queue=[];t=b.createElement(e);t.async=!0; \n' + 78 't.src=v;s=b.getElementsByTagName(e)[0]; \n' + 79 "s.parentNode.insertBefore(t,s)}(window,document,'script', \n" + 80 "'https://connect.facebook.net/en_US/fbevents.js'); \n" + 81 "fbq('init', '2458301371062666'); \n" + 82 "fbq('track', 'PageView');", 83 noscript: 84 '<img height="1" width="1" src="https://www.facebook.com/tr?id=2458301371062666&ev=PageView&noscript=1"/>', 85 }, 86 { 87 // Yandex.Metrika counter 88 script: 89 '(function (d, w, c) { \n' + 90 ' (w[c] = w[c] || []).push(function() { \n' + 91 ' try { \n' + 92 ' w.yaCounter47242716 = new Ya.Metrika({ \n' + 93 ' id:47242716, \n' + 94 ' clickmap:true, \n' + 95 ' trackLinks:true, \n' + 96 ' accurateTrackBounce:true \n' + 97 ' }); \n' + 98 ' } catch(e) { } \n' + 99 ' }); \n' + 100 ' var n = d.getElementsByTagName("script")[0], \n' + 101 ' s = d.createElement("script"), \n' + 102 ' f = function () { n.parentNode.insertBefore(s, n); }; \n' + 103 ' s.type = "text/javascript"; \n' + 104 ' s.async = true; \n' + 105 ' s.src = "https://mc.yandex.ru/metrika/watch.js"; \n' + 106 ' if (w.opera == "[object Opera]") { \n' + 107 ' d.addEventListener("DOMContentLoaded", f, false); \n' + 108 ' } else { f(); } \n' + 109 '})(document, window, "yandex_metrika_callbacks");', 110 noscript: 111 '<div><img src="https://mc.yandex.ru/watch/47242716" style="position:absolute; left:-9999px;" alt="" /></div>', 112 }, 113 ]; 114 115 function addScript(src, text, async, noscript) { 116 var scriptElement = document.createElement('script'); 117 if (src) { 118 scriptElement.src = src; 119 } else if (text) { 120 scriptElement.appendChild(document.createTextNode(text)); 121 } else { 122 console.error('Wrong function call: src and text are undefined'); 123 return; 124 } 125 if (async) scriptElement.async = true; 126 document.body.appendChild(scriptElement); 127 if (noscript) { 128 var noScriptElement = document.createElement('noscript'); 129 noScriptElement.appendChild(document.createTextNode(noscript)); 130 document.body.appendChild(noScriptElement); 131 } 132 } 133 134 var targetScripts = []; 135 136 if (window.QS_PRO) targetScripts = QS_PRO_SCRIPTS; 137 if (window.QSG_COM) targetScripts = QSG_COM_SCRIPTS; 138
139 targetScripts.forEach(function(o) { 140 addScript(o.src, o.script, o.async, o.noscript); 141 }); 142})();
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.