1"use strict";(self.webpackChunkneoskop_de=self.webpackChunkneoskop_de||[]).push([[932],{50551:function(e,t,n){n.r(t),n.d(t,{renderImageToString:function(){return b},swapPlaceholderImage:function(){return g}});var o=n(5588),r=n(96540),a=n(65848);n(12729);let i;const c=new WeakMap,s=navigator.connection||navigator.mozConnection||navigator.webkitConnection,l=["image","loading","isLoading","isLoaded","imgClassName","imgStyle","objectPosition","backgroundColor","objectFit"];function d(e,t){e.style.opacity="1",t&&(t.style.opacity="0")}function u(e,t,n,o,r,a){const i=e.querySelector("[data-main-image]"),c=e.querySelector("[data-placeholder-image]"),s=n.has(t);function l(e){this.removeEventListener("load",l);const t=e.currentTarget,n=new Image;n.src=t.currentSrc,n.decode?n.decode().then(()=>{d(this,c),null==r||r({wasCached:s})}).catch(e=>{d(this,c),null==a||a(e)}):(d(this,c),null==r||r({wasCached:s}))}return i.addEventListener("load",l),null==o||o({wasCached:s}),Array.from(i.parentElement.children).forEach(e=>{const t=e.getAttribute("data-src"),n=e.getAttribute("data-srcset");t&&(e.removeAttribute("data-src"),e.setAttribute("src",t)),n&&(e.removeAttribute("data-srcset"),e.setAttribute("srcset",n))}),n.add(t),i.complete&&l.call(i,{currentTarget:i}),()=>{i&&i.removeEventListener("load",l)}}function g(e,t,r,a,l,d,g){if(!(0,o.h)()){let o;const v=(h=()=>{o=u(e,t,r,l,d,g)},"IntersectionObserver"in window?(i||(i=new IntersectionObserver(e=>{e.forEach(e=>{var t;e.isIntersecting&&(null==(t=c.get(e.target))||t(),c.delete(e.target))})},{rootMargin:"4g"!==(null==s?void 0:s.effectiveType)||null!=s&&s.saveData?"2500px":"1250px"})),function(e){return c.set(e,h),i.observe(e),function(){i&&e&&(c.delete(e),i.unobserve(e))}}):function(){return h(),function(){}}),f=v(e);var b,m;return"objectFit"in document.documentElement.style||(e.dataset.objectFit=null!=(b=a.objectFit)?b:"cover",e.dataset.objectPosition=""+(null!=(m=a.objectPosition)?m:"50% 50%"),async function(e){"objectFitPolyfill"in window||await n.e(452).then(n.t.bind(n,11452,23)),window.objectFitPolyfill(e)}(e)),()=>{o&&o(),f()}}var h;return u(e,t,r,l,d,g)}function b(e){let{image:t,loading:n="lazy",isLoading:i,isLoaded:c,imgClassName:s,imgStyle:d={},objectPosition:u,backgroundColor:g,objectFit:b="cover"}=e,m=(0,o._)(e,l);const{width:h,height:v,layout:f,images:w,placeholder:p,backgroundColor:y}=t;return d=(0,o.a)({objectFit:b,objectPosition:u,backgroundColor:g},d),(0,a.qV)(r.createElement(o.L,{layout:f,width:h,height:v},r.createElement(o.P,(0,o.a)({},(0,o.g)(p,c,f,h,v,y,b,u))),r.createElement(o.M,(0,o.a)({},m,{width:h,height:v,className:s},(0,o.b)(i,c,w,n,d)))))}},65848:function(e,t,n){var o,r;o=n(86047),r=n(67909),o.version,o.renderToString,t.qV=o.renderToStaticMarkup,r.renderToReadableStream,r.resume}}]); 2//# sourceMappingURL=932-bf682aa069d156f361f1.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.