+
    hvh  c                   s    ^ RI t ^ RIt^ RIt^ RIHt ^ RIt^RIHtHt ^RIH	t	 ^RI
Ht ^RIHt ]P                  ! 4       t/ t]R 4       tR t ! R	 R
4      tR# )i    N)contextmanager)
RepositoryRepositoryError)PyGIWarning)get_introspection_module)load_overridesc              #  s  "   \         P                  V 4      pRx  V'       d   R# V R9   d   R# \        P                  ! V 4      e   R# \         P	                  V 4      p\
        P                  ! V  RV  RV R2\        VR7       R# 5i)a3  A context manager which tries to give helpful warnings
about missing gi.require_version() which could potentially
break code if only an older version than expected is installed
or a new version gets introduced.

::

    with _check_require_version("Gtk", stacklevel):
        load_namespace_and_overrides()
NzJ was imported without specifying a version first. Use gi.require_version('z', 'z>') before import to ensure that the right version gets loaded.
stacklevel)ZGLibZGObjectZGioZGioUnixZGioWin32)
repositoryis_registeredgiZget_required_versionZget_versionwarningsZwarnr   )	namespacer   Z
was_loadedZversion   &&  2/usr/lib64/python3.14/site-packages/gi/importer.py_check_require_versionr   '   s      )))4J	 	EE	y)5$$Y/GMM+ ##,+T' ;?	? 	s   BBc                s    \         P                  R,          pVR8:  d   V '       d   ^# ^# VR8X  d   V '       d   ^# ^
# VR8X  d   V '       d   ^
# ^# V '       d   ^# ^# )a  Returns the stacklevel value for warnings.warn() for when the warning
gets emitted by an imported module, but the warning should point at the
code doing the import.

Pass import_hook=True if the warning gets generated by an import hook
(warn() gets called in load_module(), see PEP302)
:N   N)   r   )r   r   )r   i   )sysZversion_info)import_hookZ
py_versions   & r   get_import_stacklevelr   N   s`     !!"%JVq&Q&Vq'R'V r'a'1""    c                   sL   a  ] tR t^bt o R tR tR	R ltR
R ltR tR t	Rt
V tR# )DynamicImporterc                s    Wn         R # Npath)selfr      &&r   __init__ZDynamicImporter.__init__e   s    	r   c                s    VP                  V P                  4      '       g   R # VP                  R^4      w  r#W P                  8H  # )F.)Z
startswithr   rsplit)r   fullnamer   Z
_namespacer   r   _find_module_checkZ"DynamicImporter._find_module_checkh   s:    ""499--#??32yy  r   Nc                sr    V P                  V4      '       d    \        P                  P                  W4      # R # r   )r    	importlibZutilZspec_from_loader)r   r   r   Ztargets   &&&&r   	find_specZDynamicImporter.find_speco   s+    ""8,,>>228BBr   c                s8    V P                  V4      '       d   V # R # r   )r    )r   r   r   s   &&&r   find_moduleZDynamicImporter.find_modulet   s    ""8,,Kr   c           	     sP   VP                   P                  R ^4      w  r#\        P                  V4      '       g+   \        P	                  V4      '       g   \        RV R24      h\        RR7      p\        W4R7      ;_uu_ 4         \        V4      p\        P                  T4       F6  p\        P                  ! RTP                  R4      ^ ,          ,           4       K8  	  \        T4      uuRRR4       #   \         d   p\        T4      ThRp?ii ; i  + '       g   i     R# ; i)	r   zcannot import name z!, introspection typelib not foundT)r   r   Nzgi.repository.Z-)Znamer   r   r	   Zenumerate_versionsZImportErrorr   r   r   r   Zget_immediate_dependenciesr!   Zimport_moduleZsplitr   )r   ZspecZ_pathr   r   Zintrospection_moduleZeZdeps   &&      r   create_moduleZDynamicImporter.create_moduley   s    99++C3
 ''
 
//	::%i[0QR  +t<
#IEE,'?	'J$ "<<YG''(8399S>!;L(LM H!"67 FE # ,!!n!+, FEEs1   DC5AD5D DDDD%	c                s    R # r    )r   r   r   r   exec_moduleZDynamicImporter.exec_module   s    r   r   )NNr   )Z__name__Z
__module__Z__qualname__Z__firstlineno__r   r    r"   r#   r$   r&   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r   b   s(     !

84 r   r   )r   r   r!   Z
contextlibr    r
   Z_gir   r   r   Zmoduler   Z	overridesr   Zget_defaultr   Zmodulesr   r   r   r%   r   r   <module>r'      s]   *    % 	 ,  , % ##%
  # #L#(3 3r   