PageSourceSearch

https://metonymypress.com/wp-content/themes/neve/assets/js/build/modern/scroll-to-top.js?ver=4.2.13

js metonymypress.com collected 2026-09-25 23:44:47 UTC 1,313 bytes, 1 lines download raw bytes

1!function(){"use strict";function t(){const t=window.matchMedia("(prefers-reduced-motion: reduce)").matches,e="scrollBehavior"in document.documentElement.style;t?window.scrollTo(0,0):e?window.scrollTo({top:0,behavior:"smooth"}):function(t){let e=window.scrollY;t=parseInt(t);const o=setInterval((function(){e-=e<t+20?1:e<t+40?6:e<t+80?16:e<t+160?36:e<t+200?48:e<t+300?80:120,window.scroll(0,e),e<=t&&clearInterval(o)}),15)}(0);const o=document.getElementById("content"),n=document.getElementById("scroll-to-top");o&&(n.blur(),o.focus({preventScroll:!0}))}window.addEventListener("load",(function(){!function(){const e=document.getElementById("scroll-to-top");if(!e)return!1;e.addEventListener("click",(function(){t()})),window.addEventListener("scroll",(function(){const t=window.scrollY,o=neveScrollOffset.offset;t>o&&(e.style.visibility="visible",e.style.opacity="1"),t<=o&&(e.style.opacity="0",e.style.visibility="hidden");const n=document.querySelector(".sticky-add-to-cart-bottom");if(n){e.style.bottom="30px";let t=document.querySelector(".hfg_footer");t&&t.classList.contains("has-sticky-rows")||(t=document.querySelector(".elementor-location-footer .elementor-sticky"));const o=t?t.offsetHeight:0;n.classList.contains("sticky-add-to-cart--active")&&(e.style.bottom=n.offsetHeight+o+10+"px")}}))}()}))}();

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.