
    Mh                     d    d Z ddlZddlmZmZ ddlmZmZmZm	Z	m
Z
mZ dgZ G d de          ZdS )z
    pygments.lexers.asc
    ~~~~~~~~~~~~~~~~~~~

    Lexer for various ASCII armored files.

    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    N)
RegexLexerbygroups)CommentGenericNameOperatorString
WhitespaceAscLexerc            	           e Zd ZdZdZddgZg dZg dZdZdZ	e
j        Zd	efd
ej        dfdefgd	efd eej        eee          fdej        dfdefgdZd ZdS )r   zf
    Lexer for ASCII armored files, containing `-----BEGIN/END ...-----` wrapped
    base64 data.
    zASCII armoredascpem)z*.ascz*.pemid_dsaid_ecdsaid_ecdsa_sk
id_ed25519id_ed25519_skid_rsa)zapplication/pgp-keyszapplication/pgp-encryptedzapplication/pgp-signaturez!application/pem-certificate-chainzhttps://www.openpgp.orgz2.10z\s+z^-----BEGIN [^\n]+-----$dataz\S+z^([^:]+)(:)([ \t]+)(.*)z^-----END [^\n]+-----$root)r   r   c                 4    t          j        d|           rdS d S )Nz^-----BEGIN [^\n]+-----\r?\nT)research)texts    S/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/pygments/lexers/asc.pyanalyse_textzAscLexer.analyse_text5   s&    94d;; 	4	 	    N)__name__
__module____qualname____doc__namealiases	filenames	mimetypesurlversion_addedr   	MULTILINEflagsr
   r   Headingr   r   r   	Attributer   r	   tokensr    r   r   r   r      s          DenG  IS S SI
#CMLE Z ('/6BW
 Z 'Xdnh
FCCE&@V
 F    r   )r!   r   pygments.lexerr   r   pygments.tokenr   r   r   r   r	   r
   __all__r   r-   r   r   <module>r1      s     
			 / / / / / / / / O O O O O O O O O O O O O O O O,% % % % %z % % % % %r   