grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026a ´i# ã@sždZddlZddlZddlmZddd„Zdd d „ZGd d „d ejƒZGd d„dejƒZGdd„dej ƒZ Gdd„deej ƒZ Gdd„deej ƒZ dd„Z dS)aPython 'uu_codec' Codec - UU content transfer encoding. This codec de/encodes from bytes to bytes. Written by Marc-Andre Lemburg (mal@lemburg.com). Some details were adapted from uu.py which was written by Lance Ellinghouse and modified by Jack Jansen and Fredrik Lundh. éN)ÚBytesIOÚstrictúé¶c Cs”|dks J‚t|ƒ}tƒ}|j}|j}| dd¡}| dd¡}|d|d@|f d¡ƒ|d ƒ}|r||t |¡ƒ|d ƒ}q`|d ƒ| ¡t|ƒfS) NrÚ z\nú z\rz begin %o %s iÿÚasciié-s end ) rÚreadÚwriteÚreplaceÚencodeÚbinasciiZb2a_uuÚgetvalueÚlen) ÚinputÚerrorsÚfilenameÚmodeÚinfileÚoutfiler r Úchunk©rú*/usr/lib64/python3.9/encodings/uu_codec.pyÚ uu_encodes    rc Csê|dks J‚t|ƒ}tƒ}|j}|j}|ƒ}|s8tdƒ‚|dd…dkr&qLq&|ƒ}|rÎ|dkr`qÎzt |¡}WnTtjyÂ}z:|ddd@d dd } t |d| …¡}WYd}~n d}~00||ƒqL|sÚtd ƒ‚| ¡t|ƒfS) Nrz"Missing "begin" line in input dataésbeginsend ré é?éézTruncated input data) rÚreadliner Ú ValueErrorrZa2b_uuÚErrorrr) rrrrr r ÚsÚdataÚvÚnbytesrrrÚ uu_decode%s,  ( r'c@s eZdZddd„Zddd„ZdS) ÚCodecrcCs t||ƒS©N)r©Úselfrrrrrr Gsz Codec.encodecCs t||ƒSr))r'r*rrrÚdecodeJsz Codec.decodeN)r)r)Ú__name__Ú __module__Ú __qualname__r r,rrrrr(Fs r(c@seZdZddd„ZdS)ÚIncrementalEncoderFcCst||jƒdS©Nr)rr©r+rÚfinalrrrr NszIncrementalEncoder.encodeN)F)r-r.r/r rrrrr0Msr0c@seZdZddd„ZdS)ÚIncrementalDecoderFcCst||jƒdSr1)r'rr2rrrr,RszIncrementalDecoder.decodeN)F)r-r.r/r,rrrrr4Qsr4c@seZdZeZdS)Ú StreamWriterN©r-r.r/ÚbytesÚcharbuffertyperrrrr5Usr5c@seZdZeZdS)Ú StreamReaderNr6rrrrr9Xsr9c Cstjdttttttdd�S)NÚuuF)Únamer r,ÚincrementalencoderÚincrementaldecoderÚ streamreaderÚ streamwriterÚ_is_text_encoding)ÚcodecsÚ CodecInforr'r0r4r9r5rrrrÚ getregentry]sørC)rrr)r) Ú__doc__rArÚiorrr'r(r0r4r5r9rCrrrrÚs    !