document.addEventListener("DOMContentLoaded",function(){const e=document.querySelectorAll(".wp-block-zolo-progress-bar"),o=e[0].getAttribute("data-progressoffset");e.forEach(function(e){e.querySelectorAll(".wp-block-zolo-progress-bar-child").forEach(function(e){const t=e.querySelector(".zolo-progress-bar__progress-bar"),r=e.querySelector(".zolo-progress-bar_value"),s=r.getAttribute("data-value");new Waypoint({element:t,handler:function(){t.classList.contains("active")?t.classList.remove("active"):t.classList.add("active"),zoloNumberRolling(r,{number:s,speed:600})},continuous:!0,offset:null!==o?`${o}%`:"bottom-in-view"})})})});