+
    VBi                        ^ RI Ht ^ RIt^ RIt^ RIt^ RIt^ RIt^RIHtH	t	 ^ RI
t
^RIHt  ^ RIt]
P                  t ^ RIt]P&                  tRtRtRt]	! ]P0                  P2                  4      t]	R 4       t]	R	 4       t] ! R
 R4      4       t ! R R4      tR#   ] d    ]
P"                  t Lsi ; i  ] d    ]tRt Lqi ; i)    )	dataclassN)safe_makedirscached_function)__version__z.gz z.zipc                    \         P                  P                  V 4      pR \        V4      V3,          P	                  R4      p\
        P                  ! V4      p\        VR4      ;_uu_ 4       pVP                  R4      pV'       d%   VP                  V4       VP                  R4      pK,   RRR4       VP                  4       #   + '       g   i     TP                  4       # ; i)z%d:%sUTF-8rbi  N)ospathnormpathlenencodehashlibsha256openreadupdate	hexdigest)filenamer   prefixmfdatas   &     7/usr/lib/python3.14/site-packages/Cython/Build/Cache.py	file_hashr   "   s    77H%DTD))11':FvA	dD		Qvve}HHTN66%=D  

 ;;= 
	
 ;;=s   -C$CC#	c                    R\         P                  9   d   \         P                  R,          # Rp \         P                  R8X  dU   \        P                  R8X  d!   \         P
                  P                  R4      p M\         P                  P                  R4      p V '       d2   \         P
                  P                  V 4      '       d   \        V R4      # \         P
                  P                  \        RR	4      4      # )
z
Return the base directory containing Cython's caches.

Priority:

1. CYTHON_CACHE_DIR
2. (OS X): ~/Library/Caches/Cython
   (posix not OS X): XDG_CACHE_HOME/cython if XDG_CACHE_HOME defined
3. ~/.cython

CYTHON_CACHE_DIRNposixdarwinz~/Library/CachesXDG_CACHE_HOMEcython~z.cython)
r   environnamesysplatformr   
expandusergetisdir	join_path)parents    r   get_cython_cache_dirr-   /   s     RZZ'zz,--F	ww'<<8#WW''(:;F ZZ^^$45F"''--''** 77iY788    c                   >   a  ] tR t^Nt o RtRtRtR tV 3R ltRt	V t
R# )FingerprintFlagscFc                Z    \        V P                  V P                  V P                  34      # N)strlanguagepy_limited_api
np_pythran)selfs   &r   get_fingerprint FingerprintFlags.get_fingerprintT   s"    DMM4#6#6HIIr.   c                >   < V ^8  d   Qh/ S[ ;R&   S[;R&   S[;R&   # )   r5   r6   r7   )r4   bool)format__classdict__s   "r   __annotate__FingerprintFlags.__annotate__N   s*          	 r.    N)__name__
__module____qualname____firstlineno__r5   r6   r7   r9   __annotate_func____static_attributes____classdictcell__r?   s   @r   r0   r0   N   s!     H NJJ  r.   r0   c                   b   a  ] tR t^Xt o R
R lt]! 4       3R ltR tR tR t	R t
RR ltR	tV tR# )CacheNc                   Vf   \        \        4       R4      V n        MWn        Ve   TM\        V n        \
        P                  P                  V P                  4      '       g#   \
        P                  ! V P                  4       R # R # )Ncompiler)r+   r-   r   MAX_CACHE_SIZE
cache_sizer   existsmakedirs)r8   r   rP   s   &&&r   __init__Cache.__init__Y   sX    <!"6"8*EDII(2(>*Nww~~dii((KK		" )r.   c                v    \         P                  ! \        P                  ! R4      4      pVP	                  \        V4      P                  R4      4       \        V4       FY  p\        P                  P                  V4      ^,          R9  g   K0  VP	                  \        V4      P                  R4      4       K[  	  VP	                  VP                  4       P                  R4      4       VP	                  VP                  4       P                  R4      4       VP                  4       #   \         d     R# i ; i)a  
Return a fingerprint of a cython file that is about to be cythonized.

Fingerprints are looked up in future compilations. If the fingerprint
is found, the cythonization can be skipped. The fingerprint must
incorporate everything that has an influence on the generated code.
r	   N)z.cz.cppz.h)r   r   r   r   r   r   sortedr   r   splitextr9   r   OSError)r8   r   dependenciescompilation_optionsflagsr   xs   &&&&&  r   transitive_fingerprintCache.transitive_fingerprintb   s    	{11':;AHHYx(//89L)77##A&q)1EEHHYq\009: * HHU**,33G<=HH(88:AA'JK;;=  		s   B	D) BD) )D87D8c                    \        V P                  \        P                  P                  V4      : R V: 24      V,           # )-)r+   r   r   basename)r8   cfilefingerprintexts   &&&&r   fingerprint_fileCache.fingerprint_file}   s/    diiBGG,<,<U,C[!QRUXX	
r.   c                   \         P                  P                  V P                  4      '       g   \        V P                  4       V P	                  W\
        4      p\         P                  P                  V4      '       d   V# V P	                  W\        4      p\         P                  P                  V4      '       d   V# R # r3   )r   r   rQ   r   re   gzip_extzip_ext)r8   c_filerc   gz_fingerprint_filezip_fingerprint_files   &&&  r   lookup_cacheCache.lookup_cache   s     ww~~dii(($))$"33FR77>>-..&&#44V'R77>>.//''r.   c           
         \         P                  P                  V4      ^,          pV\        8X  dj   \         P                  ! VR4       \        VR4      ;_uu_ 4       p\        VR4      ;_uu_ 4       p\        P                  ! WE4       RRR4       RRR4       R# V\        8X  d   \         P                  ! VR4       \         P                  P                  V4      p\        P                  ! V4      ;_uu_ 4       pVP                  4        F  pVP                  V\        Wh4      4       K   	  RRR4       R# \!        RV 24      h  + '       g   i     L; i  + '       g   i     R# ; i  + '       g   i     R# ; i)   Nr
   wbz"Unsupported cache file extension: )r   r   rW   rh   utime	gzip_openr   shutilcopyfileobjri   dirnamezipfileZipFilenamelistextractr+   
