
    chn                        S SK Jr  S SKJrJr  S SKJr  S SKJr	  S SK
Jr  S SKJrJr  \(       a  S SKJr  S SKJr  SS	 jr " S
 S5      rg)    )annotations)TYPE_CHECKINGcast)StreamlitAPIException)Toast)gather_metrics)
clean_textvalidate_icon_or_emoji)DeltaGenerator)SupportsStrc                :    [        U 5      S:X  a  [        S5      eU $ )N z6Toast body cannot be blank - please provide a message.)strr   )
toast_texts    kC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\streamlit/elements/toast.pyvalidate_textr      s&    
:"#D
 	
     c                  Z    \ rS rSr\" S5      SS.     SS jj5       r\S	S j5       rSrg)

ToastMixin%   toastN)iconc                   [        5       n[        [        U5      5      Ul        [	        U5      Ul        U R                  R                  SU5      $ )uL  Display a short message, known as a notification "toast".
The toast appears in the app's top-right corner and disappears after four seconds.

.. warning::
    ``st.toast`` is not compatible with Streamlit's `caching             <https://docs.streamlit.io/develop/concepts/architecture/caching>`_ and
    cannot be called within a cached function.

Parameters
----------
body : str
    The string to display as GitHub-flavored Markdown. Syntax
    information can be found at: https://github.github.com/gfm.

    See the ``body`` parameter of |st.markdown|_ for additional,
    supported Markdown directives.

    .. |st.markdown| replace:: ``st.markdown``
    .. _st.markdown: https://docs.streamlit.io/develop/api-reference/text/st.markdown

icon : str, None
    An optional emoji or icon to display next to the alert. If ``icon``
    is ``None`` (default), no icon is displayed. If ``icon`` is a
    string, the following options are valid:

    - A single-character emoji. For example, you can set ``icon="🚨"``
      or ``icon="🔥"``. Emoji short codes are not supported.

    - An icon from the Material Symbols library (rounded style) in the
      format ``":material/icon_name:"`` where "icon_name" is the name
      of the icon in snake case.

      For example, ``icon=":material/thumb_up:"`` will display the
      Thumb Up icon. Find additional icons in the `Material Symbols               <https://fonts.google.com/icons?icon.set=Material+Symbols&icon.style=Rounded>`_
      font library.


Example
-------
>>> import streamlit as st
>>>
>>> st.toast('Your edited image was saved!', icon='😍')
r   )
ToastProtor	   r   bodyr
   r   dg_enqueue)selfr   r   toast_protos       r   r   ToastMixin.toast&   sB    f !l%mD&9:1$7ww55r   c                    [        SU 5      $ )zGet our DeltaGenerator.r   )r   )r   s    r   r   ToastMixin.dg^   s     $d++r    )r   r   r   z
str | Nonereturnr   )r$   r   )	__name__
__module____qualname____firstlineno__r   r   propertyr   __static_attributes__r#   r   r   r   r   %   sO    G
  	5656 	56
 
56 56n , ,r   r   N)r   r   r$   r   )
__future__r   typingr   r   streamlit.errorsr   streamlit.proto.Toast_pb2r   r   streamlit.runtime.metrics_utilr   streamlit.string_utilr	   r
   streamlit.delta_generatorr   streamlit.type_utilr   r   r   r#   r   r   <module>r3      s1    # & 2 9 9 D8/<, <,r   