+
    Œvj¯%  ã            
       óô   € R t RtRP                  4       t. ROtRtR tR tR tR t	R t
R	]R
]R]R]	R]
/t ! R R4      t ! R R4      t RsR tR tR t^ RIHt ]! ]4       AR t]R8X  d
   ]! 4        R# R# )z3.3.0zHA Sequencer class counts things. It aids numbering and formatting lists.z#Sequencer getSequencer setSequencerÚIVXLCDMc                 ó   € V ^ 8  g   V R8”  d   \        R4      hRpRpV '       dY   \        V ^
4      w  r\        V,          pV'       d+   \        V^4      w  rC\        W2,           ,          V,           pK2  V^,          pK`  V# )é    iŸ  zillegal valueÚ éÿÿÿÿ)Ú
ValueErrorÚdivmodÚ_RN_TEMPLATESÚ_RN_LETTERS)ÚvalueÚstrÚbaseÚindexÚtmps   &    Ú[/var/www/html/daimler-pipeline/venv/lib/python3.14/site-packages/reportlab/lib/sequencer.pyÚ	_format_Ir      sn   € Øˆq„y�E˜D”LÜ˜Ó)Ð)Ø
€CØ€Dß
Ü˜e RÓ(‰ˆÜ˜EÕ"ˆßÜ  Q›‰JˆCÜ˜e�jÕ)¨CÕ/ŠCØ��	ŠØ€Jó    c                 ó4   € \        V 4      P                  4       # ©N)r   Úlower©Únums   &r   Ú	_format_ir      s   € Ü�S‹>×ÑÓ!Ð!r   c                ó   € \        V 4      # )zThe simplest formatter)r   r   s   &r   Ú_format_123r   "   s   € äˆs‹8€Or   c                óF   € V ^,
          ^,          p\        V^A,           4      # )zUppercase.  Wraps around at 26.©Úchr©r   Úns   & r   Ú_format_ABCr    &   ó   € à	ˆa��2�€AÜˆq��t‹9Ðr   c                óF   € V ^,
          ^,          p\        V^a,           4      # )zLowercase.  Wraps around at 26.r   r   s   & r   Ú_format_abcr#   +   r!   r   ÚIÚiÚ1ÚAÚac                   ó\   a € ] tR t^8t o RtR tR tRR ltR t]t	R t
R tR	 tR
 tRtV tR# )Ú_Countera
  Private class used by Sequencer.  Each counter
knows its format, and the IDs of anything it
resets, as well as its value. Starts at zero
and increments just before you get the new value,
so that it is still 'Chapter 5' and not 'Chapter 6'
when you print 'Figure 5.1'c                óZ   € ^ V n         V P                   V n        \        V n        . V n        R# )r   N)Ú_baseÚ_valuer   Ú
_formatterÚ_resets©Úselfs   &r   Ú__init__Ú_Counter.__init__@   s"   € ØˆŒ
Ø—j‘jˆŒÜ%ˆŒØˆŽr   c                ó   € Wn         R # r   )r.   )r1   Ú
formatFuncs   &&r   ÚsetFormatterÚ_Counter.setFormatterF   s   € Ø$Žr   Nc                óH   € V'       d	   Wn         R # V P                  V n         R # r   )r-   r,   )r1   r   s   &&r   ÚresetÚ_Counter.resetI   s   € ßØŽKàŸ*™*ˆDŽKr   c                ó–   € V ;P                   ^,          un         V P                   pV P                   F  pVP                  4        K  	  V# )é   )r-   r/   r9   )r1   ÚvÚcounters   &  r   ÚnextÚ_Counter.nextO   s5   € Ø�Š�qÕ�Ø�K‰KˆØ—|”|ˆGØ�M‰MŽOñ $àˆr   c                ó   € V P                   # r   )r-   r0   s   &r   Ú_thisÚ_Counter._thisW   s   € Ø�{‰{Ðr   c                ó6   € V P                  \        V 4      4      # )zReturns next value formatted)r.   r?   r0   s   &r   ÚnextfÚ_Counter.nextfZ   s   € à�‰œt D›zÓ*Ð*r   c                ó@   € V P                  V P                  4       4      # r   )r.   rB   r0   s   &r   ÚthisfÚ_Counter.thisf^   s   € Ø�‰˜tŸz™z›|Ó,Ð,r   c                ó`   € WP                   9   g   V P                   P                  V4       R # R # r   )r/   Úappend)r1   ÚotherCounters   &&r   ÚchainÚ_Counter.chaina   s#   € ØŸ|™|Ô+Ø�L‰L×Ñ Ö-ñ ,r   )r,   r.   r/   r-   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r2   r6   r9   r?   Ú__next__rB   rE   rH   rM   Ú__static_attributes__Ú__classdictcell__©Ú__classdict__s   @r   r*   r*   8   s>   ø‡ € ñ#òò%ô%òð €Hòò+ò-÷.ð .r   r*   c                   ó    a € ] tR t^et o RtR tR tRR ltRR ltR t	RR lt
RR	 ltRR
 ltRR ltR tR tRR ltR tR tR tR tRtV tR# )Ú	Sequencera  Something to make it easy to number paragraphs, sections,
images and anything else.  The features include registering
new string formats for sequences, and 'chains' whereby
some counters are reset when their parents.
It keeps track of a number of
'counters', which are created on request:
Usage::

    >>> seq = layout.Sequencer()
    >>> seq.next('Bullets')
    1
    >>> seq.next('Bullets')
    2
    >>> seq.next('Bullets')
    3
    >>> seq.reset('Bullets')
    >>> seq.next('Bullets')
    1
    >>> seq.next('Figures')
    1
    >>>
c                óB   € / V n         / V n        V P                  4        R # r   )Ú	_countersÚ_formattersÚ_resetr0   s   &r   r2   ÚSequencer.__init__}   s   € ØˆŒØˆÔØ�‰Žr   c                óš  € V P                   P                  4        V P                  P                  4        V P                  P                  R \        R\
        R\        R\        R\        /4       \        V P                   V P                  R7      pV P                  P                  4        V P                  P                  V4       RV n        R# )r&   r'   r(   r$   r%   )r\   r]   N)r\   Úclearr]   Úupdater   r    r#   r   r   ÚdictÚ__dict__Ú_defaultCounter)r1   Úds   & r   r^   ÚSequencer._reset‚   s˜   € Ø�‰×ÑÔØ×Ñ×ÑÔ Ø×Ñ×Ñà”Ø”Ø”Ø”	Ø”	ð!ô 	ô ˜4Ÿ>™>°d×6FÑ6FÔGˆØ�‰×ÑÔØ�‰×Ñ˜QÔØ#ˆÖr   Nc                ó€   €  V P                   V,          #   \         d    \        4       pY P                   T&   Tu # i ; i)zCreates one if not present)r\   ÚKeyErrorr*   )r1   r>   Úcnts   && r   Ú_getCounterÚSequencer._getCounter’   s=   € ð	Ø—>‘> 'Õ*Ð*øÜô 	Ü“*ˆCØ&)�N‰N˜7Ñ#ØŠJð	ús   ‚ •%=¼=c                óh   € V'       g   V P                   pV P                  V4      P                  4       # )zWRetrieves counter value but does not increment. For
new counters, sets base value to 1.)re   rk   rB   ©r1   r>   s   &&r   rB   ÚSequencer._this›   ó,   € ÷ Ø×*Ñ*ˆGØ×Ñ Ó(×.Ñ.Ó0Ð0r   c                óJ   € \        V P                  V P                  4      4      # ©ziRetrieves the numeric value for the given counter, then
increments it by one.  New counters start at one.)r?   rk   re   r0   s   &r   rT   ÚSequencer.__next__¢   s    € ô �D×$Ñ$ T×%9Ñ%9Ó:Ó;Ð;r   c                ó†   € V'       g   \        V 4      # V P                  p Wn        \        V 4      W n        #   Y n        i ; ir   )r?   re   )r1   r>   Údcs   && r   r?   ÚSequencer.next§   s9   € ßÜ˜“:Ðà×%Ñ%ˆBð*Ø'.Ô$Ü˜D“zà')Õ$ø rÕ$ús	   ¡8 ¸A c                óh   € V'       g   V P                   pV P                  V4      P                  4       # r   )re   rk   rH   rn   s   &&r   rH   ÚSequencer.thisf²   s*   € ßØ×*Ñ*ˆGØ×Ñ Ó(×.Ñ.Ó0Ð0r   c                óh   € V'       g   V P                   pV P                  V4      P                  4       # rr   )re   rk   rE   rn   s   &&r   rE   ÚSequencer.nextf·   rp   r   c                ó   € Wn         R# )z$Changes the key used for the defaultN)re   )r1   Údefaults   &&r   ÚsetDefaultCounterÚSequencer.setDefaultCounter¾   s   € à&Ör   c                ó"   € W P                   V&   R# )z—Registers a new formatting function.  The funtion
must take a number as argument and return a string;
fmt is a short menmonic string used to access it.N)r]   )r1   ÚformatÚfuncs   &&&r   ÚregisterFormatÚSequencer.registerFormatÂ   s   € ð $(×Ñ˜Ó r   c                ól   € V P                   V,          pV P                  V4      P                  V4       R# )zHSpecifies that the given counter should use
the given format henceforth.N)r]   rk   r6   )r1   r>   r€   r�   s   &&& r   Ú	setFormatÚSequencer.setFormatÈ   s-   € ð ×Ñ Õ'ˆØ×Ñ˜Ó!×.Ñ.¨tÖ4r   c                óX   € V'       g   V P                   pW P                  V4      n        R # r   )re   rk   r-   )r1   r>   r   s   &&&r   r9   ÚSequencer.resetÎ   s!   € ßØ×*Ñ*ˆGØ+/×Ñ˜Ó!Ö(r   c                ól   € V P                  V4      pV P                  V4      pVP                  V4       R # r   )rk   rM   )r1   ÚparentÚchildÚpÚcs   &&&  r   rM   ÚSequencer.chainÓ   s-   € Ø×Ñ˜VÓ$ˆØ×Ñ˜UÓ#ˆØ	�‰�Ž
r   c                ód   € VRR R8X  d   VRR pV P                  V4      # V P                  V4      # )zjAllows compact notation to support the format function.
s['key'] gets current value, s['key+'] increments.NÚ+r   )rE   rH   )r1   Úkeyr>   s   && r   Ú__getitem__ÚSequencer.__getitem__Ø   s9   € ð ˆrˆsˆ8�sŒ?Ø˜#˜2�hˆGØ—:‘:˜gÓ&Ð&à—:‘:˜c“?Ð"r   c                ó   € W,          # )z0The crowning jewels - formats multi-level lists.© )r1   Útemplates   &&r   r€   ÚSequencer.formatá   s
   € à�Ðr   c           	     ó  € \        V P                  P                  4       4      pVP                  4        \	        R4       V F@  w  r#\	        RW#P                  4       VP                  VP                  4       3,          4       KB  	  R# )z-Write current state to stdout for diagnosticszSequencer dump:z2    %s: value = %d, base = %d, format example = %sN)Úlistr\   ÚitemsÚsortÚprintrB   r,   rH   )r1   Úcountersr‘   r>   s   &   r   ÚdumpÚSequencer.dumpå   sg   € ä˜Ÿ™×,Ñ,Ó.Ó/ˆØ�‰ŒÜÐÔ Û&‰NˆSÜÐFØ—]‘]“_ g§m¡m°W·]±]³_ðJFõ Fö Gó 'r   )r\   re   r]   r   )Nr   )rO   rP   rQ   rR   rS   r2   r^   rk   rB   rT   r?   rH   rE   r}   r‚   r…   r9   rM   r’   r€   rž   rU   rV   rW   s   @r   rZ   rZ   e   sa   ø‡ € ñò.ò
