§
    N=&bg  ã                   ó6   — d Z ddlmZ dZ G d„ de¦  «        ZdS )z(
Docutils component-related transforms.
é    )Ú	TransformÚreStructuredTextc                   ó   — e Zd ZdZdZd„ ZdS )ÚFilteraÃ  
    Include or exclude elements which depend on a specific Docutils component.

    For use with `nodes.pending` elements.  A "pending" element's dictionary
    attribute ``details`` must contain the keys "component" and "format".  The
    value of ``details['component']`` must match the type name of the
    component the elements depend on (e.g. "writer").  The value of
    ``details['format']`` is the name of a specific format or context of that
    component (e.g. "html").  If the matching Docutils component supports that
    format or context, the "pending" element is replaced by the contents of
    ``details['nodes']`` (a list of nodes); otherwise, the "pending" element
    is removed.

    For example, up to version 0.17, the reStructuredText "meta"
    directive created a "pending" element containing a "meta" element
    (in ``pending.details['nodes']``).
    Only writers (``pending.details['component'] == 'writer'``)
    supporting the "html", "latex", or "odf" formats
    (``pending.details['format'] == 'html,latex,odf'``) included the
    "meta" element; it was deleted from the output of all other writers.

    This transform is no longer used by Docutils, it may be removed in future.
    i  c                 óJ  — | j         }|j        d         }|j        d                              d¦  «        }| j        j        j        |         }|D ]:}|                     |¦  «        r#|                     |j        d         ¦  «          d S Œ;|j         	                    |¦  «         d S )NÚ	componentÚformatú,Únodes)
Ú	startnodeÚdetailsÚsplitÚdocumentÚtransformerÚ
componentsÚsupportsÚreplace_selfÚparentÚremove)ÚselfÚpendingÚcomponent_typeÚformatsr   r	   s         ú@/usr/lib/python3/dist-packages/docutils/transforms/components.pyÚapplyzFilter.apply,   s«   € Ø”.ˆØ œ¨Ô5ˆØ”? 8Ô,×3Ò3°CÑ8Ô8ˆØ”MÔ-Ô8¸ÔHˆ	Øð 	+ð 	+ˆFØ×!Ò! &Ñ)Ô)ð Ø×$Ò$ W¤_°WÔ%=Ñ>Ô>Ð>Ø��ðð ŒN×!Ò! 'Ñ*Ô*Ð*Ð*Ð*ó    N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Údefault_priorityr   © r   r   r   r      s5   € € € € € ðð ð4 Ðð
+ð 
+ð 
+ð 
+ð 
+r   r   N)r    Údocutils.transformsr   Ú__docformat__r   r"   r   r   ú<module>r%      s\   ðð
ð ð *Ð )Ð )Ð )Ð )Ð )à"€ð(+ð (+ð (+ð (+ð (+ˆYñ (+ô (+ð (+ð (+ð (+r   