File "css-animations.min.js"
Full Path: /home/aiclgcwq/photonindustriespvt.com/wp-content/themes/woodmart/js/scripts/global/css-animations.min.js
File size: 639 bytes
MIME-type: text/plain
Charset: utf-8
woodmartThemeModule.cssAnimations=function(){function n(t,o){t.forEach(function(t){var n,e;t.isIntersecting&&((n=t.target).classList.contains("wd-animation-ready")||(e=0,n.classList.forEach(t=>{t.includes("wd_delay_")&&(e=t.split("_")[2])}),n.classList.add("wd-animation-ready"),setTimeout(function(){n.classList.add("wd-animated")},e)),o.unobserve(t.target))})}var e={root:null,rootMargin:"0px",threshold:0},t=document.querySelectorAll(".wd-animation");t.forEach(function(t){t.closest(".wd-slider")||new IntersectionObserver(n,e).observe(t)})},document.addEventListener("DOMContentLoaded",function(){woodmartThemeModule.cssAnimations()});