+
    )j                        ^ RI Ht ^ RIt^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RIH
t
 ^RIHt ^R	IHt ^R
IHt ^ RIHt  ! R R]4      t0 RmtRR R lltR# )    )annotationsN)
ModuleType)Any)Callable)cast)Iterable)_py_abspath)	importobj)_synchronized)AliasModulec                     a  ] tR t^t$ RtR R ltR R lt]! ]]4      tR]R&   RR V 3R	 lllt	R
 t
]RV 3R ll4       tR tR V 3R llt]R R l4       tRtV ;t# )	ApiModulez(the magical lazy-loading module standingc                   V ^8  d   QhRR/# )   return
str | None )formats   "?lib/python3.14/site-packages/menuinst/_vendor/apipkg/_module.py__annotate__ApiModule.__annotate__   s      *     c                	     V P                   #   \         d7    R T P                  9   d"   \        \        T P                  R 4      4      u #  R# i ; i)__doc__N)_ApiModule__docAttributeError__map__r   str_ApiModule__makeattr)selfs   &r   __docgetApiModule.__docget   sE    	:: 	DLL(C!;<<		s    ;AAc                    V ^8  d   QhRRRR/# )r   valuer   r   Noner   )r   s   "r   r   r      s      c d r   c                	    Wn         R # N)r   )r    r$   s   &&r   __docsetApiModule.__docset   s    
r   zdict[str, tuple[str, str]]r   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r   namer   
importspecdict[str, Any]
implprefixr   attrzdict[str, Any] | Noner   r%   r   )r   s   "r   r   r   #   s<     #= #=#= ##= 	#=
 $#= 
#=r   c                	H  < \         SV `  V4       Wn        V Uu. uF  qUR 8w  g   K  VNK  	  upV n        / V n        T;'       g    TV n        V'       d&   VP                  4        F  w  r\        WV4       K  	  VP                  4        EF  w  r\        V\        4      '       d?   V P                   RV 2p\        WrV4      pV\        P                  V&   \        WV4       KZ  VP                  R4      p	V	P                  ^ 4      p
T	;'       d    V	^ ,          ;'       g    RpV
^ ,          R8X  d	   W:,           p
V'       gG   V P                   RV 2p\        Wz4      pV\        P                  V&   RV9  d   \        WV4       K  K  W3V P                  V&   EK  	  R# u upi )__onfirstaccess__.: N)super__init____name____all__r   __implprefix__itemssetattr
isinstancedictr   sysmodulessplitpopr   )r    r+   r,   r.   r/   xvalsubnameapimodpartsmodpathattrname	__class__s   &&&&&       r   r6   ApiModule.__init__#   sn    	#-J:a6I1I:J(00D!ZZ\	C( * * 0 0 2D*d++!]]O1TF3"7
C'-G$F+"((-))A, --U1X331:$(2G!%q7G(:F+1CKK($F3 ' +2)<DLL&) !3 Ks
   FFc                	,   R V P                   : 2.p\        V R4      '       d    VP                  RV P                  : 24       \        V R4      '       d    VP                  RV P                  : 24       VP                  R4       RP                  V4      # )z<ApiModule __version__z	 version=__file__z from >r4   )r7   hasattrappendrL   rM   join)r    	repr_lists   & r   __repr__ApiModule.__repr__H   s    "4=="345	4''y)9)9(<=>4$$vdmm%678wwy!!r   c                  < RpRV P                   9   dC   V P                   P                  R4      p\        \        . R3,          \	        V!  4      pV! 4         V P                   V,          w  rV\	        WV4      p\        WV4       V P                   P                  VR4       V#   \         dF    Te   TR8w  d   \        Y4      u # \        e   T'       d   \        ST `)  T4      u # \        T4      hi ; i)zAlazily compute value for name or raise AttributeError if unknown.Nr1   )r   rA   r   r   r
   r;   KeyErrorgetattr	threadingr5   __getattribute__r   )	r    r+   	isgetattrtargetfnrG   rH   resultrI   s	   &&&     r   
__makeattrApiModule.__makeattrQ   s     $,,.\\%%&9:Fhr4x()V*<=BD	 $T 2G( w1FD'LLT4(M/  	'
 !d.A&At** $w/55 &&#	's   B" "!C2C2C2&C2c                	(    V P                  VR R7      # )T)rZ   )r   )r    r+   s   &&r   __getattr__ApiModule.__getattr__t   s    tt44r   c                   V ^8  d   QhRR/# )r   r   zIterable[str]r   )r   s   "r   r   r   w   s          r   c              #  	l   <"   \         SV `  4        R j  xL
  V P                   R j  xL
  R #  L L5ir'   )r5   __dir__r   )r    rI   s   &r   re   ApiModule.__dir__w   s+     7?$$$<< 	%s   404244c                   V ^8  d   QhRR/# )r   r   r-   r   )r   s   "r   r   r   |   s      . r   c                	    \         P                  R ,          pVP                  V 4      pVe2   \        V R4       V P                   F  p V P                  V4       K  	  V#   \         d     K)  i ; i)__dict__some)r   ri   __get__rO   r8   r   r   )r    	dictdescrnsr+   s   &   r   ri   ApiModule.__dict__{   sm     ''
3	&..t4>D&!OOD) %
 	 & s   	A  A/.A/)r8   __docr9   r   r7   )NN)F)r7   
__module____qualname____firstlineno__r   _ApiModule__docget_ApiModule__docsetproperty__annotations__r6   rS   r   r   ra   re   ri   __static_attributes____classcell__)rI   s   @r   r   r      sl    2 x*G''#= #=J"    D5     r   r   c                    V ^8  d   QhRRRR/# )r   modzModuleType | Noner   r   r   )r   s   "r   r   r      s     ! !# !	 !r   c                >   V f:   RRRR/pVP                  V4       \        WWR7      p V \        P                  V&   V # \	        V RR4      pV'       d   \        V4      pWPn        \        V R4      '       d+   V P                   Uu. uF  p\        V4      NK  	  upV n        RV9   d   \        V R4      '       d   V =	\        V 4       F  pV\        9  g   K  \        W4       K  	  \        V n        \        \        V 4      p\        P                  WW!VR7       V# u upi )a  Helper for initpkg.

Python 3.3+ uses finer grained locking for imports, and checks sys.modules before
acquiring the lock to avoid the overhead of the fine-grained locking. This
introduces a race condition when a module is imported by multiple threads
concurrently - some threads will see the initial module and some the replacement
ApiModule. We avoid this by updating the existing module in-place.

NrM   __spec__)r.   r/   __path__r   )updater   r>   r?   rW   r	   rM   rO   r}   r   dir_PRESERVED_MODULE_ATTRSdelattrrI   r   r6   )	rz   pkgname
exportdefsr/   dfpr+   rE   s	   &&&&     r   _initpkgr      s     {z40	H"G
CT*AA3
##47LLALqKNLACL
"wsI'>'>HD22" 
 "i%6JQUV Bs   D>   r   ri   rM   r}   r|   
__loader____package__rL   r'   )
__future__r   r>   rX   typesr   typingr   r   r   r   
_importingr	   r
   _syncronizedr   menuinst._vendor.apipkgr   r   r   r   r   r   r   <module>r      sJ    " 
       # ! ' /w
 wt	 ! !r   