@ckeditor/ckeditor5-ai 47.3.0-alpha.7 → 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
- const _0x293053=_0x552f;(function(_0x33981d,_0x5d0b49){const _0xaa4f52=_0x552f,_0x4b3e0d=_0x33981d();while(!![]){try{const _0x2be751=-parseInt(_0xaa4f52(0x15d))/0x1*(-parseInt(_0xaa4f52(0x168))/0x2)+-parseInt(_0xaa4f52(0x15a))/0x3*(-parseInt(_0xaa4f52(0x170))/0x4)+parseInt(_0xaa4f52(0x16a))/0x5*(-parseInt(_0xaa4f52(0x16d))/0x6)+-parseInt(_0xaa4f52(0x159))/0x7*(-parseInt(_0xaa4f52(0x16f))/0x8)+parseInt(_0xaa4f52(0x162))/0x9*(parseInt(_0xaa4f52(0x15c))/0xa)+parseInt(_0xaa4f52(0x164))/0xb+parseInt(_0xaa4f52(0x166))/0xc*(-parseInt(_0xaa4f52(0x175))/0xd);if(_0x2be751===_0x5d0b49)break;else _0x4b3e0d['push'](_0x4b3e0d['shift']());}catch(_0x197fb9){_0x4b3e0d['push'](_0x4b3e0d['shift']());}}}(_0x12d9,0xbd7f0));import{ButtonView as _0x37af7e,View as _0x12c77c}from'ckeditor5/src/ui.js';import{IconStop as _0x516827}from'ckeditor5/src/icons.js';function _0x552f(_0x3d93fc,_0x17d370){const _0x12d902=_0x12d9();return _0x552f=function(_0x552f5e,_0x2b9d2f){_0x552f5e=_0x552f5e-0x158;let _0x29589f=_0x12d902[_0x552f5e];return _0x29589f;},_0x552f(_0x3d93fc,_0x17d370);}function _0x12d9(){const _0x4b5f6c=['div','AI_CHAT_STOP_GENERATING','31934968RzJffh','ck-ai-chat-controls-loader-icon-dot','locale','ck-ai-button-secondary\x20ck-ai-button-stop-generating','1273671rGEGsK','6189zXtGTW','_loaderView','710KZilpu','835mXRgKp','execute','ck-ai-chat-controls-loader-wrapper','_createCancelButtonView','_cancelButtonView','102159jiTjNe','setTemplate','16853529ZsDoKe','abortPromptStream','12itrkxx','ck-ai-chat-controls-loader-icon','2590XHtNTj','ck-ai-chat-controls-loader','140100SKOgQQ','_createLoaderView','ck-reset_all','174SjUoct','AI_CHAT_IS_WRITING','16kPBzrZ','508FfcbRR','set','fire'];_0x12d9=function(){return _0x4b5f6c;};return _0x12d9();}import{getTranslation as _0x32957e}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x12c77c{[_0x293053(0x161)];[_0x293053(0x15b)];constructor(_0x421f3c){const _0x31f249=_0x293053;super(_0x421f3c),this[_0x31f249(0x161)]=this[_0x31f249(0x160)](),this[_0x31f249(0x15b)]=this[_0x31f249(0x16b)](),this[_0x31f249(0x163)]({'tag':_0x31f249(0x173),'attributes':{'class':['ck',_0x31f249(0x15f),_0x31f249(0x16c)]},'children':[this[_0x31f249(0x15b)],this[_0x31f249(0x161)]]});}[_0x293053(0x160)](){const _0x343606=_0x293053,_0x2838ef=new _0x37af7e(this[_0x343606(0x177)]);return _0x2838ef[_0x343606(0x171)]({'label':_0x32957e(this[_0x343606(0x177)],_0x343606(0x174)),'withText':!0x0,'class':_0x343606(0x158),'icon':_0x516827}),_0x2838ef['on'](_0x343606(0x15e),()=>{const _0x37965f=_0x343606;this[_0x37965f(0x172)](_0x37965f(0x165));}),_0x2838ef;}[_0x293053(0x16b)](){const _0x29eb60=_0x293053,_0x402291=new _0x12c77c(this[_0x29eb60(0x177)]);return _0x402291[_0x29eb60(0x163)]({'tag':_0x29eb60(0x173),'attributes':{'class':[_0x29eb60(0x169)]},'children':[{'tag':_0x29eb60(0x173),'attributes':{'class':[_0x29eb60(0x167)]},'children':[{'tag':_0x29eb60(0x173),'attributes':{'class':[_0x29eb60(0x176)]}},{'tag':_0x29eb60(0x173),'attributes':{'class':[_0x29eb60(0x176)]}},{'tag':_0x29eb60(0x173),'attributes':{'class':[_0x29eb60(0x176)]}}]},{'text':_0x32957e(this[_0x29eb60(0x177)],_0x29eb60(0x16e))}]}),_0x402291;}}
23
+ function _0xc71a(){const _0x35e1b7=['2901kYKIEw','ck-ai-chat-controls-loader','ck-ai-chat-controls-loader-icon-dot','139112XrULxX','AI_CHAT_STOP_GENERATING','_createCancelButtonView','120IosFee','263011YzwpQo','set','AI_CHAT_IS_WRITING','execute','423IZbCdw','421967IWjITW','ck-ai-button-secondary\x20ck-ai-button-stop-generating','setTemplate','1108ltnjiF','18463236UZocvf','ck-ai-chat-controls-loader-icon','_loaderView','fire','9656200fQuipx','div','ck-ai-chat-controls-loader-wrapper','abortPromptStream','ck-reset_all','locale','2735vqJGXy','154oTSilr','_createLoaderView','_cancelButtonView'];_0xc71a=function(){return _0x35e1b7;};return _0xc71a();}const _0x2cbab3=_0x4f73;(function(_0x32e5e0,_0x545559){const _0x461092=_0x4f73,_0x38119b=_0x32e5e0();while(!![]){try{const _0x16e5ab=-parseInt(_0x461092(0x7a))/0x1+-parseInt(_0x461092(0x6b))/0x2*(-parseInt(_0x461092(0x6e))/0x3)+-parseInt(_0x461092(0x7d))/0x4*(-parseInt(_0x461092(0x6a))/0x5)+parseInt(_0x461092(0x74))/0x6*(parseInt(_0x461092(0x75))/0x7)+-parseInt(_0x461092(0x71))/0x8*(-parseInt(_0x461092(0x79))/0x9)+parseInt(_0x461092(0x82))/0xa+-parseInt(_0x461092(0x7e))/0xb;if(_0x16e5ab===_0x545559)break;else _0x38119b['push'](_0x38119b['shift']());}catch(_0x72bf7e){_0x38119b['push'](_0x38119b['shift']());}}}(_0xc71a,0xa11ba));import{ButtonView as _0x2c641f,View as _0x244980}from'ckeditor5/src/ui.js';import{IconStop as _0x5b8774}from'ckeditor5/src/icons.js';function _0x4f73(_0xe23c02,_0x7a7045){const _0xc71af2=_0xc71a();return _0x4f73=function(_0x4f73e7,_0x2e2da9){_0x4f73e7=_0x4f73e7-0x67;let _0x5083c2=_0xc71af2[_0x4f73e7];return _0x5083c2;},_0x4f73(_0xe23c02,_0x7a7045);}import{getTranslation as _0x4e8874}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x244980{[_0x2cbab3(0x6d)];[_0x2cbab3(0x80)];constructor(_0x399f46){const _0x2f982f=_0x2cbab3;super(_0x399f46),this[_0x2f982f(0x6d)]=this[_0x2f982f(0x73)](),this[_0x2f982f(0x80)]=this[_0x2f982f(0x6c)](),this[_0x2f982f(0x7c)]({'tag':_0x2f982f(0x83),'attributes':{'class':['ck',_0x2f982f(0x84),_0x2f982f(0x68)]},'children':[this[_0x2f982f(0x80)],this[_0x2f982f(0x6d)]]});}[_0x2cbab3(0x73)](){const _0x2cfce8=_0x2cbab3,_0x20d956=new _0x2c641f(this[_0x2cfce8(0x69)]);return _0x20d956[_0x2cfce8(0x76)]({'label':_0x4e8874(this[_0x2cfce8(0x69)],_0x2cfce8(0x72)),'withText':!0x0,'class':_0x2cfce8(0x7b),'icon':_0x5b8774}),_0x20d956['on'](_0x2cfce8(0x78),()=>{const _0x37be2a=_0x2cfce8;this[_0x37be2a(0x81)](_0x37be2a(0x67));}),_0x20d956;}[_0x2cbab3(0x6c)](){const _0x1292a7=_0x2cbab3,_0x5a1436=new _0x244980(this[_0x1292a7(0x69)]);return _0x5a1436[_0x1292a7(0x7c)]({'tag':_0x1292a7(0x83),'attributes':{'class':[_0x1292a7(0x6f)]},'children':[{'tag':_0x1292a7(0x83),'attributes':{'class':[_0x1292a7(0x7f)]},'children':[{'tag':_0x1292a7(0x83),'attributes':{'class':[_0x1292a7(0x70)]}},{'tag':_0x1292a7(0x83),'attributes':{'class':[_0x1292a7(0x70)]}},{'tag':_0x1292a7(0x83),'attributes':{'class':[_0x1292a7(0x70)]}}]},{'text':_0x4e8874(this[_0x1292a7(0x69)],_0x1292a7(0x77))}]}),_0x5a1436;}}
@@ -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
  /**
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { View } from 'ckeditor5/src/ui.js';
10
- import { type AIChatModel } from '../../model/aichatmodels.js';
10
+ import { type AIModelData } from '../../../aicore/aiconnector.js';
11
11
  /**
12
12
  * Manages the prompt capabilities UI for AI chat, including web search, commands functionality, and model selection.
13
13
  */
