(window["webpackJsonp_name_"] = window["webpackJsonp_name_"] || []).push([[4],{ /***/ 73: /***/ (function(module, exports, __webpack_require__) { "use strict"; function IntersectionObserverFunction() { if ("IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype) { return function (elems, cb) { var itemObserver = new IntersectionObserver(function (entries, observer) { entries.forEach(function (entry) { if (entry.isIntersecting) { cb instanceof Function && cb(entry.target); // entry.target.setAttribute("src", entry.target.getAttribute("data-src")); // entry.target.classList.remove("lazy"); // imageObserver.unobserve(entry.target); } }); }); Array.from(elems).forEach(function (item) { itemObserver.observe(item); }); }; } else { return function (elem) { console.log('Use default scroll event'); }; } } /***/ }) }]);