+
    WGj!                       ^ RI Ht ^ RIt^ RIt^ RIt^ RIHt ^ RIt^ RI	H
t
 ^ RIHt ^ RIHt ^ RIHt ]'       d3   ^ RIt^ RIHtHtHtHt ^ R	IHtHt ]P2                  ],          ],          tR
 R lt]! ]4      ]P>                  n         ! R R]4      t  ! R R]PB                  4      t" ! R R]PF                  4      t$R# )    )annotationsN)TYPE_CHECKING)DEFAULT_LIMITS)IteratorByteStream)Link)parse_netloc)AnyContextManagerIterableMapping)	CertTypesTimeoutTypesc                   V ^8  d   QhRR/# )   returnbool )formats   "5lib/python3.14/site-packages/unearth/fetchers/sync.py__annotate__r      s     B BT B    c                j    V P                   P                  ;'       g    V P                   P                  # N)_uri_referenceschemehostselfs   &r   is_absolute_urlr      s(    %%AA)<)<)A)AAr   c                  "    ] tR t^ tR R ltRtR# )FileByteStreamc                   V ^8  d   QhRR/# )r   r   Noner   )r   s   "r   r   FileByteStream.__annotate__!   s      t r   c                	:    V P                   P                  4        R # r   )_streamcloser   s   &r   r'   FileByteStream.close!   s    r   r   N)__name__
__module____qualname____firstlineno__r'   __static_attributes__r   r   r   r!   r!       s     r   r!   c                  "    ] tR t^%tR R ltRtR# )LocalFSTransportc                    V ^8  d   QhRRRR/# )r   requestzhttpx.Requestr   zhttpx.Responser   )r   s   "r   r   LocalFSTransport.__annotate__&   s      m  r   c           	     	   \        \        VP                  4      4      pVP                  pVP                  R 8w  d   \
        P                  ! RR7      #  \        P                  ! V4      p\        P                  P                  VP                  RR7      p\        P                  ! V4      ^ ,          ;'       g    RpRVR\        VP                  4      RV/p\
        P                  ! ^V\!        VP#                  R	4      4      R
7      #   \$         d;   p\
        P                  ! R\'        T4      P(                   RT 2R7      u Rp?# Rp?ii ; i)GETi  )status_codeT)usegmtz
text/plainzContent-TypezContent-LengthzLast-Modifiedrb)r5   headersstreami  z: )r5   textN)r   strurl	file_pathmethodhttpxResponseosstatemailutils
formatdatest_mtime	mimetypes
guess_typest_sizer!   openOSErrortyper)   )	r   r1   linkpathstatsmodifiedcontent_typer8   excs	   &&       r   handle_requestLocalFSTransport.handle_request&   s   C$%~~>>U">>c22	GGDME {{--ennT-JH$//5a8HHLL #emm"4G
 >>%diio6   	X >>c49;M;M:NbQTPU8VWW	Xs   D E/EEEr   N)r)   r*   r+   r,   rS   r-   r   r   r   r/   r/   %   s     r   r/   c                  v   a  ] tR t^AtRtRRRRRRRRRR	R
]RRRR/R V 3R llltRR/R R lltR R ltRt	V ;t
# )
PyPIClienta5  
A :class:`httpx.Client` subclass that supports file:// URLs and trusted hosts configuration.

Args:
    trusted_hosts: A list of trusted hosts. If a host is trusted, the client will not verify the SSL certificate.
    \**kwargs: Additional keyword arguments to pass to the :class:`httpx.Client` constructor.
trusted_hostsverifyTcertNhttp1http2Flimits	trust_envtimeoutg      $@c               @    V ^8  d   QhRRRRRRRRR	RR
RRRRRRRRR/
# )r   rW   zIterable[str]rX   VerifyTypesrY   zCertTypes | NonerZ   r   r[   r\   zhttpx.Limitsr]   r^   r   kwargsr	   r   r#   r   )r   s   "r   r   PyPIClient.__annotate__J   sp     *
 *
 %*
 	*

 *
 *
 *
 *
 *
 *
 *
 
*
r   c               	j  < \        4       V n        \        P                  ! R VVVVVR7      p
R\	        4       /pV F3  p\        V4      w  rV P                  P                  W34       WRV 2&   K5  	  VP                  V	P                  R/ 4      4       \        SV `(  ! RRVRVRVRVR	VR
VRVRV/V	B  R# )F)rX   rY   rZ   r[   r\   r]   zfile://zall://mountsrX   rY   rZ   r[   r\   r]   r^   Nr   )set_trusted_host_portsr?   HTTPTransportr/   r   addupdatepopsuper__init__)r   rW   rX   rY   rZ   r[   r\   r]   r^   ra   insecure_transportrd   r   hostnameport	__class__s   &$$$$$$$$,     r   rl   PyPIClient.__init__J   s     AD "00
 3<=M=O1P!D)$/NH$$((()9:&8VD6?# "
 	fjj2./ 
	

	

	
 
	
 	
	

 
	
  
	
 
	
 
	
 
	
r   r8   c               $    V ^8  d   QhRRRRRR/# )r   r<   r;   r8   zMapping[str, str] | Noner   zContextManager[httpx.Response]r   )r   s   "r   r   rb   v   s$     8 88$<8	'8r   c               	(    V P                  R WR7      # )r4   )r8   )r9   )r   r<   r8   s   &&$r   
get_streamPyPIClient.get_streamv   s     {{5#{77r   c                   V ^8  d   QhRR/# )r   r   zIterable[tuple[str, str, str]]r   )r   s   "r   r   rb   {   s     B B%C Br   c              #  	   "   ^ RI Hp T Rj  xL
  V P                   F  w  r#RY#f   RM
\        V4      3x  K  	  R#  L05i)r   )DEFAULT_SECURE_ORIGINSN*)unearth.fetchersrx   rf   r;   )r   rx   r   ro   s   &   r   iter_secure_originsPyPIClient.iter_secure_origins{   s=     ;)))22JD\cs4yAA 3 	*s   A?1A)rf   r   )r)   r*   r+   r,   __doc__r   rl   rt   r{   r-   __classcell__)rp   s   @r   rV   rV   A   s|    *
 (**
 #	*

 "&*
 *
 *
  .*
 *
 !%*
 *
X8?C8
B Br   rV   )%
__future__r   email.utilsrC   rG   rA   typingr   r?   httpx._configr   httpx._contentr   unearth.linkr   unearth.utilsr   sslr	   r
   r   r   httpx._typesr   r   
SSLContextr   r;   r`   r   propertyURLr!   BaseTransportr/   ClientrV   r   r   r   <module>r      s    "   	    ( -  &==4..4'#-KB
 %_5		 ' 
u** 8?B ?Br   