+
    i3<  c                   s0    ^ RI t R.tRtRt ! R R4      tR# )    NCmdz(Cmd) Z?ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_c                   s   a  ] tR t^7t o ]t]tRtRt	Rt
RtRtRtRtRt^tRR ltRR	 ltR
 tR tR tR tR tR tR tR tR tR tR tR tR tR t R t!RR lt"Rt#V t$R# )r   Z= Nz(Documented commands (type help <topic>):zMiscellaneous help topics:zUndocumented commands:z*** No help on %sc                s    Ve   W n         M\        P                   V n         Ve   W0n        M\        P                  V n        . V n        Wn        R # N)stdinsysstdoutcmdqueuecompletekey)selfr   r   r   s   &&&&/usr/lib64/python3.14/cmd.py__init__ZCmd.__init__O   s=     JDJ K**DK&    c                s*   V P                  4        V P                  '       d   V P                  '       d    ^ RIpVP	                  4       V n        VP                  V P                  4       VP                  R8X  d&   V P                  R8X  d   RpM RV P                   R2pMV P                   R2pVP                  V4        Ve   Wn        V P                  '       d6   V P                  P                  \        V P                  4      R,           4       RpV'       Eg   V P                  '       d   V P                  P!                  ^ 4      pMV P                  '       d    \#        V P$                  4      pM~V P                  P                  V P$                  4       V P                  P)                  4        V P*                  P                  4       p\-        V4      '       g   R	pMVP/                  R
4      pV P1                  V4      pV P3                  V4      pV P5                  WE4      pEK  V P7                  4        V P                  '       d7   V P                  '       d#    ^ RIpVP                  V P
                  4       R# R# R#   \         d     ELi ; i  \&         d    R	p Li ; i  \         d     R# i ; i  T P                  '       dF   T P                  '       d3    ^ RIpTP                  T P
                  4       i   \         d     i i ; ii i ; i)r    NZeditlinetabzbind ^I rl_completezbind z rl_completez
: complete
EOFz
)preloopuse_rawinputr   readlineZget_completerold_completerZset_completercompleteZbackendZparse_and_bindZImportErrorintror   writestrr   ZpopZinputpromptZEOFErrorZflushr   lenZrstripprecmdonecmdpostcmdpostloop)r	   r   r   Zcommand_stringstopline   &&    r
   cmdloopZCmd.cmdloope   st    	!1!1!1%-%;%;%="&&t}}5##z1''50)>+01A1A0B,)O(,(8(8'9%DN''7!	 "
zzz!!#djj/$"67Dd=====,,Q/D((()#(#5D ))$++6))+#zz224"4yy#(D#';;v#6D{{4({{4(||D/MMO   T%5%5%5#**4+=+=> &6 =    ( )#(D)& # 	    T%5%5%5#**4+=+=>" 	 &6 s   B
J J9 ?J9 J9 /-J9 J 3CJ9 J' JJJ$!J9 #J$$J9 'J65J69$LK?>L?L
LLLc                    V# r    r	   r      &&r
   r   Z
Cmd.precmd   s	    
 r   c                r"   r   r#   )r	   r   r   s   &&&r
   r   ZCmd.postcmd   s    r   c                    R # r   r#   r	      &r
   r   ZCmd.preloop   s    r   c                r&   r   r#   r'   r(   r
   r   ZCmd.postloop   s    
 	r   c                s   VP                  4       pV'       g   R R V3# V^ ,          R8X  d   RVR,          ,           pM6V^ ,          R8X  d)   \        V R4      '       d   RVR,          ,           pMR R V3# ^ \        V4      r2W#8  d#   W,          V P                  9   d   V^,           pK(  VR V WR  P                  4       rTWEV3# )NZ?zhelp :i   NNZ!Zdo_shellzshell )ZstripZhasattrr   
