+
    Brh#+                       a  R% t+0 t ^ RIt^ RIt^ RIt^ RIHtHtHt ^ RIH	t	H
t
Ht Rt  ! R R4      t]! 4       t]! 4       t]P*                  P-                  4        F:  w  tt]P3                  R4      '       d   K  ]P5                  ]4       ]! ]]R	4       K<  	   ! R
 R]]]3,          4      t]	! RR7       ! R R]4      4       t]	! RR7       ! R R]4      4       t]	! RR7       ! R R]4      4       t ]	! RR7       ! R R]4      4       t!]	! RR7       ! R R4      4       t"R&RR/R R lllt#R R lt$RR/R R llt%]"! 4       t&]&PO                  4       t(RRRRR R/R! R" llt)R# R$ lt*]*! ]&4       R# )'    N)CallableIteratorMapping)	dataclassfieldFieldTFc                       ] tR t^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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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,# )-
ANSIColorsz[0mz[30mz[34mz[36mz[32mz[90mz[35mz[31mz[37mz[33mz[1mz[1;30mz[1;34mz[1;36mz[1;32mz[1;35mz[1;31mz[1;37mz[1;33mz[94mz[96mz[92mz[95mz[91mz[97mz[93mz[40mz[44mz[46mz[42mz[45mz[41mz[47mz[43mz[100mz[104mz[106mz[102mz[105mz[101mz[107mz[103m N)0__name__
__module____qualname____firstlineno__RESETBLACKBLUECYANGREENGREYMAGENTAREDWHITEYELLOWBOLD
BOLD_BLACK	BOLD_BLUE	BOLD_CYAN
BOLD_GREENBOLD_MAGENTABOLD_RED
BOLD_WHITEBOLD_YELLOWINTENSE_BLACKINTENSE_BLUEINTENSE_CYANINTENSE_GREENINTENSE_MAGENTAINTENSE_REDINTENSE_WHITEINTENSE_YELLOWBACKGROUND_BLACKBACKGROUND_BLUEBACKGROUND_CYANBACKGROUND_GREENBACKGROUND_MAGENTABACKGROUND_REDBACKGROUND_WHITEBACKGROUND_YELLOWINTENSE_BACKGROUND_BLACKINTENSE_BACKGROUND_BLUEINTENSE_BACKGROUND_CYANINTENSE_BACKGROUND_GREENINTENSE_BACKGROUND_MAGENTAINTENSE_BACKGROUND_REDINTENSE_BACKGROUND_WHITEINTENSE_BACKGROUND_YELLOW__static_attributes__r       &/usr/local/lib/python3.14/_colorize.pyr
   r
      s    EEDDEDG
CEFDJIIJLHJK MLLM OKMN! O O!#N!"*))*!,(* +r<   r
   __ c                      a a ] tR t^tt oRtV3R lV 3R lltV3R lR lt]V3R lR l4       tV3R lR	 lt	V3R
 lR lt
V3R lR ltV3R ltRtVtV ;t# )ThemeSectionz~A mixin/base class for theme sections.

It enables dictionary access to a section, as well as implements convenience
methods.
c                   < V ^8  d   QhRR/# )   returnNr   )format__classdict__s   "r=   __annotate__ThemeSection.__annotate__   s     I It Ir<   c                   < / pV P                    F  p\        W4      W&   K  	  \        SV `  R VP                  4       R# )_name_to_valueN)__dataclass_fields__getattrsuper__setattr____getitem__)selfname_to_value
color_name	__class__s   &  r=   __post_init__ThemeSection.__post_init__   s;    33J(/(AM% 4,m.G.GHr<   c                &   < V ^8  d   QhRS[ RS[/# )rC   kwargsrD   )strSelf)rE   rF   s   "r=   rG   rH      s     ) )# )$ )r<   c                    / pV P                    F  p\        W4      W#&   K  	  VP                  V4       \        V 4      ! R/ VB # )Nr   )rK   rL   updatetype)rP   rW   color_staterR   s   &,  r=   	copy_withThemeSection.copy_with   sD    &(33J&-d&?K# 46"Dz(K((r<   c                    < V ^8  d   QhRS[ /# rC   rD   rY   )rE   rF   s   "r=   rG   rH      s     " "$ "r<   c                D    / pV P                    F  pR W&   K	  	  V ! R/ VB # )r?   r   )rK   )clsr]   rR   s   &  r=   	no_colorsThemeSection.no_colors   s-    &(22J&(K# 3![!!r<   c                &   < V ^8  d   QhRS[ RS[ /# )rC   keyrD   rX   )rE   rF   s   "r=   rG   rH      s     ( (s (s (r<   c                $    V P                  V4      # N)rJ   )rP   rh   s   &&r=   rO   ThemeSection.__getitem__   s    ""3''r<   c                    < V ^8  d   QhRS[ /# ra   )int)rE   rF   s   "r=   rG   rH      s     . . .r<   c                ,    \        V P                  4      # rk   )lenrK   rP   s   &r=   __len__ThemeSection.__len__   s    4,,--r<   c                0   < V ^8  d   QhRS[ S[,          /# ra   )r   rX   )rE   rF   s   "r=   rG   rH      s     / /(3- /r<   c                ,    \        V P                  4      # rk   )iterrK   rq   s   &r=   __iter__ThemeSection.__iter__   s    D--..r<   c                   < V ^8  d   Qh/ S[ S[S[S[S[,          3,          ,          ;R&   S[S[.S[3,          ;R&   # )rC   rK   rJ   )ClassVardictrX   r   r   )rE   rF   s   "r=   rG   rH   t   s<      #4U3Z#899  cUCZ(( r<   r   )r   r   r   r   __doc__rT   r^   classmethodre   rO   rr   rw   __annotate_func__r;   __classdictcell____classcell__)rS   rF   s   @@r=   rA   rA   t   sZ     I I) ) " "( (. ./ /M  r<   rA   )frozenc                   d  a  ] tR t^t o ]P
                  t]P                  t]P                  t
]P
                  t]P                  t]P                  t]P                   t]P                  t]P&                  t]P*                  t]P.                  t]P*                  t]P4                  tV 3R ltRtV tR# )Argparsec                   < V ^8  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R	&   S[ ;R
&   S[ ;R&   S[ ;R&   S[ ;R&   # )rC   usageprog
prog_extraheadingsummary_long_optionsummary_short_optionsummary_labelsummary_actionlong_optionshort_optionlabelactionresetri   )rE   rF   s   "r=   rG   Argparse.__annotate__   s     %  '  (	 
 '  .  0  *  *  +  -  '  '  ! r<   r   N)r   r   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r"   r   r   r   r   r~   r;   r   rF   s   @r=   r   r      s     %%E''D ((J''G) * 0 0#**M$**N!++K"--L''E''F!!E  r<   r   c                   4  a  ] tR t^t o ]P
                  t]P                  t]P                  t	]P                  t]P                  t]P                  t]P                   t]P$                  t]P(                  t]P                  t]P$                  tV 3R ltRtV tR# )Syntaxc                   < V ^8  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R	&   S[ ;R
&   S[ ;R&   # )rC   promptkeywordkeyword_constantbuiltincommentstringnumberop
definitionsoft_keywordr   ri   )rE   rF   s   "r=   rG   Syntax.__annotate__   s     )  '  0	 
 "  !  "  #  	  %  ,  ! r<   r   N)r   r   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r~   r;   r   r   s   @r=   r   r      s     ))F''G&00??G>>G""F##FB ooJ",,L!!E  r<   r   c                      a  ] tR t^t o ]P
                  t]P                  t]P                  t	]P                  t
]P                  t]P                  t]P                  t]P                   tV 3R ltRtV tR# )	Tracebackc                z   < V ^8  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   # )	rC   r\   messagefilenameline_noframeerror_highlighterror_ranger   ri   )rE   rF   s   "r=   rG   Traceback.__annotate__   sk     
'  %  &	 
 %  #  .  %  ! r<   r   N)r   r   r   r   r
   r   r\   r   r   r   r   r   r    r   r   r   r   r   r~   r;   r   r   s   @r=   r   r      sb     ''D%%G&&H%%G##E%..O!~~K!!E  r<   r   c                      a  ] tR t^t o ]P
                  t]P                  t]P                  t
]P                  t]P                  tV 3R ltRtV tR# )Unittestc                V   < V ^8  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   # )rC   passedwarnfail	fail_infor   ri   )rE   rF   s   "r=   rG   Unittest.__annotate__   sD     "  !  	 
 (  ! r<   r   N)r   r   r   r   r
   r   r   r   r   r   r   r    r   r   r   r~   r;   r   r   s   @r=   r   r      sA     ""F!!DD((I!!E  r<   r   c                      a  ] tR t^t o Rt]! ]R7      t]! ]R7      t	]! ]
R7      t]! ]R7      tRRRRRRRR/V 3R lR	 llt]V 3R
 lR l4       tV 3R ltRtV tR# )ThemezA suite of themes for all sections of Python.

When adding a new one, remember to also modify `copy_with` and `no_colors`
below.
)default_factoryargparseNsyntax	tracebackunittestc          
      p   < V ^8  d   QhRS[ R,          RS[R,          RS[R,          RS[R,          RS[/# )rC   r   Nr   r   r   rD   )r   r   r   r   rY   )rE   rF   s   "r=   rG   Theme.__annotate__   sP     
 
 T/
 	

 t#
 T/
 

r<   c                   \        V 4      ! T;'       g    V P                  T;'       g    V P                  T;'       g    V P                  T;'       g    V P                  R7      # )zReturn a new Theme based on this instance with some sections replaced.

Themes are immutable to protect against accidental modifications that
could lead to invalid terminal states.
r   r   r   r   )r\   r   r   r   r   )rP   r   r   r   r   s   &$$$$r=   r^   Theme.copy_with   sQ     Dz..((T[[114>>..	
 	
r<   c                    < V ^8  d   QhRS[ /# ra   rb   )rE   rF   s   "r=   rG   r      s     
 
$ 
r<   c                    V ! \         P                  4       \        P                  4       \        P                  4       \        P                  4       R7      # )zReturn a new Theme where colors in all sections are empty strings.

This allows writing user code as if colors are always used. The color
fields will be ANSI color code strings when colorization is desired
and possible, and empty strings otherwise.
r   )r   re   r   r   r   )rd   s   &r=   re   Theme.no_colors   sA     '')##%))+'')	
 	
r<   c                J   < V ^8  d   Qh/ S[ ;R&   S[;R&   S[;R&   S[;R&   # )rC   r   r   r   r   )r   r   r   r   )rE   rF   s   "r=   rG   r      s9      8  2  ;  8 r<   r   )r   r   r   r   r|   r   r   r   r   r   r   r   r   r   r^   r}   re   r~   r;   r   r   s   @r=   r   r      s     
 x8H62F ;Ix8H
 %)
 !%	

 '+
 %)
 
( 
 
C  r<   r   filec                    V ^8  d   QhR\         R\        \        ,          \        \        ,          ,          R,          R\        /# )rC   colorizer   NrD   )boolIOrX   bytesr
   )rE   s   "r=   rG   rG     s6      %'Wr%y%84%?r<   c                V    V '       g   \        VR 7      '       d   \        4       # \        # )r   )can_colorizer
   NoColors)r   r   s   &$r=   
get_colorsr     s     <T**|r<   c                0    V ^8  d   QhR\         R\         /# )rC   textrD   ri   )rE   s   "r=   rG   rG     s      # # r<   c                D    \          F  pV P                  VR4      p K  	  V # )z&Remove ANSI color codes from a string.r?   )
ColorCodesreplace)r   codes   & r=   decolorr     s!    ||D"% Kr<   c                    V ^8  d   QhR\         \        ,          \         \        ,          ,          R,          R\        /# )rC   r   NrD   )r   rX   r   r   )rE   s   "r=   rG   rG     s,     )9 )9"S'BuI-4 )9 )9r<   c                    RR R llpV f   \         P                  p \         P                  P                  '       g   V! R4      R8X  d   R# V! R4      R8X  d   R# V! R4      '       d   R# \        '       g   R# V! R	4      '       d   R# V! R
4      R8X  d   R# \        V R4      '       g   R# \         P                  R8X  d    ^ R IpVP                  4       '       g   R#   \        P                  ! V P                  4       4      #   \        \        3 d     R# i ; i  \        P                   d(    \        T R4      ;'       d    T P                  4       u # i ; i)Nc                X    V ^8  d   QhR\         R\         R,          R\         R,          /# )rC   kfallbackNrD   ri   )rE   s   "r=   rG   "can_colorize.<locals>.__annotate__  s)       sTz S4Z r<   c                h     \         P                  P                  W4      #   \         d    Tu # i ; i)z4Exception-safe environment retrieval. See gh-128636.)osenvironget	Exception)r   r   s   &&r=   _safe_getenv"can_colorize.<locals>._safe_getenv  s.    	::>>!.. 	O	s   ! 11PYTHON_COLORS0F1TNO_COLORFORCE_COLORTERMdumbfilenowin32isattyrk   )sysstdoutflagsignore_environmentCOLORIZEhasattrplatformnt_supports_virtual_terminalImportErrorAttributeErrorr   r   r   ioUnsupportedOperation)r   r   r   s   $  r=   r   r     s    |zz99'''(C/(C/J8M""Fv%4""
||w	0022 3
9yy''	 ^, 		
 "" 9tX&884;;=89s*   D  #D DD'EEEtty_fileforce_colorforce_no_colorc                    V ^8  d   QhR\         \        ,          \         \        ,          ,          R,          R\        R\        R\        /# )rC   r   Nr   r   rD   )r   rX   r   r   r   )rE   s   "r=   rG   rG   C  sD      g5	!D(  	
 r<   c                ^    V'       g   V'       g   \        V R7      '       d   \        # \        # )ad  Returns the currently set theme, potentially in a zero-color variant.

In cases where colorizing is not possible (see `can_colorize`), the returned
theme contains all empty strings in all color definitions.
See `Theme.no_colors()` for more information.

It is recommended not to cache the result of this function for extended
periods of time because the user might influence theme selection by
the interactive shell, a debugger, or application-specific code. The
environment (including environment variable state and console configuration
on Windows) can also change in the course of the application life cycle.
r   )r   _themetheme_no_color)r   r   r   s   $$$r=   	get_themer  C  s    $ >#22r<   c                (    V ^8  d   QhR\         RR/# )rC   trD   N)r   )rE   s   "r=   rG   rG   [  s       4 r<   c                 R    \        V \        4      '       g   \        R V  24      hV sR# )zExpected Theme object, found N)
isinstancer   
ValueErrorr   )r  s   &r=   	set_themer  [  s)     a8<==Fr<   c                @    V ^8  d   Qh/ ^ \         9   d
   \        ;R&   # )rC   r   )__conditional_annotations__r   )rE   s   "r=   rG   rG      s    		 MEM 
r<   )F),r	  r   r   r   collections.abcr   r   r   dataclassesr   r   r   r   typingr   rY   rz   r
   setr   r   __dict__itemsattrr   
startswithaddsetattrrX   rA   r   r   r   r   r   r   r   r   default_themere   r   r  r  rG   )r	  s   @r=   <module>r     s   		 	 
 7 7 / / 	
1, 1,h U
<%%++-JD$??4  t$# .X'/738$ '/T $"| " "  $"\ " " $" " " $"| " " $,
 ,
 ,
^BF )9t )9X ((*+/  !	0 
- r<   