1var icattoPage = { 2 toPage: function() { 3 console.log("æ§è¡è·³è½¬"); 4 var e = document.querySelectorAll(".page-number") 5 , t = parseInt(e[e.length - 1].innerHTML) 6 , n = document.getElementById("toPageText") 7 , a = parseInt(n.value); 8 if (!isNaN(a) && a > 0 && "0" !== ("" + a)[0] && a <= t) { 9 var s = 1 == a ? "/" : "/page/" + a + "/#content-inner"; 10 document.getElementById("toPageButton").href = s 11 } 12 }, 13 listenToPageInputPress() { 14 var e = document.getElementById("toPageText") 15 , t = document.getElementById("toPageButton"); 16 e && (e.addEventListener("keydown", (e=>{ 17 13 === e.keyCode && (icattoPage.toPage(), 18 pjax.loadUrl(t.href)) 19 } 20 )), 21 e.addEventListener("input", (function() { 22 "" === e.value || "0" === e.value ? t.classList.remove("haveValue") : t.classList.add("haveValue"); 23 var n = document.querySelectorAll(".page-number") 24 , a = +n[n.length - 1].innerHTML; 25 +document.getElementById("toPageText").value > a && (e.value = a) 26 } 27 ))) 28 } 29 } 30 icattoPage.listenToPageInputPress(); 31 32 // èªå®é¡µæ°è·³è½¬
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.