+
    € ’ec  ã                  ó*  € ^ RI Ht ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	t	^ RI
Ht ^RIHt ^RIHt R t ! R R]P"                  4      t ! R	 R
]P"                  4      t ! R R]P(                  4      t ! R R]P"                  4      tR tR# )é    )ÚannotationsN)ÚIterator)Úabc)Úonlyc                óR   € \        \        P                  P                  V 4      4      # ©N)ÚiterÚcollectionsÚOrderedDictÚfromkeys)Úitemss   &Úi/home/ubuntu/.hermes/tools/python-3.14.9+20261021-linux-x64/lib/python3.14/importlib/resources/readers.pyÚremove_duplicatesr      s   € Ü”×'Ñ'×0Ñ0°Ó7Ó8Ð8ó    c                  ó(   € ] tR t^tR tR tR tRtR# )Ú
FileReaderc                	ód   € \         P                  ! VP                  4      P                  V n        R # r   )ÚpathlibÚPathÚpathÚparent)ÚselfÚloaders   &&r   Ú__init__ÚFileReader.__init__   s   € Ü—L’L §¡Ó-×4Ñ4ˆŽ	r   c                óJ   € \        V P                  P                  V4      4      # ©z[
Return the file system path to prevent
`resources.path()` from creating a temporary
copy.
©Ústrr   Újoinpath©r   Úresources   &&r   Úresource_pathÚFileReader.resource_path   ó   € ô �4—9‘9×%Ñ% hÓ/Ó0Ð0r   c                	ó   € V P                   # r   ©r   ©r   s   &r   ÚfilesÚFileReader.files"   ó   € Ø�y‰yÐr   r'   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r#   r)   Ú__static_attributes__© r   r   r   r      s   † ò5ò1ör   r   c                  ó:   a € ] tR t^&tR tV 3R ltR tR tRtV ;t	# )Ú	ZipReaderc                	ó   € VP                   P                  R R4      V n         VP                  V4      '       d5   VP                  R4      w   r4V ;P                   VR,           ,          un         VP                  V n        R# )Ú\Ú/Ú.N)ÚprefixÚreplaceÚ
is_packageÚ
rpartitionÚarchive)r   r   ÚmoduleÚ_Únames   &&&  r   r   ÚZipReader.__init__'   s\   € Ø—m‘m×+Ñ+¨D°#Ó6ˆŒØ×Ñ˜V×$Ò$Ø×*Ñ*¨3Ó/‰JˆAˆqØ�KŠK˜4 #�:Õ%�KØ—~‘~ˆŽr   c                	ó‚   <€  \         SV `  V4      #   \         d"   p\        TP                  ^ ,          4      hRp?ii ; i)r   N)ÚsuperÚopen_resourceÚKeyErrorÚFileNotFoundErrorÚargs)r   r"   ÚexcÚ	__class__s   && €r   rC   ÚZipReader.open_resource.   s;   ø€ ð	1Ü‘7Ñ(¨Ó2Ð2øÜô 	1Ü# C§H¡H¨Q¥KÓ0Ð0ûð	1ús   ƒ ’>�9¹>c                ó�   € V P                  4       P                  V4      pVP                  4       ;'       d    VP                  4       # )zN
Workaround for `zipfile.Path.is_file` returning true
for non-existent paths.
)r)   r    Úis_fileÚexists)r   r   Útargets   && r   Úis_resourceÚZipReader.is_resource4   s5   € ð
 —‘“×&Ñ& tÓ,ˆØ�~‰~Ó×3Ð3 F§M¡M£OÐ3r   c                	óX   € \         P                  ! V P                  V P                  4      # r   )Úzipfiler   r<   r8   r(   s   &r   r)   ÚZipReader.files<   s   € Ü�|Š|˜DŸL™L¨$¯+©+Ó6Ð6r   )r<   r8   )
