@ckeditor/ckeditor5-ai 47.0.0-alpha.7 → 47.0.0-alpha.9

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 (465) 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/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index-editor.css +93 -5
  75. package/dist/index.css +118 -5
  76. package/dist/index.js +4 -4
  77. package/dist/translations/af.js +1 -1
  78. package/dist/translations/af.umd.js +1 -1
  79. package/dist/translations/ar.js +1 -1
  80. package/dist/translations/ar.umd.js +1 -1
  81. package/dist/translations/ast.js +1 -1
  82. package/dist/translations/ast.umd.js +1 -1
  83. package/dist/translations/az.js +1 -1
  84. package/dist/translations/az.umd.js +1 -1
  85. package/dist/translations/be.js +1 -1
  86. package/dist/translations/be.umd.js +1 -1
  87. package/dist/translations/bg.js +1 -1
  88. package/dist/translations/bg.umd.js +1 -1
  89. package/dist/translations/bn.js +1 -1
  90. package/dist/translations/bn.umd.js +1 -1
  91. package/dist/translations/bs.js +1 -1
  92. package/dist/translations/bs.umd.js +1 -1
  93. package/dist/translations/ca.js +1 -1
  94. package/dist/translations/ca.umd.js +1 -1
  95. package/dist/translations/cs.js +1 -1
  96. package/dist/translations/cs.umd.js +1 -1
  97. package/dist/translations/da.js +1 -1
  98. package/dist/translations/da.umd.js +1 -1
  99. package/dist/translations/de-ch.js +1 -1
  100. package/dist/translations/de-ch.umd.js +1 -1
  101. package/dist/translations/de.js +1 -1
  102. package/dist/translations/de.umd.js +1 -1
  103. package/dist/translations/el.js +1 -1
  104. package/dist/translations/el.umd.js +1 -1
  105. package/dist/translations/en-au.js +1 -1
  106. package/dist/translations/en-au.umd.js +1 -1
  107. package/dist/translations/en-gb.js +1 -1
  108. package/dist/translations/en-gb.umd.js +1 -1
  109. package/dist/translations/en.js +1 -1
  110. package/dist/translations/en.umd.js +1 -1
  111. package/dist/translations/eo.js +1 -1
  112. package/dist/translations/eo.umd.js +1 -1
  113. package/dist/translations/es-co.js +1 -1
  114. package/dist/translations/es-co.umd.js +1 -1
  115. package/dist/translations/es.js +1 -1
  116. package/dist/translations/es.umd.js +1 -1
  117. package/dist/translations/et.js +1 -1
  118. package/dist/translations/et.umd.js +1 -1
  119. package/dist/translations/eu.js +1 -1
  120. package/dist/translations/eu.umd.js +1 -1
  121. package/dist/translations/fa.js +1 -1
  122. package/dist/translations/fa.umd.js +1 -1
  123. package/dist/translations/fi.js +1 -1
  124. package/dist/translations/fi.umd.js +1 -1
  125. package/dist/translations/fr.js +1 -1
  126. package/dist/translations/fr.umd.js +1 -1
  127. package/dist/translations/gl.js +1 -1
  128. package/dist/translations/gl.umd.js +1 -1
  129. package/dist/translations/gu.js +1 -1
  130. package/dist/translations/gu.umd.js +1 -1
  131. package/dist/translations/he.js +1 -1
  132. package/dist/translations/he.umd.js +1 -1
  133. package/dist/translations/hi.js +1 -1
  134. package/dist/translations/hi.umd.js +1 -1
  135. package/dist/translations/hr.js +1 -1
  136. package/dist/translations/hr.umd.js +1 -1
  137. package/dist/translations/hu.js +1 -1
  138. package/dist/translations/hu.umd.js +1 -1
  139. package/dist/translations/hy.js +1 -1
  140. package/dist/translations/hy.umd.js +1 -1
  141. package/dist/translations/id.js +1 -1
  142. package/dist/translations/id.umd.js +1 -1
  143. package/dist/translations/it.js +1 -1
  144. package/dist/translations/it.umd.js +1 -1
  145. package/dist/translations/ja.js +1 -1
  146. package/dist/translations/ja.umd.js +1 -1
  147. package/dist/translations/jv.js +1 -1
  148. package/dist/translations/jv.umd.js +1 -1
  149. package/dist/translations/kk.js +1 -1
  150. package/dist/translations/kk.umd.js +1 -1
  151. package/dist/translations/km.js +1 -1
  152. package/dist/translations/km.umd.js +1 -1
  153. package/dist/translations/kn.js +1 -1
  154. package/dist/translations/kn.umd.js +1 -1
  155. package/dist/translations/ko.js +1 -1
  156. package/dist/translations/ko.umd.js +1 -1
  157. package/dist/translations/ku.js +1 -1
  158. package/dist/translations/ku.umd.js +1 -1
  159. package/dist/translations/lt.js +1 -1
  160. package/dist/translations/lt.umd.js +1 -1
  161. package/dist/translations/lv.js +1 -1
  162. package/dist/translations/lv.umd.js +1 -1
  163. package/dist/translations/ms.js +1 -1
  164. package/dist/translations/ms.umd.js +1 -1
  165. package/dist/translations/nb.js +1 -1
  166. package/dist/translations/nb.umd.js +1 -1
  167. package/dist/translations/ne.js +1 -1
  168. package/dist/translations/ne.umd.js +1 -1
  169. package/dist/translations/nl.js +1 -1
  170. package/dist/translations/nl.umd.js +1 -1
  171. package/dist/translations/no.js +1 -1
  172. package/dist/translations/no.umd.js +1 -1
  173. package/dist/translations/oc.js +1 -1
  174. package/dist/translations/oc.umd.js +1 -1
  175. package/dist/translations/pl.js +1 -1
  176. package/dist/translations/pl.umd.js +1 -1
  177. package/dist/translations/pt-br.js +1 -1
  178. package/dist/translations/pt-br.umd.js +1 -1
  179. package/dist/translations/pt.js +1 -1
  180. package/dist/translations/pt.umd.js +1 -1
  181. package/dist/translations/ro.js +1 -1
  182. package/dist/translations/ro.umd.js +1 -1
  183. package/dist/translations/ru.js +1 -1
  184. package/dist/translations/ru.umd.js +1 -1
  185. package/dist/translations/si.js +1 -1
  186. package/dist/translations/si.umd.js +1 -1
  187. package/dist/translations/sk.js +1 -1
  188. package/dist/translations/sk.umd.js +1 -1
  189. package/dist/translations/sl.js +1 -1
  190. package/dist/translations/sl.umd.js +1 -1
  191. package/dist/translations/sq.js +1 -1
  192. package/dist/translations/sq.umd.js +1 -1
  193. package/dist/translations/sr-latn.js +1 -1
  194. package/dist/translations/sr-latn.umd.js +1 -1
  195. package/dist/translations/sr.js +1 -1
  196. package/dist/translations/sr.umd.js +1 -1
  197. package/dist/translations/sv.js +1 -1
  198. package/dist/translations/sv.umd.js +1 -1
  199. package/dist/translations/th.js +1 -1
  200. package/dist/translations/th.umd.js +1 -1
  201. package/dist/translations/ti.js +1 -1
  202. package/dist/translations/ti.umd.js +1 -1
  203. package/dist/translations/tk.js +1 -1
  204. package/dist/translations/tk.umd.js +1 -1
  205. package/dist/translations/tr.js +1 -1
  206. package/dist/translations/tr.umd.js +1 -1
  207. package/dist/translations/tt.js +1 -1
  208. package/dist/translations/tt.umd.js +1 -1
  209. package/dist/translations/ug.js +1 -1
  210. package/dist/translations/ug.umd.js +1 -1
  211. package/dist/translations/uk.js +1 -1
  212. package/dist/translations/uk.umd.js +1 -1
  213. package/dist/translations/ur.js +1 -1
  214. package/dist/translations/ur.umd.js +1 -1
  215. package/dist/translations/uz.js +1 -1
  216. package/dist/translations/uz.umd.js +1 -1
  217. package/dist/translations/vi.js +1 -1
  218. package/dist/translations/vi.umd.js +1 -1
  219. package/dist/translations/zh-cn.js +1 -1
  220. package/dist/translations/zh-cn.umd.js +1 -1
  221. package/dist/translations/zh.js +1 -1
  222. package/dist/translations/zh.umd.js +1 -1
  223. package/lang/translations/af.po +224 -0
  224. package/lang/translations/ar.po +232 -0
  225. package/lang/translations/ast.po +224 -0
  226. package/lang/translations/az.po +224 -0
  227. package/lang/translations/be.po +226 -0
  228. package/lang/translations/bg.po +224 -0
  229. package/lang/translations/bn.po +224 -0
  230. package/lang/translations/bs.po +226 -0
  231. package/lang/translations/ca.po +224 -0
  232. package/lang/translations/cs.po +226 -0
  233. package/lang/translations/da.po +224 -0
  234. package/lang/translations/de-ch.po +224 -0
  235. package/lang/translations/de.po +224 -0
  236. package/lang/translations/el.po +224 -0
  237. package/lang/translations/en-au.po +224 -0
  238. package/lang/translations/en-gb.po +224 -0
  239. package/lang/translations/en.po +224 -0
  240. package/lang/translations/eo.po +224 -0
  241. package/lang/translations/es-co.po +224 -0
  242. package/lang/translations/es.po +224 -0
  243. package/lang/translations/et.po +224 -0
  244. package/lang/translations/eu.po +224 -0
  245. package/lang/translations/fa.po +222 -0
  246. package/lang/translations/fi.po +224 -0
  247. package/lang/translations/fr.po +224 -0
  248. package/lang/translations/gl.po +224 -0
  249. package/lang/translations/gu.po +224 -0
  250. package/lang/translations/he.po +224 -0
  251. package/lang/translations/hi.po +224 -0
  252. package/lang/translations/hr.po +226 -0
  253. package/lang/translations/hu.po +224 -0
  254. package/lang/translations/hy.po +224 -0
  255. package/lang/translations/id.po +222 -0
  256. package/lang/translations/it.po +224 -0
  257. package/lang/translations/ja.po +222 -0
  258. package/lang/translations/jv.po +224 -0
  259. package/lang/translations/kk.po +224 -0
  260. package/lang/translations/km.po +222 -0
  261. package/lang/translations/kn.po +224 -0
  262. package/lang/translations/ko.po +222 -0
  263. package/lang/translations/ku.po +224 -0
  264. package/lang/translations/lt.po +226 -0
  265. package/lang/translations/lv.po +226 -0
  266. package/lang/translations/ms.po +222 -0
  267. package/lang/translations/nb.po +224 -0
  268. package/lang/translations/ne.po +224 -0
  269. package/lang/translations/nl.po +224 -0
  270. package/lang/translations/no.po +224 -0
  271. package/lang/translations/oc.po +224 -0
  272. package/lang/translations/pl.po +226 -0
  273. package/lang/translations/pt-br.po +224 -0
  274. package/lang/translations/pt.po +224 -0
  275. package/lang/translations/ro.po +226 -0
  276. package/lang/translations/ru.po +226 -0
  277. package/lang/translations/si.po +224 -0
  278. package/lang/translations/sk.po +226 -0
  279. package/lang/translations/sl.po +228 -0
  280. package/lang/translations/sq.po +224 -0
  281. package/lang/translations/sr-latn.po +226 -0
  282. package/lang/translations/sr.po +226 -0
  283. package/lang/translations/sv.po +224 -0
  284. package/lang/translations/th.po +222 -0
  285. package/lang/translations/ti.po +224 -0
  286. package/lang/translations/tk.po +224 -0
  287. package/lang/translations/tr.po +224 -0
  288. package/lang/translations/tt.po +222 -0
  289. package/lang/translations/ug.po +222 -0
  290. package/lang/translations/uk.po +226 -0
  291. package/lang/translations/ur.po +224 -0
  292. package/lang/translations/uz.po +224 -0
  293. package/lang/translations/vi.po +222 -0
  294. package/lang/translations/zh-cn.po +222 -0
  295. package/lang/translations/zh.po +222 -0
  296. package/package.json +15 -15
  297. package/src/aiactions/aiactions.js +1 -1
  298. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  299. package/src/aiactions/model/aiactionsreply.js +1 -1
  300. package/src/aiassistant/adapters/aiadapter.js +1 -1
  301. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  302. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  303. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  304. package/src/aiassistant/aiassistant.js +1 -1
  305. package/src/aiassistant/aiassistantediting.js +1 -1
  306. package/src/aiassistant/aiassistantui.js +1 -1
  307. package/src/aiassistant/legacyerrors.js +1 -1
  308. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  309. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  310. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  311. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  312. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformview.js +1 -1
  314. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  315. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  316. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  317. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  318. package/src/aiassistant/utils/common-translations.js +1 -1
  319. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  320. package/src/aiballoon/aiballoon.js +1 -1
  321. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  322. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  323. package/src/aiballoon/ui/aiballoonview.js +1 -1
  324. package/src/aichat/aichat.d.ts +12 -4
  325. package/src/aichat/aichat.js +1 -1
  326. package/src/aichat/aichatcontroller.d.ts +0 -1
  327. package/src/aichat/aichatcontroller.js +1 -1
  328. package/src/aichat/aichatui.d.ts +0 -1
  329. package/src/aichat/aichatui.js +1 -1
  330. package/src/aichat/model/aichatcontext.d.ts +0 -30
  331. package/src/aichat/model/aichatcontext.js +1 -1
  332. package/src/aichat/model/aichatconversation.js +1 -1
  333. package/src/aichat/model/aichatinteraction.d.ts +3 -0
  334. package/src/aichat/model/aichatinteraction.js +1 -1
  335. package/src/aichat/model/aichatmodels.js +1 -1
  336. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  337. package/src/aichat/ui/aichatfeedview.js +1 -1
  338. package/src/aichat/ui/aichatheaderview.js +1 -1
  339. package/src/aichat/ui/aichatview.js +1 -1
  340. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  341. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  342. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  343. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  344. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  345. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  346. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  347. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  348. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  349. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  350. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  351. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  353. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  354. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  355. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  356. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  357. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  358. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  359. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  361. package/src/aichat/utils/eventnames.js +1 -1
  362. package/src/aichat/utils/promisequeue.js +1 -1
  363. package/src/aichat/utils/scrollmanager.js +1 -1
  364. package/src/aichathistory/aichathistory.js +1 -1
  365. package/src/aichathistory/aichathistorycontroller.d.ts +0 -1
  366. package/src/aichathistory/aichathistorycontroller.js +1 -1
  367. package/src/aichathistory/aichathistoryui.d.ts +0 -1
  368. package/src/aichathistory/aichathistoryui.js +1 -1
  369. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  370. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  371. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  372. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  373. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  374. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  375. package/src/aiconfig.d.ts +47 -9
  376. package/src/aicore/aiconnector.d.ts +2 -3
  377. package/src/aicore/aiconnector.js +1 -1
  378. package/src/aicore/aiediting.d.ts +0 -1
  379. package/src/aicore/aiediting.js +1 -1
  380. package/src/aicore/model/aicapabilities.js +1 -1
  381. package/src/aicore/model/aicontext.js +1 -1
  382. package/src/aicore/model/aiinteraction.js +1 -1
  383. package/src/aicore/model/aireply.js +1 -1
  384. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  385. package/src/aicore/pipeline/airesponseparser.js +2 -2
  386. package/src/aicore/ui/aidisclaimerview.js +1 -1
  387. package/src/aicore/ui/aiskeleton.js +1 -1
  388. package/src/aicore/ui/aispinner.js +1 -1
  389. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  390. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  391. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  392. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  393. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  394. package/src/aicore/utils/common-translations.js +1 -1
  395. package/src/aicore/utils/createresizebutton.js +1 -1
  396. package/src/aicore/utils/documentposition.js +1 -1
  397. package/src/aicore/utils/documentrange.js +1 -1
  398. package/src/aicore/utils/eventnames.d.ts +0 -1
  399. package/src/aicore/utils/eventnames.js +1 -1
  400. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  401. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  402. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  403. package/src/aicore/utils/htmlparser.js +1 -1
  404. package/src/aicore/utils/htmlstreamer.js +1 -1
  405. package/src/aieditorintegration/aieditorintegration.js +1 -1
  406. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -0
  407. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  408. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  409. package/src/aiquickactions/aiquickactions.d.ts +164 -0
  410. package/src/aiquickactions/aiquickactions.js +1 -1
  411. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  412. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  413. package/src/aiquickactions/aiquickactionsui.js +1 -1
  414. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  415. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  416. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  417. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +0 -1
  418. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  419. package/src/aireviewmode/aireviewmode.d.ts +29 -0
  420. package/src/aireviewmode/aireviewmode.js +1 -1
  421. package/src/aireviewmode/aireviewmodecontroller.d.ts +0 -1
  422. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  423. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -2
  424. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  425. package/src/aireviewmode/aireviewmodeui.d.ts +0 -1
  426. package/src/aireviewmode/aireviewmodeui.js +1 -1
  427. package/src/aireviewmode/model/aireviewcheck.d.ts +0 -1
  428. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  429. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +0 -1
  430. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  431. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  432. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  433. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  434. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  435. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -1
  436. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  437. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  438. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +0 -1
  439. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  440. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  441. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  442. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  443. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  444. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  445. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  446. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  447. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  448. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  449. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  450. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  451. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  452. package/src/aitabs/aitabs.d.ts +6 -2
  453. package/src/aitabs/aitabs.js +1 -1
  454. package/src/aitabs/aitabsmainview.js +1 -1
  455. package/src/aitabs/tabs/aitabsview.js +1 -1
  456. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  457. package/src/aitabs/tabs/tabpanelview.js +1 -1
  458. package/src/index.js +1 -1
  459. package/theme/aichat/aichat.css +1 -0
  460. package/theme/aichat/aichatfeed.css +39 -0
  461. package/theme/aieditorintegration/aitogglebutton.css +23 -0
  462. package/theme/aiquickactions/aiquickactions.css +23 -4
  463. package/theme/aireviewmode/aireviewmode.css +23 -0
  464. package/theme/common/aibutton.css +1 -1
  465. package/theme/common/aitrackchanges.css +13 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16cac5=_0x10a2;(function(_0x5e938d,_0x38f8b5){const _0x3894c8=_0x10a2,_0x55afa7=_0x5e938d();while(!![]){try{const _0x33e172=-parseInt(_0x3894c8(0x225))/0x1*(parseInt(_0x3894c8(0x21c))/0x2)+parseInt(_0x3894c8(0x1f8))/0x3*(-parseInt(_0x3894c8(0x218))/0x4)+-parseInt(_0x3894c8(0x201))/0x5*(-parseInt(_0x3894c8(0x219))/0x6)+-parseInt(_0x3894c8(0x21a))/0x7*(parseInt(_0x3894c8(0x1ed))/0x8)+-parseInt(_0x3894c8(0x1f6))/0x9*(parseInt(_0x3894c8(0x1ea))/0xa)+parseInt(_0x3894c8(0x1eb))/0xb+-parseInt(_0x3894c8(0x220))/0xc*(-parseInt(_0x3894c8(0x20e))/0xd);if(_0x33e172===_0x38f8b5)break;else _0x55afa7['push'](_0x55afa7['shift']());}catch(_0x4b825d){_0x55afa7['push'](_0x55afa7['shift']());}}}(_0x24ec,0x60b00));import{Rect as _0x3d3cc4,global as _0x3a4600,isVisible as _0x1549b1}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x4cc4ae,IconSubmit as _0x36c82f}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x5eab47,ButtonView as _0x182fc9}from'ckeditor5/src/ui.js';import{getTranslation as _0x6ebb7e}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x5eab47{[_0x16cac5(0x1f7)];[_0x16cac5(0x208)];constructor(_0x43cc4a,_0x26c55c){const _0x25d3d1=_0x16cac5;super(_0x43cc4a,_0x26c55c),this[_0x25d3d1(0x207)][_0x25d3d1(0x1fc)][_0x25d3d1(0x202)]=0x1,this[_0x25d3d1(0x207)][_0x25d3d1(0x1fc)][_0x25d3d1(0x206)]=0x3,this[_0x25d3d1(0x1f7)]=this[_0x25d3d1(0x1f5)](),this[_0x25d3d1(0x208)]=this[_0x25d3d1(0x221)](),this[_0x25d3d1(0x20d)][_0x25d3d1(0x21b)](this[_0x25d3d1(0x208)],0x1),this[_0x25d3d1(0x20d)][_0x25d3d1(0x21b)](this[_0x25d3d1(0x1f7)]);}[_0x16cac5(0x216)](){const _0x4e1ede=_0x16cac5;super[_0x4e1ede(0x216)](),this[_0x4e1ede(0x207)][_0x4e1ede(0x21e)][_0x4e1ede(0x21b)](this[_0x4e1ede(0x208)]),this[_0x4e1ede(0x204)][_0x4e1ede(0x21b)](this[_0x4e1ede(0x1f7)]),this[_0x4e1ede(0x211)][_0x4e1ede(0x226)](_0x4e1ede(0x1fa),(_0x10c537,_0x169ff3)=>{const _0x164f73=_0x4e1ede;_0x10c537[_0x164f73(0x212)]==this[_0x164f73(0x207)][_0x164f73(0x1fc)][_0x164f73(0x1fd)]&&(this[_0x164f73(0x224)](),_0x169ff3());});}[_0x16cac5(0x1f5)](){const _0x115ab2=_0x16cac5,_0x5894ef=new _0x182fc9(this[_0x115ab2(0x1f2)]),_0x33ec2e=this[_0x115ab2(0x1f2)];return _0x5894ef[_0x115ab2(0x226)]({'icon':_0x36c82f,'label':_0x6ebb7e(_0x33ec2e,_0x115ab2(0x223)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x115ab2(0x20b)}),_0x5894ef['on'](_0x115ab2(0x1f1),()=>{const _0x3132f1=_0x115ab2;this[_0x3132f1(0x224)]();}),_0x5894ef[_0x115ab2(0x214)](_0x115ab2(0x1ec))['to'](this[_0x115ab2(0x207)][_0x115ab2(0x1fc)],_0x115ab2(0x200),this,_0x115ab2(0x1ec),(_0x10cbf9,_0x40fcf0)=>!_0x10cbf9&&_0x40fcf0),_0x5894ef;}[_0x16cac5(0x221)](){const _0x4231a0=_0x16cac5,_0x1afe27=new _0x182fc9(this[_0x4231a0(0x1f2)]),_0x102add=this[_0x4231a0(0x222)],_0x1633ad=this[_0x4231a0(0x1f2)];_0x1afe27[_0x4231a0(0x226)]({'label':_0x6ebb7e(_0x1633ad,_0x4231a0(0x21f)),'withText':!0x1,'icon':_0x4cc4ae,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4231a0(0x1fb)}),_0x1afe27[_0x4231a0(0x214)](_0x4231a0(0x1f9))['to'](_0x102add,_0x4231a0(0x215)),_0x1afe27[_0x4231a0(0x214)](_0x4231a0(0x1ec))['to'](this,_0x4231a0(0x1ec)),_0x1afe27['on'](_0x4231a0(0x1f1),()=>{const _0x5d0896=_0x4231a0;_0x102add[_0x5d0896(0x215)]=!_0x102add[_0x5d0896(0x215)],_0x102add[_0x5d0896(0x215)]?this[_0x5d0896(0x1f3)][_0x5d0896(0x209)]():this[_0x5d0896(0x209)]();});const _0xc5eca4=()=>{const _0x8b7b02=_0x4231a0;_0x3a4600[_0x8b7b02(0x1f0)][_0x8b7b02(0x20f)](()=>{const _0x1b2338=_0x8b7b02;if(_0x1549b1(this[_0x1b2338(0x1fd)])){const _0x42ce05=new _0x3d3cc4(this[_0x1b2338(0x207)][_0x1b2338(0x1fc)][_0x1b2338(0x1fd)]),_0x33d11f=_0x42ce05[_0x1b2338(0x20a)],_0x454a67=_0x1b2338(0x1ee)===_0x1633ad[_0x1b2338(0x203)]?_0x1b2338(0x1ef):_0x1b2338(0x217);_0x42ce05[_0x1b2338(0x205)](),_0x1afe27[_0x1b2338(0x1fd)][_0x1b2338(0x210)][_0x454a67]=_0x33d11f-_0x42ce05[_0x1b2338(0x20a)]+0x1+'px';}});};return this[_0x4231a0(0x207)][_0x4231a0(0x1fc)]['on'](_0x4231a0(0x213),_0xc5eca4),this['on'](_0x4231a0(0x216),_0xc5eca4),_0x1afe27;}[_0x16cac5(0x224)](){const _0x5ca3c1=_0x16cac5,_0x2299b2=this[_0x5ca3c1(0x207)][_0x5ca3c1(0x1fc)][_0x5ca3c1(0x1fd)][_0x5ca3c1(0x21d)];this[_0x5ca3c1(0x1ff)](_0x5ca3c1(0x224),_0x2299b2);}[_0x16cac5(0x209)](_0x3b581a){const _0x1f8b9d=_0x16cac5;-0x1===_0x3b581a?this[_0x1f8b9d(0x20c)][_0x1f8b9d(0x1f4)]():this[_0x1f8b9d(0x20c)][_0x1f8b9d(0x1fe)]();}}function _0x10a2(_0x170fb9,_0x236fb5){const _0x24ec81=_0x24ec();return _0x10a2=function(_0x10a28a,_0x3b6c3a){_0x10a28a=_0x10a28a-0x1ea;let _0x1f7e97=_0x24ec81[_0x10a28a];return _0x1f7e97;},_0x10a2(_0x170fb9,_0x236fb5);}function _0x24ec(){const _0x566562=['ck-ai-form__submit','focusCycler','focusableChildren','13SPgTjv','requestAnimationFrame','style','keystrokes','target','update','bind','isVisible','render','right','1636HfgEmj','18uBHdVU','434RPYSYE','add','618294iGXpyG','value','fieldWrapperChildren','History','12559032QuvRDu','_createShowHistoryButton','resultsView','Submit','submit','2FoIjGV','set','366200LMLYkC','8158634ZkqdKS','isEnabled','25944grIGSM','rtl','left','window','execute','locale','filteredView','focusLast','_createSubmitButton','99tdSHWp','submitButtonView','1902hGWfkB','isOn','enter','ck-ai-form__toggle-history','fieldView','element','focusFirst','fire','isEmpty','148730DyLlNf','minRows','uiLanguageDirection','children','excludeScrollbarsAndBorders','maxRows','queryView','showHistoryButtonView','focus','width'];_0x24ec=function(){return _0x566562;};return _0x24ec();}
23
+ const _0x485fad=_0x1700;(function(_0x6533d8,_0x4c2d9c){const _0x3777cf=_0x1700,_0x25c947=_0x6533d8();while(!![]){try{const _0x54e8f6=-parseInt(_0x3777cf(0x1eb))/0x1*(parseInt(_0x3777cf(0x1cc))/0x2)+-parseInt(_0x3777cf(0x1e6))/0x3*(parseInt(_0x3777cf(0x201))/0x4)+-parseInt(_0x3777cf(0x1f6))/0x5*(-parseInt(_0x3777cf(0x1e4))/0x6)+parseInt(_0x3777cf(0x1f2))/0x7*(-parseInt(_0x3777cf(0x1f1))/0x8)+-parseInt(_0x3777cf(0x207))/0x9*(-parseInt(_0x3777cf(0x1ee))/0xa)+parseInt(_0x3777cf(0x1f4))/0xb+parseInt(_0x3777cf(0x1fa))/0xc;if(_0x54e8f6===_0x4c2d9c)break;else _0x25c947['push'](_0x25c947['shift']());}catch(_0xad06f7){_0x25c947['push'](_0x25c947['shift']());}}}(_0x681e,0xe67d8));function _0x681e(){const _0x176102=['4625EwfKyd','ck-ai-form__toggle-history','fieldView','style','33294084qgLsXO','minRows','queryView','uiLanguageDirection','focusCycler','requestAnimationFrame','isOn','13556oWPSNa','isEmpty','isEnabled','add','ck-ai-form__submit','focus','81747scanAU','116356VCyUqk','excludeScrollbarsAndBorders','left','update','execute','History','children','resultsView','value','showHistoryButtonView','render','submit','Submit','focusLast','rtl','maxRows','enter','bind','_createShowHistoryButton','window','fieldWrapperChildren','filteredView','_createSubmitButton','element','6150giikOD','focusFirst','786UzBuNX','fire','right','locale','set','15dkbAlQ','target','isVisible','90ifnRMJ','keystrokes','submitButtonView','801728MennNW','84RqJkCq','focusableChildren','1131779mtKaAj','width'];_0x681e=function(){return _0x176102;};return _0x681e();}import{Rect as _0x15f6f6,global as _0x5b4f48,isVisible as _0x53f821}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x131d37,IconSubmit as _0x29998a}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x3994fd,ButtonView as _0x1cee89}from'ckeditor5/src/ui.js';import{getTranslation as _0x35001f}from'../../utils/common-translations.js';function _0x1700(_0x369bf5,_0x56ff78){const _0x681ee1=_0x681e();return _0x1700=function(_0x170096,_0x1569b0){_0x170096=_0x170096-0x1cc;let _0x5335fc=_0x681ee1[_0x170096];return _0x5335fc;},_0x1700(_0x369bf5,_0x56ff78);}export class AIFormPromptView extends _0x3994fd{[_0x485fad(0x1f0)];[_0x485fad(0x1d5)];constructor(_0x2be4ae,_0x1d77c1){const _0x2f638b=_0x485fad;super(_0x2be4ae,_0x1d77c1),this[_0x2f638b(0x1fc)][_0x2f638b(0x1f8)][_0x2f638b(0x1fb)]=0x1,this[_0x2f638b(0x1fc)][_0x2f638b(0x1f8)][_0x2f638b(0x1db)]=0x3,this[_0x2f638b(0x1f0)]=this[_0x2f638b(0x1e2)](),this[_0x2f638b(0x1d5)]=this[_0x2f638b(0x1de)](),this[_0x2f638b(0x1f3)][_0x2f638b(0x204)](this[_0x2f638b(0x1d5)],0x1),this[_0x2f638b(0x1f3)][_0x2f638b(0x204)](this[_0x2f638b(0x1f0)]);}[_0x485fad(0x1d6)](){const _0x2af9a1=_0x485fad;super[_0x2af9a1(0x1d6)](),this[_0x2af9a1(0x1fc)][_0x2af9a1(0x1e0)][_0x2af9a1(0x204)](this[_0x2af9a1(0x1d5)]),this[_0x2af9a1(0x1d2)][_0x2af9a1(0x204)](this[_0x2af9a1(0x1f0)]),this[_0x2af9a1(0x1ef)][_0x2af9a1(0x1ea)](_0x2af9a1(0x1dc),(_0x290cc5,_0x1d51c5)=>{const _0xdca462=_0x2af9a1;_0x290cc5[_0xdca462(0x1ec)]==this[_0xdca462(0x1fc)][_0xdca462(0x1f8)][_0xdca462(0x1e3)]&&(this[_0xdca462(0x1d7)](),_0x1d51c5());});}[_0x485fad(0x1e2)](){const _0x2e5389=_0x485fad,_0x1d990a=new _0x1cee89(this[_0x2e5389(0x1e9)]),_0x4de1dc=this[_0x2e5389(0x1e9)];return _0x1d990a[_0x2e5389(0x1ea)]({'icon':_0x29998a,'label':_0x35001f(_0x4de1dc,_0x2e5389(0x1d8)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2e5389(0x205)}),_0x1d990a['on'](_0x2e5389(0x1d0),()=>{const _0x5d943b=_0x2e5389;this[_0x5d943b(0x1d7)]();}),_0x1d990a[_0x2e5389(0x1dd)](_0x2e5389(0x203))['to'](this[_0x2e5389(0x1fc)][_0x2e5389(0x1f8)],_0x2e5389(0x202),this,_0x2e5389(0x203),(_0x2f9e93,_0x8f041b)=>!_0x2f9e93&&_0x8f041b),_0x1d990a;}[_0x485fad(0x1de)](){const _0x241194=_0x485fad,_0x49fc3f=new _0x1cee89(this[_0x241194(0x1e9)]),_0x3cc816=this[_0x241194(0x1d3)],_0x4b384f=this[_0x241194(0x1e9)];_0x49fc3f[_0x241194(0x1ea)]({'label':_0x35001f(_0x4b384f,_0x241194(0x1d1)),'withText':!0x1,'icon':_0x131d37,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x241194(0x1f7)}),_0x49fc3f[_0x241194(0x1dd)](_0x241194(0x200))['to'](_0x3cc816,_0x241194(0x1ed)),_0x49fc3f[_0x241194(0x1dd)](_0x241194(0x203))['to'](this,_0x241194(0x203)),_0x49fc3f['on'](_0x241194(0x1d0),()=>{const _0x512626=_0x241194;_0x3cc816[_0x512626(0x1ed)]=!_0x3cc816[_0x512626(0x1ed)],_0x3cc816[_0x512626(0x1ed)]?this[_0x512626(0x1e1)][_0x512626(0x206)]():this[_0x512626(0x206)]();});const _0x46b7a1=()=>{const _0x8518da=_0x241194;_0x5b4f48[_0x8518da(0x1df)][_0x8518da(0x1ff)](()=>{const _0xfcbbf7=_0x8518da;if(_0x53f821(this[_0xfcbbf7(0x1e3)])){const _0x4e8c8a=new _0x15f6f6(this[_0xfcbbf7(0x1fc)][_0xfcbbf7(0x1f8)][_0xfcbbf7(0x1e3)]),_0x452fd9=_0x4e8c8a[_0xfcbbf7(0x1f5)],_0x5e5480=_0xfcbbf7(0x1da)===_0x4b384f[_0xfcbbf7(0x1fd)]?_0xfcbbf7(0x1ce):_0xfcbbf7(0x1e8);_0x4e8c8a[_0xfcbbf7(0x1cd)](),_0x49fc3f[_0xfcbbf7(0x1e3)][_0xfcbbf7(0x1f9)][_0x5e5480]=_0x452fd9-_0x4e8c8a[_0xfcbbf7(0x1f5)]+0x1+'px';}});};return this[_0x241194(0x1fc)][_0x241194(0x1f8)]['on'](_0x241194(0x1cf),_0x46b7a1),this['on'](_0x241194(0x1d6),_0x46b7a1),_0x49fc3f;}[_0x485fad(0x1d7)](){const _0x23db9d=_0x485fad,_0x259736=this[_0x23db9d(0x1fc)][_0x23db9d(0x1f8)][_0x23db9d(0x1e3)][_0x23db9d(0x1d4)];this[_0x23db9d(0x1e7)](_0x23db9d(0x1d7),_0x259736);}[_0x485fad(0x206)](_0x2f8b5c){const _0x18381f=_0x485fad;-0x1===_0x2f8b5c?this[_0x18381f(0x1fe)][_0x18381f(0x1d9)]():this[_0x18381f(0x1fe)][_0x18381f(0x1e5)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xd48f(_0x1b6e8a,_0x3d61f3){const _0x31be1b=_0x31be();return _0xd48f=function(_0xd48f34,_0x169206){_0xd48f34=_0xd48f34-0x190;let _0x59fa32=_0x31be1b[_0xd48f34];return _0x59fa32;},_0xd48f(_0x1b6e8a,_0x3d61f3);}const _0x4e91bd=_0xd48f;function _0x31be(){const _0x17e136=['ck-hidden','4096sSCwbL','mainAction','locale','1828955uEcFAA','3314423SSNbcK','addMany','bind','ck-button-action','3249looWNI','_createButton','ck-ai-form__toolbar','label','insertButton','insert','replaceButton','stopButton','Try\x20again','Insert\x20below','REPLACE','extendTemplate','2590860RhAKXm','bindTemplate','Stop','_CONTENT','toUpperCase','replace','isVisible','2158472gCNIJG','AI_','12673110VjPSPV','items','tryAgainButton','6ebUPJI','1317165DJghNP','27qaDYVj','set'];_0x31be=function(){return _0x17e136;};return _0x31be();}(function(_0x40dd92,_0x32ef61){const _0x4456ed=_0xd48f,_0x2cae3a=_0x40dd92();while(!![]){try{const _0x2ddd22=-parseInt(_0x4456ed(0x1b4))/0x1+parseInt(_0x4456ed(0x1a7))/0x2+parseInt(_0x4456ed(0x19b))/0x3*(parseInt(_0x4456ed(0x193))/0x4)+parseInt(_0x4456ed(0x196))/0x5*(-parseInt(_0x4456ed(0x1b3))/0x6)+-parseInt(_0x4456ed(0x197))/0x7+parseInt(_0x4456ed(0x1ae))/0x8*(-parseInt(_0x4456ed(0x190))/0x9)+parseInt(_0x4456ed(0x1b0))/0xa;if(_0x2ddd22===_0x32ef61)break;else _0x2cae3a['push'](_0x2cae3a['shift']());}catch(_0x318385){_0x2cae3a['push'](_0x2cae3a['shift']());}}}(_0x31be,0xac545));import{ToolbarView as _0x18b60a,ButtonView as _0x47fd5c}from'ckeditor5/src/ui.js';import{getTranslation as _0x13083f}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4e91bd(0x1ac),'INSERT':_0x4e91bd(0x1a0)};export class AIFormToolbarView extends _0x18b60a{constructor(_0x27d4b){const _0x551af3=_0x4e91bd;super(_0x27d4b),this[_0x551af3(0x191)](_0x551af3(0x1ad),!0x1),this[_0x551af3(0x191)](_0x551af3(0x194),AIFormToolbarViewMainActionLabel[_0x551af3(0x1a5)]),this[_0x551af3(0x1a1)]=this[_0x551af3(0x19c)]('',_0x551af3(0x19a)),this[_0x551af3(0x1a1)][_0x551af3(0x199)](_0x551af3(0x19e))['to'](this,_0x551af3(0x194),_0x3d617a=>_0x13083f(_0x27d4b,_0x551af3(0x1af)+_0x3d617a[_0x551af3(0x1ab)]()+_0x551af3(0x1aa))),this[_0x551af3(0x19f)]=this[_0x551af3(0x19c)](_0x13083f(_0x27d4b,_0x551af3(0x1a4))),this[_0x551af3(0x1b2)]=this[_0x551af3(0x19c)](_0x13083f(_0x27d4b,_0x551af3(0x1a3))),this[_0x551af3(0x1a2)]=this[_0x551af3(0x19c)](_0x13083f(_0x27d4b,_0x551af3(0x1a9)));const _0x1187b8=this[_0x551af3(0x1a8)];this[_0x551af3(0x1a6)]({'attributes':{'class':[_0x551af3(0x19d),_0x1187b8['if'](_0x551af3(0x1ad),_0x551af3(0x192),_0x381351=>!_0x381351)]}}),this[_0x551af3(0x1b1)][_0x551af3(0x198)]([this[_0x551af3(0x1a1)],this[_0x551af3(0x19f)],this[_0x551af3(0x1b2)],this[_0x551af3(0x1a2)]]);}[_0x4e91bd(0x19c)](_0x154f04,_0x458609){const _0x5088b3=_0x4e91bd,_0x84e4f4=new _0x47fd5c(this[_0x5088b3(0x195)]);return _0x84e4f4[_0x5088b3(0x191)]({'label':_0x154f04,'class':_0x458609||'','isVisible':!0x0,'withText':!0x0}),_0x84e4f4;}}
23
+ function _0x2f1b(_0x548444,_0x144379){const _0x55be2f=_0x55be();return _0x2f1b=function(_0x2f1b5a,_0x3fd99b){_0x2f1b5a=_0x2f1b5a-0x139;let _0x4d4f1f=_0x55be2f[_0x2f1b5a];return _0x4d4f1f;},_0x2f1b(_0x548444,_0x144379);}const _0x9cd0e6=_0x2f1b;(function(_0x5a8a36,_0x209ca2){const _0x485ba9=_0x2f1b,_0x22fc98=_0x5a8a36();while(!![]){try{const _0x3038cd=-parseInt(_0x485ba9(0x153))/0x1*(parseInt(_0x485ba9(0x141))/0x2)+parseInt(_0x485ba9(0x15b))/0x3+-parseInt(_0x485ba9(0x159))/0x4*(-parseInt(_0x485ba9(0x15d))/0x5)+-parseInt(_0x485ba9(0x152))/0x6+parseInt(_0x485ba9(0x14e))/0x7+-parseInt(_0x485ba9(0x142))/0x8*(-parseInt(_0x485ba9(0x150))/0x9)+-parseInt(_0x485ba9(0x143))/0xa*(parseInt(_0x485ba9(0x13e))/0xb);if(_0x3038cd===_0x209ca2)break;else _0x22fc98['push'](_0x22fc98['shift']());}catch(_0x56d4ef){_0x22fc98['push'](_0x22fc98['shift']());}}}(_0x55be,0xb6467));import{ToolbarView as _0x5d2ec1,ButtonView as _0x2fdd6a}from'ckeditor5/src/ui.js';import{getTranslation as _0x5ae1dc}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x9cd0e6(0x157),'INSERT':_0x9cd0e6(0x13b)};export class AIFormToolbarView extends _0x5d2ec1{constructor(_0x25e235){const _0x3463df=_0x9cd0e6;super(_0x25e235),this[_0x3463df(0x139)](_0x3463df(0x140),!0x1),this[_0x3463df(0x139)](_0x3463df(0x151),AIFormToolbarViewMainActionLabel[_0x3463df(0x13f)]),this[_0x3463df(0x155)]=this[_0x3463df(0x14c)]('',_0x3463df(0x15c)),this[_0x3463df(0x155)][_0x3463df(0x154)](_0x3463df(0x144))['to'](this,_0x3463df(0x151),_0xb20bf5=>_0x5ae1dc(_0x25e235,_0x3463df(0x13a)+_0xb20bf5[_0x3463df(0x149)]()+_0x3463df(0x14a))),this[_0x3463df(0x13c)]=this[_0x3463df(0x14c)](_0x5ae1dc(_0x25e235,_0x3463df(0x156))),this[_0x3463df(0x13d)]=this[_0x3463df(0x14c)](_0x5ae1dc(_0x25e235,_0x3463df(0x158))),this[_0x3463df(0x14b)]=this[_0x3463df(0x14c)](_0x5ae1dc(_0x25e235,_0x3463df(0x15a)));const _0x53d1d1=this[_0x3463df(0x146)];this[_0x3463df(0x14d)]({'attributes':{'class':[_0x3463df(0x14f),_0x53d1d1['if'](_0x3463df(0x140),_0x3463df(0x148),_0x1d7533=>!_0x1d7533)]}}),this[_0x3463df(0x147)][_0x3463df(0x145)]([this[_0x3463df(0x155)],this[_0x3463df(0x13c)],this[_0x3463df(0x13d)],this[_0x3463df(0x14b)]]);}[_0x9cd0e6(0x14c)](_0x47a4e1,_0x205adb){const _0x5d82be=_0x9cd0e6,_0x499acb=new _0x2fdd6a(this[_0x5d82be(0x15e)]);return _0x499acb[_0x5d82be(0x139)]({'label':_0x47a4e1,'class':_0x205adb||'','isVisible':!0x0,'withText':!0x0}),_0x499acb;}}function _0x55be(){const _0xcf0bfc=['164exkKWT','Stop','2133972mhcpra','ck-button-action','81445FVQGWk','locale','set','AI_','insert','insertButton','tryAgainButton','4499AEsSOD','REPLACE','isVisible','4haNZyP','1464AxxfEz','36590lPrDCl','label','addMany','bindTemplate','items','ck-hidden','toUpperCase','_CONTENT','stopButton','_createButton','extendTemplate','10194338xpXUBX','ck-ai-form__toolbar','189CtDxRs','mainAction','897612EHjbCo','223309FCKoAc','bind','replaceButton','Insert\x20below','replace','Try\x20again'];_0x55be=function(){return _0xcf0bfc;};return _0x55be();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf4c5(_0x4ef069,_0x49cca9){const _0x3c8455=_0x3c84();return _0xf4c5=function(_0xf4c582,_0x4280c4){_0xf4c582=_0xf4c582-0x18c;let _0x2079fe=_0x3c8455[_0xf4c582];return _0x2079fe;},_0xf4c5(_0x4ef069,_0x49cca9);}const _0x2510f8=_0xf4c5;(function(_0x2571d1,_0x5d111e){const _0x564ace=_0xf4c5,_0x38d694=_0x2571d1();while(!![]){try{const _0x50bd9b=-parseInt(_0x564ace(0x1be))/0x1*(-parseInt(_0x564ace(0x1bb))/0x2)+parseInt(_0x564ace(0x190))/0x3*(-parseInt(_0x564ace(0x1de))/0x4)+-parseInt(_0x564ace(0x1bf))/0x5+-parseInt(_0x564ace(0x1a8))/0x6*(parseInt(_0x564ace(0x1b6))/0x7)+-parseInt(_0x564ace(0x18c))/0x8*(parseInt(_0x564ace(0x1d6))/0x9)+parseInt(_0x564ace(0x18e))/0xa*(parseInt(_0x564ace(0x1a5))/0xb)+parseInt(_0x564ace(0x1ab))/0xc;if(_0x50bd9b===_0x5d111e)break;else _0x38d694['push'](_0x38d694['shift']());}catch(_0x3dbc1d){_0x38d694['push'](_0x38d694['shift']());}}}(_0x3c84,0x6f634));import{FocusTracker as _0x4c7693,KeystrokeHandler as _0x3299cc}from'ckeditor5/src/utils.js';import{View as _0x390889,FocusCycler as _0x2a5f39,createLabeledTextarea as _0x235db9}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x5697d4,AIFormToolbarViewMainActionLabel as _0x47e7e8}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x14ad4e}from'./aiformcontentarea.js';import{AIFormErrorView as _0x5be5e2}from'./aiformerrorview.js';function _0x3c84(){const _0x3b9318=['insertContentBelow','tryAgainButton','ck-ai-form','setTemplate','2299288XyVqSe','replaceButton','4436290lZzFhU','items','87654gEfaHf','copyButtonView','tryAgainEvent','ck-ai-form-content','_createPromptView','_focusables','clear','focus','isEnabled','stopButton','clearHistory','add','locale','reset','_promptHistory','isError','_createToolbar','Empty\x20history','label','value','fire','11kGQZXL','focusFirst','render','666030UMnTlf','search','tab','25343220QAGTUP','delegate','handleError','bindTemplate','fieldView','chain','errorView','promptView','finishProcessing','div','execute','56CZyUCC','ck-hidden','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','prompt','submitPrompt','50sdWGJo','listenTo','queryView','6841zmEOmT','1285550oOJBVL','REPLACE','focusLast','AI_ERROR_FAILED','Ask\x20AI\x20to\x20improve\x20generated\x20text','focusCycler','bind','stopProcessing','isVisible','submit','set','toolbar','contentArea','createCollection','trim','keystrokes','shift\x20+\x20tab','isProcessing','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusTracker','historyGroupView','text','insertButton','27oElzIV','high','_createHistoryView','mainAction','bindTo','startProcessing','replaceContent','element','36rzcAnb'];_0x3c84=function(){return _0x3b9318;};return _0x3c84();}import{AIFormPromptView as _0x3287d0}from'./aiformpromptview.js';import{AIHistoryListView as _0x5c0b79}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x479902}from'./aihistorylistitemview.js';import{PromptHistory as _0x162049}from'./prompthistory.js';import{getTranslation as _0x557e92}from'../../utils/common-translations.js';import{escape as _0x1fd209}from'es-toolkit/compat';export class AIFormView extends _0x390889{[_0x2510f8(0x1d2)];[_0x2510f8(0x1ce)];[_0x2510f8(0x1cb)];[_0x2510f8(0x1ca)];[_0x2510f8(0x1b2)];[_0x2510f8(0x1b1)];[_0x2510f8(0x195)];[_0x2510f8(0x1c4)];[_0x2510f8(0x19e)];constructor(_0x180996,_0x3bb387,_0x5ad875=''){const _0x2790a3=_0x2510f8;super(_0x180996),this[_0x2790a3(0x1c9)](_0x2790a3(0x198),!0x0),this[_0x2790a3(0x1c9)](_0x2790a3(0x1d0),!0x1),this[_0x2790a3(0x1c9)](_0x2790a3(0x1b9),''),this[_0x2790a3(0x1c9)](_0x2790a3(0x1a3),''),this[_0x2790a3(0x1c9)](_0x2790a3(0x19f),!0x1),this[_0x2790a3(0x1c9)](_0x2790a3(0x1d9),_0x47e7e8[_0x2790a3(0x1c0)]),this[_0x2790a3(0x19e)]=new _0x162049(),this[_0x2790a3(0x1b1)]=new _0x5be5e2(_0x180996),this[_0x2790a3(0x1cb)]=new _0x14ad4e(_0x180996,_0x5ad875),this[_0x2790a3(0x1cb)][_0x2790a3(0x1c5)](_0x2790a3(0x1d0))['to'](this),this[_0x2790a3(0x1cb)][_0x2790a3(0x1c5)](_0x2790a3(0x1a3))['to'](this),this[_0x2790a3(0x1ca)]=this[_0x2790a3(0x1a0)](),this[_0x2790a3(0x1ca)][_0x2790a3(0x1c5)](_0x2790a3(0x1d9))['to'](this),this[_0x2790a3(0x1b2)]=this[_0x2790a3(0x194)](),this[_0x2790a3(0x1d2)]=new _0x4c7693(),this[_0x2790a3(0x1ce)]=new _0x3299cc(),this[_0x2790a3(0x195)]=this[_0x2790a3(0x1cc)]([this[_0x2790a3(0x1cb)],this[_0x2790a3(0x1cb)][_0x2790a3(0x191)],this[_0x2790a3(0x1ca)],this[_0x2790a3(0x1b2)]]),this[_0x2790a3(0x1c4)]=new _0x2a5f39({'focusables':this[_0x2790a3(0x195)],'focusTracker':this[_0x2790a3(0x1d2)],'keystrokeHandler':this[_0x2790a3(0x1ce)],'actions':{'focusPrevious':_0x2790a3(0x1cf),'focusNext':_0x2790a3(0x1aa)}}),this[_0x2790a3(0x1c4)][_0x2790a3(0x1b0)](this[_0x2790a3(0x1b2)][_0x2790a3(0x1c4)]),this[_0x2790a3(0x1b2)][_0x2790a3(0x1bd)][_0x2790a3(0x1af)][_0x2790a3(0x1c5)](_0x2790a3(0x1a3))['to'](this,_0x2790a3(0x1b9));const _0xb8e6e=this[_0x2790a3(0x1ae)];this[_0x2790a3(0x1e2)]({'tag':_0x2790a3(0x1b4),'attributes':{'class':['ck',_0x2790a3(0x1e1),_0x3bb387],'tabindex':'-1'},'children':[{'tag':_0x2790a3(0x1b4),'attributes':{'class':['ck',_0x2790a3(0x193)]},'children':[{'tag':_0x2790a3(0x1b4),'attributes':{'class':[_0xb8e6e['if'](_0x2790a3(0x19f),_0x2790a3(0x1b7),_0x1d9139=>!_0x1d9139)]},'children':[this[_0x2790a3(0x1b1)]]},this[_0x2790a3(0x1cb)],this[_0x2790a3(0x1ca)],this[_0x2790a3(0x1b2)]]}]});}[_0x2510f8(0x1a7)](){const _0x526911=_0x2510f8;super[_0x526911(0x1a7)](),this[_0x526911(0x1d2)][_0x526911(0x19b)](this[_0x526911(0x1cb)][_0x526911(0x1dd)]),this[_0x526911(0x1d2)][_0x526911(0x19b)](this[_0x526911(0x1cb)][_0x526911(0x191)][_0x526911(0x1dd)]),this[_0x526911(0x1d2)][_0x526911(0x19b)](this[_0x526911(0x1ca)][_0x526911(0x1dd)]),this[_0x526911(0x1d2)][_0x526911(0x19b)](this[_0x526911(0x1b2)][_0x526911(0x1dd)]),this[_0x526911(0x1ce)][_0x526911(0x1bc)](this[_0x526911(0x1dd)]);}[_0x2510f8(0x197)](_0x2899c6=0x1){const _0xfdf6d6=_0x2510f8;-0x1===_0x2899c6?this[_0xfdf6d6(0x1c4)][_0xfdf6d6(0x1c1)]():this[_0xfdf6d6(0x1c4)][_0xfdf6d6(0x1a6)]();}[_0x2510f8(0x19d)](){const _0x586293=_0x2510f8;this[_0x586293(0x1b9)]='',this[_0x586293(0x1a3)]='',this[_0x586293(0x19f)]=!0x1,this[_0x586293(0x1b2)][_0x586293(0x19d)](),this[_0x586293(0x1cb)][_0x586293(0x1c7)]=!0x1,this[_0x586293(0x1ca)][_0x586293(0x1c7)]=!0x1;}[_0x2510f8(0x194)](){const _0x59b48c=_0x2510f8,_0x4b77bd=this[_0x59b48c(0x19c)],_0x2989a6=new _0x3287d0(_0x4b77bd,{'queryView':{'label':_0x557e92(_0x4b77bd,_0x59b48c(0x1d1)),'creator':_0x235db9,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x557e92(_0x4b77bd,_0x59b48c(0x1a1)),'secondary':_0x557e92(_0x4b77bd,_0x59b48c(0x1b8))}}},'filteredView':this[_0x59b48c(0x1d8)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2989a6[_0x59b48c(0x1c5)](_0x59b48c(0x198))['to'](this,_0x59b48c(0x198),this,_0x59b48c(0x1d0),(_0x58f583,_0x843289)=>_0x58f583&&!_0x843289),this[_0x59b48c(0x1bc)](_0x2989a6,_0x59b48c(0x1c8),(_0x3f35b8,_0xbdba7a)=>{const _0x362100=_0x59b48c;this[_0x362100(0x1b9)]=_0xbdba7a;const _0x1f5d7a=_0x1fd209(_0xbdba7a);this[_0x362100(0x1a4)](_0x362100(0x1ba),_0x1f5d7a),_0xbdba7a[_0x362100(0x1cd)]()&&this[_0x362100(0x19e)][_0x362100(0x19b)]({'prompt':_0x1f5d7a},0x0);},{'priority':_0x59b48c(0x1d7)}),_0x2989a6;}[_0x2510f8(0x1d8)](){const _0x1533e7=_0x2510f8,_0x33caea=new _0x5c0b79(this[_0x1533e7(0x19c)]);return _0x33caea[_0x1533e7(0x1d3)][_0x1533e7(0x18f)][_0x1533e7(0x1da)](this[_0x1533e7(0x19e)])['as'](_0x479902),_0x33caea['on'](_0x1533e7(0x19a),()=>{const _0x4b5a02=_0x1533e7;this[_0x4b5a02(0x19e)][_0x4b5a02(0x196)](),this[_0x4b5a02(0x1b2)][_0x4b5a02(0x1a9)](''),this[_0x4b5a02(0x1b2)][_0x4b5a02(0x197)]();}),_0x33caea;}[_0x2510f8(0x1a0)](){const _0x2fa0f8=_0x2510f8,_0x4a9b0b=new _0x5697d4(this[_0x2fa0f8(0x19c)]);return _0x4a9b0b[_0x2fa0f8(0x18d)][_0x2fa0f8(0x1c5)](_0x2fa0f8(0x198))['to'](this,_0x2fa0f8(0x198),this,_0x2fa0f8(0x1d0),this,_0x2fa0f8(0x1a3),(_0x24bebd,_0x418cb7,_0x3eb933)=>_0x24bebd&&!_0x418cb7&&!!_0x3eb933),_0x4a9b0b[_0x2fa0f8(0x18d)][_0x2fa0f8(0x1ac)](_0x2fa0f8(0x1b5))['to'](this,_0x2fa0f8(0x1dc)),_0x4a9b0b[_0x2fa0f8(0x1d5)][_0x2fa0f8(0x1c5)](_0x2fa0f8(0x198))['to'](this,_0x2fa0f8(0x198),this,_0x2fa0f8(0x1d0),this,_0x2fa0f8(0x1a3),(_0x5f260a,_0x54e22e,_0x3185a8)=>_0x5f260a&&!_0x54e22e&&!!_0x3185a8),_0x4a9b0b[_0x2fa0f8(0x1d5)][_0x2fa0f8(0x1ac)](_0x2fa0f8(0x1b5))['to'](this,_0x2fa0f8(0x1df)),_0x4a9b0b[_0x2fa0f8(0x1e0)][_0x2fa0f8(0x1c5)](_0x2fa0f8(0x198))['to'](this,_0x2fa0f8(0x198),this,_0x2fa0f8(0x1d0),(_0x816713,_0x45457f)=>_0x816713&&!_0x45457f),_0x4a9b0b[_0x2fa0f8(0x1e0)][_0x2fa0f8(0x1ac)](_0x2fa0f8(0x1b5))['to'](this,_0x2fa0f8(0x192)),_0x4a9b0b[_0x2fa0f8(0x199)][_0x2fa0f8(0x1c5)](_0x2fa0f8(0x198))['to'](this,_0x2fa0f8(0x1d0)),_0x4a9b0b[_0x2fa0f8(0x199)][_0x2fa0f8(0x1ac)](_0x2fa0f8(0x1b5))['to'](this,_0x2fa0f8(0x1c6)),_0x4a9b0b;}[_0x2510f8(0x1db)](){const _0x235dc1=_0x2510f8;this[_0x235dc1(0x1a3)]='',this[_0x235dc1(0x19f)]=!0x1,this[_0x235dc1(0x1d0)]=!0x0,this[_0x235dc1(0x1cb)][_0x235dc1(0x1c7)]=!0x0,this[_0x235dc1(0x1ca)][_0x235dc1(0x1c7)]=!0x0,this[_0x235dc1(0x1cb)][_0x235dc1(0x197)]();}[_0x2510f8(0x1b3)](){const _0x42b79c=_0x2510f8,_0x29b4b8=this[_0x42b79c(0x19c)];this[_0x42b79c(0x1d0)]=!0x1,this[_0x42b79c(0x1b9)]='',this[_0x42b79c(0x1b2)][_0x42b79c(0x19d)](),this[_0x42b79c(0x1a3)]&&(this[_0x42b79c(0x1b2)][_0x42b79c(0x1bd)][_0x42b79c(0x1a2)]=_0x557e92(_0x29b4b8,_0x42b79c(0x1c3)));}[_0x2510f8(0x1ad)](_0x29e50b){const _0x45091f=_0x2510f8,_0x5f28e2=this[_0x45091f(0x19c)];this[_0x45091f(0x1b3)](),this[_0x45091f(0x19f)]=!0x0,this[_0x45091f(0x1b1)][_0x45091f(0x1d4)]=_0x29e50b||_0x557e92(_0x5f28e2,_0x45091f(0x1c2)),this[_0x45091f(0x1a3)]||(this[_0x45091f(0x1cb)][_0x45091f(0x1c7)]=!0x1);}}
23
+ const _0xb73744=_0x2260;(function(_0x545d9c,_0x184ced){const _0x29c348=_0x2260,_0x3d9d92=_0x545d9c();while(!![]){try{const _0x276d8b=parseInt(_0x29c348(0xd3))/0x1*(-parseInt(_0x29c348(0xca))/0x2)+parseInt(_0x29c348(0xd4))/0x3*(parseInt(_0x29c348(0xc9))/0x4)+parseInt(_0x29c348(0xd7))/0x5+-parseInt(_0x29c348(0xda))/0x6*(parseInt(_0x29c348(0x111))/0x7)+-parseInt(_0x29c348(0x106))/0x8*(-parseInt(_0x29c348(0xdf))/0x9)+parseInt(_0x29c348(0xfe))/0xa*(-parseInt(_0x29c348(0x100))/0xb)+parseInt(_0x29c348(0xfb))/0xc;if(_0x276d8b===_0x184ced)break;else _0x3d9d92['push'](_0x3d9d92['shift']());}catch(_0x1f3b99){_0x3d9d92['push'](_0x3d9d92['shift']());}}}(_0x2192,0xa9938));function _0x2260(_0x199a82,_0x2ba5fa){const _0x219251=_0x2192();return _0x2260=function(_0x226058,_0x59542c){_0x226058=_0x226058-0xc6;let _0x1e102a=_0x219251[_0x226058];return _0x1e102a;},_0x2260(_0x199a82,_0x2ba5fa);}import{FocusTracker as _0x38094a,KeystrokeHandler as _0x2a9845}from'ckeditor5/src/utils.js';import{View as _0x67cfb5,FocusCycler as _0x4a0b8e,createLabeledTextarea as _0xa795fb}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x42b50d,AIFormToolbarViewMainActionLabel as _0x479a07}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x1dd5bd}from'./aiformcontentarea.js';function _0x2192(){const _0x4f358d=['isEnabled','set','_createToolbar','keystrokes','errorView','finishProcessing','1642244QQanbf','604UYsHFS','focusLast','trim','_focusables','fieldView','submitPrompt','listenTo','startProcessing','Ask\x20AI\x20to\x20edit\x20or\x20generate','245SLRGYp','6DcZnXX','ck-ai-form-content','focusTracker','1771015ZDOxvM','replaceButton','tab','6LJrSeu','_promptHistory','isProcessing','_createHistoryView','value','1728IGIAhy','element','tryAgainEvent','isVisible','historyGroupView','chain','toolbar','fire','search','isError','prompt','focusFirst','copyButtonView','delegate','render','execute','ck-ai-form','high','clearHistory','stopProcessing','setTemplate','items','createCollection','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','bind','contentArea','clear','insertContentBelow','6109692qSqRcI','bindTo','replaceContent','2310ImPCAp','insertButton','4169UBgZHC','ck-hidden','REPLACE','shift\x20+\x20tab','stopButton','focus','5216aZlMnK','focusCycler','tryAgainButton','mainAction','promptView','queryView','div','Empty\x20history','reset','text','handleError','6674689IegQNq','add','bindTemplate','AI_ERROR_FAILED','locale','submit','label','_createPromptView','Ask\x20AI\x20to\x20improve\x20generated\x20text'];_0x2192=function(){return _0x4f358d;};return _0x2192();}import{AIFormErrorView as _0x1666ca}from'./aiformerrorview.js';import{AIFormPromptView as _0x411a96}from'./aiformpromptview.js';import{AIHistoryListView as _0x3c3580}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x3b6075}from'./aihistorylistitemview.js';import{PromptHistory as _0x2c40cd}from'./prompthistory.js';import{getTranslation as _0x579e6a}from'../../utils/common-translations.js';import{escape as _0x25a544}from'es-toolkit/compat';export class AIFormView extends _0x67cfb5{[_0xb73744(0xd6)];[_0xb73744(0xc6)];[_0xb73744(0xf8)];[_0xb73744(0xe5)];[_0xb73744(0x10a)];[_0xb73744(0xc7)];[_0xb73744(0xcd)];[_0xb73744(0x107)];[_0xb73744(0xdb)];constructor(_0x116a1a,_0x51bc27,_0x44423d=''){const _0x39120b=_0xb73744;super(_0x116a1a),this[_0x39120b(0x11b)](_0x39120b(0x11a),!0x0),this[_0x39120b(0x11b)](_0x39120b(0xdc),!0x1),this[_0x39120b(0x11b)](_0x39120b(0xe9),''),this[_0x39120b(0x11b)](_0x39120b(0xde),''),this[_0x39120b(0x11b)](_0x39120b(0xe8),!0x1),this[_0x39120b(0x11b)](_0x39120b(0x109),_0x479a07[_0x39120b(0x102)]),this[_0x39120b(0xdb)]=new _0x2c40cd(),this[_0x39120b(0xc7)]=new _0x1666ca(_0x116a1a),this[_0x39120b(0xf8)]=new _0x1dd5bd(_0x116a1a,_0x44423d),this[_0x39120b(0xf8)][_0x39120b(0xf7)](_0x39120b(0xdc))['to'](this),this[_0x39120b(0xf8)][_0x39120b(0xf7)](_0x39120b(0xde))['to'](this),this[_0x39120b(0xe5)]=this[_0x39120b(0x11c)](),this[_0x39120b(0xe5)][_0x39120b(0xf7)](_0x39120b(0x109))['to'](this),this[_0x39120b(0x10a)]=this[_0x39120b(0x118)](),this[_0x39120b(0xd6)]=new _0x38094a(),this[_0x39120b(0xc6)]=new _0x2a9845(),this[_0x39120b(0xcd)]=this[_0x39120b(0xf5)]([this[_0x39120b(0xf8)],this[_0x39120b(0xf8)][_0x39120b(0xeb)],this[_0x39120b(0xe5)],this[_0x39120b(0x10a)]]),this[_0x39120b(0x107)]=new _0x4a0b8e({'focusables':this[_0x39120b(0xcd)],'focusTracker':this[_0x39120b(0xd6)],'keystrokeHandler':this[_0x39120b(0xc6)],'actions':{'focusPrevious':_0x39120b(0x103),'focusNext':_0x39120b(0xd9)}}),this[_0x39120b(0x107)][_0x39120b(0xe4)](this[_0x39120b(0x10a)][_0x39120b(0x107)]),this[_0x39120b(0x10a)][_0x39120b(0x10b)][_0x39120b(0xce)][_0x39120b(0xf7)](_0x39120b(0xde))['to'](this,_0x39120b(0xe9));const _0x3b6814=this[_0x39120b(0x113)];this[_0x39120b(0xf3)]({'tag':_0x39120b(0x10c),'attributes':{'class':['ck',_0x39120b(0xef),_0x51bc27],'tabindex':'-1'},'children':[{'tag':_0x39120b(0x10c),'attributes':{'class':['ck',_0x39120b(0xd5)]},'children':[{'tag':_0x39120b(0x10c),'attributes':{'class':[_0x3b6814['if'](_0x39120b(0xe8),_0x39120b(0x101),_0x5d5b99=>!_0x5d5b99)]},'children':[this[_0x39120b(0xc7)]]},this[_0x39120b(0xf8)],this[_0x39120b(0xe5)],this[_0x39120b(0x10a)]]}]});}[_0xb73744(0xed)](){const _0xc71f81=_0xb73744;super[_0xc71f81(0xed)](),this[_0xc71f81(0xd6)][_0xc71f81(0x112)](this[_0xc71f81(0xf8)][_0xc71f81(0xe0)]),this[_0xc71f81(0xd6)][_0xc71f81(0x112)](this[_0xc71f81(0xf8)][_0xc71f81(0xeb)][_0xc71f81(0xe0)]),this[_0xc71f81(0xd6)][_0xc71f81(0x112)](this[_0xc71f81(0xe5)][_0xc71f81(0xe0)]),this[_0xc71f81(0xd6)][_0xc71f81(0x112)](this[_0xc71f81(0x10a)][_0xc71f81(0xe0)]),this[_0xc71f81(0xc6)][_0xc71f81(0xd0)](this[_0xc71f81(0xe0)]);}[_0xb73744(0x105)](_0x3dfc7d=0x1){const _0x15712a=_0xb73744;-0x1===_0x3dfc7d?this[_0x15712a(0x107)][_0x15712a(0xcb)]():this[_0x15712a(0x107)][_0x15712a(0xea)]();}[_0xb73744(0x10e)](){const _0x1ae05f=_0xb73744;this[_0x1ae05f(0xe9)]='',this[_0x1ae05f(0xde)]='',this[_0x1ae05f(0xe8)]=!0x1,this[_0x1ae05f(0x10a)][_0x1ae05f(0x10e)](),this[_0x1ae05f(0xf8)][_0x1ae05f(0xe2)]=!0x1,this[_0x1ae05f(0xe5)][_0x1ae05f(0xe2)]=!0x1;}[_0xb73744(0x118)](){const _0x48471e=_0xb73744,_0x52079d=this[_0x48471e(0x115)],_0x3fa9cb=new _0x411a96(_0x52079d,{'queryView':{'label':_0x579e6a(_0x52079d,_0x48471e(0xd2)),'creator':_0xa795fb,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x579e6a(_0x52079d,_0x48471e(0x10d)),'secondary':_0x579e6a(_0x52079d,_0x48471e(0xf6))}}},'filteredView':this[_0x48471e(0xdd)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3fa9cb[_0x48471e(0xf7)](_0x48471e(0x11a))['to'](this,_0x48471e(0x11a),this,_0x48471e(0xdc),(_0x5920da,_0x240ea3)=>_0x5920da&&!_0x240ea3),this[_0x48471e(0xd0)](_0x3fa9cb,_0x48471e(0x116),(_0x3f73eb,_0x50fafd)=>{const _0x195900=_0x48471e;this[_0x195900(0xe9)]=_0x50fafd;const _0x45f4b9=_0x25a544(_0x50fafd);this[_0x195900(0xe6)](_0x195900(0xcf),_0x45f4b9),_0x50fafd[_0x195900(0xcc)]()&&this[_0x195900(0xdb)][_0x195900(0x112)]({'prompt':_0x45f4b9},0x0);},{'priority':_0x48471e(0xf0)}),_0x3fa9cb;}[_0xb73744(0xdd)](){const _0x22a773=_0xb73744,_0x559409=new _0x3c3580(this[_0x22a773(0x115)]);return _0x559409[_0x22a773(0xe3)][_0x22a773(0xf4)][_0x22a773(0xfc)](this[_0x22a773(0xdb)])['as'](_0x3b6075),_0x559409['on'](_0x22a773(0xf1),()=>{const _0x1ec3a6=_0x22a773;this[_0x1ec3a6(0xdb)][_0x1ec3a6(0xf9)](),this[_0x1ec3a6(0x10a)][_0x1ec3a6(0xe7)](''),this[_0x1ec3a6(0x10a)][_0x1ec3a6(0x105)]();}),_0x559409;}[_0xb73744(0x11c)](){const _0x2158e5=_0xb73744,_0x160120=new _0x42b50d(this[_0x2158e5(0x115)]);return _0x160120[_0x2158e5(0xd8)][_0x2158e5(0xf7)](_0x2158e5(0x11a))['to'](this,_0x2158e5(0x11a),this,_0x2158e5(0xdc),this,_0x2158e5(0xde),(_0x1819c7,_0x348c01,_0x3be82e)=>_0x1819c7&&!_0x348c01&&!!_0x3be82e),_0x160120[_0x2158e5(0xd8)][_0x2158e5(0xec)](_0x2158e5(0xee))['to'](this,_0x2158e5(0xfd)),_0x160120[_0x2158e5(0xff)][_0x2158e5(0xf7)](_0x2158e5(0x11a))['to'](this,_0x2158e5(0x11a),this,_0x2158e5(0xdc),this,_0x2158e5(0xde),(_0xb89922,_0x7fdd25,_0x51bc24)=>_0xb89922&&!_0x7fdd25&&!!_0x51bc24),_0x160120[_0x2158e5(0xff)][_0x2158e5(0xec)](_0x2158e5(0xee))['to'](this,_0x2158e5(0xfa)),_0x160120[_0x2158e5(0x108)][_0x2158e5(0xf7)](_0x2158e5(0x11a))['to'](this,_0x2158e5(0x11a),this,_0x2158e5(0xdc),(_0x65d259,_0x50e07d)=>_0x65d259&&!_0x50e07d),_0x160120[_0x2158e5(0x108)][_0x2158e5(0xec)](_0x2158e5(0xee))['to'](this,_0x2158e5(0xe1)),_0x160120[_0x2158e5(0x104)][_0x2158e5(0xf7)](_0x2158e5(0x11a))['to'](this,_0x2158e5(0xdc)),_0x160120[_0x2158e5(0x104)][_0x2158e5(0xec)](_0x2158e5(0xee))['to'](this,_0x2158e5(0xf2)),_0x160120;}[_0xb73744(0xd1)](){const _0x246e93=_0xb73744;this[_0x246e93(0xde)]='',this[_0x246e93(0xe8)]=!0x1,this[_0x246e93(0xdc)]=!0x0,this[_0x246e93(0xf8)][_0x246e93(0xe2)]=!0x0,this[_0x246e93(0xe5)][_0x246e93(0xe2)]=!0x0,this[_0x246e93(0xf8)][_0x246e93(0x105)]();}[_0xb73744(0xc8)](){const _0x2a845d=_0xb73744,_0x282f70=this[_0x2a845d(0x115)];this[_0x2a845d(0xdc)]=!0x1,this[_0x2a845d(0xe9)]='',this[_0x2a845d(0x10a)][_0x2a845d(0x10e)](),this[_0x2a845d(0xde)]&&(this[_0x2a845d(0x10a)][_0x2a845d(0x10b)][_0x2a845d(0x117)]=_0x579e6a(_0x282f70,_0x2a845d(0x119)));}[_0xb73744(0x110)](_0x1d9226){const _0x5149ab=_0xb73744,_0xf1a623=this[_0x5149ab(0x115)];this[_0x5149ab(0xc8)](),this[_0x5149ab(0xe8)]=!0x0,this[_0x5149ab(0xc7)][_0x5149ab(0x10f)]=_0x1d9226||_0x579e6a(_0xf1a623,_0x5149ab(0x114)),this[_0x5149ab(0xde)]||(this[_0x5149ab(0xf8)][_0x5149ab(0xe2)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1454(_0xf18a9b,_0xefc245){const _0x2bcf9b=_0x2bcf();return _0x1454=function(_0x1454ff,_0x3b9901){_0x1454ff=_0x1454ff-0x195;let _0x5c667d=_0x2bcf9b[_0x1454ff];return _0x5c667d;},_0x1454(_0xf18a9b,_0xefc245);}(function(_0x11977d,_0x309c68){const _0x210b09=_0x1454,_0x3ab828=_0x11977d();while(!![]){try{const _0xa00730=parseInt(_0x210b09(0x195))/0x1*(-parseInt(_0x210b09(0x19e))/0x2)+-parseInt(_0x210b09(0x1a3))/0x3+parseInt(_0x210b09(0x19f))/0x4+parseInt(_0x210b09(0x1a4))/0x5+-parseInt(_0x210b09(0x196))/0x6*(-parseInt(_0x210b09(0x1a0))/0x7)+-parseInt(_0x210b09(0x19d))/0x8+-parseInt(_0x210b09(0x1a1))/0x9;if(_0xa00730===_0x309c68)break;else _0x3ab828['push'](_0x3ab828['shift']());}catch(_0x27220a){_0x3ab828['push'](_0x3ab828['shift']());}}}(_0x2bcf,0xbafa3));import{ListItemView as _0x1453ef,ButtonView as _0x2bd4f0,ButtonLabelView as _0xa00eb7}from'ckeditor5/src/ui.js';import{unescape as _0x1a77f5}from'es-toolkit/compat';function _0x2bcf(){const _0x5c2bb3=['6666qoMunM','execute','fire','prompt','locale','children','add','3197864vszluF','4BXyonR','4708364ogueLX','4487sBaAjB','5780520IupEkT','set','4477329FHtIvE','7392575uhtHkv','33721VbrTdq'];_0x2bcf=function(){return _0x5c2bb3;};return _0x2bcf();}export class AIHistoryListItemView extends _0x1453ef{constructor(_0x5c96ca){const _0x122aac=_0x1454;super();const _0x1a9c2b=new _0xa00eb7(),_0x37375e=new _0x2bd4f0(this[_0x122aac(0x19a)],_0x1a9c2b);this[_0x122aac(0x19b)][_0x122aac(0x19c)](_0x37375e),_0x37375e[_0x122aac(0x1a2)]({'label':_0x5c96ca[_0x122aac(0x199)],'withText':!0x0}),_0x37375e['on'](_0x122aac(0x197),()=>{const _0x4e8774=_0x122aac;this[_0x4e8774(0x198)](_0x4e8774(0x197),{'value':_0x1a77f5(_0x5c96ca[_0x4e8774(0x199)])});});}}
23
+ (function(_0x9ecec5,_0x4637ca){const _0x1d1637=_0x2da8,_0x20c10f=_0x9ecec5();while(!![]){try{const _0x24d8df=-parseInt(_0x1d1637(0xe9))/0x1+parseInt(_0x1d1637(0xf2))/0x2+-parseInt(_0x1d1637(0xee))/0x3*(-parseInt(_0x1d1637(0xec))/0x4)+parseInt(_0x1d1637(0xf7))/0x5*(parseInt(_0x1d1637(0xf8))/0x6)+parseInt(_0x1d1637(0xf3))/0x7+parseInt(_0x1d1637(0xf5))/0x8*(-parseInt(_0x1d1637(0xf0))/0x9)+parseInt(_0x1d1637(0xf4))/0xa*(-parseInt(_0x1d1637(0xf1))/0xb);if(_0x24d8df===_0x4637ca)break;else _0x20c10f['push'](_0x20c10f['shift']());}catch(_0x309875){_0x20c10f['push'](_0x20c10f['shift']());}}}(_0x2885,0x7d8d0));function _0x2885(){const _0x4dd017=['5207748LLNPuT','14690RViQKr','68536VvgnhW','add','30470NbAeMd','366VTWWDl','fire','prompt','938264jvkqMU','locale','execute','4PfytoN','children','1123887CGXxQo','set','63AEwhkN','55XAizaJ','59014BzrCfK'];_0x2885=function(){return _0x4dd017;};return _0x2885();}function _0x2da8(_0x4c02e4,_0x43d795){const _0x28856d=_0x2885();return _0x2da8=function(_0x2da822,_0x256c70){_0x2da822=_0x2da822-0xe9;let _0x1f8e47=_0x28856d[_0x2da822];return _0x1f8e47;},_0x2da8(_0x4c02e4,_0x43d795);}import{ListItemView as _0x288cf1,ButtonView as _0x22e540,ButtonLabelView as _0x47da11}from'ckeditor5/src/ui.js';import{unescape as _0xf412}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x288cf1{constructor(_0x12fa4c){const _0x32d675=_0x2da8;super();const _0x36d8ba=new _0x47da11(),_0x571faf=new _0x22e540(this[_0x32d675(0xea)],_0x36d8ba);this[_0x32d675(0xed)][_0x32d675(0xf6)](_0x571faf),_0x571faf[_0x32d675(0xef)]({'label':_0x12fa4c[_0x32d675(0xfa)],'withText':!0x0}),_0x571faf['on'](_0x32d675(0xeb),()=>{const _0x34abff=_0x32d675;this[_0x34abff(0xf9)](_0x34abff(0xeb),{'value':_0xf412(_0x12fa4c[_0x34abff(0xfa)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x348dcd=_0x3bb9;(function(_0x561d5d,_0x293828){const _0x1fc909=_0x3bb9,_0x29f9a6=_0x561d5d();while(!![]){try{const _0xa04261=-parseInt(_0x1fc909(0x172))/0x1*(parseInt(_0x1fc909(0x16d))/0x2)+-parseInt(_0x1fc909(0x174))/0x3+-parseInt(_0x1fc909(0x15d))/0x4+-parseInt(_0x1fc909(0x173))/0x5*(-parseInt(_0x1fc909(0x162))/0x6)+parseInt(_0x1fc909(0x167))/0x7*(parseInt(_0x1fc909(0x16b))/0x8)+-parseInt(_0x1fc909(0x176))/0x9+-parseInt(_0x1fc909(0x177))/0xa*(-parseInt(_0x1fc909(0x164))/0xb);if(_0xa04261===_0x293828)break;else _0x29f9a6['push'](_0x29f9a6['shift']());}catch(_0xadc741){_0x29f9a6['push'](_0x29f9a6['shift']());}}}(_0x4e21,0x4b0e1));import{ListView as _0x317343,ListItemGroupView as _0xb59980,ButtonView as _0x430f41}from'ckeditor5/src/ui.js';function _0x4e21(){const _0x5aeea5=['label','_createClearHistoryButton','37ISmNnv','913205ykyGBa','989967DnLpqd','length','3486915UOzdvt','10VVfdou','set','1630396offRRG','Clear','execute','items','locale','12vVfdyd','children','11620741bjIMSP','clearHistory','Prompt\x20history','1414wxujcQ','add','clearHistoryButton','fire','1552YWWzrT','filter','1538sByPYx','historyGroupView','delegate'];_0x4e21=function(){return _0x5aeea5;};return _0x4e21();}import{getTranslation as _0x44fdb6}from'../../utils/common-translations.js';function _0x3bb9(_0x198ed3,_0x958fc1){const _0x4e218d=_0x4e21();return _0x3bb9=function(_0x3bb9ce,_0x2efef0){_0x3bb9ce=_0x3bb9ce-0x15c;let _0x1491e1=_0x4e218d[_0x3bb9ce];return _0x1491e1;},_0x3bb9(_0x198ed3,_0x958fc1);}export class AIHistoryListView extends _0x317343{[_0x348dcd(0x16e)];[_0x348dcd(0x169)];constructor(_0x3e8a58){const _0x467422=_0x348dcd;super(_0x3e8a58),this[_0x467422(0x169)]=this[_0x467422(0x171)](),this[_0x467422(0x16e)]=new _0xb59980(),this[_0x467422(0x16e)][_0x467422(0x163)][_0x467422(0x168)](this[_0x467422(0x169)],0x1),this[_0x467422(0x16e)][_0x467422(0x170)]=_0x44fdb6(_0x3e8a58,_0x467422(0x166)),this[_0x467422(0x16e)][_0x467422(0x160)][_0x467422(0x16f)](_0x467422(0x15f))['to'](this),this[_0x467422(0x160)][_0x467422(0x168)](this[_0x467422(0x16e)]);}[_0x348dcd(0x16c)](){const _0x493d73=_0x348dcd;let _0x2fb034=0x0;for(const _0x306d90 of this[_0x493d73(0x160)])_0x2fb034+=_0x306d90[_0x493d73(0x160)][_0x493d73(0x175)];return{'resultsCount':_0x2fb034,'totalItemsCount':_0x2fb034};}[_0x348dcd(0x171)](){const _0x2c0b27=_0x348dcd,_0x260266=this[_0x2c0b27(0x161)],_0x3a6b5d=new _0x430f41(this[_0x2c0b27(0x161)]);return _0x3a6b5d[_0x2c0b27(0x15c)]({'label':'('+_0x44fdb6(_0x260266,_0x2c0b27(0x15e))+')','withText':!0x0}),_0x3a6b5d['on'](_0x2c0b27(0x15f),()=>this[_0x2c0b27(0x16a)](_0x2c0b27(0x165))),_0x3a6b5d;}}
23
+ const _0x4337ee=_0x16ec;function _0x1267(){const _0x5a1d17=['3980415jQmAiY','10242022XhsmAZ','2682402YgPaPT','3018912dNnGlT','_createClearHistoryButton','children','set','742409bAKfLp','filter','Prompt\x20history','fire','execute','Clear','length','locale','items','label','clearHistoryButton','1312012JMNhkq','3075048XCvXWd','historyGroupView','clearHistory','add','delegate'];_0x1267=function(){return _0x5a1d17;};return _0x1267();}(function(_0x5ea23b,_0x466a1c){const _0x19d7e2=_0x16ec,_0x377b35=_0x5ea23b();while(!![]){try{const _0x586d29=parseInt(_0x19d7e2(0x15f))/0x1+-parseInt(_0x19d7e2(0x16a))/0x2+parseInt(_0x19d7e2(0x172))/0x3+parseInt(_0x19d7e2(0x16b))/0x4+parseInt(_0x19d7e2(0x170))/0x5+-parseInt(_0x19d7e2(0x15b))/0x6+-parseInt(_0x19d7e2(0x171))/0x7;if(_0x586d29===_0x466a1c)break;else _0x377b35['push'](_0x377b35['shift']());}catch(_0x16833f){_0x377b35['push'](_0x377b35['shift']());}}}(_0x1267,0x8d60c));function _0x16ec(_0x213593,_0x3b36d4){const _0x12675b=_0x1267();return _0x16ec=function(_0x16ec03,_0x5e71f7){_0x16ec03=_0x16ec03-0x15b;let _0x62b9f7=_0x12675b[_0x16ec03];return _0x62b9f7;},_0x16ec(_0x213593,_0x3b36d4);}import{ListView as _0x41ce09,ListItemGroupView as _0x4b2a8e,ButtonView as _0x343254}from'ckeditor5/src/ui.js';import{getTranslation as _0xdea200}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x41ce09{[_0x4337ee(0x16c)];[_0x4337ee(0x169)];constructor(_0xd7ad3f){const _0x59cfd5=_0x4337ee;super(_0xd7ad3f),this[_0x59cfd5(0x169)]=this[_0x59cfd5(0x15c)](),this[_0x59cfd5(0x16c)]=new _0x4b2a8e(),this[_0x59cfd5(0x16c)][_0x59cfd5(0x15d)][_0x59cfd5(0x16e)](this[_0x59cfd5(0x169)],0x1),this[_0x59cfd5(0x16c)][_0x59cfd5(0x168)]=_0xdea200(_0xd7ad3f,_0x59cfd5(0x161)),this[_0x59cfd5(0x16c)][_0x59cfd5(0x167)][_0x59cfd5(0x16f)](_0x59cfd5(0x163))['to'](this),this[_0x59cfd5(0x167)][_0x59cfd5(0x16e)](this[_0x59cfd5(0x16c)]);}[_0x4337ee(0x160)](){const _0xf48483=_0x4337ee;let _0x44dbbb=0x0;for(const _0x2c61fd of this[_0xf48483(0x167)])_0x44dbbb+=_0x2c61fd[_0xf48483(0x167)][_0xf48483(0x165)];return{'resultsCount':_0x44dbbb,'totalItemsCount':_0x44dbbb};}[_0x4337ee(0x15c)](){const _0x5e1c4a=_0x4337ee,_0x2a6a09=this[_0x5e1c4a(0x166)],_0x5bd6a6=new _0x343254(this[_0x5e1c4a(0x166)]);return _0x5bd6a6[_0x5e1c4a(0x15e)]({'label':'('+_0xdea200(_0x2a6a09,_0x5e1c4a(0x164))+')','withText':!0x0}),_0x5bd6a6['on'](_0x5e1c4a(0x163),()=>this[_0x5e1c4a(0x162)](_0x5e1c4a(0x16d))),_0x5bd6a6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x540c(_0x5e8333,_0x5ce74b){const _0x41d196=_0x41d1();return _0x540c=function(_0x540c37,_0x59f0f7){_0x540c37=_0x540c37-0xcc;let _0x10b361=_0x41d196[_0x540c37];return _0x10b361;},_0x540c(_0x5e8333,_0x5ce74b);}const _0x54c111=_0x540c;(function(_0x112634,_0x22637c){const _0x25366c=_0x540c,_0x28eff1=_0x112634();while(!![]){try{const _0x3db434=parseInt(_0x25366c(0xd4))/0x1*(parseInt(_0x25366c(0xd8))/0x2)+parseInt(_0x25366c(0xcd))/0x3+parseInt(_0x25366c(0xe3))/0x4+-parseInt(_0x25366c(0xd7))/0x5+-parseInt(_0x25366c(0xcc))/0x6*(parseInt(_0x25366c(0xe5))/0x7)+parseInt(_0x25366c(0xd0))/0x8+-parseInt(_0x25366c(0xce))/0x9*(parseInt(_0x25366c(0xe1))/0xa);if(_0x3db434===_0x22637c)break;else _0x28eff1['push'](_0x28eff1['shift']());}catch(_0x43988e){_0x28eff1['push'](_0x28eff1['shift']());}}}(_0x41d1,0x9f1d1));import{Collection as _0x411b68}from'ckeditor5/src/utils.js';function _0x41d1(){const _0x32fda5=['map','700tAvAsi','_saveToSessionStorage','2721332SLuynl','getItem','28aVWcKK','322254UypePO','2105691GseSEn','88677KBUiwl','addMany','1967328PDuzHw','_loadFromSessionStorage','toLowerCase','CKEditor/AIFormView/PromptHistory','141dymMGp','add','length','725250AeKzaH','1038DieKkC','prompt','stringify','trim','parse','last','setItem','remove'];_0x41d1=function(){return _0x32fda5;};return _0x41d1();}const no=_0x54c111(0xd3);export class PromptHistory extends _0x411b68{constructor(){const _0x34e4c8=_0x54c111;super(),this[_0x34e4c8(0xd1)](),this['on'](_0x34e4c8(0xd5),(_0x16bdc0,_0x43c919)=>{const _0x3ce0ad=_0x34e4c8,_0xa11323=co(_0x43c919[_0x3ce0ad(0xd9)]);for(const _0x252d1f of this)if(_0x252d1f!=_0x43c919&&co(_0x252d1f[_0x3ce0ad(0xd9)])===_0xa11323){this[_0x3ce0ad(0xdf)](_0x252d1f);break;}this[_0x3ce0ad(0xd6)]>0x14&&this[_0x3ce0ad(0xdf)](this[_0x3ce0ad(0xdd)]),this[_0x3ce0ad(0xe2)]();}),this['on'](_0x34e4c8(0xdf),()=>{const _0xd9a4fc=_0x34e4c8;this[_0xd9a4fc(0xe2)]();});}[_0x54c111(0xd1)](){const _0x62228c=_0x54c111,_0xc59188=sessionStorage[_0x62228c(0xe4)](no)||'[]';this[_0x62228c(0xcf)](JSON[_0x62228c(0xdc)](_0xc59188));}[_0x54c111(0xe2)](){const _0x481110=_0x54c111;sessionStorage[_0x481110(0xde)](no,JSON[_0x481110(0xda)](this[_0x481110(0xe0)](_0x544851=>_0x544851)));}}function co(_0x5b46b6){const _0x56b953=_0x54c111;return _0x5b46b6[_0x56b953(0xd2)]()[_0x56b953(0xdb)]();}
23
+ const _0x19df7a=_0x3000;(function(_0x44121e,_0x37d5d6){const _0x55e228=_0x3000,_0x269793=_0x44121e();while(!![]){try{const _0x17a90f=parseInt(_0x55e228(0x9c))/0x1*(parseInt(_0x55e228(0x9e))/0x2)+-parseInt(_0x55e228(0x8e))/0x3*(-parseInt(_0x55e228(0x8f))/0x4)+-parseInt(_0x55e228(0x99))/0x5*(-parseInt(_0x55e228(0x9b))/0x6)+parseInt(_0x55e228(0x91))/0x7*(parseInt(_0x55e228(0x92))/0x8)+parseInt(_0x55e228(0x8c))/0x9+parseInt(_0x55e228(0x97))/0xa+-parseInt(_0x55e228(0x9a))/0xb;if(_0x17a90f===_0x37d5d6)break;else _0x269793['push'](_0x269793['shift']());}catch(_0x4e8651){_0x269793['push'](_0x269793['shift']());}}}(_0x567e,0x7cc0d));import{Collection as _0x56d8c5}from'ckeditor5/src/utils.js';const no=_0x19df7a(0xa1);export class PromptHistory extends _0x56d8c5{constructor(){const _0x533a00=_0x19df7a;super(),this[_0x533a00(0xa4)](),this['on'](_0x533a00(0x93),(_0x248f90,_0x38d75e)=>{const _0x4183b8=_0x533a00,_0x293172=ho(_0x38d75e[_0x4183b8(0x90)]);for(const _0x4a55af of this)if(_0x4a55af!=_0x38d75e&&ho(_0x4a55af[_0x4183b8(0x90)])===_0x293172){this[_0x4183b8(0x8d)](_0x4a55af);break;}this[_0x4183b8(0x95)]>0x14&&this[_0x4183b8(0x8d)](this[_0x4183b8(0xa0)]),this[_0x4183b8(0xa2)]();}),this['on'](_0x533a00(0x8d),()=>{const _0x4754e2=_0x533a00;this[_0x4754e2(0xa2)]();});}[_0x19df7a(0xa4)](){const _0x5669ba=_0x19df7a,_0x1b8562=sessionStorage[_0x5669ba(0x98)](no)||'[]';this[_0x5669ba(0xa5)](JSON[_0x5669ba(0x9f)](_0x1b8562));}[_0x19df7a(0xa2)](){const _0x3012e0=_0x19df7a;sessionStorage[_0x3012e0(0x94)](no,JSON[_0x3012e0(0xa3)](this[_0x3012e0(0x96)](_0x301dce=>_0x301dce)));}}function ho(_0x522cfe){const _0x18a6db=_0x19df7a;return _0x522cfe[_0x18a6db(0x9d)]()[_0x18a6db(0xa6)]();}function _0x3000(_0x3f1f9,_0x5ef088){const _0x567e33=_0x567e();return _0x3000=function(_0x300018,_0x5e209a){_0x300018=_0x300018-0x8c;let _0x4b8ce0=_0x567e33[_0x300018];return _0x4b8ce0;},_0x3000(_0x3f1f9,_0x5ef088);}function _0x567e(){const _0x2d79c5=['length','map','2262490rvzvwO','getItem','16225ywZOwn','31671673ITmoXK','1446GygliY','8cdGdhu','toLowerCase','227874hCAnwU','parse','last','CKEditor/AIFormView/PromptHistory','_saveToSessionStorage','stringify','_loadFromSessionStorage','addMany','trim','3479004pnjQws','remove','569892jNfqPK','4WnpAPH','prompt','2723RKeEft','18384GvDzAF','add','setItem'];_0x567e=function(){return _0x2d79c5;};return _0x567e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20f185=_0x399e;(function(_0x3f10b5,_0x5eb7d8){const _0x218ed9=_0x399e,_0x91b5f3=_0x3f10b5();while(!![]){try{const _0xc20cbb=parseInt(_0x218ed9(0x1c7))/0x1*(-parseInt(_0x218ed9(0x1b7))/0x2)+parseInt(_0x218ed9(0x1d9))/0x3+-parseInt(_0x218ed9(0x1d6))/0x4*(-parseInt(_0x218ed9(0x1d0))/0x5)+-parseInt(_0x218ed9(0x1c2))/0x6*(-parseInt(_0x218ed9(0x1da))/0x7)+parseInt(_0x218ed9(0x1d5))/0x8*(-parseInt(_0x218ed9(0x1d1))/0x9)+-parseInt(_0x218ed9(0x1b5))/0xa+parseInt(_0x218ed9(0x1c1))/0xb;if(_0xc20cbb===_0x5eb7d8)break;else _0x91b5f3['push'](_0x91b5f3['shift']());}catch(_0x27d78b){_0x91b5f3['push'](_0x91b5f3['shift']());}}}(_0x4123,0x33c1f));function _0x4123(){const _0x1f7465=['change:_hasContext','5ZbpMgt','1588131PzpgrM','_commandDefinitions','showUI','length','16CmSwWN','402772yajUKJ','enabledCommandsIds','values','1002573uDFizf','7vIQxGX','ai.assistant.disabledElements','editor','get','isEmpty','from','add','plugins','1990330PBuYKR','includes','11038KgQeNF','isCollapsed','isEnabled','requiresContent','config','execute','set','document','selection','change:isEnabled','5560412lAcVBH','696486SqNjHs','element','getRanges','custom','_hasContext','53qnQxnq','refresh','getSelectedBlocks','hasContent','getItems','getFirstRange','name','model'];_0x4123=function(){return _0x1f7465;};return _0x4123();}import{Command as _0x333949}from'ckeditor5/src/core.js';function _0x399e(_0x4ebb1b,_0x3aaacb){const _0x4123de=_0x4123();return _0x399e=function(_0x399ebc,_0x561816){_0x399ebc=_0x399ebc-0x1b1;let _0x205c94=_0x4123de[_0x399ebc];return _0x205c94;},_0x399e(_0x4ebb1b,_0x3aaacb);}import{AIAssistantUI as _0x317a76}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x333949{[_0x20f185(0x1d2)];constructor(_0x319972,_0xe5abfc){const _0x29f091=_0x20f185;super(_0x319972),this[_0x29f091(0x1d2)]=_0xe5abfc,this[_0x29f091(0x1bd)](_0x29f091(0x1d7),[]),this['on'](_0x29f091(0x1cf),(_0x411ff1,_0x50748b,_0x17b5ac)=>{const _0x4e254b=_0x29f091;this[_0x4e254b(0x1b9)]&&(this[_0x4e254b(0x1d7)]=os(this[_0x4e254b(0x1d2)],_0x17b5ac));}),this[_0x29f091(0x1bd)](_0x29f091(0x1c6),!0x1),this['on'](_0x29f091(0x1c0),(_0x40cfc9,_0x95c815,_0x6308d1)=>{const _0x12daa1=_0x29f091;this[_0x12daa1(0x1d7)]=_0x6308d1?os(this[_0x12daa1(0x1d2)],this[_0x12daa1(0x1c6)]):[];});}[_0x20f185(0x1c8)](){const _0x520752=_0x20f185,_0x133257=this[_0x520752(0x1dc)][_0x520752(0x1ce)];this[_0x520752(0x1c6)]=function(_0x5c5f1e){const _0x27aac5=_0x520752,_0x183c78=_0x5c5f1e[_0x27aac5(0x1be)][_0x27aac5(0x1bf)];return _0x183c78[_0x27aac5(0x1b8)]?0x0!==[..._0x183c78[_0x27aac5(0x1c9)]()][_0x27aac5(0x1d4)]&&![..._0x183c78[_0x27aac5(0x1c9)]()][0x0][_0x27aac5(0x1b1)]:!!_0x5c5f1e[_0x27aac5(0x1ca)](_0x183c78[_0x27aac5(0x1cc)]());}(_0x133257);const _0x285543=_0x133257[_0x520752(0x1be)][_0x520752(0x1bf)],_0x543bdc=this[_0x520752(0x1dc)][_0x520752(0x1bb)][_0x520752(0x1dd)](_0x520752(0x1db));for(const _0x1b2ce9 of _0x285543[_0x520752(0x1c4)]())for(const _0x1de9da of _0x1b2ce9[_0x520752(0x1cb)]())if(_0x1de9da['is'](_0x520752(0x1c3))&&_0x543bdc[_0x520752(0x1b6)](_0x1de9da[_0x520752(0x1cd)]))return void(this[_0x520752(0x1b9)]=!0x1);this[_0x520752(0x1b9)]=!0x0;}[_0x20f185(0x1bc)](_0x4cb429='',_0x559747='',_0x73a47c=_0x20f185(0x1c5)){const _0x340484=_0x20f185;this[_0x340484(0x1dc)][_0x340484(0x1b4)][_0x340484(0x1dd)](_0x317a76)[_0x340484(0x1d3)](_0x4cb429,_0x559747,_0x73a47c);}}function os(_0x519b59,_0x40b297){const _0x53ef7f=_0x20f185,_0x1d4f53=new Set();for(const _0x176c95 of _0x519b59[_0x53ef7f(0x1d8)]())(_0x40b297||!0x1===_0x176c95[_0x53ef7f(0x1ba)])&&_0x1d4f53[_0x53ef7f(0x1b3)](_0x176c95['id']);return Array[_0x53ef7f(0x1b2)](_0x1d4f53);}
23
+ const _0x32892d=_0x5619;(function(_0x765c32,_0x5e667e){const _0x233df9=_0x5619,_0x2864a8=_0x765c32();while(!![]){try{const _0x4f465a=-parseInt(_0x233df9(0xde))/0x1+-parseInt(_0x233df9(0xea))/0x2*(-parseInt(_0x233df9(0x106))/0x3)+parseInt(_0x233df9(0x101))/0x4*(parseInt(_0x233df9(0xf7))/0x5)+parseInt(_0x233df9(0x109))/0x6+-parseInt(_0x233df9(0xe4))/0x7*(parseInt(_0x233df9(0x107))/0x8)+parseInt(_0x233df9(0xe6))/0x9*(-parseInt(_0x233df9(0xee))/0xa)+parseInt(_0x233df9(0xeb))/0xb*(parseInt(_0x233df9(0xfa))/0xc);if(_0x4f465a===_0x5e667e)break;else _0x2864a8['push'](_0x2864a8['shift']());}catch(_0x8b4d){_0x2864a8['push'](_0x2864a8['shift']());}}}(_0x37ae,0xa3220));function _0x37ae(){const _0x4fffdd=['2144916qdPycD','getRanges','isEmpty','element','change:isEnabled','refresh','model','40xXmPcd','execute','includes','enabledCommandsIds','plugins','3RHOkNE','664Rvqncn','custom','2119518gJFKjJ','values','hasContent','585182tnccJz','showUI','getItems','getSelectedBlocks','requiresContent','ai.assistant.disabledElements','99547ggxVxg','selection','717858PWEhPc','set','document','isEnabled','1808026owHKSM','99sttjDy','change:_hasContext','from','80rlEiGM','isCollapsed','name','config','_commandDefinitions','_hasContext','length','editor','get','102930nMUqih','add','getFirstRange'];_0x37ae=function(){return _0x4fffdd;};return _0x37ae();}import{Command as _0x130055}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2c87a0}from'../aiassistantui.js';function _0x5619(_0x4f39b7,_0x1832a7){const _0x37ae88=_0x37ae();return _0x5619=function(_0x5619a8,_0x47dc3f){_0x5619a8=_0x5619a8-0xde;let _0x1fd5e4=_0x37ae88[_0x5619a8];return _0x1fd5e4;},_0x5619(_0x4f39b7,_0x1832a7);}export class ShowAIAssistantCommand extends _0x130055{[_0x32892d(0xf2)];constructor(_0x24de3d,_0x1347d0){const _0x147971=_0x32892d;super(_0x24de3d),this[_0x147971(0xf2)]=_0x1347d0,this[_0x147971(0xe7)](_0x147971(0x104),[]),this['on'](_0x147971(0xec),(_0x57b7f1,_0x4b438c,_0x4d23ad)=>{const _0x18e7e9=_0x147971;this[_0x18e7e9(0xe9)]&&(this[_0x18e7e9(0x104)]=ns(this[_0x18e7e9(0xf2)],_0x4d23ad));}),this[_0x147971(0xe7)](_0x147971(0xf3),!0x1),this['on'](_0x147971(0xfe),(_0x33a76d,_0x303223,_0x277ce3)=>{const _0x128471=_0x147971;this[_0x128471(0x104)]=_0x277ce3?ns(this[_0x128471(0xf2)],this[_0x128471(0xf3)]):[];});}[_0x32892d(0xff)](){const _0x181741=_0x32892d,_0x2df403=this[_0x181741(0xf5)][_0x181741(0x100)];this[_0x181741(0xf3)]=function(_0x368904){const _0x3ffdde=_0x181741,_0x5586bb=_0x368904[_0x3ffdde(0xe8)][_0x3ffdde(0xe5)];return _0x5586bb[_0x3ffdde(0xef)]?0x0!==[..._0x5586bb[_0x3ffdde(0xe1)]()][_0x3ffdde(0xf4)]&&![..._0x5586bb[_0x3ffdde(0xe1)]()][0x0][_0x3ffdde(0xfc)]:!!_0x368904[_0x3ffdde(0x10b)](_0x5586bb[_0x3ffdde(0xf9)]());}(_0x2df403);const _0x5bde7b=_0x2df403[_0x181741(0xe8)][_0x181741(0xe5)],_0x275cc2=this[_0x181741(0xf5)][_0x181741(0xf1)][_0x181741(0xf6)](_0x181741(0xe3));for(const _0x1da515 of _0x5bde7b[_0x181741(0xfb)]())for(const _0x3fff9a of _0x1da515[_0x181741(0xe0)]())if(_0x3fff9a['is'](_0x181741(0xfd))&&_0x275cc2[_0x181741(0x103)](_0x3fff9a[_0x181741(0xf0)]))return void(this[_0x181741(0xe9)]=!0x1);this[_0x181741(0xe9)]=!0x0;}[_0x32892d(0x102)](_0x44ad97='',_0x5d772b='',_0x2bf265=_0x32892d(0x108)){const _0x1bec2a=_0x32892d;this[_0x1bec2a(0xf5)][_0x1bec2a(0x105)][_0x1bec2a(0xf6)](_0x2c87a0)[_0x1bec2a(0xdf)](_0x44ad97,_0x5d772b,_0x2bf265);}}function ns(_0xf3035a,_0x1fa864){const _0x57524e=_0x32892d,_0x550314=new Set();for(const _0x17db9a of _0xf3035a[_0x57524e(0x10a)]())(_0x1fa864||!0x1===_0x17db9a[_0x57524e(0xe2)])&&_0x550314[_0x57524e(0xf8)](_0x17db9a['id']);return Array[_0x57524e(0xed)](_0x550314);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x369fed,_0x2c12ee,_0x11490f){const t=_0x369fed['t'];switch(_0x2c12ee){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x11490f);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x11490f);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x11490f);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x2c12ee;}}
23
+ export function getTranslation(_0x43381d,_0x3b64af,_0x90c813){const t=_0x43381d['t'];switch(_0x3b64af){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x90c813);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x90c813);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x90c813);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x3b64af;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0xa350b6,_0x421c81){const _0x75fd8f=(0x0,_0x421c81['t'])('Other');return _0xa350b6['length']?'groupId'in _0xa350b6[0x0]?_0xa350b6:[{'groupId':'_ungrouppedCommands','groupLabel':_0x75fd8f,'order':0x1/0x0,'commands':_0xa350b6}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x75fd8f,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x3a4b43,_0x375528){const _0xa8d0ce=(0x0,_0x375528['t'])('Other');return _0x3a4b43['length']?'groupId'in _0x3a4b43[0x0]?_0x3a4b43:[{'groupId':'_ungrouppedCommands','groupLabel':_0xa8d0ce,'order':0x1/0x0,'commands':_0x3a4b43}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0xa8d0ce,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc0212b=_0x34dc;(function(_0x9fc937,_0x5c91c7){const _0x4ea354=_0x34dc,_0x1dbf06=_0x9fc937();while(!![]){try{const _0x13ff00=-parseInt(_0x4ea354(0x13a))/0x1+parseInt(_0x4ea354(0x156))/0x2+-parseInt(_0x4ea354(0x140))/0x3+-parseInt(_0x4ea354(0x14b))/0x4+-parseInt(_0x4ea354(0x14c))/0x5+parseInt(_0x4ea354(0x134))/0x6+parseInt(_0x4ea354(0x15f))/0x7;if(_0x13ff00===_0x5c91c7)break;else _0x1dbf06['push'](_0x1dbf06['shift']());}catch(_0x39f3f5){_0x1dbf06['push'](_0x1dbf06['shift']());}}}(_0x16ac,0x5d7fd));function _0x34dc(_0x1bc12a,_0x3fa28b){const _0x16ac4f=_0x16ac();return _0x34dc=function(_0x34dcd9,_0x45b4d2){_0x34dcd9=_0x34dcd9-0x127;let _0x41f210=_0x16ac4f[_0x34dcd9];return _0x41f210;},_0x34dc(_0x1bc12a,_0x3fa28b);}import{ContextPlugin as _0x230c8e}from'ckeditor5/src/core.js';import{AIConnector as _0x565cf2}from'../aicore/aiconnector.js';import{AIEditing as _0x37add8}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x1a681f,AIBalloonView as _0x523a31}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x28873f}from'@ckeditor/ckeditor5-collaboration-core';import{getEditorFromContext as _0x5eaaf6}from'../aicore/utils/geteditorfromcontext.js';import{ACTIONS as _0x3cf06d}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x1a681f,_0xc0212b(0x128)];export class AIBalloon extends _0x230c8e{static get[_0xc0212b(0x152)](){return[_0x565cf2,_0x37add8];}static get[_0xc0212b(0x158)](){const _0x378b5f=_0xc0212b;return _0x378b5f(0x145);}static get[_0xc0212b(0x13c)](){return!0x0;}static get[_0xc0212b(0x149)](){return!0x0;}[_0xc0212b(0x143)]=!0x1;[_0xc0212b(0x131)];[_0xc0212b(0x12c)](_0x2287e9){const _0x56d690=_0xc0212b,_0x536780=_0x5eaaf6(this[_0x56d690(0x130)]);this[_0x56d690(0x131)]=_0x2287e9;const _0xba28c0=this[_0x56d690(0x130)][_0x56d690(0x15c)][_0x56d690(0x127)](_0x56d690(0x138))||[..._0x3cf06d],_0x3709b0=_0x536780?.[_0x56d690(0x137)][_0x56d690(0x127)](_0x56d690(0x154)),_0x1cb9ae=_0x3709b0?.[_0x56d690(0x160)];this[_0x56d690(0x15d)]=new _0x523a31(_0x536780[_0x56d690(0x147)],_0x2287e9,_0xba28c0,!!_0x1cb9ae),this[_0x56d690(0x15d)][_0x56d690(0x13f)](..._0x1a681f)['to'](this),_0x3709b0&&this[_0x56d690(0x15d)][_0x56d690(0x129)](_0x56d690(0x164))['to'](_0x3709b0,_0x56d690(0x160)),this[_0x56d690(0x12f)](_0x2287e9);}[_0xc0212b(0x141)](){const _0x219758=_0xc0212b;_0x5eaaf6(this[_0x219758(0x130)])[_0x219758(0x13e)][_0x219758(0x127)](_0x219758(0x150))[_0x219758(0x14f)]();}[_0xc0212b(0x157)](_0x433a31,_0x225d42){const _0x3ef2b8=_0xc0212b;this[_0x3ef2b8(0x130)][_0x3ef2b8(0x13e)][_0x3ef2b8(0x127)](_0x37add8)[_0x3ef2b8(0x133)](_0x433a31,_0x3ef2b8(0x142)+_0x225d42,!0x0,!0x0);}[_0xc0212b(0x12f)](_0x4628df){const _0x5e408c=_0xc0212b,_0x37cc9d=_0x5eaaf6(this[_0x5e408c(0x130)]);this[_0x5e408c(0x157)](_0x4628df[_0x5e408c(0x13d)],_0x4628df[_0x5e408c(0x136)]),_0x37cc9d[_0x5e408c(0x13e)][_0x5e408c(0x127)](_0x5e408c(0x150))[_0x5e408c(0x151)]({'title':_0x4628df[_0x5e408c(0x14a)],'icon':_0x4628df[_0x5e408c(0x167)],'hasCloseButton':!0x0,'id':_0x5e408c(0x15b),'position':this[_0x5e408c(0x165)][_0x5e408c(0x129)](this),'className':_0x5e408c(0x13b)+(_0x4628df[_0x5e408c(0x162)]?_0x5e408c(0x135):''),'content':this[_0x5e408c(0x15d)],'onShow':_0x3ee9cb=>{const _0x449b1c=_0x5e408c;_0x4628df[_0x449b1c(0x162)]&&this[_0x449b1c(0x15d)][_0x449b1c(0x148)](_0x3ee9cb),this[_0x449b1c(0x143)]=!0x0;},'onHide':()=>{const _0xe0be6e=_0x5e408c;this[_0xe0be6e(0x130)][_0xe0be6e(0x13e)][_0xe0be6e(0x127)](_0xe0be6e(0x12d))[_0xe0be6e(0x155)](_0xe0be6e(0x142)+_0x4628df[_0xe0be6e(0x136)]),this[_0xe0be6e(0x146)](_0xe0be6e(0x128)),this[_0xe0be6e(0x143)]=!0x1;}});}[_0xc0212b(0x165)](_0x3c3ed8,_0x234248){const _0x251ab4=_0xc0212b,_0x186564=_0x5eaaf6(this[_0x251ab4(0x130)]);if(!_0x234248)return null;const _0x12d955=_0x28873f(_0x186564[_0x251ab4(0x166)],[..._0x186564[_0x251ab4(0x14d)][_0x251ab4(0x144)][_0x251ab4(0x12a)](_0x251ab4(0x12e)),..._0x186564[_0x251ab4(0x14d)][_0x251ab4(0x144)][_0x251ab4(0x12a)](_0x251ab4(0x139))]);if(!_0x12d955||0x0===_0x12d955[_0x251ab4(0x161)])return{'left':Math[_0x251ab4(0x159)](_0x234248[_0x251ab4(0x15a)]+_0x234248[_0x251ab4(0x163)]/0x2-_0x3c3ed8[_0x251ab4(0x163)]/0x2),'top':Math[_0x251ab4(0x159)](_0x234248[_0x251ab4(0x153)]+_0x234248[_0x251ab4(0x12b)]/0x2-_0x3c3ed8[_0x251ab4(0x12b)]/0x2)};const _0x208b7f=Math[_0x251ab4(0x159)](_0x234248[_0x251ab4(0x15a)]+_0x234248[_0x251ab4(0x163)]/0x2-_0x3c3ed8[_0x251ab4(0x163)]/0x2),_0x4a869f=_0x12d955[0x0][_0x251ab4(0x132)](),_0x1c11b8=_0x12d955[_0x12d955[_0x251ab4(0x161)]-0x1][_0x251ab4(0x132)](),_0x234bdb=_0x3c3ed8[_0x251ab4(0x12b)],_0x203c65=this[_0x251ab4(0x131)][_0x251ab4(0x162)]?0x8:0x0;return{'left':_0x208b7f,'top':this[_0x251ab4(0x14e)](_0x4a869f,_0x1c11b8,_0x234bdb,_0x203c65)};}[_0xc0212b(0x14e)](_0x34c2ea,_0x370887,_0x51bc2,_0x593c2c=0x0){const _0x55c24f=_0xc0212b,_0x258bff=_0x370887[_0x55c24f(0x153)]+_0x370887[_0x55c24f(0x12b)],_0x594c87=_0x34c2ea[_0x55c24f(0x153)]-_0x51bc2-_0x593c2c,_0x10f689=window[_0x55c24f(0x15e)]-_0x258bff-0xa,_0xe3f052=_0x34c2ea[_0x55c24f(0x153)]-_0x593c2c-0xa;let _0x34fab6;if(_0x10f689>=_0x51bc2)_0x34fab6=_0x258bff+0xa;else{if(_0xe3f052>=_0x51bc2)_0x34fab6=_0x594c87-0xa;else _0x34fab6=_0x34c2ea[_0x55c24f(0x153)]+(_0x370887[_0x55c24f(0x153)]+_0x370887[_0x55c24f(0x12b)])/0x2-(_0x51bc2+_0x593c2c)/0x2;}return _0x34fab6;}}function _0x16ac(){const _0xd604e0=['plugins','delegate','1539465TVaovE','close','ai-balloon-','isOpen','markers','AIBalloon','fire','locale','setupRotator','isPremiumPlugin','title','806164WUYaOb','2542640vCNuEF','model','_calculateOptimalTopPosition','hide','Dialog','show','requires','top','trackChanges','hideFakeVisualSelection','1250576vyVPSX','_setupVisualSelection','pluginName','round','left','aiBalloon','config','balloonView','innerHeight','3094896kZTdEL','value','length','showRotator','width','isTrackChangesOn','_calculateDialogPosition','editing','icon','get','dialogClosed','bind','getMarkersGroup','height','open','AIEditing','ai-selection','_showDialog','context','_config','getBoundingClientRect','showFakeVisualSelection','3584106szAtdN','\x20ai-balloon-rotator','index','commands','ai.availableReplyActions','ai-balloon-selection','58570krMaDk','ai-balloon','isOfficialPlugin','ranges'];_0x16ac=function(){return _0xd604e0;};return _0x16ac();}
23
+ const _0x216066=_0x52ae;(function(_0xc7dd26,_0x5811f0){const _0x126c94=_0x52ae,_0x5a42d6=_0xc7dd26();while(!![]){try{const _0x53d73f=parseInt(_0x126c94(0xab))/0x1*(-parseInt(_0x126c94(0xaf))/0x2)+-parseInt(_0x126c94(0xa4))/0x3+parseInt(_0x126c94(0x88))/0x4*(-parseInt(_0x126c94(0xa1))/0x5)+-parseInt(_0x126c94(0x75))/0x6+parseInt(_0x126c94(0x99))/0x7+parseInt(_0x126c94(0x76))/0x8+-parseInt(_0x126c94(0x9c))/0x9*(-parseInt(_0x126c94(0x77))/0xa);if(_0x53d73f===_0x5811f0)break;else _0x5a42d6['push'](_0x5a42d6['shift']());}catch(_0x21419b){_0x5a42d6['push'](_0x5a42d6['shift']());}}}(_0x5334,0xdc71e));function _0x52ae(_0x347fa2,_0x23c95c){const _0x533400=_0x5334();return _0x52ae=function(_0x52aeee,_0x1b326c){_0x52aeee=_0x52aeee-0x6d;let _0x869db3=_0x533400[_0x52aeee];return _0x869db3;},_0x52ae(_0x347fa2,_0x23c95c);}import{ContextPlugin as _0x2a7a7c}from'ckeditor5/src/core.js';import{AIConnector as _0x43971e}from'../aicore/aiconnector.js';import{AIEditing as _0x48f0cd}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x348d88,AIBalloonView as _0x5ab6a6}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x5cc990}from'@ckeditor/ckeditor5-collaboration-core';import{getEditorFromContext as _0x55eadc}from'../aicore/utils/geteditorfromcontext.js';import{ACTIONS as _0x3716cf}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';function _0x5334(){const _0x5760f2=['showRotator','context','ranges','1494426MIBebt','9916816XxhiRK','6646570obsMux','_calculateDialogPosition','config','value','requires','height','balloonView','isOfficialPlugin','commands','locale','getBoundingClientRect','ai-balloon-selection','left','plugins','ai-balloon-','bind','hide','2340452EMnhRc','get','ai.availableReplyActions','isOpen','Dialog','ai-balloon','innerHeight','_showDialog','width','AIBalloon','pluginName','\x20ai-balloon-rotator','round','fire','getMarkersGroup','_setupVisualSelection','show','1621347UkuruA','_config','delegate','45ezqtfv','dialogClosed','open','AIEditing','model','5LBBrmp','icon','isPremiumPlugin','4313859uIdwgQ','close','aiBalloon','showFakeVisualSelection','setupRotator','title','_calculateOptimalTopPosition','1619429ikHKOM','hideFakeVisualSelection','editing','top','2oLxhjQ','length','isTrackChangesOn','trackChanges','ai-selection','markers','index'];_0x5334=function(){return _0x5760f2;};return _0x5334();}export const AI_BALLOON_EVENT_NAMES=[..._0x348d88,_0x216066(0x9d)];export class AIBalloon extends _0x2a7a7c{static get[_0x216066(0x7b)](){return[_0x43971e,_0x48f0cd];}static get[_0x216066(0x92)](){const _0x58dddf=_0x216066;return _0x58dddf(0x91);}static get[_0x216066(0x7e)](){return!0x0;}static get[_0x216066(0xa3)](){return!0x0;}[_0x216066(0x8b)]=!0x1;[_0x216066(0x9a)];[_0x216066(0x9e)](_0x547f54){const _0x9c0db8=_0x216066,_0x21a35f=_0x55eadc(this[_0x9c0db8(0x73)]);this[_0x9c0db8(0x9a)]=_0x547f54;const _0x9021ca=this[_0x9c0db8(0x73)][_0x9c0db8(0x79)][_0x9c0db8(0x89)](_0x9c0db8(0x8a))||[..._0x3716cf],_0x556b8d=_0x21a35f?.[_0x9c0db8(0x7f)][_0x9c0db8(0x89)](_0x9c0db8(0x6e)),_0xaa28c7=_0x556b8d?.[_0x9c0db8(0x7a)];this[_0x9c0db8(0x7d)]=new _0x5ab6a6(_0x21a35f[_0x9c0db8(0x80)],_0x547f54,_0x9021ca,!!_0xaa28c7),this[_0x9c0db8(0x7d)][_0x9c0db8(0x9b)](..._0x348d88)['to'](this),_0x556b8d&&this[_0x9c0db8(0x7d)][_0x9c0db8(0x86)](_0x9c0db8(0x6d))['to'](_0x556b8d,_0x9c0db8(0x7a)),this[_0x9c0db8(0x8f)](_0x547f54);}[_0x216066(0xa5)](){const _0xb18dd8=_0x216066;_0x55eadc(this[_0xb18dd8(0x73)])[_0xb18dd8(0x84)][_0xb18dd8(0x89)](_0xb18dd8(0x8c))[_0xb18dd8(0x87)]();}[_0x216066(0x97)](_0x320a29,_0x5294d4){const _0x6266d0=_0x216066;this[_0x6266d0(0x73)][_0x6266d0(0x84)][_0x6266d0(0x89)](_0x48f0cd)[_0x6266d0(0xa7)](_0x320a29,_0x6266d0(0x85)+_0x5294d4,!0x0,!0x0);}[_0x216066(0x8f)](_0x8a8958){const _0x3c0931=_0x216066,_0x3f6839=_0x55eadc(this[_0x3c0931(0x73)]);this[_0x3c0931(0x97)](_0x8a8958[_0x3c0931(0x74)],_0x8a8958[_0x3c0931(0x71)]),_0x3f6839[_0x3c0931(0x84)][_0x3c0931(0x89)](_0x3c0931(0x8c))[_0x3c0931(0x98)]({'title':_0x8a8958[_0x3c0931(0xa9)],'icon':_0x8a8958[_0x3c0931(0xa2)],'hasCloseButton':!0x0,'id':_0x3c0931(0xa6),'position':this[_0x3c0931(0x78)][_0x3c0931(0x86)](this),'className':_0x3c0931(0x8d)+(_0x8a8958[_0x3c0931(0x72)]?_0x3c0931(0x93):''),'content':this[_0x3c0931(0x7d)],'onShow':_0x267abc=>{const _0x2e4bfd=_0x3c0931;_0x8a8958[_0x2e4bfd(0x72)]&&this[_0x2e4bfd(0x7d)][_0x2e4bfd(0xa8)](_0x267abc),this[_0x2e4bfd(0x8b)]=!0x0;},'onHide':()=>{const _0x2df392=_0x3c0931;this[_0x2df392(0x73)][_0x2df392(0x84)][_0x2df392(0x89)](_0x2df392(0x9f))[_0x2df392(0xac)](_0x2df392(0x85)+_0x8a8958[_0x2df392(0x71)]),this[_0x2df392(0x95)](_0x2df392(0x9d)),this[_0x2df392(0x8b)]=!0x1;}});}[_0x216066(0x78)](_0x1ab584,_0x300746){const _0x5c0787=_0x216066,_0x37400e=_0x55eadc(this[_0x5c0787(0x73)]);if(!_0x300746)return null;const _0x50b11a=_0x5cc990(_0x37400e[_0x5c0787(0xad)],[..._0x37400e[_0x5c0787(0xa0)][_0x5c0787(0x70)][_0x5c0787(0x96)](_0x5c0787(0x6f)),..._0x37400e[_0x5c0787(0xa0)][_0x5c0787(0x70)][_0x5c0787(0x96)](_0x5c0787(0x82))]);if(!_0x50b11a||0x0===_0x50b11a[_0x5c0787(0xb0)])return{'left':Math[_0x5c0787(0x94)](_0x300746[_0x5c0787(0x83)]+_0x300746[_0x5c0787(0x90)]/0x2-_0x1ab584[_0x5c0787(0x90)]/0x2),'top':Math[_0x5c0787(0x94)](_0x300746[_0x5c0787(0xae)]+_0x300746[_0x5c0787(0x7c)]/0x2-_0x1ab584[_0x5c0787(0x7c)]/0x2)};const _0x5e8ef3=Math[_0x5c0787(0x94)](_0x300746[_0x5c0787(0x83)]+_0x300746[_0x5c0787(0x90)]/0x2-_0x1ab584[_0x5c0787(0x90)]/0x2),_0x4ee86f=_0x50b11a[0x0][_0x5c0787(0x81)](),_0x419701=_0x50b11a[_0x50b11a[_0x5c0787(0xb0)]-0x1][_0x5c0787(0x81)](),_0x4d526f=_0x1ab584[_0x5c0787(0x7c)],_0x3bc3eb=this[_0x5c0787(0x9a)][_0x5c0787(0x72)]?0x8:0x0;return{'left':_0x5e8ef3,'top':this[_0x5c0787(0xaa)](_0x4ee86f,_0x419701,_0x4d526f,_0x3bc3eb)};}[_0x216066(0xaa)](_0x5d32d4,_0x2b1d60,_0x2ab07a,_0x186cc5=0x0){const _0x4e472a=_0x216066,_0x3403e9=_0x2b1d60[_0x4e472a(0xae)]+_0x2b1d60[_0x4e472a(0x7c)],_0x258c7c=_0x5d32d4[_0x4e472a(0xae)]-_0x2ab07a-_0x186cc5,_0x1db6eb=window[_0x4e472a(0x8e)]-_0x3403e9-0xa,_0x39b11f=_0x5d32d4[_0x4e472a(0xae)]-_0x186cc5-0xa;let _0x54e0a8;if(_0x1db6eb>=_0x2ab07a)_0x54e0a8=_0x3403e9+0xa;else{if(_0x39b11f>=_0x2ab07a)_0x54e0a8=_0x258c7c-0xa;else _0x54e0a8=_0x5d32d4[_0x4e472a(0xae)]+(_0x2b1d60[_0x4e472a(0xae)]+_0x2b1d60[_0x4e472a(0x7c)])/0x2-(_0x2ab07a+_0x186cc5)/0x2;}return _0x54e0a8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x42dc52,_0x365dfe){var _0x36dc0a=_0xad4f,_0x12cfc8=_0x42dc52();while(!![]){try{var _0x45e543=-parseInt(_0x36dc0a(0xdc))/0x1+-parseInt(_0x36dc0a(0xe3))/0x2+parseInt(_0x36dc0a(0xe8))/0x3+parseInt(_0x36dc0a(0xde))/0x4+-parseInt(_0x36dc0a(0xe0))/0x5*(parseInt(_0x36dc0a(0xe5))/0x6)+-parseInt(_0x36dc0a(0xdf))/0x7+parseInt(_0x36dc0a(0xe2))/0x8;if(_0x45e543===_0x365dfe)break;else _0x12cfc8['push'](_0x12cfc8['shift']());}catch(_0x1bac3d){_0x12cfc8['push'](_0x12cfc8['shift']());}}}(_0x3f3f,0xd3ea6));function _0xad4f(_0x5895e0,_0x4d8869){var _0x3f3faf=_0x3f3f();return _0xad4f=function(_0xad4f2f,_0x197b0d){_0xad4f2f=_0xad4f2f-0xdc;var _0x3baa79=_0x3f3faf[_0xad4f2f];return _0x3baa79;},_0xad4f(_0x5895e0,_0x4d8869);}function _0x3f3f(){var _0x11ca33=['AI_DISCLAIMER_TEXT','div','5093223pcLyRJ','283495ifIiDm','setTemplate','738824OQXJha','6307931iwxkER','90hxROny','ck-ai-balloon__disclaimer-content','14874400jWzPVh','250942TJxhSU','ck-ai-balloon__disclaimer','521214dbWZXh'];_0x3f3f=function(){return _0x11ca33;};return _0x3f3f();}import{View as _0x30cf10}from'ckeditor5/src/ui.js';import{getTranslation as _0xc2b257}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x30cf10{constructor(_0x18e420){var _0x8d46d0=_0xad4f;super(_0x18e420),this[_0x8d46d0(0xdd)]({'tag':_0x8d46d0(0xe7),'attributes':{'class':['ck',_0x8d46d0(0xe4)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x8d46d0(0xe1)]},'children':[{'text':_0xc2b257(_0x18e420,_0x8d46d0(0xe6))}]}]});}}
23
+ (function(_0x2a413b,_0x50e5dd){var _0x5cab5e=_0x1b97,_0x4185cf=_0x2a413b();while(!![]){try{var _0x129e06=-parseInt(_0x5cab5e(0x141))/0x1*(-parseInt(_0x5cab5e(0x147))/0x2)+-parseInt(_0x5cab5e(0x143))/0x3+parseInt(_0x5cab5e(0x13b))/0x4*(-parseInt(_0x5cab5e(0x14a))/0x5)+parseInt(_0x5cab5e(0x142))/0x6+-parseInt(_0x5cab5e(0x14b))/0x7*(parseInt(_0x5cab5e(0x13f))/0x8)+-parseInt(_0x5cab5e(0x13c))/0x9*(parseInt(_0x5cab5e(0x140))/0xa)+-parseInt(_0x5cab5e(0x13e))/0xb*(-parseInt(_0x5cab5e(0x146))/0xc);if(_0x129e06===_0x50e5dd)break;else _0x4185cf['push'](_0x4185cf['shift']());}catch(_0x596fe3){_0x4185cf['push'](_0x4185cf['shift']());}}}(_0x5cd4,0xdf561));import{View as _0x21da51}from'ckeditor5/src/ui.js';import{getTranslation as _0x1d7a99}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x21da51{constructor(_0x4b23c6){var _0x477528=_0x1b97;super(_0x4b23c6),this[_0x477528(0x13d)]({'tag':_0x477528(0x144),'attributes':{'class':['ck',_0x477528(0x148)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x477528(0x145)]},'children':[{'text':_0x1d7a99(_0x4b23c6,_0x477528(0x149))}]}]});}}function _0x1b97(_0x1ec097,_0x11e91c){var _0x5cd421=_0x5cd4();return _0x1b97=function(_0x1b97d2,_0x4da14c){_0x1b97d2=_0x1b97d2-0x13b;var _0x20666f=_0x5cd421[_0x1b97d2];return _0x20666f;},_0x1b97(_0x1ec097,_0x11e91c);}function _0x5cd4(){var _0x3252eb=['1757432RnwZKd','180UVRqXo','setTemplate','11hQMlmZ','32tHaVoi','648490rmnMQk','166237WHlPWZ','647802uNJXjZ','3651534iofHlk','div','ck-ai-balloon__disclaimer-content','40866612gKikhy','14tPXUDa','ck-ai-balloon__disclaimer','AI_DISCLAIMER_TEXT','5CiVCQA','1415533YyBjXG'];_0x5cd4=function(){return _0x3252eb;};return _0x5cd4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22710c=_0x5bf9;function _0x5bf9(_0x4cbfaf,_0x57326a){const _0x1c9a51=_0x1c9a();return _0x5bf9=function(_0x5bf924,_0x4bae00){_0x5bf924=_0x5bf924-0xf2;let _0x299802=_0x1c9a51[_0x5bf924];return _0x299802;},_0x5bf9(_0x4cbfaf,_0x57326a);}(function(_0x4687ac,_0x46d3cb){const _0x13d281=_0x5bf9,_0x367cd6=_0x4687ac();while(!![]){try{const _0x5c2c98=parseInt(_0x13d281(0xf7))/0x1+parseInt(_0x13d281(0xfc))/0x2*(-parseInt(_0x13d281(0x107))/0x3)+parseInt(_0x13d281(0x10b))/0x4*(-parseInt(_0x13d281(0xf8))/0x5)+-parseInt(_0x13d281(0xf2))/0x6*(-parseInt(_0x13d281(0x105))/0x7)+parseInt(_0x13d281(0xfe))/0x8*(parseInt(_0x13d281(0xff))/0x9)+parseInt(_0x13d281(0xf9))/0xa*(parseInt(_0x13d281(0x10c))/0xb)+-parseInt(_0x13d281(0xfd))/0xc;if(_0x5c2c98===_0x46d3cb)break;else _0x367cd6['push'](_0x367cd6['shift']());}catch(_0xbcd980){_0x367cd6['push'](_0x367cd6['shift']());}}}(_0x1c9a,0x85076));function _0x1c9a(){const _0x5d150f=['_createButton','141572XHvIcK','19588272mdyDvx','465416ZRWjZH','153enPLZO','ck-ai-balloon__toolbar','locale','isEnabled','AI_BALLOON_APPLY_BUTTON','extendTemplate','161nrehZb','suggestButton','36XXYzYL','items','ck-ai-button-secondary','isLoading','4phJXIl','2101gpttna','set','109722qENNrT','add','ck-ai-button-primary','AI_BALLOON_SUGGEST_BUTTON','applyButton','1024432CPEATT','1031605pmYZcT','41830eRdiKu','bind'];_0x1c9a=function(){return _0x5d150f;};return _0x1c9a();}import{ToolbarView as _0x1ffaba,ButtonView as _0x3c43eb}from'ckeditor5/src/ui.js';import{getTranslation as _0x245b7b}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x1ffaba{constructor(_0x10b56f,_0xa241c0=!0x0,_0x2bcea9=!0x0){const _0x3f34ee=_0x5bf9;super(_0x10b56f),this[_0x3f34ee(0x10d)](_0x3f34ee(0x10a),!0x1),_0xa241c0&&(this[_0x3f34ee(0xf6)]=this[_0x3f34ee(0xfb)](_0x245b7b(_0x10b56f,_0x3f34ee(0x103)),_0x3f34ee(0xf4)),this[_0x3f34ee(0xf6)][_0x3f34ee(0xfa)](_0x3f34ee(0x102))['to'](this,_0x3f34ee(0x10a),_0xfd77d4=>!_0xfd77d4),this[_0x3f34ee(0x108)][_0x3f34ee(0xf3)](this[_0x3f34ee(0xf6)])),_0x2bcea9&&(this[_0x3f34ee(0x106)]=this[_0x3f34ee(0xfb)](_0x245b7b(_0x10b56f,_0x3f34ee(0xf5)),_0xa241c0?_0x3f34ee(0x109):_0x3f34ee(0xf4)),this[_0x3f34ee(0x106)][_0x3f34ee(0xfa)](_0x3f34ee(0x102))['to'](this,_0x3f34ee(0x10a),_0x34d361=>!_0x34d361),this[_0x3f34ee(0x108)][_0x3f34ee(0xf3)](this[_0x3f34ee(0x106)])),this[_0x3f34ee(0x104)]({'attributes':{'class':[_0x3f34ee(0x100)]}});}[_0x22710c(0xfb)](_0x320603,_0x14647){const _0x39d1c2=_0x22710c,_0xb2bd7f=new _0x3c43eb(this[_0x39d1c2(0x101)]);return _0xb2bd7f[_0x39d1c2(0x10d)]({'label':_0x320603,'class':_0x14647||'','isVisible':!0x0,'withText':!0x0}),_0xb2bd7f;}}
23
+ const _0x553efa=_0x16be;(function(_0x14007c,_0x1aeaa1){const _0x53b805=_0x16be,_0x234a17=_0x14007c();while(!![]){try{const _0x4cef1e=parseInt(_0x53b805(0x153))/0x1+parseInt(_0x53b805(0x157))/0x2+parseInt(_0x53b805(0x151))/0x3*(parseInt(_0x53b805(0x149))/0x4)+-parseInt(_0x53b805(0x142))/0x5+-parseInt(_0x53b805(0x14b))/0x6+parseInt(_0x53b805(0x140))/0x7*(parseInt(_0x53b805(0x145))/0x8)+-parseInt(_0x53b805(0x146))/0x9*(parseInt(_0x53b805(0x14e))/0xa);if(_0x4cef1e===_0x1aeaa1)break;else _0x234a17['push'](_0x234a17['shift']());}catch(_0x572f28){_0x234a17['push'](_0x234a17['shift']());}}}(_0x21bd,0xde95a));import{ToolbarView as _0x183697,ButtonView as _0x986cfe}from'ckeditor5/src/ui.js';function _0x16be(_0xa6a1d3,_0x4aa9c7){const _0x21bdb6=_0x21bd();return _0x16be=function(_0x16be0e,_0x2cf615){_0x16be0e=_0x16be0e-0x13f;let _0x70b95d=_0x21bdb6[_0x16be0e];return _0x70b95d;},_0x16be(_0xa6a1d3,_0x4aa9c7);}import{getTranslation as _0xa2b672}from'../../aicore/utils/common-translations.js';function _0x21bd(){const _0x1774d2=['ck-ai-button-secondary','8UoNGBT','18637173drDCjl','add','ck-ai-button-primary','4gALvvV','_createButton','1169712xuEGwt','extendTemplate','bind','10CudUyI','AI_BALLOON_SUGGEST_BUTTON','applyButton','2821950ceJYXE','ck-ai-balloon__toolbar','973535GdsIdX','set','suggestButton','isEnabled','2698006flHezk','isLoading','items','5850656BoEDxP','locale','4607705NBpbFp','AI_BALLOON_APPLY_BUTTON'];_0x21bd=function(){return _0x1774d2;};return _0x21bd();}export class AIBalloonToolbarView extends _0x183697{constructor(_0x2b1866,_0x36e7f3=!0x0,_0x21bb64=!0x0){const _0x5ee310=_0x16be;super(_0x2b1866),this[_0x5ee310(0x154)](_0x5ee310(0x158),!0x1),_0x36e7f3&&(this[_0x5ee310(0x150)]=this[_0x5ee310(0x14a)](_0xa2b672(_0x2b1866,_0x5ee310(0x143)),_0x5ee310(0x148)),this[_0x5ee310(0x150)][_0x5ee310(0x14d)](_0x5ee310(0x156))['to'](this,_0x5ee310(0x158),_0xde232f=>!_0xde232f),this[_0x5ee310(0x13f)][_0x5ee310(0x147)](this[_0x5ee310(0x150)])),_0x21bb64&&(this[_0x5ee310(0x155)]=this[_0x5ee310(0x14a)](_0xa2b672(_0x2b1866,_0x5ee310(0x14f)),_0x36e7f3?_0x5ee310(0x144):_0x5ee310(0x148)),this[_0x5ee310(0x155)][_0x5ee310(0x14d)](_0x5ee310(0x156))['to'](this,_0x5ee310(0x158),_0x4fdf87=>!_0x4fdf87),this[_0x5ee310(0x13f)][_0x5ee310(0x147)](this[_0x5ee310(0x155)])),this[_0x5ee310(0x14c)]({'attributes':{'class':[_0x5ee310(0x152)]}});}[_0x553efa(0x14a)](_0x4c1f01,_0x3bf125){const _0x21128a=_0x553efa,_0x69d2c6=new _0x986cfe(this[_0x21128a(0x141)]);return _0x69d2c6[_0x21128a(0x154)]({'label':_0x4c1f01,'class':_0x3bf125||'','isVisible':!0x0,'withText':!0x0}),_0x69d2c6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x59d0(){const _0x127ba5=['setLoading','execute','_dialogContent','disclaimerView','tab','232mQODqc','focusCycler','set','22PNbjtF','shift\x20+\x20tab','element','setupRotator','isTrackChangesOn','toolbar','focusFirst','AI_BALLOON_PREVIOUS_TOOLTIP','remove','applySuggestion','fire','addMany','_addToolbar','AI_BALLOON_NEXT_TOOLTIP','bind','ai-balloon-content','insertSuggestion','headerView','add','focusTracker','listenTo','showPrevious','_mainView','focusLast','44idQQJX','suggestButton','keystrokes','_addContentView','applyButton','showApplyButton','clearLoading','view','render','showNext','_focusables','showSuggestButton','clear','1449222gLRWpk','createCollection','locale','6odjzUU','setTemplate','_createPreviousButtonView','9379600mSQBCg','_addDisclaimerView','div','change:isTrackChangesOn','children','isLoading','mainView','_dropdownConfig','306909srDfek','41420sjPYPy','5890800eWaKWv','4237618EmGHSe','_createNextButtonView','4995768qinczt','includes','focus'];_0x59d0=function(){return _0x127ba5;};return _0x59d0();}const _0xab1663=_0x57bb;(function(_0x1fc718,_0x217edd){const _0x170c84=_0x57bb,_0x30d53d=_0x1fc718();while(!![]){try{const _0x230553=parseInt(_0x170c84(0x1d0))/0x1*(parseInt(_0x170c84(0x1f7))/0x2)+-parseInt(_0x170c84(0x204))/0x3+-parseInt(_0x170c84(0x1d4))/0x4+parseInt(_0x170c84(0x1d1))/0x5*(parseInt(_0x170c84(0x207))/0x6)+-parseInt(_0x170c84(0x1d2))/0x7+parseInt(_0x170c84(0x1dc))/0x8*(-parseInt(_0x170c84(0x1cf))/0x9)+parseInt(_0x170c84(0x1c7))/0xa*(parseInt(_0x170c84(0x1df))/0xb);if(_0x230553===_0x217edd)break;else _0x30d53d['push'](_0x30d53d['shift']());}catch(_0x5348db){_0x30d53d['push'](_0x30d53d['shift']());}}}(_0x59d0,0x9c019));function _0x57bb(_0x3ab757,_0x5ad140){const _0x59d03b=_0x59d0();return _0x57bb=function(_0x57bb92,_0x5ae4ec){_0x57bb92=_0x57bb92-0x1c6;let _0x41b72d=_0x59d03b[_0x57bb92];return _0x41b72d;},_0x57bb(_0x3ab757,_0x5ad140);}import{ButtonView as _0x4c5191,View as _0x3a5707,ViewCollection as _0x570a14,FocusCycler as _0x5f3d96}from'ckeditor5/src/ui.js';import{FocusTracker as _0x9b67db,KeystrokeHandler as _0x56d21f}from'ckeditor5/src/utils.js';import{IconNextArrow as _0xae5e06,IconPreviousArrow as _0x213c66}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x1a5abb}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x36ef92}from'./aiballoondisclaimerview.js';import{getTranslation as _0x403701}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0xab1663(0x1e8),_0xab1663(0x1ef),_0xab1663(0x200),_0xab1663(0x1f4)];export class AIBalloonView extends _0x3a5707{[_0xab1663(0x1f2)];[_0xab1663(0x1f9)];[_0xab1663(0x1dd)];[_0xab1663(0x1ce)];[_0xab1663(0x201)];constructor(_0x8ea020,_0xaaacfd,_0x393088,_0x523d45){const _0x18c164=_0xab1663;super(_0x8ea020),this[_0x18c164(0x1ce)]=_0x393088,this[_0x18c164(0x1de)](_0x18c164(0x1cc),!0x1),this[_0x18c164(0x1de)](_0x18c164(0x1e3),_0x523d45),this[_0x18c164(0x1f2)]=new _0x9b67db(),this[_0x18c164(0x1f9)]=new _0x56d21f(),this[_0x18c164(0x201)]=this[_0x18c164(0x205)](),this[_0x18c164(0x1dd)]=new _0x5f3d96({'focusables':this[_0x18c164(0x201)],'focusTracker':this[_0x18c164(0x1f2)],'keystrokeHandler':this[_0x18c164(0x1f9)],'actions':{'focusPrevious':_0x18c164(0x1e0),'focusNext':_0x18c164(0x1db)}}),this[_0x18c164(0x1d9)]=new _0x570a14(),this[_0x18c164(0x1fa)](_0xaaacfd[_0x18c164(0x1cd)]),this[_0x18c164(0x1c8)](),this[_0x18c164(0x1eb)](_0xaaacfd[_0x18c164(0x1fc)],_0xaaacfd[_0x18c164(0x202)]),this[_0x18c164(0x1e4)][_0x18c164(0x1ed)](_0x18c164(0x1cc))['to'](this),this[_0x18c164(0x201)][_0x18c164(0x203)](),this[_0x18c164(0x201)][_0x18c164(0x1ea)]([this[_0x18c164(0x1e4)]]),this[_0x18c164(0x208)]({'tag':_0x18c164(0x1c9),'attributes':{'class':_0x18c164(0x1ee)},'children':this[_0x18c164(0x1d9)]}),this[_0x18c164(0x1f3)](this,_0x18c164(0x1ca),()=>{const _0x2fd229=_0x18c164;this[_0x2fd229(0x1d9)][_0x2fd229(0x1e7)](this[_0x2fd229(0x1e4)]),this[_0x2fd229(0x1eb)](_0xaaacfd[_0x2fd229(0x1fc)],_0xaaacfd[_0x2fd229(0x202)]);});}[_0xab1663(0x1ff)](){const _0x12303d=_0xab1663;super[_0x12303d(0x1ff)]();for(const _0x4d5353 of this[_0x12303d(0x201)])this[_0x12303d(0x1f2)][_0x12303d(0x1f1)](_0x4d5353[_0x12303d(0x1e1)]);this[_0x12303d(0x1f9)][_0x12303d(0x1f3)](this[_0x12303d(0x1e1)]);}[_0xab1663(0x1d6)](_0x2731b6){const _0x587295=_0xab1663;-0x1===_0x2731b6?this[_0x587295(0x1dd)][_0x587295(0x1f6)]():this[_0x587295(0x1dd)][_0x587295(0x1e5)]();}[_0xab1663(0x1d7)](){const _0x38de04=_0xab1663;this[_0x38de04(0x1cc)]=!0x0;}[_0xab1663(0x1fd)](){const _0x45df98=_0xab1663;this[_0x45df98(0x1cc)]=!0x1;}[_0xab1663(0x1e2)](_0x481c3f){const _0x108c62=_0xab1663,_0x4c365c=this[_0x108c62(0x1d3)](),_0x8592d5=this[_0x108c62(0x1c6)]();_0x481c3f[_0x108c62(0x1fe)][_0x108c62(0x1f0)][_0x108c62(0x1cb)][_0x108c62(0x1f1)](_0x4c365c,0x2),_0x481c3f[_0x108c62(0x1fe)][_0x108c62(0x1f0)][_0x108c62(0x1cb)][_0x108c62(0x1f1)](_0x8592d5,0x0),this[_0x108c62(0x201)][_0x108c62(0x1ea)]([_0x4c365c,_0x8592d5]),this[_0x108c62(0x1f2)][_0x108c62(0x1f1)](_0x4c365c[_0x108c62(0x1e1)]),this[_0x108c62(0x1f2)][_0x108c62(0x1f1)](_0x8592d5[_0x108c62(0x1e1)]);}[_0xab1663(0x1fa)](_0x118c07){const _0x10e8b2=_0xab1663;this[_0x10e8b2(0x1f5)]=_0x118c07,this[_0x10e8b2(0x1d9)][_0x10e8b2(0x1f1)](this[_0x10e8b2(0x1f5)]);}[_0xab1663(0x1c8)](){const _0x14fba1=_0xab1663;this[_0x14fba1(0x1da)]=new _0x36ef92(this[_0x14fba1(0x206)]),this[_0x14fba1(0x1d9)][_0x14fba1(0x1f1)](this[_0x14fba1(0x1da)]);}[_0xab1663(0x1eb)](_0x118c40=!0x0,_0x39e485=!0x0){const _0xf56941=_0xab1663;_0x118c40=_0x118c40&&!this[_0xf56941(0x1e3)]&&this[_0xf56941(0x1ce)][_0xf56941(0x1d5)](_0xf56941(0x1e8)),_0x39e485=_0x39e485&&this[_0xf56941(0x1ce)][_0xf56941(0x1d5)](_0xf56941(0x1ef)),this[_0xf56941(0x1e4)]=new _0x1a5abb(this[_0xf56941(0x206)],_0x118c40,_0x39e485),this[_0xf56941(0x1e4)][_0xf56941(0x1fb)]?.['on'](_0xf56941(0x1d8),()=>{const _0x4e3f21=_0xf56941;this[_0x4e3f21(0x1e9)](_0x4e3f21(0x1e8));}),this[_0xf56941(0x1e4)][_0xf56941(0x1f8)]?.['on'](_0xf56941(0x1d8),()=>{const _0x1e4da0=_0xf56941;this[_0x1e4da0(0x1e9)](_0x1e4da0(0x1ef));}),this[_0xf56941(0x1d9)][_0xf56941(0x1f1)](this[_0xf56941(0x1e4)]);}[_0xab1663(0x1d3)](){const _0x5c8c4a=_0xab1663,_0xa00dfd=new _0x4c5191(this[_0x5c8c4a(0x206)]);return _0xa00dfd[_0x5c8c4a(0x1de)]({'icon':_0xae5e06,'tooltip':_0x403701(this[_0x5c8c4a(0x206)],_0x5c8c4a(0x1ec))}),_0xa00dfd['on'](_0x5c8c4a(0x1d8),()=>{const _0xd1c2e7=_0x5c8c4a;this[_0xd1c2e7(0x1e9)](_0xd1c2e7(0x200));}),_0xa00dfd;}[_0xab1663(0x1c6)](){const _0xf37a16=_0xab1663,_0x2daa2d=new _0x4c5191(this[_0xf37a16(0x206)]);return _0x2daa2d[_0xf37a16(0x1de)]({'icon':_0x213c66,'tooltip':_0x403701(this[_0xf37a16(0x206)],_0xf37a16(0x1e6))}),_0x2daa2d['on'](_0xf37a16(0x1d8),()=>{const _0x2bcedf=_0xf37a16;this[_0x2bcedf(0x1e9)](_0x2bcedf(0x1f4));}),_0x2daa2d;}}
23
+ const _0x526fc8=_0x5787;(function(_0x28d4ab,_0x15d211){const _0x27b9e9=_0x5787,_0x5241ac=_0x28d4ab();while(!![]){try{const _0x50d3a5=parseInt(_0x27b9e9(0x9e))/0x1*(-parseInt(_0x27b9e9(0xae))/0x2)+-parseInt(_0x27b9e9(0x9d))/0x3+parseInt(_0x27b9e9(0xa1))/0x4+-parseInt(_0x27b9e9(0xa5))/0x5*(parseInt(_0x27b9e9(0xa6))/0x6)+-parseInt(_0x27b9e9(0x84))/0x7+parseInt(_0x27b9e9(0x98))/0x8*(parseInt(_0x27b9e9(0x92))/0x9)+parseInt(_0x27b9e9(0xb4))/0xa*(parseInt(_0x27b9e9(0x90))/0xb);if(_0x50d3a5===_0x15d211)break;else _0x5241ac['push'](_0x5241ac['shift']());}catch(_0x267b6f){_0x5241ac['push'](_0x5241ac['shift']());}}}(_0xf082,0xe3409));import{ButtonView as _0x325dcc,View as _0x83eb64,ViewCollection as _0x30634c,FocusCycler as _0x35d088}from'ckeditor5/src/ui.js';function _0xf082(){const _0x52318f=['6vVckDx','applyButton','keystrokes','setTemplate','showSuggestButton','change:isTrackChangesOn','ai-balloon-content','set','795770EBStCU','element','toolbar','_createPreviousButtonView','clear','focusTracker','2740IqGfnd','createCollection','insertSuggestion','_mainView','tab','applySuggestion','focusFirst','showPrevious','_addDisclaimerView','add','fire','_addToolbar','disclaimerView','_dropdownConfig','isTrackChangesOn','_focusables','focus','children','_createNextButtonView','2801064yhdYbM','clearLoading','setupRotator','view','headerView','showNext','focusCycler','_dialogContent','showApplyButton','includes','div','execute','101772EeEnzM','focusLast','117jfJift','remove','listenTo','AI_BALLOON_PREVIOUS_TOOLTIP','shift\x20+\x20tab','bind','920816hTvyfV','suggestButton','AI_BALLOON_NEXT_TOOLTIP','isLoading','mainView','4427259TIeAWl','4slHomA','render','locale','4210300pDkAEA','addMany','_addContentView','setLoading','3428395ubxVIl'];_0xf082=function(){return _0x52318f;};return _0xf082();}import{FocusTracker as _0x3bf4ed,KeystrokeHandler as _0x281ecc}from'ckeditor5/src/utils.js';function _0x5787(_0x47eb4a,_0x1546e1){const _0xf08288=_0xf082();return _0x5787=function(_0x578724,_0x48f62d){_0x578724=_0x578724-0x7f;let _0x572dff=_0xf08288[_0x578724];return _0x572dff;},_0x5787(_0x47eb4a,_0x1546e1);}import{IconNextArrow as _0x2908d6,IconPreviousArrow as _0x5c1ee7}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x1f057c}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x434b0b}from'./aiballoondisclaimerview.js';import{getTranslation as _0x1cde32}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x526fc8(0xb9),_0x526fc8(0xb6),_0x526fc8(0x89),_0x526fc8(0xbb)];export class AIBalloonView extends _0x83eb64{[_0x526fc8(0xb3)];[_0x526fc8(0xa8)];[_0x526fc8(0x8a)];[_0x526fc8(0xc1)];[_0x526fc8(0x80)];constructor(_0x22f18b,_0x5d718f,_0x2a25a9,_0x4c0a82){const _0x2e13fe=_0x526fc8;super(_0x22f18b),this[_0x2e13fe(0xc1)]=_0x2a25a9,this[_0x2e13fe(0xad)](_0x2e13fe(0x9b),!0x1),this[_0x2e13fe(0xad)](_0x2e13fe(0x7f),_0x4c0a82),this[_0x2e13fe(0xb3)]=new _0x3bf4ed(),this[_0x2e13fe(0xa8)]=new _0x281ecc(),this[_0x2e13fe(0x80)]=this[_0x2e13fe(0xb5)](),this[_0x2e13fe(0x8a)]=new _0x35d088({'focusables':this[_0x2e13fe(0x80)],'focusTracker':this[_0x2e13fe(0xb3)],'keystrokeHandler':this[_0x2e13fe(0xa8)],'actions':{'focusPrevious':_0x2e13fe(0x96),'focusNext':_0x2e13fe(0xb8)}}),this[_0x2e13fe(0x8b)]=new _0x30634c(),this[_0x2e13fe(0xa3)](_0x5d718f[_0x2e13fe(0x9c)]),this[_0x2e13fe(0xbc)](),this[_0x2e13fe(0xbf)](_0x5d718f[_0x2e13fe(0x8c)],_0x5d718f[_0x2e13fe(0xaa)]),this[_0x2e13fe(0xb0)][_0x2e13fe(0x97)](_0x2e13fe(0x9b))['to'](this),this[_0x2e13fe(0x80)][_0x2e13fe(0xb2)](),this[_0x2e13fe(0x80)][_0x2e13fe(0xa2)]([this[_0x2e13fe(0xb0)]]),this[_0x2e13fe(0xa9)]({'tag':_0x2e13fe(0x8e),'attributes':{'class':_0x2e13fe(0xac)},'children':this[_0x2e13fe(0x8b)]}),this[_0x2e13fe(0x94)](this,_0x2e13fe(0xab),()=>{const _0x3c32ae=_0x2e13fe;this[_0x3c32ae(0x8b)][_0x3c32ae(0x93)](this[_0x3c32ae(0xb0)]),this[_0x3c32ae(0xbf)](_0x5d718f[_0x3c32ae(0x8c)],_0x5d718f[_0x3c32ae(0xaa)]);});}[_0x526fc8(0x9f)](){const _0x4caea7=_0x526fc8;super[_0x4caea7(0x9f)]();for(const _0x5d8381 of this[_0x4caea7(0x80)])this[_0x4caea7(0xb3)][_0x4caea7(0xbd)](_0x5d8381[_0x4caea7(0xaf)]);this[_0x4caea7(0xa8)][_0x4caea7(0x94)](this[_0x4caea7(0xaf)]);}[_0x526fc8(0x81)](_0x254c50){const _0x47fde1=_0x526fc8;-0x1===_0x254c50?this[_0x47fde1(0x8a)][_0x47fde1(0x91)]():this[_0x47fde1(0x8a)][_0x47fde1(0xba)]();}[_0x526fc8(0xa4)](){const _0x427bc0=_0x526fc8;this[_0x427bc0(0x9b)]=!0x0;}[_0x526fc8(0x85)](){const _0x57c55c=_0x526fc8;this[_0x57c55c(0x9b)]=!0x1;}[_0x526fc8(0x86)](_0x40573b){const _0x230ee6=_0x526fc8,_0x5375c4=this[_0x230ee6(0x83)](),_0x2aedb3=this[_0x230ee6(0xb1)]();_0x40573b[_0x230ee6(0x87)][_0x230ee6(0x88)][_0x230ee6(0x82)][_0x230ee6(0xbd)](_0x5375c4,0x2),_0x40573b[_0x230ee6(0x87)][_0x230ee6(0x88)][_0x230ee6(0x82)][_0x230ee6(0xbd)](_0x2aedb3,0x0),this[_0x230ee6(0x80)][_0x230ee6(0xa2)]([_0x5375c4,_0x2aedb3]),this[_0x230ee6(0xb3)][_0x230ee6(0xbd)](_0x5375c4[_0x230ee6(0xaf)]),this[_0x230ee6(0xb3)][_0x230ee6(0xbd)](_0x2aedb3[_0x230ee6(0xaf)]);}[_0x526fc8(0xa3)](_0x39a6cf){const _0x12549f=_0x526fc8;this[_0x12549f(0xb7)]=_0x39a6cf,this[_0x12549f(0x8b)][_0x12549f(0xbd)](this[_0x12549f(0xb7)]);}[_0x526fc8(0xbc)](){const _0x7d149b=_0x526fc8;this[_0x7d149b(0xc0)]=new _0x434b0b(this[_0x7d149b(0xa0)]),this[_0x7d149b(0x8b)][_0x7d149b(0xbd)](this[_0x7d149b(0xc0)]);}[_0x526fc8(0xbf)](_0x350836=!0x0,_0x58cdb5=!0x0){const _0x1025eb=_0x526fc8;_0x350836=_0x350836&&!this[_0x1025eb(0x7f)]&&this[_0x1025eb(0xc1)][_0x1025eb(0x8d)](_0x1025eb(0xb9)),_0x58cdb5=_0x58cdb5&&this[_0x1025eb(0xc1)][_0x1025eb(0x8d)](_0x1025eb(0xb6)),this[_0x1025eb(0xb0)]=new _0x1f057c(this[_0x1025eb(0xa0)],_0x350836,_0x58cdb5),this[_0x1025eb(0xb0)][_0x1025eb(0xa7)]?.['on'](_0x1025eb(0x8f),()=>{const _0x50d688=_0x1025eb;this[_0x50d688(0xbe)](_0x50d688(0xb9));}),this[_0x1025eb(0xb0)][_0x1025eb(0x99)]?.['on'](_0x1025eb(0x8f),()=>{const _0x4469f0=_0x1025eb;this[_0x4469f0(0xbe)](_0x4469f0(0xb6));}),this[_0x1025eb(0x8b)][_0x1025eb(0xbd)](this[_0x1025eb(0xb0)]);}[_0x526fc8(0x83)](){const _0x38f982=_0x526fc8,_0xa89a52=new _0x325dcc(this[_0x38f982(0xa0)]);return _0xa89a52[_0x38f982(0xad)]({'icon':_0x2908d6,'tooltip':_0x1cde32(this[_0x38f982(0xa0)],_0x38f982(0x9a))}),_0xa89a52['on'](_0x38f982(0x8f),()=>{const _0x19669f=_0x38f982;this[_0x19669f(0xbe)](_0x19669f(0x89));}),_0xa89a52;}[_0x526fc8(0xb1)](){const _0x46246b=_0x526fc8,_0x4528c2=new _0x325dcc(this[_0x46246b(0xa0)]);return _0x4528c2[_0x46246b(0xad)]({'icon':_0x5c1ee7,'tooltip':_0x1cde32(this[_0x46246b(0xa0)],_0x46246b(0x95))}),_0x4528c2['on'](_0x46246b(0x8f),()=>{const _0x46ec15=_0x46246b;this[_0x46ec15(0xbe)](_0x46ec15(0xbb));}),_0x4528c2;}}
@@ -14,6 +14,14 @@ import { type AIChatContextConfig } from './model/aichatcontext.js';
14
14
  import { type AIChatModelsConfig } from './model/aichatmodels.js';
15
15
  import { AIChatHistory } from '../aichathistory/aichathistory.js';
16
16
  import { type AIQuickActionRequestData } from '../aiquickactions/aiquickactions.js';
17
+ /**
18
+ * The AI Chat feature. It brings a conversational AI that can be used to aid content creation and editing. It introduces a dynamic chat
19
+ * interface designed to facilitate rich, multi-turn interactions between users and an AI Assistant.
20
+ *
21
+ * You can configure the feature by setting the {@link module:ai/aichat/aichat~AIChatConfig} property.
22
+ *
23
+ * Learn more about AI features in CKEditor in the {@glink features/ai/ckeditor-ai-overview AI Overview} documentation.
24
+ */
17
25
  export declare class AIChat extends ContextPlugin {
18
26
  /**
19
27
  * @inheritDoc
@@ -42,7 +50,7 @@ export declare class AIChat extends ContextPlugin {
42
50
  focusPromptInput(): void;
43
51
  }
44
52
  /**
45
- * The configuration of the AI Chat feature.
53
+ * The configuration of the {@link module:ai/aichat/aichat~AIChat AI Chat feature}.
46
54
  *
47
55
  * The properties defined in this config are set in the `config.ai.chat` namespace.
48
56
  *
@@ -50,9 +58,9 @@ export declare class AIChat extends ContextPlugin {
50
58
  * ClassicEditor
51
59
  * .create( editorElement, {
52
60
  * ai: {
53
- * chat: {
54
- * // AI Chat configuration.
55
- * }
61
+ * chat: {
62
+ * // AI Chat configuration.
63
+ * }
56
64
  * }
57
65
  * } )
58
66
  * .then( ... )
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x320d(_0x46dcfd,_0x57dacb){const _0xf7ee05=_0xf7ee();return _0x320d=function(_0x320d32,_0x4a6084){_0x320d32=_0x320d32-0x1d6;let _0x4de95d=_0xf7ee05[_0x320d32];return _0x4de95d;},_0x320d(_0x46dcfd,_0x57dacb);}const _0x31d584=_0x320d;(function(_0xee9d2b,_0x13b799){const _0x36fb39=_0x320d,_0x43a2b5=_0xee9d2b();while(!![]){try{const _0x48e146=parseInt(_0x36fb39(0x1ef))/0x1*(-parseInt(_0x36fb39(0x1de))/0x2)+-parseInt(_0x36fb39(0x1d6))/0x3*(-parseInt(_0x36fb39(0x1e1))/0x4)+-parseInt(_0x36fb39(0x1e0))/0x5*(parseInt(_0x36fb39(0x1f1))/0x6)+-parseInt(_0x36fb39(0x1da))/0x7+parseInt(_0x36fb39(0x1e7))/0x8*(-parseInt(_0x36fb39(0x1ee))/0x9)+parseInt(_0x36fb39(0x1d9))/0xa+parseInt(_0x36fb39(0x1e8))/0xb*(parseInt(_0x36fb39(0x1ed))/0xc);if(_0x48e146===_0x13b799)break;else _0x43a2b5['push'](_0x43a2b5['shift']());}catch(_0x4980a2){_0x43a2b5['push'](_0x43a2b5['shift']());}}}(_0xf7ee,0x4fa6d));import{ContextPlugin as _0x78fbbb}from'ckeditor5/src/core.js';import{AIChatController as _0x48455a}from'./aichatcontroller.js';function _0xf7ee(){const _0x200c66=['2umTKQI','pluginName','1486775KaRCzq','13504GQWgct','requires','sendMessage','get','context','AIChat','8eqJbfX','11qWTBvY','startConversation','focusPromptInput','isOfficialPlugin','ai.chat.models','7776852xVFntK','2861541nBQfLX','52363wKyIjr','removeSelectionFromChatContext','6eUubSa','addSelectionToChatContext','228XExtcd','ai.chat.context','isPremiumPlugin','4238690GqIvGg','2342172cvrCea','define','plugins','config'];_0xf7ee=function(){return _0x200c66;};return _0xf7ee();}import{AIEditing as _0x27929c}from'../aicore/aiediting.js';import{AIChatUI as _0x4a7709}from'./aichatui.js';import{AIChatHistory as _0x22d5e3}from'../aichathistory/aichathistory.js';export class AIChat extends _0x78fbbb{static get[_0x31d584(0x1e2)](){return[_0x48455a,_0x27929c,_0x4a7709,_0x22d5e3];}static get[_0x31d584(0x1df)](){const _0x3409ff=_0x31d584;return _0x3409ff(0x1e6);}static get[_0x31d584(0x1eb)](){return!0x0;}static get[_0x31d584(0x1d8)](){return!0x0;}constructor(_0x311a34){const _0x527ef0=_0x31d584;super(_0x311a34);const _0x32015e=_0x311a34[_0x527ef0(0x1dd)];_0x32015e[_0x527ef0(0x1db)](_0x527ef0(0x1d7),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),_0x32015e[_0x527ef0(0x1db)](_0x527ef0(0x1ec),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x31d584(0x1f2)](){const _0x210e09=_0x31d584;await this[_0x210e09(0x1e5)][_0x210e09(0x1dc)][_0x210e09(0x1e4)](_0x48455a)[_0x210e09(0x1f2)]();}async[_0x31d584(0x1e9)](){const _0x217bd1=_0x31d584;await this[_0x217bd1(0x1e5)][_0x217bd1(0x1dc)][_0x217bd1(0x1e4)](_0x48455a)[_0x217bd1(0x1e9)]();}async[_0x31d584(0x1e3)]({message:_0x425045,quickActionData:_0x4c02ca}){const _0x586132=_0x31d584;await this[_0x586132(0x1e5)][_0x586132(0x1dc)][_0x586132(0x1e4)](_0x48455a)[_0x586132(0x1e3)]({'message':_0x425045,'quickActionData':_0x4c02ca});}[_0x31d584(0x1f0)](){const _0x13ae0b=_0x31d584;this[_0x13ae0b(0x1e5)][_0x13ae0b(0x1dc)][_0x13ae0b(0x1e4)](_0x48455a)[_0x13ae0b(0x1f0)]();}[_0x31d584(0x1ea)](){const _0x132e6f=_0x31d584;this[_0x132e6f(0x1e5)][_0x132e6f(0x1dc)][_0x132e6f(0x1e4)](_0x48455a)[_0x132e6f(0x1ea)]();}}
23
+ const _0x202ae8=_0x3756;(function(_0x539d1b,_0x259473){const _0x4a40b7=_0x3756,_0x11bff2=_0x539d1b();while(!![]){try{const _0x469b0b=-parseInt(_0x4a40b7(0xb9))/0x1+-parseInt(_0x4a40b7(0xba))/0x2*(parseInt(_0x4a40b7(0xbf))/0x3)+-parseInt(_0x4a40b7(0xac))/0x4+-parseInt(_0x4a40b7(0xa8))/0x5*(-parseInt(_0x4a40b7(0xad))/0x6)+parseInt(_0x4a40b7(0xaf))/0x7*(-parseInt(_0x4a40b7(0xbe))/0x8)+-parseInt(_0x4a40b7(0xbc))/0x9*(parseInt(_0x4a40b7(0xb4))/0xa)+parseInt(_0x4a40b7(0xab))/0xb;if(_0x469b0b===_0x259473)break;else _0x11bff2['push'](_0x11bff2['shift']());}catch(_0x3e1849){_0x11bff2['push'](_0x11bff2['shift']());}}}(_0x2fbb,0x74407));import{ContextPlugin as _0x3f65bb}from'ckeditor5/src/core.js';function _0x2fbb(){const _0x104555=['1035rzUahU','define','4912Poivbl','1345746DENzfj','get','startConversation','plugins','removeSelectionFromChatContext','29030mMPixT','config','requires','34003079JOSMpk','3226300SgPqAS','138CkQSfc','sendMessage','8078HizncW','isOfficialPlugin','ai.chat.context','addSelectionToChatContext','context','11890AZZRaH','AIChat','ai.chat.models','focusPromptInput','isPremiumPlugin','199530VpdMiZ','4CrvMRm','pluginName'];_0x2fbb=function(){return _0x104555;};return _0x2fbb();}import{AIChatController as _0x4596cf}from'./aichatcontroller.js';import{AIEditing as _0x1cf308}from'../aicore/aiediting.js';import{AIChatUI as _0x3a1dd6}from'./aichatui.js';function _0x3756(_0x2fd741,_0x256ca9){const _0x2fbb83=_0x2fbb();return _0x3756=function(_0x3756a6,_0x94feee){_0x3756a6=_0x3756a6-0xa6;let _0x24ce30=_0x2fbb83[_0x3756a6];return _0x24ce30;},_0x3756(_0x2fd741,_0x256ca9);}import{AIChatHistory as _0x321d93}from'../aichathistory/aichathistory.js';export class AIChat extends _0x3f65bb{static get[_0x202ae8(0xaa)](){return[_0x4596cf,_0x1cf308,_0x3a1dd6,_0x321d93];}static get[_0x202ae8(0xbb)](){const _0x3886a6=_0x202ae8;return _0x3886a6(0xb5);}static get[_0x202ae8(0xb0)](){return!0x0;}static get[_0x202ae8(0xb8)](){return!0x0;}constructor(_0xfa5c39){const _0x253598=_0x202ae8;super(_0xfa5c39);const _0x12a07=_0xfa5c39[_0x253598(0xa9)];_0x12a07[_0x253598(0xbd)](_0x253598(0xb1),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),_0x12a07[_0x253598(0xbd)](_0x253598(0xb6),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x202ae8(0xb2)](){const _0x35b7da=_0x202ae8;await this[_0x35b7da(0xb3)][_0x35b7da(0xa6)][_0x35b7da(0xc0)](_0x4596cf)[_0x35b7da(0xb2)]();}async[_0x202ae8(0xc1)](){const _0x265b04=_0x202ae8;await this[_0x265b04(0xb3)][_0x265b04(0xa6)][_0x265b04(0xc0)](_0x4596cf)[_0x265b04(0xc1)]();}async[_0x202ae8(0xae)]({message:_0x786b32,quickActionData:_0x496423}){const _0xb44d6c=_0x202ae8;await this[_0xb44d6c(0xb3)][_0xb44d6c(0xa6)][_0xb44d6c(0xc0)](_0x4596cf)[_0xb44d6c(0xae)]({'message':_0x786b32,'quickActionData':_0x496423});}[_0x202ae8(0xa7)](){const _0x44c87e=_0x202ae8;this[_0x44c87e(0xb3)][_0x44c87e(0xa6)][_0x44c87e(0xc0)](_0x4596cf)[_0x44c87e(0xa7)]();}[_0x202ae8(0xb7)](){const _0x4e87d7=_0x202ae8;this[_0x4e87d7(0xb3)][_0x4e87d7(0xa6)][_0x4e87d7(0xc0)](_0x4596cf)[_0x4e87d7(0xb7)]();}}
@@ -4,7 +4,6 @@
4
4
  */
5
5
  /**
6
6
  * @module ai/aichat/aichatcontroller
7
- * @publicApi
8
7
  */
9
8
  import { ContextPlugin } from 'ckeditor5/src/core.js';
10
9
  import { AIConnector } from '../aicore/aiconnector.js';