Ë
    ¦üàg�  ã                  óN   — d dl mZ d dlZddlmZ 	 ddddœ	 	 	 	 	 	 	 	 	 	 	 d	d„Zy)
é    )ÚannotationsNé   )Ú__version__F)ÚactionÚpluralc               ó|  — |rdnd}|€d}nW|t        t        j                  d«      d   «      k  r| › d|› d�}t        |«      ‚|d	k(  rd
}nd|› dt        › d�}t        |«      ‚|r|rd}t        |«      ‚|rd|› d�}n|rd|j                  d«      › d�}nd}t        j                  | › d|› d|› |› �t        d¬«       y)a.  
    Deprecations helper.

    :param deprecated: Name of thing to be deprecated.
    :param when: Pillow major version to be removed in.
    :param replacement: Name of replacement.
    :param action: Instead of "replacement", give a custom call to action
        e.g. "Upgrade to new thing".
    :param plural: if the deprecated thing is plural, needing "are" instead of "is".

    Usually of the form:

        "[deprecated] is deprecated and will be removed in Pillow [when] (yyyy-mm-dd).
        Use [replacement] instead."

    You can leave out the replacement sentence:

        "[deprecated] is deprecated and will be removed in Pillow [when] (yyyy-mm-dd)"

    Or with another call to action:

        "[deprecated] is deprecated and will be removed in Pillow [when] (yyyy-mm-dd).
        [action]."
    ÚareÚisNza future versionú.r   ú z" deprecated and should be removed.é   zPillow 12 (2025-10-15)zUnknown removal version: z	. Update ú?z*Use only one of 'replacement' and 'action'z. Use z	 instead.z. Ú z# deprecated and will be removed in é   )Ú
stacklevel)
Úintr   ÚsplitÚRuntimeErrorÚ__name__Ú
ValueErrorÚrstripÚwarningsÚwarnÚDeprecationWarning)Ú
deprecatedÚwhenÚreplacementr   r   Úis_ÚremovedÚmsgs           úL/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/PIL/_deprecate.pyÚ	deprecater"      sí   € ñB ‰%˜t€Cà€|Ø$‰Ø	””[×&Ñ& sÓ+¨AÑ.Ó/Ò	/Ø�˜A˜c˜UÐ"DÐEˆÜ˜3ÓÐØ	�ŠØ*‰à)¨$¨¨y¼¸
À!ÐDˆÜ˜‹oÐá‘vØ:ˆÜ˜‹oÐáØ˜+˜ iÐ0‰Ù	Ø�f—m‘m CÓ(Ð)¨Ð+‰àˆä‡M�MØˆ,�a˜�uÐ?À¸yÈÈÐQÜØöó    )N)r   Ústrr   z
int | Noner   ú
str | Noner   r%   r   ÚboolÚreturnÚNone)Ú
__future__r   r   r   r   r"   © r#   r!   ú<module>r+      s]   ðÝ "ã å ð #ð=ð
 Øñ=Øð=à
ð=ð ð=ð
 ð=ð ð=ð 
ô=r#   