+
     h  c                   sJ   ^ RI Ht ^ RIHt ^ RIHt ^ RIHtHtH	t	H
t
Ht ^RIHtHt ^RIHtHtHtHt ^RIHt ^RIHt ^R	IHtHt ^R
IHt ^RIHt ^RIH t   ! R R] 4      t!]"R8X  d   ^ RI#t#]! 4       t]$! ]%! ]#PL                  ! 4       4      4       U Uu. uF  w  rV  RV 2NK  	  upp t']!! ]'RRRR7      t(]PS                  ](4       ]PU                  4        R](n+        ]PS                  ](4       R](n,        ]PU                  4        ]PS                  ](4       R# R# u upp i )    )defaultdict)chain)
itemgetter)DictIterableListOptionalTuple)AlignAlignMethod)ConsoleConsoleOptionsRenderableTypeRenderResult)	Constrain)Measurement)PaddingPaddingDimensions)Table)TextType)JupyterMixinc                   s~   a  ] tR t^t o RtRRRRRRRRRRRR	RR
R/V 3R lR llltV 3R lR ltV 3R lR ltRtV t	R# )Columnsab  Display renderables in neat columns.

Args:
    renderables (Iterable[RenderableType]): Any number of Rich renderables (including str).
    width (int, optional): The desired width of the columns, or None to auto detect. Defaults to None.
    padding (PaddingDimensions, optional): Optional padding around cells. Defaults to (0, 1).
    expand (bool, optional): Expand columns to full width. Defaults to False.
    equal (bool, optional): Arrange in to equal sized columns. Defaults to False.
    column_first (bool, optional): Align items from top to bottom (rather than left to right). Defaults to False.
    right_to_left (bool, optional): Start column from right hand side. Defaults to False.
    align (str, optional): Align value ("left", "right", or "center") or None for default. Defaults to None.
    title (TextType, optional): Optional title for Columns.
