1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Ë
ñúh    ãóv—dZddlZddlZddlZddlZddlmZddlmZddl    m
Z
ddl m Z gd¢e e«zZiZiZd„Zd    „Zd
„Zd „Zd „Zdd „Zd„ZGd„dej0«Zej4eZee«Zej<j?ej<«eej4e<e`e`e`e`y)z¿
    pygments.formatters
    ~~~~~~~~~~~~~~~~~~~
 
    Pygments formatters.
 
    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
éN)Úbasename)Ú
FORMATTERS)Úfind_plugin_formatters)Ú ClassNotFound)Úget_formatter_by_nameÚget_formatter_for_filenameÚget_all_formattersÚload_formatter_from_filecóƗ|tvrBtjtj|««x}t|<|j |«St|j |«S)zBReturn whether the supplied file name fn matches pattern filename.)Ú_pattern_cacheÚreÚcompileÚfnmatchÚ    translateÚmatch)ÚfnÚglobÚpatterns   ú[H:\Change_password\venv_build\Lib\site-packages\pip/_vendor/pygments/formatters/__init__.pyÚ _fn_matchesrsR€à ”>Ñ!Ü)+¯©´G×4EÑ4EÀdÓ4KÓ)LÐLˆ”. Ñ&؏}‰}˜RÓ Ð Ü ˜$Ñ × %Ñ % bÓ )Ð)ócó‚—t|dddg«}|jD]!}t||«}|t|j<Œ#y)z4Load a formatter (and all others in the module too).NÚ__all__)Ú
__import__rÚgetattrÚ_formatter_cacheÚname)Ú module_nameÚmodÚformatter_nameÚclss    rÚ_load_formattersr"$sB€ä
[ $¨¨y¨kÓ
:€CØŸ+™+ò)ˆÜc˜>Ó*ˆØ%(Ô˜Ÿ™Ò"ñ)rc#ó¸K—tj«D])}|dtvrt|d«t|d–—Œ+t    «D]    \}}|–—Œ y­w)z-Return a generator for all formatter classes.érN)rÚvaluesrr"r)ÚinfoÚ_Ú    formatters   rr    r    ,seèø€ô×!Ñ!Ó#ò(ˆØ ‰7Ô*Ñ *Ü ˜T !™WÔ %ܘt A™wÑ'Ó'ð(ô/Ó0ò‰ ˆˆ9Ø‹ñùs‚AAcóΗtj«D]*\}}}}}||vsŒ|tvr t|«t|cSt    «D]\}}||j
vsŒ|cSy)zALookup a formatter by alias.
 
    Returns None if not found.
    N)rr%rr"rÚaliases)Úaliasrrr*r'r!s      rÚfind_formatter_classr,7st€ô
-7×,=Ñ,=Ó,?ò*Ñ(ˆ T˜7 A qØ GÒ ØÔ+Ñ+Ü  Ô-Ü# DÑ)Ò )ð    *ô
)Ó*ò‰ˆˆ3Ø C—K‘KÒ ØŠJñrc óH—t|«}|€td|›«‚|di|¤ŽS)a
    Return an instance of a :class:`.Formatter` subclass that has `alias` in its
    aliases list. The formatter is given the `options` at its instantiation.
 
    Will raise :exc:`pygments.util.ClassNotFound` if no formatter with that
    alias is found.
    zno formatter found for name ©)r,r)Ú_aliasÚoptionsr!s   rrrFs2€ô ˜vÓ
