+
    öÙ†j<  ã                   óR  € R t RRRRRRRRRRRR	R
RRRRRRRRR/t/ RRbRRbRRbRRbRRbRR	bRRbRRbRRbRRbRRbRRbR R bR!R!bR"R"bR#R#bR$R$b/ R%R%bR&R&bR'R'bR(R(bR)R)bR*R*bR+R+bR,R,bR-R-bR.R.bR/R/bR0R0bR1R1bR2R2bR3RbR4R4bR5R6bCR7RR8R8/Ct ! R9 R:]4      tR; R< ltR= R> ltRAR? ltR@# )Ban  
Keymap contains functions for parsing keyspecs and turning keyspecs into
appropriate sequences.

A keyspec is a string representing a sequence of key presses that can
be bound to a command. All characters other than the backslash represent
themselves. In the traditional manner, a backslash introduces an escape
sequence.

pyrepl uses its own keyspec format that is meant to be a strict superset of
readline's KEYSEQ format. This means that if a spec is found that readline
accepts that this doesn't, it should be logged as a bug. Note that this means
we're using the '\C-o' style of readline's keyspec, not the 'Control-o' sort.

The extension to readline is that the sequence \<KEY> denotes the
sequence of characters produced by hitting KEY.

Examples:
'a'      - what you get when you hit the 'a' key
'\EOA'  - Escape - O - A (up, on my terminal)
'\<UP>' - the up arrow key
'\<up>' - ditto (keynames are case-insensitive)
'\C-o', '\c-o'  - control-o
'\M-.'  - meta-period
'\E.'   - ditto (that's how meta works for pyrepl)
'\<tab>', '\<TAB>', '\t', '\011', '\x09', '\X09', '\C-i', '\C-I'
   - all of these are the tab character.
Ú\Ú'Ú"ÚaÚÚbÚÚeÚÚfÚÚnÚ
ÚrÚÚtÚ	ÚvÚÚ	backspaceÚdeleteÚdownÚendÚenterÚescapeÚf1Úf2Úf3Úf4Úf5Úf6Úf7Úf8Úf9Úf10Úf11Úf12Úf13Úf14Úf15Úf16Úf17Úf18Úf19Úf20ÚhomeÚinsertÚleftz	page downzpage upÚreturnÚrightÚspaceÚ ÚtabÚupc                   ó   € ] tR t^htRtR# )ÚKeySpecError© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__static_attributes__r:   ó    Ú%/usr/lib/python3.14/_pyrepl/keymap.pyr9   r9   h   s   † Ûr@   r9   c                óF   € V ^8„  d   QhR\         R\        \         ,          /# )é   Úkeysr2   )ÚstrÚlist)Úformats   "rA   Ú__annotate__rH   l   s   € ÷ ñ ”Sð œT¤#�Yñ r@   c                ón   € ^ p. pV\        V 4      8  d!   \        W4      w  r1VP                  V4       K0  V# )z3Parse keys in keyspec format to a sequence of keys.)ÚlenÚ_parse_single_key_sequenceÚextend)rD   Úsr   Úks   &   rA   Ú
parse_keysrO   l   s3   € à	€AØ€AØ
Œc�$‹iŒ-Ü)¨$Ó2‰ˆØ	�‰�ŽØ€Hr@   c                ót   € V ^8„  d   QhR\         R\        R\        \        \         ,          \        3,          /# )rC   ÚkeyrM   r2   )rE   ÚintÚtuplerF   )rG   s   "rA   rH   rH   v   s3   € ÷ Lñ L¤Cð L¬Cð L´E¼$¼s½)ÄS¸.Õ4Iñ Lr@   c                 ó|  € ^ p^ pRpV'       Eg»   V\        V 4      8  Edª   W,          R8X  Edˆ   W^,           ,          P                  4       pV\        9   d   \        V,          pV^,          pKh  VR8X  dr   W^,           ,          R8w  d%   \        RV^,           \	        V 4      3,          4      hV'       d%   \        RV^,           \	        V 4      3,          4      h^pV^,          pKà  VR8X  ds   W^,           ,          R8w  d%   \        RV^,           \	        V 4      3,          4      hV'       d%   \        R	V^,           \	        V 4      3,          4      h^pV^,          pEKY  VP                  4       '       d4   W^,           V^,            p\        \        V^4      4      pV^,          pEK¢  VR
8X  d4   W^,           V^,            p\        \        V^4      4      pV^,          pEKÜ  VR8X  dŸ   V P                  RV4      pVR8X  d%   \        RV^,           \	        V 4      3,          4      hW^,           V P                  4       pV\        9  d%   \        RWA^,           \	        V 4      3,          4      h\        V,          pV^,           pEK�  \        R\	        V4      V^,           \	        V 4      3,          4      hW,          pV^,          pEKÃ  V'       dE   \        V4      ^8X  d   \        \        V4      ^,          4      pMVR9   d   RV 2pM\        R4      hV.V3pV'       d   V^ ,          P                  ^ R4       V# )é    Ú r   ÚcÚ-z*\C must be followed by `-' (char %d of %s)zdoubled \C- (char %d of %s)Úmz*\M must be followed by `-' (char %d of %s)zdoubled \M- (char %d of %s)ÚxÚ<Ú>z)unterminated \< starting at char %d of %sz*unrecognised keyname `%s' at char %d of %sz,unknown backslash escape %s at char %d of %szctrl z\C- followed by invalid keyr
   éÿÿÿÿ>   r1   r3   )rJ   ÚlowerÚ_escapesr9   ÚreprÚisdigitÚchrrR   ÚfindÚ	_keynamesÚordr0   )	rQ   rM   ÚctrlÚmetaÚretrW   r   r   Úresults	   &&       rA   rK   rK   v   sÞ  € Ø€DØ€DØ
