
    g                     H    d dl mZ d dlmZ d dlmZ e G d de             Zy)    )	dataclass)Clip)Effectc                        e Zd ZdZdedefdZy)
TimeMirrorz
    Returns a clip that plays the current clip backwards.
    The clip must have its ``duration`` attribute set.
    The same effect is applied to the clip's audio and mask if any.
    clipreturnc                 @    |j                   t        d      |ddd   S )zApply the effect to the clip.NzAttribute 'duration' not set)duration
ValueError)selfr   s     d/var/www/it7/html/youtubeDownloader/venv/lib/python3.12/site-packages/moviepy/video/fx/TimeMirror.pyapplyzTimeMirror.apply   s&    == ;<<DbDz    N)__name__
__module____qualname____doc__r   r    r   r   r   r      s    $ 4 r   r   N)dataclassesr   moviepy.Clipr   moviepy.Effectr   r   r   r   r   <module>r      s)    !  !   r   