+
    i,              	           ^ RI HtHtHtHtHt ]'       d   ^RIHtHtH	t	H
t
 ^RIHt ^RIHt ^RIHt ^RIHt ]]]],          ]]]3,          ]]]]]3,          3,          t ! R R]4      t]R	8X  d   ^ R
IHt ]! ]! RRRR7      4       R# R# )    )TYPE_CHECKINGListOptionalTupleUnion)ConsoleConsoleOptionsRenderableTypeRenderResult)JupyterMixin)Measurement)Segment)Stylec                      a  ] tR t^t o RtRRRRR/V 3R lR lllt]V 3R lR	 l4       t]V 3R
 lR l4       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# )Paddinga  Draw space around content.

Example:
    >>> print(Padding("Hello", (2, 4), style="on blue"))

Args:
    renderable (RenderableType): String or other renderable.
    pad (Union[int, Tuple[int]]): Padding for top, right, bottom, and left borders.
        May be specified with 1, 2, or 4 integers (CSS style).
    style (Union[str, Style], optional): Style for padding characters. Defaults to "none".
    expand (bool, optional): Expand padding to fit available width. Defaults to True.
stylenoneexpandTc                D   < V ^8  d   QhRRRRRS[ S[S[3,          RS[/# )   
renderabler
   padPaddingDimensionsr   r   )r   strr   bool)format__classdict__s   "_/home/wkmabra/.openclaw/workspace/venv/lib/python3.14/site-packages/pip/_vendor/rich/padding.py__annotate__Padding.__annotate__!   s<      $ !
 S%Z      c               ~    Wn         V P                  V4      w  V n        V n        V n        V n        W0n        W@n        R # )N)r   unpacktoprightbottomleftr   r   )selfr   r   r   r   s   &&&$$r   __init__Padding.__init__!   s2     %7;{{37G4$*dk49
r!   c                (   < V ^8  d   QhRRRS[ RR/# )r   r   r
   levelreturnr   )int)r   r   s   "r   r   r    /   s(     G G 0 G G Gr!   c                &    \        V^ ^ ^ V3RR7      # )zMake padding instance to render an indent.

Args:
    renderable (RenderableType): String or other renderable.
    level (int): Number of characters to indent.

Returns:
    Padding: A Padding instance.
F)r   r   )r   )clsr   r,   s   &&&r   indentPadding.indent.   s     z1a'7FFr!   c                B   < V ^8  d   QhRRRS[ S[S[S[S[3,          /# )r   r   r   r-   )r   r.   )r   r   s   "r   r   r    =   s.     W W' WE#sC2D,E Wr!   c                   \        V \        4      '       d   W W 3# \        V 4      ^8X  d   V ^ ,          pWW3# \        V 4      ^8X  d	   V w  r#W#W#3# \        V 4      ^8X  d
   V w  rErgWEWg3# \        R\        V 4       R24      h)z&Unpack padding specified in CSS style.z)1, 2 or 4 integers required for padding; z given)
isinstancer.   len
ValueError)r   _padpad_top	pad_rightr$   r%   r&   r'   s   &       r   r#   Padding.unpack<   s     c3c''s8q=q6D++s8q=!$G;;s8q='*$C--DSXJfUVVr!   c                    < V ^8  d   QhRS[ /# )r   r-   )r   )r   r   s   "r   r   r    L   s     d d# dr!   c                    R V P                   : RV P                   RV P                   RV P                   RV P                   R2# )zPadding(z, (,z)))r   r$   r%   r&   r'   )r(   s   &r   __repr__Padding.__repr__L   sD    $//,Cz4::,a}TUVZV_V_U``bccr!   c                &   < V ^8  d   QhRRRRRR/# )r   consoler   optionsr	   r-   r    )r   r   s   "r   r   r    O   s%     ,0 ,0 ,0+;,0	,0r!   c              #  B  "   VP                  V P                  4      pV P                  '       d   VP                  pMa\	        \
        P                  ! WV P                  4      P                  V P                  ,           V P                  ,           VP                  4      pVP                  W@P                  ,
          V P                  ,
          4      pVP                  e?   VP                  VP                  V P                  ,
          V P                  ,
          R7      pVP!                  V P                  WSRR7      p\"        pV P                  '       d   V! RV P                  ,          V4      MR pV P                  '       d,   V! RV P                  ,           V4      VP%                  4       .MVP%                  4       .p	R p
V P                  '       d/   V! RV,           R2V4      .p
WP                  ,           R j  xL
  V'       d#   V F  pVx  T R j  xL
  T	 R j  xL
  K  	  MV F  pT R j  xL
  T	 R j  xL
  K  	  V P                  '       d;   T
;'       g    V! RV,           R2V4      .p
WP                  ,           R j  xL
  R # R #  L L Lx Lf L^ L5i)N)heightT)r   r    
)	get_styler   r   	max_widthminr   getr   maximumr'   r%   update_widthrF   update_heightr$   r&   render_linesr   line)r(   rB   rC   r   widthrender_optionslines_Segmentr'   r%   
blank_linerQ   s   &&&         r   __rich_console__Padding.__rich_console__O   s,     !!$**-;;;%%E$//BJJ))** !!	E !--eii.?$**.LM  ,+99%,,txx7$++E : N $$OO^d % 
 37999xdii/$ zzz tzz)*U3X]]_E--/" 	
 /3
888"cEk]"#5u=>J!HH,,,
    
      ;;;#LLC%K=1CU(K'LJ!KK///  -       0s   E=J AJ)J9J:JJJ	JJJ2J3	J<J=JJ *J
J	JJJJJJc                &   < V ^8  d   QhRRRRRR/# )r   rB   r   rC   r	   r-   r   rD   )r   r   s   "r   r   r    }   s%     
 
 
+;
	
r!   c                    VP                   pV P                  V P                  ,           pW4,
          ^8  d   \        W34      # \        P                  ! WV P
                  4      w  rV\        WT,           Wd,           4      pVP                  V4      pV# )   )rJ   r'   r%   r   rL   r   with_maximum)r(   rB   rC   rJ   extra_widthmeasure_minmeasure_maxmeasurements   &&&     r   __rich_measure__Padding.__rich_measure__}   sv     %%	ii$**,"Q&y44#.??7T__#U !+";[=VW!..y9r!   )r&   r   r'   r   r%   r   r$   N))r   r   r   r   )__name__
__module____qualname____firstlineno____doc__r)   classmethodr1   staticmethodr#   r?   rW   ra   __static_attributes____classdictcell__)r   s   @r   r   r      su     
 $*   G G W Wd d,0 ,0\
 
r!   r   __main__)printzHello, Worldzon blue)r   N)r      )typingr   r   r   r   r   rB   r   r	   r
   r   jupyterr   measurer   segmentr   r   r   r.   r   r   rc   pip._vendor.richrm   rD   r!   r   <module>rt      s    > >  "    #uSz5c?E#sCQTBT<UUV tl tn z&	'.&	
:; r!   