ó
    tviò  ã                  óZ   • S SK Jr  S SKrSSKJr   S	SSSS.             S
S jjjrg)é    )ÚannotationsNé   )Ú__version__Fé   )ÚactionÚpluralÚ
stacklevelc               óÄ  • U(       a  SOSnUc  SnOcU[        [        R                  " S5      S   5      ::  a  U  SU S3n[        U5      eUS	:X  a  S
nO!US:X  a  SnOSU S[         S3n[        U5      eU(       a  U(       a  Sn[        U5      eU(       a  SU S3nOU(       a  SUR                  S5       S3nOSn[        R                  " U  SU SU U 3[        US9  g)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 13 (2026-10-15)é   zPillow 14 (2027-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	   )
Úintr   ÚsplitÚRuntimeErrorÚ__name__Ú
ValueErrorÚrstripÚwarningsÚwarnÚDeprecationWarning)	Ú
deprecatedÚwhenÚreplacementr   r   r	   Úis_ÚremovedÚmsgs	            Ú</root/pdf_env/lib/python3.13/site-packages/PIL/_deprecate.pyÚ	deprecater#      sù   € öD ‰%˜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   Úboolr	   r   ÚreturnÚNone)Ú
__future__r   r   r   r   r#   © r$   r"   Ú<module>r,      ss   ðÝ "ã å ð #ð@ð
 ØØñ@Øð@à
ð@ð ð@ð
 ð@ð ð@ð ð@ð 
÷@r$   