+
    BÆÚj'	  ã                   ó„   € ^ RI HtHt ^ RIHt  ^ RIt]P                  tR tR tRR ltR#   ] d    ^ RI	H
t
 ]
t Li ; i)	é    )ÚbytesÚstr)ÚAnyStrN)Úurandomc                 óÎ   € \        V \        4      '       d   \        V 4      # \        V \        4      '       d   \        V R 4      # \	        RP                  \        V 4      4      4      h©úutf-8zInvalid type {})Ú
isinstancer   Ú	bytearrayr   Ú	TypeErrorÚformatÚtype©Ústrings   &Ú‚/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/olm/_compat.pyÚto_bytearrayr      sO   € ä�&œ%× Ò Ü˜Ó Ð Ü	�FœC×	 Ò	 Ü˜ Ó)Ð)ä
Ð%×,Ñ,¬T°&«\Ó:Ó
;Ð;ó    c                 ó¼   € \        V \        4      '       d   V # \        V \        4      '       d   \        V R 4      # \        RP	                  \        V 4      4      4      hr   )r
   r   r   r   r   r   r   s   &r   Úto_bytesr   '   sI   € ä�&œ%× Ò ØˆÜ	�FœC×	 Ò	 Ü�V˜WÓ%Ð%ä
Ð%×,Ñ,¬T°&«\Ó:Ó
;Ð;r   c                ó(   € V P                  RVR7      # )aÔ  Turn a byte string into a unicode string.

Should be used everywhere where the input byte string might not be trusted
and may contain invalid unicode values.

Args:
    byte_string (bytes): The bytestring that will be converted to a native
        string.
    errors (str, optional): The error handling scheme that should be used
        to handle unicode decode errors. Can be one of "strict" (raise an
        UnicodeDecodeError exception, "ignore" (remove the offending
        characters), "replace" (replace the offending character with
        U+FFFD), "xmlcharrefreplace" as well as any other name registered
        with codecs.register_error that can handle UnicodeEncodeErrors.

Returns the decoded native string.
r	   )ÚencodingÚerrors)Údecode)Úbyte_stringr   s   &&r   Úto_unicode_strr   1   s   € ð$ ×Ñ w°vÐÓ>Ð>r   )Úreplace)Úbuiltinsr   r   Útypingr   ÚsecretsÚtoken_bytesÚURANDOMÚImportErrorÚosr   r   r   r   © r   r   Ú<module>r%      sH   ð÷$  Ý ðÛØ×!Ñ!€Gò<ò<ö?øð3 ô ÝØ‚Gðús   �- ­?¾?