§
    ¸)ýfÛ  ã                   ó   — d dl Z d dlZd dlZd dlmZmZmZmZmZm	Z	m
Z
 d dlmZmZ d dlmZ eeej        e         f         Zg d¢Z G d„ de j        ¬¦  «        Ze G d	„ d
e¦  «        ¦   «         Z G d„ de¦  «        ZdS )é    N)ÚAnyÚBinaryIOÚIterableÚIteratorÚNoReturnÚTextÚOptional)Úruntime_checkableÚProtocol)ÚUnion)ÚResourceReaderÚTraversableÚTraversableResourcesc                   óÂ   — e Zd ZdZej        dedefd„¦   «         Zej        dedefd„¦   «         Z	ej        dede
fd„¦   «         Zej        dee         fd„¦   «         Zd	S )
r   zDAbstract base class for loaders to provide resource reading support.ÚresourceÚreturnc                 ó   — t           ‚)zÑReturn an opened, file-like object for binary reading.

        The 'resource' argument is expected to represent only a file name.
        If the resource cannot be found, FileNotFoundError is raised.
        ©ÚFileNotFoundError©Úselfr   s     úc/home/blender/git/blender-v430/install_release/4.3/python/lib/python3.11/importlib/resources/abc.pyÚopen_resourcezResourceReader.open_resource   s
   € õ  Ðó    c                 ó   — t           ‚)zçReturn the file system path to the specified resource.

        The 'resource' argument is expected to represent only a file name.
        If the resource does not exist on the file system, raise
        FileNotFoundError.
        r   r   s     r   Úresource_pathzResourceReader.resource_path   s
   € õ  Ðr   Úpathc                 ó   — t           ‚)zjReturn True if the named 'path' is a resource.

        Files are resources, directories are not.
        r   ©r   r   s     r   Úis_resourcezResourceReader.is_resource*   s
   € õ  Ðr   c                 ó   — t           ‚)z+Return an iterable of entries in `package`.r   ©r   s    r   ÚcontentszResourceReader.contents2   s
   € õ  Ðr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚabcÚabstractmethodr   r   r   r   Úboolr    r   Ústrr#   © r   r   r   r      sÝ   € € € € € ØNÐNàÔð	  dð 	 ¨xð 	 ð 	 ð 	 ñ Ôð	 ð 	Ôð
  dð 
 ¨tð 
 ð 
 ð 
 ñ Ôð
 ð 	Ôð  ð  ¨ð  ð  ð  ñ Ôð ð 	Ôð ˜( 3œ-ð  ð  ð  ñ Ôð ð  ð  r   r   )Ú	metaclassc                   ó<  — e Zd ZdZej        ded          fd„¦   «         Zdefd„Z	dde
e         defd„Zej        defd„¦   «         Zej        defd	„¦   «         Zej        d
edd fd„¦   «         Zdedd fd„Zej        dd„¦   «         Zej        defd„¦   «         ZdS )r   zÔ
    An object with a subset of pathlib.Path methods suitable for
    traversing directories and opening files.

    Any exceptions that occur when accessing the backing resource
    may propagate unaltered.
    r   c                 ó   — dS )z3
        Yield Traversable objects in self
        Nr,   r"   s    r   ÚiterdirzTraversable.iterdirB   ó   € € € r   c                 óˆ   — |                       d¦  «        5 }|                     ¦   «         cddd¦  «         S # 1 swxY w Y   dS )z0
        Read contents of self as bytes
        ÚrbN©ÚopenÚread)r   Ústrms     r   Ú
read_byteszTraversable.read_bytesH   s€   € ð �YŠY�t‰_Œ_ð 	 Ø—9’9‘;”;ð	ð 	ð 	ð 	ñ 	ô 	ð 	ð 	ð 	ð 	ð 	ð 	øøøð 	ð 	ð 	ð 	ð 	ð 	s   –7·;¾;NÚencodingc                 óŠ   — |                       |¬¦  «        5 }|                     ¦   «         cddd¦  «         S # 1 swxY w Y   dS )z/
        Read contents of self as text
        )r9   Nr4   )r   r9   r7   s      r   Ú	read_textzTraversable.read_textO   s„   € ð �YŠY ˆYÑ)Ô)ð 	¨TØ—9’9‘;”;ð	ð 	ð 	ð 	ñ 	ô 	ð 	ð 	ð 	ð 	ð 	ð 	øøøð 	ð 	ð 	ð 	ð 	ð 	s   —8¸<¿<c                 ó   — dS )z4
        Return True if self is a directory
        Nr,   r"   s    r   Úis_dirzTraversable.is_dirV   r1   r   c                 ó   — dS )z/
        Return True if self is a file
        Nr,   r"   s    r   Úis_filezTraversable.is_file\   r1   r   Údescendantsc                 ó   — dS )zë
        Return Traversable resolved with any descendants applied.

        Each descendant should be a path segment relative to self
        and each may contain multiple levels separated by
        ``posixpath.sep`` (``/``).
        Nr,   )r   r@   s     r   ÚjoinpathzTraversable.joinpathb   r1   r   Úchildc                 ó,   — |                       |¦  «        S )z2
        Return Traversable child in self
        )rB   )r   rC   s     r   Ú__truediv__zTraversable.__truediv__l   s   € ð �}Š}˜UÑ#Ô#Ð#r   Úrc                 ó   — dS )zý
        mode may be 'r' or 'rb' to open as text or binary. Return a handle
        suitable for reading (same as pathlib.Path.open).

        When opening as text, accepts encoding parameters such as those
        accepted by io.TextIOWrapper.
        Nr,   )r   ÚmodeÚargsÚkwargss       r   r5   zTraversable.openr   r1   r   c                 ó   — dS )zM
        The base name of this object without any parent references.
        Nr,   r"   s    r   ÚnamezTraversable.name|   r1   r   ©N)rF   )r$   r%   r&   r'   r(   r)   r   r0   Úbytesr8   r	   r+   r;   r*   r=   r?   ÚStrPathrB   rE   r5   ÚabstractpropertyrL   r,   r   r   r   r   8   s�  € € € € € ðð ð 	Ôð˜ -Ô0ð ð ð ñ Ôðð
