Ë
    R/j\  ã                  ó8   — d Z ddlmZ ddlmZ eZ G d„ d«      Zy)a‡  Multicast DNS Service Discovery for Python, v0.14-wmcbrine
Copyright 2003 Paul Scott-Murphy, 2014 William McBrine

This module provides a framework for the use of DNS Service Discovery
using IP multicast.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
USA
é    )Úannotationsé   )Ú	DNSRecordc                  ó*   — e Zd ZdZddd„Zdd„Zd	d„Zy)
ÚRecordUpdate©ÚnewÚoldNc                ó(   — | j                  ||«       y)z1RecordUpdate represents a change in a DNS record.N)Ú
_fast_init©Úselfr	   r
   s      úI/home/josh/.local/lib/python3.12/site-packages/zeroconf/_record_update.pyÚ__init__zRecordUpdate.__init__!   s   € à�‰˜˜SÕ!ó    c                ó    — || _         || _        y)zFast init for RecordUpdate.Nr   r   s      r   r   zRecordUpdate._fast_init%   s   € àˆŒØˆ�r   c                ó\   — |dk(  r| j                   S |dk(  r| j                  S t        |«      ‚)zGet the new or old record.r   r   )r	   r
   Ú
IndexError)r   Úindexs     r   Ú__getitem__zRecordUpdate.__getitem__*   s-   € à�AŠ:Ø—8‘8ˆOØ�AŠ:Ø—8‘8ˆOÜ˜ÓÐr   )N)r	   r   r
   úDNSRecord | NoneÚreturnÚNone)r	   Ú
_DNSRecordr
   z_DNSRecord | Noner   r   )r   Úintr   r   )Ú__name__Ú
__module__Ú__qualname__Ú	__slots__r   r   r   © r   r   r   r      s   „ Ø€Iô"óô
 r   r   N)Ú__doc__Ú
__future__r   Ú_dnsr   r   r   r    r   r   ú<module>r$      s!   ðñõ, #å à€
÷ ò  r   