Ë
    Q5ýj�W  ã                   ó(  — d Z ddlZddlZddlZddlZddlmZ ddlmZm	Z	 ddl
ZddlZddlZddlZddlZddlZddlZddlZddlmZ ej*                  j,                  Z G d„ dej0                  j2                  «      Z G d„ d	ej0                  j2                  «      Z ej8                  d
¬«       G d„ dej:                  j<                  «      «       Zde de!fd„Z" G d„ dej*                  j,                  «      Z#ejH                  jH                   G d„ de#«      «       Z%	 	 	 	 d#dejL                  jN                  e z  dejP                  jR                  e z  de!dee    dejT                  jV                  dz  dejT                  jX                  dz  de-dejT                  jX                  dz  de#fd„Z.dejL                  jN                  e z  dejP                  jR                  e z  de!dede#f
d„Z/de!d eej:                  j`                     de#fd!„Z1de!d ede#fd"„Z2y)$zHDNS rdatasets (an rdataset is a set of rdatas of a given type and class)é    N)Ú
Collection)ÚAnyÚcast)Úprefixed_lengthc                   ó   — e Zd ZdZy)ÚDifferingCoversz~An attempt was made to add a DNS SIG/RRSIG whose covered type
    is not the same as that of the other rdatas in the rdataset.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    úF/root/telegram-saas/.venv/lib/python3.12/site-packages/dns/rdataset.pyr   r   )   s   „ òDr   r   c                   ó   — e Zd ZdZy)ÚIncompatibleTypesz?An attempt was made to add DNS RR data of an incompatible type.Nr	   r   r   r   r   r   .   s   „ ÚIr   r   T)Úfrozenc                   óî   — e Zd ZU dZdZej                  j                  dz  ed<   dZ	e
ed<   dZe
ed<   dZe
ed<   dZe
ed<   dZe
ed	<   dZe
ed
<   dZedz  ed<   dZeed<   dZeed<   dZeed<   dZeed<   y)ÚRdatasetStylea³
  Rdataset text styles

    An ``RdatasetStyle`` is also a :py:class:`dns.name.NameStyle` and a
    :py:class:`dns.rdata.RdataStyle`.  See those classes
    for a description of their options.

    .. attribute:: override_rdclass

        A :py:class:`dns.rdataclass.RdataClass` or ``None``. If not ``None``,
        use this class instead of the Rdataset's class.

    .. attribute:: want_comments

        A ``bool``. If ``True``, emit comments for rdata which have them.
        The default is ``False``.

    .. attribute:: omit_rdclass

        A ``bool``. If ``True``, do not print the RdataClass. The default is
        ``False``.

    .. attribute:: omit_ttl

        A ``bool``. If ``True``, do not print the TTL. The default is
        ``False``. Use of this option may lose information.

    .. attribute:: want_generic

        A ``bool``. If ``True``, print RdataClass, RdataType, and Rdatas in
        the generic format (the "unknown rdata format"). The default is
        ``False``.

    .. attribute:: deduplicate_names

        A ``bool``. If ``True``, print whitespace instead of the owner name
        when the owner name of an RR is the same as the prior RR's owner name.
        The default is ``False``.

    .. attribute:: first_name_is_duplicate

        A ``bool``. If ``True``, consider the first owner name of the rdataset
        as a duplicate too, emitting whitespace for it as well. Useful when
        emitting a Node of multiple rdatasets and the current rdataset is not
        the first. The default is ``False``.

    .. attribute:: default_ttl

        An ``int`` or ``None``. If ``None`` (the default), there is no default
        TTL. If an integer is specified, any TTL matching that value will be
        omitted. When emitting a zonefile, a value other than ``None`` will
        cause a ``$TTL`` directive to be emitted.

    .. attribute:: name_just

        An ``int``. The owner name field justification. Negative values are
        left-justified, positive values are right-justified. Zero (the default)
        means no justification.

    .. attribute:: ttl_just

        An ``int``. The TTL field justification. Negative values are
        left-justified, positive values are right-justified. Zero (the default)
        means no justification.

    .. attribute:: rdclass_just

        An ``int``. The RdataClass field justification. Negative values are
        left-justified, positive values are right-justified. Zero (the default)
        means no justification.

    .. attribute:: rdtype_just

        An ``int``. The RdataType field justification. Negative values are
        left-justified, positive values are right-justified. Zero (the default)
        means no justification.
    NÚoverride_rdclassFÚwant_commentsÚomit_rdclassÚomit_ttlÚwant_genericÚdeduplicate_namesÚfirst_name_is_duplicateÚdefault_ttlr   Ú	name_justÚttl_justÚrdclass_justÚrdtype_just)r
   r   r   r   r   ÚdnsÚ
rdataclassÚ
RdataClassÚ__annotations__r   Úboolr   r   r   r   r   r   Úintr   r   r    r!   r   r   r   r   r   2   s™   … ñKðZ :>Ð�c—n‘n×/Ñ/°$Ñ6Ó=Ø€M�4ÓØ€L�$ÓØ€HˆdÓØ€L�$ÓØ#Ð�tÓ#Ø$)Ð˜TÓ)Ø"€K��t‘Ó"Ø€IˆsÓØ€HˆcÓØ€L�#ÓØ€K�Ôr   r   ÚtextÚamountc                 ód   — |dk(  r| S |dk  r| j                  d|z  «      S | j                  |«      S )Nr   éÿÿÿÿ)ÚljustÚrjust)r(   r)   s     r   Újustifyr.   �   s7   € Ø�‚{ØˆØ�‚zØ�z‰z˜"˜v™+Ó&Ð&à�z‰z˜&Ó!Ð!r   c                   ó:  ‡ — e Zd ZdZg d¢Zej                  j                  dfdej                  j                  dej                  j                  dej                  j                  defˆ fd„Zˆ fd	„Zded
dfd„Zd&dej                  j                   dedz  d
dfˆ fd„Zˆ fd„Zˆ fd„Zˆ fd„Zd„ Zd„ Zd„ Zˆ fd„Zd„ Z	 	 	 	 	 	 d'dej4                  j6                  dz  dej4                  j6                  dz  dedej                  j                  dz  dededz  ded
efd„Z 	 d&dedej4                  j6                  dz  d
efd„Z!	 	 	 	 d(dej4                  j6                  d ed!ej4                  jD                  dz  dej4                  j6                  dz  dej                  j                  dz  d"ed
efd#„Z#dej                  j                  dej                  j                  dej                  j                  d
efd$„Z$d
e%ej                  j                      fd%„Z&ˆ xZ'S ))ÚRdatasetzA DNS rdataset.)ÚrdclassÚrdtypeÚcoversÚttlr   r1   r2   r3   r4   c                 óZ   •— t         ‰| �  «        || _        || _        || _        || _        y)a¡  Create a new rdataset of the specified class and type.

        :param rdclass: The rdataclass.
        :type rdclass: :py:class:`dns.rdataclass.RdataClass`
        :param rdtype: The rdatatype.
        :type rdtype: :py:class:`dns.rdatatype.RdataType`
        :param covers: The covered rdatatype.
        :type covers: :py:class:`dns.rdatatype.RdataType`
        :param ttl: The TTL.
        :type ttl: int
        N)ÚsuperÚ__init__r1   r2   r3   r4   )Úselfr1   r2   r3   r4   Ú	__class__s        €r   r7   zRdataset.__init__�   s,   ø€ ô& 	‰ÑÔØˆŒØ/5ˆŒØ/5ˆŒØˆ�r   c                 óÈ   •— t        t        t        ‰| �  «       «      }| j                  |_        | j
                  |_        | j                  |_        | j                  |_        |S ©N)r   r0   r6   Ú_cloner1   r2   r3   r4   )r8   Úobjr9   s     €r   r<   zRdataset._clone¶   sG   ø€ Ü”8œU™W™^Ó-Ó.ˆØ—l‘lˆŒØ—[‘[ˆŒ
Ø—[‘[ˆŒ
Ø—(‘(ˆŒØˆ
r   ÚreturnNc                 óœ   — t         j                  j                  |«      }t        | «      dk(  r|| _        y|| j                  k  r|| _        yy)a%  Perform TTL minimization.

        Set the TTL of the rdataset to be the lesser of the set's current
        TTL or the specified TTL.  If the set contains no rdatas, set the TTL
        to the specified TTL.

        :param ttl: The candidate TTL value.
        :type ttl: int or str
        r   N)r"   r4   ÚmakeÚlen©r8   r4   s     r   Ú
update_ttlzRdataset.update_ttl¾   s?   € ô �g‰g�l‰l˜3ÓˆÜˆt‹9˜Š>ØˆD�HØ�4—8‘8Š^ØˆD�Hð r   Úrdc                 ó¨  •— | j                   |j                   k7  s| j                  |j                  k7  rt        ‚|�| j                  |«       | j                  t        j
                  j                  k(  s'| j                  t        j
                  j                  k(  rb|j                  «       }t        | «      dk(  r/| j                  t        j
                  j                  k(  r|| _        n| j                  |k7  rt        ‚t        j
                  j                  |j                  «      rt        | «      dkD  r| j                  «        t        ‰| �=  |«       y)ab  Add the specified rdata to the rdataset.

        If the optional *ttl* parameter is supplied, then
        ``self.update_ttl(ttl)`` will be called prior to adding the rdata.

        :param rd: The rdata to add.
        :type rd: :py:class:`dns.rdata.Rdata`
        :param ttl: The TTL.
        :type ttl: int or ``None``
        :raises dns.rdataset.IncompatibleTypes: If the type and class do not
            match the type and class of the rdataset.
        :raises dns.rdataset.DifferingCovers: If the type is a signature type
            and the covered type does not match that of the rdataset.
        Nr   )r1   r2   r   rC   r"   Ú	rdatatypeÚRRSIGÚSIGr3   rA   ÚNONEr   Úis_singletonÚclearr6   Úadd)r8   rD   r4   r3   r9   s       €r   rL   zRdataset.addÏ   sÞ   ø€ ð, �<‰<˜2Ÿ:™:Ò%¨¯©¸¿	¹	Ò)AÜ#Ð#Øˆ?Ø�O‰O˜CÔ Ø�;‰;œ#Ÿ-™-×-Ñ-Ò-°·±ÄÇÁ×@QÑ@QÒ1QØ—Y‘Y“[ˆFÜ�4‹y˜AŠ~ $§+¡+´·±×1CÑ1CÒ"CØ$�•Ø—‘ Ò&Ü%Ð%Ü�=‰=×%Ñ% b§i¡iÔ0´S¸³YÀ²]Ø�J‰JŒLÜ‰‰�B�r   c                 óZ   •— | j                  |j                  «       t        ‰| �  |«       y r;   )rC   r4   r6   Úunion_update©r8   Úotherr9   s     €r   rN   zRdataset.union_updateó   s    ø€ Ø�‰˜Ÿ	™	Ô"Ü‰Ñ˜UÕ#r   c                 óZ   •— | j                  |j                  «       t        ‰| �  |«       y r;   )rC   r4   r6   Úintersection_updaterO   s     €r   rR   zRdataset.intersection_update÷   s    ø€ Ø�‰˜Ÿ	™	Ô"Ü‰Ñ# EÕ*r   c                 óZ   •— | j                  |j                  «       t        ‰| �  |«       y)zšAdd all rdatas in other to self.

        :param other: The rdataset from which to update.
        :type other: :py:class:`dns.rdataset.Rdataset`
        N)rC   r4   r6   ÚupdaterO   s     €r   rT   zRdataset.updateû   s!   ø€ ð 	�‰˜Ÿ	™	Ô"Ü‰‰�uÕr   c                 óJ   ‡— d„ Šddj                  ˆfd„| D «       «      z   dz   S )Nc                 ó2   — t        | «      dkD  r| d d dz   S | S )Néd   z...)rA   )Úss    r   Úmaybe_truncatez,Rdataset._rdata_repr.<locals>.maybe_truncate  s"   € Ü�1‹v˜Š|Ø˜˜#�w ‘Ð&ØˆHr   ú[z, c              3   óH   •K  — | ]  }d  ‰t        |«      «      › d�–— Œ y­w)ú<ú>N)Ústr)Ú.0ÚrrrY   s     €r   ú	<genexpr>z'Rdataset._rdata_repr.<locals>.<genexpr>  s$   øè ø€ ÒMÀ" ¡>´#°b³'Ó#:Ð";¸1Ô=ÑMùs   ƒ"ú])Újoin)r8   rY   s    @r   Ú_rdata_reprzRdataset._rdata_repr  s*   ø€ ò	ð
 �T—Y‘YÓMÈÔMÓMÑMÐPSÑSÐSr   c                 ój  — | j                   dk(  rd}n/dt        j                  j                  | j                   «      z   dz   }dt        j                  j                  | j
                  «      z   dz   t        j                  j                  | j                  «      z   |z   dz   | j                  «       z   dz   S )	Nr   Ú ú(ú)z<DNS ú z rdataset: r]   )r3   r"   rF   Úto_textr#   r1   r2   rd   )r8   Úctexts     r   Ú__repr__zRdataset.__repr__  s®   € Ø�;‰;˜!ÒØ‰Eàœ#Ÿ-™-×/Ñ/°·±Ó<Ñ<¸sÑBˆEàÜ�n‰n×$Ñ$ T§\¡\Ó2ñ3àñô �m‰m×#Ñ# D§K¡KÓ0ñ1ð ñ	ð
 ñð ×ÑÓ ñ!ð ñð		
r   c                 ó"   — | j                  «       S r;   )rj   ©r8   s    r   Ú__str__zRdataset.__str__  s   € Ø�|‰|‹~Ðr   c                 óÜ   •— t        |t        «      sy| j                  |j                  k7  s2| j                  |j                  k7  s| j                  |j                  k7  ryt
        ‰| �  |«      S )NF)Ú
isinstancer0   r1   r2   r3   r6   Ú__eq__rO   s     €r   rr   zRdataset.__eq__   sR   ø€ Ü˜%¤Ô*Øà�L‰L˜EŸM™MÒ)Ø�{‰{˜eŸl™lÒ*Ø�{‰{˜eŸl™lÒ*àÜ‰w‰~˜eÓ$Ð$r   c                 ó&   — | j                  |«       S r;   )rr   ©r8   rP   s     r   Ú__ne__zRdataset.__ne__+  s   € Ø—;‘;˜uÓ%Ð%Ð%r   ÚnameÚoriginÚ
relativizer   r   ÚstyleÚkwc                 óœ   — |€9|j                  «       }||d<   ||d<   ||d<   ||d<   t        j                  |«      }| j                  ||«      S )aœ  Convert the rdataset into DNS zone file format.

        See ``dns.name.Name.choose_relativity`` for more information
        on how *origin* and *relativize* determine the way names
        are emitted.

        Any additional keyword arguments are passed on to the rdata
        ``to_text()`` method.

        :param name: If not ``None``, emit RRs with this as the owner name.
        :type name: :py:class:`dns.name.Name` or ``None``
        :param origin: The origin for relative names.
        :type origin: :py:class:`dns.name.Name` or ``None``
        :param relativize: If ``True``, names will be relativized to *origin*.
        :type relativize: bool
        :param override_rdclass: If not ``None``, emit records as if they were
            of this class.
        :type override_rdclass: :py:class:`dns.rdataclass.RdataClass` or ``None``
        :param want_comments: If ``True``, emit comments for rdata which have
            them. The default is ``False``.
        :type want_comments: bool
        :param style: If specified, overrides the other parameters except
            *name*.
        :type style: :py:class:`dns.rdataset.RdatasetStyle` or ``None``
        rw   rx   r   r   )Úcopyr   Úfrom_keywordsÚto_styled_text)r8   rv   rw   rx   r   r   ry   rz   s           r   rj   zRdataset.to_text.  s`   € ðF ˆ=Ø—‘“ˆBØ!ˆBˆx‰LØ)ˆBˆ|ÑØ%5ˆBÐ!Ñ"Ø"/ˆBˆÑÜ!×/Ñ/°Ó3ˆEØ×"Ñ" 5¨$Ó/Ð/r   c                 óþ  — |�F|j                   r|j                  rd}n|j                  |«      › d�}t        ||j                  «      }nd}t        j                  «       }|j                  �|j                  }n| j                  }|j                  rd}n5|j                  rd|› d�}n"t        j                  j                  |«      › d�}t        ||j                  «      }|j                  rd| j                  › �}n*t        j                   j                  | j                  «      › }t        ||j"                  «      }t%        | «      dk(  r|j'                  |› |› |› d�«       �n
|j(                  s%|j*                  �| j,                  |j*                  k(  rd}n| j,                  › d�}t        ||j.                  «      }| D ]¬  }	d}
|j0                  r|	j2                  rd	|	j2                  › �}
|j                  r |	j5                  «       j                  |«      }n|	j                  |«      }|j'                  |› |› |› |› d|› |
› d�«       |j                   sŒ•d}t        ||j                  «      }Œ® |j7                  «       dd
 S )z³Convert the rdataset into styled text format.

        See the documentation for :py:class:`dns.rdataset.RdatasetStyle` for a description
        of the style parameters.
        Nz    ri   rf   ÚCLASSÚTYPEr   ú
