Ë
    —FCfV  ã                  ó<   — d Z ddlmZ ddlmZmZ dd„Zd	d„Zd
d„Zy)zrSetstate and getstate functions for objects with __slots__, allowing
compatibility with default pickling protocol
é    )Úannotations)ÚAnyÚMappingc                óN   — |j                  «       D ]  \  }}t        | ||«       Œ y ©N)ÚitemsÚsetattr)ÚselfÚstateÚslotÚvalues       úM/var/www/highfloat_scraper/venv/lib/python3.12/site-packages/bson/_helpers.pyÚ_setstate_slotsr      s'   € Ø—{‘{“}ò #‰ˆˆeÜd˜EÕ"ñ#ó    c                óF   — | j                  d«      r
d|z   }|| z   S d}|| z   S )NÚ__Ú_Ú )Ú
startswith)ÚnameÚprefixs     r   Ú_mangle_namer      s4   € Ø‡tÔØv‘ˆð D‰=Ðð ˆØD‰=Ðr   c                ó¨   — | j                   j                  }i }| j                  D ]*  }t        ||«      }t	        | |«      sŒt        | |«      ||<   Œ, |S r   )Ú	__class__Ú__name__Ú	__slots__r   ÚhasattrÚgetattr)r
   r   Úretr   Úmangled_names        r   Ú_getstate_slotsr!   $   sW   € Ø^‰^×$Ñ$€FØ
€CØ—‘ò <ˆÜ# D¨&Ó1ˆÜ4˜Õ&Ü '¨¨lÓ ;ˆCÒð<ð €Jr   N)r
   r   r   r   ÚreturnÚNone)r   Ústrr   r$   r"   r$   )r
   r   r"   zMapping[Any, Any])	Ú__doc__Ú
__future__r   Útypingr   r   r   r   r!   © r   r   ú<module>r)      s!   ðñõ #ç ó#ó
ôr   