+
    Pj,              
         R t ^ RIHt ^ RIt^ RIt^ RIt^ RIt^RIHtH	t	 ^RI
Ht  ! R R4      t ! R R]4      t ! R	 R
]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R4      t ! R R4      t ! R R4      t ! R R4      tR]R]R]R]R]/t]f   ]P1                  R4       ]	f   ]P1                  R4       R# R# ) zq
Handlers for Content-Encoding.

See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding
)annotationsN)brotlizstd)DecodingErrorc                  .    ] tR t^tR R ltR R ltRtR# )ContentDecoderc                    V ^8  d   QhRRRR/#    databytesreturn )formats   "h/Users/ahmed/devFolder/Ultron/claude-voice/gateway/.venv/lib/python3.14/site-packages/httpx/_decoders.py__annotate__ContentDecoder.__annotate__   s     $ $5 $U $    c                	    \        4       hNNotImplementedErrorselfr   s   &&r   decodeContentDecoder.decode       !##r   c                   V ^8  d   QhRR/# r
   r   r   r   )r   s   "r   r   r      s     $ $u $r   c                	    \        4       hr   r   r   s   &r   flushContentDecoder.flush   r   r   r   N)__name__
__module____qualname____firstlineno__r   r!   __static_attributes__r   r   r   r   r      s    $$ $r   r   c                  2    ] tR t^tRtR R ltR R ltRtR# )IdentityDecoderz
Handle unencoded data.
c                    V ^8  d   QhRRRR/# r	   r   )r   s   "r   r   IdentityDecoder.__annotate__   s      5 U r   c                	    V# r   r   r   s   &&r   r   IdentityDecoder.decode   s    r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r+   "   s      u r   c                	    R # r   r   r    s   &r   r!   IdentityDecoder.flush"   s    r   r   N)r#   r$   r%   r&   __doc__r   r!   r'   r   r   r   r)   r)      s     r   r)   c                  >    ] tR t^&tRtR R ltR R ltR R ltRtR	# )
DeflateDecoderzN
Handle 'deflate' decoding.

See: https://stackoverflow.com/questions/1838699
c                   V ^8  d   QhRR/# r
   r   Noner   )r   s   "r   r   DeflateDecoder.__annotate__-   s     1 1$ 1r   c                	H    R V n         \        P                  ! 4       V n        R# )TN)first_attemptzlibdecompressobjdecompressorr    s   &r   __init__DeflateDecoder.__init__-   s    ! ..0r   c                    V ^8  d   QhRRRR/# r	   r   )r   s   "r   r   r8   1   s     	3 	35 	3U 	3r   c                	T   V P                   pR V n          V P                  P                  V4      #   \        P                   dc   pT'       dA   \        P
                  ! \        P                  ) 4      T n        T P                  T4      u Rp?# \        \        T4      4      ThRp?ii ; iFN)
r:   r=   
decompressr;   errorr<   	MAX_WBITSr   r   str)r   r   was_first_attemptexcs   &&  r   r   DeflateDecoder.decode1   s     .."	3$$//55zz 	3 $($6$6$G!{{4((C)s2		3s"   0 B'AB"B'B""B'c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r8   <        3 3u 3r   c                	     V P                   P                  4       #   \        P                   d   p\	        \        T4      4      ThR p?ii ; ir   r=   r!   r;   rD   r   rF   r   rH   s   & r   r!   DeflateDecoder.flush<   A    	3$$**,,zz 	3C)s2	3    AAA)r=   r:   N	r#   r$   r%   r&   r2   r>   r   r!   r'   r   r   r   r4   r4   &   s    1	33 3r   r4   c                  >    ] tR t^CtRtR R ltR R ltR R ltRtR	# )
GZipDecoderzK
Handle 'gzip' decoding.

