1const story = []; 2 3var back = () => { 4 if (story.length > 0) { 5 const nextPage = document.querySelector(`#${story.pop()}`); 6 nextHandler(nextPage, false); 7 } 8}; 9var next = (nextPageId) => { 10 const nextPage = document.querySelector(`#page-${nextPageId}`); 11 nextHandler(nextPage); 12}; 13 14var nextHandler = (nextPage, save = true) => { 15 const currentPage = document.querySelector(`.page.active`); 16 save ? story.push(currentPage.id) : () => {}; 17 currentPage.classList.remove("active"); 18 nextPage.classList.add("active"); 19};
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.