identchars)r	   r   iZncmdargr    r
   	parselineZCmd.parseline   s    
 zz|t##!W^T"X%D!W^tZ(($r(*T4''#d)1e4??2!A8T"X^^-S~r   c                s>   V P                  V4      w  r#pV'       g   V P                  4       # Vf   V P                  V4      # Wn        VR8X  d   RV n        VR8X  d   V P                  V4      # \	        V RV,           R 4      pVf   V P                  V4      # V! V4      # )Nr   r   do_)r-   	emptylinedefaultlastcmdgetattr)r	   r   r+   r,   funcs   &&   r
   r   Z
Cmd.onecmd   s     -$>>##;<<%%5=DL"9<<%%4d3D|||D))9r   c                s`    V P                   '       d   V P                  V P                   4      # R # r   )r1   r   r'   r(   r
   r/   ZCmd.emptyline   s%     <<<;;t||,, r   c                sJ    V P                   P                  R V,          4       R# )z*** Unknown syntax: %s
N)r   r   r$   r%   r
   r0   ZCmd.default   s     	4T9:r   c                s    . # r   r#   )r	   ignoreds   &*r
   completedefaultZCmd.completedefault   s	     	r   c                s    R V,           pV P                  4        Uu. uF$  qDP                  V4      '       g   K  VR,          NK&  	  up# u upi )r.      NN)	get_names
startswith)r	   textr4   Zdotextas   &&*  r
   completenamesZCmd.completenames  s=    t#~~/H/!<<3G"/HHHs
   A	A	c                s.   V^ 8X  d   ^ RI pVP                  4       pVP                  4       p\        V4      \        V4      ,
          pVP	                  4       V,
          pVP                  4       V,
          pV^ 8  d?   V P                  V4      w  rpV	'       g   V P                  pM! \        V RV	,           4      pMV P                  pV! WWx4      V n         V P                  V,          #   \         d    T P                  p L;i ; i  \         d     R# i ; i)r    NZ	complete_)r   Zget_line_bufferZlstripr   Z
get_begidxZ
get_endidxr-   r5   r2   AttributeErrorr<   completion_matchesZ
IndexError)r	   r:   Zstater   Zorigliner   ZstrippedZbegidxZendidxr+   argsZfooZcompfuncs   &&&          r
   r   ZCmd.complete  s     A://1H??$D8}s4y0H((*X5F((*X5Fax!%!53#33H8#*4s1B#C  --&.t6&JD#	**511 * 8#'#7#78  		s$   &C( D (DDDDc                s,    \        V P                  4      # r   )ZdirZ	__class__r'   r(   r
   r8   ZCmd.get_names#  s     4>>""r   c                s   a \        V P                  ! S!  4      p\        V3R  lV P                  4        4       4      p\        W#,          4      # )c              3   s   <"   T F5  pVP                  R S^ ,          ,           4      '       g   K*  VR,          x  K7  	  R# 5i)help_   NNN)r9   )Z.0r;   r?   s   & r
   Z	<genexpr>Z$Cmd.complete_help.<locals>.<genexpr>*  s5      9$4qWtAw%67 QrUU$4s
   'A A )setr<   r8   list)r	   r?   Zcommandstopicss   &j  r
   complete_helpZCmd.complete_help(  sC    t))401 9DNN$4 9 9H%&&r   c                s   V'       d    \        V R V,           4      pT! 4        R# V P                  4       p. p. p\        4       pV F+  p	V	R,          R 8X  g   K  VP                  V	R,          4       K-  	  VP                  4        Rp
V F  p	V	R,          R8X  g   K  W8X  d   K  T	p
V	R	,          pW9   d%   VP                  V4       VP                  V4       KP  \        W	4      P                  '       d   VP                  V4       K~  VP                  V4       K  	  V P
                  P                  R\        V P                  4      ,          4       V P!                  V P"                  V^^P4       V P!                  V P$                  \'        V4      ^^P4       V P!                  V P(                  V^^P4       R#   \         d    ^ RIHp  \        T RT,           4      P                  pT! T4      pT'       d/   T P
                  P                  R\        T4      ,          4        R# M  \         d     Mi ; iT P
                  P                  R\        T P                  T3,          4      ,          4        R# i ; i)
