import{s as r,$ as c,r as m,j as n,aq as p}from"./index-BwsrXI9O.js";import{R as g,P as x}from"./Particles-BlxXqWnI.js";const B="/assets/balloon-0.Czj7AKwE.png",d="/assets/balloon-1.CNvFFrND.png",f="/assets/balloon-2.DTvC6B1t.png",_="/assets/balloon-3.CgSk4tbL.png",A="/assets/balloon-4.mbtFrzxf.png",E="/assets/balloon-5.CSwkUfRA.png",t=300,a=121,l=20,I=80,M=1e3,b=c`
  from {
    transform: translateY(calc(100vh + ${t}px));
  }

  to {
    transform: translateY(0);
  }
`,u=r("img",{target:"earwcwy0"})(({theme:o})=>({position:"fixed",top:`${-t}px`,marginLeft:`${-a/2}px`,zIndex:o.zIndices.balloons,left:`${Math.random()*(I-l)+l}vw`,animationDelay:`${Math.random()*M}ms`,height:`${t}px`,width:`${a}px`,pointerEvents:"none",animationDuration:"750ms",animationName:b,animationTimingFunction:"ease-in",animationDirection:"normal",animationIterationCount:1,opacity:1}),""),N=30,e=[B,d,f,_,A,E],O=e.length,S=({particleType:o,resourceCrossOriginMode:i})=>{const s=e[o];return n.jsx(u,{src:s,crossOrigin:p(i,s)})},L=({scriptRunId:o})=>n.jsx(g,{children:n.jsx(x,{className:"stBalloons","data-testid":"stBalloons",scriptRunId:o,numParticleTypes:O,numParticles:N,ParticleComponent:S})}),C=m.memo(L);export{N as NUM_BALLOONS,C as default};
