+
    '(j-              	          ^ 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   ^ RI!H"t" ]	! ]PF                  ! 4       RR7      t$]! 4       t%]! 4       t&]$PO                  ]%4       ](! ]! 4       ]&,
          R,          ^4      t)]PF                  ! 4       ]$n*        ]! 4       t&]$PO                  ]%4       ](! ]! 4       ]&,
          R,          ^4      t+]	! RR7      t,],PO                  ]%4       ]	! 4       t$]$PO                  R]) R24       ]$PO                  R]+ R24       ]$PO                  4        ]$PO                  ]"! RRRRR7      4       R# R# )     N)process_time)box)Color)ConsoleConsoleOptionsGroupRenderableTypeRenderResult)Markdown)Measurement)Pretty)Segment)Style)SyntaxTable)Textc                   D   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                ,   < V ^8  d   QhRS[ RS[RS[/# )   consoleoptionsreturn)r   r   r
   )format__classdict__s   "B/home/ubuntu/cf-venv/lib/python3.14/site-packages/rich/__main__.py__annotate__ColorBox.__annotate__   s%     ! !!)7!	!    c           
   #  J  "   \        ^ ^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?)	range	max_widthcolorsys
hls_to_rgbr   from_rgbr   r   line)selfr   r   yxhlr1g1b1r2g2b2r#   r"   s   &&&            r   __rich_console__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                *   < V ^8  d   QhRRRS[ RS[/# )r   r   r   r   r   )r   r   )r   r   s   "r   r   r   !   s%     1 1 1+91	1r    c                .    \        ^VP                  4      # )   )r   r%   )r*   r   r   s   &&&r   __rich_measure__ColorBox.__rich_measure__!   s     1g//00r     N)__name__
__module____qualname____firstlineno__r5   r:   __static_attributes____classdictcell__)r   s   @r   r   r      s     ! !1 1r    r   c                $    V ^8  d   QhR\         /# )r   r   r   )r   s   "r   r   r   '   s     g g gr    c                 D   \         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 featuresFeaturecenterzbold red)no_wrapjustifystyleDemonstrationNF)r   expandshow_header	show_edgerF   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 conversionColors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.)rE   collapse_paddingleftgreen)rJ   rK   yellowrightbluefullredr   z[Word wrap text. Justify [green]left[/], [yellow]center[/], [blue]right[/] or [red]full[/].
c                <    V ^8  d   QhR\         R\         R\        /# )r   renderable1renderable2r   )r	   r   )r   s   "r   r   $make_test_card.<locals>.__annotate__Z   s"       ^ PU r    c                     \        R R RRR7      pVP                  R^R7       VP                  R^R7       VP                  W4       V# )FNT)rN   rF   r   rM   1)ratio2)r   
add_columnadd_row)r[   r\   tables   && r   
comparison"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: Markupnonedim)rO   rN   rM   
row_stylesr   z[green]Date)rK   rI   z[blue]Title)rK   z[cyan]Production Budgetcyan)rK   rJ   rI   z[magenta]Box Office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,677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_valuefoog?$	@atomicz%Syntax
highlighting
&
pretty
printingpython3)line_numbersindent_guides)rr   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titlerb   rc   r   rF   r   r   from_markupr   SIMPLEr   r   r   )
rd   color_tableloremlorem_tablere   markup_exampleexample_tablecodepretty_data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    __main__)PanelT)fileforce_terminalg     @@)recordz[dim]rendered in [not dim]zms[/] (cold cache)zms[/] (warm cache)z[b magenta]Hope you enjoy using Rich![/]

Consider sponsoring to ensure this project is maintained.

[cyan]https://github.com/sponsors/willmcgugan[/cyan]rT   zHelp ensure Rich is maintained)border_stylert   rE   )r9   r   )-r&   iotimer   richr   
rich.colorr   rich.consoler   r   r   r	   r
   rich.markdownr   rich.measurer   rich.prettyr   rich.segmentr   
rich.styler   rich.syntaxr   
rich.tabler   	rich.textr   r   r   r=   
rich.panelr   StringIOr   	test_cardstartprintroundpre_cache_takenr   takencr<   r    r   <module>r      sT    	    U U " $       1 1*gT z [[]G  I NEMM)\^e3v=qAO;;=GLNEMM)<>E)V3Q7EtAGGIiGMM..??QRSMM.ug5GHIMMOMMC !2	
	7 r    