+
    rpÐjZ(  ã                  ó  € R t ^ RIHt ^ RIHtHt ^RIHt ^RIH	t	 ^RI
HtHt ^RIHt ^RIHt ^RIHtHt ]'       d)   ^ R	It^ R
IHtHt ^RIHtHtHt ^RIHt ^RIH t  ^RI!H"t" Rt# ! R R]	]4      t ! R R]4      t ! R R]4      tR	# )a:  
The MIT License (MIT)

Copyright (c) 2015-present Rapptz

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
)Úannotations)ÚTYPE_CHECKINGÚOptional)Úutils)ÚHashable)ÚPartialEmojiÚ	_EmojiTag)ÚUser)ÚMISSING)ÚAssetÚ
AssetMixinN)ÚDictÚAny)ÚBaseSoundboardSoundÚSoundboardDefaultSoundÚSoundboardSound)ÚConnectionState)ÚGuild)ÚEmojiInputTyper   r   r   c                  ód   € ] tR t^4tRtRtR R ltR R ltR R ltR R	 lt	]
R
 R l4       tRtR# )r   aÕ  Represents a generic Discord soundboard sound.

.. versionadded:: 2.5

.. container:: operations

    .. describe:: x == y

        Checks if two sounds are equal.

    .. describe:: x != y

        Checks if two sounds are not equal.

    .. describe:: hash(x)

        Returns the sound's hash.

Attributes
------------
id: :class:`int`
    The ID of the sound.
volume: :class:`float`
    The volume of the sound as floating point percentage (e.g. ``1.0`` for 100%).
c               ó    € V ^8„  d   QhRRRR/# )é   Ústater   ÚdataÚBaseSoundboardSoundPayload© )Úformats   "ÚD/opt/hermes/.venv/lib/python3.14/site-packages/discord/soundboard.pyÚ__annotate__Ú BaseSoundboardSound.__annotate__Q   s   € ÷ ñ  ð Ð8Rñ ó    c               	ób   € Wn         \        VR ,          4      V n        V P                  V4       R# )Úsound_idN)Ú_stateÚintÚidÚ_update)Úselfr   r   s   &$$r   Ú__init__ÚBaseSoundboardSound.__init__Q   s$   € Ø',ŒÜ˜4 
Õ+Ó,ˆŒØ�‰�TÖr    c               ó    € V ^8„  d   QhRRRR/# ©r   ÚotherÚobjectÚreturnÚboolr   )r   s   "r   r   r   V   s   € ÷ ñ ˜Fð  tñ r    c                	óv   € \        WP                  4      '       d   V P                  VP                  8H  # \        # ©N)Ú
isinstanceÚ	__class__r%   ÚNotImplemented©r'   r,   s   &&r   Ú__eq__ÚBaseSoundboardSound.__eq__V   s*   € Ü�eŸ^™^×,Ò,Ø—7‘7˜eŸh™hÑ&Ð&ÜÐr    c               ó    € V ^8„  d   QhRRRR/# r+   r   )r   s   "r   r   r   [   s   € ÷ &ñ &˜Fð & tñ &r    c                	ó.   € V P                  V4      '       * # r1   )r6   r5   s   &&r   Ú__ne__ÚBaseSoundboardSound.__ne__[   s   € Ø—;‘;˜uÓ%Ô%Ð%r    c               ó   € V ^8„  d   QhRR/# )r   r   r   r   )r   s   "r   r   r   ^   s   € ÷ ,ñ ,Ð6ñ ,r    c                	ó"   € VR ,          V n         R# )ÚvolumeN)r>   )r'   r   s   &&r   r&   ÚBaseSoundboardSound._update^   s   € Ø! (�^ˆŽr    c               ó   € V ^8„  d   QhRR/# ©r   r.   Ústrr   )r   s   "r   r   r   b   s   € ÷ ;ñ ;�Sñ ;r    c                ó@   € \         P                   RV P                   2# )z+:class:`str`: Returns the URL of the sound.z/soundboard-sounds/)r   ÚBASEr%   ©r'   s   &r   ÚurlÚBaseSoundboardSound.urla   s   € ô —*‘*�Ð0°·±°	Ð:Ð:r    )r#   r%   r>   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r(   r6   r:   r&   ÚpropertyrF   Ú__static_attributes__r   r    r   r   r   4   s6   † ñð4 +€Iõõ
õ
&õ,ð ô;ó ô;r    c                  óB   a € ] tR t^gtRtRtR V 3R lltR R ltRtV ;t	# )r   a<  Represents a Discord soundboard default sound.

