Ë
    øÄñj:  ã                   ó8   — d dl mZ ddlmZmZ ddlmZ defd„Zy)é    )ÚQgsServerInterfaceé   )Úcheck_environment_variableÚunwrap)ÚloggerÚserver_ifacec                 óŠ  — 	 ddl m} 	 ddlm} t	        «       st        j                  d«       y |rN|rLddlm} t        j                  d«       t        | j                  «       «      }|j                   || «      «       y ddlm} t        j                  d«        || «       y # t        $ r d }Y Œ¨w xY w# t        $ r d }Y Œ²w xY w)	Nr   )Ú__version__zLizmap api endpoint disabledr   )Ú	LizmapApizLizmap api endpoint enabled)Úregister_server_info_handlerzzPydantic is not installed but it is required for activatiting the full lizmap api.
Only server info api will be available.)Úpydanticr
   ÚImportErrorÚpydantic_extra_typesr   r   ÚwarningÚapi.handlersr   Úinfor   ÚserviceRegistryÚregisterApiÚlegacy_server_info_handlerr   )r   Úpydantic_versionÚpydantic_extra_types_versionr   Úservice_registryr   s         ú@/var/www/qgis-server/plugins/lizmap_server/lizmap_api_handler.pyÚregister_lizmap_apir      s²   € ð Ý<ð,ÝTô
 &Ô'Ü�‰Ð5Ô6ØáÑ8Ý+ä�‰Ð1Ô2Ü! ,×">Ñ">Ó"@ÓAÐØ×$Ñ$¡Y¨|Ó%<Õ=åLä�‰ð6ô	
ñ 	% \Õ2øô5 ò  ØÒð ûô
 ò ,Ø'+Ò$ð,ús"   ‚B# ‰B4 Â#B1Â0B1Â4CÃCN)Úqgis.serverr   Útoolsr   r   Ú r   r   © ó    r   ú<module>r       s   ðõ
 +ç 5å ð3Ð&8ô 3r   