!function(t){"use strict";function r(t){var e=t.getAttribute("data-srcset");e&&t.setAttribute("srcset",e);var r=t.getAttribute("data-src");r&&(t.src=r);var n=t.getAttribute("data-preload");n&&(t.preload=n)}function n(t){t&&Array.from(t).filter(function(t){return"SOURCE"===t.nodeName}).forEach(r)}function c(t){return t.setAttribute("data-loaded","1")}function u(t){return"1"===t.getAttribute("data-loaded")}function e(t,e){function r(t){o(t),c(t),a(t)}void 0===t&&(t=".lx-lazy");var n=Object.assign({},d,e),o=n.load,a=n.loaded,i="undefined"!=typeof IntersectionObserver&&new IntersectionObserver(function(r,n){return function(t,e){t.forEach(function(t){(0<t.intersectionRatio||t.isIntersecting)&&(e.unobserve(t.target),u(t.target)||(r&&r(t.target),c(t.target),n&&n(t.target)))})}}(o,a),n)||void 0;return{observe:function(){return function(t,e){return void 0===e&&(e=document),t instanceof Element?[t]:Array.from("string"==typeof t?e.querySelectorAll(t):t)}(t,n.root||void 0).forEach(function(t){u(t)||(i?i.observe(t):r(t))})},load:function(t){t&&!u(t)&&r(t)},observer:i}}var d={rootMargin:"0px",threshold:0,load:function(t){switch(t.nodeName){case"VIDEO":n(t.children),t.load();break;case"IMG":var e=t.parentElement;e&&"PICTURE"===e.nodeName&&n(e.children)}r(t)},loaded:function(t){}};e.isLoaded=u,t.lexusLazy=e}(this);;