.. versionadded:: 2.5

.. container:: operations

    .. describe:: x == y

        Checks if two sounds are equal.

    .. describe:: x != y

        Checks if two sounds are not equal.

    .. describe:: hash(x)

        Returns the sound's hash.

Attributes
------------
id: :class:`int`
    The ID of the sound.
volume: :class:`float`
    The volume of the sound as floating point percentage (e.g. ``1.0`` for 100%).
name: :class:`str`
    The name of the sound.
emoji: :class:`PartialEmoji`
    The emoji of the sound.
c               ó    € V ^8„  d   QhRRRR/# )r   r   r   r   ÚSoundboardDefaultSoundPayloadr   )r   s   "r   r   Ú#SoundboardDefaultSound.__annotate__ˆ   s   € ÷ 1ñ 1 ð 1Ð8Uñ 1r    c               	ót   <€ VR ,          V n         \        VR,          R7      V n        \        SV `  WR7       R# )ÚnameÚ
emoji_name)rU   ©r   r   N)rU   r   ÚemojiÚsuperr(   )r'   r   r   r3   s   &$$€r   r(   ÚSoundboardDefaultSound.__init__ˆ   s/   ø€ Ø˜f�ˆŒ	Ü#/°T¸,Õ5GÔ#HˆŒ
Ü‰Ñ˜uÐÖ0r    c               ó   € V ^8„  d   QhRR/# rA   r   )r   s   "r   r   rS   �   s   € ÷ 6ñ 6˜#ñ 6r    c                	óØ   € R V P                   3RV P                  3RV P                  3RV P                  3.pRP	                  R V 4       4      pRV P
                  P                   RV R2# )r%   rU   r>   rX   Ú c              3  ó4   "  € T F  pR V,          x € K  	  R# 5i©z%s=%rNr   ©Ú.0Úts   & r   Ú	<genexpr>Ú2SoundboardDefaultSound.__repr__.<locals>.<genexpr>”   ó   é € Ð4©e¨˜ 1Ÿš«eùó   ‚Ú<Ú>)r%   rU   r>   rX   Újoinr3   rH   ©r'   ÚattrsÚinners   &  r   Ú__repr__ÚSoundboardDefaultSound.__repr__�   sn   € à�4—7‘7ˆOØ�T—Y‘YÐØ�t—{‘{Ð#Ø�d—j‘jÐ!ð	
ˆð —‘Ñ4©eÓ4Ó4ˆØ�4—>‘>×*Ñ*Ð+¨1¨U¨G°1Ð5Ð5r    )rX   rU   )rU   rX   )
rH   rI   rJ   rK   rL   rM   r(   rm   rO   Ú__classcell__©r3   s   @r   r   r   g   s#   ø† ñð< "€I÷1ð 1÷
6ó 6r    c                  ó´   a € ] tR t^˜tRtRtR V 3R lltR R ltR V 3R	 llt]	R
 R l4       t
]	R R l4       tR]R]R]RR/R R lltRR/R R lltRtV ;t# )r   aå  Represents a Discord soundboard sound.

.. versionadded:: 2.5

.. container:: operations

    .. describe:: x == y

        Checks if two sounds are equal.

    .. describe:: x != y

        Checks if two sounds are not equal.

    .. describe:: hash(x)

        Returns the sound's hash.

Attributes
------------
id: :class:`int`
    The ID of the sound.
volume: :class:`float`
    The volume of the sound as floating point percentage (e.g. ``1.0`` for 100%).
name: :class:`str`
    The name of the sound.
emoji: Optional[:class:`PartialEmoji`]
    The emoji of the sound. ``None`` if no emoji is set.
guild: :class:`Guild`
    The guild in which the sound is uploaded.
available: :class:`bool`
    Whether this sound is available for use.