See: https://stackoverflow.com/questions/1838699
c                   V ^8  d   QhRR/# r6   r   )r   s   "r   r   GZipDecoder.__annotate__J   s     D D$ Dr   c                	f    \         P                  ! \         P                  ^,          4      V n        R# )   N)r;   r<   rE   r=   r    s   &r   r>   GZipDecoder.__init__J   s     ..t~~/BCr   c                    V ^8  d   QhRRRR/# r	   r   )r   s   "r   r   rV   M   s     3 35 3U 3r   c                	     V P                   P                  V4      #   \        P                   d   p\	        \        T4      4      ThR p?ii ; ir   )r=   rC   r;   rD   r   rF   r   r   rH   s   && r   r   GZipDecoder.decodeM   sC    	3$$//55zz 	3C)s2	3s    AAAc                   V ^8  d   QhRR/# r   r   )r   s   "r   r   rV   S   rK   r   c                	     V P                   P                  4       #   \        P                   d   p\	        \        T4      4      ThR p?ii ; ir   rM   rN   s   & r   r!   GZipDecoder.flushS   rP   rQ   r=   NrR   r   r   r   rT   rT   C   s    D33 3r   rT   c                  >    ] tR t^ZtRtR R ltR R ltR R ltRtR	# )
BrotliDecodera<  
Handle 'brotli' decoding.

Requires `pip install brotlipy`. See: https://brotlipy.readthedocs.io/
    or   `pip install brotli`. See https://github.com/google/brotli
Supports both 'brotlipy' and 'Brotli' packages since they share an import
name. The top branches are for 'brotlipy' and bottom branches for 'Brotli'
c                   V ^8  d   QhRR/# r6   r   )r   s   "r   r   BrotliDecoder.__annotate__d   s     9 9$ 9r   c                	   \         f   \        R4      R h\         P                  ! 4       V n        RV n        V  \        V P                  R4      '       d   V P                  P                  V n        R # V P                  P                  V n        R # )NzUsing 'BrotliDecoder', but neither of the 'brotlicffi' or 'brotli' packages have been installed. Make sure to install httpx using `pip install httpx[brotli]`.FrC   )	r   ImportErrorDecompressorr=   	seen_datahasattrrC   _decompressprocessr    s   &r   r>   BrotliDecoder.__init__d   sy    >P 	 #//14$$l33#00;;D  $0088Dr   c                    V ^8  d   QhRRRR/# r	   r   )r   s   "r   r   re   v   s     3 35 3U 3r   c                	    V'       g   R # RV n          V P                  V4      #   \        P                   d   p\	        \        T4      4      ThRp?ii ; i)r   TN)ri   rk   r   rD   r   rF   r\   s   && r   r   BrotliDecoder.decodev   sJ    	3##D))|| 	3C)s2	3s   $ AAAc                   V ^8  d   QhRR/# r   r   )r   s   "r   r   re      s     3 3u 3r   c                	    V P                   '       g   R #  \        V P                  R4      '       d   V P                  P                  4        R #   \        P
                   d   p\        \        T4      4      ThRp?ii ; i)r   finishN)ri   rj   r=   rs   r   rD   r   rF   rN   s   & r   r!   BrotliDecoder.flush   sb    ~~~
	3t(((33 !!((*|| 	3C)s2	3s   6A A=#A88A=)rk   r=   ri   NrR   r   r   r   rc   rc   Z   s    9$33 3r   rc   c                  >    ] tR t^tRtR R ltR R ltR R ltRtR	# )
ZStandardDecoderz
Handle 'zstd' RFC 8878 decoding.

Requires `pip install zstandard`.
Can be installed as a dependency of httpx using `pip install httpx[zstd]`.
c                   V ^8  d   QhRR/# r6   r   )r   s   "r   r   ZStandardDecoder.__annotate__   s     D D$ Dr   c                	~    \         f   \        R4      R h\         P                  ! 4       P                  4       V n        R # )NzXUsing 'ZStandardDecoder', ...Make sure to install httpx using `pip install httpx[zstd]`.)r   rg   ZstdDecompressorr<   r=   r    s   &r   r>   ZStandardDecoder.__init__   s;    <N 
 !113AACr   c                    V ^8  d   QhRRRR/# r	   r   )r   s   "r   r   rx      s     ! !5 !U !r   c                	^   \         f   Q h\        P                  ! 4       p VP                  V P                  P                  V4      4       V P                  P                  '       d   V P                  P                  '       dk   V P                  P                  p\         P                  ! 4       P                  4       V n        VP                  V P                  P                  V4      4       K  VP                  4       #   \         P                   d   p\        \        T4      4      ThR p?ii ; ir   )r   ioBytesIOwriter=   rC   eofunused_datarz   r<   	ZstdErrorr   rF   getvalue)r   r   outputr   rH   s   &&   r   r   ZStandardDecoder.decode   s    	3LL**55d;<##'''D,=,=,I,I,I"//;;$($9$9$;$I$I$K!T..99+FG    ~~ 	3C)s2	3s%   AC= 'C= A*C= =D,D''D,c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   rx      s      u r   c                	    V P                   P                  4       pV P                   P                  '       g   \        R 4      h\	        V4      # )zZstandard data is incomplete)r=   r!   r   r   r   )r   rets   & r   r!   ZStandardDecoder.flush   s>    %%'  $$$ >??Szr   ra   NrR   r   r   r   rv   rv      s    D! r   rv   c                  >    ] tR t^tRtR R ltR R ltR R ltRtR	# )
MultiDecoderz=
Handle the case where multiple encodings have been applied.
c                    V ^8  d   QhRRRR/# )r
   childrenztyping.Sequence[ContentDecoder]r   r7   r   )r   s   "r   r   MultiDecoder.__annotate__   s     1 1!@ 1T 1r   c                8    \        \        V4      4      V n        R# )zU
'children' should be a sequence of decoders in the order in which
each was applied.
N)listreversedr   )r   r   s   &&r   r>   MultiDecoder.__init__   s     Xh/0r   c                    V ^8  d   QhRRRR/# r	   r   )r   s   "r   r   r      s      5 U r   c                	N    V P                    F  pVP                  V4      pK  	  V# r   )r   r   r   r   childs   && r   r   MultiDecoder.decode   s#    ]]E<<%D #r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r      s      u r   c                	|    R pV P                    F)  pVP                  V4      VP                  4       ,           pK+  	  V# r0   )r   r   r!   r   s   &  r   r!   MultiDecoder.flush   s3    ]]E<<%5D #r   )r   NrR   r   r   r   r   r      s    1
 r   r   c                  B    ] tR t^tRtR
