+
     h!  c            
       sr   ^ RI t ^ RIt^ 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 ^ RIHt ^ RIHt ^ R	IHt ^ R
IHt ^ RIHt ^ RIHt ^ RIHt  ! R R4      tR R lt] R8X  Ed   ]	! ]PB                  ! 4       RR7      t"]! 4       t#]! 4       t$]"PK                  ]#4       ]&! ]! 4       ]$,
          R,          ^4      t']PB                  ! 4       ]"n(        ]! 4       t$]"PK                  ]#4       ]&! ]! 4       ]$,
          R,          ^4      t)]	! RR7      t*]*PK                  ]#4       ]%! R]' R24       ]%! R]) R24       ^ RI+H,t, ]	! 4       t"]PZ                  ! ^R7      t.].P_                  RRR7       ].P_                  RR7       ].Pa                  R R!4       ].Pa                  R"R#4       ]Pb                  ! R$4      t2]PZ                  ! ^R7      t3]3P_                  4        ]3P_                  RR7       ]3Pa                  ]2].4       ]"PK                  ],Ph                  ! ]3]Pj                  R*R%R&R'7      R(R)7       R# R# )+    N)process_time)box)Color)ConsoleConsoleOptionsGroupRenderableTypeRenderResult)Markdown)Measurement)Pretty)Segment)Style)SyntaxTable)Textc                   sD   a  ] tR t^t o V 3R lR ltV 3R lR ltRtV tR# )ColorBoxc                s,   < V ^8  d   QhRS[ RS[RS[/# )   consoleoptionsreturn)r   r   r   format__classdict__   ">/usr/lib/python3.14/site-packages/pip/_vendor/rich/__main__.py__annotate__ColorBox.__annotate__   s%     ! !!)7!	!    c           
   #  sJ  "   \        ^ ^4       EF  p\        VP                  4       F  pWBP                  ,          pRV^,          R,          ,           p\        P                  ! WVR4      w  rxp	\        P                  ! WVR,           R4      w  rp\        P
                  ! V^,          V^,          V	^,          4      p\        P
                  ! V
^,          V^,          V^,          4      p\        R\        WR7      4      x  K  	  \        P                  ! 4       x  EK  	  R# 5i)r    g?gffffff?g      ?u   ▄)colorbgcolorNgQ?)	Zrange	max_widthcolorsysZ
hls_to_rgbr   Zfrom_rgbr   r   Zline)selfr   r   ZyZxZhZlZr1Zg1Zb1Zr2Zg2Zb2r    r   s   &&&            r   __rich_console__ZColorBox.__rich_console__   s      q!A7,,-)))AES=)%00s;
%00L#F
..c28R#XFrCxc28DeU%HII . ,,.  s   D!D#c                s*   < V ^8  d   QhRRRS[ RS[/# )r   r   r   r   r   )r   r
   r   r   r   r   r   !   s%     1 1 1+91	1r   c                s.    \        ^VP                  4      # )   )r
   r!   )r#   r   r   s   &&&r   __rich_measure__ZColorBox.__rich_measure__!   s     1g//00r    N)__name__Z
