+
    i1  c                  s   ^ RI Ht ^ RIt^ RI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 R ltR R l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  R!]4      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. R/]4      t ! R0 R1]
4      t ! R2 R3]
4      t ! R4 R5]
4      t ! R6 R7]
4      t  ! R8 R9]
4      t! ! R: R;]
4      t" ! R< R=]
4      t# ! R> R?]
4      t$ ! R@ RA]
4      t% ! RB RC]
4      t& ! RD RE]4      t' ! RF RG]4      t( ! RH RI]4      t) ! RJ RK]4      t* ! RL RM]4      t+ ! RN RO]4      t, ! RP RQ]4      t- ! RR RS]4      t. ! RT RU]4      t/ ! RV RW]4      t0 ! RX RY]4      t1 ! RZ R[]4      t2R# )\    )annotationsN)tracec                  sL    ] tR t^*t$ RtR]R&   RtR]R&   R R ltR R	 ltR
t	R# )CommandFboolfinishTkills_digit_argc               s(    V ^8  d   QhRRRRRRRR/# )	   readerHistoricalReader
event_nameZstreventz	list[str]returnNone Zformat   ")/usr/lib64/python3.14/_pyrepl/commands.py__annotate__Command.__annotate__.   s,     	% 	%&	%47	%@I	%		%    c                	s*    Wn         W0n        W n        R # N)r   r   r
   )selfr   r
   r   s   &&&&r   __init__ZCommand.__init__.   s     
$r   c                   V ^8  d   QhRR/# r   r   r   r   r   r   r   r   r   9         D r   c                	    R # r   r   r      &r   doZ
Command.do9       r   )r   r
   r   N)
__name__
__module____qualname____firstlineno__r   Z__annotations__r   r   r   __static_attributes__r   r   r   r   r   *   s%    FD OT 	% r   r   c                  s"    ] tR t^=tR R ltRtR# )KillCommandc               s$    V ^8  d   QhRRRRRR/# )r   startintendr   r   r   r   r   r   r   ZKillCommand.__annotate__>   s!       # $ r   c                	s   W8X  d   R # V P                   pVP                  pWAV pWAV1 \        VP                  4      '       d`   WP                  8  d(   WSP
                  R,          ,           VP
                  R&   MCVP
                  R,          V,           VP
                  R&   MVP
                  P                  V4       Wn        RVn        R # )NT)r   bufferis_killlast_commandpos	kill_ringZappenddirty)r   r&   r(   rbtexts   &&&   r   
kill_rangeZKillCommand.kill_range>   s    <KKHHs|CiL1>>""uu}"&R"8B"#++b/D"8BKKt$r   r   N)r    r!   r"   r#   r3   r$   r   r   r   r%   r%   =   s     r   r%   c                  s    ] tR t^PtRtR# )YankCommandr   Nr    r!   r"   r#   r$   r   r   r   r4   r4   P       r   r4   c                  s    ] tR t^TtRtR# )MotionCommandr   Nr5   r   r   r   r7   r7   T   r6   r   r7   c                  s    ] tR t^XtRtR# )EditCommandr   Nr5   r   r   r   r8   r8   X   r6   r   r8   c                  s    ] tR t^\tRtRtR# )FinishCommandTr   N)r    r!   r"   r#   r   r$   r   r   r   r9   r9   \   s
    Fr   r9   c                    V ^8  d   QhRRRR/# r   commandztype[Command] | Noner   r   r   r   r   r   r   r   a        D D) Dd Dr   c                :    V R J;'       d    \        V \        4      # r   )
