Ë
    £èhŽ  ã                  óä   — d dl mZ d dlmZmZmZmZ d dlmZ d dl	Z	d dl
mZ erd dlmZ g d¢Z edd	¬
«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ d«      Z e e«       «      Zy)é    )Úannotations)ÚTYPE_CHECKINGÚTypeVarÚ
NamedTupleÚOptional)ÚdeepcopyN)ÚDXFError)Ú	DXFEntity)ÚCopyStrategyÚCopySettingsÚCopyNotSupportedÚdefault_copyÚTr
   )Úboundc                  ó   — e Zd Zy)r   N)Ú__name__Ú
__module__Ú__qualname__© ó    ú3lib/python3.12/site-packages/ezdxf/entities/copy.pyr   r      s   „ Ør   r   c                  ó~   — e Zd ZU 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<   y)r   TÚboolÚreset_handlesÚcopy_extension_dictÚ
copy_xdataÚcopy_appdataFÚcopy_reactorsÚcopy_proxy_graphicÚset_source_of_copyÚ%ignore_copy_errors_in_linked_entitiesN)r   r   r   r   Ú__annotations__r   r   r   r   r   r    r!   r   r   r   r   r      sX   … Ø€M�4ÓØ $Ð˜Ó$Ø€J�ÓØ€L�$ÓØ€M�4ÓØ#Ð˜Ó#Ø#Ð˜Ó#ð 37Ð)¨4Ô6r   r   c                  óH   — e Zd ZU ded<   ej
                  Zded<   dZded<   y)Ú
LogMessageÚstrÚmessageÚintÚlevelNúOptional[DXFEntity]Úentity)r   r   r   r"   ÚloggingÚWARNINGr(   r*   r   r   r   r$   r$   %   s    … ØƒLØ—‘€Eˆ3Ó Ø"&€FÐÔ&r   r$   c                  óx   — e Zd ZU g Zded<   dd„Zd	d„Zeej                  df	 	 	 	 	 	 	 d
d„«       Z
edd„«       Zy)r   zlist[LogMessage]Úlogc                ó   — || _         y ©N)Úsettings)Úselfr1   s     r   Ú__init__zCopyStrategy.__init__.   s	   € Ø ˆ�r   c                ó  — | j                   }|j                  «       }|j                  }||_        |j                  j	                  |«      |_        |j
                  r|j                  j                  «        |j                  r2|j                  }|�$|�"|j                  r|j	                  | «      |_        |j                  r+|j                  �|j                  j	                  «       |_
        |j                  r|j                  |_        |j                  rt        |j                  «      |_        |j                   rt        |j"                  «      |_        |j$                  r|j%                  |«       |j'                  || ¬«       |S )zÍEntity copy for usage in the same document or as virtual entity.

        This copy is NOT stored in the entity database and does NOT reside in any
        layout, block, table or objects section!
        )Úcopy_strategy)r1   Ú	__class__ÚdocÚdxfÚcopyr   r   Úextension_dictÚis_aliver   Úreactorsr   Úproxy_graphicr   r   Úappdatar   Úxdatar    Ú	copy_data)r2   r*   r1   Úcloner7   Úxdicts         r   r9   zCopyStrategy.copy1   s1  € ð —=‘=ˆØ× Ñ Ó"ˆØ�j‰jˆØˆŒ	Ø—J‘J—O‘O EÓ*ˆŒ	Ø×!Ò!Ø�I‰I×#Ñ#Ô%à×'Ò'Ø×)Ñ)ˆEØÐ  S _¸¿ºð (-§z¡z°$Ó'7�Ô$à×!Ò! f§o¡oÐ&AØ#Ÿ_™_×1Ñ1Ó3ˆEŒNà×&Ò&Ø"(×"6Ñ"6ˆEÔð × Ò Ü$ V§^¡^Ó4ˆEŒMð ×ÒÜ" 6§<¡<Ó0ˆEŒKà×&Ò&Ø×$Ñ$ VÔ,à×Ñ˜¨dÐÔ3Øˆr   Nc                óP   — | j                   j                  t        |||«      «       y r0   )r.   Úappendr$   )ÚclsÚmsgr(   r*   s       r   Úadd_log_messagezCopyStrategy.add_log_messageZ   s   € ð 	�‰�‰”z # u¨fÓ5Õ6r   c                ó8   — | j                   j                  «        y r0   )r.   Úclear)rE   s    r   Úclear_log_messagezCopyStrategy.clear_log_message`   s   € à�‰�‰�r   )r1   r   ÚreturnÚNone)r*   r   rK   r   )rF   r%   r(   r'   r*   r)   rK   rL   )rK   rL   )r   r   r   r.   r"   r3   r9   Úclassmethodr+   r,   rG   rJ   r   r   r   r   r   +   sj   … Ø€CÐ	Óó!ó'ðR à$+§O¡OÐSWð7Øð7Ø!ð7Ø=Pð7à	ò7ó ð7ð
 òó ñr   r   )Ú
__future__r   Útypingr   r   r   r   r9   r   r+   Úezdxf.lldxf.constr	   Úezdxf.entitiesr
   Ú__all__r   r   r   r$   r   r   r   r   r   Ú<module>rS      sr   ðõ #ß ?Ó ?Ý Û Ý &áÝ(ò O€ñ ˆC�{Ô#€ô	�xô 	ô7�:ô 7ô'�ô '÷7ñ 7ñv ™L›NÓ+�r   