r,   r-   r.   r/   r   rC   rN   r)   r0   Ú__classcell__©rH   s   @r   r3   r3   &   s   ø† ò&õ1ò4÷7ð 7r   r3   c                  ó|   a € ] tR t^@tRtR tR tR tR tR t	R t
V 3R lt]R	 4       tR
 t]R 4       tR tRtV ;t# )ÚMultiplexedPathz°
Given a series of Traversable objects, implement a merged
version of the interface across all objects. Useful for
namespace packages which may be multihomed at a single
name.
c                	óD  € \        \        \        \        V4      4      4      V n        V P                  '       g   R p\        V4      h\        ;QJ d&    R V P                   4       F  '       d   K   RM	  RM! R V P                   4       4      '       g   \        R4      hR# )z.MultiplexedPath must contain at least one pathc              3  ó@   "  € T F  qP                  4       x € K  	  R # 5ir   ©Úis_dir©Ú.0r   s   & r   Ú	<genexpr>Ú+MultiplexedPath.__init__.<locals>.<genexpr>M   s   é € Ð9©[ T—;‘;—=�=«[ùs   ‚FTz)MultiplexedPath only supports directoriesN)ÚlistÚmapÚ_ensure_traversabler   Ú_pathsrE   ÚallÚNotADirectoryError)r   ÚpathsÚmessages   &* r   r   ÚMultiplexedPath.__init__H   so   € Üœ3Ô2Ô4EÀeÓ4LÓMÓNˆŒØ�{�{ˆ{ØFˆGÜ# GÓ,Ð,ß‹sÑ9¨T¯[ª[Ó9�s�sŠsÑ9¨T¯[ª[Ó9×9Ò9Ü$Ð%PÓQÐQñ :r   c                	óÒ   € R  V P                    4       p\        P                  ! R4      p\        P                  ! \        WR7      VR7      p\        V P                  R V 4       4      # )c              3  óP   "  € T F  qP                  4        F  q"x € K  	  K  	  R # 5ir   )Úiterdir)r\   r   Úchilds   &  r   r]   Ú*MultiplexedPath.iterdir.<locals>.<genexpr>Q   s   é € ÐN¡k˜d¿|¹|¾~°e”E¹~‘E£kùs   ‚$&r?   )Úkeyc              3  ó*   "  € T F	  w  rVx € K  	  R # 5ir   r1   )r\   r?   Úlocss   &  r   r]   rl   T   s   é € Ð!@¹©:¨4¥$»ùs   ‚)rb   ÚoperatorÚ
attrgetterÚ	itertoolsÚgroupbyÚsortedr`   Ú_follow)r   ÚchildrenÚby_nameÚgroupss   &   r   rj   ÚMultiplexedPath.iterdirP   sN   € ÙN d§k¢kÓNˆÜ×%Ò% fÓ-ˆÜ×"Ò"¤6¨(Ô#@ÀgÔNˆÜ�4—<‘<Ñ!@¹Ó!@ÓAÐAr   c                	ó   € \        V  R 24      h©z is not a file©rE   r(   s   &r   Ú
read_bytesÚMultiplexedPath.read_bytesV   ó   € Ü 4 &¨Ð 7Ó8Ð8r   c                	ó   € \        V  R 24      hr{   r|   ©r   rF   Úkwargss   &*,r   Ú	read_textÚMultiplexedPath.read_textY   r   r   c                	ó   € R # )Tr1   r(   s   &r   rZ   ÚMultiplexedPath.is_dir\   s   € Ùr   c                	ó   € R # )Fr1   r(   s   &r   rK   ÚMultiplexedPath.is_file_   s   € Ùr   c                	óš   <€  \         SV `  ! V!  #   \        P                   d%    T P                  ^ ,          P                  ! T!  u # i ; i©r   )rB   r    r   ÚTraversalErrorrb   )r   ÚdescendantsrH   s   &*€r   r    ÚMultiplexedPath.joinpathb   sH   ø€ ð	9Ü‘7Ò# [Ñ1Ð1øÜ×!Ñ!ô 	9ð —;‘;˜q•>×*Ò*¨KÑ8Ò8ð	9ús   ƒ ‘6A
Á	A
c                óº   € \         P                  ! V^4      w  r#p \        V4      #   \         d)     T ! T!  u #   \         d    \        T4      u u # i ; ii ; i)zÎ
Construct a MultiplexedPath if needed.

