1"use strict";(self.webpackChunkgoodnessme_app=self.webpackChunkgoodnessme_app||[]).push([[8223],{8223:function(e,t,n){n.r(t),n.d(t,{renderImageToString:function(){return v},swapPlaceholderImage:function(){return m}});var o,r=n(15861),i=n(64687),a=n.n(i),c=n(93723),s=n(67294),u=n(22404),l=(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 b(e,t,n,o,r,i){var a=e.querySelector("[data-main-image]"),c=e.querySelector("[data-placeholder-image]"),s=n.has(t);function u(e){var t=this;this.removeEventListener("load",u);var n=e.currentTarget,o=new Image;o.src=n.currentSrc,o.decode?o.decode().then((function(){f(t,c),null==r||r({wasCached:s})})).catch((function(e){f(t,c),null==i||i(e)})):(f(this,c),null==r||r({wasCached:s}))}return a.addEventListener("load",u),null==o||o({wasCached:s}),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&&u.call(a,{currentTarget:a}),function(){a&&a.removeEventListener("load",u)}}function m(e,t,i,s,u,g,f){if(!(0,c.h)()){var m,v,h,p=(j=function(){m=b(e,t,i,u,g,f)},"IntersectionObserver"in window?(o||(o=new IntersectionObserver((function(e){e.forEach((function(e){var t;e.isIntersecting&&(null==(t=l.get(e.target))||t(),l.delete(e.target))}))}),{rootMargin:"4g"!==(null==d?void 0:d.effectiveType)||null!=d&&d.saveData?"2500px":"1250px"})),function(e){return l.set(e,j),o.observe(e),function(){o&&e&&(l.delete(e),o.unobserve(e))}}):function(){return j(),function(){}}),w=p(e);return"objectFit"in document.documentElement.style||(e.dataset.objectFit=null!=(v=s.objectFit)?v:"cover",e.dataset.objectPosition=""+(null!=(h=s.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(7932).then(n.t.bind(n,7932,23));case 4:window.objectFitPolyfill(t);case 5:case"end":return e.stop()}}),e)}))),function(e){return y.apply(this,arguments)})(e)),function(){m&&m(),w()}}var y,j;return b(e,t,i,u,g,f)}function v(e){var t=e.image,n=e.loading,o=void 0===n?"lazy":n,r=e.isLoading,i=e.isLoaded,a=e.imgClassName,l=e.imgStyle,d=void 0===l?{}:l,f=e.objectPosition,b=e.backgroundColor,m=e.objectFit,v=void 0===m?"cover":m,h=(0,c._)(e,g),p=t.width,w=t.height,y=t.layout,j=t.images,C=t.placeholder,k=t.backgroundColor;return d=(0,c.a)({objectFit:v,objectPosition:f,backgroundColor:b},d),(0,u.uS)(s.createElement(c.L,{layout:y,width:p,height:w},s.createElement(c.P,(0,c.a)({},(0,c.g)(C,i,y,p,w,k,v,f))),s.createElement(c.M,(0,c.a)({},h,{width:p,height:w,className:a},(0,c.b)(r,i,j,o,d)))))}}}]); 2//# sourceMappingURL=8223-e7f7a9fa5f7b06f9560a.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.