Build 555975stable
Module 234914
668 characters · in 6d03f96c2e3ecdcd.js, f70820e95ffc6eb2.jsDependencies
Source Raw
function(e,t,n){n.d(t,{A:()=>I});var l=n(627968),r=n(64700),E=n(503698),a=n.n(E),i=n(289873),_=n(446539);function s(e){let{alt:t,...n}=e,[E,a]=r.useState(!0);return(0,l.jsxs)(l.Fragment,{children:[E&&(0,l.jsx)(i.y,{type:i.y.Type.LOW_MOTION,className:_.wG}),(0,l.jsx)("img",{...n,alt:t,onLoad:()=>a(!1)})]})}function I(e){let{src:t,backgroundSrc:n,alt:r,aspectRatio:E,className:i,imageChildClassName:I,...o}=e;return(0,l.jsxs)("div",{className:a()(_.kL,i),children:[(0,l.jsx)("img",{src:n,alt:r,className:_.iL}),(0,l.jsx)("div",{className:_.CC}),(0,l.jsx)("div",{style:{aspectRatio:E},className:_.ZS,children:(0,l.jsx)(s,{src:t,alt:r,className:a()(_.Sl,I),...o})})]})}}