ValueError)	r8   rj   cachedrd   gr   rv   zartifacts	   &&&      r   load_from_cacheCache.load_from_cache   s   ggv&q)(?HHVT"64((A&$''1&&q, ( )( G^HHVT"ggoof-G((A !

HIIh	'(DE !- )( A#GHH (' )(( )((s0   E2E		E:3E,EEE)	,E=	c           	        VP                  4       p\        V4      ^8X  do   V P                  W\        4      p\	        VR4      ;_uu_ 4       p\        VR,           R4      ;_uu_ 4       p\        P                  ! Wg4       RRR4       RRR4       MV P                  W\        4      p\        P                  ! VR,           R\        4      ;_uu_ 4       pV F2  p	VP                  V	\        P                  P                  V	4      4       K4  	  RRR4       \        P                   ! VR,           V4       R#   + '       g   i     L; i  + '       g   i     LC; i  + '       g   i     LV; i)rp   r
   z.tmprq   Nw)get_generated_source_filesr   re   rh   r   rs   rt   ru   ri   rw   rx   zipfile_compression_modewriter   r   ra   rename)
r8   rj   rc   compilation_result	artifactsre   r   r}   zipr   s
   &&&&      r   store_to_cacheCache.store_to_cache   s   &AAC	y>Q#44V(Sfd##q/&8$??1&&q, @ $#  $44V'R 6)30H  )HIIh(8(8(BC !*
 			"V+-=> @? $#
 s0   E'D1	>E9E1E<EE	E'	c                    \         P                  ! R RR\        P                  P	                  V P                  4      .\         P
                  R7      pVP                  pVP                  ^ 8X  dH   R\        VP                  4       P                  4       ^ ,          4      ,          pW@P                  8  d   R# ^ p. p\        P                  ! T P                  4       Fi  p\        T P                  T4      p\        P                   ! T4      pYHP"                  ,          pTP%                  TP&                  TP"                  T34       Kk  	  Y@P                  8  dY   \)        \+        T4      4       F>  w  rp\        P,                  ! T4       YJ,          pY@P                  T,          8  g   K=   R# 	  R# R#   \        \        3 d     ELi ; i)duz-sz-k)stdouti   N)
subprocessrunr   r   abspathPIPEr   
returncodeintstripsplitrP   rX   r{   listdirr+   statst_sizeappendst_atimereversedrV   unlink)r8   ratiocompleted_processr   
total_sizeallfiler   stimesizes   &&         r   cleanup_cacheCache.cleanup_cache   sR   
	 *tT277??499#=>z! '--F ++q0!C(<(<(>q(A$BB
/ 
JJtyy)DTYY-DA))#JJJ

AIIt45	 *
 '$,VC[$9 D		$"
% 77	 %: ( $ 		s   B3F2 2GG)rP   r   r3   )g333333?)rC   rD   rE   rF   rS   r0   r]   re   rm   r   r   r   rH   rI   rJ   s   @r   rL   rL   X   s8     # BRAS6

I ?  r.   rL   i  @)dataclassesr   r&   r   r   rt   r   Utilsr   r   rw   r   r   zlibZIP_DEFLATEDr   ImportError
ZIP_STOREDgzipr   rs   rh   ri   rO   r   joinr+   r   r-   r0   rL   rB   r.   r   <module>r      s    ! 
 	    2  2&33		IH
 "BGGLL)	 	 	 9 9< J J Jo oS  2&112  IHs"   B B5 B21B25CC