Ë
    T]j  ã                   óN   — d dl mZmZ d dlmZ  G d„ de«      Z G d„ dee«      Zy)é    )Ú	FileFieldÚ
ImageField)Úfilesc                   ó:   ‡ — e Zd ZdZej
                  Zˆ fd„Zˆ xZS )ÚThumbnailerFieldzÐ
    A file field which provides easier access for retrieving (and generating)
    thumbnails.

    To use a different file storage for thumbnails, provide the
    ``thumbnail_storage`` keyword argument.
    c                 óR   •— |j                  dd «      | _        t        ‰| �  |i |¤Ž y )NÚthumbnail_storage)Úpopr	   ÚsuperÚ__init__©ÚselfÚargsÚkwargsÚ	__class__s      €úM/var/www/zogu/zoguvenv/lib/python3.12/site-packages/easy_thumbnails/fields.pyr   zThumbnailerField.__init__   s+   ø€ ð "(§¡Ð,?ÀÓ!FˆÔä‰Ñ˜$Ð) &Ó)ó    )	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   ÚThumbnailerFieldFileÚ
attr_classr   Ú__classcell__©r   s   @r   r   r      s   ø„ ñð ×+Ñ+€J÷*ð *r   r   c                   ó:   ‡ — e Zd ZdZej
                  Zˆ fd„Zˆ xZS )ÚThumbnailerImageFieldaç  
    An image field which provides easier access for retrieving (and generating)
    thumbnails.

    To use a different file storage for thumbnails, provide the
    ``thumbnail_storage`` keyword argument.

    To thumbnail the original source image before saving, provide the
    ``resize_source`` keyword argument, passing it a usual thumbnail option
    dictionary. For example::

        ThumbnailerImageField(
            ..., resize_source=dict(size=(100, 100), sharpen=True))
    c                 óR   •— |j                  dd «      | _        t        ‰| �  |i |¤Ž y )NÚresize_source)r
   r   r   r   r   s      €r   r   zThumbnailerImageField.__init__(   s*   ø€ ð $ŸZ™Z¨¸Ó>ˆÔä‰Ñ˜$Ð) &Ó)r   )	r   r   r   r   r   ÚThumbnailerImageFieldFiler   r   r   r   s   @r   r   r      s   ø„ ñð ×0Ñ0€J÷*ð *r   r   N)Údjango.db.models.fields.filesr   r   Úeasy_thumbnailsr   r   r   © r   r   ú<module>r$      s&   ðß ?Ý !ô*�yô *ô$*Ð,¨jõ *r   