hf]dZddlZiZded<ded<ded<d ed <d ed <d ed<deddDZeD] \ZZeee< deddDdeddDzdeddDzZeD] \ZZeee< [[de fdZ ej dZ de de fdZdS)zEncoding related utilities.Nz\t z\n z\r z\""z\''z\\\c,g|]}t|Schr.0is /builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib64/python3.11/site-packages/google/protobuf/text_encoding.py r+s999a3q66999cg|]}d|zSz\%03or r s rrr0s<<zCEscape..Lsqrc3DK|]}t|VdSr)_cescape_unicode_to_strrcord_s r zCEscape..Ns1BB*44773BBBBBBrc3DK|]}t|VdSr)_cescape_byte_to_strr#s rr&zCEscape..Os1==1%dd1gg.======r) isinstancestr translate_cescape_chr_to_symbol_mapordjoin)textas_utf8text_is_unicoder%s @rCEscaper28s tS))/ 66 >>4 5 55 0[[$ C 77BBBBTBBB B BB ======= = ==rz"(\\+)x([0-9a-fA-F])(?![0-9a-fA-F])r/cd}t||}|dddS)zUnescape 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. ct|ddzr.|ddz|dzS|dS)Nx0r)lengroup)ms r ReplaceHexzCUnescape..ReplaceHex^sU 1771::, WWQZZ$  ++ 771::rzutf-8unicode_escaperaw_unicode_escape)_CUNESCAPE_HEXsubencodedecode)r/r;results r CUnescaperCUsX   j$ / /& -- 6" # # 6& ' ')r)__doc__rer,ranger"itemsbytestringr(r*r2compiler>bytesrCr rrrLs>"!  %1!&2!&2!&2!&2!&2:955C==999.4466))LD&"($=c>>>>4ABB)C)E))))))r