NwidthexpandFequalcolumn_firstright_to_leftaligntitlec                s   < V ^8  d   QhRS[ S[S[,          ,          RS[RS[ S[,          RS[RS[RS[RS[RS[ S[,          R	S[ S[,          R
R/
# )   renderablespaddingr   r   r   r   r   r   r   returnN)r   r   r   r   intZboolr
   r   format__classdict__   "=/usr/lib/python3.14/site-packages/pip/_vendor/rich/columns.py__annotate__Columns.__annotate__   s      h~67 #
 }     $ ! 
    c               s    \        T;'       g    . 4      V n        W0n        W n        W@n        WPn        W`n        Wpn        Wn        Wn	        R # )N)
listr   r   r    r   r   r   r   r   r   )
selfr   r    r   r   r   r   r   r   r   s
   &&&$$$$$$$r'   __init__ZColumns.__init__   sC       1 1r2

(*,1

r*   c                s$   < V ^8  d   QhRS[ RR/# )r   
renderabler!   N)r   r#   r&   r'   r(   r)   6   s     , , ,D ,r*   c                s<    V P                   P                  V4       R# )z`Add a renderable to the columns.

Args:
    renderable (RenderableType): Any renderable object.
N)r   Zappend)r,   r.   s   &&r'   add_renderableZColumns.add_renderable6   s     	
+r*   c                s,   < V ^8  d   QhRS[ RS[RS[/# )r   consoleoptionsr!   )r   r   r   r#   r&   r'   r(   r)   >   s*     m mm)7m	mr*   c              #  s  a aa"   VP                   pS P                   Uu. uF#  p\        V\        4      '       d	   V! V4      MTNK%  	  upoS'       g   R # \        P
                  ! S P                  4      w  rVrx\        W4      p	VP                  p
\        \        4      p\        S4      p\        P                  pS Uu. uF  pV! WV4      P                  NK  	  upoS P                  '       d   \        S4      .\        S4      ,          oR VVV 3R llp\         P"                  ! S P                  RRR7      pS P$                  Vn        S P&                  Vn        S P(                  eJ   V
S P(                  V	,           ,          p\+        V4       F  pVP-                  S P(                  R7       K!  	  MV^8  d   VP/                  4        ^ pV! V4       F  w  pp\        VV,          V4      VV&   \1        VP3                  4       4      V	\        V4      ^,
          ,          ,           pVV
8  d   \        V4      ^,
          p K  V^,           V,          pK  	   \5        ^4      pV! V4       Uu. uF  pV! V4      NK  	  ppS P                  '       d)   V Uu. uF  pVf   R M\7        VS^ ,          4      NK  	  ppS P8                  '       d1   S P8                  p\:        pV Uu. uF  pVf   R MV! VV4      NK  	  ppS P<                  pVP>                  p\+        ^ \        V4      V4       F)  pVVVV,            pV'       d   VR R R1,          pV! V!   K+  	  Vx  R # u upi u upi u upi u upi u upi 5i)Nc                s~    V ^8  d   QhR\         R\        \        \         \        \        ,          3,          ,          /# )r   column_countr!   )r"   r   r   r   r   )r$   s   "r'   r(   Z.Columns.__rich_console__.<locals>.__annotate__V   s0     	" 	"	"eC.!99:;	"r*   c              3   s  <"   \        S4      pSP                  '       Ed   \        \        SS4      4      pW,          .V ,          p\	        W,          4       F  pW4;;,          ^,          uu&   K  	  W,           ^,
          V ,          p\	        V4       Uu. uF  pR.V ,          NK  	  pp^ ;r\	        V4       FF  p
WV,          V	&   W9;;,          ^,          uu&   W9,          '       d   V^,          pK;  V	^,          p	^ pKH  	  \
        P                  ! V4       F  p
V
R8X  d    M#W*,          x  K  	  M\        SS4       Rj  xL
  W,          '       d&   \	        WV ,          ,
          4       F  pRx  K	  	  R# R# u upi  L>5i)   N)r    N)lenr   r+   Zzipranger   Zfrom_iterable)r2   Z
item_countZwidth_renderablesZcolumn_lengthsZcol_noZ	row_count_ZcellsrowZcolZindexrenderable_widthsr   r,   s   &          r'   iter_renderablesZ2Columns.__rich_console__.<locals>.iter_renderablesV   s\     [)J   $(->)L$M!-7-G,H<,W#J$=>F"*a/* ? (6:|K	6;I6FG6F",,6FG":.E&+#JsO"'1,'%**qq / #007E{+22 8
 0+>>>((|L/HIJA!M K )# H ?s   BFE=)BFF?FTF)r    Zcollapse_paddingZpad_edge)r   r4   ) 
render_strr   Z
isinstanceZstrr   Zunpackr    Zmax	max_widthr   r"   r5   r   ZgetZmaximumr   r   Zgridr   r   r   r6   Z
add_columnZclearZsumZvaluesr   r   r   r	   r   add_row)r,   r0   r1   r;   r.   Z_topZrightZ_bottomZleftZwidth_paddingr<   Zwidthsr2   Zget_measurementr:   tabler7   Z	column_noZrenderable_widthZtotal_widthZget_renderableZ_renderableZ_renderablesr   Z_Alignr   r=   Zstartr8   r9   r   s   f&&                          @@r'   __rich_console__ZColumns.__rich_console__>   sM     ''
 #..
.
 '1S&A&AJz"zQ.
 %,^^DLL%A"WD(%%	!,S!1;'%// *
)
 Gj9AA)
 :::!$%6!7 83?P;Q Q	" 	"B 

4<<$QVW{{jj::!%4::+EFL<(  tzz 2 ) "	+;L+I'$a(+F9,=?O(PF9%"%fmmo"6Fa: #K #Y.'*6{Q%.]l$B	 ,J #A  0=
= ;'= 	 
 :::
 #/	 #/J % z+<Q+?@A #/	   :::JJEF #/".J #*z50II".  
 **--1c,/>Euu|';<C$B$iSM	 ?
 S

D

sU   M5)M	
M5A*M5>M!M5/E=M5,M&=M5"M+7M5M5!M09A<M5)	r   r   r   r   r    r   r   r   r   )Nr    r3   )
__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r-   r/   r?   Z__static_attributes__Z__classdictcell__)r%   s   @r'   r   r      sp     
  $   # $ (, %) ., ,m mr*   r   Z__main__NZ F)r    r   r   Tr@   )-Zcollectionsr   Z	itertoolsr   Zoperatorr   Ztypingr   r   r   r   r   r   r	   r
   r0   r   r   r   r   Z	constrainr   Zmeasurer   r    r   r   r>   r   Ztextr   Zjupyterr   r   rA   ZosZ	enumerateZsortedZlistdirZfilesZcolumnsZprintZruler   r   )ZiZss   00r'   <module>rB      s    #   8 8 % J J     /   ![l [| ziG$-fRZZ\.B$CD$CDAs!A3Z$CDEeVEGGMM'LLNGMM' GLLNMM' 
 Es   D