o
    {ôjÈ  ã                   @   s   d d„ Z dS )c              
      sf   ˆ j jrˆ  ¡  ‡ ‡fdd„|D ƒ}zˆ j  |¡ W |D ]}ˆ j  |¡ qdS |D ]}ˆ j  |¡ q)w )a�  
    Run *figure*'s event loop while listening to interactive events.

    The events listed in *event_names* are passed to *handler*.

    This function is used to implement `.Figure.waitforbuttonpress`,
    `.Figure.ginput`, and `.Axes.clabel`.

    Parameters
    ----------
    figure : `~matplotlib.figure.Figure`
    event_names : list of str
        The names of the events passed to *handler*.
    timeout : float
        If positive, the event loop is stopped after *timeout* seconds.
    handler : Callable[[Event], Any]
        Function called for each event; it can force an early exit of the event
        loop by calling ``canvas.stop_event_loop()``.
    c                    s   g | ]	}ˆ j  |ˆ¡‘qS © )ÚcanvasÚmpl_connect)Ú.0Úname©ÚfigureÚhandlerr   úk/var/www/html/academy/tools/voices/clone/sv-venv/lib/python3.10/site-packages/matplotlib/_blocking_input.pyÚ
<listcomp>   s    z'blocking_input_loop.<locals>.<listcomp>N)r   ÚmanagerÚshowÚstart_event_loopÚmpl_disconnect)r   Zevent_namesÚtimeoutr   ÚcidsÚcidr   r   r	   Úblocking_input_loop   s   ÿÿr   N)r   r   r   r   r	   Ú<module>   s    