+
    ^eòjÑ!  ã                  ó  € ^ RI Ht ^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIH	t	H
t
 ^ RIHt ^ RIHtHt ^ RIHt . R-OtR
]P$                  9   t]! RRR7      t ! R R]],          4      t ! R R	]R,          4      t ! R R]]]3,          4      t]! 4       tR R ltR R ltR R ltR R ltR R lt R R lt!R R lt"R  R! lt#]! R"4      t$R# R$ lt%R% R& lt&R' R( lt']	. ](3,          ](,          t)R) R* lt*R.R+ R, llt+R# )/é    )ÚannotationsN)Údeque)ÚCallableÚ	Generator)ÚAbstractContextManager)ÚGenericÚTypeVar)ÚwcwidthÚEventÚDummyContextzsphinx.ext.autodocÚ_SenderT)Ú	covariantc                  ór   € ] tR t^*tRtRR R lltR R ltR R ltR	 R
 ltR R lt	R R lt
R R ltRtR# )r   a}  
Simple event to which event handlers can be attached. For instance::

    class Cls:
        def __init__(self):
            # Define event. The first parameter is the sender.
            self.event = Event(self)

    obj = Cls()

    def handler(sender):
        pass

    # Add event handler by using the += operator.
    obj.event += handler

    # Fire event.
    obj.event()
