§
    jŠtjP  ã                  óÀ  — d Z ddlmZ ddlmZmZ ddlZddlmZ erddl	m
Z
 ddlmZ e G d„ d	e¦  «        ¦   «         Ze G d
„ de¦  «        ¦   «         Ze G d„ de¦  «        ¦   «         Ze G d„ de¦  «        ¦   «         Zej         G d„ de¦  «        ¦   «         Ze G d„ de¦  «        ¦   «         Ze G d„ de¦  «        ¦   «         Ze G d„ de¦  «        ¦   «         ZdS )z
Errors, oh no!
é    )Úannotations)ÚTYPE_CHECKINGÚAnyN)Úfrozen)ÚResource)ÚURIc                  ó.   — e Zd ZU dZded<   dd„Zdd
„ZdS )ÚNoSuchResourcez»
    The given URI is not present in a registry.

    Unlike most exceptions, this class *is* intended to be publicly
    instantiable and *is* part of the public API of the package.
    r   ÚrefÚotherÚobjectÚreturnÚboolc                ó€   — | j         |j         urt          S t          j        | ¦  «        t          j        |¦  «        k    S ©N©Ú	__class__ÚNotImplementedÚattrsÚastuple©Úselfr   s     úT/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/referencing/exceptions.pyÚ__eq__zNoSuchResource.__eq__   ó6   € ØŒ> ¤Ð0Ð0Ý!Ð!ÝŒ}˜TÑ"Ô"¥e¤m°EÑ&:Ô&:Ò:Ð:ó    Úintc                óD   — t          t          j        | ¦  «        ¦  «        S r   ©Úhashr   r   ©r   s    r   Ú__hash__zNoSuchResource.__hash__"   ó   € Ý•E”M $Ñ'Ô'Ñ(Ô(Ð(r   N©r   r   r   r   ©r   r   ©Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__r   r"   © r   r   r
   r
      sS   € € € € € € ðð ð €H€H�Hð;ð ;ð ;ð ;ð
)ð )ð )ð )ð )ð )r   r
   c                  ó.   — e Zd ZU dZded<   dd„Zdd
„ZdS )ÚNoInternalIDa  
    A resource has no internal ID, but one is needed.

    E.g. in modern JSON Schema drafts, this is the :kw:`$id` keyword.

    One might be needed if a resource was to-be added to a registry but no
    other URI is available, and the resource doesn't declare its canonical URI.
    úResource[Any]Úresourcer   r   r   r   c                ó€   — | j         |j         urt          S t          j        | ¦  «        t          j        |¦  «        k    S r   r   r   s     r   r   zNoInternalID.__eq__3   r   r   r   c                óD   — t          t          j        | ¦  «        ¦  «        S r   r   r!   s    r   r"   zNoInternalID.__hash__8   r#   r   Nr$   r%   r&   r,   r   r   r.   r.   &   sV   € € € € € € ðð ð ÐÐÑð;ð ;ð ;ð ;ð
)ð )ð )ð )ð )ð )r   r.   c                  ó.   — e Zd ZU dZded<   dd„Zdd
„ZdS )ÚUnretrievablezO
    The given URI is not present in a registry, and retrieving it failed.
    r   r   r   r   r   r   c                ó€   — | j         |j         urt          S t          j        | ¦  «        t          j        |¦  «        k    S r   r   r   s     r   r   zUnretrievable.__eq__D   r   r   r   c                óD   — t          t          j        | ¦  «        ¦  «        S r   r   r!   s    r   r"   zUnretrievable.__hash__I   r#   r   Nr$   r%   r&   r,   r   r   r4   r4   <   óS   € € € € € € ðð ð €H€H�Hð;ð ;ð ;ð ;ð
)ð )ð )ð )ð )ð )r   r4   c                  ó.   — e Zd ZU dZded<   dd„Zdd
„ZdS )ÚCannotDetermineSpecificationzÅ
    Attempting to detect the appropriate `Specification` failed.

    This happens if no discernible information is found in the contents of the
    new resource which would help identify it.
    r   Úcontentsr   r   r   r   c                ó€   — | j         |j         urt          S t          j        | ¦  «        t          j        |¦  «        k    S r   r   r   s     r   r   z#CannotDetermineSpecification.__eq__X   r   r   r   c                óD   — t          t          j        | ¦  «        ¦  «        S r   r   r!   s    r   r"   z%CannotDetermineSpecification.__hash__]   r#   r   Nr$   r%   r&   r,   r   r   r9   r9   M   sS   € € € € € € ðð ð €M€M�Mð;ð ;ð ;ð ;ð
)ð )ð )ð )ð )ð )r   r9   c                  ó.   — e Zd ZU dZded<   dd„Zdd
„ZdS )ÚUnresolvablez'
    A reference was unresolvable.
    r   r   r   r   r   r   c                ó€   — | j         |j         urt          S t          j        | ¦  «        t          j        |¦  «        k    S r   r   r   s     r   r   zUnresolvable.__eq__i   r   r   r   c                óD   — t          t          j        | ¦  «        ¦  «        S r   r   r!   s    r   r"   zUnresolvable.__hash__n   r#   r   Nr$   r%   r&   r,   r   r   r>   r>   a   r7   r   r>   c                  ó&   — e Zd ZU dZded<   dd„ZdS )	ÚPointerToNowherezK
    A JSON Pointer leads to a part of a document that does not exist.
    r/   r0   r   Ústrc                óR   — | j         ›d| j        j        ›�}| j         dk    r|dz  }|S )Nú does not exist within ú/zœ. The pointer '/' is a valid JSON Pointer but it points to an empty string property ''. If you intended to point to the entire resource, you should use '#'.)r   r0   r:   )r   Úmsgs     r   Ú__str__zPointerToNowhere.__str__z   s=   € Ø”ÐNÐN°D´MÔ4JÐNÐNˆØŒ8�sŠ?ˆ?Øð>ñˆCð
 ˆ