$ô ô1ò<ô
	*ô1ô
1ô'ò(ò5ô0ò
ò
#ò÷Gð Gr   rZ   Nc                  ó2   € \         f   \        4       s \         # r   )Ú
_sequencerrZ   r•   r   r   ÚgetSequencerr¢   ñ   s   € äÒÜ“[ˆ
ÜÐr   c                 ó   € \         pV s V# r   )r¡   )ÚseqÚss   & r   ÚsetSequencerr¦   ÷   s   € ä€AØ€JØ€Hr   c                  óJ   € \         '       d   \         P                  4        R # R # r   )r¡   r^   r•   r   r   r^   r^   ý   s   € çƒzÜ×ÑÖñ r   )Úregister_resetc            
      óì  a€ \        4       o\        R \        S4      \        S4      \        S4      3,          4       \        RSP                  R4      SP                  R4      SP                  R4      3,          4       \        R\        S4      ,          4       SP                  R4       \        R\        S4      \        S4      \        S4      3,          4       SP                  4        \        R\        S4      \        S4      \        S4      3,          4       \        4        \        R4       SP	                  RR	4       \        R
SP                  R4      : RSP                  R4      : RSP                  R4      : 24       R p \        4        \        R4       SP                  RV 4       SP	                  RR4       \        RRP                  V3R l\        ^^4       4       4      ,           4       \        4        \        R4       SP                  RR4       \        RSP                  R4      ,          4       \        RSP                  R4      ,          4       \        RSP                  R4      ,          4       \        RSP                  R4      ,          4       \        RSP                  R4      ,          4       \        RSP                  R4      ,          4       \        RSP                  R4      ,          4       \        RSP                  R4      ,          4       \        4        \        R4       \        RSR,          ,          4       \        RSR,          ,          4       \        RSR,          ,          4       \        RSR,          ,          4       \        4        \        R4       \        R4       \        RS,          4       \        RS,          4       \        RS,          4       R# ) z)Counting using default sequence: %d %d %dz1Counting Figures: Figure %d, Figure %d, Figure %dÚfigurezBack to default again: %dÚlist1zSet default to list1: %d %d %dz#Set default to None again: %d %d %dz0Creating Appendix counter with format A, B, C...ÚAppendixr'   z    Appendix z, Appendix c                 ó0   € RV ^,
          ^,          ,          # )Úun)r®   ÚdeuxÚtroisÚquatreÚcinqr•   r   s   &r   Úformat_frenchÚtest.<locals>.format_french  s   € Ø4°c¸!µe¸QµYÕ?Ð?r   z+Defining a custom format with french words:ÚfrenchÚ
FrenchListz   Ú c              3   óX   <"  € T F  p\        SP                  R 4      4      x € K!  	  R# 5i)r¶   N)r   rE   )Ú.0r%   r¥   s   & €r   Ú	<genexpr>Útest.<locals>.<genexpr>  s"   øé € ÐJ¹z¸!œ3˜qŸw™w |Ó4×5Ð5»zùs   ƒ'*z:Chaining H1 and H2 - H2 goes back to one when H1 increasesÚH1ÚH2z    H1 = %dz      H2 = %dz-GetItem notation - append a plus to incrementz    seq["Appendix"] = %sz    seq["Appendix+"] = %sz	Appendix+z8Finally, string format notation for nested lists.  Cool!z>The expression ("Figure %(Chapter)s.%(Figure+)s" % seq) gives:z"    Figure %(Chapter)s.%(Figure+)sN)
rZ   rœ   r?   r}   r…   rE   r‚   ÚjoinÚrangerM   )r³   r¥   s    @r   ÚtestrÀ     sÍ  ø€ Ü‹€AÜ	Ð
5¼¸a»ÄÀaÃÌ$ÈqË'Ð8RÕ
RÔSÜ	Ð
=Ø	�‰ˆxÓ˜!Ÿ&™& Ó*¨A¯F©F°8Ó,<ðA>õ >ô ?ä	Ð
%¬¨Q«Õ
/Ô0Ø×Ñ˜Ô Ü	Ð
*¬d°1«g´d¸1³g¼tÀA»wÐ-GÕ
GÔHØ×ÑÔÜ	Ð
/´4¸³7¼4À»7ÄDÈÃGÐ2LÕ
LÔMÜ	„GÜ	Ð
<Ô=Ø‡K�K�
˜CÔ Ý	Ø	�‰�
Ö §¡¨
Ö 3°A·G±G¸JÕ4GðIô Jò@ä	„GÜ	Ð
7Ô8Ø×Ñ�X˜}Ô-Ø‡K�K�˜hÔ'Ü	ˆ%�#—(‘(ÔJ¼uÀQÀq¼zÓJÓJÕ
KÔLÜ	„GÜ	Ð
FÔGØ‡G�GˆD�ÔÜ	ˆ-˜!Ÿ&™& ›,Õ
&Ô'Ü	ˆ/˜AŸF™F 4›LÕ
(Ô)Ü	ˆ/˜AŸF™F 4›LÕ
(Ô)Ü	ˆ/˜AŸF™F 4›LÕ
(Ô)Ü	ˆ-˜!Ÿ&™& ›,Õ
&Ô'Ü	ˆ/˜AŸF™F 4›LÕ
(Ô)Ü	ˆ/˜AŸF™F 4›LÕ
(Ô)Ü	ˆ/˜AŸF™F 4›LÕ
(Ô)Ü	„GÜ	Ð
9Ô:Ü	Ð
$ q¨¥}Õ
4Ô5Ü	Ð
%¨¨+­Õ
6Ô7Ü	Ð
%¨¨+­Õ
6Ô7Ü	Ð
$ q¨¥}Õ
4Ô5Ü	„GÜ	Ð
DÔEÜ	Ð
JÔKÜ	Ð
.°Õ
2Ô3Ü	Ð
.°Õ
2Ô3Ü	Ð
.°Õ
2Ö3r   Ú__main__)
r   r<   é	   éI   é
   é   é   é‰   iI  é   )Ú__version__rS   ÚsplitÚ__all__r	   r
   r   r   r   r    r#   Ú_type2formatterr*   rZ   r¡   r¢   r¦   r^   Úreportlab.rl_configr¨   rÀ   rO   r•   r   r   Ú<module>rÎ      sÄ   ðð €ØV€Ø1×7Ñ7Ó9€ò N€Ø€òò"òòò
ð 	ˆIØˆIØˆKØˆKØˆKð
€÷+.ñ +.÷ZGGñ GGðR .Ø€
òòòõ
 /Ù ˆvÔ Øò-4ð` ˆZÔÙ†Fñ r   