§
    ‹hþh  ã                   óæ   —  G d „ de ¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ d	e¦  «        Z G d
„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z	dS )c                   ó   — e Zd ZdS )ÚPlotlyErrorN©Ú__name__Ú
__module__Ú__qualname__© ó    úO/var/www/histauto/venv/lib/python3.11/site-packages/_plotly_utils/exceptions.pyr   r      ó   € € € € € Ø€Dr	   r   c                   ó   — e Zd ZdS )ÚPlotlyEmptyDataErrorNr   r   r	   r
   r   r      r   r	   r   c                   ó&   ‡ — e Zd Zdˆ fd„	Zd„ Zˆ xZS )ÚPlotlyGraphObjectErrorÚ r   c                 óª   •— || _         || _        t          |¦  «        | _        || _        t          t          | ¦  «                             |¦  «         dS )a  
        General graph object error for validation failures.

        :param (str|unicode) message: The error message.
        :param (iterable) path: A path pointing to the error.
        :param notes: Add additional notes, but keep default exception message.

        N)ÚmessageÚplain_messageÚlistÚpathÚnotesÚsuperr   Ú__init__)Úselfr   r   r   Ú	__class__s       €r
   r   zPlotlyGraphObjectError.__init__
   sM   ø€ ð ˆŒØ$ˆÔÝ˜‘J”JˆŒ	ØˆŒ
ÝÕ$ dÑ+Ô+×4Ò4°WÑ=Ô=Ð=Ð=Ð=r	   c                 ó²   — | j         dd                     d„ | j        D ¦   «         ¦  «        z   dz   d                     | j        ¦  «        dœ} dj        di |¤ŽS )	z6This is called by Python to present the error message.ú[z][c              3   ó4   K  — | ]}t          |¦  «        V — Œd S ©N)Úrepr)Ú.0Úks     r
   ú	<genexpr>z1PlotlyGraphObjectError.__str__.<locals>.<genexpr>   s(   è è € Ð#?Ð#?°¥D¨¡G¤GÐ#?Ð#?Ð#?Ð#?Ð#?Ð#?r	   ú]ú
©r   r   r   z){message}

Path To Error: {path}

{notes}r   )r   Újoinr   r   Úformat)r   Úformat_dicts     r
   Ú__str__zPlotlyGraphObjectError.__str__   sm   € ð ”|Ø˜$Ÿ)š)Ð#?Ð#?°T´YÐ#?Ñ#?Ô#?Ñ?Ô?Ñ?À#ÑEØ—Y’Y˜tœzÑ*Ô*ð
ð 
ˆð
 FÐ>ÔEÐTÐTÈÐTÐTÐTr	   )r   r   r   )r   r   r   r   r)   Ú__classcell__©r   s   @r
   r   r   	   sS   ø€ € € € € ð>ð >ð >ð >ð >ð >ðUð Uð Uð Uð Uð Uð Ur	   r   c                   ó    ‡ — e Zd Zdˆ fd„	Zˆ xZS )ÚPlotlyDictKeyErrorr   c                 óæ   •— |d         |j         dœ} dj        di |¤Ž}|                     d¬¦  «        gt          |¦  «        z   }t	          t
          | ¦  «                             |||¬¦  «         dS )	ú3See PlotlyGraphObjectError.__init__ for param docs.éÿÿÿÿ©Ú	attributeÚobject_namez/'{attribute}' is not allowed in '{object_name}'T©Úreturn_helpr%   Nr   )Ú_namer'   Úhelpr   r   r-   r   ©r   Úobjr   r   r(   r   r   s         €r
   r   zPlotlyDictKeyError.__init__$   s”   ø€ à$(¨¤H¸S¼YÐGÐGˆØJÐCÔJð 
ð 
Øð
ð 
ˆð —’ d�Ñ+Ô+Ð,­t°E©{¬{Ñ:ˆÝÕ  $Ñ'Ô'×0Ò0Ø $¨eð 	1ñ 	
ô 	
ð 	
ð 	
ð 	
r	   ©r   ©r   r   r   r   r*   r+   s   @r
   r-   r-   #   ó=   ø€ € € € € ð	
ð 	
ð 	
ð 	
ð 	
ð 	
ð 	
ð 	
ð 	
ð 	
r	   r-   c                   ó    ‡ — e Zd Zdˆ fd„	Zˆ xZS )ÚPlotlyDictValueErrorr   c                 óô   •— |d         |j         dœ} dj        di |¤Ž}|                     |d         d¬¦  «        gt          |¦  «        z   }t	          t
          | ¦  «                             |||¬¦  «         dS )	r/   r0   r1   z6'{attribute}' has invalid value inside '{object_name}'Tr4   )r   r   r   Nr   )r6   r'   r7   r   r   r>   r   r8   s         €r
   r   zPlotlyDictValueError.__init__1   sš   ø€ à$(¨¤H¸S¼YÐGÐGˆØQÐJÔQð 
ð 
Øð
ð 
ˆð —’˜$˜rœ(°�Ñ5Ô5Ð6½¸e¹¼ÑDˆÝÕ" DÑ)Ô)×2Ò2Ø 5¨tð 	3ñ 	
ô 	
ð 	
ð 	
ð 	
r	   r:   r;   r+   s   @r
   r>   r>   0   r<   r	   r>   c                   ó    ‡ — e Zd Zdˆ fd„	Zˆ xZS )ÚPlotlyListEntryErrorr   c                 óæ   •— |d         |j         dœ} dj        di |¤Ž}|                     d¬¦  «        gt          |¦  «        z   }t	          t
          | ¦  «                             |||¬¦  «         dS )	r/   r0   ©Úindexr3   ú:Invalid entry found in '{object_name}' at index, '{index}'Tr4   r%   Nr   )r6   r'   r7   r   r   rA   r   r8   s         €r
   r   zPlotlyListEntryError.__init__>   s”   ø€ à $ R¤¸¼ÐCÐCˆØUÐNÔUð 
