"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[180],{8239:(t,r,e)=>{var n=e(4594);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(t){if("string"==typeof t)return a(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?a(t,r):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function c(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}function u(t){var r=function(t,r){if("object"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==i(r)?r:r+""}var f={rootMargin:"500px"},s=function(t,r,e){var n=t.getAttribute("data-retina-size-modificator")||"";"IMG"===t.tagName?(t.srcset="".concat(e).concat(n),t.src=r):"IFRAME"===t.tagName?t.src=r:t.style.backgroundImage="url(".concat(r,")"),t.classList.remove("img-lazy","iframe-lazy")},l=function(t,r){t.forEach((function(t){t.isIntersecting&&(s(t.target,t.target.getAttribute("data-src"),t.target.getAttribute("data-retina-src")),r.unobserve(t.target))}))},b=function(t,r){t.forEach((function(t){t.isIntersecting&&((0,n.iT)(t.target,".slide .img-lazy").forEach((function(t){return s(t,t.getAttribute("data-src"),t.getAttribute("data-retina-src"))})),r.unobserve(t.target))}))},y=function(){return t=function t(){!function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t)},r=[{key:"init",value:function(){var t=[].concat(o((0,n.iT)(".img-lazy")),o((0,n.iT)(".iframe-lazy")));if("IntersectionObserver"in window){var r=new IntersectionObserver(b,f);(0,n.iT)(".slider").forEach((function(t){return r.observe(t)}));var e=new IntersectionObserver(l,f);t.forEach((function(t){return e.observe(t)}))}else(0,n.iT)(".slide .img-lazy").forEach((function(t){return s(t,t.getAttribute("data-src"),t.getAttribute("data-retina-src"))})),t.forEach((function(t){return s(t,t.getAttribute("data-src"))}))}}],null&&c(t.prototype,null),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r}();(0,n.OR)((function(){y.init(),(0,n.jS)("LazyImage")}))}},t=>{t(t.s=8239)}]);