+
    IV-j�  ã                   ó´   € R t ^ RIHt ^ RIHtHtHtHtHtH	t	H
t
 ^RIHt ^RIHt RR./t. ROt ! R R	]4      t ! R
 R]4      t ! R R]4      tR t]t]tR# )z~
`rich.progress` decorator for iterators.

Usage:
>>> from tqdm.rich import trange, tqdm
>>> for i in trange(10):
...     ...
)Úwarn)Ú	BarColumnÚProgressÚProgressColumnÚTextÚTimeElapsedColumnÚTimeRemainingColumnÚfilesize)ÚTqdmExperimentalWarning)Útqdmzgithub.com/Ú	casperdclÚ	tqdm_richc                   ó@   a a€ ] tR t^t oRtRV 3R lltR tRtVtV ;t	# )ÚFractionColumnz*Renders completed/total, e.g. '0.5/2.3 G'.c                ó<   <€ Wn         W n        \        SV `  4        R # ©N)Ú
unit_scaleÚunit_divisorÚsuperÚ__init__)Úselfr   r   Ú	__class__s   &&&€ÚZ/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/tqdm/rich.pyr   ÚFractionColumn.__init__   s   ø€ Ø$ŒØ(ÔÜ‰ÑÖó    c                ój  € \        VP                  4      p\        VP                  4      pV P                  '       d(   \        P
                  ! V. ROV P                  4      w  rEM\        P
                  ! VR.^4      w  rEV^8X  d   ^ M^p\        W$,          RV R2 RW4,          RV R2 RV 2RR7      # )	z.Calculate common unit for completed and total.Ú ú,.ÚfÚ/Ú zprogress.download©Ústyle©	r   ÚKÚMÚGÚTÚPÚEÚZÚY)ÚintÚ	completedÚtotalr   r	   Úpick_unit_and_suffixr   r   )r   Útaskr-   r.   ÚunitÚsuffixÚ	precisions   &&     r   ÚrenderÚFractionColumn.render   s®   € ä˜Ÿ™Ó'ˆ	Ü�D—J‘J“ˆØ�?�?ˆ?Ü#×8Ò8ØÚ<Ø×!Ñ!ó‰LˆD�&ô $×8Ò8¸ÀÀÀaÓH‰LˆDØ œ‘A¨ˆ	ÜØ�~˜b  ¨1˜_Ð-¨Q¨u­z¸"¸Y¸KÀq¸Ð.IÈÈ6È(ÐSØ%ô'ð 	'r   )r   r   )Féè  ©
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r4   Ú__static_attributes__Ú__classdictcell__Ú__classcell__©r   Ú__classdict__s   @@r   r   r      s   ù‡ € Ù4÷÷
'ò 'r   r   c                   ó@   a a€ ] tR t^.t oRtRV 3R lltR tRtVtV ;t	# )Ú
RateColumnz&Renders human readable transfer speed.c                óH   <€ Wn         W n        W0n        \        SV `  4        R # r   )r1   r   r   r   r   )r   r1   r   r   r   s   &&&&€r   r   ÚRateColumn.__init__0   s   ø€ ØŒ	Ø$ŒØ(ÔÜ‰ÑÖr   c                ój  € VP                   pVf   \        RV P                   R2RR7      # V P                  '       d(   \        P
                  ! V. R	OV P                  4      w  r4M\        P
                  ! VR.^4      w  r4V^8X  d   ^ M^p\        W#,          RV R2 RV V P                   R2RR7      # )
zShow data transfer speed.z? z/szprogress.data.speedr!   r   r   r   r    r#   )Úspeedr   r1   r   r	   r/   r   )r   r0   rG   r1   r2   r3   s   &&    r   r4   ÚRateColumn.render6   s²   € à—
‘
ˆØŠ=Ü˜"˜TŸY™Y˜K rÐ*Ð2GÔHÐHØ�?�?ˆ?Ü#×8Ò8ØÚ<Ø×!Ñ!ó‰LˆD�&ô $×8Ò8¸ÀÀÀaÓH‰LˆDØ œ‘A¨ˆ	Ü�u•z " Y K¨q Ð1°°6°(¸4¿9¹9¸+ÀRÐHØ/ô1ð 	1r   )r1   r   r   )r   Fr6   r7   r@   s   @@r   rC   rC   .   s   ù‡ € Ù0÷÷1ò 1r   rC   c                   ó^   a a€ ] tR t^Ht oRtV 3R ltV 3R ltR tR tRV 3R llt	Rt
VtV ;t# )	r   z/Experimental rich.progress GUI version of tqdm!c                ó   <€ VP                  4       pRVR&   \        VP                  RR4      4      VR&   VP                  RR4      pVP                  R/ 4      P                  4       p\        SV `  ! V/ VB  V P                  '       d   R# \        R\        ^R	7       V P                  pVfa   R
\        RR7      \        VR,          VR,          R7      R\        4       R\        4       R\        VR,          VR,          VR,          R7      R3
pVP                  RV P                   '       * 4       \#        V/ VB V n        V P$                  P'                  4        V P$                  P(                  ! V P*                  ;'       g    R3/ VB V n        R# )a  
This class accepts the following parameters *in addition* to
the parameters accepted by `tqdm`.

Parameters
----------
progress  : tuple, optional
    arguments for `rich.progress.Progress()`.
options  : dict, optional
    keyword arguments for `rich.progress.Progress()`.
TÚguiÚdisableFÚprogressNÚoptionszrich is experimental/alpha)Ú
stacklevelzU[progress.description]{task.description}[progress.percentage]{task.percentage:>4.0f}%)Ú	bar_widthr   r   )r   r   Ú[Ú<Ú,r1   )r1   r   r   Ú]Ú	transientr   )ÚcopyÚboolÚgetÚpopr   r   rL   r   r
   Úformat_dictr   r   r   r   rC   Ú
