-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path81-321ec1e6e6909ebe87df.js
2 lines (2 loc) · 1.26 KB
/
81-321ec1e6e6909ebe87df.js
1
2
(self.webpackChunkgatsby_starter_blog=self.webpackChunkgatsby_starter_blog||[]).push([[81],{5081:function(e,t,r){"use strict";r.r(t),r.d(t,{lazyHydrate:function(){return n}});var a=r(410),o=r(7294),i=r(3935);r(4041),r(1224);function n(e,t,r){var n=e.image,c=e.loading,s=e.isLoading,g=e.isLoaded,l=e.toggleIsLoaded,u=e.ref,d=e.imgClassName,b=e.imgStyle,h=void 0===b?{}:b,m=e.objectPosition,y=e.backgroundColor,f=e.objectFit,j=void 0===f?"cover":f,k=(0,a._)(e,["image","loading","isLoading","isLoaded","toggleIsLoaded","ref","imgClassName","imgStyle","objectPosition","backgroundColor","objectFit"]),v=n.width,C=n.height,L=n.layout,w=n.images,_=n.placeholder,p=n.backgroundColor;if(!t.current)return null;var N=t.current.querySelector("[data-gatsby-image-ssr]");if((0,a.h)()&&N&&!r.current)return null;var P=JSON.stringify(w),S=(0,a.a)(P);h=(0,a.b)({objectFit:j,objectPosition:m,backgroundColor:y},h);var E=o.createElement(a.L,{layout:L,width:v,height:C},!S&&o.createElement(a.P,Object.assign({},(0,a.g)(_,g,L,v,C,p))),o.createElement(a.M,Object.assign({},k,{width:v,height:C,className:d},(0,a.c)(s,S||g,w,c,l,P,u,h))));return(r.current?i.render:i.hydrate)(E,t.current),r.current=!0,function(){t.current&&(0,i.render)(null,t.current)}}}}]);
//# sourceMappingURL=81-321ec1e6e6909ebe87df.js.map