Nc               ó$   € V ^8„  d   QhRRRRRR/# )é   Úsenderr   Úhandlerz Callable[[_Sender], None] | NoneÚreturnÚNone© )Úformats   "Ú‹/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/prompt_toolkit/utils.pyÚ__annotate__ÚEvent.__annotate__?   s$   € ÷ ñ ØðØ(Hðà	ñó    c                	ó<   € Wn         . V n        Ve   W,          p R # R # ©N)r   Ú	_handlers)Úselfr   r   s   &&&r   Ú__init__ÚEvent.__init__?   s"   € ð ŒØ:<ˆŒàÒØ�OŠDñ r   c               ó   € V ^8„  d   QhRR/# ©r   r   r   r   )r   s   "r   r   r   H   s   € ÷ !ñ !˜$ñ !r   c                óP   € V P                    F  pV! V P                  4       K  	  R# )zFire event.N©r   r   ©r   r   s   & r   Ú__call__ÚEvent.__call__H   s   € à—~”~ˆGÙ�D—K‘KÖ ó &r   c               ó   € V ^8„  d   QhRR/# r#   r   )r   s   "r   r   r   M   s   € ÷ ñ �dñ r   c                ó   € V ! 4        R# )z!Alias for just calling the event.Nr   ©r   s   &r   ÚfireÚ
Event.fireM   s   € áŽr   c               ó    € V ^8„  d   QhRRRR/# ©r   r   úCallable[[_Sender], None]r   r   r   )r   s   "r   r   r   Q   s   € ÷ 'ñ 'Ð#<ð 'Àñ 'r   c                ó<   € V P                   P                  V4       R# )z{
Add another handler to this callback.
(Handler should be a callable that takes exactly one parameter: the
sender object.)
N)r   Úappendr&   s   &&r   Úadd_handlerÚEvent.add_handlerQ   s   € ð 	�‰×Ñ˜gÖ&r   c               ó    € V ^8„  d   QhRRRR/# r/   r   )r   s   "r   r   r   Z   s   € ÷ +ñ +Ð&?ð +ÀDñ +r   c                ó`   € WP                   9   d   V P                   P                  V4       R# R# )z&
Remove a handler from this callback.
N)r   Úremover&   s   &&r   Úremove_handlerÚEvent.remove_handlerZ   s%   € ð —n‘nÔ$Ø�N‰N×!Ñ! 'Ö*ñ %r   c               ó    € V ^8„  d   QhRRRR/# ©r   r   r0   r   zEvent[_Sender]r   )r   s   "r   r   r   a   ó   € ÷ ñ Ð 9ð ¸nñ r   c                ó(   € V P                  V4       V # )z3
`event += handler` notation for adding a handler.
)r3   r&   s   &&r   Ú__iadd__ÚEvent.__iadd__a   s   € ð 	×Ñ˜Ô!Øˆr   c               ó    € V ^8„  d   QhRRRR/# r;   r   )r   s   "r   r   r   h   r<   r   c                ó(   € V P                  V4       V # )z5
`event -= handler` notation for removing a handler.
)r8   r&   s   &&r   Ú__isub__ÚEvent.__isub__h   s   € ð 	×Ñ˜GÔ$Øˆr   r%   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r    r'   r,   r3   r8   r>   rB   Ú__static_attributes__r   r   r   r   r   *   s/   † ñ÷(õ!õ
õ'õ+õ÷ñ r   c                  ó2   € ] tR t^ptRtR R ltR R ltRtR# )r   z-
(contextlib.nested is not available on Py3)
c               ó   € V ^8„  d   QhRR/# r#   r   )r   s   "r   r   ÚDummyContext.__annotate__u   s   € ÷ ñ ˜4ñ r   c                	ó   € R # r   r   r+   s   &r   Ú	__enter__ÚDummyContext.__enter__u   ó   € Ùr   c               ó    € V ^8„  d   QhRRRR/# )r   ÚaÚobjectr   r   r   )r   s   "r   r   rL   x   s   € ÷ ñ ˜6ð  dñ r   c                	ó   € R # r   r   )r   rR   s   &*r   Ú__exit__ÚDummyContext.__exit__x   rP   r   r   N)rD   rE   rF   rG   rH   rN   rU   rI   r   r   r   r   r   p   s   † ñõ÷ñ r   c                  óF   a € ] tR t^|tRt^@t^tR V 3R lltR R ltRt	V ;t
# )Ú_CharSizesCachez
Cache for wcwidth sizes.
c               ó   € V ^8„  d   QhRR/# r#   r   )r   s   "r   r   Ú_CharSizesCache.__annotate__„   s   € ÷ 1ñ 1˜$ñ 1r   c                	óB   <€ \         SV `  4        \        4       V n        R # r   )Úsuperr    r   Ú_long_strings)r   Ú	__class__s   &€r   r    Ú_CharSizesCache.__init__„   s   ø€ Ü‰ÑÔä).«ˆÖr   c               ó    € V ^8„  d   QhRRRR/# ©r   ÚstringÚstrr   Úintr   )r   s   "r   r   rZ   ‰   s   € ÷ ñ  #ð ¨#ñ r   c                	ó^  a € \        V4      ^8X  d   \        ^ \        V4      4      pM\        V 3R lV 4       4      pVS V&   \        V4      S P                  8”  dR   S P
                  pVP                  V4       \        V4      S P                  8”  d   VP                  4       pVS 9   d   S V V# )é   c              3  ó6   <"  € T F  pSV,          x € K  	  R # 5ir   r   )Ú.0Úcr   s   & €r   Ú	<genexpr>Ú._CharSizesCache.__missing__.<locals>.<genexpr>’   s   øé € Ð1©& Q˜˜aŸš«&ùs   ƒ)	ÚlenÚmaxr
   ÚsumÚLONG_STRING_MIN_LENr]   r2   ÚMAX_LONG_STRINGSÚpopleft)r   rb   ÚresultÚlong_stringsÚkey_to_removes   f&   r   Ú__missing__Ú_CharSizesCache.__missing__‰   sŸ   ø€ ô ˆv‹;˜!ÔÜ˜œG F›OÓ,‰FäÔ1©&Ó1Ó1ˆFð ˆˆV‰ô ˆv‹;˜×1Ñ1Ô1Ø×-Ñ-ˆLØ×Ñ Ô'ä�<Ó  4×#8Ñ#8Ô8Ø ,× 4Ñ 4Ó 6�Ø  DÔ(Ø˜]Ð+àˆr   )r]   )rD   rE   rF   rG   rH   ro   rp   r    ru   rI   Ú__classcell__)r^   s   @r   rX   rX   |   s*   ø† ñð ÐØÐ÷1ð 1÷
