§
    7?Äj³  ã                   óV   — d dl mZ d dlmZ d dlmZ e G d„ de¦  «        ¦   «         ZdS )é    )Ú	dataclass)ÚClip)ÚEffectc                   ó@   — e Zd ZU dZdZeed<   dZeed<   dedefd„Z	dS )ÚMultiplySpeeda   Returns a clip playing the current clip but at a speed multiplied by ``factor``.

    Instead of factor one can indicate the desired ``final_duration`` of the clip, and
    the factor will be automatically computed. The same effect is applied to the clip's
    audio and mask if any.
    NÚfactorÚfinal_durationÚclipÚreturnc                 óÔ   ‡ — ‰ j         rd|j        z  ‰ j         z  ‰ _        |                     ˆ fd„ddg¬¦  «        }|j        �%|                     d|j        z  ‰ j        z  ¦  «        }|S )zApply the effect to the clip.g      ð?c                 ó   •— ‰j         | z  S )N)r   )ÚtÚselfs    €úOC:\Projects\Historical\venv\Lib\site-packages\moviepy/video/fx/MultiplySpeed.pyú<lambda>z%MultiplySpeed.apply.<locals>.<lambda>   s   ø€ �d”k A‘o€ ó    ÚmaskÚaudio)Úapply_to)r	   Údurationr   Útime_transformÚwith_duration)r   r
   Únew_clips   `  r   ÚapplyzMultiplySpeed.apply   s‚   ø€ àÔð 	DØ ¤Ñ-°Ô0CÑCˆDŒKà×&Ò&Ø%Ð%Ð%Ð%°¸Ð0Að 'ñ 
ô 
ˆð Œ=Ð$Ø×-Ò-¨c°D´MÑ.AÀDÄKÑ.OÑPÔPˆHàˆr   )
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   ÚfloatÚ__annotations__r	   r   r   © r   r   r   r      sd   € € € € € € ðð ð €FˆEÐÐÑØ €N�EÐ Ð Ñ ð˜$ð  4ð ð ð ð ð ð r   r   N)Údataclassesr   Úmoviepy.Clipr   Úmoviepy.Effectr   r   r!   r   r   ú<module>r%      s{   ðØ !Ð !Ð !Ð !Ð !Ð !à Ð Ð Ð Ð Ð Ø !Ð !Ð !Ð !Ð !Ð !ð ðð ð ð ð �Fñ ô ñ „ðð ð r   