hU VdZddlZddlZddlZddlZddlmZddlmZddl m Z m Z m Z ddl mZmZmZ ddlZn #e$rdZYnwxYwdgZedd ed d ed d eddeddiZefdZdZdZdZdezdzZdZdZGddeZdS)z pygments.formatters.html ~~~~~~~~~~~~~~~~~~~~~~~~ Formatter for HTML output. :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. N)StringIO) Formatter)TokenTextSTANDARD_TYPES) get_bool_opt get_int_opt get_list_opt HtmlFormatter&z&z>"z"'z'c,||S)z as well as single and double quotes for HTML.) translate)texttables /builddir/build/BUILD/imunify360-venv-2.5.2/opt/imunify360/venv/lib/python3.11/site-packages/pip/_vendor/pygments/formatters/html.py escape_htmlr&s >>%  cd|ds|dr|Sd|zS)Ncalcvar#) startswith)colors rwebifyr+s< 5#3#3E#:#: U{rctj|}|r|Sd}|+d|dz|z}|j}tj|}|+||zS)N-)rgetparent)ttypefnameanames r_get_ttype_classr(2se  u % %E  E -eBi%' "5)) - 5=rz/* generated by Pygments Copyright 2006-2024 by the Pygments team. Licensed under the BSD license, see LICENSE for details. */ %(styledefs)s a %(title)s

%(title)s

a5 %(title)s

%(title)s

z c0eZdZdZdZdgZddgZdZdZdZ d Z d Z d%d Z d%d Z d%dZdZdZedZedZedZdZdZdZdZdZdZdZdZdZejddZ d Z!d!Z"d"Z#d#Z$d$Z%d S)&r a, Format tokens as HTML 4 ```` tags. By default, the content is enclosed in a ``
`` tag, itself wrapped in a ``
`` tag (but see the `nowrap` option). The ``
``'s CSS class can be set by the `cssclass` option. If the `linenos` option is set to ``"table"``, the ``
`` is
    additionally wrapped inside a ```` which has one row and two
    cells: one containing the line numbers and one containing the code.
    Example:

    .. sourcecode:: html

        
1
            2
def foo(bar):
              pass
            
(whitespace added to improve clarity). A list of lines can be specified using the `hl_lines` option to make these lines highlighted (as of Pygments 0.11). With the `full` option, a complete HTML 4 document is output, including the style definitions inside a ``