Loading
function(e,t,l){l.d(t,{A:()=>_});var i=l(627968),r=l(64700),s=l(503698),a=l.n(s),n=l(524007),o=l(844222),d=l(594639),c=l(105596),u=l(359778),m=l(544888);let h={HoverLightmode:{posy:"number",posx:"number"},BaseGlow:{},ButtonFillLightmode:{},HoverDarkmode:{posy:"number",posx:"number"},BaseGlowRemapped:{},ButtonFillDarkmode:{}},C={},_=e=>{let{children:t,id:l,tabIndex:s,className:_,cardClassName:p,cardStyle:g=C,cardType:E,artboard:x="BaseGlowRemapped",fit:f="layout",glowing:A=!1,glowAmount:R=8,blurAmount:N=30,hueRotate:I=0,isReducedMotion:S,onMouseEnter:j,onFocus:v}=e,P=r.useRef(null),D=r.useRef(null),{status:T,buffer:O}=(0,c.CE)(A?n.A:null),y=r.useContext(o.C),b=S??y.reducedMotion.enabled,L={"--custom-glow-amount":`${R}px`,"--custom-blur-amount":`${N}px`,"--custom-hue-rotate":`${I}deg`,"--custom-glow-opacity":+(0!==R)};return(0,i.jsxs)("div",{id:l,ref:P,tabIndex:s,className:a()(m.k,_),style:L,onMouseEnter:j,onFocus:v,children:[A&&T!==c.BW.Loading&&(0,i.jsx)(d.w,{buffer:O,artboard:x,artboardProperties:h,eventTargetRef:P,className:m.Q,ref:D,fit:f,withReducedMotion:b?"halt":"play"}),(0,i.jsx)(u.Z,{type:E??u.s.CUSTOM,className:p,style:g,children:t})]})}}