If children contains a sole element, return it.
Otherwise, return a MultiplexedPath of the items.
Unless one of the items is not a Directory, then return the first.
)rr   Úteer   Ú
ValueErrorrd   Únext)Úclsrv   ÚsubdirsÚone_dirÚone_files   &&   r   ru   ÚMultiplexedPath._followj   s_   € ô &/§]¢]°8¸QÓ%?Ñ"ˆ˜(ð	&Ü˜“=Ð øÜô 	&ð&Ù˜G‘}Ò$øÜ%ô &Ü˜H“~Ô%ð&úð	&ús)   œ
' §A³;¸A»AÁAÁAÁAc                	ó   € \        V  R 24      hr{   r|   r�   s   &*,r   ÚopenÚMultiplexedPath.open}   r   r   c                	ó<   € V P                   ^ ,          P                  # rŠ   )rb   r?   r(   s   &r   r?   ÚMultiplexedPath.name€   s   € à�{‰{˜1�~×"Ñ"Ð"r   c                	óR   € R P                  R V P                   4       4      pRV R2# )z, c              3  ó.   "  € T F  pR V R 2x € K  	  R# 5i)Ú'Nr1   r[   s   & r   r]   Ú+MultiplexedPath.__repr__.<locals>.<genexpr>…   s   é € Ð>±+¨$˜A˜d˜V 1�+³+ùs   ‚zMultiplexedPath(Ú))Újoinrb   )r   re   s   & r   Ú__repr__ÚMultiplexedPath.__repr__„   s)   € Ø—	‘	Ñ>°$·+²+Ó>Ó>ˆØ! % ¨Ð*Ð*r   )rb   )r,   r-   r.   r/   Ú__doc__r   rj   r}   rƒ   rZ   rK   r    Úclassmethodru   r˜   Úpropertyr?   r¢   r0   rS   rT   s   @r   rV   rV   @   sd   ø† ñòRòBò9ò9òòõ9ð ñ&ó ð&ò$9ð ñ#ó ð#÷+ð +r   rV   c                  ój   € ] tR t^‰tR t]R R l4       t]R R l4       t]R R l4       t	R t
R	 tR
tR# )ÚNamespaceReaderc           	     	óœ   € R \        V4      9  d   \        R4      h\        \        \        \        V P                  V4      4      !  V n        R# )ÚNamespacePathzInvalid pathN)r   r�   rV   ÚfilterÚboolr`   Ú_resolver   )r   Únamespace_paths   &&r   r   ÚNamespaceReader.__init__Š   s8   € Ø¤# nÓ"5Ô5Ü˜^Ó,Ð,Ü#¤V¬D´#°d·m±mÀ^Ó2TÓ%UÑVˆŽ	r   c               ó   € V ^8„  d   QhRR/# )é   Úreturnzabc.Traversable | Noner1   )Úformats   "r   Ú__annotate__ÚNamespaceReader.__annotate__�   s   € ÷  ñ  Ð#9ñ  r   c                óJ   € R V P                  V4       4       p\        VR4      # )a˜  
Given an item from a namespace path, resolve it to a Traversable.

path_str might be a directory on the filesystem or a path to a
zipfile plus the path within the zipfile, e.g. ``/foo/bar`` or
``/foo/baz.zip/inner_dir`` or ``foo\baz.zip\inner_dir\sub``.

