Ë
    òT•j'  ã                   óP   — d Z g d¢ZddlZefZ G d„ de«      Z G d„ de«      Z	d„ Z
y)	z¡Python version compatibility support for minidom.

This module contains internal implementation details and
should not be imported; use xml.dom.minidom instead.
)ÚNodeListÚEmptyNodeListÚStringTypesÚdefpropertyé    Nc                   ó>   — e Zd ZdZd„ Zd„ Zd„ Z eeed¬«      Zd„ Z	y)	r   © c                 ó:   — d|cxk  rt        | «      k  r| |   S  y y ©Nr   ©Úlen©ÚselfÚindexs     ú)/usr/lib/python3.12/xml/dom/minicompat.pyÚitemzNodeList.item5   s"   € Ø�Ô!œ˜D›	Ò!Ø˜‘;Ðò "ó    c                 ó   — t        | «      S ©Nr   ©r   s    r   Ú_get_lengthzNodeList._get_length9   s   € Ü�4‹yÐr   c                 ó@   — t         j                  j                  d«      ‚©Nz.attempt to modify read-only attribute 'length'©ÚxmlÚdomÚNoModificationAllowedErr©r   Úvalues     r   Ú_set_lengthzNodeList._set_length<   ó   € Ü�g‰g×.Ñ.Ø<ó>ð 	>r   ú$The number of nodes in the NodeList.©Údocc                 ó   — |€g }|| d d  y r   r   )r   Ústates     r   Ú__setstate__zNodeList.__setstate__D   s   € Øˆ=ØˆEØˆ‰Q‰r   N)
Ú__name__Ú
__module__Ú__qualname__Ú	__slots__r   r   r   ÚpropertyÚlengthr&   r   r   r   r   r   2   s/   „ Ø€Iòòò>ñ �k ;Ø@ôB€Fór   r   c                   óD   — e Zd ZdZd„ Zd„ Zd„ Zd„ Zd„ Z e	eed¬«      Z
y	)
r   r   c                 ó<   — t        «       }|j                  |«       |S r   ©r   Úextend©r   ÚotherÚNLs      r   Ú__add__zEmptyNodeList.__add__M   ó   € Ü‹ZˆØ
�	‰	�%ÔØˆ	r   c                 ó<   — t        «       }|j                  |«       |S r   r/   r1   s      r   Ú__radd__zEmptyNodeList.__radd__R   r5   r   c                  ó   — y r   r   r   s     r   r   zEmptyNodeList.itemW   s   € Ør   c                  ó   — yr
   r   r   s    r   r   zEmptyNodeList._get_lengthZ   s   € Ør   c                 ó@   — t         j                  j                  d«      ‚r   r   r   s     r   r   zEmptyNodeList._set_length]   r    r   r!   r"   N)r'   r(   r)   r*   r4   r7   r   r   r   r+   r,   r   r   r   r   r   J   s4   „ Ø€Iòò
ò
òò>ñ �k ;Ø@ôB�Fr   r   c                 ó”   — t        | d|z   «      }|fd„}t        | d|z   «      r
J d|z   «       ‚t        |||¬«      }t        | ||«       y )NÚ_get_c                 óX   — t         j                  j                  dt        |«      z   «      ‚)Nz&attempt to modify read-only attribute )r   r   r   Úrepr)r   r   Únames      r   Úsetzdefproperty.<locals>.setg   s'   € Ü�g‰g×.Ñ.Ø4´t¸D³zÑAóCð 	Cr   Ú_set_zexpected not to find _set_r"   )ÚgetattrÚhasattrr+   Úsetattr)Úklassr?   r#   Úgetr@   Úprops         r   r   r   e   sZ   € Ü
�%˜' D™.Ó
*€CØ"ó Cô �u˜g¨™nÔ-ð /Ø'¨$Ñ.ó/Ð-ä�C˜ #Ô&€DÜˆE�4˜Õr   )Ú__doc__Ú__all__Úxml.domr   Ústrr   Úlistr   Útupler   r   r   r   r   ú<module>rN      s<   ðñòT F€ã àˆf€ôˆtô ô0B�Eô Bó6r   