ó
    ˆ*£hL  ã                  óF   • S r SSKJr  SSKJr  SSKJrJr   " S S\5      rg)z:lxml custom element classes for text-related XML elements.é    )Úannotations)Ú	XsdString)ÚBaseOxmlElementÚOptionalAttributec                  óz   • \ rS rSr% Sr\" S\5      rS\S'   \" S\5      r	S\S'   \
SS j5       r\
SS	 j5       rS
rg)ÚCT_Hyperlinké	   z1Custom element class for <a:hlinkClick> elements.zr:idÚstrÚrIdÚactionú
str | Nonec                óî   • U R                   nUc  0 $ UR                  S5      n[        U5      S:X  a  0 $ US   R                  S5      n[        U Vs/ s H  oDR                  S5      PM     sn5      $ s  snf )zéQuery portion of the `ppaction://` URL as dict.

For example `{'id':'0', 'return':'true'}` in 'ppaction://customshow?id=0&return=true'.

Returns an empty dict if the URL contains no query string or if no action attribute is
present.
Ú?é   Ú&Ú=)r   ÚsplitÚlenÚdict)ÚselfÚurlÚhalvesÚkey_value_pairsÚpairs        ÚM/home/mande/repo/quber/.venv/lib/python3.13/site-packages/pptx/oxml/action.pyÚaction_fieldsÚCT_Hyperlink.action_fields   sj   € ð �k‰kˆà‰;ØˆIà—‘˜3“ˆÜˆv‹;˜!ÓØˆIà  ™)Ÿ/™/¨#Ó.ˆÜ±ÓA²¨—Z‘Z –_±ÑAÓBÐBùÒAs   ÁA2c                óX   • U R                   nUc  gUR                  S5      S   nUSS nU$ )zÆThe host portion of the `ppaction://` URL contained in the action attribute.

For example 'customshow' in 'ppaction://customshow?id=0&return=true'. Returns |None| if no
action attribute is present.
Nr   r   é   )r   r   )r   r   Úprotocol_and_hostÚhosts       r   Úaction_verbÚCT_Hyperlink.action_verb&   s9   € ð �k‰kˆà‰;ØàŸI™I c›N¨1Ñ-ÐØ   Ð%ˆàˆó    © N)Úreturnzdict[str, str])r&   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r   Ú__annotations__r   Úpropertyr   r"   Ú__static_attributes__r%   r$   r   r   r   	   sV   ‡ Ù;á  ¨Ó3€CˆÓ3Ù*Ø�)ó€FˆJó ð óCó ðCð( óó ór$   r   N)	r+   Ú
__future__r   Úpptx.oxml.simpletypesr   Úpptx.oxml.xmlchemyr   r   r   r%   r$   r   Ú<module>r2      s   ðÙ @å "å +ß Aô,�?õ ,r$   