
    ~Zi                    .   S r SSKJr  0 SS_SS_SS_S	S
_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS _S!S"_S#S$_S%S&S'S(S)S*S+S,S-S..	Er\R	                  5        V Vs0 s H  u  pX_M	     snn r " S/ S0\5      rS6S1 jr\r	S6S2 jr
S7S3 jrS8S4 jrg5s  snn f )9zNamespace related objects.    )annotationsaz5http://schemas.openxmlformats.org/drawingml/2006/maincz6http://schemas.openxmlformats.org/drawingml/2006/chartcpzGhttp://schemas.openxmlformats.org/package/2006/metadata/core-propertiesctz<http://schemas.openxmlformats.org/package/2006/content-typesdcz http://purl.org/dc/elements/1.1/dcmitypezhttp://purl.org/dc/dcmitype/dctermszhttp://purl.org/dc/terms/epzIhttp://schemas.openxmlformats.org/officeDocument/2006/extended-propertiesizIhttp://schemas.openxmlformats.org/officeDocument/2006/relationships/imagemz:http://schemas.openxmlformats.org/officeDocument/2006/mathmoz8http://schemas.microsoft.com/office/mac/office/2008/mainmvz!urn:schemas-microsoft-com:mac:vmloz'urn:schemas-microsoft-com:office:officepz:http://schemas.openxmlformats.org/presentationml/2006/mainpdzDhttp://schemas.openxmlformats.org/drawingml/2006/presentationDrawingpicz8http://schemas.openxmlformats.org/drawingml/2006/pictureprz<http://schemas.openxmlformats.org/package/2006/relationshipszChttp://schemas.openxmlformats.org/officeDocument/2006/relationshipszOhttp://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayoutzurn:schemas-microsoft-com:vmlz;http://schemas.openxmlformats.org/markup-compatibility/2006z<http://schemas.openxmlformats.org/wordprocessingml/2006/mainz%urn:schemas-microsoft-com:office:wordz4http://schemas.microsoft.com/office/word/2006/wordmlzFhttp://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingz)http://www.w3.org/2001/XMLSchema-instance)	rslvveww10wnewpxsic                     ^  \ rS rSrSrSU 4S jjrSS jr\SS j5       r\	S 5       r
\	S 5       r\	S 5       r\	S	 5       r\	S
 5       rSrU =r$ )NamespacePrefixedTag'   zNValue object that knows the semantics of an XML tag having a namespace prefix.c                *   > [         [        U ]  X5      $ )N)superr   __new__)clsnstag	__class__s     f/var/www/eduai.edurigo.com/question_generate/ques_gen_env/lib/python3.13/site-packages/pptx/oxml/ns.pyr#   NamespacePrefixedTag.__new__*   s    )37CC    c                p    UR                  S5      u  U l        U l        [        U R                     U l        g )N:)split_pfx_local_part_nsmap_ns_uri)selfr%   s     r'   __init__NamespacePrefixedTag.__init__-   s*    &+kk#&6#	4#dii(r)   c                ^    USS  R                  S5      u  p#[        U   < SU< 3nU " U5      $ )N   }r+   )r,   pfxmap)r$   
clark_namensuri
local_namer%   s        r'   from_clark_name$NamespacePrefixedTag.from_clark_name1   s3    &qrN005!%=*55zr)   c                >    SU R                   < SU R                  < 3$ )N{r6   )r0   r.   r1   s    r'   r8   NamespacePrefixedTag.clark_name7   s    <<)9)9::r)   c                    U R                   $ )z]
Return the local part of the tag as a string. E.g. 'foobar' is
returned for tag 'f:foobar'.
)r.   r?   s    r'   
local_partNamespacePrefixedTag.local_part;   s     r)   c                2    U R                   U R                  0$ )z
Return a dict having a single member, mapping the namespace prefix of
this tag to it's namespace name (e.g. {'f': 'http://foo/bar'}). This
is handy for passing to xpath calls and other uses.
)r-   r0   r?   s    r'   nsmapNamespacePrefixedTag.nsmapC   s     		4<<((r)   c                    U R                   $ )zZ
Return the string namespace prefix for the tag, e.g. 'f' is returned
for tag 'f:foobar'.
)r-   r?   s    r'   nspfxNamespacePrefixedTag.nspfxL   s     yyr)   c                    U R                   $ )z
Return the namespace URI for the tag, e.g. 'http://foo/bar' would be
returned for tag 'f:foobar' if the 'f' prefix maps to
'http://foo/bar' in _nsmap.
)r0   r?   s    r'   r9   NamespacePrefixedTag.nsuriT   s     ||r)   )r.   r0   r-   )r%   str)r8   rL   returnr   )__name__
__module____qualname____firstlineno____doc__r#   r2   classmethodr;   propertyr8   rB   rE   rH   r9   __static_attributes____classcell__)r&   s   @r'   r   r   '   s    XD)  
 ; ;     ) )    r)   r   c                 @    U  Vs0 s H  o[         U   _M     sn$ s  snf )zReturn a dict containing the subset namespace prefix mappings specified by *prefixes*.

Any number of namespace prefixes can be supplied, e.g. namespaces('a', 'r', 'p').
r/   prefixespfxs     r'   
namespacesr\   ^   s#    
 )11111s   c            
     p    SR                  U  Vs/ s H  nSU< S[        U   < S3PM     sn5      $ s  snf )N zxmlns:z="")joinr/   rY   s     r'   nsdeclsra   i   s,    88XNXcVC[9XNOONs   3c                    [         U    $ )zReturn the namespace URI corresponding to `nspfx`.

Example:

    >>> nsuri("p")
    "http://schemas.openxmlformats.org/presentationml/2006/main"
rX   )rH   s    r'   r9   r9   m   s     %=r)   c                0    [        U 5      nUR                  $ )a  Return a Clark-notation qualified tag name corresponding to `namespace_prefixed_tag`.

`namespace_prefixed_tag` is a string like 'p:body'. 'qn' stands for `qualified name`.

As an example, `qn("p:cSld")` returns:
    `"{http://schemas.openxmlformats.org/drawingml/2006/main}cSld"`.
)r   r8   )namespace_prefixed_tagnsptags     r'   qnrf   x   s     ""89Fr)   N)rZ   rL   )rH   rL   )rd   rL   rM   rL   )rR   
__future__r   r/   itemsr7   rL   r   r\   rE   ra   r9   rf   )keyvalues   00r'   <module>rk      s]     "
	@
	A
 	
S
 	
H	

 	
,
 .
 *
 	
U
 	T
 	E
 	
D
 	
-
 	2
 	E
 	
P
  
E!
" 	
H#
$ 
O
[	(
G	G2A
R65
: (.||~	6~%*~	643 4n2 	P	i 
7s   B