setdefaultÚleaver   Ú_progÚ	__enter__Úadd_taskÚdescÚ_task_id)r   ÚargsÚkwargsrM   rN   Údr   s   &*,   €r   r   Útqdm_rich.__init__K   sV  ø€ ð —‘“ˆØˆˆu‰ä  §¡¨I°uÓ!=Ó>ˆˆyÑØ—:‘:˜j¨$Ó/ˆØ—*‘*˜Y¨Ó+×0Ñ0Ó2ˆÜ‰Ò˜$Ð) &Ò)à�<�<ˆ<ÙäÐ)Ô+BÈqÕQØ×ÑˆØÒð@ä DÔ)ÜØ  �¸Q¸~Õ=NôPàÔ&Ó(¨#Ô/BÓ/DØ”Z Q v¥Y¸1¸\½?Ø-.¨~Õ->ô@ØADð	ˆHð 	×Ñ˜;¨D¯J©J¬Ô7Ü˜xÐ3¨7Ñ3ˆŒ
Ø�
‰
×ÑÔØŸ
™
×+Ò+¨D¯I©I¯O¨O¸ÑA¸qÑAˆŽr   c                ó¦   <€ V P                   '       d   R # V P                  4        \        SV `  4        V P                  P                  R R R 4       R # r   )rL   Údisplayr   Úcloser]   Ú__exit__)r   r   s   &€r   rh   Útqdm_rich.closet   s7   ø€ Ø�<�<ˆ<ÙØ�‰ŒÜ‰‰ŒØ�
‰
×Ñ˜D $¨Ö-r   c                ó   € R # r   © ©r   Ú_Ú__s   &*,r   ÚclearÚtqdm_rich.clear{   s   € Ùr   c                ó¦   € \        V R 4      '       g   R# V P                  P                  V P                  V P                  V P
                  R7       R# )r]   N)r-   Údescription)Úhasattrr]   Úupdatera   Únr`   rm   s   &*,r   rg   Útqdm_rich.display~   s7   € Ü�t˜W×%Ò%ÙØ�
‰
×Ñ˜$Ÿ-™-°4·6±6ÀtÇyÁyÐÖQr   c                ó„   <€ \        V R4      '       d   V P                  P                  VR7       \        SV `	  VR7       R# )z€
Resets to 0 iterations for repeated use.

Parameters
----------
total  : int or float, optional. Total to use for the new bar.
r]   )r.   N)rt   r]   Úresetr   )r   r.   r   s   &&€r   ry   Útqdm_rich.resetƒ   s5   ø€ ô �4˜×!Ò!Ø�J‰J×Ñ 5ÐÔ)Ü‰‰˜EˆÖ"r   )r]   ra   r   )r8   r9   r:   r;   r<   r   rh   rp   rg   ry   r=   r>   r?   r@   s   @@r   r   r   H   s)   ù‡ € Ù9õ'BõR.òòR÷

#÷ 
#r   c                 ó(   € \        \        V !  3/ VB # )z6Shortcut for `tqdm.rich.tqdm(range(*args), **kwargs)`.)r   Úrange)rb   rc   s   *,r   Útrranger}   �   s   € ä”U˜D‘\Ñ, VÑ,Ð,r   N)r   r}   r   Útrange)r<   Úwarningsr   Úrich.progressr   r   r   r   r   r   r	   Ústdr
   r   Ústd_tqdmÚ
__author__Ú__all__r   rC   r   r}   r~   rl   r   r   Ú<module>r…      sr   ðñõ ÷a÷ añ aõ )Ý !à˜k˜]Ð+€
Ú
4€ô'�^ô 'ô21�ô 1ô4E#�ô E#òP-ð €Ø	‚r   