text: import{_ as e,h as r,a as t,b as o,L as a,P as i,g as s,M as n,c}from"./index.browser-c5d45e0e.js";import g from"react";import{render as l,hydrate as m}from"react-dom";import"common-tags";import"camelcase";import"prop-types";var d="development"===process.env.NODE_ENV;function u(u,b,p){var h=u.image,f=u.loading,v=u.isLoading,j=u.isLoaded,y=u.toggleIsLoaded,L=u.ref,C=u.imgClassName,N=u.imgStyle,E=void 0===N?{}:N,k=u.objectPosition,w=u.backgroundColor,O=u.objectFit,P=void 0===O?"cover":O,S=e(u,["image","loading","isLoading","isLoaded","toggleIsLoaded","ref","imgClassName","imgStyle","objectPosition","backgroundColor","objectFit"]),F=h.width,x=h.height,I=h.layout,_=h.images,q=h.placeholder,D=h.backgroundColor;if(!b.current)return null;var J=b.current.querySelector("[data-gatsby-image-ssr]");if(r()&&J&&!p.current)return null;var M=JSON.stringify(_),V=t(M);E=o({objectFit:P,objectPosition:k,backgroundColor:w},E);var z=g.createElement(a,{layout:I,width:F,height:x},!V&&g.createElement(i,Object.assign({},s(q,j,I,F,x,D))),g.createElement(n,Object.assign({},S,{width:F,height:x,className:C},c(v,V||j,_,f,y,M,L,E))));return(p.current||d?l:m)(z,b.current),p.current=!0,function(){b.current&&l(null,b.current)}}export{u as lazyHydrate};
  //# sourceMappingURL=lazy-hydrate-4f645114.js.map
  