&€CØ
€{ÜÐ:¸6¸*ÐEÓFÐFÙ ‰>‰>Ðrc óL—    i}t|d«5}t|j«|«ddd«||vrtd|›d|›«‚||}|di|¤ŽS#1swYŒ+xYw#t$r}td|›d|›«‚d}~wt$r‚t
$r}td|›«‚d}~wwxYw)    a#
    Return a `Formatter` subclass instance loaded from the provided file, relative
    to the current directory.
 
    The file is expected to contain a Formatter class named ``formattername``
    (by default, CustomFormatter). Users should be very careful with the input, because
    this method is equivalent to running ``eval()`` on the input file. The formatter is
    given the `options` at its instantiation.
 
    :exc:`pygments.util.ClassNotFound` is raised if there are any errors loading
    the formatter.
 
    .. versionadded:: 2.2
    ÚrbNz    no valid z class found in z cannot read z: z%error when loading custom formatter: r.)ÚopenÚexecÚreadrÚOSErrorÚ    Exception)ÚfilenameÚ formatternamer0Úcustom_namespaceÚfÚformatter_classÚerrs       rr
r
Ts΀ðKàÐÜ (˜DÓ !ð    - QÜ —‘“Ð+Ô ,÷    -ð Р0Ñ 0Ü )¨M¨?Ð:JÈ8È*РUÓVÐ VØ*¨=Ñ9ˆáÑ) Ñ)Ð)÷    -ð    -ûô ò>ܘl¨8¨*°B°s°eÐ<Ó=Ð=ûÜ òØ Ü òKÜÐCÀCÀ5ÐIÓJÐJûðKús9‚A!A«)A!ÁAÁA!Á!    B#Á*A;Á;B#ÂBÂB#c óX—t|«}tj«D]@\}}}}}|D]3}t||«sŒ|tvr t |«t    |di|¤ŽccSŒBt «D].\}}|jD]}t||«sŒ|di|¤ŽccSŒ0td|›«‚)a
    Return a :class:`.Formatter` subclass instance that has a filename pattern
    matching `fn`. The formatter is given the `options` at its instantiation.
 
    Will raise :exc:`pygments.util.ClassNotFound` if no formatter for that filename
    is found.
    z!no formatter found for file name r.)    rrr%rrr"rÚ    filenamesr)    rr0Úmodnamerr'r?r8Ú_namer!s             rrrvsÀô
"‹€BÜ*4×*;Ñ*;Ó*=ò9Ñ&ˆq˜) QØ!ò    9ˆHܘ2˜xÕ(ØÔ/Ñ/Ü$ WÔ-Ü'¨Ñ-Ñ8°Ñ8Ô8ñ        9ð9ô -Ó.ò&‰
ˆˆsØŸ ™ ò    &ˆHܘ2˜xÕ(Ù‘~˜W‘~Ô%ñ    &ð&ô Ð;¸B¸6ÐBÓ
CÐCrcó—eZdZdZd„Zy)Ú _automodulez Automatically import formatters.có˜—tj|«}|r)t|d«t|d}t    |||«|St |«‚)Nrr$)rÚgetr"rÚsetattrÚAttributeError)Úselfrr&r!s    rÚ __getattr__z_automodule.__getattr__sI€Ü~‰~˜dÓ#ˆÙ Ü ˜T !™WÔ %Ü" 4¨¡7Ñ+ˆCÜ D˜$ Ô $؈JܘTÓ"Ð"rN)Ú__name__Ú
__module__Ú __qualname__Ú__doc__rIr.rrrCrCŒs
„Ù*ó#rrC)ÚCustomFormatter) rMr ÚsysÚtypesrÚos.pathrÚ(pip._vendor.pygments.formatters._mappingrÚpip._vendor.pygments.pluginrÚpip._vendor.pygments.utilrÚlistrrr rr"r    r,rr
rÚ
ModuleTyperCÚmodulesrJÚoldmodÚnewmodÚ__dict__Úupdater.rrú<module>r\sÍðñó
Û
Û ÛÝå?Ý>Ý3ò =Ù?CÀJÓ?Oñ P€ðÐØ€ò*ò)òò ò óKòDDô,
#%×"Ñ"ô
#ð
‰XÑ    €Ù    XÓ    €Ø‡×ѐv—‘Ô'Ø€‡  ˆHÑØ
€M6= & *¨f©lr