Ë
    …jÐjÃ  ã                   óN   — d Z ddlmZmZmZmZ ddlmZ erddlZ G d„ de«      Z	y)z%Represent the :class:`.Trophy` class.é    )ÚTYPE_CHECKINGÚAnyÚDictÚUnioné   )ÚPRAWBaseNc                   ól   ‡ — e Zd ZdZded ef   defˆ fd„Zdddee	ef   fˆ fd„Z
de	fd	„Zde	fd
„Zˆ xZS )ÚTrophya;  Represent a trophy.

    End users should not instantiate this class directly. :meth:`.Redditor.trophies` can
    be used to get a list of the redditor's trophies.

    .. include:: ../../typical_attributes.rst

    =============== ===================================================
    Attribute       Description
    =============== ===================================================
    ``award_id``    The ID of the trophy (sometimes ``None``).
    ``description`` The description of the trophy (sometimes ``None``).
    ``icon_40``     The URL of a 41x41 px icon for the trophy.
    ``icon_70``     The URL of a 71x71 px icon for the trophy.
    ``name``        The name of the trophy.
    ``url``         A relevant URL (sometimes ``None``).
    =============== ===================================================

    ÚotherÚreturnc                 ó€   •— t        || j                  «      r| j                  |j                  k(  S t        ‰| �  |«      S )z Check if two Trophies are equal.)Ú
isinstanceÚ	__class__ÚnameÚsuperÚ__eq__)Úselfr   r   s     €úŒ/var/labsstorage/home/Thilakkumar/htdocs/soical-media-automation/automation_platform/venv/lib/python3.12/site-packages/praw/models/trophy.pyr   zTrophy.__eq__   s3   ø€ ä�e˜TŸ^™^Ô,Ø—9‘9 §
¡
Ñ*Ð*Ü‰w‰~˜eÓ$Ð$ó    Úredditzpraw.RedditÚ_datac                 óT   •— t        |t        «      rd|v sJ ‚t        ‰| �  ||¬«       y)zÛInitialize a :class:`.Trophy` instance.

        :param reddit: An instance of :class:`.Reddit`.
        :param _data: The structured data, assumed to be a dict and key ``"name"`` must
            be provided.

        r   )r   N)r   Údictr   Ú__init__)r   r   r   r   s      €r   r   zTrophy.__init__%   s-   ø€ ô ˜%¤Ô&¨6°U©?Ð:Ð:Ü‰Ñ˜ uÐÕ-r   c                 óN   — | j                   j                  › d| j                  ›d�S )z?Return an object initialization representation of the instance.z(name=ú))r   Ú__name__r   ©r   s    r   Ú__repr__zTrophy.__repr__0   s$   € à—.‘.×)Ñ)Ð*¨&°·±°¸QÐ?Ð?r   c                 ó   — | j                   S )zReturn a name of the trophy.)r   r   s    r   Ú__str__zTrophy.__str__4   s   € à�y‰yÐr   )r   Ú
__module__Ú__qualname__Ú__doc__r   r   Úboolr   r   Ústrr   r   r!   Ú__classcell__)r   s   @r   r
   r
   
   sY   ø„ ñð(%˜E (¨C -Ñ0ð %°Tõ %ð	.˜}ð 	.°T¸#¸s¸(±^õ 	.ð@˜#ó @ð˜÷ r   r
   )
r$   Útypingr   r   r   r   Úbaser   Úprawr
   © r   r   ú<module>r,      s#   ðÙ +ß 2Ó 2å áÛô,ˆXõ ,r   