1 var module_219172197782 = (function() { 2 (function () { 3 document.addEventListener('DOMContentLoaded', function () { 4 document.querySelectorAll('.dm-stat-cards').forEach(function (moduleEl) { 5 dmInitStatCards(moduleEl); 6 }); 7 }); 8 function dmInitStatCards(moduleEl) { 9 moduleEl.querySelectorAll('.dm-stat-cards__btn').forEach(function (btn) { 10 var accent = getComputedStyle(btn).getPropertyValue('--btn-accent').trim(); 11 btn.addEventListener('mouseenter', function () { 12 btn.style.setProperty('background', accent, 'important'); 13 btn.style.setProperty('color', ' 14#ffffff', 'important'); 15 btn.style.setProperty('box-shadow', '0 0 14px 2px ' + hexToRgba(accent, 0.4), 'important'); 16 btn.style.setProperty('text-decoration', 'none', 'important'); 17 }); 18 btn.addEventListener('mouseleave', function () { 19 btn.style.setProperty('background', 'transparent', 'important'); 20 btn.style.setProperty('color', accent, 'important'); 21 btn.style.setProperty('box-shadow', 'none', 'important'); 22 btn.style.setProperty('text-decoration', 'none', 'important'); 23 }); 24 }); 25 } 26 function hexToRgba(hex, alpha) { 27 hex = hex.replace('#', '').trim(); 28 if (hex.length === 3) { 29 hex = hex.split('').map(function (c) { return c + c; }).join(''); 30 } 31 var r = parseInt(hex.substring(0, 2), 16); 32 var g = parseInt(hex.substring(2, 4), 16); 33 var b = parseInt(hex.substring(4, 6), 16); 34 return 'rgba(' + r + ',' + g + ',' + b + ',' + alpha + ')'; 35 } 36})(); 37 38 })();
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.