
    DUf                     :    d Z dgZd ZddZ G d de          ZdS )z!Error classes used by simplejson
JSONDecodeErrorc                     |                      dd|          dz   }|dk    r|dz   }n||                     dd|          z
  }||fS )N
       )countrindex)docposlinenocolnos       N/var/www/html/software/conda/lib/python3.11/site-packages/simplejson/errors.pylinecolr      sT    YYtQ$$q(F{{acjjq#...5=    Nc           	          t          ||          \  }}|                     dt          |||dz                                } |d}|| |||fz  S t          ||          \  }}d}|| ||||||fz  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%%MFE
++dDSq[!122
3
3C
{/c65#...!#s++Ix
DC#vui3DDDr   c                        e Zd ZdZddZd ZdS )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   zJSONDecodeError.__init__(   s    D&c3C"@"@"@AAA")#s"3"3TZ?,3C,=,=)DNDMMM,6)DNDMMMr   c                 D    | j         | j        | j        | j        | j        ffS N)	__class__r   r	   r
   r   )r   s    r   
__reduce__zJSONDecodeError.__reduce__4   s     ~$(DHdhGGGr   r   )__name__
__module____qualname____doc__r   r!    r   r   r   r      sF         
7 
7 
7 
7H H H H Hr   r   )r%   __all__r   r   r   r   r&   r   r   <module>r(      s|    
  E E E EH H H H Hj H H H H Hr   