§
    bÒ³g`  ã                   ó^   — d Z ddlmZ ddlmZmZ  G d„ de¦  «        Z G d„ de¦  «        Zd	S )
zO
requests.structures
~~~~~~~~~~~~~~~~~~~

Data structures that power Requests.
é    )ÚOrderedDicté   )ÚMappingÚMutableMappingc                   óP   — e Zd ZdZdd„Zd„ Zd„ Zd„ Zd„ Zd„ Z	d	„ Z
d
„ Zd„ Zd„ ZdS )ÚCaseInsensitiveDictaÖ  A case-insensitive ``dict``-like object.

    Implements all methods and operations of
    ``MutableMapping`` as well as dict's ``copy``. Also
    provides ``lower_items``.

    All keys are expected to be strings. The structure remembers the
    case of the last key to be set, and ``iter(instance)``,
    ``keys()``, ``items()``, ``iterkeys()``, and ``iteritems()``
    will contain case-sensitive keys. However, querying and contains
    testing is case insensitive::

        cid = CaseInsensitiveDict()
        cid['Accept'] = 'application/json'
        cid['aCCEPT'] == 'application/json'  # True
        list(cid) == ['Accept']  # True

    For example, ``headers['content-encoding']`` will return the
    value of a ``'Content-Encoding'`` response header, regardless
    of how the header name was originally stored.

    If the constructor, ``.update``, or equality comparison
    operations are given keys that have equal ``.lower()``s, the
    behavior is undefined.
    Nc                 óP   — t          ¦   «         | _        |€i } | j        |fi |¤Ž d S ©N)r   Ú_storeÚupdate)ÚselfÚdataÚkwargss      úQ/var/www/html/mpstechhub/venv/lib/python3.11/site-packages/requests/structures.pyÚ__init__zCaseInsensitiveDict.__init__(   s7   € Ý!‘m”mˆŒØˆ<ØˆDØˆŒ�DÐ#Ð#˜FÐ#Ð#Ð#Ð#Ð#ó    c                 óB   — ||f| j         |                     ¦   «         <   d S r
   ©r   Úlower)r   ÚkeyÚvalues      r   Ú__setitem__zCaseInsensitiveDict.__setitem__.   s"   € ð %(¨ <ˆŒ�C—I’I‘K”KÑ Ð Ð r   c                 óL   — | j         |                     ¦   «                  d         S )Nr   r   ©r   r   s     r   Ú__getitem__zCaseInsensitiveDict.__getitem__3   s   € ØŒ{˜3Ÿ9š9™;œ;Ô'¨Ô*Ð*r   c                 ó:   — | j         |                     ¦   «         = d S r
   r   r   s     r   Ú__delitem__zCaseInsensitiveDict.__delitem__6   s   € ØŒK˜Ÿ	š	™œÐ$Ð$Ð$r   c                 óH   — d„ | j                              ¦   «         D ¦   «         S )Nc              3   ó    K  — | ]	\  }}|V — Œ
d S r
   © )Ú.0ÚcasedkeyÚmappedvalues      r   ú	<genexpr>z/CaseInsensitiveDict.__iter__.<locals>.<genexpr>:   s'   è è € ÐKÐKÑ2˜X {�ÐKÐKÐKÐKÐKÐKr   )r   Úvalues©r   s    r   Ú__iter__zCaseInsensitiveDict.__iter__9   s$   € ØKÐK°d´k×6HÒ6HÑ6JÔ6JÐKÑKÔKÐKr   c                 ó*   — t          | j        ¦  «        S r
   )Úlenr   r&   s    r   Ú__len__zCaseInsensitiveDict.__len__<   s   € Ý�4”;ÑÔÐr   c                 óH   — d„ | j                              ¦   «         D ¦   «         S )z.Like iteritems(), but with all lowercase keys.c              3   ó0   K  — | ]\  }}||d          fV — ŒdS )r   Nr    )r!   ÚlowerkeyÚkeyvals      r   r$   z2CaseInsensitiveDict.lower_items.<locals>.<genexpr>A   s0   è è € ÐTÐTÑ*<¨8°V�˜6 !œ9Ð%ÐTÐTÐTÐTÐTÐTr   )r   Úitemsr&   s    r   Úlower_itemszCaseInsensitiveDict.lower_items?   s$   € àTÐTÀÄ×@QÒ@QÑ@SÔ@SÐTÑTÔTÐTr   c                 óâ   — t          |t          ¦  «        rt          |¦  «        }nt          S t	          |                      ¦   «         ¦  «        t	          |                     ¦   «         ¦  «        k    S r
   )Ú
isinstancer   r   ÚNotImplementedÚdictr0   )r   Úothers     r   Ú__eq__zCaseInsensitiveDict.__eq__C   s\   € Ý�e�WÑ%Ô%ð 	"Ý'¨Ñ.Ô.ˆEˆEå!Ð!å�D×$Ò$Ñ&Ô&Ñ'Ô'­4°×0AÒ0AÑ0CÔ0CÑ+DÔ+DÒDÐDr   c                 óN   — t          | j                             ¦   «         ¦  «        S r
   )r   r   r%   r&   s    r   ÚcopyzCaseInsensitiveDict.copyL   s   € Ý" 4¤;×#5Ò#5Ñ#7Ô#7Ñ8Ô8Ð8r   c                 ó^   — t          t          |                      ¦   «         ¦  «        ¦  «        S r
   )Ústrr4   r/   r&   s    r   Ú__repr__zCaseInsensitiveDict.__repr__O   s    € Ý•4˜Ÿ
š
™œÑ%Ô%Ñ&Ô&Ð&r   r
   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r'   r*   r0   r6   r8   r;   r    r   r   r   r      sÂ   € € € € € ðð ð4$ð $ð $ð $ð0ð 0ð 0ð
+ð +ð +ð%ð %ð %ðLð Lð Lð ð  ð  ðUð Uð UðEð Eð Eð9ð 9ð 9ð'ð 'ð 'ð 'ð 'r   r   c                   ó8   ‡ — e Zd ZdZdˆ fd„	Zd„ Zd„ Zdd„Zˆ xZS )Ú
LookupDictzDictionary lookup object.Nc                 óV   •— || _         t          ¦   «                              ¦   «          d S r
   )ÚnameÚsuperr   )r   rC   Ú	__class__s     €r   r   zLookupDict.__init__V   s&   ø€ ØˆŒ	Ý‰Œ×ÒÑÔÐÐÐr   c                 ó   — d| j         › d�S )Nz	<lookup 'z'>)rC   r&   s    r   r;   zLookupDict.__repr__Z   s   € Ø(˜4œ9Ð(Ð(Ð(Ð(r   c                 ó8   — | j                              |d ¦  «        S r
   ©Ú__dict__Úgetr   s     r   r   zLookupDict.__getitem__]   s   € ð Œ}× Ò   dÑ+Ô+Ð+r   c                 ó8   — | j                              ||¦  «        S r
   rH   )r   r   Údefaults      r   rJ   zLookupDict.getb   s   € ØŒ}× Ò   gÑ.Ô.Ð.r   r
   )	r<   r=   r>   r?   r   r;   r   rJ   Ú__classcell__)rE   s   @r   rA   rA   S   su   ø€ € € € € Ø#Ð#ðð ð ð ð ð ð)ð )ð )ð,ð ,ð ,ð
/ð /ð /ð /ð /ð /ð /ð /r   rA   N)	r?   Úcollectionsr   Úcompatr   r   r   r4   rA   r    r   r   ú<module>rP      s¢   ððð ð $Ð #Ð #Ð #Ð #Ð #à +Ð +Ð +Ð +Ð +Ð +Ð +Ð +ðC'ð C'ð C'ð C'ð C'˜.ñ C'ô C'ð C'ðL/ð /ð /ð /ð /�ñ /ô /ð /ð /ð /r   