1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[7896],{87896:function(e,t,n){n.d(t,{renderImageToString:function(){return b},swapPlaceholderImage:function(){return g}});var o=n(78078),i=n(96540),a=n(65848);n(45147);let r;const c=new WeakMap,l=navigator.connection||navigator.mozConnection||navigator.webkitConnection,s=["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,i,a){const r=e.querySelector("[data-main-image]"),c=e.querySelector("[data-placeholder-image]"),l=n.has(t);function s(e){this.removeEventListener("load",s);const t=e.currentTarget,n=new Image;n.src=t.currentSrc,n.decode?n.decode().then(()=>{d(this,c),null==i||i({wasCached:l})}).catch(e=>{d(this,c),null==a||a(e)}):(d(this,c),null==i||i({wasCached:l}))}return r.addEventListener("load",s),null==o||o({wasCached:l}),Array.from(r.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),r.complete&&s.call(r,{currentTarget:r}),()=>{r&&r.removeEventListener("load",s)}}function g(e,t,i,a,s,d,g){if(!(0,o.h)()){let o;const v=(h=()=>{o=u(e,t,i,s,d,g)},"IntersectionObserver"in window?(r||(r=new IntersectionObserver(e=>{e.forEach(e=>{var t;e.isIntersecting&&(null==(t=c.get(e.target))||t(),c.delete(e.target))})},{rootMargin:"4g"!==(null==l?void 0:l.effectiveType)||null!=l&&l.saveData?"2500px":"1250px"})),function(e){return c.set(e,h),r.observe(e),function(){r&&e&&(c.delete(e),r.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(1452).then(n.t.bind(n,11452,23)),window.objectFitPolyfill(e)}(e)),()=>{o&&o(),f()}}var h;return u(e,t,i,s,d,g)}function b(e){let t=e.image,n=e.loading,r=void 0===n?"lazy":n,c=e.isLoading,l=e.isLoaded,d=e.imgClassName,u=e.imgStyle,g=void 0===u?{}:u,b=e.objectPosition,m=e.backgroundColor,h=e.objectFit,v=void 0===h?"cover":h,f=(0,o._)(e,s);const w=t.width,y=t.height,E=t.layout,L=t.images,j=t.placeholder,p=t.backgroundColor;return g=(0,o.a)({objectFit:v,objectPosition:b,backgroundColor:m},g),(0,a.renderToStaticMarkup)(i.createElement(o.L,{layout:E,width:w,height:y},i.createElement(o.P,(0,o.a)({},(0,o.g)(j,l,E,w,y,p,v,b))),i.createElement(o.M,(0,o.a)({},f,{width:w,height:y,className:d},(0,o.b)(c,l,L,r,g)))))}}}]); 2//# sourceMappingURL=7896-b1c3ac50c5cc8319d114.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.