1(function(){ 2 document.querySelectorAll('.hdbe-global-wrap').forEach(function(wrap){ 3 var panels = wrap.querySelectorAll('.hdbe-global-calendar'); 4 function switchCalendar(value){ 5 value = String(value || ''); 6 panels.forEach(function(panel){ 7 panel.classList.toggle('is-active', String(panel.getAttribute('data-calendar-id')) === value); 8 }); 9 wrap.querySelectorAll('.hdbe-global-select').forEach(function(sel){ sel.value = value; }); 10 } 11 wrap.querySelectorAll('.hdbe-global-select').forEach(function(select){ 12 select.addEventListener('change', function(){ switchCalendar(select.value); }); 13 }); 14 }); 15})();
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.