Ë
    êÿæiÍ  ã                   ó0   — d dl Z d dlmZ d„ Zedd„«       Zy)é    N)Úcontextmanagerc                 óŒ   — d| z  }|dkD  r	d|dz  z  }nd|z  }d|›d|›�}dt        |«      z
  t        |«      z
  }|›|dz  ›|›�S )	zûCreate one line message for logging purposes.

    Parameters
    ----------
    source : str
        String indicating the source or the reference of the message.

    message : str
        Short message.

    time : int
        Time in seconds.
    z[%s] é<   z%4.1fminz %5.1fsÚ z, total=éF   Ú.)Úlen)ÚsourceÚmessageÚtimeÚstart_messageÚtime_strÚend_messageÚdots_lens          úr/Volumes/fast/ai/experiments/voice-extract-mac/.venv/lib/python3.12/site-packages/sklearn/utils/_user_interface.pyÚ_message_with_timer      sd   € ð ˜fÑ$€Mð ˆb‚yØ ¨¡Ñ+‰à˜tÑ#ˆøÚ%,©hÐ7€KØ”C˜Ó&Ñ&¬¨[Ó)9Ñ9€HÙ$ h°¢n±kÐBÐBó    c              #   ó    K  — |€d–— yt        j                  «       }d–— t        t        | |t        j                  «       |z
  «      «       y­w)aj  Log elapsed time to stdout when the context is exited.

    Parameters
    ----------
    source : str
        String indicating the source or the reference of the message.

    message : str, default=None
        Short message. If None, nothing will be printed.

    Returns
    -------
    context_manager
        Prints elapsed time upon exit if verbose.
    N)ÚtimeitÚdefault_timerÚprintr   )r
   r   Ústarts      r   Ú_print_elapsed_timer   #   sA   è ø€ ð" €Üä×$Ñ$Ó&ˆÛÜÔ  ¨´&×2FÑ2FÓ2HÈ5Ñ2PÓQÕRùs   ‚AA)N)r   Ú
contextlibr   r   r   © r   r   Ú<module>r      s)   ðó Ý %òCð6 òSó ñSr   