+
    }i*                        R t ^ RIt^ RIt^ RIt^ RIHt ^ RIHt ^RI	H
t
HtHt ^RIHt R.t]P                   ! ]4      tR tRR	R
 R3R lt]P*                  ! R4      t]P*                  ! R4      tRtRt]P4                  R3R ltR# )zI
Module version for monitoring CLI pipes (`... | python -m tqdm | ...`).
N)literal_eval)indent)TqdmKeyErrorTqdmTypeErrortqdm)__version__mainc                 ,   \         P                  W34       R V9   d5   VP                  R 4       F  p \        W4      u # 	  \	        V  RV 24      hVR8X  d3   V R8X  g   V R8X  d   R# V R8X  d   R# \	        V R,           V,           4      hVR8X  dk   \        V 4      ^8X  d   V P                  4       # \        P                  ! R	V 4      '       d   \        R
V  R
24      P                  4       # \	        V  RV 24      hVR8X  d   V # VR8X  d    \        V 4      # VR8X  d    \        V 4      # \	        V  RV 24      h  \         d     EK  i ; i  \         d   p\	        T  RT 24      ThRp?ii ; i  \         d   p\	        T  RT 24      ThRp?ii ; i)z or z : boolTrue TFalseFchrz^\\\w+$"strintNfloat)logdebugsplitcastr   lenencoderematchevalr   
ValueErrorr   )valtyptexcs   &&  Z/Users/ahmad/.openclaw/workspace/my-crawler/.venv/lib/python3.14/site-packages/tqdm/cli.pyr   r      s   IIsj}6"AC|# #
 se3se,-- f}6Msby'>C%K#-..
e|s8q=::<88J$$!C5
#**,,se3se,--
e|

e|	;s8O g~	;: 3%s3%(
)); ! ,  	;3%s3% 01s:	;
  	;3%s3% 01s:	;sA   
D;
E  
E2 ;E
EE/E**E/2F=FF   \n   c                     R # N )r   s   &r!   <lambda>r'   8   s    d    Tc           	        VP                   pV'       gK    V P                  V4      pV'       g   \        VRR 4      ! 4        R# V! V4       V! \        V4      4       KJ  Rp\        V4      p	 V P                  V4      pV'       gm   V'       dP   V! V4       V'       d    V! ^VP	                  V4      ,           4       M VP                  V4       F  p
V! V
4       K  	  \        VRR 4      ! 4        R#  VP                  V4      p
V
^ 8  d   W,          pK  V! WRV
\        V4      ,            ,           4       T! V'       d   ^M
WRV
 ,           4       RpWzV	,           R pKn  )a:  
Params
------
fin  : binary file with `read(buf_size : int)` method
fout  : binary file with `write` (and optionally `flush`) methods.
callback  : function(float), e.g.: `tqdm.update`
callback_len  : If (default: True) do `callback(len(buffer))`.
  Otherwise, do `callback(data) for data in buffer.split(delim)`.
flushc                      R # r%   r&   r&   r(   r!   r'   posix_pipe.<locals>.<lambda>J   s    tr(   Nr(   c                      R # r%   r&   r&   r(   r!   r'   r,   a   s    4r(   )writereadgetattrr   countr   find)finfoutdelimbuf_sizecallbackcallback_lenfp_writetmpbuf	len_delimis   &&&&&&     r!   
posix_piper>   7   s"    zzH((8$C g|46SMSX CE
I
hhx  Q5!112 YYu-  .D'<02A1u
SCJ//0,QSr7]<C)mn%Cr(   z\n {4}(\S+)\s{2,}:\s*([^,]+)z\s*(?<!\S)--?([^\s=]+)(\s+|=|$)a  
    Extra CLI Options
    -----------------
    name  : type, optional
        TODO: find out why this is needed.
    delim  : chr, optional
        Delimiting character [default: '\n']. Use '\0' for null.
        N.B.: on Windows systems, Python converts '\n' to '\r\n'.
    buf_size  : int, optional
        String buffer size in bytes [default: 256]
        used when `delim` is specified.
    bytes  : bool, optional
        If true, will count bytes, ignore `delim`, and default
        `unit_scale` to True, `unit_divisor` to 1024, and `unit` to 'B'.
    tee  : bool, optional
        If true, passes `stdin` to both `stderr` and `stdout`.
    update  : bool, optional
        If true, will treat input as newly elapsed iterations,
        i.e. numbers to pass to `update()`. Note that this is slow
        (~2e5 it/s) since every input must be decoded as a number.
    update_to  : bool, optional
        If true, will treat input as total elapsed iterations,
        i.e. numbers to assign to `self.n`. Note that this is slow
        (~2e5 it/s) since every input must be decoded as a number.
    null  : bool, optional
        If true, will discard input (no stdout).
    manpath  : str, optional
        Directory in which to install tqdm man pages.
    comppath  : str, optional
        Directory in which to place tqdm completion.
    log  : str, optional
        CRITICAL|FATAL|ERROR|WARN(ING)|[default: 'INFO']|DEBUG|NOTSET.