R R lltR R ltR R ltR	tR# )ByteChunkerz6
Handles returning byte content in fixed-size chunks.
Nc                    V ^8  d   QhRRRR/# r
   
chunk_sizez
int | Noner   r7   r   )r   s   "r   r   ByteChunker.__annotate__        & &: & &r   c                	F    \         P                  ! 4       V n        Wn        R # r   )r~   r   _buffer_chunk_sizer   r   s   &&r   r>   ByteChunker.__init__   s    zz|%r   c                    V ^8  d   QhRRRR/# )r
   contentr   r   list[bytes]r   )r   s   "r   r   r      s      e  r   c                	   V P                   f   V'       d   V.# . # V P                  P                  V4       V P                  P                  4       V P                   8  Ed   V P                  P	                  4       p\        ^ \        V4      V P                   4       Uu. uF  pW#W0P                   ,            NK  	  pp\        VR,          4      V P                   8X  d8   V P                  P                  ^ 4       V P                  P                  4        V# V P                  P                  ^ 4       V P                  P                  VR,          4       V P                  P                  4        VR R # . # u upi N	r   r   r   tellr   rangelenseektruncater   r   valueichunkss   &&   r   r   ByteChunker.decode   ,   # 'G9/R/7#<<$"2"22LL))+E q#e*d.>.>??A !.../?   6":$"2"22!!!$%%'!!!$""6":.%%'cr{"I   E2c                   V ^8  d   QhRR/# )r
   r   r   r   )r   s   "r   r   r      s     ( ({ (r   c                	    V P                   P                  4       pV P                   P                  ^ 4       V P                   P                  4        V'       d   V.# . #     r   r   r   r   r   r   s   & r   r!   ByteChunker.flush   E    %%'!w'R'r   r   r   r   rR   r   r   r   r   r          &.( (r   r   c                  B    ] tR t^tRtR