z ;r+   )r   r   r~   r.   r   ÚioÚStringIOr   r1   r   r   r"   r#   rj   r    r2   rF   r!   rA   Úwriter   r   r4   r   r   Ú	rdcommentÚ
to_genericÚgetvalue)r8   ry   rv   ÚntextrX   r1   Úrdclass_textÚrdtype_textr4   rD   ÚextraÚ
rdata_texts               r   r~   zRdataset.to_styled_textZ  sF  € ð ÐØ×&Ò&¨5×+HÒ+HØ‘à×.Ñ.¨uÓ5Ð6°aÐ8�Ü˜E 5§?¡?Ó3‰EàˆEÜ�K‰K‹MˆØ×!Ñ!Ð-Ø×,Ñ,‰Gà—l‘lˆGØ×ÒØ‰LØ×ÒØ" 7 )¨1Ð-‰Lä!Ÿn™n×4Ñ4°WÓ=Ð>¸aÐ@ˆLÜ˜|¨U×-?Ñ-?Ó@ˆØ×ÒØ  §¡ Ð.‰Kä Ÿ]™]×2Ñ2°4·;±;Ó?Ð@ˆKÜ˜k¨5×+<Ñ+<Ó=ˆÜˆt‹9˜Š>ð �G‰G�u�g˜l˜^¨K¨=¸Ð;Ö<à�~Š~Ø×!Ñ!Ð-°$·(±(¸e×>OÑ>OÒ2Oà‘àŸ™˜
 !�n�Ü˜#˜uŸ~™~Ó.ˆCØò <�Ø�Ø×&Ò&Ø—|’|Ø"$ R§\¡\ NÐ 3˜Ø×%Ò%Ø!#§¡£×!?Ñ!?ÀÓ!F‘Jà!#×!2Ñ!2°5Ó!9�JØ—‘Ø�g˜c˜U < .°°¸Q¸z¸lÈ5È'ÐQSÐTôð ×*Ó*Ø"�EÜ# E¨5¯?©?Ó;‘Eð<ð& �z‰z‹|˜C˜RÐ Ð r   ÚfileÚcompressÚwant_shufflec           	      óB  — |�|}d}n| j                   }t        | «      dk(  rF|j                  |||«       |j                  t	        j
                  d| j                  |dd«      «       y|r!t        | «      }t        j                  |«       n| }|D ]x  }	|j                  |||«       |j                  t	        j
                  d| j                  || j                  «      «       t        |d«      5  |	j                  |||«       ddd«       Œz t        | «      S # 1 sw Y   Œ�xY w)aú  Convert the rdataset to wire format.

        :param name: The owner name to use.
        :type name: :py:class:`dns.name.Name`
        :param file: The file where the name is emitted (typically a
            ``BytesIO`` file).
        :param compress: The compression table to use. If ``None`` (the
            default), names will not be compressed.
        :type compress: dict or ``None``
        :param origin: If the name is relative and *origin* is not ``None``,
            *origin* will be appended to it.
        :type origin: :py:class:`dns.name.Name` or ``None``
        :param override_rdclass: If not ``None``, used as the class instead of
            the class of the rdataset. Useful for dynamic update rendering.
        :type override_rdclass: int or ``None``
        :param want_shuffle: If ``True``, the order of Rdatas within the
            Rdataset will be shuffled before rendering.
        :type want_shuffle: bool

        :returns: The number of records emitted.
        :rtype: int
        NFr   z!HHIHé   z!HHIé   )r1   rA   Úto_wirer…   ÚstructÚpackr2   ÚlistÚrandomÚshuffler4   r   )
