+
    }i                        ^ RI Ht ^ RIt^ RIHt ]P                  '       d   ^RIHt ]! 4       t	]P                  RR R ll4       t]P                  RR R ll4       tRR	 R
 lltR R ltR R ltRR R lltR# )    )annotationsN)local)Contextc                    V ^8  d   QhRRRR/# )   silentzt.Literal[False]returnr    )formats   "_/Users/ahmad/.openclaw/workspace/my-crawler/.venv/lib/python3.14/site-packages/click/globals.py__annotate__r      s     I I 0 IW I    c                    R # Nr
   r   s   &r   get_current_contextr      s    FIr   c                    V ^8  d   QhRRRR/# r   r   boolr	   zContext | Noner
   )r   s   "r   r   r      s     B B B~ Br   c                    R # r   r
   r   s   &r   r   r      s    ?Br   c                    V ^8  d   QhRRRR/# r   r
   )r   s   "r   r   r      s        r   c                     \         P                  ! R\        P                  R,          4      #   \        \
        3 d    pT '       g   \        R4      Th Rp?R# Rp?ii ; i)aZ  Returns the current click context.  This can be used as a way to
access the current context object from anywhere.  This is a more implicit
alternative to the :func:`pass_context` decorator.  This function is
primarily useful for helpers such as :func:`echo` which might be
interested in changing its behavior based on the current context.

To push the current context, :meth:`Context.scope` can be used.

.. versionadded:: 5.0

:param silent: if set to `True` the return value is `None` if no context
               is available.  The default behavior is to raise a
               :exc:`RuntimeError`.
r   z!There is no active click context.N)tcast_localstackAttributeError
IndexErrorRuntimeError)r   es   & r   r   r      sT    Kvvib!122J' KBCJ  	Ks   +. AAAc                    V ^8  d   QhRRRR/# )r   ctxr   r	   Noner
   )r   s   "r   r   r   ,   s     8 8g 8$ 8r   c                d    \         P                  P                  R. 4      P                  V 4       R# )z*Pushes a new context to the current stack.r   N)r   __dict__
setdefaultappend)r#   s   &r   push_contextr)   ,   s!    
OOw+2237r   c                   V ^8  d   QhRR/# )r   r	   r$   r
   )r   s   "r   r   r   1   s      T r   c                 B    \         P                  P                  4        R# )z%Removes the top level from the stack.N)r   r   popr
   r   r   pop_contextr-   1   s    
LLr   c                    V ^8  d   QhRRRR/# )r   colorzbool | Noner	   r
   )r   s   "r   r   r   6   s        r   c                J    V e   V # \        RR7      pVe   VP                  # R# )zInternal helper to get the default value of the color flag.  If a
value is passed it's returned unchanged, otherwise it's looked up from
the current context.
NTr   )r   r/   )r/   r#   s   & r   resolve_color_defaultr1   6   s+    
 
T
*C
yyr   )F).r   )
__future__r   typingr   	threadingr   TYPE_CHECKINGcorer   r   overloadr   r)   r-   r1   r
   r   r   <module>r8      sb    "  ???	  I  I  B  B08

 r   