"use strict"; (function () { window.addeventlistener('domcontentloaded', function (event) { // waypoint (function () { (function () { var target = document.queryselectorall('.js-maskanime'); array.prototype.foreach.call(target, function (element) { var ele = element.queryselectorall('.js-maskanime-ele, .js-maskanime-tape'); var time = 160; var waypoint = new waypoint({ element: element, handler: function handler(direction) { array.prototype.foreach.call(ele, function (e, i) { settimeout(function () { e.classlist.add('js-fired'); }, time * i + time); }); }, offset: '80%' }); }); })(); (function () { var target = document.queryselector('.p-hero__heading'); var waypoint = new waypoint({ element: target, handler: function handler(direction) { settimeout(function () { document.queryselector('.p-hero__vision').classlist.add('js-fired'); }, 640); }, offset: '80%' }); })(); (function () { var target = document.queryselectorall('.js-maskanime-media'); array.prototype.foreach.call(target, function (element) { var ele = element.queryselectorall('.js-maskanime-ele, .js-maskanime-tape'); var time = 160; var waypoint = new waypoint({ element: element, handler: function handler(direction) { element.classlist.add('js-fired'); array.prototype.foreach.call(ele, function (e, i) { settimeout(function () { e.classlist.add('js-fired'); }, time * i + time); }); }, offset: '80%' }); }); })(); })(); }); })();