r8   rv   rŽ   r�   rw   r   r�   r1   ÚlrD   s
             r   r”   zRdataset.to_wireŸ  sþ   € ð@ Ð'Ø&ˆGØ ‰Là—l‘lˆGÜˆt‹9˜Š>Ø�L‰L˜˜x¨Ô0Ø�J‰J”v—{‘{ 7¨D¯K©K¸À!ÀQÓGÔHØñ Ü˜“J�Ü—‘˜qÕ!à�Øò 7�Ø—‘˜T 8¨VÔ4Ø—
‘
œ6Ÿ;™; v¨t¯{©{¸GÀTÇXÁXÓNÔOÜ$ T¨1Ó-ñ 7Ø—J‘J˜t X¨vÔ6÷7ð 7ð7ô
 �t“9Ð÷7ð 7ús   Ã,DÄD	c                 ó`   — | j                   |k(  r| j                  |k(  r| j                  |k(  ryy)zaReturns ``True`` if this rdataset matches the specified class,
        type, and covers.
        TF)r1   r2   r3   )r8   r1   r2   r3   s       r   ÚmatchzRdataset.matchÖ  s-   € ð �<‰<˜7Ò" t§{¡{°fÒ'<ÀÇÁÐPVÒAVØØr   c                 ó\   — t        | «      dk(  rg S | d   j                  t        | «      «      S )aT  Return rdatas in a valid processing order according to the type's
        specification.  For example, MX records are in preference order from
        lowest to highest preferences, with items of the same preference
        shuffled.

        For types that do not define a processing order, the rdatas are
        simply shuffled.
        r   )rA   Ú_processing_orderÚiterrn   s    r   Úprocessing_orderzRdataset.processing_orderã  s-   € ô ˆt‹9˜Š>ØˆIà˜‘7×,Ñ,¬T°$«ZÓ8Ð8r   r;   )NNTNFN)NNNT)(r
   r   r   r   Ú	__slots__r"   rF   rI   r#   r$   Ú	RdataTyper'   r7   r<   rC   ÚrdataÚRdatarL   rN   rR   rT   rd   rl   ro   rr   ru   rv   ÚNamer&   r   r   r^   rj   r~   ÚCompressTyper”   rœ   r—   r    Ú__classcell__©r9   s   @r   r0   r0   ˜   s‡  ø„ Ùâ6€Ið +.¯-©-×*<Ñ*<Øñà—‘×*Ñ*ðð —‘×'Ñ'ðð —‘×'Ñ'ð	ð
 õô2ð˜cð  dó ñ""�c—i‘i—o‘oð "¨C°$©Jð "À$õ "ôH$ô+ôòTò
ò ô	%ò&ð
 &*Ø'+ØØ=AØ#Ø&*ñ*0à�h‰h�m‰m˜dÑ"ð*0ð —‘—‘ Ñ$ð*0ð ð	*0ð
 Ÿ.™.×3Ñ3°dÑ:ð*0ð ð*0ð ˜tÑ#ð*0ð ð*0ð 
ó*0ðZ BFñC!Ø"ðC!Ø*-¯(©(¯-©-¸$Ñ*>ðC!à	óC!ðR 26Ø'+Ø=AØ!ñ5à�h‰h�m‰mð5ð ð5ð —(‘(×'Ñ'¨$Ñ.ð	5ð
 —‘—‘ Ñ$ð5ð Ÿ.™.×3Ñ3°dÑ:ð5ð ð5ð 
ó5ðnà—‘×*Ñ*ðð —‘×'Ñ'ðð —‘×'Ñ'ð	ð
 
óð9 $ s§y¡y§¡Ñ"7÷ 9r   r0   c                   ó¬   ‡ — e Zd ZdZeZdefˆ fd„Zd„ Zdd„Zd„ Z	d„ Z
d„ Zd	„ Zd
„ Zd„ Zd„ Zd„ Zd„ Zˆ fd„Zˆ fd„Zˆ fd„Zˆ fd„Zˆ fd„Zˆ fd„Zˆ xZS )ÚImmutableRdatasetzAn immutable DNS rdataset.Úrdatasetc                 óÖ   •— t         ‰| �  |j                  |j                  |j                  |j
                  «       t        j                  j                  |j                  «      | _	        y)z9Create an immutable rdataset from the specified rdataset.N)
r6   r7   r1   r2   r3   r4   r"   Ú	immutableÚDictÚitems)r8   r«   r9   s     €r   r7   zImmutableRdataset.__init__ø  sI   ø€ ô 	‰ÑØ×Ñ˜hŸo™o¨x¯©ÀÇÁô	
ô —]‘]×'Ñ'¨¯©Ó7ˆ�
r   c                 ó   — t        d«      ‚©Nr­   ©Ú	TypeErrorrB   s     r   rC   zImmutableRdataset.update_ttl   ó   € Ü˜Ó$Ð$r   c                 ó   — t        d«      ‚r±   r²   )r8   rD   r4   s      r   rL   zImmutableRdataset.add  r´   r   c                 ó   — t        d«      ‚r±   r²   rt   s     r   rN   zImmutableRdataset.union_update  r´   r   c                 ó   — t        d«      ‚r±   r²   rt   s     r   rR   z%ImmutableRdataset.intersection_update	  r´   r   c                 ó   — t        d«      ‚r±   r²   rt   s     r   rT   zImmutableRdataset.update  r´   r   c                 ó   — t        d«      ‚r±   r²   )r8   Úis     r   Ú__delitem__zImmutableRdataset.__delitem__  r´   r   c                 ó   — t        d«      ‚r±   r²   rt   s     r   Ú__ior__zImmutableRdataset.__ior__  r´   r   c                 ó   — t        d«      ‚r±   r²   rt   s     r   Ú__iand__zImmutableRdataset.__iand__  r´   r   c                 ó   — t        d«      ‚r±   r²   rt   s     r   Ú__iadd__zImmutableRdataset.__iadd__  r´   r   c                 ó   — t        d«      ‚r±   r²   rt   s     r   Ú__isub__zImmutableRdataset.__isub__  r´   r   c                 ó   — t        d«      ‚r±   r²   rn   s    r   rK   zImmutableRdataset.clear"  r´   r   c                 ó2   •— t        t        ‰| �	  «       «      S r;   ©rª   r6   r|   ©r8   r9   s    €r   Ú__copy__zImmutableRdataset.__copy__%  ó   ø€ Ü ¤¡¡£Ó0Ð0r   c                 ó2   •— t        t        ‰| �	  «       «      S r;   rÆ   rÇ   s    €r   r|   zImmutableRdataset.copy(  rÉ   r   c                 ó4   •— t        t        ‰| �	  |«      «      S r;   )rª   r6   ÚunionrO   s     €r   rÌ   zImmutableRdataset.union+  s   ø€ Ü ¤¡¡¨uÓ!5Ó6Ð6r   c                 ó4   •— t        t        ‰| �	  |«      «      S r;   )rª   r6   ÚintersectionrO   s     €r   rÎ   zImmutableRdataset.intersection.  s   ø€ Ü ¤¡Ñ!5°eÓ!<Ó=Ð=r   c                 ó4   •— t        t        ‰| �	  |«      «      S r;   )rª   r6   Ú
differencerO   s     €r   rÐ   zImmutableRdataset.difference1  s   ø€ Ü ¤¡Ñ!3°EÓ!:Ó;Ð;r   c                 ó4   •— t        t        ‰| �	  |«      «      S r;   )rª   r6   Úsymmetric_differencerO   s     €r   rÒ   z&ImmutableRdataset.symmetric_difference4  s   ø€ Ü ¤¡Ñ!=¸eÓ!DÓEÐEr   r;   )r
   r   r   r   r0   Ú_clone_classr7   rC   rL   rN   rR   rT   r»   r½   r¿   rÁ   rÃ   rK   rÈ   r|   rÌ   rÎ   rÐ   rÒ   r§   r¨   s   @r   rª   rª   ò  ss   ø„ á$à€Lð8 õ 8ò%ó%ò%ò%ò%ò%ò%ò%ò%ò%ò%ô1ô1ô7ô>ô<÷Fð Fr   rª   r1   r2   r4   Útext_rdatasÚ
idna_codecrw   rx   Úrelativize_tor>   c           
      ó†  — t         j                  j                  j                  | «      } t         j                  j
                  j                  |«      }t        | |«      }|j                  |«       |D ]L  }	t         j                  j                  |j                  |j                  |	||||«      }
|j                  |
«       ŒN |S )aß  Create an rdataset with the specified class, type, and TTL, and with
    the specified list of rdatas in text format.

    :param idna_codec: Specifies the IDNA encoder/decoder. If ``None``, the
        default IDNA 2003 encoder/decoder is used.
    :type idna_codec: :py:class:`dns.name.IDNACodec` or ``None``
    :param origin: The origin to use for relative names.
    :type origin: :py:class:`dns.name.Name` or ``None``
    :param relativize: If ``True``, names will be relativized.
    :type relativize: bool
    :param relativize_to: The origin to use when relativizing names. If not
        set, *origin* is used.
    :type relativize_to: :py:class:`dns.name.Name` or ``None``

    :rtype: :py:class:`dns.rdataset.Rdataset`
    )r"   r#   r$   r@   rF   r¢   r0   rC   r£   Ú	from_textr1   r2   rL   )r1   r2   r4   rÔ   rÕ   rw   rx   rÖ   ÚrÚtrD   s              r   Úfrom_text_listrÛ   8  sž   € ô6 �n‰n×'Ñ'×,Ñ,¨WÓ5€GÜ�]‰]×$Ñ$×)Ñ)¨&Ó1€FÜ�˜&Ó!€AØ‡L�L�ÔØò ˆÜ�Y‰Y× Ñ Ø�I‰I�q—x‘x  F¨J¸Àzó
ˆð 	
�‰ˆb�	ð	ð
 €Hr   c           	      óH   — t        | ||t        t        t           |«      «      S )z¡Create an rdataset with the specified class, type, and TTL, and with
    the specified rdatas in text format.

    :rtype: :py:class:`dns.rdataset.Rdataset`
    )rÛ   r   r   r^   )r1   r2   r4   rÔ   s       r   rØ   rØ   _  s    € ô ˜' 6¨3´´ZÄ±_ÀkÓ0RÓSÐSr   Úrdatasc                 óÚ   — t        |«      dk(  rt        d«      ‚d}|D ]F  }|€1t        |j                  |j                  «      }|j                  | «       |j                  |«       ŒH |€J ‚|S )z�Create an rdataset with the specified TTL, and with
    the specified list of rdata objects.

    :rtype: :py:class:`dns.rdataset.Rdataset`
    r   zrdata list must not be emptyN)rA   Ú
ValueErrorr0   r1   r2   rC   rL   )r4   rÝ   rÙ   rD   s       r   Úfrom_rdata_listrà   n  sq   € ô ˆ6ƒ{�aÒÜÐ7Ó8Ð8Ø€AØò ˆØˆ9Ü˜Ÿ™ R§Y¡YÓ/ˆAØ�L‰L˜ÔØ	�‰ˆb�	ð	ð
 ˆ=Ðˆ=Ø€Hr   c                 ól   — t        | t        t        t        j                  j
                     |«      «      S )zˆCreate an rdataset with the specified TTL, and with
    the specified rdata objects.

    :rtype: :py:class:`dns.rdataset.Rdataset`
    )rà   r   r   r"   r£   r¤   )r4   rÝ   s     r   Ú
from_rdatarâ   �  s%   € ô ˜3¤¤Z´·	±	·±Ñ%@À&Ó IÓJÐJr   )NNTN)3r   Údataclassesrƒ   r˜   r•   Úcollections.abcr   Útypingr   r   Údns.exceptionr"   Údns.immutableÚdns.nameÚ	dns.rdataÚdns.rdataclassÚdns.rdatatypeÚdns.setÚdns.ttlÚdns._render_utilr   ÚsetÚSetÚ	SimpleSetÚ	exceptionÚDNSExceptionr   r   Ú	dataclassr£   Ú
RdataStyler   r^   r'   r.   r0   r­   rª   r#   r$   rF   r¢   rv   Ú	IDNACodecr¥   r&   rÛ   rØ   r¤   rà   râ   r   r   r   ú<module>r÷      sT  ðñ$ Oã Û 	Û Û Ý &ß ã Û Û Û Û Û Û Û Ý ,ð �G‰G�K‰K€	ôD�c—m‘m×0Ñ0ô Dô
J˜Ÿ™×2Ñ2ô Jð €×Ñ˜dÔ#ôY�C—I‘I×(Ñ(ó Yó $ðYðx"�#ð "˜só "ôW9ˆs�w‰w�{‰{ô W9ðt
 ‡�×ÑôBF˜ó BFó ðBFðT -1Ø#'ØØ*.ñ$Ø�^‰^×&Ñ&¨Ñ,ð$à�M‰M×#Ñ# cÑ)ð$ð 
ð$ð ˜C‘ð	$ð
 —‘×"Ñ" TÑ)ð$ð �H‰H�M‰M˜DÑ ð$ð ð$ð —8‘8—=‘= 4Ñ'ð$ð ó$ðNTØ�^‰^×&Ñ&¨Ñ,ðTà�M‰M×#Ñ# cÑ)ðTð 
ðTð ð	Tð
 óTð˜ð  j°·±·±Ñ&Að Àhó ð&K�Cð K #ð K¨(ô Kr   