c           
     r  a aaaa a! Sf   \         P                  R,          o SP                  R4      pSV^,           ,          p\        P                  ! \        \        T4      RR7       \         P                  R?8  d   \        P                  M\        \        P                  R4      \        ,           p\        \        P!                  T4      4      p\"         F  pTP%                  T4       K  	  \&        P)                  \+        TP-                  4       4      4       \        P/                  T4      p\1        TR	,          TR
,          TR,          4      p	RP3                  R T	 4       4      pRp
T
R,           TP5                  R4      ,           R,           p\6        ;QJ d    T3R lR@ 4       F  '       g   K   RM	  RM! T3R lR@ 4       4      '       dB   \         P8                  P;                  \<        R,           4       \         P>                  ! ^ 4       M\6        ;QJ d    T3R lRA 4       F  '       g   K   RM	  RM! T3R lRA 4       4      '       d>   \         P8                  P;                  TR,           4       \         P>                  ! ^ 4       MIS'       dB   S^ ,          R,          R8w  d-   \         P@                  P;                  RS^ ,           RT
 24       \B        P/                  RP3                  R.S,           4      4      o\        \1        SR	,          SR,          4      4      p\&        P)                  T4       TP%                  RR4       RS /p TP-                  4        F,  w  r}TPE                  RR4      p \G        YT,          4      Y&   K.  	  \&        P)                  R\M        T4      ,           4       TP%                  RR4      pTP%                  R R4      pTP%                  R!R4      p\O        TTT34      ^8  d   \K        R"4      h TP%                  R#R$4      pTP%                  R%R&4      pTP%                  R'R4      pTP%                  R(R4      pTP%                  R)R4      pTP%                  R*R4      '       d    ! R+ R,4      pM\         P8                  p\        TR-T4      p\        \         PP                  R-\         PP                  4      pT'       g	   T'       d\    ^ RI)o^ R/I-H.p T3R0 lpTe   T! R1T! T4      R1,          4       Te   T! R2T! T4      R3,          4       \         P>                  ! ^ 4       T'       d3   TP:                  o \        S R-S 4      P:                  o ! T TT 3R4 lR,4      pT'       d   TP_                  R5R64       TP_                  R7R4       TP_                  R8R94       \&        P)                  T4       \        RB/ TB ;_uu_ 4       o!\a        TTRTS!Pb                  4       RRR4       R# TR&8X  d   \&        P)                  T4       TP:                  pT'       g	   T'       dM   \        RB/ TB ;_uu_ 4       o!T'       d   T!3R: lpMT!3R; lpT F  pT! T4       T! T4       K  	  RRR4       R# \        T3/ TB  F  pT! T4       K  	  R# \&        P)                  T4       \        RB/ TB ;_uu_ 4       o!RpT'       d   T!3R< lpMT'       d   T!3R= lpMS!Pb                  pRp\a        TTTTTT4       RRR4       R#   \         d:    S F-  pTP	                  R4      '       g   K  T\        R4      R p  EK  	  Rp ELi ; i  \H         d   p\K        \M        T4      4      hRp?ii ; i  \T         d    ^ R.I+H,o  ELi ; i  + '       g   i     R# ; i  + '       g   i     R# ; i  + '       g   i     R# ; i  \d         dW    S P;                  R>T
,           4       \         PP                  \         P8                  P:                  upo T F  pS ! T4       K  	  h i ; i)Czo
Parameters (internal use only)
---------
fp  : file-like object for tqdm
argv  : list (default: sys.argv[1:])
N   NNz--logz--log=INFOz/%(levelname)s:%(module)s:%(lineno)d:%(message)s)levelformatz    :rA   N   :   NrE   :rE   NrE   r   c              3      "   T Fb  q^ ,          \         9  g   K  V^,          R8X  d   RMRP                  ! V^ ,          P                  RR4      V^ ,          .VR,          O5!  x  Kd  	  R# 5i)    r
   z
  --{0}  : {2}{3}z
  --{0}=<{1}>  : {2}{3}_-r@   N)UNSUPPORTED_OPTSrD   replace).0otds   & r!   	<genexpr>main.<locals>.<genexpr>   sr      M *CV;K-KA#a&F*:&,ff5V^^C-s1vA8;BA A *s   A,AA,z!Usage:
  tqdm [--help | options]
z^
Options:
  -h, --help     Print this help and exit.
  -v, --version  Print version and exit.

