+
    ÆÚj±  ã                  óÔ   € ^ RI Ht ^ RIt^ RIt ]P                  ! ]P
                  RR7      t]P                  ! ]P                  RR7      tR R lt
R	.tR#   ]	 d
    R tR t Li ; i)
é    )ÚannotationsNT)Úmimec                óB   € \         P                  ! V 4      P                  # ©N)ÚmagicÚdetect_from_contentÚ	mime_type©Údatas   &Ú‰/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/mautrix/util/magic.pyÚ<lambda>r      s   € ¤× 9Ò 9¸$Ó ?× IÒ Ió    c                óB   € \         P                  ! V 4      P                  # r   )r   Údetect_from_filenamer	   )Úfiles   &r   r   r      s   € ¤%×"<Ò"<¸TÓ"B×"LÒ"Lr   c               ó    € V ^8„  d   QhRRRR/# )é   r   zbytes | bytearray | strÚreturnÚstr© )Úformats   "r   Ú__annotate__r      s   € ÷ 
ñ 
Ð*ð 
¨sñ 
r   c                ó,  € \        V \        4      '       d   \        V 4      # \        V \        4      '       d   \	        V 4      # \        V \
        4      '       d   \	        \        V R,          4      4      # \        R\        V 4      P                  : 24      h)a  
Uses magic to determine the mimetype of a file on disk or in memory.

Supports both libmagic's Python bindings and the python-magic package.

Args:
    data: The file data, either as in-memory bytes or a path to the file as a string.

Returns:
    The mime type as a string.
:Ni   Nz3mimetype() argument must be a string or bytes, not )	Ú
isinstancer   Ú_from_filenameÚbytesÚ_from_bufferÚ	bytearrayÚ	TypeErrorÚtypeÚ__name__r
   s   &r   Úmimetyper"      sw   € ô �$œ×ÒÜ˜dÓ#Ð#Ü	�Dœ%×	 Ò	 Ü˜DÓ!Ð!Ü	�Dœ)×	$Ò	$äœE $ u¥+Ó.Ó/Ð/äØAÄ$ÀtÃ*×BUÑBUÑAXÐYó
ð 	
r   r"   )Ú
__future__r   Ú	functoolsr   ÚpartialÚfrom_bufferr   Ú	from_filer   ÚAttributeErrorr"   Ú__all__r   r   r   Ú<module>r*      so   ðõ #ã ã ðMØ×$Ò$ U×%6Ñ%6¸TÔB€LØ×&Ò& u§¡¸TÔB€Nõ
ð2 ˆ,‚øð= ô MÙI€LÙL‚NðMús   �<A ÁA'Á&A'