@ckeditor/ckeditor5-ai 0.0.0-nightly-20240516.1 → 0.0.0-nightly-20240518.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index.js +2 -2
  41. package/dist/translations/af.js +1 -1
  42. package/dist/translations/af.umd.js +1 -1
  43. package/dist/translations/ar.js +1 -1
  44. package/dist/translations/ar.umd.js +1 -1
  45. package/dist/translations/bg.js +1 -1
  46. package/dist/translations/bg.umd.js +1 -1
  47. package/dist/translations/bn.js +1 -1
  48. package/dist/translations/bn.umd.js +1 -1
  49. package/dist/translations/bs.js +1 -1
  50. package/dist/translations/bs.umd.js +1 -1
  51. package/dist/translations/ca.js +1 -1
  52. package/dist/translations/ca.umd.js +1 -1
  53. package/dist/translations/cs.js +1 -1
  54. package/dist/translations/cs.umd.js +1 -1
  55. package/dist/translations/da.js +1 -1
  56. package/dist/translations/da.umd.js +1 -1
  57. package/dist/translations/de-ch.js +1 -1
  58. package/dist/translations/de-ch.umd.js +1 -1
  59. package/dist/translations/de.js +1 -1
  60. package/dist/translations/de.umd.js +1 -1
  61. package/dist/translations/el.js +1 -1
  62. package/dist/translations/el.umd.js +1 -1
  63. package/dist/translations/en-au.js +1 -1
  64. package/dist/translations/en-au.umd.js +1 -1
  65. package/dist/translations/en.umd.js +1 -1
  66. package/dist/translations/es-co.js +1 -1
  67. package/dist/translations/es-co.umd.js +1 -1
  68. package/dist/translations/es.js +1 -1
  69. package/dist/translations/es.umd.js +1 -1
  70. package/dist/translations/et.js +1 -1
  71. package/dist/translations/et.umd.js +1 -1
  72. package/dist/translations/fa.js +1 -1
  73. package/dist/translations/fa.umd.js +1 -1
  74. package/dist/translations/fi.js +1 -1
  75. package/dist/translations/fi.umd.js +1 -1
  76. package/dist/translations/fr.js +1 -1
  77. package/dist/translations/fr.umd.js +1 -1
  78. package/dist/translations/gl.js +1 -1
  79. package/dist/translations/gl.umd.js +1 -1
  80. package/dist/translations/he.js +1 -1
  81. package/dist/translations/he.umd.js +1 -1
  82. package/dist/translations/hi.js +1 -1
  83. package/dist/translations/hi.umd.js +1 -1
  84. package/dist/translations/hr.js +1 -1
  85. package/dist/translations/hr.umd.js +1 -1
  86. package/dist/translations/hu.js +1 -1
  87. package/dist/translations/hu.umd.js +1 -1
  88. package/dist/translations/id.js +1 -1
  89. package/dist/translations/id.umd.js +1 -1
  90. package/dist/translations/it.js +1 -1
  91. package/dist/translations/it.umd.js +1 -1
  92. package/dist/translations/ja.js +1 -1
  93. package/dist/translations/ja.umd.js +1 -1
  94. package/dist/translations/jv.js +1 -1
  95. package/dist/translations/jv.umd.js +1 -1
  96. package/dist/translations/ko.js +1 -1
  97. package/dist/translations/ko.umd.js +1 -1
  98. package/dist/translations/lt.js +1 -1
  99. package/dist/translations/lt.umd.js +1 -1
  100. package/dist/translations/lv.js +1 -1
  101. package/dist/translations/lv.umd.js +1 -1
  102. package/dist/translations/ms.js +1 -1
  103. package/dist/translations/ms.umd.js +1 -1
  104. package/dist/translations/nl.js +1 -1
  105. package/dist/translations/nl.umd.js +1 -1
  106. package/dist/translations/no.js +1 -1
  107. package/dist/translations/no.umd.js +1 -1
  108. package/dist/translations/pl.js +1 -1
  109. package/dist/translations/pl.umd.js +1 -1
  110. package/dist/translations/pt-br.js +1 -1
  111. package/dist/translations/pt-br.umd.js +1 -1
  112. package/dist/translations/pt.js +1 -1
  113. package/dist/translations/pt.umd.js +1 -1
  114. package/dist/translations/ro.js +1 -1
  115. package/dist/translations/ro.umd.js +1 -1
  116. package/dist/translations/ru.js +1 -1
  117. package/dist/translations/ru.umd.js +1 -1
  118. package/dist/translations/sk.js +1 -1
  119. package/dist/translations/sk.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/lang/translations/ar.po +4 -4
  149. package/lang/translations/bg.po +4 -4
  150. package/lang/translations/bn.po +4 -4
  151. package/lang/translations/ca.po +4 -4
  152. package/lang/translations/cs.po +4 -4
  153. package/lang/translations/da.po +4 -4
  154. package/lang/translations/de.po +4 -4
  155. package/lang/translations/el.po +4 -4
  156. package/lang/translations/es.po +4 -4
  157. package/lang/translations/et.po +4 -4
  158. package/lang/translations/fi.po +4 -4
  159. package/lang/translations/fr.po +4 -4
  160. package/lang/translations/he.po +4 -4
  161. package/lang/translations/hi.po +4 -4
  162. package/lang/translations/hu.po +4 -4
  163. package/lang/translations/id.po +4 -4
  164. package/lang/translations/it.po +4 -4
  165. package/lang/translations/ja.po +4 -4
  166. package/lang/translations/ko.po +4 -4
  167. package/lang/translations/lt.po +4 -4
  168. package/lang/translations/lv.po +4 -4
  169. package/lang/translations/ms.po +4 -4
  170. package/lang/translations/nl.po +4 -4
  171. package/lang/translations/no.po +4 -4
  172. package/lang/translations/pl.po +4 -4
  173. package/lang/translations/pt-br.po +4 -4
  174. package/lang/translations/pt.po +4 -4
  175. package/lang/translations/ro.po +4 -4
  176. package/lang/translations/ru.po +4 -4
  177. package/lang/translations/sk.po +4 -4
  178. package/lang/translations/sr.po +4 -4
  179. package/lang/translations/sv.po +4 -4
  180. package/lang/translations/th.po +4 -4
  181. package/lang/translations/tr.po +4 -4
  182. package/lang/translations/uk.po +4 -4
  183. package/lang/translations/vi.po +4 -4
  184. package/lang/translations/zh-cn.po +4 -4
  185. package/lang/translations/zh.po +4 -4
  186. package/package.json +4 -4
  187. package/src/adapters/aiadapter.js +1 -1
  188. package/src/adapters/aitextadapter.js +1 -1
  189. package/src/adapters/awstextadapter.js +1 -1
  190. package/src/adapters/openaitextadapter.js +1 -1
  191. package/src/aiassistant.js +1 -1
  192. package/src/aiassistantediting.js +1 -1
  193. package/src/aiassistantui.js +1 -1
  194. package/src/index.js +1 -1
  195. package/src/ui/aiassistantcontroller.js +2 -2
  196. package/src/ui/dropdown/aicommandslistview.js +1 -1
  197. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  198. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  199. package/src/ui/form/aiformcontentarea.js +1 -1
  200. package/src/ui/form/aiformerrorview.js +1 -1
  201. package/src/ui/form/aiformpromptview.js +1 -1
  202. package/src/ui/form/aiformtoolbarview.js +1 -1
  203. package/src/ui/form/aiformview.js +1 -1
  204. package/src/ui/form/aihistorylistitemview.js +1 -1
  205. package/src/ui/form/aihistorylistview.js +1 -1
  206. package/src/ui/form/prompthistory.js +1 -1
  207. package/src/ui/showaiassistantcommand.js +1 -1
  208. package/src/utils/common-translations.js +1 -1
@@ -175,15 +175,15 @@ msgstr "ИИ пишет..."
175
175
 
176
176
  msgctxt "Aria status message indicating that the AI is generating content. Example: 'AI busy writing'."
177
177
  msgid "AI is writing"
178
- msgstr ""
178
+ msgstr "ИИ пишет"
179
179
 
180
180
  msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
- msgstr ""
182
+ msgstr "Сгенерированный контент: %0"
183
183
 
184
184
  msgctxt "Aria status message indicating that an error has occurred during the generation of AI content. Example: 'Error during AI content generation: [text of an error]'."
185
185
  msgid "Error during AI content generation: %0"
186
- msgstr ""
186
+ msgstr "Ошибка при создании контента ИИ: %0"
187
187
 
188
188
  msgctxt "The label of the button that toggles the prompt history pane in the AI dialog."
189
189
  msgid "History"
@@ -215,7 +215,7 @@ msgstr "Нет доступных команд"
215
215
 
216
216
  msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
217
  msgid "%0 commands found"
218
- msgstr ""
218
+ msgstr "Найдено команд: %0"
219
219
 
220
220
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
221
  msgid "AI_REPLACE_CONTENT"
@@ -175,15 +175,15 @@ msgstr "AI generuje..."
175
175
 
176
176
  msgctxt "Aria status message indicating that the AI is generating content. Example: 'AI busy writing'."
177
177
  msgid "AI is writing"
178
- msgstr ""
178
+ msgstr "AI píše"
179
179
 
180
180
  msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
- msgstr ""
182
+ msgstr "Vygenerovaný obsah: %0"
183
183
 
184
184
  msgctxt "Aria status message indicating that an error has occurred during the generation of AI content. Example: 'Error during AI content generation: [text of an error]'."
185
185
  msgid "Error during AI content generation: %0"
186
- msgstr ""
186
+ msgstr "Chyba pri generovaní obsahu AI: %0"
187
187
 
188
188
  msgctxt "The label of the button that toggles the prompt history pane in the AI dialog."
189
189
  msgid "History"
@@ -215,7 +215,7 @@ msgstr "Nie sú k dispozícii žiadne príkazy"
215
215
 
216
216
  msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
217
  msgid "%0 commands found"
218
- msgstr ""
218
+ msgstr "Našli sa %0 príkazy"
219
219
 
220
220
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
221
  msgid "AI_REPLACE_CONTENT"
@@ -175,15 +175,15 @@ msgstr "AI piše…"
175
175
 
176
176
  msgctxt "Aria status message indicating that the AI is generating content. Example: 'AI busy writing'."
177
177
  msgid "AI is writing"
178
- msgstr ""
178
+ msgstr "AI piše"
179
179
 
180
180
  msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
- msgstr ""
182
+ msgstr "Generisani sadržaj: %0"
183
183
 
184
184
  msgctxt "Aria status message indicating that an error has occurred during the generation of AI content. Example: 'Error during AI content generation: [text of an error]'."
185
185
  msgid "Error during AI content generation: %0"
186
- msgstr ""
186
+ msgstr "Greška tokom generisanja AI sadržaja: %0"
187
187
 
188
188
  msgctxt "The label of the button that toggles the prompt history pane in the AI dialog."
189
189
  msgid "History"
@@ -215,7 +215,7 @@ msgstr "Nije dostupna nijedna komanda"
215
215
 
216
216
  msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
217
  msgid "%0 commands found"
218
- msgstr ""
218
+ msgstr "%0 pronađenih komandi"
219
219
 
220
220
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
221
  msgid "AI_REPLACE_CONTENT"
@@ -175,15 +175,15 @@ msgstr "AI skriver ..."
175
175
 
176
176
  msgctxt "Aria status message indicating that the AI is generating content. Example: 'AI busy writing'."
177
177
  msgid "AI is writing"
178
- msgstr ""
178
+ msgstr "AI skriver"
179
179
 
180
180
  msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
- msgstr ""
182
+ msgstr "Genererat innehåll: %0"
183
183
 
184
184
  msgctxt "Aria status message indicating that an error has occurred during the generation of AI content. Example: 'Error during AI content generation: [text of an error]'."
185
185
  msgid "Error during AI content generation: %0"
186
- msgstr ""
186
+ msgstr "Fel vid generering av AI-innehåll: %0"
187
187
 
188
188
  msgctxt "The label of the button that toggles the prompt history pane in the AI dialog."
189
189
  msgid "History"
@@ -215,7 +215,7 @@ msgstr "Inga kommandon finns"
215
215
 
216
216
  msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
217
  msgid "%0 commands found"
218
- msgstr ""
218
+ msgstr "%0 kommandon hittades"
219
219
 
220
220
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
221
  msgid "AI_REPLACE_CONTENT"
@@ -175,15 +175,15 @@ msgstr "AI กำลังเขียน..."
175
175
 
176
176
  msgctxt "Aria status message indicating that the AI is generating content. Example: 'AI busy writing'."
177
177
  msgid "AI is writing"
178
- msgstr ""
178
+ msgstr "AI กำลังเขียน"
179
179
 
180
180
  msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
- msgstr ""
182
+ msgstr "เนื้อหาที่สร้างขึ้น: %0"
183
183
 
184
184
  msgctxt "Aria status message indicating that an error has occurred during the generation of AI content. Example: 'Error during AI content generation: [text of an error]'."
185
185
  msgid "Error during AI content generation: %0"
186
- msgstr ""
186
+ msgstr "เกิดข้อผิดพลาดระหว่างการสร้างเนื้อหาด้วย AI: %0"
187
187
 
188
188
  msgctxt "The label of the button that toggles the prompt history pane in the AI dialog."
