@ckeditor/ckeditor5-ai 44.1.0 → 44.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/ai.js +2 -2
  4. package/build/translations/cs.js +1 -1
  5. package/dist/index-content.css +2 -2
  6. package/dist/index-editor.css +2 -2
  7. package/dist/index.css +9 -9
  8. package/dist/index.js +3 -3
  9. package/dist/translations/af.d.ts +2 -2
  10. package/dist/translations/af.js +2 -2
  11. package/dist/translations/af.umd.js +2 -2
  12. package/dist/translations/ar.d.ts +2 -2
  13. package/dist/translations/ar.js +2 -2
  14. package/dist/translations/ar.umd.js +2 -2
  15. package/dist/translations/ast.d.ts +2 -2
  16. package/dist/translations/ast.js +2 -2
  17. package/dist/translations/ast.umd.js +2 -2
  18. package/dist/translations/az.d.ts +2 -2
  19. package/dist/translations/az.js +2 -2
  20. package/dist/translations/az.umd.js +2 -2
  21. package/dist/translations/bg.d.ts +2 -2
  22. package/dist/translations/bg.js +2 -2
  23. package/dist/translations/bg.umd.js +2 -2
  24. package/dist/translations/bn.d.ts +2 -2
  25. package/dist/translations/bn.js +2 -2
  26. package/dist/translations/bn.umd.js +2 -2
  27. package/dist/translations/bs.d.ts +2 -2
  28. package/dist/translations/bs.js +2 -2
  29. package/dist/translations/bs.umd.js +2 -2
  30. package/dist/translations/ca.d.ts +2 -2
  31. package/dist/translations/ca.js +2 -2
  32. package/dist/translations/ca.umd.js +2 -2
  33. package/dist/translations/cs.d.ts +2 -2
  34. package/dist/translations/cs.js +2 -2
  35. package/dist/translations/cs.umd.js +2 -2
  36. package/dist/translations/da.d.ts +2 -2
  37. package/dist/translations/da.js +2 -2
  38. package/dist/translations/da.umd.js +2 -2
  39. package/dist/translations/de-ch.d.ts +2 -2
  40. package/dist/translations/de-ch.js +2 -2
  41. package/dist/translations/de-ch.umd.js +2 -2
  42. package/dist/translations/de.d.ts +2 -2
  43. package/dist/translations/de.js +2 -2
  44. package/dist/translations/de.umd.js +2 -2
  45. package/dist/translations/el.d.ts +2 -2
  46. package/dist/translations/el.js +2 -2
  47. package/dist/translations/el.umd.js +2 -2
  48. package/dist/translations/en-au.d.ts +2 -2
  49. package/dist/translations/en-au.js +2 -2
  50. package/dist/translations/en-au.umd.js +2 -2
  51. package/dist/translations/en-gb.d.ts +2 -2
  52. package/dist/translations/en-gb.js +2 -2
  53. package/dist/translations/en-gb.umd.js +2 -2
  54. package/dist/translations/en.d.ts +2 -2
  55. package/dist/translations/en.js +2 -2
  56. package/dist/translations/en.umd.js +2 -2
  57. package/dist/translations/eo.d.ts +2 -2
  58. package/dist/translations/eo.js +2 -2
  59. package/dist/translations/eo.umd.js +2 -2
  60. package/dist/translations/es-co.d.ts +2 -2
  61. package/dist/translations/es-co.js +2 -2
  62. package/dist/translations/es-co.umd.js +2 -2
  63. package/dist/translations/es.d.ts +2 -2
  64. package/dist/translations/es.js +2 -2
  65. package/dist/translations/es.umd.js +2 -2
  66. package/dist/translations/et.d.ts +2 -2
  67. package/dist/translations/et.js +2 -2
  68. package/dist/translations/et.umd.js +2 -2
  69. package/dist/translations/eu.d.ts +2 -2
  70. package/dist/translations/eu.js +2 -2
  71. package/dist/translations/eu.umd.js +2 -2
  72. package/dist/translations/fa.d.ts +2 -2
  73. package/dist/translations/fa.js +2 -2
  74. package/dist/translations/fa.umd.js +2 -2
  75. package/dist/translations/fi.d.ts +2 -2
  76. package/dist/translations/fi.js +2 -2
  77. package/dist/translations/fi.umd.js +2 -2
  78. package/dist/translations/fr.d.ts +2 -2
  79. package/dist/translations/fr.js +2 -2
  80. package/dist/translations/fr.umd.js +2 -2
  81. package/dist/translations/gl.d.ts +2 -2
  82. package/dist/translations/gl.js +2 -2
  83. package/dist/translations/gl.umd.js +2 -2
  84. package/dist/translations/gu.d.ts +2 -2
  85. package/dist/translations/gu.js +2 -2
  86. package/dist/translations/gu.umd.js +2 -2
  87. package/dist/translations/he.d.ts +2 -2
  88. package/dist/translations/he.js +2 -2
  89. package/dist/translations/he.umd.js +2 -2
  90. package/dist/translations/hi.d.ts +2 -2
  91. package/dist/translations/hi.js +2 -2
  92. package/dist/translations/hi.umd.js +2 -2
  93. package/dist/translations/hr.d.ts +2 -2
  94. package/dist/translations/hr.js +2 -2
  95. package/dist/translations/hr.umd.js +2 -2
  96. package/dist/translations/hu.d.ts +2 -2
  97. package/dist/translations/hu.js +2 -2
  98. package/dist/translations/hu.umd.js +2 -2
  99. package/dist/translations/hy.d.ts +2 -2
  100. package/dist/translations/hy.js +2 -2
  101. package/dist/translations/hy.umd.js +2 -2
  102. package/dist/translations/id.d.ts +2 -2
  103. package/dist/translations/id.js +2 -2
  104. package/dist/translations/id.umd.js +2 -2
  105. package/dist/translations/it.d.ts +2 -2
  106. package/dist/translations/it.js +2 -2
  107. package/dist/translations/it.umd.js +2 -2
  108. package/dist/translations/ja.d.ts +2 -2
  109. package/dist/translations/ja.js +2 -2
  110. package/dist/translations/ja.umd.js +2 -2
  111. package/dist/translations/jv.d.ts +2 -2
  112. package/dist/translations/jv.js +2 -2
  113. package/dist/translations/jv.umd.js +2 -2
  114. package/dist/translations/kk.d.ts +2 -2
  115. package/dist/translations/kk.js +2 -2
  116. package/dist/translations/kk.umd.js +2 -2
  117. package/dist/translations/km.d.ts +2 -2
  118. package/dist/translations/km.js +2 -2
  119. package/dist/translations/km.umd.js +2 -2
  120. package/dist/translations/kn.d.ts +2 -2
  121. package/dist/translations/kn.js +2 -2
  122. package/dist/translations/kn.umd.js +2 -2
  123. package/dist/translations/ko.d.ts +2 -2
  124. package/dist/translations/ko.js +2 -2
  125. package/dist/translations/ko.umd.js +2 -2
  126. package/dist/translations/ku.d.ts +2 -2
  127. package/dist/translations/ku.js +2 -2
  128. package/dist/translations/ku.umd.js +2 -2
  129. package/dist/translations/lt.d.ts +2 -2
  130. package/dist/translations/lt.js +2 -2
  131. package/dist/translations/lt.umd.js +2 -2
  132. package/dist/translations/lv.d.ts +2 -2
  133. package/dist/translations/lv.js +2 -2
  134. package/dist/translations/lv.umd.js +2 -2
  135. package/dist/translations/ms.d.ts +2 -2
  136. package/dist/translations/ms.js +2 -2
  137. package/dist/translations/ms.umd.js +2 -2
  138. package/dist/translations/nb.d.ts +2 -2
  139. package/dist/translations/nb.js +2 -2
  140. package/dist/translations/nb.umd.js +2 -2
  141. package/dist/translations/ne.d.ts +2 -2
  142. package/dist/translations/ne.js +2 -2
  143. package/dist/translations/ne.umd.js +2 -2
  144. package/dist/translations/nl.d.ts +2 -2
  145. package/dist/translations/nl.js +2 -2
  146. package/dist/translations/nl.umd.js +2 -2
  147. package/dist/translations/no.d.ts +2 -2
  148. package/dist/translations/no.js +2 -2
  149. package/dist/translations/no.umd.js +2 -2
  150. package/dist/translations/oc.d.ts +2 -2
  151. package/dist/translations/oc.js +2 -2
  152. package/dist/translations/oc.umd.js +2 -2
  153. package/dist/translations/pl.d.ts +2 -2
  154. package/dist/translations/pl.js +2 -2
  155. package/dist/translations/pl.umd.js +2 -2
  156. package/dist/translations/pt-br.d.ts +2 -2
  157. package/dist/translations/pt-br.js +2 -2
  158. package/dist/translations/pt-br.umd.js +2 -2
  159. package/dist/translations/pt.d.ts +2 -2
  160. package/dist/translations/pt.js +2 -2
  161. package/dist/translations/pt.umd.js +2 -2
  162. package/dist/translations/ro.d.ts +2 -2
  163. package/dist/translations/ro.js +2 -2
  164. package/dist/translations/ro.umd.js +2 -2
  165. package/dist/translations/ru.d.ts +2 -2
  166. package/dist/translations/ru.js +2 -2
  167. package/dist/translations/ru.umd.js +2 -2
  168. package/dist/translations/si.d.ts +2 -2
  169. package/dist/translations/si.js +2 -2
  170. package/dist/translations/si.umd.js +2 -2
  171. package/dist/translations/sk.d.ts +2 -2
  172. package/dist/translations/sk.js +2 -2
  173. package/dist/translations/sk.umd.js +2 -2
  174. package/dist/translations/sl.d.ts +2 -2
  175. package/dist/translations/sl.js +2 -2
  176. package/dist/translations/sl.umd.js +2 -2
  177. package/dist/translations/sq.d.ts +2 -2
  178. package/dist/translations/sq.js +2 -2
  179. package/dist/translations/sq.umd.js +2 -2
  180. package/dist/translations/sr-latn.d.ts +2 -2
  181. package/dist/translations/sr-latn.js +2 -2
  182. package/dist/translations/sr-latn.umd.js +2 -2
  183. package/dist/translations/sr.d.ts +2 -2
  184. package/dist/translations/sr.js +2 -2
  185. package/dist/translations/sr.umd.js +2 -2
  186. package/dist/translations/sv.d.ts +2 -2
  187. package/dist/translations/sv.js +2 -2
  188. package/dist/translations/sv.umd.js +2 -2
  189. package/dist/translations/th.d.ts +2 -2
  190. package/dist/translations/th.js +2 -2
  191. package/dist/translations/th.umd.js +2 -2
  192. package/dist/translations/ti.d.ts +2 -2
  193. package/dist/translations/ti.js +2 -2
  194. package/dist/translations/ti.umd.js +2 -2
  195. package/dist/translations/tk.d.ts +2 -2
  196. package/dist/translations/tk.js +2 -2
  197. package/dist/translations/tk.umd.js +2 -2
  198. package/dist/translations/tr.d.ts +2 -2
  199. package/dist/translations/tr.js +2 -2
  200. package/dist/translations/tr.umd.js +2 -2
  201. package/dist/translations/tt.d.ts +2 -2
  202. package/dist/translations/tt.js +2 -2
  203. package/dist/translations/tt.umd.js +2 -2
  204. package/dist/translations/ug.d.ts +2 -2
  205. package/dist/translations/ug.js +2 -2
  206. package/dist/translations/ug.umd.js +2 -2
  207. package/dist/translations/uk.d.ts +2 -2
  208. package/dist/translations/uk.js +2 -2
  209. package/dist/translations/uk.umd.js +2 -2
  210. package/dist/translations/ur.d.ts +2 -2
  211. package/dist/translations/ur.js +2 -2
  212. package/dist/translations/ur.umd.js +2 -2
  213. package/dist/translations/uz.d.ts +2 -2
  214. package/dist/translations/uz.js +2 -2
  215. package/dist/translations/uz.umd.js +2 -2
  216. package/dist/translations/vi.d.ts +2 -2
  217. package/dist/translations/vi.js +2 -2
  218. package/dist/translations/vi.umd.js +2 -2
  219. package/dist/translations/zh-cn.d.ts +2 -2
  220. package/dist/translations/zh-cn.js +2 -2
  221. package/dist/translations/zh-cn.umd.js +2 -2
  222. package/dist/translations/zh.d.ts +2 -2
  223. package/dist/translations/zh.js +2 -2
  224. package/dist/translations/zh.umd.js +2 -2
  225. package/lang/translations/af.po +1 -1
  226. package/lang/translations/ar.po +1 -1
  227. package/lang/translations/ast.po +1 -1
  228. package/lang/translations/az.po +1 -1
  229. package/lang/translations/bg.po +1 -1
  230. package/lang/translations/bn.po +1 -1
  231. package/lang/translations/bs.po +1 -1
  232. package/lang/translations/ca.po +1 -1
  233. package/lang/translations/cs.po +2 -2
  234. package/lang/translations/da.po +1 -1
  235. package/lang/translations/de-ch.po +1 -1
  236. package/lang/translations/de.po +1 -1
  237. package/lang/translations/el.po +1 -1
  238. package/lang/translations/en-au.po +1 -1
  239. package/lang/translations/en-gb.po +1 -1
  240. package/lang/translations/en.po +1 -1
  241. package/lang/translations/eo.po +1 -1
  242. package/lang/translations/es-co.po +1 -1
  243. package/lang/translations/es.po +1 -1
  244. package/lang/translations/et.po +1 -1
  245. package/lang/translations/eu.po +1 -1
  246. package/lang/translations/fa.po +1 -1
  247. package/lang/translations/fi.po +1 -1
  248. package/lang/translations/fr.po +1 -1
  249. package/lang/translations/gl.po +1 -1
  250. package/lang/translations/gu.po +1 -1
  251. package/lang/translations/he.po +1 -1
  252. package/lang/translations/hi.po +1 -1
  253. package/lang/translations/hr.po +1 -1
  254. package/lang/translations/hu.po +1 -1
  255. package/lang/translations/hy.po +1 -1
  256. package/lang/translations/id.po +1 -1
  257. package/lang/translations/it.po +1 -1
  258. package/lang/translations/ja.po +1 -1
  259. package/lang/translations/jv.po +1 -1
  260. package/lang/translations/kk.po +1 -1
  261. package/lang/translations/km.po +1 -1
  262. package/lang/translations/kn.po +1 -1
  263. package/lang/translations/ko.po +1 -1
  264. package/lang/translations/ku.po +1 -1
  265. package/lang/translations/lt.po +1 -1
  266. package/lang/translations/lv.po +1 -1
  267. package/lang/translations/ms.po +1 -1
  268. package/lang/translations/nb.po +1 -1
  269. package/lang/translations/ne.po +1 -1
  270. package/lang/translations/nl.po +1 -1
  271. package/lang/translations/no.po +1 -1
  272. package/lang/translations/oc.po +1 -1
  273. package/lang/translations/pl.po +1 -1
  274. package/lang/translations/pt-br.po +1 -1
  275. package/lang/translations/pt.po +1 -1
  276. package/lang/translations/ro.po +1 -1
  277. package/lang/translations/ru.po +1 -1
  278. package/lang/translations/si.po +1 -1
  279. package/lang/translations/sk.po +1 -1
  280. package/lang/translations/sl.po +1 -1
  281. package/lang/translations/sq.po +1 -1
  282. package/lang/translations/sr-latn.po +1 -1
  283. package/lang/translations/sr.po +1 -1
  284. package/lang/translations/sv.po +1 -1
  285. package/lang/translations/th.po +1 -1
  286. package/lang/translations/ti.po +1 -1
  287. package/lang/translations/tk.po +1 -1
  288. package/lang/translations/tr.po +1 -1
  289. package/lang/translations/tt.po +1 -1
  290. package/lang/translations/ug.po +1 -1
  291. package/lang/translations/uk.po +1 -1
  292. package/lang/translations/ur.po +1 -1
  293. package/lang/translations/uz.po +1 -1
  294. package/lang/translations/vi.po +1 -1
  295. package/lang/translations/zh-cn.po +1 -1
  296. package/lang/translations/zh.po +1 -1
  297. package/package.json +31 -8
  298. package/src/adapters/aiadapter.d.ts +1 -1
  299. package/src/adapters/aiadapter.js +2 -2
  300. package/src/adapters/aitextadapter.d.ts +1 -1
  301. package/src/adapters/aitextadapter.js +2 -2
  302. package/src/adapters/awstextadapter.d.ts +1 -1
  303. package/src/adapters/awstextadapter.js +2 -2
  304. package/src/adapters/openaitextadapter.d.ts +1 -1
  305. package/src/adapters/openaitextadapter.js +2 -2
  306. package/src/aiassistant.d.ts +21 -3
  307. package/src/aiassistant.js +2 -2
  308. package/src/aiassistantediting.d.ts +3 -3
  309. package/src/aiassistantediting.js +2 -2
  310. package/src/aiassistantui.d.ts +1 -1
  311. package/src/aiassistantui.js +2 -2
  312. package/src/aiconfig.d.ts +1 -1
  313. package/src/aiconfig.js +1 -1
  314. package/src/augmentation.d.ts +1 -1
  315. package/src/augmentation.js +1 -1
  316. package/src/index.d.ts +3 -2
  317. package/src/index.js +2 -2
  318. package/src/legacyerrors.d.ts +1 -1
  319. package/src/legacyerrors.js +2 -2
  320. package/src/ui/aiassistantcontroller.d.ts +1 -1
  321. package/src/ui/aiassistantcontroller.js +3 -3
  322. package/src/ui/form/aiformcontentarea.d.ts +1 -1
  323. package/src/ui/form/aiformcontentarea.js +2 -2
  324. package/src/ui/form/aiformerrorview.d.ts +1 -1
  325. package/src/ui/form/aiformerrorview.js +2 -2
  326. package/src/ui/form/aiformpromptview.d.ts +1 -1
  327. package/src/ui/form/aiformpromptview.js +2 -2
  328. package/src/ui/form/aiformtoolbarview.d.ts +1 -1
  329. package/src/ui/form/aiformtoolbarview.js +2 -2
  330. package/src/ui/form/aiformview.d.ts +1 -1
  331. package/src/ui/form/aiformview.js +2 -2
  332. package/src/ui/form/aihistorylistitemview.d.ts +1 -1
  333. package/src/ui/form/aihistorylistitemview.js +2 -2
  334. package/src/ui/form/aihistorylistview.d.ts +1 -1
  335. package/src/ui/form/aihistorylistview.js +2 -2
  336. package/src/ui/form/prompthistory.d.ts +1 -1
  337. package/src/ui/form/prompthistory.js +2 -2
  338. package/src/ui/showaiassistantcommand.d.ts +1 -1
  339. package/src/ui/showaiassistantcommand.js +2 -2
  340. package/src/utils/common-translations.d.ts +1 -1
  341. package/src/utils/common-translations.js +2 -2
  342. package/src/utils/normalizecommandsconfig.d.ts +1 -1
  343. package/src/utils/normalizecommandsconfig.js +2 -2
  344. package/theme/ai-dropdown.css +1 -1
  345. package/theme/ai-form.css +1 -1
  346. package/theme/ai.css +1 -1
  347. package/dist/adapters/aiadapter.d.ts +0 -60
  348. package/dist/adapters/aitextadapter.d.ts +0 -150
  349. package/dist/adapters/awstextadapter.d.ts +0 -183
  350. package/dist/adapters/openaitextadapter.d.ts +0 -187
  351. package/dist/aiassistant.d.ts +0 -393
  352. package/dist/aiassistantediting.d.ts +0 -59
  353. package/dist/aiassistantui.d.ts +0 -62
  354. package/dist/aiconfig.d.ts +0 -73
  355. package/dist/augmentation.d.ts +0 -31
  356. package/dist/index.d.ts +0 -17
  357. package/dist/legacyerrors.d.ts +0 -9
  358. package/dist/ui/aiassistantcontroller.d.ts +0 -113
  359. package/dist/ui/form/aiformcontentarea.d.ts +0 -52
  360. package/dist/ui/form/aiformerrorview.d.ts +0 -30
  361. package/dist/ui/form/aiformpromptview.d.ts +0 -50
  362. package/dist/ui/form/aiformtoolbarview.d.ts +0 -62
  363. package/dist/ui/form/aiformview.d.ts +0 -145
  364. package/dist/ui/form/aihistorylistitemview.d.ts +0 -22
  365. package/dist/ui/form/aihistorylistview.d.ts +0 -39
  366. package/dist/ui/form/prompthistory.d.ts +0 -24
  367. package/dist/ui/showaiassistantcommand.d.ts +0 -44
  368. package/dist/utils/common-translations.d.ts +0 -13
  369. package/dist/utils/normalizecommandsconfig.d.ts +0 -18
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf98481=_0x33df;(function(_0x51015c,_0x67bbf1){const _0x368a9f=_0x33df,_0x227bda=_0x51015c();while(!![]){try{const _0x594e64=-parseInt(_0x368a9f(0x148))/0x1+parseInt(_0x368a9f(0x14e))/0x2+parseInt(_0x368a9f(0x13b))/0x3+parseInt(_0x368a9f(0x142))/0x4*(parseInt(_0x368a9f(0x146))/0x5)+-parseInt(_0x368a9f(0x145))/0x6+-parseInt(_0x368a9f(0x153))/0x7*(-parseInt(_0x368a9f(0x14c))/0x8)+-parseInt(_0x368a9f(0x149))/0x9*(parseInt(_0x368a9f(0x132))/0xa);if(_0x594e64===_0x67bbf1)break;else _0x227bda['push'](_0x227bda['shift']());}catch(_0x55359f){_0x227bda['push'](_0x227bda['shift']());}}}(_0x2a44,0x548e9));import{Rect as _0x4265c7,global as _0x18f854,isVisible as _0x47ec8a}from'ckeditor5/src/utils.js';function _0x2a44(){const _0x41653f=['12efIgTB','fire','isEnabled','2380860KpOYfy','720535gEVrck','focusLast','492003QDrIQN','27hiUyAz','target','children','200ASOFSq','filteredView','1140432SpyZoq','submitButtonView','render','focusableChildren','isEmpty','60718ajhMvo','window','fieldView','update','set','requestAnimationFrame','History','rtl','left','focusFirst','element','history','enter','style','ck-ai-form__submit','value','locale','submit','Submit','width','ck-ai-form__toggle-history','keystrokes','isOn','_createShowHistoryButton','_createSubmitButton','focusCycler','1558990CAjJtw','maxRows','resultsView','add','uiLanguageDirection','showHistoryButtonView','bind','right','execute','1450404vEAZQP','queryView','isVisible','fieldWrapperChildren','minRows','excludeScrollbarsAndBorders','focus'];_0x2a44=function(){return _0x41653f;};return _0x2a44();}import{AutocompleteView as _0xf7dbd1,ButtonView as _0x553ac4}from'ckeditor5/src/ui.js';import{icons as _0x50631d}from'ckeditor5/src/core.js';function _0x33df(_0x5bf541,_0x9523d0){const _0x2a4477=_0x2a44();return _0x33df=function(_0x33dfd1,_0x221be1){_0x33dfd1=_0x33dfd1-0x129;let _0x4a1338=_0x2a4477[_0x33dfd1];return _0x4a1338;},_0x33df(_0x5bf541,_0x9523d0);}import{getTranslation as _0x28cd45}from'../../utils/common-translations.js';import _0x48b5e9 from'../../../theme/icons/submit.svg';export default class ht extends _0xf7dbd1{constructor(_0x23f320,_0x2f3eb8){const _0x1a3ebc=_0x33df;super(_0x23f320,_0x2f3eb8),this[_0x1a3ebc(0x13c)][_0x1a3ebc(0x155)][_0x1a3ebc(0x13f)]=0x1,this[_0x1a3ebc(0x13c)][_0x1a3ebc(0x155)][_0x1a3ebc(0x133)]=0x3,this[_0x1a3ebc(0x14f)]=this[_0x1a3ebc(0x130)](),this[_0x1a3ebc(0x137)]=this[_0x1a3ebc(0x12f)](),this[_0x1a3ebc(0x151)][_0x1a3ebc(0x135)](this[_0x1a3ebc(0x137)],0x1),this[_0x1a3ebc(0x151)][_0x1a3ebc(0x135)](this[_0x1a3ebc(0x14f)]);}[_0xf98481(0x150)](){const _0x1b103f=_0xf98481;super[_0x1b103f(0x150)](),this[_0x1b103f(0x13c)][_0x1b103f(0x13e)][_0x1b103f(0x135)](this[_0x1b103f(0x137)]),this[_0x1b103f(0x14b)][_0x1b103f(0x135)](this[_0x1b103f(0x14f)]),this[_0x1b103f(0x12d)][_0x1b103f(0x157)](_0x1b103f(0x15f),(_0x3891f1,_0x95becd)=>{const _0x3d310b=_0x1b103f;_0x3891f1[_0x3d310b(0x14a)]==this[_0x3d310b(0x13c)][_0x3d310b(0x155)][_0x3d310b(0x15d)]&&(this[_0x3d310b(0x129)](),_0x95becd());});}[_0xf98481(0x130)](){const _0x31f47e=_0xf98481,_0x2c503a=new _0x553ac4(this[_0x31f47e(0x163)]),_0x4ed66f=this[_0x31f47e(0x163)];return _0x2c503a[_0x31f47e(0x157)]({'icon':_0x48b5e9,'label':_0x28cd45(_0x4ed66f,_0x31f47e(0x12a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x31f47e(0x161)}),_0x2c503a['on'](_0x31f47e(0x13a),()=>{const _0x1e038d=_0x31f47e;this[_0x1e038d(0x129)]();}),_0x2c503a[_0x31f47e(0x138)](_0x31f47e(0x144))['to'](this[_0x31f47e(0x13c)][_0x31f47e(0x155)],_0x31f47e(0x152),this,_0x31f47e(0x144),(_0x25d6b0,_0x48b9c6)=>!_0x25d6b0&&_0x48b9c6),_0x2c503a;}[_0xf98481(0x12f)](){const _0x4fa8b5=_0xf98481,_0x4ee4cd=new _0x553ac4(this[_0x4fa8b5(0x163)]),_0x426ce1=this[_0x4fa8b5(0x134)],_0x3d9b7f=this[_0x4fa8b5(0x163)];_0x4ee4cd[_0x4fa8b5(0x157)]({'label':_0x28cd45(_0x3d9b7f,_0x4fa8b5(0x159)),'withText':!0x1,'icon':_0x50631d[_0x4fa8b5(0x15e)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4fa8b5(0x12c)}),_0x4ee4cd[_0x4fa8b5(0x138)](_0x4fa8b5(0x12e))['to'](_0x426ce1,_0x4fa8b5(0x13d)),_0x4ee4cd[_0x4fa8b5(0x138)](_0x4fa8b5(0x144))['to'](this,_0x4fa8b5(0x144)),_0x4ee4cd['on'](_0x4fa8b5(0x13a),()=>{const _0x14aa31=_0x4fa8b5;_0x426ce1[_0x14aa31(0x13d)]=!_0x426ce1[_0x14aa31(0x13d)],_0x426ce1[_0x14aa31(0x13d)]?this[_0x14aa31(0x14d)][_0x14aa31(0x141)]():this[_0x14aa31(0x141)]();});const _0xf9e12f=()=>{const _0x46eac1=_0x4fa8b5;_0x18f854[_0x46eac1(0x154)][_0x46eac1(0x158)](()=>{const _0x1c865d=_0x46eac1;if(_0x47ec8a(this[_0x1c865d(0x15d)])){const _0x4e3f79=new _0x4265c7(this[_0x1c865d(0x13c)][_0x1c865d(0x155)][_0x1c865d(0x15d)]),_0x4a5859=_0x4e3f79[_0x1c865d(0x12b)],_0x56141f=_0x1c865d(0x15a)===_0x3d9b7f[_0x1c865d(0x136)]?_0x1c865d(0x15b):_0x1c865d(0x139);_0x4e3f79[_0x1c865d(0x140)](),_0x4ee4cd[_0x1c865d(0x15d)][_0x1c865d(0x160)][_0x56141f]=_0x4a5859-_0x4e3f79[_0x1c865d(0x12b)]+0x1+'px';}});};return this[_0x4fa8b5(0x13c)][_0x4fa8b5(0x155)]['on'](_0x4fa8b5(0x156),_0xf9e12f),this['on'](_0x4fa8b5(0x150),_0xf9e12f),_0x4ee4cd;}[_0xf98481(0x129)](){const _0x4be06e=_0xf98481,_0xbbf4cc=this[_0x4be06e(0x13c)][_0x4be06e(0x155)][_0x4be06e(0x15d)][_0x4be06e(0x162)];this[_0x4be06e(0x143)](_0x4be06e(0x129),_0xbbf4cc);}[_0xf98481(0x141)](_0x429ca1){const _0x1f9bae=_0xf98481;-0x1===_0x429ca1?this[_0x1f9bae(0x131)][_0x1f9bae(0x147)]():this[_0x1f9bae(0x131)][_0x1f9bae(0x15c)]();}}
23
+ function _0x4f79(){const _0x23c406=['ck-ai-form__toggle-history','minRows','enter','children','add','set','submitButtonView','64Osthli','isEnabled','focus','ck-ai-form__submit','value','update','maxRows','right','focusLast','bind','fire','focusCycler','queryView','locale','101979jvCqwc','focusFirst','804123bWiyiM','History','153090fPiEtj','1664940EcBGYJ','uiLanguageDirection','window','isEmpty','2vqHmJc','left','requestAnimationFrame','keystrokes','_createSubmitButton','render','_createShowHistoryButton','excludeScrollbarsAndBorders','666715KYXiVt','focusableChildren','submit','element','resultsView','isVisible','filteredView','showHistoryButtonView','history','target','2815736toXwVg','rtl','style','width','fieldWrapperChildren','isOn','execute','110790GgFhZb','Submit','fieldView'];_0x4f79=function(){return _0x23c406;};return _0x4f79();}const _0xf3d7e8=_0x3e4b;(function(_0x50e2a3,_0xbb0e41){const _0x380127=_0x3e4b,_0xd4090f=_0x50e2a3();while(!![]){try{const _0x5ea88e=-parseInt(_0x380127(0x143))/0x1*(parseInt(_0x380127(0x15c))/0x2)+-parseInt(_0x380127(0x13c))/0x3+parseInt(_0x380127(0x13f))/0x4+-parseInt(_0x380127(0x14b))/0x5+parseInt(_0x380127(0x13e))/0x6+parseInt(_0x380127(0x155))/0x7+-parseInt(_0x380127(0x166))/0x8*(parseInt(_0x380127(0x174))/0x9);if(_0x5ea88e===_0xbb0e41)break;else _0xd4090f['push'](_0xd4090f['shift']());}catch(_0x46c0ac){_0xd4090f['push'](_0xd4090f['shift']());}}}(_0x4f79,0x3ae18));import{Rect as _0x470850,global as _0x398819,isVisible as _0xbe2bc5}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x19f4f1,ButtonView as _0x2c5aff}from'ckeditor5/src/ui.js';import{icons as _0x1fa74b}from'ckeditor5/src/core.js';import{getTranslation as _0x3c8b16}from'../../utils/common-translations.js';function _0x3e4b(_0x410492,_0x517469){const _0x4f7959=_0x4f79();return _0x3e4b=function(_0x3e4ba2,_0x7e452f){_0x3e4ba2=_0x3e4ba2-0x13c;let _0x1828c3=_0x4f7959[_0x3e4ba2];return _0x1828c3;},_0x3e4b(_0x410492,_0x517469);}import _0x5d449d from'../../../theme/icons/submit.svg';export default class ht extends _0x19f4f1{constructor(_0xef543e,_0x4bc19b){const _0x1d4cee=_0x3e4b;super(_0xef543e,_0x4bc19b),this[_0x1d4cee(0x172)][_0x1d4cee(0x15e)][_0x1d4cee(0x160)]=0x1,this[_0x1d4cee(0x172)][_0x1d4cee(0x15e)][_0x1d4cee(0x16c)]=0x3,this[_0x1d4cee(0x165)]=this[_0x1d4cee(0x147)](),this[_0x1d4cee(0x152)]=this[_0x1d4cee(0x149)](),this[_0x1d4cee(0x14c)][_0x1d4cee(0x163)](this[_0x1d4cee(0x152)],0x1),this[_0x1d4cee(0x14c)][_0x1d4cee(0x163)](this[_0x1d4cee(0x165)]);}[_0xf3d7e8(0x148)](){const _0x34162e=_0xf3d7e8;super[_0x34162e(0x148)](),this[_0x34162e(0x172)][_0x34162e(0x159)][_0x34162e(0x163)](this[_0x34162e(0x152)]),this[_0x34162e(0x162)][_0x34162e(0x163)](this[_0x34162e(0x165)]),this[_0x34162e(0x146)][_0x34162e(0x164)](_0x34162e(0x161),(_0x5dea7e,_0x4a019a)=>{const _0x111d77=_0x34162e;_0x5dea7e[_0x111d77(0x154)]==this[_0x111d77(0x172)][_0x111d77(0x15e)][_0x111d77(0x14e)]&&(this[_0x111d77(0x14d)](),_0x4a019a());});}[_0xf3d7e8(0x147)](){const _0x4742c1=_0xf3d7e8,_0x24cb29=new _0x2c5aff(this[_0x4742c1(0x173)]),_0x4a012f=this[_0x4742c1(0x173)];return _0x24cb29[_0x4742c1(0x164)]({'icon':_0x5d449d,'label':_0x3c8b16(_0x4a012f,_0x4742c1(0x15d)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4742c1(0x169)}),_0x24cb29['on'](_0x4742c1(0x15b),()=>{const _0x528964=_0x4742c1;this[_0x528964(0x14d)]();}),_0x24cb29[_0x4742c1(0x16f)](_0x4742c1(0x167))['to'](this[_0x4742c1(0x172)][_0x4742c1(0x15e)],_0x4742c1(0x142),this,_0x4742c1(0x167),(_0x1b2ee8,_0x50e8b7)=>!_0x1b2ee8&&_0x50e8b7),_0x24cb29;}[_0xf3d7e8(0x149)](){const _0x479988=_0xf3d7e8,_0x2acd5d=new _0x2c5aff(this[_0x479988(0x173)]),_0xe87fba=this[_0x479988(0x14f)],_0x399628=this[_0x479988(0x173)];_0x2acd5d[_0x479988(0x164)]({'label':_0x3c8b16(_0x399628,_0x479988(0x13d)),'withText':!0x1,'icon':_0x1fa74b[_0x479988(0x153)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x479988(0x15f)}),_0x2acd5d[_0x479988(0x16f)](_0x479988(0x15a))['to'](_0xe87fba,_0x479988(0x150)),_0x2acd5d[_0x479988(0x16f)](_0x479988(0x167))['to'](this,_0x479988(0x167)),_0x2acd5d['on'](_0x479988(0x15b),()=>{const _0x2e929e=_0x479988;_0xe87fba[_0x2e929e(0x150)]=!_0xe87fba[_0x2e929e(0x150)],_0xe87fba[_0x2e929e(0x150)]?this[_0x2e929e(0x151)][_0x2e929e(0x168)]():this[_0x2e929e(0x168)]();});const _0x17bc57=()=>{const _0x5d1cba=_0x479988;_0x398819[_0x5d1cba(0x141)][_0x5d1cba(0x145)](()=>{const _0x44651c=_0x5d1cba;if(_0xbe2bc5(this[_0x44651c(0x14e)])){const _0x2e982c=new _0x470850(this[_0x44651c(0x172)][_0x44651c(0x15e)][_0x44651c(0x14e)]),_0x4d3e5e=_0x2e982c[_0x44651c(0x158)],_0x3ff9e0=_0x44651c(0x156)===_0x399628[_0x44651c(0x140)]?_0x44651c(0x144):_0x44651c(0x16d);_0x2e982c[_0x44651c(0x14a)](),_0x2acd5d[_0x44651c(0x14e)][_0x44651c(0x157)][_0x3ff9e0]=_0x4d3e5e-_0x2e982c[_0x44651c(0x158)]+0x1+'px';}});};return this[_0x479988(0x172)][_0x479988(0x15e)]['on'](_0x479988(0x16b),_0x17bc57),this['on'](_0x479988(0x148),_0x17bc57),_0x2acd5d;}[_0xf3d7e8(0x14d)](){const _0x2692b5=_0xf3d7e8,_0x27a30c=this[_0x2692b5(0x172)][_0x2692b5(0x15e)][_0x2692b5(0x14e)][_0x2692b5(0x16a)];this[_0x2692b5(0x170)](_0x2692b5(0x14d),_0x27a30c);}[_0xf3d7e8(0x168)](_0x510ea8){const _0xadcaad=_0xf3d7e8;-0x1===_0x510ea8?this[_0xadcaad(0x171)][_0xadcaad(0x16e)]():this[_0xadcaad(0x171)][_0xadcaad(0x175)]();}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x17e4(_0x2c59a7,_0x35b51a){const _0x36aad1=_0x36aa();return _0x17e4=function(_0x17e4ba,_0x26df1f){_0x17e4ba=_0x17e4ba-0x8b;let _0x595ed1=_0x36aad1[_0x17e4ba];return _0x595ed1;},_0x17e4(_0x2c59a7,_0x35b51a);}const _0x365574=_0x17e4;(function(_0x26d6df,_0x1ab143){const _0x4d9e29=_0x17e4,_0x407d0f=_0x26d6df();while(!![]){try{const _0x3b652d=-parseInt(_0x4d9e29(0xa2))/0x1+-parseInt(_0x4d9e29(0xab))/0x2*(parseInt(_0x4d9e29(0x90))/0x3)+-parseInt(_0x4d9e29(0xaa))/0x4*(-parseInt(_0x4d9e29(0xa0))/0x5)+parseInt(_0x4d9e29(0xa7))/0x6*(parseInt(_0x4d9e29(0xa9))/0x7)+parseInt(_0x4d9e29(0x95))/0x8+parseInt(_0x4d9e29(0xad))/0x9+-parseInt(_0x4d9e29(0x91))/0xa*(parseInt(_0x4d9e29(0x8b))/0xb);if(_0x3b652d===_0x1ab143)break;else _0x407d0f['push'](_0x407d0f['shift']());}catch(_0x19edf7){_0x407d0f['push'](_0x407d0f['shift']());}}}(_0x36aa,0x636d1));import{ToolbarView as _0x1229f3,ButtonView as _0x16689b}from'ckeditor5/src/ui.js';import{getTranslation as _0x4f1921}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x365574(0xb0),'INSERT':_0x365574(0x92)};export default class nt extends _0x1229f3{constructor(_0x2ee13c){const _0x461c46=_0x365574;super(_0x2ee13c),this[_0x461c46(0x96)](_0x461c46(0x97),!0x1),this[_0x461c46(0x96)](_0x461c46(0xae),AIFormToolbarViewMainActionLabel[_0x461c46(0x9f)]),this[_0x461c46(0x8f)]=this[_0x461c46(0x9a)]('',_0x461c46(0x98)),this[_0x461c46(0x8f)][_0x461c46(0xa8)](_0x461c46(0x9c))['to'](this,_0x461c46(0xae),_0x4b98c9=>_0x4f1921(_0x2ee13c,_0x461c46(0xa1)+_0x4b98c9[_0x461c46(0x8d)]()+_0x461c46(0xac))),this[_0x461c46(0xa5)]=this[_0x461c46(0x9a)](_0x4f1921(_0x2ee13c,_0x461c46(0x8c))),this[_0x461c46(0xa6)]=this[_0x461c46(0x9a)](_0x4f1921(_0x2ee13c,_0x461c46(0x94))),this[_0x461c46(0x99)]=this[_0x461c46(0x9a)](_0x4f1921(_0x2ee13c,_0x461c46(0xa3)));const _0x7d1ac5=this[_0x461c46(0x9e)];this[_0x461c46(0x9b)]({'attributes':{'class':[_0x461c46(0xaf),_0x7d1ac5['if'](_0x461c46(0x97),_0x461c46(0x9d),_0x307a75=>!_0x307a75)]}}),this[_0x461c46(0x8e)][_0x461c46(0x93)]([this[_0x461c46(0x8f)],this[_0x461c46(0xa5)],this[_0x461c46(0xa6)],this[_0x461c46(0x99)]]);}[_0x365574(0x9a)](_0x1bfbfa,_0x5d3d79){const _0x446df7=_0x365574,_0xe6c9e5=new _0x16689b(this[_0x446df7(0xa4)]);return _0xe6c9e5[_0x446df7(0x96)]({'label':_0x1bfbfa,'class':_0x5d3d79||'','isVisible':!0x0,'withText':!0x0}),_0xe6c9e5;}}function _0x36aa(){const _0x5b2ac8=['_createButton','extendTemplate','label','ck-hidden','bindTemplate','REPLACE','5zhYTSJ','AI_','346073vtKiMt','Stop','locale','insertButton','tryAgainButton','13920ESZJDG','bind','952xmcVES','2170076vIZPon','1810yCozod','_CONTENT','4594320ipYcnr','mainAction','ck-ai-form__toolbar','replace','22xMYyOv','Insert\x20below','toUpperCase','items','replaceButton','1305ALCaCA','4112510xTnlLZ','insert','addMany','Try\x20again','4807840gumJCW','set','isVisible','ck-button-action','stopButton'];_0x36aa=function(){return _0x5b2ac8;};return _0x36aa();}
23
+ const _0x3783=_0x4467;function _0x1f25(){const _0xaf7c7a=['ck-hidden','79697zYGHtI','bind','replaceButton','mainAction','items','AI_','toUpperCase','2257830wkSxQB','addMany','6037675JBsBgO','tryAgainButton','extendTemplate','Stop','80CIvUUy','_CONTENT','3824024piesLV','label','ck-button-action','insertButton','bindTemplate','4623090wQHDKr','79176tLlzRg','locale','_createButton','Insert\x20below','stopButton','16819029AYGDcI','isVisible','set','REPLACE','20AFBOvF','insert','ck-ai-form__toolbar','replace','Try\x20again'];_0x1f25=function(){return _0xaf7c7a;};return _0x1f25();}(function(_0xcfd97b,_0x6a10e1){const _0x3d38dd=_0x4467,_0x450ad0=_0xcfd97b();while(!![]){try{const _0x2c8524=-parseInt(_0x3d38dd(0x129))/0x1*(parseInt(_0x3d38dd(0x123))/0x2)+parseInt(_0x3d38dd(0x10c))/0x3+parseInt(_0x3d38dd(0x11a))/0x4*(parseInt(_0x3d38dd(0x112))/0x5)+-parseInt(_0x3d38dd(0x119))/0x6+-parseInt(_0x3d38dd(0x10e))/0x7+parseInt(_0x3d38dd(0x114))/0x8+parseInt(_0x3d38dd(0x11f))/0x9;if(_0x2c8524===_0x6a10e1)break;else _0x450ad0['push'](_0x450ad0['shift']());}catch(_0x4d4746){_0x450ad0['push'](_0x450ad0['shift']());}}}(_0x1f25,0xf0be8));import{ToolbarView as _0x4c8af0,ButtonView as _0x42212e}from'ckeditor5/src/ui.js';function _0x4467(_0x32acc7,_0x4eb501){const _0x1f2593=_0x1f25();return _0x4467=function(_0x44670f,_0x56d4ae){_0x44670f=_0x44670f-0x109;let _0x3513e0=_0x1f2593[_0x44670f];return _0x3513e0;},_0x4467(_0x32acc7,_0x4eb501);}import{getTranslation as _0x131c08}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3783(0x126),'INSERT':_0x3783(0x124)};export default class at extends _0x4c8af0{constructor(_0x2d674e){const _0x3a4eda=_0x3783;super(_0x2d674e),this[_0x3a4eda(0x121)](_0x3a4eda(0x120),!0x1),this[_0x3a4eda(0x121)](_0x3a4eda(0x12c),AIFormToolbarViewMainActionLabel[_0x3a4eda(0x122)]),this[_0x3a4eda(0x12b)]=this[_0x3a4eda(0x11c)]('',_0x3a4eda(0x116)),this[_0x3a4eda(0x12b)][_0x3a4eda(0x12a)](_0x3a4eda(0x115))['to'](this,_0x3a4eda(0x12c),_0x1c12a2=>_0x131c08(_0x2d674e,_0x3a4eda(0x10a)+_0x1c12a2[_0x3a4eda(0x10b)]()+_0x3a4eda(0x113))),this[_0x3a4eda(0x117)]=this[_0x3a4eda(0x11c)](_0x131c08(_0x2d674e,_0x3a4eda(0x11d))),this[_0x3a4eda(0x10f)]=this[_0x3a4eda(0x11c)](_0x131c08(_0x2d674e,_0x3a4eda(0x127))),this[_0x3a4eda(0x11e)]=this[_0x3a4eda(0x11c)](_0x131c08(_0x2d674e,_0x3a4eda(0x111)));const _0x5b19c9=this[_0x3a4eda(0x118)];this[_0x3a4eda(0x110)]({'attributes':{'class':[_0x3a4eda(0x125),_0x5b19c9['if'](_0x3a4eda(0x120),_0x3a4eda(0x128),_0x29139e=>!_0x29139e)]}}),this[_0x3a4eda(0x109)][_0x3a4eda(0x10d)]([this[_0x3a4eda(0x12b)],this[_0x3a4eda(0x117)],this[_0x3a4eda(0x10f)],this[_0x3a4eda(0x11e)]]);}[_0x3783(0x11c)](_0x3ad544,_0x2ddd54){const _0x86cd22=_0x3783,_0x3d2401=new _0x42212e(this[_0x86cd22(0x11b)]);return _0x3d2401[_0x86cd22(0x121)]({'label':_0x3ad544,'class':_0x2ddd54||'','isVisible':!0x0,'withText':!0x0}),_0x3d2401;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1bf3(){const _0xb6c51c=['render','stopButton','Ask\x20AI\x20to\x20edit\x20or\x20generate','stopProcessing','focusLast','createCollection','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','3233800kKNLwS','reset','copyButtonView','submit','value','shift\x20+\x20tab','66pDKaCC','focusFirst','focusCycler','2730952AOsPZO','_createPromptView','_promptHistory','historyGroupView','27718oZlezG','ck-ai-form','keystrokes','setTemplate','toolbar','startProcessing','focus','REPLACE','ck-ai-form-content','bindTo','isVisible','tryAgainButton','errorView','chain','element','add','prompt','delegate','set','tryAgainEvent','fire','focusTracker','194276CKLQre','_createToolbar','items','_focusables','listenTo','Empty\x20history','12725064stVyMd','AI_ERROR_FAILED','text','replaceButton','ck-hidden','2113464tvqiDw','queryView','fieldView','isProcessing','tab','contentArea','bindTemplate','insertContentBelow','promptView','finishProcessing','isError','clearHistory','label','submitPrompt','replaceContent','526286ZHSFOO','mainAction','locale','25rzKjrw','search','execute','trim','insertButton','_createHistoryView','handleError','bind','div','isEnabled','high','Ask\x20AI\x20to\x20improve\x20generated\x20text','clear'];_0x1bf3=function(){return _0xb6c51c;};return _0x1bf3();}const _0x321bd8=_0x37c4;(function(_0x33af80,_0x27a277){const _0x231f56=_0x37c4,_0x3afd70=_0x33af80();while(!![]){try{const _0x59e578=-parseInt(_0x231f56(0xce))/0x1+parseInt(_0x231f56(0xf2))/0x2*(parseInt(_0x231f56(0xeb))/0x3)+-parseInt(_0x231f56(0x108))/0x4*(-parseInt(_0x231f56(0xd1))/0x5)+-parseInt(_0x231f56(0xbf))/0x6+-parseInt(_0x231f56(0xee))/0x7+-parseInt(_0x231f56(0xe5))/0x8+parseInt(_0x231f56(0x10e))/0x9;if(_0x59e578===_0x27a277)break;else _0x3afd70['push'](_0x3afd70['shift']());}catch(_0x3b216e){_0x3afd70['push'](_0x3afd70['shift']());}}}(_0x1bf3,0x467ec));import{FocusTracker as _0xc43a72,KeystrokeHandler as _0x35ce6e}from'ckeditor5/src/utils.js';import{View as _0x1cc63a,FocusCycler as _0x19defe,createLabeledTextarea as _0x1be4ba}from'ckeditor5/src/ui.js';function _0x37c4(_0x3f9ff6,_0x5b070c){const _0x1bf3bb=_0x1bf3();return _0x37c4=function(_0x37c438,_0x351e5b){_0x37c438=_0x37c438-0xbc;let _0x4e913b=_0x1bf3bb[_0x37c438];return _0x4e913b;},_0x37c4(_0x3f9ff6,_0x5b070c);}import _0x25d9f6,{AIFormToolbarViewMainActionLabel as _0x573053}from'./aiformtoolbarview.js';import _0x52aa23 from'./aiformcontentarea.js';import _0x2063d7 from'./aiformerrorview.js';import _0xd76751 from'./aiformpromptview.js';import _0x31df51 from'./aihistorylistview.js';import _0x2a7743 from'./aihistorylistitemview.js';import _0x330b98 from'./prompthistory.js';import{getTranslation as _0x56a587}from'../../utils/common-translations.js';import{escape as _0x565645}from'lodash-es';export default class K extends _0x1cc63a{constructor(_0x3a37ab,_0x41a428,_0x26dc3f=''){const _0x241074=_0x37c4;super(_0x3a37ab),this[_0x241074(0x104)](_0x241074(0xda),!0x0),this[_0x241074(0x104)](_0x241074(0xc2),!0x1),this[_0x241074(0x104)](_0x241074(0x102),''),this[_0x241074(0x104)](_0x241074(0xe9),''),this[_0x241074(0x104)](_0x241074(0xc9),!0x1),this[_0x241074(0x104)](_0x241074(0xcf),_0x573053[_0x241074(0xf9)]),this[_0x241074(0xf0)]=new _0x330b98(),this[_0x241074(0xfe)]=new _0x2063d7(_0x3a37ab),this[_0x241074(0xc4)]=new _0x52aa23(_0x3a37ab,_0x26dc3f),this[_0x241074(0xc4)][_0x241074(0xd8)](_0x241074(0xc2))['to'](this),this[_0x241074(0xc4)][_0x241074(0xd8)](_0x241074(0xe9))['to'](this),this[_0x241074(0xf6)]=this[_0x241074(0x109)](),this[_0x241074(0xf6)][_0x241074(0xd8)](_0x241074(0xcf))['to'](this),this[_0x241074(0xc7)]=this[_0x241074(0xef)](),this[_0x241074(0x107)]=new _0xc43a72(),this[_0x241074(0xf4)]=new _0x35ce6e(),this[_0x241074(0x10b)]=this[_0x241074(0xe3)]([this[_0x241074(0xc4)],this[_0x241074(0xc4)][_0x241074(0xe7)],this[_0x241074(0xf6)],this[_0x241074(0xc7)]]),this[_0x241074(0xed)]=new _0x19defe({'focusables':this[_0x241074(0x10b)],'focusTracker':this[_0x241074(0x107)],'keystrokeHandler':this[_0x241074(0xf4)],'actions':{'focusPrevious':_0x241074(0xea),'focusNext':_0x241074(0xc3)}}),this[_0x241074(0xed)][_0x241074(0xff)](this[_0x241074(0xc7)][_0x241074(0xed)]),this[_0x241074(0xc7)][_0x241074(0xc0)][_0x241074(0xc1)][_0x241074(0xd8)](_0x241074(0xe9))['to'](this,_0x241074(0x102));const _0x4be535=this[_0x241074(0xc5)];this[_0x241074(0xf5)]({'tag':_0x241074(0xd9),'attributes':{'class':['ck',_0x241074(0xf3),_0x41a428],'tabindex':'-1'},'children':[{'tag':_0x241074(0xd9),'attributes':{'class':['ck',_0x241074(0xfa)]},'children':[{'tag':_0x241074(0xd9),'attributes':{'class':[_0x4be535['if'](_0x241074(0xc9),_0x241074(0xbe),_0x565172=>!_0x565172)]},'children':[this[_0x241074(0xfe)]]},this[_0x241074(0xc4)],this[_0x241074(0xf6)],this[_0x241074(0xc7)]]}]});}[_0x321bd8(0xde)](){const _0x59f6a4=_0x321bd8;super[_0x59f6a4(0xde)](),this[_0x59f6a4(0x107)][_0x59f6a4(0x101)](this[_0x59f6a4(0xc4)][_0x59f6a4(0x100)]),this[_0x59f6a4(0x107)][_0x59f6a4(0x101)](this[_0x59f6a4(0xc4)][_0x59f6a4(0xe7)][_0x59f6a4(0x100)]),this[_0x59f6a4(0x107)][_0x59f6a4(0x101)](this[_0x59f6a4(0xf6)][_0x59f6a4(0x100)]),this[_0x59f6a4(0x107)][_0x59f6a4(0x101)](this[_0x59f6a4(0xc7)][_0x59f6a4(0x100)]),this[_0x59f6a4(0xf4)][_0x59f6a4(0x10c)](this[_0x59f6a4(0x100)]);}[_0x321bd8(0xf8)](_0x1ee1c9=0x1){const _0x23db16=_0x321bd8;-0x1===_0x1ee1c9?this[_0x23db16(0xed)][_0x23db16(0xe2)]():this[_0x23db16(0xed)][_0x23db16(0xec)]();}[_0x321bd8(0xe6)](){const _0x39f4a5=_0x321bd8;this[_0x39f4a5(0x102)]='',this[_0x39f4a5(0xe9)]='',this[_0x39f4a5(0xc9)]=!0x1,this[_0x39f4a5(0xc7)][_0x39f4a5(0xe6)](),this[_0x39f4a5(0xc4)][_0x39f4a5(0xfc)]=!0x1,this[_0x39f4a5(0xf6)][_0x39f4a5(0xfc)]=!0x1;}[_0x321bd8(0xef)](){const _0x95d2c5=_0x321bd8,_0x2641cf=this[_0x95d2c5(0xd0)],_0x4aafe3=new _0xd76751(_0x2641cf,{'queryView':{'label':_0x56a587(_0x2641cf,_0x95d2c5(0xe0)),'creator':_0x1be4ba,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x56a587(_0x2641cf,_0x95d2c5(0x10d)),'secondary':_0x56a587(_0x2641cf,_0x95d2c5(0xe4))}}},'filteredView':this[_0x95d2c5(0xd6)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4aafe3[_0x95d2c5(0xd8)](_0x95d2c5(0xda))['to'](this,_0x95d2c5(0xda),this,_0x95d2c5(0xc2),(_0x4a2335,_0x31d6c4)=>_0x4a2335&&!_0x31d6c4),this[_0x95d2c5(0x10c)](_0x4aafe3,_0x95d2c5(0xe8),(_0x5df40f,_0x2ee436)=>{const _0x4d774f=_0x95d2c5;this[_0x4d774f(0x102)]=_0x2ee436;const _0x27551d=_0x565645(_0x2ee436);this[_0x4d774f(0x106)](_0x4d774f(0xcc),_0x27551d),_0x2ee436[_0x4d774f(0xd4)]()&&this[_0x4d774f(0xf0)][_0x4d774f(0x101)]({'prompt':_0x27551d},0x0);},{'priority':_0x95d2c5(0xdb)}),_0x4aafe3;}[_0x321bd8(0xd6)](){const _0x43ca8c=_0x321bd8,_0x3c6504=new _0x31df51(this[_0x43ca8c(0xd0)]);return _0x3c6504[_0x43ca8c(0xf1)][_0x43ca8c(0x10a)][_0x43ca8c(0xfb)](this[_0x43ca8c(0xf0)])['as'](_0x2a7743),_0x3c6504['on'](_0x43ca8c(0xca),()=>{const _0x52368e=_0x43ca8c;this[_0x52368e(0xf0)][_0x52368e(0xdd)](),this[_0x52368e(0xc7)][_0x52368e(0xd2)](''),this[_0x52368e(0xc7)][_0x52368e(0xf8)]();}),_0x3c6504;}[_0x321bd8(0x109)](){const _0x5e42a2=_0x321bd8,_0x3a2369=new _0x25d9f6(this[_0x5e42a2(0xd0)]);return _0x3a2369[_0x5e42a2(0xbd)][_0x5e42a2(0xd8)](_0x5e42a2(0xda))['to'](this,_0x5e42a2(0xda),this,_0x5e42a2(0xc2),this,_0x5e42a2(0xe9),(_0x382344,_0xd456f0,_0x151078)=>_0x382344&&!_0xd456f0&&!!_0x151078),_0x3a2369[_0x5e42a2(0xbd)][_0x5e42a2(0x103)](_0x5e42a2(0xd3))['to'](this,_0x5e42a2(0xcd)),_0x3a2369[_0x5e42a2(0xd5)][_0x5e42a2(0xd8)](_0x5e42a2(0xda))['to'](this,_0x5e42a2(0xda),this,_0x5e42a2(0xc2),this,_0x5e42a2(0xe9),(_0x117c18,_0x1981cf,_0x1e49fb)=>_0x117c18&&!_0x1981cf&&!!_0x1e49fb),_0x3a2369[_0x5e42a2(0xd5)][_0x5e42a2(0x103)](_0x5e42a2(0xd3))['to'](this,_0x5e42a2(0xc6)),_0x3a2369[_0x5e42a2(0xfd)][_0x5e42a2(0xd8)](_0x5e42a2(0xda))['to'](this,_0x5e42a2(0xda),this,_0x5e42a2(0xc2),(_0x3eea76,_0x2ef283)=>_0x3eea76&&!_0x2ef283),_0x3a2369[_0x5e42a2(0xfd)][_0x5e42a2(0x103)](_0x5e42a2(0xd3))['to'](this,_0x5e42a2(0x105)),_0x3a2369[_0x5e42a2(0xdf)][_0x5e42a2(0xd8)](_0x5e42a2(0xda))['to'](this,_0x5e42a2(0xc2)),_0x3a2369[_0x5e42a2(0xdf)][_0x5e42a2(0x103)](_0x5e42a2(0xd3))['to'](this,_0x5e42a2(0xe1)),_0x3a2369;}[_0x321bd8(0xf7)](){const _0x1a4db4=_0x321bd8;this[_0x1a4db4(0xe9)]='',this[_0x1a4db4(0xc9)]=!0x1,this[_0x1a4db4(0xc2)]=!0x0,this[_0x1a4db4(0xc4)][_0x1a4db4(0xfc)]=!0x0,this[_0x1a4db4(0xf6)][_0x1a4db4(0xfc)]=!0x0,this[_0x1a4db4(0xc4)][_0x1a4db4(0xf8)]();}[_0x321bd8(0xc8)](){const _0x4d6a3c=_0x321bd8,_0x3c73d=this[_0x4d6a3c(0xd0)];this[_0x4d6a3c(0xc2)]=!0x1,this[_0x4d6a3c(0x102)]='',this[_0x4d6a3c(0xc7)][_0x4d6a3c(0xe6)](),this[_0x4d6a3c(0xe9)]&&(this[_0x4d6a3c(0xc7)][_0x4d6a3c(0xc0)][_0x4d6a3c(0xcb)]=_0x56a587(_0x3c73d,_0x4d6a3c(0xdc)));}[_0x321bd8(0xd7)](_0x250906){const _0x2ad8bc=_0x321bd8,_0x3cfe77=this[_0x2ad8bc(0xd0)];this[_0x2ad8bc(0xc8)](),this[_0x2ad8bc(0xc9)]=!0x0,this[_0x2ad8bc(0xfe)][_0x2ad8bc(0xbc)]=_0x250906||_0x56a587(_0x3cfe77,_0x2ad8bc(0x10f)),this[_0x2ad8bc(0xe9)]||(this[_0x2ad8bc(0xc4)][_0x2ad8bc(0xfc)]=!0x1);}}
23
+ const _0x3ff24b=_0x390d;(function(_0x3a449f,_0x272f12){const _0x1cae82=_0x390d,_0x2490f9=_0x3a449f();while(!![]){try{const _0x10079b=parseInt(_0x1cae82(0x171))/0x1+-parseInt(_0x1cae82(0x169))/0x2*(parseInt(_0x1cae82(0x17d))/0x3)+-parseInt(_0x1cae82(0x183))/0x4*(-parseInt(_0x1cae82(0x178))/0x5)+-parseInt(_0x1cae82(0x17b))/0x6+parseInt(_0x1cae82(0x181))/0x7+-parseInt(_0x1cae82(0x179))/0x8+parseInt(_0x1cae82(0x18f))/0x9;if(_0x10079b===_0x272f12)break;else _0x2490f9['push'](_0x2490f9['shift']());}catch(_0x47e961){_0x2490f9['push'](_0x2490f9['shift']());}}}(_0x3bdd,0xacdf4));import{FocusTracker as _0x52cecb,KeystrokeHandler as _0x4e0253}from'ckeditor5/src/utils.js';import{View as _0x3a2f13,FocusCycler as _0x147d21,createLabeledTextarea as _0x4197fd}from'ckeditor5/src/ui.js';function _0x3bdd(){const _0x1ca9c6=['items','queryView','_promptHistory','bind','isProcessing','listenTo','isEnabled','label','locale','value','submit','render','add','startProcessing','insertContentBelow','bindTemplate','focusLast','high','_createPromptView','bindTo','20HoARRS','contentArea','tryAgainButton','tab','clearHistory','ck-hidden','promptView','text','1184883FQymUu','div','AI_ERROR_FAILED','historyGroupView','ck-ai-form','execute','createCollection','10KVmmLS','5542008qfkOfP','stopButton','3766176RxIXmj','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','84789StZdkW','focusCycler','trim','focusFirst','3279360tHazod','handleError','878804EDHobG','copyButtonView','insertButton','focusTracker','setTemplate','Ask\x20AI\x20to\x20edit\x20or\x20generate','ck-ai-form-content','mainAction','Ask\x20AI\x20to\x20improve\x20generated\x20text','reset','toolbar','replaceContent','1965564KNXApu','clear','isVisible','tryAgainEvent','search','stopProcessing','errorView','submitPrompt','keystrokes','fire','fieldView','focus','isError','_focusables','element','_createHistoryView','delegate','_createToolbar','REPLACE','set','shift\x20+\x20tab','chain','finishProcessing','prompt','Empty\x20history','replaceButton'];_0x3bdd=function(){return _0x1ca9c6;};return _0x3bdd();}import _0x49fa11,{AIFormToolbarViewMainActionLabel as _0x27240c}from'./aiformtoolbarview.js';function _0x390d(_0x471964,_0x545427){const _0x3bddc0=_0x3bdd();return _0x390d=function(_0x390dae,_0x1d4657){_0x390dae=_0x390dae-0x160;let _0x298c0b=_0x3bddc0[_0x390dae];return _0x298c0b;},_0x390d(_0x471964,_0x545427);}import _0x5d17c7 from'./aiformcontentarea.js';import _0x1816f2 from'./aiformerrorview.js';import _0x9a91a6 from'./aiformpromptview.js';import _0x38fc35 from'./aihistorylistview.js';import _0x367a92 from'./aihistorylistitemview.js';import _0x194eca from'./prompthistory.js';import{getTranslation as _0x2d655f}from'../../utils/common-translations.js';import{escape as _0x337f7f}from'lodash-es';export default class k extends _0x3a2f13{constructor(_0xdb9b87,_0x5b1356,_0x23ca6f=''){const _0x5e8613=_0x390d;super(_0xdb9b87),this[_0x5e8613(0x1a2)](_0x5e8613(0x1af),!0x0),this[_0x5e8613(0x1a2)](_0x5e8613(0x1ad),!0x1),this[_0x5e8613(0x1a2)](_0x5e8613(0x1a6),''),this[_0x5e8613(0x1a2)](_0x5e8613(0x1b2),''),this[_0x5e8613(0x1a2)](_0x5e8613(0x19b),!0x1),this[_0x5e8613(0x1a2)](_0x5e8613(0x18a),_0x27240c[_0x5e8613(0x1a1)]),this[_0x5e8613(0x1ab)]=new _0x194eca(),this[_0x5e8613(0x195)]=new _0x1816f2(_0xdb9b87),this[_0x5e8613(0x16a)]=new _0x5d17c7(_0xdb9b87,_0x23ca6f),this[_0x5e8613(0x16a)][_0x5e8613(0x1ac)](_0x5e8613(0x1ad))['to'](this),this[_0x5e8613(0x16a)][_0x5e8613(0x1ac)](_0x5e8613(0x1b2))['to'](this),this[_0x5e8613(0x18d)]=this[_0x5e8613(0x1a0)](),this[_0x5e8613(0x18d)][_0x5e8613(0x1ac)](_0x5e8613(0x18a))['to'](this),this[_0x5e8613(0x16f)]=this[_0x5e8613(0x167)](),this[_0x5e8613(0x186)]=new _0x52cecb(),this[_0x5e8613(0x197)]=new _0x4e0253(),this[_0x5e8613(0x19c)]=this[_0x5e8613(0x177)]([this[_0x5e8613(0x16a)],this[_0x5e8613(0x16a)][_0x5e8613(0x184)],this[_0x5e8613(0x18d)],this[_0x5e8613(0x16f)]]),this[_0x5e8613(0x17e)]=new _0x147d21({'focusables':this[_0x5e8613(0x19c)],'focusTracker':this[_0x5e8613(0x186)],'keystrokeHandler':this[_0x5e8613(0x197)],'actions':{'focusPrevious':_0x5e8613(0x1a3),'focusNext':_0x5e8613(0x16c)}}),this[_0x5e8613(0x17e)][_0x5e8613(0x1a4)](this[_0x5e8613(0x16f)][_0x5e8613(0x17e)]),this[_0x5e8613(0x16f)][_0x5e8613(0x1aa)][_0x5e8613(0x199)][_0x5e8613(0x1ac)](_0x5e8613(0x1b2))['to'](this,_0x5e8613(0x1a6));const _0x1dede4=this[_0x5e8613(0x164)];this[_0x5e8613(0x187)]({'tag':_0x5e8613(0x172),'attributes':{'class':['ck',_0x5e8613(0x175),_0x5b1356],'tabindex':'-1'},'children':[{'tag':_0x5e8613(0x172),'attributes':{'class':['ck',_0x5e8613(0x189)]},'children':[{'tag':_0x5e8613(0x172),'attributes':{'class':[_0x1dede4['if'](_0x5e8613(0x19b),_0x5e8613(0x16e),_0x282452=>!_0x282452)]},'children':[this[_0x5e8613(0x195)]]},this[_0x5e8613(0x16a)],this[_0x5e8613(0x18d)],this[_0x5e8613(0x16f)]]}]});}[_0x3ff24b(0x160)](){const _0x5197cc=_0x3ff24b;super[_0x5197cc(0x160)](),this[_0x5197cc(0x186)][_0x5197cc(0x161)](this[_0x5197cc(0x16a)][_0x5197cc(0x19d)]),this[_0x5197cc(0x186)][_0x5197cc(0x161)](this[_0x5197cc(0x16a)][_0x5197cc(0x184)][_0x5197cc(0x19d)]),this[_0x5197cc(0x186)][_0x5197cc(0x161)](this[_0x5197cc(0x18d)][_0x5197cc(0x19d)]),this[_0x5197cc(0x186)][_0x5197cc(0x161)](this[_0x5197cc(0x16f)][_0x5197cc(0x19d)]),this[_0x5197cc(0x197)][_0x5197cc(0x1ae)](this[_0x5197cc(0x19d)]);}[_0x3ff24b(0x19a)](_0x4d30a6=0x1){const _0x16c148=_0x3ff24b;-0x1===_0x4d30a6?this[_0x16c148(0x17e)][_0x16c148(0x165)]():this[_0x16c148(0x17e)][_0x16c148(0x180)]();}[_0x3ff24b(0x18c)](){const _0x45b4cc=_0x3ff24b;this[_0x45b4cc(0x1a6)]='',this[_0x45b4cc(0x1b2)]='',this[_0x45b4cc(0x19b)]=!0x1,this[_0x45b4cc(0x16f)][_0x45b4cc(0x18c)](),this[_0x45b4cc(0x16a)][_0x45b4cc(0x191)]=!0x1,this[_0x45b4cc(0x18d)][_0x45b4cc(0x191)]=!0x1;}[_0x3ff24b(0x167)](){const _0x1c257b=_0x3ff24b,_0x2b81ad=this[_0x1c257b(0x1b1)],_0xe790ee=new _0x9a91a6(_0x2b81ad,{'queryView':{'label':_0x2d655f(_0x2b81ad,_0x1c257b(0x188)),'creator':_0x4197fd,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2d655f(_0x2b81ad,_0x1c257b(0x1a7)),'secondary':_0x2d655f(_0x2b81ad,_0x1c257b(0x17c))}}},'filteredView':this[_0x1c257b(0x19e)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xe790ee[_0x1c257b(0x1ac)](_0x1c257b(0x1af))['to'](this,_0x1c257b(0x1af),this,_0x1c257b(0x1ad),(_0x476b35,_0x416231)=>_0x476b35&&!_0x416231),this[_0x1c257b(0x1ae)](_0xe790ee,_0x1c257b(0x1b3),(_0x5f0800,_0x324566)=>{const _0x4c8080=_0x1c257b;this[_0x4c8080(0x1a6)]=_0x324566;const _0x31a5a5=_0x337f7f(_0x324566);this[_0x4c8080(0x198)](_0x4c8080(0x196),_0x31a5a5),_0x324566[_0x4c8080(0x17f)]()&&this[_0x4c8080(0x1ab)][_0x4c8080(0x161)]({'prompt':_0x31a5a5},0x0);},{'priority':_0x1c257b(0x166)}),_0xe790ee;}[_0x3ff24b(0x19e)](){const _0x2f63c6=_0x3ff24b,_0x14eb3d=new _0x38fc35(this[_0x2f63c6(0x1b1)]);return _0x14eb3d[_0x2f63c6(0x174)][_0x2f63c6(0x1a9)][_0x2f63c6(0x168)](this[_0x2f63c6(0x1ab)])['as'](_0x367a92),_0x14eb3d['on'](_0x2f63c6(0x16d),()=>{const _0x90301=_0x2f63c6;this[_0x90301(0x1ab)][_0x90301(0x190)](),this[_0x90301(0x16f)][_0x90301(0x193)](''),this[_0x90301(0x16f)][_0x90301(0x19a)]();}),_0x14eb3d;}[_0x3ff24b(0x1a0)](){const _0x5dc1e2=_0x3ff24b,_0x752f27=new _0x49fa11(this[_0x5dc1e2(0x1b1)]);return _0x752f27[_0x5dc1e2(0x1a8)][_0x5dc1e2(0x1ac)](_0x5dc1e2(0x1af))['to'](this,_0x5dc1e2(0x1af),this,_0x5dc1e2(0x1ad),this,_0x5dc1e2(0x1b2),(_0x43b24b,_0x47183c,_0x5322df)=>_0x43b24b&&!_0x47183c&&!!_0x5322df),_0x752f27[_0x5dc1e2(0x1a8)][_0x5dc1e2(0x19f)](_0x5dc1e2(0x176))['to'](this,_0x5dc1e2(0x18e)),_0x752f27[_0x5dc1e2(0x185)][_0x5dc1e2(0x1ac)](_0x5dc1e2(0x1af))['to'](this,_0x5dc1e2(0x1af),this,_0x5dc1e2(0x1ad),this,_0x5dc1e2(0x1b2),(_0x54de43,_0xeb054a,_0x34dac7)=>_0x54de43&&!_0xeb054a&&!!_0x34dac7),_0x752f27[_0x5dc1e2(0x185)][_0x5dc1e2(0x19f)](_0x5dc1e2(0x176))['to'](this,_0x5dc1e2(0x163)),_0x752f27[_0x5dc1e2(0x16b)][_0x5dc1e2(0x1ac)](_0x5dc1e2(0x1af))['to'](this,_0x5dc1e2(0x1af),this,_0x5dc1e2(0x1ad),(_0x101d02,_0x48c883)=>_0x101d02&&!_0x48c883),_0x752f27[_0x5dc1e2(0x16b)][_0x5dc1e2(0x19f)](_0x5dc1e2(0x176))['to'](this,_0x5dc1e2(0x192)),_0x752f27[_0x5dc1e2(0x17a)][_0x5dc1e2(0x1ac)](_0x5dc1e2(0x1af))['to'](this,_0x5dc1e2(0x1ad)),_0x752f27[_0x5dc1e2(0x17a)][_0x5dc1e2(0x19f)](_0x5dc1e2(0x176))['to'](this,_0x5dc1e2(0x194)),_0x752f27;}[_0x3ff24b(0x162)](){const _0x27a68b=_0x3ff24b;this[_0x27a68b(0x1b2)]='',this[_0x27a68b(0x19b)]=!0x1,this[_0x27a68b(0x1ad)]=!0x0,this[_0x27a68b(0x16a)][_0x27a68b(0x191)]=!0x0,this[_0x27a68b(0x18d)][_0x27a68b(0x191)]=!0x0,this[_0x27a68b(0x16a)][_0x27a68b(0x19a)]();}[_0x3ff24b(0x1a5)](){const _0x5b9ee6=_0x3ff24b,_0x1868ed=this[_0x5b9ee6(0x1b1)];this[_0x5b9ee6(0x1ad)]=!0x1,this[_0x5b9ee6(0x1a6)]='',this[_0x5b9ee6(0x16f)][_0x5b9ee6(0x18c)](),this[_0x5b9ee6(0x1b2)]&&(this[_0x5b9ee6(0x16f)][_0x5b9ee6(0x1aa)][_0x5b9ee6(0x1b0)]=_0x2d655f(_0x1868ed,_0x5b9ee6(0x18b)));}[_0x3ff24b(0x182)](_0x592a99){const _0x545181=_0x3ff24b,_0x5f0402=this[_0x545181(0x1b1)];this[_0x545181(0x1a5)](),this[_0x545181(0x19b)]=!0x0,this[_0x545181(0x195)][_0x545181(0x170)]=_0x592a99||_0x2d655f(_0x5f0402,_0x545181(0x173)),this[_0x545181(0x1b2)]||(this[_0x545181(0x16a)][_0x545181(0x191)]=!0x1);}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1766e3,_0x6f67e0){const _0x2bcbd7=_0x21ec,_0x42b0dd=_0x1766e3();while(!![]){try{const _0x3aab84=parseInt(_0x2bcbd7(0x105))/0x1*(parseInt(_0x2bcbd7(0x107))/0x2)+parseInt(_0x2bcbd7(0x10b))/0x3*(-parseInt(_0x2bcbd7(0x103))/0x4)+parseInt(_0x2bcbd7(0x101))/0x5*(parseInt(_0x2bcbd7(0x10c))/0x6)+-parseInt(_0x2bcbd7(0x106))/0x7+parseInt(_0x2bcbd7(0x10f))/0x8*(parseInt(_0x2bcbd7(0x100))/0x9)+-parseInt(_0x2bcbd7(0x10e))/0xa+parseInt(_0x2bcbd7(0x108))/0xb;if(_0x3aab84===_0x6f67e0)break;else _0x42b0dd['push'](_0x42b0dd['shift']());}catch(_0x811227){_0x42b0dd['push'](_0x42b0dd['shift']());}}}(_0x36a6,0xedf7e));function _0x21ec(_0x4b7ee6,_0x34cfff){const _0x36a61d=_0x36a6();return _0x21ec=function(_0x21ecca,_0x4e6850){_0x21ecca=_0x21ecca-0x100;let _0x333e7c=_0x36a61d[_0x21ecca];return _0x333e7c;},_0x21ec(_0x4b7ee6,_0x34cfff);}import{ListItemView as _0x290a1a,ButtonView as _0xd1ea56,ButtonLabelView as _0x2f5176}from'ckeditor5/src/ui.js';import{unescape as _0x4988cf}from'lodash-es';function _0x36a6(){const _0x5187ba=['968099sLPfPe','set','fire','278973nkIlcH','3660EugRfE','add','9178850JtWknK','8yJbOdI','children','execute','14299425JhdhwC','14915cnUuLH','locale','64koHzPp','prompt','2RvyfzG','12079151eyipbG','1609588nirbot'];_0x36a6=function(){return _0x5187ba;};return _0x36a6();}export default class hs extends _0x290a1a{constructor(_0x2d231e){const _0x344db0=_0x21ec;super();const _0x2b8bb1=new _0x2f5176(),_0x4bdd49=new _0xd1ea56(this[_0x344db0(0x102)],_0x2b8bb1);this[_0x344db0(0x110)][_0x344db0(0x10d)](_0x4bdd49),_0x4bdd49[_0x344db0(0x109)]({'label':_0x2d231e[_0x344db0(0x104)],'withText':!0x0}),_0x4bdd49['on'](_0x344db0(0x111),()=>{const _0x52a33f=_0x344db0;this[_0x52a33f(0x10a)](_0x52a33f(0x111),{'value':_0x4988cf(_0x2d231e[_0x52a33f(0x104)])});});}}
23
+ (function(_0x1ff169,_0x2e9005){const _0x244bb3=_0xc2f2,_0xcae9cb=_0x1ff169();while(!![]){try{const _0x265ff8=-parseInt(_0x244bb3(0x79))/0x1+-parseInt(_0x244bb3(0x7b))/0x2+parseInt(_0x244bb3(0x76))/0x3+-parseInt(_0x244bb3(0x7e))/0x4+-parseInt(_0x244bb3(0x73))/0x5+parseInt(_0x244bb3(0x80))/0x6*(-parseInt(_0x244bb3(0x81))/0x7)+-parseInt(_0x244bb3(0x78))/0x8*(-parseInt(_0x244bb3(0x7f))/0x9);if(_0x265ff8===_0x2e9005)break;else _0xcae9cb['push'](_0xcae9cb['shift']());}catch(_0x39cc87){_0xcae9cb['push'](_0xcae9cb['shift']());}}}(_0x3197,0xdedef));import{ListItemView as _0x466f14,ButtonView as _0x21d1e8,ButtonLabelView as _0x28f07e}from'ckeditor5/src/ui.js';import{unescape as _0x2aa45a}from'lodash-es';function _0x3197(){const _0x532298=['add','72txqSsP','250553qfCFYQ','locale','90720VkDxcF','execute','fire','4157168RAvlFa','3286548sTkEcR','66LfVUlx','509831LyCpha','prompt','2084915CkfIMc','set','children','539046AstGct'];_0x3197=function(){return _0x532298;};return _0x3197();}function _0xc2f2(_0x9610cc,_0x57b9b6){const _0x31972a=_0x3197();return _0xc2f2=function(_0xc2f21b,_0x4b4f84){_0xc2f21b=_0xc2f21b-0x72;let _0x3a44eb=_0x31972a[_0xc2f21b];return _0x3a44eb;},_0xc2f2(_0x9610cc,_0x57b9b6);}export default class hs extends _0x466f14{constructor(_0x47e461){const _0x36068=_0xc2f2;super();const _0x536db6=new _0x28f07e(),_0x375a0f=new _0x21d1e8(this[_0x36068(0x7a)],_0x536db6);this[_0x36068(0x75)][_0x36068(0x77)](_0x375a0f),_0x375a0f[_0x36068(0x74)]({'label':_0x47e461[_0x36068(0x72)],'withText':!0x0}),_0x375a0f['on'](_0x36068(0x7c),()=>{const _0x53d73c=_0x36068;this[_0x53d73c(0x7d)](_0x53d73c(0x7c),{'value':_0x2aa45a(_0x47e461[_0x53d73c(0x72)])});});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51ed31=_0x835a;function _0x5260(){const _0x23870a=['clearHistoryButton','44794GdOgul','Clear','48017964WlWyAA','delegate','6yfMLOp','_createClearHistoryButton','1744542JxZHOS','items','clearHistory','length','set','1204sWnjae','200NGcoNT','historyGroupView','children','11oJdePE','label','fire','add','603632LeplQE','163225MbJscD','locale','63LnWIjV','filter','Prompt\x20history','2gavyoC','13674170BNonka','execute'];_0x5260=function(){return _0x23870a;};return _0x5260();}(function(_0x4dee0d,_0xd14729){const _0x481492=_0x835a,_0x33e768=_0x4dee0d();while(!![]){try{const _0x1a7eb0=parseInt(_0x481492(0xd6))/0x1*(-parseInt(_0x481492(0xda))/0x2)+-parseInt(_0x481492(0xe0))/0x3+parseInt(_0x481492(0xe6))/0x4*(-parseInt(_0x481492(0xd1))/0x5)+parseInt(_0x481492(0xde))/0x6*(-parseInt(_0x481492(0xe5))/0x7)+parseInt(_0x481492(0xd0))/0x8*(parseInt(_0x481492(0xd3))/0x9)+-parseInt(_0x481492(0xd7))/0xa+-parseInt(_0x481492(0xe9))/0xb*(-parseInt(_0x481492(0xdc))/0xc);if(_0x1a7eb0===_0xd14729)break;else _0x33e768['push'](_0x33e768['shift']());}catch(_0x5b3a8f){_0x33e768['push'](_0x33e768['shift']());}}}(_0x5260,0xdc968));function _0x835a(_0x586f7a,_0x38587b){const _0x5260df=_0x5260();return _0x835a=function(_0x835ac7,_0x12b33c){_0x835ac7=_0x835ac7-0xd0;let _0x2e6c13=_0x5260df[_0x835ac7];return _0x2e6c13;},_0x835a(_0x586f7a,_0x38587b);}import{ListView as _0x4e5082,ListItemGroupView as _0x32766b,ButtonView as _0xd8a644}from'ckeditor5/src/ui.js';import{getTranslation as _0x2ece35}from'../../utils/common-translations.js';export default class rs extends _0x4e5082{constructor(_0xa35a4b){const _0x5e8896=_0x835a;super(_0xa35a4b),this[_0x5e8896(0xd9)]=this[_0x5e8896(0xdf)](),this[_0x5e8896(0xe7)]=new _0x32766b(),this[_0x5e8896(0xe7)][_0x5e8896(0xe8)][_0x5e8896(0xec)](this[_0x5e8896(0xd9)],0x1),this[_0x5e8896(0xe7)][_0x5e8896(0xea)]=_0x2ece35(_0xa35a4b,_0x5e8896(0xd5)),this[_0x5e8896(0xe7)][_0x5e8896(0xe1)][_0x5e8896(0xdd)](_0x5e8896(0xd8))['to'](this),this[_0x5e8896(0xe1)][_0x5e8896(0xec)](this[_0x5e8896(0xe7)]);}[_0x51ed31(0xd4)](){const _0x43a3be=_0x51ed31;let _0x3d9a5e=0x0;for(const _0x1ca7c2 of this[_0x43a3be(0xe1)])_0x3d9a5e+=_0x1ca7c2[_0x43a3be(0xe1)][_0x43a3be(0xe3)];return{'resultsCount':_0x3d9a5e,'totalItemsCount':_0x3d9a5e};}[_0x51ed31(0xdf)](){const _0x40f152=_0x51ed31,_0x47772e=this[_0x40f152(0xd2)],_0x1463da=new _0xd8a644(this[_0x40f152(0xd2)]);return _0x1463da[_0x40f152(0xe4)]({'label':'('+_0x2ece35(_0x47772e,_0x40f152(0xdb))+')','withText':!0x0}),_0x1463da['on'](_0x40f152(0xd8),()=>this[_0x40f152(0xeb)](_0x40f152(0xe2))),_0x1463da;}}
23
+ const _0x43bd10=_0x5ceb;(function(_0x23b739,_0xeff247){const _0x4b0681=_0x5ceb,_0x1a4c1f=_0x23b739();while(!![]){try{const _0x3abb6c=-parseInt(_0x4b0681(0xe4))/0x1+-parseInt(_0x4b0681(0xdd))/0x2*(-parseInt(_0x4b0681(0xe1))/0x3)+-parseInt(_0x4b0681(0xda))/0x4*(-parseInt(_0x4b0681(0xf0))/0x5)+parseInt(_0x4b0681(0xec))/0x6+parseInt(_0x4b0681(0xe6))/0x7+parseInt(_0x4b0681(0xf3))/0x8*(parseInt(_0x4b0681(0xf4))/0x9)+-parseInt(_0x4b0681(0xf1))/0xa*(parseInt(_0x4b0681(0xe9))/0xb);if(_0x3abb6c===_0xeff247)break;else _0x1a4c1f['push'](_0x1a4c1f['shift']());}catch(_0xd5097c){_0x1a4c1f['push'](_0x1a4c1f['shift']());}}}(_0x37ac,0x2a097));function _0x5ceb(_0x16f6db,_0x1b2340){const _0x37ace6=_0x37ac();return _0x5ceb=function(_0x5ceb50,_0x1bc4cf){_0x5ceb50=_0x5ceb50-0xda;let _0x13a3ce=_0x37ace6[_0x5ceb50];return _0x13a3ce;},_0x5ceb(_0x16f6db,_0x1b2340);}import{ListView as _0x59837c,ListItemGroupView as _0x448ac2,ButtonView as _0x6884c8}from'ckeditor5/src/ui.js';function _0x37ac(){const _0x2dc09b=['25OvMLlU','4670140wzclUK','_createClearHistoryButton','24xtbsKD','543447tqKxhx','Clear','96556sIlyJO','length','clearHistory','180298Odbuaf','fire','delegate','Prompt\x20history','6oZPGvt','children','locale','98438wJHzgP','execute','259182JaLmXR','historyGroupView','filter','11fwidHh','add','label','1310802esBhyQ','clearHistoryButton','set','items'];_0x37ac=function(){return _0x2dc09b;};return _0x37ac();}import{getTranslation as _0x5ebe70}from'../../utils/common-translations.js';export default class rs extends _0x59837c{constructor(_0x445547){const _0x5dfff6=_0x5ceb;super(_0x445547),this[_0x5dfff6(0xed)]=this[_0x5dfff6(0xf2)](),this[_0x5dfff6(0xe7)]=new _0x448ac2(),this[_0x5dfff6(0xe7)][_0x5dfff6(0xe2)][_0x5dfff6(0xea)](this[_0x5dfff6(0xed)],0x1),this[_0x5dfff6(0xe7)][_0x5dfff6(0xeb)]=_0x5ebe70(_0x445547,_0x5dfff6(0xe0)),this[_0x5dfff6(0xe7)][_0x5dfff6(0xef)][_0x5dfff6(0xdf)](_0x5dfff6(0xe5))['to'](this),this[_0x5dfff6(0xef)][_0x5dfff6(0xea)](this[_0x5dfff6(0xe7)]);}[_0x43bd10(0xe8)](){const _0x2ab1d5=_0x43bd10;let _0x12cfe2=0x0;for(const _0x3b1ff7 of this[_0x2ab1d5(0xef)])_0x12cfe2+=_0x3b1ff7[_0x2ab1d5(0xef)][_0x2ab1d5(0xdb)];return{'resultsCount':_0x12cfe2,'totalItemsCount':_0x12cfe2};}[_0x43bd10(0xf2)](){const _0x2a0e85=_0x43bd10,_0x2d800a=this[_0x2a0e85(0xe3)],_0x24ee4d=new _0x6884c8(this[_0x2a0e85(0xe3)]);return _0x24ee4d[_0x2a0e85(0xee)]({'label':'('+_0x5ebe70(_0x2d800a,_0x2a0e85(0xf5))+')','withText':!0x0}),_0x24ee4d['on'](_0x2a0e85(0xe5),()=>this[_0x2a0e85(0xde)](_0x2a0e85(0xdc))),_0x24ee4d;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { Collection } from 'ckeditor5/src/utils.js';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d22b2=_0x2169;function _0x5cd9(){const _0x1e8836=['getItem','940614ovXPKw','2srNCeW','parse','add','prompt','length','_loadFromSessionStorage','3005189RldsNF','2991232cyWOpo','CKEditor/AIFormView/PromptHistory','remove','3306085pHnVWW','stringify','3241076igNopR','30bOgKOf','last','6LuQSwf','map','_saveToSessionStorage','2196759VZxMiW','trim','setItem','14xuvpDJ','toLowerCase','addMany','8563077lGUweO'];_0x5cd9=function(){return _0x1e8836;};return _0x5cd9();}(function(_0x4d7674,_0x44f166){const _0x10ba2a=_0x2169,_0x44d967=_0x4d7674();while(!![]){try{const _0x93d53d=-parseInt(_0x10ba2a(0x1e5))/0x1*(-parseInt(_0x10ba2a(0x1e4))/0x2)+parseInt(_0x10ba2a(0x1dc))/0x3+-parseInt(_0x10ba2a(0x1f1))/0x4+parseInt(_0x10ba2a(0x1ef))/0x5*(parseInt(_0x10ba2a(0x1d9))/0x6)+parseInt(_0x10ba2a(0x1df))/0x7*(parseInt(_0x10ba2a(0x1ec))/0x8)+-parseInt(_0x10ba2a(0x1e2))/0x9+-parseInt(_0x10ba2a(0x1d7))/0xa*(parseInt(_0x10ba2a(0x1eb))/0xb);if(_0x93d53d===_0x44f166)break;else _0x44d967['push'](_0x44d967['shift']());}catch(_0x10cacf){_0x44d967['push'](_0x44d967['shift']());}}}(_0x5cd9,0x7a35d));import{Collection as _0x493cac}from'ckeditor5/src/utils.js';const cs=_0x2d22b2(0x1ed);function _0x2169(_0x22f675,_0x144731){const _0x5cd996=_0x5cd9();return _0x2169=function(_0x216984,_0x25768f){_0x216984=_0x216984-0x1d7;let _0x49ee71=_0x5cd996[_0x216984];return _0x49ee71;},_0x2169(_0x22f675,_0x144731);}export default class os extends _0x493cac{constructor(){const _0x31b874=_0x2d22b2;super(),this[_0x31b874(0x1ea)](),this['on'](_0x31b874(0x1e7),(_0x23a2ff,_0x5f27ab)=>{const _0x206181=_0x31b874,_0x6732e5=Ss(_0x5f27ab[_0x206181(0x1e8)]);for(const _0x5d9b3e of this)if(_0x5d9b3e!=_0x5f27ab&&Ss(_0x5d9b3e[_0x206181(0x1e8)])===_0x6732e5){this[_0x206181(0x1ee)](_0x5d9b3e);break;}this[_0x206181(0x1e9)]>0x14&&this[_0x206181(0x1ee)](this[_0x206181(0x1d8)]),this[_0x206181(0x1db)]();}),this['on'](_0x31b874(0x1ee),()=>{const _0x68ba2f=_0x31b874;this[_0x68ba2f(0x1db)]();});}[_0x2d22b2(0x1ea)](){const _0x3eb854=_0x2d22b2,_0x452745=sessionStorage[_0x3eb854(0x1e3)](cs)||'[]';this[_0x3eb854(0x1e1)](JSON[_0x3eb854(0x1e6)](_0x452745));}[_0x2d22b2(0x1db)](){const _0x5cdf96=_0x2d22b2;sessionStorage[_0x5cdf96(0x1de)](cs,JSON[_0x5cdf96(0x1f0)](this[_0x5cdf96(0x1da)](_0x4de816=>_0x4de816)));}}function Ss(_0x46a4fa){const _0x2a3439=_0x2d22b2;return _0x46a4fa[_0x2a3439(0x1e0)]()[_0x2a3439(0x1dd)]();}
23
+ const _0x1dab1c=_0xca63;function _0xca63(_0x587c70,_0x1b6d7c){const _0x340a14=_0x340a();return _0xca63=function(_0xca63c,_0x2e1dfa){_0xca63c=_0xca63c-0xa9;let _0x495be5=_0x340a14[_0xca63c];return _0x495be5;},_0xca63(_0x587c70,_0x1b6d7c);}(function(_0x3a9fa0,_0x4dcf3b){const _0x967f18=_0xca63,_0x1c8149=_0x3a9fa0();while(!![]){try{const _0xf5b68e=-parseInt(_0x967f18(0xbe))/0x1+parseInt(_0x967f18(0xae))/0x2*(-parseInt(_0x967f18(0xaa))/0x3)+-parseInt(_0x967f18(0xc0))/0x4*(-parseInt(_0x967f18(0xb1))/0x5)+parseInt(_0x967f18(0xbc))/0x6+parseInt(_0x967f18(0xc1))/0x7+parseInt(_0x967f18(0xbd))/0x8*(parseInt(_0x967f18(0xb2))/0x9)+-parseInt(_0x967f18(0xac))/0xa;if(_0xf5b68e===_0x4dcf3b)break;else _0x1c8149['push'](_0x1c8149['shift']());}catch(_0x12acf1){_0x1c8149['push'](_0x1c8149['shift']());}}}(_0x340a,0x47c02));import{Collection as _0x12c0e8}from'ckeditor5/src/utils.js';const cs=_0x1dab1c(0xa9);function _0x340a(){const _0x5dd2d9=['map','2068IBHcxT','3885504YjPule','trim','CKEditor/AIFormView/PromptHistory','159531UfHlrV','last','11342410HBVfkF','add','2MREFDW','remove','length','2390LadoZL','39141eWbhHX','stringify','toLowerCase','getItem','prompt','parse','_loadFromSessionStorage','setItem','_saveToSessionStorage','addMany','2063832OrQhTY','840KDtUBH','121507bMiyCs'];_0x340a=function(){return _0x5dd2d9;};return _0x340a();}export default class os extends _0x12c0e8{constructor(){const _0x1356ed=_0x1dab1c;super(),this[_0x1356ed(0xb8)](),this['on'](_0x1356ed(0xad),(_0x43cf2e,_0x3a5388)=>{const _0x2a9314=_0x1356ed,_0x2c4e2c=Ss(_0x3a5388[_0x2a9314(0xb6)]);for(const _0x4285bc of this)if(_0x4285bc!=_0x3a5388&&Ss(_0x4285bc[_0x2a9314(0xb6)])===_0x2c4e2c){this[_0x2a9314(0xaf)](_0x4285bc);break;}this[_0x2a9314(0xb0)]>0x14&&this[_0x2a9314(0xaf)](this[_0x2a9314(0xab)]),this[_0x2a9314(0xba)]();}),this['on'](_0x1356ed(0xaf),()=>{const _0x7401d5=_0x1356ed;this[_0x7401d5(0xba)]();});}[_0x1dab1c(0xb8)](){const _0x3e5b45=_0x1dab1c,_0x14906b=sessionStorage[_0x3e5b45(0xb5)](cs)||'[]';this[_0x3e5b45(0xbb)](JSON[_0x3e5b45(0xb7)](_0x14906b));}[_0x1dab1c(0xba)](){const _0x147224=_0x1dab1c;sessionStorage[_0x147224(0xb9)](cs,JSON[_0x147224(0xb3)](this[_0x147224(0xbf)](_0x213971=>_0x213971)));}}function Ss(_0x208e3d){const _0x36e267=_0x1dab1c;return _0x208e3d[_0x36e267(0xb4)]()[_0x36e267(0xc2)]();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x564013=_0x5d62;(function(_0x317010,_0x39c627){const _0x54be32=_0x5d62,_0x21c2ad=_0x317010();while(!![]){try{const _0x34dd20=parseInt(_0x54be32(0x177))/0x1+parseInt(_0x54be32(0x179))/0x2+parseInt(_0x54be32(0x17b))/0x3+-parseInt(_0x54be32(0x172))/0x4*(parseInt(_0x54be32(0x16d))/0x5)+-parseInt(_0x54be32(0x187))/0x6+-parseInt(_0x54be32(0x178))/0x7*(-parseInt(_0x54be32(0x173))/0x8)+-parseInt(_0x54be32(0x192))/0x9*(parseInt(_0x54be32(0x18c))/0xa);if(_0x34dd20===_0x39c627)break;else _0x21c2ad['push'](_0x21c2ad['shift']());}catch(_0x1ac7b2){_0x21c2ad['push'](_0x21c2ad['shift']());}}}(_0xccce,0x2d01a));import{Command as _0x544303}from'ckeditor5/src/core.js';import _0x71cbe2 from'../aiassistantui.js';function _0x5d62(_0x357691,_0x50025b){const _0xccce92=_0xccce();return _0x5d62=function(_0x5d626e,_0xee87ef){_0x5d626e=_0x5d626e-0x16a;let _0x409635=_0xccce92[_0x5d626e];return _0x409635;},_0x5d62(_0x357691,_0x50025b);}export default class y extends _0x544303{constructor(_0x3deee2,_0x374c77){const _0x342c0d=_0x5d62;super(_0x3deee2),this[_0x342c0d(0x194)]=_0x374c77,this[_0x342c0d(0x189)](_0x342c0d(0x16e),[]),this['on'](_0x342c0d(0x17e),(_0x6d6f47,_0x5243ae,_0x48797a)=>{const _0x465567=_0x342c0d;this[_0x465567(0x188)]&&(this[_0x465567(0x16e)]=G(this[_0x465567(0x194)],_0x48797a));}),this[_0x342c0d(0x189)](_0x342c0d(0x17c),!0x1),this['on'](_0x342c0d(0x195),(_0x37c3df,_0x1de499,_0x2160c7)=>{const _0x3c6897=_0x342c0d;this[_0x3c6897(0x16e)]=_0x2160c7?G(this[_0x3c6897(0x194)],this[_0x3c6897(0x17c)]):[];});}[_0x564013(0x182)](){const _0x18cb30=_0x564013,_0x2d2988=this[_0x18cb30(0x174)][_0x18cb30(0x16f)];this[_0x18cb30(0x17c)]=function(_0x4393de){const _0x553cf3=_0x18cb30,_0x57dd3c=_0x4393de[_0x553cf3(0x16c)][_0x553cf3(0x181)];return _0x57dd3c[_0x553cf3(0x180)]?0x0!==[..._0x57dd3c[_0x553cf3(0x18a)]()][_0x553cf3(0x171)]&&![..._0x57dd3c[_0x553cf3(0x18a)]()][0x0][_0x553cf3(0x185)]:!!_0x4393de[_0x553cf3(0x186)](_0x57dd3c[_0x553cf3(0x18f)]());}(_0x2d2988);const _0x3c1d8e=_0x2d2988[_0x18cb30(0x16c)][_0x18cb30(0x181)],_0x297b2e=this[_0x18cb30(0x174)][_0x18cb30(0x18e)][_0x18cb30(0x17d)](_0x18cb30(0x191));for(const _0x5848af of _0x3c1d8e[_0x18cb30(0x184)]())for(const _0x33999e of _0x5848af[_0x18cb30(0x170)]())if(_0x33999e['is'](_0x18cb30(0x17f))&&_0x297b2e[_0x18cb30(0x16b)](_0x33999e[_0x18cb30(0x175)]))return void(this[_0x18cb30(0x188)]=!0x1);this[_0x18cb30(0x188)]=!0x0;}[_0x564013(0x18d)](_0xcb55b2='',_0x29e271='',_0x51a207=_0x564013(0x17a)){const _0x2d646a=_0x564013;this[_0x2d646a(0x174)][_0x2d646a(0x190)][_0x2d646a(0x17d)](_0x71cbe2)[_0x2d646a(0x18b)](_0xcb55b2,_0x29e271,_0x51a207);}}function G(_0x4d38dc,_0x31147b){const _0x9c281=_0x564013,_0x61d374=new Set();for(const _0x45e91d of _0x4d38dc[_0x9c281(0x16a)]())(_0x31147b||!0x1===_0x45e91d[_0x9c281(0x193)])&&_0x61d374[_0x9c281(0x183)](_0x45e91d['id']);return Array[_0x9c281(0x176)](_0x61d374);}function _0xccce(){const _0x3c9f34=['504676sCVosv','custom','730158QqTyve','_hasContext','get','change:_hasContext','element','isCollapsed','selection','refresh','add','getRanges','isEmpty','hasContent','609294dCATmJ','isEnabled','set','getSelectedBlocks','showUI','1447040MBTZoE','execute','config','getFirstRange','plugins','ai.aiAssistant.disabledElements','27OPUApH','requiresContent','_commandDefinitions','change:isEnabled','values','includes','document','705dvdEyl','enabledCommandsIds','model','getItems','length','10084KKWeab','16vRqKuN','editor','name','from','262150AZFocc','1111579ZxuBIq'];_0xccce=function(){return _0x3c9f34;};return _0xccce();}
23
+ function _0x2769(_0x462a90,_0x4eefb8){const _0x22bf6a=_0x22bf();return _0x2769=function(_0x2769b7,_0x3497a3){_0x2769b7=_0x2769b7-0x74;let _0x550224=_0x22bf6a[_0x2769b7];return _0x550224;},_0x2769(_0x462a90,_0x4eefb8);}const _0x2c3abd=_0x2769;(function(_0x5f4b53,_0x2beafd){const _0x3d6ad5=_0x2769,_0x8e2916=_0x5f4b53();while(!![]){try{const _0x439948=parseInt(_0x3d6ad5(0x79))/0x1+parseInt(_0x3d6ad5(0x93))/0x2+parseInt(_0x3d6ad5(0x7e))/0x3*(parseInt(_0x3d6ad5(0x74))/0x4)+parseInt(_0x3d6ad5(0x95))/0x5+-parseInt(_0x3d6ad5(0x7f))/0x6*(parseInt(_0x3d6ad5(0x82))/0x7)+-parseInt(_0x3d6ad5(0x8a))/0x8*(-parseInt(_0x3d6ad5(0x83))/0x9)+parseInt(_0x3d6ad5(0x9e))/0xa*(-parseInt(_0x3d6ad5(0x91))/0xb);if(_0x439948===_0x2beafd)break;else _0x8e2916['push'](_0x8e2916['shift']());}catch(_0x2cb53c){_0x8e2916['push'](_0x8e2916['shift']());}}}(_0x22bf,0xdda65));import{Command as _0x125163}from'ckeditor5/src/core.js';import _0x50bca8 from'../aiassistantui.js';export default class E extends _0x125163{constructor(_0x3f1917,_0x58a379){const _0x30033d=_0x2769;super(_0x3f1917),this[_0x30033d(0x92)]=_0x58a379,this[_0x30033d(0x97)](_0x30033d(0x76),[]),this['on'](_0x30033d(0x85),(_0x19b0fb,_0xd59234,_0x318fb0)=>{const _0x1fb00e=_0x30033d;this[_0x1fb00e(0x9d)]&&(this[_0x1fb00e(0x76)]=G(this[_0x1fb00e(0x92)],_0x318fb0));}),this[_0x30033d(0x97)](_0x30033d(0x7c),!0x1),this['on'](_0x30033d(0x7a),(_0x23e2cb,_0xdc0fb0,_0x34d8c3)=>{const _0x35cb96=_0x30033d;this[_0x35cb96(0x76)]=_0x34d8c3?G(this[_0x35cb96(0x92)],this[_0x35cb96(0x7c)]):[];});}[_0x2c3abd(0x7b)](){const _0x10e392=_0x2c3abd,_0x1ccad1=this[_0x10e392(0x8f)][_0x10e392(0x80)];this[_0x10e392(0x7c)]=function(_0x3b35a0){const _0x5b7076=_0x10e392,_0x383f24=_0x3b35a0[_0x5b7076(0x86)][_0x5b7076(0x8e)];return _0x383f24[_0x5b7076(0x9c)]?0x0!==[..._0x383f24[_0x5b7076(0x8d)]()][_0x5b7076(0x90)]&&![..._0x383f24[_0x5b7076(0x8d)]()][0x0][_0x5b7076(0x9f)]:!!_0x3b35a0[_0x5b7076(0x81)](_0x383f24[_0x5b7076(0x99)]());}(_0x1ccad1);const _0x25c939=_0x1ccad1[_0x10e392(0x86)][_0x10e392(0x8e)],_0x194223=this[_0x10e392(0x8f)][_0x10e392(0x88)][_0x10e392(0x96)](_0x10e392(0x89));for(const _0xd16095 of _0x25c939[_0x10e392(0x98)]())for(const _0x286b69 of _0xd16095[_0x10e392(0x94)]())if(_0x286b69['is'](_0x10e392(0x9a))&&_0x194223[_0x10e392(0x84)](_0x286b69[_0x10e392(0xa0)]))return void(this[_0x10e392(0x9d)]=!0x1);this[_0x10e392(0x9d)]=!0x0;}[_0x2c3abd(0x7d)](_0x59d711='',_0x370a2d='',_0x13370d=_0x2c3abd(0x8b)){const _0x5c0eb9=_0x2c3abd;this[_0x5c0eb9(0x8f)][_0x5c0eb9(0x77)][_0x5c0eb9(0x96)](_0x50bca8)[_0x5c0eb9(0x8c)](_0x59d711,_0x370a2d,_0x13370d);}}function _0x22bf(){const _0x370a1e=['isEmpty','name','3296752KVBVwQ','values','enabledCommandsIds','plugins','add','935940ZhHMjO','change:isEnabled','refresh','_hasContext','execute','3qCQIxL','5142sZJcBt','model','hasContent','3829vkSJRk','9JnezCo','includes','change:_hasContext','document','from','config','ai.aiAssistant.disabledElements','536104zCQFfl','custom','showUI','getSelectedBlocks','selection','editor','length','11MSaafq','_commandDefinitions','3317270ExnAjF','getItems','5747945YeadfB','get','set','getRanges','getFirstRange','element','requiresContent','isCollapsed','isEnabled','32587090SOQWJP'];_0x22bf=function(){return _0x370a1e;};return _0x22bf();}function G(_0x3eaf71,_0x5932e5){const _0x3ad81e=_0x2c3abd,_0x370007=new Set();for(const _0x91c7d9 of _0x3eaf71[_0x3ad81e(0x75)]())(_0x5932e5||!0x1===_0x91c7d9[_0x3ad81e(0x9b)])&&_0x370007[_0x3ad81e(0x78)](_0x91c7d9['id']);return Array[_0x3ad81e(0x87)](_0x370007);}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4e0180,_0x4c75bc,_0x3edd56){const t=_0x4e0180['t'];switch(_0x4c75bc){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',_0x3edd56);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3edd56);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'},_0x3edd56);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 _0x4c75bc;}}
23
+ export function getTranslation(_0x2eb193,_0x24df78,_0x34376b){const t=_0x2eb193['t'];switch(_0x24df78){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',_0x34376b);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x34376b);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'},_0x34376b);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 _0x24df78;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x4fb082,_0x155b73){const _0x19e187=(0x0,_0x155b73['t'])('Other');return _0x4fb082['length']?'groupId'in _0x4fb082[0x0]?_0x4fb082:[{'groupId':'_ungrouppedCommands','groupLabel':_0x19e187,'order':0x1/0x0,'commands':_0x4fb082}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x19e187,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x49c5c6,_0x4fa8de){const _0x3ab001=(0x0,_0x4fa8de['t'])('Other');return _0x49c5c6['length']?'groupId'in _0x49c5c6[0x0]?_0x49c5c6:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3ab001,'order':0x1/0x0,'commands':_0x49c5c6}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3ab001,'order':0x1/0x0,'commands':[]}];}
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
package/theme/ai-form.css CHANGED
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
package/theme/ai.css CHANGED
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -1,60 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module ai/adapters/aiadapter
11
- * @publicApi
12
- */
13
- import { Plugin } from 'ckeditor5/src/core.js';
14
- import type AITextAdapter from './aitextadapter.js';
15
- /**
16
- * Main adapter plugin that is a common interface between AI features and AI adapters.
17
- *
18
- * Various AI features require to make calls to AI services. On the other hand, there are various AI adapters that can be
19
- * loaded, which provide access to different AI service providers.
20
- *
21
- * `AIAdapter` brings both parties together. Features use the `AIAdapter` API that is known to them. On the other hand, a concrete adapter
22
- * implementation can inject itself into `AIAdapter`. This way features and adapters are decoupled.
23
- *
24
- * For example:
25
- *
26
- * * `AIAssistant` feature needs to make text AI requests, so it uses `AIAdapter#textAdapter`.
27
- * * `OpenAITextAdapter` plugin, when loaded, sets itself as `AIAdapter#textAdapter`, so features can use it.
28
- */
29
- export default class AIAdapter extends Plugin {
30
- /**
31
- * The instance of the loaded AI text adapter instance.
32
- *
33
- * The adapter is provided by a different plugin that has to be additionally loaded.
34
- */
35
- textAdapter: AITextAdapter;
36
- /**
37
- * @inheritDoc
38
- */
39
- static get pluginName(): "AIAdapter";
40
- /**
41
- * @inheritDoc
42
- */
43
- static get isOfficialPlugin(): true;
44
- /**
45
- * @inheritDoc
46
- */
47
- static get isPremiumPlugin(): true;
48
- /**
49
- * @inheritDoc
50
- */
51
- afterInit(): void;
52
- }
53
- /**
54
- * Error which may be thrown by various AI adapters.
55
- *
56
- * When this error is thrown it should be handled by the feature which used the adapter.
57
- */
58
- export declare class AIRequestError extends Error {
59
- constructor(message: string);
60
- }