§
    ¤Œh}  ã                   ó  — d Z d„ Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z	 dd	lm	Z	m
Z
mZmZmZmZmZmZ  G d
„ de¦  «        Zn# e$ r ddlmZm	Z	 de_        Y nw xY wd„ Z G d„ de¬¦  «        ZdS )z3Abstract Base Classes (ABCs) according to PEP 3119.c                 ó   — d| _         | S )a<  A decorator indicating abstract methods.

    Requires that the metaclass is ABCMeta or derived from it.  A
    class that has a metaclass derived from ABCMeta cannot be
    instantiated unless all of its abstract methods are overridden.
    The abstract methods can be called using any of the normal
    'super' call mechanisms.  abstractmethod() may be used to declare
    abstract methods for properties and descriptors.

    Usage:

        class C(metaclass=ABCMeta):
            @abstractmethod
            def my_abstract_method(self, ...):
                ...
    T)Ú__isabstractmethod__)Úfuncobjs    ú/usr/lib/python3.11/abc.pyÚabstractmethodr      s   € ð" $(€GÔ Ø€Nó    c                   ó&   ‡ — e Zd ZdZdZˆ fd„Zˆ xZS )Úabstractclassmethoda  A decorator indicating abstract classmethods.

    Deprecated, use 'classmethod' with 'abstractmethod' instead:

        class C(ABC):
            @classmethod
            @abstractmethod
            def my_abstract_classmethod(cls, ...):
                ...

    Tc                 óX   •— d|_         t          ¦   «                              |¦  «         d S ©NT©r   ÚsuperÚ__init__©ÚselfÚcallableÚ	__class__s     €r   r   zabstractclassmethod.__init__+   ó)   ø€ Ø(,ˆÔ%Ý‰Œ×Ò˜Ñ"Ô"Ð"Ð"Ð"r   ©Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__classcell__©r   s   @r   r	   r	      óJ   ø€ € € € € ð
ð 
ð  Ðð#ð #ð #ð #ð #ð #ð #ð #ð #r   r	   c                   ó&   ‡ — e Zd ZdZdZˆ fd„Zˆ xZS )Úabstractstaticmethoda  A decorator indicating abstract staticmethods.

    Deprecated, use 'staticmethod' with 'abstractmethod' instead:

        class C(ABC):
            @staticmethod
            @abstractmethod
            def my_abstract_staticmethod(...):
                ...

    Tc                 óX   •— d|_         t          ¦   «                              |¦  «         d S r   r   r   s     €r   r   zabstractstaticmethod.__init__?   r   r   r   r   s   @r   r   r   0   r   r   r   c                   ó   — e Zd ZdZdZdS )ÚabstractpropertyzùA decorator indicating abstract properties.

    Deprecated, use 'property' with 'abstractmethod' instead:

        class C(ABC):
            @property
            @abstractmethod
            def my_abstract_property(self):
                ...

    TN)r   r   r   r   r   © r   r   r    r    D   s"   € € € € € ð
