
    vpiE	                     t   d Z ddlZej                  d   dk(  Zej                  dd dk(  Zej                  dd dk(  Zej                  dd dk\  Zej                  d   dk(  Zej                  dd dk\  Zerddl	Z
efZeefZeZeZd	Zn$ddlZefZesereefZnefZeZesereseZd
ZneZd	Zd Z G d de      Zy)zlA tiny version of `six` to help with backwards compability.

Also includes compatibility helpers for numpy.
    N   )r      )r         )r   r      )r      ?z<bc                      t         r,t        j                  j                  j	                  d      du} n	 t        j                  d       d} | rddl}|S d}|S # t        $ r d} Y w xY w)zRReturns the numpy module if it exists on the system,

  otherwise returns None.
  numpyNTFr   )	PY3	importlib	machinery
PathFinder	find_specimpfind_moduleImportErrorr   )numpy_existsnps     T/opt/services/ai/voice_agent/venv/lib/python3.12/site-packages/flatbuffers/compat.pyimport_numpyr   8   sq    
 	&&11;;GDDPL	oogl 
  
) 
B	)  ls   A A%$A%c                       e Zd ZdZy)NumpyRequiredForThisFeaturezgError raised when user tries to use a feature that

  requires numpy without having numpy installed.
  N)__name__
__module____qualname____doc__     r   r   r   R   s    
 r   r   )r   sysversion_infoPY2PY26PY27PY275r   PY34importlib.machineryr   strstring_typesbytes	bytearraybinary_typesrange
range_func
memoryviewmemoryview_typestruct_bool_declr   unicodexrangebufferr   RuntimeErrorr   r   r   r   <module>r6      s  
 	qQ
!&
!&1*	qQ
!&,#,*/,	T#L6L*	d5O O
4, r   