§
    ¾<iƒ  ã                  óÀ   — d dl mZ d dlZd dlmZ ej        rddlmZ  e¦   «         Z	ej
        ddd„¦   «         Zej
        ddd„¦   «         Zddd„Zdd„Zdd„Zddd„ZdS ) é    )ÚannotationsN)Úlocalé   )ÚContextFÚsilentút.Literal[False]Úreturnr   c                ó   — d S ©N© ©r   s    úˆ/Users/kimhansen/Desktop/03 Workspace/ceo-agents/chl-effectiveness/mcp-servers/whoop/.venv/lib/python3.11/site-packages/click/globals.pyÚget_current_contextr      s   € ØFIÀcó    .ÚboolúContext | Nonec                ó   — d S r   r   r   s    r   r   r      s   € Ø?B¸sr   c                ó²   — 	 t          j        dt          j        d         ¦  «        S # t          t
          f$ r}| st          d¦  «        |‚Y d}~nd}~ww xY wdS )a‚  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      sˆ   € ðKÝŒvi¥¤¨bÔ!1Ñ2Ô2Ð2øÝJÐ'ð Kð Kð KØð 	KÝÐBÑCÔCÈÐJð	Kð 	Kð 	Kð 	Kð 	KøøøøðKøøøð ˆ4s   ‚$' §A¸AÁAÚctxÚNonec                ól   — t           j                             dg ¦  «                             | ¦  «         dS )z*Pushes a new context to the current stack.r   N)r   Ú__dict__Ú
setdefaultÚappend)r   s    r   Úpush_contextr$   ,   s.   € å
„O×Ò˜w¨Ñ+Ô+×2Ò2°3Ñ7Ô7Ð7Ð7Ð7r   c                 óB   — t           j                             ¦   «          dS )z%Removes the top level from the stack.N)r   r   Úpopr   r   r   Úpop_contextr'   1   s   € å
„L×ÒÑÔÐÐÐr   Úcolorúbool | Nonec                ó@   — | | S t          d¬¦  «        }||j        S dS )zªInternal 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_defaultr+   6   s1   € ð
 ÐØˆå
 TÐ
*Ñ
*Ô
*€Cà
€ØŒyÐàˆ4r   )F)r   r   r	   r   ).)r   r   r	   r   )r   r   r	   r   )r	   r   r   )r(   r)   r	   r)   )Ú
__future__r   Útypingr   Ú	threadingr   ÚTYPE_CHECKINGÚcorer   r   Úoverloadr   r$   r'   r+   r   r   r   ú<module>r2      sú   ðØ "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ø Ð Ð Ð Ð Ð à„?ð ØÐÐÐÐÐà	ˆ‰Œ€ð „Ø IÐ IÐ IÐ Iñ „Ø Ið „Ø BÐ BÐ BÐ Bñ „Ø Bðð ð ð ð ð08ð 8ð 8ð 8ð
ð ð ð ð
ð ð ð ð ð ð r   