c              3   ,   <"   T F	  qS9   x  K  	  R # 5ir%   r&   rM   vargvs   & r!   rO   rP      s     
2191   TFc              3   ,   <"   T F	  qS9   x  K  	  R # 5ir%   r&   rS   s   & r!   rO   rP      s     1 01$Y 0rV   :NrF   Nz--zError:Unknown argument: r   r   filerJ   rI   zargs:bytesupdate	update_toz1Can only have one of --bytes --update --update_tor6   r#   r5   r"   teemanpathcomppathnullc                   0   a  ] tR t^t o ]R 4       tRtV tR# )main.<locals>.stdoutc                    R # r%   r&   )rI   s   &r!   r.   main.<locals>.stdout.write   s    r(   r&   N__name__
__module____qualname____firstlineno__staticmethodr.   __static_attributes____classdictcell__)__classdict__s   @r!   stdoutrb      s      r(   rn   buffer)	resources)Pathc                   < SP                  R4      V ,          pVP                  VP                  4       4       \        P	                  RV4       R# )zcopy resource `name` to `dst`r   z
written:%sN)fileswrite_bytes
read_bytesr   info)namedstfirp   s   && r!   cpmain.<locals>.cp  s6    __V,t30s+r(   ztqdm.1zcompletion.shztqdm_completion.shc                   <   <a  ] tR tRt o ]VVV3R l4       tRtV tR# )rb   i  c                   < \         P                  ! SR 7      ;_uu_ 4        S! V 4       RRR4       S! V 4       R#   + '       g   i     L; i))rY   N)r   external_write_mode)xfpr9   stdout_writes   &r!   r.   rd     s0    11r::  ; O ;:s	   	<A	r&   Nre   )rm   r   r9   r   s   @r!   rn   rb     s     $ $r(   unitB
unit_scaleunit_divisori   c                 X   < SP                  \        V P                  4       4      4       R # r%   r[   numericdecoder=   r   s   &r!   r7   main.<locals>.callback,  s    HHWQXXZ%89r(   c                 z   < SP                  \        V P                  4       4      SP                  ,
          4       R # r%   r[   r   r   nr   s   &r!   r7   r   /  s#    HHWQXXZ%8133%>?r(   c                 X   < SP                  \        V P                  4       4      4       R # r%   r   r   s   &r!   r7   r   <  s    !45r(   c                 z   < SP                  \        V P                  4       4      SP                  ,
          4       R # r%   r   r   s   &r!   r7   r   ?  s#    !4qss!:;r(   z
Error:
)rE      )z-vz	--version)z-hz--helpr&   )3sysrU   indexr   
startswithr   loggingbasicConfigr0   version_infor   __doc__r   CLI_EXTRA_DOCdictRE_OPTSfindallrK   popr   r   sorteditemsr   zipjoinstripanyrn   r.   r   exitstderrRE_SHLEXrL   r   KeyErrorr   r   sumstdinimportlib_resourcesImportError	importlibrp   pathlibrq   
setdefaultr>   r[   	Exception)"r   rU   log_idxlogLevelr=   d	opt_typesor   opt_types_desc
help_shortopts	tqdm_argsrT   edelim_per_charr[   r\   r6   r5   r]   r^   r_   rn   r   rq   rz   r.   r7   r8   r9   rp   r   r   s"   ff                            @@@@r!   r   r      s\    |xx|%**W% !$ggx8PR ))G3T\\6*m	<A W__Q'(I a  IIfY__&'( MM!EteDk5;?N
 M *M 	MA
 7J  	 ggdm		 		A s
21
2sss
21
222

t+,	1 011 01	1	1

T"	$q'"+%

247)2j\JK>>#((F8d?34DDJT
+,DIIdOHHUDIcSjjlFQ		#s#A+#A|4	 # 			'C	N*+"w6x/MM+u5		23a7RSS 8 ==S1gv.mmE5)--	40==T2=='' 
 ZZFVXv6F		8SYY7h07 %,
 "8T']X56#?DN5I$IJHHQK!<<Lr8R066H$ $   -  t4  6IIi "	""a5&"hA #"f_IIi LLE&I&&!:@"a  # '& e1y1A!H 2 IIi "	""a$6<  !xxH#'L5&%8\R #"e  A||H%%S]^, 
 H~  +"3q6**+B  0//0: #"" '&& #""U  

*+!ii)9)9|AO s   \ '_ =]A=_ #^ ^/^-
_$%_$]<]]]]>%]99]>>_ ^^^*	-^>	_	A!`6)iterableguioutrY   )r   r   r   r   astr   r   textwrapr   stdr   r   r   versionr   __all__	getLoggerrf   r   r   r>   compiler   r   rK   r   r   r   r&   r(   r!   <module>r      s     	 
 '  2 2  (!#*L !'*6&t **4
5::89 6  F JJT hSr(   