File: //home/arjun/.local/lib/python3.10/site-packages/tqdm/__pycache__/notebook.cpython-310.pyc
o
���g�* � @ s� d Z ddlZddlZddlmZ ddlmZ ddlmZ dZ
zddlZdZ
W n? eyf d Z
ddl
Z
e
�� �$ e
jd
dd� zddlm mZ W n eyT Y nw W d � n1 s_w Y Y nw z-e
d kr�dd
lmZ ddlmZ ddlmZ dZ
ndd
lmZ ddlmZ ddlmZ W n/ ey� zdd
lmZ ddlmZ ddlmZ dZ
W n ey� dZ
dZeZY nw Y nw zddlmZ W n ey� Y nw dg d�iZg d�ZdZG dd� de�ZG dd� de �Zdd� Z eZe Z!dS )z�
IPython/Jupyter Notebook progressbar decorator for iterators.
Includes a default `range` iterator printing to `stderr`.
Usage:
>>> from tqdm.notebook import trange, tqdm
>>> for i in trange(10):
... ...
� N)�escape)�proxy� )�tqdmT� � �ignorez2.*The `IPython.html` package has been deprecated.*)�message)�HTML)�
FloatProgress)�HBox� )�ContainerWidget)�FloatProgressWidget� )�displayzgithub.com/)�lrq3000� casperdcl�alexanderkuk)�
tqdm_notebook�tnranger �trangez|IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.htmlc s4 e Zd ZdZd
dd�Zd� fdd� Zdd � Z� ZS )�TqdmHBoxz.`ipywidgets.HBox` with a pretty representationNc C s4 t | dd �}|d u ri S |j}|d ur| |d<