@ckeditor/ckeditor5-ai 43.0.0 → 43.1.0-alpha.1

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 (250) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/bs.js +1 -1
  7. package/build/translations/ca.js +1 -1
  8. package/build/translations/cs.js +1 -1
  9. package/build/translations/da.js +1 -1
  10. package/build/translations/de-ch.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/es-co.js +1 -1
  15. package/build/translations/es.js +1 -1
  16. package/build/translations/et.js +1 -1
  17. package/build/translations/fa.js +1 -1
  18. package/build/translations/fi.js +1 -1
  19. package/build/translations/fr.js +1 -1
  20. package/build/translations/gl.js +1 -1
  21. package/build/translations/he.js +1 -1
  22. package/build/translations/hi.js +1 -1
  23. package/build/translations/hr.js +1 -1
  24. package/build/translations/hu.js +1 -1
  25. package/build/translations/id.js +1 -1
  26. package/build/translations/it.js +1 -1
  27. package/build/translations/ja.js +1 -1
  28. package/build/translations/jv.js +1 -1
  29. package/build/translations/ko.js +1 -1
  30. package/build/translations/lt.js +1 -1
  31. package/build/translations/lv.js +1 -1
  32. package/build/translations/ms.js +1 -1
  33. package/build/translations/nl.js +1 -1
  34. package/build/translations/no.js +1 -1
  35. package/build/translations/pl.js +1 -1
  36. package/build/translations/pt-br.js +1 -1
  37. package/build/translations/pt.js +1 -1
  38. package/build/translations/ro.js +1 -1
  39. package/build/translations/ru.js +1 -1
  40. package/build/translations/sk.js +1 -1
  41. package/build/translations/sr-latn.js +1 -1
  42. package/build/translations/sr.js +1 -1
  43. package/build/translations/sv.js +1 -1
  44. package/build/translations/th.js +1 -1
  45. package/build/translations/ti.js +1 -1
  46. package/build/translations/tk.js +1 -1
  47. package/build/translations/tr.js +1 -1
  48. package/build/translations/ug.js +1 -1
  49. package/build/translations/uk.js +1 -1
  50. package/build/translations/ur.js +1 -1
  51. package/build/translations/uz.js +1 -1
  52. package/build/translations/vi.js +1 -1
  53. package/build/translations/zh-cn.js +1 -1
  54. package/build/translations/zh.js +1 -1
  55. package/dist/aiassistant.d.ts +8 -8
  56. package/dist/aiassistantediting.d.ts +1 -1
  57. package/dist/index-editor.css +1 -1
  58. package/dist/index.css +3 -3
  59. package/dist/index.js +2 -2
  60. package/dist/translations/af.js +1 -1
  61. package/dist/translations/af.umd.js +1 -1
  62. package/dist/translations/ar.js +1 -1
  63. package/dist/translations/ar.umd.js +1 -1
  64. package/dist/translations/bg.js +1 -1
  65. package/dist/translations/bg.umd.js +1 -1
  66. package/dist/translations/bn.js +1 -1
  67. package/dist/translations/bn.umd.js +1 -1
  68. package/dist/translations/bs.js +1 -1
  69. package/dist/translations/bs.umd.js +1 -1
  70. package/dist/translations/ca.js +1 -1
  71. package/dist/translations/ca.umd.js +1 -1
  72. package/dist/translations/cs.js +1 -1
  73. package/dist/translations/cs.umd.js +1 -1
  74. package/dist/translations/da.js +1 -1
  75. package/dist/translations/da.umd.js +1 -1
  76. package/dist/translations/de-ch.js +1 -1
  77. package/dist/translations/de-ch.umd.js +1 -1
  78. package/dist/translations/de.js +1 -1
  79. package/dist/translations/de.umd.js +1 -1
  80. package/dist/translations/el.js +1 -1
  81. package/dist/translations/el.umd.js +1 -1
  82. package/dist/translations/en-au.js +1 -1
  83. package/dist/translations/en-au.umd.js +1 -1
  84. package/dist/translations/en.js +1 -1
  85. package/dist/translations/en.umd.js +1 -1
  86. package/dist/translations/es-co.js +1 -1
  87. package/dist/translations/es-co.umd.js +1 -1
  88. package/dist/translations/es.js +1 -1
  89. package/dist/translations/es.umd.js +1 -1
  90. package/dist/translations/et.js +1 -1
  91. package/dist/translations/et.umd.js +1 -1
  92. package/dist/translations/fa.js +1 -1
  93. package/dist/translations/fa.umd.js +1 -1
  94. package/dist/translations/fi.js +1 -1
  95. package/dist/translations/fi.umd.js +1 -1
  96. package/dist/translations/fr.js +1 -1
  97. package/dist/translations/fr.umd.js +1 -1
  98. package/dist/translations/gl.js +1 -1
  99. package/dist/translations/gl.umd.js +1 -1
  100. package/dist/translations/he.js +1 -1
  101. package/dist/translations/he.umd.js +1 -1
  102. package/dist/translations/hi.js +1 -1
  103. package/dist/translations/hi.umd.js +1 -1
  104. package/dist/translations/hr.js +1 -1
  105. package/dist/translations/hr.umd.js +1 -1
  106. package/dist/translations/hu.js +1 -1
  107. package/dist/translations/hu.umd.js +1 -1
  108. package/dist/translations/id.js +1 -1
  109. package/dist/translations/id.umd.js +1 -1
  110. package/dist/translations/it.js +1 -1
  111. package/dist/translations/it.umd.js +1 -1
  112. package/dist/translations/ja.js +1 -1
  113. package/dist/translations/ja.umd.js +1 -1
  114. package/dist/translations/jv.js +1 -1
  115. package/dist/translations/jv.umd.js +1 -1
  116. package/dist/translations/ko.js +1 -1
  117. package/dist/translations/ko.umd.js +1 -1
  118. package/dist/translations/lt.js +1 -1
  119. package/dist/translations/lt.umd.js +1 -1
  120. package/dist/translations/lv.js +1 -1
  121. package/dist/translations/lv.umd.js +1 -1
  122. package/dist/translations/ms.js +1 -1
  123. package/dist/translations/ms.umd.js +1 -1
  124. package/dist/translations/nl.js +1 -1
  125. package/dist/translations/nl.umd.js +1 -1
  126. package/dist/translations/no.js +1 -1
  127. package/dist/translations/no.umd.js +1 -1
  128. package/dist/translations/pl.js +1 -1
  129. package/dist/translations/pl.umd.js +1 -1
  130. package/dist/translations/pt-br.js +1 -1
  131. package/dist/translations/pt-br.umd.js +1 -1
  132. package/dist/translations/pt.js +1 -1
  133. package/dist/translations/pt.umd.js +1 -1
  134. package/dist/translations/ro.js +1 -1
  135. package/dist/translations/ro.umd.js +1 -1
  136. package/dist/translations/ru.js +1 -1
  137. package/dist/translations/ru.umd.js +1 -1
  138. package/dist/translations/sk.js +1 -1
  139. package/dist/translations/sk.umd.js +1 -1
  140. package/dist/translations/sr-latn.js +1 -1
  141. package/dist/translations/sr-latn.umd.js +1 -1
  142. package/dist/translations/sr.js +1 -1
  143. package/dist/translations/sr.umd.js +1 -1
  144. package/dist/translations/sv.js +1 -1
  145. package/dist/translations/sv.umd.js +1 -1
  146. package/dist/translations/th.js +1 -1
  147. package/dist/translations/th.umd.js +1 -1
  148. package/dist/translations/ti.js +1 -1
  149. package/dist/translations/ti.umd.js +1 -1
  150. package/dist/translations/tk.js +1 -1
  151. package/dist/translations/tk.umd.js +1 -1
  152. package/dist/translations/tr.js +1 -1
  153. package/dist/translations/tr.umd.js +1 -1
  154. package/dist/translations/ug.js +1 -1
  155. package/dist/translations/ug.umd.js +1 -1
  156. package/dist/translations/uk.js +1 -1
  157. package/dist/translations/uk.umd.js +1 -1
  158. package/dist/translations/ur.js +1 -1
  159. package/dist/translations/ur.umd.js +1 -1
  160. package/dist/translations/uz.js +1 -1
  161. package/dist/translations/uz.umd.js +1 -1
  162. package/dist/translations/vi.js +1 -1
  163. package/dist/translations/vi.umd.js +1 -1
  164. package/dist/translations/zh-cn.js +1 -1
  165. package/dist/translations/zh-cn.umd.js +1 -1
  166. package/dist/translations/zh.js +1 -1
  167. package/dist/translations/zh.umd.js +1 -1
  168. package/dist/ui/showaiassistantcommand.d.ts +2 -2
  169. package/lang/contexts.json +0 -5
  170. package/lang/translations/af.po +0 -20
  171. package/lang/translations/ar.po +0 -20
  172. package/lang/translations/bg.po +0 -20
  173. package/lang/translations/bn.po +0 -20
  174. package/lang/translations/bs.po +0 -20
  175. package/lang/translations/ca.po +0 -20
  176. package/lang/translations/cs.po +0 -20
  177. package/lang/translations/da.po +0 -20
  178. package/lang/translations/de-ch.po +0 -20
  179. package/lang/translations/de.po +0 -20
  180. package/lang/translations/el.po +0 -20
  181. package/lang/translations/en-au.po +0 -20
  182. package/lang/translations/en.po +0 -20
  183. package/lang/translations/es-co.po +0 -20
  184. package/lang/translations/es.po +0 -20
  185. package/lang/translations/et.po +0 -20
  186. package/lang/translations/fa.po +0 -20
  187. package/lang/translations/fi.po +0 -20
  188. package/lang/translations/fr.po +0 -20
  189. package/lang/translations/gl.po +6 -26
  190. package/lang/translations/he.po +0 -20
  191. package/lang/translations/hi.po +0 -20
  192. package/lang/translations/hr.po +0 -20
  193. package/lang/translations/hu.po +0 -20
  194. package/lang/translations/id.po +0 -20
  195. package/lang/translations/it.po +0 -20
  196. package/lang/translations/ja.po +0 -20
  197. package/lang/translations/jv.po +0 -20
  198. package/lang/translations/ko.po +0 -20
  199. package/lang/translations/lt.po +0 -20
  200. package/lang/translations/lv.po +0 -20
  201. package/lang/translations/ms.po +0 -20
  202. package/lang/translations/nl.po +0 -20
  203. package/lang/translations/no.po +0 -20
  204. package/lang/translations/pl.po +0 -20
  205. package/lang/translations/pt-br.po +0 -20
  206. package/lang/translations/pt.po +0 -20
  207. package/lang/translations/ro.po +0 -20
  208. package/lang/translations/ru.po +0 -20
  209. package/lang/translations/sk.po +0 -20
  210. package/lang/translations/sr-latn.po +0 -20
  211. package/lang/translations/sr.po +0 -20
  212. package/lang/translations/sv.po +0 -20
  213. package/lang/translations/th.po +0 -20
  214. package/lang/translations/ti.po +0 -20
  215. package/lang/translations/tk.po +0 -20
  216. package/lang/translations/tr.po +0 -20
  217. package/lang/translations/ug.po +0 -20
  218. package/lang/translations/uk.po +0 -20
  219. package/lang/translations/ur.po +0 -20
  220. package/lang/translations/uz.po +0 -20
  221. package/lang/translations/vi.po +0 -20
  222. package/lang/translations/zh-cn.po +0 -20
  223. package/lang/translations/zh.po +0 -20
  224. package/package.json +8 -8
  225. package/src/adapters/aiadapter.js +1 -1
  226. package/src/adapters/aitextadapter.js +1 -1
  227. package/src/adapters/awstextadapter.js +1 -1
  228. package/src/adapters/openaitextadapter.js +1 -1
  229. package/src/aiassistant.d.ts +8 -8
  230. package/src/aiassistant.js +1 -1
  231. package/src/aiassistantediting.d.ts +1 -1
  232. package/src/aiassistantediting.js +1 -1
  233. package/src/aiassistantui.js +1 -1
  234. package/src/index.js +1 -1
  235. package/src/ui/aiassistantcontroller.js +2 -2
  236. package/src/ui/form/aiformcontentarea.js +1 -1
  237. package/src/ui/form/aiformerrorview.js +1 -1
  238. package/src/ui/form/aiformpromptview.js +1 -1
  239. package/src/ui/form/aiformtoolbarview.js +1 -1
  240. package/src/ui/form/aiformview.js +1 -1
  241. package/src/ui/form/aihistorylistitemview.js +1 -1
  242. package/src/ui/form/aihistorylistview.js +1 -1
  243. package/src/ui/form/prompthistory.js +1 -1
  244. package/src/ui/showaiassistantcommand.d.ts +2 -2
  245. package/src/ui/showaiassistantcommand.js +1 -1
  246. package/src/utils/common-translations.js +1 -1
  247. package/theme/ai.css +3 -3
  248. package/dist/ui/dropdown/aicommandslistview.d.ts +0 -37
  249. package/src/ui/dropdown/aicommandslistview.d.ts +0 -33
  250. package/src/ui/dropdown/aicommandslistview.js +0 -23
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "Översätt"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "Översätt till %0"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "Engelska"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "Prompthistorik"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "Sök AI-kommando"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "Inga kommandon hittades"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "Inga kommandon finns"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "%0 kommandon hittades"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "Ersätt"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "แปล"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "แปลเป็น %0"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "ภาษาอังกฤษ"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "ประวัติพรอมต์"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "ค้นหาคำสั่ง AI"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "ไม่พบคำสั่ง"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "ไม่มีคำสั่งให้ใช้"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "พบคำสั่ง %0 รายการ"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "แทนที่"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr ""
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr ""
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr ""
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr ""
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr ""
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr ""
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr ""
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr ""
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "ተክእ"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr ""
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr ""
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr ""
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr ""
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr ""
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr ""
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr ""
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr ""
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr ""
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "Çevir"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "%0 diline çevir"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "İngilizce"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "İstem geçmişi"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "Yapay Zekâ komutunu ara"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "Hiç komut bulunamadı"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "Kullanılabilir komut yok"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "%0 komut bulundu"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "Değiştir"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "تەرجىمە"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "%0 غا تەرجىمە قىل"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "ئىنگلىزچە"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "ئەسكەرتىش تارىخى"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "AI بۇيرۇقى ئىزدە"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "ھېچقانداق بۇيرۇق تېپىلمىدى"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "ھېچقانداق بۇيرۇق يوق"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr ""
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "ئالماشتۇر"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "Перекласти"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "Перекласти %0"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "Англійською"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "Історія підказок"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "Пошук команди ШІ"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "Жодних команд не знайдено"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "Немає доступних команд"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "Знайдено %0 команд"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "Замінити"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr ""
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr ""
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr ""
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr ""
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr ""
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr ""
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr ""
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr ""
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "بدل دیں"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr ""
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr ""
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr ""
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr ""
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr ""
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr ""
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr ""
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr ""
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr ""
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "Dịch"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "Dịch sang %0"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "Tiếng Anh"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "Lịch sử lời nhắc"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "Tìm kiếm lệnh AI"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "Không tìm thấy lệnh nào"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "Không có lệnh nào khả dụng"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "Đã tìm thấy %0 lệnh"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "Thay thế"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "翻译"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "翻译为%0"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "英语"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "提示词历史记录"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "搜索 AI 命令"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "未找到命令"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "没有可用的命令"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "找到 %0 个命令"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "替换"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "翻譯"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "翻譯為%0"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "英文"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "提示詞紀錄"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "搜尋 AI 指令"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "找不到指令"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "無可用指令"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "已找到 %0 個指令"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "取代"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ai",
3
- "version": "43.0.0",
3
+ "version": "43.1.0-alpha.1",
4
4
  "description": "AI Assistant feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -24,13 +24,13 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@aws-sdk/client-bedrock-runtime": "3.621.0",