€Cßˆc�aœ#˜c›(•lØ�6�T�>Ø˜•E•
× Ñ Ó"ˆAØ”HŒ}Ü˜q•k�Ø�Q•’Ø�c”Ø˜1•u•: Ô$Ü&ØEØ˜q�5¤$ s£)Ð,õ-óð ÷ Ü&Ø6¸!¸a½%ÄÀcÃÐ9KÕKóð ð �Ø�Q•’Ø�c”Ø˜1•u•: Ô$Ü&ØEØ˜q�5¤$ s£)Ð,õ-óð ÷ Ü&Ø6¸!¸a½%ÄÀcÃÐ9KÕKóð ð �Ø�Q•“Ø—‘—’Ø˜A�  A¥Ð&�Üœ#˜a ›)“n�Ø�Q•“Ø�c”Ø˜A�  A¥Ð&�Üœ#˜a ›*“o�Ø�Q•“Ø�c”Ø—H‘H˜S !Ó$�Ø˜”7Ü&ØDØ˜q�5¤$ s£)Ð,õ-óð ð ˜a�% !�n×*Ñ*Ó,�ØœiÔ'Ü&ØDØ A¥¤t¨C£yÐ1õ2óð ô   •n�Ø˜•E“ä"ØBÜ˜A“w  A¥¤t¨C£yÐ1õ2óð ð
 •&ˆCØ��F‹AßÜˆs‹8�qŒ=Ü”c˜#“h •oÓ&‰CØÐ%Ô%Ø˜#˜�-‰CäÐ=Ó>Ð>àˆU�AˆX€FßØˆq�	×Ñ˜˜FÔ#Ø€Mr@   c                 ó�  € / pV P                  4        FI  w  r4\        V\        4      '       d   VR ,          pM	V^ ,          pWBP                  V/ 4      VR,          &   KK  	  VP                  4        FR  w  r4W9   d;   \	        V4      ^8w  d   \        RVP                  4       : R24      hWA,          W#&   KE  \        WA4      W#&   KT  	  V# ):Né   N:rk   NNzkey definitions for z clash)ÚitemsÚ
isinstanceÚbytesÚ
setdefaultrJ   r9   ÚvaluesÚcompile_keymap)ÚkeymapÚemptyr   rQ   ÚvalueÚfirsts   &&    rA   rq   rq   Å   s£   € Ø
€AØ—l‘l–n‰
ˆÜ�cœ5×!Ò!Ø˜•G‰Eà˜•FˆEØ+0�‰�U˜BÓ  B¥Ó(ñ %ð —g‘g–i‰
ˆØŒ>Ü�5‹z˜QŒÝ"ÀUÇ\Á\Æ^Ð#UÓVÐVà��“ä# EÓ1ˆA‹Fñ  ð €Hr@   N)r@   )Ú__doc__r_   rd   Ú	Exceptionr9   rO   rK   rq   r:   r@   rA   Ú<module>rx      s  ðñ*ð< 	ˆ$ØˆØˆØˆØˆØˆØˆØˆØˆØˆØˆð€ð%Ø�ð%àˆhð%ð ˆFð%ð 
ˆ5ð	%ð
 ˆTð%ð ˆfð%ð 	ˆ$ð%ð 	ˆ$ð%ð 	ˆ$ð%ð 	ˆ$ð%ð 	ˆ$ð%ð 	ˆ$ð%ð 	ˆ$ð%ð 	ˆ$ð%ð 	ˆ$ð%ð  
ˆ5ð!%ð" 
ˆ5ñ#%ð$ 
ˆ5ð%%ð& 
ˆ5ð'%ð( 
ˆ5ð)%ð* 
ˆ5ð+%ð, 
ˆ5ð-%ð. 
ˆ5ð/%ð0 
ˆ5ð1%ð2 
ˆ5ð3%ð4 
ˆ5ð5%ð6 ˆFð7%ð8 ˆhð9%ð: ˆFð;%ð< �ð=%ð> ˆyð?%ð@ ˆdðA%ðB ˆWðC%ðD ˆSñE%ðF 
ˆ4Øˆ$ñI%€	ôP	�9ô 	õõLö^r@   