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