__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

��g�(���%SSKJr SSKJrJrJrJrJrJrJ	r	J
r
 SSKJr SSK
Jr \	(aSSKJr "SS\5r"SS	\5r"S
S\5r\"\R(S9\R*S
'\"\R,SSS9\R*S'\"\R(SSS9\R*S'\"\R.S9\R*S'\"SS9\R*S'\"\R(S9\R*S
'\"\R.S9\R*S'\"SS9\R*S'\\/\4rS\S'\
\\4rg)�)�annotations)�Callable�Dict�Iterable�Optional�Set�Tuple�
TYPE_CHECKING�Union)�	TypeAlias)�EntitySubstitution)�_AttributeValuec��\rSrSr%SrSrS\S'SrS\S'\"\	"SS	/5S
9r
S\S'S
\S'S\S'S\S'S\S'S\S'S\S'SSjrSS SjjrS!Sjr
S"SjrS#SjrSrg)$�	Formatter�
aDescribes a strategy to use when outputting a parse tree to a string.

Some parts of this strategy come from the distinction between
HTML4, HTML5, and XML. Others are configurable by the user.

Formatters are passed in as the `formatter` argument to methods
like `bs4.element.Tag.encode`. Most people won't need to
think about formatters, and most people who need to think about
them can pass in one of these predefined strings as `formatter`
rather than making a new Formatter object:

For HTML documents:
 * 'html' - HTML entity substitution for generic HTML documents. (default)
 * 'html5' - HTML entity substitution for HTML5 documents, as
             well as some optimizations in the way tags are rendered.
 * 'html5-4.12.0' - The version of the 'html5' formatter used prior to
                    Beautiful Soup 4.13.0.
 * 'minimal' - Only make the substitutions necessary to guarantee
               valid HTML.
 * None - Do not perform any substitution. This will be faster
          but may result in invalid markup.

For XML documents:
 * 'html' - Entity substitution for XHTML documents.
 * 'minimal' - Only make the substitutions necessary to guarantee
               valid XML. (default)
 * None - Do not perform any substitution. This will be faster
          but may result in invalid markup.

�html�str�HTML�xml�XML�script�style)�cdata_containing_tagszDict[str, Set[str]]�
HTML_DEFAULTS�
Optional[str]�language�%Optional[_EntitySubstitutionFunction]�entity_substitution�void_element_close_prefix�Set[str]r�indent�bool�empty_attributes_are_booleansc�\�UbU$XR:Xa
[5$URU$)N)r�setr)�selfr�value�kwargs    �//usr/lib/python3/dist-packages/bs4/formatter.py�_default�Formatter._defaultBs5�����L��x�x���5�L��!�!�%�(�(�Nc�0�U=(d URUlX lX0lUR	URUS5UlXPlUcSn[U[5(aUS:aSnSU-nO[U[5(aUnOSnXpl
g)a�Constructor.

:param language: This should be `Formatter.XML` if you are formatting
   XML markup and `Formatter.HTML` if you are formatting HTML markup.

:param entity_substitution: A function to call to replace special
   characters with XML/HTML entities. For examples, see
   bs4.dammit.EntitySubstitution.substitute_html and substitute_xml.
:param void_element_close_prefix: By default, void elements
   are represented as <tag/> (XML rules) rather than <tag>
   (HTML rules). To get <tag>, pass in the empty string.
:param cdata_containing_tags: The set of tags that are defined
   as containing CDATA in this dialect. For example, in HTML,
   <script> and <style> tags are defined as containing CDATA,
   and their contents should not be formatted.
:param empty_attributes_are_booleans: If this is set to true,
  then attributes whose values are sent to the empty string
  will be treated as `HTML boolean
  attributes<https://dev.w3.org/html5/spec-LC/common-microsyntaxes.html#boolean-attributes>`_. (Attributes
  whose value is None are always rendered this way.)
:param indent: If indent is a non-negative integer or string,
    then the contents of elements will be indented
    appropriately when pretty-printing. An indent level of 0,
    negative, or "" will only insert newlines. Using a
    positive integer indent indents that many spaces per
    level. If indent is a string (such as "\t"), that string
    is used to indent each level. The default behavior is to
    indent one space per level.

rNr� )rrrrr*rr#�
isinstance�intrr!)r&rrrrr#r!�
indent_strs        r)�__init__�Formatter.__init__Os���N!�-�D�I�I��
�#6� �)B�&�%)�]�]��M�M�0�2I�&
��"�.K�*��>��F��f�c�"�"���z����v��J�
���
$�
$��J��J� �r,c���UR(dU$SSKJn [X5(a3URb&URR
UR;aU$URU5$)z�Process a string that needs to undergo entity substitution.
This may be a string encountered in an attribute value or as
text.

:param ns: A string.
:return: The same string but with certain characters replaced by named
   or numeric entities.
�)�NavigableString)r�elementr6r/�parent�namer)r&�nsr6s   r)�
substitute�Formatter.substitute�sZ���'�'��I�,�
�r�+�+��	�	�%��	�	���$�"<�"<�<��I��'�'��+�+r,c�$�URU5$)z�Process the value of an attribute.

