+
    € ’e&  ã                   ó†   € R t ^ RIt^ RIt]P                  t ! R R]P
                  4      t ! R R]P                  4      tR# )z,Internal classes used by compression modulesNc                   ó<   a € ] tR t^	t o RtR tR tR tR tRt	V t
R# )Ú
BaseStreamzMode-checking helper functions.c                ó@   € V P                   '       d   \        R 4      hR# )zI/O operation on closed fileN)ÚclosedÚ
ValueError©Úselfs   &Új/home/ubuntu/.hermes/tools/python-3.14.9+20261021-linux-x64/lib/python3.14/compression/_common/_streams.pyÚ_check_not_closedÚBaseStream._check_not_closed   s   € Ø�;�;ˆ;ÜÐ;Ó<Ð<ñ ó    c                ó^   € V P                  4       '       g   \        P                  ! R 4      hR# )zFile not open for readingN)ÚreadableÚioÚUnsupportedOperationr   s   &r	   Ú_check_can_readÚBaseStream._check_can_read   ó$   € Ø�}‰}�ŠÜ×)Ò)Ð*EÓFÐFñ r   c                ó^   € V P                  4       '       g   \        P                  ! R 4      hR# )zFile not open for writingN)Úwritabler   r   r   s   &r	   Ú_check_can_writeÚBaseStream._check_can_write   r   r   c                ó¶   € V P                  4       '       g   \        P                  ! R 4      hV P                  4       '       g   \        P                  ! R4      hR# )z3Seeking is only supported on files open for readingz3The underlying file object does not support seekingN)r   r   r   Úseekabler   s   &r	   Ú_check_can_seekÚBaseStream._check_can_seek   sS   € Ø�}‰}�ŠÜ×)Ò)ð +Fó Gð Gà�}‰}�ŠÜ×)Ò)ð +Eó Fð Fñ r   © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r
   r   r   r   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r	   r   r   	   s%   ø‡ € Ù)ò=òGòG÷Fð Fr   r   c                   óŽ   a a€ ] tR t^!t oRtR tRR ltV 3R ltR tR t	RR lt
R tR	 t]P                  3R
 ltR tRtVtV ;t# )ÚDecompressReaderz5Adapts the decompressor API to a RawIOBase reader APIc                ó   € R # )Tr   r   s   &r	   r   ÚDecompressReader.readable$   s   € Ùr   c                ó¢   € Wn         R V n        ^ V n        RV n        W n        W@n        V P                  ! R/ V P
                  B V n        W0n        R# )FNéÿÿÿÿr   )Ú_fpÚ_eofÚ_posÚ_sizeÚ_decomp_factoryÚ_decomp_argsÚ_decompressorÚ_trailing_error)r   ÚfpÚdecomp_factoryÚtrailing_errorÚdecomp_argss   &&&&,r	   Ú__init__ÚDecompressReader.__init__'   sP   € ØŒØˆŒ	ØˆŒ	ð ˆŒ
ð  .ÔØ'ÔØ!×1Ò1ÑF°D×4EÑ4EÑFˆÔð  .Ör   c                ó.   <€ R V n         \        SV `	  4       # ©N)r1   ÚsuperÚclose)r   Ú	__class__s   &€r	   r<   ÚDecompressReader.close;   s   ø€ Ø!ˆÔÜ‰w‰}‹Ðr   c                ó6   € V P                   P                  4       # r:   )r+   r   r   s   &r	   r   ÚDecompressReader.seekable?   s   € Ø�x‰x× Ñ Ó"Ð"r   c           
     ó,  € \        V4      ;_uu_ 4       q"P                  R 4      ;_uu_ 4       pV P                  \        V4      4      pWCR\        V4      % RRR4       RRR4       \        X4      #   + '       g   i     L#; i  + '       g   i     L.; i)ÚBN)Ú
memoryviewÚcastÚreadÚlen)r   ÚbÚviewÚ	byte_viewÚdatas   &&   r	   ÚreadintoÚDecompressReader.readintoB   sY   € Ü˜�]Œ]˜d§I¡I¨c§N¤N°iØ—9‘9œS ›^Ó,ˆDØ$(�j”s˜4“yÐ!÷ %3�]ô �4‹yÐ÷ %3§Nú�]�]ús"   ”B­(A0	ÁBÁ0B Á;BÂB	c                óZ  € V^ 8  d   V P                  4       # V'       d   V P                  '       d   R# Rp V P                  P                  '       d…   V P                  P                  ;'       g     V P
                  P                  \        4      pV'       g   M¶V P                  ! R/ V P                  B V n         V P                  P                  W14      pMlV P                  P                  '       d4   V P
                  P                  \        4      pV'       g   \        R4      hMRpV P                  P                  W14      pV'       g   EK   V'       g   RV n        V P                  V n        R# V ;P                  \!        V4      ,          un        V#   T P                   d     KZ  i ; i)é    r   NTzACompressed file ended before the end-of-stream marker was reachedr   )Úreadallr,   r1   ÚeofÚunused_datar+   rE   ÚBUFFER_SIZEr/   r0   Ú
