in website/src/pages/animations/_headerAnimation.js [31:42]
function onVisibilityChange() {
if (document.hidden) {
timeouts.forEach(timeout => {
clearTimeout(timeout);
});
// clear the timeouts array
timeouts.length = 0;
} else {
// restart the animation when visible
animateStep();
}
}