189
189
  msgid "History"
@@ -215,7 +215,7 @@ msgstr "ไม่มีคำสั่งให้ใช้"
215
215
 
216
216
  msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
217
  msgid "%0 commands found"
218
- msgstr ""
218
+ msgstr "พบคำสั่ง %0 รายการ"
219
219
 
220
220
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
221
  msgid "AI_REPLACE_CONTENT"
@@ -175,15 +175,15 @@ msgstr "Yapay Zekâ yazıyor..."
175
175
 
176
176
  msgctxt "Aria status message indicating that the AI is generating content. Example: 'AI busy writing'."
177
177
  msgid "AI is writing"
178
- msgstr ""
178
+ msgstr "Yapay zekâ yazıyor"
179
179
 
180
180
  msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
- msgstr ""
182
+ msgstr "Oluşturulan içerik: %0"
183
183
 
184
184
  msgctxt "Aria status message indicating that an error has occurred during the generation of AI content. Example: 'Error during AI content generation: [text of an error]'."
185
185
  msgid "Error during AI content generation: %0"
186
- msgstr ""
186
+ msgstr "Yapay zekâyla içerik oluşturma sırasında hata oluştu: %0"
187
187
 
188
188
  msgctxt "The label of the button that toggles the prompt history pane in the AI dialog."
189
189
  msgid "History"
@@ -215,7 +215,7 @@ msgstr "Kullanılabilir komut yok"
215
215
 
216
216
  msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
217
  msgid "%0 commands found"
218
- msgstr ""
218
+ msgstr "%0 komut bulundu"
219
219
 
220
220
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
221
  msgid "AI_REPLACE_CONTENT"
@@ -175,15 +175,15 @@ msgstr "ШІ пише..."
175
175
 
176
176
  msgctxt "Aria status message indicating that the AI is generating content. Example: 'AI busy writing'."
177
177
  msgid "AI is writing"
178
- msgstr ""
178
+ msgstr "ШІ пише"
179
179
 
180
180
  msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
- msgstr ""
182
+ msgstr "Згенерований контент: %0"
183
183
 
184
184
  msgctxt "Aria status message indicating that an error has occurred during the generation of AI content. Example: 'Error during AI content generation: [text of an error]'."
185
185
  msgid "Error during AI content generation: %0"
186
- msgstr ""
186
+ msgstr "Під час ШІ-генерації контенту сталася помилка: %0"
187
187
 
188
188
  msgctxt "The label of the button that toggles the prompt history pane in the AI dialog."
189
189
  msgid "History"
@@ -215,7 +215,7 @@ msgstr "Немає доступних команд"
215
215
 
216
216
  msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
217
  msgid "%0 commands found"
218
- msgstr ""
218
+ msgstr "Знайдено %0 команд"
219
219
 
220
220
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
221
  msgid "AI_REPLACE_CONTENT"
@@ -175,15 +175,15 @@ msgstr "AI đang viết..."
175
175
 
176
176
  msgctxt "Aria status message indicating that the AI is generating content. Example: 'AI busy writing'."
177
177
  msgid "AI is writing"
178
- msgstr ""
178
+ msgstr "AI đang viết"
179
179
 
180
180
  msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
- msgstr ""
182
+ msgstr "Nội dung đã tạo: %0"
183
183
 
184
184
  msgctxt "Aria status message indicating that an error has occurred during the generation of AI content. Example: 'Error during AI content generation: [text of an error]'."
185
185
  msgid "Error during AI content generation: %0"
186
- msgstr ""
186
+ msgstr "Xảy ra lỗi trong quá trình tạo nội dung AI: %0"
187
187
 
188
188
  msgctxt "The label of the button that toggles the prompt history pane in the AI dialog."
189
189
  msgid "History"
@@ -215,7 +215,7 @@ msgstr "Không có lệnh nào khả dụng"
215
215
 
216
216
  msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
217
  msgid "%0 commands found"
218
- msgstr ""
218
+ msgstr "Đã tìm thấy %0 lệnh"
219
219
 
220
220
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
221
  msgid "AI_REPLACE_CONTENT"
@@ -175,15 +175,15 @@ msgstr "AI 正在撰写……"
175
175
 
176
176
  msgctxt "Aria status message indicating that the AI is generating content. Example: 'AI busy writing'."
177
177
  msgid "AI is writing"
178
- msgstr ""
178
+ msgstr "人工智能正在写作"
179
179
 
180
180
  msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
- msgstr ""
182
+ msgstr "生成的内容:%0"
183
183
 
184
184
  msgctxt "Aria status message indicating that an error has occurred during the generation of AI content. Example: 'Error during AI content generation: [text of an error]'."
185
185
  msgid "Error during AI content generation: %0"
186
- msgstr ""
186
+ msgstr "人工智能生成内容时出错:%0"
187
187
 
188
188
  msgctxt "The label of the button that toggles the prompt history pane in the AI dialog."
189
189
  msgid "History"
@@ -215,7 +215,7 @@ msgstr "没有可用的命令"
215
215
 
216
216
  msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
217
  msgid "%0 commands found"
218
- msgstr ""
218
+ msgstr "找到 %0 个命令"
219
219
 
220
220
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
221
  msgid "AI_REPLACE_CONTENT"
@@ -175,15 +175,15 @@ msgstr "AI 撰寫中..."
175
175
 
176
176
  msgctxt "Aria status message indicating that the AI is generating content. Example: 'AI busy writing'."
177
177
  msgid "AI is writing"
178
- msgstr ""
178
+ msgstr "AI 撰寫中"
179
179
 
180
180
  msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
- msgstr ""
182
+ msgstr "生成的內容:%0"
183
183
 
184
184
  msgctxt "Aria status message indicating that an error has occurred during the generation of AI content. Example: 'Error during AI content generation: [text of an error]'."
185
185
  msgid "Error during AI content generation: %0"
186
- msgstr ""
186
+ msgstr "AI 內容生成期間發生錯誤:%0"
187
187
 
188
188
  msgctxt "The label of the button that toggles the prompt history pane in the AI dialog."
189
189
  msgid "History"
@@ -215,7 +215,7 @@ msgstr "無可用指令"
215
215
 
216
216
  msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
217
  msgid "%0 commands found"
218
- msgstr ""
218
+ msgstr "已找到 %0 個指令"
219
219
 
220
220
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
221
  msgid "AI_REPLACE_CONTENT"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ai",
3
- "version": "0.0.0-nightly-20240516.1",
3
+ "version": "0.0.0-nightly-20240518.0",
4
4
  "description": "AI Assistant feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -23,10 +23,10 @@
23
23
  "framework"
24
24
  ],
25
25
  "dependencies": {
26
- "ckeditor5": "0.0.0-nightly-20240516.1",
27
- "ckeditor5-collaboration": "0.0.0-nightly-20240516.1",
26
+ "ckeditor5": "0.0.0-nightly-20240518.0",
27
+ "ckeditor5-collaboration": "0.0.0-nightly-20240518.0",
28
28
  "@aws-sdk/client-bedrock-runtime": "3.470.0",
29
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240516.1",
29
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240518.0",
30
30
  "lodash-es": "4.17.21"
31
31
  },
32
32
  "type": "module",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4d20a6=_0x49de;(function(_0x475ff2,_0x2c168d){var _0x3d8132=_0x49de,_0x1db9ec=_0x475ff2();while(!![]){try{var _0x387883=parseInt(_0x3d8132(0x77))/0x1*(parseInt(_0x3d8132(0x76))/0x2)+-parseInt(_0x3d8132(0x6c))/0x3*(parseInt(_0x3d8132(0x6b))/0x4)+parseInt(_0x3d8132(0x72))/0x5+-parseInt(_0x3d8132(0x74))/0x6*(-parseInt(_0x3d8132(0x73))/0x7)+parseInt(_0x3d8132(0x7a))/0x8+parseInt(_0x3d8132(0x6d))/0x9*(-parseInt(_0x3d8132(0x7d))/0xa)+parseInt(_0x3d8132(0x7b))/0xb*(-parseInt(_0x3d8132(0x6e))/0xc);if(_0x387883===_0x2c168d)break;else _0x1db9ec['push'](_0x1db9ec['shift']());}catch(_0x1f3fd9){_0x1db9ec['push'](_0x1db9ec['shift']());}}}(_0x1db2,0xc48fc));import{Plugin as _0x764f22}from'ckeditor5/src/core.js';import{CKEditorError as _0xf2c242}from'ckeditor5/src/utils.js';export default class y extends _0x764f22{static get[_0x4d20a6(0x7c)](){var _0x3c2da2=_0x4d20a6;return _0x3c2da2(0x6f);}[_0x4d20a6(0x78)](){var _0x34b778=_0x4d20a6;if(!this[_0x34b778(0x75)])throw new _0xf2c242(_0x34b778(0x71),null);}}function _0x49de(_0x237ceb,_0xea9362){var _0x1db210=_0x1db2();return _0x49de=function(_0x49dedc,_0x5b7019){_0x49dedc=_0x49dedc-0x6b;var _0x38da39=_0x1db210[_0x49dedc];return _0x38da39;},_0x49de(_0x237ceb,_0xea9362);}export class AIRequestError extends Error{constructor(_0x411404){var _0x5d2bc1=_0x4d20a6;super(_0x411404),this[_0x5d2bc1(0x79)]=_0x5d2bc1(0x70);}}function _0x1db2(){var _0x41c8d4=['8663290mHNLHd','2348FVTPsr','2757GwsWTK','9PqBkYz','19915524jckvzM','AIAdapter','AIRequestError','aiadapter-text-adapter-not-set','7647765gLGoyZ','1608943RqlOlW','12zisaax','textAdapter','4jThcpd','339104jINbhY','afterInit','name','9624528ohjRnI','11gJeOhA','pluginName'];_0x1db2=function(){return _0x41c8d4;};return _0x1db2();}
