PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
plugins
/
wp-rocket
/
inc
/
front
/
js
var _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e,t){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.LazyLoad=t()}(this,function(){"use strict";var r="data-",s="was-processed",o="true",l=function(e,t){return e.getAttribute(r+t)},a=function(e){return t=s,n=o,e.setAttribute(r+t,n);var t,n},i=function(e){return l(e,s)===o};function c(e){return e.filter(function(e){return!i(e)})}var u=function(e,t){var n,r="LazyLoad::Initialized",s=new e(t);try{n=new CustomEvent(r,{detail:{instance:s}})}catch(e){(n=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,{instance:s})}window.dispatchEvent(n)};var d=function(e,t,n){for(var r,s=0;r=e.children[s];s+=1)if("SOURCE"===r.tagName){var o=l(r,n);o&&r.setAttribute(t,o)}},f=function(e,t,n){n&&e.setAttribute(t,n)},v=function(e,t){var n=t.data_sizes,r=t.data_srcset,s=t.data_src,o=l(e,s);switch(e.tagName){case"IMG":var a=e.parentNode;a&&"PICTURE"===a.tagName&&d(a,"srcset",r);var i=l(e,n);f(e,"sizes",i);var c=l(e,r);f(e,"srcset",c),f(e,"src",o);break;case"IFRAME":f(e,"src",o);break;case"VIDEO":d(e,"src",s),f(e,"src",o);break;default:o&&(e.style.backgroundImage='url("'+o+'")')}},e="undefined"!=typeof window,_=e&&!("onscroll"in window)||/glebot|bingbot|crawler|spider|robot|crawling/i.test(navigator.userAgent),t=e&&"IntersectionObserver"in window,b=e&&"classList"in document.createElement("p"),m=function(e,t){b?e.classList.add(t):e.className+=(e.className?" ":"")+t},h=function(e,t){e&&e(t)},p="load",y="error",g=function(e,t,n){e.removeEventListener(p,t),e.removeEventListener(y,n)},E=function(n,r){var s=function e(t){w(t,!0,r),g(n,e,o)},o=function e(t){w(t,!1,r),g(n,s,e)};n.addEventListener(p,s),n.addEventListener(y,o)},w=function(e,t,n){var r,s,o=e.target;r=o,s=n.class_loading,b?r.classList.remove(s):r.className=r.className.replace(new RegExp("(^|\\s+)"+s+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,""),m(o,t?n.class_loaded:n.class_error),h(t?n.callback_load:n.callback_error,o)};var n=function(e,t){var n;this._settings=(n={elements_selector:"img",container:document,threshold:300,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",class_loading:"loading",class_loaded:"loaded",class_error:"error",callback_load:null,callback_error:null,callback_set:null,callback_enter:null},_extends({},n,e)),this._setObserver(),this.update(t)};return n.prototype={_setObserver:function(){var r=this;if(t){var e;this._observer=new IntersectionObserver(function(e){e.forEach(function(e){if((n=e).isIntersecting||0<n.intersectionRatio){var t=e.target;r.load(t),r._observer.unobserve(t)}var n}),r._elements=c(r._elements)},{root:(e=this._settings).container===document?null:e.container,rootMargin:e.threshold+"px"})}},loadAll:function(){var t=this;this._elements.forEach(function(e){t.load(e)}),this._elements=c(this._elements)},update:function(e){var t=this,n=this._settings,r=e||n.container.querySelectorAll(n.elements_selector);this._elements=c(Array.prototype.slice.call(r)),!_&&this._observer?this._elements.forEach(function(e){t._observer.observe(e)}):this.loadAll()},destroy:function(){var t=this;this._observer&&(c(this._elements).forEach(function(e){t._observer.unobserve(e)}),this._observer=null),this._elements=null,this._settings=null},load:function(e,t){var n,r;n=e,r=this._settings,!t&&i(n)||(h(r.callback_enter,n),-1<["IMG","IFRAME","VIDEO"].indexOf(n.tagName)&&(E(n,r),m(n,r.class_loading)),v(n,r),a(n),h(r.callback_set,n))}},e&&function(e,t){if(t)if(t.length)for(var n,r=0;n=t[r];r+=1)u(e,n);else u(e,t)}(n,window.lazyLoadOptions),n});
[+]
..
[-] lazyload-8.11.min.js
[edit]
[-] lazyload-8.5.2.js
[edit]
[-] lazyload-10.5.2.js
[edit]
[-] lazyload-10.3.5.min.js
[edit]
[-] lazyload-8.5.2.min.js
[edit]
[-] lazyload-8.7.1.min.js
[edit]
[-] lazyload-8.2.min.js
[edit]
[-] lazyload-1.0.5.js
[edit]
[-] lazyload-10.4.2.js
[edit]
[-] lazyload-1.0.5.min.js
[edit]
[-] lazyload-10.11.min.js
[edit]
[-] lazyload-10.4.2.min.js
[edit]
[-] lazyload-8.11.js
[edit]
[-] lazyload-10.12.min.js
[edit]
[-] lazyload-10.11.js
[edit]
[-] lazyload-10.3.5.js
[edit]
[-] lazyload-8.6.0.js
[edit]
[-] lazyload-8.12.js
[edit]
[-] lazyload-8.2.js
[edit]
[-] lazyload-10.12.js
[edit]
[-] lazyload-8.6.0.min.js
[edit]
[-] lazyload-10.5.2.min.js
[edit]
[-] lazyload-8.7.1.js
[edit]
[-] lazyload-8.12.min.js
[edit]