
    W|h                     T    S SK Jr  S SKJr  S SKJr  S SKJr  \ " S S\5      5       rg)    )	dataclass)Clip)Effect)FadeInc                   6    \ rS rSr% Sr\\S'   S\S\4S jrSr	g)	CrossFadeIn   z~Makes the clip appear progressively, over ``duration`` seconds.
Only works when the clip is included in a CompositeVideoClip.
durationclipreturnc                    UR                   c  [        S5      eUR                  c  UR                  5       nUR                   UR                  l         UR                  R	                  [        U R                   5      /5      Ul        U$ )zApply the effect to the clip.zAttribute 'duration' not set)r
   
ValueErrormask	with_maskwith_effectsr   )selfr   s     V/home/james-whalen/.local/lib/python3.13/site-packages/moviepy/video/fx/CrossFadeIn.pyapplyCrossFadeIn.apply   se    == ;<<99>>#D!]]		II**F4==,A+BC	     N)
__name__
__module____qualname____firstlineno____doc__float__annotations__r   r   __static_attributes__r   r   r   r   r      s!     O$ 4 r   r   N)	dataclassesr   moviepy.Clipr   moviepy.Effectr   moviepy.video.fx.FadeInr   r   r   r   r   <module>r$      s,    !  ! * &  r   