PageSourceSearch

https://www.snitcher.com/_astro/ProgressBar.astro_astro_type_script_index_0_lang.DZB6HqlH.js

js snitcher.com collected 2026-10-01 10:15:28 UTC 1,235 bytes, 1 lines download raw bytes

1function p(t){return 1-Math.pow(1-t,4)}function f(t){const e=parseInt(t.getAttribute("data-value")||"0",10),r=parseInt(t.getAttribute("data-duration")||"800",10),s=t.querySelector("[data-progress-track]"),a=t.querySelector(".animated-number");if(!s||!a||t.hasAttribute("data-animated"))return;t.setAttribute("data-animated","true");const m=performance.now();function n(l){const g=l-m,o=Math.min(g/r,1),b=p(o),i=Math.round(e*b);s.style.width=`${i}%`;const u=a.getAttribute("data-prefix")||"",d=a.getAttribute("data-suffix")||"";a.textContent=`${u}${i}${d}`,o<1?requestAnimationFrame(n):(s.style.width=`${e}%`,a.textContent=`${u}${e}${d}`)}requestAnimationFrame(n)}function c(){const t=new IntersectionObserver(e=>{e.forEach(r=>{r.isIntersecting&&f(r.target)})},{threshold:.2});document.querySelectorAll("[data-progress-bar]").forEach(e=>{t.observe(e)})}window.resetProgressBar=function(t){t.removeAttribute("data-animated");const e=t.querySelector("[data-progress-track]"),r=t.querySelector(".animated-number");if(e&&(e.style.width="0%"),r){const s=r.getAttribute("data-prefix")||"",a=r.getAttribute("data-suffix")||"";r.textContent=`${s}0${a}`}f(t)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",c):c();

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.