
    k7i              	       P    S r SSKJrJr  \(       a  SSKJr  SS\S\S\SS4S	 jjrg
)z8Cyclopts panel utilities for Rich-based terminal output.    )TYPE_CHECKINGAnyPanelmessagetitlestylereturnr   c           	      t    SSK Jn  SSKJn  SSKJn  U" U" [        U 5      S5      UUUR                  SSS9nU$ )	uA  Create a :class:`~rich.panel.Panel` with a consistent style.

The resulting panel can be displayed using a :class:`~rich.console.Console`.

.. code-block:: text

    ╭─ Title ──────────────────────────────────╮
    │ Message content here.                    │
    ╰──────────────────────────────────────────╯

Parameters
----------
message: Any
    The body of the panel will be filled with the stringified version of the message.
title: str
    Title of the panel that appears in the top-left corner.
style: str
    Rich `style <https://rich.readthedocs.io/en/stable/style.html>`_ for the panel border.

Returns
-------
~rich.panel.Panel
    Formatted panel object.
r   )boxr   )TextdefaultTleft)r   r	   r   expandtitle_align)richr   
rich.panelr   	rich.textr   strROUNDED)r   r   r	   r   r   r   panels          H/home/james-whalen/.local/lib/python3.13/site-packages/cyclopts/panel.pyCycloptsPanelr   	   s?    2  S\9%KKE L    N)Errorred)__doc__typingr   r   r   r   r   r    r   r   <module>r       s2    > % %3 %s %S %W %r   