
    ch                    r    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  \(       a  S SKJr   " S S5      rg	)
    )annotations)TYPE_CHECKINGcast)Empty)Skeleton)gather_metrics)DeltaGeneratorc                  p    \ rS rSr\" S5      S
S j5       r\" S5      SS.SS jj5       r\S
S j5       rS	r	g)
EmptyMixin   emptyc                N    [        5       nU R                  R                  SU5      $ )u  Insert a single-element container.

Inserts a container into your app that can be used to hold a single element.
This allows you to, for example, remove elements at any point, or replace
several elements at once (using a child multi-element container).

To insert/replace/clear an element on the returned container, you can
use ``with`` notation or just call methods directly on the returned object.
See examples below.

Examples
--------
Inside a ``with st.empty():`` block, each displayed element will
replace the previous one.

>>> import streamlit as st
>>> import time
>>>
>>> with st.empty():
...     for seconds in range(10):
...         st.write(f"⏳ {seconds} seconds have passed")
...         time.sleep(1)
...     st.write(":material/check: 10 seconds over!")
... st.button("Rerun")

.. output::
   https://doc-empty.streamlit.app/
   height: 220px

You can use an ``st.empty`` to replace multiple elements in
succession. Use ``st.container`` inside ``st.empty`` to display (and
later replace) a group of elements.

>>> import streamlit as st
>>> import time
>>>
>>> st.button("Start over")
>>>
>>> placeholder = st.empty()
>>> placeholder.markdown("Hello")
>>> time.sleep(1)
>>>
>>> placeholder.progress(0, "Wait for it...")
>>> time.sleep(1)
>>> placeholder.progress(50, "Wait for it...")
>>> time.sleep(1)
>>> placeholder.progress(100, "Wait for it...")
>>> time.sleep(1)
>>>
>>> with placeholder.container():
...     st.line_chart({"data": [1, 5, 2, 6]})
...     time.sleep(1)
...     st.markdown("3...")
...     time.sleep(1)
...     st.markdown("2...")
...     time.sleep(1)
...     st.markdown("1...")
...     time.sleep(1)
>>>
>>> placeholder.markdown("Poof!")
>>> time.sleep(1)
>>>
>>> placeholder.empty()

.. output::
   https://doc-empty-placeholder.streamlit.app/
   height: 600px

r   )
EmptyProtodg_enqueue)selfempty_protos     kC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\streamlit/elements/empty.pyr   EmptyMixin.empty   s#    N !lww55    	_skeletonN)heightc               h    [        5       nU(       a  Xl        U R                  R                  SU5      $ )a  Insert a single-element container which displays a "skeleton" placeholder.

Inserts a container into your app that can be used to hold a single element.
This allows you to, for example, remove elements at any point, or replace
several elements at once (using a child multi-element container).

To insert/replace/clear an element on the returned container, you can
use ``with`` notation or just call methods directly on the returned object.
See some of the examples below.

This is an internal method and should not be used directly.

Parameters
----------
height: int or None
    Desired height of the skeleton expressed in pixels. If None, a
    default height is used.
skeleton)SkeletonProtor   r   r   )r   r   skeleton_protos      r   r   EmptyMixin._skeletonf   s+    ( '$*!ww
N;;r   c                    [        SU 5      $ )zGet our DeltaGenerator.r	   )r   )r   s    r   r   EmptyMixin.dg   s     $d++r    )returnr	   )r   z
int | Noner!   r	   )
__name__
__module____qualname____firstlineno__r   r   r   propertyr   __static_attributes__r    r   r   r   r      sL    GG6 G6R K 04 < !<0 , ,r   r   N)
__future__r   typingr   r   streamlit.proto.Empty_pb2r   r   streamlit.proto.Skeleton_pb2r   r   streamlit.runtime.metrics_utilr   streamlit.delta_generatorr	   r   r    r   r   <module>r.      s(    # & 9 B 98g, g,r   