
    -h                     x   % S SK r S SKrS SKJr  S SKJrJr  SqS r \ R                  S:X  a  \
eS SKJrJr  S SKJr  S	 r \" 5       r\" 5       r\" 5       rSrSrSrSr\\\\/S4      \S'   S q\R                  " 5       qS rS r\SS j5       rSS.S jrSS.S jrS r S r!g! \
 a     " S
 S5      r Nvf = f)    N)contextmanager)CallableOptionalFc                      g)z
Lazily init colorama if necessary, not to screw up stdout if debugging is
not enabled.

This version of the function does nothing.
N r       ]C:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\jedi/debug.py_lazy_colorama_initr
   	   s    r   nt)Foreinit)
initialisec                  r    [         (       d  S[        l         [        SS9  Sq gSq g! [         a     Sq gf = f)z
Lazily init colorama if necessary, not to screw up stdout is
debug not enabled.

This version of the function does init colorama.
TF)stripN)_initedr   atexit_doner   	Exceptionr   r   r	   r
   r
      sF     7 *.
&u%
 GdG	 !  G	s   	' 
66c                   ,    \ rS rSrSrSrSrSrSrSr	Sr
g)r   1    r   N)__name__
__module____qualname____firstlineno__REDGREENYELLOWMAGENTARESETBLUE__static_attributes__r   r   r	   r   r   1   s     r   r   debug_functionc                  2    [         R                   " 5       qSqg )Nr   )time_start_time_debug_indentr   r   r	   
reset_timer'   G   s    ))+KMr   c                    ^  U 4S jnU$ )zDecorator for makin c                  ^   > [        5          T" U 0 UD6sS S S 5        $ ! , (       d  f       g = fN)increase_indent_cm)argskwargsfuncs     r	   wrapper increase_indent.<locals>.wrapperO   s"    !(( "!!s   
,r   )r.   r/   s   ` r	   increase_indentr1   M   s    ) Nr   c              #      #    U (       a  [        SU -   US9  [        S-  q S v   [        S-  qU (       a  [        SU -   US9  g g ! [        S-  qU (       a  [        SU -   US9  f f = f7f)NzStart: color   zEnd: )dbgr&   )titler4   s     r	   r+   r+   U   sn      IU+QM.%u-  	%u- s   A'A A' A$$A'r   r3   c          	          U(       d   e[         (       aD  [        (       a8  S[        -  n[        5         [        XS-   U [	        S U 5       5      -  -   5        ggg)zALooks at the stack, to see if a debug message should be printed.  zdbg: c              3   8   #    U  H  n[        U5      v   M     g 7fr*   repr.0as     r	   	<genexpr>dbg.<locals>.<genexpr>j   s     ;RTDGGT   N)r"   enable_noticer&   r
   tuple)messager4   r,   is       r	   r6   r6   c   sJ    L5~---u'kGe;RT;R6R,RRS (~r   T)formatc                    [         (       aD  [        (       a8  S[        -  nU(       a  U [        S U 5       5      -  n [        SUS-   U -   5        g g g )Nr9   c              3   8   #    U  H  n[        U5      v   M     g 7fr*   r;   r=   s     r	   r@   warning.<locals>.<genexpr>q   s     %<t!d1ggtrB   r   z	warning: )r"   enable_warningr&   rD   )rE   rG   r,   rF   s       r	   warningrL   m   sG    ~..-%<t%< <<Gua+o78	 )~r   c                     [         (       aK  [        (       a?  [        R                  " 5       nS[        -  n[        SUS-   U < SU[        -
  < 3-   5        g g g )Nr9   r   zspeed: )r"   enable_speedr$   r&   r%   )namenowrF   s      r	   speedrQ   u   sD    ~,,iik-xYD#BS1T!TU '~r   c                 t    [        [        U 5      n[        5         [        X!-   [        R                  -   5        g)z
The default debug function that prints to standard out.

:param str color: A string that is an attribute of ``colorama.Fore``.
N)getattrr   r
   printr   )r4   str_outcols      r	   print_to_stdoutrW   |   s)     $
C	#-$**
$%r   )Nr   )"osr$   
contextlibr   typingr   r   r   r
   rO   ImportErrorcoloramar   r   r   objectNOTICEWARNINGSPEEDrN   rK   rC   r"   str__annotations__r&   r%   r'   r1   r+   r6   rL   rQ   rW   r   r   r	   <module>rc      s    	  % %
%	ww$ 	('	< 

( 8<3*d"234 ;iik 
. 
. & T $( 9V&Y   s   #B& &B98B9