issubclassr%   r<   r   r   r+   r+   a       $CC:g{#CCr   c               r:   r;   r   r   r   r   r   r   e   r=   r   c                r>   r   )r?   r4   r@   r   r   is_yankrB   e   rA   r   c                  s&    ] tR t^ltRtR R ltRtR# )	digit_argFc               r   r   r   r   r   r   r   Zdigit_arg.__annotate__o   s      D r   c                	s   V P                   pV P                  R,          pVR8X  d*   VP                  e   VP                  ) Vn        MxRVn        Mp\        V4      pVP                  f   W1n        MPVP                  ^ 8  d!   ^
VP                  ,          V,
          Vn        M^
VP                  ,          V,           Vn        RVn        R# )   Z-NTr)   )r   r   Zargr'   r/   )r   r0   cZd   &   r   r   Zdigit_arg.doo   s    KKJJrN8uu AAuu}5519JNAEJNAEr   r   N)r    r!   r"   r#   r   r   r$   r   r   r   rC   rC   l   s    O r   rC   c                  s"    ] tR t^tR R ltRtR# )clear_screenc               r   r   r   r   r   r   r   Zclear_screen.__annotate__   s      D r   c                	s`    V P                   pVP                  P                  4        R Vn        R# TN)r   consoleZclearr/   r   r0      & r   r   Zclear_screen.do   s     KK			r   r   Nr    r!   r"   r#   r   r$   r   r   r   rG   rG      s     r   rG   c                  s"    ] tR t^tR R ltRtR# )refreshc               r   r   r   r   r   r   r   Zrefresh.__annotate__   s     ! !D !r   c                	s(    R V P                   n        R# rH   )r   r/   r   r   r   r   Z
refresh.do   s     r   r   NrL   r   r   r   rM   rM      s    ! !r   rM   c                  s"    ] tR t^tR R ltRtR# )repaintc               r   r   r   r   r   r   r   Zrepaint.__annotate__   s     & &D &r   c                	sp    R V P                   n        V P                   P                  P                  4        R# rH   )r   r/   rI   rN   r   r   r   r   Z
repaint.do   s$     ##%r   r   NrL   r   r   r   rN   rN      s    & &r   rN   c                  s"    ] tR t^tR R ltRtR# )	kill_linec               r   r   r   r   r   r   r   Zkill_line.__annotate__   s     	, 	,D 	,r   c                	s0   V P                   pVP                  pVP                  4       pW!P                  V  F8  pVP	                  4       '       d   K  V P                  VP                  V4        R # 	  V P                  VP                  V^,           4       R # r   )r   r*   eolr-   isspacer3   )r   r0   r1   rP   rE      &    r   r   Zkill_line.do   si    KKHHeeg553A99;;s+  
 OOAEE37+r   r   NrL   r   r   r   rO   rO      s    	, 	,r   rO   c                  s"    ] tR t^tR R ltRtR# )unix_line_discardc               r   r   r   r   r   r   r   Zunix_line_discard.__annotate__   s     ( (D (r   c                	sr    V P                   pV P                  VP                  4       VP                  4       R # r   )r   r3   bolr-   rJ   rK   r   r   Zunix_line_discard.do   s#    KK'r   r   NrL   r   r   r   rS   rS      s    ( (r   rS   c                  s"    ] tR t^tR R ltRtR# )unix_word_ruboutc               r   r   r   r   r   r   r   Zunix_word_rubout.__annotate__        , ,D ,r   c                	    V P                   p\        VP                  4       4       F-  pV P                  VP	                  4       VP
                  4       K/  	  R # r   r   rangeget_argr3   bowr-   r   r0   i   &  r   r   Zunix_word_rubout.do   8    KKqyy{#AOOAEEGQUU+ $r   r   NrL   r   r   r   rU   rU          , ,r   rU   c                  s"    ] tR t^tR R ltRtR# )	kill_wordc               r   r   r   r   r   r   r   Zkill_word.__annotate__   rV   r   c                	s    V P                   p\        VP                  4       4       F-  pV P                  VP                  VP                  4       4       K/  	  R # r   )r   rY   rZ   r3   r-   eowr\   r^   r   r   Zkill_word.do   s8    KKqyy{#AOOAEE1557+ $r   r   NrL   r   r   r   ra   ra      r`   r   ra   c                  s"    ] tR t^tR R ltRtR# )backward_kill_wordc               r   r   r   r   r   r   r   Zbackward_kill_word.__annotate__   rV   r   c                	rW   r   rX   r\   r^   r   r   Zbackward_kill_word.do   r_   r   r   NrL   r   r   r   rc   rc      r`   r   rc   c                  s"    ] tR t^tR R ltRtR# )yankc               r   r   r   r   r   r   r   Zyank.__annotate__   s     " "D "r   c                	s    V P                   pVP                  '       g   VP                  R 4       R# VP                  VP                  R,          4       R# )nothing to yankNr)   )r   r.   errorinsertrJ   rK   r   r   Zyank.do   s8    KK{{{GG%&	R!r   r   NrL   r   r   r   rd   rd      s    " "r   rd   c                  s"    ] tR t^tR R ltRtR# )yank_popc               r   r   r   r   r   r   r   Zyank_pop.__annotate__   s      D r   c                	s>   V P                   pVP                  pVP                  '       g   VP                  R 4       R# \	        VP
                  4      '       g   VP                  R4       R# \        VP                  R,          4      pVP                  P                  ^ VP                  P                  4       4       VP                  R,          pWBVP                  V,
          VP                  % VP                  V,
          \        V4      ,           Vn	        RVn
        R# )re   Nzprevious command was not a yankTr)   )r   r*   r.   rf   rB   r,   lenrg   Zpopr-   r/   )r   r0   r1   ZrepltrR   r   r   Zyank_pop.do   s    KKHH{{{GG%&q~~&&GG561;;r?#	1akkoo/0KKO"#!%%$,s1v%r   r   NrL   r   r   r   rh   rh      s     r   rh   c                  s"    ] tR t^tR R ltRtR# )	interruptc               r   r   r   r   r   r   r   Zinterrupt.__annotate__   s     , ,D ,r   c                	s    ^ RI pV P                  P                  P                  4        V P                  P                  4        \        P
                  ! \        P                  ! 4       VP                  4       R# r    N)signalr   rI   r   oskillgetpidZSIGINT)r   rm   rK   r   r   Zinterrupt.do   sC    ""$
		V]]+r   r   NrL   r   r   r   rk   rk      s    , ,r   rk   c                  s"    ] tR t^tR R ltRtR# )ctrl_cc               r   r   r   r   r   r   r   Zctrl_c.__annotate__   s        D  r   c                	s    V P                   P                  P                  4        V P                   P                  4        \        hr   )r   rI   r   ZKeyboardInterruptr   r   r   r   Z	ctrl_c.do   s.    ""$r   r   NrL   r   r   r   rq   rq      s       r   rq   c                  s"    ] tR t^tR R ltRtR# )suspendc               r   r   r   r   r   r   r   Zsuspend.__annotate__   s      D r   c                	sJ   ^ RI pV P                  pVP                  pVP                  P	                  4        \
        P                  ! \
        P                  ! 4       VP                  4       VP                  P                  4        W2n        RVn
        . VP                  n        R# )r    NT)rm   r   r-   rI   r   rn   ro   rp   ZSIGSTOPpreparer/   screen)r   rm   r0   prF   r   r   Z
