
    ,h                     Z    d dl mZ d dlmZ  G d de      Z G d d      Z G d d      Zy	)
    )Enum)Optionalc                       e Zd ZdZdZy)
LoginStateSignInSignUpN)__name__
__module____qualname__SIGN_INSIGN_UP     i/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/selenium/webdriver/common/fedcm/account.pyr   r      s    GGr   r   c                   ,    e Zd Zd Zdee   fdZddZy)_AccountDescriptorc                     || _         y N)name)selfr   s     r   __init__z_AccountDescriptor.__init__   s	    	r   returnc                 L    |j                   j                  | j                        S r   )_account_datagetr   )r   objclss      r   __get__z_AccountDescriptor.__get__   s      $$TYY//r   Nc                     t        d      )NzCannot set readonly attribute)AttributeError)r   r   values      r   __set__z_AccountDescriptor.__set__"   s    <==r   )r   N)r	   r
   r   r   r   strr   r"   r   r   r   r   r      s    08C= 0>r   r   c                       e Zd ZdZ ed      Z ed      Z ed      Z ed      Z ed      Z	 ed      Z
 ed      Z ed	      Z ed
      Zd Zy)AccountzRepresents an account displayed in a FedCM account list.

    See: https://w3c-fedid.github.io/FedCM/#dictdef-identityprovideraccount
         https://w3c-fedid.github.io/FedCM/#webdriver-accountlist
    	accountIdemailr   	givenName
pictureUrlidpConfigUrltermsOfServiceUrlprivacyPolicyUrl
loginStatec                     || _         y r   )r   )r   account_datas     r   r   zAccount.__init__7   s
    )r   N)r	   r
   r   __doc__r   
account_idr'   r   
given_namepicture_urlidp_config_urlterms_of_service_urlprivacy_policy_urllogin_stater   r   r   r   r%   r%   &   sl     $K0Jw'Ef%D#K0J$\2K'7N-.AB+,>?$\2K*r   r%   N)enumr   typingr   r   r   r%   r   r   r   <module>r:      s-   $   
> >* *r   