ó
    ½RjT  ã                   ór   • S r SSKJr  SSKJr   " S S5      r " S S\\5      r\rS r	\" \5      S	 5       r
g
)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                   ó   • \ rS rSrSrS rSrg)ÚSafeDataé   © c                 ó   • U $ )z‡
Return the html representation of a string for interoperability.

This allows other template engines to understand Django's SafeData.
r	   ©Úselfs    ÚCD:\diplom_project\venv\Lib\site-packages\django/utils/safestring.pyÚ__html__ÚSafeData.__html__   s	   € ð ˆó    N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú	__slots__r   Ú__static_attributes__r	   r   r   r   r      s   † Ø€Iõr   r   c                   ó6   ^ • \ rS rSrSrSrU 4S jrS rSrU =r	$ )Ú
SafeStringé   zV
A str subclass that has been specifically marked as "safe" for HTML output
purposes.
r	   c                 óf   >• [         TU ]  U5      n[        U[        5      (       a  [	        U5      $ U$ )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   ÚSafeString.__add__!   s/   ø€ ô
 ‰G‰O˜CÓ ˆÜ�cœ8×$Ñ$Ü˜a“=Ð Øˆr   c                 ó   • U $ ©Nr	   r   s    r   Ú__str__ÚSafeString.__str__+   s   € Øˆr   )
r   r   r   r   Ú__doc__r   r   r$   r   Ú__classcell__)r    s   @r   r   r      s   ø† ñð
 €Iõ÷ð r   r   c                 ó4   ^ ^• [        T5      UU 4S j5       nU$ )Nc                  ó    >• T" T" U 0 UD65      $ r#   r	   )ÚargsÚkwargsÚfuncÚsafety_markers     €€r   ÚwrapperÚ"_safety_decorator.<locals>.wrapper3   s   ø€ á™T 4Ð2¨6Ñ2Ó3Ð3r   r   )r-   r,   r.   s   `` r   Ú_safety_decoratorr0   2   s    ù€ Ü
ˆ4ƒ[õ4ó ð4ð €Nr   c                 ó~   • [        U S5      (       a  U $ [        U 5      (       a  [        [        U 5      $ [	        U 5      $ )zù
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Úcallabler0   Ú	mark_safer   )Úss    r   r4   r4   :   s6   € ô ˆq�*×ÑØˆÜ�‡{�{Ü ¤¨AÓ.Ð.Ü�a‹=Ðr   N)r&   Ú	functoolsr   Údjango.utils.functionalr   r   Ústrr   ÚSafeTextr0   r4   r	   r   r   Ú<module>r:      sO   ðñõ å -÷	ñ 	ô��hô ð, €òñ ˆ:Óñó ñr   