Ë
    ûûàgU  ã                   óZ   — d dl mZ d dlmZ d dlmZ  G d„ de«      Z G d„ de«      ZegZy)	é    )ÚProviderAccount)ÚFoursquareOAuth2Adapter)ÚOAuth2Providerc                   ó*   ‡ — e Zd Zd„ Zd„ Zˆ fd„Zˆ xZS )ÚFoursquareAccountc                 óR   — d| j                   j                  j                  d«      z   S )Nzhttps://foursquare.com/user/Úid©ÚaccountÚ
extra_dataÚget©Úselfs    úq/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/allauth/socialaccount/providers/foursquare/provider.pyÚget_profile_urlz!FoursquareAccount.get_profile_url	   s"   € Ø-°·±×0GÑ0G×0KÑ0KÈDÓ0QÑQÐQó    c                 óL   — | j                   j                  j                  d«      S )NÚphotor
   r   s    r   Úget_avatar_urlz FoursquareAccount.get_avatar_url   s   € Ø�|‰|×&Ñ&×*Ñ*¨7Ó3Ð3r   c                 óŒ   •— t         ‰| �  «       }| j                  j                  j	                  di «      j	                  d|«      S )NÚcontactÚemail)ÚsuperÚto_strr   r   r   )r   ÚdfltÚ	__class__s     €r   r   zFoursquareAccount.to_str   s9   ø€ Ü‰w‰~ÓˆØ�|‰|×&Ñ&×*Ñ*¨9°bÓ9×=Ñ=¸gÀtÓLÐLr   )Ú__name__Ú
__module__Ú__qualname__r   r   r   Ú__classcell__)r   s   @r   r   r      s   ø„ òRò4÷Mð Mr   r   c                   ó(   — e Zd ZdZdZeZeZd„ Z	d„ Z
y)ÚFoursquareProviderÚ
foursquareÚ
Foursquarec                 ó   — t        |d   «      S )Nr	   )Ústr©r   Údatas     r   Úextract_uidzFoursquareProvider.extract_uid   s   € Ü�4˜‘:‹Ðr   c                 ó–   — t        |j                  d«      |j                  d«      |j                  d«      j                  d«      ¬«      S )NÚ	firstnameÚlastnamer   r   )Ú
first_nameÚ	last_namer   )Údictr   r'   s     r   Úextract_common_fieldsz(FoursquareProvider.extract_common_fields   s>   € ÜØ—x‘x Ó,Ø—h‘h˜zÓ*Ø—(‘(˜9Ó%×)Ñ)¨'Ó2ô
ð 	
r   N)r   r   r   r	   Únamer   Úaccount_classr   Úoauth2_adapter_classr)   r0   © r   r   r"   r"      s!   „ Ø	€BØ€DØ%€MØ2Ðòó
r   r"   N)	Ú$allauth.socialaccount.providers.baser   Ú0allauth.socialaccount.providers.foursquare.viewsr   Ú/allauth.socialaccount.providers.oauth2.providerr   r   r"   Úprovider_classesr4   r   r   ú<module>r9      s8   ðÝ @õõ Kô	M˜ô 	Mô
˜ô 
ð" 'Ð'Ñ r   