!function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define("$lazyload",[],t):"object"===typeof exports?exports.$lazyload=t():e.$lazyload=t()}("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s="/fVc")}({"/fVc":function(e,t,n){"use strict";n.r(t);var o=n("g8md");const r={src:"",delay:300,scrollEvent:"scroll"};let i=r,l=!0;const c=(e,t)=>{const n="IMG"===e.tagName?e:e.querySelector("img");if(!n||"IMG"!==n.tagName)throw l=!1,new Error("[v-lazyload]: <image> element not found");t(n)},u={init(e,t){e.setAttribute("data-src",t),e.setAttribute("src",i.src)},observe(e){new IntersectionObserver((t=>{const n=e.dataset.src;t[0].isIntersecting&&n&&(e.src=n,e.removeAttribute("data-src"))})).observe(e)},listenerScroll(e){const t=u.throttle(u.load,i.delay);u.load(e),window.addEventListener(i.scrollEvent,(()=>{t(e)}))},load(e){const t=document.documentElement.clientHeight,n=e.getBoundingClientRect().top,o=e.getBoundingClientRect().bottom;if(n-t<0&&o>0){const t=e.dataset.src;t&&(e.src=t,e.removeAttribute("data-src"))}},throttle(e,t){let n,o;return function(){for(var r=arguments.length,i=new Array(r),l=0;l<r;l++)i[l]=arguments[l];const c=Date.now(),u=this;if(o||(o=c),clearTimeout(n),c-o>t)return o=c,e.apply(u,i),void clearTimeout(n);n=setTimeout((function(){o=Date.now(),n=null,e.apply(u,i)}),t)}}},a={id:"lazyload",definition:{bind(e,t){let{value:n}=t;l&&c(e,(e=>{u.init(e,n)}))},inserted(e){l&&c(e,(e=>IntersectionObserver?u.observe(e):u.listenerScroll(e)))}}},d={install(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i=Object.assign({},r,t),e.directive(a.id,a.definition)}};Object(o.a)(d),t.default=d},Y0i2:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(o){"object"===typeof window&&(n=window)}e.exports=n},g8md:function(e,t,n){"use strict";(function(e){t.a=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",o=null;"undefined"!==typeof window?o=window.Vue:"undefined"!==typeof e&&(o=e.Vue),o&&("directive"===n?o.directive(t.name,t):o.use(t))}}).call(this,n("Y0i2"))}})}));