Ë ¤[l'ÐÃåãóf—dZdZddlmZddlmZGd„de«ZGd„de«ZGd „d e«Zy ) z Miscellaneous transforms. ÚreStructuredTexté)Únodes)Ú Transformcó—eZdZdZdZd„Zy)ÚCallBacka� Inserts a callback into a document. The callback is called when the transform is applied, which is determined by its priority. For use with `nodes.pending` elements. Requires a ``details['callback']`` entry, a bound method or function which takes one parameter: the pending node. Other data can be stored in the ``details`` attribute or in the object hosting the callback method. iÞcó|—|j}|jd|«|jj|«y)NÚcallback)Ú startnodeÚdetailsÚparentÚremove)ÚselfÚpendings ú=/usr/lib/python3.12/site-packages/docutils/transforms/misc.pyÚapplyzCallBack.applys0€Ø—.‘.ˆØ#ˆ�‰˜ Ñ# GÔ,Ø�‰×јgÕ&óN©Ú__name__Ú __module__Ú __qualname__Ú__doc__Údefault_priorityr©rrrrs„ñðÐó'rrcó—eZdZdZdZd„Zy)ÚClassAttributez| Move the "class" attribute specified in the "pending" node into the immediately following non-comment element. éÒcóŒ—|j}|j}|}|r­t|j|«dzt |««D]r}||}t |t j«st |t j«rŒ=|dxx|jdz cc<|jj|«y|}|j}|rŒ­|jjjd|jdzt j|j|j«|j ¬«}|j#|«y)NéÚclassesÚclassz,No suitable element following "%s" directiveÚ directive©Úline)r r ÚrangeÚindexÚlenÚ isinstancerÚ InvisibleÚsystem_messager r ÚdocumentÚreporterÚerrorÚ literal_blockÚ rawsourcer#Ú replace_self)rrr Úchildr%Úelementr,s rrzClassAttribute.apply,s€Ø—.‘.ˆØ—‘ˆØˆÙä˜vŸ|™|¨EÓ2°QÑ6¼¸F» ÖD�Ø  ™-�ܘw¬¯©Ô8Ü! '¬5×+?Ñ+?Ô@ØØ˜ Ó" g§o¡o°gÑ&>Ñ>Ó"Ø—‘×%Ñ% gÔ.ÙðEð�ØŸ™�òð— ‘ ×&Ñ&×,Ñ,Ø :Ø�o‰o˜kÑ*ñ +ä × Ñ  × 1Ñ 1°7×3DÑ3DÓ EØ—‘ð -óˆð ×јUÕ#rNrrrrrr#s„ñð Ðó$rrcó —eZdZdZdZd„Zd„Zy)Ú Transitionsa¡ Move transitions at the end of sections up the tree. Complain on transitions after a title, at the beginning or end of the document, and after another transition. For example, transform this::
...
... into this::
...
... i>có‚—|jjtj«D]}|j |«Œy)N)r*ÚfindallrÚ transitionÚvisit_transition)rÚnodes rrzTransitions.apply`s/€Ø—M‘M×)Ñ)¬%×*:Ñ*:Ö;ˆDØ × !Ñ ! $Õ 'ñؘa’ZܘtŸ{™{¬E¯N©NÔ;Ü! $§+¡+¬u¯}©}Ô=ð ?ð>à—M‘M×*Ñ*×0Ñ0ØFØ—{‘{¨¯©ð1ó4‰Eô˜Ÿ ™  E¨A¡IÑ.´×0@Ñ0@Ô AØ—M‘M×*Ñ*×0Ñ0ð8à—{‘{¨¯©ð1ó4ˆEñ à �K‰K× Ñ ˜u eÔ ,Ø �Q‰JˆEØ”s˜4Ÿ;™;Ó'Ò'Ð'Ð'Ø ”C˜Ÿ ™ Ó$ qÑ(Ò (à àˆà”s˜7Ÿ>™>Ó*¨QÑ.Ò.Ø—n‘nˆGà�~‰~Ð%🠙 ×.Ñ.×4Ñ4Ø=ØŸ™ð5ó$�ð— ‘ ×"Ñ" 4§;¡;×#4Ñ#4°TÓ#:¸QÑ#>ÀÔFØØ—N‘N×(Ñ(¨Ó1ˆEð”s˜7Ÿ>™>Ó*¨QÑ.Ó.ð � ‰ ×ј4Ô à�‰×јe a™i¨Õ.rN)rrrrrrr7rrrr3r3Fs„ñð,Ðò(ó,/rr3N) rÚ __docformat__ÚdocutilsrÚdocutils.transformsrrrr3rrrÚrDs>ðñ ð#€ åÝ)ô'ˆyô'ô( $�Yô $ôFJ/�)õJ/r