27
- "@ckeditor/ckeditor5-clipboard": "43.0.0",
28
- "@ckeditor/ckeditor5-core": "43.0.0",
29
- "@ckeditor/ckeditor5-engine": "43.0.0",
30
- "@ckeditor/ckeditor5-ui": "43.0.0",
31
- "@ckeditor/ckeditor5-utils": "43.0.0",
32
- "ckeditor5": "43.0.0",
33
- "ckeditor5-collaboration": "43.0.0",
27
+ "@ckeditor/ckeditor5-clipboard": "43.1.0-alpha.1",
28
+ "@ckeditor/ckeditor5-core": "43.1.0-alpha.1",
29
+ "@ckeditor/ckeditor5-engine": "43.1.0-alpha.1",
30
+ "@ckeditor/ckeditor5-ui": "43.1.0-alpha.1",
31
+ "@ckeditor/ckeditor5-utils": "43.1.0-alpha.1",
32
+ "ckeditor5": "43.1.0-alpha.1",
33
+ "ckeditor5-collaboration": "43.1.0-alpha.1",
34
34
  "lodash-es": "4.17.21"
35
35
  },
36
36
  "type": "module",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x9e4470=_0x58aa;function _0x58aa(_0x3e9e5e,_0x233497){var _0x4572ac=_0x4572();return _0x58aa=function(_0x58aa89,_0x48f234){_0x58aa89=_0x58aa89-0x18b;var _0x648d11=_0x4572ac[_0x58aa89];return _0x648d11;},_0x58aa(_0x3e9e5e,_0x233497);}function _0x4572(){var _0x292380=['19555110kFEteJ','AIRequestError','pluginName','1688056DhYnTD','81muVpmc','48sAtaBu','28kyReTU','2xWJdsC','118668rZPTIp','name','afterInit','474920DZXMld','5168436IvTqKG','324354oeSqhl','1836265HsSjmq','2684QhyEzF','AIAdapter','aiadapter-text-adapter-not-set','textAdapter'];_0x4572=function(){return _0x292380;};return _0x4572();}(function(_0x2fcc90,_0x4fd417){var _0x1465e9=_0x58aa,_0x652e70=_0x2fcc90();while(!![]){try{var _0x10b8d4=parseInt(_0x1465e9(0x18d))/0x1*(-parseInt(_0x1465e9(0x199))/0x2)+parseInt(_0x1465e9(0x18b))/0x3+-parseInt(_0x1465e9(0x197))/0x4*(parseInt(_0x1465e9(0x19d))/0x5)+-parseInt(_0x1465e9(0x18c))/0x6*(parseInt(_0x1465e9(0x198))/0x7)+-parseInt(_0x1465e9(0x195))/0x8*(parseInt(_0x1465e9(0x196))/0x9)+parseInt(_0x1465e9(0x192))/0xa+parseInt(_0x1465e9(0x18e))/0xb*(parseInt(_0x1465e9(0x19a))/0xc);if(_0x10b8d4===_0x4fd417)break;else _0x652e70['push'](_0x652e70['shift']());}catch(_0xd3e8f8){_0x652e70['push'](_0x652e70['shift']());}}}(_0x4572,0xf41bb));import{Plugin as _0x34a3c9}from'ckeditor5/src/core.js';import{CKEditorError as _0x14aaaf}from'ckeditor5/src/utils.js';export default class k extends _0x34a3c9{static get[_0x9e4470(0x194)](){var _0x1810ba=_0x9e4470;return _0x1810ba(0x18f);}[_0x9e4470(0x19c)](){var _0x20ed13=_0x9e4470;if(!this[_0x20ed13(0x191)])throw new _0x14aaaf(_0x20ed13(0x190),null);}}export class AIRequestError extends Error{constructor(_0x591681){var _0x43e947=_0x9e4470;super(_0x591681),this[_0x43e947(0x19b)]=_0x43e947(0x193);}}