23
+ var _0x45a6c6=_0x4023;(function(_0x2a28cd,_0x135d5a){var _0x431afd=_0x4023,_0x4f1e3f=_0x2a28cd();while(!![]){try{var _0x11f56f=parseInt(_0x431afd(0x12f))/0x1+parseInt(_0x431afd(0x13a))/0x2+-parseInt(_0x431afd(0x136))/0x3+parseInt(_0x431afd(0x139))/0x4+-parseInt(_0x431afd(0x134))/0x5*(parseInt(_0x431afd(0x13d))/0x6)+-parseInt(_0x431afd(0x13c))/0x7*(parseInt(_0x431afd(0x138))/0x8)+-parseInt(_0x431afd(0x135))/0x9;if(_0x11f56f===_0x135d5a)break;else _0x4f1e3f['push'](_0x4f1e3f['shift']());}catch(_0xb50504){_0x4f1e3f['push'](_0x4f1e3f['shift']());}}}(_0x3368,0x7f5d4));function _0x4023(_0x27dac2,_0x55c618){var _0x3368fb=_0x3368();return _0x4023=function(_0x402309,_0xa0b3e3){_0x402309=_0x402309-0x12e;var _0xc6a55e=_0x3368fb[_0x402309];return _0xc6a55e;},_0x4023(_0x27dac2,_0x55c618);}function _0x3368(){var _0x305dc4=['1583254vRuRxC','afterInit','28119hVDMAA','12NRFJEa','aiadapter-text-adapter-not-set','932491ufnpkW','name','pluginName','AIRequestError','AIAdapter','2179565uJraah','2351097VTwIRI','1623702nvBloP','textAdapter','696KBnPtm','3285352AxTdjy'];_0x3368=function(){return _0x305dc4;};return _0x3368();}import{Plugin as _0x5aa189}from'ckeditor5/src/core.js';import{CKEditorError as _0x296eda}from'ckeditor5/src/utils.js';export default class y extends _0x5aa189{static get[_0x45a6c6(0x131)](){var _0x56af0d=_0x45a6c6;return _0x56af0d(0x133);}[_0x45a6c6(0x13b)](){var _0x5bab08=_0x45a6c6;if(!this[_0x5bab08(0x137)])throw new _0x296eda(_0x5bab08(0x12e),null);}}export class AIRequestError extends Error{constructor(_0x496158){var _0x4e18c5=_0x45a6c6;super(_0x496158),this[_0x4e18c5(0x130)]=_0x4e18c5(0x132);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b093a=_0x5364;function _0x5364(_0x137818,_0x2fca24){const _0x3ccedb=_0x3cce();return _0x5364=function(_0x5364e0,_0x517f60){_0x5364e0=_0x5364e0-0x15f;let _0x94aeca=_0x3ccedb[_0x5364e0];return _0x94aeca;},_0x5364(_0x137818,_0x2fca24);}(function(_0x59ebee,_0x39ac47){const _0x5ee130=_0x5364,_0x282d7b=_0x59ebee();while(!![]){try{const _0x35e72b=parseInt(_0x5ee130(0x17e))/0x1*(-parseInt(_0x5ee130(0x170))/0x2)+parseInt(_0x5ee130(0x17d))/0x3*(parseInt(_0x5ee130(0x174))/0x4)+parseInt(_0x5ee130(0x162))/0x5+-parseInt(_0x5ee130(0x16d))/0x6+parseInt(_0x5ee130(0x16c))/0x7*(-parseInt(_0x5ee130(0x181))/0x8)+-parseInt(_0x5ee130(0x180))/0x9+parseInt(_0x5ee130(0x177))/0xa*(parseInt(_0x5ee130(0x179))/0xb);if(_0x35e72b===_0x39ac47)break;else _0x282d7b['push'](_0x282d7b['shift']());}catch(_0x4053bf){_0x282d7b['push'](_0x282d7b['shift']());}}}(_0x3cce,0x42f8a));import{Plugin as _0x3a3a23}from'ckeditor5/src/core.js';import{CKEditorError as _0x147f9e}from'ckeditor5/src/utils.js';function _0x3cce(){const _0x30f20e=['locale','error','aitextadapter-send-request-failed','2512400OzwdMP','textAdapter','signal','sendRequest','get','editor','catch','_prepareRequestParameters','AI_ERROR_GET_HEADERS','name','2821czQtyN','1708170zmReDK','_prepareRequestHeaders','application/json','2YsCxLr','plugins','aborted','AbortError','44JUaJix','resolve','abortController','8723790JlTUKK','object','11bAHBUw','assign','makeRequest','abort','96810emzuqt','545722hzWuDg','reject','2669877VqNrcR','6520lPBoWo','requires','AI_ERROR_GET_PARAMETERS','init'];_0x3cce=function(){return _0x30f20e;};return _0x3cce();}import{default as _0x5df339,AIRequestError as _0x159597}from'./aiadapter.js';import{getTranslation as _0x42d5ad}from'../utils/common-translations.js';export default class P extends _0x3a3a23{static get[_0x5b093a(0x182)](){return[_0x5df339];}constructor(_0xad0039){const _0x21210e=_0x5b093a;super(_0xad0039),this[_0x21210e(0x176)]=new AbortController();}[_0x5b093a(0x184)](){const _0xa99a20=_0x5b093a;this[_0xa99a20(0x167)][_0xa99a20(0x171)][_0xa99a20(0x166)](_0x5df339)[_0xa99a20(0x163)]=this;}[_0x5b093a(0x17c)](){const _0x28a07e=_0x5b093a;this[_0x28a07e(0x176)][_0x28a07e(0x164)][_0x28a07e(0x172)]||(this[_0x28a07e(0x176)][_0x28a07e(0x17c)](),this[_0x28a07e(0x176)]=new AbortController());}async[_0x5b093a(0x17b)](_0x33de90){const _0x3db637=_0x5b093a;return this[_0x3db637(0x165)](_0x33de90)[_0x3db637(0x168)](_0x31ed54=>{const _0x41969b=_0x3db637;if(_0x31ed54 instanceof _0x159597)return Promise[_0x41969b(0x17f)](_0x31ed54);if(_0x41969b(0x173)==_0x31ed54[_0x41969b(0x16b)])return Promise[_0x41969b(0x175)]();throw console[_0x41969b(0x160)](_0x31ed54),new _0x147f9e(_0x41969b(0x161),null);});}async[_0x5b093a(0x16e)](_0x120c09,_0x203722){const _0x1279cf=_0x5b093a,_0x2ca23a=this[_0x1279cf(0x167)][_0x1279cf(0x15f)],_0x35de42={'Content-Type':_0x1279cf(0x16f)};if(_0x1279cf(0x178)==typeof _0x120c09)Object[_0x1279cf(0x17a)](_0x35de42,_0x120c09);else{if(_0x120c09)try{const _0x333389=await _0x120c09(_0x203722);Object[_0x1279cf(0x17a)](_0x35de42,_0x333389);}catch(_0x3a56f0){return Promise[_0x1279cf(0x17f)](new _0x159597(_0x42d5ad(_0x2ca23a,_0x1279cf(0x16a))));}}return _0x35de42;}async[_0x5b093a(0x169)](_0x2014b9,_0x45646b){const _0x22e43b=_0x5b093a,_0x45e62f=this[_0x22e43b(0x167)][_0x22e43b(0x15f)];if(_0x22e43b(0x178)==typeof _0x2014b9)return _0x2014b9;try{return await _0x2014b9(_0x45646b);}catch(_0x182e4f){return Promise[_0x22e43b(0x17f)](new _0x159597(_0x42d5ad(_0x45e62f,_0x22e43b(0x183))));}}}
23
+ const _0x37eaa4=_0xb507;(function(_0x5a5027,_0x22d192){const _0x140b97=_0xb507,_0x22f837=_0x5a5027();while(!![]){try{const _0x58fc3f=-parseInt(_0x140b97(0x117))/0x1*(parseInt(_0x140b97(0x124))/0x2)+-parseInt(_0x140b97(0x138))/0x3+-parseInt(_0x140b97(0x119))/0x4*(parseInt(_0x140b97(0x12a))/0x5)+parseInt(_0x140b97(0x12d))/0x6+-parseInt(_0x140b97(0x11b))/0x7+parseInt(_0x140b97(0x11d))/0x8+parseInt(_0x140b97(0x126))/0x9;if(_0x58fc3f===_0x22d192)break;else _0x22f837['push'](_0x22f837['shift']());}catch(_0x105893){_0x22f837['push'](_0x22f837['shift']());}}}(_0x1c36,0x7d096));import{Plugin as _0x24c230}from'ckeditor5/src/core.js';import{CKEditorError as _0x465d89}from'ckeditor5/src/utils.js';import{default as _0x477740,AIRequestError as _0x4f98d1}from'./aiadapter.js';function _0xb507(_0x4bc9e6,_0x365d46){const _0x1c3623=_0x1c36();return _0xb507=function(_0xb50719,_0x19f440){_0xb50719=_0xb50719-0x115;let _0x559e96=_0x1c3623[_0xb50719];return _0x559e96;},_0xb507(_0x4bc9e6,_0x365d46);}import{getTranslation as _0xd943c1}from'../utils/common-translations.js';export default class P extends _0x24c230{static get[_0x37eaa4(0x12f)](){return[_0x477740];}constructor(_0x2a66f){const _0xa801ba=_0x37eaa4;super(_0x2a66f),this[_0xa801ba(0x11a)]=new AbortController();}[_0x37eaa4(0x11e)](){const _0x21bf07=_0x37eaa4;this[_0x21bf07(0x11c)][_0x21bf07(0x120)][_0x21bf07(0x129)](_0x477740)[_0x21bf07(0x122)]=this;}[_0x37eaa4(0x131)](){const _0x56af12=_0x37eaa4;this[_0x56af12(0x11a)][_0x56af12(0x123)][_0x56af12(0x121)]||(this[_0x56af12(0x11a)][_0x56af12(0x131)](),this[_0x56af12(0x11a)]=new AbortController());}async[_0x37eaa4(0x12c)](_0x7885fa){const _0x15e546=_0x37eaa4;return this[_0x15e546(0x125)](_0x7885fa)[_0x15e546(0x115)](_0x5b5733=>{const _0x4acb23=_0x15e546;if(_0x5b5733 instanceof _0x4f98d1)return Promise[_0x4acb23(0x136)](_0x5b5733);if(_0x4acb23(0x128)==_0x5b5733[_0x4acb23(0x116)])return Promise[_0x4acb23(0x134)]();throw console[_0x4acb23(0x11f)](_0x5b5733),new _0x465d89(_0x4acb23(0x12e),null);});}async[_0x37eaa4(0x118)](_0xd0202f,_0x3885e1){const _0xddb0f7=_0x37eaa4,_0x2440ab=this[_0xddb0f7(0x11c)][_0xddb0f7(0x133)],_0x4a5a8b={'Content-Type':_0xddb0f7(0x130)};if(_0xddb0f7(0x137)==typeof _0xd0202f)Object[_0xddb0f7(0x132)](_0x4a5a8b,_0xd0202f);else{if(_0xd0202f)try{const _0x40cea9=await _0xd0202f(_0x3885e1);Object[_0xddb0f7(0x132)](_0x4a5a8b,_0x40cea9);}catch(_0x124453){return Promise[_0xddb0f7(0x136)](new _0x4f98d1(_0xd943c1(_0x2440ab,_0xddb0f7(0x12b))));}}return _0x4a5a8b;}async[_0x37eaa4(0x127)](_0xf9e8e1,_0x20a768){const _0x13f173=_0x37eaa4,_0x1686bb=this[_0x13f173(0x11c)][_0x13f173(0x133)];if(_0x13f173(0x137)==typeof _0xf9e8e1)return _0xf9e8e1;try{return await _0xf9e8e1(_0x20a768);}catch(_0x1ae3c7){return Promise[_0x13f173(0x136)](new _0x4f98d1(_0xd943c1(_0x1686bb,_0x13f173(0x135))));}}}function _0x1c36(){const _0x32470b=['object','2693727kQCTBa','catch','name','45366lDPvBG','_prepareRequestHeaders','19580BOYqFV','abortController','906773ooSFAM','editor','1921400UZPAPZ','init','error','plugins','aborted','textAdapter','signal','18fGYsHY','sendRequest','17692587TtyeYe','_prepareRequestParameters','AbortError','get','345XtVcAO','AI_ERROR_GET_HEADERS','makeRequest','477774tqQVdZ','aitextadapter-send-request-failed','requires','application/json','abort','assign','locale','resolve','AI_ERROR_GET_PARAMETERS','reject'];_0x1c36=function(){return _0x32470b;};return _0x1c36();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2445(_0x384e70,_0x2b9590){const _0x449630=_0x4496();return _0x2445=function(_0x2445cb,_0x5ce05e){_0x2445cb=_0x2445cb-0x120;let _0x179a1a=_0x449630[_0x2445cb];return _0x179a1a;},_0x2445(_0x384e70,_0x2b9590);}const _0x2fb34e=_0x2445;(function(_0x59f7c3,_0x3d72a8){const _0x5377bd=_0x2445,_0x2df530=_0x59f7c3();while(!![]){try{const _0x3919d4=parseInt(_0x5377bd(0x16f))/0x1+-parseInt(_0x5377bd(0x169))/0x2*(parseInt(_0x5377bd(0x137))/0x3)+-parseInt(_0x5377bd(0x156))/0x4+-parseInt(_0x5377bd(0x162))/0x5+-parseInt(_0x5377bd(0x12b))/0x6+-parseInt(_0x5377bd(0x145))/0x7*(-parseInt(_0x5377bd(0x139))/0x8)+-parseInt(_0x5377bd(0x143))/0x9*(-parseInt(_0x5377bd(0x144))/0xa);if(_0x3919d4===_0x3d72a8)break;else _0x2df530['push'](_0x2df530['shift']());}catch(_0x1354a8){_0x2df530['push'](_0x2df530['shift']());}}}(_0x4496,0x7d9d0));import{default as _0x3cf309}from'./aitextadapter.js';function _0x4496(){const _0x562dbb=['anthropic.claude','abortController','cohere.command','application/json','utf-8','anthropic.claude-v2','935440OEOLAk','getModelFamily','\x0a<</SYS>>\x0a[INST]\x0a','_getGeneratedText','completion','sendRequest','body','read','map','\x0a\x0aAssistant:','join','resolve','4617805LggzlK','generations','signal','completions','preparePrompt','<<SYS>>\x0a','_prepareRequestParameters','80126lIyubo','bedrock-2023-05-31','stringify','_readStreamableResponse','ai.aws.apiUrl','length','224587XAGajj','_processProxyRequest','_apiUrl','_readStaticResponse','filter','text','\x0a[/INST]','pluginName','ai.aws.requestParameters','bytes','utf8','AWSTextAdapter','locale','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','AI_ERROR_UNSUPPORTED_MODEL','919548ZFiiKg','decode','json','config','chunk','ai.aws.bedrockClientConfig','generation','editor','toString','define','from','_readAsyncIterableResponse','27JlcbUl','data','168HotTCu','ai.aws.requestHeaders','_requestParameters','POST','Instruction:\x0a','_bedrockClientConfig','test','_prepareRequestHeaders','parse','_processAWSRequest','18378WGgLIF','6640ambpYM','201761QZxlFx','split','meta.llama','getReader','Human:\x0a','send','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','_requestHeaders','ai21.j2','get','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.'];_0x4496=function(){return _0x562dbb;};return _0x4496();}import{AIRequestError as _0x1cb8d9}from'./aiadapter.js';import{BedrockRuntimeClient as _0x5c2baa,InvokeModelCommand as _0x521b0a,InvokeModelWithResponseStreamCommand as _0x40fae4}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0xc5e212}from'../utils/common-translations.js';export default class J extends _0x3cf309{static get[_0x2fb34e(0x123)](){const _0x5295c4=_0x2fb34e;return _0x5295c4(0x127);}constructor(_0x1e6928){const _0x1aa31e=_0x2fb34e;super(_0x1e6928),_0x1e6928[_0x1aa31e(0x12e)][_0x1aa31e(0x14e)](_0x1aa31e(0x124))||_0x1e6928[_0x1aa31e(0x12e)][_0x1aa31e(0x134)](_0x1aa31e(0x124),{'model':_0x1aa31e(0x155),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x1aa31e(0x16a),'stream':!0x0}),this[_0x1aa31e(0x171)]=_0x1e6928[_0x1aa31e(0x12e)][_0x1aa31e(0x14e)](_0x1aa31e(0x16d)),this[_0x1aa31e(0x13e)]=_0x1e6928[_0x1aa31e(0x12e)][_0x1aa31e(0x14e)](_0x1aa31e(0x130)),this[_0x1aa31e(0x14c)]=_0x1e6928[_0x1aa31e(0x12e)][_0x1aa31e(0x14e)](_0x1aa31e(0x13a)),this[_0x1aa31e(0x13b)]=_0x1e6928[_0x1aa31e(0x12e)][_0x1aa31e(0x14e)](_0x1aa31e(0x124));}async[_0x2fb34e(0x15b)]({query:_0x36839c,context:_0x40baef,onData:_0x5e366c,actionId:_0x2f0950}){const _0x9f1f5a=_0x2fb34e,{model:_0x5d7c96,stream:_0x3ec4d4,..._0x1a4b4c}=await this[_0x9f1f5a(0x168)](this[_0x9f1f5a(0x13b)],_0x2f0950),_0x330f91={'prompt':await this[_0x9f1f5a(0x166)](_0x36839c,_0x40baef,_0x5d7c96,_0x2f0950),..._0x1a4b4c};this[_0x9f1f5a(0x171)]?await this[_0x9f1f5a(0x170)](_0x330f91,_0x5d7c96,_0x3ec4d4,_0x5e366c,_0x2f0950):await this[_0x9f1f5a(0x142)](_0x330f91,_0x5d7c96,_0x3ec4d4,_0x5e366c);}async[_0x2fb34e(0x166)](_0x5d91f7,_0x2c52a8,_0x3a6aed,_0x4f432f){const _0x1b947c=_0x2fb34e;let _0x2448ae,_0x2ebd70;return _0x2c52a8?(_0x2448ae=_0x1b947c(0x14f),_0x2ebd70=_0x1b947c(0x13d)+_0x5d91f7+_0x1b947c(0x14b)+_0x2c52a8):(_0x2448ae=_0x1b947c(0x129),_0x2ebd70=_0x5d91f7),_0x1b947c(0x147)==this[_0x1b947c(0x157)](_0x3a6aed)?_0x1b947c(0x167)+_0x2448ae+_0x1b947c(0x158)+_0x2ebd70+_0x1b947c(0x122):_0x1b947c(0x149)+_0x2448ae+'\x0a'+_0x2ebd70+_0x1b947c(0x15f);}[_0x2fb34e(0x157)](_0x1022b1){const _0x488d7e=_0x2fb34e;if(/^anthropic\.claude/[_0x488d7e(0x13f)](_0x1022b1))return _0x488d7e(0x150);if(/^ai21\.j2/[_0x488d7e(0x13f)](_0x1022b1))return _0x488d7e(0x14d);if(/^cohere\.command/[_0x488d7e(0x13f)](_0x1022b1))return _0x488d7e(0x152);if(/^meta\.llama/[_0x488d7e(0x13f)](_0x1022b1))return _0x488d7e(0x147);throw new _0x1cb8d9(_0xc5e212(this[_0x488d7e(0x132)][_0x488d7e(0x128)],_0x488d7e(0x12a),_0x1022b1));}async[_0x2fb34e(0x170)](_0x241771,_0x2962d8,_0x89db02,_0x4d9e2b,_0x3f5938){const _0x120f6d=_0x2fb34e,_0x5c1fc2={'method':_0x120f6d(0x13c),'headers':await this[_0x120f6d(0x140)](this[_0x120f6d(0x14c)],_0x3f5938),'body':JSON[_0x120f6d(0x16b)]({..._0x241771,'model':_0x2962d8,'stream':_0x89db02}),'signal':this[_0x120f6d(0x151)][_0x120f6d(0x164)]},_0x1b5a0d=await fetch(this[_0x120f6d(0x171)],_0x5c1fc2);_0x89db02?await this[_0x120f6d(0x16c)](_0x1b5a0d,_0x2962d8,_0x4d9e2b):await this[_0x120f6d(0x172)](_0x1b5a0d,_0x2962d8,_0x4d9e2b);}async[_0x2fb34e(0x142)](_0x4d336b,_0x50d3e7,_0x38255a,_0x1a37c1){const _0x66a59e=_0x2fb34e,_0x1e50bc=new _0x5c2baa(this[_0x66a59e(0x13e)]),_0x43ab9f={'body':JSON[_0x66a59e(0x16b)](_0x4d336b),'contentType':_0x66a59e(0x153),'accept':_0x66a59e(0x153),'modelId':_0x50d3e7};let _0x5713e1;if(_0x38255a){const _0x17a3db=new _0x40fae4(_0x43ab9f);_0x5713e1=await _0x1e50bc[_0x66a59e(0x14a)](_0x17a3db,{'abortSignal':this[_0x66a59e(0x151)][_0x66a59e(0x164)]}),await this[_0x66a59e(0x136)](_0x5713e1,_0x50d3e7,_0x1a37c1);}else{const _0x1557e=new _0x521b0a(_0x43ab9f);_0x5713e1=await _0x1e50bc[_0x66a59e(0x14a)](_0x1557e,{'abortSignal':this[_0x66a59e(0x151)][_0x66a59e(0x164)]}),await this[_0x66a59e(0x172)](_0x5713e1,_0x50d3e7,_0x1a37c1);}}async[_0x2fb34e(0x136)](_0xec28eb,_0x3e680b,_0x2439a3){const _0xf99f2b=_0x2fb34e,_0x171e51=_0xec28eb[_0xf99f2b(0x15c)],_0x4fc856=new TextDecoder(_0xf99f2b(0x154));let _0x1b9494='';for await(const _0x2ea5c8 of _0x171e51)if(_0x2ea5c8[_0xf99f2b(0x12f)]){const _0x326150=_0x4fc856[_0xf99f2b(0x12c)](_0x2ea5c8[_0xf99f2b(0x12f)][_0xf99f2b(0x125)]),_0x5c4056=JSON[_0xf99f2b(0x141)](_0x326150);_0x1b9494+=this[_0xf99f2b(0x159)](_0x5c4056,_0x3e680b),_0x2439a3(_0x1b9494);}return Promise[_0xf99f2b(0x161)]();}async[_0x2fb34e(0x16c)](_0x6be3ed,_0xf4b985,_0x3c99a4){const _0x5eaf92=_0x2fb34e,_0x1c0723=_0x6be3ed[_0x5eaf92(0x15c)],_0x160614=new TextDecoder(_0x5eaf92(0x154)),_0xc774a1=_0x1c0723[_0x5eaf92(0x148)]();let _0x5c3c30='',_0x1aa9be='',_0x4f9e45=!0x1;for(;!_0x4f9e45;){const {done:_0x41fe27,value:_0x875c0a}=await _0xc774a1[_0x5eaf92(0x15d)]();if(_0x4f9e45=_0x41fe27,_0x4f9e45)break;const _0x22611b=(_0x5c3c30+_0x160614[_0x5eaf92(0x12c)](_0x875c0a))[_0x5eaf92(0x146)]('\x0a')[_0x5eaf92(0x15e)](_0x4c222a=>{const _0x4969e1=_0x5eaf92;try{return _0x5c3c30='',JSON[_0x4969e1(0x141)](_0x4c222a);}catch(_0x4cce4f){return _0x5c3c30=_0x4c222a,null;}})[_0x5eaf92(0x120)](_0x596d4a=>null!==_0x596d4a);_0x22611b[_0x5eaf92(0x16e)]&&(_0x1aa9be+=_0x22611b[_0x5eaf92(0x15e)](_0x336bf6=>this[_0x5eaf92(0x159)](_0x336bf6,_0xf4b985))[_0x5eaf92(0x160)](''),_0x3c99a4(_0x1aa9be));}return Promise[_0x5eaf92(0x161)]();}async[_0x2fb34e(0x172)](_0x4345ec,_0x2f2f07,_0x201a28){const _0xa81960=_0x2fb34e;let _0x228e08;return _0x228e08=_0x4345ec instanceof Response?await _0x4345ec[_0xa81960(0x12d)]():JSON[_0xa81960(0x141)](Buffer[_0xa81960(0x135)](_0x4345ec[_0xa81960(0x15c)])[_0xa81960(0x133)](_0xa81960(0x126))),(_0x201a28(this[_0xa81960(0x159)](_0x228e08,_0x2f2f07)),Promise[_0xa81960(0x161)]());}[_0x2fb34e(0x159)](_0x47d821,_0x35c8f5){const _0x25f150=_0x2fb34e;switch(this[_0x25f150(0x157)](_0x35c8f5)){case _0x25f150(0x150):return _0x47d821[_0x25f150(0x15a)];case _0x25f150(0x14d):return _0x47d821[_0x25f150(0x165)][0x0][_0x25f150(0x138)][_0x25f150(0x121)];case _0x25f150(0x152):return _0x47d821[_0x25f150(0x163)][0x0][_0x25f150(0x121)];case _0x25f150(0x147):return _0x47d821[_0x25f150(0x131)];}}}
23
+ const _0xa7ceb3=_0x3335;(function(_0x503e6a,_0x1e0975){const _0x11fd82=_0x3335,_0x456890=_0x503e6a();while(!![]){try{const _0x5ca191=parseInt(_0x11fd82(0x1d8))/0x1+-parseInt(_0x11fd82(0x206))/0x2+-parseInt(_0x11fd82(0x212))/0x3+-parseInt(_0x11fd82(0x218))/0x4*(-parseInt(_0x11fd82(0x1fe))/0x5)+parseInt(_0x11fd82(0x213))/0x6*(-parseInt(_0x11fd82(0x202))/0x7)+parseInt(_0x11fd82(0x210))/0x8*(parseInt(_0x11fd82(0x1ee))/0x9)+parseInt(_0x11fd82(0x1db))/0xa;if(_0x5ca191===_0x1e0975)break;else _0x456890['push'](_0x456890['shift']());}catch(_0xf70713){_0x456890['push'](_0x456890['shift']());}}}(_0x4ab7,0xb1d04));function _0x4ab7(){const _0x21422=['_bedrockClientConfig','1141882JRlKXr','_prepareRequestHeaders','resolve','from','920952hEsvUg','_requestParameters','read','generations','toString','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','preparePrompt','parse','_prepareRequestParameters','data','616nzkAHy','ai.aws.bedrockClientConfig','3178674xyajGw','18myKBoJ','AI_ERROR_UNSUPPORTED_MODEL','Instruction:\x0a','decode','ai.aws.apiUrl','4GRXdGT','join','signal','_apiUrl','_readAsyncIterableResponse','json','_getGeneratedText','\x0a\x0aAssistant:','define','abortController','utf8','body','bytes','getReader','generation','send','anthropic.claude','AWSTextAdapter','getModelFamily','667554zPmNcU','length','get','10582780XDtHHp','split','stringify','config','_readStaticResponse','ai.aws.requestHeaders','POST','\x0a[/INST]','locale','text','Human:\x0a','_processAWSRequest','\x0a<</SYS>>\x0a[INST]\x0a','bedrock-2023-05-31','ai21.j2','utf-8','ai.aws.requestParameters','anthropic.claude-v2','chunk','82107lBypDh','sendRequest','_processProxyRequest','map','application/json','completion','pluginName','filter','meta.llama','_requestHeaders','cohere.command','test','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','_readStreamableResponse','completions','1547165dsuzzu','editor','<<SYS>>\x0a'];_0x4ab7=function(){return _0x21422;};return _0x4ab7();}function _0x3335(_0xa68c7b,_0x37b849){const _0x4ab7d3=_0x4ab7();return _0x3335=function(_0x33350b,_0x4ac49d){_0x33350b=_0x33350b-0x1d1;let _0x340f78=_0x4ab7d3[_0x33350b];return _0x340f78;},_0x3335(_0xa68c7b,_0x37b849);}import{default as _0x57c4fe}from'./aitextadapter.js';import{AIRequestError as _0x16494e}from'./aiadapter.js';import{BedrockRuntimeClient as _0x508a74,InvokeModelCommand as _0x43fc83,InvokeModelWithResponseStreamCommand as _0x28ae6c}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x34c383}from'../utils/common-translations.js';export default class J extends _0x57c4fe{static get[_0xa7ceb3(0x1f4)](){const _0x1db041=_0xa7ceb3;return _0x1db041(0x1d6);}constructor(_0x1763ca){const _0x1173e5=_0xa7ceb3;super(_0x1763ca),_0x1763ca[_0x1173e5(0x1de)][_0x1173e5(0x1da)](_0x1173e5(0x1eb))||_0x1763ca[_0x1173e5(0x1de)][_0x1173e5(0x220)](_0x1173e5(0x1eb),{'model':_0x1173e5(0x1ec),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x1173e5(0x1e8),'stream':!0x0}),this[_0x1173e5(0x21b)]=_0x1763ca[_0x1173e5(0x1de)][_0x1173e5(0x1da)](_0x1173e5(0x217)),this[_0x1173e5(0x201)]=_0x1763ca[_0x1173e5(0x1de)][_0x1173e5(0x1da)](_0x1173e5(0x211)),this[_0x1173e5(0x1f7)]=_0x1763ca[_0x1173e5(0x1de)][_0x1173e5(0x1da)](_0x1173e5(0x1e0)),this[_0x1173e5(0x207)]=_0x1763ca[_0x1173e5(0x1de)][_0x1173e5(0x1da)](_0x1173e5(0x1eb));}async[_0xa7ceb3(0x1ef)]({query:_0xde7009,context:_0x160adb,onData:_0x2a6832,actionId:_0x4a7164}){const _0x130061=_0xa7ceb3,{model:_0x189dfe,stream:_0x560425,..._0x75ad66}=await this[_0x130061(0x20e)](this[_0x130061(0x207)],_0x4a7164),_0x124ecc={'prompt':await this[_0x130061(0x20c)](_0xde7009,_0x160adb,_0x189dfe,_0x4a7164),..._0x75ad66};this[_0x130061(0x21b)]?await this[_0x130061(0x1f0)](_0x124ecc,_0x189dfe,_0x560425,_0x2a6832,_0x4a7164):await this[_0x130061(0x1e6)](_0x124ecc,_0x189dfe,_0x560425,_0x2a6832);}async[_0xa7ceb3(0x20c)](_0x1748c6,_0x1a7111,_0xab7c2b,_0x3c5fd2){const _0x54dbfd=_0xa7ceb3;let _0x558e9b,_0x2e1619;return _0x1a7111?(_0x558e9b=_0x54dbfd(0x1fa),_0x2e1619=_0x54dbfd(0x215)+_0x1748c6+_0x54dbfd(0x20b)+_0x1a7111):(_0x558e9b=_0x54dbfd(0x1fb),_0x2e1619=_0x1748c6),_0x54dbfd(0x1f6)==this[_0x54dbfd(0x1d7)](_0xab7c2b)?_0x54dbfd(0x200)+_0x558e9b+_0x54dbfd(0x1e7)+_0x2e1619+_0x54dbfd(0x1e2):_0x54dbfd(0x1e5)+_0x558e9b+'\x0a'+_0x2e1619+_0x54dbfd(0x21f);}[_0xa7ceb3(0x1d7)](_0x4efcee){const _0x2d08f5=_0xa7ceb3;if(/^anthropic\.claude/[_0x2d08f5(0x1f9)](_0x4efcee))return _0x2d08f5(0x1d5);if(/^ai21\.j2/[_0x2d08f5(0x1f9)](_0x4efcee))return _0x2d08f5(0x1e9);if(/^cohere\.command/[_0x2d08f5(0x1f9)](_0x4efcee))return _0x2d08f5(0x1f8);if(/^meta\.llama/[_0x2d08f5(0x1f9)](_0x4efcee))return _0x2d08f5(0x1f6);throw new _0x16494e(_0x34c383(this[_0x2d08f5(0x1ff)][_0x2d08f5(0x1e3)],_0x2d08f5(0x214),_0x4efcee));}async[_0xa7ceb3(0x1f0)](_0x4e53d0,_0x3726e9,_0x477ae9,_0x38da97,_0x15c382){const _0x373bf7=_0xa7ceb3,_0x40fcdc={'method':_0x373bf7(0x1e1),'headers':await this[_0x373bf7(0x203)](this[_0x373bf7(0x1f7)],_0x15c382),'body':JSON[_0x373bf7(0x1dd)]({..._0x4e53d0,'model':_0x3726e9,'stream':_0x477ae9}),'signal':this[_0x373bf7(0x221)][_0x373bf7(0x21a)]},_0x53cda8=await fetch(this[_0x373bf7(0x21b)],_0x40fcdc);_0x477ae9?await this[_0x373bf7(0x1fc)](_0x53cda8,_0x3726e9,_0x38da97):await this[_0x373bf7(0x1df)](_0x53cda8,_0x3726e9,_0x38da97);}async[_0xa7ceb3(0x1e6)](_0x532205,_0x4d2e44,_0x9eb82e,_0x12ff2a){const _0x123632=_0xa7ceb3,_0x2282bf=new _0x508a74(this[_0x123632(0x201)]),_0x26773e={'body':JSON[_0x123632(0x1dd)](_0x532205),'contentType':_0x123632(0x1f2),'accept':_0x123632(0x1f2),'modelId':_0x4d2e44};let _0x1fca21;if(_0x9eb82e){const _0x5e9f3c=new _0x28ae6c(_0x26773e);_0x1fca21=await _0x2282bf[_0x123632(0x1d4)](_0x5e9f3c,{'abortSignal':this[_0x123632(0x221)][_0x123632(0x21a)]}),await this[_0x123632(0x21c)](_0x1fca21,_0x4d2e44,_0x12ff2a);}else{const _0x27dc19=new _0x43fc83(_0x26773e);_0x1fca21=await _0x2282bf[_0x123632(0x1d4)](_0x27dc19,{'abortSignal':this[_0x123632(0x221)][_0x123632(0x21a)]}),await this[_0x123632(0x1df)](_0x1fca21,_0x4d2e44,_0x12ff2a);}}async[_0xa7ceb3(0x21c)](_0x2b8b5f,_0x12469a,_0x4c9d9c){const _0x1dba71=_0xa7ceb3,_0x1965e1=_0x2b8b5f[_0x1dba71(0x223)],_0x2dcbc1=new TextDecoder(_0x1dba71(0x1ea));let _0x1eb64e='';for await(const _0x59f7be of _0x1965e1)if(_0x59f7be[_0x1dba71(0x1ed)]){const _0xc117bb=_0x2dcbc1[_0x1dba71(0x216)](_0x59f7be[_0x1dba71(0x1ed)][_0x1dba71(0x1d1)]),_0x97602=JSON[_0x1dba71(0x20d)](_0xc117bb);_0x1eb64e+=this[_0x1dba71(0x21e)](_0x97602,_0x12469a),_0x4c9d9c(_0x1eb64e);}return Promise[_0x1dba71(0x204)]();}async[_0xa7ceb3(0x1fc)](_0x1669a1,_0x2a7f1d,_0x27b366){const _0x444f63=_0xa7ceb3,_0x2eb41e=_0x1669a1[_0x444f63(0x223)],_0x38f6fe=new TextDecoder(_0x444f63(0x1ea)),_0x425cbc=_0x2eb41e[_0x444f63(0x1d2)]();let _0x39acd0='',_0x457294='',_0x4117b9=!0x1;for(;!_0x4117b9;){const {done:_0x488d09,value:_0x1368eb}=await _0x425cbc[_0x444f63(0x208)]();if(_0x4117b9=_0x488d09,_0x4117b9)break;const _0x36bdf9=(_0x39acd0+_0x38f6fe[_0x444f63(0x216)](_0x1368eb))[_0x444f63(0x1dc)]('\x0a')[_0x444f63(0x1f1)](_0x1fd247=>{const _0x187ac9=_0x444f63;try{return _0x39acd0='',JSON[_0x187ac9(0x20d)](_0x1fd247);}catch(_0x218128){return _0x39acd0=_0x1fd247,null;}})[_0x444f63(0x1f5)](_0x1dbe5e=>null!==_0x1dbe5e);_0x36bdf9[_0x444f63(0x1d9)]&&(_0x457294+=_0x36bdf9[_0x444f63(0x1f1)](_0x468565=>this[_0x444f63(0x21e)](_0x468565,_0x2a7f1d))[_0x444f63(0x219)](''),_0x27b366(_0x457294));}return Promise[_0x444f63(0x204)]();}async[_0xa7ceb3(0x1df)](_0x5d9a3e,_0x82750e,_0x20a1bc){const _0x26f1e5=_0xa7ceb3;let _0x5eaa97;return _0x5eaa97=_0x5d9a3e instanceof Response?await _0x5d9a3e[_0x26f1e5(0x21d)]():JSON[_0x26f1e5(0x20d)](Buffer[_0x26f1e5(0x205)](_0x5d9a3e[_0x26f1e5(0x223)])[_0x26f1e5(0x20a)](_0x26f1e5(0x222))),(_0x20a1bc(this[_0x26f1e5(0x21e)](_0x5eaa97,_0x82750e)),Promise[_0x26f1e5(0x204)]());}[_0xa7ceb3(0x21e)](_0xb6c86a,_0x31d7f1){const _0xc83c73=_0xa7ceb3;switch(this[_0xc83c73(0x1d7)](_0x31d7f1)){case _0xc83c73(0x1d5):return _0xb6c86a[_0xc83c73(0x1f3)];case _0xc83c73(0x1e9):return _0xb6c86a[_0xc83c73(0x1fd)][0x0][_0xc83c73(0x20f)][_0xc83c73(0x1e4)];case _0xc83c73(0x1f8):return _0xb6c86a[_0xc83c73(0x209)][0x0][_0xc83c73(0x1e4)];case _0xc83c73(0x1f6):return _0xb6c86a[_0xc83c73(0x1d3)];}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x556f(_0x45d15b,_0x31b3ea){const _0x549da0=_0x549d();return _0x556f=function(_0x556f33,_0x37ba85){_0x556f33=_0x556f33-0x1da;let _0x8b6d8d=_0x549da0[_0x556f33];return _0x8b6d8d;},_0x556f(_0x45d15b,_0x31b3ea);}const _0x47390e=_0x556f;(function(_0x151687,_0x4bca21){const _0x5a61a2=_0x556f,_0x4ca103=_0x151687();while(!![]){try{const _0x3863d3=parseInt(_0x5a61a2(0x1f0))/0x1+parseInt(_0x5a61a2(0x1f6))/0x2+parseInt(_0x5a61a2(0x1eb))/0x3+-parseInt(_0x5a61a2(0x208))/0x4*(-parseInt(_0x5a61a2(0x213))/0x5)+parseInt(_0x5a61a2(0x212))/0x6+parseInt(_0x5a61a2(0x204))/0x7+-parseInt(_0x5a61a2(0x207))/0x8;if(_0x3863d3===_0x4bca21)break;else _0x4ca103['push'](_0x4ca103['shift']());}catch(_0xbf313b){_0x4ca103['push'](_0x4ca103['shift']());}}}(_0x549d,0xea88a));function _0x549d(){const _0x4dda6e=['_isBufferIncomplete','AI_ERROR_CONTEXT_LENGTH','OpenAITextAdapter','stream','parse','[DONE]','reject','system','6997056rZnLWq','20yFNFKP','context_length_exceeded','_readStreamableResponse','getReader','Moderation','content','https://api.openai.com/v1/chat/completions','ai.openAI.apiUrl','_apiUrl','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','get','text','locale','replace','body','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','length','read','_prepareRequestParameters','AI_ERROR_MODERATION','abortController','Instruction:\x0a','json','_prepareRequestHeaders','signal','message','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','filter','1359999NWpHjb','ai.openAI.requestHeaders','config','ai.openAI.requestParameters','pluginName','737367SdqOka','delta','gpt-3.5-turbo','define','join','stringify','123522UmcwRE','map','_requestHeaders','split','_requestParameters','sendRequest','_readStaticResponse','includes','decode','resolve','choices','data:\x20','editor','user','10238648HJVkFc','prepareMessages','_cleanUpData','31097304pEuZok','966512VGmzaD','POST'];_0x549d=function(){return _0x4dda6e;};return _0x549d();}import{default as _0x5ae4ce}from'./aitextadapter.js';import{AIRequestError as _0x49b973}from'./aiadapter.js';import{getTranslation as _0x3eb99f}from'../utils/common-translations.js';export default class F extends _0x5ae4ce{static get[_0x47390e(0x1ef)](){const _0x7eec0f=_0x47390e;return _0x7eec0f(0x20c);}constructor(_0x31ea14){const _0x2d857d=_0x47390e;super(_0x31ea14),_0x31ea14[_0x2d857d(0x1ed)][_0x2d857d(0x1f3)](_0x2d857d(0x21a),_0x2d857d(0x219)),_0x31ea14[_0x2d857d(0x1ed)][_0x2d857d(0x21d)](_0x2d857d(0x1ee))||_0x31ea14[_0x2d857d(0x1ed)][_0x2d857d(0x1f3)](_0x2d857d(0x1ee),{'model':_0x2d857d(0x1f2),'max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x2d857d(0x21b)]=_0x31ea14[_0x2d857d(0x1ed)][_0x2d857d(0x21d)](_0x2d857d(0x21a)),this[_0x2d857d(0x1f8)]=_0x31ea14[_0x2d857d(0x1ed)][_0x2d857d(0x21d)](_0x2d857d(0x1ec))||{},this[_0x2d857d(0x1fa)]=_0x31ea14[_0x2d857d(0x1ed)][_0x2d857d(0x21d)](_0x2d857d(0x1ee));}async[_0x47390e(0x1fb)]({query:_0x5b31df,context:_0x282f10,onData:_0x1b9dc4,actionId:_0x4fa2fb}){const _0x3a6040=_0x47390e,_0x2effea=this[_0x3a6040(0x202)][_0x3a6040(0x1db)],_0x433c9a=await this[_0x3a6040(0x205)](_0x5b31df,_0x282f10,_0x4fa2fb),_0x2f661e=await this[_0x3a6040(0x1e6)](this[_0x3a6040(0x1f8)],_0x4fa2fb),_0x15c805=await this[_0x3a6040(0x1e1)](this[_0x3a6040(0x1fa)],_0x4fa2fb),_0x1791af={'messages':_0x433c9a,..._0x15c805},_0xdd2fcb={'method':_0x3a6040(0x209),'headers':_0x2f661e,'body':JSON[_0x3a6040(0x1f5)](_0x1791af),'signal':this[_0x3a6040(0x1e3)][_0x3a6040(0x1e7)]},_0x3f7a60=await fetch(this[_0x3a6040(0x21b)],_0xdd2fcb);if(_0x3f7a60['ok'])return _0x15c805[_0x3a6040(0x20d)]?await this[_0x3a6040(0x215)](_0x3f7a60,_0x1b9dc4):await this[_0x3a6040(0x1fc)](_0x3f7a60,_0x1b9dc4),Promise[_0x3a6040(0x1ff)]();{const _0x138734=await _0x3f7a60[_0x3a6040(0x1da)]();return _0x138734[_0x3a6040(0x1fd)](_0x3a6040(0x214))?Promise[_0x3a6040(0x210)](new _0x49b973(_0x3eb99f(_0x2effea,_0x3a6040(0x20b)))):_0x138734[_0x3a6040(0x1fd)](_0x3a6040(0x217))?Promise[_0x3a6040(0x210)](new _0x49b973(_0x3eb99f(_0x2effea,_0x3a6040(0x1e2)))):Promise[_0x3a6040(0x210)](new Error(_0x138734));}}async[_0x47390e(0x205)](_0x3742d8,_0x3ab662,_0x492e18){const _0x2114c8=_0x47390e;let _0x413595,_0x4f6010;return _0x3ab662?(_0x413595=_0x2114c8(0x1de),_0x4f6010=_0x2114c8(0x1e4)+_0x3742d8+_0x2114c8(0x1e9)+_0x3ab662):(_0x413595=_0x2114c8(0x21c),_0x4f6010=_0x3742d8),[{'role':_0x2114c8(0x211),'content':_0x413595},{'role':_0x2114c8(0x203),'content':_0x4f6010}];}async[_0x47390e(0x215)](_0x267d75,_0x297e92){const _0x117f46=_0x47390e,_0x3b6795=_0x267d75[_0x117f46(0x1dd)][_0x117f46(0x216)](),_0x1531aa=new TextDecoder();let _0x118479='',_0xa14d20='',_0x102f8c='',_0x6af3fd=!0x1;for(;!_0x6af3fd;){const {done:_0x255a1a,value:_0x41ff0e}=await _0x3b6795[_0x117f46(0x1e0)](),_0x4a3225=_0x118479+_0x1531aa[_0x117f46(0x1fe)](_0x41ff0e);let _0x4005d1='';_0x6af3fd=_0x255a1a;try{_0x4005d1=this[_0x117f46(0x206)](_0x4a3225),_0x118479='';}catch(_0x41d3e8){_0x118479=_0x4a3225;continue;}_0xa14d20+=_0x4005d1,!_0x6af3fd&&this[_0x117f46(0x20a)](_0xa14d20)||_0xa14d20&&(_0x102f8c+=_0xa14d20,_0xa14d20='',_0x297e92(_0x102f8c));}return Promise[_0x117f46(0x1ff)]();}async[_0x47390e(0x1fc)](_0x46e58b,_0x43836b){const _0x38316b=_0x47390e;return _0x43836b((await _0x46e58b[_0x38316b(0x1e5)]())[_0x38316b(0x200)][0x0][_0x38316b(0x1e8)][_0x38316b(0x218)]),Promise[_0x38316b(0x1ff)]();}[_0x47390e(0x20a)](_0x446612){const _0x17bbd3=_0x47390e,_0x4b5ae5=_0x446612[_0x17bbd3(0x1f9)]('<')[_0x17bbd3(0x1df)]!==_0x446612[_0x17bbd3(0x1f9)]('>')[_0x17bbd3(0x1df)],_0x337bf0=_0x446612[_0x17bbd3(0x1df)]<0x1e;return _0x4b5ae5&&_0x337bf0;}[_0x47390e(0x206)](_0x1dd99f){const _0x278eab=_0x47390e;return _0x1dd99f[_0x278eab(0x1f9)](/\n(?![^{]*\})/g)[_0x278eab(0x1f7)](_0xf1f78b=>_0xf1f78b[_0x278eab(0x1dc)](_0x278eab(0x201),''))[_0x278eab(0x1ea)](_0x3543a1=>_0x3543a1&&_0x3543a1[_0x278eab(0x1df)]>0x0&&_0x278eab(0x20f)!==_0x3543a1)[_0x278eab(0x1f7)](_0x330b55=>{const _0x3d322e=_0x278eab,{choices:_0x5d7e3b}=JSON[_0x3d322e(0x20e)](_0x330b55);if(_0x5d7e3b[0x0]&&_0x5d7e3b[0x0][_0x3d322e(0x1f1)]&&_0x5d7e3b[0x0][_0x3d322e(0x1f1)][_0x3d322e(0x218)])return _0x5d7e3b[0x0][_0x3d322e(0x1f1)][_0x3d322e(0x218)];})[_0x278eab(0x1ea)](_0x8d5508=>_0x8d5508)[_0x278eab(0x1f4)]('');}}
23
+ const _0x2c737f=_0x4045;(function(_0x2906a8,_0x203a45){const _0x4e47d5=_0x4045,_0xb5850=_0x2906a8();while(!![]){try{const _0x5e40d6=parseInt(_0x4e47d5(0xe9))/0x1*(-parseInt(_0x4e47d5(0xed))/0x2)+-parseInt(_0x4e47d5(0xd7))/0x3*(parseInt(_0x4e47d5(0xee))/0x4)+-parseInt(_0x4e47d5(0xce))/0x5+-parseInt(_0x4e47d5(0xe0))/0x6+-parseInt(_0x4e47d5(0xd0))/0x7*(-parseInt(_0x4e47d5(0xd6))/0x8)+parseInt(_0x4e47d5(0xe2))/0x9*(parseInt(_0x4e47d5(0x10c))/0xa)+parseInt(_0x4e47d5(0xe7))/0xb;if(_0x5e40d6===_0x203a45)break;else _0xb5850['push'](_0xb5850['shift']());}catch(_0x2cde03){_0xb5850['push'](_0xb5850['shift']());}}}(_0xc695,0xaf0c6));function _0x4045(_0x9f3cec,_0x151901){const _0xc69572=_0xc695();return _0x4045=function(_0x404528,_0x5bc29f){_0x404528=_0x404528-0xcd;let _0x5b25ab=_0xc69572[_0x404528];return _0x5b25ab;},_0x4045(_0x9f3cec,_0x151901);}import{default as _0x5b5bcf}from'./aitextadapter.js';function _0xc695(){const _0x11ac04=['6077856dlvNRy','_prepareRequestHeaders','802593vFxkiQ','prepareMessages','context_length_exceeded','length','pluginName','55201047HqwYHY','data:\x20','3LFtOWO','filter','_apiUrl','json','938130EotlWD','588eFKtqf','decode','define','_requestHeaders','map','Moderation','_readStaticResponse','read','message','ai.openAI.requestHeaders','getReader','config','gpt-3.5-turbo','_isBufferIncomplete','ai.openAI.apiUrl','content','[DONE]','_requestParameters','system','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','sendRequest','AI_ERROR_CONTEXT_LENGTH','replace','Instruction:\x0a','reject','_prepareRequestParameters','_readStreamableResponse','get','abortController','locale','10dGYkYc','_cleanUpData','POST','choices','stringify','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','ai.openAI.requestParameters','text','includes','4762130Vqwcnh','OpenAITextAdapter','2611YIuPQU','body','split','https://api.openai.com/v1/chat/completions','user','signal','1024hYbBct','21747pfLRnO','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','delta','AI_ERROR_MODERATION','editor','resolve','parse','join','stream'];_0xc695=function(){return _0x11ac04;};return _0xc695();}import{AIRequestError as _0x42fb60}from'./aiadapter.js';import{getTranslation as _0x654d47}from'../utils/common-translations.js';export default class F extends _0x5b5bcf{static get[_0x2c737f(0xe6)](){const _0x5e8d37=_0x2c737f;return _0x5e8d37(0xcf);}constructor(_0x5757fb){const _0x24b87e=_0x2c737f;super(_0x5757fb),_0x5757fb[_0x24b87e(0xf9)][_0x24b87e(0xf0)](_0x24b87e(0xfc),_0x24b87e(0xd3)),_0x5757fb[_0x24b87e(0xf9)][_0x24b87e(0x109)](_0x24b87e(0x112))||_0x5757fb[_0x24b87e(0xf9)][_0x24b87e(0xf0)](_0x24b87e(0x112),{'model':_0x24b87e(0xfa),'max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x24b87e(0xeb)]=_0x5757fb[_0x24b87e(0xf9)][_0x24b87e(0x109)](_0x24b87e(0xfc)),this[_0x24b87e(0xf1)]=_0x5757fb[_0x24b87e(0xf9)][_0x24b87e(0x109)](_0x24b87e(0xf7))||{},this[_0x24b87e(0xff)]=_0x5757fb[_0x24b87e(0xf9)][_0x24b87e(0x109)](_0x24b87e(0x112));}async[_0x2c737f(0x102)]({query:_0xb94427,context:_0x3686fb,onData:_0x3a70e5,actionId:_0x3b12f6}){const _0x539428=_0x2c737f,_0x56980f=this[_0x539428(0xdb)][_0x539428(0x10b)],_0x573f80=await this[_0x539428(0xe3)](_0xb94427,_0x3686fb,_0x3b12f6),_0x191b85=await this[_0x539428(0xe1)](this[_0x539428(0xf1)],_0x3b12f6),_0x540a5a=await this[_0x539428(0x107)](this[_0x539428(0xff)],_0x3b12f6),_0x5d7f1c={'messages':_0x573f80,..._0x540a5a},_0x14cf37={'method':_0x539428(0x10e),'headers':_0x191b85,'body':JSON[_0x539428(0x110)](_0x5d7f1c),'signal':this[_0x539428(0x10a)][_0x539428(0xd5)]},_0x473538=await fetch(this[_0x539428(0xeb)],_0x14cf37);if(_0x473538['ok'])return _0x540a5a[_0x539428(0xdf)]?await this[_0x539428(0x108)](_0x473538,_0x3a70e5):await this[_0x539428(0xf4)](_0x473538,_0x3a70e5),Promise[_0x539428(0xdc)]();{const _0x461f4f=await _0x473538[_0x539428(0x113)]();return _0x461f4f[_0x539428(0xcd)](_0x539428(0xe4))?Promise[_0x539428(0x106)](new _0x42fb60(_0x654d47(_0x56980f,_0x539428(0x103)))):_0x461f4f[_0x539428(0xcd)](_0x539428(0xf3))?Promise[_0x539428(0x106)](new _0x42fb60(_0x654d47(_0x56980f,_0x539428(0xda)))):Promise[_0x539428(0x106)](new Error(_0x461f4f));}}async[_0x2c737f(0xe3)](_0xb4e7db,_0x182b25,_0x65f967){const _0x115172=_0x2c737f;let _0x2a7f26,_0x136491;return _0x182b25?(_0x2a7f26=_0x115172(0x101),_0x136491=_0x115172(0x105)+_0xb4e7db+_0x115172(0x111)+_0x182b25):(_0x2a7f26=_0x115172(0xd8),_0x136491=_0xb4e7db),[{'role':_0x115172(0x100),'content':_0x2a7f26},{'role':_0x115172(0xd4),'content':_0x136491}];}async[_0x2c737f(0x108)](_0x43d772,_0x3da834){const _0x36ac07=_0x2c737f,_0x2ce7bc=_0x43d772[_0x36ac07(0xd1)][_0x36ac07(0xf8)](),_0x333ea9=new TextDecoder();let _0x5eeefb='',_0x480a38='',_0x3f094d='',_0x48ad1d=!0x1;for(;!_0x48ad1d;){const {done:_0x54eded,value:_0x2cdbba}=await _0x2ce7bc[_0x36ac07(0xf5)](),_0x151d3=_0x5eeefb+_0x333ea9[_0x36ac07(0xef)](_0x2cdbba);let _0x5980c5='';_0x48ad1d=_0x54eded;try{_0x5980c5=this[_0x36ac07(0x10d)](_0x151d3),_0x5eeefb='';}catch(_0x7733a5){_0x5eeefb=_0x151d3;continue;}_0x480a38+=_0x5980c5,!_0x48ad1d&&this[_0x36ac07(0xfb)](_0x480a38)||_0x480a38&&(_0x3f094d+=_0x480a38,_0x480a38='',_0x3da834(_0x3f094d));}return Promise[_0x36ac07(0xdc)]();}async[_0x2c737f(0xf4)](_0x1481f8,_0x1e783c){const _0x1309fb=_0x2c737f;return _0x1e783c((await _0x1481f8[_0x1309fb(0xec)]())[_0x1309fb(0x10f)][0x0][_0x1309fb(0xf6)][_0x1309fb(0xfd)]),Promise[_0x1309fb(0xdc)]();}[_0x2c737f(0xfb)](_0x586654){const _0x2132bd=_0x2c737f,_0x528b15=_0x586654[_0x2132bd(0xd2)]('<')[_0x2132bd(0xe5)]!==_0x586654[_0x2132bd(0xd2)]('>')[_0x2132bd(0xe5)],_0x324676=_0x586654[_0x2132bd(0xe5)]<0x1e;return _0x528b15&&_0x324676;}[_0x2c737f(0x10d)](_0x1caaec){const _0x229009=_0x2c737f;return _0x1caaec[_0x229009(0xd2)](/\n(?![^{]*\})/g)[_0x229009(0xf2)](_0x2f3c07=>_0x2f3c07[_0x229009(0x104)](_0x229009(0xe8),''))[_0x229009(0xea)](_0x58bcec=>_0x58bcec&&_0x58bcec[_0x229009(0xe5)]>0x0&&_0x229009(0xfe)!==_0x58bcec)[_0x229009(0xf2)](_0x10fe91=>{const _0x144c16=_0x229009,{choices:_0x47a9ce}=JSON[_0x144c16(0xdd)](_0x10fe91);if(_0x47a9ce[0x0]&&_0x47a9ce[0x0][_0x144c16(0xd9)]&&_0x47a9ce[0x0][_0x144c16(0xd9)][_0x144c16(0xfd)])return _0x47a9ce[0x0][_0x144c16(0xd9)][_0x144c16(0xfd)];})[_0x229009(0xea)](_0x65683e=>_0x65683e)[_0x229009(0xde)]('');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3010(_0x37a7cf,_0x326418){const _0x135bc0=_0x135b();return _0x3010=function(_0x30104e,_0x2298e9){_0x30104e=_0x30104e-0xa2;let _0x2c0eab=_0x135bc0[_0x30104e];return _0x2c0eab;},_0x3010(_0x37a7cf,_0x326418);}const _0xc5c0b0=_0x3010;(function(_0xef22b5,_0x56bf44){const _0xea8bc2=_0x3010,_0x590da1=_0xef22b5();while(!![]){try{const _0x41c3c8=-parseInt(_0xea8bc2(0xf9))/0x1*(-parseInt(_0xea8bc2(0xa4))/0x2)+-parseInt(_0xea8bc2(0xd3))/0x3+parseInt(_0xea8bc2(0x117))/0x4*(parseInt(_0xea8bc2(0xc8))/0x5)+-parseInt(_0xea8bc2(0xea))/0x6*(-parseInt(_0xea8bc2(0xd2))/0x7)+parseInt(_0xea8bc2(0xa5))/0x8+-parseInt(_0xea8bc2(0xfe))/0x9*(parseInt(_0xea8bc2(0x101))/0xa)+parseInt(_0xea8bc2(0xb4))/0xb;if(_0x41c3c8===_0x56bf44)break;else _0x590da1['push'](_0x590da1['shift']());}catch(_0x12f56d){_0x590da1['push'](_0x590da1['shift']());}}}(_0x135b,0x7b61a));import{CKEditorError as _0x3446cd}from'ckeditor5/src/utils.js';import{Plugin as _0x5cb1c6}from'ckeditor5/src/core.js';import _0xd4cd52 from'./aiassistantui.js';import _0x226031 from'./aiassistantediting.js';import{getTranslation as _0x277837}from'./utils/common-translations.js';export default class r extends _0x5cb1c6{static get[_0xc5c0b0(0x10b)](){return[_0xd4cd52,_0x226031];}static get[_0xc5c0b0(0xae)](){const _0x201377=_0xc5c0b0;return _0x201377(0xff);}constructor(_0x3e7871){const _0x1775da=_0xc5c0b0;super(_0x3e7871);const _0x10474b=_0x3e7871[_0x1775da(0xa2)];_0x10474b[_0x1775da(0x107)](_0x1775da(0xee),getDefaultCommands(_0x3e7871[_0x1775da(0xfa)])),_0x10474b[_0x1775da(0x107)](_0x1775da(0xdc),[]),_0x10474b[_0x1775da(0x107)](_0x1775da(0x108),[]);const _0x4e32ad=_0x10474b[_0x1775da(0x10f)](_0x1775da(0xee)),_0x54d488=_0x10474b[_0x1775da(0x10f)](_0x1775da(0xdc)),_0x519644=_0x10474b[_0x1775da(0x10f)](_0x1775da(0x108));_0x54d488[_0x1775da(0xc0)](_0x304543=>{const _0x3bfa79=_0x1775da,_0x236aa9=_0x4e32ad[_0x3bfa79(0xf3)](_0x48524e=>_0x48524e[_0x3bfa79(0xcc)]===_0x304543[_0x3bfa79(0xcc)]);_0x236aa9?_0x236aa9[_0x3bfa79(0xf7)]=_0x236aa9[_0x3bfa79(0xf7)][_0x3bfa79(0xb1)](_0x304543[_0x3bfa79(0xf7)]):_0x4e32ad[_0x3bfa79(0xa3)](_0x304543);}),_0x4e32ad[_0x1775da(0xc0)](_0x2b8c83=>{const _0x24702f=_0x1775da;_0x2b8c83[_0x24702f(0xf7)]=_0x2b8c83[_0x24702f(0xf7)][_0x24702f(0xeb)](_0x4dbe73=>!_0x519644[_0x24702f(0xcb)](_0x4dbe73['id']));}),_0x10474b[_0x1775da(0xe1)](_0x1775da(0xee),_0x4e32ad);}[_0xc5c0b0(0x104)](){const _0x564cac=_0xc5c0b0,_0x21f9a9=this[_0x564cac(0x100)];this[_0x564cac(0xb7)]=_0x21f9a9[_0x564cac(0xa2)][_0x564cac(0x10f)](_0x564cac(0xb7)),this[_0x564cac(0xaa)]=setInterval(()=>{const _0x1f0e5f=_0x564cac;let _0x360689;for(const _0x1b03df in _0x21f9a9){const _0x45a726=_0x1b03df,_0x5ab9fd=_0x21f9a9[_0x45a726];if(_0x1f0e5f(0x115)===_0x5ab9fd||_0x1f0e5f(0x110)===_0x5ab9fd||_0x1f0e5f(0xc1)===_0x5ab9fd||_0x1f0e5f(0xf6)===_0x5ab9fd){delete _0x21f9a9[_0x45a726],_0x360689=_0x5ab9fd;break;}}if(_0x1f0e5f(0x110)===_0x360689)throw clearInterval(this[_0x1f0e5f(0xaa)]),new _0x3446cd(_0x1f0e5f(0xbb),null);if(_0x1f0e5f(0x115)===_0x360689&&console[_0x1f0e5f(0xa7)](_0x1f0e5f(0xbd)),_0x1f0e5f(0xf6)===_0x360689)throw clearInterval(this[_0x1f0e5f(0xaa)]),new _0x3446cd(_0x1f0e5f(0xf5),null);_0x1f0e5f(0xc1)===_0x360689&&clearInterval(this[_0x1f0e5f(0xaa)]);},0x3e8);}[_0xc5c0b0(0xd9)](){const _0x3ad45a=_0xc5c0b0;this[_0x3ad45a(0xaa)]&&clearInterval(this[_0x3ad45a(0xaa)]);}}export function getDefaultCommands(_0x16b1f2){const _0x2c0272=_0xc5c0b0;return[{'groupId':_0x2c0272(0x116),'groupLabel':_0x277837(_0x16b1f2,_0x2c0272(0xe6)),'commands':[{'id':_0x2c0272(0xe4),'label':_0x277837(_0x16b1f2,_0x2c0272(0xa9)),'prompt':_0x2c0272(0x106)},{'id':_0x2c0272(0x119),'label':_0x277837(_0x16b1f2,_0x2c0272(0xc6)),'prompt':_0x2c0272(0xba)},{'id':_0x2c0272(0xde),'label':_0x277837(_0x16b1f2,_0x2c0272(0xac)),'prompt':_0x2c0272(0xc4)},{'id':_0x2c0272(0xb5),'label':_0x277837(_0x16b1f2,_0x2c0272(0xc5)),'prompt':_0x2c0272(0x118)}]},{'groupId':_0x2c0272(0x112),'groupLabel':_0x277837(_0x16b1f2,_0x2c0272(0xe3)),'commands':[{'id':_0x2c0272(0xc3),'label':_0x277837(_0x16b1f2,_0x2c0272(0xe5)),'prompt':_0x2c0272(0x103)},{'id':_0x2c0272(0xef),'label':_0x277837(_0x16b1f2,_0x2c0272(0xb8)),'prompt':_0x2c0272(0xe2)}]},{'groupId':_0x2c0272(0x114),'groupLabel':_0x277837(_0x16b1f2,_0x2c0272(0xdd)),'commands':[{'id':_0x2c0272(0xab),'label':_0x277837(_0x16b1f2,_0x2c0272(0x109)),'prompt':_0x2c0272(0xe8)},{'id':_0x2c0272(0x113),'label':_0x277837(_0x16b1f2,_0x2c0272(0xdb)),'prompt':_0x2c0272(0xd5)},{'id':_0x2c0272(0x105),'label':_0x277837(_0x16b1f2,_0x2c0272(0xaf)),'prompt':_0x2c0272(0x10e)},{'id':_0x2c0272(0xa6),'label':_0x277837(_0x16b1f2,_0x2c0272(0xb2)),'prompt':_0x2c0272(0x10c)},{'id':_0x2c0272(0xf8),'label':_0x277837(_0x16b1f2,_0x2c0272(0xf1)),'prompt':_0x2c0272(0xfb)}]},{'groupId':_0x2c0272(0xd8),'groupLabel':_0x277837(_0x16b1f2,_0x2c0272(0xe7)),'commands':[{'id':_0x2c0272(0x11b),'label':_0x277837(_0x16b1f2,_0x2c0272(0xad)),'prompt':_0x2c0272(0xed)},{'id':_0x2c0272(0xb3),'label':_0x277837(_0x16b1f2,_0x2c0272(0x10a)),'prompt':_0x2c0272(0x11a)},{'id':_0x2c0272(0x10d),'label':_0x277837(_0x16b1f2,_0x2c0272(0xb9)),'prompt':_0x2c0272(0xce)},{'id':_0x2c0272(0xec),'label':_0x277837(_0x16b1f2,_0x2c0272(0xfc)),'prompt':_0x2c0272(0xcd)}]},{'groupId':_0x2c0272(0xc7),'groupLabel':_0x277837(_0x16b1f2,_0x2c0272(0xb0)),'commands':[{'id':_0x2c0272(0x111),'label':_0x277837(_0x16b1f2,_0x2c0272(0xf2),[_0x277837(_0x16b1f2,_0x2c0272(0xda))]),'prompt':_0x2c0272(0xd0)},{'id':_0x2c0272(0xf4),'label':_0x277837(_0x16b1f2,_0x2c0272(0xf2),[_0x277837(_0x16b1f2,_0x2c0272(0xfd))]),'prompt':_0x2c0272(0xbf)},{'id':_0x2c0272(0xc9),'label':_0x277837(_0x16b1f2,_0x2c0272(0xf2),[_0x277837(_0x16b1f2,_0x2c0272(0xd4))]),'prompt':_0x2c0272(0xe0)},{'id':_0x2c0272(0x11c),'label':_0x277837(_0x16b1f2,_0x2c0272(0xf2),[_0x277837(_0x16b1f2,_0x2c0272(0x102))]),'prompt':_0x2c0272(0xcf)},{'id':_0x2c0272(0xd7),'label':_0x277837(_0x16b1f2,_0x2c0272(0xf2),[_0x277837(_0x16b1f2,_0x2c0272(0xa8))]),'prompt':_0x2c0272(0xca)},{'id':_0x2c0272(0xf0),'label':_0x277837(_0x16b1f2,_0x2c0272(0xf2),[_0x277837(_0x16b1f2,_0x2c0272(0xb6))]),'prompt':_0x2c0272(0xbe)},{'id':_0x2c0272(0xe9),'label':_0x277837(_0x16b1f2,_0x2c0272(0xf2),[_0x277837(_0x16b1f2,_0x2c0272(0xdf))]),'prompt':_0x2c0272(0xbc)},{'id':_0x2c0272(0xd6),'label':_0x277837(_0x16b1f2,_0x2c0272(0xf2),[_0x277837(_0x16b1f2,_0x2c0272(0xc2))]),'prompt':_0x2c0272(0xd1)}]}];}function _0x135b(){const _0x3a7202=['Translate\x20the\x20content\x20to\x20German\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','483aFnjbQ','1452564jdeTwa','Portuguese','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','translateArabic','translateFrench','changeStyle','destroy','English','Casual','ai.aiAssistant.extraCommandGroups','Change\x20tone','makeLonger','Hindi','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','set','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Generate\x20from\x20selection','improveWriting','Summarize','Edit\x20or\x20review','Change\x20style','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','translateHindi','61422LYWZYw','filter','poetic','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','ai.aiAssistant.commands','continue','translateChinese','Friendly','Translate\x20to\x20%0','find','translateSpanish','ai-trial-license-key-reached-limit-changes','aiLicenseKeyTrialLimit:operations','commands','friendly','1QJFPwh','locale','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Poetic','Spanish','432936fDUtCO','AIAssistant','editor','210Pvrqxc','German','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','init','direct','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','define','ai.aiAssistant.removeCommands','Professional','Legal','requires','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','journalism','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','get','aiLicenseKeyInvalid','translateEnglish','generate','casual','changeTone','aiLicenseKeyTrial','editOrReview','1461988YhmJip','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','makeShorter','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','business','translateGerman','config','push','850956nPTVWU','3306408drEmXS','confident','info','French','Improve\x20writing','_licenseKeyCheckInterval','professional','Make\x20longer','Business','pluginName','Direct','Translate','concat','Confident','legal','980243KMWJAu','simplifyLanguage','Simplified\x20Chinese','licenseKey','Continue','Journalism','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','ai-invalid-license-key','Translate\x20the\x20content\x20to\x20Hindi\x20language.','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20ai\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','forEach','aiLicenseKeyValid','Arabic','summarize','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Simplify\x20language','Make\x20shorter','translate','5zNgjVR','translatePortuguese','Translate\x20the\x20content\x20to\x20French\x20language.','includes','groupId','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'];_0x135b=function(){return _0x3a7202;};return _0x135b();}
23
+ const _0x5c212b=_0x265a;(function(_0x475395,_0x24c61e){const _0x4b637d=_0x265a,_0x46c9de=_0x475395();while(!![]){try{const _0x5728b5=parseInt(_0x4b637d(0x12b))/0x1+parseInt(_0x4b637d(0x154))/0x2*(-parseInt(_0x4b637d(0x171))/0x3)+-parseInt(_0x4b637d(0x11c))/0x4*(parseInt(_0x4b637d(0x10f))/0x5)+-parseInt(_0x4b637d(0x10a))/0x6+-parseInt(_0x4b637d(0x145))/0x7+-parseInt(_0x4b637d(0x164))/0x8+parseInt(_0x4b637d(0x111))/0x9;if(_0x5728b5===_0x24c61e)break;else _0x46c9de['push'](_0x46c9de['shift']());}catch(_0x754008){_0x46c9de['push'](_0x46c9de['shift']());}}}(_0x52d5,0x1c2c4));import{CKEditorError as _0x4e4c07}from'ckeditor5/src/utils.js';import{Plugin as _0x29aa35}from'ckeditor5/src/core.js';import _0x5156a9 from'./aiassistantui.js';import _0x4f6769 from'./aiassistantediting.js';function _0x52d5(){const _0x2ccc6d=['Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20ai\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','ai.aiAssistant.commands','makeLonger','casual','Translate\x20the\x20content\x20to\x20Spanish\x20language.','improveWriting','Summarize','direct','ai-invalid-license-key','4hlvLFb','Professional','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','English','friendly','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Legal','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','pluginName','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','translatePortuguese','poetic','aiLicenseKeyTrialLimit:operations','127544mmTnRU','changeStyle','translateHindi','Change\x20tone','Translate\x20the\x20content\x20to\x20English\x20language.','Translate\x20the\x20content\x20to\x20French\x20language.','French','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','editor','Make\x20longer','includes','Continue','translateArabic','Journalism','journalism','Confident','destroy','Translate\x20the\x20content\x20to\x20German\x20language.','define','ai.aiAssistant.extraCommandGroups','filter','Poetic','init','locale','ai-trial-license-key-reached-limit-changes','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','65590USnZrA','confident','Hindi','Friendly','German','concat','push','Make\x20shorter','commands','Spanish','groupId','config','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','find','translateEnglish','2302DTmpQs','forEach','Change\x20style','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','continue','licenseKey','Translate\x20the\x20content\x20to\x20Hindi\x20language.','makeShorter','Business','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','legal','editOrReview','info','summarize','Simplify\x20language','aiLicenseKeyTrial','873776vskEvH','simplifyLanguage','translateGerman','Improve\x20writing','Portuguese','_licenseKeyCheckInterval','translateChinese','Translate','aiLicenseKeyInvalid','AIAssistant','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','ai.aiAssistant.removeCommands','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','234gTwVPo','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Generate\x20from\x20selection','Edit\x20or\x20review','translateFrench','Translate\x20to\x20%0','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','requires','get','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','set','professional','Casual','Direct','changeTone','Arabic','Simplified\x20Chinese','business','1180728ezloHT','aiLicenseKeyValid','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','translateSpanish','translate','741820RLinYU','generate','4872366ADcfmg'];_0x52d5=function(){return _0x2ccc6d;};return _0x52d5();}import{getTranslation as _0x35e26f}from'./utils/common-translations.js';export default class r extends _0x29aa35{static get[_0x5c212b(0x178)](){return[_0x5156a9,_0x4f6769];}static get[_0x5c212b(0x125)](){const _0x1f30ac=_0x5c212b;return _0x1f30ac(0x16d);}constructor(_0x293d8c){const _0x3a800a=_0x5c212b;super(_0x293d8c);const _0x34496f=_0x293d8c[_0x3a800a(0x150)];_0x34496f[_0x3a800a(0x13d)](_0x3a800a(0x114),getDefaultCommands(_0x293d8c[_0x3a800a(0x142)])),_0x34496f[_0x3a800a(0x13d)](_0x3a800a(0x13e),[]),_0x34496f[_0x3a800a(0x13d)](_0x3a800a(0x16f),[]);const _0x31d1a5=_0x34496f[_0x3a800a(0x179)](_0x3a800a(0x114)),_0x9dd930=_0x34496f[_0x3a800a(0x179)](_0x3a800a(0x13e)),_0x1ceec6=_0x34496f[_0x3a800a(0x179)](_0x3a800a(0x16f));_0x9dd930[_0x3a800a(0x155)](_0x3450f9=>{const _0x2fe1b8=_0x3a800a,_0x49b3c1=_0x31d1a5[_0x2fe1b8(0x152)](_0x1c8b7d=>_0x1c8b7d[_0x2fe1b8(0x14f)]===_0x3450f9[_0x2fe1b8(0x14f)]);_0x49b3c1?_0x49b3c1[_0x2fe1b8(0x14d)]=_0x49b3c1[_0x2fe1b8(0x14d)][_0x2fe1b8(0x14a)](_0x3450f9[_0x2fe1b8(0x14d)]):_0x31d1a5[_0x2fe1b8(0x14b)](_0x3450f9);}),_0x31d1a5[_0x3a800a(0x155)](_0x1d557f=>{const _0x3b5f22=_0x3a800a;_0x1d557f[_0x3b5f22(0x14d)]=_0x1d557f[_0x3b5f22(0x14d)][_0x3b5f22(0x13f)](_0x2c264c=>!_0x1ceec6[_0x3b5f22(0x135)](_0x2c264c['id']));}),_0x34496f[_0x3a800a(0x17b)](_0x3a800a(0x114),_0x31d1a5);}[_0x5c212b(0x141)](){const _0x3bc1d8=_0x5c212b,_0x524aa0=this[_0x3bc1d8(0x133)];this[_0x3bc1d8(0x159)]=_0x524aa0[_0x3bc1d8(0x150)][_0x3bc1d8(0x179)](_0x3bc1d8(0x159)),this[_0x3bc1d8(0x169)]=setInterval(()=>{const _0x4941d5=_0x3bc1d8;let _0x3bb49c;for(const _0x2c486c in _0x524aa0){const _0x17223a=_0x2c486c,_0x47d45d=_0x524aa0[_0x17223a];if(_0x4941d5(0x163)===_0x47d45d||_0x4941d5(0x16c)===_0x47d45d||_0x4941d5(0x10b)===_0x47d45d||_0x4941d5(0x12a)===_0x47d45d){delete _0x524aa0[_0x17223a],_0x3bb49c=_0x47d45d;break;}}if(_0x4941d5(0x16c)===_0x3bb49c)throw clearInterval(this[_0x4941d5(0x169)]),new _0x4e4c07(_0x4941d5(0x11b),null);if(_0x4941d5(0x163)===_0x3bb49c&&console[_0x4941d5(0x160)](_0x4941d5(0x113)),_0x4941d5(0x12a)===_0x3bb49c)throw clearInterval(this[_0x4941d5(0x169)]),new _0x4e4c07(_0x4941d5(0x143),null);_0x4941d5(0x10b)===_0x3bb49c&&clearInterval(this[_0x4941d5(0x169)]);},0x3e8);}[_0x5c212b(0x13b)](){const _0x5840ae=_0x5c212b;this[_0x5840ae(0x169)]&&clearInterval(this[_0x5840ae(0x169)]);}}function _0x265a(_0x1ea077,_0x5e26ea){const _0x52d53e=_0x52d5();return _0x265a=function(_0x265a38,_0x1f53a3){_0x265a38=_0x265a38-0x104;let _0x36ca62=_0x52d53e[_0x265a38];return _0x36ca62;},_0x265a(_0x1ea077,_0x5e26ea);}export function getDefaultCommands(_0x30980e){const _0x4cb612=_0x5c212b;return[{'groupId':_0x4cb612(0x15f),'groupLabel':_0x35e26f(_0x30980e,_0x4cb612(0x174)),'commands':[{'id':_0x4cb612(0x118),'label':_0x35e26f(_0x30980e,_0x4cb612(0x167)),'prompt':_0x4cb612(0x10c)},{'id':_0x4cb612(0x15b),'label':_0x35e26f(_0x30980e,_0x4cb612(0x14c)),'prompt':_0x4cb612(0x17a)},{'id':_0x4cb612(0x115),'label':_0x35e26f(_0x30980e,_0x4cb612(0x134)),'prompt':_0x4cb612(0x170)},{'id':_0x4cb612(0x165),'label':_0x35e26f(_0x30980e,_0x4cb612(0x162)),'prompt':_0x4cb612(0x112)}]},{'groupId':_0x4cb612(0x110),'groupLabel':_0x35e26f(_0x30980e,_0x4cb612(0x173)),'commands':[{'id':_0x4cb612(0x161),'label':_0x35e26f(_0x30980e,_0x4cb612(0x119)),'prompt':_0x4cb612(0x11f)},{'id':_0x4cb612(0x158),'label':_0x35e26f(_0x30980e,_0x4cb612(0x136)),'prompt':_0x4cb612(0x127)}]},{'groupId':_0x4cb612(0x106),'groupLabel':_0x35e26f(_0x30980e,_0x4cb612(0x12e)),'commands':[{'id':_0x4cb612(0x17c),'label':_0x35e26f(_0x30980e,_0x4cb612(0x11d)),'prompt':_0x4cb612(0x157)},{'id':_0x4cb612(0x116),'label':_0x35e26f(_0x30980e,_0x4cb612(0x104)),'prompt':_0x4cb612(0x132)},{'id':_0x4cb612(0x11a),'label':_0x35e26f(_0x30980e,_0x4cb612(0x105)),'prompt':_0x4cb612(0x177)},{'id':_0x4cb612(0x146),'label':_0x35e26f(_0x30980e,_0x4cb612(0x13a)),'prompt':_0x4cb612(0x11e)},{'id':_0x4cb612(0x121),'label':_0x35e26f(_0x30980e,_0x4cb612(0x148)),'prompt':_0x4cb612(0x15d)}]},{'groupId':_0x4cb612(0x12c),'groupLabel':_0x35e26f(_0x30980e,_0x4cb612(0x156)),'commands':[{'id':_0x4cb612(0x109),'label':_0x35e26f(_0x30980e,_0x4cb612(0x15c)),'prompt':_0x4cb612(0x16e)},{'id':_0x4cb612(0x15e),'label':_0x35e26f(_0x30980e,_0x4cb612(0x123)),'prompt':_0x4cb612(0x172)},{'id':_0x4cb612(0x139),'label':_0x35e26f(_0x30980e,_0x4cb612(0x138)),'prompt':_0x4cb612(0x124)},{'id':_0x4cb612(0x129),'label':_0x35e26f(_0x30980e,_0x4cb612(0x140)),'prompt':_0x4cb612(0x151)}]},{'groupId':_0x4cb612(0x10e),'groupLabel':_0x35e26f(_0x30980e,_0x4cb612(0x16b)),'commands':[{'id':_0x4cb612(0x153),'label':_0x35e26f(_0x30980e,_0x4cb612(0x176),[_0x35e26f(_0x30980e,_0x4cb612(0x120))]),'prompt':_0x4cb612(0x12f)},{'id':_0x4cb612(0x10d),'label':_0x35e26f(_0x30980e,_0x4cb612(0x176),[_0x35e26f(_0x30980e,_0x4cb612(0x14e))]),'prompt':_0x4cb612(0x117)},{'id':_0x4cb612(0x128),'label':_0x35e26f(_0x30980e,_0x4cb612(0x176),[_0x35e26f(_0x30980e,_0x4cb612(0x168))]),'prompt':_0x4cb612(0x126)},{'id':_0x4cb612(0x166),'label':_0x35e26f(_0x30980e,_0x4cb612(0x176),[_0x35e26f(_0x30980e,_0x4cb612(0x149))]),'prompt':_0x4cb612(0x13c)},{'id':_0x4cb612(0x175),'label':_0x35e26f(_0x30980e,_0x4cb612(0x176),[_0x35e26f(_0x30980e,_0x4cb612(0x131))]),'prompt':_0x4cb612(0x130)},{'id':_0x4cb612(0x16a),'label':_0x35e26f(_0x30980e,_0x4cb612(0x176),[_0x35e26f(_0x30980e,_0x4cb612(0x108))]),'prompt':_0x4cb612(0x144)},{'id':_0x4cb612(0x12d),'label':_0x35e26f(_0x30980e,_0x4cb612(0x176),[_0x35e26f(_0x30980e,_0x4cb612(0x147))]),'prompt':_0x4cb612(0x15a)},{'id':_0x4cb612(0x137),'label':_0x35e26f(_0x30980e,_0x4cb612(0x176),[_0x35e26f(_0x30980e,_0x4cb612(0x107))]),'prompt':_0x4cb612(0x122)}]}];}