+
    IV-jÞ%  ã                   ó  € R t ^ RIt^ RIt^ RIt^ RIHtHtHt ^ RIH	t	 ^ RI
Ht ^ RIHt ^ RIHt ]]]]3w  tttt]P.                  t];QJ d    R R$ 4       F  '       g   K   RM	  R	M! R R$ 4       4      t];QJ d    R
 R% 4       F  '       g   K   RM	  R	M! R
 R% 4       4      t]P8                  ! R4      t ]'       d   ^ RItM]h  ]P@                  ! R	R7       R&R lt" ^ RI"H"t"  ! R R4      t$ ! R R4      t% ! R R4      t& ! R R]&4      t' ! R R]&4      t( ! R R]&4      t)R t*R t+R t,R t-R t.R  t/R! t0R" t1R# t2R#   ]! d    ]P@                  ! 4         L‚i ; i  ] d    Rt L‘i ; i  ]# d     L’i ; i)'z*
General helpers required for `tqdm.std`.
N)ÚpartialÚpartialmethodÚwraps)Ú	signature©Úeast_asian_width)Úwarn©Úproxyc              #   óL   "  € T F  p\         P                  V4      x € K  	  R # 5i©N©ÚCUR_OSÚ
startswith©Ú.0Úis   & Ú[/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/tqdm/utils.pyÚ	<genexpr>r      s    é € Ð?Ñ+> aŒV×Ñ˜q×!Ð!Ó+>ùó   ‚"$TFc              #   óL   "  € T F  p\         P                  V4      x € K  	  R # 5ir   r   r   s   & r   r   r      s    é € ÐQÑ+P aŒV×Ñ˜q×!Ð!Ó+Pùr   z\x1b\[[;\d]*[A-Za-z])Ústripc                óŽ  aaaaa	€ Sf   / oV R,          R8X  d   V RR p \        R\        ^R7       V'       d	   W  RV 23MV 3p/ oV F]  o	S	P                  4       R,           o	\        S	4      oSP	                  VV	3R l\
        P                  P                  4        4       4       K_  	  V'       d   \        M\        oVVV3R lpV# )zt
Basic (env-only) version of [envwrap](https://github.com/tqdm/envwrap).
Install `envwrap` for config file support.
NÚ_z*Trailing underscore in `name` is automatic©Ú
stacklevelc              3   ó„   <"  € T F5  w  rVP                  S4      '       g   K  VSR  P                  4       V3x € K7  	  R # 5ir   )r   Úlower)r   ÚkÚvr   Úprefixs   &  €€r   r   Úenvwrap.<locals>.<genexpr>1   s7   øé € ð WÙ+=¡4 1ÀÇÁÈf×AUÔˆQˆqˆrˆU�[‰[‹]˜AÕÓ+=ùs
   ƒA £A c                 óP  <€ \        V 4      P                  pSP                  4        UUu/ uF  w  r#W!9   g   K  W#bK  	  pppV F­  pW,          pVP                  VP                  Jd>   \        VP                  R VP                  34       F  p V! WB,          4      WB&    K^  	  Kb  VP                  e&   \        VP                  4      ! WB,          4      WB&   K•   S	V,          ! WB,          4      WB&   K¯  	  S! V 3/ VB # u uppi   \         d     K‡  i ; i  \         d     Kà  i ; i)Ú__args__)
r   Ú
parametersÚitemsÚ
annotationÚemptyÚgetattrÚ	ExceptionÚdefaultÚtypeÚKeyError)
ÚfuncÚparamsr   r   Ú	overridesÚparamÚtypÚenv_overridesÚpartÚtypess
   &      €€€r   ÚwrapÚenvwrap.<locals>.wrap5   s  ø€ Ü˜4“×+Ñ+ˆà&3×&9Ñ&9Ô&;ÔKÑ&;™d˜a¸q¹{”T�Q’TÑ&;ˆ	ÑKãˆAØ•IˆEØ×Ñ u§{¡{Ó2Ü" 5×#3Ñ#3°ZÀ%×BRÑBRÐATÖU�CðÙ'*¨9­<Ó'8˜	™ò ó Vð —‘Ò*Ü# E§M¡MÔ2°9µ<Ó@�	“ðØ#(¨¦8¨I­LÓ#9�I“Lñ ñ" �DÑ&˜IÑ&Ð&ùó' Løô %ô Úðûô  ô Úðús.   ª
C>¹C>ÂDÃDÄDÄDÄD%Ä$D%éÿÿÿÿ)
r   ÚDeprecationWarningÚupperÚlenÚupdateÚosÚenvironr%   r   r   )
ÚnameÚappr4   Ú	is_methodÚprefixesr5   r2   r   r3   r    s
   &&f&  @@@@r   ÚenvwraprB   "   s¶   ü€ ð
 ‚}ØˆØˆB…x�3„Ø�C�RˆyˆÜÐ9Ô;MÐZ[Õ\ß*-�˜˜a ˜u�oÑ&°D°7€HØ€MÛˆØ—‘“ #Õ%ˆÜ�‹KˆØ×Ñõ WÜ+-¯:©:×+;Ñ+;Ô+=óWö 	Wñ ÷
 &�=¬7€D÷'ð. €Kó    )rB   c                   ó4   a € ] tR t^Ut o RtRR ltR tRtV tR# )ÚFormatReplacez>
>>> a = FormatReplace('something')
>>> f"{a:5d}"
'something'
c                ó    € Wn         ^ V n        R# )é    N)ÚreplaceÚformat_called)ÚselfrH   s   &&r   Ú__init__ÚFormatReplace.__init__[   s   € ØŒØˆÖrC   c                óL   € V ;P                   ^,          un         V P                  # )é   ©rI   rH   )rJ   r   s   &&r   Ú
__format__ÚFormatReplace.__format___   s   € Ø×Ò˜aÕÕØ�|‰|ÐrC   rO   N)Ú )	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__rK   rP   Ú__static_attributes__Ú__classdictcell__©Ú__classdict__s   @r   rE   rE   U   s   ø‡ € ñô
÷ð rC   rE   c                   óH   a € ] tR t^dt o RtR tR tR tR tR t	R t
RtV tR	# )
Ú
Comparablez1Assumes child has self._comparable attr/@propertyc                ó4   € V P                   VP                   8  # r   ©Ú_comparable©rJ   Úothers   &&r   Ú__lt__ÚComparable.__lt__f   s   € Ø×Ñ %×"3Ñ"3Ñ3Ð3rC   c                ó"   € W8  ;'       g    W8H  # r   © ra   s   &&r   Ú__le__ÚComparable.__le__i   s   € Ø‘×0Ð0 $¡-Ð0rC   c                ó4   € V P                   VP                   8H  # r   r_   ra   s   &&r   Ú__eq__ÚComparable.__eq__l   s   € Ø×Ñ 5×#4Ñ#4Ñ4Ð4rC   c                ó   € W8X  * # r   rf   ra   s   &&r   Ú__ne__ÚComparable.__ne__o   ó   € ØÒ Ð rC   c                ó   € W8:  * # r   rf   ra   s   &&r   Ú__gt__ÚComparable.__gt__r   ro   rC   c                ó   € W8  * # r   rf   ra   s   &&r   Ú__ge__ÚComparable.__ge__u   s   € ØÒÐrC   rf   N)rS   rT   rU   rV   rW   rc   rg   rj   rm   rq   rt   rX   rY   rZ   s   @r   r]   r]   d   s+   ø‡ € Ù;ò4ò1ò5ò!ò!÷ ð  rC   r]   c                   ó>   a € ] tR t^yt o R tR tR tR tR tRt	V t
R# )ÚObjectWrapperc                ó.   € \        V P                  V4      # r   )r(   Ú_wrapped©rJ   r>   s   &&r   Ú__getattr__ÚObjectWrapper.__getattr__z   s   € Ü�t—}‘} dÓ+Ð+rC   c                ó.   € \        V P                  W4      # r   )Úsetattrry   ©rJ   r>   Úvalues   &&&r   Ú__setattr__ÚObjectWrapper.__setattr__}   s   € Ü�t—}‘} dÓ2Ð2rC   c                óf   €  \         P                  W4      #   \         d    \        Y4      u # i ; i)z7Actual `self.getattr` rather than self._wrapped.getattr)Úobjectr{   ÚAttributeErrorr(   rz   s   &&r   Úwrapper_getattrÚObjectWrapper.wrapper_getattr€   s2   € ð	'Ü×%Ñ% dÓ1Ð1øÜô 	'Ü˜4Ó&Ò&ð	'ús   ‚ —0¯0c                ó.   € \         P                  WV4      # )z7Actual `self.setattr` rather than self._wrapped.setattr)r„   r�   r   s   &&&r   Úwrapper_setattrÚObjectWrapper.wrapper_setattr‡   s   € ä×!Ñ! $¨eÓ4Ð4rC   c                ó*   € V P                  RV4       R# )z$
Thin wrapper around a given object
ry   N)r‰   )rJ   Úwrappeds   &&r   rK   ÚObjectWrapper.__init__‹   s   € ð 	×Ñ˜Z¨Ö1rC   rf   N)rS   rT   rU   rV   r{   r�   r†   r‰   rK   rX   rY   rZ   s   @r   rw   rw   y   s#   ø‡ € ò,ò3ò'ò5÷2ð 2rC   rw   c                   óB   a a€ ] tR t^’t oRtV 3R ltR tR tRtVt	V ;t
# )ÚSimpleTextIOWrapperz�
Change only `.write()` of the wrapped object by encoding the passed
value and passing the result to the wrapped object's `.write()` method.
c                óJ   <€ \         SV `  V4       V P                  R V4       R# )ÚencodingN)ÚsuperrK   r‰   )rJ   rŒ   r‘   Ú	__class__s   &&&€r   rK   ÚSimpleTextIOWrapper.__init__˜   s    ø€ Ü‰Ñ˜Ô!Ø×Ñ˜Z¨Ö2rC   c                ót   € V P                   P                  VP                  V P                  R4      4      4      # )z@
Encode `s` and pass to the wrapped object's `.write()` method.
r‘   )ry   ÚwriteÚencoder†   )rJ   Úss   &&r   r–   ÚSimpleTextIOWrapper.writeœ   s-   € ð �}‰}×"Ñ" 1§8¡8¨D×,@Ñ,@ÀÓ,LÓ#MÓNÐNrC   c                ó6   € V P                   \        VR V4      8H  # ©ry   ©ry   r(   ra   s   &&r   rj   ÚSimpleTextIOWrapper.__eq__¢   ó   € Ø�}‰}¤¨¨z¸5Ó AÑAÐArC   rf   )rS   rT   rU   rV   rW   rK   r–   rj   rX   rY   Ú__classcell__©r“   r[   s   @@r   r�   r�   ’   s!   ù‡ € ñõ
3òO÷Bò BrC   r�   c                   óL   a a€ ] tR t^¦t oRt]R 4       tV 3R ltR tRt	Vt
V ;t# )ÚDisableOnWriteErrorzG
Disable the given `tqdm_instance` upon `write()` or `flush()` errors.
c                ó.   a a€ \        S 4      o VV 3R lpV# )zF
Quietly set `tqdm_instance.miniters=inf` if `func` raises `errno=5`.
c                  óR  <€  S! V / VB #   \          dE   pTP                  ^8w  d   h  \        R4      Sn         Rp?R#   \         d	      Rp?R# i ; iRp?i\
         dD   pR\        T4      9  d   h  \        R4      Sn         Rp?R#   \         d	      Rp?R# i ; iRp?ii ; i)é   ÚinfNÚclosed)ÚOSErrorÚerrnoÚfloatÚminitersÚReferenceErrorÚ
ValueErrorÚstr)ÚargsÚkwargsÚer-   Útqdm_instances   *, €€r   ÚinnerÚ7DisableOnWriteError.disable_on_exception.<locals>.inner±   s˜   ø€ ðÙ˜TÐ, VÑ,Ð,øÜô Ø—7‘7˜a”<ØðÜ-2°5«\�M×*Ò*øÜ%ô Þðþäô Ø¤3 q£6Ô)ØðÜ-2°5«\�M×*Ò*øÜ%ô Þðþðús_   ƒ ‹B&–A©?¿AÁ
AÁAÁAÁB&Á"B&Á#B!Á5BÂBÂB!ÂBÂB!Â!B&r	   )r²   r-   r³   s   ff r   Údisable_on_exceptionÚ(DisableOnWriteError.disable_on_exceptionª   s   ù€ ô
 ˜mÓ,ˆö	ð" ˆrC   c                ó  <€ \         SV `  V4       \        VR 4      '       d,   V P                  R V P	                  W!P
                  4      4       \        VR4      '       d.   V P                  RV P	                  W!P                  4      4       R# R# )r–   ÚflushN)r’   rK   Úhasattrr‰   rµ   r–   r¸   )rJ   rŒ   r²   r“   s   &&&€r   rK   ÚDisableOnWriteError.__init__Ä   su   ø€ Ü‰Ñ˜Ô!Ü�7˜G×$Ò$Ø× Ñ Ø˜×2Ñ2°=Ç-Á-ÓPôRä�7˜G×$Ò$Ø× Ñ Ø˜×2Ñ2°=Ç-Á-ÓPöRñ %rC   c                ó6   € V P                   \        VR V4      8H  # r›   rœ   ra   s   &&r   rj   ÚDisableOnWriteError.__eq__Í   rž   rC   rf   )rS   rT   rU   rV   rW   Ústaticmethodrµ   rK   rj   rX   rY   rŸ   r    s   @@r   r¢   r¢   ¦   s0   ù‡ € ñð ñó ðõ2R÷Bò BrC   r¢   c                   ó6   a a€ ] tR t^Ñt oRV 3R lltRtVtV ;t# )ÚCallbackIOWrapperc                ó  <aa€ \         SV `  V4       \        W#4      oVR8X  d*   \        S4      VV3R l4       pV P	                  RV4       R# VR8X  d*   \        S4      VV3R l4       pV P	                  RV4       R# \        R4      h)zc
Wrap a given `file`-like object's `read()` or `write()` to report
lengths to the given `callback`
r–   c                 óB   <€ S! V .VO5/ VB pS! \        V 4      4       V# r   ©r:   )Údatar¯   r°   ÚresÚcallbackr-   s   &*, €€r   r–   Ú)CallbackIOWrapper.__init__.<locals>.writeÚ   s(   ø€ á˜4Ð1 $Ò1¨&Ñ1�Ùœ˜T›Ô#Ø�
rC   Úreadc                  ó:   <€ S! V / VB pS! \        V4      4       V# r   rÂ   )r¯   r°   rÃ   rÅ   r-   s   *, €€r   rÇ   Ú(CallbackIOWrapper.__init__.<locals>.readá   s#   ø€ á˜TÐ, VÑ,�Ùœ˜T›Ô#Ø�rC   z Can only wrap read/write methodsN)r’   rK   r(   r   r‰   r,   )rJ   rÅ   ÚstreamÚmethodr–   rÇ   r-   r“   s   &f&&  @€r   rK   ÚCallbackIOWrapper.__init__Ò   sˆ   ú€ ô
 	‰Ñ˜Ô Ü�vÓ&ˆØ�WÔÜ�4‹[õó ðð × Ñ  ¨%Ö0Ø�vÔÜ�4‹[õó ðð × Ñ  ¨Ö.äÐ=Ó>Ð>rC   rf   )rÇ   )rS   rT   rU   rV   rK   rX   rY   rŸ   r    s   @@r   r¿   r¿   Ñ   s   ù‡ € ÷?÷ ?rC   r¿   c                 óæ   €  R P                  V 4       R#   \         d     R# \         dD     T P                  4       P	                  R4      ;'       g    RT 8H  u #   \         d      R# i ; ii ; i)u   â–ˆâ–‰TFzutf-ÚU8)r—   ÚUnicodeEncodeErrorr)   r   r   )r‘   s   &r   Ú_is_utfrÐ   ë   sr   € ð
Ø×Ñ˜hÔ'ñ øô ô ÚÜô ð	Ø—>‘>Ó#×.Ñ.¨vÓ6×LÐL¸4À8Ñ;KÒLøÜô 	Ûð	úðús<   ‚ •A0£A0¬A0®%AÁAÁA0ÁA,Á'A0Á+A,Á,A0c                 óR   €  \        V P                  4      #   \         d     R # i ; i)F)rÐ   r‘   r…   )Úfps   &r   Ú_supports_unicoderÓ   ù   s(   € ðÜ�r—{‘{Ó#Ð#øÜô Úðús   ‚ —&¥&c                 ó€   € \        V \        4      '       d   V  F  p\        V4      ^ÿ8”  g   K   R# 	  R# \        V 4      # )éÿ   FT)Ú
isinstancer®   ÚordrÓ   )r˜   Úcs   & r   Ú	_is_asciirÙ      s7   € Ü�!”S×ÒÛˆAÜ�1‹v˜Ž|Úñ ñ Ü˜QÓÐrC   c                 ó    a€ ^ RI Ho V3R lp V # )zm
Return a function which returns console dimensions (width, height).
Supported: linux, osx, windows, cygwin.
)Úget_terminal_sizec                 ó†   <€  S! \        V R R 4      ! 4       4      w  rV^,
          V^,
          3#   \         d    Ru # i ; i)Úfilenoc                  ó   € R # r   rf   rf   rC   r   Ú<lambda>Ú6_screen_shape_wrapper.<locals>.inner.<locals>.<lambda>  s   € É$rC   )NN)r(   r)   )rÒ   ÚcolsÚlinesrÛ   s   &  €r   r³   Ú$_screen_shape_wrapper.<locals>.inner  sH   ø€ ð	Ù+¬G°B¸Á,Ô,OÓ,QÓR‰KˆDØ˜!•8˜U Q�YÐ&Ð&øÜô 	ØÒð	ús   ƒ,0 °A ¿A )r<   rÛ   )r³   rÛ   s    @r   Ú_screen_shape_wrapperrä   	  s   ø€ õ
 %õð €LrC   c                 ó|   a€ \        R\        ^R7       \        4       oS'       g   R# \        S4      V3R l4       p V # )zX
