+
    TBi                        R t ^ RIHt ^ RIHtHtHtHtHtH	t	H
t
HtHtHt ^ RIHt ^ RIHt R.t/ ]Rb]R	b]R	b]P&                  R
b]Rb]P(                  R
b]
P*                  Rb]P,                  R
b]P.                  Rb]P0                  Rb]P2                  Rb]P4                  R
b]P6                  Rb]P8                  Rb]P:                  Rb]P<                  R
b]P>                  Rb]R]	R]P@                  R]PB                  R]PD                  R]PF                  R]PH                  R]P                  R]R/	Ct% ! R R]4      t&R# )z
pygments.formatters.terminal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Formatter for terminal output with ANSI sequences.

:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
)	Formatter)
KeywordNameCommentStringErrorNumberOperatorGenericToken
Whitespace)
ansiformat)get_choice_optTerminalFormatterc                   R   a  ] tR t^8t o RtRtRR.t. tR tR t	R t
R tR	 tR
tV tR# )r   a  
Format tokens with ANSI color sequences, for output in a text console.
Color sequences are terminated at newlines, so that paging the output
works correctly.

The `get_style_defs()` method doesn't do anything special since there is
no support for common styles.

Options accepted:

`bg`
    Set to ``"light"`` or ``"dark"`` depending on the terminal's background
    (default: ``"light"``).

`colorscheme`
    A dictionary mapping token types to (lightbg, darkbg) color names or
    ``None`` (default: ``None`` = use builtin colorscheme).

`linenos`
    Set to ``True`` to have line numbers on the terminal output as well
    (default: ``False`` = no line numbers).
Terminalterminalconsolec                    \         P                  ! V 3/ VB  \        VR RR.R4      R8H  V n        VP	                  RR4      ;'       g    \
        V n        VP	                  RR4      V n        ^ V n        R# )bglightdarkcolorschemeNlinenosF)	r   __init__r   darkbggetTERMINAL_COLORSr   r   _lineno)selfoptionss   &,A/usr/lib/python3.14/site-packages/pygments/formatters/terminal.pyr   TerminalFormatter.__init__S   sm    4+7+$Wd&-v%6ADJK";;}d;NN{{9e4    c                0    \         P                  ! WV4      # N)r   format)r   tokensourceoutfiles   &&&r!   r&   TerminalFormatter.format[   s    7;;r#   c                    V ;P                   ^,          un         TP                  RV P                   ^8g  ;'       d    R;'       g    RV P                   3,          4       R# )   z%s%04d: 
 N)r   write)r   r(   s   &&r!   _write_linenoTerminalFormatter._write_lineno^   sC    jDLLA$5$>$>$$D$D"dll#SSTr#   c                    V P                   P                  V4      pVf*   VP                  pV P                   P                  V4      pK-  W P                  ,          # r%   )r   r   parentr   )r   ttypecolorss   && r!   
_get_colorTerminalFormatter._get_colorb   sK     !!%%e,nLLE%%))%0Fkk""r#   c           
     @   V P                   '       d   V P                  V4       V F  w  r4V P                  V4      pVP                  R 4       F  pV'       d+   VP	                  \        WVP                  R4      4      4       M VP	                  VP                  R4      4       VP                  R4      '       g   Kn  V P                   '       d   V P                  V4       K  VP	                  R4       K  	  K  	  V P                   '       d   VP	                  R4       R# R# )Tr,   N)r   r/   r5   
splitlinesr.   r   rstripendswith)r   r'   r(   r3   valuecolorlines   &&&    r!   format_unencoded"TerminalFormatter.format_unencodedl   s    <<<w''LEOOE*E((.MM*UKK4E"FGMM$++d"34==&&|||**73d+ / ( <<<MM$ r#   )r   r   r   r   N)__name__
__module____qualname____firstlineno____doc__namealiases	filenamesr   r&   r/   r5   r>   __static_attributes____classdictcell__)__classdict__s   @r!   r   r   8   s?     , D9%GI<U#   r#   N)r-   r-   )graybrightblack)cyan
brightcyan)blue
brightblue)magentabrightmagenta)greenbrightgreen)_cyan__brightcyan_)_green__brightgreen_)rL   rK   )red	brightred)rP   rP   )yellowr[   )rZ   rZ   )**r\   )z	*magenta*z*brightmagenta*)_brightred_r]   )'rD   pygments.formatterr   pygments.tokenr   r   r   r   r   r   r	   r
   r   r   pygments.consoler   pygments.utilr   __all__PreprocTypeWordBuiltinFunction	NamespaceClass	Exception	DecoratorVariableConstant	AttributeTagDeletedInsertedHeading
SubheadingPromptr   r    r#   r!   <module>rv      s   )1 1 1 ' ( 

	+ 1 1	
 OO5 1 LL5 MM9 	LL5 	MM2 	NN7 	JJ4 	NN5 	NN2 	MM0  	MM0!" 	NN5#$ 	HH;%& 2
1OO91OO,:NN,MM9	;;BG 	 G r#   