
    6Dh                     `    S r SSKJr  SSKrSSKr\R
                  " \5      r\" 5       r	SS jr
g)zO
Stand-alone module to provide information about whether optional deps exist.

    )import_moduleNc                 <   U(       d   [         R                  R                  U S5      $ U [        ;  a   [	        U 5      $ g! [
         a    [        R                  U 5         g[         a2    [        R                  U 5        SU  3n[        R                  U5         gf = f)z
Return module or None. Absolute import is required.

:param (str) name: Dot-separated module path. E.g., 'scipy.stats'.
:raise: (ImportError) Only when exc_msg is defined.
:return: (module|None) If import succeeds, the module will be returned.

Nz Error importing optional module )
sysmodulesget_not_importabler   ImportErroradd	Exceptionlogger	exception)nameshould_loadmsgs      P/var/www/html/env/lib/python3.13/site-packages/_plotly_utils/optional_imports.py
get_moduler      s     {{tT**?"	" &&   	&%   	"%4TF;CS!	"s   
? B 8BB)T)__doc__	importlibr   loggingr   	getLogger__name__r   setr   r        r   <module>r      s1   
 $  
			8	$%r   