U
    yc                     @   s  d Z dZi Zded< ed ed< ed ed< ed ed< ed	 ed
< ed ed< ed ed< ed ed< ddddddddgZdddddddd gZd!ZeeeD ]4\ZZed"e  ee< ed"d#e   ee< ed$7 Zq[[[ed ed < d%d& Z	d'd( Z
d)d* Zd+S ),z
    pygments.console
    ~~~~~~~~~~~~~~~~

    Format colored console output.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
z[ z	39;49;00mresetZ01mboldZ02mZfaintZ03mZstandoutZ04m	underlineZ05mblinkZ06mZoverlineZblackZredZgreenZyellowZblueZmagentaZcyanZgrayZbrightblackZ	brightredZbrightgreenZbrightyellowZ
brightblueZbrightmagentaZ
brightcyanZwhite   z%im<      c                   C   s   t d S Nr   codes r   r   ;/tmp/pip-build-0we0fmvo/pip/pip/_vendor/pygments/console.pyreset_color(   s    r   c                 C   s   t |  | t d  S r	   r
   )Z	color_keytextr   r   r   colorize,   s    r   c                 C   s   g }| dd | dd   kr(dkrFn n| td  | dd } | dd | dd   krjdkrn n| td  | dd } | dd | dd   krdkrn n| td	  | dd } | t|   | | | td
  d|S )z
    Format ``text`` with a color and/or some attributes::

        color       normal color
        *color*     bold color
        _color_     underlined color
        +color+     blinking color
    Nr   +r   *r   _r   r   r   )appendr   join)attrr   resultr   r   r   
ansiformat0   s    	(((
r   N)__doc__escr   Zdark_colorsZlight_colorsxzipdlr   r   r   r   r   r   r   <module>   s<   

  
  
