Module 872725

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