PageSourceSearch

https://www.quape.com/unified/blog-categories.js?v=1

js quape.com collected 2026-10-02 04:57:31 UTC 986 bytes, 1 lines download raw bytes

1(()=>{document.querySelectorAll('.blog-category-scroll').forEach(wrap=>{const track=wrap.querySelector('nav'),prev=wrap.querySelector('.category-prev'),next=wrap.querySelector('.category-next');const update=()=>{const left=track.scrollLeft>2,right=track.scrollLeft+track.clientWidth<track.scrollWidth-2;wrap.classList.toggle('can-prev',left);wrap.classList.toggle('can-next',right);prev.hidden=!left;next.hidden=!right;};const move=direction=>track.scrollBy({left:direction*Math.max(160,track.clientWidth*.7),behavior:matchMedia('(prefers-reduced-motion: reduce)').matches?'instant':'smooth'});prev.addEventListener('click',()=>move(-1));next.addEventListener('click',()=>move(1));track.addEventListener('scroll',update,{passive:true});new ResizeObserver(update).observe(track);const active=track.querySelector('[aria-current="page"]');if(active)track.scrollLeft=Math.max(0,active.offsetLeft-track.clientWidth/2+active.offsetWidth/2);update();document.fonts.ready.then(update);});})();

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.