+
    ^eòj‘  ã                  ó\   € R t ^ RIHt ^ RIt^ RIt ! R R]4      t]! R4      t]! R4      tR# )z_Provides the PackURI value type.

Also some useful known pack URI strings such as PACKAGE_URI.
)ÚannotationsNc                  óØ   € ] tR t^tRt]P                  ! R4      tR R lt]	R R l4       t
]R R l4       t]R	 R
 l4       t]R 4       t]R 4       t]R 4       tR R lt]R 4       tRtR# )ÚPackURIzpProvides access to pack URI components such as the baseURI and the filename slice.

Behaves as |str| otherwise.
z([a-zA-Z]+)([1-9][0-9]*)?c               ó   € V ^8„  d   QhRR/# )é   Úpack_uri_strÚstr© )Úformats   "Ú‡/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/docx/opc/packuri.pyÚ__annotate__ÚPackURI.__annotate__   s   € ÷ .ñ . 3ñ .ó    c                	ón   € V^ ,          R8w  d   Rp\        W!,          4      h\        P                  W4      # )é    Ú/z'PackURI must begin with slash, got '%s')Ú
ValueErrorr   Ú__new__)Úclsr   Útmpls   && r   r   ÚPackURI.__new__   s0   € Ø˜�?˜cÔ!Ø<ˆDÜ˜TÕ0Ó1Ð1Ü�{‰{˜3Ó-Ð-r   c               ó$   € V ^8„  d   QhRRRRRR/# )r   ÚbaseURIr   Úrelative_refÚreturnr   r	   )r
   s   "r   r   r      s!   € ÷  ñ  ˜cð  °ð  ¸ñ  r   c                óp   € \         P                  ! W4      p\         P                  ! V4      p\        V4      # )zIThe absolute PackURI formed by translating `relative_ref` onto `baseURI`.)Ú	posixpathÚjoinÚabspathr   )r   r   Ú
joined_uriÚabs_uris   &&  r   Úfrom_rel_refÚPackURI.from_rel_ref   s-   € ô —^’^ GÓ:ˆ
Ü×#Ò# JÓ/ˆÜ�wÓÐr   c               ó   € V ^8„  d   QhRR/# ©r   r   r   r	   )r
   s   "r   r   r   "   s   € ÷ (ñ (˜ñ (r   c                ó<   € \         P                  ! V 4      ^ ,          # )z¸The base URI of this pack URI, the directory portion, roughly speaking.

E.g. ``'/ppt/slides'`` for ``'/ppt/slides/slide1.xml'``. For the package pseudo-
partname '/', baseURI is '/'.
©r   Úsplit©Úselfs   &r   r   ÚPackURI.baseURI!   ó   € ô �Š˜tÓ$ QÕ'Ð'r   c               ó   € V ^8„  d   QhRR/# r$   r	   )r
   s   "r   r   r   +   s   € ÷ Cñ C�Sñ Cr   c                ó€   € \         P                  ! V 4      ^,          pVP                  R4      '       d
   VR,          # T# )zwThe extension portion of this pack URI, e.g. ``'xml'`` for ``'/word/document.xml'``.

Note the period is not included.
Ú.ºé   NN)r   ÚsplitextÚ
startswith)r)   Úraw_exts   & r   ÚextÚPackURI.ext*   s8   € ô ×$Ò$ TÓ*¨1Õ-ˆØ%×0Ñ0°×5Ò5ˆw�r�{ÐB¸7ÐBr   c                ó<   € \         P                  ! V 4      ^,          # )z—The "filename" portion of this pack URI, e.g. ``'slide1.xml'`` for
``'/ppt/slides/slide1.xml'``.

For the package pseudo-partname '/', filename is ''.
r&   r(   s   &r   ÚfilenameÚPackURI.filename4   r+   r   c                ó  € V P                   pV'       g   R# \        P                  ! V4      ^ ,          pV P                  P	                  V4      pVf   R# VP                  ^4      '       d   \        VP                  ^4      4      # R# )z­Return partname index as integer for tuple partname or None for singleton
partname, e.g. ``21`` for ``'/ppt/slides/slide21.xml'`` and |None| for
``'/ppt/presentation.xml'``.N)r7   r   r1   Ú_filename_reÚmatchÚgroupÚint)r)   r7   Ú	name_partr;   s   &   r   ÚidxÚPackURI.idx=   si   € ð
 —=‘=ˆßÙÜ×&Ò& xÓ0°Õ3ˆ	Ø×!Ñ!×'Ñ'¨	Ó2ˆØŠ=ÙØ�;‰;�q�>Š>Ü�u—{‘{ 1“~Ó&Ð&Ùr   c                ó   € V R,          # )z¢The pack URI with the leading slash stripped off, the form used as the Zip
file membername for the package item.

Returns '' for the package pseudo-partname '/'.
r/   r	   r(   s   &r   Ú
membernameÚPackURI.membernameM   s   € ð �B�xˆr   c               ó   € V ^8„  d   QhRR/# )r   r   r   r	   )r
   s   "r   r   r   V   s   € ÷ Pñ P Cñ Pr   c                óN   € VR8X  d
   V R,          # \         P                  ! W4      # )zËReturn string containing relative reference to package item from `baseURI`.

E.g. PackURI('/ppt/slideLayouts/slideLayout1.xml') would return
'../slideLayouts/slideLayout1.xml' for baseURI '/ppt/slides'.
r   r/   )r   Úrelpath)r)   r   s   &&r   r   ÚPackURI.relative_refV   s$   € ð # cœ>ˆt�B�xÐO¬y×/@Ò/@ÀÓ/OÐOr   c                ó‚   € RV P                   ,          p\        P                  ! V P                  RV4      p\	        V4      # )z§The pack URI of the .rels part corresponding to the current pack URI.

Only produces sensible output if the pack URI is a partname or the package
pseudo-partname '/'.
z%s.relsÚ_rels)r7   r   r   r   r   )r)   Úrels_filenameÚrels_uri_strs   &  r   Úrels_uriÚPackURI.rels_uri`   s3   € ð " D§M¡MÕ1ˆÜ —~’~ d§l¡l°G¸]ÓKˆÜ�|Ó$Ð$r   r	   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__ÚreÚcompiler:   r   Ústaticmethodr!   Úpropertyr   r4   r7   r?   rB   r   rL   Ú__static_attributes__r	   r   r   r   r      s±   † ñð
 —:’:Ð9Ó:€Lõ.ð ô ó ð ð ô(ó ð(ð ôCó ðCð ñ(ó ð(ð ñó ðð ñó ðõPð ñ%ó ô%r   r   r   z/[Content_Types].xml)	rR   Ú
__future__r   r   rS   r   r   ÚPACKAGE_URIÚCONTENT_TYPES_URIr	   r   r   Ú<module>r[      s;   ðñõ
 #ã Û 	ô]%ˆcô ]%ñ@ �c‹l€ÙÐ2Ó3Ò r   