Ë
    ‰;ºiø  ã                   ó  — d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	m
Z
 d dlZd dlZd dlZedefd„«       Z ed	d
de¬«      Z ej                   edgddgdg¬«        ej"                  d ed¬«      d¬«       d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ  ej>                  e«        ej>                  e«        ej>                  e«        ej>                  e«        ej>                  e«        ej>                  e«       y)é    )Úasynccontextmanager)ÚFastAPI)ÚStaticFiles)ÚCORSMiddleware)ÚengineÚBaseNÚappc                ó$  K  — t         j                  j                  t        ¬«       	 ddlm}  |«       ƒ d {  –—†  d ­–— 	 ddlm}  |«       ƒ d {  –—†  y 7 Œ # t        $ r}t        d|› �«       Y d }~Œ:d }~ww xY w7 Œ+# t        $ r Y y w xY w­w)N)Úbindr   )Ústart_telethonu+   âš ï¸�  Telegram Telethon startup skipped: )Ústop_telethon)	r   ÚmetadataÚ
create_allr   Ú&app.services.telegram_telethon_servicer   Ú	ExceptionÚprintr   )r	   r   Úer   s       ú`/var/labsstorage/home/Thilakkumar/htdocs/soical-media-automation/automation_platform/app/main.pyÚlifespanr      sŠ   è ø€ ô 	‡M�M×Ñ¤&ÐÔ)ðAÝIÙÓ×Ðô 
ðÝHÙ‹o×Ñð 	ùÜò AÜÐ;¸A¸3Ð?×@Ñ@ûðAúð 	ùÜò Ùðüss   ‚%B¨A ¸A¹A ½BÁB ÁA?ÁB ÁBÁA Á	A<Á$A7Á2BÁ7A<Á<BÁ?B Â	BÂ
BÂBÂBz!One Click Social Media Automationz.Post to all your social platforms in one clickz1.0.0)ÚtitleÚdescriptionÚversionr   Ú*T)Úallow_originsÚallow_credentialsÚallow_methodsÚallow_headersz/staticÚstatic)Ú	directory)Úname)Úrouter) Ú
contextlibr   Úfastapir   Úfastapi.staticfilesr   Úfastapi.middleware.corsr   Úapp.databaser   r   Úapp.models.userr	   Úapp.models.platformÚapp.models.api_keysr   Úadd_middlewareÚmountÚapp.routers.auth_routerr!   Úauth_routerÚapp.routers.dashboard_routerÚdashboard_routerÚapp.routers.connect_routerÚconnect_routerÚapp.routers.post_routerÚpost_routerÚ!app.routers.linkedin_oauth_routerÚlinkedin_oauth_routerÚapp.routers.telegram_routerÚtelegram_routerÚinclude_router© ó    r   ú<module>r;      s  ðÝ *Ý Ý +Ý 2ß %ó Û Û ð ð˜ò ó ðñ* Ø
-Ø@ØØô	€ð €× Ñ ØØ�%ØØ�%Ø�%õð 
€‡	�	ˆ)‘[¨8Ô4¸8Õ Dõ :Ý CÝ ?Ý 9Ý MÝ Aà €× Ñ �;Ô Ø €× Ñ Ð#Ô $Ø €× Ñ �>Ô "Ø €× Ñ �;Ô Ø €× Ñ Ð(Ô )Ø €× Ñ �?Õ #r:   