R`i>UddlZddlZddlZddlZddlmZmZejdfejdfejdfejdfejdfejdfejd fgZeeeefed <ej$d Zd ed efdZy)N)ListTuplezutf-8zutf-16z utf-16-bez utf-16-lezutf-32z utf-32-bez utf-32-leBOMSscoding[:=]\s*([-\w.]+)datareturnctD]5\}}|j|s|t|dj|cS|j dddD]n}|dddk(s t j |s"t j |}|J|jdjd}|j|cS|jtjdxstjS) zCheck a bytes string for a BOM to correctly detect the encoding Fallback to locale.getpreferredencoding(False) like open() on Python3N r#asciiF) r startswithlendecodesplit ENCODING_REsearchgroupslocalegetpreferredencodingsysgetdefaultencoding)rbomencodinglineresults /builddir/build/BUILDROOT/alt-python312-pip-23.3.1-3.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_internal/utils/encoding.py auto_decoders X ??3 C #**84 4 5!"1% !9 !3!3D!9 ''-F% %%}}q)009H;;x( ( & ;;##E*Fc.D.D.F )codecsrrertypingrrBOM_UTF8 BOM_UTF16 BOM_UTF16_BE BOM_UTF16_LE BOM_UTF32 BOM_UTF32_BE BOM_UTF32_LErbytesstr__annotations__compilerrrrr/s  __g x  +& +& x  +& +&!d5 bjj34 er