hu0dZddlmZddlmZmZmZmZmZm Z m Z m Z m Z m Z ddlmZdgZie de dedejded ejde jd ejdejd ejd ejd ejdejdejdejdejdejdede d e jde jd e j de j!de jdediZ"idddddddddddd d!d"d#d$d%d$d&d'd(d)d*d)d+d,d-d.d/d.d0d1d2d3d4d5dZ#d6Z$Gd7deZ%d8S)9z pygments.formatters.irc ~~~~~~~~~~~~~~~~~~~~~~~ Formatter for IRC output :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) Formatter) KeywordNameCommentStringErrorNumberOperatorGenericToken Whitespace)get_choice_opt IRCFormatter)r)gray brightblack)cyan brightcyan)blue brightblue)magentar)green brightgreen)_cyan_ _brightcyan_)_green_ _brightgreen_)rr)red brightred)rr)yellowr )rr)**r!)z *magenta*z*brightmagenta*) _brightred_r"whiteblackrrrr roranger brightyellow lightgreen rr lightblue rr brightmagenta cft|dkr|Sdx}}d|vr|dz }d|z}|d}d|vr|dz }d|z}|d}t|dkr8|dtt|d zz }d|z}||z|zS) Nr%r_*rr&)lenstripstr IRC_COLOR_MAPzfill)colortextaddsubs /builddir/build/BUILD/imunify360-venv-2.5.2/opt/imunify360/venv/lib/python3.11/site-packages/pip/_vendor/pygments/formatters/irc.py ircformatrILs 5zzA~~ NC# e|| v sl C   e|| v sl C   5zzA~~ vM%01177::::sl : c4eZdZdZdZddgZgZdZdZdZ dS)raS Format tokens with IRC color sequences The `get_style_defs()` method doesn't do anything special since there is no support for common styles. Options accepted: `bg` Set to ``"light"`` or ``"dark"`` depending on the terminal's background (default: ``"light"``). `colorscheme` A dictionary mapping token types to (lightbg, darkbg) color names or ``None`` (default: ``None`` = use builtin colorscheme). `linenos` Set to ``True`` to have line numbers in the output as well (default: ``False`` = no line numbers). IRCircc tj|fi|t|dddgddk|_|ddpt |_|dd|_d|_dS)Nbglightdark colorschemelinenosFr) r__init__rdarkbgget IRC_COLORSrRrS_lineno)selfoptionss rHrTzIRCFormatter.__init__zs4++7+++$Wd&-v%6AADJK ";;}d;;Iz{{9e44  rJcr|jr/|xjdz c_|d|jzdSdS)Nr%z%04d: )rSrXwrite)rYoutfiles rH _write_linenozIRCFormatter._write_linenosE < 3 LLA LL MM(T\1 2 2 2 2 2 3 3rJcV|||D]\}}|j|}|&|dd}|j|}|&|r||j}|d}|ddD]Q}|r#|t |||d||R|dr)|t ||d||dS)N )r^rRrVrUsplitr\rI)rY tokensourcer]ttypevaluerDspllines rHformat_unencodedzIRCFormatter.format_unencodedsE 7###' % %LE5$((//E-crc (,,U33- %dk*kk$''H00D> it&<&<===MM$'''&&w////r7=MM)E3r7";";<<< e$$$$! % %rJN) __name__ __module__ __qualname____doc__namealiases filenamesrTr^rhrJrHrras`( DenGI333 %%%%%rJN)&rlpip._vendor.pygments.formatterrpip._vendor.pygments.tokenrrrrrr r r r r pip._vendor.pygments.utilr__all__PreprocTypeWordBuiltinFunction NamespaceClass Exception DecoratorVariableConstant AttributeTagDeletedInsertedHeading SubheadingrWrBrIrrprJrHrs%544444111111111111111111111111444444    +1 1   O5   1  L5 M6 L5 M2 N7 J4 N5 N2 M0  M0!" N5#$ H;%& 2 1 O9 1 O, : M9 ;9 @ Q Q A1     a q a QA!! B 2 "!"R#$ ' ,)))*9%9%9%9%9%99%9%9%9%9%rJ