r   N©r   rC   ©r'   r(   r)   r*   r+   rH   r,   r   r   rB   rB   r   sB   € € € € € € ðð ð ÐÐÑðð ð ð ð ð r   rB   c                  ó0   — e Zd ZU dZded<   ded<   d	d„ZdS )
ÚNoSuchAnchorz@
    An anchor does not exist within a particular resource.
    r/   r0   rC   Úanchorr   c                ó.   — | j         ›d| j        j        ›�S )NrE   )rM   r0   r:   r!   s    r   rH   zNoSuchAnchor.__str__Ž   s   € àŒ{ÐOÐO°T´]Ô5KÐOÐOð	
r   NrI   rJ   r,   r   r   rL   rL   …   sK   € € € € € € ðð ð ÐÐÑØ€K€K�Kð
ð 
ð 
ð 
ð 
ð 
r   rL   c                  ó0   — e Zd ZU dZded<   ded<   d	d„ZdS )
ÚInvalidAnchorzu
    An anchor which could never exist in a resource was dereferenced.

    It is somehow syntactically invalid.
    r/   r0   rC   rM   r   c                ó(   — d| j         › d| j         › d�S )Nz'#zo' is not a valid anchor, neither as a plain name anchor nor as a JSON Pointer. You may have intended to use '#/zD', as the slash is required *before each segment* of a JSON pointer.)rM   r!   s    r   rH   zInvalidAnchor.__str__Ÿ   s.   € ð*�”ð *ð *àœð*ð *ð *ð	
r   NrI   rJ   r,   r   r   rP   rP   ”   sK   € € € € € € ðð ð ÐÐÑØ€K€K�Kð
ð 
ð 
ð 
ð 
ð 
r   rP   )r*   Ú
__future__r   Útypingr   r   r   Úreferencing._attrsr   Úreferencingr   Úreferencing.typingr   ÚKeyErrorr
   Ú	Exceptionr.   r4   r9   r>   rB   rL   rP   r,   r   r   ú<module>rY      s>  ððð ð #Ð "Ð "Ð "Ð "Ð "à %Ð %Ð %Ð %Ð %Ð %Ð %Ð %à €€€à %Ð %Ð %Ð %Ð %Ð %àð 'Ø$Ð$Ð$Ð$Ð$Ð$Ø&Ð&Ð&Ð&Ð&Ð&ð ð)ð )ð )ð )ð )�Xñ )ô )ñ „ð)ð& ð)ð )ð )ð )ð )�9ñ )ô )ñ „ð)ð* ð)ð )ð )ð )ð )�Hñ )ô )ñ „ð)ð  ð)ð )ð )ð )ð ) 9ñ )ô )ñ „ð)ð& „ð)ð )ð )ð )ð )�9ñ )ô )ñ „ð)ð  ðð ð ð ð �|ñ ô ñ „ðð$ ð
ð 
ð 
ð 
ð 
�<ñ 
ô 
ñ „ð
ð ð
ð 
ð 
ð 
ð 
�Lñ 
ô 
ñ „ð
ð 
ð 
r   