Return a function which returns console width.
Supported: linux, osx, windows, cygwin.
zQUse `_screen_shape_wrapper()(file)[0]` instead of `_environ_cols_wrapper()(file)`r   Nc                 ó"   <€ S! V 4      ^ ,          # )rG   rf   )rÒ   Úshapes   &€r   r³   Ú$_environ_cols_wrapper.<locals>.inner%  s   ø€ á�R‹y˜�|ÐrC   )r   r8   rä   r   )r³   rç   s    @r   Ú_environ_cols_wrapperré     sC   ø€ ô
 	ð 
,Ü-?ÈAõOä!Ó#€EßÙä
ˆ5ƒ\ôó ðð €LrC   c                  óD   € \         P                  R 8X  d   \        f   R# R# )ÚntrR   z[A)r<   r>   Úcoloramarf   rC   r   Ú_term_move_uprí   ,  s   € Ü—'‘'˜T”/¬Ò(8ˆ2ÐG¸xÐGrC   c                 ó8   € \        R  \        V 4       4       4      # )c              3   óJ   "  € T F  p\        V4      R 9   d   ^M^x € K  	  R# 5i)ÚFWNr   )r   Úchs   & r   r   Ú_text_width.<locals>.<genexpr>1  s"   é € ÐIÁ&¸BÔ$ RÓ(¨DÔ0‰q°aÔ7Ã&ùs   ‚!#)Úsumr®   )r˜   s   &r   Ú_text_widthrô   0  s   € ÜÑIÄ#ÀaÄ&ÓIÓIÐIrC   c                ó@   € \        \        P                  RV 4      4      # )zd
Returns the real on-screen length of a string which may contain
ANSI control codes and wide chars.
rR   )rô   ÚRE_ANSIÚsub)rÃ   s   &r   Údisp_lenrø   4  s   € ô
 ”w—{‘{ 2 tÓ,Ó-Ð-rC   c                óH  € \        V 4      \        V 4      8X  d   V RV # \        \        P	                  V 4      4      p\        V 4      V8”  d   V RR p K  V'       dG   \        \        P	                  V 4      4      '       d#   V P                  R4      '       d   V # V R,           # V # )z:
Trim a string which may contain ANSI control characters.
Nz[0mr7   )r:   rø   Úboolrö   ÚsearchÚendswith)rÃ   ÚlengthÚansi_presents   && r   Ú	disp_trimrÿ   <  sƒ   € ô ˆ4ƒy”H˜T“NÔ"Ø�G�Vˆ}ÐäœŸ™ tÓ,Ó-€LÜ
�4‹.˜6Ô
!Ø�C�RˆyŠßœœWŸ^™^¨DÓ1×2Ò2à—}‘} Y×/Ò/ˆtÐE°T¸IÕ5EÐEØ€KrC   )Úwin32Úcygwin)ÚaixÚlinuxÚdarwinÚfreebsd)rR   NF)3rW   r<   ÚreÚsysÚ	functoolsr   r   r   Úinspectr   Úunicodedatar   Úwarningsr   Úweakrefr
   ÚrangeÚchrr®   Ú_rangeÚ_unichÚ_unicodeÚ_basestringÚplatformr   ÚanyÚIS_WINÚIS_NIXÚcompilerö   rì   ÚImportErrorÚinitÚ	TypeErrorrB   ÚModuleNotFoundErrorrE   r]   rw   r�   r¢   r¿   rÐ   rÓ   rÙ   rä   ré   rí   rô   rø   rÿ   rf   rC   r   Ú<module>r     s…  ðñó 
Û 	Û 
ß 3Ñ 3Ý å (Ý Ý à(-¨s°C¸Ð(<Ñ %€ˆ�˜+Ø	�‰€ß	Ñ?Ñ+>Ó?��ŠÑ?Ñ+>Ó?Ó	?€ß	ÑQÑ+PÓQ��ŠÑQÑ+PÓQÓ	Q€Ø
�*Š*Ð,Ó
-€ðßÜàÐð 	ðØ�Š˜EÕ"ô
*ðZ	Ý÷
ñ ÷ ñ  ÷*2ñ 2ô2B˜-ô Bô((B˜-ô (BôV?˜ô ?ò4òò òò"ò$HòJò.ôøð} ô Ø�ŠŽðûð ô Ø‚Hðûðp ô 	Ùð	ús<   Â;E% ÃE% ÃE Ã%E4 ÅE"Å!E"Å%	E1Å0E1Å4E>Å=E>