Ë
    ¹ûàgT  ã                   ór   — d Z ddlmZ ddlmZ  G d„ d«      Z G d„ dee«      ZeZd„ Z	 ee«      d	„ «       Z
y
)a8  
Functions for working with "safe strings": strings that can be displayed safely
without further escaping in HTML. Marking something as a "safe string" means
that the producer of the string has already turned characters that should not
be interpreted by the HTML engine (e.g. '<') into the appropriate entities.
é    ©Úwraps)Ú	keep_lazyc                   ó   — e Zd ZdZd„ Zy)ÚSafeData© c                 ó   — | S )zŸ
        Return the html representation of a string for interoperability.

        This allows other template engines to understand Django's SafeData.
        r   ©Úselfs    úU/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/django/utils/safestring.pyÚ__html__zSafeData.__html__   s	   € ð ˆó    N)Ú__name__Ú
__module__Ú__qualname__Ú	__slots__r   r   r   r   r   r      s   „ Ø€Iór   r   c                   ó,   ‡ — e Zd ZdZdZˆ fd„Zd„ Zˆ xZS )Ú
SafeStringzb
    A str subclass that has been specifically marked as "safe" for HTML output
    purposes.
    r   c                 ó\   •— t         ‰| �  |«      }t        |t        «      rt	        |«      S |S )z“
        Concatenating a safe string with another safe bytestring or
        safe string is safe. Otherwise, the result is no longer safe.
        )ÚsuperÚ__add__Ú
isinstancer   r   )r   ÚrhsÚtÚ	__class__s      €r   r   zSafeString.__add__!   s,   ø€ ô
 ‰G‰O˜CÓ ˆÜ�cœ8Ô$Ü˜a“=Ð Øˆr   c                 ó   — | S ©Nr   r
   s    r   Ú__str__zSafeString.__str__+   s   € Øˆr   )r   r   r   Ú__doc__r   r   r   Ú__classcell__)r   s   @r   r   r      s   ø„ ñð
 €Iôör   r   c                 ó2   ‡ ‡— t        ‰«      ˆˆ fd„«       }|S )Nc                  ó    •—  ‰ ‰| i |¤Ž«      S r   r   )ÚargsÚkwargsÚfuncÚsafety_markers     €€r   Úwrapperz"_safety_decorator.<locals>.wrapper3   s   ø€ á™T 4Ð2¨6Ñ2Ó3Ð3r   r   )r&   r%   r'   s   `` r   Ú_safety_decoratorr(   2   s    ù€ Ü
ˆ4ƒ[ô4ó ð4ð €Nr   c                 ój   — t        | d«      r| S t        | «      rt        t        | «      S t	        | «      S )a  
    Explicitly mark a string as safe for (HTML) output purposes. The returned
    object can be used everywhere a string is appropriate.

    If used on a method as a decorator, mark the returned data as safe.

    Can be called multiple times on a single string.
    r   )ÚhasattrÚcallabler(   Ú	mark_safer   )Úss    r   r,   r,   :   s1   € ô ˆq�*ÔØˆÜ�„{Ü ¤¨AÓ.Ð.Ü�a‹=Ðr   N)r   Ú	functoolsr   Údjango.utils.functionalr   r   Ústrr   ÚSafeTextr(   r,   r   r   r   ú<module>r2      sO   ðñõ å -÷	ñ 	ô��hô ð, €òñ ˆ:Óñó ñr   