+
    ^|iC	                         R t ^ RIt^ RIt^ RIHt ^ RIt]P                  P                  R4      '       d   R t	MR t	R t
R# )z:Enable pyglet to be used interactively with prompt_toolkitN)default_timerlinuxc                 L     V P                  4        R #   \         d     R # i ; iN)flipAttributeErrorwindows   &G/usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/pyglet.pyr   r      s"    	KKM 		s    ##c                 &    V P                  4        R # r   )r   r   s   &r
   r   r      s        c                0    \        4       pV P                  4       '       g   \        P                   P                  4        \        P                  P
                   F?  pVP                  4        VP                  4        VP                  R4       \        V4       KA  	  \        4       V,
          pVR8  d   \        P                  ! R4       K  VR8  d   \        P                  ! R4       K  \        P                  ! R4       K  R#   \         d     R# i ; i)a1  Run the pyglet event loop by processing pending events only.

This keeps processing pending events until stdin is ready.  After
processing all pending events, a call to time.sleep is inserted.  This is
needed, otherwise, CPU usage is at 100%.  This sleep time should be tuned
though for best performance.
on_drawg      $@g      ?g?g?gMbP?N)clockinput_is_readypyglettickappwindows	switch_todispatch_eventsdispatch_eventr   timesleepKeyboardInterrupt)contexttr	   	used_times   &   r
   	inputhookr      s     G((**LL **,,  "&&(%%i0V	 -  !I4

3S 

4  

5!9 +:  s   D C"D DD)__doc__sysr   timeitr   r   r   platform
startswithr   r    r   r
   <module>r%      s:    @ 
  )  <<7##*r   