path_str might also be a sentinel used by editable packages to
trigger other behaviors (see python/importlib_resources#311).
In that case, return None.
c              3  óT   "  € T F  qP                  4       '       g   K  Vx € K   	  R # 5ir   rY   )r\   Úcands   & r   r]   Ú+NamespaceReader._resolve.<locals>.<genexpr>œ   s   é € ÐQÑ!?˜Ç;Á;Ç=—’Ó!?ùs   ‚(ž
(N)Ú_candidate_pathsr‘   )r’   Úpath_strÚdirss   && r   r­   ÚNamespaceReader._resolve�   s'   € ñ R ×!5Ñ!5°hÔ!?ÓQˆÜ�D˜$ÓÐr   c               ó    € V ^8„  d   QhRRRR/# )r±   r»   r   r²   zIterator[abc.Traversable]r1   )r³   s   "r   r´   rµ       s   € ÷ 3ñ 3¨ð 3Ð0Iñ 3r   c              #  	ót   "  € \         P                  ! V4      x € V P                  V4       R j  x€L
  R #  L5ir   )r   r   Ú_resolve_zip_path)r’   r»   s   &&r   rº   Ú NamespaceReader._candidate_pathsŸ   s(   é € ä�lŠl˜8Ó$Ò$Ø×(Ñ(¨Ó2×2Ô2ùs   ‚-8¯6°8c               ó   € V ^8„  d   QhRR/# )r±   r»   r   r1   )r³   s   "r   r´   rµ   ¥   s   € ÷ 	Qñ 	Q Cñ 	Qr   c           	   #  	óÎ  "  € \        \        \        P                  ! R V 4      4      4       FŸ  p\        P
                  ! \        \        \        \        4      ;_uu_ 4        WP                  4       R P                  RR4      R,           p\        P                  ! V RVP                  4        VP                  R4      4      x € RRR4       K¡  	  R#   + '       g   i     K¶  ; i5i)z[\\/]Nr5   r6   )Úreversedr_   ÚreÚfinditerÚ
contextlibÚsuppressrE   ÚIsADirectoryErrorrd   ÚPermissionErrorÚendr9   rQ   r   ÚstartÚlstrip)r»   ÚmatchÚinners   &  r   rÀ   Ú!NamespaceReader._resolve_zip_path¤   s¨   é € äœd¤2§;¢;¨x¸Ó#BÓCÖDˆEÜ×$Ò$Ü!Ü!Ü"Ü÷	õ ð !§¡£ Ð/×7Ñ7¸¸cÓBÀSÕH�Ü—l’l 8¨O¨e¯k©k«mÐ#<¸e¿l¹lÈ3Ó>OÓPÒP÷ñ ó E÷÷ ð üs   ‚AC%Á A#CÃC%ÃC"Ã	C%c                óJ   € \        V P                  P                  V4      4      # r   r   r!   s   &&r   r#   ÚNamespaceReader.resource_path°   r%   r   c                	ó   € V P                   # r   r'   r(   s   &r   r)   ÚNamespaceReader.files¸   r+   r   r'   N)r,   r-   r.   r/   r   r¥   r­   rº   ÚstaticmethodrÀ   r#   r)   r0   r1   r   r   r¨   r¨   ‰   sP   † òWð
 ô ó ð ð ô3ó ð3ð ô	Qó ð	Qò1ör   r¨   c                ó˜   € \        V \        4      '       g   V # \        P                  ! R\        ^R7       \
        P                  ! V 4      # )z_
Convert deprecated string arguments to traversables (pathlib.Path).

Remove with Python 3.15.
z<String arguments are deprecated. Pass a Traversable instead.)Ú
stacklevel)Ú
isinstancer   ÚwarningsÚwarnÚDeprecationWarningr   r   r'   s   &r   ra   ra   ¼   s<   € ô �dœC× Ò Øˆä‡M‚MØFÜØõô �<Š<˜ÓÐr   )Ú
__future__r   r
   rÇ   rr   r   rp   rÅ   rÙ   rQ   Úcollections.abcr   Ú r   Ú
_itertoolsr   r   ÚTraversableResourcesr   r3   ÚTraversablerV   r¨   ra   r1   r   r   Ú<module>râ      s}   ðÝ "ã Û Û Û Û Û 	Û Û Ý $å å ò9ô�×)Ñ)ô ô 7�×(Ñ(ô 7ô4F+�c—o‘oô F+ôR0�c×.Ñ.ô 0ôfr   