rU   rX   c               ó$   € V ^8„  d   QhRRRRRR/# )r   Úguildr   r   r   r   ÚSoundboardSoundPayloadr   )r   s   "r   r   ÚSoundboardSound.__annotate__½   s"   € ÷ ñ  ð ¨ð ÐF\ñ r    c               	óº   <€ \         SV `  W#R 7       Wn        \        P                  ! VR4      V n        VP                  R4      V n        V P                  V4       R# )rW   Úuser_idÚuserN)	rY   r(   rs   r   Ú_get_as_snowflakeÚ_user_idÚgetÚ_userr&   )r'   rs   r   r   r3   s   &$$$€r   r(   ÚSoundboardSound.__init__½   sH   ø€ Ü‰Ñ˜uÐÔ0ØŒ
Ü×/Ò/°°iÓ@ˆŒØ—X‘X˜fÓ%ˆŒ
à�‰�TÖr    c               ó   € V ^8„  d   QhRR/# rA   r   )r   s   "r   r   ru   Å   s   € ÷ 	6ñ 	6˜#ñ 	6r    c                	óò   € R V P                   3RV P                  3RV P                  3RV P                  3RV P                  3.pRP                  R V 4       4      pRV P                  P                   RV R2# )	r%   rU   r>   rX   rx   r]   c              3  ó4   "  € T F  pR V,          x € K  	  R# 5ir_   r   r`   s   & r   rc   Ú+SoundboardSound.__repr__.<locals>.<genexpr>Í   re   rf   rg   rh   )r%   rU   r>   rX   rx   ri   r3   rH   rj   s   &  r   rm   ÚSoundboardSound.__repr__Å   sz   € à�4—7‘7ˆOØ�T—Y‘YÐØ�t—{‘{Ð#Ø�d—j‘jÐ!Ø�T—Y‘YÐð
ˆð —‘Ñ4©eÓ4Ó4ˆØ�4—>‘>×*Ñ*Ð+¨1¨U¨G°1Ð5Ð5r    c               ó   € V ^8„  d   QhRR/# )r   r   rt   r   )r   s   "r   r   ru   Ð   s   € ÷ 1ñ 1Ð2ñ 1r    c                	óÞ   <€ \         SV `  V4       VR ,          V n        RV n        \        P
                  ! VR4      pVR,          pVf   Ve   \        W#R7      V n        VR,          V n        R# )rU   NÚemoji_idrV   )r%   rU   Ú	available)rY   r&   rU   rX   r   ry   r   r†   )r'   r   r…   rV   r3   s   &&  €r   r&   ÚSoundboardSound._updateÐ   s`   ø€ Ü‰‰˜Ôà˜f�ˆŒ	Ø-1ˆŒ
ä×*Ò*¨4°Ó<ˆØ˜,Õ'ˆ
ØÒ :Ò#9Ü%¨ÔCˆDŒJà# KÕ0ˆŽr    c               ó   € V ^8„  d   QhRR/# )r   r.   zdatetime.datetimer   )r   s   "r   r   ru   Þ   s   € ÷ -ñ -Ð-ñ -r    c                óB   € \         P                  ! V P                  4      # )zI:class:`datetime.datetime`: Returns the snowflake's creation time in UTC.)r   Úsnowflake_timer%   rE   s   &r   Ú
created_atÚSoundboardSound.created_atÝ   s   € ô ×#Ò# D§G¡GÓ,Ð,r    c               ó   € V ^8„  d   QhRR/# )r   r.   zOptional[User]r   )r   s   "r   r   ru   ã   s   € ÷ 8ñ 8�nñ 8r    c                óÊ   € V P                   f6   V P                  f   R# V P                  P                  V P                  4      # \	        V P                  V P                   R7      # )z9Optional[:class:`User`]: The user who uploaded the sound.NrW   )r|   rz   r#   Úget_userr	   rE   s   &r   rx   ÚSoundboardSound.userâ   sI   € ð �:‰:ÒØ�}‰}Ò$ÙØ—;‘;×'Ñ'¨¯©Ó6Ð6Ü˜$Ÿ+™+¨D¯J©JÔ7Ð7r    r>   ÚreasonNc               ó(   € V ^8„  d   QhRRRRRRRR/# )	r   rU   rB   r>   zOptional[float]rX   zOptional[EmojiInputType]r‘   úOptional[str]r   )r   s   "r   r   ru   ë   s@   € ÷ COñ COð ðCOð  ð	COð
 (ðCOð ñCOr    c             ƒ  ón  "  € / pV\         Jd   WR&   V\         Jd   W%R&   V\         Jd—   Vf   RVR&   RVR&   M‡\        V\        4      '       d   VP                  4       pM/\        V\        4      '       d   \
        P                  ! V4      pMRpVe.   VP                  f   VP                  VR&   MVP                  VR&   V P                  P                  P                  ! V P                  P                  V P                  3RV/VB G Rj  x€L
 p\        V P                  V P                  VR7      #  L&5i)av  |coro|

Edits the soundboard sound.

You must have :attr:`~Permissions.manage_expressions` to edit the sound.
If the sound was created by the client, you must have either :attr:`~Permissions.manage_expressions`
or :attr:`~Permissions.create_expressions`.

Parameters
----------
name: :class:`str`
    The new name of the sound. Must be between 2 and 32 characters.
volume: Optional[:class:`float`]
    The new volume of the sound. Must be between 0 and 1.
emoji: Optional[Union[:class:`Emoji`, :class:`PartialEmoji`, :class:`str`]]
    The new emoji of the sound.
reason: Optional[:class:`str`]
    The reason for editing this sound. Shows up on the audit log.

Raises
-------
Forbidden
    You do not have permissions to edit the soundboard sound.
HTTPException
    Editing the soundboard sound failed.

Returns
-------
:class:`SoundboardSound`
    The newly updated soundboard sound.
rU   r>   Nr…   rV   r‘   )rs   r   r   )r
   r2   r   Ú_to_partialrB   r   Úfrom_strr%   rU   r#   ÚhttpÚedit_soundboard_soundrs   r   )r'   rU   r>   rX   r‘   ÚpayloadÚpartial_emojir   s   &$$$$   r   ÚeditÚSoundboardSound.editë   s  é € ðP #%ˆà”wÓØ"�F‰OàœÓ Ø &�HÑàœÓØŠ}Ø&*�˜