r@   )cleandocr.   %s
N:NrB   NrA   r   :Nr7   Nr6   )r2   r=   ZinspectrG   Z__doc__r   r   r   nohelpr8   rC   ZaddZsortappendZremove
doc_leaderprint_topics
doc_headermisc_headerZsortedundoc_header)r	   r,   r3   rG   ZdocZnamesZcmds_docZ
cmds_undocrE   ZnameZprevnamer+   s   &&          r
   do_helpZCmd.do_help.  s   tWs]3 FNN$EHJUF8w&JJtBx(  JJLH8u$' #HRC} ,c* ,444 ,"))#.  KKfS%99:dooRCd..2Fd//RCS " ,eck2::C"3-C))&S/:  & !!&T[[C6-A)B"BCs7   F6 6I6AH$#I6$H2/I61H22A I65I6c           	     s   V'       d   V P                   P                  R \        V4      ,          4       V P                  '       dF   V P                   P                  R \        V P                  \	        V4      ,          4      ,          4       V P                  W$^,
          4       V P                   P                  R4       R# R# )rH   r   N)r   r   r   rulerr   	columnize)r	   ZheaderZcmdsZcmdlenZmaxcols   &&&&&r
   rL   ZCmd.print_topics_  sy    KKfS[01zzz!!&TZZ#f+-E)F"FGNN4*KKd# r   c           	     sD   V'       g   V P                   P                  R 4       R# \        \        V4      4       Uu. uF#  p\	        W,          \
        4      '       d   K!  VNK%  	  ppV'       d0   \        RRP                  \        \
        V4      4      ,          4      h\        V4      pV^8X  d5   V P                   P                  R\        V^ ,          4      ,          4       R# \        ^\        V4      4       F  pWV,           ^,
          V,          p. pRp	\        V4       Fs  p
^ p\        V4       F7  pWV
,          ,           pW58  d    M!W,          p\        V\        V4      4      pK9  	  VP                  V4       W^,           ,          p	W8  g   Ks   M	  W8:  g   K   M	  \        V4      p^p^ .p\        V4       F  p. p\        V4       F4  p
WV
,          ,           pW58  d   RpMW,          pVP                  V4       K6  	  V'       d   VR,          '       g   VR K  \        \        V4      4       F"  p
W,          P                  W,          4      W&   K$  	  V P                   P                  R\        RP                  V4      4      ,          4       K  	  R# u upi )	z<empty>
Nz list[i] not a string for i in %sz, rH   r   z  ii)r   r   Zranger   Z
isinstancer   Z	TypeErrorZjoinZmapZmaxrJ   Zljust)r	   rD   Zdisplaywidthr*   Z
nonstringsZsizeZnrowsZncolsZ	colwidthsZtotwidthZcolZcolwidthZrowZxZtextss   &&&            r
   rR   ZCmd.columnizeg  s    KKk*!&s4y!1 9!1A)$'37 a!1
 9>"iiC(<=> ? ?4y19KKfSa\121c$i(EZ\e+EIHU| <CCiAyA"8SV4H (   *qL(* $ '# )& IEEI<CEU|)O9AAQ $ b		"ISZ("Z--in=
 )KKfS5)9%::;  A9s   JJ)r   r   r>   r   r1   r   r   r   )r   NNr   )iP   )%Z__name__Z
__module__Z__qualname__Z__firstlineno__PROMPTr   
IDENTCHARSr)   rQ   r1   r   rK   rM   rN   rO   rI   r   r   r!   r   r   r   r   r-   r   r/   r0   r5   r<   r   r8   rF   rP   rL   rR   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r
   r   r   7   s      FJEGEJ;J.K+L FL',9x(4-;I<#
'/Db$7< 7<r   )r   Z__all__rS   rT   r   r#   r   r
   <module>rU      s*   Z '	

g< g<r   