ð 
Øð
ð 
ˆð —’ d�Ñ+Ô+Ð,­t°E©{¬{Ñ:ˆÝÕ" DÑ)Ô)×2Ò2Ø $¨eð 	3ñ 	
ô 	
ð 	
ð 	
ð 	
r	   r:   r;   r+   s   @r
   rA   rA   =   r<   r	   rA   c                   ó    ‡ — e Zd Zdˆ fd„	Zˆ xZS )ÚPlotlyDataTypeErrorr   c                 óÂ   •— |d         |j         dœ} dj        di |¤Ž}d}|gt          |¦  «        z   }t          t          | ¦  «                             |||¬¦  «         dS )r/   r0   rC   rE   z=It's invalid because it doesn't contain a valid 'type' value.r%   Nr   )r6   r'   r   r   rG   r   )r   r9   r   r   r(   r   Únoter   s          €r
   r   zPlotlyDataTypeError.__init__K   s‹   ø€ à $ R¤¸¼ÐCÐCˆØUÐNÔUð 
ð 
Øð
ð 
ˆð OˆØ��˜e™œÑ$ˆÝÕ! 4Ñ(Ô(×1Ò1Ø $¨eð 	2ñ 	
ô 	
ð 	
ð 	
ð 	
r	   r:   r;   r+   s   @r
   rG   rG   J   s=   ø€ € € € € ð

ð 

ð 

ð 

ð 

ð 

ð 

ð 

ð 

ð 

r	   rG   c                   ó   — e Zd ZdZd„ ZdS )ÚPlotlyKeyErrora  
    KeyErrors are not printed as beautifully as other errors (this is so that
    {}[''] prints    "KeyError: ''" and not "KeyError:"). So here we use
    LookupError's __str__ to make a PlotlyKeyError object which will print nicer
    error messages for KeyErrors.
    c                 ó6   — t                                | ¦  «        S r   )ÚLookupErrorr)   )r   s    r
   r)   zPlotlyKeyError.__str__`   s   € Ý×"Ò" 4Ñ(Ô(Ð(r	   N)r   r   r   Ú__doc__r)   r   r	   r
   rK   rK   X   s-   € € € € € ðð ð)ð )ð )ð )ð )r	   rK   N)
Ú	Exceptionr   r   r   r-   r>   rA   rG   ÚKeyErrorrK   r   r	   r
   ú<module>rQ      sk  ðð	ð 	ð 	ð 	ð 	�)ñ 	ô 	ð 	ð	ð 	ð 	ð 	ð 	˜;ñ 	ô 	ð 	ðUð Uð Uð Uð U˜[ñ Uô Uð Uð4

ð 

ð 

ð 

ð 

Ð/ñ 

ô 

ð 

ð

ð 

ð 

ð 

ð 

Ð1ñ 

ô 

ð 

ð

ð 

ð 

ð 

ð 

Ð1ñ 

ô 

ð 

ð
ð 
ð 
ð 
ð 
Ð0ñ 
ô 
ð 
ð	)ð 	)ð 	)ð 	)ð 	)�Xñ 	)ô 	)ð 	)ð 	)ð 	)r	   