Your IP : 3.21.105.46
�
\�Dg� � �: � d Z dgZd� Zdd�Z G d� de� � ZdS )z!Error classes used by simplejson
�JSONDecodeErrorc � � | � dd|� � dz }|dk r|dz }n|| � dd|� � z
}||fS )N�
� � )�count�rindex)�doc�pos�lineno�colnos �s/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib64/python3.11/site-packages/simplejson/errors.py�linecolr sT � �
�Y�Y�t�Q��
$�
$�q�
(�F�
��{�{��a�����c�j�j��q�#�.�.�.���5�=�� Nc �� � t ||� � \ }}| � dt |||dz � � � � � } |�d}|| |||fz S t ||� � \ }}d}|| ||||||fz S )Nz%rr z%s: line %d column %d (char %d)z8%s: line %d column %d - line %d column %d (char %d - %d))r �replace�repr) �msgr r
�endr r �fmt� endlineno�endcolnos r
�errmsgr s� � ��C��%�%�M�F�E�
�+�+�d�D��S��q��[�!1�2�2�
3�
3�C�
�{�/���c�6�5�#�.�.�.�!�#�s�+�+��I�x�
D�C��#�v�u�i��3��D�D�Dr c � � e Zd ZdZdd�Zd� ZdS )r a� Subclass of ValueError with the following additional properties:
msg: The unformatted error message
doc: The JSON document being parsed
pos: The start index of doc where parsing failed
end: The end index of doc where parsing failed (may be None)
lineno: The line corresponding to pos
colno: The column corresponding to pos
endlineno: The line corresponding to end (may be None)
endcolno: The column corresponding to end (may be None)
Nc �0 � t � | t ||||�� � � � || _ || _ || _ || _ t ||� � \ | _ | _ |�t ||� � \ | _
| _ d S d\ | _
| _ d S )N)r )NN)�
ValueError�__init__r r r r
r r r r r r )�selfr r r
r s r
r zJSONDecodeError.__init__( s� � ����D�&��c�3�C�"@�"@�"@�A�A�A�������������")�#�s�"3�"3����T�Z��?�,3�C��,=�,=�)�D�N�D�M�M�M�,6�)�D�N�D�M�M�Mr c �D � | j | j | j | j | j ffS �N)� __class__r r r
r )r s r
�
__reduce__zJSONDecodeError.__reduce__4 s � ��~���$�(�D�H�d�h�G�G�Gr r )�__name__�
__module__�__qualname__�__doc__r r! � r r
r r sF � � � � � �� �
7�
7�
7�
7�H� H� H� H� Hr r )r% �__all__r r r r r&