jf.dZdZddlZddlmZmZmZ ddlZn#e$r ddl m cmZYnwxYwdZ dZ dZ dZdZdZGdd ejZGd d ZGd d ejZdS)a Simple man page writer for reStructuredText. Man pages (short for "manual pages") contain system documentation on unix-like systems. The pages are grouped in numbered sections: 1 executable programs and shell commands 2 system calls 3 library functions 4 special files 5 file formats 6 games 7 miscellaneous 8 system administration Man pages are written *troff*, a text file formatting system. See http://www.tldp.org/HOWTO/Man-Page for a start. Man pages have no subsection only parts. Standard parts NAME , SYNOPSIS , DESCRIPTION , OPTIONS , FILES , SEE ALSO , BUGS , and AUTHOR . A unix-like system keeps an index of the DESCRIPTIONs, which is accessible by the command whatis or apropos. reStructuredTextN)nodeswriters languagesg @aw. .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. c&eZdZdZ dZ dZdZdS)Writer)manpageNc\tj|t|_dSN)rr __init__ Translatortranslator_classselfs x/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/docutils/writers/manpage.pyr zWriter.__init__ds&%%% *c||j}|j|||_dSr )rdocument walkaboutastextoutput)rvisitors r translatezWriter.translatehsB'' 66 (((nn&& r)__name__ __module__ __qualname__ supportedrr rrrr r \sBI' F.+++'''''rr c2eZdZdZdZdZdZdZdZdS)Tablec@g|_dg|_d|_g|_dS)Ncenter )_rows_options _tab_char_coldefsrs rr zTable.__init__os$ !   rc:|jgdSr r%appendrs rnew_rowz Table.new_rowus "rc<|j|gdS)z$Append the separator for table head.Nr*)r separators rappend_separatorzTable.append_separatorxs  9+&&&&&rc4d}t|dkr|ddkrd}|jd||dt|jt|jdkr|jddSdS)zcell_lines is an array of linesr.sp Nl)lenr%r+r()r cell_linesstarts r append_cellzTable.append_cell|s z??Q  :a=G#;#;E 2j0111 t}  DJrN 3 3 3 3 M  % % % % % 4 3rc~|r|ddvr|d=|r |ddv|r|ddvr|d=|r|ddvdSdSdSdS)z3Remove leading and trailing blank and ``.sp`` linesr) r1r3Nr)rr6s r_minimize_cellzTable._minimize_cells Z]o==1  Z]o== Z^>>2 Z^>>>>    >>rcdg}|d|jdz|dd|jz|jD]}|d|dt t |D]}||}|||||d d s|dxxd z cc<|t |d z kr!|d |j zdz|d |d|d |S)Nz.TS  z; z|%s|. |z_ zT{ r3r:r2zT}zT} z.TE ) r+joinr&r(r%ranger5r;extendendswithr')rtextrowicells ras_listz Table.as_lists{y CHHT]++e3444 I$-!8!89:::: ( (C KK    KK   3s88__ ( (1v##D))) D!!!Bx((..%HHH$HHHs3xxz>>KKT^ 3F :;;;;KK'''' ( E G rN) rrrr r,r/r8r;rGrrrr!r!nsn '''&&&rr!ceZdZdZejdZejdZdZdZ dZ dZ dZ d Z d Zd Zd Zd ZdZdZdZdZdZddZdZdZeZdZdZdZeZdZdZ dZ!dZ"dZ#dZ$d Z%d!Z&d"Z'eZ(d#Z)d$Z*d%Z+d&Z,d'Z-d(Z.d)Z/d*Z0ejd+j1fd,Z2d-Z3eZ4d.Z5d/Z6d0Z7d1Z8d2Z9d3Z:eZ;d4Zd7Z?d8Z@d9ZAd:ZBd;ZCd<ZDd=ZEd>ZFd?ZGd@ZHdAZIdBZJdCZKdDZLdEZMdFZNdGZOdHZPdIZQdJZRdKZSeZTdLZUdMZVdNZWdOZXdPZYdQZZdRZ[dSZ\dTZ]dUZ^dVZ_dWZ`dXZadYZbdZZcd[Zdd\Zed]Zfd^Zgd_Zhd`ZidaZjeZkdbZldcZmddZndeZodfZpdgZqdhZrdiZseZtdjZudkZvdlZwdmZxdnZydoZzdpZ{dqZ|drZ}dsZ~dtZduZdvZdwZdxZdyZdzZd{Zd|Zd}Zd~ZeZddZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZeZdZdZdZdZdZeZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZeZdZdZdZdZdZdZdZdZdZdZdZdZdZdZeZdZdS)rz \S+| +|\nz\.\wz)Man page generated from reStructuredText.c$tj|||jx|_}|j}t j||j|_g|_ g|_ g|_ d|_ g|_ d|_g|_d|_d|_g|_dddddgdddd |_g|_i|_d|_d|_d|_d|_d|_d|_g|_d|_ dg|_dddd d d d d d dd dddd|_dS)NrrIr2) title title_uppersubtitlemanual_section manual_groupauthordate copyrightversionF)z .INDENT %.1f z .UNINDENT )z.TPrI).TP .B r:)z\fB\fP)z.sp .nf .ft C z .ft P .fi ).TP rI)z\fI\%rU)z\fIrU) .B r:).SS )z .nf  .fi )indentdefinition_list_item field_nameliteral literal_blockoption_list_item referenceemphasisstrongtermtitle_reference topic-title sidebar-title problematic)r NodeVisitorr settings language_coder get_languagereporterlanguageheadbodyfoot section_levelcontext topic_classcolspecs compact_pcompact_simple _list_char_docinfo _docinfo_keys_docinfo_names _in_docinfo _field_name _active_table _in_literalheader_written _line_blockauthors_indentdefs)rrrilcodes rr zTranslator.__init__sS ""4222#+#44 &!.uh6GHH      "B"$b   !  s <(30+!H$1/,*'#3(!*5% rctddfd|dD}|S)zPReturn commented version of the passed text WITHOUT end of line/comment.z.\" rIc g|] }|zdz S)r:r).0in_lineprefixs r z,Translator.comment_begin..s3=== '$g-4===rr:)r?split)rrCout_textrs @r comment_beginzTranslator.comment_beginsT77====+/::d+;+;===>>rc2||dzS)z,Return commented version of the passed text.. )rrrCs rcommentzTranslator.comments!!$''--rct|jdkr3|jdddkr|jddSdSdS)z7Ensure the last line in body is terminated by new line.rr3r:N)r5ror+rs r ensure_eolzTranslator.ensure_eolsT ty>>A  $)B-"3t";"; I  T " " " " "  ";";rc|js|tt|jdz ddD]}|j|dkr|j|dz dddvr d|j|<8|j|dz dd d kr'|j|d z ddd kr d|j|<{|j|dz d krj|j|j|d z sB|j|d z dddks|j|d z dddkr d|j|<d|j|jz|j zS)z0Return the final formatted document as a string.r2rr3r1N)z.BI z.IP r.B rVr:rrTrWrI) r append_headerr@r5ropossibly_a_roff_commandmatchr?rnrp)rrEs rrzTranslator.astexts}" !    s49~~a'B// ) )Ay|w&&9QU#BQB'+;;;#(DIaLLiA&rr*e33)AE*2A2.'99#(DIaLLiA&$..":@@"&)AE"244/ 9QU+BQB/:=="iA.rr2g==#(DIaLwwty49,ty8999rc^|dd}|dd}|S)N z\ u†z\(dg)replacers r deunicodezTranslator.deunicodes-||FE**||Hg.. rcj|}|dd}gd}|D]\}}|||}||}|drd|z}|jr|dd}|j|dS)N\z\e))-z\-)'z\(aq)´z\')`z\(ga)"z\(dq.z\&z .z \&.)rrr startswithr~ror+)rnoderC replace_pairsin_char out_markups r visit_TextzTranslator.visit_Texts{{}}||D%(( &3 5 5 !Wj<<44DD~~d## ??3   4.EnumCharz\(buz\(em)bulletemdashc.||_dvrddz |_nd|_d|_|dkrgtt tj|_|xjtt |jdzz c_dS|dkr)|xjt ddz z c_d|_dS|d kr)|xjt d dz z c_d|_dS|d r d |_dSdS) Nr7r2rrarabic loweralphaar upperalphaAroman)_style_cntrr5strchildrenordrB)rstylers rr z0Translator.list_start..EnumChar.__init__=s# d?? $W  1DII !DI  H$$$'s3t}+=+='>'>#?#?DLLLCDI$7$7!$;;LLLLl**IISA-II#$DLLLl**IISA-II#$DLLL^^G,,%#$DLLL%%rc|jdkr|j|jS|jdkr|j|jS|xjdz c_|jdkr d|jzS|jdvr d|jzS|jdr^t j|jd z}|jd r|S|Sd|jzS) Nrrr2rz%d.)rrz%c.rrupper) r enum_stylerrBrtoRomanrrlower)rress r__next__z0Translator.list_start..EnumChar.__next__Rs;(**?4;77[H,,?4;77 Q ;(** 49,,[$@@@ 49,,[))'22-- 22S8C{--g66+"yy{{*99;;& 49,,rc|jSr )rrs r get_widthz1Translator.list_start..EnumChar.get_widthes |#rc0dt|jzS)Nz enum_style-%s)listrrs r__repr__z0Translator.list_start..EnumChar.__repr__hs&dk):):::rN)rrrrr rrr)rsrEnumCharr7sm%%J  % % % % %* - - -& $ $ $ ; ; ; ; ;rrenumtyperr2r3)rwr+r5rZr)rrrs ` r list_startzTranslator.list_start6s2 ;2 ;2 ;2 ;2 ;2 ;2 ;2 ;2 ;2 ;h    O " "88D,<#=#= > > > > O " "88H#5#5 6 6 6 t  ! # # KK+5577 8 8 8 8 8 KK+5577 8 8 8 8 8rc`||jdSr )dedentrwpoprs rlist_endzTranslator.list_endus)  rcrd|jz}|jdr |d|jzz }|dz }d}|||jzzS)NzA.TH "%(title_upper)s" %(manual_section)s "%(date)s" "%(version)s"rOz "%(manual_group)s"r:z#.SH NAME %(title)s \- %(subtitle)s )rx)rthsh_tmpls rheaderzTranslator.headerysV.15? = ( : )DM9 9B d 2Gdm+++rc|jrdS|jt|j|d|_dS)z#append header with .TH and .SH NAMENr2)rrnr+ MACRO_DEFrrs rrzTranslator.append_headersV    F ### '''rc2||ddS)Naddressvisit_docinfo_itemrs r visit_addresszTranslator.visit_address i00000rcdSr rrs rdepart_addresszTranslator.depart_addressrrNcT|r|jd|jdd|jj||d|jddd}|j|||dS)Nr1rbr:r2r:)ror+rrmlabelsgetrvisit_block_quoterrnames rvisit_admonitionzTranslator.visit_admonitions  # I  W % % % (#A&& $((t44::<<<< (#A&&&D I  T " " " t$$$$$rc0||dSr )depart_block_quoters rdepart_admonitionzTranslator.depart_admonitions %%%%%rc2||ddS)N attentionrrs rvisit_attentionzTranslator.visit_attention dK00000rc|dkr3|j||n||j|<|j|tjNrP)rxr+rryrSkipNoders rrzTranslator.visit_docinfo_itemsf 8   M$  & &t{{}} 5 5 5 5"&++--DM$  !!$'''nrcdSr rrs rdepart_docinfo_itemzTranslator.depart_docinfo_itemrrc2||ddSrrrs r visit_authorzTranslator.visit_author h/////rcdSr rrs r visit_authorszTranslator.visit_authors rcdSr rrs rdepart_authorszTranslator.depart_authorsrrcd|t|ddS)Nr)rZBLOCKQOUTE_INDENTrs rrzTranslator.visit_block_quotes* %&&& ArcV||dSr rrs rrzTranslator.depart_block_quote   rc0||dSr rrs rvisit_bullet_listzTranslator.visit_bullet_list rc.|dSr rrs rdepart_bullet_listzTranslator.depart_bullet_list rcdSr rrs r visit_captionzTranslator.visit_captionrrcdSr rrs rdepart_captionzTranslator.depart_captionrrc2||ddS)Ncautionrrs r visit_cautionzTranslator.visit_caution dI.....rc|ddd}|}|jd|zdS)Nr2r .IP [%s] 5 )rrstripror+)rrnums rvisit_citationzTranslator.visit_citationsRkkmm!!$**1-iikk #-.....rcdSr rrs rdepart_citationzTranslator.depart_citationrrc~|jd|zdztjN[])ror+rrrrs rvisit_citation_referencez#Translator.visit_citation_references2 T[[]]*3.///nrcdSr rrs rvisit_classifierzTranslator.visit_classifierrrcdSr rrs rdepart_classifierzTranslator.depart_classifierrrc:|j|dSr )rtr+rs r visit_colspeczTranslator.visit_colspecs T"""""rcdSr rrs rdepart_colspeczTranslator.depart_colspecrrcj|jddt|jzzdS)Nz%s. zL )ror+r5rtrs rwrite_colspecszTranslator.write_colspecss2 DT]););$;<=====rz-(?=-)c|j||tjr )ror+rrrr)rrsubs r visit_commentzTranslator.visit_comments4 dkkmm44555nrc2||ddS)Ncontactrrs r visit_contactzTranslator.visit_contactrrcdSr rrs rvisit_containerzTranslator.visit_containerrrcdSr rrs rdepart_containerzTranslator.depart_container rrcdSr rrs rvisit_compoundzTranslator.visit_compound rrcdSr rrs rdepart_compoundzTranslator.depart_compoundrrc2||ddS)NrRrrs rvisit_copyrightzTranslator.visit_copyrights k22222rc2||ddS)Ndangerrrs r visit_dangerzTranslator.visit_dangers dH-----rc2||ddS)NrQrrs r visit_datezTranslator.visit_dates f-----rcdSr rrs rvisit_decorationzTranslator.visit_decorationrrcdSr rrs rdepart_decorationzTranslator.depart_decoration!rrcdSr rrs rvisit_definitionzTranslator.visit_definition$rrcdSr rrs rdepart_definitionzTranslator.depart_definition'rrc:|tdSr )rZDEFINITION_LIST_INDENTrs rvisit_definition_listz Translator.visit_definition_list*s *+++++rc.|dSr rrs rdepart_definition_listz!Translator.depart_definition_list- rc\|j|jdddS)Nr[rror+rrs rvisit_definition_list_itemz%Translator.visit_definition_list_item0+ #9:1=>>>>>rc\|j|jdddS)Nr[r2rSrs rdepart_definition_list_itemz&Translator.depart_definition_list_item3rUrcdSr rrs rvisit_descriptionzTranslator.visit_description6rrcdSr rrs rdepart_descriptionzTranslator.depart_description9rrcd|_dSNr2)r{rs r visit_docinfozTranslator.visit_docinfo<src<d|_|dSr )r{rrs rdepart_docinfozTranslator.depart_docinfo?s" rcj|j|jddd|_dS)Nr^rT)ror+rr~rs rvisit_doctest_blockzTranslator.visit_doctest_blockDs2 ?3A6777rcjd|_|j|jdddSNFr^r2)r~ror+rrs rdepart_doctest_blockzTranslator.depart_doctest_blockHs2  ?3A677777rc|j||jdzd|_dS)Nr:r)rnr+rdocument_startrstriprrs rvisit_documentzTranslator.visit_documentLsF d&9::AACCDHIIIrc|jdr;|jdd|jdzd}|jD]}|dkr|jd|jj||d|jdd d z|jdd tzd |j|d |jdd |jdd  ||vrc||j vr|j |}n |jj||}|jd|d |j|d|jdr(|jd|jdz|j| ddS)NrPz.SH AUTHOR %s z, ) rPrRrQrOrNrMrKrLrSrr:z: rZr.nf rYr2z: rRz.SH COPYRIGHT %s z%Generated by docutils manpage writer.) rxror+r?ryrmrrrrrzr)rrskiprlabels rdepart_documentzTranslator.depart_documentRs = " C I  /#yyx)@AAB C C C3& N NDy      $(M$8$<$$>$(Ih$7$:=N$N$N$N$(M$$7$7$7$(Ih$7$:$:$(Ih$7$:$: "<====T!!4... /5EE M044T4@@E     d8K8K8K!LMMM = % ; I  2#}[9: ; ; ; &MNNOOOOOrc\|j|jdddS)NrarrSrs rvisit_emphasiszTranslator.visit_emphasisn* :.q122222rc\|j|jdddS)Nrar2rSrs rdepart_emphasiszTranslator.depart_emphasisqrqrcd|vr!|jjd|d|vr!|jjd||jt |jdS)Nmorerowsz""table row spanning" not supported base_nodemorecolsz#"table cell spanning" not supported)rrlwarningrrr+r5rors r visit_entryzTranslator.visit_entryts    M " * *4 + F F F    M " * *5 + G G G C NN+++++rc|j}|j|j|d|j|d=dSr )rrrr}r8ro)rrr7s r depart_entryzTranslator.depart_entry~sK   "" &&ty'8999 Ieff   rc0||dSr r rs rvisit_enumerated_listz Translator.visit_enumerated_listr rc.|dSr rrs rdepart_enumerated_listz!Translator.depart_enumerated_listrrc2||ddS)Nerrorrrs r visit_errorzTranslator.visit_errors dG,,,,,rcdSr rrs r visit_fieldzTranslator.visit_fieldrrcdSr rrs r depart_fieldzTranslator.depart_fieldrrc|jr^|jdd}|j|j|<|||t jdS)Nr=_)r{r|rrrzrrr)rrname_normalizeds rvisit_field_bodyzTranslator.visit_field_bodysi   !".4466>>sCHHO373CD  0  # #D/ : : :.  ! !rcdSr rrs rdepart_field_bodyzTranslator.depart_field_bodyrrc:|tdSr )rZFIELD_LIST_INDENTrs rvisit_field_listzTranslator.visit_field_lists %&&&&&rc.|dSr rrs rdepart_field_listzTranslator.depart_field_listrQrc|jr%||_tj|j|jdddS)Nr\r)r{rr|rrror+rrs rvisit_field_namezTranslator.visit_field_namesM   9#{{}}D . I  TY|4Q7 8 8 8 8 8rc\|j|jdddS)Nr\r2rSrs rdepart_field_namezTranslator.depart_field_names* <0344444rcZ|d|ddS)Ng@r)rZrs r visit_figurezTranslator.visit_figures' C ArcV||dSr rrs r depart_figurezTranslator.depart_figurerrcH|jjd|dS)Nz"footer" not supportedrvrrlryrs r visit_footerzTranslator.visit_footers4 &&'?15 ' 7 7 7 7 7rcdSr rrs r depart_footerzTranslator.depart_footerrrc|dd\}}|}|jd||zdS)Nr2r)rrrror+r)rrrrCs rvisit_footnotezTranslator.visit_footnotes]KKMM''a00 Tiikk $..*=*==>>>>>rcdSr rrs rdepart_footnotezTranslator.depart_footnoterrcH|jjd|dS)Nz!"footnote_backrefs" not supportedrvrrs rfootnote_backrefszTranslator.footnote_backrefss4 &&'J15 ' 7 7 7 7 7rc|jd||zdztjr!)ror+rrrrrs rvisit_footnote_referencez#Translator.visit_footnote_references> T^^DKKMM:::3>???nrcdSr rrs rdepart_footnote_referencez$Translator.depart_footnote_referencerrcdSr rrs rvisit_generatedzTranslator.visit_generatedrrcdSr rrs rdepart_generatedzTranslator.depart_generatedrrcDt|r )NotImplementedErrorrrs r visit_headerzTranslator.visit_headers!$++--000rcdSr rrs r depart_headerzTranslator.depart_headerrrc2||ddS)Nhintrrs r visit_hintzTranslator.visit_hint dF+++++rc:|jddS)Nz\s-2\dror+rs rvisit_subscriptzTranslator.visit_subscript $$$$$rc:|jddS)Nz\u\s0rrs rdepart_subscriptzTranslator.depart_subscript #####rc:|jddS)Nz\s-2\urrs rvisit_superscriptzTranslator.visit_superscriptrrc:|jddS)Nz\d\s0rrs rdepart_superscriptzTranslator.depart_superscriptrrc:|jddS)Nz\(em rrs rvisit_attributionzTranslator.visit_attributions """""rc:|jddSNr:rrs rdepart_attributionzTranslator.depart_attribution rcd|jjd|g}d|jvr ||jdd|jvr ||jd|jdd|ztj)Nz"image" not supportedrvalturiz [image: %s] /) rrlry attributesr+ror?rr)rrrCs r visit_imagezTranslator.visit_images &&'>15 ' 7 7 7 DO # # KK. / / / DO # # KK. / / / CHHTNN;<<<nrc2||ddS)N importantrrs rvisit_importantzTranslator.visit_importantrrcdSr rrs r visit_inlinezTranslator.visit_inlinerrcdSr rrs r depart_inlinezTranslator.depart_inlinerrct|jtjst|jtjr tj|jjd||j ddS)Nz"unsupported "label"rvr") isinstanceparentrfootnotecitationrrrlryror+rs r visit_labelzTranslator.visit_label sz t{EN 3 3 !$+u~66 !.  &&'=15 ' 7 7 7 rc:|jddS)Nz] rrs r depart_labelzTranslator.depart_labels rcdSr rrs r visit_legendzTranslator.visit_legendrrcdSr rrs r depart_legendzTranslator.depart_legendrrc|xjdz c_|jdkr|jddS|jddS)Nr2rkz.in +2 rror+rs rvisit_line_blockzTranslator.visit_line_blocks^ A  q I  W % % % % % I  Z ( ( ( ( (rc|xjdzc_|jdkr6|jd|jddS|jddS)Nr2rz.fi r1z.in -2 rrs rdepart_line_blockzTranslator.depart_line_block'sr A  q I  W % % % I  W % % % % % I  Z ( ( ( ( (rcdSr rrs r visit_linezTranslator.visit_line/rrc:|jddSrrrs r depart_linezTranslator.depart_line2rrc|jdt|jd|jdfzdS)Nz .IP %s %d r3)ror+nextrwrrs rvisit_list_itemzTranslator.visit_list_item5sZ T_R())#--//*22 3 3 3 3 3rcdSr rrs rdepart_list_itemzTranslator.depart_list_item;rrc\|j|jdddS)Nr]rrSrs r visit_literalzTranslator.visit_literal>* 9-a011111rc\|j|jdddS)Nr]r2rSrs rdepart_literalzTranslator.depart_literalArrc|t|d|j|jddd|_dS)Nrr^T)rZLITERAL_BLOCK_INDENTror+rr~rs rvisit_literal_blockzTranslator.visit_literal_blockDsV ())) A ?3A6777rcd|_|j|jdd||dSrd)r~ror+rrrs rdepart_literal_blockzTranslator.depart_literal_blockLsJ  ?3A6777  rcr|jjd|||dS)Nz"math" role not supportedrv)rrlryrrs r visit_mathzTranslator.visit_mathRsD &&'B15 ' 7 7 7 4     rc0||dSr )rrs r depart_mathzTranslator.depart_mathWs D!!!!!rcr|jjd|||dS)Nz"math" directive not supportedrv)rrlryrrs rvisit_math_blockzTranslator.visit_math_blockZsD &&'G15 ' 7 7 7   &&&&&rc0||dSr )rrs rdepart_math_blockzTranslator.depart_math_block_s !!$'''''rc2||ddS)Nnoterrs r visit_notezTranslator.visit_noteirr?c|jd}|j||j|jdd|zdS)Nr3rZr)rr+ror)rbysteps rrZzTranslator.indentnsQ|B B 8,Q/$677777rc|j|j|jdddS)NrZr2)rrror+rrs rrzTranslator.dedentts>  8,Q/00000rc:|tdSr )rZOPTION_LIST_INDENTrs rvisit_option_listzTranslator.visit_option_listxs &'''''rc.|dSr rrs rdepart_option_listzTranslator.depart_option_list{rQrc\|j|jdddS)Nr_rrSrs rvisit_option_list_itemz!Translator.visit_option_list_item~s+ #56q9:::::rc\|j|jdddS)Nr_r2rSrs rdepart_option_list_itemz"Translator.depart_option_list_items+ #56q9:::::rc|jd|jt|j|jddS)Nrr)rrr+r5rors rvisit_option_groupzTranslator.visit_option_groupsT E""" C NN+++ Arc.|j|j}|j|d}|j|d=|j|jd|ddS)NrIr:)rrrror+r?)rrstart_positionrCs rdepart_option_groupzTranslator.depart_option_groups ))++y) Inoo & T\%5%5%7%7%7GHHHHHrc>|jddkrF|jddkr|jdn|jd|jddkr|jd|jddS) Nr3r.BIz\fR,\fB z\fP,\fB rr=)rrror+rs r visit_optionzTranslator.visit_options < a  |B5((   ....   ... < u $ $ I  T " " " rc0|jdxxdz cc<dS)Nr3r2)rrrs r depart_optionzTranslator.depart_options& RArcdSr rrs rvisit_option_stringzTranslator.visit_option_stringrrcdSr rrs rdepart_option_stringzTranslator.depart_option_stringrrcRd|jd<|ddkr%|jd|dzdS|jt|jdz dr|jddS|jddS) Nrr delimiterr=z\fB%s r2=z \ )rrror+r5rBrs rvisit_option_argumentz Translator.visit_option_arguments  R   # # I  Yk):: ; ; ; ; ; Ys49~~a' ( 1 1# 6 6 % I  S ! ! ! ! ! I  V $ $ $ $ $rcdSr rrs rdepart_option_argumentz!Translator.depart_option_argumentrrc2||ddS)N organizationrrs rvisit_organizationzTranslator.visit_organizations n55555rcdSr rrs rdepart_organizationzTranslator.depart_organizationrrct|jdtj}|jj|dD]$}t|tjr||urdSdS)Nrr2)rrrrmr Invisible)rrfirstchilds r first_childzTranslator.first_childse4;q>5;77[)%&&1  E%11 }}qq qrc|||s|jdd|_dS)Nr1T)rr0ror+r~rs rvisit_paragraphzTranslator.visit_paragraphsN %% & I  W % % %rcHd|_|jddS)NFr:)r~ror+rs rdepart_paragraphzTranslator.depart_paragraphs&  rc\|j|jdddS)NrgrrSrs rvisit_problematiczTranslator.visit_problematic* =1!455555rc\|j|jdddS)Nrgr2rSrs rdepart_problematiczTranslator.depart_problematicr7rc|ddkr/|j|dztj)Nformatr r:)rror+rrrrs r visit_rawzTranslator.visit_rawsD 88H   * * I  T[[]]T1 2 2 2nrc\|j|jdddS)zE.g. link or email address.r`rNrSrs rvisit_referencezTranslator.visit_references* ;/233333rc\|j|jdddS)Nr`r2rSrs rdepart_referencezTranslator.depart_references, ;/233333rc2||ddS)Nrevisionrrs rvisit_revisionzTranslator.visit_revisions j11111rc8|jdSr )r}r,rs r visit_rowzTranslator.visit_rows ""$$$$$rcdSr rrs r depart_rowzTranslator.depart_rowrrc&|xjdz c_dSr]rqrs r visit_sectionzTranslator.visit_section arc&|xjdzc_dSr]rIrs rdepart_sectionzTranslator.depart_sectionrKrc2||ddS)Nstatusrrs r visit_statuszTranslator.visit_statusrrc\|j|jdddS)NrbrrSrs r visit_strongzTranslator.visit_strong* 8,Q/00000rc\|j|jdddS)Nrbr2rSrs r depart_strongzTranslator.depart_strongrSrctj)zInternal only.rrrs rvisit_substitution_definitionz(Translator.visit_substitution_definition  nrcH|jjd|dS)Nz&"substitution_reference" not supportedrvrrs rvisit_substitution_referencez'Translator.visit_substitution_references8 && 4 ' F F F F Frct|jtjr-|j|jdddSt|jtjr||ddSt|jtj r-|j|jdddSdS)NrbrrM) rrrsidebarror+rrrsectionrs rvisit_subtitlezTranslator.visit_subtitles dk5= 1 1 5 I  TYx03 4 4 4 4 4  U^ 4 4 5  # #D* 5 5 5 5 5  U] 3 3 5 I  TYx03 4 4 4 4 4 5 5rcb|j|jdddzdS)Nrbr2z .PP rSrs rdepart_subtitlezTranslator.depart_subtitles/ 8,Q/ 9:::::rc i}|dr |d|d<|dr d|dz}nd}|jd|dd|d d |d d |d dS)Nidrlinez , line %srIz.IP "System Message: typerlevelz (sourcerz)" )hasattrror+)rrattrrds rvisit_system_messagezTranslator.visit_system_messages  <<   &:DL <<   f-DDD  LLL$w---hO P P P P PrcdSr rrs rdepart_system_messagez Translator.depart_system_message-rrc,t|_dSr )r!r}rs r visit_tablezTranslator.visit_table0s"WWrc||j|jd|_dSr )rrorAr}rGrs r depart_tablezTranslator.depart_table3sE  +3355666!rctjr rWrs r visit_targetzTranslator.visit_target8rYrcdSr rrs r visit_tbodyzTranslator.visit_tbody<rrcdSr rrs r depart_tbodyzTranslator.depart_tbody?rrc\|j|jdddS)NrcrrSrs r visit_termzTranslator.visit_termB* 6*1-.....rc\|j|jdddS)Nrcr2rSrs r depart_termzTranslator.depart_termEryrcdSr rrs r visit_tgroupzTranslator.visit_tgroupHrrcdSr rrs r depart_tgroupzTranslator.depart_tgroupKrrcdSr rrs r visit_theadzTranslator.visit_theadNrrcdSr rrs r depart_theadzTranslator.depart_theadRrrc2||ddS)Ntiprrs r visit_tipzTranslator.visit_tipVs dE*****rcxt|jtjr-|j|jdddSt|jtjr-|j|jdddSt|jtjr|jddS|j dkrV| |j d<| |j d<tj |j dkr`|jd|| ztj |jd dS) Nrerrfz.IP "rKrLr2z.SH %s rX)rrrtopicror+rr] admonitionrqrrxrrrrs r visit_titlezTranslator.visit_title[sh dk5; / / % I  TY}5a8 9 9 9 9 9  U] 3 3 % I  TY7: ; ; ; ; ;  U%5 6 6 % I  W % % % % %  1 $ $%)[[]]DM' "+/;;==+>+>+@+@DM- (.  1 $ $ I  Zt{{}}7J7J7L7L(M(MM N N N. I  V $ $ $ $ $rct|jtjr|jd|jddS)Nrr:)rrrrror+rs r depart_titlezTranslator.depart_titlemsK dk5#3 4 4 " I  S ! ! ! rc\|j|jdddS)zinline citation referencerdrNrSrs rvisit_title_referencez Translator.visit_title_referencers+ #45a899999rc\|j|jdddS)Nrdr2rSrs rdepart_title_referencez!Translator.depart_title_referencevs+ #45a899999rcdSr rrs r visit_topiczTranslator.visit_topicyrrcdSr rrs r depart_topiczTranslator.depart_topic|rrcdSr rrs r visit_sidebarzTranslator.visit_sidebarrrcdSr rrs rdepart_sidebarzTranslator.depart_sidebarrrcdSr rrs r visit_rubriczTranslator.visit_rubricrrc:|jddSrrrs r depart_rubriczTranslator.depart_rubricrrc:|jddS)Nz .sp .ce ---- rrs rvisit_transitionzTranslator.visit_transitions! -.....rc:|jddS)Nz .ce 0 .sp rrs rdepart_transitionzTranslator.depart_transitions )*****rc2||ddS)NrSrrs r visit_versionzTranslator.visit_versionrrc2||ddS)Nryrrs r visit_warningzTranslator.visit_warningrrc:td|jjz)Nz$visiting unimplemented node type: %s)r __class__rrs runimplemented_visitzTranslator.unimplemented_visits$!"H$(N$;#<== =rr )r)rrr__doc__recompilewords_and_spacesrrgr rrrrrrrrrrrrrrrrdepart_attentionrrr depart_authorrrrrr rrrrdepart_cautionrrr$r&r(r*r,r.r0r1r4depart_contactr6r8r:r<r>rA depart_dangerrCrErGrIrKrNrPrTrWrYr[r^r`rbrerirnrprsrzr|r~rr depart_errorrrrrrrrrrrrrrrrrrrrrrr depart_hintrrrrrrrrdepart_importantrrrrrrrrrrrrrrrrrrrrr depart_noterZrr r rrrrrrrr r$r&r)r+r0r2r4r6r9r<r>r@rCdepart_revisionrErGrJrMrP depart_statusrRrUrXr[r_rarjrlrnrprrrtrvrxr{r}rrrr depart_tiprrrrrrrrrrrrrrdepart_warningrrrrrrs  F!rz,//(bj11DNCCCN...### :::. *   =9=9=9~,,,    111   %%%%(&&&111)   000(M             ///'N///          ###   >>>%"*X..2 111)N            333...&M...            ,,,??????          888   PPP8333333,,, ---%L      !!!   '''999555777   ???    777         111   ,,,$K%%%$$$%%%$$$###   111)                ) ) ))))   333    222222    !!! """''' (((,,,$K8888 111(((;;;;;;III          % % %   666       666666 444444 222*O%%%         000(M111111FFF555;;; P P P   %%%"""       //////            +++#J%%%$ ::::::               /// +++111///'N=====rr)r __docformat__rdocutilsrrrr ImportErrordocutils.utils.romanutilsrrMr rrrr r!rhrrrrrsG %%N# ..........)LLLL)))((((((((((() <'''''W^'''$22222222j{={={={={="{={={={={=s **