§
    kjØ  ã                   ó<   — d dl mZ d dlmZmZ  G d„ d¦  «        ZdS )é    )ÚPath)ÚAnyÚOptionalc                   ó¨  — e Zd ZdZdZ	 dZ	 defd„Zede	e
         fd„¦   «         Zede	e
         fd„¦   «         Zede
fd„¦   «         Zej        d	e
dd
fd„¦   «         Zede	e         fd„¦   «         Zej        d	edd
fd„¦   «         Zede	e         fd„¦   «         Zej        d	edd
fd„¦   «         Zedee
ef         fd„¦   «         Zde
fd„Zde
fd„Zd
S )ÚResourceDescriptionzœDescription of any resource.
    Resource descriptions are required to load a resource.
    This class can be extended to add more specific properties.
    Ú Úkwargsc                 ó   — || _         dS )zzInitialize a resource description

        Args:
            **kwargs: Attributes describing the resource to load
        N©Ú_kwargs)Úselfr	   s     úT/home/agentuser/manim-venv/lib/python3.11/site-packages/moderngl_window/meta/base.pyÚ__init__zResourceDescription.__init__   s   € ð ˆŒˆˆó    Úreturnc                 ó6   — | j                              d¦  «        S )z;str: The path to a resource when a single file is specifiedÚpath©r   Úget©r   s    r   r   zResourceDescription.path   s   € ð Œ|×Ò Ñ'Ô'Ð'r   c                 ó6   — | j                              d¦  «        S )a  str: optional name for the resource

        Assigning a label is not mandatory but can help
        when aliasing resources. Some prefer to preload
        all needed resources and fetch them later by the label.
        This can he a lot less chaotic in larger applications.
        Úlabelr   r   s    r   r   zResourceDescription.label   s   € ð Œ|×Ò Ñ(Ô(Ð(r   c                 óL   — | j                              d¦  «        }|€| j        }|S )aW  str: default resource kind.

        The resource ``kind`` is directly matched
        with the ``kind`` in loader classes.

        This property also supports assignment
        and is useful if the ``kind`` is detected
        based in the the attribute values.

        .. code:: python

            description.kind = 'something'
        Úkind)r   r   Údefault_kind)r   Úks     r   r   zResourceDescription.kind(   s+   € ð ŒL×Ò˜VÑ$Ô$ˆØˆ9ØÔ!ˆAØˆr   ÚvalueNc                 ó   — || j         d<   d S )Nr   r   ©r   r   s     r   r   zResourceDescription.kind<   s   € à$ˆŒVÑÐÐr   c                 ó6   — | j                              d¦  «        S )z¶type: The loader class for this resource.

        This property is assigned to during the loading
        stage were a loader class is assigned based on
        the `kind`.
        Ú
loader_clsr   r   s    r   r!   zResourceDescription.loader_cls@   s   € ð Œ|×Ò Ñ-Ô-Ð-r   c                 ó   — || j         d<   d S )Nr!   r   r   s     r   r!   zResourceDescription.loader_clsJ   s   € à%*ˆŒ\Ñ"Ð"Ð"r   c                 ó6   — | j                              d¦  «        S )z–pathlib.Path: The resolved path by a finder.

        The absolute path to the resource can optionally
        be assigned by a loader class.
        Úresolved_pathr   r   s    r   r$   z!ResourceDescription.resolved_pathN   s   € ð Œ|×Ò Ñ0Ô0Ð0r   c                 ó   — || j         d<   d S )Nr$   r   r   s     r   r$   z!ResourceDescription.resolved_pathW   s   € à(-ˆŒ_Ñ%Ð%Ð%r   c                 ó   — | j         S )z3dict: All keywords arguments passed to the resourcer   r   s    r   ÚattrszResourceDescription.attrs[   s   € ð Œ|Ðr   c                 ó*   — t          | j        ¦  «        S ©N)Ústrr   r   s    r   Ú__str__zResourceDescription.__str__`   s   € Ý4”<Ñ Ô Ð r   c                 ó    — t          | ¦  «        S r)   )r*   r   s    r   Ú__repr__zResourceDescription.__repr__c   s   € Ý4‰yŒyÐr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úresource_typer   r   Úpropertyr   r*   r   r   r   ÚsetterÚtyper!   r   r$   Údictr'   r+   r-   © r   r   r   r      s  € € € € € ðð ð
 €LØ6Ø€MØ8ð ð ð ð ð ð ð(h˜s”mð (ð (ð (ñ „Xð(ð ð)x ”}ð )ð )ð )ñ „Xð)ð ðcð ð ð ñ „Xðð& 
„[ð%˜#ð % $ð %ð %ð %ñ „[ð%ð ð.˜H TœNð .ð .ð .ñ „Xð.ð Ôð+ ð +¨ð +ð +ð +ñ Ôð+ð ð1˜x¨œ~ð 1ð 1ð 1ñ „Xð1ð Ôð. 4ð .¨Dð .ð .ð .ñ Ôð.ð ðt˜C ˜H”~ð ð ð ñ „Xðð!˜ð !ð !ð !ð !ð˜#ð ð ð ð ð ð r   r   N)Úpathlibr   Útypingr   r   r   r7   r   r   ú<module>r:      sk   ðØ Ð Ð Ð Ð Ð Ø  Ð  Ð  Ð  Ð  Ð  Ð  Ð  ð_ð _ð _ð _ð _ñ _ô _ð _ð _ð _r   