o
    tBh                     @   sb   d Z ddlZzddlmZmZ dadadd ZW n e	y*   dddZd	d ZY nw d
d Z
dS )ze
certifi.py
~~~~~~~~~~

This module returns the installation location of cacert.pem or its contents.
    N)path	read_textc                   C   s"   t d u rtddatt a t S )Ncertifi
cacert.pem)_CACERT_PATHget_path_CACERT_CTXstr	__enter__ r   r   c/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/certifi/core.pywhere   s   
r   asciic                 C   s<   t t d|d}| W  d    S 1 sw   Y  d S )Nrencoding)openr   read)_module_pathr   datar   r   r   r   /   s   $r   c                  C   s   t jt} t j| dS )Nr   )osr   dirname__file__join)fr   r   r   r   5   s   c                   C   s   t ddddS )Nr   r   r   r   )r   r   r   r   r   contents;   s   r   )r   )__doc__r   importlib.resourcesr   r   r   r   r   r   ImportErrorr   r   r   r   r   <module>   s   
