§
    ¨MºfO  ã                   ó2   — d dl mZmZ  G d„ de¦  «        ZdS )é    )Ú	ComponentÚ_explicitize_argsc                   óš   ‡ — e Zd ZdZg ZdgZdZd Zee	j
        e	j
        e	j
        e	j
        e	j
        e	j
        e	j
        fˆ fd„	¦   «         Zˆ xZS )ÚLogoutButtonaå  A LogoutButton component.
    Logout button to submit a form post request to the `logout_url` prop.
    Usage is intended for dash-deployment-server authentication.

    DDS usage:

    `dcc.LogoutButton(logout_url=os.getenv('DASH_LOGOUT_URL'))`

    Custom usage:

    - Implement a login mechanism.
    - Create a flask route with a post method handler.
    `@app.server.route('/logout', methods=['POST'])`
      - The logout route should perform what's necessary for the user to logout.
      - If you store the session in a cookie, clear the cookie:
      `rep = flask.Response(); rep.set_cookie('session', '', expires=0)`

    - Create a logout button component and assign it the logout_url
    `dcc.LogoutButton(logout_url='/logout')`

    See https://dash.plotly.com/dash-core-components/logout_button
    for more documentation and examples.

    Keyword arguments:

    - id (string; optional):
        Id of the button.

    - className (string; optional):
        CSS class for the button.

    - label (string; default 'Logout'):
        Text of the button.

    - loading_state (dict; optional):
        Object that holds the loading state object coming from
        dash-renderer.

        `loading_state` is a dict with keys:

        - component_name (string; optional):
            Holds the name of the component that is loading.

        - is_loading (boolean; optional):
            Determines if the component is loading or not.

        - prop_name (string; optional):
            Holds which property is loading.

    - logout_url (string; optional):
        Url to submit a post logout request.

    - method (string; default 'post'):
        Http method to submit the logout form.

    - style (dict; optional):
        Style of the button.ÚchildrenÚdash_core_componentsc                 ó  •‡— g d¢| _         g | _        g d¢| _        g | _        |                     d¦  «        }	t          ¦   «         Š‰                     |¦  «         ˆfd„|	D ¦   «         }
 t          t          | ¦  «        j	        di |
¤Ž d S )N)ÚidÚ	classNameÚlabelÚloading_stateÚ
logout_urlÚmethodÚstyleÚ_explicit_argsc                 ó"   •— i | ]}|‰|         “ŒS © r   )Ú.0ÚkÚ_localss     €úT/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/dash/dcc/LogoutButton.pyú
<dictcomp>z)LogoutButton.__init__.<locals>.<dictcomp>i   s   ø€ Ð6Ð6Ð6 !��7˜1”:Ð6Ð6Ð6ó    r   )
Ú_prop_namesÚ_valid_wildcard_attributesÚavailable_propertiesÚavailable_wildcard_propertiesÚpopÚlocalsÚupdateÚsuperr   Ú__init__)Úselfr
   r   r   r   r   r   r   Úkwargsr   Úargsr   Ú	__class__s              @€r   r"   zLogoutButton.__init__F   s¯   øø€ ð
ð 
ð 
ˆÔð +-ˆÔ'ð%
ð %
ð %
ˆÔ!ð .0ˆÔ*ØŸšÐ$4Ñ5Ô5ˆÝ‘(”(ˆØ�Š�vÑÔÐØ6Ð6Ð6Ð6 ~Ð6Ñ6Ô6ˆà*��l˜DÑ!Ô!Ô*Ð2Ð2¨TÐ2Ð2Ð2Ð2Ð2r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú_children_propsÚ_base_nodesÚ
_namespaceÚ_typer   r   Ú	UNDEFINEDr"   Ú__classcell__)r&   s   @r   r   r      s—   ø€ € € € € ð8 ð 8 ðt €OØ�,€KØ'€JØ€Eàð ÔØÔ!ØÔ&ØÔ!ØÔ"ØÔ%ØÔ)ð$3ð $3ð $3ð $3ð $3ñ Ôð$3ð $3ð $3ð $3ð $3r   r   N)Údash.development.base_componentr   r   r   r   r   r   ú<module>r2      s^   ðð IÐ HÐ HÐ HÐ HÐ HÐ HÐ Hðe3ð e3ð e3ð e3ð e3�9ñ e3ô e3ð e3ð e3ð e3r   