suspend.do   si    KKEE			
		V^^, 	
				r   r   NrL   r   r   r   rr   rr      s     r   rr   c                  s"    ] tR t^tR R ltRtR# )upc               r   r   r   r   r   r   r   Zup.__annotate__   s     ' 'D 'r   c                	s   V P                   p\        VP                  4       4       EF5  pVP                  4       w  r4V^,
          pVP	                  4       ^ 8X  dR   VP
                  ^ 8  d&   VP                  VP
                  ^,
          4        R# ^ Vn        VP                  R4        R# VVP                  V4      ;p8  g   W1P                  V4      8X  ds   \        ;QJ d7    R VP                  VP	                  4       R  4       F  '       g   K   RM,	  RM(! R VP                  VP	                  4       R  4       4      '       d   TpVP                  W54       EK8  	  R# )rD   Nstart of bufferc              3  J   "   T F  qP                  4       '       * x  K  	  R # 5ir   rQ   Z.0r]   rK   r   	<genexpr>Zup.do.<locals>.<genexpr>        -@		OO-@   !#TF)r   rY   rZ   pos2xyrT   historyiselect_itemr-   rf   
max_columnanyr*   setpos_from_xy)r   r0   _xynew_ynew_xs   &      r   r   Zup.do   s   KKqyy{#A88:DAEEuuw!|::>MM!**q.1)* \\%00E Q'C -.XXaeegi-@CCC -.XXaeegi-@   Q&1 $r   r   NrL   r   r   r   rv   rv      s    ' 'r   rv   c                  "    ] tR tRtR R ltRtR# )downi  c               r   r   r   r   r   r   r   Zdown.__annotate__  s     ' 'D 'r   c                	sR   V P                   pVP                  p\        VP                  4       4       EFp  pVP	                  4       w  rEV^,           pVP                  4       \        V4      8X  d   VP                  \        VP                  4      8  d<   VP                  VP                  ^,           4       VP                  ^ 4      Vn
         R# \        V4      Vn
        VP                  R4        R# VVP                  V4      ;p8  g   WAP                  V4      8X  ds   \        ;QJ d7    R VP                  VP                  4       R  4       F  '       g   K   RM,	  RM(! R VP                  VP                  4       R  4       4      '       d   TpVP                  WF4       EKs  	  R# )rD   Nend of bufferc              3  rx   r   ry   rz   rK   r   r{   Zdown.do.<locals>.<genexpr>.  r|   r}   TF)r   r*   rY   rZ   r~   rP   ri   r   historyr   r-   rf   r   r   rT   r   )r   r0   r1   r   r   r   r   r   s   &       r   r   Zdown.do  s6   KKHHqyy{#A88:DAEEuuw#a& ::AII.MM!**q.1EE!HAEA( \\%00E Q'C -.XXaeegi-@CCC -.XXaeegi-@   Q&3 $r   r   NrL   r   r   r   r   r     s    ' 'r   r   c                  r   )lefti7  c               r   r   r   r   r   r   r   Zleft.__annotate__8  s     5 5D 5r   c                	s    V P                   p\        VP                  4       4       F@  pVP                  ^,
          pV^ 8  d	   W1n        K%  V P                   P	                  R4       KB  	  R# )rD   rw   N)r   rY   rZ   r-   rf   )r   r0   r   ru   rF   r   r   Zleft.do8  sL    KKqyy{#A	AAv!!"34 $r   r   NrL   r   r   r   r   r   7  s    5 5r   r   c                  r   )rightiB  c               r   r   r   r   r   r   r   Zright.__annotate__C  s     3 3D 3r   c                	s   V P                   pVP                  p\        VP                  4       4       FI  pVP                  ^,           pV\        V4      8:  d	   WAn        K.  V P                   P                  R4       KK  	  R# )rD   r   N)r   r*   rY   rZ   r-   ri   rf   )r   r0   r1   r   ru   rR   r   r   Zright.doC  sX    KKHHqyy{#A	ACF{!!/2 $r   r   NrL   r   r   r   r   r   B  s    3 3r   r   c                  r   )beginning_of_lineiN  c               r   r   r   r   r   r   r   Zbeginning_of_line.__annotate__O       , ,D ,r   c                	X    V P                   P                  4       V P                   n        R # r   )r   rT   r-   r   r   r   r   Zbeginning_of_line.doO      ++//+r   r   NrL   r   r   r   r   r   N      , ,r   r   c                  r   )end_of_lineiS  c               r   r   r   r   r   r   r   Zend_of_line.__annotate__T  r   r   c                	r   r   )r   rP   r-   r   r   r   r   Zend_of_line.doT  r   r   r   NrL   r   r   r   r   r   S  r   r   r   c                  r   )homeiX  c               r   r   r   r   r   r   r   Zhome.__annotate__Y  s      D r   c                	s(    ^ V P                   n        R# rl   )r   r-   r   r   r   r   Zhome.doY  s    r   r   NrL   r   r   r   r   r   X  s     r   r   c                  r   )r(   i]  c               r   r   r   r   r   r   r   Zend.__annotate__^  s     2 2D 2r   c                	sb    \        V P                  P                  4      V P                  n        R # r   )ri   r   r*   r-   r   r   r   r   Zend.do^  s    dkk001r   r   NrL   r   r   r   r(   r(   ]  s    2 2r   r(   c                  r   )forward_wordib  c               r   r   r   r   r   r   r   Zforward_word.__annotate__c        D r   c                	    V P                   p\        VP                  4       4       F  pVP                  4       Vn        K  	  R # r   )r   rY   rZ   rb   r-   r\   r^   r   r   Zforward_word.doc  -    KKqyy{#AEEGAE $r   r   NrL   r   r   r   r   r   b       r   r   c                  r   )backward_wordii  c               r   r   r   r   r   r   r   Zbackward_word.__annotate__j  r   r   c                	r   r   )r   rY   rZ   r[   r-   r\   r^   r   r   Zbackward_word.doj  r   r   r   NrL   r   r   r   r   r   i  r   r   r   c                  r   )self_insertip  c               r   r   r   r   r   r   r   Zself_insert.__annotate__q  s     
8 
8D 
8r   c                	s^   V P                   pV P                  VP                  4       ,          pVP                  V4       VP                  '       d]   R pVP
                  P                  4       pW4P                  ,          pV'       d%   VP                  V4       RVP                  n	        R# R# R# ) TN)
r   r   rZ   rg   
paste_moderI   
getpendingdatalast_refresh_cacheinvalidated)r   r0   r2   r   evrR   r   r   Zself_insert.doq  s{    KKzzAIIK'	<<<D%%'BGGOD37$$0 	 r   r   NrL   r   r   r   r   r   p  s    
8 
8r   r   c                  r   )	insert_nli~  c               r   r   r   r   r   r   r   Zinsert_nl.__annotate__  s     % %D %r   c                	sj    V P                   pVP                  R VP                  4       ,          4       R# )
N)r   rg   rZ   rJ   rK   r   r   Zinsert_nl.do  s"    KK			#$r   r   NrL   r   r   r   r   r   ~  s    % %r   r   c                  r   )transpose_charactersi  c               r   r   r   r   r   r   r   Z!transpose_characters.__annotate__  s      D r   c                	sr   V P                   pVP                  pVP                  ^,
          pV^ 8  d   VP                  R4       R# V\	        V4      8X  d
   V^,          p\        W1P                  4       ,           \	        V4      ^,
          4      pW#,          pW# VP                  WE4       WAn        RVn        R# )rD   z#cannot transpose at start of bufferTN)	r   r*   r-   rf   ri   ZminrZ   rg   r/   )r   r0   r1   srj   rE   s   &     r   r   Ztranspose_characters.do  s    KKHHEEAIq5GG9:CF{QA		OSVaZ0AAHHQNEAGr   r   NrL   r   r   r   r   r     s     r   r   c                  r   )	backspacei  c               r   r   r   r   r   r   r   Zbackspace.__annotate__  s     	> 	>D 	>r   c                	s*   V P                   pVP                  p\        VP                  4       4       F]  pVP                  ^ 8  d/   V;P                  ^,          un        W!P                   RVn        KB  V P                   P                  R4       K_  	  R# )r    Tzcan't backspace at startN)r   r*   rY   rZ   r-   r/   rf   r   r0   r1   r]   rF   r   r   Zbackspace.do  sd    KKHHqyy{#Auuqy
