§
    HºiU  ã                   ó
  — d Z ddlmZmZ ddlZddlZ G d„ dej        j        ¦  «        Z	 G d„ dej
        j        ¦  «        Zded	e	fd
„Zdeded	e	fd„Zde	d	eeef         fd„Zdde	ded	efd„Ze	j        Ze	j        Ze	j        Ze	j        Ze	j        Ze	j        Ze	j        Ze	j        Ze	j        Ze	j        Ze	j        Ze	j        Ze	j         Z e	j!        Z!e	j"        Z"e	j#        Z#e	j$        Z$e	j%        Z%e	j&        Z&e	j'        Z'e	j(        Z(dS )zDNS Result Codes.é    )ÚTupleÚTypeNc                   ó    — e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZed„ ¦   «         Zedee         fd„¦   «         ZdS )ÚRcoder   é   é   é   é   é   é   é   é   é	   é
   é   é   é   é   é   é   é   é   é   c                 ó   — dS )Néÿ  © ©Úclss    úN/home/mmwave/public_html/mmwave/venv/lib/python3.11/site-packages/dns/rcode.pyÚ_maximumzRcode._maximumF   s   € àˆtó    Úreturnc                 ó   — t           S )N)ÚUnknownRcoder   s    r   Ú_unknown_exception_classzRcode._unknown_exception_classJ   s   € åÐr!   N)Ú__name__Ú
__module__Ú__qualname__ÚNOERRORÚFORMERRÚSERVFAILÚNXDOMAINÚNOTIMPÚREFUSEDÚYXDOMAINÚYXRRSETÚNXRRSETÚNOTAUTHÚNOTZONEÚ	DSOTYPENIÚBADVERSÚBADSIGÚBADKEYÚBADTIMEÚBADMODEÚBADNAMEÚBADALGÚBADTRUNCÚ	BADCOOKIEÚclassmethodr    r   Ú	Exceptionr%   r   r!   r   r   r      sÁ   € € € € € à€Gà€Gà€Hà€Hà€Fà€Gà€Hà€Gà€Gà€Gà€Gà€Ià€Gà€Fà€Fà€Gà€Gà€Gà€Fà€Hà€Iàðð ñ „[ðð ð¨¨i¬ð ð ð ñ „[ðð ð r!   r   c                   ó   — e Zd ZdZdS )r$   zA DNS rcode is unknown.N)r&   r'   r(   Ú__doc__r   r!   r   r$   r$   O   s   € € € € € Ø!Ð!Ð!Ð!r!   r$   Útextr"   c                 ó6   — t                                | ¦  «        S )zÖConvert text into an rcode.

    *text*, a ``str``, the textual rcode or an integer in textual form.

    Raises ``dns.rcode.UnknownRcode`` if the rcode mnemonic is unknown.

    Returns a ``dns.rcode.Rcode``.
    )r   Ú	from_text)rB   s    r   rD   rD   S   s   € õ �?Š?˜4Ñ Ô Ð r!   ÚflagsÚ	ednsflagsc                 óR   — | dz  |dz	  dz  z  }t                                |¦  «        S )z÷Return the rcode value encoded by flags and ednsflags.

    *flags*, an ``int``, the DNS flags field.

    *ednsflags*, an ``int``, the EDNS flags field.

    Raises ``ValueError`` if rcode is < 0 or > 4095

    Returns a ``dns.rcode.Rcode``.
    é   r   éð  )r   Úmake)rE   rF   Úvalues      r   Ú
from_flagsrL   `   s-   € ð �V‰^ ¨b¡°EÑ 9Ñ:€EÝ�:Š:�eÑÔÐr!   rK   c                 óZ   — | dk     s| dk    rt          d¦  «        ‚| dz  }| dz  dz  }||fS )zËReturn a (flags, ednsflags) tuple which encodes the rcode.

    *value*, a ``dns.rcode.Rcode``, the rcode.

    Raises ``ValueError`` if rcode is < 0 or > 4095.

    Returns an ``(int, int)`` tuple.
    r   r   zrcode must be >= 0 and <= 4095rH   rI   r   )Ú
ValueError)rK   ÚvÚevs      r   Úto_flagsrQ   p   sD   € ð ˆq‚y€y�E˜D’L�LÝÐ9Ñ:Ô:Ð:Ø�‰€AØ
�%‰-˜BÑ	€BØˆrˆ7€Nr!   FÚtsigc                 ó^   — |r| t           j        k    rdS t                                | ¦  «        S )z›Convert rcode into text.

    *value*, a ``dns.rcode.Rcode``, the rcode.

    Raises ``ValueError`` if rcode is < 0 or > 4095.

    Returns a ``str``.
    r6   )r   r5   Úto_text)rK   rR   s     r   rT   rT   �   s/   € ð ð ��œÒ&Ð&ØˆxÝ�=Š=˜ÑÔÐr!   )F))rA   Útypingr   r   Údns.enumÚdnsÚdns.exceptionÚenumÚIntEnumr   Ú	exceptionÚDNSExceptionr$   ÚstrrD   ÚintrL   rQ   ÚboolrT   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r   r!   r   ú<module>r`      sÕ  ðð$ Ð à Ð Ð Ð Ð Ð Ð Ð à €€€Ø Ð Ð Ð ð2ð 2ð 2ð 2ð 2ˆCŒHÔñ 2ô 2ð 2ðj"ð "ð "ð "ð "�3”=Ô-ñ "ô "ð "ð
!�Cð 
!˜Eð 
!ð 
!ð 
!ð 
!ð�cð  cð ¨eð ð ð ð ð �Eð ˜e C¨ Hœoð ð ð ð ð" ð  �5ð   ð  °ð  ð  ð  ð  ð" Œ-€Ø
Œ-€ØŒ>€ØŒ>€Ø	Œ€Ø
Œ-€ØŒ>€Ø
Œ-€Ø
Œ-€Ø
Œ-€Ø
Œ-€ØŒO€	Ø
Œ-€Ø	Œ€Ø	Œ€Ø
Œ-€Ø
Œ-€Ø
Œ-€Ø	Œ€ØŒ>€ØŒO€	€	€	r!   