Loading
function(e,t,n){"use strict";n.d(t,{V:()=>p});var l=n(627968),i=n(64700),s=n(503698),r=n.n(s),a=n(990078),o=n(462887),u=n(109112),c=n(661531),d=n(736653),m=n(375708),h=n(458372);function p(e){let{src:t,size:n,constrain:s="height",className:p,alt:f,fallbackSrc:g,"aria-hidden":E,showTooltip:A=!1}=e,C=(0,d.Ay)(),x=`${n}px`,[I,_]=i.useState(!1),[S,y]=i.useState(!1),v=null==g||S;if(null==t||I&&v)return(0,l.jsx)(u._,{size:"custom",width:"100%",height:"100%",color:(0,o.M)(C)?c.A.colors.WHITE:c.A.colors.BLACK,style:{maxWidth:x},className:r()(h.f,p)});let T="height"===s?{maxWidth:x,height:x}:{maxWidth:x,minHeight:x};return(0,l.jsx)(a.m,{"aria-label":f,__unsupportedReactNodeAsText:f,shouldShow:A,children:(0,l.jsx)("img",{style:T,className:r()(h.f,p),src:I&&null!=g?g:t,"aria-hidden":E,alt:f??(E?void 0:m.intl.string(m.t["2B/phM"])),onError:e=>I?y(!0):_(!0)})},"content-image")}}