+
    WBi                         ^ RI HtHt ^RIHt ^RIHt ^RIHt ^RI	H
t
 ^RIHt ^RIHtHt . ROtRR R	 lltRR
 R lltR# )    )ListUnion)CharSetGroupProber)CharSetProber)
InputState)
ResultDict)UniversalDetector)VERSION__version__c                ^    V ^8  d   QhR\         \        \        3,          R\        R\        /# )   byte_strshould_rename_legacyreturn)r   bytes	bytearrayboolr   )formats   "5/usr/lib/python3.14/site-packages/chardet/__init__.py__annotate__r      s.      E9$%=A    c                    \        V \        4      '       g9   \        V \        4      '       g   \        R\	        V 4       24      h\        V 4      p \        VR7      pVP                  V 4       VP                  4       # )a:  
Detect the encoding of the given byte string.

:param byte_str:     The byte sequence to examine.
:type byte_str:      ``bytes`` or ``bytearray``
:param should_rename_legacy:  Should we rename legacy encodings
                              to their more modern equivalents?
:type should_rename_legacy:   ``bool``
1Expected object of type bytes or bytearray, got: r   )
isinstancer   r   	TypeErrortyper	   feedclose)r   r   detectors   && r   detectr!      sj     h	**(E**CDNCST  X& 6JKHMM(>>r   c          	          V ^8  d   QhR\         \        \        3,          R\        R\        R\        \
        ,          /# )r   r   ignore_thresholdr   r   )r   r   r   r   r   r   )r   s   "r   r   r   5   s?     > >E9$%>> > 
*	>r   c           	     L   \        V \        4      '       g9   \        V \        4      '       g   \        R\	        V 4       24      h\        V 4      p \        VR7      pVP                  V 4       VP                  4        VP                  \        P                  8X  Ed~   . p. pVP                   FN  p\        V\        4      '       d%   VP                  R VP                   4       4       K=  VP                  V4       KP  	  V F  pV'       g"   VP!                  4       VP"                  8  g   K,  VP$                  ;'       g    RpVP'                  4       pVP)                  R4      '       d.   VP*                  '       d   VP,                  P/                  W4      pV'       d+   VP0                  P/                  VP'                  4       V4      pVP                  RVRVP!                  4       RVP2                  /4       K  	  \5        V4      ^ 8  d   \7        VR	 R
7      # VP8                  .# )a  
Detect all the possible encodings of the given byte string.

:param byte_str:          The byte sequence to examine.
:type byte_str:           ``bytes`` or ``bytearray``
:param ignore_threshold:  Include encodings that are below
                          ``UniversalDetector.MINIMUM_THRESHOLD``
                          in results.
:type ignore_threshold:   ``bool``
:param should_rename_legacy:  Should we rename legacy encodings
                              to their more modern equivalents?
:type should_rename_legacy:   ``bool``
r   r   c              3   $   "   T F  qx  K  	  R # 5i)N ).0ps   & r   	<genexpr>detect_all.<locals>.<genexpr>W   s     9.Qq.s    ziso-8859encoding
confidencelanguagec                     V R ,          ) # )r-   r&   )results   &r   <lambda>detect_all.<locals>.<lambda>q   s    vl7K6Kr   )key)r   r   r   r   r   r	   r   r   input_stater   	HIGH_BYTEcharset_probersr   extendprobersappendget_confidenceMINIMUM_THRESHOLDcharset_namelower
startswithhas_win_bytesISO_WIN_MAPget
LEGACY_MAPr.   lensortedr0   )	r   r#   r   r    resultsr8   proberr<   lower_charset_names	   &&&      r   
detect_allrH   5   s   $ h	**(E**CDNCST  X& 6JKHMM(NNz333$&')..F&"4559&..99v&	 /
 F6#8#8#:X=W=W#W%2288b%1%7%7%9" &00<<AWAWAW#+#7#7#;#;*$L (#+#6#6#:#:$**,l$L "L$f&;&;&="FOO , w<!''KLLOOr   N)r	   r!   rH   r   r
   )F)FF)typingr   r   charsetgroupproberr   charsetproberr   enumsr   
resultdictr   universaldetectorr	   versionr
   r   __all__r!   rH   r&   r   r   <module>rQ      s0   $  2 (  " 0 )
Q.> >r   