§
    ŒŸjS  ã                  óˆ   — d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ ddlmZ d	gZ G d
„ d	ed         ¦  «        ZdS )é    )Úannotations)ÚCallable)Ú	InputHook)ÚAnyFormattedText)Ú
DummyInput)ÚDummyOutputé   )ÚApplicationÚDummyApplicationc                  ód   ‡ — e Zd ZdZdˆ fd„Z	 	 	 	 	 d d!d„Z	 	 	 	 d"d#d„Z	 	 	 d$d%d„Zd&d'd„Zˆ xZ	S )(r   z‰
    When no :class:`.Application` is running,
    :func:`.get_app` will run an instance of this :class:`.DummyApplication` instead.
    ÚreturnÚNonec                ó~   •— t          ¦   «                              t          ¦   «         t          ¦   «         ¬¦  «         d S )N)ÚoutputÚinput)ÚsuperÚ__init__r   r   )ÚselfÚ	__class__s    €úm/var/www/finuniver-perm.ru/html/student/venv/lib/python3.11/site-packages/prompt_toolkit/application/dummy.pyr   zDummyApplication.__init__   s.   ø€ Ý‰Œ×Ò¥¡¤µZ±\´\ÐÑBÔBÐBÐBÐBó    NTFÚpre_runúCallable[[], None] | NoneÚset_exception_handlerÚboolÚhandle_sigintÚ	in_threadÚ	inputhookúInputHook | Nonec                ó    — t          d¦  «        ‚©Nz*A DummyApplication is not supposed to run.©ÚNotImplementedError)r   r   r   r   r   r   s         r   ÚrunzDummyApplication.run   s   € õ "Ð"NÑOÔOÐOr   ç      à?Úslow_callback_durationÚfloatc              ƒ  ó$   K  — t          d¦  «        ‚r!   r"   )r   r   r   r   r&   s        r   Ú	run_asynczDummyApplication.run_async$   s   è è € õ "Ð"NÑOÔOÐOr   Ú ÚcommandÚstrÚwait_for_enterÚdisplay_before_textr   Ú	wait_textc              ƒ  ó   K  — t           ‚©Nr"   )r   r+   r-   r.   r/   s        r   Úrun_system_commandz#DummyApplication.run_system_command-   s   è è € õ "Ð!r   Úsuspend_groupc                ó   — t           ‚r1   r"   )r   r3   s     r   Úsuspend_to_backgroundz&DummyApplication.suspend_to_background6   s   € Ý!Ð!r   )r   r   )NTTFN)r   r   r   r   r   r   r   r   r   r   r   r   )NTTr%   )
r   r   r   r   r   r   r&   r'   r   r   )Tr*   r*   )
r+   r,   r-   r   r.   r   r/   r,   r   r   )T)r3   r   r   r   )
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r$   r)   r2   r5   Ú__classcell__)r   s   @r   r   r      så   ø€ € € € € ðð ð
Cð Cð Cð Cð Cð Cð
 .2Ø&*Ø"ØØ&*ðPð Pð Pð Pð Pð .2Ø&*Ø"Ø(+ðPð Pð Pð Pð Pð  $Ø02Øð"ð "ð "ð "ð "ð"ð "ð "ð "ð "ð "ð "ð "ð "r   N)Ú
__future__r   Útypingr   Úprompt_toolkit.eventloopr   Úprompt_toolkit.formatted_textr   Úprompt_toolkit.inputr   Úprompt_toolkit.outputr   Úapplicationr
   Ú__all__r   © r   r   ú<module>rD      sÈ   ðØ "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð à .Ð .Ð .Ð .Ð .Ð .Ø :Ð :Ð :Ð :Ð :Ð :Ø +Ð +Ð +Ð +Ð +Ð +Ø -Ð -Ð -Ð -Ð -Ð -à $Ð $Ð $Ð $Ð $Ð $ð ð€ð
&"ð &"ð &"ð &"ð &"�{ 4Ô(ñ &"ô &"ð &"ð &"ð &"r   