Skip to Content

JavaScript File

URL: https://www-reddybook.club/wp-includes/js/imagesloaded.min.js?ver=5.0.0
HTTP Status: 200 OK
MIME Type: text/javascript
Last Modified: Fri, 11 Aug 2023 18:18:26 GMT
Download Time: Less than a second
Cookies: None
Size: 6 KB
HTTP Headers:  7 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1/*! This file is auto-generated */

2/*!

3 * imagesLoaded PACKAGED v5.0.0

4 * JavaScript is all like "You images are done yet or what?"

5 * MIT License

6 */

7!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}

8("undefined"!=typeof window?window:this,(function(){function t(){}

9let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{}

10,s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this}

11,e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{}

12;return(i[t]=i[t]||{}

13)[e]=!0,this}

14,e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this}

15,e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}

16return this}

17,e.allOff=function(){return delete this._events,delete this._onceEvents,this}

18,t}

19)),

20/*!

21 * imagesLoaded v5.0.0

22 * JavaScript is all like "You images are done yet or what?"

23 * MIT License

24 */

25function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}

26("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={}

27,"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}

28`)}

29n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)}

30;const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}

31=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}

32}

33;const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}

34function d(t,e){this.url=t,this.element=e,this.img=new Image}

35return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}

36}

37,n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)}

38,n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)}

39,n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}

40))}

...

</html>