Ë
    ñ‡îh„  ã                   ó(   — d dl Z ddlmZmZ d„ Zd„ Zy)é    Né   )Úpost_version_operationÚpre_version_operationc                 ó¤   — t        t        j                  «       «      }t        j                  d|j
                  j                  «       | ||dœ|¤Ž |S )a/  
    Signal emitter for before a version operation occurs.
    A token is emitted that will allow the pre and post emitted signals to be tied together.

    :param operation: Operation constants
    :param version: Version instance
    :param kwargs:
    :return: A unique token for the transaction
    ©ÚsenderÚ	operationÚtokenÚobj© )ÚstrÚuuidÚuuid4r   ÚsendÚcontent_typeÚmodel_class)r	   ÚversionÚkwargsr
   s       úO/home/dcms/DCMS/lib/python3.12/site-packages/djangocms_versioning/operations.pyÚsend_pre_version_operationr      sS   € ô ”—
‘
“Ó€EÜ×Ñð Ø×#Ñ#×/Ñ/Ó1ØØØñ	ð
 òð €Ló    c                 óh   — t        j                  d|j                  j                  «       | ||dœ|¤Ž y)zÕ
    Signal emitter for after a version operation occurs

    :param operation: Operation constants
    :param version: Version instance
    :param token: A unique token for the transaction
    :param kwargs:
    r   Nr   )r   r   r   r   )r	   r   r
   r   s       r   Úsend_post_version_operationr      s<   € ô ×Ñð Ø×#Ñ#×/Ñ/Ó1ØØØñ	ð
 ór   )r   Úsignalsr   r   r   r   r   r   r   ú<module>r      s   ðÛ ç Bòó*r   