@@ -53,7 +53,7 @@ export declare class AIChatPromptCapabilitiesView extends View {
53
53
  /**
54
54
  * Sets model list dropdown.
55
55
  */
56
- setModelList(models: Array<AIChatModel>, hideIfSingleModel: boolean): void;
56
+ setModelList(models: Array<AIModelData>, hideIfSingleModel: boolean): void;
57
57
  /**
58
58
  * Sets the web search state.
59
59
  */
@@ -65,7 +65,7 @@ export declare class AIChatPromptCapabilitiesView extends View {
65
65
  /**
66
66
  * Sets the selected model.
67
67
  */
68
- setModel(model: AIChatModel | null): void;
68
+ setModel(model: AIModelData | null): void;
69
69
  /**
70
70
  * Enables the model selector dropdown.
71
71
  */
@@ -85,5 +85,5 @@ export type AIChatUIToggleReasoningEvent = {
85
85
  };
86
86
  export type AIChatUISelectModelEvent = {
87
87
  name: 'selectModel';
88
- args: [model: AIChatModel];
88
+ args: [model: AIModelData];
89
89
  };
@@ -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 _0x260848=_0x4975;(function(_0x20f865,_0x10fbed){const _0x1c23cb=_0x4975,_0x4f55e4=_0x20f865();while(!![]){try{const _0x541052=parseInt(_0x1c23cb(0x16f))/0x1*(-parseInt(_0x1c23cb(0x14a))/0x2)+-parseInt(_0x1c23cb(0x145))/0x3+parseInt(_0x1c23cb(0x121))/0x4*(parseInt(_0x1c23cb(0x171))/0x5)+-parseInt(_0x1c23cb(0x165))/0x6*(parseInt(_0x1c23cb(0x139))/0x7)+parseInt(_0x1c23cb(0x11e))/0x8*(-parseInt(_0x1c23cb(0x141))/0x9)+parseInt(_0x1c23cb(0x142))/0xa+-parseInt(_0x1c23cb(0x11b))/0xb*(-parseInt(_0x1c23cb(0x128))/0xc);if(_0x541052===_0x10fbed)break;else _0x4f55e4['push'](_0x4f55e4['shift']());}catch(_0x86a6c){_0x4f55e4['push'](_0x4f55e4['shift']());}}}(_0x247f,0xab661));import{Collection as _0x419921}from'ckeditor5/src/utils.js';import{IconAI as _0x9a2fe0,IconBulb as _0x30f27c,IconWeb as _0x183a29}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x399bd8,ButtonLabelView as _0x35c256,ButtonView as _0x3a5d64,createDropdown as _0x4e1f4e,IconView as _0x3b4039,UIModel as _0x7a3edb,View as _0x23a7be}from'ckeditor5/src/ui.js';import{getTranslation as _0x5dbc81}from'../../../aicore/utils/common-translations.js';function _0x247f(){const _0x29d213=['agent','ck-ai-chat-controls__model-name','_modelNameView','setTemplate','getLocalized','Commands\x20are\x20not\x20implemented\x20yet.','_createWebSearchButton','locale','AI_CHAT_CAPABILITIES_YES','_createCommandsButton','7tUhLSz','tooltip','fire','_reasoningButton','disableModelSelector','menuitemradio','ck-hidden','content','333RVOAXs','13185410rsGZDh','ck-ai-chat-controls__model-selection__item-capabilities','addMany','2321640RPfOws','name','add','div','ck-ai-chat__prompt-capabilities','70ZEhrbc','source','buttonView','span','activeModelId','withText','ck-ai-chat-controls-button','modelSelectorVisible','ck-ai-chat-controls__model-selection','_createModelSelectionDropdown','_createModelNameView','enabled','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','_modelSelectionDropdownItems','AI_CHAT_DISABLE_WEB_SEARCH','ck-button__label','log','reasoningActive','setReasoning','AI_CHAT_REASONING','extendTemplate','capabilities','selectModel','AI_CHAT_COMMANDS','ck-ai-chat-controls-button--commands','AI_CHAT_SEARCH_WEB','modelSelectorEnabled','7957428BowqAV','_commandsButton','listenTo','isEnabled','style','activeModelName','ck-ai-chat-controls__model-selection__item-name','_webSearchButton','clear','description','16329DDnDRI','_getCapabilityParts','1075265pnRTht','reasoning','set','bindTemplate','setWebSearch','isOn','webSearch','AI_CHAT_CAPABILITIES_NO','toggleReasoning','createCollection','_createReasoningButton','isVisible','text','_modelSelectionDropdown','enableModelSelector','setModelList','647526ivJsmj','model','execute','34376YndBea','AI_CHAT_DISABLE_REASONING','startsWith','16WUoNqX','ck-ai-chat-controls__model-selection__item-description','webSearchActive','toggleWebSearch','AI_CHAT_ENABLE_WEB_SEARCH','AI_CHAT_ENABLE_REASONING','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','276BUQsPS','bind','button','toLowerCase','setModel','length','label'];_0x247f=function(){return _0x29d213;};return _0x247f();}import{AIModels as _0x19b685}from'../../../aicore/model/aimodels.js';const Do=_0x260848(0x149),bo=_0x260848(0x150),Wo=_0x260848(0x162),yo=_0x260848(0x152),Go=_0x260848(0x16b),Yo=_0x260848(0x122),qo=_0x260848(0x143),zo='n';export class AIChatPromptCapabilitiesView extends _0x23a7be{[_0x260848(0x16c)];[_0x260848(0x13c)];[_0x260848(0x166)];[_0x260848(0x118)];[_0x260848(0x157)];[_0x260848(0x131)];constructor(_0x5511ce){const _0xaf1475=_0x260848;super(_0x5511ce),this[_0xaf1475(0x173)](_0xaf1475(0x123),!0x1),this[_0xaf1475(0x173)](_0xaf1475(0x15b),!0x1),this[_0xaf1475(0x173)](_0xaf1475(0x151),!0x0),this[_0xaf1475(0x173)](_0xaf1475(0x164),!0x0),this[_0xaf1475(0x173)](_0xaf1475(0x14e),null),this[_0xaf1475(0x173)](_0xaf1475(0x16a),null),this[_0xaf1475(0x118)]=this[_0xaf1475(0x153)](),this[_0xaf1475(0x131)]=this[_0xaf1475(0x154)](),this[_0xaf1475(0x16c)]=this[_0xaf1475(0x135)](),this[_0xaf1475(0x13c)]=this[_0xaf1475(0x17b)](),this[_0xaf1475(0x166)]=this[_0xaf1475(0x138)](),this[_0xaf1475(0x118)][_0xaf1475(0x14c)][_0xaf1475(0x129)](_0xaf1475(0x116))['to'](this,_0xaf1475(0x151),_0x2a5c71=>_0x2a5c71),this[_0xaf1475(0x118)][_0xaf1475(0x14c)][_0xaf1475(0x129)](_0xaf1475(0x13a))['to'](this,_0xaf1475(0x164),_0xfe406d=>_0xfe406d?this[_0xaf1475(0x118)][_0xaf1475(0x14c)][_0xaf1475(0x12e)]:_0x5dbc81(this[_0xaf1475(0x136)],_0xaf1475(0x156))),this[_0xaf1475(0x118)][_0xaf1475(0x129)](_0xaf1475(0x168))['to'](this,_0xaf1475(0x164),_0x2895b1=>_0x2895b1),this[_0xaf1475(0x16c)][_0xaf1475(0x129)](_0xaf1475(0x176))['to'](this,_0xaf1475(0x123),_0xd4c6f7=>_0xd4c6f7),this[_0xaf1475(0x16c)][_0xaf1475(0x129)](_0xaf1475(0x14f))['to'](this,_0xaf1475(0x151),_0x52b6f7=>!_0x52b6f7),this[_0xaf1475(0x16c)][_0xaf1475(0x129)](_0xaf1475(0x13a))['to'](this,_0xaf1475(0x123),_0x33c979=>_0x5dbc81(this[_0xaf1475(0x136)],_0x33c979?_0xaf1475(0x158):_0xaf1475(0x125))),this[_0xaf1475(0x13c)][_0xaf1475(0x129)](_0xaf1475(0x176))['to'](this,_0xaf1475(0x15b),_0x585276=>_0x585276),this[_0xaf1475(0x13c)][_0xaf1475(0x129)](_0xaf1475(0x14f))['to'](this,_0xaf1475(0x151),_0x59cc9c=>!_0x59cc9c),this[_0xaf1475(0x13c)][_0xaf1475(0x129)](_0xaf1475(0x13a))['to'](this,_0xaf1475(0x15b),_0x12b7a4=>_0x5dbc81(this[_0xaf1475(0x136)],_0x12b7a4?_0xaf1475(0x11f):_0xaf1475(0x126))),this[_0xaf1475(0x132)]({'tag':_0xaf1475(0x148),'attributes':{'class':[Do]},'children':[this[_0xaf1475(0x118)],this[_0xaf1475(0x131)],this[_0xaf1475(0x16c)],this[_0xaf1475(0x13c)],this[_0xaf1475(0x166)]]}),this[_0xaf1475(0x157)]=new _0x419921(),_0x399bd8(this[_0xaf1475(0x118)],this[_0xaf1475(0x157)]);}[_0x260848(0x11a)](_0x102550,_0x4fe467){const _0x4e7236=_0x260848;if(this[_0x4e7236(0x173)](_0x4e7236(0x151),!(_0x4fe467&&_0x102550[_0x4e7236(0x12d)]<=0x1)),this[_0x4e7236(0x157)][_0x4e7236(0x16d)](),_0x102550?.[_0x4e7236(0x12d)]){const _0x4f7553=_0x19b685[_0x4e7236(0x133)](this[_0x4e7236(0x136)],_0x102550);for(const _0x40f069 of _0x4f7553){const _0x44639d=new _0x7a3edb({'label':_0x40f069[_0x4e7236(0x146)],'withText':!0x0,'role':_0x4e7236(0x13e),'id':_0x40f069['id'],'model':_0x40f069});_0x44639d[_0x4e7236(0x129)](_0x4e7236(0x176))['to'](this,_0x4e7236(0x14e),_0x24f4c4=>_0x24f4c4===_0x40f069['id']),this[_0x4e7236(0x157)][_0x4e7236(0x147)]({'type':_0x4e7236(0x12a),'model':_0x44639d,'labelView':new Xs(this[_0x4e7236(0x136)],_0x40f069)});}}}[_0x260848(0x175)](_0x4c2240){const _0x4c7697=_0x260848;this[_0x4c7697(0x173)](_0x4c7697(0x123),_0x4c2240);}[_0x260848(0x15c)](_0x2d98e8){const _0x29251b=_0x260848;this[_0x29251b(0x173)](_0x29251b(0x15b),_0x2d98e8);}[_0x260848(0x12c)](_0x4a81ea){const _0x42aa57=_0x260848;if(!_0x4a81ea)return;this[_0x42aa57(0x14e)]=_0x4a81ea['id'],this[_0x42aa57(0x16a)]=_0x4a81ea[_0x42aa57(0x146)]||_0x4a81ea['id'],this[_0x42aa57(0x118)][_0x42aa57(0x14c)][_0x42aa57(0x173)](_0x42aa57(0x12e),_0x4a81ea[_0x42aa57(0x146)]),this[_0x42aa57(0x118)][_0x42aa57(0x14c)][_0x42aa57(0x173)](_0x42aa57(0x13a),_0x4a81ea[_0x42aa57(0x146)]);const _0x550094=_0x4a81ea[_0x42aa57(0x15f)][_0x42aa57(0x177)]?.[_0x42aa57(0x155)]??!0x1;this[_0x42aa57(0x173)](_0x42aa57(0x123),!0x1),this[_0x42aa57(0x16c)][_0x42aa57(0x173)](_0x42aa57(0x176),!0x1),this[_0x42aa57(0x16c)][_0x42aa57(0x173)](_0x42aa57(0x168),_0x550094),this[_0x42aa57(0x16c)][_0x42aa57(0x173)](_0x42aa57(0x116),_0x550094);const _0x213e24=_0x4a81ea[_0x42aa57(0x15f)][_0x42aa57(0x172)]?.[_0x42aa57(0x155)]??!0x1;this[_0x42aa57(0x173)](_0x42aa57(0x15b),!0x1),this[_0x42aa57(0x13c)][_0x42aa57(0x173)](_0x42aa57(0x176),!0x1),this[_0x42aa57(0x13c)][_0x42aa57(0x173)](_0x42aa57(0x168),_0x213e24),this[_0x42aa57(0x13c)][_0x42aa57(0x173)](_0x42aa57(0x116),_0x213e24);}[_0x260848(0x119)](){const _0x856731=_0x260848;this[_0x856731(0x173)](_0x856731(0x164),!0x0),this[_0x856731(0x173)](_0x856731(0x151),!0x0);}[_0x260848(0x13d)](_0x5efa2c){const _0x136611=_0x260848;this[_0x136611(0x173)](_0x136611(0x164),!0x1),_0x5efa2c&&this[_0x136611(0x173)](_0x136611(0x151),!0x1);}[_0x260848(0x135)](){const _0x38e0ba=_0x260848,_0x2a1bdc=new _0x3a5d64();return _0x2a1bdc[_0x38e0ba(0x173)]({'label':_0x5dbc81(this[_0x38e0ba(0x136)],_0x38e0ba(0x163)),'icon':_0x183a29,'class':bo,'isToggleable':!0x0,'tooltipPosition':zo}),_0x2a1bdc['on'](_0x38e0ba(0x11d),()=>{const _0x33975a=_0x38e0ba;this[_0x33975a(0x13b)](_0x33975a(0x124));}),_0x2a1bdc;}[_0x260848(0x17b)](){const _0x5b0867=_0x260848,_0x56f8ae=new _0x3a5d64();return _0x56f8ae[_0x5b0867(0x173)]({'label':_0x5dbc81(this[_0x5b0867(0x136)],_0x5b0867(0x15d)),'icon':_0x30f27c,'class':bo,'isToggleable':!0x0,'tooltipPosition':zo}),_0x56f8ae['on'](_0x5b0867(0x11d),()=>{const _0x1b4abc=_0x5b0867;this[_0x1b4abc(0x13b)](_0x1b4abc(0x179));}),_0x56f8ae;}[_0x260848(0x138)](){const _0x4428c3=_0x260848,_0x1d0c99=new _0x3a5d64();return _0x1d0c99[_0x4428c3(0x173)]({'label':_0x5dbc81(this[_0x4428c3(0x136)],_0x4428c3(0x161)),'icon':_0x9a2fe0,'withText':!0x0,'class':bo,'isToggleable':!0x0,'tooltip':_0x5dbc81(this[_0x4428c3(0x136)],_0x4428c3(0x161)),'tooltipPosition':zo}),_0x1d0c99[_0x4428c3(0x15e)]({'attributes':{'class':[Wo]}}),_0x1d0c99['on'](_0x4428c3(0x11d),()=>{const _0x573b1d=_0x4428c3;console[_0x573b1d(0x15a)](_0x573b1d(0x134)),alert(_0x573b1d(0x134));}),_0x1d0c99;}[_0x260848(0x153)](){const _0x5cd37f=_0x260848,_0x52faad=_0x4e1f4e(this[_0x5cd37f(0x136)]);return _0x52faad[_0x5cd37f(0x173)]({'panelPosition':'ne','class':[yo]}),_0x52faad[_0x5cd37f(0x14c)][_0x5cd37f(0x173)]({'label':_0x5dbc81(this[_0x5cd37f(0x136)],_0x5cd37f(0x127)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':zo}),this[_0x5cd37f(0x167)](_0x52faad,_0x5cd37f(0x11d),_0x43073b=>{const _0x360574=_0x5cd37f;this[_0x360574(0x13b)](_0x360574(0x160),_0x43073b[_0x360574(0x14b)][_0x360574(0x11c)]);}),_0x52faad;}[_0x260848(0x154)](){const _0xed4395=_0x260848,_0x2e4bd6=new Jo(this[_0xed4395(0x136)]);return _0x2e4bd6[_0xed4395(0x129)](_0xed4395(0x117))['to'](this,_0xed4395(0x16a),_0x8fb9ea=>_0x8fb9ea??''),_0x2e4bd6[_0xed4395(0x129)](_0xed4395(0x116))['to'](this,_0xed4395(0x151),this,_0xed4395(0x16a),(_0x34a619,_0x65403d)=>!_0x34a619&&!_0x65403d?.[_0xed4395(0x12b)]()[_0xed4395(0x120)](_0xed4395(0x12f))),_0x2e4bd6;}}class Xs extends _0x35c256{constructor(_0x1f8976,_0x37c8bf){const _0x4d8440=_0x260848;super();const _0x247d64=this[_0x4d8440(0x174)],_0x4a3108=this[_0x4d8440(0x17a)]();this[_0x4d8440(0x132)]({'tag':_0x4d8440(0x148),'attributes':{'class':['ck',_0x4d8440(0x159)],'style':_0x247d64['to'](_0x4d8440(0x169)),'id':_0x247d64['to']('id')},'children':[{'tag':_0x4d8440(0x148),'attributes':{'class':[Go]},'children':[{'text':_0x247d64['to'](_0x4d8440(0x117))}]},{'tag':_0x4d8440(0x148),'attributes':{'class':[Yo]},'children':[{'tag':_0x4d8440(0x14d),'children':[{'text':_0x37c8bf[_0x4d8440(0x16e)]}]}]},{'tag':_0x4d8440(0x148),'attributes':{'class':[qo]},'children':_0x4a3108}]}),_0x4a3108[_0x4d8440(0x144)](this[_0x4d8440(0x170)](_0x1f8976,_0x183a29,_0x4d8440(0x163),_0x37c8bf[_0x4d8440(0x15f)][_0x4d8440(0x177)]?.[_0x4d8440(0x155)]??!0x1)),_0x4a3108[_0x4d8440(0x144)](this[_0x4d8440(0x170)](_0x1f8976,_0x30f27c,_0x4d8440(0x15d),_0x37c8bf[_0x4d8440(0x15f)][_0x4d8440(0x172)]?.[_0x4d8440(0x155)]??!0x1));}[_0x260848(0x170)](_0x203c64,_0x5442d4,_0x4b7cab,_0x3d316f){const _0x3d2002=_0x260848,_0x3fc72c=new _0x3b4039();_0x3fc72c[_0x3d2002(0x140)]=_0x5442d4;const _0x310841=new _0x23a7be(_0x203c64);_0x310841[_0x3d2002(0x132)]({'tag':_0x3d2002(0x14d),'children':[{'text':_0x5dbc81(_0x203c64,_0x4b7cab)+':\x20'}]});const _0x4d2bb4=new _0x23a7be(_0x203c64);return _0x4d2bb4[_0x3d2002(0x132)]({'tag':_0x3d2002(0x14d),'children':[{'text':_0x5dbc81(_0x203c64,_0x3d316f?_0x3d2002(0x137):_0x3d2002(0x178))}]}),[_0x3fc72c,_0x310841,_0x4d2bb4];}}function _0x4975(_0x4f221d,_0x50f001){const _0x247fca=_0x247f();return _0x4975=function(_0x49751c,_0x2dba06){_0x49751c=_0x49751c-0x116;let _0x28c102=_0x247fca[_0x49751c];return _0x28c102;},_0x4975(_0x4f221d,_0x50f001);}class Jo extends _0x23a7be{constructor(_0x307d59){const _0x1eae98=_0x260848;super(_0x307d59),this[_0x1eae98(0x173)](_0x1eae98(0x117),void 0x0),this[_0x1eae98(0x173)](_0x1eae98(0x116),!0x0);const _0x4cb0fd=this[_0x1eae98(0x174)];this[_0x1eae98(0x132)]({'tag':_0x1eae98(0x14d),'attributes':{'class':['ck',_0x1eae98(0x130),_0x4cb0fd['if'](_0x1eae98(0x116),_0x1eae98(0x13f),_0x12a4a4=>!_0x12a4a4)]},'children':[{'text':_0x4cb0fd['to'](_0x1eae98(0x117))}]});}}
23
+ const _0x90ddf8=_0x4652;(function(_0x723891,_0x40f90a){const _0x1a7ee1=_0x4652,_0x53b900=_0x723891();while(!![]){try{const _0x5e0306=parseInt(_0x1a7ee1(0xf5))/0x1+-parseInt(_0x1a7ee1(0x115))/0x2*(parseInt(_0x1a7ee1(0xb6))/0x3)+parseInt(_0x1a7ee1(0xc4))/0x4+-parseInt(_0x1a7ee1(0xeb))/0x5+-parseInt(_0x1a7ee1(0xde))/0x6+-parseInt(_0x1a7ee1(0x10d))/0x7*(parseInt(_0x1a7ee1(0xf6))/0x8)+-parseInt(_0x1a7ee1(0xed))/0x9*(-parseInt(_0x1a7ee1(0x109))/0xa);if(_0x5e0306===_0x40f90a)break;else _0x53b900['push'](_0x53b900['shift']());}catch(_0x5dfda2){_0x53b900['push'](_0x53b900['shift']());}}}(_0x224d,0xafff3));import{Collection as _0x2b8522}from'ckeditor5/src/utils.js';import{IconAI as _0x5dd93e,IconBulb as _0x50b07c,IconWeb as _0x40018a}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x25f555,ButtonLabelView as _0x32af79,ButtonView as _0x5971e0,createDropdown as _0xa1ee8f,IconView as _0x42e9f9,UIModel as _0x471728,View as _0x5b7650}from'ckeditor5/src/ui.js';import{getTranslation as _0x195a94}from'../../../aicore/utils/common-translations.js';const Wo=_0x90ddf8(0xc9),Ro=_0x90ddf8(0x102),yo=_0x90ddf8(0xe5),Go=_0x90ddf8(0xcd),jo=_0x90ddf8(0xce),Yo=_0x90ddf8(0xbe),qo=_0x90ddf8(0xe0),zo='n';function _0x224d(){const _0x3df296=['_createModelNameView','_webSearchButton','style','extendTemplate','setModelList','activeModelName','bindTemplate','add','selectModel','reasoningActive','toggleReasoning','ck-ai-chat-controls-button','AI_CHAT_ENABLE_REASONING','reasoning','div','_commandsButton','toggleWebSearch','length','2610TyvgPw','AI_CHAT_COMMANDS','ck-button__label','setWebSearch','25669cyFHta','toLowerCase','AI_CHAT_SEARCH_WEB','modelSelectorEnabled','webSearch','set','_getCapabilityParts','modelSelectorVisible','2mJePjz','text','clear','log','2412924rtDfJq','isEnabled','createCollection','name','ck-hidden','isOn','AI_CHAT_REASONING','webSearchActive','ck-ai-chat-controls__model-selection__item-description','startsWith','_createWebSearchButton','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','menuitemradio','setReasoning','3683656qVFyTN','AI_CHAT_CAPABILITIES_NO','agent','_createModelSelectionDropdown','AI_CHAT_DISABLE_WEB_SEARCH','ck-ai-chat__prompt-capabilities','addMany','locale','activeModelId','ck-ai-chat-controls__model-selection','ck-ai-chat-controls__model-selection__item-name','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','tooltip','model','ck-ai-chat-controls__model-name','isVisible','source','execute','_reasoningButton','bind','_modelSelectionDropdownItems','buttonView','description','listenTo','span','label','1598784lrREdS','withText','ck-ai-chat-controls__model-selection__item-capabilities','fire','_createCommandsButton','AI_CHAT_CAPABILITIES_YES','enabled','ck-ai-chat-controls-button--commands','disableModelSelector','_modelSelectionDropdown','button','content','_modelNameView','434295IZRxOh','Commands\x20are\x20not\x20implemented\x20yet.','5013bNEFak','capabilities','AI_CHAT_ENABLE_WEB_SEARCH','AI_CHAT_DISABLE_REASONING','setModel','_createReasoningButton','setTemplate','enableModelSelector','999240vxWxWC','408FdSfbr'];_0x224d=function(){return _0x3df296;};return _0x224d();}export class AIChatPromptCapabilitiesView extends _0x5b7650{[_0x90ddf8(0xf8)];[_0x90ddf8(0xd6)];[_0x90ddf8(0x106)];[_0x90ddf8(0xe7)];[_0x90ddf8(0xd8)];[_0x90ddf8(0xea)];constructor(_0x38d68e){const _0x177ede=_0x90ddf8;super(_0x38d68e),this[_0x177ede(0x112)](_0x177ede(0xbd),!0x1),this[_0x177ede(0x112)](_0x177ede(0x100),!0x1),this[_0x177ede(0x112)](_0x177ede(0x114),!0x0),this[_0x177ede(0x112)](_0x177ede(0x110),!0x0),this[_0x177ede(0x112)](_0x177ede(0xcc),null),this[_0x177ede(0x112)](_0x177ede(0xfc),null),this[_0x177ede(0xe7)]=this[_0x177ede(0xc7)](),this[_0x177ede(0xea)]=this[_0x177ede(0xf7)](),this[_0x177ede(0xf8)]=this[_0x177ede(0xc0)](),this[_0x177ede(0xd6)]=this[_0x177ede(0xf2)](),this[_0x177ede(0x106)]=this[_0x177ede(0xe2)](),this[_0x177ede(0xe7)][_0x177ede(0xd9)][_0x177ede(0xd7)](_0x177ede(0xd3))['to'](this,_0x177ede(0x114),_0x4915c0=>_0x4915c0),this[_0x177ede(0xe7)][_0x177ede(0xd9)][_0x177ede(0xd7)](_0x177ede(0xd0))['to'](this,_0x177ede(0x110),_0x3b39ac=>_0x3b39ac?this[_0x177ede(0xe7)][_0x177ede(0xd9)][_0x177ede(0xdd)]:_0x195a94(this[_0x177ede(0xcb)],_0x177ede(0xcf))),this[_0x177ede(0xe7)][_0x177ede(0xd7)](_0x177ede(0xb7))['to'](this,_0x177ede(0x110),_0x1ada90=>_0x1ada90),this[_0x177ede(0xf8)][_0x177ede(0xd7)](_0x177ede(0xbb))['to'](this,_0x177ede(0xbd),_0x360463=>_0x360463),this[_0x177ede(0xf8)][_0x177ede(0xd7)](_0x177ede(0xdf))['to'](this,_0x177ede(0x114),_0x4f7275=>!_0x4f7275),this[_0x177ede(0xf8)][_0x177ede(0xd7)](_0x177ede(0xd0))['to'](this,_0x177ede(0xbd),_0x239de5=>_0x195a94(this[_0x177ede(0xcb)],_0x239de5?_0x177ede(0xc8):_0x177ede(0xef))),this[_0x177ede(0xd6)][_0x177ede(0xd7)](_0x177ede(0xbb))['to'](this,_0x177ede(0x100),_0xac1c28=>_0xac1c28),this[_0x177ede(0xd6)][_0x177ede(0xd7)](_0x177ede(0xdf))['to'](this,_0x177ede(0x114),_0x4b04e9=>!_0x4b04e9),this[_0x177ede(0xd6)][_0x177ede(0xd7)](_0x177ede(0xd0))['to'](this,_0x177ede(0x100),_0x17af54=>_0x195a94(this[_0x177ede(0xcb)],_0x17af54?_0x177ede(0xf0):_0x177ede(0x103))),this[_0x177ede(0xf3)]({'tag':_0x177ede(0x105),'attributes':{'class':[Wo]},'children':[this[_0x177ede(0xe7)],this[_0x177ede(0xea)],this[_0x177ede(0xf8)],this[_0x177ede(0xd6)],this[_0x177ede(0x106)]]}),this[_0x177ede(0xd8)]=new _0x2b8522(),_0x25f555(this[_0x177ede(0xe7)],this[_0x177ede(0xd8)]);}[_0x90ddf8(0xfb)](_0x1bdf32,_0x2f19ff){const _0x34b52f=_0x90ddf8;if(this[_0x34b52f(0x112)](_0x34b52f(0x114),!(_0x2f19ff&&_0x1bdf32[_0x34b52f(0x108)]<=0x1)),this[_0x34b52f(0xd8)][_0x34b52f(0x117)](),_0x1bdf32?.[_0x34b52f(0x108)])for(const _0x55f85e of _0x1bdf32){const _0x3e13e7=new _0x471728({'label':_0x55f85e[_0x34b52f(0xb9)],'withText':!0x0,'role':_0x34b52f(0xc2),'id':_0x55f85e['id'],'model':_0x55f85e});_0x3e13e7[_0x34b52f(0xd7)](_0x34b52f(0xbb))['to'](this,_0x34b52f(0xcc),_0x26ee27=>_0x26ee27===_0x55f85e['id']),this[_0x34b52f(0xd8)][_0x34b52f(0xfe)]({'type':_0x34b52f(0xe8),'model':_0x3e13e7,'labelView':new Us(this[_0x34b52f(0xcb)],_0x55f85e)});}}[_0x90ddf8(0x10c)](_0x5d353d){const _0x3c3745=_0x90ddf8;this[_0x3c3745(0x112)](_0x3c3745(0xbd),_0x5d353d);}[_0x90ddf8(0xc3)](_0x1b6ef8){const _0x1d7d80=_0x90ddf8;this[_0x1d7d80(0x112)](_0x1d7d80(0x100),_0x1b6ef8);}[_0x90ddf8(0xf1)](_0x545a0d){const _0x5da3bc=_0x90ddf8;if(!_0x545a0d)return;this[_0x5da3bc(0xcc)]=_0x545a0d['id'],this[_0x5da3bc(0xfc)]=_0x545a0d[_0x5da3bc(0xb9)]||_0x545a0d['id'],this[_0x5da3bc(0xe7)][_0x5da3bc(0xd9)][_0x5da3bc(0x112)](_0x5da3bc(0xdd),_0x545a0d[_0x5da3bc(0xb9)]),this[_0x5da3bc(0xe7)][_0x5da3bc(0xd9)][_0x5da3bc(0x112)](_0x5da3bc(0xd0),_0x545a0d[_0x5da3bc(0xb9)]);const _0x34de04=_0x545a0d[_0x5da3bc(0xee)][_0x5da3bc(0x111)]?.[_0x5da3bc(0xe4)]??!0x1;this[_0x5da3bc(0x112)](_0x5da3bc(0xbd),!0x1),this[_0x5da3bc(0xf8)][_0x5da3bc(0x112)](_0x5da3bc(0xbb),!0x1),this[_0x5da3bc(0xf8)][_0x5da3bc(0x112)](_0x5da3bc(0xb7),_0x34de04),this[_0x5da3bc(0xf8)][_0x5da3bc(0x112)](_0x5da3bc(0xd3),_0x34de04);const _0x4ce4a1=_0x545a0d[_0x5da3bc(0xee)][_0x5da3bc(0x104)]?.[_0x5da3bc(0xe4)]??!0x1;this[_0x5da3bc(0x112)](_0x5da3bc(0x100),!0x1),this[_0x5da3bc(0xd6)][_0x5da3bc(0x112)](_0x5da3bc(0xbb),!0x1),this[_0x5da3bc(0xd6)][_0x5da3bc(0x112)](_0x5da3bc(0xb7),_0x4ce4a1),this[_0x5da3bc(0xd6)][_0x5da3bc(0x112)](_0x5da3bc(0xd3),_0x4ce4a1);}[_0x90ddf8(0xf4)](){const _0x4deb03=_0x90ddf8;this[_0x4deb03(0x112)](_0x4deb03(0x110),!0x0),this[_0x4deb03(0x112)](_0x4deb03(0x114),!0x0);}[_0x90ddf8(0xe6)](_0x19acb1){const _0x5cad5d=_0x90ddf8;this[_0x5cad5d(0x112)](_0x5cad5d(0x110),!0x1),_0x19acb1&&this[_0x5cad5d(0x112)](_0x5cad5d(0x114),!0x1);}[_0x90ddf8(0xc0)](){const _0x1d253d=_0x90ddf8,_0x5c9571=new _0x5971e0();return _0x5c9571[_0x1d253d(0x112)]({'label':_0x195a94(this[_0x1d253d(0xcb)],_0x1d253d(0x10f)),'icon':_0x40018a,'class':Ro,'isToggleable':!0x0,'tooltipPosition':zo}),_0x5c9571['on'](_0x1d253d(0xd5),()=>{const _0x118a90=_0x1d253d;this[_0x118a90(0xe1)](_0x118a90(0x107));}),_0x5c9571;}[_0x90ddf8(0xf2)](){const _0x28d638=_0x90ddf8,_0x4ab6c4=new _0x5971e0();return _0x4ab6c4[_0x28d638(0x112)]({'label':_0x195a94(this[_0x28d638(0xcb)],_0x28d638(0xbc)),'icon':_0x50b07c,'class':Ro,'isToggleable':!0x0,'tooltipPosition':zo}),_0x4ab6c4['on'](_0x28d638(0xd5),()=>{const _0x17cfee=_0x28d638;this[_0x17cfee(0xe1)](_0x17cfee(0x101));}),_0x4ab6c4;}[_0x90ddf8(0xe2)](){const _0x509cd5=_0x90ddf8,_0x246921=new _0x5971e0();return _0x246921[_0x509cd5(0x112)]({'label':_0x195a94(this[_0x509cd5(0xcb)],_0x509cd5(0x10a)),'icon':_0x5dd93e,'withText':!0x0,'class':Ro,'isToggleable':!0x0,'tooltip':_0x195a94(this[_0x509cd5(0xcb)],_0x509cd5(0x10a)),'tooltipPosition':zo}),_0x246921[_0x509cd5(0xfa)]({'attributes':{'class':[yo]}}),_0x246921['on'](_0x509cd5(0xd5),()=>{const _0x35de17=_0x509cd5;console[_0x35de17(0xb5)](_0x35de17(0xec)),alert(_0x35de17(0xec));}),_0x246921;}[_0x90ddf8(0xc7)](){const _0xecf199=_0x90ddf8,_0x12ce90=_0xa1ee8f(this[_0xecf199(0xcb)]);return _0x12ce90[_0xecf199(0x112)]({'panelPosition':'ne','class':[Go]}),_0x12ce90[_0xecf199(0xd9)][_0xecf199(0x112)]({'label':_0x195a94(this[_0xecf199(0xcb)],_0xecf199(0xc1)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':zo}),this[_0xecf199(0xdb)](_0x12ce90,_0xecf199(0xd5),_0x47b8bf=>{const _0x1a9bb2=_0xecf199;this[_0x1a9bb2(0xe1)](_0x1a9bb2(0xff),_0x47b8bf[_0x1a9bb2(0xd4)][_0x1a9bb2(0xd1)]);}),_0x12ce90;}[_0x90ddf8(0xf7)](){const _0x3ede12=_0x90ddf8,_0x28eeac=new Fo(this[_0x3ede12(0xcb)]);return _0x28eeac[_0x3ede12(0xd7)](_0x3ede12(0x116))['to'](this,_0x3ede12(0xfc),_0x13083e=>_0x13083e??''),_0x28eeac[_0x3ede12(0xd7)](_0x3ede12(0xd3))['to'](this,_0x3ede12(0x114),this,_0x3ede12(0xfc),(_0x10b5a6,_0x260c3b)=>!_0x10b5a6&&!_0x260c3b?.[_0x3ede12(0x10e)]()[_0x3ede12(0xbf)](_0x3ede12(0xc6))),_0x28eeac;}}class Us extends _0x32af79{constructor(_0x145118,_0x4d9079){const _0x2028c3=_0x90ddf8;super();const _0x1da83b=this[_0x2028c3(0xfd)],_0x420cc7=this[_0x2028c3(0xb8)]();this[_0x2028c3(0xf3)]({'tag':_0x2028c3(0x105),'attributes':{'class':['ck',_0x2028c3(0x10b)],'style':_0x1da83b['to'](_0x2028c3(0xf9)),'id':_0x1da83b['to']('id')},'children':[{'tag':_0x2028c3(0x105),'attributes':{'class':[jo]},'children':[{'text':_0x1da83b['to'](_0x2028c3(0x116))}]},{'tag':_0x2028c3(0x105),'attributes':{'class':[Yo]},'children':[{'tag':_0x2028c3(0xdc),'children':[{'text':_0x4d9079[_0x2028c3(0xda)]}]}]},{'tag':_0x2028c3(0x105),'attributes':{'class':[qo]},'children':_0x420cc7}]}),_0x420cc7[_0x2028c3(0xca)](this[_0x2028c3(0x113)](_0x145118,_0x40018a,_0x2028c3(0x10f),_0x4d9079[_0x2028c3(0xee)][_0x2028c3(0x111)]?.[_0x2028c3(0xe4)]??!0x1)),_0x420cc7[_0x2028c3(0xca)](this[_0x2028c3(0x113)](_0x145118,_0x50b07c,_0x2028c3(0xbc),_0x4d9079[_0x2028c3(0xee)][_0x2028c3(0x104)]?.[_0x2028c3(0xe4)]??!0x1));}[_0x90ddf8(0x113)](_0x15f977,_0x274186,_0x902a2f,_0x2f6233){const _0x5f5713=_0x90ddf8,_0xa91dd2=new _0x42e9f9();_0xa91dd2[_0x5f5713(0xe9)]=_0x274186;const _0x386121=new _0x5b7650(_0x15f977);_0x386121[_0x5f5713(0xf3)]({'tag':_0x5f5713(0xdc),'children':[{'text':_0x195a94(_0x15f977,_0x902a2f)+':\x20'}]});const _0x365ed=new _0x5b7650(_0x15f977);return _0x365ed[_0x5f5713(0xf3)]({'tag':_0x5f5713(0xdc),'children':[{'text':_0x195a94(_0x15f977,_0x2f6233?_0x5f5713(0xe3):_0x5f5713(0xc5))}]}),[_0xa91dd2,_0x386121,_0x365ed];}}function _0x4652(_0x545f6b,_0x4458d6){const _0x224d1e=_0x224d();return _0x4652=function(_0x465282,_0x5e6b2b){_0x465282=_0x465282-0xb5;let _0x91c459=_0x224d1e[_0x465282];return _0x91c459;},_0x4652(_0x545f6b,_0x4458d6);}class Fo extends _0x5b7650{constructor(_0x44de2e){const _0x52997a=_0x90ddf8;super(_0x44de2e),this[_0x52997a(0x112)](_0x52997a(0x116),void 0x0),this[_0x52997a(0x112)](_0x52997a(0xd3),!0x0);const _0x2ca3c0=this[_0x52997a(0xfd)];this[_0x52997a(0xf3)]({'tag':_0x52997a(0xdc),'attributes':{'class':['ck',_0x52997a(0xd2),_0x2ca3c0['if'](_0x52997a(0xd3),_0x52997a(0xba),_0x1fd693=>!_0x1fd693)]},'children':[{'text':_0x2ca3c0['to'](_0x52997a(0x116))}]});}}
@@ -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 { ButtonView, type TextareaView, AutocompleteView } from 'ckeditor5/src/ui.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 _0x7de885=_0x177f;(function(_0x9ccd86,_0x3e62c1){const _0x26587f=_0x177f,_0x197480=_0x9ccd86();while(!![]){try{const _0x195dc7=parseInt(_0x26587f(0x112))/0x1*(-parseInt(_0x26587f(0xf3))/0x2)+parseInt(_0x26587f(0xf4))/0x3*(-parseInt(_0x26587f(0x121))/0x4)+parseInt(_0x26587f(0x104))/0x5*(parseInt(_0x26587f(0x111))/0x6)+parseInt(_0x26587f(0xf6))/0x7*(-parseInt(_0x26587f(0x117))/0x8)+parseInt(_0x26587f(0x125))/0x9*(parseInt(_0x26587f(0x126))/0xa)+parseInt(_0x26587f(0x11e))/0xb+parseInt(_0x26587f(0xf9))/0xc*(parseInt(_0x26587f(0x12d))/0xd);if(_0x195dc7===_0x3e62c1)break;else _0x197480['push'](_0x197480['shift']());}catch(_0x5e3cd3){_0x197480['push'](_0x197480['shift']());}}}(_0x4c62,0x85438));function _0x4c62(){const _0x564b74=['10xGQDxo','queryView','keystrokes','submit','fieldWrapperChildren','errorText','MIN_ROWS','3523codvLT','setPlaceholderText','sendUserMessage','bind','destroy','_queryViewResizeObserver','window','px\x20-\x20var(--ck-spacing-tiny))','left','fire','2dyNoin','6489Neibpd','element','21DLyjzq','hasError','ck-ai-chat__prompt-input','14316xRDeeY','isEmpty','maxRows','isUploadInProgress','width','value','style','reset','placeholder','render','AI_CHAT_PROMPT_EMPTY_ERROR','3865mGmTXP','locale','isEnabled','requestAnimationFrame','set','rtl','_createSubmitButton','enter','submitButtonView','target','trim','calc(','add','4962HGwHol','547657ljPkvi','MAX_ROWS','excludeScrollbarsAndBorders','execute','minRows','2530696dbSKib','_setUpAddContextButtonPositioning','setIsUploadInProgress','_addContextButtonView','update','ck-ai-chat__prompt-submit-button','fieldView','5565791RConRJ','right','focusableChildren','488jpfdpW','extendTemplate','uiLanguageDirection','AI_CHAT_LABEL_SUBMIT','7540623liQMzm'];_0x4c62=function(){return _0x564b74;};return _0x4c62();}import{IconSubmit as _0x1ffdb1}from'ckeditor5/src/icons.js';import{ButtonView as _0x23d08b,AutocompleteView as _0x5515fe,createLabeledTextarea as _0x381949}from'ckeditor5/src/ui.js';import{global as _0x4c4e2a,isVisible as _0x21fb62,Rect as _0x371806,ResizeObserver as _0x491518}from'ckeditor5/src/utils.js';import{getTranslation as _0x2c34a6}from'../../../aicore/utils/common-translations.js';function _0x177f(_0x1201d8,_0x1b308f){const _0x4c6256=_0x4c62();return _0x177f=function(_0x177fb7,_0x421b25){_0x177fb7=_0x177fb7-0xed;let _0x1eca70=_0x4c6256[_0x177fb7];return _0x1eca70;},_0x177f(_0x1201d8,_0x1b308f);}import{AIChatPromptSuggestionsListView as _0x1ef154}from'./aichatpromptsuggestionslistview.js';import{escape as _0x381731}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x5515fe{[_0x7de885(0x10c)];static [_0x7de885(0x12c)]=0x1;static [_0x7de885(0x113)]=0xc;[_0x7de885(0x11a)];[_0x7de885(0xee)];constructor(_0x44e14d,_0x149290){const _0x4f423b=_0x7de885;super(_0x44e14d,{'queryView':{'label':'','creator':_0x381949,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x1ef154(_0x44e14d),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x4f423b(0x108)](_0x4f423b(0xfa),!0x0),this[_0x4f423b(0x108)](_0x4f423b(0xfc),!0x1),this[_0x4f423b(0x11a)]=_0x149290,this[_0x4f423b(0xee)]=null,this[_0x4f423b(0x127)][_0x4f423b(0x11d)][_0x4f423b(0x116)]=AIChatPromptInputView[_0x4f423b(0x12c)],this[_0x4f423b(0x127)][_0x4f423b(0x11d)][_0x4f423b(0xfb)]=AIChatPromptInputView[_0x4f423b(0x113)],this[_0x4f423b(0x127)][_0x4f423b(0x12a)][_0x4f423b(0x110)](this[_0x4f423b(0x11a)]),this[_0x4f423b(0x118)](),this[_0x4f423b(0x122)]({'attributes':{'class':['ck',_0x4f423b(0xf8)]}}),this[_0x4f423b(0x10c)]=this[_0x4f423b(0x10a)](),this[_0x4f423b(0x10c)][_0x4f423b(0x130)](_0x4f423b(0x106))['to'](this,_0x4f423b(0xfa),this,_0x4f423b(0xfc),(_0x5541b8,_0x4efb37)=>!_0x5541b8&&!_0x4efb37),this[_0x4f423b(0x120)][_0x4f423b(0x110)](this[_0x4f423b(0x10c)]);}[_0x7de885(0x102)](){const _0x51f5e8=_0x7de885;super[_0x51f5e8(0x102)](),this[_0x51f5e8(0x127)][_0x51f5e8(0x12a)][_0x51f5e8(0x110)](this[_0x51f5e8(0x10c)]),this[_0x51f5e8(0x128)][_0x51f5e8(0x108)](_0x51f5e8(0x10b),(_0x438158,_0x45108a)=>{const _0x4615cc=_0x51f5e8;this[_0x4615cc(0xfc)]||this[_0x4615cc(0xfa)]||_0x438158[_0x4615cc(0x10d)]==this[_0x4615cc(0x127)][_0x4615cc(0x11d)][_0x4615cc(0xf5)]&&(this[_0x4615cc(0x129)](),_0x45108a());}),this[_0x51f5e8(0x127)][_0x51f5e8(0x11d)]['on'](_0x51f5e8(0x11b),()=>{const _0x229664=_0x51f5e8;this[_0x229664(0xfa)]=''===this[_0x229664(0x127)][_0x229664(0x11d)][_0x229664(0xf5)][_0x229664(0xfe)]?.[_0x229664(0x10e)]();});}[_0x7de885(0xed)](){const _0x3e5659=_0x7de885;super[_0x3e5659(0xed)](),this[_0x3e5659(0xee)]&&this[_0x3e5659(0xee)][_0x3e5659(0xed)]();}[_0x7de885(0x129)](){const _0x431dd4=_0x7de885,_0x125157=this[_0x431dd4(0x127)][_0x431dd4(0x11d)][_0x431dd4(0xf5)][_0x431dd4(0xfe)]?.[_0x431dd4(0x10e)]();if(!_0x125157)return this[_0x431dd4(0x127)][_0x431dd4(0x12b)]=_0x2c34a6(this[_0x431dd4(0x105)],_0x431dd4(0x103)),void(this[_0x431dd4(0x127)][_0x431dd4(0x11d)][_0x431dd4(0xf7)]=!0x0);this[_0x431dd4(0x127)][_0x431dd4(0x11d)][_0x431dd4(0xf7)]=!0x1;const _0x2b1239=_0x381731(_0x125157);this[_0x431dd4(0xf2)](_0x431dd4(0x12f),_0x2b1239),this[_0x431dd4(0x127)][_0x431dd4(0x11d)][_0x431dd4(0x100)]();}[_0x7de885(0x12e)](_0x4f28b5){const _0x4a2dce=_0x7de885;this[_0x4a2dce(0x127)][_0x4a2dce(0x11d)][_0x4a2dce(0x108)](_0x4a2dce(0x101),_0x4f28b5);}[_0x7de885(0x10a)](){const _0x12a4b5=_0x7de885,_0x5a0f5e=new _0x23d08b(this[_0x12a4b5(0x105)]);return _0x5a0f5e[_0x12a4b5(0x108)]({'icon':_0x1ffdb1,'label':_0x2c34a6(this[_0x12a4b5(0x105)],_0x12a4b5(0x124)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x12a4b5(0x11c),'isEnabled':!0x1}),_0x5a0f5e['on'](_0x12a4b5(0x115),()=>{const _0x49cb8a=_0x12a4b5;this[_0x49cb8a(0x129)]();}),_0x5a0f5e;}[_0x7de885(0x119)](_0x362779){const _0x4c9daf=_0x7de885;this[_0x4c9daf(0xfc)]=_0x362779;}[_0x7de885(0x118)](){const _0x2834b4=_0x7de885,_0x46c1a9=this[_0x2834b4(0x105)],_0x3ebc25=()=>{const _0x405852=_0x2834b4;_0x4c4e2a[_0x405852(0xef)][_0x405852(0x107)](()=>{const _0x561de5=_0x405852;if(_0x21fb62(this[_0x561de5(0xf5)])){const _0x4d726b=new _0x371806(this[_0x561de5(0x127)][_0x561de5(0x11d)][_0x561de5(0xf5)]),_0x5ccc45=new _0x371806(this[_0x561de5(0x11a)][_0x561de5(0xf5)]),_0x27d562=_0x4d726b[_0x561de5(0xfd)],_0x3385fc=_0x561de5(0x109)===_0x46c1a9[_0x561de5(0x123)]?_0x561de5(0x11f):_0x561de5(0xf1);_0x4d726b[_0x561de5(0x114)]();const _0x59a1e3=_0x27d562-_0x4d726b[_0x561de5(0xfd)]+0x1;this[_0x561de5(0x11a)][_0x561de5(0xf5)][_0x561de5(0xff)][_0x3385fc]=_0x561de5(0x10f)+(_0x27d562-_0x5ccc45[_0x561de5(0xfd)]-_0x59a1e3)+_0x561de5(0xf0);}});};this[_0x2834b4(0x127)][_0x2834b4(0x11d)]['on'](_0x2834b4(0x11b),_0x3ebc25),this['on'](_0x2834b4(0x102),()=>{const _0xbf8f9f=_0x2834b4;_0x3ebc25(),this[_0xbf8f9f(0xee)]=new _0x491518(this[_0xbf8f9f(0x127)][_0xbf8f9f(0x11d)][_0xbf8f9f(0xf5)],()=>{_0x3ebc25();});});}}
23
+ const _0x35125e=_0x284a;function _0x284a(_0x1b117a,_0x5ef9fc){const _0x1748b9=_0x1748();return _0x284a=function(_0x284a0d,_0x48d88a){_0x284a0d=_0x284a0d-0x1bf;let _0x438cb3=_0x1748b9[_0x284a0d];return _0x438cb3;},_0x284a(_0x1b117a,_0x5ef9fc);}(function(_0x4a6058,_0x27ea38){const _0x432d57=_0x284a,_0xb6698f=_0x4a6058();while(!![]){try{const _0x34fc09=parseInt(_0x432d57(0x1ce))/0x1+-parseInt(_0x432d57(0x1d7))/0x2+parseInt(_0x432d57(0x1d3))/0x3*(-parseInt(_0x432d57(0x1f6))/0x4)+-parseInt(_0x432d57(0x1bf))/0x5*(-parseInt(_0x432d57(0x1c4))/0x6)+-parseInt(_0x432d57(0x1f9))/0x7*(parseInt(_0x432d57(0x1c9))/0x8)+parseInt(_0x432d57(0x1dc))/0x9*(-parseInt(_0x432d57(0x1d4))/0xa)+parseInt(_0x432d57(0x1e2))/0xb;if(_0x34fc09===_0x27ea38)break;else _0xb6698f['push'](_0xb6698f['shift']());}catch(_0x557e9a){_0xb6698f['push'](_0xb6698f['shift']());}}}(_0x1748,0xcf40f));import{IconSubmit as _0x476798}from'ckeditor5/src/icons.js';import{ButtonView as _0x2a2b69,AutocompleteView as _0x450524,createLabeledTextarea as _0x34b384}from'ckeditor5/src/ui.js';function _0x1748(){const _0x5e7d81=['submitButtonView','value','enter','left','placeholder','MIN_ROWS','rtl','element','_setUpAddContextButtonPositioning','fire','reset','isUploadInProgress','px\x20-\x20var(--ck-spacing-tiny))','uiLanguageDirection','style','setPlaceholderText','add','minRows','fieldWrapperChildren','172nhYiCh','_createSubmitButton','destroy','3221771WIchOq','update','queryView','focusableChildren','target','requestAnimationFrame','isEmpty','trim','15340goScYS','isEnabled','right','_addContextButtonView','render','672yrnRfI','ck-ai-chat__prompt-submit-button','locale','set','ck-ai-chat__prompt-input','8wgzhFi','execute','_queryViewResizeObserver','hasError','calc(','566971kwRhas','errorText','bind','excludeScrollbarsAndBorders','submit','55125OabmWY','90kjLloC','fieldView','maxRows','1341138lUGwAC','AI_CHAT_PROMPT_EMPTY_ERROR','AI_CHAT_LABEL_SUBMIT','MAX_ROWS','setIsUploadInProgress','1468242zbPKOd','width','window','keystrokes','sendUserMessage','extendTemplate','36602643LOKHmA'];_0x1748=function(){return _0x5e7d81;};return _0x1748();}import{global as _0x42cd44,isVisible as _0x10b0e3,Rect as _0x55323d,ResizeObserver as _0x57ea30}from'ckeditor5/src/utils.js';import{getTranslation as _0x8e62d4}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x37b7b8}from'./aichatpromptsuggestionslistview.js';import{escape as _0x148358}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x450524{[_0x35125e(0x1e3)];static [_0x35125e(0x1e8)]=0x1;static [_0x35125e(0x1da)]=0xc;[_0x35125e(0x1c2)];[_0x35125e(0x1cb)];constructor(_0x1dc00a,_0x271dd9){const _0x1e1f8a=_0x35125e;super(_0x1dc00a,{'queryView':{'label':'','creator':_0x34b384,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x37b7b8(_0x1dc00a),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x1e1f8a(0x1c7)](_0x1e1f8a(0x1ff),!0x0),this[_0x1e1f8a(0x1c7)](_0x1e1f8a(0x1ee),!0x1),this[_0x1e1f8a(0x1c2)]=_0x271dd9,this[_0x1e1f8a(0x1cb)]=null,this[_0x1e1f8a(0x1fb)][_0x1e1f8a(0x1d5)][_0x1e1f8a(0x1f4)]=AIChatPromptInputView[_0x1e1f8a(0x1e8)],this[_0x1e1f8a(0x1fb)][_0x1e1f8a(0x1d5)][_0x1e1f8a(0x1d6)]=AIChatPromptInputView[_0x1e1f8a(0x1da)],this[_0x1e1f8a(0x1fb)][_0x1e1f8a(0x1f5)][_0x1e1f8a(0x1f3)](this[_0x1e1f8a(0x1c2)]),this[_0x1e1f8a(0x1eb)](),this[_0x1e1f8a(0x1e1)]({'attributes':{'class':['ck',_0x1e1f8a(0x1c8)]}}),this[_0x1e1f8a(0x1e3)]=this[_0x1e1f8a(0x1f7)](),this[_0x1e1f8a(0x1e3)][_0x1e1f8a(0x1d0)](_0x1e1f8a(0x1c0))['to'](this,_0x1e1f8a(0x1ff),this,_0x1e1f8a(0x1ee),(_0x4cf27f,_0xa96fe1)=>!_0x4cf27f&&!_0xa96fe1),this[_0x1e1f8a(0x1fc)][_0x1e1f8a(0x1f3)](this[_0x1e1f8a(0x1e3)]);}[_0x35125e(0x1c3)](){const _0x469ef4=_0x35125e;super[_0x469ef4(0x1c3)](),this[_0x469ef4(0x1fb)][_0x469ef4(0x1f5)][_0x469ef4(0x1f3)](this[_0x469ef4(0x1e3)]),this[_0x469ef4(0x1df)][_0x469ef4(0x1c7)](_0x469ef4(0x1e5),(_0x2757e2,_0x1cf564)=>{const _0x3a73fb=_0x469ef4;this[_0x3a73fb(0x1ee)]||this[_0x3a73fb(0x1ff)]||_0x2757e2[_0x3a73fb(0x1fd)]==this[_0x3a73fb(0x1fb)][_0x3a73fb(0x1d5)][_0x3a73fb(0x1ea)]&&(this[_0x3a73fb(0x1d2)](),_0x1cf564());}),this[_0x469ef4(0x1fb)][_0x469ef4(0x1d5)]['on'](_0x469ef4(0x1fa),()=>{const _0xac23d3=_0x469ef4;this[_0xac23d3(0x1ff)]=''===this[_0xac23d3(0x1fb)][_0xac23d3(0x1d5)][_0xac23d3(0x1ea)][_0xac23d3(0x1e4)]?.[_0xac23d3(0x200)]();});}[_0x35125e(0x1f8)](){const _0x537056=_0x35125e;super[_0x537056(0x1f8)](),this[_0x537056(0x1cb)]&&this[_0x537056(0x1cb)][_0x537056(0x1f8)]();}[_0x35125e(0x1d2)](){const _0x4af646=_0x35125e,_0x3f0130=this[_0x4af646(0x1fb)][_0x4af646(0x1d5)][_0x4af646(0x1ea)][_0x4af646(0x1e4)]?.[_0x4af646(0x200)]();if(!_0x3f0130)return this[_0x4af646(0x1fb)][_0x4af646(0x1cf)]=_0x8e62d4(this[_0x4af646(0x1c6)],_0x4af646(0x1d8)),void(this[_0x4af646(0x1fb)][_0x4af646(0x1d5)][_0x4af646(0x1cc)]=!0x0);this[_0x4af646(0x1fb)][_0x4af646(0x1d5)][_0x4af646(0x1cc)]=!0x1;const _0x509493=_0x148358(_0x3f0130);this[_0x4af646(0x1ec)](_0x4af646(0x1e0),_0x509493),this[_0x4af646(0x1fb)][_0x4af646(0x1d5)][_0x4af646(0x1ed)]();}[_0x35125e(0x1f2)](_0x5a5f8e){const _0x19a7a0=_0x35125e;this[_0x19a7a0(0x1fb)][_0x19a7a0(0x1d5)][_0x19a7a0(0x1c7)](_0x19a7a0(0x1e7),_0x5a5f8e);}[_0x35125e(0x1f7)](){const _0x290453=_0x35125e,_0x37f1eb=new _0x2a2b69(this[_0x290453(0x1c6)]);return _0x37f1eb[_0x290453(0x1c7)]({'icon':_0x476798,'label':_0x8e62d4(this[_0x290453(0x1c6)],_0x290453(0x1d9)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x290453(0x1c5),'isEnabled':!0x1}),_0x37f1eb['on'](_0x290453(0x1ca),()=>{const _0x22ccb0=_0x290453;this[_0x22ccb0(0x1d2)]();}),_0x37f1eb;}[_0x35125e(0x1db)](_0x282dc8){const _0x5eda7b=_0x35125e;this[_0x5eda7b(0x1ee)]=_0x282dc8;}[_0x35125e(0x1eb)](){const _0x504d94=_0x35125e,_0xb2eda4=this[_0x504d94(0x1c6)],_0x460622=()=>{const _0xb387db=_0x504d94;_0x42cd44[_0xb387db(0x1de)][_0xb387db(0x1fe)](()=>{const _0x57eafc=_0xb387db;if(_0x10b0e3(this[_0x57eafc(0x1ea)])){const _0x1d72f3=new _0x55323d(this[_0x57eafc(0x1fb)][_0x57eafc(0x1d5)][_0x57eafc(0x1ea)]),_0x425e4c=new _0x55323d(this[_0x57eafc(0x1c2)][_0x57eafc(0x1ea)]),_0x2128a0=_0x1d72f3[_0x57eafc(0x1dd)],_0x4b2501=_0x57eafc(0x1e9)===_0xb2eda4[_0x57eafc(0x1f0)]?_0x57eafc(0x1c1):_0x57eafc(0x1e6);_0x1d72f3[_0x57eafc(0x1d1)]();const _0x1baea0=_0x2128a0-_0x1d72f3[_0x57eafc(0x1dd)]+0x1;this[_0x57eafc(0x1c2)][_0x57eafc(0x1ea)][_0x57eafc(0x1f1)][_0x4b2501]=_0x57eafc(0x1cd)+(_0x2128a0-_0x425e4c[_0x57eafc(0x1dd)]-_0x1baea0)+_0x57eafc(0x1ef);}});};this[_0x504d94(0x1fb)][_0x504d94(0x1d5)]['on'](_0x504d94(0x1fa),_0x460622),this['on'](_0x504d94(0x1c3),()=>{const _0xb96144=_0x504d94;_0x460622(),this[_0xb96144(0x1cb)]=new _0x57ea30(this[_0xb96144(0x1fb)][_0xb96144(0x1d5)][_0xb96144(0x1ea)],()=>{_0x460622();});});}}
@@ -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 _0x394794=_0x49b3;function _0x49b3(_0x11a052,_0x2636e5){const _0x45cdfc=_0x45cd();return _0x49b3=function(_0x49b3a4,_0x262cb9){_0x49b3a4=_0x49b3a4-0x88;let _0x34d083=_0x45cdfc[_0x49b3a4];return _0x34d083;},_0x49b3(_0x11a052,_0x2636e5);}(function(_0x49f7fb,_0x50a34e){const _0x5ae2d7=_0x49b3,_0x5ba8ed=_0x49f7fb();while(!![]){try{const _0x590d59=parseInt(_0x5ae2d7(0x8d))/0x1+parseInt(_0x5ae2d7(0x8c))/0x2*(-parseInt(_0x5ae2d7(0x90))/0x3)+-parseInt(_0x5ae2d7(0x93))/0x4+-parseInt(_0x5ae2d7(0x91))/0x5+parseInt(_0x5ae2d7(0x88))/0x6*(-parseInt(_0x5ae2d7(0x92))/0x7)+-parseInt(_0x5ae2d7(0x8f))/0x8+parseInt(_0x5ae2d7(0x94))/0x9*(parseInt(_0x5ae2d7(0x8e))/0xa);if(_0x590d59===_0x50a34e)break;else _0x5ba8ed['push'](_0x5ba8ed['shift']());}catch(_0xf21e57){_0x5ba8ed['push'](_0x5ba8ed['shift']());}}}(_0x45cd,0x49bb2));import{ListView as _0x5d4573}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x5d4573{[_0x394794(0x8b)](){const _0x1e4887=_0x394794;let _0x4fe434=0x0;for(const _0x53b2ac of this[_0x1e4887(0x89)])_0x4fe434+=_0x53b2ac[_0x1e4887(0x89)][_0x1e4887(0x8a)];return{'resultsCount':_0x4fe434,'totalItemsCount':_0x4fe434};}}function _0x45cd(){const _0x590e92=['1411032PenDTD','6LqFTCy','1062215WZOpKl','455qUqavr','791928aYOqYc','522ZQbGrl','51270tnoPMW','items','length','filter','86598uHygTi','31355rjkhUv','258530fjWxkn'];_0x45cd=function(){return _0x590e92;};return _0x45cd();}
23
+ const _0xf6c3a6=_0x5469;function _0x2fd5(){const _0x226942=['9820cRqvXp','87892BSgpDa','length','1708047zZqIxp','8982450KLgQLa','38hbNcox','33763169cZcABj','filter','12PrcpMb','15130zOHPHX','items','1784seCARH','33635WqAjZT','3528lCdFUY','1268ZKmsGw'];_0x2fd5=function(){return _0x226942;};return _0x2fd5();}function _0x5469(_0x3ed7de,_0x54f073){const _0x2fd507=_0x2fd5();return _0x5469=function(_0x546980,_0x2745ac){_0x546980=_0x546980-0x1b6;let _0x18366b=_0x2fd507[_0x546980];return _0x18366b;},_0x5469(_0x3ed7de,_0x54f073);}(function(_0x30e4a0,_0xfbee1b){const _0x52ae62=_0x5469,_0x44b659=_0x30e4a0();while(!![]){try{const _0x174573=parseInt(_0x52ae62(0x1be))/0x1*(-parseInt(_0x52ae62(0x1c2))/0x2)+parseInt(_0x52ae62(0x1c0))/0x3+-parseInt(_0x52ae62(0x1bc))/0x4*(parseInt(_0x52ae62(0x1b7))/0x5)+-parseInt(_0x52ae62(0x1c1))/0x6+parseInt(_0x52ae62(0x1ba))/0x7*(parseInt(_0x52ae62(0x1b9))/0x8)+parseInt(_0x52ae62(0x1bb))/0x9*(parseInt(_0x52ae62(0x1bd))/0xa)+parseInt(_0x52ae62(0x1c3))/0xb*(parseInt(_0x52ae62(0x1b6))/0xc);if(_0x174573===_0xfbee1b)break;else _0x44b659['push'](_0x44b659['shift']());}catch(_0x3749b4){_0x44b659['push'](_0x44b659['shift']());}}}(_0x2fd5,0xec8da));import{ListView as _0xdb8c}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0xdb8c{[_0xf6c3a6(0x1c4)](){const _0x26d96e=_0xf6c3a6;let _0x3b1aa7=0x0;for(const _0x277bf8 of this[_0x26d96e(0x1b8)])_0x3b1aa7+=_0x277bf8[_0x26d96e(0x1b8)][_0x26d96e(0x1bf)];return{'resultsCount':_0x3b1aa7,'totalItemsCount':_0x3b1aa7};}}
@@ -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 _0x3a4c(){const _0x76bbf=['updateResourceState','1176WXiFHb','forEach','useDefaultFiltering','1018048bjKHhU','88148GKBZPp','highlightText','ck-ai-chat-resources__list','setResources','resource','locale','filter','499400Xbgova','items','clear','trim','48662JjHytH','execute','replace','add','22434sakeSq','fire','230tcPRXZ','label','addResourceToContext','extendTemplate','2782458yoeCzM','_handleResourceSelection','\x5c$&','10534282FGqrXD','129AkTqSr','test','_source','20mkBRPC'];_0x3a4c=function(){return _0x76bbf;};return _0x3a4c();}const _0x225133=_0x24c8;(function(_0x1a7571,_0xe1f72){const _0xd0bbf5=_0x24c8,_0x2ece3c=_0x1a7571();while(!![]){try{const _0x1269ba=parseInt(_0xd0bbf5(0x1ae))/0x1+parseInt(_0xd0bbf5(0x198))/0x2*(-parseInt(_0xd0bbf5(0x1a6))/0x3)+parseInt(_0xd0bbf5(0x1af))/0x4*(-parseInt(_0xd0bbf5(0x19e))/0x5)+parseInt(_0xd0bbf5(0x19c))/0x6*(-parseInt(_0xd0bbf5(0x1ab))/0x7)+parseInt(_0xd0bbf5(0x194))/0x8+parseInt(_0xd0bbf5(0x1a2))/0x9+-parseInt(_0xd0bbf5(0x1a9))/0xa*(-parseInt(_0xd0bbf5(0x1a5))/0xb);if(_0x1269ba===_0xe1f72)break;else _0x2ece3c['push'](_0x2ece3c['shift']());}catch(_0x29285b){_0x2ece3c['push'](_0x2ece3c['shift']());}}}(_0x3a4c,0x969a8));function _0x24c8(_0x1c3157,_0x2bfcfc){const _0x3a4c5d=_0x3a4c();return _0x24c8=function(_0x24c852,_0x211a39){_0x24c852=_0x24c852-0x190;let _0x3d872a=_0x3a4c5d[_0x24c852];return _0x3d872a;},_0x24c8(_0x1c3157,_0x2bfcfc);}import{ListView as _0x5797fb}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x2c20ab}from'./aichatresourcelistitemview.js';const sc=_0x225133(0x1b1);export class AIChatContextResourcesListView extends _0x5797fb{[_0x225133(0x1a8)];constructor(_0x5310e7,_0x44080a){const _0x2b7929=_0x225133;super(_0x5310e7),this[_0x2b7929(0x1a8)]=_0x44080a,this[_0x2b7929(0x1a1)]({'attributes':{'class':[sc]}});}[_0x225133(0x190)](_0x57d064,_0xb0c7ff){const _0x49c418=_0x225133;this[_0x49c418(0x195)][_0x49c418(0x196)]();let _0x112be6=_0x57d064;if(this[_0x49c418(0x1a8)][_0x49c418(0x1ad)]&&_0xb0c7ff&&''!==_0xb0c7ff[_0x49c418(0x197)]()){const _0x58eafc=new RegExp(_0xb0c7ff[_0x49c418(0x19a)](/[.*+?^${}()|[\]\\]/g,_0x49c418(0x1a4)),'gi');_0x112be6=_0x57d064[_0x49c418(0x193)](_0xaac89d=>_0x58eafc[_0x49c418(0x1a7)](_0xaac89d[_0x49c418(0x19f)]));}for(const _0x50b7c4 of _0x112be6){const _0x943ca3=new _0x2c20ab(this[_0x49c418(0x192)],_0x50b7c4);_0x943ca3['on'](_0x49c418(0x199),()=>{const _0x1797e3=_0x49c418;this[_0x1797e3(0x1a3)](this[_0x1797e3(0x1a8)],_0x50b7c4);}),this[_0x49c418(0x195)][_0x49c418(0x19b)](_0x943ca3);}this[_0x49c418(0x1a8)][_0x49c418(0x1ad)]&&this[_0x49c418(0x1b0)](_0xb0c7ff);}[_0x225133(0x1b0)](_0x17d8f2){const _0x103c18=_0x225133;this[_0x103c18(0x1a8)][_0x103c18(0x1ad)]&&this[_0x103c18(0x195)][_0x103c18(0x1ac)](_0x212ccd=>{const _0x2706ed=_0x103c18;_0x212ccd[_0x2706ed(0x1b0)](_0x17d8f2);});}[_0x225133(0x1aa)](_0x196075,_0x43b22b){const _0x4e8074=_0x225133;for(const _0xa53f1e of this[_0x4e8074(0x195)]){const _0x1d3fad=_0xa53f1e;_0x1d3fad[_0x4e8074(0x191)]['id']===_0x196075&&_0x1d3fad[_0x4e8074(0x1aa)](_0x43b22b);}}[_0x225133(0x1a3)](_0x2b599f,_0x57ebfd){const _0x1e84ec=_0x225133;this[_0x1e84ec(0x19d)](_0x1e84ec(0x1a0),{'source':_0x2b599f,'resource':_0x57ebfd});}}
23
+ const _0x2b21de=_0x6688;function _0x6688(_0x35daa4,_0x26d7e5){const _0x2ae0ed=_0x2ae0();return _0x6688=function(_0x6688e5,_0x2eedf5){_0x6688e5=_0x6688e5-0xe3;let _0x1458ed=_0x2ae0ed[_0x6688e5];return _0x1458ed;},_0x6688(_0x35daa4,_0x26d7e5);}(function(_0x1e2b5c,_0xd7e179){const _0x2dff4f=_0x6688,_0x151645=_0x1e2b5c();while(!![]){try{const _0x43e52c=parseInt(_0x2dff4f(0x102))/0x1*(parseInt(_0x2dff4f(0xfa))/0x2)+-parseInt(_0x2dff4f(0xee))/0x3*(-parseInt(_0x2dff4f(0xf1))/0x4)+parseInt(_0x2dff4f(0x101))/0x5*(-parseInt(_0x2dff4f(0xeb))/0x6)+parseInt(_0x2dff4f(0xea))/0x7+-parseInt(_0x2dff4f(0xf5))/0x8*(-parseInt(_0x2dff4f(0xed))/0x9)+parseInt(_0x2dff4f(0xf0))/0xa+-parseInt(_0x2dff4f(0xfe))/0xb;if(_0x43e52c===_0xd7e179)break;else _0x151645['push'](_0x151645['shift']());}catch(_0x25ca1b){_0x151645['push'](_0x151645['shift']());}}}(_0x2ae0,0x9df5e));import{ListView as _0x55fe19}from'ckeditor5/src/ui.js';function _0x2ae0(){const _0x4978d6=['318yzgLrH','_source','add','updateResourceState','37663769oRBNTY','addResourceToContext','clear','10vsZpwp','6751zyttcx','_handleResourceSelection','setResources','forEach','highlightText','label','resource','extendTemplate','items','\x5c$&','8931741qbQzYy','1223436lvtHMX','test','18KlJxsZ','597wsbYmq','execute','4574100relOwi','25748RNhugv','locale','filter','ck-ai-chat-resources__list','1564208btQagY','trim','fire','replace','useDefaultFiltering'];_0x2ae0=function(){return _0x4978d6;};return _0x2ae0();}import{AIChatResourceListItemView as _0x47e3dc}from'./aichatresourcelistitemview.js';const oc=_0x2b21de(0xf4);export class AIChatContextResourcesListView extends _0x55fe19{[_0x2b21de(0xfb)];constructor(_0x5353b3,_0x53d4e3){const _0x56aa84=_0x2b21de;super(_0x5353b3),this[_0x56aa84(0xfb)]=_0x53d4e3,this[_0x56aa84(0xe7)]({'attributes':{'class':[oc]}});}[_0x2b21de(0x104)](_0x31132e,_0x299505){const _0x3a98cd=_0x2b21de;this[_0x3a98cd(0xe8)][_0x3a98cd(0x100)]();let _0x48be4e=_0x31132e;if(this[_0x3a98cd(0xfb)][_0x3a98cd(0xf9)]&&_0x299505&&''!==_0x299505[_0x3a98cd(0xf6)]()){const _0x5b62dd=new RegExp(_0x299505[_0x3a98cd(0xf8)](/[.*+?^${}()|[\]\\]/g,_0x3a98cd(0xe9)),'gi');_0x48be4e=_0x31132e[_0x3a98cd(0xf3)](_0x1e875d=>_0x5b62dd[_0x3a98cd(0xec)](_0x1e875d[_0x3a98cd(0xe5)]));}for(const _0x22749f of _0x48be4e){const _0x8f0efe=new _0x47e3dc(this[_0x3a98cd(0xf2)],_0x22749f);_0x8f0efe['on'](_0x3a98cd(0xef),()=>{const _0xd8fd69=_0x3a98cd;this[_0xd8fd69(0x103)](this[_0xd8fd69(0xfb)],_0x22749f);}),this[_0x3a98cd(0xe8)][_0x3a98cd(0xfc)](_0x8f0efe);}this[_0x3a98cd(0xfb)][_0x3a98cd(0xf9)]&&this[_0x3a98cd(0xe4)](_0x299505);}[_0x2b21de(0xe4)](_0x589ffa){const _0x2a7a64=_0x2b21de;this[_0x2a7a64(0xfb)][_0x2a7a64(0xf9)]&&this[_0x2a7a64(0xe8)][_0x2a7a64(0xe3)](_0x4fb367=>{const _0x5cf1b7=_0x2a7a64;_0x4fb367[_0x5cf1b7(0xe4)](_0x589ffa);});}[_0x2b21de(0xfd)](_0x30607c,_0x1de901){const _0x44cb70=_0x2b21de;for(const _0x27189c of this[_0x44cb70(0xe8)]){const _0x3a50d3=_0x27189c;_0x3a50d3[_0x44cb70(0xe6)]['id']===_0x30607c&&_0x3a50d3[_0x44cb70(0xfd)](_0x1de901);}}[_0x2b21de(0x103)](_0x217b42,_0x44aba2){const _0x12f0dc=_0x2b21de;this[_0x12f0dc(0xf7)](_0x12f0dc(0xff),{'source':_0x217b42,'resource':_0x44aba2});}}
@@ -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 _0x4ff668=_0x27a3;(function(_0x2e5df2,_0x544545){const _0xec8289=_0x27a3,_0xa3f7d=_0x2e5df2();while(!![]){try{const _0x2b1022=-parseInt(_0xec8289(0xce))/0x1+-parseInt(_0xec8289(0xd6))/0x2*(-parseInt(_0xec8289(0xb5))/0x3)+-parseInt(_0xec8289(0xb8))/0x4+parseInt(_0xec8289(0xd8))/0x5+-parseInt(_0xec8289(0xcb))/0x6*(parseInt(_0xec8289(0xe5))/0x7)+parseInt(_0xec8289(0xde))/0x8*(parseInt(_0xec8289(0xdc))/0x9)+parseInt(_0xec8289(0xda))/0xa*(parseInt(_0xec8289(0xbf))/0xb);if(_0x2b1022===_0x544545)break;else _0xa3f7d['push'](_0xa3f7d['shift']());}catch(_0x1d249a){_0xa3f7d['push'](_0xa3f7d['shift']());}}}(_0x13ea,0x29d42));function _0x13ea(){const _0xf4f5b=['161qeGSgQ','_createSearchSection','fire','81CszGvk','children','length','125488eeBcsr','setResources','add','updateResourceState','getQuery','setTemplate','useDefaultFiltering','121hdCdtW','_searchSection','render','delegate','_createResourcesListView','loadSourceResources','_latestLoadResourcesUid','loadResources','_createSearchView','bindTemplate','ck-ai-chat-resources','_searchInputVisibleFrom','75102ZUFHYS','isLoading','div','140389zMmUUN','search','extendTemplate','ck\x20ck-search','aiChatResources','set','_skeletonLoader','has','13494WGDbiV','_resourcesListView','1078340qjpuTF','locale','22970SCsqDR','_createSkeletonView','7731BNvSou','_searchView','1936kaEzMA','source','addResourceToContext','_source','ck-hidden','searchInputVisibleFrom','highlightText'];_0x13ea=function(){return _0xf4f5b;};return _0x13ea();}import{View as _0x1457a4,ViewCollection as _0x2be054}from'ckeditor5/src/ui.js';function _0x27a3(_0x4df896,_0x11ea69){const _0x13ea92=_0x13ea();return _0x27a3=function(_0x27a3ab,_0x3ba22d){_0x27a3ab=_0x27a3ab-0xb5;let _0x35ee81=_0x13ea92[_0x27a3ab];return _0x35ee81;},_0x27a3(_0x4df896,_0x11ea69);}import{uid as _0x410818}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x54177d}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x1107a9}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x4a6e93,SKELETON_DEFINITIONS as _0x241f95}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x1457a4{[_0x4ff668(0xdd)];[_0x4ff668(0xc0)];[_0x4ff668(0xca)];[_0x4ff668(0xd7)];[_0x4ff668(0xd4)];[_0x4ff668(0xe1)];[_0x4ff668(0xb6)];[_0x4ff668(0xc5)]=null;constructor(_0x32b4df,_0x5d490f){const _0x49b213=_0x4ff668;super(_0x32b4df),this[_0x49b213(0xe1)]=_0x5d490f[_0x49b213(0xdf)],this[_0x49b213(0xca)]=_0x5d490f[_0x49b213(0xe3)]??0x7,this[_0x49b213(0xd3)](_0x49b213(0xcc),!0x0),this[_0x49b213(0xdd)]=this[_0x49b213(0xc7)](),this[_0x49b213(0xc0)]=this[_0x49b213(0xe6)](),this[_0x49b213(0xd7)]=this[_0x49b213(0xc3)](),this[_0x49b213(0xd4)]=this[_0x49b213(0xdb)](),this[_0x49b213(0xb6)]=new _0x2be054([this[_0x49b213(0xd4)],this[_0x49b213(0xd7)]]),this[_0x49b213(0xbd)]({'tag':_0x49b213(0xcd),'attributes':{'class':_0x49b213(0xc9)},'children':this[_0x49b213(0xb6)]});}[_0x4ff668(0xc7)](){const _0x1e087d=_0x4ff668;return new _0x1107a9(this[_0x1e087d(0xd9)]);}[_0x4ff668(0xe6)](){const _0x1c89c7=_0x4ff668,_0x4a1f15=new _0x1457a4(this[_0x1c89c7(0xd9)]);return _0x4a1f15[_0x1c89c7(0xbd)]({'tag':_0x1c89c7(0xcd),'attributes':{'class':_0x1c89c7(0xd1)},'children':[this[_0x1c89c7(0xdd)]]}),this[_0x1c89c7(0xdd)]['on'](_0x1c89c7(0xcf),(_0x64d523,_0x180eb2)=>{const _0x401528=_0x1c89c7;this[_0x401528(0xc6)](_0x180eb2),this[_0x401528(0xe1)][_0x401528(0xbe)]&&this[_0x401528(0xd7)][_0x401528(0xe4)](_0x180eb2);}),_0x4a1f15;}[_0x4ff668(0xc3)](){const _0x2d10ca=_0x4ff668,_0x334071=new _0x54177d(this[_0x2d10ca(0xd9)],this[_0x2d10ca(0xe1)]);return _0x334071[_0x2d10ca(0xc2)](_0x2d10ca(0xe0))['to'](this),_0x334071[_0x2d10ca(0xd0)]({'attributes':{'class':this[_0x2d10ca(0xc8)]['if'](_0x2d10ca(0xcc),_0x2d10ca(0xe2))}}),_0x334071;}[_0x4ff668(0xdb)](){const _0x316515=_0x4ff668,_0x282839=new _0x4a6e93(this[_0x316515(0xd9)],_0x241f95[_0x316515(0xd2)]);return _0x282839[_0x316515(0xd0)]({'attributes':{'class':[this[_0x316515(0xc8)]['if'](_0x316515(0xcc),_0x316515(0xe2),_0x19e5bf=>!_0x19e5bf)]}}),_0x282839;}[_0x4ff668(0xc1)](){const _0x32577b=_0x4ff668;super[_0x32577b(0xc1)](),this[_0x32577b(0xc6)]('');}[_0x4ff668(0xc6)](_0x28e997){const _0x2ba6bb=_0x4ff668,_0x306a7c=_0x410818();this[_0x2ba6bb(0xc5)]=_0x306a7c,this[_0x2ba6bb(0xe7)](_0x2ba6bb(0xc4),{'sourceId':this[_0x2ba6bb(0xe1)]['id'],'query':_0x28e997,'uid':_0x306a7c}),this[_0x2ba6bb(0xcc)]=!0x0;}[_0x4ff668(0xb9)](_0x47e2ba,_0x24fdd6){const _0x1ecda6=_0x4ff668;if(_0x24fdd6&&_0x24fdd6!==this[_0x1ecda6(0xc5)])return;const _0x30e851=this[_0x1ecda6(0xe1)][_0x1ecda6(0xbe)]?this[_0x1ecda6(0xdd)][_0x1ecda6(0xbc)]():'';this[_0x1ecda6(0xd7)][_0x1ecda6(0xb9)](_0x47e2ba,_0x30e851),_0x47e2ba[_0x1ecda6(0xb7)]>=this[_0x1ecda6(0xca)]&&!this[_0x1ecda6(0xb6)][_0x1ecda6(0xd5)](this[_0x1ecda6(0xc0)])&&this[_0x1ecda6(0xb6)][_0x1ecda6(0xba)](this[_0x1ecda6(0xc0)],0x0),requestAnimationFrame(()=>{const _0x5c3c9a=_0x1ecda6;this[_0x5c3c9a(0xcc)]=!0x1;});}[_0x4ff668(0xbb)](_0x8ae74a,_0x169dd6){const _0x219006=_0x4ff668;this[_0x219006(0xd7)][_0x219006(0xbb)](_0x8ae74a,_0x169dd6);}}
23
+ function _0x14db(_0x12e401,_0x4ec594){const _0x1ffeb8=_0x1ffe();return _0x14db=function(_0x14db66,_0x14cd19){_0x14db66=_0x14db66-0x13e;let _0x27b52a=_0x1ffeb8[_0x14db66];return _0x27b52a;},_0x14db(_0x12e401,_0x4ec594);}const _0x48ce56=_0x14db;(function(_0x524cf1,_0x7ace60){const _0x404d94=_0x14db,_0x30a5ae=_0x524cf1();while(!![]){try{const _0x5f4af3=parseInt(_0x404d94(0x162))/0x1*(parseInt(_0x404d94(0x16b))/0x2)+-parseInt(_0x404d94(0x16d))/0x3*(-parseInt(_0x404d94(0x14c))/0x4)+parseInt(_0x404d94(0x15c))/0x5*(-parseInt(_0x404d94(0x158))/0x6)+-parseInt(_0x404d94(0x14d))/0x7+parseInt(_0x404d94(0x169))/0x8+parseInt(_0x404d94(0x16c))/0x9*(parseInt(_0x404d94(0x163))/0xa)+-parseInt(_0x404d94(0x15f))/0xb;if(_0x5f4af3===_0x7ace60)break;else _0x30a5ae['push'](_0x30a5ae['shift']());}catch(_0x50a1b7){_0x30a5ae['push'](_0x30a5ae['shift']());}}}(_0x1ffe,0x8f1fd));import{View as _0x3261b0,ViewCollection as _0x4b2287}from'ckeditor5/src/ui.js';import{uid as _0x134941}from'ckeditor5/src/utils.js';function _0x1ffe(){const _0x459695=['77751MgrEcI','5682SemaPB','_latestLoadResourcesUid','ck\x20ck-search','bindTemplate','extendTemplate','loadResources','ck-ai-chat-resources','getQuery','length','locale','aiChatResources','useDefaultFiltering','children','addResourceToContext','highlightText','fire','div','_source','1764bGKzFs','6180930yGnoxw','source','_searchInputVisibleFrom','setTemplate','_createSkeletonView','search','delegate','ck-hidden','set','updateResourceState','_skeletonLoader','6bVLOGb','add','searchInputVisibleFrom','_resourcesListView','2891895cdtkNJ','_createSearchSection','isLoading','15754871VROAsm','_createSearchView','loadSourceResources','485409YioXGI','1240giBeZx','has','_searchSection','render','_createResourcesListView','_searchView','8703744dARpyW','setResources','2VtSyZp'];_0x1ffe=function(){return _0x459695;};return _0x1ffe();}import{AIChatContextResourcesListView as _0x3a634c}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x16f930}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x160da9,SKELETON_DEFINITIONS as _0x3a236a}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x3261b0{[_0x48ce56(0x168)];[_0x48ce56(0x165)];[_0x48ce56(0x14f)];[_0x48ce56(0x15b)];[_0x48ce56(0x157)];[_0x48ce56(0x14b)];[_0x48ce56(0x146)];[_0x48ce56(0x16e)]=null;constructor(_0x146ac4,_0x341768){const _0x2b9da6=_0x48ce56;super(_0x146ac4),this[_0x2b9da6(0x14b)]=_0x341768[_0x2b9da6(0x14e)],this[_0x2b9da6(0x14f)]=_0x341768[_0x2b9da6(0x15a)]??0x7,this[_0x2b9da6(0x155)](_0x2b9da6(0x15e),!0x0),this[_0x2b9da6(0x168)]=this[_0x2b9da6(0x160)](),this[_0x2b9da6(0x165)]=this[_0x2b9da6(0x15d)](),this[_0x2b9da6(0x15b)]=this[_0x2b9da6(0x167)](),this[_0x2b9da6(0x157)]=this[_0x2b9da6(0x151)](),this[_0x2b9da6(0x146)]=new _0x4b2287([this[_0x2b9da6(0x157)],this[_0x2b9da6(0x15b)]]),this[_0x2b9da6(0x150)]({'tag':_0x2b9da6(0x14a),'attributes':{'class':_0x2b9da6(0x140)},'children':this[_0x2b9da6(0x146)]});}[_0x48ce56(0x160)](){const _0x5bd262=_0x48ce56;return new _0x16f930(this[_0x5bd262(0x143)]);}[_0x48ce56(0x15d)](){const _0x3e8c29=_0x48ce56,_0x38c9d0=new _0x3261b0(this[_0x3e8c29(0x143)]);return _0x38c9d0[_0x3e8c29(0x150)]({'tag':_0x3e8c29(0x14a),'attributes':{'class':_0x3e8c29(0x16f)},'children':[this[_0x3e8c29(0x168)]]}),this[_0x3e8c29(0x168)]['on'](_0x3e8c29(0x152),(_0x540771,_0x5cc080)=>{const _0x4705c9=_0x3e8c29;this[_0x4705c9(0x13f)](_0x5cc080),this[_0x4705c9(0x14b)][_0x4705c9(0x145)]&&this[_0x4705c9(0x15b)][_0x4705c9(0x148)](_0x5cc080);}),_0x38c9d0;}[_0x48ce56(0x167)](){const _0x955931=_0x48ce56,_0x2e9e8d=new _0x3a634c(this[_0x955931(0x143)],this[_0x955931(0x14b)]);return _0x2e9e8d[_0x955931(0x153)](_0x955931(0x147))['to'](this),_0x2e9e8d[_0x955931(0x13e)]({'attributes':{'class':this[_0x955931(0x170)]['if'](_0x955931(0x15e),_0x955931(0x154))}}),_0x2e9e8d;}[_0x48ce56(0x151)](){const _0x5a8642=_0x48ce56,_0x702c7e=new _0x160da9(this[_0x5a8642(0x143)],_0x3a236a[_0x5a8642(0x144)]);return _0x702c7e[_0x5a8642(0x13e)]({'attributes':{'class':[this[_0x5a8642(0x170)]['if'](_0x5a8642(0x15e),_0x5a8642(0x154),_0x245e4d=>!_0x245e4d)]}}),_0x702c7e;}[_0x48ce56(0x166)](){const _0x25b57e=_0x48ce56;super[_0x25b57e(0x166)](),this[_0x25b57e(0x13f)]('');}[_0x48ce56(0x13f)](_0x575201){const _0x4cddff=_0x48ce56,_0x1f5d95=_0x134941();this[_0x4cddff(0x16e)]=_0x1f5d95,this[_0x4cddff(0x149)](_0x4cddff(0x161),{'sourceId':this[_0x4cddff(0x14b)]['id'],'query':_0x575201,'uid':_0x1f5d95}),this[_0x4cddff(0x15e)]=!0x0;}[_0x48ce56(0x16a)](_0x234e9b,_0x4438ec){const _0x1b79d6=_0x48ce56;if(_0x4438ec&&_0x4438ec!==this[_0x1b79d6(0x16e)])return;const _0x824c=this[_0x1b79d6(0x14b)][_0x1b79d6(0x145)]?this[_0x1b79d6(0x168)][_0x1b79d6(0x141)]():'';this[_0x1b79d6(0x15b)][_0x1b79d6(0x16a)](_0x234e9b,_0x824c),_0x234e9b[_0x1b79d6(0x142)]>=this[_0x1b79d6(0x14f)]&&!this[_0x1b79d6(0x146)][_0x1b79d6(0x164)](this[_0x1b79d6(0x165)])&&this[_0x1b79d6(0x146)][_0x1b79d6(0x159)](this[_0x1b79d6(0x165)],0x0),requestAnimationFrame(()=>{const _0x8e6e15=_0x1b79d6;this[_0x8e6e15(0x15e)]=!0x1;});}[_0x48ce56(0x156)](_0x297e4e,_0x486b27){const _0x13672e=_0x48ce56;this[_0x13672e(0x15b)][_0x13672e(0x156)](_0x297e4e,_0x486b27);}}
@@ -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 _0x24e37a=_0x379b;(function(_0x46b159,_0xb5ffa){const _0x44ff90=_0x379b,_0x4ea771=_0x46b159();while(!![]){try{const _0x7f0cd4=-parseInt(_0x44ff90(0x180))/0x1+parseInt(_0x44ff90(0x186))/0x2*(parseInt(_0x44ff90(0x187))/0x3)+-parseInt(_0x44ff90(0x18b))/0x4+-parseInt(_0x44ff90(0x183))/0x5+-parseInt(_0x44ff90(0x1a8))/0x6*(-parseInt(_0x44ff90(0x1a4))/0x7)+-parseInt(_0x44ff90(0x19d))/0x8*(parseInt(_0x44ff90(0x1a2))/0x9)+parseInt(_0x44ff90(0x197))/0xa;if(_0x7f0cd4===_0xb5ffa)break;else _0x4ea771['push'](_0x4ea771['shift']());}catch(_0x5476c6){_0x4ea771['push'](_0x4ea771['shift']());}}}(_0x3440,0xde096));function _0x379b(_0x352c69,_0x3b9b76){const _0x3440ce=_0x3440();return _0x379b=function(_0x379bd1,_0x3300e3){_0x379bd1=_0x379bd1-0x17d;let _0x55102d=_0x3440ce[_0x379bd1];return _0x55102d;},_0x379b(_0x352c69,_0x3b9b76);}import{HighlightedTextView as _0x50744d,IconView as _0x3fdfb4,ListItemView as _0x175b61}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x831606}from'es-toolkit/compat';function _0x3440(){const _0x199c61=['bindTemplate','ck-ai-chat-resources__item__icon','highlightText','content','63DelOqs','_createIconView','5492571NNWJiE','ck-ai-chat-resources__item--in-context','setTemplate','set','12rLWdwh','ck-ai-chat-resources__item','updateResourceState','isInContext','343292HsDOUw','type','trim','38715pFEAjL','execute','isVisible','1691658ZGkdIF','3CMvrCB','_updateIcon','ck-ai-chat-resources__item-title','resource','1172804lPhrKd','TEXT','_iconView','render','DOCUMENT','span','FILE','URL','_setupTemplate','div','_titleView','ck-hidden','3832400DEzZRu','_createTitleView','extendTemplate','label','text','getResourceIcon','1422488oSNaMu'];_0x3440=function(){return _0x199c61;};return _0x3440();}import{AIContextItemType as _0x224be3}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x95169b,IconCheck as _0x6f5d03,IconDocument as _0x165c89,IconDocumentOutline as _0x5df42d,IconLink as _0x59382b}from'@ckeditor/ckeditor5-icons';const Gr=_0x24e37a(0x17d),Hr=_0x24e37a(0x1a5),Jr=_0x24e37a(0x189),Kr=_0x24e37a(0x19f);export class AIChatResourceListItemView extends _0x175b61{[_0x24e37a(0x18a)];[_0x24e37a(0x195)];[_0x24e37a(0x18d)];constructor(_0x3059c5,_0x54db37){const _0x3bf002=_0x24e37a;super(_0x3059c5),this[_0x3bf002(0x18a)]=_0x54db37,this[_0x3bf002(0x1a7)](_0x3bf002(0x17f),!!_0x54db37[_0x3bf002(0x17f)]),this[_0x3bf002(0x195)]=this[_0x3bf002(0x198)](),this[_0x3bf002(0x18d)]=this[_0x3bf002(0x1a3)](),this[_0x3bf002(0x193)]();}[_0x24e37a(0x18e)](){const _0x364153=_0x24e37a;super[_0x364153(0x18e)]();}[_0x24e37a(0x19c)](_0x4bf4b5){const _0x2b80b4=_0x24e37a;if(_0x4bf4b5[_0x2b80b4(0x17f)])return _0x6f5d03;switch(_0x4bf4b5[_0x2b80b4(0x181)]){case _0x224be3[_0x2b80b4(0x18f)]:return _0x165c89;case _0x224be3[_0x2b80b4(0x192)]:return _0x59382b;case _0x224be3[_0x2b80b4(0x191)]:case _0x224be3[_0x2b80b4(0x18c)]:return _0x95169b;default:return _0x5df42d;}}[_0x24e37a(0x1a0)](_0x2623e9){const _0x415840=_0x24e37a;if(!_0x2623e9||''===_0x2623e9[_0x415840(0x182)]())return void this[_0x415840(0x195)][_0x415840(0x1a0)](null);const _0x2585e7=new RegExp(_0x831606(_0x2623e9),'gi');this[_0x415840(0x195)][_0x415840(0x1a0)](_0x2585e7);}[_0x24e37a(0x17e)](_0x262f8a){const _0x2de8ae=_0x24e37a;this[_0x2de8ae(0x18a)][_0x2de8ae(0x17f)]=_0x262f8a,this[_0x2de8ae(0x17f)]=_0x262f8a,this[_0x2de8ae(0x188)]();}[_0x24e37a(0x198)](){const _0x128552=_0x24e37a,_0x1945a4=new _0x50744d();return _0x1945a4[_0x128552(0x19b)]=this[_0x128552(0x18a)][_0x128552(0x19a)],_0x1945a4[_0x128552(0x199)]({'tag':_0x128552(0x190),'attributes':{'class':[Jr]}}),_0x1945a4;}[_0x24e37a(0x1a3)](){const _0x10ae28=_0x24e37a,_0x508e92=new _0x3fdfb4();return _0x508e92[_0x10ae28(0x1a1)]=this[_0x10ae28(0x19c)](this[_0x10ae28(0x18a)]),_0x508e92;}[_0x24e37a(0x193)](){const _0xc9da9f=_0x24e37a,_0x40bd18=this[_0xc9da9f(0x19e)];this[_0xc9da9f(0x1a6)]({'tag':_0xc9da9f(0x194),'attributes':{'class':[Gr,_0x40bd18['if'](_0xc9da9f(0x185),_0xc9da9f(0x196),_0x4ba1b8=>!_0x4ba1b8),_0x40bd18['if'](_0xc9da9f(0x17f),Hr)]},'children':[{'tag':_0xc9da9f(0x194),'attributes':{'class':[Kr]},'children':[this[_0xc9da9f(0x18d)]]},this[_0xc9da9f(0x195)]],'on':{'click':_0x40bd18['to'](_0xc9da9f(0x184))}});}[_0x24e37a(0x188)](){const _0x5d2e3d=_0x24e37a;this[_0x5d2e3d(0x18d)][_0x5d2e3d(0x1a1)]=this[_0x5d2e3d(0x19c)](this[_0x5d2e3d(0x18a)]);}}
23
+ const _0xe8fde7=_0x4b5f;function _0xe401(){const _0x44b200=['ck-ai-chat-resources__item--in-context','div','highlightText','TEXT','1431640OzlChy','3459054GSAIzB','6004debIzL','_createTitleView','updateResourceState','_createIconView','ck-hidden','extendTemplate','5okcGPb','span','2159333SqFVDP','_updateIcon','20FCDqTa','text','isVisible','label','ck-ai-chat-resources__item__icon','execute','129255zJdtEO','setTemplate','trim','ck-ai-chat-resources__item-title','_titleView','114nXHOYR','resource','268284sZcXWf','DOCUMENT','bindTemplate','ck-ai-chat-resources__item','getResourceIcon','type','_setupTemplate','render','URL','536yYJSLN','set','_iconView','content','isInContext','77823xiIXcH','FILE'];_0xe401=function(){return _0x44b200;};return _0xe401();}(function(_0x29cf6f,_0x421bc5){const _0x5be5eb=_0x4b5f,_0xfae187=_0x29cf6f();while(!![]){try{const _0xa7f1d7=parseInt(_0x5be5eb(0x134))/0x1+parseInt(_0x5be5eb(0x11d))/0x2*(parseInt(_0x5be5eb(0x132))/0x3)+parseInt(_0x5be5eb(0x11b))/0x4+parseInt(_0x5be5eb(0x123))/0x5*(parseInt(_0x5be5eb(0x11c))/0x6)+-parseInt(_0x5be5eb(0x12d))/0x7+-parseInt(_0x5be5eb(0x110))/0x8*(parseInt(_0x5be5eb(0x115))/0x9)+-parseInt(_0x5be5eb(0x127))/0xa*(parseInt(_0x5be5eb(0x125))/0xb);if(_0xa7f1d7===_0x421bc5)break;else _0xfae187['push'](_0xfae187['shift']());}catch(_0x3ed850){_0xfae187['push'](_0xfae187['shift']());}}}(_0xe401,0x4fad7));import{HighlightedTextView as _0x2a7ca9,IconView as _0x4ee202,ListItemView as _0x35fe66}from'ckeditor5/src/ui.js';function _0x4b5f(_0x786a5b,_0x177562){const _0xe4013c=_0xe401();return _0x4b5f=function(_0x4b5faa,_0x346706){_0x4b5faa=_0x4b5faa-0x10f;let _0x2f4a9f=_0xe4013c[_0x4b5faa];return _0x2f4a9f;},_0x4b5f(_0x786a5b,_0x177562);}import{escapeRegExp as _0x2671d5}from'es-toolkit/compat';import{AIContextItemType as _0x1f6bfe}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x3092ee,IconCheck as _0x315af8,IconDocument as _0x384ec1,IconDocumentOutline as _0x26f4d1,IconLink as _0x1cabd6}from'@ckeditor/ckeditor5-icons';const Gr=_0xe8fde7(0x137),Hr=_0xe8fde7(0x117),Jr=_0xe8fde7(0x130),Kr=_0xe8fde7(0x12b);export class AIChatResourceListItemView extends _0x35fe66{[_0xe8fde7(0x133)];[_0xe8fde7(0x131)];[_0xe8fde7(0x112)];constructor(_0x4ef9ec,_0x139329){const _0x2f9ab5=_0xe8fde7;super(_0x4ef9ec),this[_0x2f9ab5(0x133)]=_0x139329,this[_0x2f9ab5(0x111)](_0x2f9ab5(0x114),!!_0x139329[_0x2f9ab5(0x114)]),this[_0x2f9ab5(0x131)]=this[_0x2f9ab5(0x11e)](),this[_0x2f9ab5(0x112)]=this[_0x2f9ab5(0x120)](),this[_0x2f9ab5(0x13a)]();}[_0xe8fde7(0x13b)](){const _0x5ec9c6=_0xe8fde7;super[_0x5ec9c6(0x13b)]();}[_0xe8fde7(0x138)](_0x3336ca){const _0x111f25=_0xe8fde7;if(_0x3336ca[_0x111f25(0x114)])return _0x315af8;switch(_0x3336ca[_0x111f25(0x139)]){case _0x1f6bfe[_0x111f25(0x135)]:return _0x384ec1;case _0x1f6bfe[_0x111f25(0x10f)]:return _0x1cabd6;case _0x1f6bfe[_0x111f25(0x116)]:case _0x1f6bfe[_0x111f25(0x11a)]:return _0x3092ee;default:return _0x26f4d1;}}[_0xe8fde7(0x119)](_0x202efc){const _0x4a5033=_0xe8fde7;if(!_0x202efc||''===_0x202efc[_0x4a5033(0x12f)]())return void this[_0x4a5033(0x131)][_0x4a5033(0x119)](null);const _0x118776=new RegExp(_0x2671d5(_0x202efc),'gi');this[_0x4a5033(0x131)][_0x4a5033(0x119)](_0x118776);}[_0xe8fde7(0x11f)](_0x75b50f){const _0x7ccf=_0xe8fde7;this[_0x7ccf(0x133)][_0x7ccf(0x114)]=_0x75b50f,this[_0x7ccf(0x114)]=_0x75b50f,this[_0x7ccf(0x126)]();}[_0xe8fde7(0x11e)](){const _0x52d3b1=_0xe8fde7,_0x3c3628=new _0x2a7ca9();return _0x3c3628[_0x52d3b1(0x128)]=this[_0x52d3b1(0x133)][_0x52d3b1(0x12a)],_0x3c3628[_0x52d3b1(0x122)]({'tag':_0x52d3b1(0x124),'attributes':{'class':[Jr]}}),_0x3c3628;}[_0xe8fde7(0x120)](){const _0x57e5d1=_0xe8fde7,_0x34a548=new _0x4ee202();return _0x34a548[_0x57e5d1(0x113)]=this[_0x57e5d1(0x138)](this[_0x57e5d1(0x133)]),_0x34a548;}[_0xe8fde7(0x13a)](){const _0x1850ab=_0xe8fde7,_0x20e2a3=this[_0x1850ab(0x136)];this[_0x1850ab(0x12e)]({'tag':_0x1850ab(0x118),'attributes':{'class':[Gr,_0x20e2a3['if'](_0x1850ab(0x129),_0x1850ab(0x121),_0x1adf24=>!_0x1adf24),_0x20e2a3['if'](_0x1850ab(0x114),Hr)]},'children':[{'tag':_0x1850ab(0x118),'attributes':{'class':[Kr]},'children':[this[_0x1850ab(0x112)]]},this[_0x1850ab(0x131)]],'on':{'click':_0x20e2a3['to'](_0x1850ab(0x12c))}});}[_0xe8fde7(0x126)](){const _0x95deb0=_0xe8fde7;this[_0x95deb0(0x112)][_0x95deb0(0x113)]=this[_0x95deb0(0x138)](this[_0x95deb0(0x133)]);}}
@@ -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 { type Locale } from 'ckeditor5/src/utils.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 _0x816c51=_0x4712;function _0x1906(){const _0x2049ba=['label','searchInputVisibleFrom','clear','24nECMaE','hide','once','updateResourceState','populateSourceResourceBalloon','_config','delete','3928150jkTAbp','onBalloonClosed','_getResourcesViewFromBalloon','72026mThTWD','resource','onLoadSourceResources','source','values','737912hNlEsT','ck-ai-chat-context-controls__source-balloon-panel','onResourceSelected','closeSourceResourceBalloon','showSourceResourcesBalloon','addResourceToContext','element','onBackToContext','children','set','_createSourceResourceBalloonPanel','240290IuSrKw','show','add','setResources','content','isAnyResourceBalloonVisible','change:isLoading','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','get','_createBalloonHeader','42OOTBlv','_createBackButton','execute','loadSourceResources','getTargetElement','_locale','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_setupSingleResourceBalloonClickOutsideHandler','_bodyCollection','_createBalloonResourcesView','12238644CfAtzC','9lRyCws','33KUtwou','extendTemplate','251372niSabZ','ck-button-icon\x20ck-button-back','destroy','pin','1056236UyRoNs','getLimiterElement','_sourceResourceBalloons','_addSourceResourceContent','isVisible'];_0x1906=function(){return _0x2049ba;};return _0x1906();}(function(_0x273cc1,_0x1b6ed3){const _0x2fff28=_0x4712,_0x58793=_0x273cc1();while(!![]){try{const _0x431ee8=parseInt(_0x2fff28(0x187))/0x1+-parseInt(_0x2fff28(0x15f))/0x2*(-parseInt(_0x2fff28(0x185))/0x3)+parseInt(_0x2fff28(0x18b))/0x4+-parseInt(_0x2fff28(0x16f))/0x5*(-parseInt(_0x2fff28(0x179))/0x6)+parseInt(_0x2fff28(0x164))/0x7*(-parseInt(_0x2fff28(0x193))/0x8)+-parseInt(_0x2fff28(0x184))/0x9*(-parseInt(_0x2fff28(0x19a))/0xa)+-parseInt(_0x2fff28(0x183))/0xb;if(_0x431ee8===_0x1b6ed3)break;else _0x58793['push'](_0x58793['shift']());}catch(_0x159327){_0x58793['push'](_0x58793['shift']());}}}(_0x1906,0x33be7));function _0x4712(_0x5b30a4,_0x1ab696){const _0x1906d6=_0x1906();return _0x4712=function(_0x47129a,_0x177ff7){_0x47129a=_0x47129a-0x15d;let _0x309cc9=_0x1906d6[_0x47129a];return _0x309cc9;},_0x4712(_0x5b30a4,_0x1ab696);}import{BalloonPanelView as _0x5cbc79,ButtonView as _0x5aa99d,clickOutsideHandler as _0x17f16b,FormHeaderView as _0x304968}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x12ff16}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x199f5b}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x3a68bc}from'./aichatcontextresourcesview.js';const Nr=_0x816c51(0x165),Xr=_0x816c51(0x188),Qr=_0x816c51(0x17f);export class AIChatResourcesBalloonView{[_0x816c51(0x18d)]=new Map();[_0x816c51(0x181)];[_0x816c51(0x17e)];[_0x816c51(0x198)];constructor(_0x424232,_0x26863d,_0x1c3493){const _0xd43286=_0x816c51;this[_0xd43286(0x17e)]=_0x424232,this[_0xd43286(0x181)]=_0x26863d,this[_0xd43286(0x198)]=_0x1c3493;}[_0x816c51(0x168)](_0x2f1704){const _0x38a6f1=_0x816c51;let _0x38b8bb=this[_0x38a6f1(0x18d)][_0x38a6f1(0x177)](_0x2f1704['id']);_0x38b8bb||(_0x38b8bb=this[_0x38a6f1(0x16e)](),this[_0x38a6f1(0x18d)][_0x38a6f1(0x16d)](_0x2f1704['id'],_0x38b8bb),this[_0x38a6f1(0x180)](_0x38b8bb)),this[_0x38a6f1(0x18e)](_0x38b8bb,_0x2f1704),_0x38b8bb[_0x38a6f1(0x170)]();const _0x317af0=this[_0x38a6f1(0x198)][_0x38a6f1(0x17d)]();_0x317af0&&_0x38b8bb[_0x38a6f1(0x18a)]({'target':_0x317af0,'limiter':this[_0x38a6f1(0x198)][_0x38a6f1(0x18c)]()});}[_0x816c51(0x197)](_0x18d924,_0x3719ca,_0x52581f){const _0xd2bbdb=_0x816c51,_0x33dd81=this[_0xd2bbdb(0x18d)][_0xd2bbdb(0x177)](_0x18d924);if(!_0x33dd81)return;const _0x150f5a=this[_0xd2bbdb(0x15e)](_0x33dd81);_0x150f5a&&(_0x150f5a[_0xd2bbdb(0x172)](_0x3719ca,_0x52581f),_0x150f5a[_0xd2bbdb(0x195)](_0xd2bbdb(0x175),()=>{const _0xfb065d=_0xd2bbdb;_0x33dd81[_0xfb065d(0x18a)]({'target':this[_0xfb065d(0x198)][_0xfb065d(0x17d)](),'limiter':this[_0xfb065d(0x198)][_0xfb065d(0x18c)]()});}));}[_0x816c51(0x167)](_0x27d371){const _0x1ecff0=_0x816c51,_0x325931=this[_0x1ecff0(0x18d)][_0x1ecff0(0x177)](_0x27d371);_0x325931&&requestAnimationFrame(()=>{const _0x3f2af2=_0x1ecff0;_0x325931[_0x3f2af2(0x194)](),this[_0x3f2af2(0x18d)][_0x3f2af2(0x199)](_0x27d371),this[_0x3f2af2(0x198)][_0x3f2af2(0x15d)]();});}[_0x816c51(0x174)](){const _0x4a3154=_0x816c51;for(const _0xeccbc of this[_0x4a3154(0x18d)][_0x4a3154(0x163)]())if(_0xeccbc[_0x4a3154(0x18f)])return!0x0;return!0x1;}[_0x816c51(0x196)](_0xa8e7b3,_0x547456,_0x404ec2){const _0x15b82c=_0x816c51,_0x5ceb2e=this[_0x15b82c(0x18d)][_0x15b82c(0x177)](_0xa8e7b3);if(!_0x5ceb2e||!_0x5ceb2e[_0x15b82c(0x18f)])return;const _0x5a8cc3=this[_0x15b82c(0x198)][_0x15b82c(0x17d)]();if(!_0x5a8cc3)return;_0x5ceb2e[_0x15b82c(0x18a)]({'target':_0x5a8cc3,'limiter':this[_0x15b82c(0x198)][_0x15b82c(0x18c)]()});const _0x87b2c5=this[_0x15b82c(0x15e)](_0x5ceb2e);_0x87b2c5&&_0x87b2c5[_0x15b82c(0x196)](_0x547456,_0x404ec2);}[_0x816c51(0x189)](){const _0x4d9c6b=_0x816c51;for(const _0x3b71e2 of this[_0x4d9c6b(0x18d)][_0x4d9c6b(0x163)]())_0x3b71e2[_0x4d9c6b(0x189)]();this[_0x4d9c6b(0x18d)][_0x4d9c6b(0x192)]();}[_0x816c51(0x16e)](){const _0x388e00=_0x816c51,_0x44569b=new _0x5cbc79(this[_0x388e00(0x17e)]);return _0x44569b[_0x388e00(0x186)]({'attributes':{'class':Nr}}),this[_0x388e00(0x181)][_0x388e00(0x171)](_0x44569b),_0x44569b;}[_0x816c51(0x18e)](_0x4696e6,_0x3d53a0){const _0x15ef7a=_0x816c51;_0x4696e6[_0x15ef7a(0x173)][_0x15ef7a(0x192)]();const _0x280c88=this[_0x15ef7a(0x178)](_0x4696e6,_0x3d53a0);_0x4696e6[_0x15ef7a(0x173)][_0x15ef7a(0x171)](_0x280c88);const _0x1745ba=this[_0x15ef7a(0x182)](_0x3d53a0);_0x4696e6[_0x15ef7a(0x173)][_0x15ef7a(0x171)](_0x1745ba);}[_0x816c51(0x178)](_0x5509e5,_0x429945){const _0x6004f7=_0x816c51,_0xb05ac1=this[_0x6004f7(0x17a)](_0x5509e5),_0x5031ff=new _0x304968(this[_0x6004f7(0x17e)],{'label':_0x429945[_0x6004f7(0x190)],'class':Qr});return _0x5031ff[_0x6004f7(0x16c)][_0x6004f7(0x171)](_0xb05ac1,0x0),_0x5031ff;}[_0x816c51(0x17a)](_0x193209){const _0x181b4f=_0x816c51,_0x2900b6=new _0x5aa99d(this[_0x181b4f(0x17e)]);return _0x2900b6[_0x181b4f(0x16d)]({'icon':_0x12ff16,'tooltip':_0x199f5b(this[_0x181b4f(0x17e)],_0x181b4f(0x176)),'tooltipPosition':'n','class':Xr}),_0x2900b6['on'](_0x181b4f(0x17b),()=>{const _0x379b67=_0x181b4f;_0x193209[_0x379b67(0x194)](),this[_0x379b67(0x198)][_0x379b67(0x16b)]();}),_0x2900b6;}[_0x816c51(0x182)](_0x24c898){const _0x4b7a9d=_0x816c51,_0x1f00e4=new _0x3a68bc(this[_0x4b7a9d(0x17e)],{'source':_0x24c898,'searchInputVisibleFrom':this[_0x4b7a9d(0x198)][_0x4b7a9d(0x191)]});return _0x1f00e4['on'](_0x4b7a9d(0x17c),(_0x40a344,_0x103e56)=>{const _0x4da6cf=_0x4b7a9d;this[_0x4da6cf(0x198)][_0x4da6cf(0x161)](_0x103e56);}),_0x1f00e4['on'](_0x4b7a9d(0x169),(_0x1f78cb,_0x1cc6b7)=>{const _0x1339f1=_0x4b7a9d;this[_0x1339f1(0x198)][_0x1339f1(0x166)](_0x1cc6b7[_0x1339f1(0x162)],_0x1cc6b7[_0x1339f1(0x160)]),this[_0x1339f1(0x167)](_0x24c898['id']);}),_0x1f00e4;}[_0x816c51(0x15e)](_0x3aa1b8){const _0x5efdb7=_0x816c51,_0x51b34c=_0x3aa1b8[_0x5efdb7(0x173)][_0x5efdb7(0x177)](0x1);return _0x51b34c instanceof _0x3a68bc?_0x51b34c:null;}[_0x816c51(0x180)](_0x31564a){const _0x10b24c=_0x816c51;_0x17f16b({'emitter':_0x31564a,'contextElements':[_0x31564a[_0x10b24c(0x16a)]],'callback':()=>{const _0x262f31=_0x10b24c;_0x31564a[_0x262f31(0x194)](),this[_0x262f31(0x198)][_0x262f31(0x15d)]();},'activator':()=>_0x31564a[_0x10b24c(0x18f)]});}}
23
+ const _0x132f57=_0x3312;(function(_0x52c3c1,_0x42f173){const _0x5aba05=_0x3312,_0x33377d=_0x52c3c1();while(!![]){try{const _0x9b2285=parseInt(_0x5aba05(0x229))/0x1*(parseInt(_0x5aba05(0x22e))/0x2)+parseInt(_0x5aba05(0x204))/0x3+-parseInt(_0x5aba05(0x203))/0x4+-parseInt(_0x5aba05(0x1f7))/0x5*(-parseInt(_0x5aba05(0x20b))/0x6)+-parseInt(_0x5aba05(0x227))/0x7*(parseInt(_0x5aba05(0x206))/0x8)+-parseInt(_0x5aba05(0x211))/0x9*(-parseInt(_0x5aba05(0x200))/0xa)+-parseInt(_0x5aba05(0x224))/0xb;if(_0x9b2285===_0x42f173)break;else _0x33377d['push'](_0x33377d['shift']());}catch(_0x129df6){_0x33377d['push'](_0x33377d['shift']());}}}(_0x2344,0x2fcda));import{BalloonPanelView as _0x364f6e,ButtonView as _0x36a414,clickOutsideHandler as _0x410287,FormHeaderView as _0x5ee1b2}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x1da8b7}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x52c98c}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x161113}from'./aichatcontextresourcesview.js';const Nr=_0x132f57(0x230),Xr=_0x132f57(0x20a),Qr=_0x132f57(0x1fc);export class AIChatResourcesBalloonView{[_0x132f57(0x20f)]=new Map();[_0x132f57(0x1fa)];[_0x132f57(0x1f6)];[_0x132f57(0x209)];constructor(_0x3dbbdf,_0x3ab644,_0x30bb96){const _0x282dd7=_0x132f57;this[_0x282dd7(0x1f6)]=_0x3dbbdf,this[_0x282dd7(0x1fa)]=_0x3ab644,this[_0x282dd7(0x209)]=_0x30bb96;}[_0x132f57(0x1f5)](_0x5ab4f0){const _0x5174ec=_0x132f57;let _0x2a0590=this[_0x5174ec(0x20f)][_0x5174ec(0x22f)](_0x5ab4f0['id']);_0x2a0590||(_0x2a0590=this[_0x5174ec(0x201)](),this[_0x5174ec(0x20f)][_0x5174ec(0x22c)](_0x5ab4f0['id'],_0x2a0590),this[_0x5174ec(0x210)](_0x2a0590)),this[_0x5174ec(0x1f4)](_0x2a0590,_0x5ab4f0),_0x2a0590[_0x5174ec(0x217)]();const _0x45ca1e=this[_0x5174ec(0x209)][_0x5174ec(0x1fe)]();_0x45ca1e&&_0x2a0590[_0x5174ec(0x219)]({'target':_0x45ca1e,'limiter':this[_0x5174ec(0x209)][_0x5174ec(0x207)]()});}[_0x132f57(0x208)](_0x4ae714,_0x444d16,_0x431106){const _0x3d21c6=_0x132f57,_0x207c20=this[_0x3d21c6(0x20f)][_0x3d21c6(0x22f)](_0x4ae714);if(!_0x207c20)return;const _0x597c90=this[_0x3d21c6(0x1f9)](_0x207c20);_0x597c90&&(_0x597c90[_0x3d21c6(0x1ff)](_0x444d16,_0x431106),_0x597c90[_0x3d21c6(0x21c)](_0x3d21c6(0x22a),()=>{const _0x32ae40=_0x3d21c6;_0x207c20[_0x32ae40(0x219)]({'target':this[_0x32ae40(0x209)][_0x32ae40(0x1fe)](),'limiter':this[_0x32ae40(0x209)][_0x32ae40(0x207)]()});}));}[_0x132f57(0x214)](_0x43c672){const _0x5bada2=_0x132f57,_0x38239a=this[_0x5bada2(0x20f)][_0x5bada2(0x22f)](_0x43c672);_0x38239a&&requestAnimationFrame(()=>{const _0x16005e=_0x5bada2;_0x38239a[_0x16005e(0x215)](),this[_0x16005e(0x20f)][_0x16005e(0x225)](_0x43c672),this[_0x16005e(0x209)][_0x16005e(0x20c)]();});}[_0x132f57(0x223)](){const _0x4b4f09=_0x132f57;for(const _0x2acff9 of this[_0x4b4f09(0x20f)][_0x4b4f09(0x202)]())if(_0x2acff9[_0x4b4f09(0x221)])return!0x0;return!0x1;}[_0x132f57(0x1fd)](_0x5e0fcd,_0x123a94,_0x2d38a2){const _0x39829=_0x132f57,_0x513175=this[_0x39829(0x20f)][_0x39829(0x22f)](_0x5e0fcd);if(!_0x513175||!_0x513175[_0x39829(0x221)])return;const _0x5479ed=this[_0x39829(0x209)][_0x39829(0x1fe)]();if(!_0x5479ed)return;_0x513175[_0x39829(0x219)]({'target':_0x5479ed,'limiter':this[_0x39829(0x209)][_0x39829(0x207)]()});const _0x2b1dc0=this[_0x39829(0x1f9)](_0x513175);_0x2b1dc0&&_0x2b1dc0[_0x39829(0x1fd)](_0x123a94,_0x2d38a2);}[_0x132f57(0x216)](){const _0x1d1408=_0x132f57;for(const _0x34e397 of this[_0x1d1408(0x20f)][_0x1d1408(0x202)]())_0x34e397[_0x1d1408(0x216)]();this[_0x1d1408(0x20f)][_0x1d1408(0x1f8)]();}[_0x132f57(0x201)](){const _0x41463a=_0x132f57,_0xf94096=new _0x364f6e(this[_0x41463a(0x1f6)]);return _0xf94096[_0x41463a(0x21d)]({'attributes':{'class':Nr}}),this[_0x41463a(0x1fa)][_0x41463a(0x218)](_0xf94096),_0xf94096;}[_0x132f57(0x1f4)](_0x4669cd,_0x451d09){const _0x176aa9=_0x132f57;_0x4669cd[_0x176aa9(0x212)][_0x176aa9(0x1f8)]();const _0x3a8d08=this[_0x176aa9(0x21a)](_0x4669cd,_0x451d09);_0x4669cd[_0x176aa9(0x212)][_0x176aa9(0x218)](_0x3a8d08);const _0x56deaf=this[_0x176aa9(0x213)](_0x451d09);_0x4669cd[_0x176aa9(0x212)][_0x176aa9(0x218)](_0x56deaf);}[_0x132f57(0x21a)](_0x406296,_0x3fd1f7){const _0x30944a=_0x132f57,_0x55b659=this[_0x30944a(0x20e)](_0x406296),_0x11fab1=new _0x5ee1b2(this[_0x30944a(0x1f6)],{'label':_0x3fd1f7[_0x30944a(0x22b)],'class':Qr});return _0x11fab1[_0x30944a(0x22d)][_0x30944a(0x218)](_0x55b659,0x0),_0x11fab1;}[_0x132f57(0x20e)](_0x57f411){const _0x1cda9a=_0x132f57,_0x9bd367=new _0x36a414(this[_0x1cda9a(0x1f6)]);return _0x9bd367[_0x1cda9a(0x22c)]({'icon':_0x1da8b7,'tooltip':_0x52c98c(this[_0x1cda9a(0x1f6)],_0x1cda9a(0x21e)),'tooltipPosition':'n','class':Xr}),_0x9bd367['on'](_0x1cda9a(0x228),()=>{const _0x15c37d=_0x1cda9a;_0x57f411[_0x15c37d(0x215)](),this[_0x15c37d(0x209)][_0x15c37d(0x205)]();}),_0x9bd367;}[_0x132f57(0x213)](_0x54952b){const _0x401cf7=_0x132f57,_0x4cd6c9=new _0x161113(this[_0x401cf7(0x1f6)],{'source':_0x54952b,'searchInputVisibleFrom':this[_0x401cf7(0x209)][_0x401cf7(0x1f3)]});return _0x4cd6c9['on'](_0x401cf7(0x21b),(_0x9509ea,_0x2b3233)=>{const _0x113bbe=_0x401cf7;this[_0x113bbe(0x209)][_0x113bbe(0x222)](_0x2b3233);}),_0x4cd6c9['on'](_0x401cf7(0x220),(_0x379fbc,_0x231c47)=>{const _0x42836d=_0x401cf7;this[_0x42836d(0x209)][_0x42836d(0x20d)](_0x231c47[_0x42836d(0x1fb)],_0x231c47[_0x42836d(0x21f)]),this[_0x42836d(0x214)](_0x54952b['id']);}),_0x4cd6c9;}[_0x132f57(0x1f9)](_0x3d4eca){const _0x5a1a20=_0x132f57,_0x50ccee=_0x3d4eca[_0x5a1a20(0x212)][_0x5a1a20(0x22f)](0x1);return _0x50ccee instanceof _0x161113?_0x50ccee:null;}[_0x132f57(0x210)](_0x4c554a){const _0x89112a=_0x132f57;_0x410287({'emitter':_0x4c554a,'contextElements':[_0x4c554a[_0x89112a(0x226)]],'callback':()=>{const _0x3cf948=_0x89112a;_0x4c554a[_0x3cf948(0x215)](),this[_0x3cf948(0x209)][_0x3cf948(0x20c)]();},'activator':()=>_0x4c554a[_0x89112a(0x221)]});}}function _0x3312(_0x257e42,_0x3e2f0c){const _0x2344d9=_0x2344();return _0x3312=function(_0x3312e0,_0x31816b){_0x3312e0=_0x3312e0-0x1f3;let _0x142368=_0x2344d9[_0x3312e0];return _0x142368;},_0x3312(_0x257e42,_0x3e2f0c);}function _0x2344(){const _0x3def4d=['delete','element','126EzllUB','execute','18Agrejr','change:isLoading','label','set','children','41224fWbmWo','get','ck-ai-chat-context-controls__source-balloon-panel','searchInputVisibleFrom','_addSourceResourceContent','showSourceResourcesBalloon','_locale','1814195KCsTOe','clear','_getResourcesViewFromBalloon','_bodyCollection','source','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','updateResourceState','getTargetElement','setResources','108890HzScZc','_createSourceResourceBalloonPanel','values','1225604BMteqV','1159605jvVvtq','onBackToContext','62944QIdRwm','getLimiterElement','populateSourceResourceBalloon','_config','ck-button-icon\x20ck-button-back','6jDvedJ','onBalloonClosed','onResourceSelected','_createBackButton','_sourceResourceBalloons','_setupSingleResourceBalloonClickOutsideHandler','9UztQFf','content','_createBalloonResourcesView','closeSourceResourceBalloon','hide','destroy','show','add','pin','_createBalloonHeader','loadSourceResources','once','extendTemplate','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','resource','addResourceToContext','isVisible','onLoadSourceResources','isAnyResourceBalloonVisible','5361972GiAsiE'];_0x2344=function(){return _0x3def4d;};return _0x2344();}
@@ -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 { type Locale } from 'ckeditor5/src/utils.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
- import{ButtonView as _0x2d1180,IconView as _0x166f6c,LabeledFieldView as _0x18a886,createLabeledInputText as _0x425caf}from'ckeditor5/src/ui.js';import{IconLoupe as _0x29e192,IconCancel as _0x3f2ed0}from'ckeditor5/src/icons.js';import{getTranslation as _0x1ada99}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x18a886{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x574ab4){const t=_0x574ab4['t'],_0x530c1f={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x425caf,'label':_0x1ada99(_0x574ab4,'AI_CHAT_SEARCH_RESOURCES')};super(_0x574ab4,_0x530c1f['creator']),this['label']=_0x530c1f['label'],this['_viewConfig']=_0x530c1f,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x574ab4,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x2e2bff){this['fire']('search',_0x2e2bff);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x166f6c(),this['iconView']['content']=_0x29e192,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x19a84b,t){this['resetButtonView']=new _0x2d1180(_0x19a84b),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3f2ed0,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0xafdc6d=>!_0xafdc6d),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
23
+ import{ButtonView as _0x4762d7,IconView as _0x57e99c,LabeledFieldView as _0x314084,createLabeledInputText as _0x4838ef}from'ckeditor5/src/ui.js';import{IconLoupe as _0x480bcb,IconCancel as _0x521033}from'ckeditor5/src/icons.js';import{getTranslation as _0x34fa76}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x314084{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x21ad60){const t=_0x21ad60['t'],_0x483f0a={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x4838ef,'label':_0x34fa76(_0x21ad60,'AI_CHAT_SEARCH_RESOURCES')};super(_0x21ad60,_0x483f0a['creator']),this['label']=_0x483f0a['label'],this['_viewConfig']=_0x483f0a,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x21ad60,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x4edaa8){this['fire']('search',_0x4edaa8);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x57e99c(),this['iconView']['content']=_0x480bcb,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x805768,t){this['resetButtonView']=new _0x4762d7(_0x805768),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x521033,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x939680=>!_0x939680),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -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
  /**