decompressr2   Úneeds_inputÚEOFErrorr-   r.   rF   )r   ÚsizerJ   Úrawblocks   &&  r	   rE   ÚDecompressReader.readH   s`  € Ø�!Œ8Ø—<‘<“>Ð!ç�t—y—y�yÙØˆð Ø×!Ñ!×%×%Ð%Ø ×.Ñ.×:Ñ:÷ 7ð 7Ø ŸH™HŸM™M¬+Ó6ð çØà%)×%9Ò%9ñ &)Ø×'Ñ'ñ&)�Ô"ðØ×-Ñ-×8Ñ8¸ÓH‘Dð
 ×%Ñ%×1×1Ð1Ø#Ÿx™xŸ}™}¬[Ó9�Hß#Ü&ð (Jó Kð Kð $ð  #�HØ×)Ñ)×4Ñ4°XÓD�ßŠtØßØˆDŒIØŸ™ˆDŒJÙØ�	Š	”S˜“YÕ�	Øˆøð' ×+Ñ+ô âðús   Â;F ÆF*Æ)F*c                óœ   € . pV P                  \        P                  4      ;p'       d   VP                  V4       K:  R P	                  V4      # )r   )rE   ÚsysÚmaxsizeÚappendÚjoin)r   ÚchunksrJ   s   &  r	   rO   ÚDecompressReader.readallq   s<   € Øˆð —i‘i¤§¡Ó,Ð,ˆdÖ,Ø�M‰M˜$Öà�x‰x˜ÓÐr   c                óš   € V P                   P                  ^ 4       RV n        ^ V n        V P                  ! R/ V P
                  B V n        R# )rN   FNr   )r+   Úseekr,   r-   r/   r0   r1   r   s   &r	   Ú_rewindÚDecompressReader._rewind|   s<   € Ø�‰�‰�aÔØˆŒ	ØˆŒ	Ø!×1Ò1ÑF°D×4EÑ4EÑFˆÖr   c                ó¦  € V\         P                  8X  d   M¤V\         P                  8X  d   V P                  V,           pM{V\         P                  8X  dM   V P
                  ^ 8  d(   V P                  \         P                  4      '       d   K'  V P
                  V,           pM\        RP                  V4      4      hWP                  8  d   V P                  4        MWP                  ,          pV^ 8”  dS   V P                  \        \         P                  V4      4      pV'       g    V P                  # V\        V4      ,          pKY  V P                  # )rN   zInvalid value for whence: {})r   ÚSEEK_SETÚSEEK_CURr-   ÚSEEK_ENDr.   rE   ÚDEFAULT_BUFFER_SIZEr   Úformatrb   ÚminrF   )r   ÚoffsetÚwhencerJ   s   &&& r	   ra   ÚDecompressReader.seek‚   sð   € à”R—[‘[Ô ØØ”r—{‘{Ô"Ø—Y‘Y Õ'‰FØ”r—{‘{Ô"à�z‰z˜AŒ~Ø—i‘i¤× 6Ñ 6×7Ò7ÙØ—Z‘Z &Õ(‰FäÐ;×BÑBÀ6ÓJÓKÐKð —I‘IÔØ�L‰L�Nà—i‘iÕˆFð �qŒjØ—9‘9œS¤×!7Ñ!7¸Ó@ÓAˆDßØð �y‰yÐð ”c˜$“iÕŠFà�y‰yÐr   c                ó   € V P                   # )z!Return the current file position.)r-   r   s   &r	   ÚtellÚDecompressReader.tell    s   € à�y‰yÐr   )r0   r/   r1   r,   r+   r-   r.   r2   )r   )r*   )r   r   r   r    r!   r   r7   r<   r   rK   rE   rO   rb   r   re   ra   ro   r"   r#   Ú__classcell__)r=   r$   s   @@r	   r&   r&   !   sJ   ù‡ € Ù?òô.õ(ò#òô'òR òGð #%§+¡+ô ÷<ò r   r&   )	r!   r   rZ   rh   rR   ÚBufferedIOBaser   Ú	RawIOBaser&   r   r   r	   Ú<module>rt      s?   ðÙ 2ã 	Û 
à×$Ñ$€ôF�×"Ñ"ô Fô0A�r—|‘|ö Ar   