eeH!!"<= $r   r   NrL   r   r   r   r   r     s    	> 	>r   r   c                  r   )deletei  c               r   r   r   r   r   r   r   Zdelete.__annotate__  s     3 3D 3r   c                	s8   V P                   pVP                  pV P                  R,          R8X  d   V'       d'   VR,          P                  R4      '       d	   RV n        MQVP
                  ^ 8X  dA   \        V4      ^ 8X  d1   VP                  4        VP                  P	                  4        \        h\        VP                  4       4       FM  pVP
                  \        V4      8w  d   W!P
                   RVn        K2  V P                   P                  R4       KO  	  R# )rD   Zr   Tr   Nr)   )r   r*   r   Zendswithr   r-   ri   Zupdate_screenrI   ZEOFErrorrY   rZ   r/   rf   r   rF   r   r   Z	delete.do  s    KKHH::b>V#QrU^^D))"
FaK!		  "qyy{#AuuAeeH!!/2 $r   )r   NrL   r   r   r   r   r     s    3 3r   r   c                  r   )accepti  c               r   r   r   r   r   r   r   Zaccept.__annotate__  r   r   c                	r   r   r   r   r   r   r   Z	accept.do  r   r   r   NrL   r   r   r   r   r     s     r   r   c                  r   )helpi  c               r   r   r   r   r   r   r   Zhelp.__annotate__  s     8 8D 8r   c                	s    ^ RI pV P                  P                  4       ;_uu_ 4        VP                  4       ! 4       V P                  n        RRR4       R#   + '       g   i     R# ; irl   )_sitebuiltinsr   rr   Z_HelperZmsg)r   r   rK   r   r   Zhelp.do  s>    [[  ""+3357DKKO #"""s   %AA'	r   NrL   r   r   r   r   r     s    8 8r   r   c                  r   )invalid_keyi  c               r   r   r   r   r   r   r   Zinvalid_key.__annotate__  s     0 0D 0r   c                	s    V P                   P                  P                  4       pR P                  V P                  4      VP
                  ,           pV P                   P                  RV,          4       R# )r   z`%r' not boundN)r   rI   r   joinr   r   rf   )r   Zpendingr   r^   r   r   Zinvalid_key.do  sM    ++%%002GGDJJ',,.*Q./r   r   NrL   r   r   r   r   r     s    0 0r   r   c                  r   )invalid_commandi  c               r   r   r   r   r   r   r   Zinvalid_command.__annotate__  s     8 8D 8r   c                	sb    V P                   pV P                  P                  R V,          4       R# )zcommand `%s' not knownN)r
   r   rf   )r   r   rK   r   r   Zinvalid_command.do  s#    OO2Q67r   r   NrL   r   r   r   r   r     s    8 8r   r   c                  r   )show_historyi  c               r   r   r   r   r   r   r   Zshow_history.__annotate__  s     4 4D 4r   c                	s"   ^RI Hp ^ RIHp \        P
                  P                  V P                  P                  R,          4      pV P                  P                  P                  4        V! 4       pV! W2! 4       4       V P                  P                  P                  4        V P                  P                  P                  4       V P                  P                  n        V P                  P                  V P                  P                  n        R# )rD   )	get_pager)gethistoryfile:NNNN)pagerr   Zsiter   rn   Zlinesepr   r   r   rI   Zrestorers   rt   ZcopyZcxyZposxy)r   r   r   r   r   rR   r   r   Zshow_history.do  s    $'**//$++"5"5a"89##%g~'(##% &*[[%7%7%<%<%>"$(KKOO!r   r   NrL   r   r   r   r   r     s    4 4r   r   c                  r   )r   i  c               r   r   r   r   r   r   r   Zpaste_mode.__annotate__  s     ! !D !r   c                	s|    V P                   P                  '       * V P                   n        R V P                   n        R# rH   )r   r   r/   r   r   r   r   Zpaste_mode.do  s'    %)[[%;%;!; r   r   NrL   r   r   r   r   r     s    ! !r   r   c                  r   )perform_bracketed_pastei  c               r   r   r   r   r   r   r   Z$perform_bracketed_paste.__annotate__  s     : :D :r   c                	s   R pRp\         P                   ! 4       pW9  d9   V P                  P                  P                  4       pW$P                  ,          pK>  \        R\        V4      \         P                   ! 4       V,
          R7       V P                  P                  VP                  VR4      4       RV P                  P                  n
        R# )z[201~r   z/bracketed pasting of {l} chars done in {s:.2f}s)Zlr   TN)timer   rI   r   r   r   ri   rg   Zreplacer   r   )r   Zdoner   r&   r   rR   r   r   Zperform_bracketed_paste.do  s    		$$//1BGGOD=$iiikE!	

 	4<<b1259&&2r   r   NrL   r   r   r   r   r     s    : :r   r   )3Z
__future__r   rn   r   r   Zhistorical_readerr	   r   r%   r4   r7   r8   r9   r+   rB   rC   rG   rM   rN   rO   rS   rU   ra   rc   rd   rh   rk   rq   rr   rv   r   r   r   r   r   r   r(   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   <module>r      s  , # 	   	 &' &	' 		G 		' 		G 	
DD .7 !g !
&g &
, 
,( (,{ ,, ,, ,"; "{ $, , W  g "' '<'= '@5= 5	3M 	3, ,
,- ,
= 
2- 2
= M 8+ 8% %; $
> 
>3[ 3.] 
87 80' 08g 847 4"! !:g :r   