§
    ¸)ýfü  ã                   óÌ   — d Z ddlZddlZddlmZ i ZdZdgZej        Z G d„ de	e
¦  «        Zd	„ Zd
„ Z ej        e¦  «         ej        dk    rd„ Z ej        e¦  «         dS dS )a2   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                   ó   — e Zd ZdS )ÚCodecRegistryErrorN)Ú__name__Ú
__module__Ú__qualname__© ó    ú^/home/blender/git/blender-v430/install_release/4.3/python/lib/python3.11/encodings/__init__.pyr   r   (   s   € € € € € Ø€Dr   r   c                 óJ  — t          | t          ¦  «        rt          | d¦  «        } g }d}| D ]c}|                     ¦   «         s|dk    rE|r|r|                     d¦  «         |                     ¦   «         r|                     |¦  «         d}Œad}Œdd                     |¦  «        S )ae   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Øð ð ˆØ�9Š9‰;Œ;ð 	˜!˜sš(˜(Øð "˜ð "Ø—’˜SÑ!Ô!Ð!Ø�yŠy‰{Œ{ð  Ø—’˜Q‘”�ØˆEˆEàˆEˆEØ�7Š7�5‰>Œ>Ðr   c                 óÆ  — t                                | t          ¦  «        }|t          ur|S t          | ¦  «        }t                               |¦  «        p-t                               |                     dd¦  «        ¦  «        }|�||g}n|g}|D ]5}|rd|v rŒ		 t          d|z   t          d¬¦  «        } n# t          $ r Y Œ2w xY wd }	 |j	        }n# t          $ r d }Y nw xY w|€d t           | <   d S  |¦   «         }t          |t          j        ¦  «        �s„dt          |¦  «        cxk    rdk    s"n t          d|j        ›d	|j        ›d
�¦  «        ‚t%          |d         ¦  «        r¯t%          |d         ¦  «        rš|d         �t%          |d         ¦  «        r}|d         �t%          |d         ¦  «        r`t          |¦  «        dk    r|d         �t%          |d         ¦  «        r0t          |¦  «        dk    r=|d         �5t%          |d         ¦  «        s t          d|j        ›d	|j        ›d�¦  «        ‚t          |¦  «        dk     s|d         €;|ddt          |¦  «        z
  z  |j                             dd¦  «        d         fz   z  }t          j        |Ž }|t           | <   	 |                     ¦   «         }|D ]}	|	t          vr
|t          |	<   Œn# t          $ r Y nw xY w|S )Nr   r   z
encodings.r   )ÚfromlistÚlevelé   é   zmodule "z" (z) failed to registerr   é   é   é   z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Úmodr1   ÚcodecaliasesÚaliass
             r   Úsearch_functionrB   G   sw  € õ �JŠJ�x¥Ñ*Ô*€EØ•HÐÐØˆõ ' xÑ0Ô0€MÝ—|’| MÑ2Ô2ð EÝ—|’| M×$9Ò$9¸#¸sÑ$CÔ$CÑDÔDð àÐ#Ø$Ø!ð#ˆˆð "�?ˆØð ð ˆØð 	˜# ˜.˜.Øð
	õ ˜\¨GÑ3½lØ#$ð&ñ &ô &ˆCð ˆEøõ ð 	ð 	ð 	ð ˆDð	øøøð ˆðØ”oˆˆøÝð ð ð àˆˆˆðøøøð €{à�ˆxÑØˆtð ˆK‰MŒM€EÝ�e�VÔ-Ñ.Ô.ñ )Ø•C˜‘J”JÐ#Ð#Ò#Ð# !Ò#Ð#Ð#Ð#Ý$Ð$Ø(+¬¨¨°c´l°l°lð&Dñ Eô Eð Eå˜˜aœÑ!Ô!ð 	E­°%¸´(Ñ);Ô);ð 	EØ�!ŒHÐ ­°%¸´(Ñ);Ô);Ð Ø�!ŒHÐ ­°%¸´(Ñ);Ô);Ð Ý�‰JŒJ˜ŠNˆN˜u QœxÐ3½HÀUÈ1ÄXÑ<NÔ<NÐ3Ý�‰JŒJ˜ŠNˆN˜u QœxÐ3½HÀUÈ1ÄXÑ<NÔ<NÐ3Ý$Ð$Ø(+¬¨¨°c´l°l°lð&Dñ Eô Eð Eåˆu‰:Œ:�aŠ<ˆ<˜5 œ8Ð+Ø�W˜a¥ E¡
¤
™lÑ+¨s¬|×/AÒ/AÀ#ÀqÑ/IÔ/IÈ!Ô/LÐ.NÑNÑNˆEÝÔ  %Ð(ˆð …Fˆ8Ñð*Ø—~’~Ñ'Ô'ˆð "ð 	*ð 	*ˆEØ�HÐ$Ð$Ø")•˜‘øð	*øõ ð ð ð Øˆðøøøð €Ls6   ÂB5Â5
CÃCÃC ÃCÃCÊ$K Ë
KËKÚwin32c                 ó¦   — 	 dd l }d|                     ¦   «         z  }| |k    rdd l}|j                             ¦   «         S d S # t
          $ r Y d S w xY w)Nr   zcp%s)Ú_winapiÚGetACPÚencodings.mbcsÚmbcsr1   r0   )r   rE   Úansi_code_pageÚ	encodingss       r   Ú_alias_mbcsrK   £   s{   € ð	ØˆNˆNˆNØ# g§n¢nÑ&6Ô&6Ñ6ˆNØ˜>Ò)Ð)Ø%Ð%Ð%Ð%Ø ”~×1Ò1Ñ3Ô3Ð3ð *Ð)øõ ð 	ð 	ð 	àˆDˆDð	øøøs   ‚=A Á
AÁA)Ú__doc__r3   Úsysr   r   r)   r+   r/   r,   ÚLookupErrorÚSystemErrorr   r   rB   ÚregisterÚplatformrK   r   r   r   ú<module>rR      sí   ððð ð< €€€Ø 
€
€
€
Ø Ð Ð Ð Ð Ð à	€Ø€Øˆu€ØŒ?€ð	ð 	ð 	ð 	ð 	˜ kñ 	ô 	ð 	ðð ð ð8Rð Rð Rðj €„�Ñ  Ô  Ð  à„<�7ÒÐð
	ð 	ð 	ð €F„O�KÑ Ô Ð Ð Ð ð! Ðr   