ó r   rX   c               ó    € V ^8„  d   QhRRRR/# ra   r   )r   s   "r   r   r   ¨   s   € ÷ %ñ %�sð %˜sñ %r   c                ó   € \         V ,          # )z7
Return width of a string. Wrapper around ``wcwidth``.
)Ú_CHAR_SIZES_CACHE)rb   s   &r   Ú
get_cwidthr{   ¨   s   € ô ˜VÕ$Ð$r   c               ó   € V ^8„  d   QhRR/# ©r   r   Úboolr   )r   s   "r   r   r   ¯   s   € ÷ &ñ &¨ñ &r   c                 ó"   € \        \        R4      # )z}
Returns `True` when the Python implementation supports
suspend-to-background. This is typically `False' on Windows systems.
ÚSIGTSTP)ÚhasattrÚsignalr   r   r   Úsuspend_to_background_supportedrƒ   ¯   s   € ô
 ”6˜9Ó%Ð%r   c               ó   € V ^8„  d   QhRR/# r}   r   )r   s   "r   r   r   ·   s   € ÷ #ñ #�Dñ #r   c                 ó(   € \         P                  R8H  # )z!
True when we are using Windows.
Úwin32)ÚsysÚplatformr   r   r   Ú
is_windowsr‰   ·   s   € ô �<‰<˜7Ñ"Ð"r   c               ó   € V ^8„  d   QhRR/# r}   r   )r   s   "r   r   r   ¾   s   € ÷ 
ñ 
 Dñ 
r   c                 óJ   € \         P                  R8X  d   ^ RIHp  V ! 4       # R# )zK
True when we are using Windows, but VT100 escape sequences are supported.
r†   ©Úis_win_vt100_enabledF)r‡   rˆ   Úprompt_toolkit.output.windows10r�   rŒ   s    r   Úis_windows_vt100_supportedr�   ¾   s   € ô ‡|�|�wÔåHá#Ó%Ð%ár   c               ó   € V ^8„  d   QhRR/# r}   r   )r   s   "r   r   r   Ë   s   € ÷ Sñ S˜ñ Sr   c                 ó~   € \         P                  R8H  ;'       d$    \        P                  P	                  RR4      R8H  # )z/
True when the ConEmu Windows console is used.
r†   Ú
ConEmuANSIÚOFFÚON)r‡   rˆ   ÚosÚenvironÚgetr   r   r   Úis_conemu_ansir˜   Ë   s/   € ô �<‰<˜7Ñ"×RÐR¤r§z¡z§~¡~°lÀEÓ'JÈdÑ'RÐRr   c               ó   € V ^8„  d   QhRR/# r}   r   )r   s   "r   r   r   Ò   s   € ÷ Jñ J˜ñ Jr   c                 óZ   € \         P                  ! 4       P                  P                  R8H  # )z2
True when the current thread is the main thread.
Ú_MainThread)Ú	threadingÚcurrent_threadr^   rD   r   r   r   Úin_main_threadrž   Ò   s$   € ô ×#Ò#Ó%×/Ñ/×8Ñ8¸MÑIÐIr   c               ó   € V ^8„  d   QhRR/# r}   r   )r   s   "r   r   r   Ù   s   € ÷ *ñ * tñ *r   c                 óh   € \         P                  P                  RR4      p V P                  4       R9   # )z<
True if env variable is set to true (true, TRUE, True, 1).
ÚPROMPT_TOOLKIT_BELLÚtrue)Ú1r¢   )r•   r–   r—   Úlower©Úvalues    r   Úget_bell_environment_variabler§   Ù   s*   € ô �J‰J�N‰NÐ0°&Ó9€EØ�;‰;‹=˜MÑ)Ð)r   c               ó   € V ^8„  d   QhRR/# )r   r   rc   r   )r   s   "r   r   r   á   s   € ÷ &ñ & sñ &r   c                 óB   € \         P                  P                  RR4      # )z&Return the $TERM environment variable.ÚTERMÚ )r•   r–   r—   r   r   r   Úget_term_environment_variabler¬   á   s   € ä�:‰:�>‰>˜& "Ó%Ð%r   Ú_Tc               ó$   € V ^8„  d   QhRRRRRR/# )r   Úitemszlist[_T]Úweightsz	list[int]r   zGenerator[_T, None, None]r   )r   s   "r   r   r   é   s$   € ÷ 3ñ 3Øð3Ø'ð3àñ3r   c              #  ód  "  € \        V 4      \        V4      8X  g   Q h\        V 4      ^ 8”  g   Q h. p. p\        W4       F0  w  rEV^ 8”  g   K  VP                  V4       VP                  V4       K2  	  Tp TpV '       g   \        R4      hV  Uu. uF  p^ NK  	  pp\        V 4      p\	        V4      p	^ p Rp
V
'       dc   Rp
\        \        V4      W4       FE  w  r´pW{,          Wl,          \        V	4      ,          8  g   K+  Vx € W{;;,          ^,          uu&   Rp
KG  	  Kj  V^,          pKx  u upi 5i)aÆ  
Generator that keeps yielding items from the items list, in proportion to
their weight. For instance::

    # Getting the first 70 items from this generator should have yielded 10
    # times A, 20 times B and 40 times C, all distributed equally..
    take_using_weights(['A', 'B', 'C'], [5, 10, 20])

:param items: List of items to take from.
:param weights: Integers representing the weight. (Numbers have to be
                integers, not floats.)
z+Did't got any items with a positive weight.TF)rl   Úzipr2   Ú
ValueErrorrm   ÚrangeÚfloat)r¯   r°   Úitems2Úweights2ÚitemÚwÚiÚalready_takenÚ
item_countÚ
max_weightÚaddingÚitem_iÚweights   &&           r   Útake_using_weightsrÁ   é   s  é € ô ˆu‹:œ˜W›Ô%Ð%Ð%Üˆu‹:˜Œ>Ðˆ>ð €FØ€HÜ�uÖ&‰ˆØˆqŽ5Ø�M‰M˜$ÔØ�O‰O˜AÖñ 'ð
 €EØ€G÷ ÜÐFÓGÐGñ !&Ó&¡˜1“Q¡€MÐ&Ü�U“€JÜ�W“€Jà	€AØ
àˆßØˆFä(+¬E°*Ó,=¸uÖ(NÑ$�˜fØ Õ(¨1­:¼¸jÓ8IÕ+IÖIØ’JØ!×)¨QÕ.Ó)Ø!’Fó	 )Oð 	
ˆQ�Šùò# 'ùs*   ‚AD0Á1D0Á?D0ÂD+Â$D0Â>=D0Ä 0D0c               ó    € V ^8„  d   QhRRRR/# )r   r¦   zCallable[[], str] | strr   rc   r   )r   s   "r   r   r     ó   € ÷ ñ Ð)ð ¨cñ r   c                óZ   € \        V 4      '       d   \        V ! 4       4      # \        V 4      # )z$Turn callable or string into string.)ÚcallableÚto_strrc   r¥   s   &r   rÆ   rÆ     ó!   € ä�‡‚Ü‘e“g‹Ðä�5‹zÐr   c               ó    € V ^8„  d   QhRRRR/# )r   r¦   zCallable[[], int] | intr   rd   r   )r   s   "r   r   r   '  rÃ   r   c                óZ   € \        V 4      '       d   \        V ! 4       4      # \        V 4      # )zTurn callable or int into int.)rÅ   Úto_intrd   r¥   s   &r   rÊ   rÊ   '  rÇ   r   c               ó    € V ^8„  d   QhRRRR/# )r   r¦   ÚAnyFloatr   rµ   r   )r   s   "r   r   r   2  s   € ÷ ñ �Hð  ñ r   c                óZ   € \        V 4      '       d   \        V ! 4       4      # \        V 4      # )z"Turn callable or float into float.)rÅ   Úto_floatrµ   r¥   s   &r   rÎ   rÎ   2  s"   € ä�‡‚Ü™›Ó Ð ä�U‹|Ðr   c               ó    € V ^8„  d   QhRRRR/# )r   Útermz
str | Noner   r~   r   )r   s   "r   r   r   :  s   € ÷ 
/ñ 
/˜:ð 
/°ñ 
/r   c                ó‚   € V f*   \        \        P                  P                  RR4      4      # V P	                  4       R9   # )z«
True if this terminal type is considered "dumb".

If so, we should fall back to the simplest possible form of line editing,
without cursor positioning and color support.
rª   r«   )ÚdumbÚunknown)Úis_dumb_terminalr•   r–   r—   r¤   )rÐ   s   &r   rÔ   rÔ   :  s5   € ð ‚|Ü¤§
¡
§¡¨v°rÓ :Ó;Ð;à�:‰:‹<Ð.Ñ.Ð.r   )r   r   r{   rƒ   r˜   r‰   rž   r§   r¬   rÁ   rÆ   rÊ   rÌ   rÎ   rÔ   r   ),Ú
__future__r   r•   r‚   r‡   rœ   Úcollectionsr   Úcollections.abcr   r   Ú
contextlibr   Útypingr   r	   r
   Ú__all__ÚmodulesÚSPHINX_AUTODOC_RUNNINGr   r   r   Údictrc   rd   rX   rz   r{   rƒ   r‰   r�   r˜   rž   r§   r¬   r­   rÁ   rÆ   rÊ   rµ   rÌ   rÎ   rÔ   r   r   r   Ú<module>rÞ      sú   ðÝ "ã 	Û Û 
Û Ý ß /Ý -÷õ
 ò€ð( .°·±Ñ<Ð á
�) tÔ
,€ôCˆG�GÕô CôL	Ð)¨$Õ/ô 	ô&�d˜3 ˜8•nô &ñR $Ó%Ð õ%õ&õ#õ
õSõJõ*õ&ñ
 ˆTƒ]€õ3õlõð �B˜�IÕ Õ&€õ÷
/ñ 
/r   