˜Eð ð ð ð ðð  (¨3¤-ð ¸3ð ð ð ð ð 	Ôð˜ð ð ð ñ Ôðð
 	Ôð˜ð ð ð ñ Ôðð
 	Ôð Wð °ð ð ð ñ Ôðð$ ð $¨]ð $ð $ð $ð $ð 	Ôðð ð ñ Ôðð 	Ôð�cð ð ð ñ Ôðð ð r   r   c                   ó†   — e Zd ZdZej        dd„¦   «         Zdedej	        fd„Z
dedefd„Zdedefd	„Zdee         fd
„ZdS )r   zI
    The required interface for providing traversable
    resources.
    r   r   c                 ó   — dS )z3Return a Traversable object for the loaded package.Nr,   r"   s    r   ÚfileszTraversableResources.files‰   r1   r   r   c                 óv   — |                       ¦   «                              |¦  «                             d¦  «        S )Nr3   )rS   rB   r5   r   s     r   r   z"TraversableResources.open_resource�   s,   € Ø�zŠz‰|Œ|×$Ò$ XÑ.Ô.×3Ò3°DÑ9Ô9Ð9r   c                 ó    — t          |¦  «        ‚rM   r   r   s     r   r   z"TraversableResources.resource_path�   s   € Ý Ñ)Ô)Ð)r   r   c                 ót   — |                       ¦   «                              |¦  «                             ¦   «         S rM   )rS   rB   r?   r   s     r   r    z TraversableResources.is_resource“   s*   € Ø�zŠz‰|Œ|×$Ò$ TÑ*Ô*×2Ò2Ñ4Ô4Ð4r   c                 ób   — d„ |                       ¦   «                              ¦   «         D ¦   «         S )Nc              3   ó$   K  — | ]}|j         V — Œd S rM   )rL   )Ú.0Úitems     r   ú	<genexpr>z0TraversableResources.contents.<locals>.<genexpr>—   s$   è è € Ð=Ð=˜d�”	Ð=Ð=Ð=Ð=Ð=Ð=r   )rS   r0   r"   s    r   r#   zTraversableResources.contents–   s*   € Ø=Ð= d§j¢j¡l¤l×&:Ò&:Ñ&<Ô&<Ð=Ñ=Ô=Ð=r   N)r   r   )r$   r%   r&   r'   r(   r)   rS   rO   ÚioÚBufferedReaderr   r   r   r   r*   r    r   r+   r#   r,   r   r   r   r   ƒ   sÎ   € € € € € ðð ð
 	ÔðBð Bð Bñ ÔðBð: gð :°"Ô2Cð :ð :ð :ð :ð* cð *¨hð *ð *ð *ð *ð5 ð 5¨Dð 5ð 5ð 5ð 5ð>˜( 3œ-ð >ð >ð >ð >ð >ð >r   r   )r(   r\   ÚosÚtypingr   r   r   r   r   r   r	   r
   r   r   r+   ÚPathLikerO   Ú__all__ÚABCMetar   r   r   r,   r   r   ú<module>rc      sI  ðØ 
€
€
€
Ø 	€	€	€	Ø 	€	€	€	Ø NÐ NÐ NÐ NÐ NÐ NÐ NÐ NÐ NÐ NÐ NÐ NÐ NÐ NÐ NÐ NÐ NÐ NØ .Ð .Ð .Ð .Ð .Ð .Ð .Ð .Ø Ð Ð Ð Ð Ð ð ��R”[ Ô%Ð%Ô
&€à
CÐ
CÐ
C€ð' ð ' ð ' ð ' ð ' ˜sœ{ð ' ñ ' ô ' ð ' ðT ðGð Gð Gð Gð G�(ñ Gô Gñ ÔðGðT>ð >ð >ð >ð >˜>ñ >ô >ð >ð >ð >r   