o
    !h^                  	   @   s  d Z ddlZddlZddlmZ zeedd dkZW n e	e
fy*   dZY nw dd Ze ZejZed d	kZed d
kZdZzddlZdZW n eyX   ddlZY nw erbddlmZ nddlmZ ddlmZ ddlmZmZmZ ddlmZ ddlm Z  ddl!m"Z" ddl#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z- ddl.m/Z/m0Z0m1Z1m2Z2m3Z3 e4Z5e4Z4e6Z6e4e6fZ7ee8fZ9efZ:dS )z
requests.compat
~~~~~~~~~~~~~~~

This module previously handled import compatibility issues
between Python 2 and Python 3. It remains for backwards
compatibility until the next major version.
    N)__version__.   Tc               	   C   s<   d} dD ]}| du rzt |} W q ty   Y qw q| S )z-Find supported character detection libraries.N)chardetcharset_normalizer)	importlibimport_moduleImportError)r   lib r   B/var/www/html/venv/lib/python3.10/site-packages/requests/compat.py_resolve_char_detection   s   r         F)JSONDecodeError)OrderedDict)CallableMappingMutableMapping)	cookiejar)Morsel)StringIO)
quote
quote_plusunquoteunquote_plus	urldefrag	urlencodeurljoinurlparseurlsplit
urlunparse)
getproxiesgetproxies_environmentparse_http_listproxy_bypassproxy_bypass_environment);__doc__r   sysurllib3r   urllib3_versionintsplitis_urllib3_1	TypeErrorAttributeErrorr   r   version_info_veris_py2is_py3has_simplejson
simplejsonjsonr	   r   collectionsr   collections.abcr   r   r   httpr   	cookielibhttp.cookiesr   ior   urllib.parser   r   r   r   r   r   r   r   r    r!   urllib.requestr"   r#   r$   r%   r&   strbuiltin_strbytes
basestringfloatnumeric_typesinteger_typesr   r   r   r   <module>   sJ    		0
