@ckeditor/ckeditor5-ai 47.3.0 → 47.4.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 (701) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/ai.js +3 -3
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/ast.js +1 -1
  7. package/build/translations/az.js +1 -1
  8. package/build/translations/be.js +1 -1
  9. package/build/translations/bg.js +1 -1
  10. package/build/translations/bn.js +1 -1
  11. package/build/translations/bs.js +1 -1
  12. package/build/translations/ca.js +1 -1
  13. package/build/translations/cs.js +1 -1
  14. package/build/translations/da.js +1 -1
  15. package/build/translations/de-ch.js +1 -1
  16. package/build/translations/de.js +1 -1
  17. package/build/translations/el.js +1 -1
  18. package/build/translations/en-au.js +1 -1
  19. package/build/translations/en-gb.js +1 -1
  20. package/build/translations/eo.js +1 -1
  21. package/build/translations/es-co.js +1 -1
  22. package/build/translations/es.js +1 -1
  23. package/build/translations/et.js +1 -1
  24. package/build/translations/eu.js +1 -1
  25. package/build/translations/fa.js +1 -1
  26. package/build/translations/fi.js +1 -1
  27. package/build/translations/fr.js +1 -1
  28. package/build/translations/gl.js +1 -1
  29. package/build/translations/gu.js +1 -1
  30. package/build/translations/he.js +1 -1
  31. package/build/translations/hi.js +1 -1
  32. package/build/translations/hr.js +1 -1
  33. package/build/translations/hu.js +1 -1
  34. package/build/translations/hy.js +1 -1
  35. package/build/translations/id.js +1 -1
  36. package/build/translations/it.js +1 -1
  37. package/build/translations/ja.js +1 -1
  38. package/build/translations/jv.js +1 -1
  39. package/build/translations/kk.js +1 -1
  40. package/build/translations/km.js +1 -1
  41. package/build/translations/kn.js +1 -1
  42. package/build/translations/ko.js +1 -1
  43. package/build/translations/ku.js +1 -1
  44. package/build/translations/lt.js +1 -1
  45. package/build/translations/lv.js +1 -1
  46. package/build/translations/ms.js +1 -1
  47. package/build/translations/nb.js +1 -1
  48. package/build/translations/ne.js +1 -1
  49. package/build/translations/nl.js +1 -1
  50. package/build/translations/no.js +1 -1
  51. package/build/translations/oc.js +1 -1
  52. package/build/translations/pl.js +1 -1
  53. package/build/translations/pt-br.js +1 -1
  54. package/build/translations/pt.js +1 -1
  55. package/build/translations/ro.js +1 -1
  56. package/build/translations/ru.js +1 -1
  57. package/build/translations/si.js +1 -1
  58. package/build/translations/sk.js +1 -1
  59. package/build/translations/sl.js +1 -1
  60. package/build/translations/sq.js +1 -1
  61. package/build/translations/sr-latn.js +1 -1
  62. package/build/translations/sr.js +1 -1
  63. package/build/translations/sv.js +1 -1
  64. package/build/translations/th.js +1 -1
  65. package/build/translations/ti.js +1 -1
  66. package/build/translations/tk.js +1 -1
  67. package/build/translations/tr.js +1 -1
  68. package/build/translations/tt.js +1 -1
  69. package/build/translations/ug.js +1 -1
  70. package/build/translations/uk.js +1 -1
  71. package/build/translations/ur.js +1 -1
  72. package/build/translations/uz.js +1 -1
  73. package/build/translations/vi.js +1 -1
  74. package/build/translations/zh-cn.js +1 -1
  75. package/build/translations/zh.js +1 -1
  76. package/dist/index-content.css +1 -1
  77. package/dist/index-editor.css +67 -4
  78. package/dist/index.css +117 -54
  79. package/dist/index.js +6 -6
  80. package/dist/translations/af.d.ts +1 -1
  81. package/dist/translations/af.js +2 -2
  82. package/dist/translations/af.umd.js +2 -2
  83. package/dist/translations/ar.d.ts +1 -1
  84. package/dist/translations/ar.js +2 -2
  85. package/dist/translations/ar.umd.js +2 -2
  86. package/dist/translations/ast.d.ts +1 -1
  87. package/dist/translations/ast.js +2 -2
  88. package/dist/translations/ast.umd.js +2 -2
  89. package/dist/translations/az.d.ts +1 -1
  90. package/dist/translations/az.js +2 -2
  91. package/dist/translations/az.umd.js +2 -2
  92. package/dist/translations/be.d.ts +1 -1
  93. package/dist/translations/be.js +2 -2
  94. package/dist/translations/be.umd.js +2 -2
  95. package/dist/translations/bg.d.ts +1 -1
  96. package/dist/translations/bg.js +2 -2
  97. package/dist/translations/bg.umd.js +2 -2
  98. package/dist/translations/bn.d.ts +1 -1
  99. package/dist/translations/bn.js +2 -2
  100. package/dist/translations/bn.umd.js +2 -2
  101. package/dist/translations/bs.d.ts +1 -1
  102. package/dist/translations/bs.js +2 -2
  103. package/dist/translations/bs.umd.js +2 -2
  104. package/dist/translations/ca.d.ts +1 -1
  105. package/dist/translations/ca.js +2 -2
  106. package/dist/translations/ca.umd.js +2 -2
  107. package/dist/translations/cs.d.ts +1 -1
  108. package/dist/translations/cs.js +2 -2
  109. package/dist/translations/cs.umd.js +2 -2
  110. package/dist/translations/da.d.ts +1 -1
  111. package/dist/translations/da.js +2 -2
  112. package/dist/translations/da.umd.js +2 -2
  113. package/dist/translations/de-ch.d.ts +1 -1
  114. package/dist/translations/de-ch.js +2 -2
  115. package/dist/translations/de-ch.umd.js +2 -2
  116. package/dist/translations/de.d.ts +1 -1
  117. package/dist/translations/de.js +2 -2
  118. package/dist/translations/de.umd.js +2 -2
  119. package/dist/translations/el.d.ts +1 -1
  120. package/dist/translations/el.js +2 -2
  121. package/dist/translations/el.umd.js +2 -2
  122. package/dist/translations/en-au.d.ts +1 -1
  123. package/dist/translations/en-au.js +2 -2
  124. package/dist/translations/en-au.umd.js +2 -2
  125. package/dist/translations/en-gb.d.ts +1 -1
  126. package/dist/translations/en-gb.js +2 -2
  127. package/dist/translations/en-gb.umd.js +2 -2
  128. package/dist/translations/en.d.ts +1 -1
  129. package/dist/translations/en.js +2 -2
  130. package/dist/translations/en.umd.js +2 -2
  131. package/dist/translations/eo.d.ts +1 -1
  132. package/dist/translations/eo.js +2 -2
  133. package/dist/translations/eo.umd.js +2 -2
  134. package/dist/translations/es-co.d.ts +1 -1
  135. package/dist/translations/es-co.js +2 -2
  136. package/dist/translations/es-co.umd.js +2 -2
  137. package/dist/translations/es.d.ts +1 -1
  138. package/dist/translations/es.js +2 -2
  139. package/dist/translations/es.umd.js +2 -2
  140. package/dist/translations/et.d.ts +1 -1
  141. package/dist/translations/et.js +2 -2
  142. package/dist/translations/et.umd.js +2 -2
  143. package/dist/translations/eu.d.ts +1 -1
  144. package/dist/translations/eu.js +2 -2
  145. package/dist/translations/eu.umd.js +2 -2
  146. package/dist/translations/fa.d.ts +1 -1
  147. package/dist/translations/fa.js +2 -2
  148. package/dist/translations/fa.umd.js +2 -2
  149. package/dist/translations/fi.d.ts +1 -1
  150. package/dist/translations/fi.js +2 -2
  151. package/dist/translations/fi.umd.js +2 -2
  152. package/dist/translations/fr.d.ts +1 -1
  153. package/dist/translations/fr.js +2 -2
  154. package/dist/translations/fr.umd.js +2 -2
  155. package/dist/translations/gl.d.ts +1 -1
  156. package/dist/translations/gl.js +2 -2
  157. package/dist/translations/gl.umd.js +2 -2
  158. package/dist/translations/gu.d.ts +1 -1
  159. package/dist/translations/gu.js +2 -2
  160. package/dist/translations/gu.umd.js +2 -2
  161. package/dist/translations/he.d.ts +1 -1
  162. package/dist/translations/he.js +2 -2
  163. package/dist/translations/he.umd.js +2 -2
  164. package/dist/translations/hi.d.ts +1 -1
  165. package/dist/translations/hi.js +2 -2
  166. package/dist/translations/hi.umd.js +2 -2
  167. package/dist/translations/hr.d.ts +1 -1
  168. package/dist/translations/hr.js +2 -2
  169. package/dist/translations/hr.umd.js +2 -2
  170. package/dist/translations/hu.d.ts +1 -1
  171. package/dist/translations/hu.js +2 -2
  172. package/dist/translations/hu.umd.js +2 -2
  173. package/dist/translations/hy.d.ts +1 -1
  174. package/dist/translations/hy.js +2 -2
  175. package/dist/translations/hy.umd.js +2 -2
  176. package/dist/translations/id.d.ts +1 -1
  177. package/dist/translations/id.js +2 -2
  178. package/dist/translations/id.umd.js +2 -2
  179. package/dist/translations/it.d.ts +1 -1
  180. package/dist/translations/it.js +2 -2
  181. package/dist/translations/it.umd.js +2 -2
  182. package/dist/translations/ja.d.ts +1 -1
  183. package/dist/translations/ja.js +2 -2
  184. package/dist/translations/ja.umd.js +2 -2
  185. package/dist/translations/jv.d.ts +1 -1
  186. package/dist/translations/jv.js +2 -2
  187. package/dist/translations/jv.umd.js +2 -2
  188. package/dist/translations/kk.d.ts +1 -1
  189. package/dist/translations/kk.js +2 -2
  190. package/dist/translations/kk.umd.js +2 -2
  191. package/dist/translations/km.d.ts +1 -1
  192. package/dist/translations/km.js +2 -2
  193. package/dist/translations/km.umd.js +2 -2
  194. package/dist/translations/kn.d.ts +1 -1
  195. package/dist/translations/kn.js +2 -2
  196. package/dist/translations/kn.umd.js +2 -2
  197. package/dist/translations/ko.d.ts +1 -1
  198. package/dist/translations/ko.js +2 -2
  199. package/dist/translations/ko.umd.js +2 -2
  200. package/dist/translations/ku.d.ts +1 -1
  201. package/dist/translations/ku.js +2 -2
  202. package/dist/translations/ku.umd.js +2 -2
  203. package/dist/translations/lt.d.ts +1 -1
  204. package/dist/translations/lt.js +2 -2
  205. package/dist/translations/lt.umd.js +2 -2
  206. package/dist/translations/lv.d.ts +1 -1
  207. package/dist/translations/lv.js +2 -2
  208. package/dist/translations/lv.umd.js +2 -2
  209. package/dist/translations/ms.d.ts +1 -1
  210. package/dist/translations/ms.js +2 -2
  211. package/dist/translations/ms.umd.js +2 -2
  212. package/dist/translations/nb.d.ts +1 -1
  213. package/dist/translations/nb.js +2 -2
  214. package/dist/translations/nb.umd.js +2 -2
  215. package/dist/translations/ne.d.ts +1 -1
  216. package/dist/translations/ne.js +2 -2
  217. package/dist/translations/ne.umd.js +2 -2
  218. package/dist/translations/nl.d.ts +1 -1
  219. package/dist/translations/nl.js +2 -2
  220. package/dist/translations/nl.umd.js +2 -2
  221. package/dist/translations/no.d.ts +1 -1
  222. package/dist/translations/no.js +2 -2
  223. package/dist/translations/no.umd.js +2 -2
  224. package/dist/translations/oc.d.ts +1 -1
  225. package/dist/translations/oc.js +2 -2
  226. package/dist/translations/oc.umd.js +2 -2
  227. package/dist/translations/pl.d.ts +1 -1
  228. package/dist/translations/pl.js +2 -2
  229. package/dist/translations/pl.umd.js +2 -2
  230. package/dist/translations/pt-br.d.ts +1 -1
  231. package/dist/translations/pt-br.js +2 -2
  232. package/dist/translations/pt-br.umd.js +2 -2
  233. package/dist/translations/pt.d.ts +1 -1
  234. package/dist/translations/pt.js +2 -2
  235. package/dist/translations/pt.umd.js +2 -2
  236. package/dist/translations/ro.d.ts +1 -1
  237. package/dist/translations/ro.js +2 -2
  238. package/dist/translations/ro.umd.js +2 -2
  239. package/dist/translations/ru.d.ts +1 -1
  240. package/dist/translations/ru.js +2 -2
  241. package/dist/translations/ru.umd.js +2 -2
  242. package/dist/translations/si.d.ts +1 -1
  243. package/dist/translations/si.js +2 -2
  244. package/dist/translations/si.umd.js +2 -2
  245. package/dist/translations/sk.d.ts +1 -1
  246. package/dist/translations/sk.js +2 -2
  247. package/dist/translations/sk.umd.js +2 -2
  248. package/dist/translations/sl.d.ts +1 -1
  249. package/dist/translations/sl.js +2 -2
  250. package/dist/translations/sl.umd.js +2 -2
  251. package/dist/translations/sq.d.ts +1 -1
  252. package/dist/translations/sq.js +2 -2
  253. package/dist/translations/sq.umd.js +2 -2
  254. package/dist/translations/sr-latn.d.ts +1 -1
  255. package/dist/translations/sr-latn.js +2 -2
  256. package/dist/translations/sr-latn.umd.js +2 -2
  257. package/dist/translations/sr.d.ts +1 -1
  258. package/dist/translations/sr.js +2 -2
  259. package/dist/translations/sr.umd.js +2 -2
  260. package/dist/translations/sv.d.ts +1 -1
  261. package/dist/translations/sv.js +2 -2
  262. package/dist/translations/sv.umd.js +2 -2
  263. package/dist/translations/th.d.ts +1 -1
  264. package/dist/translations/th.js +2 -2
  265. package/dist/translations/th.umd.js +2 -2
  266. package/dist/translations/ti.d.ts +1 -1
  267. package/dist/translations/ti.js +2 -2
  268. package/dist/translations/ti.umd.js +2 -2
  269. package/dist/translations/tk.d.ts +1 -1
  270. package/dist/translations/tk.js +2 -2
  271. package/dist/translations/tk.umd.js +2 -2
  272. package/dist/translations/tr.d.ts +1 -1
  273. package/dist/translations/tr.js +2 -2
  274. package/dist/translations/tr.umd.js +2 -2
  275. package/dist/translations/tt.d.ts +1 -1
  276. package/dist/translations/tt.js +2 -2
  277. package/dist/translations/tt.umd.js +2 -2
  278. package/dist/translations/ug.d.ts +1 -1
  279. package/dist/translations/ug.js +2 -2
  280. package/dist/translations/ug.umd.js +2 -2
  281. package/dist/translations/uk.d.ts +1 -1
  282. package/dist/translations/uk.js +2 -2
  283. package/dist/translations/uk.umd.js +2 -2
  284. package/dist/translations/ur.d.ts +1 -1
  285. package/dist/translations/ur.js +2 -2
  286. package/dist/translations/ur.umd.js +2 -2
  287. package/dist/translations/uz.d.ts +1 -1
  288. package/dist/translations/uz.js +2 -2
  289. package/dist/translations/uz.umd.js +2 -2
  290. package/dist/translations/vi.d.ts +1 -1
  291. package/dist/translations/vi.js +2 -2
  292. package/dist/translations/vi.umd.js +2 -2
  293. package/dist/translations/zh-cn.d.ts +1 -1
  294. package/dist/translations/zh-cn.js +2 -2
  295. package/dist/translations/zh-cn.umd.js +2 -2
  296. package/dist/translations/zh.d.ts +1 -1
  297. package/dist/translations/zh.js +2 -2
  298. package/dist/translations/zh.umd.js +2 -2
  299. package/lang/contexts.json +0 -11
  300. package/lang/translations/af.po +1 -45
  301. package/lang/translations/ar.po +1 -45
  302. package/lang/translations/ast.po +1 -45
  303. package/lang/translations/az.po +1 -45
  304. package/lang/translations/be.po +1 -45
  305. package/lang/translations/bg.po +1 -45
  306. package/lang/translations/bn.po +1 -45
  307. package/lang/translations/bs.po +1 -45
  308. package/lang/translations/ca.po +1 -45
  309. package/lang/translations/cs.po +1 -45
  310. package/lang/translations/da.po +1 -45
  311. package/lang/translations/de-ch.po +1 -45
  312. package/lang/translations/de.po +1 -45
  313. package/lang/translations/el.po +1 -45
  314. package/lang/translations/en-au.po +1 -45
  315. package/lang/translations/en-gb.po +1 -45
  316. package/lang/translations/en.po +1 -45
  317. package/lang/translations/eo.po +1 -45
  318. package/lang/translations/es-co.po +1 -45
  319. package/lang/translations/es.po +1 -45
  320. package/lang/translations/et.po +1 -45
  321. package/lang/translations/eu.po +1 -45
  322. package/lang/translations/fa.po +1 -45
  323. package/lang/translations/fi.po +1 -45
  324. package/lang/translations/fr.po +1 -45
  325. package/lang/translations/gl.po +1 -45
  326. package/lang/translations/gu.po +1 -45
  327. package/lang/translations/he.po +1 -45
  328. package/lang/translations/hi.po +1 -45
  329. package/lang/translations/hr.po +1 -45
  330. package/lang/translations/hu.po +1 -45
  331. package/lang/translations/hy.po +1 -45
  332. package/lang/translations/id.po +1 -45
  333. package/lang/translations/it.po +1 -45
  334. package/lang/translations/ja.po +1 -45
  335. package/lang/translations/jv.po +1 -45
  336. package/lang/translations/kk.po +1 -45
  337. package/lang/translations/km.po +1 -45
  338. package/lang/translations/kn.po +1 -45
  339. package/lang/translations/ko.po +1 -45
  340. package/lang/translations/ku.po +1 -45
  341. package/lang/translations/lt.po +1 -45
  342. package/lang/translations/lv.po +1 -45
  343. package/lang/translations/ms.po +1 -45
  344. package/lang/translations/nb.po +1 -45
  345. package/lang/translations/ne.po +1 -45
  346. package/lang/translations/nl.po +1 -45
  347. package/lang/translations/no.po +1 -45
  348. package/lang/translations/oc.po +1 -45
  349. package/lang/translations/pl.po +1 -45
  350. package/lang/translations/pt-br.po +1 -45
  351. package/lang/translations/pt.po +1 -45
  352. package/lang/translations/ro.po +1 -45
  353. package/lang/translations/ru.po +1 -45
  354. package/lang/translations/si.po +1 -45
  355. package/lang/translations/sk.po +1 -45
  356. package/lang/translations/sl.po +1 -45
  357. package/lang/translations/sq.po +1 -45
  358. package/lang/translations/sr-latn.po +1 -45
  359. package/lang/translations/sr.po +1 -45
  360. package/lang/translations/sv.po +1 -45
  361. package/lang/translations/th.po +1 -45
  362. package/lang/translations/ti.po +1 -45
  363. package/lang/translations/tk.po +1 -45
  364. package/lang/translations/tr.po +1 -45
  365. package/lang/translations/tt.po +1 -45
  366. package/lang/translations/ug.po +1 -45
  367. package/lang/translations/uk.po +1 -45
  368. package/lang/translations/ur.po +1 -45
  369. package/lang/translations/uz.po +1 -45
  370. package/lang/translations/vi.po +1 -45
  371. package/lang/translations/zh-cn.po +1 -45
  372. package/lang/translations/zh.po +1 -45
  373. package/package.json +16 -16
  374. package/src/aiactions/aiactions.d.ts +5 -1
  375. package/src/aiactions/aiactions.js +2 -2
  376. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -1
  377. package/src/aiactions/model/aiactionsinteraction.js +2 -2
  378. package/src/aiactions/model/aiactionsreply.d.ts +1 -1
  379. package/src/aiactions/model/aiactionsreply.js +2 -2
  380. package/src/aiassistant/adapters/aiadapter.d.ts +1 -1
  381. package/src/aiassistant/adapters/aiadapter.js +2 -2
  382. package/src/aiassistant/adapters/aitextadapter.d.ts +1 -1
  383. package/src/aiassistant/adapters/aitextadapter.js +2 -2
  384. package/src/aiassistant/adapters/awstextadapter.d.ts +1 -1
  385. package/src/aiassistant/adapters/awstextadapter.js +2 -2
  386. package/src/aiassistant/adapters/openaitextadapter.d.ts +1 -1
  387. package/src/aiassistant/adapters/openaitextadapter.js +2 -2
  388. package/src/aiassistant/aiassistant.d.ts +1 -1
  389. package/src/aiassistant/aiassistant.js +2 -2
  390. package/src/aiassistant/aiassistantediting.d.ts +1 -1
  391. package/src/aiassistant/aiassistantediting.js +2 -2
  392. package/src/aiassistant/aiassistantui.d.ts +1 -1
  393. package/src/aiassistant/aiassistantui.js +2 -2
  394. package/src/aiassistant/legacyerrors.d.ts +1 -1
  395. package/src/aiassistant/legacyerrors.js +2 -2
  396. package/src/aiassistant/ui/aiassistantcontroller.d.ts +1 -1
  397. package/src/aiassistant/ui/aiassistantcontroller.js +3 -3
  398. package/src/aiassistant/ui/form/aiformcontentarea.d.ts +1 -1
  399. package/src/aiassistant/ui/form/aiformcontentarea.js +2 -2
  400. package/src/aiassistant/ui/form/aiformerrorview.d.ts +1 -1
  401. package/src/aiassistant/ui/form/aiformerrorview.js +2 -2
  402. package/src/aiassistant/ui/form/aiformpromptview.d.ts +1 -1
  403. package/src/aiassistant/ui/form/aiformpromptview.js +2 -2
  404. package/src/aiassistant/ui/form/aiformtoolbarview.d.ts +1 -1
  405. package/src/aiassistant/ui/form/aiformtoolbarview.js +2 -2
  406. package/src/aiassistant/ui/form/aiformview.d.ts +1 -1
  407. package/src/aiassistant/ui/form/aiformview.js +2 -2
  408. package/src/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
  409. package/src/aiassistant/ui/form/aihistorylistitemview.js +2 -2
  410. package/src/aiassistant/ui/form/aihistorylistview.d.ts +1 -1
  411. package/src/aiassistant/ui/form/aihistorylistview.js +2 -2
  412. package/src/aiassistant/ui/form/prompthistory.d.ts +1 -1
  413. package/src/aiassistant/ui/form/prompthistory.js +2 -2
  414. package/src/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
  415. package/src/aiassistant/ui/showaiassistantcommand.js +2 -2
  416. package/src/aiassistant/utils/common-translations.d.ts +1 -1
  417. package/src/aiassistant/utils/common-translations.js +2 -2
  418. package/src/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
  419. package/src/aiassistant/utils/normalizecommandsconfig.js +2 -2
  420. package/src/aiballoon/aiballoon.d.ts +1 -1
  421. package/src/aiballoon/aiballoon.js +2 -2
  422. package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +1 -1
  423. package/src/aiballoon/ui/aiballoondisclaimerview.js +2 -2
  424. package/src/aiballoon/ui/aiballoontoolbarview.d.ts +1 -1
  425. package/src/aiballoon/ui/aiballoontoolbarview.js +2 -2
  426. package/src/aiballoon/ui/aiballoonview.d.ts +1 -1
  427. package/src/aiballoon/ui/aiballoonview.js +2 -2
  428. package/src/aichat/aichat.d.ts +38 -4
  429. package/src/aichat/aichat.js +2 -2
  430. package/src/aichat/aichatcontroller.d.ts +5 -1
  431. package/src/aichat/aichatcontroller.js +2 -2
  432. package/src/aichat/aichatui.d.ts +3 -3
  433. package/src/aichat/aichatui.js +2 -2
  434. package/src/aichat/model/aichatcontext.d.ts +1 -1
  435. package/src/aichat/model/aichatcontext.js +2 -2
  436. package/src/aichat/model/aichatconversation.d.ts +10 -10
  437. package/src/aichat/model/aichatconversation.js +2 -2
  438. package/src/aichat/model/aichatinteraction.d.ts +1 -1
  439. package/src/aichat/model/aichatinteraction.js +2 -2
  440. package/src/aichat/ui/aichatcontrolsview.d.ts +4 -4
  441. package/src/aichat/ui/aichatcontrolsview.js +2 -2
  442. package/src/aichat/ui/aichatfeedview.d.ts +1 -1
  443. package/src/aichat/ui/aichatfeedview.js +2 -2
  444. package/src/aichat/ui/aichatheaderview.d.ts +1 -1
  445. package/src/aichat/ui/aichatheaderview.js +2 -2
  446. package/src/aichat/ui/aichatview.d.ts +1 -1
  447. package/src/aichat/ui/aichatview.js +2 -2
  448. package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +1 -1
  449. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +2 -2
  450. package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +1 -1
  451. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +2 -2
  452. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +1 -1
  453. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +2 -2
  454. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +1 -1
  455. package/src/aichat/ui/controls/aichatcontextpanelview.js +2 -2
  456. package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +1 -1
  457. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +2 -2
  458. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +5 -5
  459. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +2 -2
  460. package/src/aichat/ui/controls/aichatpromptinputview.d.ts +1 -1
  461. package/src/aichat/ui/controls/aichatpromptinputview.js +2 -2
  462. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
  463. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +2 -2
  464. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +1 -1
  465. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +2 -2
  466. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +1 -1
  467. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +2 -2
  468. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +1 -1
  469. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +2 -2
  470. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +1 -1
  471. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +2 -2
  472. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +1 -1
  473. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +2 -2
  474. package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +1 -1
  475. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +2 -2
  476. package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +1 -1
  477. package/src/aichat/ui/feed/aichatfeederroritemview.js +2 -2
  478. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
  479. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +2 -2
  480. package/src/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
  481. package/src/aichat/ui/feed/aichatfeeditemview.js +2 -2
  482. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +3 -2
  483. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +2 -2
  484. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +1 -1
  485. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +2 -2
  486. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -2
  487. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +2 -2
  488. package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +1 -1
  489. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +2 -2
  490. package/src/aichat/utils/eventnames.d.ts +1 -1
  491. package/src/aichat/utils/eventnames.js +2 -2
  492. package/src/aichat/utils/promisequeue.d.ts +1 -1
  493. package/src/aichat/utils/promisequeue.js +2 -2
  494. package/src/aichathistory/aichathistory.d.ts +1 -1
  495. package/src/aichathistory/aichathistory.js +2 -2
  496. package/src/aichathistory/aichathistorycontroller.d.ts +1 -1
  497. package/src/aichathistory/aichathistorycontroller.js +2 -2
  498. package/src/aichathistory/aichathistoryui.d.ts +1 -1
  499. package/src/aichathistory/aichathistoryui.js +2 -2
  500. package/src/aichathistory/model/aichathistoryconversations.d.ts +1 -1
  501. package/src/aichathistory/model/aichathistoryconversations.js +2 -2
  502. package/src/aichathistory/model/aichathistoryitem.d.ts +1 -1
  503. package/src/aichathistory/model/aichathistoryitem.js +2 -2
  504. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  505. package/src/aichathistory/ui/aichathistorylistitemview.js +3 -3
  506. package/src/aichathistory/ui/aichathistorylistview.d.ts +1 -1
  507. package/src/aichathistory/ui/aichathistorylistview.js +2 -2
  508. package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
  509. package/src/aichathistory/ui/aichathistorysectionlistview.js +2 -2
  510. package/src/aichathistory/ui/aichathistoryview.d.ts +1 -1
  511. package/src/aichathistory/ui/aichathistoryview.js +2 -2
  512. package/src/aiconfig.d.ts +1 -1
  513. package/src/aiconfig.js +1 -1
  514. package/src/aicore/aiconnector.d.ts +4 -2
  515. package/src/aicore/aiconnector.js +2 -2
  516. package/src/aicore/aiediting.d.ts +1 -1
  517. package/src/aicore/aiediting.js +2 -2
  518. package/src/aicore/model/aicapabilities.d.ts +1 -1
  519. package/src/aicore/model/aicapabilities.js +2 -2
  520. package/src/aicore/model/aicontext.d.ts +1 -1
  521. package/src/aicore/model/aicontext.js +2 -2
  522. package/src/aicore/model/aiinteraction.d.ts +1 -1
  523. package/src/aicore/model/aiinteraction.js +2 -2
  524. package/src/aicore/model/aimodels.d.ts +3 -12
  525. package/src/aicore/model/aimodels.js +2 -2
  526. package/src/aicore/model/aireply.d.ts +1 -1
  527. package/src/aicore/model/aireply.js +2 -2
  528. package/src/aicore/pipeline/airesponseapplier.d.ts +1 -1
  529. package/src/aicore/pipeline/airesponseapplier.js +3 -3
  530. package/src/aicore/pipeline/airesponseparser.d.ts +1 -1
  531. package/src/aicore/pipeline/airesponseparser.js +3 -3
  532. package/src/aicore/ui/aidisclaimerview.d.ts +1 -1
  533. package/src/aicore/ui/aidisclaimerview.js +2 -2
  534. package/src/aicore/ui/aiskeleton.d.ts +1 -1
  535. package/src/aicore/ui/aiskeleton.js +2 -2
  536. package/src/aicore/ui/aispinner.d.ts +1 -1
  537. package/src/aicore/ui/aispinner.js +2 -2
  538. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +1 -1
  539. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +2 -2
  540. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +1 -1
  541. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +2 -2
  542. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +5 -5
  543. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +2 -2
  544. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +1 -1
  545. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +2 -2
  546. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +1 -1
  547. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +2 -2
  548. package/src/aicore/utils/common-translations.d.ts +1 -1
  549. package/src/aicore/utils/common-translations.js +2 -2
  550. package/src/aicore/utils/createresizebutton.d.ts +1 -1
  551. package/src/aicore/utils/createresizebutton.js +2 -2
  552. package/src/aicore/utils/documentposition.d.ts +1 -1
  553. package/src/aicore/utils/documentposition.js +2 -2
  554. package/src/aicore/utils/documentrange.d.ts +1 -1
  555. package/src/aicore/utils/documentrange.js +2 -2
  556. package/src/aicore/utils/eventnames.d.ts +1 -1
  557. package/src/aicore/utils/eventnames.js +2 -2
  558. package/src/aicore/utils/geteditorfromcontext.d.ts +1 -1
  559. package/src/aicore/utils/geteditorfromcontext.js +2 -2
  560. package/src/aicore/utils/getoperationsfromreply.d.ts +1 -1
  561. package/src/aicore/utils/getoperationsfromreply.js +2 -2
  562. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
  563. package/src/aicore/utils/getsuggestionpartsfromreply.js +2 -2
  564. package/src/aicore/utils/htmlparser.d.ts +1 -1
  565. package/src/aicore/utils/htmlparser.js +2 -2
  566. package/src/aicore/utils/htmlstreamer.d.ts +1 -1
  567. package/src/aicore/utils/htmlstreamer.js +2 -2
  568. package/src/aicore/utils/scrollmanager.d.ts +1 -1
  569. package/src/aicore/utils/scrollmanager.js +2 -2
  570. package/src/aieditorintegration/aieditorintegration.d.ts +1 -1
  571. package/src/aieditorintegration/aieditorintegration.js +2 -2
  572. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
  573. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +2 -2
  574. package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
  575. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +2 -2
  576. package/src/aiquickactions/aiquickactions.d.ts +1 -1
  577. package/src/aiquickactions/aiquickactions.js +2 -2
  578. package/src/aiquickactions/aiquickactionscommand.d.ts +1 -1
  579. package/src/aiquickactions/aiquickactionscommand.js +2 -2
  580. package/src/aiquickactions/aiquickactionsediting.d.ts +1 -1
  581. package/src/aiquickactions/aiquickactionsediting.js +2 -2
  582. package/src/aiquickactions/aiquickactionsui.d.ts +1 -1
  583. package/src/aiquickactions/aiquickactionsui.js +2 -2
  584. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +1 -1
  585. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +2 -2
  586. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +1 -1
  587. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +2 -2
  588. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +1 -1
  589. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +2 -2
  590. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +1 -1
  591. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +2 -2
  592. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
  593. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +2 -2
  594. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +1 -1
  595. package/src/aireviewmode/aireviewcheckdefinitions.js +2 -2
  596. package/src/aireviewmode/aireviewmode.d.ts +1 -1
  597. package/src/aireviewmode/aireviewmode.js +2 -2
  598. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  599. package/src/aireviewmode/aireviewmodecontroller.js +2 -2
  600. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
  601. package/src/aireviewmode/aireviewmodeediting.js +2 -2
  602. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  603. package/src/aireviewmode/aireviewmodeui.js +2 -2
  604. package/src/aireviewmode/model/aireviewcheck.d.ts +1 -1
  605. package/src/aireviewmode/model/aireviewcheck.js +2 -2
  606. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +1 -1
  607. package/src/aireviewmode/model/aireviewcheckcustom.js +2 -2
  608. package/src/aireviewmode/model/aireviewchecklist.d.ts +1 -1
  609. package/src/aireviewmode/model/aireviewchecklist.js +2 -2
  610. package/src/aireviewmode/model/aireviewcheckresult.d.ts +1 -1
  611. package/src/aireviewmode/model/aireviewcheckresult.js +2 -2
  612. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
  613. package/src/aireviewmode/model/aireviewcheckresultchange.js +2 -2
  614. package/src/aireviewmode/model/aireviewcheckrun.d.ts +1 -1
  615. package/src/aireviewmode/model/aireviewcheckrun.js +2 -2
  616. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
  617. package/src/aireviewmode/model/aireviewcustomcheckrun.js +2 -2
  618. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +1 -1
  619. package/src/aireviewmode/model/aireviewsystemcheckrun.js +2 -2
  620. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +1 -1
  621. package/src/aireviewmode/ui/aireviemodepromptinputview.js +2 -2
  622. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +1 -1
  623. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +2 -2
  624. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +2 -2
  625. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +2 -2
  626. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +1 -1
  627. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +2 -2
  628. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +1 -1
  629. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +2 -2
  630. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +1 -1
  631. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +2 -2
  632. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +1 -1
  633. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +2 -2
  634. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -1
  635. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +2 -2
  636. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -1
  637. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +2 -2
  638. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +1 -1
  639. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +2 -2
  640. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -1
  641. package/src/aireviewmode/ui/aireviewmodeview.js +2 -2
  642. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  643. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +2 -2
  644. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  645. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +2 -2
  646. package/src/aitabs/aitabs.d.ts +1 -1
  647. package/src/aitabs/aitabs.js +2 -2
  648. package/src/aitabs/aitabsmainview.d.ts +1 -1
  649. package/src/aitabs/aitabsmainview.js +2 -2
  650. package/src/aitabs/tabs/aitabsview.d.ts +1 -1
  651. package/src/aitabs/tabs/aitabsview.js +2 -2
  652. package/src/aitabs/tabs/tabbuttonview.d.ts +1 -1
  653. package/src/aitabs/tabs/tabbuttonview.js +2 -2
  654. package/src/aitabs/tabs/tabpanelview.d.ts +1 -1
  655. package/src/aitabs/tabs/tabpanelview.js +2 -2
  656. package/src/augmentation.d.ts +1 -1
  657. package/src/augmentation.js +1 -1
  658. package/src/errors.d.ts +1 -1
  659. package/src/errors.js +2 -2
  660. package/src/errorsmap.d.ts +1 -1
  661. package/src/errorsmap.js +2 -2
  662. package/src/index.d.ts +1 -2
  663. package/src/index.js +2 -2
  664. package/theme/aiassistant/ai-dropdown.css +1 -1
  665. package/theme/aiassistant/ai-form.css +1 -1
  666. package/theme/aiassistant/ai.css +1 -1
  667. package/theme/aiballoon/aiballoon.css +1 -1
  668. package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
  669. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +1 -1
  670. package/theme/aichat/aichat-controls/aichat-context-controls.css +1 -1
  671. package/theme/aichat/aichat-controls/aichat-controls-button.css +1 -1
  672. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  673. package/theme/aichat/aichat-controls/model-unavailable-message.css +1 -1
  674. package/theme/aichat/aichat-controls/prompt-capabilities.css +1 -1
  675. package/theme/aichat/aichat-controls/prompt-input.css +1 -1
  676. package/theme/aichat/aichat-controls.css +1 -1
  677. package/theme/aichat/aichat.css +1 -1
  678. package/theme/aichat/aichatfeed.css +55 -1
  679. package/theme/aichat/aichathistory.css +1 -1
  680. package/theme/aichat/aiminitoolbar.css +1 -1
  681. package/theme/aichat/aisuggestioncontainer.css +1 -1
  682. package/theme/aieditorintegration/aitogglebutton.css +1 -1
  683. package/theme/aiquickactions/aiquickactions.css +1 -1
  684. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +1 -1
  685. package/theme/aireviewmode/aireviewmode-check-list.css +1 -1
  686. package/theme/aireviewmode/aireviewmode-check-run-result.css +1 -1
  687. package/theme/aireviewmode/aireviewmode-check-run.css +1 -1
  688. package/theme/aireviewmode/aireviewmode-review-completed.css +1 -1
  689. package/theme/aireviewmode/aireviewmode.css +9 -4
  690. package/theme/aitabs/aitabsview.css +1 -1
  691. package/theme/aitabs/tabs/tabbuttonview.css +1 -1
  692. package/theme/aitabs/tabs/tabsview.css +1 -1
  693. package/theme/common/aibutton.css +1 -1
  694. package/theme/common/aidisclaimer.css +1 -1
  695. package/theme/common/aiheader.css +1 -1
  696. package/theme/common/ainotification.css +1 -1
  697. package/theme/common/aiskeleton.css +1 -1
  698. package/theme/common/aispinner.css +1 -1
  699. package/theme/common/aitrackchanges.css +1 -1
  700. package/src/aichat/model/aichatmodels.d.ts +0 -63
  701. package/src/aichat/model/aichatmodels.js +0 -23
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, 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(_0x324ab8,_0x3a33ef){const _0x3289bd=_0x3dca,_0x18893d=_0x324ab8();while(!![]){try{const _0x3206c9=parseInt(_0x3289bd(0xbd))/0x1+-parseInt(_0x3289bd(0xc1))/0x2*(parseInt(_0x3289bd(0xcb))/0x3)+parseInt(_0x3289bd(0xc6))/0x4*(parseInt(_0x3289bd(0xbe))/0x5)+-parseInt(_0x3289bd(0xc3))/0x6+-parseInt(_0x3289bd(0xc0))/0x7+parseInt(_0x3289bd(0xbb))/0x8*(parseInt(_0x3289bd(0xcc))/0x9)+-parseInt(_0x3289bd(0xc8))/0xa*(-parseInt(_0x3289bd(0xca))/0xb);if(_0x3206c9===_0x3a33ef)break;else _0x18893d['push'](_0x18893d['shift']());}catch(_0x1d9e68){_0x18893d['push'](_0x18893d['shift']());}}}(_0xecde,0x514b3));function _0x3dca(_0x5232a8,_0x58228c){const _0xecde39=_0xecde();return _0x3dca=function(_0x3dcac2,_0x49fd81){_0x3dcac2=_0x3dcac2-0xbb;let _0x42f9a8=_0xecde39[_0x3dcac2];return _0x42f9a8;},_0x3dca(_0x5232a8,_0x58228c);}import{IconError as _0x5623d5}from'ckeditor5/src/icons.js';function _0xecde(){const _0x1606c1=['827499bSBiQg','3606165yyZsVf','8dVwLys','set','14233rwkWhg','1390820yQZMtK','div','3768044NNXpLN','4nNRAVx','bindTemplate','167442hNqfrh','ck-ai-form__error','setTemplate','4VBqtxP','text','184820nucxLZ','content','451QfLmcn'];_0xecde=function(){return _0x1606c1;};return _0xecde();}import{View as _0xc3ea4d,IconView as _0x256b73}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0xc3ea4d{constructor(_0x6ab91d,_0x38e21b=''){const _0x4794f2=_0x3dca;super(_0x6ab91d);const _0xcb1ea8=new _0x256b73(),_0x19411c=this[_0x4794f2(0xc2)];this[_0x4794f2(0xbc)](_0x4794f2(0xc7),_0x38e21b),_0xcb1ea8[_0x4794f2(0xc9)]=_0x5623d5,this[_0x4794f2(0xc5)]({'tag':_0x4794f2(0xbf),'attributes':{'class':['ck',_0x4794f2(0xc4)]},'children':[_0xcb1ea8,{'text':_0x19411c['to'](_0x4794f2(0xc7))}]});}}
23
+ function _0x522e(){const _0x46c099=['37058tDJdOw','setTemplate','div','4453028lKescc','bindTemplate','4239557kNubbZ','1640eYdRLy','1678424KXxKpu','382563rRbqWs','set','text','9SVBUAE','150YGxltD','ck-ai-form__error','882swVuJN','19386ZRXvNS','content','84352TUpYxo'];_0x522e=function(){return _0x46c099;};return _0x522e();}(function(_0x4ec10d,_0x1aa4e1){const _0x5d3e62=_0x1153,_0x1e4d36=_0x4ec10d();while(!![]){try{const _0x4bf461=-parseInt(_0x5d3e62(0xf3))/0x1*(parseInt(_0x5d3e62(0xfa))/0x2)+parseInt(_0x5d3e62(0x102))/0x3+-parseInt(_0x5d3e62(0xfd))/0x4+parseInt(_0x5d3e62(0x100))/0x5*(parseInt(_0x5d3e62(0xf7))/0x6)+-parseInt(_0x5d3e62(0xff))/0x7+parseInt(_0x5d3e62(0xf9))/0x8*(-parseInt(_0x5d3e62(0xf6))/0x9)+parseInt(_0x5d3e62(0xf4))/0xa*(parseInt(_0x5d3e62(0x101))/0xb);if(_0x4bf461===_0x1aa4e1)break;else _0x1e4d36['push'](_0x1e4d36['shift']());}catch(_0x1f3686){_0x1e4d36['push'](_0x1e4d36['shift']());}}}(_0x522e,0x8800c));import{IconError as _0x34b1cf}from'ckeditor5/src/icons.js';import{View as _0x49688c,IconView as _0x2800e3}from'ckeditor5/src/ui.js';function _0x1153(_0x300722,_0x5bfe0f){const _0x522e66=_0x522e();return _0x1153=function(_0x11535e,_0x424af8){_0x11535e=_0x11535e-0xf1;let _0x4366c5=_0x522e66[_0x11535e];return _0x4366c5;},_0x1153(_0x300722,_0x5bfe0f);}export class AIFormErrorView extends _0x49688c{constructor(_0x5a89aa,_0x1360fb=''){const _0x40b2b8=_0x1153;super(_0x5a89aa);const _0x316833=new _0x2800e3(),_0x421be0=this[_0x40b2b8(0xfe)];this[_0x40b2b8(0xf1)](_0x40b2b8(0xf2),_0x1360fb),_0x316833[_0x40b2b8(0xf8)]=_0x34b1cf,this[_0x40b2b8(0xfb)]({'tag':_0x40b2b8(0xfc),'attributes':{'class':['ck',_0x40b2b8(0xf5)]},'children':[_0x316833,{'text':_0x421be0['to'](_0x40b2b8(0xf2))}]});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, 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 _0x5a43d7=_0x4db0;(function(_0x569ba9,_0x1aed3e){const _0x4bf173=_0x4db0,_0x47ccfd=_0x569ba9();while(!![]){try{const _0x532721=parseInt(_0x4bf173(0x10d))/0x1+-parseInt(_0x4bf173(0xe8))/0x2*(-parseInt(_0x4bf173(0x10a))/0x3)+parseInt(_0x4bf173(0xf1))/0x4*(parseInt(_0x4bf173(0x104))/0x5)+parseInt(_0x4bf173(0xe2))/0x6+parseInt(_0x4bf173(0xef))/0x7*(parseInt(_0x4bf173(0x10e))/0x8)+-parseInt(_0x4bf173(0xe9))/0x9*(-parseInt(_0x4bf173(0xe5))/0xa)+parseInt(_0x4bf173(0x117))/0xb*(-parseInt(_0x4bf173(0x10c))/0xc);if(_0x532721===_0x1aed3e)break;else _0x47ccfd['push'](_0x47ccfd['shift']());}catch(_0x40c4d8){_0x47ccfd['push'](_0x47ccfd['shift']());}}}(_0xdc51,0x485c2));import{Rect as _0xe4652d,global as _0xf8e012,isVisible as _0x51a20b}from'ckeditor5/src/utils.js';function _0x4db0(_0x54797b,_0x310481){const _0xdc518f=_0xdc51();return _0x4db0=function(_0x4db003,_0x296748){_0x4db003=_0x4db003-0xe1;let _0x809a1b=_0xdc518f[_0x4db003];return _0x809a1b;},_0x4db0(_0x54797b,_0x310481);}import{IconAIHistory as _0x114a94,IconSubmit as _0xe5a61a}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x4bce1d,ButtonView as _0x58f74a}from'ckeditor5/src/ui.js';import{getTranslation as _0x521b21}from'../../utils/common-translations.js';function _0xdc51(){const _0x5f1812=['submit','_createSubmitButton','width','focusFirst','update','locale','fieldWrapperChildren','11RfdfXB','filteredView','window','value','style','submitButtonView','ck-ai-form__toggle-history','1473600dVtUgn','focus','render','1910ENCLXl','focusableChildren','enter','64182orDqIU','7911zuELuM','isEnabled','keystrokes','maxRows','requestAnimationFrame','element','7loEfoQ','minRows','1238104BPrPFP','History','fieldView','isOn','Submit','_createShowHistoryButton','excludeScrollbarsAndBorders','focusCycler','isEmpty','target','fire','ck-ai-form__submit','focusLast','bind','children','rtl','set','add','isVisible','5ICTqYx','uiLanguageDirection','showHistoryButtonView','execute','left','right','12rteQLC','resultsView','12056676pmJpYi','184600MZnmlH','2121040xwHXUt','queryView'];_0xdc51=function(){return _0x5f1812;};return _0xdc51();}export class AIFormPromptView extends _0x4bce1d{[_0x5a43d7(0x11c)];[_0x5a43d7(0x106)];constructor(_0x2760e9,_0x47d661){const _0x8b82f7=_0x5a43d7;super(_0x2760e9,_0x47d661),this[_0x8b82f7(0x10f)][_0x8b82f7(0xf3)][_0x8b82f7(0xf0)]=0x1,this[_0x8b82f7(0x10f)][_0x8b82f7(0xf3)][_0x8b82f7(0xec)]=0x3,this[_0x8b82f7(0x11c)]=this[_0x8b82f7(0x111)](),this[_0x8b82f7(0x106)]=this[_0x8b82f7(0xf6)](),this[_0x8b82f7(0xe6)][_0x8b82f7(0x102)](this[_0x8b82f7(0x106)],0x1),this[_0x8b82f7(0xe6)][_0x8b82f7(0x102)](this[_0x8b82f7(0x11c)]);}[_0x5a43d7(0xe4)](){const _0x342f0e=_0x5a43d7;super[_0x342f0e(0xe4)](),this[_0x342f0e(0x10f)][_0x342f0e(0x116)][_0x342f0e(0x102)](this[_0x342f0e(0x106)]),this[_0x342f0e(0xff)][_0x342f0e(0x102)](this[_0x342f0e(0x11c)]),this[_0x342f0e(0xeb)][_0x342f0e(0x101)](_0x342f0e(0xe7),(_0x325c34,_0x23fb31)=>{const _0x3a1cd8=_0x342f0e;_0x325c34[_0x3a1cd8(0xfa)]==this[_0x3a1cd8(0x10f)][_0x3a1cd8(0xf3)][_0x3a1cd8(0xee)]&&(this[_0x3a1cd8(0x110)](),_0x23fb31());});}[_0x5a43d7(0x111)](){const _0x51ac70=_0x5a43d7,_0x2b98c6=new _0x58f74a(this[_0x51ac70(0x115)]),_0x6ca8a6=this[_0x51ac70(0x115)];return _0x2b98c6[_0x51ac70(0x101)]({'icon':_0xe5a61a,'label':_0x521b21(_0x6ca8a6,_0x51ac70(0xf5)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x51ac70(0xfc)}),_0x2b98c6['on'](_0x51ac70(0x107),()=>{const _0x1a21a7=_0x51ac70;this[_0x1a21a7(0x110)]();}),_0x2b98c6[_0x51ac70(0xfe)](_0x51ac70(0xea))['to'](this[_0x51ac70(0x10f)][_0x51ac70(0xf3)],_0x51ac70(0xf9),this,_0x51ac70(0xea),(_0x5f4f2b,_0xdfba16)=>!_0x5f4f2b&&_0xdfba16),_0x2b98c6;}[_0x5a43d7(0xf6)](){const _0x373a13=_0x5a43d7,_0x52a6bb=new _0x58f74a(this[_0x373a13(0x115)]),_0x2d1d8c=this[_0x373a13(0x10b)],_0x3c378f=this[_0x373a13(0x115)];_0x52a6bb[_0x373a13(0x101)]({'label':_0x521b21(_0x3c378f,_0x373a13(0xf2)),'withText':!0x1,'icon':_0x114a94,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x373a13(0xe1)}),_0x52a6bb[_0x373a13(0xfe)](_0x373a13(0xf4))['to'](_0x2d1d8c,_0x373a13(0x103)),_0x52a6bb[_0x373a13(0xfe)](_0x373a13(0xea))['to'](this,_0x373a13(0xea)),_0x52a6bb['on'](_0x373a13(0x107),()=>{const _0x494db5=_0x373a13;_0x2d1d8c[_0x494db5(0x103)]=!_0x2d1d8c[_0x494db5(0x103)],_0x2d1d8c[_0x494db5(0x103)]?this[_0x494db5(0x118)][_0x494db5(0xe3)]():this[_0x494db5(0xe3)]();});const _0x29025b=()=>{const _0x3c8aa1=_0x373a13;_0xf8e012[_0x3c8aa1(0x119)][_0x3c8aa1(0xed)](()=>{const _0x187074=_0x3c8aa1;if(_0x51a20b(this[_0x187074(0xee)])){const _0x5a537b=new _0xe4652d(this[_0x187074(0x10f)][_0x187074(0xf3)][_0x187074(0xee)]),_0x2464d7=_0x5a537b[_0x187074(0x112)],_0x106342=_0x187074(0x100)===_0x3c378f[_0x187074(0x105)]?_0x187074(0x108):_0x187074(0x109);_0x5a537b[_0x187074(0xf7)](),_0x52a6bb[_0x187074(0xee)][_0x187074(0x11b)][_0x106342]=_0x2464d7-_0x5a537b[_0x187074(0x112)]+0x1+'px';}});};return this[_0x373a13(0x10f)][_0x373a13(0xf3)]['on'](_0x373a13(0x114),_0x29025b),this['on'](_0x373a13(0xe4),_0x29025b),_0x52a6bb;}[_0x5a43d7(0x110)](){const _0x1846a1=_0x5a43d7,_0x241bdf=this[_0x1846a1(0x10f)][_0x1846a1(0xf3)][_0x1846a1(0xee)][_0x1846a1(0x11a)];this[_0x1846a1(0xfb)](_0x1846a1(0x110),_0x241bdf);}[_0x5a43d7(0xe3)](_0x22e6c2){const _0x142644=_0x5a43d7;-0x1===_0x22e6c2?this[_0x142644(0xf8)][_0x142644(0xfd)]():this[_0x142644(0xf8)][_0x142644(0x113)]();}}
23
+ const _0x130db0=_0x26ce;(function(_0x2be338,_0x35c592){const _0x370c1e=_0x26ce,_0x58de33=_0x2be338();while(!![]){try{const _0x37c96f=parseInt(_0x370c1e(0x1d9))/0x1+parseInt(_0x370c1e(0x1d3))/0x2*(parseInt(_0x370c1e(0x1d5))/0x3)+-parseInt(_0x370c1e(0x1fb))/0x4*(-parseInt(_0x370c1e(0x1ca))/0x5)+parseInt(_0x370c1e(0x1e9))/0x6+-parseInt(_0x370c1e(0x1f6))/0x7*(parseInt(_0x370c1e(0x1cf))/0x8)+-parseInt(_0x370c1e(0x1f0))/0x9*(parseInt(_0x370c1e(0x1f8))/0xa)+parseInt(_0x370c1e(0x1eb))/0xb;if(_0x37c96f===_0x35c592)break;else _0x58de33['push'](_0x58de33['shift']());}catch(_0x20d009){_0x58de33['push'](_0x58de33['shift']());}}}(_0x523a,0x2cf95));import{Rect as _0x17f5e3,global as _0x22c0fc,isVisible as _0xc92fef}from'ckeditor5/src/utils.js';function _0x523a(){const _0x363a64=['History','element','isVisible','ck-ai-form__submit','focusableChildren','submit','render','right','locale','style','109596sidmsQ','keystrokes','5702312xiIGLx','isOn','submitButtonView','_createShowHistoryButton','add','62523vSyNiD','isEmpty','value','focusCycler','requestAnimationFrame','isEnabled','818167FRfAXI','rtl','490OEzTST','focus','set','4jsTYlS','excludeScrollbarsAndBorders','children','_createSubmitButton','focusLast','left','resultsView','target','queryView','fire','73780GfASXr','update','focusFirst','width','fieldView','24LILRVX','Submit','execute','fieldWrapperChildren','36DWBoMI','ck-ai-form__toggle-history','35964fsRwtQ','minRows','filteredView','showHistoryButtonView','108061cjiZAm','uiLanguageDirection','bind','enter','window','maxRows'];_0x523a=function(){return _0x363a64;};return _0x523a();}import{IconAIHistory as _0x275d2c,IconSubmit as _0x892b60}from'ckeditor5/src/icons.js';function _0x26ce(_0x3dd7f1,_0x451f8b){const _0x523aba=_0x523a();return _0x26ce=function(_0x26ce47,_0x1face9){_0x26ce47=_0x26ce47-0x1ca;let _0x29f3c8=_0x523aba[_0x26ce47];return _0x29f3c8;},_0x26ce(_0x3dd7f1,_0x451f8b);}import{AutocompleteView as _0xf22177,ButtonView as _0xef307e}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b9482}from'../../utils/common-translations.js';export class AIFormPromptView extends _0xf22177{[_0x130db0(0x1ed)];[_0x130db0(0x1d8)];constructor(_0x2a8c9d,_0xe5ef0e){const _0x44fba9=_0x130db0;super(_0x2a8c9d,_0xe5ef0e),this[_0x44fba9(0x203)][_0x44fba9(0x1ce)][_0x44fba9(0x1d6)]=0x1,this[_0x44fba9(0x203)][_0x44fba9(0x1ce)][_0x44fba9(0x1de)]=0x3,this[_0x44fba9(0x1ed)]=this[_0x44fba9(0x1fe)](),this[_0x44fba9(0x1d8)]=this[_0x44fba9(0x1ee)](),this[_0x44fba9(0x1e3)][_0x44fba9(0x1ef)](this[_0x44fba9(0x1d8)],0x1),this[_0x44fba9(0x1e3)][_0x44fba9(0x1ef)](this[_0x44fba9(0x1ed)]);}[_0x130db0(0x1e5)](){const _0x336203=_0x130db0;super[_0x336203(0x1e5)](),this[_0x336203(0x203)][_0x336203(0x1d2)][_0x336203(0x1ef)](this[_0x336203(0x1d8)]),this[_0x336203(0x1fd)][_0x336203(0x1ef)](this[_0x336203(0x1ed)]),this[_0x336203(0x1ea)][_0x336203(0x1fa)](_0x336203(0x1dc),(_0x31e11a,_0x41d309)=>{const _0x3568b4=_0x336203;_0x31e11a[_0x3568b4(0x202)]==this[_0x3568b4(0x203)][_0x3568b4(0x1ce)][_0x3568b4(0x1e0)]&&(this[_0x3568b4(0x1e4)](),_0x41d309());});}[_0x130db0(0x1fe)](){const _0x1c8859=_0x130db0,_0x365433=new _0xef307e(this[_0x1c8859(0x1e7)]),_0x10a474=this[_0x1c8859(0x1e7)];return _0x365433[_0x1c8859(0x1fa)]({'icon':_0x892b60,'label':_0x4b9482(_0x10a474,_0x1c8859(0x1d0)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1c8859(0x1e2)}),_0x365433['on'](_0x1c8859(0x1d1),()=>{const _0x40d39d=_0x1c8859;this[_0x40d39d(0x1e4)]();}),_0x365433[_0x1c8859(0x1db)](_0x1c8859(0x1f5))['to'](this[_0x1c8859(0x203)][_0x1c8859(0x1ce)],_0x1c8859(0x1f1),this,_0x1c8859(0x1f5),(_0x38bd8b,_0x64fbd6)=>!_0x38bd8b&&_0x64fbd6),_0x365433;}[_0x130db0(0x1ee)](){const _0x23b92a=_0x130db0,_0x1b755b=new _0xef307e(this[_0x23b92a(0x1e7)]),_0x597401=this[_0x23b92a(0x201)],_0x3c5163=this[_0x23b92a(0x1e7)];_0x1b755b[_0x23b92a(0x1fa)]({'label':_0x4b9482(_0x3c5163,_0x23b92a(0x1df)),'withText':!0x1,'icon':_0x275d2c,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x23b92a(0x1d4)}),_0x1b755b[_0x23b92a(0x1db)](_0x23b92a(0x1ec))['to'](_0x597401,_0x23b92a(0x1e1)),_0x1b755b[_0x23b92a(0x1db)](_0x23b92a(0x1f5))['to'](this,_0x23b92a(0x1f5)),_0x1b755b['on'](_0x23b92a(0x1d1),()=>{const _0x89ae32=_0x23b92a;_0x597401[_0x89ae32(0x1e1)]=!_0x597401[_0x89ae32(0x1e1)],_0x597401[_0x89ae32(0x1e1)]?this[_0x89ae32(0x1d7)][_0x89ae32(0x1f9)]():this[_0x89ae32(0x1f9)]();});const _0xce85a=()=>{const _0x3f70c3=_0x23b92a;_0x22c0fc[_0x3f70c3(0x1dd)][_0x3f70c3(0x1f4)](()=>{const _0x2cef5b=_0x3f70c3;if(_0xc92fef(this[_0x2cef5b(0x1e0)])){const _0x4a9f87=new _0x17f5e3(this[_0x2cef5b(0x203)][_0x2cef5b(0x1ce)][_0x2cef5b(0x1e0)]),_0x16e4b4=_0x4a9f87[_0x2cef5b(0x1cd)],_0x2facc0=_0x2cef5b(0x1f7)===_0x3c5163[_0x2cef5b(0x1da)]?_0x2cef5b(0x200):_0x2cef5b(0x1e6);_0x4a9f87[_0x2cef5b(0x1fc)](),_0x1b755b[_0x2cef5b(0x1e0)][_0x2cef5b(0x1e8)][_0x2facc0]=_0x16e4b4-_0x4a9f87[_0x2cef5b(0x1cd)]+0x1+'px';}});};return this[_0x23b92a(0x203)][_0x23b92a(0x1ce)]['on'](_0x23b92a(0x1cb),_0xce85a),this['on'](_0x23b92a(0x1e5),_0xce85a),_0x1b755b;}[_0x130db0(0x1e4)](){const _0x4829ef=_0x130db0,_0x55291d=this[_0x4829ef(0x203)][_0x4829ef(0x1ce)][_0x4829ef(0x1e0)][_0x4829ef(0x1f2)];this[_0x4829ef(0x204)](_0x4829ef(0x1e4),_0x55291d);}[_0x130db0(0x1f9)](_0x4d4da9){const _0x640bee=_0x130db0;-0x1===_0x4d4da9?this[_0x640bee(0x1f3)][_0x640bee(0x1ff)]():this[_0x640bee(0x1f3)][_0x640bee(0x1cc)]();}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, 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 _0x419300=_0x592d;(function(_0x419383,_0x1fa11a){const _0x588744=_0x592d,_0x31ae1f=_0x419383();while(!![]){try{const _0x28362=-parseInt(_0x588744(0x1da))/0x1*(parseInt(_0x588744(0x1d4))/0x2)+parseInt(_0x588744(0x1dc))/0x3*(parseInt(_0x588744(0x1be))/0x4)+-parseInt(_0x588744(0x1c8))/0x5*(parseInt(_0x588744(0x1c4))/0x6)+parseInt(_0x588744(0x1df))/0x7*(-parseInt(_0x588744(0x1d1))/0x8)+parseInt(_0x588744(0x1c7))/0x9*(parseInt(_0x588744(0x1cd))/0xa)+parseInt(_0x588744(0x1db))/0xb+-parseInt(_0x588744(0x1dd))/0xc;if(_0x28362===_0x1fa11a)break;else _0x31ae1f['push'](_0x31ae1f['shift']());}catch(_0x40fecb){_0x31ae1f['push'](_0x31ae1f['shift']());}}}(_0xd875,0xd4ccf));import{ToolbarView as _0x48da07,ButtonView as _0x1fb91a}from'ckeditor5/src/ui.js';function _0xd875(){const _0x12ba6f=['replaceButton','1352443NZsWlH','17198577ethVdf','2394822BrMGVq','6916428MEUQdf','isVisible','637DmJYPc','insert','replace','set','items','Try\x20again','4vOioHu','Stop','AI_','tryAgainButton','toUpperCase','ck-button-action','56466FHkeCc','bind','ck-hidden','9YVmiQu','45Tyjqtn','stopButton','ck-ai-form__toolbar','label','Insert\x20below','12472660VvnGdK','bindTemplate','_createButton','mainAction','63640vPnDpZ','_CONTENT','insertButton','2qHYKru','addMany','locale','REPLACE','extendTemplate'];_0xd875=function(){return _0x12ba6f;};return _0xd875();}import{getTranslation as _0x5cafe7}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x419300(0x1e1),'INSERT':_0x419300(0x1e0)};function _0x592d(_0x242fac,_0x84308){const _0xd8756c=_0xd875();return _0x592d=function(_0x592d08,_0x234217){_0x592d08=_0x592d08-0x1bc;let _0x100043=_0xd8756c[_0x592d08];return _0x100043;},_0x592d(_0x242fac,_0x84308);}export class AIFormToolbarView extends _0x48da07{constructor(_0x2b6eb1){const _0x55269a=_0x419300;super(_0x2b6eb1),this[_0x55269a(0x1e2)](_0x55269a(0x1de),!0x1),this[_0x55269a(0x1e2)](_0x55269a(0x1d0),AIFormToolbarViewMainActionLabel[_0x55269a(0x1d7)]),this[_0x55269a(0x1d9)]=this[_0x55269a(0x1cf)]('',_0x55269a(0x1c3)),this[_0x55269a(0x1d9)][_0x55269a(0x1c5)](_0x55269a(0x1cb))['to'](this,_0x55269a(0x1d0),_0xc5a7ae=>_0x5cafe7(_0x2b6eb1,_0x55269a(0x1c0)+_0xc5a7ae[_0x55269a(0x1c2)]()+_0x55269a(0x1d2))),this[_0x55269a(0x1d3)]=this[_0x55269a(0x1cf)](_0x5cafe7(_0x2b6eb1,_0x55269a(0x1cc))),this[_0x55269a(0x1c1)]=this[_0x55269a(0x1cf)](_0x5cafe7(_0x2b6eb1,_0x55269a(0x1bd))),this[_0x55269a(0x1c9)]=this[_0x55269a(0x1cf)](_0x5cafe7(_0x2b6eb1,_0x55269a(0x1bf)));const _0xcc1304=this[_0x55269a(0x1ce)];this[_0x55269a(0x1d8)]({'attributes':{'class':[_0x55269a(0x1ca),_0xcc1304['if'](_0x55269a(0x1de),_0x55269a(0x1c6),_0x2b6992=>!_0x2b6992)]}}),this[_0x55269a(0x1bc)][_0x55269a(0x1d5)]([this[_0x55269a(0x1d9)],this[_0x55269a(0x1d3)],this[_0x55269a(0x1c1)],this[_0x55269a(0x1c9)]]);}[_0x419300(0x1cf)](_0x48eb1a,_0x503cbd){const _0x23aa76=_0x419300,_0x198658=new _0x1fb91a(this[_0x23aa76(0x1d6)]);return _0x198658[_0x23aa76(0x1e2)]({'label':_0x48eb1a,'class':_0x503cbd||'','isVisible':!0x0,'withText':!0x0}),_0x198658;}}
23
+ const _0x1c778b=_0x1357;(function(_0xf7b65a,_0x2e3c08){const _0x23b080=_0x1357,_0x2c6a65=_0xf7b65a();while(!![]){try{const _0xf982d8=-parseInt(_0x23b080(0xcd))/0x1*(-parseInt(_0x23b080(0xdf))/0x2)+parseInt(_0x23b080(0xde))/0x3*(parseInt(_0x23b080(0xcf))/0x4)+-parseInt(_0x23b080(0xbd))/0x5+-parseInt(_0x23b080(0xd6))/0x6+parseInt(_0x23b080(0xbe))/0x7+parseInt(_0x23b080(0xd3))/0x8+parseInt(_0x23b080(0xc7))/0x9*(-parseInt(_0x23b080(0xcc))/0xa);if(_0xf982d8===_0x2e3c08)break;else _0x2c6a65['push'](_0x2c6a65['shift']());}catch(_0x576b31){_0x2c6a65['push'](_0x2c6a65['shift']());}}}(_0x5420,0x70b33));import{ToolbarView as _0x44e22a,ButtonView as _0x191f71}from'ckeditor5/src/ui.js';import{getTranslation as _0x5e36af}from'../../utils/common-translations.js';function _0x1357(_0x639236,_0x3d22e0){const _0x542084=_0x5420();return _0x1357=function(_0x135775,_0x582034){_0x135775=_0x135775-0xbd;let _0x200bbf=_0x542084[_0x135775];return _0x200bbf;},_0x1357(_0x639236,_0x3d22e0);}function _0x5420(){const _0x2fc061=['set','locale','2406816cNDWIT','replace','ck-hidden','_createButton','extendTemplate','bind','addMany','items','642UdFeAs','2HMpTnG','stopButton','bindTemplate','3304530kMYUuE','2625280gupGMg','replaceButton','toUpperCase','REPLACE','insert','_CONTENT','tryAgainButton','Try\x20again','isVisible','13163490QSMQoR','Insert\x20below','ck-ai-form__toolbar','mainAction','label','10YxQFUO','799621yFvUbD','AI_','16648HkHkGE','insertButton','ck-button-action','Stop','7367536hojSMo'];_0x5420=function(){return _0x2fc061;};return _0x5420();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x1c778b(0xd7),'INSERT':_0x1c778b(0xc2)};export class AIFormToolbarView extends _0x44e22a{constructor(_0x5efd01){const _0x3359cf=_0x1c778b;super(_0x5efd01),this[_0x3359cf(0xd4)](_0x3359cf(0xc6),!0x1),this[_0x3359cf(0xd4)](_0x3359cf(0xca),AIFormToolbarViewMainActionLabel[_0x3359cf(0xc1)]),this[_0x3359cf(0xbf)]=this[_0x3359cf(0xd9)]('',_0x3359cf(0xd1)),this[_0x3359cf(0xbf)][_0x3359cf(0xdb)](_0x3359cf(0xcb))['to'](this,_0x3359cf(0xca),_0x366822=>_0x5e36af(_0x5efd01,_0x3359cf(0xce)+_0x366822[_0x3359cf(0xc0)]()+_0x3359cf(0xc3))),this[_0x3359cf(0xd0)]=this[_0x3359cf(0xd9)](_0x5e36af(_0x5efd01,_0x3359cf(0xc8))),this[_0x3359cf(0xc4)]=this[_0x3359cf(0xd9)](_0x5e36af(_0x5efd01,_0x3359cf(0xc5))),this[_0x3359cf(0xe0)]=this[_0x3359cf(0xd9)](_0x5e36af(_0x5efd01,_0x3359cf(0xd2)));const _0x5a42cf=this[_0x3359cf(0xe1)];this[_0x3359cf(0xda)]({'attributes':{'class':[_0x3359cf(0xc9),_0x5a42cf['if'](_0x3359cf(0xc6),_0x3359cf(0xd8),_0x558512=>!_0x558512)]}}),this[_0x3359cf(0xdd)][_0x3359cf(0xdc)]([this[_0x3359cf(0xbf)],this[_0x3359cf(0xd0)],this[_0x3359cf(0xc4)],this[_0x3359cf(0xe0)]]);}[_0x1c778b(0xd9)](_0x2237ad,_0xddcd5e){const _0x566a68=_0x1c778b,_0x48cd99=new _0x191f71(this[_0x566a68(0xd5)]);return _0x48cd99[_0x566a68(0xd4)]({'label':_0x2237ad,'class':_0xddcd5e||'','isVisible':!0x0,'withText':!0x0}),_0x48cd99;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, 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 _0x1561e0=_0x3154;(function(_0x35d7fc,_0x15610d){const _0x25f1f5=_0x3154,_0x12316b=_0x35d7fc();while(!![]){try{const _0x1dd963=-parseInt(_0x25f1f5(0x192))/0x1+-parseInt(_0x25f1f5(0x1b9))/0x2+parseInt(_0x25f1f5(0x18b))/0x3*(parseInt(_0x25f1f5(0x19c))/0x4)+-parseInt(_0x25f1f5(0x1a5))/0x5+-parseInt(_0x25f1f5(0x186))/0x6+parseInt(_0x25f1f5(0x19d))/0x7*(-parseInt(_0x25f1f5(0x1a3))/0x8)+parseInt(_0x25f1f5(0x181))/0x9*(parseInt(_0x25f1f5(0x194))/0xa);if(_0x1dd963===_0x15610d)break;else _0x12316b['push'](_0x12316b['shift']());}catch(_0x515cc0){_0x12316b['push'](_0x12316b['shift']());}}}(_0x9174,0x7a1af));import{FocusTracker as _0x1dc8e8,KeystrokeHandler as _0x27f0da}from'ckeditor5/src/utils.js';import{View as _0x181003,FocusCycler as _0x1c0ca8,createLabeledTextarea as _0x359869}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x797313,AIFormToolbarViewMainActionLabel as _0x1b7f77}from'./aiformtoolbarview.js';function _0x3154(_0x590d74,_0x112b24){const _0x91745f=_0x9174();return _0x3154=function(_0x31541d,_0x3c727d){_0x31541d=_0x31541d-0x165;let _0x4bd7f=_0x91745f[_0x31541d];return _0x4bd7f;},_0x3154(_0x590d74,_0x112b24);}import{AIFormContentArea as _0x41fba6}from'./aiformcontentarea.js';import{AIFormErrorView as _0x5e907a}from'./aiformerrorview.js';import{AIFormPromptView as _0x51b192}from'./aiformpromptview.js';import{AIHistoryListView as _0x207b07}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x40d8c7}from'./aihistorylistitemview.js';function _0x9174(){const _0x9086b5=['listenTo','items','fire','focusTracker','1211234UJtLAp','trim','finishProcessing','handleError','tab','focus','bind','AI_ERROR_FAILED','promptView','tryAgainEvent','execute','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusFirst','tryAgainButton','ck-hidden','text','_focusables','focusCycler','Empty\x20history','isError','render','submit','insertContentBelow','_createHistoryView','value','toolbar','submitPrompt','clearHistory','label','10539SQITjb','locale','_createPromptView','replaceContent','errorView','4267386KAAbLN','shift\x20+\x20tab','search','focusLast','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','1314cjHCGf','ck-ai-form-content','copyButtonView','bindTo','add','REPLACE','Ask\x20AI\x20to\x20improve\x20generated\x20text','232895hXRxUh','_createToolbar','27730MiLLgp','queryView','isProcessing','high','clear','bindTemplate','mainAction','prompt','1596GqLChO','322469FqNaCt','replaceButton','stopProcessing','div','setTemplate','reset','112dqWLKr','element','3635605EVGcOV','ck-ai-form','isVisible','isEnabled','delegate','contentArea','startProcessing','keystrokes','_promptHistory','set','fieldView','createCollection','historyGroupView','chain','insertButton','stopButton'];_0x9174=function(){return _0x9086b5;};return _0x9174();}import{PromptHistory as _0xebe2e9}from'./prompthistory.js';import{getTranslation as _0xedf5d3}from'../../utils/common-translations.js';import{escape as _0x45c95b}from'es-toolkit/compat';export class AIFormView extends _0x181003{[_0x1561e0(0x1b8)];[_0x1561e0(0x1ac)];[_0x1561e0(0x1aa)];[_0x1561e0(0x17d)];[_0x1561e0(0x16c)];[_0x1561e0(0x185)];[_0x1561e0(0x174)];[_0x1561e0(0x175)];[_0x1561e0(0x1ad)];constructor(_0x103965,_0x458885,_0x9ec876=''){const _0x1c4891=_0x1561e0;super(_0x103965),this[_0x1c4891(0x1ae)](_0x1c4891(0x1a8),!0x0),this[_0x1c4891(0x1ae)](_0x1c4891(0x196),!0x1),this[_0x1c4891(0x1ae)](_0x1c4891(0x19b),''),this[_0x1c4891(0x1ae)](_0x1c4891(0x17c),''),this[_0x1c4891(0x1ae)](_0x1c4891(0x177),!0x1),this[_0x1c4891(0x1ae)](_0x1c4891(0x19a),_0x1b7f77[_0x1c4891(0x190)]),this[_0x1c4891(0x1ad)]=new _0xebe2e9(),this[_0x1c4891(0x185)]=new _0x5e907a(_0x103965),this[_0x1c4891(0x1aa)]=new _0x41fba6(_0x103965,_0x9ec876),this[_0x1c4891(0x1aa)][_0x1c4891(0x16a)](_0x1c4891(0x196))['to'](this),this[_0x1c4891(0x1aa)][_0x1c4891(0x16a)](_0x1c4891(0x17c))['to'](this),this[_0x1c4891(0x17d)]=this[_0x1c4891(0x193)](),this[_0x1c4891(0x17d)][_0x1c4891(0x16a)](_0x1c4891(0x19a))['to'](this),this[_0x1c4891(0x16c)]=this[_0x1c4891(0x183)](),this[_0x1c4891(0x1b8)]=new _0x1dc8e8(),this[_0x1c4891(0x1ac)]=new _0x27f0da(),this[_0x1c4891(0x174)]=this[_0x1c4891(0x1b0)]([this[_0x1c4891(0x1aa)],this[_0x1c4891(0x1aa)][_0x1c4891(0x18d)],this[_0x1c4891(0x17d)],this[_0x1c4891(0x16c)]]),this[_0x1c4891(0x175)]=new _0x1c0ca8({'focusables':this[_0x1c4891(0x174)],'focusTracker':this[_0x1c4891(0x1b8)],'keystrokeHandler':this[_0x1c4891(0x1ac)],'actions':{'focusPrevious':_0x1c4891(0x187),'focusNext':_0x1c4891(0x168)}}),this[_0x1c4891(0x175)][_0x1c4891(0x1b2)](this[_0x1c4891(0x16c)][_0x1c4891(0x175)]),this[_0x1c4891(0x16c)][_0x1c4891(0x195)][_0x1c4891(0x1af)][_0x1c4891(0x16a)](_0x1c4891(0x17c))['to'](this,_0x1c4891(0x19b));const _0x4791fd=this[_0x1c4891(0x199)];this[_0x1c4891(0x1a1)]({'tag':_0x1c4891(0x1a0),'attributes':{'class':['ck',_0x1c4891(0x1a6),_0x458885],'tabindex':'-1'},'children':[{'tag':_0x1c4891(0x1a0),'attributes':{'class':['ck',_0x1c4891(0x18c)]},'children':[{'tag':_0x1c4891(0x1a0),'attributes':{'class':[_0x4791fd['if'](_0x1c4891(0x177),_0x1c4891(0x172),_0x4ab5b0=>!_0x4ab5b0)]},'children':[this[_0x1c4891(0x185)]]},this[_0x1c4891(0x1aa)],this[_0x1c4891(0x17d)],this[_0x1c4891(0x16c)]]}]});}[_0x1561e0(0x178)](){const _0x44f238=_0x1561e0;super[_0x44f238(0x178)](),this[_0x44f238(0x1b8)][_0x44f238(0x18f)](this[_0x44f238(0x1aa)][_0x44f238(0x1a4)]),this[_0x44f238(0x1b8)][_0x44f238(0x18f)](this[_0x44f238(0x1aa)][_0x44f238(0x18d)][_0x44f238(0x1a4)]),this[_0x44f238(0x1b8)][_0x44f238(0x18f)](this[_0x44f238(0x17d)][_0x44f238(0x1a4)]),this[_0x44f238(0x1b8)][_0x44f238(0x18f)](this[_0x44f238(0x16c)][_0x44f238(0x1a4)]),this[_0x44f238(0x1ac)][_0x44f238(0x1b5)](this[_0x44f238(0x1a4)]);}[_0x1561e0(0x169)](_0x40686d=0x1){const _0x4f19bf=_0x1561e0;-0x1===_0x40686d?this[_0x4f19bf(0x175)][_0x4f19bf(0x189)]():this[_0x4f19bf(0x175)][_0x4f19bf(0x170)]();}[_0x1561e0(0x1a2)](){const _0x1291ef=_0x1561e0;this[_0x1291ef(0x19b)]='',this[_0x1291ef(0x17c)]='',this[_0x1291ef(0x177)]=!0x1,this[_0x1291ef(0x16c)][_0x1291ef(0x1a2)](),this[_0x1291ef(0x1aa)][_0x1291ef(0x1a7)]=!0x1,this[_0x1291ef(0x17d)][_0x1291ef(0x1a7)]=!0x1;}[_0x1561e0(0x183)](){const _0x561159=_0x1561e0,_0x470b8b=this[_0x561159(0x182)],_0x2ce924=new _0x51b192(_0x470b8b,{'queryView':{'label':_0xedf5d3(_0x470b8b,_0x561159(0x16f)),'creator':_0x359869,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xedf5d3(_0x470b8b,_0x561159(0x176)),'secondary':_0xedf5d3(_0x470b8b,_0x561159(0x18a))}}},'filteredView':this[_0x561159(0x17b)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2ce924[_0x561159(0x16a)](_0x561159(0x1a8))['to'](this,_0x561159(0x1a8),this,_0x561159(0x196),(_0x291a54,_0x16d10f)=>_0x291a54&&!_0x16d10f),this[_0x561159(0x1b5)](_0x2ce924,_0x561159(0x179),(_0x483c59,_0x24d3f7)=>{const _0x26cf2a=_0x561159;this[_0x26cf2a(0x19b)]=_0x24d3f7;const _0x419092=_0x45c95b(_0x24d3f7);this[_0x26cf2a(0x1b7)](_0x26cf2a(0x17e),_0x419092),_0x24d3f7[_0x26cf2a(0x165)]()&&this[_0x26cf2a(0x1ad)][_0x26cf2a(0x18f)]({'prompt':_0x419092},0x0);},{'priority':_0x561159(0x197)}),_0x2ce924;}[_0x1561e0(0x17b)](){const _0xf550b5=_0x1561e0,_0x11d405=new _0x207b07(this[_0xf550b5(0x182)]);return _0x11d405[_0xf550b5(0x1b1)][_0xf550b5(0x1b6)][_0xf550b5(0x18e)](this[_0xf550b5(0x1ad)])['as'](_0x40d8c7),_0x11d405['on'](_0xf550b5(0x17f),()=>{const _0x525366=_0xf550b5;this[_0x525366(0x1ad)][_0x525366(0x198)](),this[_0x525366(0x16c)][_0x525366(0x188)](''),this[_0x525366(0x16c)][_0x525366(0x169)]();}),_0x11d405;}[_0x1561e0(0x193)](){const _0x6a87d4=_0x1561e0,_0x30d90b=new _0x797313(this[_0x6a87d4(0x182)]);return _0x30d90b[_0x6a87d4(0x19e)][_0x6a87d4(0x16a)](_0x6a87d4(0x1a8))['to'](this,_0x6a87d4(0x1a8),this,_0x6a87d4(0x196),this,_0x6a87d4(0x17c),(_0xf1fe95,_0x315af6,_0x33d074)=>_0xf1fe95&&!_0x315af6&&!!_0x33d074),_0x30d90b[_0x6a87d4(0x19e)][_0x6a87d4(0x1a9)](_0x6a87d4(0x16e))['to'](this,_0x6a87d4(0x184)),_0x30d90b[_0x6a87d4(0x1b3)][_0x6a87d4(0x16a)](_0x6a87d4(0x1a8))['to'](this,_0x6a87d4(0x1a8),this,_0x6a87d4(0x196),this,_0x6a87d4(0x17c),(_0x16f80e,_0x2b41ec,_0x1034b6)=>_0x16f80e&&!_0x2b41ec&&!!_0x1034b6),_0x30d90b[_0x6a87d4(0x1b3)][_0x6a87d4(0x1a9)](_0x6a87d4(0x16e))['to'](this,_0x6a87d4(0x17a)),_0x30d90b[_0x6a87d4(0x171)][_0x6a87d4(0x16a)](_0x6a87d4(0x1a8))['to'](this,_0x6a87d4(0x1a8),this,_0x6a87d4(0x196),(_0x498383,_0x577b23)=>_0x498383&&!_0x577b23),_0x30d90b[_0x6a87d4(0x171)][_0x6a87d4(0x1a9)](_0x6a87d4(0x16e))['to'](this,_0x6a87d4(0x16d)),_0x30d90b[_0x6a87d4(0x1b4)][_0x6a87d4(0x16a)](_0x6a87d4(0x1a8))['to'](this,_0x6a87d4(0x196)),_0x30d90b[_0x6a87d4(0x1b4)][_0x6a87d4(0x1a9)](_0x6a87d4(0x16e))['to'](this,_0x6a87d4(0x19f)),_0x30d90b;}[_0x1561e0(0x1ab)](){const _0x4d7f85=_0x1561e0;this[_0x4d7f85(0x17c)]='',this[_0x4d7f85(0x177)]=!0x1,this[_0x4d7f85(0x196)]=!0x0,this[_0x4d7f85(0x1aa)][_0x4d7f85(0x1a7)]=!0x0,this[_0x4d7f85(0x17d)][_0x4d7f85(0x1a7)]=!0x0,this[_0x4d7f85(0x1aa)][_0x4d7f85(0x169)]();}[_0x1561e0(0x166)](){const _0x2364d9=_0x1561e0,_0x3cff3f=this[_0x2364d9(0x182)];this[_0x2364d9(0x196)]=!0x1,this[_0x2364d9(0x19b)]='',this[_0x2364d9(0x16c)][_0x2364d9(0x1a2)](),this[_0x2364d9(0x17c)]&&(this[_0x2364d9(0x16c)][_0x2364d9(0x195)][_0x2364d9(0x180)]=_0xedf5d3(_0x3cff3f,_0x2364d9(0x191)));}[_0x1561e0(0x167)](_0x1d23c4){const _0x18762d=_0x1561e0,_0x174339=this[_0x18762d(0x182)];this[_0x18762d(0x166)](),this[_0x18762d(0x177)]=!0x0,this[_0x18762d(0x185)][_0x18762d(0x173)]=_0x1d23c4||_0xedf5d3(_0x174339,_0x18762d(0x16b)),this[_0x18762d(0x17c)]||(this[_0x18762d(0x1aa)][_0x18762d(0x1a7)]=!0x1);}}
23
+ const _0x763bab=_0x1f6d;(function(_0x31ef29,_0x1be33e){const _0x2316b3=_0x1f6d,_0x1f148f=_0x31ef29();while(!![]){try{const _0x17ca9a=parseInt(_0x2316b3(0xfe))/0x1*(parseInt(_0x2316b3(0x139))/0x2)+parseInt(_0x2316b3(0x147))/0x3+-parseInt(_0x2316b3(0x121))/0x4+parseInt(_0x2316b3(0x102))/0x5*(parseInt(_0x2316b3(0x12e))/0x6)+parseInt(_0x2316b3(0xf5))/0x7+-parseInt(_0x2316b3(0x13f))/0x8+-parseInt(_0x2316b3(0xf9))/0x9;if(_0x17ca9a===_0x1be33e)break;else _0x1f148f['push'](_0x1f148f['shift']());}catch(_0x3933ae){_0x1f148f['push'](_0x1f148f['shift']());}}}(_0x3072,0x644fc));import{FocusTracker as _0x38dd4d,KeystrokeHandler as _0x58e601}from'ckeditor5/src/utils.js';import{View as _0x52a94b,FocusCycler as _0x218680,createLabeledTextarea as _0x212a31}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x7c8662,AIFormToolbarViewMainActionLabel as _0x2ed0e6}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x391617}from'./aiformcontentarea.js';import{AIFormErrorView as _0x2b2f81}from'./aiformerrorview.js';function _0x1f6d(_0x632535,_0x41e65a){const _0x3072f0=_0x3072();return _0x1f6d=function(_0x1f6dee,_0x4d4d86){_0x1f6dee=_0x1f6dee-0xf4;let _0x21cb58=_0x3072f0[_0x1f6dee];return _0x21cb58;},_0x1f6d(_0x632535,_0x41e65a);}import{AIFormPromptView as _0x4e32e4}from'./aiformpromptview.js';import{AIHistoryListView as _0x4404e5}from'./aihistorylistview.js';function _0x3072(){const _0x1c56c1=['bindTemplate','submitPrompt','listenTo','Empty\x20history','value','focusCycler','handleError','items','_createHistoryView','insertContentBelow','label','promptView','chain','queryView','tryAgainEvent','tryAgainButton','locale','stopProcessing','fieldView','shift\x20+\x20tab','mainAction','fire','replaceContent','ck-hidden','focus','clear','high','_focusables','973592HfmBzP','createCollection','clearHistory','isEnabled','focusLast','Ask\x20AI\x20to\x20improve\x20generated\x20text','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','element','REPLACE','AI_ERROR_FAILED','historyGroupView','delegate','focusFirst','258slIxDq','replaceButton','toolbar','isVisible','bind','execute','search','bindTo','tab','contentArea','insertButton','7210xYnpqk','render','set','ck-ai-form','setTemplate','isError','4530144zfVhQh','text','keystrokes','errorView','ck-ai-form-content','reset','_createToolbar','Ask\x20AI\x20to\x20edit\x20or\x20generate','992136QYgfVJ','copyButtonView','385812wUMbLO','_promptHistory','div','trim','3345570eDvwAX','_createPromptView','isProcessing','startProcessing','focusTracker','173sOrwWm','add','prompt','finishProcessing','67765WPQzwY','submit','stopButton'];_0x3072=function(){return _0x1c56c1;};return _0x3072();}import{AIHistoryListItemView as _0x23dd69}from'./aihistorylistitemview.js';import{PromptHistory as _0x44f7c9}from'./prompthistory.js';import{getTranslation as _0x54571b}from'../../utils/common-translations.js';import{escape as _0x361a13}from'es-toolkit/compat';export class AIFormView extends _0x52a94b{[_0x763bab(0xfd)];[_0x763bab(0x141)];[_0x763bab(0x137)];[_0x763bab(0x130)];[_0x763bab(0x110)];[_0x763bab(0x142)];[_0x763bab(0x120)];[_0x763bab(0x10a)];[_0x763bab(0xf6)];constructor(_0x33e4cd,_0xb9b401,_0x160496=''){const _0x5ade05=_0x763bab;super(_0x33e4cd),this[_0x5ade05(0x13b)](_0x5ade05(0x124),!0x0),this[_0x5ade05(0x13b)](_0x5ade05(0xfb),!0x1),this[_0x5ade05(0x13b)](_0x5ade05(0x100),''),this[_0x5ade05(0x13b)](_0x5ade05(0x109),''),this[_0x5ade05(0x13b)](_0x5ade05(0x13e),!0x1),this[_0x5ade05(0x13b)](_0x5ade05(0x119),_0x2ed0e6[_0x5ade05(0x129)]),this[_0x5ade05(0xf6)]=new _0x44f7c9(),this[_0x5ade05(0x142)]=new _0x2b2f81(_0x33e4cd),this[_0x5ade05(0x137)]=new _0x391617(_0x33e4cd,_0x160496),this[_0x5ade05(0x137)][_0x5ade05(0x132)](_0x5ade05(0xfb))['to'](this),this[_0x5ade05(0x137)][_0x5ade05(0x132)](_0x5ade05(0x109))['to'](this),this[_0x5ade05(0x130)]=this[_0x5ade05(0x145)](),this[_0x5ade05(0x130)][_0x5ade05(0x132)](_0x5ade05(0x119))['to'](this),this[_0x5ade05(0x110)]=this[_0x5ade05(0xfa)](),this[_0x5ade05(0xfd)]=new _0x38dd4d(),this[_0x5ade05(0x141)]=new _0x58e601(),this[_0x5ade05(0x120)]=this[_0x5ade05(0x122)]([this[_0x5ade05(0x137)],this[_0x5ade05(0x137)][_0x5ade05(0xf4)],this[_0x5ade05(0x130)],this[_0x5ade05(0x110)]]),this[_0x5ade05(0x10a)]=new _0x218680({'focusables':this[_0x5ade05(0x120)],'focusTracker':this[_0x5ade05(0xfd)],'keystrokeHandler':this[_0x5ade05(0x141)],'actions':{'focusPrevious':_0x5ade05(0x118),'focusNext':_0x5ade05(0x136)}}),this[_0x5ade05(0x10a)][_0x5ade05(0x111)](this[_0x5ade05(0x110)][_0x5ade05(0x10a)]),this[_0x5ade05(0x110)][_0x5ade05(0x112)][_0x5ade05(0x117)][_0x5ade05(0x132)](_0x5ade05(0x109))['to'](this,_0x5ade05(0x100));const _0x4a1492=this[_0x5ade05(0x105)];this[_0x5ade05(0x13d)]({'tag':_0x5ade05(0xf7),'attributes':{'class':['ck',_0x5ade05(0x13c),_0xb9b401],'tabindex':'-1'},'children':[{'tag':_0x5ade05(0xf7),'attributes':{'class':['ck',_0x5ade05(0x143)]},'children':[{'tag':_0x5ade05(0xf7),'attributes':{'class':[_0x4a1492['if'](_0x5ade05(0x13e),_0x5ade05(0x11c),_0x20936b=>!_0x20936b)]},'children':[this[_0x5ade05(0x142)]]},this[_0x5ade05(0x137)],this[_0x5ade05(0x130)],this[_0x5ade05(0x110)]]}]});}[_0x763bab(0x13a)](){const _0x40b25a=_0x763bab;super[_0x40b25a(0x13a)](),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x137)][_0x40b25a(0x128)]),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x137)][_0x40b25a(0xf4)][_0x40b25a(0x128)]),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x130)][_0x40b25a(0x128)]),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x110)][_0x40b25a(0x128)]),this[_0x40b25a(0x141)][_0x40b25a(0x107)](this[_0x40b25a(0x128)]);}[_0x763bab(0x11d)](_0x57d3ac=0x1){const _0x250fdf=_0x763bab;-0x1===_0x57d3ac?this[_0x250fdf(0x10a)][_0x250fdf(0x125)]():this[_0x250fdf(0x10a)][_0x250fdf(0x12d)]();}[_0x763bab(0x144)](){const _0x47e74b=_0x763bab;this[_0x47e74b(0x100)]='',this[_0x47e74b(0x109)]='',this[_0x47e74b(0x13e)]=!0x1,this[_0x47e74b(0x110)][_0x47e74b(0x144)](),this[_0x47e74b(0x137)][_0x47e74b(0x131)]=!0x1,this[_0x47e74b(0x130)][_0x47e74b(0x131)]=!0x1;}[_0x763bab(0xfa)](){const _0x53b85c=_0x763bab,_0x46da0e=this[_0x53b85c(0x115)],_0x211d86=new _0x4e32e4(_0x46da0e,{'queryView':{'label':_0x54571b(_0x46da0e,_0x53b85c(0x146)),'creator':_0x212a31,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x54571b(_0x46da0e,_0x53b85c(0x108)),'secondary':_0x54571b(_0x46da0e,_0x53b85c(0x127))}}},'filteredView':this[_0x53b85c(0x10d)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x211d86[_0x53b85c(0x132)](_0x53b85c(0x124))['to'](this,_0x53b85c(0x124),this,_0x53b85c(0xfb),(_0x51989c,_0x59eacf)=>_0x51989c&&!_0x59eacf),this[_0x53b85c(0x107)](_0x211d86,_0x53b85c(0x103),(_0x492635,_0x252938)=>{const _0x49206b=_0x53b85c;this[_0x49206b(0x100)]=_0x252938;const _0x4e079a=_0x361a13(_0x252938);this[_0x49206b(0x11a)](_0x49206b(0x106),_0x4e079a),_0x252938[_0x49206b(0xf8)]()&&this[_0x49206b(0xf6)][_0x49206b(0xff)]({'prompt':_0x4e079a},0x0);},{'priority':_0x53b85c(0x11f)}),_0x211d86;}[_0x763bab(0x10d)](){const _0x1fc472=_0x763bab,_0x3a6040=new _0x4404e5(this[_0x1fc472(0x115)]);return _0x3a6040[_0x1fc472(0x12b)][_0x1fc472(0x10c)][_0x1fc472(0x135)](this[_0x1fc472(0xf6)])['as'](_0x23dd69),_0x3a6040['on'](_0x1fc472(0x123),()=>{const _0x4b02dd=_0x1fc472;this[_0x4b02dd(0xf6)][_0x4b02dd(0x11e)](),this[_0x4b02dd(0x110)][_0x4b02dd(0x134)](''),this[_0x4b02dd(0x110)][_0x4b02dd(0x11d)]();}),_0x3a6040;}[_0x763bab(0x145)](){const _0x4c3db8=_0x763bab,_0x15e47d=new _0x7c8662(this[_0x4c3db8(0x115)]);return _0x15e47d[_0x4c3db8(0x12f)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0x124),this,_0x4c3db8(0xfb),this,_0x4c3db8(0x109),(_0x328d27,_0x530234,_0x5a173b)=>_0x328d27&&!_0x530234&&!!_0x5a173b),_0x15e47d[_0x4c3db8(0x12f)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x11b)),_0x15e47d[_0x4c3db8(0x138)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0x124),this,_0x4c3db8(0xfb),this,_0x4c3db8(0x109),(_0x3dbea6,_0x2c8889,_0x2fc145)=>_0x3dbea6&&!_0x2c8889&&!!_0x2fc145),_0x15e47d[_0x4c3db8(0x138)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x10e)),_0x15e47d[_0x4c3db8(0x114)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0x124),this,_0x4c3db8(0xfb),(_0xb84f47,_0x57cee2)=>_0xb84f47&&!_0x57cee2),_0x15e47d[_0x4c3db8(0x114)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x113)),_0x15e47d[_0x4c3db8(0x104)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0xfb)),_0x15e47d[_0x4c3db8(0x104)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x116)),_0x15e47d;}[_0x763bab(0xfc)](){const _0x419a4b=_0x763bab;this[_0x419a4b(0x109)]='',this[_0x419a4b(0x13e)]=!0x1,this[_0x419a4b(0xfb)]=!0x0,this[_0x419a4b(0x137)][_0x419a4b(0x131)]=!0x0,this[_0x419a4b(0x130)][_0x419a4b(0x131)]=!0x0,this[_0x419a4b(0x137)][_0x419a4b(0x11d)]();}[_0x763bab(0x101)](){const _0x28ae1b=_0x763bab,_0x5ae24c=this[_0x28ae1b(0x115)];this[_0x28ae1b(0xfb)]=!0x1,this[_0x28ae1b(0x100)]='',this[_0x28ae1b(0x110)][_0x28ae1b(0x144)](),this[_0x28ae1b(0x109)]&&(this[_0x28ae1b(0x110)][_0x28ae1b(0x112)][_0x28ae1b(0x10f)]=_0x54571b(_0x5ae24c,_0x28ae1b(0x126)));}[_0x763bab(0x10b)](_0x733298){const _0x464300=_0x763bab,_0x3ea6e3=this[_0x464300(0x115)];this[_0x464300(0x101)](),this[_0x464300(0x13e)]=!0x0,this[_0x464300(0x142)][_0x464300(0x140)]=_0x733298||_0x54571b(_0x3ea6e3,_0x464300(0x12a)),this[_0x464300(0x109)]||(this[_0x464300(0x137)][_0x464300(0x131)]=!0x1);}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, 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 _0x1aee(){const _0x2e6d8d=['prompt','locale','set','10zrSkMI','541344YDWuRb','execute','2032482nEZuva','children','386468DgRfjb','64AemayM','fire','1353gKomis','128ClRUtt','115860YxnZXz','227983MazEZX','141042LdmDsx','add','6623154zjIhzY'];_0x1aee=function(){return _0x2e6d8d;};return _0x1aee();}(function(_0x5df661,_0x3212cd){const _0x16d6ee=_0xcdd5,_0x36a272=_0x5df661();while(!![]){try{const _0x38fd93=-parseInt(_0x16d6ee(0x14c))/0x1+-parseInt(_0x16d6ee(0x150))/0x2+-parseInt(_0x16d6ee(0x145))/0x3*(-parseInt(_0x16d6ee(0x13f))/0x4)+parseInt(_0x16d6ee(0x14b))/0x5*(-parseInt(_0x16d6ee(0x14e))/0x6)+parseInt(_0x16d6ee(0x144))/0x7*(parseInt(_0x16d6ee(0x142))/0x8)+-parseInt(_0x16d6ee(0x147))/0x9+-parseInt(_0x16d6ee(0x143))/0xa*(-parseInt(_0x16d6ee(0x141))/0xb);if(_0x38fd93===_0x3212cd)break;else _0x36a272['push'](_0x36a272['shift']());}catch(_0x3dd746){_0x36a272['push'](_0x36a272['shift']());}}}(_0x1aee,0x8661c));import{ListItemView as _0x3a3693,ButtonView as _0x2a13f8,ButtonLabelView as _0x4e6a80}from'ckeditor5/src/ui.js';import{unescape as _0x34cefc}from'es-toolkit/compat';function _0xcdd5(_0x92663a,_0x4e5ed2){const _0x1aee04=_0x1aee();return _0xcdd5=function(_0xcdd596,_0x7bb24){_0xcdd596=_0xcdd596-0x13f;let _0x956df6=_0x1aee04[_0xcdd596];return _0x956df6;},_0xcdd5(_0x92663a,_0x4e5ed2);}export class AIHistoryListItemView extends _0x3a3693{constructor(_0x505e26){const _0x235e0a=_0xcdd5;super();const _0x3b11d5=new _0x4e6a80(),_0x3ce8e5=new _0x2a13f8(this[_0x235e0a(0x149)],_0x3b11d5);this[_0x235e0a(0x14f)][_0x235e0a(0x146)](_0x3ce8e5),_0x3ce8e5[_0x235e0a(0x14a)]({'label':_0x505e26[_0x235e0a(0x148)],'withText':!0x0}),_0x3ce8e5['on'](_0x235e0a(0x14d),()=>{const _0x34e4db=_0x235e0a;this[_0x34e4db(0x140)](_0x34e4db(0x14d),{'value':_0x34cefc(_0x505e26[_0x34e4db(0x148)])});});}}
23
+ function _0x404d(){const _0x3e44c3=['2949357nSyMWz','fire','224sgElAp','children','execute','251378gPFAek','422487aULMOr','35VRhdCU','add','locale','1225440BnkXpC','53011FraRKL','70VPbMXU','298772ZbQbKa','prompt','set','1081158nxuQkI'];_0x404d=function(){return _0x3e44c3;};return _0x404d();}(function(_0x1f9be2,_0x4f00e9){const _0x40c0ac=_0x568b,_0x3ad03c=_0x1f9be2();while(!![]){try{const _0x1ae970=parseInt(_0x40c0ac(0x1da))/0x1+-parseInt(_0x40c0ac(0x1d4))/0x2+parseInt(_0x40c0ac(0x1d5))/0x3+parseInt(_0x40c0ac(0x1e2))/0x4*(-parseInt(_0x40c0ac(0x1dc))/0x5)+-parseInt(_0x40c0ac(0x1df))/0x6+-parseInt(_0x40c0ac(0x1e0))/0x7*(-parseInt(_0x40c0ac(0x1d7))/0x8)+-parseInt(_0x40c0ac(0x1db))/0x9*(-parseInt(_0x40c0ac(0x1e1))/0xa);if(_0x1ae970===_0x4f00e9)break;else _0x3ad03c['push'](_0x3ad03c['shift']());}catch(_0x5553cc){_0x3ad03c['push'](_0x3ad03c['shift']());}}}(_0x404d,0x7be50));import{ListItemView as _0x204e20,ButtonView as _0x4a0f13,ButtonLabelView as _0x462a3f}from'ckeditor5/src/ui.js';import{unescape as _0x2fa3da}from'es-toolkit/compat';function _0x568b(_0x3f1226,_0x508184){const _0x404dbb=_0x404d();return _0x568b=function(_0x568b19,_0x4636cd){_0x568b19=_0x568b19-0x1d2;let _0x4c930d=_0x404dbb[_0x568b19];return _0x4c930d;},_0x568b(_0x3f1226,_0x508184);}export class AIHistoryListItemView extends _0x204e20{constructor(_0xe13b9c){const _0x492d42=_0x568b;super();const _0x75f270=new _0x462a3f(),_0x527adb=new _0x4a0f13(this[_0x492d42(0x1de)],_0x75f270);this[_0x492d42(0x1d8)][_0x492d42(0x1dd)](_0x527adb),_0x527adb[_0x492d42(0x1d3)]({'label':_0xe13b9c[_0x492d42(0x1d2)],'withText':!0x0}),_0x527adb['on'](_0x492d42(0x1d9),()=>{const _0x5ae228=_0x492d42;this[_0x5ae228(0x1d6)](_0x5ae228(0x1d9),{'value':_0x2fa3da(_0xe13b9c[_0x5ae228(0x1d2)])});});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, 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 _0x352d72=_0x4fb3;(function(_0x4658b1,_0x2e415a){const _0x430f85=_0x4fb3,_0x56c59f=_0x4658b1();while(!![]){try{const _0x41a396=-parseInt(_0x430f85(0x1d8))/0x1*(-parseInt(_0x430f85(0x1e0))/0x2)+parseInt(_0x430f85(0x1dc))/0x3+-parseInt(_0x430f85(0x1de))/0x4*(-parseInt(_0x430f85(0x1e6))/0x5)+parseInt(_0x430f85(0x1dd))/0x6*(parseInt(_0x430f85(0x1cb))/0x7)+parseInt(_0x430f85(0x1d3))/0x8*(-parseInt(_0x430f85(0x1ce))/0x9)+parseInt(_0x430f85(0x1d7))/0xa*(-parseInt(_0x430f85(0x1d6))/0xb)+-parseInt(_0x430f85(0x1db))/0xc;if(_0x41a396===_0x2e415a)break;else _0x56c59f['push'](_0x56c59f['shift']());}catch(_0x33f86c){_0x56c59f['push'](_0x56c59f['shift']());}}}(_0xb4ed,0x9f41c));import{ListView as _0x1a68b4,ListItemGroupView as _0x538d8f,ButtonView as _0x57f34c}from'ckeditor5/src/ui.js';import{getTranslation as _0x22f6de}from'../../utils/common-translations.js';function _0xb4ed(){const _0x58f269=['Clear','fire','703185HspIbf','delegate','709975NPdqfF','execute','length','1821708MkOsgi','set','items','children','Prompt\x20history','40NynJoT','add','_createClearHistoryButton','208241CxwBRF','250gCmYGo','3431sxMwFy','locale','clearHistory','5453832vUEKyC','1161978cZxYbg','18AzPssV','28SAoJvd','clearHistoryButton','534HHBmtQ','label','filter','historyGroupView'];_0xb4ed=function(){return _0x58f269;};return _0xb4ed();}function _0x4fb3(_0x1e8513,_0x11fd49){const _0xb4ed23=_0xb4ed();return _0x4fb3=function(_0x4fb37f,_0x22a0bd){_0x4fb37f=_0x4fb37f-0x1cb;let _0x1ea095=_0xb4ed23[_0x4fb37f];return _0x1ea095;},_0x4fb3(_0x1e8513,_0x11fd49);}export class AIHistoryListView extends _0x1a68b4{[_0x352d72(0x1e3)];[_0x352d72(0x1df)];constructor(_0x1fddcd){const _0x52978b=_0x352d72;super(_0x1fddcd),this[_0x52978b(0x1df)]=this[_0x52978b(0x1d5)](),this[_0x52978b(0x1e3)]=new _0x538d8f(),this[_0x52978b(0x1e3)][_0x52978b(0x1d1)][_0x52978b(0x1d4)](this[_0x52978b(0x1df)],0x1),this[_0x52978b(0x1e3)][_0x52978b(0x1e1)]=_0x22f6de(_0x1fddcd,_0x52978b(0x1d2)),this[_0x52978b(0x1e3)][_0x52978b(0x1d0)][_0x52978b(0x1e7)](_0x52978b(0x1cc))['to'](this),this[_0x52978b(0x1d0)][_0x52978b(0x1d4)](this[_0x52978b(0x1e3)]);}[_0x352d72(0x1e2)](){const _0x3938a9=_0x352d72;let _0x255cc9=0x0;for(const _0x1665bc of this[_0x3938a9(0x1d0)])_0x255cc9+=_0x1665bc[_0x3938a9(0x1d0)][_0x3938a9(0x1cd)];return{'resultsCount':_0x255cc9,'totalItemsCount':_0x255cc9};}[_0x352d72(0x1d5)](){const _0x488330=_0x352d72,_0x402175=this[_0x488330(0x1d9)],_0x1a1f1b=new _0x57f34c(this[_0x488330(0x1d9)]);return _0x1a1f1b[_0x488330(0x1cf)]({'label':'('+_0x22f6de(_0x402175,_0x488330(0x1e4))+')','withText':!0x0}),_0x1a1f1b['on'](_0x488330(0x1cc),()=>this[_0x488330(0x1e5)](_0x488330(0x1da))),_0x1a1f1b;}}
23
+ const _0x3ff043=_0x680e;(function(_0x5528b7,_0x479b2f){const _0x410e09=_0x680e,_0x58983a=_0x5528b7();while(!![]){try{const _0x27a15a=-parseInt(_0x410e09(0x18c))/0x1+parseInt(_0x410e09(0x189))/0x2+parseInt(_0x410e09(0x18b))/0x3*(parseInt(_0x410e09(0x19d))/0x4)+parseInt(_0x410e09(0x193))/0x5+parseInt(_0x410e09(0x190))/0x6*(-parseInt(_0x410e09(0x199))/0x7)+-parseInt(_0x410e09(0x19b))/0x8+parseInt(_0x410e09(0x196))/0x9*(parseInt(_0x410e09(0x18d))/0xa);if(_0x27a15a===_0x479b2f)break;else _0x58983a['push'](_0x58983a['shift']());}catch(_0xe9ee3){_0x58983a['push'](_0x58983a['shift']());}}}(_0x4a28,0x48ded));import{ListView as _0x4324d9,ListItemGroupView as _0x401e6c,ButtonView as _0x1770f4}from'ckeditor5/src/ui.js';function _0x4a28(){const _0x150be8=['42262qyvclL','295180PtSHUN','length','historyGroupView','2062626IHEsFL','clearHistory','children','2417435isSNOG','locale','fire','45tukXNR','_createClearHistoryButton','set','7LAqVVH','filter','1608056grEEei','Clear','24mnpGTs','items','Prompt\x20history','add','clearHistoryButton','execute','delegate','182744svITgP','label','81534ViBliz'];_0x4a28=function(){return _0x150be8;};return _0x4a28();}function _0x680e(_0x6ddee2,_0x17c718){const _0x4a2835=_0x4a28();return _0x680e=function(_0x680e4e,_0x4c4be4){_0x680e4e=_0x680e4e-0x183;let _0x438d68=_0x4a2835[_0x680e4e];return _0x438d68;},_0x680e(_0x6ddee2,_0x17c718);}import{getTranslation as _0x31c95f}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x4324d9{[_0x3ff043(0x18f)];[_0x3ff043(0x186)];constructor(_0x25e894){const _0x22c675=_0x3ff043;super(_0x25e894),this[_0x22c675(0x186)]=this[_0x22c675(0x197)](),this[_0x22c675(0x18f)]=new _0x401e6c(),this[_0x22c675(0x18f)][_0x22c675(0x192)][_0x22c675(0x185)](this[_0x22c675(0x186)],0x1),this[_0x22c675(0x18f)][_0x22c675(0x18a)]=_0x31c95f(_0x25e894,_0x22c675(0x184)),this[_0x22c675(0x18f)][_0x22c675(0x183)][_0x22c675(0x188)](_0x22c675(0x187))['to'](this),this[_0x22c675(0x183)][_0x22c675(0x185)](this[_0x22c675(0x18f)]);}[_0x3ff043(0x19a)](){const _0x2fdfca=_0x3ff043;let _0x3d2fab=0x0;for(const _0x38393e of this[_0x2fdfca(0x183)])_0x3d2fab+=_0x38393e[_0x2fdfca(0x183)][_0x2fdfca(0x18e)];return{'resultsCount':_0x3d2fab,'totalItemsCount':_0x3d2fab};}[_0x3ff043(0x197)](){const _0x182fdf=_0x3ff043,_0x5d9dba=this[_0x182fdf(0x194)],_0x56eafe=new _0x1770f4(this[_0x182fdf(0x194)]);return _0x56eafe[_0x182fdf(0x198)]({'label':'('+_0x31c95f(_0x5d9dba,_0x182fdf(0x19c))+')','withText':!0x0}),_0x56eafe['on'](_0x182fdf(0x187),()=>this[_0x182fdf(0x195)](_0x182fdf(0x191))),_0x56eafe;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, 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 _0x4b61(){const _0x414a0c=['parse','remove','60xFSoiY','getItem','map','516606EYMlpJ','44aDKafk','add','251640oKeGFr','addMany','20610xKOqhe','stringify','trim','1144EMxgCN','1979992VMRnuZ','_saveToSessionStorage','toLowerCase','154810djAHjY','prompt','CKEditor/AIFormView/PromptHistory','533269xbsvGM','setItem','length','505NqDOxX','last','1370mqkdbL','_loadFromSessionStorage'];_0x4b61=function(){return _0x414a0c;};return _0x4b61();}function _0x31b4(_0x30fb48,_0x487b85){const _0x4b6139=_0x4b61();return _0x31b4=function(_0x31b4ea,_0x1c2de1){_0x31b4ea=_0x31b4ea-0x1b6;let _0x32b6e4=_0x4b6139[_0x31b4ea];return _0x32b6e4;},_0x31b4(_0x30fb48,_0x487b85);}const _0x392818=_0x31b4;(function(_0x53712a,_0x24815b){const _0x5a3b6d=_0x31b4,_0x677ab5=_0x53712a();while(!![]){try{const _0x1f6c22=parseInt(_0x5a3b6d(0x1cb))/0x1*(-parseInt(_0x5a3b6d(0x1cd))/0x2)+-parseInt(_0x5a3b6d(0x1b9))/0x3+parseInt(_0x5a3b6d(0x1ba))/0x4*(parseInt(_0x5a3b6d(0x1c5))/0x5)+parseInt(_0x5a3b6d(0x1bc))/0x6+parseInt(_0x5a3b6d(0x1c2))/0x7+parseInt(_0x5a3b6d(0x1c1))/0x8*(parseInt(_0x5a3b6d(0x1be))/0x9)+parseInt(_0x5a3b6d(0x1b6))/0xa*(-parseInt(_0x5a3b6d(0x1c8))/0xb);if(_0x1f6c22===_0x24815b)break;else _0x677ab5['push'](_0x677ab5['shift']());}catch(_0xf9cd6a){_0x677ab5['push'](_0x677ab5['shift']());}}}(_0x4b61,0x2ce27));import{Collection as _0x313dc8}from'ckeditor5/src/utils.js';const So=_0x392818(0x1c7);export class PromptHistory extends _0x313dc8{constructor(){const _0x37e6e1=_0x392818;super(),this[_0x37e6e1(0x1ce)](),this['on'](_0x37e6e1(0x1bb),(_0x97faf5,_0xa76f7)=>{const _0x1f8066=_0x37e6e1,_0x3fa5ed=fo(_0xa76f7[_0x1f8066(0x1c6)]);for(const _0x528060 of this)if(_0x528060!=_0xa76f7&&fo(_0x528060[_0x1f8066(0x1c6)])===_0x3fa5ed){this[_0x1f8066(0x1d0)](_0x528060);break;}this[_0x1f8066(0x1ca)]>0x14&&this[_0x1f8066(0x1d0)](this[_0x1f8066(0x1cc)]),this[_0x1f8066(0x1c3)]();}),this['on'](_0x37e6e1(0x1d0),()=>{const _0x3081a0=_0x37e6e1;this[_0x3081a0(0x1c3)]();});}[_0x392818(0x1ce)](){const _0xd6817e=_0x392818,_0x548dd8=sessionStorage[_0xd6817e(0x1b7)](So)||'[]';this[_0xd6817e(0x1bd)](JSON[_0xd6817e(0x1cf)](_0x548dd8));}[_0x392818(0x1c3)](){const _0x2b4b4b=_0x392818;sessionStorage[_0x2b4b4b(0x1c9)](So,JSON[_0x2b4b4b(0x1bf)](this[_0x2b4b4b(0x1b8)](_0x2f9b8d=>_0x2f9b8d)));}}function fo(_0x4f2362){const _0x425b29=_0x392818;return _0x4f2362[_0x425b29(0x1c4)]()[_0x425b29(0x1c0)]();}
23
+ const _0x10b44c=_0x49a1;(function(_0x39a2ac,_0x2b772d){const _0x3016e2=_0x49a1,_0x23d5fa=_0x39a2ac();while(!![]){try{const _0x5ee39c=parseInt(_0x3016e2(0x1da))/0x1+parseInt(_0x3016e2(0x1c4))/0x2*(parseInt(_0x3016e2(0x1d4))/0x3)+parseInt(_0x3016e2(0x1cd))/0x4+parseInt(_0x3016e2(0x1d5))/0x5*(parseInt(_0x3016e2(0x1d1))/0x6)+parseInt(_0x3016e2(0x1db))/0x7*(parseInt(_0x3016e2(0x1d6))/0x8)+parseInt(_0x3016e2(0x1d3))/0x9*(-parseInt(_0x3016e2(0x1d9))/0xa)+-parseInt(_0x3016e2(0x1c6))/0xb*(parseInt(_0x3016e2(0x1c2))/0xc);if(_0x5ee39c===_0x2b772d)break;else _0x23d5fa['push'](_0x23d5fa['shift']());}catch(_0x11c7fc){_0x23d5fa['push'](_0x23d5fa['shift']());}}}(_0x5449,0xa8a1d));import{Collection as _0x5c0d4a}from'ckeditor5/src/utils.js';function _0x5449(){const _0x4286fa=['length','setItem','prompt','3565824ZcmfEL','parse','CKEditor/AIFormView/PromptHistory','add','3771912eeUkKf','remove','9SZDYvY','40542WkObjv','5BeFJiV','8cupVRw','map','_saveToSessionStorage','2948290kyZmsy','274128YHbnxS','1089109gcoeIC','last','_loadFromSessionStorage','2628nrbOZd','addMany','28znonDC','trim','57937WbQmQP','getItem','stringify','toLowerCase'];_0x5449=function(){return _0x4286fa;};return _0x5449();}const So=_0x10b44c(0x1cf);function _0x49a1(_0x4aabaa,_0x237b8c){const _0x54496f=_0x5449();return _0x49a1=function(_0x49a103,_0x203fe2){_0x49a103=_0x49a103-0x1c1;let _0x10d30d=_0x54496f[_0x49a103];return _0x10d30d;},_0x49a1(_0x4aabaa,_0x237b8c);}export class PromptHistory extends _0x5c0d4a{constructor(){const _0x22751e=_0x10b44c;super(),this[_0x22751e(0x1c1)](),this['on'](_0x22751e(0x1d0),(_0xe42d4c,_0x27f702)=>{const _0x4efa24=_0x22751e,_0x2f37ea=fo(_0x27f702[_0x4efa24(0x1cc)]);for(const _0x1ed565 of this)if(_0x1ed565!=_0x27f702&&fo(_0x1ed565[_0x4efa24(0x1cc)])===_0x2f37ea){this[_0x4efa24(0x1d2)](_0x1ed565);break;}this[_0x4efa24(0x1ca)]>0x14&&this[_0x4efa24(0x1d2)](this[_0x4efa24(0x1dc)]),this[_0x4efa24(0x1d8)]();}),this['on'](_0x22751e(0x1d2),()=>{const _0x243688=_0x22751e;this[_0x243688(0x1d8)]();});}[_0x10b44c(0x1c1)](){const _0x45d1ab=_0x10b44c,_0x596f43=sessionStorage[_0x45d1ab(0x1c7)](So)||'[]';this[_0x45d1ab(0x1c3)](JSON[_0x45d1ab(0x1ce)](_0x596f43));}[_0x10b44c(0x1d8)](){const _0x10dc6a=_0x10b44c;sessionStorage[_0x10dc6a(0x1cb)](So,JSON[_0x10dc6a(0x1c8)](this[_0x10dc6a(0x1d7)](_0x535d94=>_0x535d94)));}}function fo(_0x3afa1f){const _0x59a016=_0x10b44c;return _0x3afa1f[_0x59a016(0x1c9)]()[_0x59a016(0x1c5)]();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, 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 _0x4a5b(_0x4a3bf6,_0x39df33){const _0x14e7b6=_0x14e7();return _0x4a5b=function(_0x4a5bc7,_0x25efd5){_0x4a5bc7=_0x4a5bc7-0xc7;let _0x458d86=_0x14e7b6[_0x4a5bc7];return _0x458d86;},_0x4a5b(_0x4a3bf6,_0x39df33);}const _0x336815=_0x4a5b;(function(_0x2d43c5,_0x20be59){const _0x2bc0b6=_0x4a5b,_0x4296ca=_0x2d43c5();while(!![]){try{const _0xca7b08=-parseInt(_0x2bc0b6(0xed))/0x1+parseInt(_0x2bc0b6(0xd4))/0x2+parseInt(_0x2bc0b6(0xeb))/0x3*(parseInt(_0x2bc0b6(0xec))/0x4)+parseInt(_0x2bc0b6(0xdf))/0x5+parseInt(_0x2bc0b6(0xd6))/0x6+-parseInt(_0x2bc0b6(0xda))/0x7*(-parseInt(_0x2bc0b6(0xf1))/0x8)+parseInt(_0x2bc0b6(0xd8))/0x9*(-parseInt(_0x2bc0b6(0xe7))/0xa);if(_0xca7b08===_0x20be59)break;else _0x4296ca['push'](_0x4296ca['shift']());}catch(_0x328826){_0x4296ca['push'](_0x4296ca['shift']());}}}(_0x14e7,0xa94a5));import{Command as _0x1a00d}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x589c3f}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x1a00d{[_0x336815(0xe4)];constructor(_0x13e686,_0x170caa){const _0x26d47d=_0x336815;super(_0x13e686),this[_0x26d47d(0xe4)]=_0x170caa,this[_0x26d47d(0xd1)](_0x26d47d(0xd5),[]),this['on'](_0x26d47d(0xf0),(_0x3fe034,_0x29b7b2,_0x527abe)=>{const _0x540fb8=_0x26d47d;this[_0x540fb8(0xce)]&&(this[_0x540fb8(0xd5)]=fs(this[_0x540fb8(0xe4)],_0x527abe));}),this[_0x26d47d(0xd1)](_0x26d47d(0xd3),!0x1),this['on'](_0x26d47d(0xe2),(_0x459799,_0x105159,_0x5650c8)=>{const _0x350915=_0x26d47d;this[_0x350915(0xd5)]=_0x5650c8?fs(this[_0x350915(0xe4)],this[_0x350915(0xd3)]):[];});}[_0x336815(0xd9)](){const _0xfab26a=_0x336815,_0x43beaf=this[_0xfab26a(0xdd)][_0xfab26a(0xdb)];this[_0xfab26a(0xd3)]=function(_0x31a63e){const _0x21fe9b=_0xfab26a,_0x1c8402=_0x31a63e[_0x21fe9b(0xcd)][_0x21fe9b(0xd7)];return _0x1c8402[_0x21fe9b(0xe1)]?0x0!==[..._0x1c8402[_0x21fe9b(0xf2)]()][_0x21fe9b(0xe9)]&&![..._0x1c8402[_0x21fe9b(0xf2)]()][0x0][_0x21fe9b(0xe5)]:!!_0x31a63e[_0x21fe9b(0xe3)](_0x1c8402[_0x21fe9b(0xe6)]());}(_0x43beaf);const _0x1bd26f=_0x43beaf[_0xfab26a(0xcd)][_0xfab26a(0xd7)],_0x205847=this[_0xfab26a(0xdd)][_0xfab26a(0xd0)][_0xfab26a(0xe8)](_0xfab26a(0xcb));for(const _0x423b99 of _0x1bd26f[_0xfab26a(0xca)]())for(const _0x4ff920 of _0x423b99[_0xfab26a(0xef)]())if(_0x4ff920['is'](_0xfab26a(0xe0))&&_0x205847[_0xfab26a(0xee)](_0x4ff920[_0xfab26a(0xcc)]))return void(this[_0xfab26a(0xce)]=!0x1);this[_0xfab26a(0xce)]=!0x0;}[_0x336815(0xc9)](_0x2b11ae='',_0x360749='',_0x644904=_0x336815(0xc7)){const _0x3d5fd4=_0x336815;this[_0x3d5fd4(0xdd)][_0x3d5fd4(0xcf)][_0x3d5fd4(0xe8)](_0x589c3f)[_0x3d5fd4(0xdc)](_0x2b11ae,_0x360749,_0x644904);}}function fs(_0x4432b4,_0x167db0){const _0x8a3183=_0x336815,_0x2ba2ca=new Set();for(const _0x2bea81 of _0x4432b4[_0x8a3183(0xea)]())(_0x167db0||!0x1===_0x2bea81[_0x8a3183(0xd2)])&&_0x2ba2ca[_0x8a3183(0xc8)](_0x2bea81['id']);return Array[_0x8a3183(0xde)](_0x2ba2ca);}function _0x14e7(){const _0xc4e82b=['_hasContext','169484nMyegA','enabledCommandsIds','1999674AmNFKw','selection','4973571xWLTHj','refresh','7574MYtPjO','model','showUI','editor','from','4474070LAGADi','element','isCollapsed','change:isEnabled','hasContent','_commandDefinitions','isEmpty','getFirstRange','10CijeVX','get','length','values','524751mFltSx','8VBDgHk','742319EkmkWA','includes','getItems','change:_hasContext','2408PUNIMd','getSelectedBlocks','custom','add','execute','getRanges','ai.assistant.disabledElements','name','document','isEnabled','plugins','config','set','requiresContent'];_0x14e7=function(){return _0xc4e82b;};return _0x14e7();}
23
+ const _0x424049=_0xd3ed;(function(_0x3f0513,_0x258cfb){const _0x30f43d=_0xd3ed,_0x22414c=_0x3f0513();while(!![]){try{const _0x4930ec=parseInt(_0x30f43d(0xdf))/0x1+parseInt(_0x30f43d(0xd8))/0x2*(parseInt(_0x30f43d(0xca))/0x3)+-parseInt(_0x30f43d(0xd2))/0x4+-parseInt(_0x30f43d(0xe6))/0x5*(-parseInt(_0x30f43d(0xdd))/0x6)+parseInt(_0x30f43d(0xea))/0x7*(-parseInt(_0x30f43d(0xe8))/0x8)+-parseInt(_0x30f43d(0xe0))/0x9+parseInt(_0x30f43d(0xe2))/0xa;if(_0x4930ec===_0x258cfb)break;else _0x22414c['push'](_0x22414c['shift']());}catch(_0x3e45a7){_0x22414c['push'](_0x22414c['shift']());}}}(_0x3bfd,0x35656));import{Command as _0x3813cd}from'ckeditor5/src/core.js';function _0xd3ed(_0xcc9159,_0xc9ae23){const _0x3bfddc=_0x3bfd();return _0xd3ed=function(_0xd3ed2f,_0x5837ce){_0xd3ed2f=_0xd3ed2f-0xc2;let _0x28be4d=_0x3bfddc[_0xd3ed2f];return _0x28be4d;},_0xd3ed(_0xcc9159,_0xc9ae23);}import{AIAssistantUI as _0x1a5ec0}from'../aiassistantui.js';function _0x3bfd(){const _0x976639=['getItems','element','from','ai.assistant.disabledElements','set','hasContent','values','1079768vRiysT','getSelectedBlocks','editor','length','custom','requiresContent','2NJpbBS','enabledCommandsIds','model','isEnabled','name','18pVfjeW','getRanges','324015AsSyAp','1699470MqVHmW','showUI','1441190RUyXIn','config','change:isEnabled','get','316180LGLZKH','document','3252552olFWEM','getFirstRange','7rrJGKl','isEmpty','_hasContext','refresh','execute','_commandDefinitions','isCollapsed','change:_hasContext','selection','add','plugins','includes','1278627fJfxRM'];_0x3bfd=function(){return _0x976639;};return _0x3bfd();}export class ShowAIAssistantCommand extends _0x3813cd{[_0x424049(0xc3)];constructor(_0x14a45e,_0x5bcc6c){const _0x412479=_0x424049;super(_0x14a45e),this[_0x412479(0xc3)]=_0x5bcc6c,this[_0x412479(0xcf)](_0x412479(0xd9),[]),this['on'](_0x412479(0xc5),(_0x1fee1e,_0x205f7b,_0x227ba2)=>{const _0x40bd78=_0x412479;this[_0x40bd78(0xdb)]&&(this[_0x40bd78(0xd9)]=ns(this[_0x40bd78(0xc3)],_0x227ba2));}),this[_0x412479(0xcf)](_0x412479(0xec),!0x1),this['on'](_0x412479(0xe4),(_0x48fde4,_0x3d1cd6,_0x8e3357)=>{const _0x2b1d57=_0x412479;this[_0x2b1d57(0xd9)]=_0x8e3357?ns(this[_0x2b1d57(0xc3)],this[_0x2b1d57(0xec)]):[];});}[_0x424049(0xed)](){const _0x1f5759=_0x424049,_0x567499=this[_0x1f5759(0xd4)][_0x1f5759(0xda)];this[_0x1f5759(0xec)]=function(_0x5861a4){const _0x32a30c=_0x1f5759,_0x56cc51=_0x5861a4[_0x32a30c(0xe7)][_0x32a30c(0xc6)];return _0x56cc51[_0x32a30c(0xc4)]?0x0!==[..._0x56cc51[_0x32a30c(0xd3)]()][_0x32a30c(0xd5)]&&![..._0x56cc51[_0x32a30c(0xd3)]()][0x0][_0x32a30c(0xeb)]:!!_0x5861a4[_0x32a30c(0xd0)](_0x56cc51[_0x32a30c(0xe9)]());}(_0x567499);const _0x29da4a=_0x567499[_0x1f5759(0xe7)][_0x1f5759(0xc6)],_0x40c15a=this[_0x1f5759(0xd4)][_0x1f5759(0xe3)][_0x1f5759(0xe5)](_0x1f5759(0xce));for(const _0x492568 of _0x29da4a[_0x1f5759(0xde)]())for(const _0x5711b1 of _0x492568[_0x1f5759(0xcb)]())if(_0x5711b1['is'](_0x1f5759(0xcc))&&_0x40c15a[_0x1f5759(0xc9)](_0x5711b1[_0x1f5759(0xdc)]))return void(this[_0x1f5759(0xdb)]=!0x1);this[_0x1f5759(0xdb)]=!0x0;}[_0x424049(0xc2)](_0x3fd148='',_0x549d03='',_0x331101=_0x424049(0xd6)){const _0x12daf0=_0x424049;this[_0x12daf0(0xd4)][_0x12daf0(0xc8)][_0x12daf0(0xe5)](_0x1a5ec0)[_0x12daf0(0xe1)](_0x3fd148,_0x549d03,_0x331101);}}function ns(_0x5b77a9,_0x58b42e){const _0x4bc3f7=_0x424049,_0x548558=new Set();for(const _0x1c57e8 of _0x5b77a9[_0x4bc3f7(0xd1)]())(_0x58b42e||!0x1===_0x1c57e8[_0x4bc3f7(0xd7)])&&_0x548558[_0x4bc3f7(0xc7)](_0x1c57e8['id']);return Array[_0x4bc3f7(0xcd)](_0x548558);}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, 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(_0x20a3cb,_0x3aac2f,_0x17e5a9){const t=_0x20a3cb['t'];switch(_0x3aac2f){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',_0x17e5a9);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x17e5a9);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'},_0x17e5a9);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 _0x3aac2f;}}
23
+ export function getTranslation(_0x4f594a,_0x4defc1,_0x594aa0){const t=_0x4f594a['t'];switch(_0x4defc1){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',_0x594aa0);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x594aa0);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'},_0x594aa0);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 _0x4defc1;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, 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(_0x92fab0,_0x550ccd){const _0x40c37d=(0x0,_0x550ccd['t'])('Other');return _0x92fab0['length']?'groupId'in _0x92fab0[0x0]?_0x92fab0:[{'groupId':'_ungrouppedCommands','groupLabel':_0x40c37d,'order':0x1/0x0,'commands':_0x92fab0}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x40c37d,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x3c1f0d,_0x238298){const _0x39b378=(0x0,_0x238298['t'])('Other');return _0x3c1f0d['length']?'groupId'in _0x3c1f0d[0x0]?_0x3c1f0d:[{'groupId':'_ungrouppedCommands','groupLabel':_0x39b378,'order':0x1/0x0,'commands':_0x3c1f0d}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x39b378,'order':0x1/0x0,'commands':[]}];}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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 { ContextPlugin } from 'ckeditor5/src/core.js';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, 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 _0x2c3ce1=_0x2c6c;(function(_0x1acdf8,_0x1a5965){const _0x37d953=_0x2c6c,_0x446c2f=_0x1acdf8();while(!![]){try{const _0x795926=parseInt(_0x37d953(0x14a))/0x1+-parseInt(_0x37d953(0x139))/0x2*(-parseInt(_0x37d953(0x11b))/0x3)+parseInt(_0x37d953(0xfa))/0x4*(-parseInt(_0x37d953(0x100))/0x5)+parseInt(_0x37d953(0x14b))/0x6*(-parseInt(_0x37d953(0x112))/0x7)+parseInt(_0x37d953(0x11d))/0x8*(-parseInt(_0x37d953(0x120))/0x9)+-parseInt(_0x37d953(0x157))/0xa*(-parseInt(_0x37d953(0x108))/0xb)+parseInt(_0x37d953(0x109))/0xc;if(_0x795926===_0x1a5965)break;else _0x446c2f['push'](_0x446c2f['shift']());}catch(_0x171e9b){_0x446c2f['push'](_0x446c2f['shift']());}}}(_0xdafe,0x6917d));import{ContextPlugin as _0x5d7822}from'ckeditor5/src/core.js';import{AIConnector as _0x19d7eb}from'../aicore/aiconnector.js';import{AIEditing as _0x6b735e}from'../aicore/aiediting.js';function _0xdafe(){const _0x5b66d0=['stopAutoScroll','context','open','fire','off','563510xOrNNQ','ai-selection','commands','max','startsWith','render','\x20ai-balloon-rotator','isTrackChangesOn','editing','root','_isUpdatingMarkers','markers','_pendingRenderCallback','delegate','updateContent','close','aiBalloon','showBlockingError','108CfYHka','view','width','ranges','showFakeVisualSelection','plugins','76035gwxlhA','round','end','title','_cleanupMarkerRemovalListener','trackChanges','content','dialogClosed','44GTPqjr','7425144vKcwgP','balloonView','isOfficialPlugin','label','hideFakeVisualSelection','get','getMarkersGroup','left','length','7ZYuRUC','isEqual','updatePosition','isOpen','_updateBalloon','index','isPremiumPlugin','_getSelectionElements','window','30396ZwmnJq','AI_ACTIONS_SELECTION_REMOVED_ERROR','33744qolMyn','requires','listenTo','27NQxIzp','height','_setupMarkerRemovalListener','show','model','_setupVisualSelection','locale','once','AIEditing','value','bottom','config','startAutoScroll','selectionRemoved','setupRotator','Dialog','change','bind','iconView','icon','pluginName','ai-balloon-selection','ai.availableReplyActions','rootName','mainView','56oPMHAl','_config','$graveyard','ai-selection:','stopListening','start','_showDialog','ai-balloon','getVisible','ai-balloon-','AIBalloon','top','filter','_calculateOptimalTopPosition','getIntersection','getChangedMarkers','headerView','245397yJBncH','3117330vYsGHP','_calculateDialogPosition','showRotator','hide','document','getBoundingRect','differ'];_0xdafe=function(){return _0x5b66d0;};return _0xdafe();}import{AI_BALLOON_VIEW_EVENT_NAMES as _0x887d9b,AIBalloonView as _0x51807e}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x5b74de}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x1d0d58,Rect as _0x151388,scrollViewportToShowTarget as _0x29b416}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x498fab}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x42c921}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x24bc97}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x887d9b,_0x2c3ce1(0x107),_0x2c3ce1(0x12d)];const g=0xa;function _0x2c6c(_0x195ecf,_0x482068){const _0xdafe90=_0xdafe();return _0x2c6c=function(_0x2c6c28,_0x30e1ef){_0x2c6c28=_0x2c6c28-0xf4;let _0x5b580e=_0xdafe90[_0x2c6c28];return _0x5b580e;},_0x2c6c(_0x195ecf,_0x482068);}export class AIBalloon extends _0x5d7822{static get[_0x2c3ce1(0x11e)](){return[_0x19d7eb,_0x6b735e];}static get[_0x2c3ce1(0x134)](){const _0x3e7010=_0x2c3ce1;return _0x3e7010(0x143);}static get[_0x2c3ce1(0x10b)](){return!0x0;}static get[_0x2c3ce1(0x118)](){return!0x0;}[_0x2c3ce1(0x115)]=!0x1;[_0x2c3ce1(0x13a)];[_0x2c3ce1(0x161)]=!0x1;[_0x2c3ce1(0xf4)]=null;[_0x2c3ce1(0x154)](_0x1219e1){const _0x483b5e=_0x2c3ce1,_0xbdeee3=_0x498fab(this[_0x483b5e(0x153)]);if(this[_0x483b5e(0x13a)]=_0x1219e1,this[_0x483b5e(0x115)])return void this[_0x483b5e(0x116)](_0x1219e1);const _0x4a4dac=this[_0x483b5e(0x153)][_0x483b5e(0x12b)][_0x483b5e(0x10e)](_0x483b5e(0x136))||[..._0x42c921],_0x5bf0af=_0xbdeee3?.[_0x483b5e(0x159)][_0x483b5e(0x10e)](_0x483b5e(0x105)),_0x3adacc=_0x5bf0af?.[_0x483b5e(0x129)];this[_0x483b5e(0x10a)]=new _0x51807e(_0xbdeee3[_0x483b5e(0x126)],_0x1219e1,_0x4a4dac,!!_0x3adacc),this[_0x483b5e(0x10a)][_0x483b5e(0xf5)](..._0x887d9b)['to'](this),_0x5bf0af&&this[_0x483b5e(0x10a)][_0x483b5e(0x131)](_0x483b5e(0x15e))['to'](_0x5bf0af,_0x483b5e(0x129)),this[_0x483b5e(0x13f)](_0x1219e1);}[_0x2c3ce1(0xf7)](){const _0x5c2a6c=_0x2c3ce1;_0x498fab(this[_0x5c2a6c(0x153)])[_0x5c2a6c(0xff)][_0x5c2a6c(0x10e)](_0x5c2a6c(0x12f))[_0x5c2a6c(0x14e)]();}[_0x2c3ce1(0x12c)](){const _0x2d2922=_0x2c3ce1;this[_0x2d2922(0x10a)]&&this[_0x2d2922(0x10a)][_0x2d2922(0x12c)]();}[_0x2c3ce1(0x152)](){const _0x216997=_0x2c3ce1;this[_0x216997(0x10a)]&&this[_0x216997(0x10a)][_0x216997(0x152)]();}[_0x2c3ce1(0x116)](_0x9a17af){const _0x258015=_0x2c3ce1,_0x277e1a=_0x498fab(this[_0x258015(0x153)]),_0x53a10b=_0x277e1a[_0x258015(0xff)][_0x258015(0x10e)](_0x258015(0x12f));this[_0x258015(0xf4)]&&(_0x277e1a[_0x258015(0x15f)][_0x258015(0xfb)][_0x258015(0x156)](_0x258015(0x15c),this[_0x258015(0xf4)]),this[_0x258015(0xf4)]=null),this[_0x258015(0x161)]=!0x0,_0x53a10b[_0x258015(0xfb)]?.[_0x258015(0x149)]&&(_0x53a10b[_0x258015(0xfb)][_0x258015(0x149)][_0x258015(0x10c)]=_0x9a17af[_0x258015(0x103)],_0x53a10b[_0x258015(0xfb)][_0x258015(0x149)][_0x258015(0x132)]&&_0x9a17af[_0x258015(0x133)]&&(_0x53a10b[_0x258015(0xfb)][_0x258015(0x149)][_0x258015(0x132)][_0x258015(0x106)]=_0x9a17af[_0x258015(0x133)])),this[_0x258015(0x10a)][_0x258015(0xf6)](_0x9a17af[_0x258015(0x138)]),this[_0x258015(0x125)](_0x9a17af[_0x258015(0xfd)],_0x9a17af[_0x258015(0x117)]),this[_0x258015(0xf4)]=()=>{const _0x94b04b=_0x258015;this[_0x94b04b(0x161)]=!0x1,this[_0x94b04b(0xf4)]=null,_0x53a10b[_0x94b04b(0xfb)]&&_0x53a10b[_0x94b04b(0xfb)][_0x94b04b(0x114)]();},_0x277e1a[_0x258015(0x15f)][_0x258015(0xfb)][_0x258015(0x127)](_0x258015(0x15c),this[_0x258015(0xf4)]);}[_0x2c3ce1(0x125)](_0x583aa9,_0x1bcfd2){const _0x3edd76=_0x2c3ce1;this[_0x3edd76(0x153)][_0x3edd76(0xff)][_0x3edd76(0x10e)](_0x6b735e)[_0x3edd76(0xfe)](_0x583aa9,_0x3edd76(0x142)+_0x1bcfd2,!0x0,!0x0);}[_0x2c3ce1(0x13f)](_0x3562c7){const _0xbe44c8=_0x2c3ce1,_0x2d8e2a=_0x498fab(this[_0xbe44c8(0x153)]);this[_0xbe44c8(0x125)](_0x3562c7[_0xbe44c8(0xfd)],_0x3562c7[_0xbe44c8(0x117)]);const _0x35d770=this[_0xbe44c8(0x119)]();_0x35d770&&_0x35d770[0x0]&&_0x29b416({'target':_0x35d770[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x2d8e2a[_0xbe44c8(0xff)][_0xbe44c8(0x10e)](_0xbe44c8(0x12f))[_0xbe44c8(0x123)]({'title':_0x3562c7[_0xbe44c8(0x103)],'icon':_0x3562c7[_0xbe44c8(0x133)],'hasCloseButton':!0x0,'id':_0xbe44c8(0xf8),'position':this[_0xbe44c8(0x14c)][_0xbe44c8(0x131)](this),'className':_0xbe44c8(0x140)+(_0x3562c7[_0xbe44c8(0x14d)]?_0xbe44c8(0x15d):''),'content':this[_0xbe44c8(0x10a)],'onShow':_0x80448=>{const _0x48630a=_0xbe44c8;_0x3562c7[_0x48630a(0x14d)]&&this[_0x48630a(0x10a)][_0x48630a(0x12e)](_0x80448),this[_0x48630a(0x122)](),this[_0x48630a(0x115)]=!0x0;},'onHide':()=>{const _0x4866ed=_0xbe44c8;this[_0x4866ed(0x153)][_0x4866ed(0xff)][_0x4866ed(0x10e)](_0x4866ed(0x128))[_0x4866ed(0x10d)](_0x4866ed(0x142)+this[_0x4866ed(0x13a)][_0x4866ed(0x117)]),this[_0x4866ed(0x104)](),this[_0x4866ed(0x155)](_0x4866ed(0x107)),this[_0x4866ed(0x115)]=!0x1;}});}[_0x2c3ce1(0x14c)](_0x327177,_0x2c8fc0){const _0x14db39=_0x2c3ce1;if(!_0x2c8fc0)return null;const _0x3233c7=this[_0x14db39(0x119)]();if(!_0x3233c7||0x0===_0x3233c7[_0x14db39(0x111)])return{'left':Math[_0x14db39(0x101)](_0x2c8fc0[_0x14db39(0x110)]+_0x2c8fc0[_0x14db39(0xfc)]/0x2-_0x327177[_0x14db39(0xfc)]/0x2),'top':Math[_0x14db39(0x101)](_0x2c8fc0[_0x14db39(0x144)]+_0x2c8fc0[_0x14db39(0x121)]/0x2-_0x327177[_0x14db39(0x121)]/0x2)};const _0x597181=Math[_0x14db39(0x101)](_0x2c8fc0[_0x14db39(0x110)]+_0x2c8fc0[_0x14db39(0xfc)]/0x2-_0x327177[_0x14db39(0xfc)]/0x2),_0x3af71e=new _0x151388(_0x3233c7[0x0]),_0x5b9c3b=new _0x151388(_0x3233c7[_0x3233c7[_0x14db39(0x111)]-0x1]),_0x1ae1ff=_0x327177[_0x14db39(0x121)],_0x16a033=this[_0x14db39(0x13a)][_0x14db39(0x14d)]?0x8:0x0;return{'left':_0x597181,'top':this[_0x14db39(0x146)](_0x3af71e,_0x5b9c3b,_0x1ae1ff,_0x16a033,_0x2c8fc0)};}[_0x2c3ce1(0x146)](_0x1b0247,_0x493157,_0x467a2b,_0x58747d=0x0,_0x3ee8d1){const _0x196d36=_0x2c3ce1,_0xe016b4=_0x467a2b+_0x58747d,_0x291005=new _0x151388(_0x1d0d58[_0x196d36(0x11a)]),_0x157242=[_0x1b0247[_0x196d36(0x141)](),_0x493157[_0x196d36(0x141)]()][_0x196d36(0x145)](_0x4ca895=>_0x4ca895),_0x434b58=_0x151388[_0x196d36(0x150)](_0x157242);if(!_0x434b58)return Math[_0x196d36(0x101)](_0x3ee8d1[_0x196d36(0x144)]+_0x3ee8d1[_0x196d36(0x121)]/0x2);const _0x4fff18=_0x291005[_0x196d36(0x147)](_0x434b58);if(!_0x4fff18)return Math[_0x196d36(0x101)](_0x3ee8d1[_0x196d36(0x144)]+_0x3ee8d1[_0x196d36(0x121)]/0x2);const _0x1d5cd9=_0x3ee8d1[_0x196d36(0x141)](),_0x32b5e3=_0x1d5cd9&&_0x434b58[_0x196d36(0x121)]>_0x1d5cd9[_0x196d36(0x121)],_0x18f3ed=_0x4fff18[_0x196d36(0x144)],_0x19ea13=_0x4fff18[_0x196d36(0x12a)];if(_0x32b5e3){const _0x347328=(_0x1d5cd9||_0x291005)[_0x196d36(0x121)]/0x2-_0xe016b4/0x2,_0x79d6=_0x18f3ed-g-_0x3ee8d1[_0x196d36(0x144)],_0x1c9f1d=_0x3ee8d1[_0x196d36(0x12a)]-_0x19ea13-g;return _0x79d6>=_0xe016b4?Math[_0x196d36(0x15a)](g,_0x18f3ed-_0xe016b4-g):_0x1c9f1d>=_0xe016b4?_0x19ea13+g:Math[_0x196d36(0x15a)](g,_0x347328);}const _0x299811=_0x18f3ed-_0xe016b4,_0x118185=_0x3ee8d1[_0x196d36(0x12a)]-_0x19ea13-g,_0x451b9f=_0x18f3ed-g-_0x3ee8d1[_0x196d36(0x144)];let _0x2de88f;if(_0x118185>=_0xe016b4)_0x2de88f=_0x19ea13+g;else{if(_0x451b9f>=_0xe016b4)_0x2de88f=_0x299811-g;else _0x2de88f=_0x18f3ed+_0x434b58[_0x196d36(0x121)]/0x2-_0xe016b4/0x2;}return _0x2de88f;}[_0x2c3ce1(0x122)](){const _0x115d42=_0x2c3ce1,_0x256fdb=_0x498fab(this[_0x115d42(0x153)]);this[_0x115d42(0x11f)](_0x256fdb[_0x115d42(0x124)][_0x115d42(0x14f)],_0x115d42(0x130),()=>{const _0x4970e8=_0x115d42;if(this[_0x4970e8(0x161)])return;for(const {name:_0x481aeb,data:{newRange:_0x4c825a}}of _0x256fdb[_0x4970e8(0x124)][_0x4970e8(0x14f)][_0x4970e8(0x151)][_0x4970e8(0x148)]())if(_0x481aeb[_0x4970e8(0x15b)](_0x4970e8(0x13c))&&(_0x4c825a&&(_0x4c825a[_0x4970e8(0x13e)][_0x4970e8(0x113)](_0x4c825a[_0x4970e8(0x102)])||_0x4970e8(0x13b)==_0x4c825a[_0x4970e8(0x160)][_0x4970e8(0x137)])||null==_0x4c825a)){const _0x4924e7=_0x24bc97(this[_0x4970e8(0x153)][_0x4970e8(0x126)],_0x4970e8(0x11c));this[_0x4970e8(0x10a)][_0x4970e8(0xf9)](_0x4924e7),this[_0x4970e8(0x155)](_0x4970e8(0x12d));}});}[_0x2c3ce1(0x104)](){const _0x553a2f=_0x2c3ce1,_0x32bce2=_0x498fab(this[_0x553a2f(0x153)]);this[_0x553a2f(0x13d)](_0x32bce2[_0x553a2f(0x124)][_0x553a2f(0x14f)]);}[_0x2c3ce1(0x119)](){const _0x31838c=_0x2c3ce1,_0x3ce29e=_0x498fab(this[_0x31838c(0x153)]);return _0x5b74de(_0x3ce29e[_0x31838c(0x15f)],[..._0x3ce29e[_0x31838c(0x124)][_0x31838c(0x162)][_0x31838c(0x10f)](_0x31838c(0x158)),..._0x3ce29e[_0x31838c(0x124)][_0x31838c(0x162)][_0x31838c(0x10f)](_0x31838c(0x135))]);}}
23
+ const _0x52845e=_0x276f;(function(_0x528194,_0x20f4e7){const _0x1c0ee1=_0x276f,_0x26e359=_0x528194();while(!![]){try{const _0x48c78f=-parseInt(_0x1c0ee1(0x1bb))/0x1*(parseInt(_0x1c0ee1(0x209))/0x2)+-parseInt(_0x1c0ee1(0x1bd))/0x3+parseInt(_0x1c0ee1(0x1b3))/0x4+parseInt(_0x1c0ee1(0x211))/0x5+-parseInt(_0x1c0ee1(0x215))/0x6+parseInt(_0x1c0ee1(0x21a))/0x7*(-parseInt(_0x1c0ee1(0x1e3))/0x8)+parseInt(_0x1c0ee1(0x1b7))/0x9;if(_0x48c78f===_0x20f4e7)break;else _0x26e359['push'](_0x26e359['shift']());}catch(_0x41f152){_0x26e359['push'](_0x26e359['shift']());}}}(_0x12c0,0x3ef25));import{ContextPlugin as _0x14c959}from'ckeditor5/src/core.js';import{AIConnector as _0x36dfd0}from'../aicore/aiconnector.js';import{AIEditing as _0x5808db}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x248df9,AIBalloonView as _0x5db8b5}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x4b022c}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x42086d,Rect as _0x4113e9,scrollViewportToShowTarget as _0x1db90c}from'ckeditor5/src/utils.js';function _0x12c0(){const _0x275554=['root','bind','updatePosition','window','_calculateOptimalTopPosition','_setupMarkerRemovalListener','delegate','off','trackChanges','$graveyard','_setupVisualSelection','get','ai-selection:','close','length','ai-balloon','start','AIBalloon','isOfficialPlugin','ai-balloon-','config','startAutoScroll','iconView','fire','selectionRemoved','balloonView','getIntersection','821722ZdLmPb','title','view','label','_updateBalloon','\x20ai-balloon-rotator','once','content','783240RCWFWC','Dialog','requires','filter','52488SwHEAg','aiBalloon','setupRotator','stopAutoScroll','_calculateDialogPosition','1169xqZgPt','hide','isPremiumPlugin','document','getVisible','1905448NHFjCz','pluginName','dialogClosed','AI_ACTIONS_SELECTION_REMOVED_ERROR','3018150JAhdIH','height','headerView','value','1ZbkBIq','isOpen','798117tuHTFh','change','isEqual','ai-selection','index','open','isTrackChangesOn','stopListening','hideFakeVisualSelection','_isUpdatingMarkers','ai-balloon-selection','_config','startsWith','_pendingRenderCallback','getBoundingRect','_getSelectionElements','max','markers','showBlockingError','commands','listenTo','getChangedMarkers','model','end','show','render','_showDialog','round','locale','_cleanupMarkerRemovalListener','mainView','context','AIEditing','editing','rootName','showRotator','plugins','updateContent','1192eUyOAC','getMarkersGroup','differ','icon','ranges','ai.availableReplyActions','showFakeVisualSelection','bottom','left','top','width'];_0x12c0=function(){return _0x275554;};return _0x12c0();}import{getEditorFromContext as _0x123f56}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x1cf8b1}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x30c577}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x248df9,_0x52845e(0x1b5),_0x52845e(0x206)];function _0x276f(_0x4268da,_0x5c505f){const _0x12c098=_0x12c0();return _0x276f=function(_0x276f76,_0x25b115){_0x276f76=_0x276f76-0x1b1;let _0x577442=_0x12c098[_0x276f76];return _0x577442;},_0x276f(_0x4268da,_0x5c505f);}const mt=0xa;export class AIBalloon extends _0x14c959{static get[_0x52845e(0x213)](){return[_0x36dfd0,_0x5808db];}static get[_0x52845e(0x1b4)](){const _0x59e41b=_0x52845e;return _0x59e41b(0x1ff);}static get[_0x52845e(0x200)](){return!0x0;}static get[_0x52845e(0x21c)](){return!0x0;}[_0x52845e(0x1bc)]=!0x1;[_0x52845e(0x1c8)];[_0x52845e(0x1c6)]=!0x1;[_0x52845e(0x1ca)]=null;[_0x52845e(0x1c2)](_0x5a6ade){const _0x2b5d14=_0x52845e,_0x24daa0=_0x123f56(this[_0x2b5d14(0x1dc)]);if(this[_0x2b5d14(0x1c8)]=_0x5a6ade,this[_0x2b5d14(0x1bc)])return void this[_0x2b5d14(0x20d)](_0x5a6ade);const _0xdbfd20=this[_0x2b5d14(0x1dc)][_0x2b5d14(0x202)][_0x2b5d14(0x1f9)](_0x2b5d14(0x1e8))||[..._0x1cf8b1],_0x4f50e2=_0x24daa0?.[_0x2b5d14(0x1d0)][_0x2b5d14(0x1f9)](_0x2b5d14(0x1f6)),_0x3fcc8d=_0x4f50e2?.[_0x2b5d14(0x1ba)];this[_0x2b5d14(0x207)]=new _0x5db8b5(_0x24daa0[_0x2b5d14(0x1d9)],_0x5a6ade,_0xdbfd20,!!_0x3fcc8d),this[_0x2b5d14(0x207)][_0x2b5d14(0x1f4)](..._0x248df9)['to'](this),_0x4f50e2&&this[_0x2b5d14(0x207)][_0x2b5d14(0x1ef)](_0x2b5d14(0x1c3))['to'](_0x4f50e2,_0x2b5d14(0x1ba)),this[_0x2b5d14(0x1d7)](_0x5a6ade);}[_0x52845e(0x1fb)](){const _0x39bc60=_0x52845e;_0x123f56(this[_0x39bc60(0x1dc)])[_0x39bc60(0x1e1)][_0x39bc60(0x1f9)](_0x39bc60(0x212))[_0x39bc60(0x21b)]();}[_0x52845e(0x203)](){const _0x195307=_0x52845e;this[_0x195307(0x207)]&&this[_0x195307(0x207)][_0x195307(0x203)]();}[_0x52845e(0x218)](){const _0x4bfeb6=_0x52845e;this[_0x4bfeb6(0x207)]&&this[_0x4bfeb6(0x207)][_0x4bfeb6(0x218)]();}[_0x52845e(0x20d)](_0x3aef6a){const _0x41fd53=_0x52845e,_0x556b05=_0x123f56(this[_0x41fd53(0x1dc)]),_0x2c546d=_0x556b05[_0x41fd53(0x1e1)][_0x41fd53(0x1f9)](_0x41fd53(0x212));this[_0x41fd53(0x1ca)]&&(_0x556b05[_0x41fd53(0x1de)][_0x41fd53(0x20b)][_0x41fd53(0x1f5)](_0x41fd53(0x1d6),this[_0x41fd53(0x1ca)]),this[_0x41fd53(0x1ca)]=null),this[_0x41fd53(0x1c6)]=!0x0,_0x2c546d[_0x41fd53(0x20b)]?.[_0x41fd53(0x1b9)]&&(_0x2c546d[_0x41fd53(0x20b)][_0x41fd53(0x1b9)][_0x41fd53(0x20c)]=_0x3aef6a[_0x41fd53(0x20a)],_0x2c546d[_0x41fd53(0x20b)][_0x41fd53(0x1b9)][_0x41fd53(0x204)]&&_0x3aef6a[_0x41fd53(0x1e6)]&&(_0x2c546d[_0x41fd53(0x20b)][_0x41fd53(0x1b9)][_0x41fd53(0x204)][_0x41fd53(0x210)]=_0x3aef6a[_0x41fd53(0x1e6)])),this[_0x41fd53(0x207)][_0x41fd53(0x1e2)](_0x3aef6a[_0x41fd53(0x1db)]),this[_0x41fd53(0x1f8)](_0x3aef6a[_0x41fd53(0x1e7)],_0x3aef6a[_0x41fd53(0x1c1)]),this[_0x41fd53(0x1ca)]=()=>{const _0xca8014=_0x41fd53;this[_0xca8014(0x1c6)]=!0x1,this[_0xca8014(0x1ca)]=null,_0x2c546d[_0xca8014(0x20b)]&&_0x2c546d[_0xca8014(0x20b)][_0xca8014(0x1f0)]();},_0x556b05[_0x41fd53(0x1de)][_0x41fd53(0x20b)][_0x41fd53(0x20f)](_0x41fd53(0x1d6),this[_0x41fd53(0x1ca)]);}[_0x52845e(0x1f8)](_0x50e097,_0x471e66){const _0x541821=_0x52845e;this[_0x541821(0x1dc)][_0x541821(0x1e1)][_0x541821(0x1f9)](_0x5808db)[_0x541821(0x1e9)](_0x50e097,_0x541821(0x201)+_0x471e66,!0x0,!0x0);}[_0x52845e(0x1d7)](_0x2cbcf6){const _0x36fd91=_0x52845e,_0x48bb4c=_0x123f56(this[_0x36fd91(0x1dc)]);this[_0x36fd91(0x1f8)](_0x2cbcf6[_0x36fd91(0x1e7)],_0x2cbcf6[_0x36fd91(0x1c1)]);const _0x3b5da6=this[_0x36fd91(0x1cc)]();_0x3b5da6&&_0x3b5da6[0x0]&&_0x1db90c({'target':_0x3b5da6[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x48bb4c[_0x36fd91(0x1e1)][_0x36fd91(0x1f9)](_0x36fd91(0x212))[_0x36fd91(0x1d5)]({'title':_0x2cbcf6[_0x36fd91(0x20a)],'icon':_0x2cbcf6[_0x36fd91(0x1e6)],'hasCloseButton':!0x0,'id':_0x36fd91(0x216),'position':this[_0x36fd91(0x219)][_0x36fd91(0x1ef)](this),'className':_0x36fd91(0x1fd)+(_0x2cbcf6[_0x36fd91(0x1e0)]?_0x36fd91(0x20e):''),'content':this[_0x36fd91(0x207)],'onShow':_0x5a62e0=>{const _0x3f063f=_0x36fd91;_0x2cbcf6[_0x3f063f(0x1e0)]&&this[_0x3f063f(0x207)][_0x3f063f(0x217)](_0x5a62e0),this[_0x3f063f(0x1f3)](),this[_0x3f063f(0x1bc)]=!0x0;},'onHide':()=>{const _0x2481cf=_0x36fd91;this[_0x2481cf(0x1dc)][_0x2481cf(0x1e1)][_0x2481cf(0x1f9)](_0x2481cf(0x1dd))[_0x2481cf(0x1c5)](_0x2481cf(0x201)+this[_0x2481cf(0x1c8)][_0x2481cf(0x1c1)]),this[_0x2481cf(0x1da)](),this[_0x2481cf(0x205)](_0x2481cf(0x1b5)),this[_0x2481cf(0x1bc)]=!0x1;}});}[_0x52845e(0x219)](_0x33e9ad,_0x2450e3){const _0x497fe3=_0x52845e;if(!_0x2450e3)return null;const _0x5b3256=this[_0x497fe3(0x1cc)]();if(!_0x5b3256||0x0===_0x5b3256[_0x497fe3(0x1fc)])return{'left':Math[_0x497fe3(0x1d8)](_0x2450e3[_0x497fe3(0x1eb)]+_0x2450e3[_0x497fe3(0x1ed)]/0x2-_0x33e9ad[_0x497fe3(0x1ed)]/0x2),'top':Math[_0x497fe3(0x1d8)](_0x2450e3[_0x497fe3(0x1ec)]+_0x2450e3[_0x497fe3(0x1b8)]/0x2-_0x33e9ad[_0x497fe3(0x1b8)]/0x2)};const _0x15fa2d=Math[_0x497fe3(0x1d8)](_0x2450e3[_0x497fe3(0x1eb)]+_0x2450e3[_0x497fe3(0x1ed)]/0x2-_0x33e9ad[_0x497fe3(0x1ed)]/0x2),_0x5e0285=new _0x4113e9(_0x5b3256[0x0]),_0x78a5db=new _0x4113e9(_0x5b3256[_0x5b3256[_0x497fe3(0x1fc)]-0x1]),_0x3ff3b2=_0x33e9ad[_0x497fe3(0x1b8)],_0x2e6cab=this[_0x497fe3(0x1c8)][_0x497fe3(0x1e0)]?0x8:0x0;return{'left':_0x15fa2d,'top':this[_0x497fe3(0x1f2)](_0x5e0285,_0x78a5db,_0x3ff3b2,_0x2e6cab,_0x2450e3)};}[_0x52845e(0x1f2)](_0x5d1e71,_0x29aa47,_0x244afa,_0x55ed09=0x0,_0x399e2f){const _0x21c1bf=_0x52845e,_0x32fa8e=_0x244afa+_0x55ed09,_0x5f51e9=new _0x4113e9(_0x42086d[_0x21c1bf(0x1f1)]),_0x244c9b=[_0x5d1e71[_0x21c1bf(0x1b2)](),_0x29aa47[_0x21c1bf(0x1b2)]()][_0x21c1bf(0x214)](_0x16c351=>_0x16c351),_0x49d93e=_0x4113e9[_0x21c1bf(0x1cb)](_0x244c9b);if(!_0x49d93e)return Math[_0x21c1bf(0x1d8)](_0x399e2f[_0x21c1bf(0x1ec)]+_0x399e2f[_0x21c1bf(0x1b8)]/0x2);const _0x2a8aec=_0x5f51e9[_0x21c1bf(0x208)](_0x49d93e);if(!_0x2a8aec)return Math[_0x21c1bf(0x1d8)](_0x399e2f[_0x21c1bf(0x1ec)]+_0x399e2f[_0x21c1bf(0x1b8)]/0x2);const _0x37b3f2=_0x399e2f[_0x21c1bf(0x1b2)](),_0x1742b7=_0x37b3f2&&_0x49d93e[_0x21c1bf(0x1b8)]>_0x37b3f2[_0x21c1bf(0x1b8)],_0x4c5638=_0x2a8aec[_0x21c1bf(0x1ec)],_0x156e18=_0x2a8aec[_0x21c1bf(0x1ea)];if(_0x1742b7){const _0x6347c=(_0x37b3f2||_0x5f51e9)[_0x21c1bf(0x1b8)]/0x2-_0x32fa8e/0x2,_0x18d9f1=_0x4c5638-mt-_0x399e2f[_0x21c1bf(0x1ec)],_0x1115bd=_0x399e2f[_0x21c1bf(0x1ea)]-_0x156e18-mt;return _0x18d9f1>=_0x32fa8e?Math[_0x21c1bf(0x1cd)](mt,_0x4c5638-_0x32fa8e-mt):_0x1115bd>=_0x32fa8e?_0x156e18+mt:Math[_0x21c1bf(0x1cd)](mt,_0x6347c);}const _0x6a4525=_0x4c5638-_0x32fa8e,_0x5e7eec=_0x399e2f[_0x21c1bf(0x1ea)]-_0x156e18-mt,_0x4bb4d5=_0x4c5638-mt-_0x399e2f[_0x21c1bf(0x1ec)];let _0x50a5ba;if(_0x5e7eec>=_0x32fa8e)_0x50a5ba=_0x156e18+mt;else{if(_0x4bb4d5>=_0x32fa8e)_0x50a5ba=_0x6a4525-mt;else _0x50a5ba=_0x4c5638+_0x49d93e[_0x21c1bf(0x1b8)]/0x2-_0x32fa8e/0x2;}return _0x50a5ba;}[_0x52845e(0x1f3)](){const _0x3d196f=_0x52845e,_0xbc2a12=_0x123f56(this[_0x3d196f(0x1dc)]);this[_0x3d196f(0x1d1)](_0xbc2a12[_0x3d196f(0x1d3)][_0x3d196f(0x1b1)],_0x3d196f(0x1be),()=>{const _0x492ecd=_0x3d196f;if(this[_0x492ecd(0x1c6)])return;for(const {name:_0x27e0f3,data:{newRange:_0x2a644c}}of _0xbc2a12[_0x492ecd(0x1d3)][_0x492ecd(0x1b1)][_0x492ecd(0x1e5)][_0x492ecd(0x1d2)]())if(_0x27e0f3[_0x492ecd(0x1c9)](_0x492ecd(0x1fa))&&(_0x2a644c&&(_0x2a644c[_0x492ecd(0x1fe)][_0x492ecd(0x1bf)](_0x2a644c[_0x492ecd(0x1d4)])||_0x492ecd(0x1f7)==_0x2a644c[_0x492ecd(0x1ee)][_0x492ecd(0x1df)])||null==_0x2a644c)){const _0x16ca2b=_0x30c577(this[_0x492ecd(0x1dc)][_0x492ecd(0x1d9)],_0x492ecd(0x1b6));this[_0x492ecd(0x207)][_0x492ecd(0x1cf)](_0x16ca2b),this[_0x492ecd(0x205)](_0x492ecd(0x206));}});}[_0x52845e(0x1da)](){const _0x109d98=_0x52845e,_0x3adbe0=_0x123f56(this[_0x109d98(0x1dc)]);this[_0x109d98(0x1c4)](_0x3adbe0[_0x109d98(0x1d3)][_0x109d98(0x1b1)]);}[_0x52845e(0x1cc)](){const _0x4b1648=_0x52845e,_0x4a27aa=_0x123f56(this[_0x4b1648(0x1dc)]);return _0x4b022c(_0x4a27aa[_0x4b1648(0x1de)],[..._0x4a27aa[_0x4b1648(0x1d3)][_0x4b1648(0x1ce)][_0x4b1648(0x1e4)](_0x4b1648(0x1c0)),..._0x4a27aa[_0x4b1648(0x1d3)][_0x4b1648(0x1ce)][_0x4b1648(0x1e4)](_0x4b1648(0x1c7))]);}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, 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 _0x1270(_0x2450cf,_0x2b21c9){var _0x418d3d=_0x418d();return _0x1270=function(_0x127064,_0x1b965d){_0x127064=_0x127064-0x162;var _0x1871b2=_0x418d3d[_0x127064];return _0x1871b2;},_0x1270(_0x2450cf,_0x2b21c9);}(function(_0x17c9a4,_0x2c9b2f){var _0x211cc2=_0x1270,_0x4e1922=_0x17c9a4();while(!![]){try{var _0x34172c=parseInt(_0x211cc2(0x170))/0x1*(parseInt(_0x211cc2(0x171))/0x2)+-parseInt(_0x211cc2(0x169))/0x3*(-parseInt(_0x211cc2(0x165))/0x4)+-parseInt(_0x211cc2(0x16a))/0x5*(parseInt(_0x211cc2(0x164))/0x6)+parseInt(_0x211cc2(0x167))/0x7+-parseInt(_0x211cc2(0x16b))/0x8*(parseInt(_0x211cc2(0x16d))/0x9)+parseInt(_0x211cc2(0x162))/0xa*(parseInt(_0x211cc2(0x166))/0xb)+-parseInt(_0x211cc2(0x16c))/0xc;if(_0x34172c===_0x2c9b2f)break;else _0x4e1922['push'](_0x4e1922['shift']());}catch(_0x10acaa){_0x4e1922['push'](_0x4e1922['shift']());}}}(_0x418d,0xa0df2));function _0x418d(){var _0x22969a=['AI_DISCLAIMER_TEXT','ck-ai-balloon__disclaimer','20694KAsFTZ','74tLLmHy','setTemplate','411860emRpSr','ck-ai-balloon__disclaimer-content','186WWVmjn','76aXSIgH','77QNAFrB','7608034dGMxBi','div','184089nnlvWv','188785FjzpOK','8hlylmm','10750608BsSJAN','5233122Xmwrsp'];_0x418d=function(){return _0x22969a;};return _0x418d();}import{View as _0xb8ee84}from'ckeditor5/src/ui.js';import{getTranslation as _0x3b0ef3}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0xb8ee84{constructor(_0x81118f){var _0x1cd55d=_0x1270;super(_0x81118f),this[_0x1cd55d(0x172)]({'tag':_0x1cd55d(0x168),'attributes':{'class':['ck',_0x1cd55d(0x16f)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x1cd55d(0x163)]},'children':[{'text':_0x3b0ef3(_0x81118f,_0x1cd55d(0x16e))}]}]});}}
23
+ (function(_0x520d21,_0x36d989){var _0x3d601b=_0x4567,_0x24c0e7=_0x520d21();while(!![]){try{var _0x17d1a9=parseInt(_0x3d601b(0xed))/0x1+-parseInt(_0x3d601b(0xeb))/0x2*(parseInt(_0x3d601b(0xf2))/0x3)+-parseInt(_0x3d601b(0xec))/0x4*(-parseInt(_0x3d601b(0xf0))/0x5)+parseInt(_0x3d601b(0xf8))/0x6+parseInt(_0x3d601b(0xef))/0x7+parseInt(_0x3d601b(0xf6))/0x8*(parseInt(_0x3d601b(0xee))/0x9)+-parseInt(_0x3d601b(0xf3))/0xa;if(_0x17d1a9===_0x36d989)break;else _0x24c0e7['push'](_0x24c0e7['shift']());}catch(_0x1a8ef8){_0x24c0e7['push'](_0x24c0e7['shift']());}}}(_0x40c9,0xa2d20));function _0x40c9(){var _0x2c6061=['ck-ai-balloon__disclaimer','7218bSPoco','30697090gYkxUW','AI_DISCLAIMER_TEXT','setTemplate','1988464nrfgNT','div','6187884ivRaow','ck-ai-balloon__disclaimer-content','740iSRGnO','2276bJJkRA','631889ibjPzc','36iusuMg','9073953nKMsVq','5915SxxNLF'];_0x40c9=function(){return _0x2c6061;};return _0x40c9();}import{View as _0x56bcb4}from'ckeditor5/src/ui.js';import{getTranslation as _0x50a821}from'../../aicore/utils/common-translations.js';function _0x4567(_0x56e1a2,_0xa1405e){var _0x40c9a0=_0x40c9();return _0x4567=function(_0x4567c6,_0x47a0d6){_0x4567c6=_0x4567c6-0xeb;var _0x14b4f6=_0x40c9a0[_0x4567c6];return _0x14b4f6;},_0x4567(_0x56e1a2,_0xa1405e);}export class AIBalloonDisclaimerView extends _0x56bcb4{constructor(_0xcd7cb3){var _0x27c6ab=_0x4567;super(_0xcd7cb3),this[_0x27c6ab(0xf5)]({'tag':_0x27c6ab(0xf7),'attributes':{'class':['ck',_0x27c6ab(0xf1)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x27c6ab(0xf9)]},'children':[{'text':_0x50a821(_0xcd7cb3,_0x27c6ab(0xf4))}]}]});}}