
    g
                     6    d Z dZdZdZdZd Zd Zd Zd Zd	 Z	y
)a  
    pygments.plugin
    ~~~~~~~~~~~~~~~

    Pygments plugin interface. By default, this tries to use
    ``importlib.metadata``, which is in the Python standard
    library since Python 3.8, or its ``importlib_metadata``
    backport for earlier versions of Python. It falls back on
    ``pkg_resources`` if not found. Finally, if ``pkg_resources``
    is not found either, no plugins are loaded at all.

    lexer plugins::

        [pygments.lexers]
        yourlexer = yourmodule:YourLexer

    formatter plugins::

        [pygments.formatters]
        yourformatter = yourformatter:YourFormatter
        /.ext = yourformatter:YourFormatter

    As you can see, you can define extensions for the formatter
    with a leading slash.

    syntax plugins::

        [pygments.styles]
        yourstyle = yourstyle:YourStyle

    filter plugin::

        [pygments.filter]
        yourfilter = yourfilter:YourFilter


    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
zpygments.lexerszpygments.formatterszpygments.styleszpygments.filtersc                 "   	 ddl m}  |       }t        |d      r|j                  |       S |j                  | g       S # t        $ rF 	 ddlm} n;# t        $ r/ 	 ddlm}  ||       cY cY S # t        t        f$ r	 g cY cY cY S w xY ww xY wY w xY w)N    )entry_points)iter_entry_pointsselect)group)
importlib.metadatar   ImportErrorimportlib_metadatapip._vendor.pkg_resourcesr   OSErrorhasattrr   get)
group_namer   r   groupss       N/var/www/html/venv/lib/python3.12/site-packages/pip/_vendor/pygments/plugin.pyr   r   /   s    53 ^Fvx  }}:}.. zz*b))%  	5	57 	55G )44  ) 		5 8	5sW   ? 	B	AB	BA, B(B,B=B?BBBBBc               #   X   K   t        t              D ]  } | j                           y wN)r   LEXER_ENTRY_POINTload
entrypoints    r   find_plugin_lexersr   G   s(     '(9:  
oo s   (*c               #   p   K   t        t              D ]   } | j                  | j                         f " y wr   )r   FORMATTER_ENTRY_POINTnamer   r   s    r   find_plugin_formattersr   L   s1     '(=> 1
ooz0001   46c               #   p   K   t        t              D ]   } | j                  | j                         f " y wr   )r   STYLE_ENTRY_POINTr   r   r   s    r   find_plugin_stylesr    Q   s1     '(9: 1
ooz0001r   c               #   p   K   t        t              D ]   } | j                  | j                         f " y wr   )r   FILTER_ENTRY_POINTr   r   r   s    r   find_plugin_filtersr#   V   s1     '(:; 1
ooz0001r   N)
__doc__r   r   r   r"   r   r   r   r    r#        r   <module>r'      s>   &P & - % ' *0 
1
1
1r&   