§
    :zniñ  ã                   ó6   — d Z ddlZddlZddlZdededefd„ZdS )z"Utility for deprecating functions.é    NÚsinceÚ
removed_inÚinstructionsc                 ó   ‡ ‡‡— ˆˆˆ fd„}|S )aF  Marks functions as deprecated.

    It will result in a warning when the function is called and a note in the
    docstring.

    Args:
        since: The version when the function was first deprecated.
        removed_in: The version when the function will be removed.
        instructions: The action users should take.
    c           	      ó|  •‡ — t          j        ‰ ¦  «        ˆ ˆˆ	ˆ
fd„¦   «         }‰ j        pd}t          j        d‰
› d‰	› d‰› d�¦  «        }|                     dd¦  «        }t          |¦  «        dk    r |\  }}t          j        |¦  «        }|d||g}n|d	         }|d|g}d                     |¦  «        |_        |S )
Nc                  ó€   •— t          j        d‰j        › d‰j        › d‰› d‰› d‰› d�t          d¬¦  «          ‰| i |¤ŽS )Nú'ú.z' is deprecated in version z and will be removed in z	. Please é   )ÚcategoryÚ
stacklevel)ÚwarningsÚwarnÚ
__module__Ú__name__ÚFutureWarning)ÚargsÚkwargsÚfunctionr   r   r   s     €€€€úw/var/www/html/cool-property-finder/image-detection-backend/venv/lib/python3.11/site-packages/torch/onnx/_deprecation.pyÚwrapperz.deprecated.<locals>.decorator.<locals>.wrapper   s–   ø€ åŒMðC�HÔ'ð Cð C¨(Ô*;ð Cð CØ,1ðCð Cà(ðCð Cà3?ðCð Cð Cõ 'Øðñ ô ð ð �8˜TÐ, VÐ,Ð,Ð,ó    Ú z            .. deprecated:: z;
                Deprecated and will be removed in version z.
                Please z.
            z

é   r   )Ú	functoolsÚwrapsÚ__doc__ÚtextwrapÚdedentÚsplitÚlenÚjoin)r   r   Ú	docstringÚdeprecation_noteÚsummary_and_bodyÚsummaryÚbodyÚnew_docstring_partsr   r   r   s   `       €€€r   Ú	decoratorzdeprecated.<locals>.decorator   s  øø€ Ý	Œ˜Ñ	"Ô	"ð	-ð 	-ð 	-ð 	-ð 	-ð 	-ð 	-ñ 
#Ô	"ð	-ð Ô$Ð*¨ˆ	õ $œ?ðØ"ðð à;Eðð ð %ðð ð ñ
ô 
Ðð %Ÿ?š?¨6°1Ñ5Ô5ÐåÐÑ Ô  1Ò$Ð$Ø,‰MˆG�Tõ ”? 4Ñ(Ô(ˆDà#3°V¸WÀdÐ"KÐÐà& qÔ)ˆGà#3°V¸WÐ"EÐàŸ'š'Ð"5Ñ6Ô6ˆŒàˆr   © )r   r   r   r)   s   ``` r   Ú
deprecatedr+      s1   øøø€ ð*ð *ð *ð *ð *ð *ð *ðX Ðr   )r   r   r   r   Ústrr+   r*   r   r   ú<module>r-      s\   ðØ (Ð (à Ð Ð Ð Ø €€€Ø €€€ð8�cð 8 sð 8¸#ð 8ð 8ð 8ð 8ð 8ð 8r   