!function(){angular.module("angular-lazy-loader",[]).directive("angularLazyLoad",["$window","$timeout",function(t,e){return{restrict:"EA",scope:!0,link:function(n,r,i){function o(){a=Array.prototype.slice.call(r[0].querySelectorAll("img[data-src]")),u=Array.prototype.slice.call(r[0].querySelectorAll("iframe[data-src]")),(a.length>0||u.length>0)&&c()}function l(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}function c(){for(var t,e=a.length-1;e>=0;e--)t=l(a[e]),t&&(a[e].src=a[e].getAttribute("data-src"),a.splice(e,1));for(e=u.length-1;e>=0;e--)t=l(u[e]),t&&(u[e].src=u[e].getAttribute("data-src"),u.splice(e,1))}var a,u;o(),n.$on("$includeContentLoaded",function(t,n){e(o,0)}),n.$on("selectiveLoad",function(){e(o,0)}),angular.element(t).bind("scroll",function(){e(c,0)})}}}])}();
!function(){"use strict";function t(t,e){var r=!1;try{var n=Object.defineProperty({},"passive",{get:function(){r=!0}});window.addEventListener("test",null,n)}catch(t){}t.addEventListener("scroll",e,!!r&&{passive:!0})}angular.module("angular-lazy-loader",[]).directive("angularLazyLoad",["$window","$timeout","$rootScope",function(e,r,n){return{restrict:"EA",scope:!0,link:function(i,a,c){function d(){g=Array.prototype.slice.call(a[0].querySelectorAll("img[data-src], iframe[data-src], div[data-src], div[data-sized-src], img[data-sized-src]")),g.length>0&&o()}function u(t){var e=t.getBoundingClientRect();return e.bottom+f>=0&&e.left>=0&&e.top-f<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}function o(){g=g.reduce(function(t,e){var r=e.getAttribute("data-src"),n=e.getAttribute("data-sized-src"),i=e.getAttribute("data-current-src");if(r&&i&&r===i)return t;if(!u(e))return t.push(e),t;var a=e.clientHeight,c=e.clientWidth;switch(n&&a&&c&&(!0,r=n.replace("#height#",a).replace("#width#",c)),e.tagName){case"IMG":case"IFRAME":e.setAttribute("data-current-src",r),e.src=r;break;case"DIV":e.style.backgroundImage="url("+r+")",e.setAttribute("data-current-src",r);break;default:t.push(e)}return t},[])}function s(){r(d,1)}function l(){r(o,1)}var g=[],f=Number(c.threshold)||0;d(),i.$on("$includeContentLoaded",s),n.$on("selectiveLoad",s),t(e,l),angular.element(e).bind("resize",l)}}}])}();
add compressed loader