R R lltR R ltR R ltR	tR# )TextChunkerz6
Handles returning text content in fixed-size chunks.
Nc                    V ^8  d   QhRRRR/# r   r   )r   s   "r   r   TextChunker.__annotate__   r   r   c                	F    \         P                  ! 4       V n        Wn        R # r   )r~   StringIOr   r   r   s   &&r   r>   TextChunker.__init__   s    {{}%r   c                    V ^8  d   QhRRRR/# )r
   r   rF   r   	list[str]r   )r   s   "r   r   r      s      c i r   c                	   V P                   f   V'       d   V.# . # V P                  P                  V4       V P                  P                  4       V P                   8  Ed   V P                  P	                  4       p\        ^ \        V4      V P                   4       Uu. uF  pW#W0P                   ,            NK  	  pp\        VR,          4      V P                   8X  d8   V P                  P                  ^ 4       V P                  P                  4        V# V P                  P                  ^ 4       V P                  P                  VR,          4       V P                  P                  4        VR R # . # u upi r   r   r   s   &&   r   r   TextChunker.decode   r   r   c                   V ^8  d   QhRR/# r
   r   r   r   )r   s   "r   r   r     s     ( (y (r   c                	    V P                   P                  4       pV P                   P                  ^ 4       V P                   P                  4        V'       d   V.# . # r   r   r   s   & r   r!   TextChunker.flush  r   r   r   r   rR   r   r   r   r   r      r   r   r   c                  B    ] tR tRtRtRR R lltR R ltR R ltR	tR
# )TextDecoderi  z0
Handles incrementally decoding bytes into text
c                    V ^8  d   QhRRRR/# )r
   encodingrF   r   r7   r   )r   s   "r   r   TextDecoder.__annotate__!  s     P P P4 Pr   c                	J    \         P                  ! V4      ! R R7      V n        R# )replace)errorsN)codecsgetincrementaldecoderdecoder)r   r   s   &&r   r>   TextDecoder.__init__!  s    33H=YOr   c                    V ^8  d   QhRRRR/# )r
   r   r   r   rF   r   )r   s   "r   r   r   $  s     ) )5 )S )r   c                	8    V P                   P                  V4      # r   r   r   r   s   &&r   r   TextDecoder.decode$  s    ||""4((r   c                   V ^8  d   QhRR/# )r
   r   rF   r   )r   s   "r   r   r   '  s     . .s .r   c                	:    V P                   P                  R R4      # )r   Tr   r    s   &r   r!   TextDecoder.flush'  s    ||""3--r   )r   N)zutf-8rR   r   r   r   r   r     s    P). .r   r   c                  >    ] tR tRtRtR R ltR R ltR R ltR	tR
# )LineDecoderi+  z
Handles incrementally reading lines from text.

Has the same behaviour as the stdllib splitlines,
but handling the input iteratively.
c                   V ^8  d   QhRR/# r6   r   )r   s   "r   r   LineDecoder.__annotate__3  s     ' '$ 'r   c                	"    . V n         R V n        R# rB   buffertrailing_crr    s   &r   r>   LineDecoder.__init__3  s    !#!&r   c                    V ^8  d   QhRRRR/# )r
   textrF   r   r   r   )r   s   "r   r   r   7  s     $ $3 $9 $r   c                	6   R pV P                   '       d   RV,           pRV n         VP                  R4      '       d   RV n         VRR pV'       g   . # VR,          V9   pVP                  4       p\        V4      ^8X  d-   V'       g%   V P                  P                  V^ ,          4       . # V P                  '       d@   RP                  V P                  4      V^ ,          ,           .VR,          ,           p. V n        V'       g   VP                  4       .V n        V# )u   
  FTN :   NNr   )r   endswith
splitlinesr   r   appendjoinpop)r   r   NEWLINE_CHARStrailing_newlineliness   &&   r   r   LineDecoder.decode7  s    B $;D$D==#D9D I8}4!u:?#3KKuQx(I;;; WWT[[)E!H45b	AEDK !99;-DKr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   ]  s      y r   c                	    V P                   '       g   V P                  '       g   . # R P                  V P                   4      .p. V n         RV n        V# )r   F)r   r   r   )r   r   s   & r   r!   LineDecoder.flush]  sD    {{{4#3#3#3I%& r   r   NrR   r   r   r   r   r   +  s    '$L r   r   identitygzipdeflatebrr   )r2   
__future__r   r   r~   typingr;   _compatr   r   _exceptionsr   r   r)   r4   rT   rc   rv   r   r   r   r   r   SUPPORTED_DECODERSr   r   r   r   <module>r     s    #  	   ! &$ $	n 	3^ 3:3. 3.23N 23j#~ #L> 2$( $(N$( $(N. .9 9z 
K~-
  
>4 <6" r   