:param ns: A string.
:return: A string with certain characters replaced by named
   or numeric entities.
)r;)r&r's  r)�attribute_value�Formatter.attribute_value�s�����u�%�%r,c�^�URc/$[URR55n[U4SjU55$)axReorder a tag's attributes however you want.

By default, attributes are sorted alphabetically. This makes
behavior consistent between Python 2 and Python 3, and preserves
backwards compatibility with older versions of Beautiful Soup.

If `empty_attributes_are_booleans` is True, then
attributes whose values are set to the empty string will be
treated as boolean attributes.
c3�b># �UH$upUTR(aUS:XaSOU4v� M& g7f)�N)r#)�.0�k�vr&s   �r)�	<genexpr>�'Formatter.attributes.<locals>.<genexpr>�s/����
������;�;��R���Q�P��s�,/)�attrs�list�items�sorted)r&�tagrJs`  r)�
attributes�Formatter.attributes�sC����9�9���I�7;�C�I�I�O�O�<M�7N���
��
�
�	
r,)rr#rr!rr)rrr'�Optional[Set[str]]r(r�returnr )NN�/NFr5)rrrrrrrrOr#r"r!�Union[int, str])r:rrPr)r'rrPr)rLzbs4.element.TagrPz/Iterable[Tuple[str, Optional[_AttributeValue]]])�__name__�
__module__�__qualname__�__firstlineno__�__doc__r�__annotations__r�dictr%rr*r2r;r>rM�__static_attributes__�r,r)rr
s���@�D�#���C���*.�!�8�W�"5�6�*�M�&����>�>�"�"�#�#��K�$(�'�)��)�$6�)�?B�)�	�)�#'�EI�),�48�.3�!"�9!��9!�C�9!�$'�	9!�
 2�9!�(,�
9!��9!�v,�.&�
�"�
�	8�
r,rc�`^�\rSrSr%Sr0rS\S'SSU4SjjjrSrU=r	$)	�
HTMLFormatter�zA generic Formatter for HTML.z"Dict[Optional[str], HTMLFormatter]�REGISTRYc	�F>�[[U]URUUUUUS9 g�N)r!)�superr]r2r�r&rrrr#r!�	__class__s      �r)r2�HTMLFormatter.__init__�s/���	�m�T�+��I�I��%�!�)��
	,�	
r,r[�NrQNFr5�
rrrrrrOr#r"r!rR�
rSrTrUrVrWr_rXr2rZ�
__classcell__�rds@r)r]r]�s^���'�35�H�0�5�FJ�),�48�.3�!"�

�B�
�$'�
� 2�	
�
(,�
��

�
r,r]c�`^�\rSrSr%Sr0rS\S'SSU4SjjjrSrU=r	$)	�XMLFormatter��zA generic Formatter for XML.z!Dict[Optional[str], XMLFormatter]r_c	�F>�[[U]URUUUUUS9 gra)rbrlr2rrcs      �r)r2�XMLFormatter.__init__�s/���	�l�D�*��H�H��%�!�)��
	+�	
r,r[rfrgrhrjs@r)rlrl�s^���&�24�H�/�4�FJ�),�48�.3�!"�

�B�
�$'�
� 2�	
�
(,�
��

�
r,rl)rrrBT)rrr#�html5z
html5-4.12�minimalNr�_EntitySubstitutionFunction)�
__future__r�typingrrrrrr	r
r�typing_extensionsr�
bs4.dammitr
�bs4._typingrrr]rl�substitute_htmlr_�substitute_html5�substitute_xmlrrrrX�_FormatterOrNamer[r,r)�<module>r|sf��"�W�W�W�'�)��+�t
�"�t
�n
�I�
�.
�9�
�0"/�*�:�:�"�
���v��#0�*�;�;� �"&�#�
���w��
(5�*�:�:� �"&�(�
���|�$�
%2�*�9�9�%�
���y�!� -��F�
���t�� ,�*�:�:�!����f��$0�*�9�9�$����i� �+�t�D����d��*2�3�%��*�)=��Y�=���C��(�r,

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 38.36 KB 0644
_deprecation.cpython-313.pyc File 3.62 KB 0644
_typing.cpython-313.pyc File 3.49 KB 0644
_warnings.cpython-313.pyc File 5.51 KB 0644
css.cpython-313.pyc File 13.19 KB 0644
dammit.cpython-313.pyc File 44.59 KB 0644
diagnose.cpython-313.pyc File 12.43 KB 0644
element.cpython-313.pyc File 102.48 KB 0644
exceptions.cpython-313.pyc File 1.78 KB 0644
filter.cpython-313.pyc File 27.9 KB 0644
formatter.cpython-313.pyc File 9.93 KB 0644
Filemanager