PageSourceSearch

https://neuropong.org/wp-content/plugins/neve-pro-addon/includes/m…/assets/js/build/front-end.js?ver=3.2.13

js neuropong.org collected 2026-10-08 07:14:19 UTC 3,916 bytes, 1 lines download raw bytes

1(()=>{function e(){const e=document.querySelectorAll(".header--row.hide-on-mobile.is_sticky"),o=document.querySelectorAll(".header--row.hide-on-desktop.is_sticky");(e.length>0||o.length>0)&&(!function(e=!1,t=!1){let o=document.querySelector(".sticky-header-placeholder");const s=document.querySelector(".hfg_header"),n=document.querySelector(".neve-transparent-header");null===o&&null===n&&(o=document.createElement("div"),o.classList.add("sticky-header-placeholder"),s.parentNode.insertBefore(o,s.nextSibling)),!e&&o&&o.classList.add("hide-on-mobile","hide-on-tablet"),!t&&o&&o.classList.add("hide-on-desktop"),e&&s.classList.add("has-sticky-rows--mobile"),t&&s.classList.add("has-sticky-rows--desktop"),null!==o&&(o.style.height=s.offsetHeight+"px")}(o.length>0,e.length>0),t(document.querySelector(".hfg_header"),document.querySelector("header.header"),document.querySelector(".sticky-header-placeholder")))}function t(e,t,s){new IntersectionObserver((t=>{if(!0===t[0].isIntersecting)return e.classList.remove("is-stuck"),o(e,s,!1),!1;e.classList.add("is-stuck"),o(e,s)}),{rootMargin:"20px 0px 25px 0px"}).observe(t)}function o(e,t,o=!0){const s=e.querySelectorAll(".header--row");let n=0,r=0;const c=!e.classList.contains("has-sticky-rows--desktop"),i=!e.classList.contains("has-sticky-rows--mobile");s.forEach((e=>{const t=e.querySelector(".header--row-inner").offsetHeight,s="desktop"===e.dataset.showOn,a=t=>{e.style.height=0===t?0:`${t}px`,e.toggleAttribute("inert",0===t)};if(!(c&&s||i&&!s))return o?e.classList.contains("is_sticky")?(a(t),r+=t,void(n+=e.classList.contains("is_sticky_on_scroll")?0:t)):void a(0):void(e.classList.contains("is_sticky_on_scroll")?a(0):(n+=t,a(t)));a(t)})),e.classList.contains("hfg_header")&&(document.documentElement.style.scrollPaddingTop=o&&r>0?`${r}px`:""),t&&(t.style.height=`${n}px`)}function s(){document.querySelectorAll(".footer--row.is_sticky").length>0&&(!function(){let e=document.querySelector(".sticky-footer-placeholder");const t=document.querySelector(".hfg_footer");null===e&&(e=document.createElement("div"),e.classList.add("sticky-footer-placeholder"),t.parentNode.insertBefore(e,t.nextSibling)),t.classList.add("has-sticky-rows"),e.style.height=t.offsetHeight+"px"}(),t(document.querySelector(".hfg_footer"),document.querySelector("footer")))}function n(){document.querySelectorAll(".my-account-container").forEach((e=>{if(e.dataset.nvDropdownInit)return;const t=e.querySelector(".my-account-caret"),o=e.querySelector(".sub-menu");if(!t||!o)return;e.dataset.nvDropdownInit="true";const s=e=>{o.classList.toggle("dropdown-open",e),t.setAttribute("aria-expanded",String(e))};t.addEventListener("click",(()=>{s(!o.classList.contains("dropdown-open"))})),e.addEventListener("keyup",(e=>{"Escape"===e.key&&o.classList.contains("dropdown-open")&&(s(!1),t.focus())})),e.addEventListener("focusout",(t=>{e.contains(t.relatedTarget)||s(!1)}))}))}let r;document.addEventListener("click",(e=>{document.querySelectorAll(".my-account-container .sub-menu.dropdown-open").forEach((t=>{const o=t.closest(".my-account-container");if(o&&!o.contains(e.target)){t.classList.remove("dropdown-open");const e=o.querySelector(".my-account-caret");e&&e.setAttribute("aria-expanded","false")}}))})),window.addEventListener("load",(function(){e(),s(),n()})),window.addEventListener("selective-refresh-content-rendered",(function(t){if("hfg_header_layout_partial"===t.detail){const t=document.querySelector(".sticky-header-placeholder"),o=document.querySelector(".hfg_header");t&&t.remove(),o.classList.remove("has-sticky-rows--mobile","has-sticky-rows--desktop"),e()}if("hfg_footer_layout_partial"===t.detail){const e=document.querySelector(".hfg_footer"),t=document.querySelector(".sticky-footer-placeholder");t&&t.remove(),e.classList.remove("has-sticky-rows"),s()}n()})),window.addEventListener("resize",(function(){clearTimeout(r),r=setTimeout((function(){e(),s()}),500)}))})();

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.