PageSourceSearch

https://wake.tech/wp-content/themes/wakecommerce-wp/dist/js/home-v2.js?ver=1789659105

js wake.tech collected 2026-09-24 19:19:31 UTC 6,563 bytes, 1 lines download raw bytes

1!function(){var e=5e3,t=document.querySelectorAll(".hv2-logos__group"),n=document.querySelector(".hv2-logos__bar"),o=document.querySelector(".hv2-logos");if(t.length&&n&&o){var i=0,a=null,r=Date.now(),s=e;c(e,0),r=Date.now(),a=setTimeout(l,e),o.addEventListener("mouseenter",(function(){var t=Date.now()-r;s=Math.max(e-t,100),clearTimeout(a);var o=n.parentElement,i=o.offsetWidth>0?n.getBoundingClientRect().width/o.getBoundingClientRect().width*100:t/e*100;n.style.transition="none",n.style.width=Math.min(i,100).toFixed(1)+"%"})),o.addEventListener("mouseleave",(function(){var t=parseFloat(n.style.width)||0;r=Date.now()-(e-s),c(s,t),a=setTimeout(l,s)}))}function c(e,t){n.style.transition="none",n.style.width=(t||0)+"%",n.offsetWidth,n.style.transition="width "+e/1e3+"s linear",n.style.width="100%"}function l(){t[i].classList.remove("is-active"),t[i].setAttribute("aria-hidden","true"),i=(i+1)%t.length,t[i].classList.add("is-active"),t[i].setAttribute("aria-hidden","false"),c(e,0),r=Date.now(),a=setTimeout(l,e)}}(),function(){var e=document.querySelector(".hv2-hero__video");function t(){var t=window.innerWidth<=640,n=t?e.dataset.srcMobile:e.dataset.srcDesktop,o=t?e.dataset.posterMobile:e.dataset.posterDesktop;o&&(e.poster=o),n&&(e.src=n),e.load(),e.play().catch((function(){}))}e&&("IntersectionObserver"in window?new IntersectionObserver((function(e,n){e.forEach((function(e){e.isIntersecting&&(t(),n.disconnect())}))}),{rootMargin:"200px"}).observe(e):t())}(),function(){var e=document.getElementById("hv2-lightbox"),t=document.getElementById("hv2-lightbox-frame"),n=document.getElementById("hv2-lightbox-close"),o=document.getElementById("hv2-lightbox-backdrop"),i=document.querySelectorAll(".hv2-video__play");if(e&&t&&n&&o){var a=document.getElementById("hv2-lightbox-video");a&&(i.forEach((function(e){e.addEventListener("click",(function(){var t=e.closest("[data-video-url]"),n=t?t.dataset.videoUrl:"";n&&r(n)}))})),n.addEventListener("click",s),o.addEventListener("click",s),document.addEventListener("keydown",(function(t){"Escape"!==t.key||e.hasAttribute("hidden")||s()})),document.querySelectorAll(".hv2-cases__thumb--video").forEach((function(e){function t(){var t=e.dataset.videoUrl;t&&r(t)}e.addEventListener("click",t),e.addEventListener("keydown",(function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t())}))})))}function r(o){if(-1===(c=o).indexOf("youtube")&&-1===c.indexOf("youtu.be")&&-1===c.indexOf("vimeo"))t.style.display="none",a.style.display="block",a.src=o,a.play().catch((function(){}));else{a.style.display="none",t.style.display="block";var i="",r=o.match(/[?&]v=([^&]+)/);if(r)i=r[1];else{var s=o.match(/youtu\.be\/([^?&]+)/);s&&(i=s[1])}t.src=i?"https://www.youtube.com/embed/"+i+"?autoplay=1&rel=0":o}var c;e.removeAttribute("hidden"),e.classList.add("is-open"),document.body.style.overflow="hidden",n.focus()}function s(){e.classList.remove("is-open"),setTimeout((function(){e.setAttribute("hidden",""),t.src="",a.pause(),a.src="",document.body.style.overflow=""}),300)}}(),function(){var e=document.querySelectorAll(".hv2-cases__filter"),t=document.querySelectorAll(".hv2-cases__card");if(e.length){t.forEach((function(e){e.style.display="false"!==e.dataset.default?"":"none"}));var n=document.querySelector(".hv2-cases"),o=document.querySelector(".header-section");e.forEach((function(i){i.addEventListener("click",(function(){e.forEach((function(e){e.classList.remove("is-active")})),i.classList.add("is-active");var a=i.dataset.filter;if(t.forEach((function(e){var t="all"===a||-1!==e.dataset.tags.split(" ").indexOf(a);e.style.display=t?"":"none"})),n){var r=o?o.offsetHeight:80,s=n.getBoundingClientRect().top+window.scrollY-r-24;window.scrollTo({top:s,behavior:"smooth"})}}))}))}}(),function(){var e=document.querySelector(".hv2-hero__fancy-wrap");if(e){var t=Array.prototype.slice.call(e.querySelectorAll(".hv2-hero__fancy-item"));if(!(t.length<2)){var n;n=0,t.forEach((function(e){e.style.position="static",e.style.opacity="0",n=Math.max(n,e.offsetHeight),e.style.position="",e.style.opacity=""})),e.style.height=n+6+"px";var o=0;setInterval((function(){var e=o;o=(o+1)%t.length,t[e].classList.remove("is-active"),t[e].classList.add("is-exiting"),t[e].setAttribute("aria-hidden","true"),setTimeout((function(){t[e].classList.remove("is-exiting"),t[o].classList.add("is-active"),t[o].setAttribute("aria-hidden","false")}),320)}),3320)}}}(),document.querySelectorAll(".hv2-features__card").forEach((function(e){var t=e.querySelector(".hv2-features__card-video");t&&(e.addEventListener("mouseenter",(function(){t.play().catch((function(){}))})),e.addEventListener("mouseleave",(function(){t.pause(),t.currentTime=0})))}
1)),function(){var e=document.querySelectorAll(".hv2-features__card--with-img");function t(){e.forEach((function(e){e.style.minHeight="";var t=e.offsetHeight;t&&(e.style.minHeight=t+"px")}))}e.length&&(document.fonts&&document.fonts.ready?document.fonts.ready.then(t):window.addEventListener("load",t))}(),function(){var e=document.querySelector(".hv2-cta__inner"),t=document.querySelector(".hv2-cta");if(e){var n=function(e,t,n){return e+(t-e)*n},o=function(){r=n(r,i,.07),s=n(s,a,.07),e.style.setProperty("--x",r.toFixed(1)+"px"),e.style.setProperty("--y",s.toFixed(1)+"px"),c=Math.abs(r-i)>.3||Math.abs(s-a)>.3?requestAnimationFrame(o):null},i=0,a=0,r=0,s=0,c=null,l=!1;e.addEventListener("mousemove",(function(t){var n=e.getBoundingClientRect();i=t.clientX-n.left,a=t.clientY-n.top,l||(r=i,s=a,l=!0),c||(c=requestAnimationFrame(o))}))}if(t){var d=function(){var e=t.getBoundingClientRect(),n=window.innerHeight,o=e.top<.4*n&&e.bottom>.6*n;o!==u&&(u=o,document.body.classList.toggle("hv2-cta-active",o))},u=!1;window.addEventListener("scroll",d,{passive:!0}),d()}}(),function(){var e=document.querySelectorAll("[data-autoplay-onview]");if(e.length)if("IntersectionObserver"in window){var t=new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting&&(e.target.play().catch((function(){})),t.unobserve(e.target))}))}),{rootMargin:"200px"});e.forEach((function(e){t.observe(e)}))}else e.forEach((function(e){e.play().catch((function(){}))}))}(),function(){var e=document.querySelectorAll(".hv2-cta-banner__card, .hv2-capabilities__stack");if(e.length)if("IntersectionObserver"in window){var t=new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting&&(e.target.classList.add("is-visible"),t.unobserve(e.target))}))}),{threshold:.15});e.forEach((function(e){t.observe(e)}))}else e.forEach((function(e){e.classList.add("is-visible")}))}();

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.