§
    Y¦·f{  ã                   ó    —  G d „ d¦  «        Z dS )c                   óH   — e Zd ZdZd„ Zd„ Zd„ Zd„ Zd„ Zd„ Z	d„ Z
d	„ Zd
„ ZdS )ÚAccountManagera*  I am responsible for managing a user's accounts.

    That is, remembering what accounts are available, their settings,
    adding and removal of accounts, etc.

    @ivar accounts: A collection of available accounts.
    @type accounts: mapping of strings to L{Account<interfaces.IAccount>}s.
    c                 ó   — i | _         d S ©N©Úaccounts©Úselfs    úN/var/www/html/env/lib/python3.11/site-packages/twisted/words/im/baseaccount.pyÚ__init__zAccountManager.__init__   s   € ØˆŒˆˆó    c                 ó¶   — g }| j                              ¦   «         D ]<}|                     |j        |                     ¦   «         |j        |j        f¦  «         Œ=|S )zÕA snapshot of all the accounts and their status.

        @returns: A list of tuples, each of the form
            (string:accountName, boolean:isOnline,
            boolean:autoLogin, string:gatewayType)
        )r   ÚvaluesÚappendÚaccountNameÚisOnlineÚ	autoLoginÚgatewayType)r	   ÚdataÚaccounts      r
   ÚgetSnapShotzAccountManager.getSnapShot   sn   € ð ˆØ”}×+Ò+Ñ-Ô-ð 	ð 	ˆGØKŠKàÔ'Ø×$Ò$Ñ&Ô&ØÔ%ØÔ'ð	ñô ð ð ð ˆr   c                 ó2   — t          | j        ¦  «        dk    S )Né    )Úlenr   r   s    r
   ÚisEmptyzAccountManager.isEmpty)   s   € Ý4”=Ñ!Ô! QÒ&Ð&r   c                 ó   — g }| j                              ¦   «         D ])}|                     |                     ¦   «         ¦  «         Œ*|S r   )r   r   r   r   )r	   Úconnectioninfor   s      r
   ÚgetConnectionInfoz AccountManager.getConnectionInfo,   sM   € ØˆØ”}×+Ò+Ñ-Ô-ð 	6ð 	6ˆGØ×!Ò! '×"2Ò"2Ñ"4Ô"4Ñ5Ô5Ð5Ð5ØÐr   c                 ó$   — || j         |j        <   d S r   )r   r   )r	   r   s     r
   Ú
addAccountzAccountManager.addAccount2   s   € Ø-4ˆŒgÔ)Ñ*Ð*Ð*r   c                 ó   — | j         |= d S r   r   ©r	   r   s     r
   Ú
delAccountzAccountManager.delAccount5   s   € ØŒM˜+Ð&Ð&Ð&r   c                 óB   — | j         |                              |¦  «        S )z=
        @returntype: Deferred L{interfaces.IClient}
        )r   ÚlogOn)r	   r   Úchatuis      r
   ÚconnectzAccountManager.connect8   s   € ð Œ}˜[Ô)×/Ò/°Ñ7Ô7Ð7r   c                 ó   — d S r   © r!   s     r
   Ú
disconnectzAccountManager.disconnect>   ó   € Øˆr   c                 ó   — d S r   r(   r   s    r
   ÚquitzAccountManager.quitB   r*   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r"   r&   r)   r,   r(   r   r
   r   r   	   s¥   € € € € € ðð ðð ð ðð ð ð&'ð 'ð 'ðð ð ð5ð 5ð 5ð'ð 'ð 'ð8ð 8ð 8ðð ð ðð ð ð ð r   r   N)r   r(   r   r
   ú<module>r1      s7   ðð:ð :ð :ð :ð :ñ :ô :ð :ð :ð :r   