o
    tBh                     @  s  U d dl mZ d dlZd dlmZmZ d dlmZ d dlm	Z	 dZ
ded< d	Zded
< dZded< dZded< dZded< dZded< dZded< dZded< dZded< dZded< dZded< dZded< dZded < d!Zded"< d#Zded$< d%Zded&< ejd'k Zded(< erd)nd*Zejd+v oejd,k Z ded-< ejd.? Z!ded/< e sejd.? nd0Z"ded1< e" d. Z#ded2< g d3Z$ded4< ee%ef Z&dPd8d9Z'dQd;d<Z(dRd@dAZ)dRdBdCZ*dRdDdEZ+dSdIdJZ,dTdNdOZ-dS )U    )annotationsN)AnyDict)Finalunnamed_functionCPyPy_r   PREFIXCPyDef_NATIVE_PREFIX
CPyDunder_DUNDER_PREFIXcpy_r_
REG_PREFIX
CPyStatic_STATIC_PREFIXCPyType_TYPE_PREFIX
CPyModule_MODULE_PREFIX_ATTR_PREFIX__mypyc_env__ENV_ATTR_NAME__mypyc_next_label__NEXT_LABEL_ATTR_NAME__mypyc_temp__TEMP_ATTR_NAME__mypyc_lambda__LAMBDA_NAME__mypyc_setter__PROPSET_PREFIX__mypyc_self__	SELF_NAME__top_level__TOP_LEVEL_NAME   FAST_ISINSTANCE_MAX_SUBCLASSESl        IS_32_BIT_PLATFORM      )darwin)      IS_MIXED_32_64_BIT_BUILD   MAX_SHORT_INTi?MAX_LITERAL_SHORT_INTMIN_LITERAL_SHORT_INT)zinit.cz	getargs.czgetargsfast.cz	int_ops.cz	str_ops.czbytes_ops.cz
list_ops.cz
dict_ops.cz	set_ops.cztuple_ops.cz	exc_ops.cz
misc_ops.czgeneric_ops.cRUNTIME_C_FILES
group_namestrreturnc                 C  s
   |  dS )zGiven a group name, return the actual name of its extension module.

    (This just adds a suffix to the final component.)
    __mypyc )r4   r8   r8   c/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/mypyc/common.pyshared_lib_nameK   s   
r:   namec                 C  s   |  dr| dd  S | S )Nz	builtins.	   )
startswith)r;   r8   r8   r9   
short_nameS   s   
r>   capi_versiontuple[int, int]boolc                 C     | dkS )N)r,      r8   r?   r8   r8   r9   use_fastcallY      rE   c                 C  rB   )N)r,   r*   r8   rD   r8   r8   r9   use_vectorcall^   rF   rG   c                 C  rB   )N)r,   r<   r8   rD   r8   r8   r9   use_method_vectorcallc   rF   rH   fullnamelineintc                 C  s   t | r| d| S |S )aj  Create a unique id for a function.

    This creates an id that is unique for any given function definition, so that it can be used as
    a dictionary key. This is usually the fullname of the function, but this is different in that
    it handles the case where the function is named '_', in which case multiple different functions
    could have the same name..r   )r;   rI   rJ   r8   r8   r9   get_id_from_nameh   s   rM   	func_name	shortname
int | Nonec                 C  s.   t | r|d us
J | d| }|S |}|S )NrL   r   )rN   rO   rJ   partial_namer8   r8   r9   short_id_from_nameu   s   rR   )r4   r5   r6   r5   )r;   r5   r6   r5   )r?   r@   r6   rA   )r;   r5   rI   r5   rJ   rK   r6   r5   )rN   r5   rO   r5   rJ   rP   r6   r5   ).
__future__r   systypingr   r   typing_extensionsr   	mypy.utilr   r	   __annotations__r   r   r   r   r   r   r   r   r   r   r   r!   r#   r%   r'   maxsizer(   PLATFORM_SIZEplatformversion_infor.   r0   r1   r2   r3   r5   JsonDictr:   r>   rE   rG   rH   rM   rR   r8   r8   r8   r9   <module>   sH    