23
+ var _0x339101=_0x3e47;(function(_0x5cbaac,_0x308966){var _0x56b78b=_0x3e47,_0x4cb532=_0x5cbaac();while(!![]){try{var _0x3c59b3=parseInt(_0x56b78b(0x19d))/0x1*(parseInt(_0x56b78b(0x199))/0x2)+-parseInt(_0x56b78b(0x19b))/0x3*(parseInt(_0x56b78b(0x193))/0x4)+-parseInt(_0x56b78b(0x18b))/0x5+-parseInt(_0x56b78b(0x19a))/0x6*(-parseInt(_0x56b78b(0x194))/0x7)+-parseInt(_0x56b78b(0x190))/0x8*(parseInt(_0x56b78b(0x191))/0x9)+-parseInt(_0x56b78b(0x18f))/0xa*(-parseInt(_0x56b78b(0x18e))/0xb)+parseInt(_0x56b78b(0x196))/0xc*(parseInt(_0x56b78b(0x18c))/0xd);if(_0x3c59b3===_0x308966)break;else _0x4cb532['push'](_0x4cb532['shift']());}catch(_0x10e212){_0x4cb532['push'](_0x4cb532['shift']());}}}(_0x56f9,0x7263b));import{Plugin as _0x388bf3}from'ckeditor5/src/core.js';function _0x3e47(_0x59a35c,_0x392608){var _0x56f9df=_0x56f9();return _0x3e47=function(_0x3e4790,_0x3dba05){_0x3e4790=_0x3e4790-0x18b;var _0x361ff8=_0x56f9df[_0x3e4790];return _0x361ff8;},_0x3e47(_0x59a35c,_0x392608);}import{CKEditorError as _0x173d7b}from'ckeditor5/src/utils.js';export default class I extends _0x388bf3{static get[_0x339101(0x18d)](){var _0x31bb3f=_0x339101;return _0x31bb3f(0x19e);}[_0x339101(0x197)](){var _0x287774=_0x339101;if(!this[_0x287774(0x198)])throw new _0x173d7b(_0x287774(0x195),null);}}export class AIRequestError extends Error{constructor(_0x66808){var _0x469653=_0x339101;super(_0x66808),this[_0x469653(0x19c)]=_0x469653(0x192);}}function _0x56f9(){var _0x42d084=['2152974RvwHsP','186117FpmjNR','name','209571jWITTa','AIAdapter','4292875KwEmSq','2119OakBJT','pluginName','913781BAGDqK','10eBpoXM','8hSFTyR','1981305kUnifA','AIRequestError','56Ifxvrj','7rdaToU','aiadapter-text-adapter-not-set','83604EbERfG','afterInit','textAdapter','8mETAqf'];_0x56f9=function(){return _0x42d084;};return _0x56f9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x476f(){const _0x178002=['100205xoQYJo','aborted','abortController','error','editor','reject','2445QHFpyB','78UAgsSv','makeRequest','28uuFzDr','209957UMAIOA','AI_ERROR_GET_PARAMETERS','_prepareRequestParameters','348WAaJEt','object','textAdapter','locale','name','126534xRrkiK','415800xARavJ','resolve','_prepareRequestHeaders','208YKIncq','assign','requires','catch','9xjzuzv','3617340ENehrg','AbortError','AI_ERROR_GET_HEADERS','signal','aitextadapter-send-request-failed','484214OkFeAx','get','init','plugins','sendRequest','abort','application/json'];_0x476f=function(){return _0x178002;};return _0x476f();}function _0x1cc0(_0x201c8f,_0xe9beca){const _0x476fb4=_0x476f();return _0x1cc0=function(_0x1cc0f4,_0x145822){_0x1cc0f4=_0x1cc0f4-0x1d0;let _0x5cbc6c=_0x476fb4[_0x1cc0f4];return _0x5cbc6c;},_0x1cc0(_0x201c8f,_0xe9beca);}const _0x2e77fc=_0x1cc0;(function(_0xebcca4,_0x2663d0){const _0x2e9e0b=_0x1cc0,_0x130528=_0xebcca4();while(!![]){try{const _0x3e3459=parseInt(_0x2e9e0b(0x1dd))/0x1+parseInt(_0x2e9e0b(0x1eb))/0x2*(parseInt(_0x2e9e0b(0x1ea))/0x3)+-parseInt(_0x2e9e0b(0x1d3))/0x4*(-parseInt(_0x2e9e0b(0x1e4))/0x5)+parseInt(_0x2e9e0b(0x1f6))/0x6*(parseInt(_0x2e9e0b(0x1ed))/0x7)+parseInt(_0x2e9e0b(0x1d0))/0x8+-parseInt(_0x2e9e0b(0x1d7))/0x9*(parseInt(_0x2e9e0b(0x1d8))/0xa)+parseInt(_0x2e9e0b(0x1ee))/0xb*(-parseInt(_0x2e9e0b(0x1f1))/0xc);if(_0x3e3459===_0x2663d0)break;else _0x130528['push'](_0x130528['shift']());}catch(_0x2876e5){_0x130528['push'](_0x130528['shift']());}}}(_0x476f,0xbe3c5));import{Plugin as _0x5341eb}from'ckeditor5/src/core.js';import{CKEditorError as _0x230787}from'ckeditor5/src/utils.js';import{default as _0x40e29a,AIRequestError as _0x46b8e5}from'./aiadapter.js';import{getTranslation as _0xc505ad}from'../utils/common-translations.js';export default class P extends _0x5341eb{static get[_0x2e77fc(0x1d5)](){return[_0x40e29a];}constructor(_0x16c30e){const _0x5723a9=_0x2e77fc;super(_0x16c30e),this[_0x5723a9(0x1e6)]=new AbortController();}[_0x2e77fc(0x1df)](){const _0x1514f8=_0x2e77fc;this[_0x1514f8(0x1e8)][_0x1514f8(0x1e0)][_0x1514f8(0x1de)](_0x40e29a)[_0x1514f8(0x1f3)]=this;}[_0x2e77fc(0x1e2)](){const _0x258570=_0x2e77fc;this[_0x258570(0x1e6)][_0x258570(0x1db)][_0x258570(0x1e5)]||(this[_0x258570(0x1e6)][_0x258570(0x1e2)](),this[_0x258570(0x1e6)]=new AbortController());}async[_0x2e77fc(0x1ec)](_0x5c4656){const _0x33d806=_0x2e77fc;return this[_0x33d806(0x1e1)](_0x5c4656)[_0x33d806(0x1d6)](_0xa501c4=>{const _0x2a04e6=_0x33d806;if(_0xa501c4 instanceof _0x46b8e5)return Promise[_0x2a04e6(0x1e9)](_0xa501c4);if(_0x2a04e6(0x1d9)==_0xa501c4[_0x2a04e6(0x1f5)])return Promise[_0x2a04e6(0x1d1)]();throw console[_0x2a04e6(0x1e7)](_0xa501c4),new _0x230787(_0x2a04e6(0x1dc),null);});}async[_0x2e77fc(0x1d2)](_0x544cba,_0x3991fc){const _0x20fa9c=_0x2e77fc,_0x544ece=this[_0x20fa9c(0x1e8)][_0x20fa9c(0x1f4)],_0x33122c={'Content-Type':_0x20fa9c(0x1e3)};if(_0x20fa9c(0x1f2)==typeof _0x544cba)Object[_0x20fa9c(0x1d4)](_0x33122c,_0x544cba);else{if(_0x544cba)try{const _0x349877=await _0x544cba(_0x3991fc);Object[_0x20fa9c(0x1d4)](_0x33122c,_0x349877);}catch(_0x160e8a){return Promise[_0x20fa9c(0x1e9)](new _0x46b8e5(_0xc505ad(_0x544ece,_0x20fa9c(0x1da))));}}return _0x33122c;}async[_0x2e77fc(0x1f0)](_0x5b411d,_0x504d3c){const _0x305df5=_0x2e77fc,_0x4e6654=this[_0x305df5(0x1e8)][_0x305df5(0x1f4)];if(_0x305df5(0x1f2)==typeof _0x5b411d)return _0x5b411d;try{return await _0x5b411d(_0x504d3c);}catch(_0x563404){return Promise[_0x305df5(0x1e9)](new _0x46b8e5(_0xc505ad(_0x4e6654,_0x305df5(0x1ef))));}}}
23
+ function _0xb395(_0x40b54e,_0x5eb534){const _0x57ea35=_0x57ea();return _0xb395=function(_0xb39518,_0x1ae6ee){_0xb39518=_0xb39518-0x90;let _0x21cbc8=_0x57ea35[_0xb39518];return _0x21cbc8;},_0xb395(_0x40b54e,_0x5eb534);}const _0x154eea=_0xb395;(function(_0x423cd7,_0x2af0cf){const _0x3c84e7=_0xb395,_0x2119b8=_0x423cd7();while(!![]){try{const _0x31d934=-parseInt(_0x3c84e7(0x98))/0x1*(parseInt(_0x3c84e7(0xb7))/0x2)+-parseInt(_0x3c84e7(0x95))/0x3*(parseInt(_0x3c84e7(0x93))/0x4)+parseInt(_0x3c84e7(0xaf))/0x5+parseInt(_0x3c84e7(0xaa))/0x6*(-parseInt(_0x3c84e7(0xa8))/0x7)+parseInt(_0x3c84e7(0x99))/0x8*(-parseInt(_0x3c84e7(0xa6))/0x9)+parseInt(_0x3c84e7(0x91))/0xa*(parseInt(_0x3c84e7(0x9e))/0xb)+parseInt(_0x3c84e7(0x97))/0xc*(parseInt(_0x3c84e7(0x9f))/0xd);if(_0x31d934===_0x2af0cf)break;else _0x2119b8['push'](_0x2119b8['shift']());}catch(_0x179956){_0x2119b8['push'](_0x2119b8['shift']());}}}(_0x57ea,0xaf78a));import{Plugin as _0x3d1889}from'ckeditor5/src/core.js';import{CKEditorError as _0x1a73e7}from'ckeditor5/src/utils.js';import{default as _0x1bcc17,AIRequestError as _0x299b13}from'./aiadapter.js';import{getTranslation as _0x8a0b96}from'../utils/common-translations.js';export default class _ extends _0x3d1889{static get[_0x154eea(0x9b)](){return[_0x1bcc17];}constructor(_0x4a4b92){const _0x4e67c5=_0x154eea;super(_0x4a4b92),this[_0x4e67c5(0xb0)]=new AbortController();}[_0x154eea(0xac)](){const _0x6af6ae=_0x154eea;this[_0x6af6ae(0x96)][_0x6af6ae(0x92)][_0x6af6ae(0xae)](_0x1bcc17)[_0x6af6ae(0xa3)]=this;}[_0x154eea(0x9a)](){const _0x1bb819=_0x154eea;this[_0x1bb819(0xb0)][_0x1bb819(0xab)][_0x1bb819(0xb2)]||(this[_0x1bb819(0xb0)][_0x1bb819(0x9a)](),this[_0x1bb819(0xb0)]=new AbortController());}async[_0x154eea(0xa0)](_0x2080a2){const _0x2dcf8e=_0x154eea;return this[_0x2dcf8e(0x94)](_0x2080a2)[_0x2dcf8e(0x90)](_0x1ad534=>{const _0x223b8e=_0x2dcf8e;if(_0x1ad534 instanceof _0x299b13)return Promise[_0x223b8e(0xa1)](_0x1ad534);if(_0x223b8e(0xb6)==_0x1ad534[_0x223b8e(0xa5)])return Promise[_0x223b8e(0x9d)]();throw console[_0x223b8e(0xb5)](_0x1ad534),new _0x1a73e7(_0x223b8e(0xb3),null);});}async[_0x154eea(0x9c)](_0x39f8bd,_0x5e6008){const _0x200772=_0x154eea,_0x1129a1=this[_0x200772(0x96)][_0x200772(0xb1)],_0x50d487={'Content-Type':_0x200772(0xa4)};if(_0x200772(0xa7)==typeof _0x39f8bd)Object[_0x200772(0xad)](_0x50d487,_0x39f8bd);else{if(_0x39f8bd)try{const _0x241ae7=await _0x39f8bd(_0x5e6008);Object[_0x200772(0xad)](_0x50d487,_0x241ae7);}catch(_0x3284e3){return Promise[_0x200772(0xa1)](new _0x299b13(_0x8a0b96(_0x1129a1,_0x200772(0xa9))));}}return _0x50d487;}async[_0x154eea(0xa2)](_0xbef77e,_0x35b04a){const _0x37cf97=_0x154eea,_0x2e5c30=this[_0x37cf97(0x96)][_0x37cf97(0xb1)];if(_0x37cf97(0xa7)==typeof _0xbef77e)return _0xbef77e;try{return await _0xbef77e(_0x35b04a);}catch(_0x57571e){return Promise[_0x37cf97(0xa1)](new _0x299b13(_0x8a0b96(_0x2e5c30,_0x37cf97(0xb4))));}}}function _0x57ea(){const _0x2fed72=['_prepareRequestParameters','textAdapter','application/json','name','914877dGnIRZ','object','2779fBeYFi','AI_ERROR_GET_HEADERS','20700NeMzXo','signal','init','assign','get','6657050xCxedr','abortController','locale','aborted','aitextadapter-send-request-failed','AI_ERROR_GET_PARAMETERS','error','AbortError','24258ivAczj','catch','4598980YRwvOQ','plugins','285832pKJBrC','sendRequest','3cInKFB','editor','23551572ttipvl','56aPDxUk','72SNRZsV','abort','requires','_prepareRequestHeaders','resolve','11BzAWOh','13IcEqmT','makeRequest','reject'];_0x57ea=function(){return _0x2fed72;};return _0x57ea();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x196863=_0x530a;function _0x530a(_0x1151c5,_0x4ac699){const _0x49b489=_0x49b4();return _0x530a=function(_0x530ae8,_0x177e4c){_0x530ae8=_0x530ae8-0x1c5;let _0x2d2a3b=_0x49b489[_0x530ae8];return _0x2d2a3b;},_0x530a(_0x1151c5,_0x4ac699);}(function(_0x5e81c2,_0x573dd4){const _0x4858aa=_0x530a,_0x56a6c7=_0x5e81c2();while(!![]){try{const _0x231cf7=parseInt(_0x4858aa(0x1c6))/0x1+-parseInt(_0x4858aa(0x201))/0x2+parseInt(_0x4858aa(0x1f7))/0x3*(parseInt(_0x4858aa(0x210))/0x4)+-parseInt(_0x4858aa(0x1f6))/0x5*(-parseInt(_0x4858aa(0x1fb))/0x6)+parseInt(_0x4858aa(0x1fa))/0x7+parseInt(_0x4858aa(0x1d0))/0x8+-parseInt(_0x4858aa(0x1ff))/0x9;if(_0x231cf7===_0x573dd4)break;else _0x56a6c7['push'](_0x56a6c7['shift']());}catch(_0x559591){_0x56a6c7['push'](_0x56a6c7['shift']());}}}(_0x49b4,0x5a1a4));import{default as _0x21342a}from'./aitextadapter.js';import{AIRequestError as _0x4c1e9f}from'./aiadapter.js';import{BedrockRuntimeClient as _0x4c9e13,InvokeModelCommand as _0x313a9c,InvokeModelWithResponseStreamCommand as _0x56b76e}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x46f4b2}from'../utils/common-translations.js';export default class J extends _0x21342a{static get[_0x196863(0x1cf)](){const _0x30a535=_0x196863;return _0x30a535(0x1d3);}constructor(_0x3b4519){const _0x4c3ffb=_0x196863;super(_0x3b4519),_0x3b4519[_0x4c3ffb(0x1ec)][_0x4c3ffb(0x213)](_0x4c3ffb(0x1ca))||_0x3b4519[_0x4c3ffb(0x1ec)][_0x4c3ffb(0x20c)](_0x4c3ffb(0x1ca),{'model':_0x4c3ffb(0x1e7),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x4c3ffb(0x207),'stream':!0x0}),this[_0x4c3ffb(0x20e)]=_0x3b4519[_0x4c3ffb(0x1ec)][_0x4c3ffb(0x213)](_0x4c3ffb(0x1f8)),this[_0x4c3ffb(0x1e8)]=_0x3b4519[_0x4c3ffb(0x1ec)][_0x4c3ffb(0x213)](_0x4c3ffb(0x204)),this[_0x4c3ffb(0x1ed)]=_0x3b4519[_0x4c3ffb(0x1ec)][_0x4c3ffb(0x213)](_0x4c3ffb(0x1c9)),this[_0x4c3ffb(0x215)]=_0x3b4519[_0x4c3ffb(0x1ec)][_0x4c3ffb(0x213)](_0x4c3ffb(0x1ca));}async[_0x196863(0x1fe)]({query:_0x3c5aef,context:_0x23dc78,onData:_0x1577c1,actionId:_0x8c98ef}){const _0x445cb7=_0x196863,{model:_0x54be78,stream:_0x501050,..._0x206798}=await this[_0x445cb7(0x1f4)](this[_0x445cb7(0x215)],_0x8c98ef),_0x5ea86c={'prompt':await this[_0x445cb7(0x1fd)](_0x3c5aef,_0x23dc78,_0x54be78,_0x8c98ef),..._0x206798};this[_0x445cb7(0x20e)]?await this[_0x445cb7(0x1e3)](_0x5ea86c,_0x54be78,_0x501050,_0x1577c1,_0x8c98ef):await this[_0x445cb7(0x1d4)](_0x5ea86c,_0x54be78,_0x501050,_0x1577c1);}async[_0x196863(0x1fd)](_0x323a8d,_0x26551f,_0x4fd6f7,_0x24770b){const _0x5b8fa5=_0x196863;let _0x56174c,_0x21cad4;return _0x26551f?(_0x56174c=_0x5b8fa5(0x1df),_0x21cad4=_0x5b8fa5(0x214)+_0x323a8d+_0x5b8fa5(0x1eb)+_0x26551f):(_0x56174c=_0x5b8fa5(0x205),_0x21cad4=_0x323a8d),_0x5b8fa5(0x1d9)==this[_0x5b8fa5(0x1e2)](_0x4fd6f7)?_0x5b8fa5(0x1da)+_0x56174c+_0x5b8fa5(0x1d8)+_0x21cad4+_0x5b8fa5(0x1dc):_0x5b8fa5(0x1ef)+_0x56174c+'\x0a'+_0x21cad4+_0x5b8fa5(0x1fc);}[_0x196863(0x1e2)](_0x1b6fda){const _0x57ff5f=_0x196863;if(/^anthropic\.claude/[_0x57ff5f(0x20d)](_0x1b6fda))return _0x57ff5f(0x1ce);if(/^ai21\.j2/[_0x57ff5f(0x20d)](_0x1b6fda))return _0x57ff5f(0x1d5);if(/^cohere\.command/[_0x57ff5f(0x20d)](_0x1b6fda))return _0x57ff5f(0x1cb);if(/^meta\.llama/[_0x57ff5f(0x20d)](_0x1b6fda))return _0x57ff5f(0x1d9);throw new _0x4c1e9f(_0x46f4b2(this[_0x57ff5f(0x211)][_0x57ff5f(0x1cd)],_0x57ff5f(0x209),_0x1b6fda));}async[_0x196863(0x1e3)](_0x134185,_0x12d8e6,_0x38e531,_0x56bf8b,_0x39747c){const _0x511143=_0x196863,_0x3e6100={'method':_0x511143(0x1e9),'headers':await this[_0x511143(0x1e0)](this[_0x511143(0x1ed)],_0x39747c),'body':JSON[_0x511143(0x1cc)]({..._0x134185,'model':_0x12d8e6,'stream':_0x38e531}),'signal':this[_0x511143(0x1f1)][_0x511143(0x1db)]},_0x590ebd=await fetch(this[_0x511143(0x20e)],_0x3e6100);_0x38e531?await this[_0x511143(0x1ea)](_0x590ebd,_0x12d8e6,_0x56bf8b):await this[_0x511143(0x1e1)](_0x590ebd,_0x12d8e6,_0x56bf8b);}async[_0x196863(0x1d4)](_0x34d357,_0x6c835a,_0x24590c,_0x414f50){const _0xbe8aab=_0x196863,_0x4c92d6=new _0x4c9e13(this[_0xbe8aab(0x1e8)]),_0x5d5297={'body':JSON[_0xbe8aab(0x1cc)](_0x34d357),'contentType':_0xbe8aab(0x1f2),'accept':_0xbe8aab(0x1f2),'modelId':_0x6c835a};let _0x45ad8b;if(_0x24590c){const _0x364692=new _0x56b76e(_0x5d5297);_0x45ad8b=await _0x4c92d6[_0xbe8aab(0x1c8)](_0x364692,{'abortSignal':this[_0xbe8aab(0x1f1)][_0xbe8aab(0x1db)]}),await this[_0xbe8aab(0x1e5)](_0x45ad8b,_0x6c835a,_0x414f50);}else{const _0x55b510=new _0x313a9c(_0x5d5297);_0x45ad8b=await _0x4c92d6[_0xbe8aab(0x1c8)](_0x55b510,{'abortSignal':this[_0xbe8aab(0x1f1)][_0xbe8aab(0x1db)]}),await this[_0xbe8aab(0x1e1)](_0x45ad8b,_0x6c835a,_0x414f50);}}async[_0x196863(0x1e5)](_0x3a6930,_0x10618e,_0xdbef44){const _0x5af921=_0x196863,_0x5ce454=_0x3a6930[_0x5af921(0x203)],_0x2641da=new TextDecoder(_0x5af921(0x212));let _0x43ee24='';for await(const _0x4cccdc of _0x5ce454)if(_0x4cccdc[_0x5af921(0x20b)]){const _0x398a74=_0x2641da[_0x5af921(0x1d2)](_0x4cccdc[_0x5af921(0x20b)][_0x5af921(0x1f9)]),_0x5c9705=JSON[_0x5af921(0x1f3)](_0x398a74);_0x43ee24+=this[_0x5af921(0x1c5)](_0x5c9705,_0x10618e),_0xdbef44(_0x43ee24);}return Promise[_0x5af921(0x1f0)]();}async[_0x196863(0x1ea)](_0x56f7dd,_0x2b66fe,_0x384ed4){const _0x40e0b8=_0x196863,_0x59158d=_0x56f7dd[_0x40e0b8(0x203)],_0x36d1da=new TextDecoder(_0x40e0b8(0x212)),_0x4283b8=_0x59158d[_0x40e0b8(0x208)]();let _0x129c8c='',_0x3d8b46='',_0x361467=!0x1;for(;!_0x361467;){const {done:_0x55c91c,value:_0x29844f}=await _0x4283b8[_0x40e0b8(0x1f5)]();if(_0x361467=_0x55c91c,_0x361467)break;const _0x51fbea=(_0x129c8c+_0x36d1da[_0x40e0b8(0x1d2)](_0x29844f))[_0x40e0b8(0x206)]('\x0a')[_0x40e0b8(0x1d6)](_0x274698=>{const _0x277978=_0x40e0b8;try{return _0x129c8c='',JSON[_0x277978(0x1f3)](_0x274698);}catch(_0x2bf78a){return _0x129c8c=_0x274698,null;}})[_0x40e0b8(0x216)](_0x1d7f10=>null!==_0x1d7f10);_0x51fbea[_0x40e0b8(0x200)]&&(_0x3d8b46+=_0x51fbea[_0x40e0b8(0x1d6)](_0x3421d4=>this[_0x40e0b8(0x1c5)](_0x3421d4,_0x2b66fe))[_0x40e0b8(0x20a)](''),_0x384ed4(_0x3d8b46));}return Promise[_0x40e0b8(0x1f0)]();}async[_0x196863(0x1e1)](_0x48fd91,_0x5d283c,_0x5ee7b2){const _0x545f21=_0x196863;let _0x5cb86e;return _0x5cb86e=_0x48fd91 instanceof Response?await _0x48fd91[_0x545f21(0x20f)]():JSON[_0x545f21(0x1f3)](Buffer[_0x545f21(0x1d1)](_0x48fd91[_0x545f21(0x203)])[_0x545f21(0x1d7)](_0x545f21(0x1ee))),(_0x5ee7b2(this[_0x545f21(0x1c5)](_0x5cb86e,_0x5d283c)),Promise[_0x545f21(0x1f0)]());}[_0x196863(0x1c5)](_0x44c80f,_0x580808){const _0x2ba812=_0x196863;switch(this[_0x2ba812(0x1e2)](_0x580808)){case _0x2ba812(0x1ce):return _0x44c80f[_0x2ba812(0x1dd)];case _0x2ba812(0x1d5):return _0x44c80f[_0x2ba812(0x202)][0x0][_0x2ba812(0x1e6)][_0x2ba812(0x1e4)];case _0x2ba812(0x1cb):return _0x44c80f[_0x2ba812(0x1c7)][0x0][_0x2ba812(0x1e4)];case _0x2ba812(0x1d9):return _0x44c80f[_0x2ba812(0x1de)];}}}function _0x49b4(){const _0x3b4cd0=['415024csydoI','generations','send','ai.aws.requestHeaders','ai.aws.requestParameters','cohere.command','stringify','locale','anthropic.claude','pluginName','1308680wmHfng','from','decode','AWSTextAdapter','_processAWSRequest','ai21.j2','map','toString','\x0a<</SYS>>\x0a[INST]\x0a','meta.llama','<<SYS>>\x0a','signal','\x0a[/INST]','completion','generation','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.','_prepareRequestHeaders','_readStaticResponse','getModelFamily','_processProxyRequest','text','_readAsyncIterableResponse','data','anthropic.claude-v2','_bedrockClientConfig','POST','_readStreamableResponse','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','config','_requestHeaders','utf8','Human:\x0a','resolve','abortController','application/json','parse','_prepareRequestParameters','read','5mJJSUe','921867sdGPJz','ai.aws.apiUrl','bytes','1469986LudStn','2459292DOqiWN','\x0a\x0aAssistant:','preparePrompt','sendRequest','6553152ihydrQ','length','1431758wdTlBe','completions','body','ai.aws.bedrockClientConfig','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.','split','bedrock-2023-05-31','getReader','AI_ERROR_UNSUPPORTED_MODEL','join','chunk','define','test','_apiUrl','json','8NUuiyX','editor','utf-8','get','Instruction:\x0a','_requestParameters','filter','_getGeneratedText'];_0x49b4=function(){return _0x3b4cd0;};return _0x49b4();}
23
+ const _0x4f5d3f=_0xcc48;function _0x441c(){const _0x3c1a91=['generations','_readStreamableResponse','length','data','map','abortController','locale','_requestHeaders','bytes','sendRequest','config','anthropic.claude-v2','\x0a\x0aAssistant:','pluginName','1436032bKtfZk','completion','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.','test','utf-8','editor','cohere.command','Human:\x0a','POST','350389tPqmlr','completions','utf8','_processAWSRequest','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.','7FtHltB','get','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','chunk','<<SYS>>\x0a','ai.aws.requestHeaders','decode','getReader','parse','json','filter','from','_prepareRequestParameters','ai.aws.apiUrl','_prepareRequestHeaders','join','getModelFamily','anthropic.claude','preparePrompt','_apiUrl','bedrock-2023-05-31','_requestParameters','_readAsyncIterableResponse','application/json','body','AI_ERROR_UNSUPPORTED_MODEL','signal','_processProxyRequest','split','1489486nyLmdV','_getGeneratedText','4194492QLjhAW','resolve','generation','ai.aws.bedrockClientConfig','1731195ZeQnJi','_bedrockClientConfig','4760024WLjJKs','stringify','2462220XlukXI','AWSTextAdapter','text','\x0a<</SYS>>\x0a[INST]\x0a','read','ai21.j2','Instruction:\x0a','ai.aws.requestParameters','meta.llama','\x0a[/INST]','send','_readStaticResponse','define','toString'];_0x441c=function(){return _0x3c1a91;};return _0x441c();}(function(_0x48ed43,_0x3446e8){const _0x4bd50f=_0xcc48,_0x1dd62f=_0x48ed43();while(!![]){try{const _0x556748=parseInt(_0x4bd50f(0x1fd))/0x1+parseInt(_0x4bd50f(0x1ce))/0x2+-parseInt(_0x4bd50f(0x1d4))/0x3+-parseInt(_0x4bd50f(0x1f4))/0x4+parseInt(_0x4bd50f(0x1d8))/0x5+-parseInt(_0x4bd50f(0x1d0))/0x6+-parseInt(_0x4bd50f(0x202))/0x7*(-parseInt(_0x4bd50f(0x1d6))/0x8);if(_0x556748===_0x3446e8)break;else _0x1dd62f['push'](_0x1dd62f['shift']());}catch(_0x20d49e){_0x1dd62f['push'](_0x1dd62f['shift']());}}}(_0x441c,0x85a60));import{default as _0x1b2b5e}from'./aitextadapter.js';import{AIRequestError as _0x272440}from'./aiadapter.js';import{BedrockRuntimeClient as _0x20a3b6,InvokeModelCommand as _0x1079f1,InvokeModelWithResponseStreamCommand as _0x5def97}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x3f84c8}from'../utils/common-translations.js';function _0xcc48(_0x59dfc7,_0x393a94){const _0x441cda=_0x441c();return _0xcc48=function(_0xcc4876,_0x21e061){_0xcc4876=_0xcc4876-0x1c3;let _0x5b3014=_0x441cda[_0xcc4876];return _0x5b3014;},_0xcc48(_0x59dfc7,_0x393a94);}export default class O extends _0x1b2b5e{static get[_0x4f5d3f(0x1f3)](){const _0x12b15f=_0x4f5d3f;return _0x12b15f(0x1d9);}constructor(_0x4085a8){const _0x5a8600=_0x4f5d3f;super(_0x4085a8),_0x4085a8[_0x5a8600(0x1f0)][_0x5a8600(0x203)](_0x5a8600(0x1df))||_0x4085a8[_0x5a8600(0x1f0)][_0x5a8600(0x1e4)](_0x5a8600(0x1df),{'model':_0x5a8600(0x1f1),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x5a8600(0x1c5),'stream':!0x0}),this[_0x5a8600(0x1c4)]=_0x4085a8[_0x5a8600(0x1f0)][_0x5a8600(0x203)](_0x5a8600(0x20f)),this[_0x5a8600(0x1d5)]=_0x4085a8[_0x5a8600(0x1f0)][_0x5a8600(0x203)](_0x5a8600(0x1d3)),this[_0x5a8600(0x1ed)]=_0x4085a8[_0x5a8600(0x1f0)][_0x5a8600(0x203)](_0x5a8600(0x207)),this[_0x5a8600(0x1c6)]=_0x4085a8[_0x5a8600(0x1f0)][_0x5a8600(0x203)](_0x5a8600(0x1df));}async[_0x4f5d3f(0x1ef)]({query:_0x44d22f,context:_0x3f807d,onData:_0x434ea8,actionId:_0x358911}){const _0x31e10b=_0x4f5d3f,{model:_0x5c6603,stream:_0x4eb48a,..._0x3b0239}=await this[_0x31e10b(0x20e)](this[_0x31e10b(0x1c6)],_0x358911),_0x226310={'prompt':await this[_0x31e10b(0x1c3)](_0x44d22f,_0x3f807d,_0x5c6603,_0x358911),..._0x3b0239};this[_0x31e10b(0x1c4)]?await this[_0x31e10b(0x1cc)](_0x226310,_0x5c6603,_0x4eb48a,_0x434ea8,_0x358911):await this[_0x31e10b(0x200)](_0x226310,_0x5c6603,_0x4eb48a,_0x434ea8);}async[_0x4f5d3f(0x1c3)](_0x5bfa28,_0x461678,_0x3d7566,_0x3f79ea){const _0x27d3a4=_0x4f5d3f;let _0x58df33,_0x1a4ca7;return _0x461678?(_0x58df33=_0x27d3a4(0x1f6),_0x1a4ca7=_0x27d3a4(0x1de)+_0x5bfa28+_0x27d3a4(0x204)+_0x461678):(_0x58df33=_0x27d3a4(0x201),_0x1a4ca7=_0x5bfa28),_0x27d3a4(0x1e0)==this[_0x27d3a4(0x212)](_0x3d7566)?_0x27d3a4(0x206)+_0x58df33+_0x27d3a4(0x1db)+_0x1a4ca7+_0x27d3a4(0x1e1):_0x27d3a4(0x1fb)+_0x58df33+'\x0a'+_0x1a4ca7+_0x27d3a4(0x1f2);}[_0x4f5d3f(0x212)](_0x137a00){const _0x59f9b4=_0x4f5d3f;if(/^anthropic\.claude/[_0x59f9b4(0x1f7)](_0x137a00))return _0x59f9b4(0x213);if(/^ai21\.j2/[_0x59f9b4(0x1f7)](_0x137a00))return _0x59f9b4(0x1dd);if(/^cohere\.command/[_0x59f9b4(0x1f7)](_0x137a00))return _0x59f9b4(0x1fa);if(/^meta\.llama/[_0x59f9b4(0x1f7)](_0x137a00))return _0x59f9b4(0x1e0);throw new _0x272440(_0x3f84c8(this[_0x59f9b4(0x1f9)][_0x59f9b4(0x1ec)],_0x59f9b4(0x1ca),_0x137a00));}async[_0x4f5d3f(0x1cc)](_0x9f00d9,_0x539ab5,_0x599698,_0x5e3a34,_0x29ae5f){const _0xbd7548=_0x4f5d3f,_0x2afae1={'method':_0xbd7548(0x1fc),'headers':await this[_0xbd7548(0x210)](this[_0xbd7548(0x1ed)],_0x29ae5f),'body':JSON[_0xbd7548(0x1d7)]({..._0x9f00d9,'model':_0x539ab5,'stream':_0x599698}),'signal':this[_0xbd7548(0x1eb)][_0xbd7548(0x1cb)]},_0x44c0ff=await fetch(this[_0xbd7548(0x1c4)],_0x2afae1);_0x599698?await this[_0xbd7548(0x1e7)](_0x44c0ff,_0x539ab5,_0x5e3a34):await this[_0xbd7548(0x1e3)](_0x44c0ff,_0x539ab5,_0x5e3a34);}async[_0x4f5d3f(0x200)](_0x41b450,_0x2a4519,_0x339db4,_0x3864fb){const _0x41f232=_0x4f5d3f,_0x48fe9e=new _0x20a3b6(this[_0x41f232(0x1d5)]),_0x2a73ed={'body':JSON[_0x41f232(0x1d7)](_0x41b450),'contentType':_0x41f232(0x1c8),'accept':_0x41f232(0x1c8),'modelId':_0x2a4519};let _0x518d4c;if(_0x339db4){const _0x5dc686=new _0x5def97(_0x2a73ed);_0x518d4c=await _0x48fe9e[_0x41f232(0x1e2)](_0x5dc686,{'abortSignal':this[_0x41f232(0x1eb)][_0x41f232(0x1cb)]}),await this[_0x41f232(0x1c7)](_0x518d4c,_0x2a4519,_0x3864fb);}else{const _0x45c6d4=new _0x1079f1(_0x2a73ed);_0x518d4c=await _0x48fe9e[_0x41f232(0x1e2)](_0x45c6d4,{'abortSignal':this[_0x41f232(0x1eb)][_0x41f232(0x1cb)]}),await this[_0x41f232(0x1e3)](_0x518d4c,_0x2a4519,_0x3864fb);}}async[_0x4f5d3f(0x1c7)](_0x28d68b,_0x230941,_0x5f54ab){const _0x2a485d=_0x4f5d3f,_0x39d823=_0x28d68b[_0x2a485d(0x1c9)],_0x58da3=new TextDecoder(_0x2a485d(0x1f8));let _0x406ec0='';for await(const _0x4c8c4c of _0x39d823)if(_0x4c8c4c[_0x2a485d(0x205)]){const _0x12f966=_0x58da3[_0x2a485d(0x208)](_0x4c8c4c[_0x2a485d(0x205)][_0x2a485d(0x1ee)]),_0x46d73c=JSON[_0x2a485d(0x20a)](_0x12f966);_0x406ec0+=this[_0x2a485d(0x1cf)](_0x46d73c,_0x230941),_0x5f54ab(_0x406ec0);}return Promise[_0x2a485d(0x1d1)]();}async[_0x4f5d3f(0x1e7)](_0xe46485,_0x26814a,_0xe4028d){const _0x2636ad=_0x4f5d3f,_0x192272=_0xe46485[_0x2636ad(0x1c9)],_0xb763d8=new TextDecoder(_0x2636ad(0x1f8)),_0x1bf6aa=_0x192272[_0x2636ad(0x209)]();let _0x13e9b0='',_0x21db81='',_0x177056=!0x1;for(;!_0x177056;){const {done:_0x5e2b09,value:_0x5e2dbd}=await _0x1bf6aa[_0x2636ad(0x1dc)]();if(_0x177056=_0x5e2b09,_0x177056)break;const _0x44d71a=(_0x13e9b0+_0xb763d8[_0x2636ad(0x208)](_0x5e2dbd))[_0x2636ad(0x1cd)]('\x0a')[_0x2636ad(0x1ea)](_0x3ecca6=>{const _0x5dda84=_0x2636ad;try{return _0x13e9b0='',JSON[_0x5dda84(0x20a)](_0x3ecca6);}catch(_0x170972){return _0x13e9b0=_0x3ecca6,null;}})[_0x2636ad(0x20c)](_0x662c42=>null!==_0x662c42);_0x44d71a[_0x2636ad(0x1e8)]&&(_0x21db81+=_0x44d71a[_0x2636ad(0x1ea)](_0x51a871=>this[_0x2636ad(0x1cf)](_0x51a871,_0x26814a))[_0x2636ad(0x211)](''),_0xe4028d(_0x21db81));}return Promise[_0x2636ad(0x1d1)]();}async[_0x4f5d3f(0x1e3)](_0x291352,_0x51ba1c,_0x379957){const _0x5d6ad0=_0x4f5d3f;let _0x4b3516;return _0x4b3516=_0x291352 instanceof Response?await _0x291352[_0x5d6ad0(0x20b)]():JSON[_0x5d6ad0(0x20a)](Buffer[_0x5d6ad0(0x20d)](_0x291352[_0x5d6ad0(0x1c9)])[_0x5d6ad0(0x1e5)](_0x5d6ad0(0x1ff))),(_0x379957(this[_0x5d6ad0(0x1cf)](_0x4b3516,_0x51ba1c)),Promise[_0x5d6ad0(0x1d1)]());}[_0x4f5d3f(0x1cf)](_0x443a66,_0x3ca828){const _0x153144=_0x4f5d3f;switch(this[_0x153144(0x212)](_0x3ca828)){case _0x153144(0x213):return _0x443a66[_0x153144(0x1f5)];case _0x153144(0x1dd):return _0x443a66[_0x153144(0x1fe)][0x0][_0x153144(0x1e9)][_0x153144(0x1da)];case _0x153144(0x1fa):return _0x443a66[_0x153144(0x1e6)][0x0][_0x153144(0x1da)];case _0x153144(0x1e0):return _0x443a66[_0x153144(0x1d2)];}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7a5bfa=_0x406b;function _0x10f1(){const _0x1206f4=['117oTTAsC','_apiUrl','_requestParameters','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.','getReader','4011bqytZe','editor','abortController','data:\x20','includes','map','prepareMessages','config','Instruction:\x0a','pluginName','content','AI_ERROR_CONTEXT_LENGTH','_prepareRequestParameters','json','resolve','message','decode','locale','_prepareRequestHeaders','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.','signal','system','POST','body','parse','ai.openAI.requestParameters','3134855ntUZUS','1225284svEtFV','506cfIpRN','ai.openAI.apiUrl','join','3894WrkHEu','Moderation','424039yqpjng','4iUtnqs','define','stream','_readStaticResponse','AI_ERROR_MODERATION','choices','split','filter','replace','4445085XvjQlR','text','user','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','_cleanUpData','_isBufferIncomplete','https://api.openai.com/v1/chat/completions','get','_requestHeaders','16597IWILSL','ai.openAI.requestHeaders','gpt-3.5-turbo','context_length_exceeded','delta','reject','1477968XCLRqY','OpenAITextAdapter','_readStreamableResponse','[DONE]','sendRequest','stringify','18iEKfNc','length','270DezJVw','read'];_0x10f1=function(){return _0x1206f4;};return _0x10f1();}function _0x406b(_0x9ebefd,_0x3a7cbe){const _0x10f15e=_0x10f1();return _0x406b=function(_0x406b08,_0x3021c9){_0x406b08=_0x406b08-0xa6;let _0x3ca449=_0x10f15e[_0x406b08];return _0x3ca449;},_0x406b(_0x9ebefd,_0x3a7cbe);}(function(_0x527025,_0x46e1e9){const _0x1c72d8=_0x406b,_0x2b7d45=_0x527025();while(!![]){try{const _0x33e409=parseInt(_0x1c72d8(0xc0))/0x1*(parseInt(_0x1c72d8(0xdc))/0x2)+-parseInt(_0x1c72d8(0xeb))/0x3+parseInt(_0x1c72d8(0xe2))/0x4*(parseInt(_0x1c72d8(0xda))/0x5)+-parseInt(_0x1c72d8(0xdf))/0x6*(parseInt(_0x1c72d8(0xab))/0x7)+-parseInt(_0x1c72d8(0xb1))/0x8*(-parseInt(_0x1c72d8(0xb7))/0x9)+parseInt(_0x1c72d8(0xb9))/0xa*(parseInt(_0x1c72d8(0xe1))/0xb)+parseInt(_0x1c72d8(0xdb))/0xc*(parseInt(_0x1c72d8(0xbb))/0xd);if(_0x33e409===_0x46e1e9)break;else _0x2b7d45['push'](_0x2b7d45['shift']());}catch(_0x41b43d){_0x2b7d45['push'](_0x2b7d45['shift']());}}}(_0x10f1,0xe811e));import{default as _0x2c382a}from'./aitextadapter.js';import{AIRequestError as _0x38a75f}from'./aiadapter.js';import{getTranslation as _0x55ee4f}from'../utils/common-translations.js';export default class F extends _0x2c382a{static get[_0x7a5bfa(0xc9)](){const _0x544291=_0x7a5bfa;return _0x544291(0xb2);}constructor(_0x1323f1){const _0x23e3bb=_0x7a5bfa;super(_0x1323f1),_0x1323f1[_0x23e3bb(0xc7)][_0x23e3bb(0xe3)](_0x23e3bb(0xdd),_0x23e3bb(0xa8)),_0x1323f1[_0x23e3bb(0xc7)][_0x23e3bb(0xa9)](_0x23e3bb(0xd9))||_0x1323f1[_0x23e3bb(0xc7)][_0x23e3bb(0xe3)](_0x23e3bb(0xd9),{'model':_0x23e3bb(0xad),'max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x23e3bb(0xbc)]=_0x1323f1[_0x23e3bb(0xc7)][_0x23e3bb(0xa9)](_0x23e3bb(0xdd)),this[_0x23e3bb(0xaa)]=_0x1323f1[_0x23e3bb(0xc7)][_0x23e3bb(0xa9)](_0x23e3bb(0xac))||{},this[_0x23e3bb(0xbd)]=_0x1323f1[_0x23e3bb(0xc7)][_0x23e3bb(0xa9)](_0x23e3bb(0xd9));}async[_0x7a5bfa(0xb5)]({query:_0x1aa2a5,context:_0x1b5672,onData:_0xb5dc1e,actionId:_0x50bb6c}){const _0x131a44=_0x7a5bfa,_0x5060ec=this[_0x131a44(0xc1)][_0x131a44(0xd1)],_0x3bcd62=await this[_0x131a44(0xc6)](_0x1aa2a5,_0x1b5672,_0x50bb6c),_0x14b09c=await this[_0x131a44(0xd2)](this[_0x131a44(0xaa)],_0x50bb6c),_0x2d8abd=await this[_0x131a44(0xcc)](this[_0x131a44(0xbd)],_0x50bb6c),_0x48d0b0={'messages':_0x3bcd62,..._0x2d8abd},_0x72afd7={'method':_0x131a44(0xd6),'headers':_0x14b09c,'body':JSON[_0x131a44(0xb6)](_0x48d0b0),'signal':this[_0x131a44(0xc2)][_0x131a44(0xd4)]},_0x169a28=await fetch(this[_0x131a44(0xbc)],_0x72afd7);if(_0x169a28['ok'])return _0x2d8abd[_0x131a44(0xe4)]?await this[_0x131a44(0xb3)](_0x169a28,_0xb5dc1e):await this[_0x131a44(0xe5)](_0x169a28,_0xb5dc1e),Promise[_0x131a44(0xce)]();{const _0x229ef4=await _0x169a28[_0x131a44(0xec)]();return _0x229ef4[_0x131a44(0xc4)](_0x131a44(0xae))?Promise[_0x131a44(0xb0)](new _0x38a75f(_0x55ee4f(_0x5060ec,_0x131a44(0xcb)))):_0x229ef4[_0x131a44(0xc4)](_0x131a44(0xe0))?Promise[_0x131a44(0xb0)](new _0x38a75f(_0x55ee4f(_0x5060ec,_0x131a44(0xe6)))):Promise[_0x131a44(0xb0)](new Error(_0x229ef4));}}async[_0x7a5bfa(0xc6)](_0x19b371,_0x2e7b1a,_0x2780dc){const _0x47cb25=_0x7a5bfa;let _0xe532bf,_0x3d0086;return _0x2e7b1a?(_0xe532bf=_0x47cb25(0xbe),_0x3d0086=_0x47cb25(0xc8)+_0x19b371+_0x47cb25(0xee)+_0x2e7b1a):(_0xe532bf=_0x47cb25(0xd3),_0x3d0086=_0x19b371),[{'role':_0x47cb25(0xd5),'content':_0xe532bf},{'role':_0x47cb25(0xed),'content':_0x3d0086}];}async[_0x7a5bfa(0xb3)](_0x5dc747,_0x680183){const _0x3cdd02=_0x7a5bfa,_0x5d1d45=_0x5dc747[_0x3cdd02(0xd7)][_0x3cdd02(0xbf)](),_0x15c925=new TextDecoder();let _0x65a91c='',_0x3dbf47='',_0x34a742='',_0x391138=!0x1;for(;!_0x391138;){const {done:_0xbd0920,value:_0x1f519b}=await _0x5d1d45[_0x3cdd02(0xba)](),_0x56fe7f=_0x65a91c+_0x15c925[_0x3cdd02(0xd0)](_0x1f519b);let _0x26cb26='';_0x391138=_0xbd0920;try{_0x26cb26=this[_0x3cdd02(0xa6)](_0x56fe7f),_0x65a91c='';}catch(_0x25bf57){_0x65a91c=_0x56fe7f;continue;}_0x3dbf47+=_0x26cb26,!_0x391138&&this[_0x3cdd02(0xa7)](_0x3dbf47)||_0x3dbf47&&(_0x34a742+=_0x3dbf47,_0x3dbf47='',_0x680183(_0x34a742));}return Promise[_0x3cdd02(0xce)]();}async[_0x7a5bfa(0xe5)](_0x5c8331,_0x566460){const _0x1f0133=_0x7a5bfa;return _0x566460((await _0x5c8331[_0x1f0133(0xcd)]())[_0x1f0133(0xe7)][0x0][_0x1f0133(0xcf)][_0x1f0133(0xca)]),Promise[_0x1f0133(0xce)]();}[_0x7a5bfa(0xa7)](_0xed712){const _0x5f2bb0=_0x7a5bfa,_0x214c49=_0xed712[_0x5f2bb0(0xe8)]('<')[_0x5f2bb0(0xb8)]!==_0xed712[_0x5f2bb0(0xe8)]('>')[_0x5f2bb0(0xb8)],_0x40c6d2=_0xed712[_0x5f2bb0(0xb8)]<0x1e;return _0x214c49&&_0x40c6d2;}[_0x7a5bfa(0xa6)](_0x3c0fc0){const _0xf8d28=_0x7a5bfa;return _0x3c0fc0[_0xf8d28(0xe8)](/\n(?![^{]*\})/g)[_0xf8d28(0xc5)](_0x210fd1=>_0x210fd1[_0xf8d28(0xea)](_0xf8d28(0xc3),''))[_0xf8d28(0xe9)](_0x114c2f=>_0x114c2f&&_0x114c2f[_0xf8d28(0xb8)]>0x0&&_0xf8d28(0xb4)!==_0x114c2f)[_0xf8d28(0xc5)](_0x68ec45=>{const _0x3784f6=_0xf8d28,{choices:_0x2c88d9}=JSON[_0x3784f6(0xd8)](_0x68ec45);if(_0x2c88d9[0x0]&&_0x2c88d9[0x0][_0x3784f6(0xaf)]&&_0x2c88d9[0x0][_0x3784f6(0xaf)][_0x3784f6(0xca)])return _0x2c88d9[0x0][_0x3784f6(0xaf)][_0x3784f6(0xca)];})[_0xf8d28(0xe9)](_0x169497=>_0x169497)[_0xf8d28(0xde)]('');}}
23
+ function _0x4f3a(){const _0x8a0520=['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.','[DONE]','config','context_length_exceeded','pluginName','split','message','_prepareRequestHeaders','sendRequest','AI_ERROR_MODERATION','system','json','text','https://api.openai.com/v1/chat/completions','204RzNKiO','map','_isBufferIncomplete','reject','signal','resolve','_readStaticResponse','length','delta','3374640hnEDNg','user','body','AI_ERROR_CONTEXT_LENGTH','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','getReader','includes','join','get','_prepareRequestParameters','replace','_cleanUpData','Moderation','content','gpt-3.5-turbo','29224920rCdGlI','filter','_requestParameters','abortController','160013lCjzqT','stream','45139AYVGxx','POST','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.','read','locale','8ofsENi','572XHGURG','1973259yleGyz','ai.openAI.requestParameters','decode','parse','choices','ai.openAI.requestHeaders','24IwmxGa','OpenAITextAdapter','stringify','172730WJGfnt','editor','_readStreamableResponse','15012sAfCBy','Instruction:\x0a','1164JCeVoH','_requestHeaders','data:\x20','_apiUrl','define','prepareMessages','ai.openAI.apiUrl'];_0x4f3a=function(){return _0x8a0520;};return _0x4f3a();}const _0x1eb12d=_0xf862;(function(_0x3aa33b,_0x5f0e6c){const _0x55eacf=_0xf862,_0x442687=_0x3aa33b();while(!![]){try{const _0x159b08=parseInt(_0x55eacf(0x108))/0x1*(-parseInt(_0x55eacf(0xcd))/0x2)+-parseInt(_0x55eacf(0xd5))/0x3*(parseInt(_0x55eacf(0xd3))/0x4)+parseInt(_0x55eacf(0xf3))/0x5+parseInt(_0x55eacf(0xea))/0x6*(parseInt(_0x55eacf(0x106))/0x7)+parseInt(_0x55eacf(0xc5))/0x8*(-parseInt(_0x55eacf(0xc7))/0x9)+parseInt(_0x55eacf(0xd0))/0xa*(-parseInt(_0x55eacf(0xc6))/0xb)+parseInt(_0x55eacf(0x102))/0xc;if(_0x159b08===_0x5f0e6c)break;else _0x442687['push'](_0x442687['shift']());}catch(_0x3bde07){_0x442687['push'](_0x442687['shift']());}}}(_0x4f3a,0xbc8a9));import{default as _0x11d7f0}from'./aitextadapter.js';import{AIRequestError as _0x334b47}from'./aiadapter.js';function _0xf862(_0x4c1616,_0x31581a){const _0x4f3a0f=_0x4f3a();return _0xf862=function(_0xf862e6,_0x232276){_0xf862e6=_0xf862e6-0xc3;let _0x492695=_0x4f3a0f[_0xf862e6];return _0x492695;},_0xf862(_0x4c1616,_0x31581a);}import{getTranslation as _0x14fa0f}from'../utils/common-translations.js';export default class M extends _0x11d7f0{static get[_0x1eb12d(0xe0)](){const _0x21d798=_0x1eb12d;return _0x21d798(0xce);}constructor(_0x4a0529){const _0x2d1645=_0x1eb12d;super(_0x4a0529),_0x4a0529[_0x2d1645(0xde)][_0x2d1645(0xd9)](_0x2d1645(0xdb),_0x2d1645(0xe9)),_0x4a0529[_0x2d1645(0xde)][_0x2d1645(0xfb)](_0x2d1645(0xc8))||_0x4a0529[_0x2d1645(0xde)][_0x2d1645(0xd9)](_0x2d1645(0xc8),{'model':_0x2d1645(0x101),'max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x2d1645(0xd8)]=_0x4a0529[_0x2d1645(0xde)][_0x2d1645(0xfb)](_0x2d1645(0xdb)),this[_0x2d1645(0xd6)]=_0x4a0529[_0x2d1645(0xde)][_0x2d1645(0xfb)](_0x2d1645(0xcc))||{},this[_0x2d1645(0x104)]=_0x4a0529[_0x2d1645(0xde)][_0x2d1645(0xfb)](_0x2d1645(0xc8));}async[_0x1eb12d(0xe4)]({query:_0x298b45,context:_0x494683,onData:_0x361bc5,actionId:_0x40960f}){const _0x32fa94=_0x1eb12d,_0x3a417c=this[_0x32fa94(0xd1)][_0x32fa94(0xc4)],_0x1ca566=await this[_0x32fa94(0xda)](_0x298b45,_0x494683,_0x40960f),_0x565428=await this[_0x32fa94(0xe3)](this[_0x32fa94(0xd6)],_0x40960f),_0x1a9dee=await this[_0x32fa94(0xfc)](this[_0x32fa94(0x104)],_0x40960f),_0x365a6b={'messages':_0x1ca566,..._0x1a9dee},_0x366f9e={'method':_0x32fa94(0x109),'headers':_0x565428,'body':JSON[_0x32fa94(0xcf)](_0x365a6b),'signal':this[_0x32fa94(0x105)][_0x32fa94(0xee)]},_0x122db5=await fetch(this[_0x32fa94(0xd8)],_0x366f9e);if(_0x122db5['ok'])return _0x1a9dee[_0x32fa94(0x107)]?await this[_0x32fa94(0xd2)](_0x122db5,_0x361bc5):await this[_0x32fa94(0xf0)](_0x122db5,_0x361bc5),Promise[_0x32fa94(0xef)]();{const _0x221d62=await _0x122db5[_0x32fa94(0xe8)]();return _0x221d62[_0x32fa94(0xf9)](_0x32fa94(0xdf))?Promise[_0x32fa94(0xed)](new _0x334b47(_0x14fa0f(_0x3a417c,_0x32fa94(0xf6)))):_0x221d62[_0x32fa94(0xf9)](_0x32fa94(0xff))?Promise[_0x32fa94(0xed)](new _0x334b47(_0x14fa0f(_0x3a417c,_0x32fa94(0xe5)))):Promise[_0x32fa94(0xed)](new Error(_0x221d62));}}async[_0x1eb12d(0xda)](_0x3ad329,_0x208c16,_0x5b16a5){const _0x139b37=_0x1eb12d;let _0x38a596,_0x1ed55d;return _0x208c16?(_0x38a596=_0x139b37(0xdc),_0x1ed55d=_0x139b37(0xd4)+_0x3ad329+_0x139b37(0xf7)+_0x208c16):(_0x38a596=_0x139b37(0x10a),_0x1ed55d=_0x3ad329),[{'role':_0x139b37(0xe6),'content':_0x38a596},{'role':_0x139b37(0xf4),'content':_0x1ed55d}];}async[_0x1eb12d(0xd2)](_0x29863,_0x1930fd){const _0x436e2a=_0x1eb12d,_0x41f9dd=_0x29863[_0x436e2a(0xf5)][_0x436e2a(0xf8)](),_0x4c79f6=new TextDecoder();let _0x4154ec='',_0x2e9660='',_0x3d6d46='',_0x551f66=!0x1;for(;!_0x551f66;){const {done:_0x1fb3c6,value:_0x9b65e6}=await _0x41f9dd[_0x436e2a(0xc3)](),_0x230da7=_0x4154ec+_0x4c79f6[_0x436e2a(0xc9)](_0x9b65e6);let _0x2e586d='';_0x551f66=_0x1fb3c6;try{_0x2e586d=this[_0x436e2a(0xfe)](_0x230da7),_0x4154ec='';}catch(_0x22bfeb){_0x4154ec=_0x230da7;continue;}_0x2e9660+=_0x2e586d,!_0x551f66&&this[_0x436e2a(0xec)](_0x2e9660)||_0x2e9660&&(_0x3d6d46+=_0x2e9660,_0x2e9660='',_0x1930fd(_0x3d6d46));}return Promise[_0x436e2a(0xef)]();}async[_0x1eb12d(0xf0)](_0x403a61,_0x4926ba){const _0x83bf22=_0x1eb12d;return _0x4926ba((await _0x403a61[_0x83bf22(0xe7)]())[_0x83bf22(0xcb)][0x0][_0x83bf22(0xe2)][_0x83bf22(0x100)]),Promise[_0x83bf22(0xef)]();}[_0x1eb12d(0xec)](_0x5bf2b2){const _0xcca6e2=_0x1eb12d,_0x2c711d=_0x5bf2b2[_0xcca6e2(0xe1)]('<')[_0xcca6e2(0xf1)]!==_0x5bf2b2[_0xcca6e2(0xe1)]('>')[_0xcca6e2(0xf1)],_0x22f872=_0x5bf2b2[_0xcca6e2(0xf1)]<0x1e;return _0x2c711d&&_0x22f872;}[_0x1eb12d(0xfe)](_0x4d8f7e){const _0x6c25ea=_0x1eb12d;return _0x4d8f7e[_0x6c25ea(0xe1)](/\n(?![^{]*\})/g)[_0x6c25ea(0xeb)](_0x463036=>_0x463036[_0x6c25ea(0xfd)](_0x6c25ea(0xd7),''))[_0x6c25ea(0x103)](_0x46aa04=>_0x46aa04&&_0x46aa04[_0x6c25ea(0xf1)]>0x0&&_0x6c25ea(0xdd)!==_0x46aa04)[_0x6c25ea(0xeb)](_0x4de073=>{const _0x4beeab=_0x6c25ea,{choices:_0x1c6a9b}=JSON[_0x4beeab(0xca)](_0x4de073);if(_0x1c6a9b[0x0]&&_0x1c6a9b[0x0][_0x4beeab(0xf2)]&&_0x1c6a9b[0x0][_0x4beeab(0xf2)][_0x4beeab(0x100)])return _0x1c6a9b[0x0][_0x4beeab(0xf2)][_0x4beeab(0x100)];})[_0x6c25ea(0x103)](_0x56b35c=>_0x56b35c)[_0x6c25ea(0xfa)]('');}}