PluginProbe
Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score / trunk
Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score vtrunk
trunk 1.0 1.0.1 1.1 1.1.1 1.1.2 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.1 2.1.1 2.1.2 2.2 2.2.1 All 69 releases
← All changes | dist/js/lazyload.js +1 -1 2.0.3trunk View file →
@@ -1 +1 @@
1 -!function(){var t={1530:function(t,e,n){"use strict";var r=n(8710).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},9670:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},1318:function(t,e,n){var r=n(5656),o=n(7466),i=n(1400),c=function(t){return function(e,n,c){var u,a=r(e),f=o(a.length),s=i(c,f);if(t&&n!=n){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},4326:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},9920:function(t,e,n){var r=n(6656),o=n(3887),i=n(1236),c=n(3070);t.exports=function(t,e){for(var n=o(e),u=c.f,a=i.f,f=0;f<n.length;f++){var s=n[f];r(t,s)||u(t,s,a(e,s))}}},8880:function(t,e,n){var r=n(9781),o=n(3070),i=n(9114);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9781:function(t,e,n){var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(t,e,n){var r=n(7854),o=n(111),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},8113:function(t,e,n){var r=n(5005);t.exports=r("navigator","userAgent")||""},7392:function(t,e,n){var r,o,i=n(7854),c=n(8113),u=i.process,a=i.Deno,f=u&&u.versions||a&&a.version,s=f&&f.v8;s?o=(r=s.split("."))[0]<4?1:r[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),o=n(1236).f,i=n(8880),c=n(1320),u=n(3505),a=n(9920),f=n(4705);t.exports=function(t,e){var n,s,l,p,v,d=t.target,h=t.global,g=t.stat;if(n=h?r:g?r[d]||u(d,{}):(r[d]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(h?s:d+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof p===typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(n,s,p,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:function(t,e,n){"use strict";n(4916);var r=n(1320),o=n(2261),i=n(7293),c=n(5112),u=n(8880),a=c("species"),f=RegExp.prototype;t.exports=function(t,e,n,s){var l=c(t),p=!i((function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})),v=p&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[a]=function(){return n},n.flags="",n[l]=/./[l]),n.exec=function(){return e=!0,null},n[l](""),!e}));if(!p||!v||n){var d=/./[l],h=e(l,""[t],(function(t,e,n,r,i){var c=e.exec;return c===o||c===f.exec?p&&!i?{done:!0,value:d.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}));r(String.prototype,t,h[0]),r(f,l,h[1])}s&&u(f[l],"sham",!0)}},5005:function(t,e,n){var r=n(7854),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},647:function(t,e,n){var r=n(7908),o=Math.floor,i="".replace,c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,a,f,s){var l=n+t.length,p=a.length,v=u;return void 0!==f&&(f=r(f),v=c),i.call(s,v,(function(r,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(l);case"<":c=f[i.slice(1,-1)];break;default:var u=+i;if(0===u)return r;if(u>p){var s=o(u/10);return 0===s?r:s<=p?void 0===a[s-1]?i.charAt(1):a[s-1]+i.charAt(1):r}c=a[u-1]}return void 0===c?"":c}))}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:function(t,e,n){var r=n(7908),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(r(t),e)}},3501:function(t){t.exports={}},490:function(t,e,n){var r=n(5005);t.exports=r("document","documentElement")},4664:function(t,e,n){var r=n(9781),o=n(7293),i=n(317);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(7293),o=n(4326),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},2788:function(t,e,n){var r=n(5465),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},9909:function(t,e,n){var r,o,i,c=n(8536),u=n(7854),a=n(111),f=n(8880),s=n(6656),l=n(5465),p=n(6200),v=n(3501),d="Object already initialized",h=u.WeakMap;if(c||l.state){var g=l.state||(l.state=new h),y=g.get,x=g.has,b=g.set;r=function(t,e){if(x.call(g,t))throw new TypeError(d);return e.facade=t,b.call(g,t,e),e},o=function(t){return y.call(g,t)||{}},i=function(t){return x.call(g,t)}}else{var m=p("state");v[m]=!0,r=function(t,e){if(s(t,m))throw new TypeError(d);return e.facade=t,f(t,m,e),e},o=function(t){return s(t,m)?t[m]:{}},i=function(t){return s(t,m)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!a(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},4705:function(t,e,n){var r=n(7293),o=/#|\.prototype\./,i=function(t,e){var n=u[c(t)];return n==f||n!=a&&("function"==typeof e?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},111:function(t){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(5005),o=n(3307);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return"function"==typeof e&&Object(t)instanceof e}},133:function(t,e,n){var r=n(7392),o=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:function(t,e,n){var r=n(7854),o=n(2788),i=r.WeakMap;t.exports="function"===typeof i&&/native code/.test(o(i))},30:function(t,e,n){var r,o=n(9670),i=n(6048),c=n(748),u=n(3501),a=n(490),f=n(317),s=n(6200),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"</"+"script>"},d=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}h=document.domain&&r?d(r):function(){var t,e=f("iframe");if(e.style)return e.style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F}()||d(r);for(var t=c.length;t--;)delete h.prototype[c[t]];return h()};u[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[l]=t):n=h(),void 0===e?n:i(n,e)}},6048:function(t,e,n){var r=n(9781),o=n(3070),i=n(9670),c=n(1956);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=c(e),u=r.length,a=0;u>a;)o.f(t,n=r[a++],e[n]);return t}},3070:function(t,e,n){var r=n(9781),o=n(4664),i=n(9670),c=n(4948),u=Object.defineProperty;e.f=r?u:function(t,e,n){if(i(t),e=c(e),i(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),o=n(5296),i=n(9114),c=n(5656),u=n(4948),a=n(6656),f=n(4664),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=c(t),e=u(e),f)try{return s(t,e)}catch(t){}if(a(t,e))return i(!o.f.call(t,e),t[e])}},8006:function(t,e,n){var r=n(6324),o=n(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},6324:function(t,e,n){var r=n(6656),o=n(5656),i=n(1318).indexOf,c=n(3501);t.exports=function(t,e){var n,u=o(t),a=0,f=[];for(n in u)!r(c,n)&&r(u,n)&&f.push(n);for(;e.length>a;)r(u,n=e[a++])&&(~i(f,n)||f.push(n));return f}},1956:function(t,e,n){var r=n(6324),o=n(748);t.exports=Object.keys||function(t){return r(t,o)}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},2140:function(t,e,n){var r=n(111);t.exports=function(t,e){var n,o;if("string"===e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if("string"!==e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},3887:function(t,e,n){var r=n(5005),o=n(8006),i=n(5181),c=n(9670);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(c(t)),n=i.f;return n?e.concat(n(t)):e}},1320:function(t,e,n){var r=n(7854),o=n(8880),i=n(6656),c=n(3505),u=n(2788),a=n(9909),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,e,n,u){var a,f=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),(a=s(n)).source||(a.source=l.join("string"==typeof e?e:""))),t!==r?(f?!v&&t[e]&&(p=!0):delete t[e],p?t[e]=n:o(t,e,n)):p?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u(this)}))},7651:function(t,e,n){var r=n(4326),o=n(2261);t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var i=n.call(t,e);if("object"!==typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},2261:function(t,e,n){"use strict";var r=n(1340),o=n(7066),i=n(2999),c=n(2309),u=n(30),a=n(9909).get,f=n(9441),s=n(8173),l=RegExp.prototype.exec,p=c("native-string-replace",String.prototype.replace),v=l,d=function(){var t=/a/,e=/b*/g;return l.call(t,"a"),l.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),h=i.UNSUPPORTED_Y||i.BROKEN_CARET,g=void 0!==/()??/.exec("")[1];(d||g||h||f||s)&&(v=function(t){var e,n,i,c,f,s,y,x=this,b=a(x),m=r(t),w=b.raw;if(w)return w.lastIndex=x.lastIndex,e=v.call(w,m),x.lastIndex=w.lastIndex,e;var E=b.groups,O=h&&x.sticky,j=o.call(x),S=x.source,T=0,k=m;if(O&&(-1===(j=j.replace("y","")).indexOf("g")&&(j+="g"),k=m.slice(x.lastIndex),x.lastIndex>0&&(!x.multiline||x.multiline&&"\n"!==m.charAt(x.lastIndex-1))&&(S="(?: "+S+")",k=" "+k,T++),n=new RegExp("^(?:"+S+")",j)),g&&(n=new RegExp("^"+S+"$(?!\\s)",j)),d&&(i=x.lastIndex),c=l.call(O?n:x,k),O?c?(c.input=c.input.slice(T),c[0]=c[0].slice(T),c.index=x.lastIndex,x.lastIndex+=c[0].length):x.lastIndex=0:d&&c&&(x.lastIndex=x.global?c.index+c[0].length:i),g&&c&&c.length>1&&p.call(c[0],n,(function(){for(f=1;f<arguments.length-2;f++)void 0===arguments[f]&&(c[f]=void 0)})),c&&E)for(c.groups=s=u(null),f=0;f<E.length;f++)s[(y=E[f])[0]]=c[y[1]];return c}),t.exports=v},7066:function(t,e,n){"use strict";var r=n(9670);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},2999:function(t,e,n){var r=n(7293),o=function(t,e){return RegExp(t,e)};e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},9441:function(t,e,n){var r=n(7293);t.exports=r((function(){var t=RegExp(".","string".charAt(0));return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},8173:function(t,e,n){var r=n(7293);t.exports=r((function(){var t=RegExp("(?<a>b)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:function(t){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},3505:function(t,e,n){var r=n(7854);t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},6200:function(t,e,n){var r=n(2309),o=n(9711),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,n){var r=n(7854),o=n(3505),i="__core-js_shared__",c=r[i]||o(i,{});t.exports=c},2309:function(t,e,n){var r=n(1913),o=n(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.16.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},8710:function(t,e,n){var r=n(9958),o=n(1340),i=n(4488),c=function(t){return function(e,n){var c,u,a=o(i(e)),f=r(n),s=a.length;return f<0||f>=s?t?"":void 0:(c=a.charCodeAt(f))<55296||c>56319||f+1===s||(u=a.charCodeAt(f+1))<56320||u>57343?t?a.charAt(f):c:t?a.slice(f,f+2):u-56320+(c-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},1400:function(t,e,n){var r=n(9958),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5656:function(t,e,n){var r=n(8361),o=n(4488);t.exports=function(t){return r(o(t))}},9958:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},7466:function(t,e,n){var r=n(9958),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488);t.exports=function(t){return Object(r(t))}},7593:function(t,e,n){var r=n(111),o=n(2190),i=n(2140),c=n(5112)("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,u=t[c];if(void 0!==u){if(void 0===e&&(e="default"),n=u.call(t,e),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},4948:function(t,e,n){var r=n(7593),o=n(2190);t.exports=function(t){var e=r(t,"string");return o(e)?e:String(e)}},1340:function(t,e,n){var r=n(2190);t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},9711:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},3307:function(t,e,n){var r=n(133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(t,e,n){var r=n(7854),o=n(2309),i=n(6656),c=n(9711),u=n(133),a=n(3307),f=o("wks"),s=r.Symbol,l=a?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)&&(u||"string"==typeof f[t])||(u&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},4916:function(t,e,n){"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},5306:function(t,e,n){"use strict";var r=n(7007),o=n(7293),i=n(9670),c=n(9958),u=n(7466),a=n(1340),f=n(4488),s=n(1530),l=n(647),p=n(7651),v=n(5112)("replace"),d=Math.max,h=Math.min,g="$0"==="a".replace(/./,"$0"),y=!!/./[v]&&""===/./[v]("a","$0");r("replace",(function(t,e,n){var r=y?"$":"$0";return[function(t,n){var r=f(this),o=void 0==t?void 0:t[v];return void 0!==o?o.call(t,r,n):e.call(a(r),t,n)},function(t,o){var f=i(this),v=a(t);if("string"===typeof o&&-1===o.indexOf(r)&&-1===o.indexOf("$<")){var g=n(e,f,v,o);if(g.done)return g.value}var y="function"===typeof o;y||(o=a(o));var x=f.global;if(x){var b=f.unicode;f.lastIndex=0}for(var m=[];;){var w=p(f,v);if(null===w)break;if(m.push(w),!x)break;""===a(w[0])&&(f.lastIndex=s(v,u(f.lastIndex),b))}for(var E,O="",j=0,S=0;S<m.length;S++){w=m[S];for(var T=a(w[0]),k=d(h(c(w.index),v.length),0),I=[],A=1;A<w.length;A++)I.push(void 0===(E=w[A])?E:String(E));var R=w.groups;if(y){var P=[T].concat(I,k,v);void 0!==R&&P.push(R);var _=a(o.apply(void 0,P))}else _=l(T,v,k,I,R,o);k>=j&&(O+=v.slice(j,k)+_,j=k+T.length)}return O+v.slice(j)}]}),!!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!g||y)}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";n(4916),n(5306);var t=t||{},e=function(){var e={_lastCheckTs:0,_checkDebounceTimeoutRunning:!1,init:function(){return e.threshold=e.getOptionIntValue("threshold",200),e.recheckDelay=e.getOptionIntValue("recheck_delay",250),e.debounce=e.getOptionIntValue("debounce",50),e.checkRecurring(),e},check:function(t){var n;!0===t&&(e._checkDebounceTimeoutRunning=!1);var r=performance.now();if(r<e._lastCheckTs+e.debounce)e._checkDebounceTimeoutRunning||(e._checkDebounceTimeoutRunning=!0,setTimeout((function(){e.check(!0)}),e.debounce));else{e._lastCheckTs=r;var o=document.documentElement.clientHeight||document.body.clientHeight;n=!1;var i=document.getElementsByClassName("lazy-hidden");[].forEach.call(i,(function(t,r,i){var c=t.getBoundingClientRect();c.width&&c.height&&o-c.top+e.threshold>0&&(e.show(t),n=!0)})),n&&e.check()}},checkRecurring:function(){e.check(),setTimeout(e.checkRecurring,e.recheckDelay)},show:function(t){var n,r,o;t.className=t.className.replace(/(?:^|\s)lazy-hidden(?!\S)/g,""),t.addEventListener("load",(function(){t.className+=" lazy-loaded",e.customEvent(t,"lazyloaded")}),!1);var i=t.getAttribute("data-lazy-type");"image"===i?(null!=t.getAttribute("data-lazy-srcset")&&t.setAttribute("srcset",t.getAttribute("data-lazy-srcset")),null!=t.getAttribute("data-lazy-sizes")&&t.setAttribute("sizes",t.getAttribute("data-lazy-sizes")),t.setAttribute("src",t.getAttribute("data-lazy-src"))):"iframe"===i&&(n=t.getAttribute("data-lazy-src"),(r=document.createElement("div")).innerHTML=n,o=r.firstChild,t.parentNode.replaceChild(o,t))},customEvent:function(t,e){var n;document.createEvent?(n=document.createEvent("HTMLEvents")).initEvent(e,!0,!0):(n=document.createEventObject()).eventType=e,n.eventName=e,document.createEvent?t.dispatchEvent(n):t.fireEvent("on".concat(n.eventType),n)},getOptionIntValue:function(e,n){return"undefined"!==typeof t[e]?parseInt(t[e],0):n}};return e.init()}();window.addEventListener("load",e.check,!1),window.addEventListener("scroll",e.check,!1),window.addEventListener("resize",e.check,!1),document.getElementsByTagName("body").item(0).addEventListener("post-load",e.check,!1)}()}();
1 +!function(){"use strict";window.PCLL_options=window.PCLL_options||{};var e=function(){var e={_lastCheckTs:0,_checkDebounceTimeoutRunning:!1,_earlyLoadedCount:0,init:function(){return e.threshold=e.getOptionIntValue("threshold",200),e.recheckDelay=e.getOptionIntValue("recheck_delay",250),e.debounce=e.getOptionIntValue("debounce",50),e.immediateLoadCount=e.getOptionIntValue("immediate_load_count",3),e.checkRecurring(),e.lazyLoadYouTube(),e},check:function(t){var n,a,i,c;!0===t&&(e._checkDebounceTimeoutRunning=!1),(n=performance.now())<e._lastCheckTs+e.debounce?e._checkDebounceTimeoutRunning||(e._checkDebounceTimeoutRunning=!0,setTimeout(function(){e.check(!0)},e.debounce)):(e._lastCheckTs=n,a=document.documentElement.clientHeight||body.clientHeight,i=!1,c=document.getElementsByClassName("lazy-hidden"),[].forEach.call(c,function(t,n,c){var o=t.getBoundingClientRect();o.width&&o.height&&(e._earlyLoadedCount<=e.immediateLoadCount&&(e._earlyLoadedCount++,e.showImmediately(t)),0<a-o.top+e.threshold&&(e.show(t),i=!0))}),i&&e.check())},checkRecurring:function(){e.check(),setTimeout(e.checkRecurring,e.recheckDelay)},show:function(t){var n,a,i,c;t.className=t.className.replace(/(?:^|\s)lazy-hidden(?!\S)/g,""),t.addEventListener("load",function(){t.className+=" lazy-loaded",e.customEvent(t,"lazyloaded")},!1),"image"==(n=t.getAttribute("data-lazy-type"))?(null!=t.getAttribute("data-lazy-srcset")&&t.setAttribute("srcset",t.getAttribute("data-lazy-srcset")),null!=t.getAttribute("data-lazy-sizes")&&t.setAttribute("sizes",t.getAttribute("data-lazy-sizes")),t.setAttribute("src",t.getAttribute("data-lazy-src"))):"iframe"==n&&(a=t.getAttribute("data-lazy-src"),(i=document.createElement("div")).innerHTML=a,c=i.firstChild,t.parentNode.replaceChild(c,t))},showImmediately:function(t){var n,a,i,c;t.className=t.className.replace(/(?:^|\s)lazy-hidden(?!\S)/g,""),t.addEventListener("load",function(){t.className+=" lazy-load-direct",e.customEvent(t,"lazyloaded")},!1),t.hasAttribute("loading")&&t.removeAttribute("loading"),"image"==(n=t.getAttribute("data-lazy-type"))?(null!=t.getAttribute("data-lazy-srcset")&&t.setAttribute("srcset",t.getAttribute("data-lazy-srcset")),null!=t.getAttribute("data-lazy-sizes")&&t.setAttribute("sizes",t.getAttribute("data-lazy-sizes")),t.setAttribute("src",t.getAttribute("data-lazy-src"))):"iframe"==n&&(a=t.getAttribute("data-lazy-src"),(i=document.createElement("div")).innerHTML=a,c=i.firstChild,t.parentNode.replaceChild(c,t))},customEvent:function(e,t){var n;document.createEvent?(n=document.createEvent("HTMLEvents")).initEvent(t,!0,!0):(n=document.createEventObject()).eventType=t,n.eventName=t,document.createEvent?e.dispatchEvent(n):e.fireEvent("on"+n.eventType,n)},lazyLoadYouTube:function(e){document.querySelectorAll(".pcll-youtube-player").forEach(function(e){e.addEventListener("click",function(){var e=document.createElement("iframe");e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen",""),e.setAttribute("allow","autoplay");var t=this.getAttribute("data-src"),n=t.includes("?")?"&":"?",a=`${t}${n}autoplay=1&feature=oembed`;e.setAttribute("src",a),e.style.width="100%",e.style.height=this.offsetHeight+"px",this.innerHTML="",this.appendChild(e)})})},getOptionIntValue:function(e,t){return"undefined"!==typeof window.PCLL_options[e]?parseInt(window.PCLL_options[e]):t}};return e.init()}();window.addEventListener("load",e.check,!1),window.addEventListener("scroll",e.check,!1),window.addEventListener("resize",e.check,!1),document.getElementsByTagName("body").item(0).addEventListener("post-load",e.check,!1)}();