Ë
    5Ô%h’  ã                   ó.  — d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 ddl
mZmZ ddlmZ  G d	„ d
ej                  «      Z G d„ dej                  «      Z G d„ dej$                  «      Z G d„ dej$                  «      Z G d„ dej$                  «      Zy)é    )Úforms)ÚRichTextFormField)ÚCKEditorWidget)ÚRichTextUploadingFormField)ÚCKEditorUploadingWidgeté   )ÚExampleModelÚExampleNonUploadModel)ÚCkEditorMultiWidgetc                   ó,   — e Zd Z e«       Z ed¬«      Zy)ÚCkEditorFormúmy-custom-toolbar©Úconfig_nameN)Ú__name__Ú
__module__Ú__qualname__r   Úckeditor_standard_exampler   Úckeditor_upload_example© ó    úb/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/ckeditor_demo/demo_application/forms.pyr   r      s   „ Ù 1Ó 3ÐÙ8Ø'ôÑr   r   c                   ó   — e Zd ZddgZ ej
                   eeD � ��ci c]	  }|t        “Œ c}}} ¬«      ¬«      Z ej
                   eeD � ��ci c]  }|t        d¬«      “Œ c}}} ¬«      ¬«      Z
yc c}}} w c c}}} w )ÚCkEditorMultiWidgetFormÚ0Ú1)Úwidgets)Úwidgetr   r   N)r   r   r   ÚSUBWIDGET_SUFFIXESr   Ú	CharFieldr   r   Ú&ckeditor_standard_multi_widget_exampler   Ú$ckeditor_upload_multi_widget_example)Ú.0Úsuffixr   r   s   0000r   r   r      sŠ   „ Ø˜s˜Ðà-<¨U¯_©_Ù"Ø:L×MÐM°�Vœ^Ñ+ÔMô
ô.Ð*ð
 ,;¨5¯?©?Ù"ð 1÷ð àð Ô/Ð<OÔPÑPôô
ô,Ñ(ùô Nùô
s   �A2ÁA9r   c                   ó    — e Zd Z G d„ d«      Zy)ÚExampleModelFormc                   ó   — e Zd ZeZdZy)úExampleModelForm.MetaÚ__all__N©r   r   r   r	   ÚmodelÚfieldsr   r   r   ÚMetar(   &   ó   „ ØˆØ‰r   r-   N©r   r   r   r-   r   r   r   r&   r&   %   ó   „ ÷ò r   r&   c                   ó    — e Zd Z G d„ d«      Zy)ÚExampleNonUploadModelFormc                   ó   — e Zd ZeZdZy)úExampleNonUploadModelForm.Metar)   N)r   r   r   r
   r+   r,   r   r   r   r-   r4   ,   s   „ Ø%ˆØ‰r   r-   Nr/   r   r   r   r2   r2   +   r0   r   r2   c                   ó2   ‡ — e Zd Z G d„ d«      Zˆ fd„Zˆ xZS )Ú ExampleModelOverriddenWidgetFormc                   ó   — e Zd ZeZdZy)ú%ExampleModelOverriddenWidgetForm.Metar)   Nr*   r   r   r   r-   r8   2   r.   r   r-   c                 ój   •— t        ‰| �  |i |¤Ž t        dddgdg¬«      | j                  d   _        y )Nr   Ú
somepluginÚanotherplugin)r:   z/static/path/to/someplugin/z	plugin.js)r   Úextra_pluginsÚexternal_plugin_resourcesÚcontent)ÚsuperÚ__init__r   r,   r   )ÚselfÚargsÚkwargsÚ	__class__s      €r   r@   z)ExampleModelOverriddenWidgetForm.__init__6   s@   ø€ Ü‰Ñ˜$Ð) &Ò)ä(?Ø+Ø'¨Ð9ðð'ô
)
ˆ�‰�IÑÕ%r   )r   r   r   r-   r@   Ú__classcell__)rD   s   @r   r6   r6   1   s   ø„ ÷ñ ÷
ð 
r   r6   N)Údjangor   Úckeditor.fieldsr   Úckeditor.widgetsr   Úckeditor_uploader.fieldsr   Úckeditor_uploader.widgetsr   Úmodelsr	   r
   r   r   ÚFormr   r   Ú	ModelFormr&   r2   r6   r   r   r   ú<module>rN      sj   ðÝ å -Ý +Ý ?Ý =ç 7Ý (ô�5—:‘:ô ô˜eŸj™jô ô$�u—‘ô ô §¡ô ô
 u§¡õ 
r   