Loading
function(e,t,n){n.d(t,{A:()=>p,h:()=>_});var a=n(627968),r=n(64700),l=n(503698),i=n.n(l),s=n(353795),o=n(312640),c=n(208756),d=n(798618),u=n(916845),m=n(627330),h=n(824078);function p(e){let{title:t,body:n,badge:l,graphic:p,size:_="md",actions:g,textLink:f,gradientColor:E,onRequestClose:x,popoverRef:v,position:b,caretConfig:I,scrollBehavior:S,...C}=e,k=r.useCallback((e,t)=>{x?.(t)},[x]),y=r.useCallback(()=>{x?.("user:explicit")},[x]),A={targetElementRef:C.targetElementRef,shouldShow:C.shouldShow,hasVideo:C.hasVideo,position:b,caretConfig:I,onRequestClose:k,gradientColor:E,scrollBehavior:S,..."edge"===C.alignmentStrategy?{alignmentStrategy:"edge",align:C.align}:{alignmentStrategy:"trigger-center"}};return(0,a.jsx)(o.x,{...A,children:(0,a.jsxs)("div",{ref:v,"data-mana-component":"popover",children:[(0,a.jsx)(u.q,{onClick:y,variant:null!=E?"color-mix":void 0}),null!=p&&(0,a.jsx)("div",{className:i()(h.graphic,{[h[`graphic--${_}`]]:null!=_}),children:(0,a.jsx)(s.v,{...p,aspectRatio:p.aspectRatio??("sm"===_?"2/1":"16/9")})}),(0,a.jsx)(m.D,{title:t,body:n,badge:l,textLink:f}),null!=g&&g.length>0?(0,a.jsx)(c.Z,{actions:g}):null,(0,a.jsx)(d.F,{})]})})}let _=21552==n.j?p:null}