1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2057],{22057:function(e,t,n){n.r(t),n.d(t,{renderImageToString:function(){return m},swapPlaceholderImage:function(){return b}});var o,r=n(15861),i=n(64687),a=n.n(i),c=n(17787),u=n(67294),l=n(97762),s=(n(92369),new WeakMap),d=navigator.connection||navigator.mozConnection||navigator.webkitConnection,g=["image","loading","isLoading","isLoaded","imgClassName","imgStyle","objectPosition","backgroundColor","objectFit"];function f(e,t){e.style.opacity="1",t&&(t.style.opacity="0")}function v(e,t,n,o,r,i){var a=e.querySelector("[data-main-image]"),c=e.querySelector("[data-placeholder-image]"),u=n.has(t);function l(e){var t=this;this.removeEventListener("load",l);var n=e.currentTarget,o=new Image;o.src=n.currentSrc,o.decode?o.decode().then((function(){f(t,c),null==r||r({wasCached:u})})).catch((function(e){f(t,c),null==i||i(e)})):(f(this,c),null==r||r({wasCached:u}))}return a.addEventListener("load",l),null==o||o({wasCached:u}),Array.from(a.parentElement.children).forEach((function(e){var 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),a.complete&&l.call(a,{currentTarget:a}),function(){a&&a.removeEventListener("load",l)}}function b(e,t,i,u,l,g,f){if(!(0,c.h)()){var b,m,h,w=(E=function(){b=v(e,t,i,l,g,f)},"IntersectionObserver"in window?(o||(o=new IntersectionObserver((function(e){e.forEach((function(e){var t;e.isIntersecting&&(null==(t=s.get(e.target))||t(),s.delete(e.target))}))}),{rootMargin:"4g"!==(null==d?void 0:d.effectiveType)||null!=d&&d.saveData?"2500px":"1250px"})),function(e){return s.set(e,E),o.observe(e),function(){o&&e&&(s.delete(e),o.unobserve(e))}}):function(){return E(),function(){}}),p=w(e);return"objectFit"in document.documentElement.style||(e.dataset.objectFit=null!=(m=u.objectFit)?m:"cover",e.dataset.objectPosition=""+(null!=(h=u.objectPosition)?h:"50% 50%"),(y=(0,r.Z)(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0="objectFitPolyfill"in window,e.t0){e.next=4;break}return e.next=4,n.e(7231).then(n.t.bind(n,27231,23));case 4:window.objectFitPolyfill(t);case 5:case"end":return e.stop()}}),e)}))),function(e){return y.apply(this,arguments)})(e)),function(){b&&b(),p()}}var y,E;return v(e,t,i,l,g,f)}function m(e){var t=e.image,n=e.loading,o=void 0===n?"lazy":n,r=e.isLoading,i=e.isLoaded,a=e.imgClassName,s=e.imgStyle,d=void 0===s?{}:s,f=e.objectPosition,v=e.backgroundColor,b=e.objectFit,m=void 0===b?"cover":b,h=(0,c._)(e,g),w=t.width,p=t.height,y=t.layout,E=t.images,L=t.placeholder,j=t.backgroundColor;return d=(0,c.a)({objectFit:m,objectPosition:f,backgroundColor:v},d),(0,l.uS)(u.createElement(c.L,{layout:y,width:w,height:p},u.createElement(c.P,(0,c.a)({},(0,c.g)(L,i,y,w,p,j,m,f))),u.createElement(c.M,(0,c.a)({},h,{width:w,height:p,className:a},(0,c.b)(r,i,E,o,d)))))}}}]); 2//# sourceMappingURL=2057-04214a317abe393b8bf8.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.