HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/site-packages/google/protobuf/__pycache__/text_encoding.cpython-311.pyc
�

�ncx���dZddlZiZded<ded<ded<d	ed
<ded<d
ed<d�edd��D��Ze���D]
\ZZeee<�d�edd��D��d�edd��D��zd�edd��D��zZe���D]
\ZZeee<�[[d�Z	ej
d��Zd�ZdS)zEncoding related utilities.�Nz\t�	z\n�
z\r�
z\"�"z\'�'z\\�\c�,�g|]}t|����S���chr��.0�is  �?D:\Python311\Lib\site-packages\google/protobuf/text_encoding.py�
<listcomp>r+s��9�9�9�a�3�q�6�6�9�9�9��c��g|]}d|z��S�z\%03or
r
s  rrr0s��<�<�<�!��A��<�<�<r� c�,�g|]}t|����Sr
rr
s  rrr1s��8�8�8�A��Q���8�8�8r�c��g|]}d|z��Srr
r
s  rrr2s��?�?�?�!��A��?�?�?rc�
��t|t��}|r|r|�t��S|rtnd��|r!d��fd�|D����Sd��fd�|D����S)amEscape a bytes string for use in an text protocol buffer.

  Args:
    text: A byte string to be escaped.
    as_utf8: Specifies if result may contain non-ASCII characters.
        In Python 3 this allows unescaped non-ASCII Unicode characters.
        In Python 2 the return value will be valid UTF-8 rather than only ASCII.
  Returns:
    Escaped string (str).
  c��|S�Nr
)�xs r�<lambda>zCEscape.<locals>.<lambda>Ms��q�r�c3�D�K�|]}t�|��V��dSr)�_cescape_unicode_to_str�r�c�ord_s  �r�	<genexpr>zCEscape.<locals>.<genexpr>Os1�����B�B��*�4�4��7�7�3�B�B�B�B�B�Brc3�D�K�|]}t�|��V��dSr)�_cescape_byte_to_strr"s  �rr%zCEscape.<locals>.<genexpr>Ps1�����=�=�1�%�d�d�1�g�g�.�=�=�=�=�=�=r)�
isinstance�str�	translate�_cescape_chr_to_symbol_map�ord�join)�text�as_utf8�text_is_unicoder$s   @r�CEscaper18s����"�t�S�)�)�/��6��6��>�>�4�5�5�5��	0���[�[�$��C�
�7�7�B�B�B�B�T�B�B�B�B�B�B�	���=�=�=�=��=�=�=�	=�	=�=rz"(\\+)x([0-9a-fA-F])(?![0-9a-fA-F])c��d�}t�||��}|�d���d���d��S)z�Unescape a text string with C-style escape sequences to UTF-8 bytes.

  Args:
    text: The data to parse in a str.
  Returns:
    A byte string.
  c���t|�d����dzr.|�d��dz|�d��zS|�d��S)N��x0�r)�len�group)�ms r�
ReplaceHexzCUnescape.<locals>.ReplaceHex`sU���1�7�7�1�:�:�����,�
�W�W�Q�Z�Z�$�
�������
+�+��7�7�1�:�:�rzutf-8�unicode_escape�raw_unicode_escape)�_CUNESCAPE_HEX�sub�encode�decode)r.r:�results   r�	CUnescaperBVsX��������j�$�/�/�&�
�-�-��
 �
 ��6�"�#�#��6�&�'�'�)r)
�__doc__�rer+�ranger!�items�byte�stringr'r1�compiler=rBr
rr�<module>rJs|��>"�!�	�	�	�	��� %��1��!&��2��!&��2��!&��2��!&��2��!&��2��:�9�5�5��C�=�=�9�9�9��.�4�4�6�6�)�)�L�D�&�"(��$���=�<�u�u�Q��|�|�<�<�<�8�8���r�3���8�8�8�9�?�?�u�u�S�#���?�?�?�@��/�4�4�6�6�&�&�L�D�&�%��t����&�>�>�>�6���A�B�B��)�)�)�)�)r