1var sd_labels_by_text = {}; 2 3function ready() { 4 const li = document.getElementsByClassName("sd-tab-label"); 5 for (const label of li) { 6 syncId = label.getAttribute("data-sync-id"); 7 if (syncId) { 8 label.onclick = onLabelClick; 9 if (!sd_labels_by_text[syncId]) { 10 sd_labels_by_text[syncId] = []; 11 } 12 sd_labels_by_text[syncId].push(label); 13 } 14 } 15} 16 17function onLabelClick() { 18 // Activate other inputs with the same sync id. 19 syncId = this.getAttribute("data-sync-id"); 20 for (label of sd_labels_by_text[syncId]) { 21 if (label === this) continue; 22 label.previousElementSibling.checked = true; 23 } 24 window.localStorage.setItem("sphinx-design-last-tab", syncId); 25} 26 27document.addEventListener("DOMContentLoaded", ready, false);
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.