PageSourceSearch

https://wp-avenue.com/wp/wp-content/themes/wp-avenue/assets/js/script.js?ver=20261007000326

js wp-avenue.com collected 2026-10-07 00:03:39 UTC 2,171 bytes, 1 lines download raw bytes

1"use strict";function getUrlQueries(){var e=window.location.search.slice(1),t={};return!!e&&(e.split("&").forEach(function(e){e=e.split("=");t[e[0]]=e[1]}),console.log(t.download),t)}function addParameterFormAction(){var e,t,o=getUrlQueries();function n(e){var t=e.action,n="?",i="";Object.keys(o).forEach(function(e){i+=n+e+"="+o[e],n="&"}),e.action=t+i}o&&(e=document.getElementById("wpmem_register_form"),t=document.getElementById("wpmem_login_form"),e&&n(e),t&&n(t))}function heroImageSetHeight(){var e=window.innerHeight,t=document.getElementById("js-hero");t&&e!==t.clientHeight&&(t.style.height=e+"px")}function isPassiveSupported(){var e=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(e){}return e}function scrollAddAnimation(){var t,n=window.pageYOffset,i=n+window.innerHeight,o=document.getElementsByClassName("is-animation");function a(){t=t||setTimeout(function(){t=0,o=document.getElementsByClassName("is-animation"),n=window.pageYOffset,i=n+window.innerHeight;for(var e=0;e<o.length;e++)o[e].getBoundingClientRect().top+window.pageYOffset<i-200&&o[e].classList.add("show-animation");document.getElementsByClassName("show-animation").length===o.length&&window.removeEventListener("scroll",a)},100)}o&&(a(),window.addEventListener("scroll",a,!!isPassiveSupported()&&{passive:!0}))}function displayGlobalNav(){var e=document.body,t=document.getElementById("js-hamburger");if(t){t.addEventListener("click",function(){e.classList.toggle("display-nav")});for(var n=document.getElementsByClassName("menu-item"),i=0;i<n.length;i++)n[i].addEventListener("click",function(){e.classList.remove("display-nav")})}}addParameterFormAction(),heroImageSetHeight(),scrollAddAnimation(),displayGlobalNav();var checkboxConfirm=function(){console.log("checkout");var e=document.querySelector(".js-purchase-checkbox"),t=document.querySelector(".js-purchase-email"),n=document.getElementById("js-purchase-btn"),i=!1,o=!1;e&&t&&n&&(e.addEventListener("change",function(e){e=e.target;i=!!e.checked,n.disabled=!i||!o}),t.addEventListener("input",function(e){e=e.target;o=!!e.value,n.disabled=!i||!o}))};checkboxConfirm();

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.