__module__Z__qualname__Z__firstlineno__r$   r&   Z__static_attributes__Z__classdictcell__)r   s   @r   r   r      s     ! !1 1r   r   c                s$    V ^8  d   QhR\         /# )r   r   r   r      "r   r   r   '   s     g g gr   c                 sD   \         P                  ! ^RR7      p RV n        V P                  RRRRR7       V P                  R4       \        R	R
R
R
R
R7      pVP	                  R\        4       4       V P	                  RV4       V P	                  RR4       Rp\         P                  ! ^RR7      pR
Vn        VP	                  \        VRRR7      \        VRRR7      \        VRRR7      \        VRRR7      4       V P	                  R\        \        P                  ! R4      V4      4       R R lpV P	                  RR4       R pV P	                  R!V4       \        R
RR
R"R#.\        P                  R$7      pVP                  R%RRR&7       VP                  R'RR(7       VP                  R)R*RRR+7       VP                  R,R-RRR+7       VP	                  R.R/R0R14       VP	                  R2R3R0R44       VP	                  R5R6R7R84       VP	                  R9R:R;R<4       V P	                  R=V4       R>pR?R@RK.RARL/pV P	                  RBV! \        VRCRRRD7      \        VRRE7      4      4       RFp	V P	                  RGV! RHV	,           \        V	4      4      4       V P	                  RIRJ4       V # )Mz8Get a renderable that demonstrates a number of features.T)paddingpad_edgezRich featuresZFeaturecenterzbold red)no_wrapjustifystyleZDemonstrationNF)r   expandshow_header	show_edger,   u   ✓ [bold green]4-bit color[/]
✓ [bold blue]8-bit color[/]
✓ [bold magenta]Truecolor (16.7 million)[/]
✓ [bold yellow]Dumb terminals[/]
✓ [bold cyan]Automatic color conversionZColorsZStyleszAll ansi styles: [bold]bold[/], [dim]dim[/], [italic]italic[/italic], [underline]underline[/], [strike]strikethrough[/], [reverse]reverse[/], and even [blink]blink[/].zLorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a at justo. Maecenas luctus velit et auctor maximus.)r+   Zcollapse_paddingZleftgreen)r/   r0   ZyellowrightZblueZfullZredr   z[Word wrap text. Justify [green]left[/], [yellow]center[/], [blue]right[/] or [red]full[/].
c                s<    V ^8  d   QhR\         R\         R\        /# )r   renderable1renderable2r   )r   r   r)   r*   r   r   Z$make_test_card.<locals>.__annotate__Z   s"       ^ PU r   c                 s    \        R R RRR7      pVP                  R^R7       VP                  R^R7       VP                  W4       V# )FNT)r2   r,   r   r1   Z1)ZratioZ2)r   
add_columnadd_row)r6   r7   tables   && r   
comparisonZ"make_test_card.<locals>.comparisonZ   sI    %%T$OA&A&k/r   zAsian
language
supportu!  :flag_for_china:  该库支持中文，日文和韩文文本！
:flag_for_japan:  ライブラリは中国語、日本語、韓国語のテキストをサポートしています
:flag_for_south_korea:  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다z[bold magenta]Rich[/] supports a simple [i]bbcode[/i]-like [b]markup[/b] for [yellow]color[/], [underline]style[/], and emoji! :+1: :apple: :ant: :bear: :baguette_bread: :bus: ZMarkupZnoneZdim)r3   r2   r1   Z
row_stylesr   z[green]Date)r0   r.   z[blue]Title)r0   z[cyan]Production BudgetZcyan)r0   r/   r.   z[magenta]Box OfficeZmagentazDec 20, 2019z Star Wars: The Rise of Skywalkerz$275,000,000z$375,126,118zMay 25, 2018z[b]Solo[/]: A Star Wars Storyz$393,151,347zDec 15, 2017z!Star Wars Ep. VIII: The Last Jediz$262,000,000z[bold]$1,332,539,889[/bold]zMay 19, 1999z-Star Wars Ep. [b]I[/b]: [i]The phantom Menacez$115,000,000z$1,027,044,677ZTablesa~  def iter_last(values: Iterable[T]) -> Iterable[Tuple[bool, T]]:
    """Iterate and generate a tuple with a flag for last value."""
    iter_values = iter(values)
    try:
        previous_value = next(iter_values)
    except StopIteration:
        return
    for value in iter_values:
        yield False, previous_value
        previous_value = value
    yield True, previous_valueZfoog?$	@Zatomicz%Syntax
highlighting
&
pretty
printingZpython3)Zline_numbersindent_guides)r<   z# Markdown

Supports much of the *markdown* __syntax__!

- Headers
- Basic formatting: **bold**, *italic*, `code`
- Block quotes
- Lists, and more...
    r	   z[cyan]z+more!zBProgress bars, columns, styled logging handler, tracebacks, etc...)zPaul AtreideszVladimir HarkonnenzThufir Hawat)FTN)r   gridtitler8   r9   r   r,   r   r   from_markupr   ZSIMPLEr   r   r	   )
r:   Zcolor_tableZloremZlorem_tabler;   Zmarkup_exampleZexample_tableZcodeZpretty_dataZmarkdown_examples
             r   make_test_cardr@   '   s   JJq40E!EK	YhjQ	_%K 8 	
	 
MM(K(	MM 	r
 jE**Q>K KUF'2UHH5UG62UF%0	 
MMr 		
 
MM" 	n	<  
MM(N+E?JJM ]'4H]&9!	   	   *	 '	 +%	 7	 
MM(M*"D 	
 	%
K 
MM34TJ;d3	
	 
MMJx*::HEU<VW 
MMP Lr   Z__main__T)fileZforce_terminalg     @@)Zrecordzrendered in zms (cold cache)zms (warm cache))Panel)r+   r4   r5   )r0   r/   )r.   Z
TextualizezH[u blue link=https://github.com/textualize]https://github.com/textualizeZTwitterzL[u blue link=https://twitter.com/willmcgugan]https://twitter.com/willmcguganzWe hope you enjoy using Rich!

Rich is maintained with [red]:heart:[/] by [link=https://www.textualize.io]Textualize.io[/]

- Will McGuganz"[b red]Thanks for trying out Rich!Zbright_blue)r   r+   r>   Zborder_styler-   )r/   )r%   r   )6r"   ZioZtimer   Zpip._vendor.richr   Zpip._vendor.rich.colorr   Zpip._vendor.rich.consoler   r   r   r   r   Zpip._vendor.rich.markdownr	   Zpip._vendor.rich.measurer
   Zpip._vendor.rich.prettyr   Zpip._vendor.rich.segmentr   Zpip._vendor.rich.styler   Zpip._vendor.rich.syntaxr   Zpip._vendor.rich.tabler   Zpip._vendor.rich.textr   r   r@   r(   ZStringIOr   Z	test_cardZstartZprintZroundZpre_cache_takenrA   ZtakenZcZpip._vendor.rich.panelrB   r=   Zsponsor_messager8   r9   r?   Zintro_messageZmessageZfitZROUNDEDr'   r   r   <module>rC      s    	    ( a a . 0 * , ( * ( &1 1*gT z[[]G  I NEMM)\^e3v=qAO;;=GLNEMM)<>E)V3Q7EtAGGI	L)
9:	L
/0,iGjj+OWg>t,R V
 $$	M jj#Gt$OOM?3MM		6&	
   	o r   