File: //usr/local/CyberPanel/lib64/python3.10/site-packages/django/utils/__pycache__/html.cpython-310.pyc
o
�h= � @ s d Z ddlZddlZddlZddlmZ ddlmZmZm Z m
Z
mZmZ ddl
mZ ddlmZmZmZmZ ddlmZmZ ddlmZ dd lmZmZmZ dd
lmZ ee�dd� �Ze d
�de d�de d�de d�de d�de d�de d�de d�de d�de d�d e d!�d"e d#�d$iZ!e!�"d%d&� e#d'�D �� ee�d(d)� �Z$e d�de d�de d�diZ%dId*d+�Z&d,d-� Z'd.d/� Z(d0d1� Z)edJd3d4��Z*G d5d6� d6e�Z+d7d8� Z,ed9d:� �Z-ed;d<� �Z.d=d>� Z/G d?d@� d@e0�Z1G dAdB� dB�Z2e2� Z3edKdCdD��Z4dEdF� Z5dGdH� Z6dS )Lz'HTML utilities suitable for global use.� N)�
HTMLParser)� parse_qsl�quote�unquote� urlencode�urlsplit�
urlunsplit)�punycode)�Promise�cached_property� keep_lazy�keep_lazy_text)�RFC3986_GENDELIMS�RFC3986_SUBDELIMS)�_lazy_re_compile)�SafeData�
SafeString� mark_safe)�normalize_newlinesc C s t t�t| ���S )a
Return the given text with ampersands, quotes and angle brackets encoded
for use in HTML.
Always escape input, even if it's already escaped and marked as such.
This may result in double-escaping. If this is a concern, use
conditional_escape() instead.
)r �html�escape�str��text� r �G/usr/local/CyberPanel/lib/python3.10/site-packages/django/utils/html.pyr s
r �\z\u005C�'z\u0027�"z\u0022�>z\u003E�<z\u003C�&z\u0026�=z\u003D�-z\u002D�;z\u003B�`z\u0060u
z\u2028u
z\u2029c c s$ � | ]
}t d | �d| fV qdS )z%cz\u%04XN)�ord)�.0�zr r r � <genexpr>. s �"