
    ,ji~                         S SK Jr  S SK Jr  S SKJr  S SKJr  S SKJr  S SK	J
r
  S SKJr  S SKJr  S S	KJr    SS\\   S\\   S\4S jjrg
)    )Any)Optional)PromptSession)to_formatted_text)KeyBindings)Keys)Style)Question)merge_styles_defaultNmessagestylekwargsc                    ^ ^ [        U/5      nT c  Sm U 4S jnS m[        5       nUR                  [        R                  5      U4S j5       n[        [        U4XSS.UD6R                  5      $ )a  Wait until user presses any key to continue.

Example:
    >>> import questionary
    >>> questionary.press_any_key_to_continue().ask()
     Press any key to continue...
    ''

Args:
    message: Question text. Defaults to ``"Press any key to continue..."``

    style: A custom color and style for the question parts. You can
           configure colors as well as font types for different elements.

Returns:
    :class:`Question`: Question instance, ready to be prompted (using ``.ask()``).
zPress any key to continue...c                  L   > / n U R                  SST S345        [        U 5      $ )Nzclass:question )appendr   )tokensr   s    g/home/james-whalen/.local/lib/python3.13/site-packages/questionary/prompts/press_any_key_to_continue.pyget_prompt_tokens4press_any_key_to_continue.<locals>.get_prompt_tokens)   s-    '1WIQ89 ((    c                 6    U R                   R                  S S9  g )N)result)appexit)events    r   exit_with_result3press_any_key_to_continue.<locals>.exit_with_result0   s    		d#r   c                    > T" U 5        g )N )r   r   s    r   any_key*press_any_key_to_continue.<locals>.any_key5   s    r   )key_bindingsr   )r   r   addr   r   r
   r   r   )r   r   r   merged_styler   bindingsr!   r   s   `      @r   press_any_key_to_continuer'      s|    , (0L0)$ }H\\$((    	
,4	
LR	

# r   )NN)typingr   r   prompt_toolkitr   prompt_toolkit.formatted_textr   prompt_toolkit.key_bindingr   prompt_toolkit.keysr   prompt_toolkit.stylesr	   questionary.questionr
   questionary.stylesr   strr'   r    r   r   <module>r1      sO      ( ; 2 $ ' ) 3 "!/c]/E?/ /r   