+
    Crh                         R t ^ RIt^ RIt^RIHt / tRtR.t]P                  t ! R R]	]
4      tR tR t]P                  ! ]4       ]P                  R	8X  d   ^R
IHt R t]P                  ! ]4       R# R# )a1  Standard "encodings" Package

    Standard Python encoding modules are stored in this package
    directory.

    Codec modules must have names corresponding to normalized encoding
    names as defined in the normalize_encoding() function below, e.g.
    'utf-8' must be implemented by the module 'utf_8.py'.

    Each codec module must export the following interface:

    * getregentry() -> codecs.CodecInfo object
    The getregentry() API must return a CodecInfo object with encoder, decoder,
    incrementalencoder, incrementaldecoder, streamwriter and streamreader
    attributes which adhere to the Python Codec Interface Standard.

    In addition, a module may optionally also define the following
    APIs which are then used by the package's codec search function:

    * getaliases() -> sequence of encoding name strings to use as aliases

    Alias names returned by getaliases() must be normalized encoding
    names as defined by normalize_encoding().

Written by Marc-Andre Lemburg (mal@lemburg.com).

(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.

N)aliasesz--unknown--*c                       ] tR t^(tRtR# )CodecRegistryError N)__name__
__module____qualname____firstlineno____static_attributes__r       //usr/local/lib/python3.14/encodings/__init__.pyr   r   (   s    r   r   c                X   \        V \        4      '       d   \        V R4      p . pRpV  Fn  pVP                  4       '       g   VR8X  dM   V'       d   V'       d   VP	                  R4       VP                  4       '       d   VP	                  V4       RpKl  RpKp  	  RP                  V4      # )a8  Normalize an encoding name.

Normalization works as follows: all non-alphanumeric
characters except the dot used for Python package names are
collapsed and replaced with a single underscore, e.g. '  -;#'
becomes '_'. Leading and trailing underscores are removed.

Note that encoding names should be ASCII only.

asciiF._T )
isinstancebytesstrisalnumappendisasciijoin)encodingcharspunctcs   &   r   normalize_encodingr   +   s     (E""x)EE99;;!s(S!yy{{QEE  775>r   c                 X   \         P                  V \        4      pV\        Jd   V# \        V 4      p\        P                  V4      ;'       g&    \        P                  VP                  R R4      4      pVe   VV.pMV.pV F.  pV'       d   R V9   d   K   \        RV,           \        ^ R7      p M	  Rp VP                  pVf   R\         V &   R# X! 4       p\        V\        P                  4      '       Eg   ^\        V4      u;8:  d   ^8:  g+   M \        RVP                   : RVP"                  : R24      h\%        V^ ,          4      '       d   \%        V^,          4      '       d   V^,          e   \%        V^,          4      '       d   V^,          e   \%        V^,          4      '       dg   \        V4      ^8  d$   V^,          e   \%        V^,          4      '       d4   \        V4      ^8  dL   V^,          eA   \%        V^,          4      '       g)   \        RVP                   : RVP"                  : R	24      h\        V4      ^8  g   V^,          fJ   VR
^\        V4      ,
          ,          VP                   P'                  R ^4      ^,          3,           ,          p\        P                  ! V!  pV\         V &    VP)                  4       pV F  p	V	\        9  g   K  X\        V	&   K  	  V#   \         d     EK  i ; i  \         d    Rp ELSi ; i  \         d     T# i ; i)r   r   Nz
encodings.)fromlistlevelzmodule "z" (z) failed to registerzincompatible codecs in module "))N)_cacheget_unknownr   _aliasesreplace
__import___import_tailImportErrorgetregentryAttributeErrorr   codecs	CodecInfolenr   r   __file__callablesplit
getaliases)
r   entrynorm_encodingaliased_encodingmodnamesmodnamemodr+   codecaliasesaliass
   &         r   search_functionr<   G   s    JJx*EH 'x0M||M2 E E||M$9$9#s$CD #$!# "?#.
	 \G3l#$&C   oo
 {x MEeV--..CJ#!#$(+cll&D E Ea!!%(););!H %(););!H %(););JNuQx3HU1X<N<NJNuQx3HU1X<N<N$(+cll&D E Eu:a<58+WaE
l+s||/A/A#q/I!/L.NNNE  %( F8*~~' "EH$") "
 Li  	 	  B   Ls6   K37L L 3LLLLL)(L)win32)create_win32_code_page_codecc                    V P                  4       p V P                  R 4      '       g   R#  \        V R,          4      p \        P
                  ! TR4       \        T4      #   \         d     R# i ; i  \        \        3 d     R# i ; i)cpN:   NNx)	lower
startswithint
ValueErrorr-   code_page_encodeOverflowErrorOSErrorr>   )r   r@   s   & r   win32_code_page_search_functionrJ      s    >>#""4((	Xb\"B	##B, ,B//  		
 w' 		s"   A  A2  A/.A/2BB)__doc__r-   sysr   r   r#   r%   r)   r&   LookupErrorSystemErrorr   r   r<   registerplatform_win_cp_codecsr>   rJ   r   r   r   <module>rR      s   <  
 	u??	k 	8Rj   <<7<0  OO34' r   