Ñ#Ø(,�˜Ò%ä˜e¤Y×/Ò/Ø$)×$5Ñ$5Ó$7‘MÜ ¤s×+Ò+Ü$0×$9Ò$9¸%Ó$@‘Mà$(�Mà Ò,Ø$×'Ñ'Ò/Ø0=×0BÑ0B˜ Ò-à.;×.>Ñ.>˜ 
Ñ+à—[‘[×%Ñ%×;Ò;¸D¿J¹J¿M¹MÈ4Ï7É7ÑmÐ[aÐmÐelÑm×mˆÜ T§Z¡Z°t·{±{ÈÔNÐNñ nùs   ‚D
D5ÄD3Ä'D5c               ó    € V ^8„  d   QhRRRR/# )r   r‘   r“   r.   ÚNoner   )r   s   "r   r   ru   0  s   € ÷ ^ñ ^ mð ^¸tñ ^r    c             ƒ  ó®   "  € V P                   P                  P                  V P                  P                  V P                  VR7      G Rj  x€L
  R#  L5i)a  |coro|

Deletes the soundboard sound.

You must have :attr:`~Permissions.manage_expressions` to delete the sound.
If the sound was created by the client, you must have either :attr:`~Permissions.manage_expressions`
or :attr:`~Permissions.create_expressions`.

Parameters
-----------
reason: Optional[:class:`str`]
    The reason for deleting this sound. Shows up on the audit log.

Raises
-------
Forbidden
    You do not have permissions to delete the soundboard sound.
HTTPException
    Deleting the soundboard sound failed.
)r‘   N)r#   r—   Údelete_soundboard_soundrs   r%   )r'   r‘   s   &$r   ÚdeleteÚSoundboardSound.delete0  s9   é € ð* �k‰k×Ñ×6Ñ6°t·z±z·}±}ÀdÇgÁgÐV\Ð6Ó]×]Ô]ùs   ‚A
AÁAÁA)r|   rz   r†   rX   rs   rU   )r#   rU   rX   r|   r†   rz   rs   )rH   rI   rJ   rK   rL   rM   r(   rm   r&   rN   r‹   rx   r
   r›   r¡   rO   ro   rp   s   @r   r   r   ˜   sž   ø† ñ ðD W€I÷ð õ	6÷1ð 1ð ô-ó ð-ð ô8ó ð8ðCOð ðCOð #*ð	COð
 +2ðCOð !%÷COðJ^°d÷ ^õ ^r    )$rL   Ú
__future__r   Útypingr   r   Ú r   Úmixinsr   rš   r   r   rx   r	   r
   Úassetr   r   Údatetimer   r   Útypes.soundboardr   r   r   rR   r   rt   r   r   rs   r   Úmessager   Ú__all__r   r    r   Ú<module>r¬      su   ðñõ0 #ç *å Ý ß 2Ý Ý ß $çÛß ÷ñ õ
 'ÝÝ'à
N€ô0;˜( Jô 0;ôf.6Ð0ô .6ôbm^Ð)ö m^r    