
    )i                       S SK Jr  S SKrS SKrS SKr\R
                  S:  a.  S SKr\R
                  S:  a  \R                  rO\R                  rO\R                  rS SKJ	r	  \R                  " SSS9r\R                  " S	5      r\	R                  r      SS
 jr    SS jrSS jr\R
                  S:  a  \R"                  " SS9SS j5       rg\R"                  " SS9SS j5       rg)    )annotationsN)      )r   	   )declarative_asn1TT)	covariantUc                   [         R                  " 5       n[        U S5      (       a;  U R                  n[	        U[         R
                  5      (       d  [        SU 35      eU$ [         R                  " U 5      n[         R
                  " XB5      $ )N__asn1_root__zunsupported root type: )r   
Annotationhasattrr   
isinstanceAnnotatedType	TypeErrornon_root_python_to_rust)
field_type
field_name
annotationannotated_rootrust_field_types        ]/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/cryptography/hazmat/asn1/asn1.py_normalize_field_typer   !   sy     ",,.Jz?++#11.*:*H*HII5n5EFGG*BB:N))/FF    c                Z    0 nU R                  5        H  u  p#[        X25      nXAU'   M     U$ )N)itemsr   )
raw_fieldsfieldsr   r   annotated_field_types        r   _annotate_fieldsr    1   s;     F","2"2"4
  5ZL1z	 #5 Mr   c                    [        U SS9n[        R                  " [        R                  R	                  U [        U5      5      [        R                  " 5       5      n[        U SU5        g )NT)include_extrasr   )get_type_hintsr   r   TypeSequencer    r   setattr)clsr   roots      r   _register_asn1_sequencer)   >   sT    D9J))&&s,<Z,HI##%D
 C$'r   )kw_only_defaultc                    [         R                  S:  a  [        R                  " SSSSS9" U 5      nO[        R                  " SSS9" U 5      n[	        U5        U$ )N)r   
   FTrepreq
match_argskw_only)r.   r/   )sysversion_infodataclasses	dataclassr)   r'   dataclass_clss     r   sequencer8   P   sn     w&'11 ! 	 	M (11 M 	 .r   c                V    [         R                  " SSSSS9" U 5      n[        U5        U$ )NFTr-   )r4   r5   r)   r6   s     r   r8   r8   i   s:     $--	

  	 .r   )r   z
typing.Anyr   strreturnzdeclarative_asn1.AnnotatedType)r   zdict[str, type]r;   z)dict[str, declarative_asn1.AnnotatedType])r'   type[U]r;   None)r'   r<   r;   r<   )
__future__r   r4   r2   typingr3   typing_extensionsr#   "cryptography.hazmat.bindings._rustr   TypeVarr   r
   
encode_derr   r    r)   dataclass_transformr8    r   r   <module>rF      s  
 #  
 g
 & *99..**N ?
NN3$'
NN3 ((
GG(+G#G 

.
(  g**4@ A0 5
 6
r   