§
    ¹X¼hò  ã                  ó<   — d dl mZ d dlZddlmZ 	 dddddœdd„ZdS )é    )ÚannotationsNé   )Ú__version__Fé   )ÚactionÚpluralÚ
stacklevelÚ
deprecatedÚstrÚwhenú
int | NoneÚreplacementú
str | Noner   r   Úboolr	   ÚintÚreturnÚNonec               óÂ  — |rdnd}|€d}nq|t          t          j        d¦  «        d         ¦  «        k    r| › d|› d}t          |¦  «        ‚|d	k    rd
}n&|dk    rd}nd|› dt          › d}t          |¦  «        ‚|r|rd}t          |¦  «        ‚|rd|› d}n|rd|                     d¦  «        › d}nd}t          j        | › d|› d|› |› t          |¬¦  «         dS )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Pillow 13 (2026-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 )r	   )
r   r   ÚsplitÚRuntimeErrorÚ__name__Ú
ValueErrorÚrstripÚwarningsÚwarnÚDeprecationWarning)	r
   r   r   r   r   r	   Úis_ÚremovedÚmsgs	            ú`/var/www/tools.fuzzalab.pt/emblema-extractor/venv/lib/python3.11/site-packages/PIL/_deprecate.pyÚ	deprecater)      sV  € ðD Ð
#ˆ%ˆ%˜t€Cà€|Ø$ˆˆØ	••[Ô& sÑ+Ô+¨AÔ.Ñ/Ô/Ò	/Ð	/ØÐEÐE˜cÐEÐEÐEˆÝ˜3ÑÔÐØ	ŠˆØ*ˆˆØ	ŠˆØ*ˆˆàD¨$ÐDÐD½ÐDÐDÐDˆÝ˜‰oŒoÐàð vð Ø:ˆÝ˜‰oŒoÐàð Ø0˜+Ð0Ð0Ð0ˆˆØ	ð Ø+f—m’m CÑ(Ô(Ð+Ð+Ð+ˆˆàˆå„MØÐQÐQ˜ÐQÐQÀÐQÈÐQÐQÝØðñ ô ð ð ð ó    )N)r
   r   r   r   r   r   r   r   r   r   r	   r   r   r   )Ú
__future__r   r"   r   r   r)   © r*   r(   ú<module>r-      sx   ðØ "Ð "Ð "Ð "Ð "Ð "à €€€à Ð Ð Ð Ð Ð ð #ð@ð
 ØØð@ð @ð @ð @ð @ð @ð @ð @r*   