+
    i                         ^ RI HtHtHt ^RIHt ^RIHtHtH	t	H
t
 ^RIHt ^RIHtHt ^RIHt ^RIHt ]R,          t ! R R	4      tR
# )    )OptionalTupleLiteral)	loop_last)ConsoleConsoleOptionsRenderableTypeRenderResultControl)ControlTypeSegment)	StyleType)Textc                      a  ] tR t^t o RtRV 3R lR lltV 3R lR ltV 3R lR ltV 3R lR	 ltV 3R
 lR lt	Rt
V tR# )
LiveRenderzCreates a renderable that may be updated.

Args:
    renderable (RenderableType): Any renderable object.
    style (StyleType, optional): An optional style to apply to the renderable. Defaults to "".
c                0   < V ^8  d   QhRS[ RS[RS[RR/# )   
renderablestylevertical_overflowreturnN)r	   r   VerticalOverflowMethod)format__classdict__s   "c/home/wkmabra/.openclaw/workspace/venv/lib/python3.14/site-packages/pip/_vendor/rich/live_render.py__annotate__LiveRender.__annotate__   s3     	6 	6"	6 	6 2		6
 
	6    c                8    Wn         W n        W0n        R V n        R # )N)r   r   r   _shape)selfr   r   r   s   &&&&r   __init__LiveRender.__init__   s     %
!215r   c                $   < V ^8  d   QhRS[ RR/# )r   r   r   N)r	   )r   r   s   "r   r   r   !   s     % % %D %r   c                    Wn         R# )zdSet a new renderable.

Args:
    renderable (RenderableType): Any renderable object, including str.
N)r   )r"   r   s   &&r   set_renderableLiveRender.set_renderable!   s	     %r   c                    < V ^8  d   QhRS[ /# r   r   r   )r   r   s   "r   r   r   )   s       r   c                   V P                   ek   V P                   w  r\        \        P                  \        P                  ^3.\        P
                  ^3\        P                  ^33V^,
          ,          O5!  # \        4       # )z}Get control codes to move cursor to beginning of live render.

Returns:
    Control: A control instance that may be printed.
)r!   r   r   CARRIAGE_RETURNERASE_IN_LINE	CURSOR_UPr"   _heights   &  r   position_cursorLiveRender.position_cursor)   s}     ;;"IA++**A.

 %..2$22A6 z	#	
 
 yr   c                    < V ^8  d   QhRS[ /# r*   r   )r   r   s   "r   r   r   >   s       r   c                    V P                   eS   V P                   w  r\        \        P                  .\        P                  ^3\        P
                  ^33V,          O5!  # \        4       # )zGet control codes to clear the render and restore the cursor to its previous position.

Returns:
    Control: A Control instance that may be printed.
)r!   r   r   r,   r.   r-   r/   s   &  r   restore_cursorLiveRender.restore_cursor>   sb     ;;"IA++((!,{/H/H!.LMPVV  yr   c                ,   < V ^8  d   QhRS[ RS[RS[/# )r   consoleoptionsr   )r   r   r
   )r   r   s   "r   r   r   L   s%      )7	r   c              #     "   V P                   pVP                  V P                  4      pVP                  W2VR R7      p\        P
                  ! V4      pVw  rxWP                  P                  8  d   V P                  R8X  d1   VRVP                  P                   p\        P
                  ! V4      pMV P                  R8X  dp   VRVP                  P                  ^,
           p\        RRRRRR	7      p	VP                  \        VP                  V	4      4      4       \        P
                  ! V4      pW`n        \        P                  ! 4       p
\        V4       F  w  rT Rj  xL
  V'       d   K  V
x  K  	  R#  L5i)
F)r   padcropNellipsisz...center zlive.ellipsis)overflowjustifyendr   )r   	get_styler   render_linesr   	get_shapesizer1   r   r   appendlistrenderr!   liner   )r"   r9   r:   r   r   linesshaper0   r1   overflow_textnew_linelastrK   s   &&&          r   __rich_console__LiveRender.__rich_console__L   s;     __
!!$**-$$Z5$Q!!%(	LL'''%%/3 3 34))%0'':59!4!4q!8: $#$)! T'.."?@A))%0<<>#E*JDOO4 +s   E!E>#E<$	E>2E>)r!   r   r   r   N)r@   r>   )__name__
__module____qualname____firstlineno____doc__r#   r'   r2   r6   rQ   __static_attributes____classdictcell__)r   s   @r   r   r      s<     	6 	6% % *  r   r   N)r=   r>   visible)typingr   r   r   _loopr   r9   r   r   r	   r
   controlr   segmentr   r   r   r   textr   r   r    r   r   <module>ra      s:    + +  J J  )   !>? \ \r   