ð 
ð  ÐÐÐr   r    é    )Úget_cache_tokenÚ	_abc_initÚ_abc_registerÚ_abc_instancecheckÚ_abc_subclasscheckÚ	_get_dumpÚ_reset_registryÚ_reset_cachesc                   óH   ‡ — e Zd ZdZˆ fd„Zd„ Zd„ Zd„ Zd
d„Zd„ Z	d	„ Z
ˆ xZS )ÚABCMetaa  Metaclass for defining Abstract Base Classes (ABCs).

        Use this metaclass to create an ABC.  An ABC can be subclassed
        directly, and then acts as a mix-in class.  You can also register
        unrelated concrete classes (even built-in classes) and unrelated
        ABCs as 'virtual subclasses' -- these and their descendants will
        be considered subclasses of the registering ABC by the built-in
        issubclass() function, but the registering ABC won't show up in
        their MRO (Method Resolution Order) nor will method
        implementations defined by the registering ABC be callable (not
        even via super()).
        c                ó`   •—  t          ¦   «         j        | |||fi |¤Ž}t          |¦  «         |S ©N)r   Ú__new__r$   )ÚmclsÚnameÚbasesÚ	namespaceÚkwargsÚclsr   s         €r   r/   zABCMeta.__new__i   s6   ø€ Ø!•%‘'”'”/ $¨¨e°YÐIÐIÀ&ÐIÐIˆCÝc‰NŒNˆNØˆJr   c                 ó"   — t          | |¦  «        S )z{Register a virtual subclass of an ABC.

            Returns the subclass, to allow usage as a class decorator.
            )r%   ©r5   Úsubclasss     r   ÚregisterzABCMeta.registern   s   € õ
 !  hÑ/Ô/Ð/r   c                 ó"   — t          | |¦  «        S )z'Override for isinstance(instance, cls).)r&   )r5   Úinstances     r   Ú__instancecheck__zABCMeta.__instancecheck__u   ó   € å% c¨8Ñ4Ô4Ð4r   c                 ó"   — t          | |¦  «        S )z'Override for issubclass(subclass, cls).)r'   r7   s     r   Ú__subclasscheck__zABCMeta.__subclasscheck__y   r=   r   Nc                 óP  — t          d| j        › d| j        › |¬¦  «         t          dt          ¦   «         › |¬¦  «         t	          | ¦  «        \  }}}}t          d|›|¬¦  «         t          d|›|¬¦  «         t          d|›|¬¦  «         t          d|›|¬¦  «         d	S )
z'Debug helper to print the ABC registry.zClass: ú.)ÚfilezInv. counter: z_abc_registry: z_abc_cache: z_abc_negative_cache: z_abc_negative_cache_version: N)Úprintr   r   r#   r(   )r5   rB   Ú_abc_registryÚ
_abc_cacheÚ_abc_negative_cacheÚ_abc_negative_cache_versions         r   Ú_dump_registryzABCMeta._dump_registry}   sê   € åÐ?˜CœNÐ?Ð?¨SÔ-=Ð?Ð?ÀdÐKÑKÔKÐKÝÐ6¥?Ñ#4Ô#4Ð6Ð6¸TÐBÑBÔBÐBå,5°c©N¬Nñ*ˆ]˜JÐ(;Ø(ÝÐ5 MÐ5Ð5¸DÐAÑAÔAÐAÝÐ/ Ð/Ð/°dÐ;Ñ;Ô;Ð;ÝÐAÐ*=ÐAÐAÈÐMÑMÔMÐMÝÐQÐ2MÐQÐQØðñ ô ð ð ð r   c                 ó$   — t          | ¦  «         dS )z.Clear the registry (for debugging or testing).N)r)   ©r5   s    r   Ú_abc_registry_clearzABCMeta._abc_registry_clear‰   s   € å˜CÑ Ô Ð Ð Ð r   c                 ó$   — t          | ¦  «         dS )z,Clear the caches (for debugging or testing).N)r*   rJ   s    r   Ú_abc_caches_clearzABCMeta._abc_caches_clear   s   € å˜#ÑÔÐÐÐr   r.   )r   r   r   r   r/   r9   r<   r?   rH   rK   rM   r   r   s   @r   r,   r,   \   s¡   ø€ € € € € ð	ð 	ð	ð 	ð 	ð 	ð 	ð
	0ð 	0ð 	0ð	5ð 	5ð 	5ð	5ð 	5ð 	5ð
	ð 
	ð 
	ð 
	ð	!ð 	!ð 	!ð	ð 	ð 	ð 	ð 	ð 	ð 	r   r,   )r,   r#   Úabcc                 ó¢  — t          | d¦  «        s| S t          ¦   «         }| j        D ]M}t          |dd¦  «        D ]9}t          | |d¦  «        }t          |dd¦  «        r|                     |¦  «         Œ:ŒN| j                             ¦   «         D ]+\  }}t          |dd¦  «        r|                     |¦  «         Œ,t          |¦  «        | _        | S )a›  Recalculate the set of abstract methods of an abstract class.

    If a class has had one of its abstract methods implemented after the
    class was created, the method will not be considered implemented until
    this function is called. Alternatively, if a new abstract method has been
    added to the class, it will only be considered an abstract method of the
    class after this function is called.

    This function should be called before any use is made of the class,
    usually in class decorators that add methods to the subject class.

    Returns cls, to allow usage as a class decorator.

    If cls is not an instance of ABCMeta, does nothing.
    Ú__abstractmethods__r!   Nr   F)	ÚhasattrÚsetÚ	__bases__ÚgetattrÚaddÚ__dict__ÚitemsÚ	frozensetrP   )r5   Ú	abstractsÚsclsr1   Úvalues        r   Úupdate_abstractmethodsr\   ’   sô   € õ  3Ð-Ñ.Ô.ð ð ˆ
å‘”€Ið ”ð $ð $ˆÝ˜DÐ"7¸Ñ<Ô<ð 	$ð 	$ˆDÝ˜C  tÑ,Ô,ˆEÝuÐ4°eÑ<Ô<ð $Ø—’˜dÑ#Ô#Ð#øð	$ð
 ”|×)Ò)Ñ+Ô+ð  ð  ‰ˆˆeÝ5Ð0°%Ñ8Ô8ð 	 ØMŠM˜$ÑÔÐøÝ'¨	Ñ2Ô2€CÔØ€Jr   c                   ó   — e Zd ZdZdZdS )ÚABCzVHelper class that provides a standard way to create an ABC using
    inheritance.
    r!   N)r   r   r   r   Ú	__slots__r!   r   r   r^   r^   ¸   s   € € € € € ðð ð €I€I€Ir   r^   )Ú	metaclassN)r   r   Úclassmethodr	   Ústaticmethodr   Úpropertyr    Ú_abcr#   r$   r%   r&   r'   r(   r)   r*   Útyper,   ÚImportErrorÚ_py_abcr   r\   r^   r!   r   r   ú<module>rh      s¿  ðð :Ð 9ðð ð ð*#ð #ð #ð #ð #˜+ñ #ô #ð #ð(#ð #ð #ð #ð #˜<ñ #ô #ð #ð( ð  ð  ð  ð  xñ  ô  ð  ð ;ð6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð 6ð3ð 3ð 3ð 3ð 3$ñ 3ô 3ð 3ð 3øð	 ð ð ð Ø0Ð0Ð0Ð0Ð0Ð0Ð0Ð0Ø€GÔÐÐðøøøðt#ð #ð #ðLð ð ð ð Gð ñ ô ð ð ð s   ±A ÁA+Á*A+