Ë 5™q„io’ãóH—dZddlZddlmZddlmZmZdgZGd„de«Zy)zÒ pygments.formatters.groff ~~~~~~~~~~~~~~~~~~~~~~~~~ Formatter for groff output. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. éN)Ú Formatter)Ú get_bool_optÚ get_int_optÚGroffFormattercóJ—eZdZdZdZgd¢ZgZd„Zd„Zd„Z d„Z d„Z d „Z d „Z y ) ra Format tokens with groff escapes to change their color and font style. .. versionadded:: 2.11 Additional options accepted: `style` The style to use, can be a string or a Style subclass (default: ``'default'``). `monospaced` If set to true, monospace font will be used (default: ``true``). `linenos` If set to true, print the line numbers (default: ``false``). `wrap` Wrap lines to the specified number of characters. Disabled if set to 0 (default: ``0``). Úgroff)rÚtroffÚroffc óæ—tj|fi|¤Žt|dd«|_t|dd«|_d|_t |dd«|_d|_i|_ |j«y)NÚ monospacedTÚlinenosFrÚwrap) rÚ__init__rr r Ú_linenorrÚ_linelenÚstylesÚ _make_styles)ÚselfÚoptionss ú>/usr/lib/python3.12/site-packages/pygments/formatters/groff.pyrzGroffFormatter.__init__-sf€Ü×ј4Ñ+ 7Ò+ä& w° ¸dÓCˆŒÜ# G¨Y¸Ó>ˆŒ ؈Œ Ü ¨°Ó3ˆŒ ؈Œ àˆŒ Ø ×ÑÕócóF—|jrdnd}|jrdnd}|jrdnd}|jD]b\}}dx}}|dr|d |dzz }d |z}|d r ||z }||z}|d r ||z }||z}|d r|d|d zz }d|z}||f|j|<Œdy)Nz\f[CR]z\f[R]z\f[CB]z\f[B]z\f[CI]z\f[I]ÚÚcolorz\m[%s]z\m[]ÚboldÚitalicÚbgcolorz\M[%s]z\M[])r Ústyler)rÚregularrrÚttypeÚndefÚstartÚends rrzGroffFormatter._make_styles:sÏ€Ø#Ÿš‘)°HˆØ ŸOšO‰y°ˆØ"Ÿošo‘°8ˆàŸ:œ:‰KˆE�4ØÐ ˆE�CØ�GŠ}ؘ T¨'¡]Ñ2Ñ2�Ø ‘m�Ø�FŠ|ؘ‘ �Ø ‘m�Ø�HŠ~ؘ‘�Ø ‘m�Ø�IŠØ˜ T¨)¡_Ñ4Ñ4�Ø ‘m�à!&¨ ˆD�K‰K˜Ò ñ&rcóΗt«}|jD]\}}|d€Œ |j|d«Œ!t|«D]}|j d|zdz|zdz«Œ!y)Nrz .defcolor z rgb #Ú )ÚsetrÚaddÚsortedÚwrite)rÚoutfileÚcolorsÚ_r!rs rÚ_define_colorszGroffFormatter._define_colorsQse€Ü“ˆØ—z”z‰GˆAˆtØ�G‰}Ñ(Ø— ‘ ˜4 ™=Õ)ð"ô˜F–^ˆEØ �M‰M˜,¨Ñ.°Ñ9¸EÑAÀDÑHÕ Iñ$rcó˜—|xjdz c_|jd|jdk7xrdxsd|jfz«y)Néz%s% 4d r%r)rr))rr*s rÚ _write_linenozGroffFormatter._write_lineno[s=€Ø � Š ˜Ñ� Ø� ‰ �i 4§<¡<°1Ñ#4Ò#=¸Ò#CÀÀTÇ\Á\Ð"RÑRÕSrcó&—t|jd««}|jrdnd}d}||jkDr‘t dt j ||jz ««D]9}|||jz||jz|jz}||dz|zz }Œ;||jz}|dkDr||| dz dz }||_|S|j|z|jkDrd|z|z}||_|S|}|xj|z c_|S)Nr%z rrr/)ÚlenÚrstripr rÚrangeÚmathÚfloorr)rÚlineÚlengthÚspaceÚnewlineÚiÚchunkÚ remainders rÚ _wrap_linezGroffFormatter._wrap_line`s€Ü�T—[‘[ Ó&Ó'ˆØŸ<š<‘¨RˆØˆà �D—I‘IÒ Ü˜1œdŸj™j¨°$·)±)Ñ);Ó<Ö=�ؘQ˜tŸy™y™[¨¨4¯9©9©°T·Y±YÑ)>Ð?�ؘE D™L¨5Ñ0Ñ1‘ð>ð §¡Ñ*ˆIؘ1Š}ؘ4   ¨1¡   Ð.Ñ.�Ø )�” ðˆð�]‰]˜VÑ # d§i¡iÒ /ؘe‘| tÑ+ˆGØ"ˆDŒMð ˆðˆGØ �MŠM˜VÑ #�Màˆrcó¾—|jdd«jdd«jdd«jdd«jd d «}|}|D]ƒ}t|«t|j««k7sŒ)|jd «j«d djd d«j «}|j|d|d dzdz«}Œ…|S)NÚ\z\[u005C]Ú.z \[char46]Ú'z\[u0027]Ú`z\[u0060]Ú~z\[u007E]Úunicode_escaper/ÚxÚu00z\[uÚ])Úreplacer2ÚencodeÚdecodeÚupper)rÚtextÚcopyÚcharÚunis rÚ _escape_charszGroffFormatter._escape_charswsË€Ø�|‰|˜D +Ó.ß‘G˜C Ó.ß‘G˜D +Ó.ß‘G˜C Ó-ß‘G˜C Ó-ð ð ˆãˆDÜ�4‹yœC § ¡ £ Ó.Ó.Ø—k‘kÐ"2Ó3ß‘V“X˜a˜bð"ç‘W˜S %Ó(ß‘U“Wðð—|‘| D¨&°3°q°r°7Ñ*:¸SÑ*@ÓA‘ð ðˆ rc ó4—|j|«|jd«|jr|j|«|D�]B\}}||jvr|j }||jvrŒ|j|\}}|j d«D]í}|jdkDr|j|«}|rK|rI|j|jd««}|dk7rS|jdj|||f««n/|j|j|jd«««|jd«sŒ±|jr|j|«d|_ ŒÖ|jd«d|_ Œï�ŒE|jd«y)Nz .nf \f[CR] Trr%rz .fi)r-r)r r0rÚparentÚ splitlinesrr>rQr3ÚjoinÚendswithr) rÚ tokensourcer*r Úvaluer"r#r7rMs rÚformat_unencodedzGroffFormatter.format_unencodedŠsM€Ø ×јGÔ$à� ‰ Ð&Ô'à �<Š<Ø × Ñ ˜wÔ 'ä'‰LˆE�5ؘtŸ{™{Ñ*ØŸ ™ �ð˜tŸ{™{Ò*àŸ™ UÑ+‰JˆE�3à×(Ñ(¨Ö.�Ø—9‘9˜q’=ØŸ?™?¨4Ó0�Dá™SØ×-Ñ-¨d¯k©k¸$Ó.?Ó@�Dؘr’zØŸ ™  b§g¡g¨u°d¸CÐ.@Ó&AÕBà—M‘M $×"4Ñ"4°T·[±[ÀÓ5FÓ"GÔHà—=‘= Õ&Ø—|’|Ø×*Ñ*¨7Ô3Ø()˜� àŸ ™  dÔ+Ø()˜� ò#/ð (ð0 � ‰ �gÕrN)Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚnameÚaliasesÚ filenamesrrr-r0r>rQrY©rrrrs=„ñð, €DÚ&€GØ€Iò ò,ò.JòTò ò.ó& r) r]r5Úpygments.formatterrÚ pygments.utilrrÚ__all__rrarrÚres+ðñó Ý(ß3à Ð €ôX�YõXr