@ckeditor/ckeditor5-ai 47.3.0 → 47.4.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (701) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/ai.js +3 -3
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/ast.js +1 -1
  7. package/build/translations/az.js +1 -1
  8. package/build/translations/be.js +1 -1
  9. package/build/translations/bg.js +1 -1
  10. package/build/translations/bn.js +1 -1
  11. package/build/translations/bs.js +1 -1
  12. package/build/translations/ca.js +1 -1
  13. package/build/translations/cs.js +1 -1
  14. package/build/translations/da.js +1 -1
  15. package/build/translations/de-ch.js +1 -1
  16. package/build/translations/de.js +1 -1
  17. package/build/translations/el.js +1 -1
  18. package/build/translations/en-au.js +1 -1
  19. package/build/translations/en-gb.js +1 -1
  20. package/build/translations/eo.js +1 -1
  21. package/build/translations/es-co.js +1 -1
  22. package/build/translations/es.js +1 -1
  23. package/build/translations/et.js +1 -1
  24. package/build/translations/eu.js +1 -1
  25. package/build/translations/fa.js +1 -1
  26. package/build/translations/fi.js +1 -1
  27. package/build/translations/fr.js +1 -1
  28. package/build/translations/gl.js +1 -1
  29. package/build/translations/gu.js +1 -1
  30. package/build/translations/he.js +1 -1
  31. package/build/translations/hi.js +1 -1
  32. package/build/translations/hr.js +1 -1
  33. package/build/translations/hu.js +1 -1
  34. package/build/translations/hy.js +1 -1
  35. package/build/translations/id.js +1 -1
  36. package/build/translations/it.js +1 -1
  37. package/build/translations/ja.js +1 -1
  38. package/build/translations/jv.js +1 -1
  39. package/build/translations/kk.js +1 -1
  40. package/build/translations/km.js +1 -1
  41. package/build/translations/kn.js +1 -1
  42. package/build/translations/ko.js +1 -1
  43. package/build/translations/ku.js +1 -1
  44. package/build/translations/lt.js +1 -1
  45. package/build/translations/lv.js +1 -1
  46. package/build/translations/ms.js +1 -1
  47. package/build/translations/nb.js +1 -1
  48. package/build/translations/ne.js +1 -1
  49. package/build/translations/nl.js +1 -1
  50. package/build/translations/no.js +1 -1
  51. package/build/translations/oc.js +1 -1
  52. package/build/translations/pl.js +1 -1
  53. package/build/translations/pt-br.js +1 -1
  54. package/build/translations/pt.js +1 -1
  55. package/build/translations/ro.js +1 -1
  56. package/build/translations/ru.js +1 -1
  57. package/build/translations/si.js +1 -1
  58. package/build/translations/sk.js +1 -1
  59. package/build/translations/sl.js +1 -1
  60. package/build/translations/sq.js +1 -1
  61. package/build/translations/sr-latn.js +1 -1
  62. package/build/translations/sr.js +1 -1
  63. package/build/translations/sv.js +1 -1
  64. package/build/translations/th.js +1 -1
  65. package/build/translations/ti.js +1 -1
  66. package/build/translations/tk.js +1 -1
  67. package/build/translations/tr.js +1 -1
  68. package/build/translations/tt.js +1 -1
  69. package/build/translations/ug.js +1 -1
  70. package/build/translations/uk.js +1 -1
  71. package/build/translations/ur.js +1 -1
  72. package/build/translations/uz.js +1 -1
  73. package/build/translations/vi.js +1 -1
  74. package/build/translations/zh-cn.js +1 -1
  75. package/build/translations/zh.js +1 -1
  76. package/dist/index-content.css +1 -1
  77. package/dist/index-editor.css +67 -4
  78. package/dist/index.css +117 -54
  79. package/dist/index.js +6 -6
  80. package/dist/translations/af.d.ts +1 -1
  81. package/dist/translations/af.js +2 -2
  82. package/dist/translations/af.umd.js +2 -2
  83. package/dist/translations/ar.d.ts +1 -1
  84. package/dist/translations/ar.js +2 -2
  85. package/dist/translations/ar.umd.js +2 -2
  86. package/dist/translations/ast.d.ts +1 -1
  87. package/dist/translations/ast.js +2 -2
  88. package/dist/translations/ast.umd.js +2 -2
  89. package/dist/translations/az.d.ts +1 -1
  90. package/dist/translations/az.js +2 -2
  91. package/dist/translations/az.umd.js +2 -2
  92. package/dist/translations/be.d.ts +1 -1
  93. package/dist/translations/be.js +2 -2
  94. package/dist/translations/be.umd.js +2 -2
  95. package/dist/translations/bg.d.ts +1 -1
  96. package/dist/translations/bg.js +2 -2
  97. package/dist/translations/bg.umd.js +2 -2
  98. package/dist/translations/bn.d.ts +1 -1
  99. package/dist/translations/bn.js +2 -2
  100. package/dist/translations/bn.umd.js +2 -2
  101. package/dist/translations/bs.d.ts +1 -1
  102. package/dist/translations/bs.js +2 -2
  103. package/dist/translations/bs.umd.js +2 -2
  104. package/dist/translations/ca.d.ts +1 -1
  105. package/dist/translations/ca.js +2 -2
  106. package/dist/translations/ca.umd.js +2 -2
  107. package/dist/translations/cs.d.ts +1 -1
  108. package/dist/translations/cs.js +2 -2
  109. package/dist/translations/cs.umd.js +2 -2
  110. package/dist/translations/da.d.ts +1 -1
  111. package/dist/translations/da.js +2 -2
  112. package/dist/translations/da.umd.js +2 -2
  113. package/dist/translations/de-ch.d.ts +1 -1
  114. package/dist/translations/de-ch.js +2 -2
  115. package/dist/translations/de-ch.umd.js +2 -2
  116. package/dist/translations/de.d.ts +1 -1
  117. package/dist/translations/de.js +2 -2
  118. package/dist/translations/de.umd.js +2 -2
  119. package/dist/translations/el.d.ts +1 -1
  120. package/dist/translations/el.js +2 -2
  121. package/dist/translations/el.umd.js +2 -2
  122. package/dist/translations/en-au.d.ts +1 -1
  123. package/dist/translations/en-au.js +2 -2
  124. package/dist/translations/en-au.umd.js +2 -2
  125. package/dist/translations/en-gb.d.ts +1 -1
  126. package/dist/translations/en-gb.js +2 -2
  127. package/dist/translations/en-gb.umd.js +2 -2
  128. package/dist/translations/en.d.ts +1 -1
  129. package/dist/translations/en.js +2 -2
  130. package/dist/translations/en.umd.js +2 -2
  131. package/dist/translations/eo.d.ts +1 -1
  132. package/dist/translations/eo.js +2 -2
  133. package/dist/translations/eo.umd.js +2 -2
  134. package/dist/translations/es-co.d.ts +1 -1
  135. package/dist/translations/es-co.js +2 -2
  136. package/dist/translations/es-co.umd.js +2 -2
  137. package/dist/translations/es.d.ts +1 -1
  138. package/dist/translations/es.js +2 -2
  139. package/dist/translations/es.umd.js +2 -2
  140. package/dist/translations/et.d.ts +1 -1
  141. package/dist/translations/et.js +2 -2
  142. package/dist/translations/et.umd.js +2 -2
  143. package/dist/translations/eu.d.ts +1 -1
  144. package/dist/translations/eu.js +2 -2
  145. package/dist/translations/eu.umd.js +2 -2
  146. package/dist/translations/fa.d.ts +1 -1
  147. package/dist/translations/fa.js +2 -2
  148. package/dist/translations/fa.umd.js +2 -2
  149. package/dist/translations/fi.d.ts +1 -1
  150. package/dist/translations/fi.js +2 -2
  151. package/dist/translations/fi.umd.js +2 -2
  152. package/dist/translations/fr.d.ts +1 -1
  153. package/dist/translations/fr.js +2 -2
  154. package/dist/translations/fr.umd.js +2 -2
  155. package/dist/translations/gl.d.ts +1 -1
  156. package/dist/translations/gl.js +2 -2
  157. package/dist/translations/gl.umd.js +2 -2
  158. package/dist/translations/gu.d.ts +1 -1
  159. package/dist/translations/gu.js +2 -2
  160. package/dist/translations/gu.umd.js +2 -2
  161. package/dist/translations/he.d.ts +1 -1
  162. package/dist/translations/he.js +2 -2
  163. package/dist/translations/he.umd.js +2 -2
  164. package/dist/translations/hi.d.ts +1 -1
  165. package/dist/translations/hi.js +2 -2
  166. package/dist/translations/hi.umd.js +2 -2
  167. package/dist/translations/hr.d.ts +1 -1
  168. package/dist/translations/hr.js +2 -2
  169. package/dist/translations/hr.umd.js +2 -2
  170. package/dist/translations/hu.d.ts +1 -1
  171. package/dist/translations/hu.js +2 -2
  172. package/dist/translations/hu.umd.js +2 -2
  173. package/dist/translations/hy.d.ts +1 -1
  174. package/dist/translations/hy.js +2 -2
  175. package/dist/translations/hy.umd.js +2 -2
  176. package/dist/translations/id.d.ts +1 -1
  177. package/dist/translations/id.js +2 -2
  178. package/dist/translations/id.umd.js +2 -2
  179. package/dist/translations/it.d.ts +1 -1
  180. package/dist/translations/it.js +2 -2
  181. package/dist/translations/it.umd.js +2 -2
  182. package/dist/translations/ja.d.ts +1 -1
  183. package/dist/translations/ja.js +2 -2
  184. package/dist/translations/ja.umd.js +2 -2
  185. package/dist/translations/jv.d.ts +1 -1
  186. package/dist/translations/jv.js +2 -2
  187. package/dist/translations/jv.umd.js +2 -2
  188. package/dist/translations/kk.d.ts +1 -1
  189. package/dist/translations/kk.js +2 -2
  190. package/dist/translations/kk.umd.js +2 -2
  191. package/dist/translations/km.d.ts +1 -1
  192. package/dist/translations/km.js +2 -2
  193. package/dist/translations/km.umd.js +2 -2
  194. package/dist/translations/kn.d.ts +1 -1
  195. package/dist/translations/kn.js +2 -2
  196. package/dist/translations/kn.umd.js +2 -2
  197. package/dist/translations/ko.d.ts +1 -1
  198. package/dist/translations/ko.js +2 -2
  199. package/dist/translations/ko.umd.js +2 -2
  200. package/dist/translations/ku.d.ts +1 -1
  201. package/dist/translations/ku.js +2 -2
  202. package/dist/translations/ku.umd.js +2 -2
  203. package/dist/translations/lt.d.ts +1 -1
  204. package/dist/translations/lt.js +2 -2
  205. package/dist/translations/lt.umd.js +2 -2
  206. package/dist/translations/lv.d.ts +1 -1
  207. package/dist/translations/lv.js +2 -2
  208. package/dist/translations/lv.umd.js +2 -2
  209. package/dist/translations/ms.d.ts +1 -1
  210. package/dist/translations/ms.js +2 -2
  211. package/dist/translations/ms.umd.js +2 -2
  212. package/dist/translations/nb.d.ts +1 -1
  213. package/dist/translations/nb.js +2 -2
  214. package/dist/translations/nb.umd.js +2 -2
  215. package/dist/translations/ne.d.ts +1 -1
  216. package/dist/translations/ne.js +2 -2
  217. package/dist/translations/ne.umd.js +2 -2
  218. package/dist/translations/nl.d.ts +1 -1
  219. package/dist/translations/nl.js +2 -2
  220. package/dist/translations/nl.umd.js +2 -2
  221. package/dist/translations/no.d.ts +1 -1
  222. package/dist/translations/no.js +2 -2
  223. package/dist/translations/no.umd.js +2 -2
  224. package/dist/translations/oc.d.ts +1 -1
  225. package/dist/translations/oc.js +2 -2
  226. package/dist/translations/oc.umd.js +2 -2
  227. package/dist/translations/pl.d.ts +1 -1
  228. package/dist/translations/pl.js +2 -2
  229. package/dist/translations/pl.umd.js +2 -2
  230. package/dist/translations/pt-br.d.ts +1 -1
  231. package/dist/translations/pt-br.js +2 -2
  232. package/dist/translations/pt-br.umd.js +2 -2
  233. package/dist/translations/pt.d.ts +1 -1
  234. package/dist/translations/pt.js +2 -2
  235. package/dist/translations/pt.umd.js +2 -2
  236. package/dist/translations/ro.d.ts +1 -1
  237. package/dist/translations/ro.js +2 -2
  238. package/dist/translations/ro.umd.js +2 -2
  239. package/dist/translations/ru.d.ts +1 -1
  240. package/dist/translations/ru.js +2 -2
  241. package/dist/translations/ru.umd.js +2 -2
  242. package/dist/translations/si.d.ts +1 -1
  243. package/dist/translations/si.js +2 -2
  244. package/dist/translations/si.umd.js +2 -2
  245. package/dist/translations/sk.d.ts +1 -1
  246. package/dist/translations/sk.js +2 -2
  247. package/dist/translations/sk.umd.js +2 -2
  248. package/dist/translations/sl.d.ts +1 -1
  249. package/dist/translations/sl.js +2 -2
  250. package/dist/translations/sl.umd.js +2 -2
  251. package/dist/translations/sq.d.ts +1 -1
  252. package/dist/translations/sq.js +2 -2
  253. package/dist/translations/sq.umd.js +2 -2
  254. package/dist/translations/sr-latn.d.ts +1 -1
  255. package/dist/translations/sr-latn.js +2 -2
  256. package/dist/translations/sr-latn.umd.js +2 -2
  257. package/dist/translations/sr.d.ts +1 -1
  258. package/dist/translations/sr.js +2 -2
  259. package/dist/translations/sr.umd.js +2 -2
  260. package/dist/translations/sv.d.ts +1 -1
  261. package/dist/translations/sv.js +2 -2
  262. package/dist/translations/sv.umd.js +2 -2
  263. package/dist/translations/th.d.ts +1 -1
  264. package/dist/translations/th.js +2 -2
  265. package/dist/translations/th.umd.js +2 -2
  266. package/dist/translations/ti.d.ts +1 -1
  267. package/dist/translations/ti.js +2 -2
  268. package/dist/translations/ti.umd.js +2 -2
  269. package/dist/translations/tk.d.ts +1 -1
  270. package/dist/translations/tk.js +2 -2
  271. package/dist/translations/tk.umd.js +2 -2
  272. package/dist/translations/tr.d.ts +1 -1
  273. package/dist/translations/tr.js +2 -2
  274. package/dist/translations/tr.umd.js +2 -2
  275. package/dist/translations/tt.d.ts +1 -1
  276. package/dist/translations/tt.js +2 -2
  277. package/dist/translations/tt.umd.js +2 -2
  278. package/dist/translations/ug.d.ts +1 -1
  279. package/dist/translations/ug.js +2 -2
  280. package/dist/translations/ug.umd.js +2 -2
  281. package/dist/translations/uk.d.ts +1 -1
  282. package/dist/translations/uk.js +2 -2
  283. package/dist/translations/uk.umd.js +2 -2
  284. package/dist/translations/ur.d.ts +1 -1
  285. package/dist/translations/ur.js +2 -2
  286. package/dist/translations/ur.umd.js +2 -2
  287. package/dist/translations/uz.d.ts +1 -1
  288. package/dist/translations/uz.js +2 -2
  289. package/dist/translations/uz.umd.js +2 -2
  290. package/dist/translations/vi.d.ts +1 -1
  291. package/dist/translations/vi.js +2 -2
  292. package/dist/translations/vi.umd.js +2 -2
  293. package/dist/translations/zh-cn.d.ts +1 -1
  294. package/dist/translations/zh-cn.js +2 -2
  295. package/dist/translations/zh-cn.umd.js +2 -2
  296. package/dist/translations/zh.d.ts +1 -1
  297. package/dist/translations/zh.js +2 -2
  298. package/dist/translations/zh.umd.js +2 -2
  299. package/lang/contexts.json +0 -11
  300. package/lang/translations/af.po +1 -45
  301. package/lang/translations/ar.po +1 -45
  302. package/lang/translations/ast.po +1 -45
  303. package/lang/translations/az.po +1 -45
  304. package/lang/translations/be.po +1 -45
  305. package/lang/translations/bg.po +1 -45
  306. package/lang/translations/bn.po +1 -45
  307. package/lang/translations/bs.po +1 -45
  308. package/lang/translations/ca.po +1 -45
  309. package/lang/translations/cs.po +1 -45
  310. package/lang/translations/da.po +1 -45
  311. package/lang/translations/de-ch.po +1 -45
  312. package/lang/translations/de.po +1 -45
  313. package/lang/translations/el.po +1 -45
  314. package/lang/translations/en-au.po +1 -45
  315. package/lang/translations/en-gb.po +1 -45
  316. package/lang/translations/en.po +1 -45
  317. package/lang/translations/eo.po +1 -45
  318. package/lang/translations/es-co.po +1 -45
  319. package/lang/translations/es.po +1 -45
  320. package/lang/translations/et.po +1 -45
  321. package/lang/translations/eu.po +1 -45
  322. package/lang/translations/fa.po +1 -45
  323. package/lang/translations/fi.po +1 -45
  324. package/lang/translations/fr.po +1 -45
  325. package/lang/translations/gl.po +1 -45
  326. package/lang/translations/gu.po +1 -45
  327. package/lang/translations/he.po +1 -45
  328. package/lang/translations/hi.po +1 -45
  329. package/lang/translations/hr.po +1 -45
  330. package/lang/translations/hu.po +1 -45
  331. package/lang/translations/hy.po +1 -45
  332. package/lang/translations/id.po +1 -45
  333. package/lang/translations/it.po +1 -45
  334. package/lang/translations/ja.po +1 -45
  335. package/lang/translations/jv.po +1 -45
  336. package/lang/translations/kk.po +1 -45
  337. package/lang/translations/km.po +1 -45
  338. package/lang/translations/kn.po +1 -45
  339. package/lang/translations/ko.po +1 -45
  340. package/lang/translations/ku.po +1 -45
  341. package/lang/translations/lt.po +1 -45
  342. package/lang/translations/lv.po +1 -45
  343. package/lang/translations/ms.po +1 -45
  344. package/lang/translations/nb.po +1 -45
  345. package/lang/translations/ne.po +1 -45
  346. package/lang/translations/nl.po +1 -45
  347. package/lang/translations/no.po +1 -45
  348. package/lang/translations/oc.po +1 -45
  349. package/lang/translations/pl.po +1 -45
  350. package/lang/translations/pt-br.po +1 -45
  351. package/lang/translations/pt.po +1 -45
  352. package/lang/translations/ro.po +1 -45
  353. package/lang/translations/ru.po +1 -45
  354. package/lang/translations/si.po +1 -45
  355. package/lang/translations/sk.po +1 -45
  356. package/lang/translations/sl.po +1 -45
  357. package/lang/translations/sq.po +1 -45
  358. package/lang/translations/sr-latn.po +1 -45
  359. package/lang/translations/sr.po +1 -45
  360. package/lang/translations/sv.po +1 -45
  361. package/lang/translations/th.po +1 -45
  362. package/lang/translations/ti.po +1 -45
  363. package/lang/translations/tk.po +1 -45
  364. package/lang/translations/tr.po +1 -45
  365. package/lang/translations/tt.po +1 -45
  366. package/lang/translations/ug.po +1 -45
  367. package/lang/translations/uk.po +1 -45
  368. package/lang/translations/ur.po +1 -45
  369. package/lang/translations/uz.po +1 -45
  370. package/lang/translations/vi.po +1 -45
  371. package/lang/translations/zh-cn.po +1 -45
  372. package/lang/translations/zh.po +1 -45
  373. package/package.json +16 -16
  374. package/src/aiactions/aiactions.d.ts +5 -1
  375. package/src/aiactions/aiactions.js +2 -2
  376. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -1
  377. package/src/aiactions/model/aiactionsinteraction.js +2 -2
  378. package/src/aiactions/model/aiactionsreply.d.ts +1 -1
  379. package/src/aiactions/model/aiactionsreply.js +2 -2
  380. package/src/aiassistant/adapters/aiadapter.d.ts +1 -1
  381. package/src/aiassistant/adapters/aiadapter.js +2 -2
  382. package/src/aiassistant/adapters/aitextadapter.d.ts +1 -1
  383. package/src/aiassistant/adapters/aitextadapter.js +2 -2
  384. package/src/aiassistant/adapters/awstextadapter.d.ts +1 -1
  385. package/src/aiassistant/adapters/awstextadapter.js +2 -2
  386. package/src/aiassistant/adapters/openaitextadapter.d.ts +1 -1
  387. package/src/aiassistant/adapters/openaitextadapter.js +2 -2
  388. package/src/aiassistant/aiassistant.d.ts +1 -1
  389. package/src/aiassistant/aiassistant.js +2 -2
  390. package/src/aiassistant/aiassistantediting.d.ts +1 -1
  391. package/src/aiassistant/aiassistantediting.js +2 -2
  392. package/src/aiassistant/aiassistantui.d.ts +1 -1
  393. package/src/aiassistant/aiassistantui.js +2 -2
  394. package/src/aiassistant/legacyerrors.d.ts +1 -1
  395. package/src/aiassistant/legacyerrors.js +2 -2
  396. package/src/aiassistant/ui/aiassistantcontroller.d.ts +1 -1
  397. package/src/aiassistant/ui/aiassistantcontroller.js +3 -3
  398. package/src/aiassistant/ui/form/aiformcontentarea.d.ts +1 -1
  399. package/src/aiassistant/ui/form/aiformcontentarea.js +2 -2
  400. package/src/aiassistant/ui/form/aiformerrorview.d.ts +1 -1
  401. package/src/aiassistant/ui/form/aiformerrorview.js +2 -2
  402. package/src/aiassistant/ui/form/aiformpromptview.d.ts +1 -1
  403. package/src/aiassistant/ui/form/aiformpromptview.js +2 -2
  404. package/src/aiassistant/ui/form/aiformtoolbarview.d.ts +1 -1
  405. package/src/aiassistant/ui/form/aiformtoolbarview.js +2 -2
  406. package/src/aiassistant/ui/form/aiformview.d.ts +1 -1
  407. package/src/aiassistant/ui/form/aiformview.js +2 -2
  408. package/src/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
  409. package/src/aiassistant/ui/form/aihistorylistitemview.js +2 -2
  410. package/src/aiassistant/ui/form/aihistorylistview.d.ts +1 -1
  411. package/src/aiassistant/ui/form/aihistorylistview.js +2 -2
  412. package/src/aiassistant/ui/form/prompthistory.d.ts +1 -1
  413. package/src/aiassistant/ui/form/prompthistory.js +2 -2
  414. package/src/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
  415. package/src/aiassistant/ui/showaiassistantcommand.js +2 -2
  416. package/src/aiassistant/utils/common-translations.d.ts +1 -1
  417. package/src/aiassistant/utils/common-translations.js +2 -2
  418. package/src/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
  419. package/src/aiassistant/utils/normalizecommandsconfig.js +2 -2
  420. package/src/aiballoon/aiballoon.d.ts +1 -1
  421. package/src/aiballoon/aiballoon.js +2 -2
  422. package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +1 -1
  423. package/src/aiballoon/ui/aiballoondisclaimerview.js +2 -2
  424. package/src/aiballoon/ui/aiballoontoolbarview.d.ts +1 -1
  425. package/src/aiballoon/ui/aiballoontoolbarview.js +2 -2
  426. package/src/aiballoon/ui/aiballoonview.d.ts +1 -1
  427. package/src/aiballoon/ui/aiballoonview.js +2 -2
  428. package/src/aichat/aichat.d.ts +38 -4
  429. package/src/aichat/aichat.js +2 -2
  430. package/src/aichat/aichatcontroller.d.ts +5 -1
  431. package/src/aichat/aichatcontroller.js +2 -2
  432. package/src/aichat/aichatui.d.ts +3 -3
  433. package/src/aichat/aichatui.js +2 -2
  434. package/src/aichat/model/aichatcontext.d.ts +1 -1
  435. package/src/aichat/model/aichatcontext.js +2 -2
  436. package/src/aichat/model/aichatconversation.d.ts +10 -10
  437. package/src/aichat/model/aichatconversation.js +2 -2
  438. package/src/aichat/model/aichatinteraction.d.ts +1 -1
  439. package/src/aichat/model/aichatinteraction.js +2 -2
  440. package/src/aichat/ui/aichatcontrolsview.d.ts +4 -4
  441. package/src/aichat/ui/aichatcontrolsview.js +2 -2
  442. package/src/aichat/ui/aichatfeedview.d.ts +1 -1
  443. package/src/aichat/ui/aichatfeedview.js +2 -2
  444. package/src/aichat/ui/aichatheaderview.d.ts +1 -1
  445. package/src/aichat/ui/aichatheaderview.js +2 -2
  446. package/src/aichat/ui/aichatview.d.ts +1 -1
  447. package/src/aichat/ui/aichatview.js +2 -2
  448. package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +1 -1
  449. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +2 -2
  450. package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +1 -1
  451. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +2 -2
  452. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +1 -1
  453. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +2 -2
  454. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +1 -1
  455. package/src/aichat/ui/controls/aichatcontextpanelview.js +2 -2
  456. package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +1 -1
  457. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +2 -2
  458. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +5 -5
  459. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +2 -2
  460. package/src/aichat/ui/controls/aichatpromptinputview.d.ts +1 -1
  461. package/src/aichat/ui/controls/aichatpromptinputview.js +2 -2
  462. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
  463. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +2 -2
  464. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +1 -1
  465. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +2 -2
  466. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +1 -1
  467. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +2 -2
  468. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +1 -1
  469. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +2 -2
  470. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +1 -1
  471. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +2 -2
  472. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +1 -1
  473. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +2 -2
  474. package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +1 -1
  475. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +2 -2
  476. package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +1 -1
  477. package/src/aichat/ui/feed/aichatfeederroritemview.js +2 -2
  478. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
  479. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +2 -2
  480. package/src/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
  481. package/src/aichat/ui/feed/aichatfeeditemview.js +2 -2
  482. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +3 -2
  483. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +2 -2
  484. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +1 -1
  485. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +2 -2
  486. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -2
  487. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +2 -2
  488. package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +1 -1
  489. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +2 -2
  490. package/src/aichat/utils/eventnames.d.ts +1 -1
  491. package/src/aichat/utils/eventnames.js +2 -2
  492. package/src/aichat/utils/promisequeue.d.ts +1 -1
  493. package/src/aichat/utils/promisequeue.js +2 -2
  494. package/src/aichathistory/aichathistory.d.ts +1 -1
  495. package/src/aichathistory/aichathistory.js +2 -2
  496. package/src/aichathistory/aichathistorycontroller.d.ts +1 -1
  497. package/src/aichathistory/aichathistorycontroller.js +2 -2
  498. package/src/aichathistory/aichathistoryui.d.ts +1 -1
  499. package/src/aichathistory/aichathistoryui.js +2 -2
  500. package/src/aichathistory/model/aichathistoryconversations.d.ts +1 -1
  501. package/src/aichathistory/model/aichathistoryconversations.js +2 -2
  502. package/src/aichathistory/model/aichathistoryitem.d.ts +1 -1
  503. package/src/aichathistory/model/aichathistoryitem.js +2 -2
  504. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  505. package/src/aichathistory/ui/aichathistorylistitemview.js +3 -3
  506. package/src/aichathistory/ui/aichathistorylistview.d.ts +1 -1
  507. package/src/aichathistory/ui/aichathistorylistview.js +2 -2
  508. package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
  509. package/src/aichathistory/ui/aichathistorysectionlistview.js +2 -2
  510. package/src/aichathistory/ui/aichathistoryview.d.ts +1 -1
  511. package/src/aichathistory/ui/aichathistoryview.js +2 -2
  512. package/src/aiconfig.d.ts +1 -1
  513. package/src/aiconfig.js +1 -1
  514. package/src/aicore/aiconnector.d.ts +4 -2
  515. package/src/aicore/aiconnector.js +2 -2
  516. package/src/aicore/aiediting.d.ts +1 -1
  517. package/src/aicore/aiediting.js +2 -2
  518. package/src/aicore/model/aicapabilities.d.ts +1 -1
  519. package/src/aicore/model/aicapabilities.js +2 -2
  520. package/src/aicore/model/aicontext.d.ts +1 -1
  521. package/src/aicore/model/aicontext.js +2 -2
  522. package/src/aicore/model/aiinteraction.d.ts +1 -1
  523. package/src/aicore/model/aiinteraction.js +2 -2
  524. package/src/aicore/model/aimodels.d.ts +3 -12
  525. package/src/aicore/model/aimodels.js +2 -2
  526. package/src/aicore/model/aireply.d.ts +1 -1
  527. package/src/aicore/model/aireply.js +2 -2
  528. package/src/aicore/pipeline/airesponseapplier.d.ts +1 -1
  529. package/src/aicore/pipeline/airesponseapplier.js +3 -3
  530. package/src/aicore/pipeline/airesponseparser.d.ts +1 -1
  531. package/src/aicore/pipeline/airesponseparser.js +3 -3
  532. package/src/aicore/ui/aidisclaimerview.d.ts +1 -1
  533. package/src/aicore/ui/aidisclaimerview.js +2 -2
  534. package/src/aicore/ui/aiskeleton.d.ts +1 -1
  535. package/src/aicore/ui/aiskeleton.js +2 -2
  536. package/src/aicore/ui/aispinner.d.ts +1 -1
  537. package/src/aicore/ui/aispinner.js +2 -2
  538. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +1 -1
  539. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +2 -2
  540. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +1 -1
  541. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +2 -2
  542. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +5 -5
  543. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +2 -2
  544. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +1 -1
  545. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +2 -2
  546. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +1 -1
  547. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +2 -2
  548. package/src/aicore/utils/common-translations.d.ts +1 -1
  549. package/src/aicore/utils/common-translations.js +2 -2
  550. package/src/aicore/utils/createresizebutton.d.ts +1 -1
  551. package/src/aicore/utils/createresizebutton.js +2 -2
  552. package/src/aicore/utils/documentposition.d.ts +1 -1
  553. package/src/aicore/utils/documentposition.js +2 -2
  554. package/src/aicore/utils/documentrange.d.ts +1 -1
  555. package/src/aicore/utils/documentrange.js +2 -2
  556. package/src/aicore/utils/eventnames.d.ts +1 -1
  557. package/src/aicore/utils/eventnames.js +2 -2
  558. package/src/aicore/utils/geteditorfromcontext.d.ts +1 -1
  559. package/src/aicore/utils/geteditorfromcontext.js +2 -2
  560. package/src/aicore/utils/getoperationsfromreply.d.ts +1 -1
  561. package/src/aicore/utils/getoperationsfromreply.js +2 -2
  562. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
  563. package/src/aicore/utils/getsuggestionpartsfromreply.js +2 -2
  564. package/src/aicore/utils/htmlparser.d.ts +1 -1
  565. package/src/aicore/utils/htmlparser.js +2 -2
  566. package/src/aicore/utils/htmlstreamer.d.ts +1 -1
  567. package/src/aicore/utils/htmlstreamer.js +2 -2
  568. package/src/aicore/utils/scrollmanager.d.ts +1 -1
  569. package/src/aicore/utils/scrollmanager.js +2 -2
  570. package/src/aieditorintegration/aieditorintegration.d.ts +1 -1
  571. package/src/aieditorintegration/aieditorintegration.js +2 -2
  572. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
  573. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +2 -2
  574. package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
  575. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +2 -2
  576. package/src/aiquickactions/aiquickactions.d.ts +1 -1
  577. package/src/aiquickactions/aiquickactions.js +2 -2
  578. package/src/aiquickactions/aiquickactionscommand.d.ts +1 -1
  579. package/src/aiquickactions/aiquickactionscommand.js +2 -2
  580. package/src/aiquickactions/aiquickactionsediting.d.ts +1 -1
  581. package/src/aiquickactions/aiquickactionsediting.js +2 -2
  582. package/src/aiquickactions/aiquickactionsui.d.ts +1 -1
  583. package/src/aiquickactions/aiquickactionsui.js +2 -2
  584. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +1 -1
  585. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +2 -2
  586. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +1 -1
  587. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +2 -2
  588. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +1 -1
  589. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +2 -2
  590. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +1 -1
  591. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +2 -2
  592. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
  593. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +2 -2
  594. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +1 -1
  595. package/src/aireviewmode/aireviewcheckdefinitions.js +2 -2
  596. package/src/aireviewmode/aireviewmode.d.ts +1 -1
  597. package/src/aireviewmode/aireviewmode.js +2 -2
  598. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  599. package/src/aireviewmode/aireviewmodecontroller.js +2 -2
  600. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
  601. package/src/aireviewmode/aireviewmodeediting.js +2 -2
  602. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  603. package/src/aireviewmode/aireviewmodeui.js +2 -2
  604. package/src/aireviewmode/model/aireviewcheck.d.ts +1 -1
  605. package/src/aireviewmode/model/aireviewcheck.js +2 -2
  606. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +1 -1
  607. package/src/aireviewmode/model/aireviewcheckcustom.js +2 -2
  608. package/src/aireviewmode/model/aireviewchecklist.d.ts +1 -1
  609. package/src/aireviewmode/model/aireviewchecklist.js +2 -2
  610. package/src/aireviewmode/model/aireviewcheckresult.d.ts +1 -1
  611. package/src/aireviewmode/model/aireviewcheckresult.js +2 -2
  612. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
  613. package/src/aireviewmode/model/aireviewcheckresultchange.js +2 -2
  614. package/src/aireviewmode/model/aireviewcheckrun.d.ts +1 -1
  615. package/src/aireviewmode/model/aireviewcheckrun.js +2 -2
  616. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
  617. package/src/aireviewmode/model/aireviewcustomcheckrun.js +2 -2
  618. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +1 -1
  619. package/src/aireviewmode/model/aireviewsystemcheckrun.js +2 -2
  620. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +1 -1
  621. package/src/aireviewmode/ui/aireviemodepromptinputview.js +2 -2
  622. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +1 -1
  623. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +2 -2
  624. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +2 -2
  625. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +2 -2
  626. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +1 -1
  627. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +2 -2
  628. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +1 -1
  629. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +2 -2
  630. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +1 -1
  631. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +2 -2
  632. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +1 -1
  633. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +2 -2
  634. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -1
  635. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +2 -2
  636. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -1
  637. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +2 -2
  638. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +1 -1
  639. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +2 -2
  640. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -1
  641. package/src/aireviewmode/ui/aireviewmodeview.js +2 -2
  642. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  643. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +2 -2
  644. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  645. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +2 -2
  646. package/src/aitabs/aitabs.d.ts +1 -1
  647. package/src/aitabs/aitabs.js +2 -2
  648. package/src/aitabs/aitabsmainview.d.ts +1 -1
  649. package/src/aitabs/aitabsmainview.js +2 -2
  650. package/src/aitabs/tabs/aitabsview.d.ts +1 -1
  651. package/src/aitabs/tabs/aitabsview.js +2 -2
  652. package/src/aitabs/tabs/tabbuttonview.d.ts +1 -1
  653. package/src/aitabs/tabs/tabbuttonview.js +2 -2
  654. package/src/aitabs/tabs/tabpanelview.d.ts +1 -1
  655. package/src/aitabs/tabs/tabpanelview.js +2 -2
  656. package/src/augmentation.d.ts +1 -1
  657. package/src/augmentation.js +1 -1
  658. package/src/errors.d.ts +1 -1
  659. package/src/errors.js +2 -2
  660. package/src/errorsmap.d.ts +1 -1
  661. package/src/errorsmap.js +2 -2
  662. package/src/index.d.ts +1 -2
  663. package/src/index.js +2 -2
  664. package/theme/aiassistant/ai-dropdown.css +1 -1
  665. package/theme/aiassistant/ai-form.css +1 -1
  666. package/theme/aiassistant/ai.css +1 -1
  667. package/theme/aiballoon/aiballoon.css +1 -1
  668. package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
  669. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +1 -1
  670. package/theme/aichat/aichat-controls/aichat-context-controls.css +1 -1
  671. package/theme/aichat/aichat-controls/aichat-controls-button.css +1 -1
  672. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  673. package/theme/aichat/aichat-controls/model-unavailable-message.css +1 -1
  674. package/theme/aichat/aichat-controls/prompt-capabilities.css +1 -1
  675. package/theme/aichat/aichat-controls/prompt-input.css +1 -1
  676. package/theme/aichat/aichat-controls.css +1 -1
  677. package/theme/aichat/aichat.css +1 -1
  678. package/theme/aichat/aichatfeed.css +55 -1
  679. package/theme/aichat/aichathistory.css +1 -1
  680. package/theme/aichat/aiminitoolbar.css +1 -1
  681. package/theme/aichat/aisuggestioncontainer.css +1 -1
  682. package/theme/aieditorintegration/aitogglebutton.css +1 -1
  683. package/theme/aiquickactions/aiquickactions.css +1 -1
  684. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +1 -1
  685. package/theme/aireviewmode/aireviewmode-check-list.css +1 -1
  686. package/theme/aireviewmode/aireviewmode-check-run-result.css +1 -1
  687. package/theme/aireviewmode/aireviewmode-check-run.css +1 -1
  688. package/theme/aireviewmode/aireviewmode-review-completed.css +1 -1
  689. package/theme/aireviewmode/aireviewmode.css +9 -4
  690. package/theme/aitabs/aitabsview.css +1 -1
  691. package/theme/aitabs/tabs/tabbuttonview.css +1 -1
  692. package/theme/aitabs/tabs/tabsview.css +1 -1
  693. package/theme/common/aibutton.css +1 -1
  694. package/theme/common/aidisclaimer.css +1 -1
  695. package/theme/common/aiheader.css +1 -1
  696. package/theme/common/ainotification.css +1 -1
  697. package/theme/common/aiskeleton.css +1 -1
  698. package/theme/common/aispinner.css +1 -1
  699. package/theme/common/aitrackchanges.css +1 -1
  700. package/src/aichat/model/aichatmodels.d.ts +0 -63
  701. package/src/aichat/model/aichatmodels.js +0 -23
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13dd39=_0x1a37;(function(_0x8a5a67,_0x1f8bdf){const _0x20c950=_0x1a37,_0x4185ea=_0x8a5a67();while(!![]){try{const _0x4ea11e=-parseInt(_0x20c950(0x1fa))/0x1+parseInt(_0x20c950(0x1f1))/0x2*(parseInt(_0x20c950(0x212))/0x3)+parseInt(_0x20c950(0x22d))/0x4+parseInt(_0x20c950(0x215))/0x5*(-parseInt(_0x20c950(0x1e8))/0x6)+parseInt(_0x20c950(0x1f0))/0x7+-parseInt(_0x20c950(0x220))/0x8+-parseInt(_0x20c950(0x21f))/0x9;if(_0x4ea11e===_0x1f8bdf)break;else _0x4185ea['push'](_0x4185ea['shift']());}catch(_0x4d74ef){_0x4185ea['push'](_0x4185ea['shift']());}}}(_0x1db7,0x933de));import{CKEditorError as _0x44d121,logWarning as _0x2a59dd,scrollViewportToShowTarget as _0x463203}from'ckeditor5/src/utils.js';import{View as _0x719094}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x45de7d}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x5132a3}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x42857d}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x18a55d}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x1fba7a}from'./feed/aichatfeederroritemview.js';import{AIChatFeedInteractionHeaderView as _0x3b07ca}from'./feed/aichatfeedinteractionheaderview.js';function _0x1db7(){const _0x5ea89d=['aiFeed','toggleLoadingSkeleton','isLoadingSkeletonVisible','_createFeedLoader','bind','_createFeedItems','stopAutoScroll','ai-reply','1710eXycwj','loadingMessage','_setupTemplate','25oqCZJe','ck-ai-chat__feed__items','ai-suggestion-reply','span','bindTemplate','ck-hidden','isPending','setLoadingMessage','delegate','ai-chat-feed-view-item-not-found','2655648ukYLbQ','3821864eLNtjr','getItemIds','destroy','start','clear','createCollection','scrollToSuggestion','remove','setTemplate','removeItem','user-message','element','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','2945700PvXOmZ','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','getItemById','extendTemplate','find','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','locale','ck-ai-chat__loader','map','scrollManager','markAsDone','575202QEqSuh','addItem','isTrackChangesOn','markItemAsDone','updateReplyItem','add','updateSuggestionPartState','children','1519490YcuZhg','4120TpEkYA','stop','_createSkeletonLoader','updateSources','set','ck-ai-chat__loader-text','_createTemplateChildren','updateWebSources','ai-chat-feed-view-item-not-a-suggestion-item','272453zdfQSk','updateSuggestionItem','isVisible','_bodyCollection','getPartView','ck-ai-chat__feed','startAutoScroll','ai-chat-feed-view-item-not-a-reply-item','updatePartState','updateContent','interaction-header','_createLoaderChildren','render','includes','options','div'];_0x1db7=function(){return _0x5ea89d;};return _0x1db7();}import{ScrollManager as _0x4c5172}from'../../aicore/utils/scrollmanager.js';import{AISkeletonView as _0x2df60f,SKELETON_DEFINITIONS as _0x53d832}from'../../aicore/ui/aiskeleton.js';function _0x1a37(_0x3d9b13,_0x3524de){const _0x1db75b=_0x1db7();return _0x1a37=function(_0x1a376f,_0x4cbdf9){_0x1a376f=_0x1a376f-0x1e8;let _0x55412e=_0x1db75b[_0x1a376f];return _0x55412e;},_0x1a37(_0x3d9b13,_0x3524de);}import{AISpinnerView as _0x537639}from'../../aicore/ui/aispinner.js';export class AIChatFeedView extends _0x719094{[_0x13dd39(0x1ef)];[_0x13dd39(0x236)];[_0x13dd39(0x1fd)];constructor(_0x5428f5,_0xf7450f){const _0x2f2aca=_0x13dd39;super(_0x5428f5),this[_0x2f2aca(0x1fd)]=_0xf7450f,this[_0x2f2aca(0x1f5)](_0x2f2aca(0x21b),!0x1),this[_0x2f2aca(0x1f5)](_0x2f2aca(0x213),''),this[_0x2f2aca(0x1f5)](_0x2f2aca(0x20c),!0x1),this[_0x2f2aca(0x1f5)](_0x2f2aca(0x1ea),!0x1),this[_0x2f2aca(0x1ef)]=this[_0x2f2aca(0x225)](),this[_0x2f2aca(0x1ef)][_0x2f2aca(0x21d)](..._0x45de7d)['to'](this),this[_0x2f2aca(0x214)]();}[_0x13dd39(0x206)](){const _0x25ddb4=_0x13dd39;super[_0x25ddb4(0x206)](),this[_0x25ddb4(0x236)]=new _0x4c5172(this[_0x25ddb4(0x22b)]);}[_0x13dd39(0x222)](){const _0x2b463e=_0x13dd39;super[_0x2b463e(0x222)](),this[_0x2b463e(0x236)][_0x2b463e(0x222)]();}[_0x13dd39(0x224)](){const _0x569620=_0x13dd39;this[_0x569620(0x1ef)][_0x569620(0x224)]();}[_0x13dd39(0x1e9)](_0x2a5e21,_0xed5f9e){const _0x58565f=_0x13dd39;let _0x7bfcf6;_0x58565f(0x211)===_0x2a5e21?_0x7bfcf6=new _0x42857d(this[_0x58565f(0x233)],_0xed5f9e):_0x58565f(0x217)===_0x2a5e21?(_0x7bfcf6=new _0x5132a3(this[_0x58565f(0x233)],_0xed5f9e),_0x7bfcf6[_0x58565f(0x20e)](_0x58565f(0x1ea))['to'](this,_0x58565f(0x1ea))):_0x7bfcf6=_0x58565f(0x22a)===_0x2a5e21?new _0x18a55d(this[_0x58565f(0x233)],_0xed5f9e,this[_0x58565f(0x1fd)]):_0x58565f(0x204)===_0x2a5e21?new _0x3b07ca(this[_0x58565f(0x233)],_0xed5f9e):new _0x1fba7a(_0xed5f9e),this[_0x58565f(0x1ef)][_0x58565f(0x1ed)](_0x7bfcf6);}async[_0x13dd39(0x1ec)]({id:_0x90644f,parsedContent:_0x3dd99e,renderingStrategy:_0x2b1737,abortSignal:_0x12e2ca}){const _0xfc258f=_0x13dd39,_0x38a89c=this[_0xfc258f(0x22f)](_0x90644f);if(!(_0x38a89c instanceof _0x42857d))throw new _0x44d121(_0xfc258f(0x201),null,{'itemView':_0x38a89c,'id':_0x90644f,'parsedContent':_0x3dd99e});await _0x38a89c[_0xfc258f(0x203)]({'parsedContent':_0x3dd99e,'renderingStrategy':_0x2b1737,'abortSignal':_0x12e2ca});}async[_0x13dd39(0x1f8)](_0x33a64f,_0x21355b){const _0x88925a=_0x13dd39,_0x4d9379=this[_0x88925a(0x22f)](_0x33a64f);if(_0x4d9379 instanceof _0x5132a3)_0x4d9379[_0x88925a(0x1f4)](_0x21355b);else{if(!(_0x4d9379 instanceof _0x42857d))throw new _0x44d121(_0x88925a(0x232),null,{'itemView':_0x4d9379,'id':_0x33a64f,'sources':_0x21355b});_0x4d9379[_0x88925a(0x1f4)](_0x21355b);}}async[_0x13dd39(0x1fb)]({id:_0xc54955,parts:_0x5d6c27,renderingStrategy:_0x3fed4f,abortSignal:_0x58cbb4}){const _0x3da6bc=_0x13dd39,_0x1f064d=this[_0x3da6bc(0x22f)](_0xc54955);if(!(_0x1f064d instanceof _0x5132a3))throw new _0x44d121(_0x3da6bc(0x1f9),null,{'itemView':_0x1f064d,'id':_0xc54955,'parts':_0x5d6c27});await _0x1f064d[_0x3da6bc(0x203)]({'parts':_0x5d6c27,'renderingStrategy':_0x3fed4f,'abortSignal':_0x58cbb4});}[_0x13dd39(0x1ee)]({id:_0x188a33,index:_0x23aa2a,state:_0x31c170}){const _0x5a758a=_0x13dd39,_0xf4a4c5=this[_0x5a758a(0x22f)](_0x188a33);if(!(_0xf4a4c5 instanceof _0x5132a3))throw new _0x44d121(_0x5a758a(0x1f9),this,{'id':_0x188a33});_0xf4a4c5[_0x5a758a(0x202)](_0x23aa2a,_0x31c170);}[_0x13dd39(0x1eb)](_0x3af7d2){const _0x283c6d=_0x13dd39;this[_0x283c6d(0x22f)](_0x3af7d2)[_0x283c6d(0x237)]();}[_0x13dd39(0x221)](){const _0x668b19=_0x13dd39;return this[_0x668b19(0x1ef)][_0x668b19(0x235)](_0x321864=>_0x321864[_0x668b19(0x208)]['id']);}[_0x13dd39(0x229)](_0x375db2){const _0x1bb829=_0x13dd39;this[_0x1bb829(0x1ef)][_0x1bb829(0x227)](this[_0x1bb829(0x22f)](_0x375db2));}[_0x13dd39(0x226)](_0x5e0940,_0x1ec099){const _0x16d4c6=_0x13dd39,_0xd63fd0=this[_0x16d4c6(0x22f)](_0x5e0940);if(!(_0xd63fd0 instanceof _0x5132a3))return void _0x2a59dd(_0x16d4c6(0x22c),{'replyId':_0x5e0940,'partIndex':_0x1ec099});const _0x4d39db=_0xd63fd0[_0x16d4c6(0x1fe)](_0x1ec099);_0x4d39db?_0x463203({'target':_0x4d39db[_0x16d4c6(0x22b)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x2a59dd(_0x16d4c6(0x22e),{'replyId':_0x5e0940,'partIndex':_0x1ec099});}[_0x13dd39(0x214)](){const _0x2b01f6=_0x13dd39;this[_0x2b01f6(0x228)]({'tag':_0x2b01f6(0x209),'attributes':{'class':['ck',_0x2b01f6(0x1ff)]},'children':this[_0x2b01f6(0x1f7)]()});}[_0x13dd39(0x1f7)](){const _0x59f4ae=_0x13dd39,_0x17d121=this[_0x59f4ae(0x1f3)]();return[this[_0x59f4ae(0x20f)](),_0x17d121,this[_0x59f4ae(0x20d)]()];}[_0x13dd39(0x1f3)](){const _0x3dc42d=_0x13dd39,_0x337481=new _0x2df60f(this[_0x3dc42d(0x233)],_0x53d832[_0x3dc42d(0x20a)]);return _0x337481[_0x3dc42d(0x230)]({'attributes':{'class':[this[_0x3dc42d(0x219)]['if'](_0x3dc42d(0x20c),_0x3dc42d(0x21a),_0x46aca1=>!_0x46aca1)]}}),_0x337481;}[_0x13dd39(0x20f)](){const _0x1ffa58=_0x13dd39,_0x5195a5=new _0x719094(this[_0x1ffa58(0x233)]);return _0x5195a5[_0x1ffa58(0x228)]({'tag':_0x1ffa58(0x209),'attributes':{'class':['ck',_0x1ffa58(0x216),this[_0x1ffa58(0x219)]['if'](_0x1ffa58(0x20c),_0x1ffa58(0x21a))]},'children':this[_0x1ffa58(0x1ef)]}),_0x5195a5;}[_0x13dd39(0x20d)](){const _0x1477a4=_0x13dd39,_0x36584e=new _0x719094(this[_0x1477a4(0x233)]);return _0x36584e[_0x1477a4(0x228)]({'tag':_0x1477a4(0x209),'attributes':{'class':['ck',_0x1477a4(0x234),this[_0x1477a4(0x219)]['if'](_0x1477a4(0x21b),_0x1477a4(0x21a),_0x5aae90=>!_0x5aae90)]},'children':this[_0x1477a4(0x205)]()}),_0x36584e;}[_0x13dd39(0x205)](){const _0x3df1dd=_0x13dd39,_0x2cd225=new _0x537639();return _0x2cd225[_0x3df1dd(0x1fc)]=!0x0,[_0x2cd225,{'tag':_0x3df1dd(0x218),'attributes':{'class':['ck',_0x3df1dd(0x1f6)]},'children':[{'text':this[_0x3df1dd(0x219)]['to'](_0x3df1dd(0x213))}]}];}[_0x13dd39(0x22f)](_0x5d8118){const _0x51ef58=_0x13dd39,_0x107e6a=this[_0x51ef58(0x1ef)][_0x51ef58(0x231)](_0xab56c9=>_0xab56c9[_0x51ef58(0x208)]['id'][_0x51ef58(0x207)](_0x5d8118));if(!_0x107e6a)throw new _0x44d121(_0x51ef58(0x21e),this,{'id':_0x5d8118});return _0x107e6a;}[_0x13dd39(0x21c)](_0x1fb118){const _0x3fc4be=_0x13dd39;this[_0x3fc4be(0x1f5)](_0x3fc4be(0x213),_0x1fb118);}[_0x13dd39(0x20b)](_0x2fc09a){const _0x17c6c5=_0x13dd39;this[_0x17c6c5(0x1f5)](_0x17c6c5(0x20c),_0x2fc09a);}[_0x13dd39(0x200)](){const _0x3f94d1=_0x13dd39;this[_0x3f94d1(0x236)][_0x3f94d1(0x223)]();}[_0x13dd39(0x210)](){const _0x183bec=_0x13dd39;this[_0x183bec(0x236)][_0x183bec(0x1f2)]();}}
23
+ const _0x7887e8=_0x4e42;(function(_0x373760,_0x5ec48b){const _0x2bd5d6=_0x4e42,_0x17cc9a=_0x373760();while(!![]){try{const _0x5f4ec9=-parseInt(_0x2bd5d6(0x1f4))/0x1*(-parseInt(_0x2bd5d6(0x1bb))/0x2)+-parseInt(_0x2bd5d6(0x1fe))/0x3+-parseInt(_0x2bd5d6(0x1db))/0x4*(-parseInt(_0x2bd5d6(0x1d3))/0x5)+-parseInt(_0x2bd5d6(0x1fa))/0x6+parseInt(_0x2bd5d6(0x1f6))/0x7*(parseInt(_0x2bd5d6(0x1f2))/0x8)+-parseInt(_0x2bd5d6(0x1d9))/0x9*(parseInt(_0x2bd5d6(0x1b9))/0xa)+-parseInt(_0x2bd5d6(0x1ff))/0xb*(parseInt(_0x2bd5d6(0x1c4))/0xc);if(_0x5f4ec9===_0x5ec48b)break;else _0x17cc9a['push'](_0x17cc9a['shift']());}catch(_0x7f1e63){_0x17cc9a['push'](_0x17cc9a['shift']());}}}(_0x2031,0xe7f96));function _0x4e42(_0x5f3427,_0x2c2d1a){const _0x203129=_0x2031();return _0x4e42=function(_0x4e420a,_0x28f92d){_0x4e420a=_0x4e420a-0x1b2;let _0x47bf24=_0x203129[_0x4e420a];return _0x47bf24;},_0x4e42(_0x5f3427,_0x2c2d1a);}import{CKEditorError as _0xa95626,logWarning as _0x4273d9,scrollViewportToShowTarget as _0xd5d10c}from'ckeditor5/src/utils.js';import{View as _0x1af575}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x4f92fd}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x59d790}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x153d9f}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x79d724}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x565269}from'./feed/aichatfeederroritemview.js';import{AIChatFeedInteractionHeaderView as _0x338e28}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x937dd8}from'../../aicore/utils/scrollmanager.js';import{AISkeletonView as _0x43292e,SKELETON_DEFINITIONS as _0x5855af}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x543082}from'../../aicore/ui/aispinner.js';function _0x2031(){const _0x328017=['8628JaOKEm','ai-chat-feed-view-item-not-found','updateReplyItem','removeItem','createCollection','_bodyCollection','_setupTemplate','ck-hidden','ck-ai-chat__feed__items','aiFeed','ck-ai-chat__loader-text','destroy','ai-chat-feed-view-item-not-a-suggestion-item','set','bind','15XTFYRM','isTrackChangesOn','setTemplate','stop','bindTemplate','toggleLoadingSkeleton','27hPCXvF','isPending','2369048zKZdTv','interaction-header','_createLoaderChildren','updateWebSources','getItemById','ai-chat-feed-view-item-not-a-reply-item','loadingMessage','scrollToSuggestion','options','startAutoScroll','children','_createFeedLoader','ck-ai-chat__loader','updatePartState','span','isLoadingSkeletonVisible','includes','ai-reply','extendTemplate','find','isVisible','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','8zElVuo','_createFeedItems','11OlSgMx','div','6786990yAHZKH','user-message','updateSuggestionPartState','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','8110152mBSQXH','ai-suggestion-reply','ck-ai-chat__feed','addItem','771144iaJCwk','9933FRnzVp','map','_createSkeletonLoader','remove','render','delegate','stopAutoScroll','add','getItemIds','element','setLoadingMessage','updateSources','scrollManager','3610550Hxwany','start','280904xvlamz','clear','markAsDone','updateContent','updateSuggestionItem','_createTemplateChildren','locale','getPartView','markItemAsDone'];_0x2031=function(){return _0x328017;};return _0x2031();}export class AIChatFeedView extends _0x1af575{[_0x7887e8(0x1e5)];[_0x7887e8(0x1b8)];[_0x7887e8(0x1c9)];constructor(_0x26c061,_0x26e08c){const _0x1afe3d=_0x7887e8;super(_0x26c061),this[_0x1afe3d(0x1c9)]=_0x26e08c,this[_0x1afe3d(0x1d1)](_0x1afe3d(0x1da),!0x1),this[_0x1afe3d(0x1d1)](_0x1afe3d(0x1e1),''),this[_0x1afe3d(0x1d1)](_0x1afe3d(0x1ea),!0x1),this[_0x1afe3d(0x1d1)](_0x1afe3d(0x1d4),!0x1),this[_0x1afe3d(0x1e5)]=this[_0x1afe3d(0x1c8)](),this[_0x1afe3d(0x1e5)][_0x1afe3d(0x204)](..._0x4f92fd)['to'](this),this[_0x1afe3d(0x1ca)]();}[_0x7887e8(0x203)](){const _0xf545ca=_0x7887e8;super[_0xf545ca(0x203)](),this[_0xf545ca(0x1b8)]=new _0x937dd8(this[_0xf545ca(0x1b5)]);}[_0x7887e8(0x1cf)](){const _0xcb21b=_0x7887e8;super[_0xcb21b(0x1cf)](),this[_0xcb21b(0x1b8)][_0xcb21b(0x1cf)]();}[_0x7887e8(0x1bc)](){const _0x170e3d=_0x7887e8;this[_0x170e3d(0x1e5)][_0x170e3d(0x1bc)]();}[_0x7887e8(0x1fd)](_0x2aa2cd,_0x3f8f09){const _0x431562=_0x7887e8;let _0x52332c;_0x431562(0x1ec)===_0x2aa2cd?_0x52332c=new _0x153d9f(this[_0x431562(0x1c1)],_0x3f8f09,this[_0x431562(0x1c9)]):_0x431562(0x1fb)===_0x2aa2cd?(_0x52332c=new _0x59d790(this[_0x431562(0x1c1)],_0x3f8f09,this[_0x431562(0x1c9)]),_0x52332c[_0x431562(0x1d2)](_0x431562(0x1d4))['to'](this,_0x431562(0x1d4))):_0x52332c=_0x431562(0x1f7)===_0x2aa2cd?new _0x79d724(this[_0x431562(0x1c1)],_0x3f8f09,this[_0x431562(0x1c9)]):_0x431562(0x1dc)===_0x2aa2cd?new _0x338e28(this[_0x431562(0x1c1)],_0x3f8f09):new _0x565269(_0x3f8f09),this[_0x431562(0x1e5)][_0x431562(0x1b3)](_0x52332c);}async[_0x7887e8(0x1c6)]({id:_0x34a42e,parsedContent:_0x2c49a4,renderingStrategy:_0x5e7fb7,abortSignal:_0x554733}){const _0x23bc11=_0x7887e8,_0x468c7a=this[_0x23bc11(0x1df)](_0x34a42e);if(!(_0x468c7a instanceof _0x153d9f))throw new _0xa95626(_0x23bc11(0x1e0),null,{'itemView':_0x468c7a,'id':_0x34a42e,'parsedContent':_0x2c49a4});await _0x468c7a[_0x23bc11(0x1be)]({'parsedContent':_0x2c49a4,'renderingStrategy':_0x5e7fb7,'abortSignal':_0x554733});}async[_0x7887e8(0x1de)](_0x38fcee,_0x2b5072){const _0x1007f3=_0x7887e8,_0x508b86=this[_0x1007f3(0x1df)](_0x38fcee);if(_0x508b86 instanceof _0x59d790)_0x508b86[_0x1007f3(0x1b7)](_0x2b5072);else{if(!(_0x508b86 instanceof _0x153d9f))throw new _0xa95626(_0x1007f3(0x1f1),null,{'itemView':_0x508b86,'id':_0x38fcee,'sources':_0x2b5072});_0x508b86[_0x1007f3(0x1b7)](_0x2b5072);}}async[_0x7887e8(0x1bf)]({id:_0x451076,parts:_0x46f2d1,renderingStrategy:_0x2dccbb,abortSignal:_0x252cf0}){const _0x5301aa=_0x7887e8,_0x3b1dde=this[_0x5301aa(0x1df)](_0x451076);if(!(_0x3b1dde instanceof _0x59d790))throw new _0xa95626(_0x5301aa(0x1d0),null,{'itemView':_0x3b1dde,'id':_0x451076,'parts':_0x46f2d1});await _0x3b1dde[_0x5301aa(0x1be)]({'parts':_0x46f2d1,'renderingStrategy':_0x2dccbb,'abortSignal':_0x252cf0});}[_0x7887e8(0x1f8)]({id:_0xc801b1,index:_0x2efb8d,state:_0x56b531}){const _0x5f3489=_0x7887e8,_0x1bcbc8=this[_0x5f3489(0x1df)](_0xc801b1);if(!(_0x1bcbc8 instanceof _0x59d790))throw new _0xa95626(_0x5f3489(0x1d0),this,{'id':_0xc801b1});_0x1bcbc8[_0x5f3489(0x1e8)](_0x2efb8d,_0x56b531);}[_0x7887e8(0x1c3)](_0x5387eb){const _0x5e2643=_0x7887e8;this[_0x5e2643(0x1df)](_0x5387eb)[_0x5e2643(0x1bd)]();}[_0x7887e8(0x1b4)](){const _0x3c0fba=_0x7887e8;return this[_0x3c0fba(0x1e5)][_0x3c0fba(0x200)](_0x585d2a=>_0x585d2a[_0x3c0fba(0x1e3)]['id']);}[_0x7887e8(0x1c7)](_0x1f042a){const _0x51a0ed=_0x7887e8;this[_0x51a0ed(0x1e5)][_0x51a0ed(0x202)](this[_0x51a0ed(0x1df)](_0x1f042a));}[_0x7887e8(0x1e2)](_0x28ac0c,_0x5300dc){const _0x1906c6=_0x7887e8,_0x21490e=this[_0x1906c6(0x1df)](_0x28ac0c);if(!(_0x21490e instanceof _0x59d790))return void _0x4273d9(_0x1906c6(0x1f0),{'replyId':_0x28ac0c,'partIndex':_0x5300dc});const _0x26260d=_0x21490e[_0x1906c6(0x1c2)](_0x5300dc);_0x26260d?_0xd5d10c({'target':_0x26260d[_0x1906c6(0x1b5)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x4273d9(_0x1906c6(0x1f9),{'replyId':_0x28ac0c,'partIndex':_0x5300dc});}[_0x7887e8(0x1ca)](){const _0x5d0727=_0x7887e8;this[_0x5d0727(0x1d5)]({'tag':_0x5d0727(0x1f5),'attributes':{'class':['ck',_0x5d0727(0x1fc)]},'children':this[_0x5d0727(0x1c0)]()});}[_0x7887e8(0x1c0)](){const _0x5cf075=_0x7887e8,_0x2b7c67=this[_0x5cf075(0x201)]();return[this[_0x5cf075(0x1f3)](),_0x2b7c67,this[_0x5cf075(0x1e6)]()];}[_0x7887e8(0x201)](){const _0xbd5ffe=_0x7887e8,_0x59e317=new _0x43292e(this[_0xbd5ffe(0x1c1)],_0x5855af[_0xbd5ffe(0x1cd)]);return _0x59e317[_0xbd5ffe(0x1ed)]({'attributes':{'class':[this[_0xbd5ffe(0x1d7)]['if'](_0xbd5ffe(0x1ea),_0xbd5ffe(0x1cb),_0x399967=>!_0x399967)]}}),_0x59e317;}[_0x7887e8(0x1f3)](){const _0x84424a=_0x7887e8,_0x44638e=new _0x1af575(this[_0x84424a(0x1c1)]);return _0x44638e[_0x84424a(0x1d5)]({'tag':_0x84424a(0x1f5),'attributes':{'class':['ck',_0x84424a(0x1cc),this[_0x84424a(0x1d7)]['if'](_0x84424a(0x1ea),_0x84424a(0x1cb))]},'children':this[_0x84424a(0x1e5)]}),_0x44638e;}[_0x7887e8(0x1e6)](){const _0x30f56a=_0x7887e8,_0x181ecc=new _0x1af575(this[_0x30f56a(0x1c1)]);return _0x181ecc[_0x30f56a(0x1d5)]({'tag':_0x30f56a(0x1f5),'attributes':{'class':['ck',_0x30f56a(0x1e7),this[_0x30f56a(0x1d7)]['if'](_0x30f56a(0x1da),_0x30f56a(0x1cb),_0x4a06f8=>!_0x4a06f8)]},'children':this[_0x30f56a(0x1dd)]()}),_0x181ecc;}[_0x7887e8(0x1dd)](){const _0x4a8c33=_0x7887e8,_0x1d24e4=new _0x543082();return _0x1d24e4[_0x4a8c33(0x1ef)]=!0x0,[_0x1d24e4,{'tag':_0x4a8c33(0x1e9),'attributes':{'class':['ck',_0x4a8c33(0x1ce)]},'children':[{'text':this[_0x4a8c33(0x1d7)]['to'](_0x4a8c33(0x1e1))}]}];}[_0x7887e8(0x1df)](_0x39d297){const _0x254523=_0x7887e8,_0x25a352=this[_0x254523(0x1e5)][_0x254523(0x1ee)](_0x4fcc2e=>_0x4fcc2e[_0x254523(0x1e3)]['id'][_0x254523(0x1eb)](_0x39d297));if(!_0x25a352)throw new _0xa95626(_0x254523(0x1c5),this,{'id':_0x39d297});return _0x25a352;}[_0x7887e8(0x1b6)](_0xc5ae53){const _0x550f93=_0x7887e8;this[_0x550f93(0x1d1)](_0x550f93(0x1e1),_0xc5ae53);}[_0x7887e8(0x1d8)](_0x1a958e){const _0x45dc7f=_0x7887e8;this[_0x45dc7f(0x1d1)](_0x45dc7f(0x1ea),_0x1a958e);}[_0x7887e8(0x1e4)](){const _0x162e55=_0x7887e8;this[_0x162e55(0x1b8)][_0x162e55(0x1ba)]();}[_0x7887e8(0x1b2)](){const _0x420cdd=_0x7887e8;this[_0x420cdd(0x1b8)][_0x420cdd(0x1d6)]();}}
@@ -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 _0x2e1b(){const _0x5b3979=['add','fire','ck-ai-chat__start-conversation','resizeButton','778DKuMCL','5614308IqKMoI','ck-ai-header\x20ck-ai-header_chat','conversationStartButton','_createStartConversationButton','13385RjUaHt','2976xDWRbc','execute','locale','isMaximized','172774oAsSnT','1891761wHPaDb','501sNbNhd','children','1920YIDlUX','1280VzHGHQ','AI_CHAT_HEADING','27555FthbaA','22239epExiQ','set','startConversation','AI_CHAT_LABEL_NEW_CHAT'];_0x2e1b=function(){return _0x5b3979;};return _0x2e1b();}const _0x1f46ad=_0xcba5;(function(_0x35ba85,_0x3cc5c9){const _0x2591ad=_0xcba5,_0x2d918a=_0x35ba85();while(!![]){try{const _0x207be4=-parseInt(_0x2591ad(0xfc))/0x1*(-parseInt(_0x2591ad(0xf0))/0x2)+parseInt(_0x2591ad(0xfb))/0x3+parseInt(_0x2591ad(0xff))/0x4*(-parseInt(_0x2591ad(0xf5))/0x5)+parseInt(_0x2591ad(0xf1))/0x6+parseInt(_0x2591ad(0xfa))/0x7+-parseInt(_0x2591ad(0xf6))/0x8*(parseInt(_0x2591ad(0x102))/0x9)+-parseInt(_0x2591ad(0xfe))/0xa*(-parseInt(_0x2591ad(0x101))/0xb);if(_0x207be4===_0x3cc5c9)break;else _0x2d918a['push'](_0x2d918a['shift']());}catch(_0x14d7ae){_0x2d918a['push'](_0x2d918a['shift']());}}}(_0x2e1b,0x77de8));import{ButtonView as _0x328855,FormHeaderView as _0x36ef0a}from'ckeditor5/src/ui.js';import{IconPlus as _0x5b1032,IconAIChat as _0x3e0727}from'ckeditor5/src/icons.js';import{getTranslation as _0x27856f}from'../../aicore/utils/common-translations.js';function _0xcba5(_0x2bf270,_0x1831ff){const _0x2e1bd1=_0x2e1b();return _0xcba5=function(_0xcba588,_0x2c950b){_0xcba588=_0xcba588-0xef;let _0x3c967b=_0x2e1bd1[_0xcba588];return _0x3c967b;},_0xcba5(_0x2bf270,_0x1831ff);}import{createResizeButton as _0x5902bf}from'../../aicore/utils/createresizebutton.js';export class AIChatHeaderView extends _0x36ef0a{[_0x1f46ad(0xf3)];[_0x1f46ad(0xef)];constructor(_0x31c782,_0x17cda3){const _0x511801=_0x1f46ad;super(_0x31c782,{'label':_0x27856f(_0x31c782,_0x511801(0x100)),'class':_0x511801(0xf2),'icon':_0x3e0727}),this[_0x511801(0x103)](_0x511801(0xf9),!0x1),this[_0x511801(0xf3)]=this[_0x511801(0xf4)](_0x31c782),this[_0x511801(0xfd)][_0x511801(0x106)](this[_0x511801(0xf3)]),_0x17cda3&&(this[_0x511801(0xef)]=_0x5902bf(_0x31c782,this),this[_0x511801(0xfd)][_0x511801(0x106)](this[_0x511801(0xef)]));}[_0x1f46ad(0xf4)](_0x39b6ed){const _0x5da2d7=_0x1f46ad,_0x108b20=new _0x328855(_0x39b6ed);return _0x108b20[_0x5da2d7(0x103)]({'label':_0x27856f(this[_0x5da2d7(0xf8)],_0x5da2d7(0x105)),'withText':!0x0,'icon':_0x5b1032,'class':_0x5da2d7(0x108)}),_0x108b20['on'](_0x5da2d7(0xf7),()=>{const _0x1fa6a0=_0x5da2d7;this[_0x1fa6a0(0x107)](_0x1fa6a0(0x104));}),_0x108b20;}}
23
+ const _0x95b7f5=_0x2591;function _0x5309(){const _0x59bc67=['_createStartConversationButton','10ArYfhD','conversationStartButton','set','add','4082280aXWgsd','AI_CHAT_HEADING','isMaximized','fire','execute','49156eMNSDQ','2FQpKPK','713560YZcvDJ','1363019qwoQrx','children','524926yKoxfD','159sSXUNj','resizeButton','locale','ck-ai-chat__start-conversation','AI_CHAT_LABEL_NEW_CHAT','startConversation','2668005eiFDqa','777576tPVxZC','ck-ai-header\x20ck-ai-header_chat'];_0x5309=function(){return _0x59bc67;};return _0x5309();}(function(_0x83b762,_0x36392d){const _0x1f6580=_0x2591,_0x493201=_0x83b762();while(!![]){try{const _0x15c531=parseInt(_0x1f6580(0x90))/0x1*(-parseInt(_0x1f6580(0xa5))/0x2)+-parseInt(_0x1f6580(0x91))/0x3*(-parseInt(_0x1f6580(0xa4))/0x4)+parseInt(_0x1f6580(0x9b))/0x5*(-parseInt(_0x1f6580(0x98))/0x6)+parseInt(_0x1f6580(0x8e))/0x7+parseInt(_0x1f6580(0x9f))/0x8+-parseInt(_0x1f6580(0x97))/0x9+parseInt(_0x1f6580(0xa6))/0xa;if(_0x15c531===_0x36392d)break;else _0x493201['push'](_0x493201['shift']());}catch(_0x31da96){_0x493201['push'](_0x493201['shift']());}}}(_0x5309,0x54be8));import{ButtonView as _0x17adec,FormHeaderView as _0x1212f}from'ckeditor5/src/ui.js';import{IconPlus as _0x1466ba,IconAIChat as _0x3ef1b9}from'ckeditor5/src/icons.js';import{getTranslation as _0x22e722}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x59b05f}from'../../aicore/utils/createresizebutton.js';function _0x2591(_0x21934b,_0x3c782c){const _0x5309ee=_0x5309();return _0x2591=function(_0x259193,_0xe33e80){_0x259193=_0x259193-0x8e;let _0xab57=_0x5309ee[_0x259193];return _0xab57;},_0x2591(_0x21934b,_0x3c782c);}export class AIChatHeaderView extends _0x1212f{[_0x95b7f5(0x9c)];[_0x95b7f5(0x92)];constructor(_0x26b96d,_0x304a0f){const _0x4bca4f=_0x95b7f5;super(_0x26b96d,{'label':_0x22e722(_0x26b96d,_0x4bca4f(0xa0)),'class':_0x4bca4f(0x99),'icon':_0x3ef1b9}),this[_0x4bca4f(0x9d)](_0x4bca4f(0xa1),!0x1),this[_0x4bca4f(0x9c)]=this[_0x4bca4f(0x9a)](_0x26b96d),this[_0x4bca4f(0x8f)][_0x4bca4f(0x9e)](this[_0x4bca4f(0x9c)]),_0x304a0f&&(this[_0x4bca4f(0x92)]=_0x59b05f(_0x26b96d,this),this[_0x4bca4f(0x8f)][_0x4bca4f(0x9e)](this[_0x4bca4f(0x92)]));}[_0x95b7f5(0x9a)](_0x48824d){const _0x81563e=_0x95b7f5,_0xf3f01e=new _0x17adec(_0x48824d);return _0xf3f01e[_0x81563e(0x9d)]({'label':_0x22e722(this[_0x81563e(0x93)],_0x81563e(0x95)),'withText':!0x0,'icon':_0x1466ba,'class':_0x81563e(0x94)}),_0xf3f01e['on'](_0x81563e(0xa3),()=>{const _0x2737d0=_0x81563e;this[_0x2737d0(0xa2)](_0x2737d0(0x96));}),_0xf3f01e;}}
@@ -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
- var _0xf708c3=_0x1eb2;(function(_0x290413,_0x61677a){var _0x7d4f9c=_0x1eb2,_0x5a88e5=_0x290413();while(!![]){try{var _0x38f9fc=parseInt(_0x7d4f9c(0x7f))/0x1+-parseInt(_0x7d4f9c(0x6e))/0x2*(-parseInt(_0x7d4f9c(0x75))/0x3)+-parseInt(_0x7d4f9c(0x7d))/0x4*(parseInt(_0x7d4f9c(0x88))/0x5)+parseInt(_0x7d4f9c(0x74))/0x6+parseInt(_0x7d4f9c(0x81))/0x7+parseInt(_0x7d4f9c(0x80))/0x8+-parseInt(_0x7d4f9c(0x76))/0x9*(parseInt(_0x7d4f9c(0x6c))/0xa);if(_0x38f9fc===_0x61677a)break;else _0x5a88e5['push'](_0x5a88e5['shift']());}catch(_0x402652){_0x5a88e5['push'](_0x5a88e5['shift']());}}}(_0x239e,0xb9b93));import{View as _0x51f595,BodyCollection as _0x5a1558}from'ckeditor5/src/ui.js';function _0x1eb2(_0x2ad040,_0x36a56d){var _0x239ec5=_0x239e();return _0x1eb2=function(_0x1eb239,_0x48fcca){_0x1eb239=_0x1eb239-0x6c;var _0x4fefb0=_0x239ec5[_0x1eb239];return _0x4fefb0;},_0x1eb2(_0x2ad040,_0x36a56d);}import{AI_CHAT_UI_EVENT_NAMES as _0x2240be}from'../utils/eventnames.js';import{AIChatFeedView as _0x3dbedf}from'./aichatfeedview.js';import{AIChatControlsView as _0x3f1e47}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x1ba95f}from'./aichatheaderview.js';import{AIDisclaimerView as _0x4013e7}from'../../aicore/ui/aidisclaimerview.js';export class AIChatView extends _0x51f595{[_0xf708c3(0x84)];[_0xf708c3(0x77)];[_0xf708c3(0x86)];[_0xf708c3(0x7b)];[_0xf708c3(0x7a)];constructor(_0x3c813d,_0x21a98a){var _0x121ec6=_0xf708c3;super(_0x3c813d),this[_0x121ec6(0x7a)]=new _0x5a1558(_0x3c813d),this[_0x121ec6(0x7a)][_0x121ec6(0x71)](),this[_0x121ec6(0x84)]=new _0x1ba95f(_0x3c813d,_0x21a98a[_0x121ec6(0x79)]),this[_0x121ec6(0x84)][_0x121ec6(0x6f)](..._0x2240be)['to'](this),this[_0x121ec6(0x77)]=new _0x3dbedf(_0x3c813d,this[_0x121ec6(0x7a)]),this[_0x121ec6(0x77)][_0x121ec6(0x6f)](..._0x2240be)['to'](this),this[_0x121ec6(0x86)]=new _0x3f1e47(_0x3c813d,{'bodyCollection':this[_0x121ec6(0x7a)],'contextResourcesSearchInputVisibleFrom':_0x21a98a[_0x121ec6(0x7e)]}),this[_0x121ec6(0x86)][_0x121ec6(0x6f)](..._0x2240be)['to'](this),this[_0x121ec6(0x7b)]=new _0x4013e7(_0x3c813d),this[_0x121ec6(0x73)]({'tag':_0x121ec6(0x82),'attributes':{'class':['ck',_0x121ec6(0x6d),_0x121ec6(0x83),_0x121ec6(0x78)],'dir':_0x3c813d[_0x121ec6(0x7c)]},'children':[this[_0x121ec6(0x84)],this[_0x121ec6(0x77)],this[_0x121ec6(0x86)],this[_0x121ec6(0x7b)]]});}[_0xf708c3(0x87)](_0x5af8d6,_0x4edac1,_0x27a364,_0x167c22){var _0x241627=_0xf708c3;this[_0x241627(0x86)][_0x241627(0x87)](_0x5af8d6,_0x4edac1,_0x27a364,_0x167c22);}[_0xf708c3(0x70)](_0x9dfa39){var _0x13e5c7=_0xf708c3;this[_0x13e5c7(0x86)][_0x13e5c7(0x70)](_0x9dfa39);}[_0xf708c3(0x85)](){var _0x16b3b7=_0xf708c3;this[_0x16b3b7(0x7a)][_0x16b3b7(0x72)](),super[_0x16b3b7(0x85)]();}}function _0x239e(){var _0x3ace1e=['chatHeader','destroy','chatControls','populateSourceResourceBalloon','3950230ugvgrO','2110qVfWQf','ck-reset_all','92HUTyLs','delegate','closeSourceResourceBalloon','attachToDom','detachFromDom','setTemplate','3384918gXrmkV','5727AJlvFK','30501TngrqS','chatFeed','ck-rounded-corners','showResizeButton','_bodyCollection','chatDisclaimer','uiLanguageDirection','4ltKSZx','contextResourcesSearchInputVisibleFrom','1036358dnkqaO','2980384JLEBOf','1434825nPaoXf','div','ck-ai-chat'];_0x239e=function(){return _0x3ace1e;};return _0x239e();}
23
+ var _0x14fe5c=_0x5bf4;(function(_0x2c2a00,_0x2f2c5e){var _0x2e4364=_0x5bf4,_0x7941f=_0x2c2a00();while(!![]){try{var _0x3ff192=parseInt(_0x2e4364(0xba))/0x1*(parseInt(_0x2e4364(0xcd))/0x2)+parseInt(_0x2e4364(0xc9))/0x3*(parseInt(_0x2e4364(0xc0))/0x4)+-parseInt(_0x2e4364(0xbe))/0x5*(parseInt(_0x2e4364(0xca))/0x6)+-parseInt(_0x2e4364(0xc7))/0x7*(-parseInt(_0x2e4364(0xcb))/0x8)+parseInt(_0x2e4364(0xbd))/0x9+-parseInt(_0x2e4364(0xc5))/0xa*(parseInt(_0x2e4364(0xc3))/0xb)+-parseInt(_0x2e4364(0xc6))/0xc;if(_0x3ff192===_0x2f2c5e)break;else _0x7941f['push'](_0x7941f['shift']());}catch(_0x551906){_0x7941f['push'](_0x7941f['shift']());}}}(_0x3f23,0x693ea));function _0x3f23(){var _0x36d06b=['3409544SJbkVE','populateSourceResourceBalloon','chatFeed','465971dRhIOT','delegate','10LGtbcM','17288556moIhBL','2207870WNkYpU','ck-rounded-corners','3MeeNDn','282xPaUkw','16rbTHSM','attachToDom','42956rAMwug','div','closeSourceResourceBalloon','showResizeButton','ck-ai-chat','detachFromDom','contextResourcesSearchInputVisibleFrom','destroy','chatHeader','chatDisclaimer','ck-reset_all','chatControls','23GgPxgR','_bodyCollection','uiLanguageDirection','3752703cZRuGQ','51065DWpfji','setTemplate'];_0x3f23=function(){return _0x36d06b;};return _0x3f23();}import{View as _0x531c26,BodyCollection as _0x51c6fc}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x436f9a}from'../utils/eventnames.js';import{AIChatFeedView as _0x2a5547}from'./aichatfeedview.js';import{AIChatControlsView as _0x24f6e4}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x113fe9}from'./aichatheaderview.js';function _0x5bf4(_0x12b0f1,_0x19b7d4){var _0x3f2363=_0x3f23();return _0x5bf4=function(_0x5bf4dc,_0x17a7c2){_0x5bf4dc=_0x5bf4dc-0xb7;var _0x2c9562=_0x3f2363[_0x5bf4dc];return _0x2c9562;},_0x5bf4(_0x12b0f1,_0x19b7d4);}import{AIDisclaimerView as _0x253cc8}from'../../aicore/ui/aidisclaimerview.js';export class AIChatView extends _0x531c26{[_0x14fe5c(0xd5)];[_0x14fe5c(0xc2)];[_0x14fe5c(0xb9)];[_0x14fe5c(0xb7)];[_0x14fe5c(0xbb)];constructor(_0x4e230b,_0x4f2757){var _0x45b4ae=_0x14fe5c;super(_0x4e230b),this[_0x45b4ae(0xbb)]=new _0x51c6fc(_0x4e230b),this[_0x45b4ae(0xbb)][_0x45b4ae(0xcc)](),this[_0x45b4ae(0xd5)]=new _0x113fe9(_0x4e230b,_0x4f2757[_0x45b4ae(0xd0)]),this[_0x45b4ae(0xd5)][_0x45b4ae(0xc4)](..._0x436f9a)['to'](this),this[_0x45b4ae(0xc2)]=new _0x2a5547(_0x4e230b,this[_0x45b4ae(0xbb)]),this[_0x45b4ae(0xc2)][_0x45b4ae(0xc4)](..._0x436f9a)['to'](this),this[_0x45b4ae(0xb9)]=new _0x24f6e4(_0x4e230b,{'bodyCollection':this[_0x45b4ae(0xbb)],'contextResourcesSearchInputVisibleFrom':_0x4f2757[_0x45b4ae(0xd3)]}),this[_0x45b4ae(0xb9)][_0x45b4ae(0xc4)](..._0x436f9a)['to'](this),this[_0x45b4ae(0xb7)]=new _0x253cc8(_0x4e230b),this[_0x45b4ae(0xbf)]({'tag':_0x45b4ae(0xce),'attributes':{'class':['ck',_0x45b4ae(0xb8),_0x45b4ae(0xd1),_0x45b4ae(0xc8)],'dir':_0x4e230b[_0x45b4ae(0xbc)]},'children':[this[_0x45b4ae(0xd5)],this[_0x45b4ae(0xc2)],this[_0x45b4ae(0xb9)],this[_0x45b4ae(0xb7)]]});}[_0x14fe5c(0xc1)](_0x3be880,_0x310b13,_0x2769fc,_0x4468ee){var _0x1d533d=_0x14fe5c;this[_0x1d533d(0xb9)][_0x1d533d(0xc1)](_0x3be880,_0x310b13,_0x2769fc,_0x4468ee);}[_0x14fe5c(0xcf)](_0xb10eb){var _0x10692c=_0x14fe5c;this[_0x10692c(0xb9)][_0x10692c(0xcf)](_0xb10eb);}[_0x14fe5c(0xd4)](){var _0x1fe5dc=_0x14fe5c;this[_0x1fe5dc(0xbb)][_0x1fe5dc(0xd2)](),super[_0x1fe5dc(0xd4)]();}}
@@ -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 _0xa66336=_0x1b83;(function(_0x901e23,_0x29df2d){const _0x201b19=_0x1b83,_0xaaa950=_0x901e23();while(!![]){try{const _0xe9af67=parseInt(_0x201b19(0x14f))/0x1+-parseInt(_0x201b19(0x13d))/0x2*(parseInt(_0x201b19(0x115))/0x3)+parseInt(_0x201b19(0x16e))/0x4+parseInt(_0x201b19(0x154))/0x5*(-parseInt(_0x201b19(0x122))/0x6)+parseInt(_0x201b19(0x114))/0x7*(-parseInt(_0x201b19(0x11a))/0x8)+parseInt(_0x201b19(0x104))/0x9*(parseInt(_0x201b19(0x12d))/0xa)+parseInt(_0x201b19(0xf8))/0xb*(-parseInt(_0x201b19(0x160))/0xc);if(_0xe9af67===_0x29df2d)break;else _0xaaa950['push'](_0xaaa950['shift']());}catch(_0x5e94a6){_0xaaa950['push'](_0xaaa950['shift']());}}}(_0x5f30,0xe4869));import{View as _0xa7c5c,BalloonPanelView as _0x4b0f99,ButtonView as _0x164cae,clickOutsideHandler as _0x1a40ad}from'ckeditor5/src/ui.js';import{Collection as _0x53970b}from'ckeditor5/src/utils.js';function _0x5f30(){const _0x189d10=['set','5QhnBYt','appendChild','_bodyCollection','querySelector','isConnected','_updateBalloonContent','visible','absolute','forEach','_locale','_checkAndHandleOverflow','maxVisibleRows','12TcKofB','pop','classList','visible\x20!important','disconnect','createElement','showMoreButtonView','visibility','setContainerElement','showMoreBalloon','block\x20!important','width','0px','pointerEvents','5299072zLIWNV','top','+\x201','toLowerCase','_renderChipsAndCountRows','rowDetectionTolerance','_showMoreBalloonPanelView','_createCalculationContainer','controlsButton','-9999px','_pendingCalculation','add','_ancestorsToRestore','_makeAncestorsVisible','300px','cloneNode','bottom','opacity','_config','from','_createShowMoreButtonView','cssClasses','div','execute','getComputedStyle','border-box','isOn','tagName','_distributeChips','element','_isContainerVisible','remove','3584141PbrAvd','right','children','label','_handleShowMoreButtonClick','_repinBalloonPanel','_calculateOverflowInContainer','_calculateContainerWidth','showMoreLabelPrefix','showBalloonPanel','extendTemplate','_applyCalculationStyles','270BQAUFl','_testButtonFit','reorganizeChips','hidden','overflowChips','pin','show','_targetContainer','parentElement','showMoreButton','zIndex','length','button','_setupVisibilityObserver','_containerElement','offsetWidth','14ovNrZJ','401061KBnDRx','block','clientWidth','destroy','_parentView','3502928gAiXLI','_applyOverflowResults','none','overflowContainer','auto','abs','observe','_overflowChips','5472066XJPxoQ','setTemplate','filter','_findTargetContainer','boxSizing','50px','hide','calculationContainer','push','_restoreAncestorVisibility','content','217850LxpKlN','_updateShowMoreButtonVisibility','getBoundingClientRect','isIntersecting','_createShowMoreButton','textContent','innerHTML','isVisible','left','className','ck-calculation-container','display','_visibleChips','height','_createMockButton','body','4wOEblL','clientHeight','style','position','clear','innerWidth','documentElement','slice','includes','hideBalloonPanel','_createShowMoreBalloonPanelView','_showMoreButtonView','innerHeight','_updateOverflowUI','some','.ck-ai-chat','undefined','render','1338671dvGFdq','_intersectionObserver','_createContainerElements','disableAnimationOnEnter'];_0x5f30=function(){return _0x189d10;};return _0x5f30();}function _0x1b83(_0x58d242,_0x30921b){const _0x5f300b=_0x5f30();return _0x1b83=function(_0x1b83d9,_0x3b8893){_0x1b83d9=_0x1b83d9-0xf6;let _0x1c1b68=_0x5f300b[_0x1b83d9];return _0x1c1b68;},_0x1b83(_0x58d242,_0x30921b);}const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0xa66336(0x17c);export class AIChatChipsOverflowManager{[_0xa66336(0x15d)];[_0xa66336(0x180)];[_0xa66336(0x139)];[_0xa66336(0x121)];[_0xa66336(0x148)]=null;[_0xa66336(0x174)]=null;[_0xa66336(0x112)]=null;[_0xa66336(0x156)];[_0xa66336(0x119)]=null;[_0xa66336(0x150)]=null;[_0xa66336(0x178)]=!0x1;constructor(_0x3f28c8,_0x10775e,_0x44638f,_0x80087c,_0xd15ed){const _0x37d09e=_0xa66336;this[_0x37d09e(0x15d)]=_0x3f28c8,this[_0x37d09e(0x139)]=_0x10775e,this[_0x37d09e(0x180)]={...hn,..._0x44638f,'cssClasses':{'controlsButton':'','calculationContainer':_0x37d09e(0x137),..._0x44638f[_0x37d09e(0x183)]}},this[_0x37d09e(0x121)]=new _0x53970b(),this[_0x37d09e(0x156)]=_0x80087c,this[_0x37d09e(0x119)]=_0xd15ed||null;}[_0xa66336(0x168)](_0x22cf5c){const _0x1b52e0=_0xa66336;this[_0x1b52e0(0x150)]&&(this[_0x1b52e0(0x150)][_0x1b52e0(0x164)](),this[_0x1b52e0(0x150)]=null),this[_0x1b52e0(0x112)]=_0x22cf5c,this[_0x1b52e0(0x111)]();}get[_0xa66336(0x166)](){const _0x23482d=_0xa66336;return this[_0x23482d(0x148)];}get[_0xa66336(0x108)](){const _0x1d562e=_0xa66336;return this[_0x1d562e(0x121)];}[_0xa66336(0x106)](){requestAnimationFrame(()=>{const _0x80d3d=_0x1b83;this[_0x80d3d(0x15e)]();});}[_0xa66336(0x101)](){const _0x125fd3=_0xa66336;this[_0x125fd3(0x148)]&&this[_0x125fd3(0x174)]&&(this[_0x125fd3(0x159)](),this[_0x125fd3(0x148)][_0x125fd3(0x188)]=!0x0,this[_0x125fd3(0x174)][_0x125fd3(0x10a)](),this[_0x125fd3(0x174)][_0x125fd3(0x109)]({'target':this[_0x125fd3(0x148)][_0x125fd3(0x18b)],'limiter':document[_0x125fd3(0x157)](_0x125fd3(0x14c))}));}[_0xa66336(0x146)](){const _0x2989fc=_0xa66336;this[_0x2989fc(0x148)]&&this[_0x2989fc(0x174)]&&(this[_0x2989fc(0x148)][_0x2989fc(0x188)]=!0x1,this[_0x2989fc(0x174)][_0x2989fc(0x128)]());}[_0xa66336(0x141)](){const _0x13969d=_0xa66336;this[_0x13969d(0x121)][_0x13969d(0x141)](),this[_0x13969d(0x146)](),this[_0x13969d(0x12e)](),this[_0x13969d(0x148)]&&(this[_0x13969d(0x148)][_0x13969d(0xfb)]=''),this[_0x13969d(0x174)]&&this[_0x13969d(0x174)][_0x13969d(0x12c)][_0x13969d(0x141)]();}[_0xa66336(0x118)](){const _0x19863f=_0xa66336;this[_0x19863f(0x150)]&&(this[_0x19863f(0x150)][_0x19863f(0x164)](),this[_0x19863f(0x150)]=null),this[_0x19863f(0x148)]&&(this[_0x19863f(0x148)][_0x19863f(0x118)](),this[_0x19863f(0x148)]=null),this[_0x19863f(0x174)]&&(this[_0x19863f(0x174)][_0x19863f(0x118)](),this[_0x19863f(0x174)]=null);}[_0xa66336(0x15e)](){const _0x5beb0a=_0xa66336;if(!this[_0x5beb0a(0x112)])return;if(!this[_0x5beb0a(0xf6)]())return void(this[_0x5beb0a(0x178)]=!0x0);this[_0x5beb0a(0x178)]=!0x1;const _0x38fa47=[...this[_0x5beb0a(0x139)],...this[_0x5beb0a(0x121)]],_0x4d9b23=this[_0x5beb0a(0x175)](),_0x178a5a=this[_0x5beb0a(0xfe)](_0x4d9b23,_0x38fa47),_0xe17ed6=_0x4d9b23[_0x5beb0a(0x17a)];_0xe17ed6&&this[_0x5beb0a(0x12b)](_0xe17ed6),_0x4d9b23[_0x5beb0a(0xf7)](),this[_0x5beb0a(0x11b)](_0x38fa47,_0x178a5a);}[_0xa66336(0x131)](){const _0xb05b3c=_0xa66336;this[_0xb05b3c(0x148)]=this[_0xb05b3c(0x182)](),this[_0xb05b3c(0x174)]=this[_0xb05b3c(0x147)](),this[_0xb05b3c(0x148)][_0xb05b3c(0x14e)](),this[_0xb05b3c(0x112)][_0xb05b3c(0x155)](this[_0xb05b3c(0x148)][_0xb05b3c(0x18b)]),this[_0xb05b3c(0x148)]['on'](_0xb05b3c(0x185),()=>{const _0x49bb00=_0xb05b3c;this[_0x49bb00(0xfc)]();}),_0x1a40ad({'emitter':this[_0xb05b3c(0x174)],'contextElements':[this[_0xb05b3c(0x174)][_0xb05b3c(0x18b)],this[_0xb05b3c(0x148)][_0xb05b3c(0x18b)]],'callback':()=>this[_0xb05b3c(0x146)](),'activator':()=>this[_0xb05b3c(0x148)][_0xb05b3c(0x188)]});}[_0xa66336(0x182)](){const _0x25835c=_0xa66336,_0x26f92e=new _0x164cae(this[_0x25835c(0x15d)]);_0x26f92e[_0x25835c(0x153)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x3f1785=[this[_0x25835c(0x180)][_0x25835c(0x183)][_0x25835c(0x10d)]];return this[_0x25835c(0x180)][_0x25835c(0x183)][_0x25835c(0x176)]&&_0x3f1785[_0x25835c(0x12a)](this[_0x25835c(0x180)][_0x25835c(0x183)][_0x25835c(0x176)]),_0x26f92e[_0x25835c(0x102)]({'attributes':{'class':_0x3f1785}}),_0x26f92e;}[_0xa66336(0x147)](){const _0x4ee7ff=_0xa66336,_0x1637f9=new _0x4b0f99(this[_0x4ee7ff(0x15d)]);return _0x1637f9[_0x4ee7ff(0x102)]({'attributes':{'class':this[_0x4ee7ff(0x180)][_0x4ee7ff(0x183)][_0x4ee7ff(0x169)]}}),this[_0x4ee7ff(0x156)][_0x4ee7ff(0x179)](_0x1637f9),_0x1637f9;}[_0xa66336(0x159)](){const _0x44ae57=_0xa66336;if(this[_0x44ae57(0x174)]&&(this[_0x44ae57(0x174)][_0x44ae57(0x12c)][_0x44ae57(0x141)](),this[_0x44ae57(0x121)][_0x44ae57(0x10f)]>0x0)){this[_0x44ae57(0x121)][_0x44ae57(0x15c)](_0x5636e3=>{const _0x45adb3=_0x44ae57;_0x5636e3[_0x45adb3(0x152)]();});const _0x45e66a=new _0xa7c5c(this[_0x44ae57(0x15d)]);_0x45e66a[_0x44ae57(0x123)]({'tag':_0x44ae57(0x184),'attributes':{'class':this[_0x44ae57(0x180)][_0x44ae57(0x183)][_0x44ae57(0x11d)]},'children':this[_0x44ae57(0x121)]}),this[_0x44ae57(0x174)][_0x44ae57(0x12c)][_0x44ae57(0x179)](_0x45e66a);}}[_0xa66336(0xfc)](){const _0x589cac=_0xa66336;this[_0x589cac(0x148)][_0x589cac(0x188)]?this[_0x589cac(0x146)]():this[_0x589cac(0x101)]();}[_0xa66336(0x12e)](){const _0x429ba8=_0xa66336,_0x184462=this[_0x429ba8(0x121)][_0x429ba8(0x10f)]>0x0;this[_0x429ba8(0x148)]?.[_0x429ba8(0x18b)]&&(this[_0x429ba8(0x148)][_0x429ba8(0x18b)][_0x429ba8(0x13f)][_0x429ba8(0x138)]=_0x184462?'':_0x429ba8(0x11c));}[_0xa66336(0xfd)](){const _0x2eb455=_0xa66336;this[_0x2eb455(0x148)]?.[_0x2eb455(0x188)]&&this[_0x2eb455(0x174)]?.[_0x2eb455(0x134)]&&this[_0x2eb455(0x148)][_0x2eb455(0x18b)]&&this[_0x2eb455(0x174)][_0x2eb455(0x109)]({'target':this[_0x2eb455(0x148)][_0x2eb455(0x18b)],'limiter':document[_0x2eb455(0x157)](_0x2eb455(0x14c))});}[_0xa66336(0x125)](_0x3676b5){const _0x398831=_0xa66336,_0x499d69=this[_0x398831(0x112)]?.[_0x398831(0x189)][_0x398831(0x171)]()||_0x398831(0x184),_0x5e27ee=this[_0x398831(0x112)]?.[_0x398831(0x162)];if(_0x5e27ee){const _0x4e755d=_0x5e27ee[0x0]||'',_0x27186a=_0x3676b5[_0x398831(0x157)]('.'+_0x4e755d),_0x16f76f=_0x3676b5[_0x398831(0x157)](_0x499d69);return _0x27186a||_0x16f76f||_0x3676b5;}return _0x3676b5[_0x398831(0x157)](_0x499d69)||_0x3676b5;}[_0xa66336(0xff)](){const _0x3f06b9=_0xa66336,_0x157fc1=this[_0x3f06b9(0x119)]?.[_0x3f06b9(0x18b)]||this[_0x3f06b9(0x112)];if(!_0x157fc1)return an;const _0x31e030=window[_0x3f06b9(0x186)](_0x157fc1)[_0x3f06b9(0x16b)];if(_0x3f06b9(0x11e)===_0x31e030||_0x3f06b9(0x16c)===_0x31e030||!_0x31e030){const _0x389822=_0x157fc1[_0x3f06b9(0x10c)];if(_0x389822){const _0x3e10ad=window[_0x3f06b9(0x186)](_0x389822);return _0x3f06b9(0x11e)!==_0x3e10ad[_0x3f06b9(0x16b)]?_0x3e10ad[_0x3f06b9(0x16b)]:an;}return an;}return _0x31e030;}[_0xa66336(0x103)](_0x52dfb3,_0x3d8cc8){const _0x2b3c4c=_0xa66336;this[_0x2b3c4c(0x180)][_0x2b3c4c(0x183)][_0x2b3c4c(0x129)]&&_0x52dfb3[_0x2b3c4c(0x162)][_0x2b3c4c(0x179)](this[_0x2b3c4c(0x180)][_0x2b3c4c(0x183)][_0x2b3c4c(0x129)]),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x16b)]=_0x3d8cc8,_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x140)]=_0x2b3c4c(0x15b),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x16f)]=_0x2b3c4c(0x177),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x135)]=_0x2b3c4c(0x177),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x17f)]='0',_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x16d)]=_0x2b3c4c(0x11c),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x10e)]='-1',_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x167)]=_0x2b3c4c(0x163),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x138)]=_0x2b3c4c(0x16a),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x126)]=_0x2b3c4c(0x187);}[_0xa66336(0x12b)](_0x4d4320){const _0x342917=_0xa66336;_0x4d4320[_0x342917(0x15c)](({element:_0x4e4ba6,originalDisplay:_0x5c5199,originalVisibility:_0x3feaab})=>{const _0x514edb=_0x342917;_0x4e4ba6[_0x514edb(0x13f)][_0x514edb(0x138)]=_0x5c5199,_0x4e4ba6[_0x514edb(0x13f)][_0x514edb(0x167)]=_0x3feaab;});}[_0xa66336(0x17b)](_0x196e25){const _0x341508=_0xa66336,_0x1f155b=[];let _0x11a07=_0x196e25;for(;_0x11a07&&_0x11a07!==document[_0x341508(0x13c)];){const _0x4d0425=window[_0x341508(0x186)](_0x11a07);_0x341508(0x11c)!==_0x4d0425[_0x341508(0x138)]&&_0x341508(0x107)!==_0x4d0425[_0x341508(0x167)]||(_0x1f155b[_0x341508(0x12a)]({'element':_0x11a07,'originalDisplay':_0x11a07[_0x341508(0x13f)][_0x341508(0x138)],'originalVisibility':_0x11a07[_0x341508(0x13f)][_0x341508(0x167)]}),_0x11a07[_0x341508(0x13f)][_0x341508(0x138)]=_0x341508(0x116),_0x11a07[_0x341508(0x13f)][_0x341508(0x167)]=_0x341508(0x15a)),_0x11a07=_0x11a07[_0x341508(0x10c)];}return _0x1f155b;}[_0xa66336(0x151)](){const _0x5d0e11=_0xa66336;let _0x797ff8,_0x521fa5;return this[_0x5d0e11(0x119)]?.[_0x5d0e11(0x18b)]?(_0x797ff8=this[_0x5d0e11(0x119)][_0x5d0e11(0x18b)][_0x5d0e11(0x17d)](!0x0),_0x521fa5=this[_0x5d0e11(0x125)](_0x797ff8)):(_0x797ff8=document[_0x5d0e11(0x165)](_0x5d0e11(0x184)),_0x521fa5=_0x797ff8),{'calculationContainer':_0x797ff8,'targetContainer':_0x521fa5};}[_0xa66336(0x175)](){const _0x16739f=_0xa66336,{calculationContainer:_0x68d150,targetContainer:_0x171182}=this[_0x16739f(0x151)](),_0x28b232=this[_0x16739f(0xff)]();this[_0x16739f(0x103)](_0x68d150,_0x28b232);const _0x371a32=this[_0x16739f(0x119)]?.[_0x16739f(0x18b)]||this[_0x16739f(0x112)],_0x5a606f=_0x371a32?.[_0x16739f(0x10c)];_0x5a606f?_0x5a606f[_0x16739f(0x155)](_0x68d150):document[_0x16739f(0x13c)][_0x16739f(0x155)](_0x68d150),_0x68d150[_0x16739f(0x10b)]=_0x171182;const _0x12a4be=this[_0x16739f(0x17b)](_0x5a606f||null);return _0x68d150[_0x16739f(0x113)],_0x68d150[_0x16739f(0x17a)]=_0x12a4be,_0x68d150;}[_0xa66336(0xfe)](_0x1806f3,_0x5c720a){const _0x5e3ba3=_0xa66336,_0x6959f2=_0x1806f3[_0x5e3ba3(0x10b)]||_0x1806f3,_0x2316cc=[],{rowCount:_0x298378}=this[_0x5e3ba3(0x172)](_0x6959f2,_0x5c720a);if(_0x298378<=this[_0x5e3ba3(0x180)][_0x5e3ba3(0x15f)])return _0x2316cc;const _0x2d2290=_0x5c720a[_0x5e3ba3(0x144)]();for(;_0x2d2290[_0x5e3ba3(0x10f)]>0x0;){if(this[_0x5e3ba3(0x105)](_0x1806f3,_0x6959f2,_0x2d2290)){const _0x4f611d=_0x5c720a[_0x5e3ba3(0x124)](_0x2dd087=>!_0x2d2290[_0x5e3ba3(0x145)](_0x2dd087));_0x2316cc[_0x5e3ba3(0x12a)](..._0x4f611d);break;}if(!_0x2d2290[_0x5e3ba3(0x161)]())break;}return _0x2316cc;}[_0xa66336(0x172)](_0x25e06b,_0x35639e){const _0x1c39e1=_0xa66336;_0x25e06b[_0x1c39e1(0x133)]='',_0x35639e[_0x1c39e1(0x15c)](_0x3502c6=>{const _0xdd4f=_0x1c39e1;if(_0x3502c6[_0xdd4f(0x18b)]){const _0x1b7429=_0x3502c6[_0xdd4f(0x18b)][_0xdd4f(0x17d)](!0x0);_0x25e06b[_0xdd4f(0x155)](_0x1b7429);}}),_0x25e06b[_0x1c39e1(0x113)];const _0x530e3e=_0x25e06b[_0x1c39e1(0xfa)],_0x8d4b29=[];return Array[_0x1c39e1(0x181)](_0x530e3e)[_0x1c39e1(0x15c)](_0x58dc7a=>{const _0x2247fd=_0x1c39e1,_0xd764a=_0x58dc7a[_0x2247fd(0x12f)]()[_0x2247fd(0x16f)];_0x8d4b29[_0x2247fd(0x14b)](_0x5cd229=>Math[_0x2247fd(0x11f)](_0x5cd229-_0xd764a)<this[_0x2247fd(0x180)][_0x2247fd(0x173)])||_0x8d4b29[_0x2247fd(0x12a)](_0xd764a);}),{'rowCount':_0x8d4b29[_0x1c39e1(0x10f)]};}[_0xa66336(0x13b)](){const _0x56d97a=_0xa66336,_0x58171c=document[_0x56d97a(0x165)](_0x56d97a(0x110));return _0x58171c[_0x56d97a(0x136)]=this[_0x56d97a(0x180)][_0x56d97a(0x183)][_0x56d97a(0x10d)],this[_0x56d97a(0x180)][_0x56d97a(0x183)][_0x56d97a(0x176)]&&_0x58171c[_0x56d97a(0x162)][_0x56d97a(0x179)](this[_0x56d97a(0x180)][_0x56d97a(0x183)][_0x56d97a(0x176)]),_0x58171c[_0x56d97a(0x132)]=_0x56d97a(0x170),_0x58171c;}[_0xa66336(0x105)](_0x1726b4,_0x383ca0,_0x3acc60){const _0x3fbed1=_0xa66336;this[_0x3fbed1(0x172)](_0x383ca0,_0x3acc60);const _0x4faff7=this[_0x3fbed1(0x13b)]();_0x1726b4[_0x3fbed1(0x155)](_0x4faff7),_0x1726b4[_0x3fbed1(0x113)];const _0x3e2b64=[..._0x383ca0[_0x3fbed1(0xfa)],_0x4faff7],_0x1e5cb7=[];_0x3e2b64[_0x3fbed1(0x15c)](_0x373f55=>{const _0x39b23e=_0x3fbed1,_0x1d5d48=_0x373f55[_0x39b23e(0x12f)]()[_0x39b23e(0x16f)];_0x1e5cb7[_0x39b23e(0x14b)](_0x454b3f=>Math[_0x39b23e(0x11f)](_0x454b3f-_0x1d5d48)<this[_0x39b23e(0x180)][_0x39b23e(0x173)])||_0x1e5cb7[_0x39b23e(0x12a)](_0x1d5d48);});const _0x5be8df=_0x1e5cb7[_0x3fbed1(0x10f)];return _0x4faff7[_0x3fbed1(0xf7)](),_0x5be8df<=this[_0x3fbed1(0x180)][_0x3fbed1(0x15f)];}[_0xa66336(0x18a)](_0x5ada4f,_0x4b4b28){const _0x5ea79d=_0xa66336;this[_0x5ea79d(0x139)][_0x5ea79d(0x141)](),this[_0x5ea79d(0x121)][_0x5ea79d(0x141)](),_0x5ada4f[_0x5ea79d(0x15c)](_0xd67019=>{const _0x101aa6=_0x5ea79d;_0x4b4b28[_0x101aa6(0x145)](_0xd67019)?this[_0x101aa6(0x121)][_0x101aa6(0x179)](_0xd67019):this[_0x101aa6(0x139)][_0x101aa6(0x179)](_0xd67019);});}[_0xa66336(0x14a)](_0x1ced6d){const _0x4e785b=_0xa66336;if(_0x1ced6d>0x0&&!this[_0x4e785b(0x148)]&&this[_0x4e785b(0x131)](),_0x1ced6d>0x0&&this[_0x4e785b(0x148)]){const _0x421b20=''+this[_0x4e785b(0x180)][_0x4e785b(0x100)]+(_0x1ced6d<0x63?_0x1ced6d:'99');this[_0x4e785b(0x148)][_0x4e785b(0xfb)]=_0x421b20;}this[_0x4e785b(0x159)](),this[_0x4e785b(0x12e)](),this[_0x4e785b(0xfd)]();}[_0xa66336(0x11b)](_0x1b5a87,_0x3ec378){const _0x1f1e27=_0xa66336;this[_0x1f1e27(0x18a)](_0x1b5a87,_0x3ec378),this[_0x1f1e27(0x14a)](_0x3ec378[_0x1f1e27(0x10f)]);}[_0xa66336(0x111)](){const _0x26f21d=_0xa66336;this[_0x26f21d(0x112)]&&_0x26f21d(0x14d)!=typeof IntersectionObserver&&(this[_0x26f21d(0x150)]=new IntersectionObserver(_0x1ecabc=>{const _0xeed07e=_0x26f21d;_0x1ecabc[0x0][_0xeed07e(0x130)]&&this[_0xeed07e(0x178)]&&requestAnimationFrame(()=>{const _0x28301a=_0xeed07e;this[_0x28301a(0x15e)]();});},{'threshold':0.01,'rootMargin':_0x26f21d(0x127)}),this[_0x26f21d(0x150)][_0x26f21d(0x120)](this[_0x26f21d(0x112)]));}[_0xa66336(0xf6)](){const _0x335753=_0xa66336;if(!this[_0x335753(0x112)])return!0x1;if(!this[_0x335753(0x112)][_0x335753(0x158)])return!0x1;const _0x48c299=this[_0x335753(0x112)][_0x335753(0x12f)]();if(0x0===_0x48c299[_0x335753(0x16b)]||0x0===_0x48c299[_0x335753(0x13a)])return!0x1;const _0x270960=window[_0x335753(0x149)]||document[_0x335753(0x143)][_0x335753(0x13e)],_0x5ae70c=window[_0x335753(0x142)]||document[_0x335753(0x143)][_0x335753(0x117)],_0x1f325d=0xc8;return _0x48c299[_0x335753(0x17e)]>=-0xc8&&_0x48c299[_0x335753(0x16f)]<=_0x270960+_0x1f325d&&_0x48c299[_0x335753(0xf9)]>=-0xc8&&_0x48c299[_0x335753(0x135)]<=_0x5ae70c+_0x1f325d;}}
23
+ const _0x367135=_0x10b3;(function(_0x32647c,_0x3d8276){const _0x84be46=_0x10b3,_0x13183f=_0x32647c();while(!![]){try{const _0x401b4f=-parseInt(_0x84be46(0x1df))/0x1+-parseInt(_0x84be46(0x1d7))/0x2*(parseInt(_0x84be46(0x1c9))/0x3)+parseInt(_0x84be46(0x1b7))/0x4*(parseInt(_0x84be46(0x1d1))/0x5)+-parseInt(_0x84be46(0x1f7))/0x6*(parseInt(_0x84be46(0x1ed))/0x7)+-parseInt(_0x84be46(0x197))/0x8+parseInt(_0x84be46(0x194))/0x9+parseInt(_0x84be46(0x1a9))/0xa;if(_0x401b4f===_0x3d8276)break;else _0x13183f['push'](_0x13183f['shift']());}catch(_0x3f271c){_0x13183f['push'](_0x13183f['shift']());}}}(_0x3e88,0x1a2ea));function _0x3e88(){const _0xa782a5=['filter','overflowContainer','isIntersecting','show','_containerElement','border-box','extendTemplate','_createShowMoreButton','50px','createElement','clientHeight','+\x201','699039tNWPqR','zIndex','label','1605152yZeWUI','_bodyCollection','pin','_testButtonFit','visible\x20!important','_showMoreButtonView','disconnect','_updateBalloonContent','block','_isContainerVisible','slice','none','showMoreBalloon','toLowerCase','_calculateContainerWidth','hideBalloonPanel','display','setTemplate','3356720gDZDva','_repinBalloonPanel','classList','_findTargetContainer','forEach','setContainerElement','cloneNode','maxVisibleRows','controlsButton','className','calculationContainer','top','_createShowMoreBalloonPanelView','right','20YXzRQC','width','_distributeChips','remove','isVisible','pointerEvents','getBoundingClientRect','_makeAncestorsVisible','_visibleChips','_ancestorsToRestore','set','reorganizeChips','add','appendChild','querySelector','div','destroy','render','136311HLfIoL','block\x20!important','_restoreAncestorVisibility','_renderChipsAndCountRows','_createShowMoreButtonView','_updateShowMoreButtonVisibility','hide','clear','197755mWRsyQ','showMoreButton','_intersectionObserver','_overflowChips','undefined','visibility','4BZahJH','_createMockButton','push','height','showMoreLabelPrefix','_targetContainer','style','clientWidth','52079yzaLGN','0px','position','getComputedStyle','includes','execute','showBalloonPanel','_showMoreBalloonPanelView','overflowChips','boxSizing','tagName','pop','visible','.ck-ai-chat','65989BcSrGm','from','hidden','300px','isConnected','body','_createContainerElements','_pendingCalculation','textContent','parentElement','102KwnCbG','button','bottom','_calculateOverflowInContainer','cssClasses','_locale','opacity','_updateOverflowUI','disableAnimationOnEnter','innerHTML','observe','_createCalculationContainer','children','innerHeight','absolute','_applyCalculationStyles','left','_parentView','isOn','content','_checkAndHandleOverflow','some','documentElement','_setupVisibilityObserver','offsetWidth','_handleShowMoreButtonClick','auto','-9999px','abs','element','length','_applyOverflowResults','_config','showMoreButtonView','ck-calculation-container','rowDetectionTolerance','innerWidth'];_0x3e88=function(){return _0xa782a5;};return _0x3e88();}import{View as _0x204bf3,BalloonPanelView as _0x3df055,ButtonView as _0x3b97c4,clickOutsideHandler as _0x122da8}from'ckeditor5/src/ui.js';function _0x10b3(_0x264b1d,_0x141ce2){const _0x3e883b=_0x3e88();return _0x10b3=function(_0x10b364,_0x2d16fe){_0x10b364=_0x10b364-0x193;let _0x45e4b7=_0x3e883b[_0x10b364];return _0x45e4b7;},_0x10b3(_0x264b1d,_0x141ce2);}import{Collection as _0x1f8b6a}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x367135(0x1f0);export class AIChatChipsOverflowManager{[_0x367135(0x1fc)];[_0x367135(0x217)];[_0x367135(0x1bf)];[_0x367135(0x1d4)];[_0x367135(0x19c)]=null;[_0x367135(0x1e6)]=null;[_0x367135(0x220)]=null;[_0x367135(0x198)];[_0x367135(0x208)]=null;[_0x367135(0x1d3)]=null;[_0x367135(0x1f4)]=!0x1;constructor(_0x29ff58,_0x2cf836,_0x32d59c,_0x407157,_0x97fea9){const _0x5c310f=_0x367135;this[_0x5c310f(0x1fc)]=_0x29ff58,this[_0x5c310f(0x1bf)]=_0x2cf836,this[_0x5c310f(0x217)]={...hn,..._0x32d59c,'cssClasses':{'controlsButton':'','calculationContainer':_0x5c310f(0x219),..._0x32d59c[_0x5c310f(0x1fb)]}},this[_0x5c310f(0x1d4)]=new _0x1f8b6a(),this[_0x5c310f(0x198)]=_0x407157,this[_0x5c310f(0x208)]=_0x97fea9||null;}[_0x367135(0x1ae)](_0x4aa879){const _0x1b945b=_0x367135;this[_0x1b945b(0x1d3)]&&(this[_0x1b945b(0x1d3)][_0x1b945b(0x19d)](),this[_0x1b945b(0x1d3)]=null),this[_0x1b945b(0x220)]=_0x4aa879,this[_0x1b945b(0x20e)]();}get[_0x367135(0x218)](){const _0x3c561f=_0x367135;return this[_0x3c561f(0x19c)];}get[_0x367135(0x1e7)](){const _0x48d56b=_0x367135;return this[_0x48d56b(0x1d4)];}[_0x367135(0x1c2)](){requestAnimationFrame(()=>{const _0x59938c=_0x10b3;this[_0x59938c(0x20b)]();});}[_0x367135(0x1e5)](){const _0x270a2d=_0x367135;this[_0x270a2d(0x19c)]&&this[_0x270a2d(0x1e6)]&&(this[_0x270a2d(0x19e)](),this[_0x270a2d(0x19c)][_0x270a2d(0x209)]=!0x0,this[_0x270a2d(0x1e6)][_0x270a2d(0x21f)](),this[_0x270a2d(0x1e6)][_0x270a2d(0x199)]({'target':this[_0x270a2d(0x19c)][_0x270a2d(0x214)],'limiter':document[_0x270a2d(0x1c5)](_0x270a2d(0x1ec))}));}[_0x367135(0x1a6)](){const _0x59373c=_0x367135;this[_0x59373c(0x19c)]&&this[_0x59373c(0x1e6)]&&(this[_0x59373c(0x19c)][_0x59373c(0x209)]=!0x1,this[_0x59373c(0x1e6)][_0x59373c(0x1cf)]());}[_0x367135(0x1d0)](){const _0x50530e=_0x367135;this[_0x50530e(0x1d4)][_0x50530e(0x1d0)](),this[_0x50530e(0x1a6)](),this[_0x50530e(0x1ce)](),this[_0x50530e(0x19c)]&&(this[_0x50530e(0x19c)][_0x50530e(0x196)]=''),this[_0x50530e(0x1e6)]&&this[_0x50530e(0x1e6)][_0x50530e(0x20a)][_0x50530e(0x1d0)]();}[_0x367135(0x1c7)](){const _0x28f46c=_0x367135;this[_0x28f46c(0x1d3)]&&(this[_0x28f46c(0x1d3)][_0x28f46c(0x19d)](),this[_0x28f46c(0x1d3)]=null),this[_0x28f46c(0x19c)]&&(this[_0x28f46c(0x19c)][_0x28f46c(0x1c7)](),this[_0x28f46c(0x19c)]=null),this[_0x28f46c(0x1e6)]&&(this[_0x28f46c(0x1e6)][_0x28f46c(0x1c7)](),this[_0x28f46c(0x1e6)]=null);}[_0x367135(0x20b)](){const _0x2e44a1=_0x367135;if(!this[_0x2e44a1(0x220)])return;if(!this[_0x2e44a1(0x1a0)]())return void(this[_0x2e44a1(0x1f4)]=!0x0);this[_0x2e44a1(0x1f4)]=!0x1;const _0x467e2c=[...this[_0x2e44a1(0x1bf)],...this[_0x2e44a1(0x1d4)]],_0x29715a=this[_0x2e44a1(0x202)](),_0x58e5a5=this[_0x2e44a1(0x1fa)](_0x29715a,_0x467e2c),_0x3247d6=_0x29715a[_0x2e44a1(0x1c0)];_0x3247d6&&this[_0x2e44a1(0x1cb)](_0x3247d6),_0x29715a[_0x2e44a1(0x1ba)](),this[_0x2e44a1(0x216)](_0x467e2c,_0x58e5a5);}[_0x367135(0x223)](){const _0x213cdd=_0x367135;this[_0x213cdd(0x19c)]=this[_0x213cdd(0x1cd)](),this[_0x213cdd(0x1e6)]=this[_0x213cdd(0x1b5)](),this[_0x213cdd(0x19c)][_0x213cdd(0x1c8)](),this[_0x213cdd(0x220)][_0x213cdd(0x1c4)](this[_0x213cdd(0x19c)][_0x213cdd(0x214)]),this[_0x213cdd(0x19c)]['on'](_0x213cdd(0x1e4),()=>{const _0x4ebe98=_0x213cdd;this[_0x4ebe98(0x210)]();}),_0x122da8({'emitter':this[_0x213cdd(0x1e6)],'contextElements':[this[_0x213cdd(0x1e6)][_0x213cdd(0x214)],this[_0x213cdd(0x19c)][_0x213cdd(0x214)]],'callback':()=>this[_0x213cdd(0x1a6)](),'activator':()=>this[_0x213cdd(0x19c)][_0x213cdd(0x209)]});}[_0x367135(0x1cd)](){const _0x5f5c08=_0x367135,_0x19153d=new _0x3b97c4(this[_0x5f5c08(0x1fc)]);_0x19153d[_0x5f5c08(0x1c1)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x5b79a5=[this[_0x5f5c08(0x217)][_0x5f5c08(0x1fb)][_0x5f5c08(0x1d2)]];return this[_0x5f5c08(0x217)][_0x5f5c08(0x1fb)][_0x5f5c08(0x1b1)]&&_0x5b79a5[_0x5f5c08(0x1d9)](this[_0x5f5c08(0x217)][_0x5f5c08(0x1fb)][_0x5f5c08(0x1b1)]),_0x19153d[_0x5f5c08(0x222)]({'attributes':{'class':_0x5b79a5}}),_0x19153d;}[_0x367135(0x1b5)](){const _0x10f751=_0x367135,_0xdb7d63=new _0x3df055(this[_0x10f751(0x1fc)]);return _0xdb7d63[_0x10f751(0x222)]({'attributes':{'class':this[_0x10f751(0x217)][_0x10f751(0x1fb)][_0x10f751(0x1a3)]}}),this[_0x10f751(0x198)][_0x10f751(0x1c3)](_0xdb7d63),_0xdb7d63;}[_0x367135(0x19e)](){const _0x14944b=_0x367135;if(this[_0x14944b(0x1e6)]&&(this[_0x14944b(0x1e6)][_0x14944b(0x20a)][_0x14944b(0x1d0)](),this[_0x14944b(0x1d4)][_0x14944b(0x215)]>0x0)){this[_0x14944b(0x1d4)][_0x14944b(0x1ad)](_0x350246=>{const _0x124c52=_0x14944b;_0x350246[_0x124c52(0x1ff)]();});const _0xdc162d=new _0x204bf3(this[_0x14944b(0x1fc)]);_0xdc162d[_0x14944b(0x1a8)]({'tag':_0x14944b(0x1c6),'attributes':{'class':this[_0x14944b(0x217)][_0x14944b(0x1fb)][_0x14944b(0x21d)]},'children':this[_0x14944b(0x1d4)]}),this[_0x14944b(0x1e6)][_0x14944b(0x20a)][_0x14944b(0x1c3)](_0xdc162d);}}[_0x367135(0x210)](){const _0x40fb78=_0x367135;this[_0x40fb78(0x19c)][_0x40fb78(0x209)]?this[_0x40fb78(0x1a6)]():this[_0x40fb78(0x1e5)]();}[_0x367135(0x1ce)](){const _0x50abd9=_0x367135,_0x3e6792=this[_0x50abd9(0x1d4)][_0x50abd9(0x215)]>0x0;this[_0x50abd9(0x19c)]?.[_0x50abd9(0x214)]&&(this[_0x50abd9(0x19c)][_0x50abd9(0x214)][_0x50abd9(0x1dd)][_0x50abd9(0x1a7)]=_0x3e6792?'':_0x50abd9(0x1a2));}[_0x367135(0x1aa)](){const _0x1a9208=_0x367135;this[_0x1a9208(0x19c)]?.[_0x1a9208(0x209)]&&this[_0x1a9208(0x1e6)]?.[_0x1a9208(0x1bb)]&&this[_0x1a9208(0x19c)][_0x1a9208(0x214)]&&this[_0x1a9208(0x1e6)][_0x1a9208(0x199)]({'target':this[_0x1a9208(0x19c)][_0x1a9208(0x214)],'limiter':document[_0x1a9208(0x1c5)](_0x1a9208(0x1ec))});}[_0x367135(0x1ac)](_0x50eff0){const _0x3a98c5=_0x367135,_0x13d400=this[_0x3a98c5(0x220)]?.[_0x3a98c5(0x1e9)][_0x3a98c5(0x1a4)]()||_0x3a98c5(0x1c6),_0x46285d=this[_0x3a98c5(0x220)]?.[_0x3a98c5(0x1ab)];if(_0x46285d){const _0x56df4c=_0x46285d[0x0]||'',_0x3fa29b=_0x50eff0[_0x3a98c5(0x1c5)]('.'+_0x56df4c),_0x5c820e=_0x50eff0[_0x3a98c5(0x1c5)](_0x13d400);return _0x3fa29b||_0x5c820e||_0x50eff0;}return _0x50eff0[_0x3a98c5(0x1c5)](_0x13d400)||_0x50eff0;}[_0x367135(0x1a5)](){const _0x170d84=_0x367135,_0x132162=this[_0x170d84(0x208)]?.[_0x170d84(0x214)]||this[_0x170d84(0x220)];if(!_0x132162)return an;const _0x199104=window[_0x170d84(0x1e2)](_0x132162)[_0x170d84(0x1b8)];if(_0x170d84(0x211)===_0x199104||_0x170d84(0x1e0)===_0x199104||!_0x199104){const _0x381509=_0x132162[_0x170d84(0x1f6)];if(_0x381509){const _0xbb64c8=window[_0x170d84(0x1e2)](_0x381509);return _0x170d84(0x211)!==_0xbb64c8[_0x170d84(0x1b8)]?_0xbb64c8[_0x170d84(0x1b8)]:an;}return an;}return _0x199104;}[_0x367135(0x206)](_0x4a3851,_0x19057f){const _0x40ae4b=_0x367135;this[_0x40ae4b(0x217)][_0x40ae4b(0x1fb)][_0x40ae4b(0x1b3)]&&_0x4a3851[_0x40ae4b(0x1ab)][_0x40ae4b(0x1c3)](this[_0x40ae4b(0x217)][_0x40ae4b(0x1fb)][_0x40ae4b(0x1b3)]),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1b8)]=_0x19057f,_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1e1)]=_0x40ae4b(0x205),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1b4)]=_0x40ae4b(0x212),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x207)]=_0x40ae4b(0x212),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1fd)]='0',_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1bc)]=_0x40ae4b(0x1a2),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x195)]='-1',_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1d6)]=_0x40ae4b(0x19b),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1a7)]=_0x40ae4b(0x1ca),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1e8)]=_0x40ae4b(0x221);}[_0x367135(0x1cb)](_0x27cc5e){const _0xe541d5=_0x367135;_0x27cc5e[_0xe541d5(0x1ad)](({element:_0x511caf,originalDisplay:_0x2773c6,originalVisibility:_0x287c3b})=>{const _0x257da3=_0xe541d5;_0x511caf[_0x257da3(0x1dd)][_0x257da3(0x1a7)]=_0x2773c6,_0x511caf[_0x257da3(0x1dd)][_0x257da3(0x1d6)]=_0x287c3b;});}[_0x367135(0x1be)](_0x552e43){const _0x5eb12b=_0x367135,_0x43265b=[];let _0x49e21f=_0x552e43;for(;_0x49e21f&&_0x49e21f!==document[_0x5eb12b(0x1f2)];){const _0x4644e8=window[_0x5eb12b(0x1e2)](_0x49e21f);_0x5eb12b(0x1a2)!==_0x4644e8[_0x5eb12b(0x1a7)]&&_0x5eb12b(0x1ef)!==_0x4644e8[_0x5eb12b(0x1d6)]||(_0x43265b[_0x5eb12b(0x1d9)]({'element':_0x49e21f,'originalDisplay':_0x49e21f[_0x5eb12b(0x1dd)][_0x5eb12b(0x1a7)],'originalVisibility':_0x49e21f[_0x5eb12b(0x1dd)][_0x5eb12b(0x1d6)]}),_0x49e21f[_0x5eb12b(0x1dd)][_0x5eb12b(0x1a7)]=_0x5eb12b(0x19f),_0x49e21f[_0x5eb12b(0x1dd)][_0x5eb12b(0x1d6)]=_0x5eb12b(0x1eb)),_0x49e21f=_0x49e21f[_0x5eb12b(0x1f6)];}return _0x43265b;}[_0x367135(0x1f3)](){const _0x2451e4=_0x367135;let _0x6b169f,_0x31e8aa;return this[_0x2451e4(0x208)]?.[_0x2451e4(0x214)]?(_0x6b169f=this[_0x2451e4(0x208)][_0x2451e4(0x214)][_0x2451e4(0x1af)](!0x0),_0x31e8aa=this[_0x2451e4(0x1ac)](_0x6b169f)):(_0x6b169f=document[_0x2451e4(0x225)](_0x2451e4(0x1c6)),_0x31e8aa=_0x6b169f),{'calculationContainer':_0x6b169f,'targetContainer':_0x31e8aa};}[_0x367135(0x202)](){const _0x14b63d=_0x367135,{calculationContainer:_0x4298ce,targetContainer:_0x2b1e19}=this[_0x14b63d(0x1f3)](),_0x16f18b=this[_0x14b63d(0x1a5)]();this[_0x14b63d(0x206)](_0x4298ce,_0x16f18b);const _0x2d7aaf=this[_0x14b63d(0x208)]?.[_0x14b63d(0x214)]||this[_0x14b63d(0x220)],_0x61a3bd=_0x2d7aaf?.[_0x14b63d(0x1f6)];_0x61a3bd?_0x61a3bd[_0x14b63d(0x1c4)](_0x4298ce):document[_0x14b63d(0x1f2)][_0x14b63d(0x1c4)](_0x4298ce),_0x4298ce[_0x14b63d(0x1dc)]=_0x2b1e19;const _0x10b978=this[_0x14b63d(0x1be)](_0x61a3bd||null);return _0x4298ce[_0x14b63d(0x20f)],_0x4298ce[_0x14b63d(0x1c0)]=_0x10b978,_0x4298ce;}[_0x367135(0x1fa)](_0x5c4e93,_0x3be022){const _0x234dc1=_0x367135,_0x57542e=_0x5c4e93[_0x234dc1(0x1dc)]||_0x5c4e93,_0x5565f3=[],{rowCount:_0x2bf860}=this[_0x234dc1(0x1cc)](_0x57542e,_0x3be022);if(_0x2bf860<=this[_0x234dc1(0x217)][_0x234dc1(0x1b0)])return _0x5565f3;const _0x5849e8=_0x3be022[_0x234dc1(0x1a1)]();for(;_0x5849e8[_0x234dc1(0x215)]>0x0;){if(this[_0x234dc1(0x19a)](_0x5c4e93,_0x57542e,_0x5849e8)){const _0x35a143=_0x3be022[_0x234dc1(0x21c)](_0xd8e165=>!_0x5849e8[_0x234dc1(0x1e3)](_0xd8e165));_0x5565f3[_0x234dc1(0x1d9)](..._0x35a143);break;}if(!_0x5849e8[_0x234dc1(0x1ea)]())break;}return _0x5565f3;}[_0x367135(0x1cc)](_0x3cba14,_0x3f7698){const _0x1b5d38=_0x367135;_0x3cba14[_0x1b5d38(0x200)]='',_0x3f7698[_0x1b5d38(0x1ad)](_0x33bf17=>{const _0x1d62eb=_0x1b5d38;if(_0x33bf17[_0x1d62eb(0x214)]){const _0xfae4ea=_0x33bf17[_0x1d62eb(0x214)][_0x1d62eb(0x1af)](!0x0);_0x3cba14[_0x1d62eb(0x1c4)](_0xfae4ea);}}),_0x3cba14[_0x1b5d38(0x20f)];const _0x1659d0=_0x3cba14[_0x1b5d38(0x203)],_0x2b872a=[];return Array[_0x1b5d38(0x1ee)](_0x1659d0)[_0x1b5d38(0x1ad)](_0x21eb2f=>{const _0x4dd844=_0x1b5d38,_0x23d9a8=_0x21eb2f[_0x4dd844(0x1bd)]()[_0x4dd844(0x1b4)];_0x2b872a[_0x4dd844(0x20c)](_0x210c18=>Math[_0x4dd844(0x213)](_0x210c18-_0x23d9a8)<this[_0x4dd844(0x217)][_0x4dd844(0x21a)])||_0x2b872a[_0x4dd844(0x1d9)](_0x23d9a8);}),{'rowCount':_0x2b872a[_0x1b5d38(0x215)]};}[_0x367135(0x1d8)](){const _0x36c4c1=_0x367135,_0x2968f0=document[_0x36c4c1(0x225)](_0x36c4c1(0x1f8));return _0x2968f0[_0x36c4c1(0x1b2)]=this[_0x36c4c1(0x217)][_0x36c4c1(0x1fb)][_0x36c4c1(0x1d2)],this[_0x36c4c1(0x217)][_0x36c4c1(0x1fb)][_0x36c4c1(0x1b1)]&&_0x2968f0[_0x36c4c1(0x1ab)][_0x36c4c1(0x1c3)](this[_0x36c4c1(0x217)][_0x36c4c1(0x1fb)][_0x36c4c1(0x1b1)]),_0x2968f0[_0x36c4c1(0x1f5)]=_0x36c4c1(0x193),_0x2968f0;}[_0x367135(0x19a)](_0x47563a,_0x410234,_0x45e654){const _0x1711bf=_0x367135;this[_0x1711bf(0x1cc)](_0x410234,_0x45e654);const _0x42575d=this[_0x1711bf(0x1d8)]();_0x47563a[_0x1711bf(0x1c4)](_0x42575d),_0x47563a[_0x1711bf(0x20f)];const _0x1164cf=[..._0x410234[_0x1711bf(0x203)],_0x42575d],_0x14b6f7=[];_0x1164cf[_0x1711bf(0x1ad)](_0x56763a=>{const _0x1839a6=_0x1711bf,_0x3c2297=_0x56763a[_0x1839a6(0x1bd)]()[_0x1839a6(0x1b4)];_0x14b6f7[_0x1839a6(0x20c)](_0x54ccce=>Math[_0x1839a6(0x213)](_0x54ccce-_0x3c2297)<this[_0x1839a6(0x217)][_0x1839a6(0x21a)])||_0x14b6f7[_0x1839a6(0x1d9)](_0x3c2297);});const _0x2608de=_0x14b6f7[_0x1711bf(0x215)];return _0x42575d[_0x1711bf(0x1ba)](),_0x2608de<=this[_0x1711bf(0x217)][_0x1711bf(0x1b0)];}[_0x367135(0x1b9)](_0x457464,_0x29d495){const _0x316240=_0x367135;this[_0x316240(0x1bf)][_0x316240(0x1d0)](),this[_0x316240(0x1d4)][_0x316240(0x1d0)](),_0x457464[_0x316240(0x1ad)](_0x349838=>{const _0x3988d0=_0x316240;_0x29d495[_0x3988d0(0x1e3)](_0x349838)?this[_0x3988d0(0x1d4)][_0x3988d0(0x1c3)](_0x349838):this[_0x3988d0(0x1bf)][_0x3988d0(0x1c3)](_0x349838);});}[_0x367135(0x1fe)](_0xd1caca){const _0xd57150=_0x367135;if(_0xd1caca>0x0&&!this[_0xd57150(0x19c)]&&this[_0xd57150(0x223)](),_0xd1caca>0x0&&this[_0xd57150(0x19c)]){const _0x4e5b72=''+this[_0xd57150(0x217)][_0xd57150(0x1db)]+(_0xd1caca<0x63?_0xd1caca:'99');this[_0xd57150(0x19c)][_0xd57150(0x196)]=_0x4e5b72;}this[_0xd57150(0x19e)](),this[_0xd57150(0x1ce)](),this[_0xd57150(0x1aa)]();}[_0x367135(0x216)](_0x441b4d,_0x1194bd){const _0x193929=_0x367135;this[_0x193929(0x1b9)](_0x441b4d,_0x1194bd),this[_0x193929(0x1fe)](_0x1194bd[_0x193929(0x215)]);}[_0x367135(0x20e)](){const _0x973e04=_0x367135;this[_0x973e04(0x220)]&&_0x973e04(0x1d5)!=typeof IntersectionObserver&&(this[_0x973e04(0x1d3)]=new IntersectionObserver(_0x457b29=>{const _0x161b5d=_0x973e04;_0x457b29[0x0][_0x161b5d(0x21e)]&&this[_0x161b5d(0x1f4)]&&requestAnimationFrame(()=>{const _0x1289ac=_0x161b5d;this[_0x1289ac(0x20b)]();});},{'threshold':0.01,'rootMargin':_0x973e04(0x224)}),this[_0x973e04(0x1d3)][_0x973e04(0x201)](this[_0x973e04(0x220)]));}[_0x367135(0x1a0)](){const _0x336940=_0x367135;if(!this[_0x336940(0x220)])return!0x1;if(!this[_0x336940(0x220)][_0x336940(0x1f1)])return!0x1;const _0x27ccf6=this[_0x336940(0x220)][_0x336940(0x1bd)]();if(0x0===_0x27ccf6[_0x336940(0x1b8)]||0x0===_0x27ccf6[_0x336940(0x1da)])return!0x1;const _0x47dfb7=window[_0x336940(0x204)]||document[_0x336940(0x20d)][_0x336940(0x226)],_0x358231=window[_0x336940(0x21b)]||document[_0x336940(0x20d)][_0x336940(0x1de)],_0x44da7a=0xc8;return _0x27ccf6[_0x336940(0x1f9)]>=-0xc8&&_0x27ccf6[_0x336940(0x1b4)]<=_0x47dfb7+_0x44da7a&&_0x27ccf6[_0x336940(0x1b6)]>=-0xc8&&_0x27ccf6[_0x336940(0x207)]<=_0x358231+_0x44da7a;}}
@@ -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 _0x555038=_0x15ef;(function(_0x553bb9,_0x3308ad){const _0x4ba93c=_0x15ef,_0x437cf7=_0x553bb9();while(!![]){try{const _0x7992bf=-parseInt(_0x4ba93c(0x1c3))/0x1+parseInt(_0x4ba93c(0x1b3))/0x2+-parseInt(_0x4ba93c(0x1c0))/0x3*(-parseInt(_0x4ba93c(0x1b6))/0x4)+-parseInt(_0x4ba93c(0x1b9))/0x5*(-parseInt(_0x4ba93c(0x1a6))/0x6)+parseInt(_0x4ba93c(0x1d6))/0x7*(parseInt(_0x4ba93c(0x1aa))/0x8)+-parseInt(_0x4ba93c(0x1da))/0x9*(-parseInt(_0x4ba93c(0x1c8))/0xa)+parseInt(_0x4ba93c(0x1b4))/0xb*(-parseInt(_0x4ba93c(0x1d4))/0xc);if(_0x7992bf===_0x3308ad)break;else _0x437cf7['push'](_0x437cf7['shift']());}catch(_0x1a09dd){_0x437cf7['push'](_0x437cf7['shift']());}}}(_0x3ebd,0x1d696));import{ButtonView as _0x4c844e,IconView as _0x101fc3}from'ckeditor5/src/ui.js';function _0x15ef(_0x3f6c13,_0x246afd){const _0x3ebdc5=_0x3ebd();return _0x15ef=function(_0x15ef21,_0x5b7392){_0x15ef21=_0x15ef21-0x198;let _0x279c61=_0x3ebdc5[_0x15ef21];return _0x279c61;},_0x15ef(_0x3f6c13,_0x246afd);}function _0x3ebd(){const _0x449416=['653000lgqwMg','_initializeProperties','isVisible','lastIndexOf','removeEventListener','setTemplate','fire','small','isLoading','328164YSRjUS','1441Stjigk','execute','4HQSpQG','label','_handleAnimationEndOnce','5dvGcRY','element','ck-ai-chat-context-chip_new-chip','locale','ck-ai-chat-context-chip__type-icon','tooltip','add','81318ceEJfx','_createRemoveButton','itemType','143315nTqdHK','selection','_setupRemoveButtonEvent','slice','_createLoaderIcon','470pEbsKR','ck-ai-chat-context-chip__label','ck-ai-chat-context-controls__chip-tooltip','bind','classList','uiId','ck-ai-chat-context-chip_wide','render','webkitAnimationEnd','readonly','bindTemplate','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','30396HUIhxT','ck-ai-chat-context-chip','7TZmhLw','type','_isAnimationOnEnterEnabled','_createIconView','21591mQFzyn','document','ck-ai-chat-context-chip_document','removeContextItemChip','content','addEventListener','length','animationend','_createTemplateChildren','_createLabelElement','span','remove','disableAnimationOnEnter','div','ck-hidden','extendTemplate','1260252YHgSQO','set','_setupTemplate','_createTemplateAttributes'];_0x3ebd=function(){return _0x449416;};return _0x3ebd();}import{IconClose as _0x35776a,IconDocument as _0x21681a,IconFileUpload as _0x25d78d,IconLink as _0x20ca3b,IconSelection as _0x43fa46}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x34d30f}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x3dff25}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x25d78d,'document':_0x21681a,'web-resource':_0x20ca3b,'text':_0x25d78d,'selection':_0x43fa46},bn=_0x555038(0x1d5),wn=_0x555038(0x1ce),Tn=_0x555038(0x198),En=_0x555038(0x1c9),fn=_0x555038(0x1bd),An=_0x555038(0x1ca),Cn='n';export class AIChatContextItemButtonView extends _0x4c844e{constructor(_0x3b0e26,_0x12814f,_0x4ba47e,_0x4fc3f9,_0x659b0b=!0x1){const _0xb99868=_0x555038;super(_0x3b0e26),this[_0xb99868(0x1d8)]=_0x4fc3f9,this[_0xb99868(0x1ab)](_0x12814f,_0x4ba47e,_0x659b0b),this[_0xb99868(0x1a8)]();}[_0x555038(0x1cf)](){const _0x28b2f0=_0x555038;super[_0x28b2f0(0x1cf)](),this[_0x28b2f0(0x1d8)]&&this[_0x28b2f0(0x1ba)]&&(this[_0x28b2f0(0x1ba)][_0x28b2f0(0x1cc)][_0x28b2f0(0x1bf)](_0x28b2f0(0x1bb)),this[_0x28b2f0(0x1b8)](this[_0x28b2f0(0x1ba)],()=>{const _0x4303ca=_0x28b2f0;this[_0x4303ca(0x1ba)]&&this[_0x4303ca(0x1ba)][_0x4303ca(0x1cc)][_0x4303ca(0x1a1)](_0x4303ca(0x1bb));}));}[_0x555038(0x1a2)](){const _0x254284=_0x555038;this[_0x254284(0x1d8)]=!0x1,this[_0x254284(0x1ba)]&&this[_0x254284(0x1ba)][_0x254284(0x1cc)][_0x254284(0x1a1)](_0x254284(0x1bb));}[_0x555038(0x1ab)](_0x113daa,_0x5e4825,_0x30c950){const _0x5b2321=_0x555038;this[_0x5b2321(0x1a7)](_0x5b2321(0x1b7),_0x113daa[_0x5b2321(0x1b7)]),this[_0x5b2321(0x1a7)](_0x5b2321(0x1be),!0x0),this[_0x5b2321(0x1a7)](_0x5b2321(0x1c2),_0x113daa[_0x5b2321(0x1d7)]),this[_0x5b2321(0x1a7)]('id',_0x113daa[_0x5b2321(0x1cd)]),this[_0x5b2321(0x1a7)](_0x5b2321(0x1d1),_0x5e4825),this[_0x5b2321(0x1a7)](_0x5b2321(0x1b2),_0x30c950);}[_0x555038(0x1a8)](){const _0x5a4b9a=_0x555038,_0x1dd372=this[_0x5a4b9a(0x1d9)](),_0x28c508=this[_0x5a4b9a(0x1c1)](),_0x531540=this[_0x5a4b9a(0x1d2)];this[_0x5a4b9a(0x1af)]({'tag':_0x5a4b9a(0x1a3),'attributes':this[_0x5a4b9a(0x1a9)](_0x531540),'children':this[_0x5a4b9a(0x19e)](_0x1dd372,_0x28c508,_0x531540)});}[_0x555038(0x1a9)](_0x501baa){const _0x26eeca=_0x555038;return{'class':[bn,_0x501baa['if'](_0x26eeca(0x1c2),Tn,_0x3a88fe=>_0x26eeca(0x1db)==_0x3a88fe),_0x501baa['if'](_0x26eeca(0x1c2),wn,_0x1cbf0f=>_0x26eeca(0x1c4)==_0x1cbf0f)],'data-cke-tooltip-text':_0x501baa['to'](_0x26eeca(0x1b7),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x555038(0x19e)](_0x31cef9,_0x47a323,_0x3201cf){const _0x5eff0c=_0x555038,_0x4286d8=this[_0x5eff0c(0x19f)](_0x3201cf),_0x13b27d=this[_0x5eff0c(0x1c7)]();return this[_0x5eff0c(0x1d1)]?[_0x31cef9,_0x4286d8]:[_0x31cef9,_0x13b27d,_0x4286d8,_0x47a323];}[_0x555038(0x19f)](_0x3195b9){const _0x2da849=_0x555038;return{'tag':_0x2da849(0x1a0),'attributes':{'class':En},'children':[{'text':_0x3195b9['to'](_0x2da849(0x1b7))}]};}[_0x555038(0x1c1)](){const _0x363e2e=_0x555038,_0x47f855=new _0x4c844e(this[_0x363e2e(0x1bc)]);return _0x47f855[_0x363e2e(0x1a7)]({'label':_0x34d30f(this[_0x363e2e(0x1bc)],_0x363e2e(0x1d3)),'icon':_0x35776a}),this[_0x363e2e(0x1c5)](_0x47f855),_0x47f855;}[_0x555038(0x1c5)](_0x5f2ff6){const _0x29bc23=_0x555038;_0x5f2ff6['on'](_0x29bc23(0x1b5),()=>{const _0x154890=_0x29bc23;this[_0x154890(0x1b0)](_0x154890(0x199),this['id']);});}[_0x555038(0x1d9)](){const _0x55d35e=_0x555038,_0x323a0a=this[_0x55d35e(0x1d2)],_0x31c5cd=new _0x101fc3();return _0x31c5cd[_0x55d35e(0x19a)]=xn[this[_0x55d35e(0x1c2)]],_0x31c5cd[_0x55d35e(0x1a5)]({'attributes':{'class':[fn,_0x323a0a['if'](_0x55d35e(0x1b2),_0x55d35e(0x1a4),_0x5ce6b7=>_0x5ce6b7)]}}),_0x31c5cd;}[_0x555038(0x1b8)](_0x54499d,_0x24cbce){const _0x2f9a06=_0x555038;if(!_0x54499d)return;const _0x420463=()=>{const _0xd9ec0e=_0x15ef;_0x24cbce(),_0x54499d[_0xd9ec0e(0x1ae)](_0xd9ec0e(0x19d),_0x420463),_0x54499d[_0xd9ec0e(0x1ae)](_0xd9ec0e(0x1d0),_0x420463);};_0x54499d[_0x2f9a06(0x19b)](_0x2f9a06(0x19d),_0x420463),_0x54499d[_0x2f9a06(0x19b)](_0x2f9a06(0x1d0),_0x420463);}[_0x555038(0x1c7)](){const _0x922102=_0x555038,_0x274d90=new _0x3dff25(_0x922102(0x1b1));return _0x274d90[_0x922102(0x1cb)](_0x922102(0x1ac))['to'](this,_0x922102(0x1b2),_0x51208e=>_0x51208e),_0x274d90;}}function In(_0x278f86){const _0x3f0987=_0x555038;if(!_0x278f86)return _0x278f86;if(_0x278f86[_0x3f0987(0x19c)]<=0x78)return _0x278f86;const _0x358bc=_0x278f86[_0x3f0987(0x1c6)](0x0,0x78),_0x51fdf1=_0x358bc[_0x3f0987(0x1ad)]('\x20');return(_0x51fdf1>0x0?_0x358bc[_0x3f0987(0x1c6)](0x0,_0x51fdf1):_0x358bc)+'…';}
23
+ const _0x2b5cbd=_0x4808;(function(_0x24bfa9,_0x3a8b30){const _0xf31928=_0x4808,_0x2082b5=_0x24bfa9();while(!![]){try{const _0x188a61=parseInt(_0xf31928(0xad))/0x1+parseInt(_0xf31928(0xb0))/0x2+-parseInt(_0xf31928(0xa4))/0x3*(parseInt(_0xf31928(0xa6))/0x4)+-parseInt(_0xf31928(0xb2))/0x5+parseInt(_0xf31928(0x9d))/0x6+-parseInt(_0xf31928(0x99))/0x7*(parseInt(_0xf31928(0xc2))/0x8)+parseInt(_0xf31928(0x96))/0x9;if(_0x188a61===_0x3a8b30)break;else _0x2082b5['push'](_0x2082b5['shift']());}catch(_0x389ad1){_0x2082b5['push'](_0x2082b5['shift']());}}}(_0x32e9,0xd9b5f));import{ButtonView as _0x3017bc,IconView as _0x539946}from'ckeditor5/src/ui.js';import{IconClose as _0x19d2f0,IconDocument as _0x1e6a19,IconFileUpload as _0x14fdd1,IconLink as _0x5b7698,IconSelection as _0x117372}from'@ckeditor/ckeditor5-icons';function _0x32e9(){const _0x1fa082=['1725796VtSUWR','ck-ai-chat-context-chip__label','selection','308764AkJOXV','ck-hidden','3634300rxOGpV','classList','small','ck-ai-chat-context-chip_wide','webkitAnimationEnd','document','animationend','element','_initializeProperties','uiId','span','execute','setTemplate','addEventListener','div','_setupTemplate','32TVDjdh','label','content','add','itemType','_createLabelElement','extendTemplate','lastIndexOf','slice','type','isVisible','locale','set','_createIconView','_createLoaderIcon','ck-ai-chat-context-chip_document','length','ck-ai-chat-context-chip_new-chip','disableAnimationOnEnter','isLoading','_createTemplateChildren','15588873FWeezc','removeContextItemChip','ck-ai-chat-context-chip__type-icon','1649746dPbrRg','bind','_isAnimationOnEnterEnabled','_createRemoveButton','2127576DvbBob','tooltip','removeEventListener','_createTemplateAttributes','bindTemplate','readonly','ck-ai-chat-context-chip','113964dCrzDD','remove','148dCUZXy','render','_handleAnimationEndOnce','ck-ai-chat-context-controls__chip-tooltip','fire','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','_setupRemoveButtonEvent'];_0x32e9=function(){return _0x1fa082;};return _0x32e9();}function _0x4808(_0x139977,_0x4cfa9f){const _0x32e955=_0x32e9();return _0x4808=function(_0x4808c4,_0x12fc2b){_0x4808c4=_0x4808c4-0x8a;let _0x3bc1d2=_0x32e955[_0x4808c4];return _0x3bc1d2;},_0x4808(_0x139977,_0x4cfa9f);}import{getTranslation as _0x3f3c9d}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x3e19d0}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x14fdd1,'document':_0x1e6a19,'web-resource':_0x5b7698,'text':_0x14fdd1,'selection':_0x117372},bn=_0x2b5cbd(0xa3),wn=_0x2b5cbd(0xb5),Tn=_0x2b5cbd(0x90),En=_0x2b5cbd(0xae),fn=_0x2b5cbd(0x98),An=_0x2b5cbd(0xa9),Cn='n';export class AIChatContextItemButtonView extends _0x3017bc{constructor(_0x437255,_0x12e3f0,_0x132c82,_0xd883c9,_0x32bf85=!0x1){const _0x102ee0=_0x2b5cbd;super(_0x437255),this[_0x102ee0(0x9b)]=_0xd883c9,this[_0x102ee0(0xba)](_0x12e3f0,_0x132c82,_0x32bf85),this[_0x102ee0(0xc1)]();}[_0x2b5cbd(0xa7)](){const _0x5450f3=_0x2b5cbd;super[_0x5450f3(0xa7)](),this[_0x5450f3(0x9b)]&&this[_0x5450f3(0xb9)]&&(this[_0x5450f3(0xb9)][_0x5450f3(0xb3)][_0x5450f3(0xc5)](_0x5450f3(0x92)),this[_0x5450f3(0xa8)](this[_0x5450f3(0xb9)],()=>{const _0x391dcf=_0x5450f3;this[_0x391dcf(0xb9)]&&this[_0x391dcf(0xb9)][_0x391dcf(0xb3)][_0x391dcf(0xa5)](_0x391dcf(0x92));}));}[_0x2b5cbd(0x93)](){const _0x2d7748=_0x2b5cbd;this[_0x2d7748(0x9b)]=!0x1,this[_0x2d7748(0xb9)]&&this[_0x2d7748(0xb9)][_0x2d7748(0xb3)][_0x2d7748(0xa5)](_0x2d7748(0x92));}[_0x2b5cbd(0xba)](_0x543f2b,_0x41b5e1,_0x4a8aec){const _0x5b6ee0=_0x2b5cbd;this[_0x5b6ee0(0x8d)](_0x5b6ee0(0xc3),_0x543f2b[_0x5b6ee0(0xc3)]),this[_0x5b6ee0(0x8d)](_0x5b6ee0(0x9e),!0x0),this[_0x5b6ee0(0x8d)](_0x5b6ee0(0xc6),_0x543f2b[_0x5b6ee0(0x8a)]),this[_0x5b6ee0(0x8d)]('id',_0x543f2b[_0x5b6ee0(0xbb)]),this[_0x5b6ee0(0x8d)](_0x5b6ee0(0xa2),_0x41b5e1),this[_0x5b6ee0(0x8d)](_0x5b6ee0(0x94),_0x4a8aec);}[_0x2b5cbd(0xc1)](){const _0x2f814a=_0x2b5cbd,_0x4247bf=this[_0x2f814a(0x8e)](),_0x34db28=this[_0x2f814a(0x9c)](),_0x3d8bd2=this[_0x2f814a(0xa1)];this[_0x2f814a(0xbe)]({'tag':_0x2f814a(0xc0),'attributes':this[_0x2f814a(0xa0)](_0x3d8bd2),'children':this[_0x2f814a(0x95)](_0x4247bf,_0x34db28,_0x3d8bd2)});}[_0x2b5cbd(0xa0)](_0x122b9e){const _0x4d6983=_0x2b5cbd;return{'class':[bn,_0x122b9e['if'](_0x4d6983(0xc6),Tn,_0x262eb2=>_0x4d6983(0xb7)==_0x262eb2),_0x122b9e['if'](_0x4d6983(0xc6),wn,_0xa0c512=>_0x4d6983(0xaf)==_0xa0c512)],'data-cke-tooltip-text':_0x122b9e['to'](_0x4d6983(0xc3),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x2b5cbd(0x95)](_0x5be559,_0x31c2e3,_0x5b90a2){const _0x4ae090=_0x2b5cbd,_0xc50c55=this[_0x4ae090(0xc7)](_0x5b90a2),_0x3f7743=this[_0x4ae090(0x8f)]();return this[_0x4ae090(0xa2)]?[_0x5be559,_0xc50c55]:[_0x5be559,_0x3f7743,_0xc50c55,_0x31c2e3];}[_0x2b5cbd(0xc7)](_0x85fc6d){const _0x1f0f59=_0x2b5cbd;return{'tag':_0x1f0f59(0xbc),'attributes':{'class':En},'children':[{'text':_0x85fc6d['to'](_0x1f0f59(0xc3))}]};}[_0x2b5cbd(0x9c)](){const _0x6ab785=_0x2b5cbd,_0x3069c3=new _0x3017bc(this[_0x6ab785(0x8c)]);return _0x3069c3[_0x6ab785(0x8d)]({'label':_0x3f3c9d(this[_0x6ab785(0x8c)],_0x6ab785(0xab)),'icon':_0x19d2f0}),this[_0x6ab785(0xac)](_0x3069c3),_0x3069c3;}[_0x2b5cbd(0xac)](_0x58825b){const _0x562010=_0x2b5cbd;_0x58825b['on'](_0x562010(0xbd),()=>{const _0x221452=_0x562010;this[_0x221452(0xaa)](_0x221452(0x97),this['id']);});}[_0x2b5cbd(0x8e)](){const _0x14c319=_0x2b5cbd,_0x266fa6=this[_0x14c319(0xa1)],_0x341c76=new _0x539946();return _0x341c76[_0x14c319(0xc4)]=xn[this[_0x14c319(0xc6)]],_0x341c76[_0x14c319(0xc8)]({'attributes':{'class':[fn,_0x266fa6['if'](_0x14c319(0x94),_0x14c319(0xb1),_0x25be86=>_0x25be86)]}}),_0x341c76;}[_0x2b5cbd(0xa8)](_0x4552a9,_0x1bbfdd){const _0x2c044e=_0x2b5cbd;if(!_0x4552a9)return;const _0x526fba=()=>{const _0x4925b5=_0x4808;_0x1bbfdd(),_0x4552a9[_0x4925b5(0x9f)](_0x4925b5(0xb8),_0x526fba),_0x4552a9[_0x4925b5(0x9f)](_0x4925b5(0xb6),_0x526fba);};_0x4552a9[_0x2c044e(0xbf)](_0x2c044e(0xb8),_0x526fba),_0x4552a9[_0x2c044e(0xbf)](_0x2c044e(0xb6),_0x526fba);}[_0x2b5cbd(0x8f)](){const _0x35ed38=_0x2b5cbd,_0x36afad=new _0x3e19d0(_0x35ed38(0xb4));return _0x36afad[_0x35ed38(0x9a)](_0x35ed38(0x8b))['to'](this,_0x35ed38(0x94),_0x5f0f4d=>_0x5f0f4d),_0x36afad;}}function In(_0x5a2cc7){const _0x222afb=_0x2b5cbd;if(!_0x5a2cc7)return _0x5a2cc7;if(_0x5a2cc7[_0x222afb(0x91)]<=0x78)return _0x5a2cc7;const _0x3c9939=_0x5a2cc7[_0x222afb(0xca)](0x0,0x78),_0x2a4038=_0x3c9939[_0x222afb(0xc9)]('\x20');return(_0x2a4038>0x0?_0x3c9939[_0x222afb(0xca)](0x0,_0x2a4038):_0x3c9939)+'…';}
@@ -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 _0x2f4291=_0x44c9;function _0x44c9(_0x3089d2,_0x4cfe0c){const _0xca3c56=_0xca3c();return _0x44c9=function(_0x44c9dc,_0x2befd2){_0x44c9dc=_0x44c9dc-0x14e;let _0x19e59c=_0xca3c56[_0x44c9dc];return _0x19e59c;},_0x44c9(_0x3089d2,_0x4cfe0c);}(function(_0x44a94a,_0x3de9e0){const _0xfbfd99=_0x44c9,_0x3f400a=_0x44a94a();while(!![]){try{const _0x46af3a=-parseInt(_0xfbfd99(0x175))/0x1*(-parseInt(_0xfbfd99(0x185))/0x2)+parseInt(_0xfbfd99(0x18e))/0x3*(parseInt(_0xfbfd99(0x16f))/0x4)+parseInt(_0xfbfd99(0x181))/0x5+-parseInt(_0xfbfd99(0x167))/0x6+-parseInt(_0xfbfd99(0x196))/0x7+parseInt(_0xfbfd99(0x164))/0x8*(-parseInt(_0xfbfd99(0x18d))/0x9)+parseInt(_0xfbfd99(0x172))/0xa;if(_0x46af3a===_0x3de9e0)break;else _0x3f400a['push'](_0x3f400a['shift']());}catch(_0x1f6549){_0x3f400a['push'](_0x3f400a['shift']());}}}(_0xca3c,0x886fd));import{FocusTracker as _0x19992d,KeystrokeHandler as _0x5463e7}from'ckeditor5/src/utils.js';import{ButtonView as _0x266e96,FocusCycler as _0x34d381,LabeledFieldView as _0x8ffdfc,View as _0x251757,FormHeaderView as _0x4a5c42,createLabeledInputText as _0x2c39f2,submitHandler as _0x419fb0}from'ckeditor5/src/ui.js';import{IconCheck as _0x3b198d,IconPreviousArrow as _0x404aab}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x44b068}from'../../../aicore/utils/common-translations.js';function _0xca3c(){const _0x38e386=['shift+tab','_createUrlInputField','backButton','ck-button-icon\x20ck-button-back','getValue','4584VAdEhV','destroy','fire','4190730DfmCvW','_setupTemplate','urlInputField','div','locale','setError','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-ai-chat-context-controls__url-input-section','18672VRnzVJ','length','forEach','855360jFfTiD','_createConfirmButton','add','9539LSIcWN','input','render','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','set','stop','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','AI_CHAT_CONTEXT_URL_ADD_URL','form','focus','AI_CHAT_CONTEXT_URL_INVALID_ERROR','execute','3041165TtSttK','refreshBalloon','_setupKeystrokes','_updateConfirmButtonState','122dIMySf','AI_CHAT_CONTEXT_URL_LABEL','children','esc','_handleSubmit','focusCycler','tab','clearError','81aSZjYO','186HCRREB','errorText','ck-labeled-field-view_empty','submit','ck-ai-chat-context-controls__url-form','isEnabled','_setupEventHandlers','element','2118249HVZIiD','setTemplate','_createBackButton','AI_CHAT_CONTEXT_URL_PLACEHOLDER','_focusables','trim','_isValidUrl','submitUrl','clear','confirmButton','fieldView','keystrokes','focusTracker','value','createCollection','ck-button-icon','listenTo','cancel'];_0xca3c=function(){return _0x38e386;};return _0xca3c();}const ch=_0x2f4291(0x192),nh=_0x2f4291(0x16e);export class AIChatContextPanelUrlInputView extends _0x251757{[_0x2f4291(0x159)];[_0x2f4291(0x158)];[_0x2f4291(0x151)];[_0x2f4291(0x18a)];[_0x2f4291(0x169)];[_0x2f4291(0x161)];[_0x2f4291(0x156)];constructor(_0x130361){const _0x36c367=_0x2f4291;super(_0x130361),this[_0x36c367(0x159)]=new _0x19992d(),this[_0x36c367(0x158)]=new _0x5463e7(),this[_0x36c367(0x161)]=this[_0x36c367(0x14f)](),this[_0x36c367(0x169)]=this[_0x36c367(0x160)](),this[_0x36c367(0x156)]=this[_0x36c367(0x173)](),this[_0x36c367(0x151)]=this[_0x36c367(0x15b)]([this[_0x36c367(0x161)],this[_0x36c367(0x169)],this[_0x36c367(0x156)]]),this[_0x36c367(0x18a)]=new _0x34d381({'focusables':this[_0x36c367(0x151)],'focusTracker':this[_0x36c367(0x159)],'keystrokeHandler':this[_0x36c367(0x158)],'actions':{'focusPrevious':_0x36c367(0x15f),'focusNext':_0x36c367(0x18b)}}),this[_0x36c367(0x168)](),this[_0x36c367(0x194)](),this[_0x36c367(0x183)]();}[_0x2f4291(0x177)](){const _0x2500e9=_0x2f4291;super[_0x2500e9(0x177)](),this[_0x2500e9(0x151)][_0x2500e9(0x171)](_0x4a90d7=>{const _0x1b587c=_0x2500e9;this[_0x1b587c(0x159)][_0x1b587c(0x174)](_0x4a90d7[_0x1b587c(0x195)]),this[_0x1b587c(0x158)][_0x1b587c(0x15d)](_0x4a90d7[_0x1b587c(0x195)]);}),_0x419fb0({'view':this}),this[_0x2500e9(0x17e)]();}[_0x2f4291(0x165)](){const _0x5b2139=_0x2f4291;super[_0x5b2139(0x165)](),this[_0x5b2139(0x159)][_0x5b2139(0x165)](),this[_0x5b2139(0x158)][_0x5b2139(0x165)]();}[_0x2f4291(0x17e)](){const _0x2818bf=_0x2f4291;this[_0x2818bf(0x169)][_0x2818bf(0x17e)]();}[_0x2f4291(0x163)](){const _0x5d31d6=_0x2f4291;return this[_0x5d31d6(0x169)][_0x5d31d6(0x157)][_0x5d31d6(0x195)]?.[_0x5d31d6(0x15a)]?.[_0x5d31d6(0x152)]()||'';}[_0x2f4291(0x155)](){const _0x172337=_0x2f4291;this[_0x172337(0x169)][_0x172337(0x157)][_0x172337(0x195)][_0x172337(0x15a)]='',this[_0x172337(0x169)][_0x172337(0x18f)]=null,this[_0x172337(0x156)][_0x172337(0x193)]=!0x1;}[_0x2f4291(0x16c)](_0x2978f7){const _0x2053e3=_0x2f4291;this[_0x2053e3(0x169)][_0x2053e3(0x18f)]=_0x2978f7,this[_0x2053e3(0x184)](),this[_0x2053e3(0x166)](_0x2053e3(0x182));}[_0x2f4291(0x18c)](){const _0x491d16=_0x2f4291;this[_0x491d16(0x169)][_0x491d16(0x18f)]=null,this[_0x491d16(0x184)]();}[_0x2f4291(0x14f)](){const _0xf0cd19=_0x2f4291,_0xddd2b9=new _0x266e96(this[_0xf0cd19(0x16b)]);return _0xddd2b9[_0xf0cd19(0x179)]({'icon':_0x404aab,'tooltip':_0x44b068(this[_0xf0cd19(0x16b)],_0xf0cd19(0x16d)),'tooltipPosition':'n','class':_0xf0cd19(0x162)}),_0xddd2b9;}[_0x2f4291(0x160)](){const _0x1d19ca=_0x2f4291,_0x1ef6d7=new _0x8ffdfc(this[_0x1d19ca(0x16b)],_0x2c39f2);return _0x1ef6d7[_0x1d19ca(0x179)]({'label':_0x44b068(this[_0x1d19ca(0x16b)],_0x1d19ca(0x186)),'class':_0x1d19ca(0x190)}),_0x1ef6d7[_0x1d19ca(0x157)][_0x1d19ca(0x179)]({'placeholder':_0x44b068(this[_0x1d19ca(0x16b)],_0x1d19ca(0x150))}),_0x1ef6d7;}[_0x2f4291(0x173)](){const _0x29ec43=_0x2f4291,_0x34e4fc=new _0x266e96(this[_0x29ec43(0x16b)]);return _0x34e4fc[_0x29ec43(0x179)]({'icon':_0x3b198d,'tooltip':_0x44b068(this[_0x29ec43(0x16b)],_0x29ec43(0x17c)),'tooltipPosition':'n','class':_0x29ec43(0x15c),'type':_0x29ec43(0x191),'isEnabled':!0x1}),_0x34e4fc;}[_0x2f4291(0x168)](){const _0x485b9d=_0x2f4291,_0x363114=new _0x4a5c42(this[_0x485b9d(0x16b)],{'label':_0x44b068(this[_0x485b9d(0x16b)],_0x485b9d(0x17c)),'class':_0x485b9d(0x178)});_0x363114[_0x485b9d(0x187)][_0x485b9d(0x174)](this[_0x485b9d(0x161)],0x0),this[_0x485b9d(0x14e)]({'tag':_0x485b9d(0x17d),'attributes':{'class':ch,'tabindex':'-1'},'children':[_0x363114,{'tag':_0x485b9d(0x16a),'attributes':{'class':nh},'children':[this[_0x485b9d(0x169)],this[_0x485b9d(0x156)]]}]});}[_0x2f4291(0x194)](){const _0x3e22af=_0x2f4291;this[_0x3e22af(0x161)]['on'](_0x3e22af(0x180),()=>{const _0x54ebcb=_0x3e22af;this[_0x54ebcb(0x155)](),this[_0x54ebcb(0x166)](_0x54ebcb(0x15e));}),this[_0x3e22af(0x169)][_0x3e22af(0x157)]['on'](_0x3e22af(0x176),()=>{const _0x42153a=_0x3e22af;this[_0x42153a(0x18c)](),this[_0x42153a(0x184)](),this[_0x42153a(0x166)](_0x42153a(0x182));}),this['on'](_0x3e22af(0x191),_0x435575=>{const _0x249c95=_0x3e22af;_0x435575[_0x249c95(0x17a)](),this[_0x249c95(0x189)]();});}[_0x2f4291(0x183)](){const _0x3a461d=_0x2f4291;this[_0x3a461d(0x158)][_0x3a461d(0x179)](_0x3a461d(0x188),(_0x564689,_0x2914be)=>{const _0x2f2ef8=_0x3a461d;this[_0x2f2ef8(0x155)](),this[_0x2f2ef8(0x166)](_0x2f2ef8(0x15e)),_0x2914be();});}[_0x2f4291(0x189)](){const _0x346341=_0x2f4291,_0x441f5d=this[_0x346341(0x163)]()[_0x346341(0x152)]();_0x441f5d?this[_0x346341(0x153)](_0x441f5d)?(this[_0x346341(0x18c)](),this[_0x346341(0x166)](_0x346341(0x154),_0x441f5d)):this[_0x346341(0x16c)](_0x44b068(this[_0x346341(0x16b)],_0x346341(0x17f))):this[_0x346341(0x16c)](_0x44b068(this[_0x346341(0x16b)],_0x346341(0x17b)));}[_0x2f4291(0x184)](){const _0x4890fa=_0x2f4291,_0x9ece08=this[_0x4890fa(0x163)]()[_0x4890fa(0x152)](),_0x554c5d=!!this[_0x4890fa(0x169)][_0x4890fa(0x18f)];this[_0x4890fa(0x156)][_0x4890fa(0x193)]=_0x9ece08[_0x4890fa(0x170)]>0x0&&!_0x554c5d;}[_0x2f4291(0x153)](_0x2d1f37){try{return!!new URL(_0x2d1f37);}catch{return!0x1;}}}
23
+ function _0x37da(_0x2f8b85,_0x7845a){const _0x5affb6=_0x5aff();return _0x37da=function(_0x37da90,_0x133d40){_0x37da90=_0x37da90-0x14d;let _0x3690f3=_0x5affb6[_0x37da90];return _0x3690f3;},_0x37da(_0x2f8b85,_0x7845a);}function _0x5aff(){const _0x4a7667=['1126173LYvTyU','set','listenTo','_createConfirmButton','AI_CHAT_CONTEXT_URL_PLACEHOLDER','focusCycler','execute','_setupEventHandlers','14353497cJxUBs','2047266wcrTiR','esc','528044SJOSao','focus','render','submit','fieldView','ck-button-icon','keystrokes','div','trim','_isValidUrl','element','864NjedNW','clearError','value','setError','urlInputField','_handleSubmit','submitUrl','tab','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','_updateConfirmButtonState','confirmButton','locale','clear','AI_CHAT_CONTEXT_URL_INVALID_ERROR','fire','_setupKeystrokes','ck-button-icon\x20ck-button-back','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','AI_CHAT_CONTEXT_URL_LABEL','forEach','add','getValue','destroy','ck-ai-chat-context-controls__url-form','ck-labeled-field-view_empty','_createBackButton','_createUrlInputField','stop','backButton','isEnabled','21125800IvWlol','errorText','AI_CHAT_CONTEXT_URL_ADD_URL','_setupTemplate','cancel','focusTracker','refreshBalloon','ck-ai-chat-context-controls__url-input-section','shift+tab','setTemplate','2KvAXdB','createCollection','form','5927315FmQGDU','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','input','18935ffbKTc','length','children','24QvKgZi','_focusables'];_0x5aff=function(){return _0x4a7667;};return _0x5aff();}const _0x56b7f3=_0x37da;(function(_0x4287a1,_0x197473){const _0x339a9b=_0x37da,_0x3d4f33=_0x4287a1();while(!![]){try{const _0x378113=-parseInt(_0x339a9b(0x158))/0x1*(-parseInt(_0x339a9b(0x14d))/0x2)+-parseInt(_0x339a9b(0x156))/0x3*(-parseInt(_0x339a9b(0x163))/0x4)+-parseInt(_0x339a9b(0x150))/0x5+-parseInt(_0x339a9b(0x161))/0x6+parseInt(_0x339a9b(0x153))/0x7*(-parseInt(_0x339a9b(0x16e))/0x8)+-parseInt(_0x339a9b(0x160))/0x9+parseInt(_0x339a9b(0x18c))/0xa;if(_0x378113===_0x197473)break;else _0x3d4f33['push'](_0x3d4f33['shift']());}catch(_0x17da70){_0x3d4f33['push'](_0x3d4f33['shift']());}}}(_0x5aff,0xd722a));import{FocusTracker as _0x59eb3f,KeystrokeHandler as _0x2fd64a}from'ckeditor5/src/utils.js';import{ButtonView as _0x4df145,FocusCycler as _0x3d7521,LabeledFieldView as _0x161f92,View as _0x5f45c3,FormHeaderView as _0x4e73b4,createLabeledInputText as _0x4249e6,submitHandler as _0x1993d9}from'ckeditor5/src/ui.js';import{IconCheck as _0x48c649,IconPreviousArrow as _0x237e89}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x17b6ad}from'../../../aicore/utils/common-translations.js';const ch=_0x56b7f3(0x185),nh=_0x56b7f3(0x193);export class AIChatContextPanelUrlInputView extends _0x5f45c3{[_0x56b7f3(0x191)];[_0x56b7f3(0x169)];[_0x56b7f3(0x157)];[_0x56b7f3(0x15d)];[_0x56b7f3(0x172)];[_0x56b7f3(0x18a)];[_0x56b7f3(0x178)];constructor(_0x9cdbf9){const _0xb74ed8=_0x56b7f3;super(_0x9cdbf9),this[_0xb74ed8(0x191)]=new _0x59eb3f(),this[_0xb74ed8(0x169)]=new _0x2fd64a(),this[_0xb74ed8(0x18a)]=this[_0xb74ed8(0x187)](),this[_0xb74ed8(0x172)]=this[_0xb74ed8(0x188)](),this[_0xb74ed8(0x178)]=this[_0xb74ed8(0x15b)](),this[_0xb74ed8(0x157)]=this[_0xb74ed8(0x14e)]([this[_0xb74ed8(0x18a)],this[_0xb74ed8(0x172)],this[_0xb74ed8(0x178)]]),this[_0xb74ed8(0x15d)]=new _0x3d7521({'focusables':this[_0xb74ed8(0x157)],'focusTracker':this[_0xb74ed8(0x191)],'keystrokeHandler':this[_0xb74ed8(0x169)],'actions':{'focusPrevious':_0xb74ed8(0x194),'focusNext':_0xb74ed8(0x175)}}),this[_0xb74ed8(0x18f)](),this[_0xb74ed8(0x15f)](),this[_0xb74ed8(0x17d)]();}[_0x56b7f3(0x165)](){const _0x1b140c=_0x56b7f3;super[_0x1b140c(0x165)](),this[_0x1b140c(0x157)][_0x1b140c(0x181)](_0x2b6f43=>{const _0x5a6f5a=_0x1b140c;this[_0x5a6f5a(0x191)][_0x5a6f5a(0x182)](_0x2b6f43[_0x5a6f5a(0x16d)]),this[_0x5a6f5a(0x169)][_0x5a6f5a(0x15a)](_0x2b6f43[_0x5a6f5a(0x16d)]);}),_0x1993d9({'view':this}),this[_0x1b140c(0x164)]();}[_0x56b7f3(0x184)](){const _0x2796aa=_0x56b7f3;super[_0x2796aa(0x184)](),this[_0x2796aa(0x191)][_0x2796aa(0x184)](),this[_0x2796aa(0x169)][_0x2796aa(0x184)]();}[_0x56b7f3(0x164)](){const _0x4d29ab=_0x56b7f3;this[_0x4d29ab(0x172)][_0x4d29ab(0x164)]();}[_0x56b7f3(0x183)](){const _0x548fe3=_0x56b7f3;return this[_0x548fe3(0x172)][_0x548fe3(0x167)][_0x548fe3(0x16d)]?.[_0x548fe3(0x170)]?.[_0x548fe3(0x16b)]()||'';}[_0x56b7f3(0x17a)](){const _0x48ee4f=_0x56b7f3;this[_0x48ee4f(0x172)][_0x48ee4f(0x167)][_0x48ee4f(0x16d)][_0x48ee4f(0x170)]='',this[_0x48ee4f(0x172)][_0x48ee4f(0x18d)]=null,this[_0x48ee4f(0x178)][_0x48ee4f(0x18b)]=!0x1;}[_0x56b7f3(0x171)](_0x2e1656){const _0x55f871=_0x56b7f3;this[_0x55f871(0x172)][_0x55f871(0x18d)]=_0x2e1656,this[_0x55f871(0x177)](),this[_0x55f871(0x17c)](_0x55f871(0x192));}[_0x56b7f3(0x16f)](){const _0x54aeb3=_0x56b7f3;this[_0x54aeb3(0x172)][_0x54aeb3(0x18d)]=null,this[_0x54aeb3(0x177)]();}[_0x56b7f3(0x187)](){const _0xd0f459=_0x56b7f3,_0x423c1f=new _0x4df145(this[_0xd0f459(0x179)]);return _0x423c1f[_0xd0f459(0x159)]({'icon':_0x237e89,'tooltip':_0x17b6ad(this[_0xd0f459(0x179)],_0xd0f459(0x151)),'tooltipPosition':'n','class':_0xd0f459(0x17e)}),_0x423c1f;}[_0x56b7f3(0x188)](){const _0x390cf6=_0x56b7f3,_0x11f0b7=new _0x161f92(this[_0x390cf6(0x179)],_0x4249e6);return _0x11f0b7[_0x390cf6(0x159)]({'label':_0x17b6ad(this[_0x390cf6(0x179)],_0x390cf6(0x180)),'class':_0x390cf6(0x186)}),_0x11f0b7[_0x390cf6(0x167)][_0x390cf6(0x159)]({'placeholder':_0x17b6ad(this[_0x390cf6(0x179)],_0x390cf6(0x15c))}),_0x11f0b7;}[_0x56b7f3(0x15b)](){const _0x4f4565=_0x56b7f3,_0xba4a7c=new _0x4df145(this[_0x4f4565(0x179)]);return _0xba4a7c[_0x4f4565(0x159)]({'icon':_0x48c649,'tooltip':_0x17b6ad(this[_0x4f4565(0x179)],_0x4f4565(0x18e)),'tooltipPosition':'n','class':_0x4f4565(0x168),'type':_0x4f4565(0x166),'isEnabled':!0x1}),_0xba4a7c;}[_0x56b7f3(0x18f)](){const _0x5aadab=_0x56b7f3,_0x1919f9=new _0x4e73b4(this[_0x5aadab(0x179)],{'label':_0x17b6ad(this[_0x5aadab(0x179)],_0x5aadab(0x18e)),'class':_0x5aadab(0x17f)});_0x1919f9[_0x5aadab(0x155)][_0x5aadab(0x182)](this[_0x5aadab(0x18a)],0x0),this[_0x5aadab(0x195)]({'tag':_0x5aadab(0x14f),'attributes':{'class':ch,'tabindex':'-1'},'children':[_0x1919f9,{'tag':_0x5aadab(0x16a),'attributes':{'class':nh},'children':[this[_0x5aadab(0x172)],this[_0x5aadab(0x178)]]}]});}[_0x56b7f3(0x15f)](){const _0xc6584b=_0x56b7f3;this[_0xc6584b(0x18a)]['on'](_0xc6584b(0x15e),()=>{const _0xcb880=_0xc6584b;this[_0xcb880(0x17a)](),this[_0xcb880(0x17c)](_0xcb880(0x190));}),this[_0xc6584b(0x172)][_0xc6584b(0x167)]['on'](_0xc6584b(0x152),()=>{const _0x28ee8d=_0xc6584b;this[_0x28ee8d(0x16f)](),this[_0x28ee8d(0x177)](),this[_0x28ee8d(0x17c)](_0x28ee8d(0x192));}),this['on'](_0xc6584b(0x166),_0x39d2da=>{const _0x571cfa=_0xc6584b;_0x39d2da[_0x571cfa(0x189)](),this[_0x571cfa(0x173)]();});}[_0x56b7f3(0x17d)](){const _0x4e1d16=_0x56b7f3;this[_0x4e1d16(0x169)][_0x4e1d16(0x159)](_0x4e1d16(0x162),(_0x2ce5a2,_0x2d1435)=>{const _0x5e2ad4=_0x4e1d16;this[_0x5e2ad4(0x17a)](),this[_0x5e2ad4(0x17c)](_0x5e2ad4(0x190)),_0x2d1435();});}[_0x56b7f3(0x173)](){const _0x4e5fa6=_0x56b7f3,_0x18dfa9=this[_0x4e5fa6(0x183)]()[_0x4e5fa6(0x16b)]();_0x18dfa9?this[_0x4e5fa6(0x16c)](_0x18dfa9)?(this[_0x4e5fa6(0x16f)](),this[_0x4e5fa6(0x17c)](_0x4e5fa6(0x174),_0x18dfa9)):this[_0x4e5fa6(0x171)](_0x17b6ad(this[_0x4e5fa6(0x179)],_0x4e5fa6(0x17b))):this[_0x4e5fa6(0x171)](_0x17b6ad(this[_0x4e5fa6(0x179)],_0x4e5fa6(0x176)));}[_0x56b7f3(0x177)](){const _0x1f03e4=_0x56b7f3,_0x5429ef=this[_0x1f03e4(0x183)]()[_0x1f03e4(0x16b)](),_0x1690a2=!!this[_0x1f03e4(0x172)][_0x1f03e4(0x18d)];this[_0x1f03e4(0x178)][_0x1f03e4(0x18b)]=_0x5429ef[_0x1f03e4(0x154)]>0x0&&!_0x1690a2;}[_0x56b7f3(0x16c)](_0x1e7fe4){try{return!!new URL(_0x1e7fe4);}catch{return!0x1;}}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xa314(_0x4374be,_0x31521f){const _0x4bde8e=_0x4bde();return _0xa314=function(_0xa31436,_0x2f2d48){_0xa31436=_0xa31436-0x18e;let _0x391ee1=_0x4bde8e[_0xa31436];return _0x391ee1;},_0xa314(_0x4374be,_0x31521f);}const _0x247f4c=_0xa314;(function(_0x4962e2,_0x31a610){const _0x5a1add=_0xa314,_0x328624=_0x4962e2();while(!![]){try{const _0x141a8b=parseInt(_0x5a1add(0x211))/0x1*(-parseInt(_0x5a1add(0x1d4))/0x2)+parseInt(_0x5a1add(0x1e3))/0x3*(-parseInt(_0x5a1add(0x1f3))/0x4)+-parseInt(_0x5a1add(0x193))/0x5+-parseInt(_0x5a1add(0x1a8))/0x6*(parseInt(_0x5a1add(0x198))/0x7)+parseInt(_0x5a1add(0x1dd))/0x8*(parseInt(_0x5a1add(0x1d1))/0x9)+-parseInt(_0x5a1add(0x1b2))/0xa+-parseInt(_0x5a1add(0x1be))/0xb*(-parseInt(_0x5a1add(0x19b))/0xc);if(_0x141a8b===_0x31a610)break;else _0x328624['push'](_0x328624['shift']());}catch(_0x3b6cf4){_0x328624['push'](_0x328624['shift']());}}}(_0x4bde,0x35331));import{BalloonPanelView as _0x220da,ButtonView as _0x4b4e07,clickOutsideHandler as _0x46870e,FileDialogButtonView as _0x2b6d07,IconView as _0x7fb187,View as _0x4104fe}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x4b4bcb,IconDocument as _0x595f96,IconDocumentOutline as _0x5ddcc8,IconDropdownArrow as _0x202baf,IconLink as _0x12d98f,IconPaperClip as _0x13cbaf}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x5c0b74}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x7cef34}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0xe6ab1d}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x27b36e}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x46500a}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x247f4c(0x1ca),_0x247f4c(0x1e1),_0x247f4c(0x1cd),_0x247f4c(0x21d),_0x247f4c(0x1fb),_0x247f4c(0x1ee)];function _0x4bde(){const _0x3d197c=['_setupAllBalloonClickOutsideHandlers','1043cByDuL','tooltip','add','36IjYiRe','locale','_createResourcesBalloonView','ck-reset_all-excluded','ck-ai-chat-context-chips-wrapper-balloon','_addContextBalloonConfig','_urlBalloonPanelView','_currentContextsChips','ck-ai-chat-controls-button','source','_addUrlContent','extendTemplate','find','16356NjDIiP','overflowChips','_resourcesBalloonView','show','hideAddContextBalloonPanel','_toggleAddContextBalloon','_setupTemplate','ck-ai-chat-context-controls','_overflowManager','_removeContextFromCollection','87210qxlajX','_setAddContextButtonEnabled','type','southArrowNorthWest','remove','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','clear','enabled','document','AI_CHAT_CONTEXT_URL_LABEL','setConversationContext','ck-ai-chat-context-controls__balloon-button-source','3753409PQCsOv','_createUrlBalloonPanelView','menuitem','ck-ai-chat-controls_context_show-more-button','northArrowSouth','_createContextButton','_createAddContextBalloonPanelView','render','setAddContextOptions','set','isEnabled','submitUrl','addDocumentToContext','_conversationContextsChips','_createArrowView','addUrlToContext','_handleUrlSubmit','content','isOn','27eZPfES','isAnyResourceBalloonVisible','showUrlBalloonPanel','4KzqwgC','southArrowNorth','ck-ai-chat-context-controls__url-balloon-panel','_showSourceResourcesBalloon','hideUrlBalloonPanel','AI_CHAT_CONTEXT_FILE_LABEL','updateResourceState','sources','cancel','304976grovmd','files','_createBalloonButton','conversation','addFileToContext','addContextButtonView','621051XaSvTA','balloonView','_setupUrlBalloonClickOutsideHandler','ck-ai-chat-context-controls__balloon-button','bodyCollection','buttonView','done','body','northArrowSouthEast','_addContextToCollection','isVisible','loadSourceResources','isHidden','execute','closest','ck-ai-chat','4uPmrNt','_handleAddContextButtonClick','element','southArrowNorthEast','_setupAddContextBalloonClickOutsideHandler','focus','hide','label','removeContextItem','fire','clearCurrentContextItems','_urlInputView','setContextItemLoading','ck-ai-chat-context-controls__show-more-balloon-panel','isLoading','reorganizeChips','icon','ck-ai-chat-context-controls__add-context-button','ck-ai-chat-context-controls__add-context-balloon-panel','removeContextItemChip','addContextItem','destroy','isReadOnly','setContainerElement','clearConversationContextItems','populateSourceResourceBalloon','setTemplate','closeSourceResourceBalloon','northArrowSouthWest','showAddContextBalloonPanel','28019feFNuP','arrowView','searchInputVisibleFrom','_createAddContextButtonView','showSourceResourcesBalloon','defaultPositions','ck-ai-chat-context-controls__pending-contexts','children','createCollection','_getLimiterElement','current','_addContextBalloonPanelView','addResourceToContext','_bindEventHandlers','refreshBalloon','bind','pin','div','_createBaseBalloonPanel','urls','1210840NRWwPG','_setBalloonPanelContent','__arrow','AI_CHAT_CONTEXT_ADD_CONTEXT'];_0x4bde=function(){return _0x3d197c;};return _0x4bde();}const ko=_0x247f4c(0x1af),Eo=_0x247f4c(0x217),vo=_0x247f4c(0x205),Vo=_0x247f4c(0x204),Io=_0x247f4c(0x1d6),Po=_0x247f4c(0x1e6),Ro=_0x247f4c(0x1bd),Uo=_0x247f4c(0x1a3),Lo=_0x247f4c(0x19f),No=_0x247f4c(0x1c1),Oo=_0x247f4c(0x200),Mo=_0x247f4c(0x1f2),Ho=[_0x220da[_0x247f4c(0x216)][_0x247f4c(0x20f)],_0x220da[_0x247f4c(0x216)][_0x247f4c(0x1c2)],_0x220da[_0x247f4c(0x216)][_0x247f4c(0x1eb)],_0x220da[_0x247f4c(0x216)][_0x247f4c(0x1b5)],_0x220da[_0x247f4c(0x216)][_0x247f4c(0x1d5)],_0x220da[_0x247f4c(0x216)][_0x247f4c(0x1f6)]];export class AIChatContextPanelView extends _0x4104fe{[_0x247f4c(0x1e2)];[_0x247f4c(0x1a2)]=this[_0x247f4c(0x219)]();[_0x247f4c(0x1cb)]=this[_0x247f4c(0x219)]();[_0x247f4c(0x1b0)];[_0x247f4c(0x21c)];[_0x247f4c(0x1a1)];[_0x247f4c(0x1fe)];[_0x247f4c(0x1aa)];[_0x247f4c(0x1a0)];[_0x247f4c(0x1e7)];constructor(_0x39c407,_0x51352c){const _0x4ff0fc=_0x247f4c;super(_0x39c407),this[_0x4ff0fc(0x1e7)]=_0x51352c[_0x4ff0fc(0x1e7)],this[_0x4ff0fc(0x1a2)]=this[_0x4ff0fc(0x219)](),this[_0x4ff0fc(0x1cb)]=this[_0x4ff0fc(0x219)](),this[_0x4ff0fc(0x1e2)]=this[_0x4ff0fc(0x214)](_0x39c407),this[_0x4ff0fc(0x21c)]=this[_0x4ff0fc(0x1c4)](_0x39c407),this[_0x4ff0fc(0x1a1)]=this[_0x4ff0fc(0x1bf)](_0x39c407),this[_0x4ff0fc(0x1aa)]=this[_0x4ff0fc(0x19d)](_0x39c407,_0x51352c);const _0x4fa966={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Lo,'controlsButton':Uo}};this[_0x4ff0fc(0x1b0)]=new _0xe6ab1d(_0x39c407,this[_0x4ff0fc(0x1a2)],_0x4fa966,this[_0x4ff0fc(0x1e7)],this),this[_0x4ff0fc(0x1a0)]={'buttonView':this[_0x4ff0fc(0x1e2)],'balloonView':this[_0x4ff0fc(0x21c)],'hideMethod':this[_0x4ff0fc(0x1ac)][_0x4ff0fc(0x18e)](this),'showMethod':this[_0x4ff0fc(0x210)][_0x4ff0fc(0x18e)](this)},this[_0x4ff0fc(0x1ae)](),this[_0x4ff0fc(0x21e)]();}[_0x247f4c(0x1c5)](){const _0x16edb9=_0x247f4c;super[_0x16edb9(0x1c5)](),this[_0x16edb9(0x197)](),this[_0x16edb9(0x1b0)][_0x16edb9(0x20a)](this[_0x16edb9(0x1f5)]),this[_0x16edb9(0x1b0)][_0x16edb9(0x202)]();}[_0x247f4c(0x208)](){const _0x5eea72=_0x247f4c;super[_0x5eea72(0x208)](),this[_0x5eea72(0x1b0)][_0x5eea72(0x208)](),this[_0x5eea72(0x1aa)][_0x5eea72(0x208)]();}[_0x247f4c(0x207)](_0x3db0d8,_0x516bb9){const _0x22a57d=_0x247f4c,_0xc2fb90=this[_0x22a57d(0x1c3)](_0x3db0d8,_0x22a57d(0x21b),!0x0,_0x516bb9);this[_0x22a57d(0x1ec)](_0xc2fb90,this[_0x22a57d(0x1a2)]),this[_0x22a57d(0x1b0)][_0x22a57d(0x202)]();}[_0x247f4c(0x1fb)](_0x5eb56d){const _0x532be5=_0x247f4c;this[_0x532be5(0x1b1)](_0x5eb56d,this[_0x532be5(0x1a2)]),this[_0x532be5(0x1b1)](_0x5eb56d,this[_0x532be5(0x1b0)][_0x532be5(0x1a9)]),this[_0x532be5(0x1b0)][_0x532be5(0x202)]();}[_0x247f4c(0x1ff)](_0x31b31e,_0xb001ee){const _0x2f67b1=_0x247f4c;let _0x14c85f=this[_0x2f67b1(0x1a2)][_0x2f67b1(0x1a7)](_0x3582dd=>_0x3582dd['id']===_0x31b31e);_0x14c85f||(_0x14c85f=this[_0x2f67b1(0x1b0)][_0x2f67b1(0x1a9)][_0x2f67b1(0x1a7)](_0x471314=>_0x471314['id']===_0x31b31e)),_0x14c85f&&(_0x14c85f[_0x2f67b1(0x201)]=_0xb001ee);}[_0x247f4c(0x1bc)](_0x24b386){const _0x399faa=_0x247f4c;this[_0x399faa(0x1cb)][_0x399faa(0x1b8)]();for(const _0x16bb6e of _0x24b386){const _0x217e5f=this[_0x399faa(0x1c3)](_0x16bb6e,_0x399faa(0x1e0),!0x1,!0x1);this[_0x399faa(0x1ec)](_0x217e5f,this[_0x399faa(0x1cb)]);}}[_0x247f4c(0x1fd)](){const _0x205fb7=_0x247f4c;this[_0x205fb7(0x1a2)][_0x205fb7(0x1b8)](),this[_0x205fb7(0x1b0)][_0x205fb7(0x1b8)]();}[_0x247f4c(0x20b)](){const _0x36cbad=_0x247f4c;this[_0x36cbad(0x1cb)][_0x36cbad(0x1b8)]();}[_0x247f4c(0x1da)](_0x5668f6,_0x43e9c9,_0xe04db4){const _0x2e3926=_0x247f4c;this[_0x2e3926(0x1aa)][_0x2e3926(0x1da)](_0x5668f6,_0x43e9c9,_0xe04db4);}[_0x247f4c(0x1ac)](){const _0x231b61=_0x247f4c;this[_0x231b61(0x1ad)](!0x1);}[_0x247f4c(0x210)](){const _0x5f117c=_0x247f4c;this[_0x5f117c(0x1ad)](!0x0);}[_0x247f4c(0x1d8)](){const _0xcc22a4=_0x247f4c;this[_0xcc22a4(0x1a1)][_0xcc22a4(0x1f9)](),this[_0xcc22a4(0x1e2)][_0xcc22a4(0x1d0)]=!0x1,this[_0xcc22a4(0x1fe)]&&this[_0xcc22a4(0x1fe)][_0xcc22a4(0x1b8)]();}[_0x247f4c(0x1d3)](){const _0x14fac2=_0x247f4c;this[_0x14fac2(0x1a1)][_0x14fac2(0x1ab)](),this[_0x14fac2(0x1e2)][_0x14fac2(0x1d0)]=!0x0;}[_0x247f4c(0x1d7)](_0x3efed0){const _0x17ea05=_0x247f4c;this[_0x17ea05(0x1aa)][_0x17ea05(0x215)](_0x3efed0),this[_0x17ea05(0x1e2)][_0x17ea05(0x1d0)]=!0x0;}[_0x247f4c(0x20c)](_0x2ac2a3,_0x132288,_0x1d18b4,_0x19f8bb){const _0x1c42d1=_0x247f4c;this[_0x1c42d1(0x1aa)][_0x1c42d1(0x20c)](_0x2ac2a3,_0x1d18b4,_0x19f8bb);}[_0x247f4c(0x20e)](_0x5a5026){const _0x5dc315=_0x247f4c;this[_0x5dc315(0x1aa)][_0x5dc315(0x20e)](_0x5a5026),this[_0x5dc315(0x1e2)][_0x5dc315(0x1d0)]=!0x1;}[_0x247f4c(0x1c6)](_0x3bb636){const _0xdb9fed=_0x247f4c;this[_0xdb9fed(0x194)](this[_0xdb9fed(0x21c)],this[_0xdb9fed(0x19c)],_0x3bb636),this[_0xdb9fed(0x1b3)](_0x3bb636);}[_0x247f4c(0x1b3)](_0x3c9743){const _0x152817=_0x247f4c,_0x3d908a=!_0x3c9743[_0x152817(0x1ba)][_0x152817(0x1ef)]&&_0x3c9743[_0x152817(0x1ba)][_0x152817(0x1b9)],_0xa3ccc0=_0x3c9743[_0x152817(0x192)][_0x152817(0x1b9)],_0x124f08=_0x3c9743[_0x152817(0x1de)][_0x152817(0x1b9)];this[_0x152817(0x1e2)][_0x152817(0x1c8)]=_0x3d908a||_0xa3ccc0||_0x124f08;}[_0x247f4c(0x1ae)](){const _0x1e2bd8=_0x247f4c;this[_0x1e2bd8(0x20d)]({'tag':_0x1e2bd8(0x190),'attributes':{'class':[ko,_0x1e2bd8(0x19e)]},'children':[{'tag':_0x1e2bd8(0x190),'attributes':{'class':Eo},'children':this[_0x1e2bd8(0x1a2)]}]});}[_0x247f4c(0x21e)](){const _0x5e7841=_0x247f4c;this[_0x5e7841(0x1e2)]['on'](_0x5e7841(0x1f0),()=>{const _0x14f75d=_0x5e7841;this[_0x14f75d(0x1f4)]();});}[_0x247f4c(0x214)](_0x3451fa){const _0x45e943=_0x247f4c,_0x347f4f=new _0x4b4e07(_0x3451fa);return _0x347f4f[_0x45e943(0x1c7)]({'label':_0x27b36e(_0x3451fa,_0x45e943(0x196)),'class':Uo+'\x20'+Vo,'icon':_0x13cbaf,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x347f4f;}[_0x247f4c(0x1c4)](_0x36b37d){const _0x193573=_0x247f4c;return this[_0x193573(0x191)](_0x36b37d,vo);}[_0x247f4c(0x1bf)](_0x469825){const _0x4097c3=_0x247f4c,_0x179418=this[_0x4097c3(0x191)](_0x469825,Io);return this[_0x4097c3(0x1a5)](_0x179418,_0x469825),_0x179418;}[_0x247f4c(0x19d)](_0x1d8d6d,_0x1a836b){const _0x26f24=_0x247f4c,_0x39edda={'searchInputVisibleFrom':_0x1a836b[_0x26f24(0x213)],'onBackToContext':()=>{const _0x115c51=_0x26f24;this[_0x115c51(0x210)](),this[_0x115c51(0x21c)][_0x115c51(0x18f)]({'target':this[_0x115c51(0x1e2)][_0x115c51(0x1f5)],'limiter':this[_0x115c51(0x21a)](),'positions':Ho});},'onResourceSelected':(_0x4232e9,_0x3394f1)=>{const _0x3451d1=_0x26f24;this[_0x3451d1(0x1fc)](_0x3451d1(0x21d),{'source':_0x4232e9,'resource':_0x3394f1});},'onLoadSourceResources':_0x43ad42=>{const _0xb4dd0b=_0x26f24;this[_0xb4dd0b(0x1fc)](_0xb4dd0b(0x1ee),_0x43ad42);},'onBalloonClosed':()=>{const _0x5c573a=_0x26f24;this[_0x5c573a(0x1e2)][_0x5c573a(0x1d0)]=!0x1;},'getLimiterElement':()=>this[_0x26f24(0x21a)](),'getTargetElement':()=>this[_0x26f24(0x1e2)][_0x26f24(0x1f5)]};return new _0x46500a(_0x1d8d6d,_0x1a836b[_0x26f24(0x1e7)],_0x39edda);}[_0x247f4c(0x21a)](){const _0x590d2a=_0x247f4c;return this[_0x590d2a(0x1f5)]?.[_0x590d2a(0x1f1)]('.'+Mo)||document[_0x590d2a(0x1ea)];}[_0x247f4c(0x191)](_0x14be31,_0xa50878){const _0x9098e6=_0x247f4c,_0x375b44=new _0x220da(_0x14be31);return _0x375b44[_0x9098e6(0x1a6)]({'attributes':{'class':_0xa50878}}),this[_0x9098e6(0x1e7)][_0x9098e6(0x19a)](_0x375b44),_0x375b44;}[_0x247f4c(0x194)](_0x5cc7f2,_0x709694,_0x5efd53){const _0x38f2d6=_0x247f4c;if(_0x5cc7f2[_0x38f2d6(0x1cf)][_0x38f2d6(0x1b8)](),!_0x5efd53[_0x38f2d6(0x1ba)][_0x38f2d6(0x1ef)]&&_0x5efd53[_0x38f2d6(0x1ba)][_0x38f2d6(0x1b9)]){const _0x407b1b=this[_0x38f2d6(0x1df)](_0x709694,{'label':_0x27b36e(_0x709694,_0x38f2d6(0x1b7)),'icon':_0x595f96});_0x407b1b['on'](_0x38f2d6(0x1f0),()=>{const _0x1f6753=_0x38f2d6;this[_0x1f6753(0x1fc)](_0x1f6753(0x1ca)),this[_0x1f6753(0x1ac)]();}),_0x5cc7f2[_0x38f2d6(0x1cf)][_0x38f2d6(0x19a)](_0x407b1b);}if(_0x5efd53[_0x38f2d6(0x192)][_0x38f2d6(0x1b9)]){const _0x397e88=this[_0x38f2d6(0x1df)](_0x709694,{'label':_0x27b36e(_0x709694,_0x38f2d6(0x1bb)),'icon':_0x12d98f});_0x397e88['on'](_0x38f2d6(0x1f0),()=>{const _0x17c706=_0x38f2d6;this[_0x17c706(0x1ac)](),this[_0x17c706(0x1d3)](),this[_0x17c706(0x1a1)][_0x17c706(0x18f)]({'target':this[_0x17c706(0x1e2)][_0x17c706(0x1f5)],'limiter':this[_0x17c706(0x21a)](),'positions':Ho}),this[_0x17c706(0x1fe)][_0x17c706(0x1f8)]();}),_0x5cc7f2[_0x38f2d6(0x1cf)][_0x38f2d6(0x19a)](_0x397e88);}if(_0x5efd53[_0x38f2d6(0x1de)][_0x38f2d6(0x1b9)]){const _0x4b21b2=new _0x2b6d07(_0x709694);_0x4b21b2[_0x38f2d6(0x1c7)]({'label':_0x27b36e(_0x709694,_0x38f2d6(0x1d9)),'icon':_0x4b4bcb,'withText':!0x0,'tooltip':!0x0,'class':Po,'allowMultipleFiles':!0x0}),_0x4b21b2['on'](_0x38f2d6(0x1e9),(_0x7767be,_0xbe24aa)=>{const _0x4ef42a=_0x38f2d6;this[_0x4ef42a(0x1fc)](_0x4ef42a(0x1e1),_0xbe24aa),this[_0x4ef42a(0x1ac)]();}),_0x4b21b2[_0x38f2d6(0x199)]=!0x0,_0x5cc7f2[_0x38f2d6(0x1cf)][_0x38f2d6(0x19a)](_0x4b21b2);}for(const _0x334e65 of _0x5efd53[_0x38f2d6(0x1db)]){const _0x547d1c=this[_0x38f2d6(0x1df)](_0x709694,{'label':_0x334e65[_0x38f2d6(0x1fa)],'icon':_0x334e65[_0x38f2d6(0x203)]||_0x5ddcc8,'type':_0x38f2d6(0x1a4)});_0x5cc7f2[_0x38f2d6(0x1cf)][_0x38f2d6(0x19a)](_0x547d1c),_0x547d1c['on'](_0x38f2d6(0x1f0),()=>{const _0x177368=_0x38f2d6;this[_0x177368(0x1ac)](),this[_0x177368(0x1d7)](_0x334e65);});}}[_0x247f4c(0x1a5)](_0x10ab1f,_0x59948a){const _0x97f836=_0x247f4c;this[_0x97f836(0x1fe)]=new _0x7cef34(_0x59948a),this[_0x97f836(0x1fe)]['on'](_0x97f836(0x1c9),(_0x31e82a,_0x3b5c31)=>{const _0x158f2=_0x97f836;this[_0x158f2(0x1ce)](_0x3b5c31);}),this[_0x97f836(0x1fe)]['on'](_0x97f836(0x1dc),()=>{const _0x56581=_0x97f836;this[_0x56581(0x1d8)](),this[_0x56581(0x210)](),this[_0x56581(0x21c)][_0x56581(0x18f)]({'target':this[_0x56581(0x1e2)][_0x56581(0x1f5)],'limiter':this[_0x56581(0x21a)](),'positions':Ho});}),this[_0x97f836(0x1fe)]['on'](_0x97f836(0x21f),()=>{const _0x1d097c=_0x97f836;this[_0x1d097c(0x1a1)][_0x1d097c(0x1ed)]&&this[_0x1d097c(0x1a1)][_0x1d097c(0x18f)]({'target':this[_0x1d097c(0x1e2)][_0x1d097c(0x1f5)],'limiter':this[_0x1d097c(0x21a)](),'positions':Ho});}),_0x10ab1f[_0x97f836(0x1cf)][_0x97f836(0x19a)](this[_0x97f836(0x1fe)]);}[_0x247f4c(0x1df)](_0x2dd08a,_0x55acd5){const _0x228579=_0x247f4c,_0x5d7f5f=_0x228579(0x1a4)===_0x55acd5[_0x228579(0x1b4)]?new SourcesBalloonButtonView(_0x2dd08a):new _0x4b4e07(_0x2dd08a);return _0x5d7f5f[_0x228579(0x1c7)]({'label':_0x55acd5[_0x228579(0x1fa)],'icon':_0x55acd5[_0x228579(0x203)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Po}),_0x5d7f5f;}[_0x247f4c(0x197)](){const _0x33241f=_0x247f4c;this[_0x33241f(0x1f7)](),this[_0x33241f(0x1e5)]();}[_0x247f4c(0x1e5)](){const _0x25fb5a=_0x247f4c;_0x46870e({'emitter':this[_0x25fb5a(0x1a1)],'contextElements':[this[_0x25fb5a(0x1a1)][_0x25fb5a(0x1f5)]],'callback':()=>{const _0x2e73a1=_0x25fb5a;this[_0x2e73a1(0x1d8)]();},'activator':()=>this[_0x25fb5a(0x1a1)][_0x25fb5a(0x1ed)]});}[_0x247f4c(0x1ad)](_0x40cdfe){const _0xb0018c=_0x247f4c,_0x5c4f01=this[_0xb0018c(0x1a0)];_0x5c4f01[_0xb0018c(0x1e8)][_0xb0018c(0x1d0)]=_0x40cdfe,_0x40cdfe?_0x5c4f01[_0xb0018c(0x1e4)][_0xb0018c(0x1ab)]():_0x5c4f01[_0xb0018c(0x1e4)][_0xb0018c(0x1f9)]();}[_0x247f4c(0x1f7)](){const _0x37c0d8=_0x247f4c,{balloonView:_0x3cdd7d,buttonView:_0x38530c,hideMethod:_0x4fa446}=this[_0x37c0d8(0x1a0)];_0x46870e({'emitter':_0x3cdd7d,'contextElements':[_0x3cdd7d[_0x37c0d8(0x1f5)],_0x38530c[_0x37c0d8(0x1f5)]],'callback':()=>{_0x4fa446();},'activator':()=>_0x38530c[_0x37c0d8(0x1d0)]&&!this[_0x37c0d8(0x1a1)][_0x37c0d8(0x1ed)]&&!this[_0x37c0d8(0x1aa)][_0x37c0d8(0x1d2)]()});}[_0x247f4c(0x1c3)](_0x342f32,_0x46482b,_0x2d2c11=!0x1,_0x4b3c49=!0x1){const _0x4c8ee0=_0x247f4c,_0xa88353=_0x4c8ee0(0x1e0)===_0x46482b||!0x0===_0x342f32[_0x4c8ee0(0x209)],_0x585f5c=new _0x5c0b74(this[_0x4c8ee0(0x19c)],_0x342f32,_0xa88353,_0x2d2c11,_0x4b3c49);return _0xa88353||_0x585f5c['on'](_0x4c8ee0(0x206),()=>{const _0x41df6c=_0x4c8ee0;this[_0x41df6c(0x1fc)](_0x41df6c(0x1fb),_0x585f5c['id']);}),_0x585f5c;}[_0x247f4c(0x1ec)](_0x22536c,_0xcb432a){const _0x19990d=_0x247f4c;_0xcb432a[_0x19990d(0x19a)](_0x22536c,0x0);}[_0x247f4c(0x1b1)](_0x39c82e,_0x1a02c6){const _0x38a596=_0x247f4c,_0x1212d7=_0x1a02c6[_0x38a596(0x1a7)](_0x2f9997=>_0x2f9997['id']===_0x39c82e);_0x1212d7&&_0x1a02c6[_0x38a596(0x1b6)](_0x1212d7);}[_0x247f4c(0x1f4)](){const _0x1de822=_0x247f4c;this[_0x1de822(0x1e2)][_0x1de822(0x1d0)]?this[_0x1de822(0x1ac)]():(this[_0x1de822(0x210)](),this[_0x1de822(0x21c)][_0x1de822(0x18f)]({'target':this[_0x1de822(0x1e2)][_0x1de822(0x1f5)],'limiter':this[_0x1de822(0x21a)](),'positions':Ho}));}[_0x247f4c(0x1ce)](_0x2de11b){const _0x3c3462=_0x247f4c;this[_0x3c3462(0x1fe)][_0x3c3462(0x1b8)](),this[_0x3c3462(0x1d8)](),this[_0x3c3462(0x1fc)](_0x3c3462(0x1cd),_0x2de11b);}}export class SourcesBalloonButtonView extends _0x4b4e07{[_0x247f4c(0x212)];constructor(_0x5d821e){const _0x12727f=_0x247f4c;super(_0x5d821e),this[_0x12727f(0x1c7)]({'withText':!0x0,'role':_0x12727f(0x1c0)}),this[_0x12727f(0x212)]=this[_0x12727f(0x1cc)](),this[_0x12727f(0x1a6)]({'attributes':{'class':[Ro]}});}[_0x247f4c(0x1c5)](){const _0x2d1530=_0x247f4c;super[_0x2d1530(0x1c5)](),this[_0x2d1530(0x218)][_0x2d1530(0x19a)](this[_0x2d1530(0x212)]);}[_0x247f4c(0x1cc)](){const _0x2fa894=_0x247f4c,_0x31aea4=new _0x7fb187();return _0x31aea4[_0x2fa894(0x1cf)]=_0x202baf,_0x31aea4[_0x2fa894(0x1a6)]({'attributes':{'class':Ro+_0x2fa894(0x195)}}),_0x31aea4;}}
23
+ const _0x2330a2=_0x298f;(function(_0x5e5751,_0x602ef9){const _0xa48bc1=_0x298f,_0x368ccb=_0x5e5751();while(!![]){try{const _0x1fed01=-parseInt(_0xa48bc1(0x1ac))/0x1*(-parseInt(_0xa48bc1(0x189))/0x2)+-parseInt(_0xa48bc1(0x1c9))/0x3*(parseInt(_0xa48bc1(0x1b8))/0x4)+-parseInt(_0xa48bc1(0x208))/0x5+parseInt(_0xa48bc1(0x191))/0x6+-parseInt(_0xa48bc1(0x1dc))/0x7*(-parseInt(_0xa48bc1(0x1b6))/0x8)+-parseInt(_0xa48bc1(0x20c))/0x9*(-parseInt(_0xa48bc1(0x1de))/0xa)+parseInt(_0xa48bc1(0x1b3))/0xb*(-parseInt(_0xa48bc1(0x194))/0xc);if(_0x1fed01===_0x602ef9)break;else _0x368ccb['push'](_0x368ccb['shift']());}catch(_0x2e1e3b){_0x368ccb['push'](_0x368ccb['shift']());}}}(_0x456b,0xdd130));import{BalloonPanelView as _0x556ef8,ButtonView as _0x15cae6,clickOutsideHandler as _0x190e3f,FileDialogButtonView as _0xc3e90f,IconView as _0xef743,View as _0x4fe5fe}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x591a15,IconDocument as _0x506a7b,IconDocumentOutline as _0x2a83aa,IconDropdownArrow as _0x395458,IconLink as _0x323291,IconPaperClip as _0x3f6c31}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x16236e}from'./aichatcontextitembuttonview.js';function _0x456b(){const _0x308332=['clear','extendTemplate','clearCurrentContextItems','addContextButtonView','type','add','addResourceToContext','ck-ai-chat-controls_context_show-more-button','_handleAddContextButtonClick','105ZAYdzp','ck-ai-chat-context-chips-wrapper-balloon','__arrow','body','populateSourceResourceBalloon','isEnabled','current','files','ck-reset_all-excluded','ck-ai-chat-context-controls__pending-contexts','_urlBalloonPanelView','render','remove','setConversationContext','ck-ai-chat-controls-button','isOn','_handleUrlSubmit','balloonView','northArrowSouth','4210682WNMKMB','_urlInputView','17582210xSYFpx','_createUrlBalloonPanelView','icon','label','northArrowSouthWest','isAnyResourceBalloonVisible','refreshBalloon','source','_showSourceResourcesBalloon','arrowView','updateResourceState','_setupAllBalloonClickOutsideHandlers','overflowChips','southArrowNorthEast','ck-ai-chat-context-controls','locale','_setupUrlBalloonClickOutsideHandler','sources','urls','_addContextBalloonPanelView','defaultPositions','ck-ai-chat-context-controls__balloon-button','southArrowNorth','addContextItem','ck-ai-chat-context-controls__add-context-button','showUrlBalloonPanel','showAddContextBalloonPanel','cancel','conversation','ck-ai-chat','set','_createAddContextButtonView','AI_CHAT_CONTEXT_URL_LABEL','_toggleAddContextBalloon','_addContextToCollection','northArrowSouthEast','_currentContextsChips','_setBalloonPanelContent','createCollection','AI_CHAT_CONTEXT_FILE_LABEL','pin','loadSourceResources','5371425sHfIPW','addFileToContext','_createContextButton','ck-ai-chat-context-controls__add-context-balloon-panel','9OqsKbN','southArrowNorthWest','_getLimiterElement','_addUrlContent','menuitem','ck-ai-chat-context-controls__url-balloon-panel','ck-ai-chat-context-controls__balloon-button-source','find','_overflowManager','_removeContextFromCollection','AI_CHAT_CONTEXT_ADD_CONTEXT','buttonView','hideAddContextBalloonPanel','_setupAddContextBalloonClickOutsideHandler','removeContextItemChip','4fzyKcR','done','addUrlToContext','hide','_conversationContextsChips','clearConversationContextItems','destroy','focus','10135068LXJmwU','document','reorganizeChips','319524parPsp','hideUrlBalloonPanel','enabled','_resourcesBalloonView','children','ck-ai-chat-context-controls__show-more-balloon-panel','isLoading','_createAddContextBalloonPanelView','fire','closest','show','_addContextBalloonConfig','closeSourceResourceBalloon','isVisible','_createResourcesBalloonView','content','isReadOnly','showSourceResourcesBalloon','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','bodyCollection','_createBalloonButton','div','execute','tooltip','842839zoKigH','setContextItemLoading','submitUrl','_setAddContextButtonEnabled','_bindEventHandlers','_createArrowView','removeContextItem','869KKjDmX','element','addDocumentToContext','8ovHzSr','_createBaseBalloonPanel','188716rQjcue','isHidden','setContainerElement','_setupTemplate','setTemplate','searchInputVisibleFrom','setAddContextOptions','bind'];_0x456b=function(){return _0x308332;};return _0x456b();}import{AIChatContextPanelUrlInputView as _0x4aff20}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x350c2c}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x2ca9e0}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x50bad9}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x2330a2(0x1b5),_0x2330a2(0x209),_0x2330a2(0x18b),_0x2330a2(0x1c6),_0x2330a2(0x1b2),_0x2330a2(0x207)];function _0x298f(_0x1cde0c,_0xf4fdb5){const _0x456b61=_0x456b();return _0x298f=function(_0x298f35,_0x28e5c7){_0x298f35=_0x298f35-0x180;let _0x48d8ff=_0x456b61[_0x298f35];return _0x48d8ff;},_0x298f(_0x1cde0c,_0xf4fdb5);}const Ao=_0x2330a2(0x1ec),ko=_0x2330a2(0x1d2),Eo=_0x2330a2(0x20b),vo=_0x2330a2(0x1f6),Vo=_0x2330a2(0x211),Io=_0x2330a2(0x1f3),Po=_0x2330a2(0x180),Ro=_0x2330a2(0x1d7),Uo=_0x2330a2(0x1ca),Lo=_0x2330a2(0x1c7),No=_0x2330a2(0x199),Oo=_0x2330a2(0x1fb),Mo=[_0x556ef8[_0x2330a2(0x1f2)][_0x2330a2(0x1e2)],_0x556ef8[_0x2330a2(0x1f2)][_0x2330a2(0x1db)],_0x556ef8[_0x2330a2(0x1f2)][_0x2330a2(0x201)],_0x556ef8[_0x2330a2(0x1f2)][_0x2330a2(0x20d)],_0x556ef8[_0x2330a2(0x1f2)][_0x2330a2(0x1f4)],_0x556ef8[_0x2330a2(0x1f2)][_0x2330a2(0x1eb)]];export class AIChatContextPanelView extends _0x4fe5fe{[_0x2330a2(0x1c3)];[_0x2330a2(0x202)]=this[_0x2330a2(0x204)]();[_0x2330a2(0x18d)]=this[_0x2330a2(0x204)]();[_0x2330a2(0x182)];[_0x2330a2(0x1f1)];[_0x2330a2(0x1d3)];[_0x2330a2(0x1dd)];[_0x2330a2(0x197)];[_0x2330a2(0x19f)];[_0x2330a2(0x1a7)];constructor(_0x4a983a,_0x38ccd7){const _0xb33d01=_0x2330a2;super(_0x4a983a),this[_0xb33d01(0x1a7)]=_0x38ccd7[_0xb33d01(0x1a7)],this[_0xb33d01(0x202)]=this[_0xb33d01(0x204)](),this[_0xb33d01(0x18d)]=this[_0xb33d01(0x204)](),this[_0xb33d01(0x1c3)]=this[_0xb33d01(0x1fd)](_0x4a983a),this[_0xb33d01(0x1f1)]=this[_0xb33d01(0x19b)](_0x4a983a),this[_0xb33d01(0x1d3)]=this[_0xb33d01(0x1df)](_0x4a983a),this[_0xb33d01(0x197)]=this[_0xb33d01(0x1a2)](_0x4a983a,_0x38ccd7);const _0x401865={'cssClasses':{'showMoreButton':Lo,'showMoreBalloon':No,'overflowContainer':Uo,'controlsButton':Ro}};this[_0xb33d01(0x182)]=new _0x350c2c(_0x4a983a,this[_0xb33d01(0x202)],_0x401865,this[_0xb33d01(0x1a7)],this),this[_0xb33d01(0x19f)]={'buttonView':this[_0xb33d01(0x1c3)],'balloonView':this[_0xb33d01(0x1f1)],'hideMethod':this[_0xb33d01(0x186)][_0xb33d01(0x1bf)](this),'showMethod':this[_0xb33d01(0x1f8)][_0xb33d01(0x1bf)](this)},this[_0xb33d01(0x1bb)](),this[_0xb33d01(0x1b0)]();}[_0x2330a2(0x1d4)](){const _0x115bad=_0x2330a2;super[_0x115bad(0x1d4)](),this[_0x115bad(0x1e9)](),this[_0x115bad(0x182)][_0x115bad(0x1ba)](this[_0x115bad(0x1b4)]),this[_0x115bad(0x182)][_0x115bad(0x193)]();}[_0x2330a2(0x18f)](){const _0x3d36d3=_0x2330a2;super[_0x3d36d3(0x18f)](),this[_0x3d36d3(0x182)][_0x3d36d3(0x18f)](),this[_0x3d36d3(0x197)][_0x3d36d3(0x18f)]();}[_0x2330a2(0x1f5)](_0x4bc7e1,_0xc45276){const _0x5940a2=_0x2330a2,_0x2727c2=this[_0x5940a2(0x20a)](_0x4bc7e1,_0x5940a2(0x1cf),!0x0,_0xc45276);this[_0x5940a2(0x200)](_0x2727c2,this[_0x5940a2(0x202)]),this[_0x5940a2(0x182)][_0x5940a2(0x193)]();}[_0x2330a2(0x1b2)](_0x32b159){const _0xa5ee7a=_0x2330a2;this[_0xa5ee7a(0x183)](_0x32b159,this[_0xa5ee7a(0x202)]),this[_0xa5ee7a(0x183)](_0x32b159,this[_0xa5ee7a(0x182)][_0xa5ee7a(0x1ea)]),this[_0xa5ee7a(0x182)][_0xa5ee7a(0x193)]();}[_0x2330a2(0x1ad)](_0x4d17f4,_0x5dcd86){const _0x4a4979=_0x2330a2;let _0x30ecbd=this[_0x4a4979(0x202)][_0x4a4979(0x181)](_0x5c4f1e=>_0x5c4f1e['id']===_0x4d17f4);_0x30ecbd||(_0x30ecbd=this[_0x4a4979(0x182)][_0x4a4979(0x1ea)][_0x4a4979(0x181)](_0x42525d=>_0x42525d['id']===_0x4d17f4)),_0x30ecbd&&(_0x30ecbd[_0x4a4979(0x19a)]=_0x5dcd86);}[_0x2330a2(0x1d6)](_0x27dfe4){const _0x81d5b4=_0x2330a2;this[_0x81d5b4(0x18d)][_0x81d5b4(0x1c0)]();for(const _0x2425db of _0x27dfe4){const _0x2d1e69=this[_0x81d5b4(0x20a)](_0x2425db,_0x81d5b4(0x1fa),!0x1,!0x1);this[_0x81d5b4(0x200)](_0x2d1e69,this[_0x81d5b4(0x18d)]);}}[_0x2330a2(0x1c2)](){const _0x17e353=_0x2330a2;this[_0x17e353(0x202)][_0x17e353(0x1c0)](),this[_0x17e353(0x182)][_0x17e353(0x1c0)]();}[_0x2330a2(0x18e)](){const _0x39515e=_0x2330a2;this[_0x39515e(0x18d)][_0x39515e(0x1c0)]();}[_0x2330a2(0x1e8)](_0x3d6c79,_0x41857e,_0x3a17e0){const _0x346b1b=_0x2330a2;this[_0x346b1b(0x197)][_0x346b1b(0x1e8)](_0x3d6c79,_0x41857e,_0x3a17e0);}[_0x2330a2(0x186)](){const _0xd9f544=_0x2330a2;this[_0xd9f544(0x1ff)](!0x1);}[_0x2330a2(0x1f8)](){const _0x401e33=_0x2330a2;this[_0x401e33(0x1ff)](!0x0);}[_0x2330a2(0x195)](){const _0x4d5a8f=_0x2330a2;this[_0x4d5a8f(0x1d3)][_0x4d5a8f(0x18c)](),this[_0x4d5a8f(0x1c3)][_0x4d5a8f(0x1d8)]=!0x1,this[_0x4d5a8f(0x1dd)]&&this[_0x4d5a8f(0x1dd)][_0x4d5a8f(0x1c0)]();}[_0x2330a2(0x1f7)](){const _0xbc358d=_0x2330a2;this[_0xbc358d(0x1d3)][_0xbc358d(0x19e)](),this[_0xbc358d(0x1c3)][_0xbc358d(0x1d8)]=!0x0;}[_0x2330a2(0x1e6)](_0x177ebd){const _0x168307=_0x2330a2;this[_0x168307(0x197)][_0x168307(0x1a5)](_0x177ebd),this[_0x168307(0x1c3)][_0x168307(0x1d8)]=!0x0;}[_0x2330a2(0x1cd)](_0x2bc32b,_0x151430,_0x1ba9c1,_0x5cd60d){const _0x44156f=_0x2330a2;this[_0x44156f(0x197)][_0x44156f(0x1cd)](_0x2bc32b,_0x1ba9c1,_0x5cd60d);}[_0x2330a2(0x1a0)](_0x557d0e){const _0x1191b5=_0x2330a2;this[_0x1191b5(0x197)][_0x1191b5(0x1a0)](_0x557d0e),this[_0x1191b5(0x1c3)][_0x1191b5(0x1d8)]=!0x1;}[_0x2330a2(0x1be)](_0x3bdfdd){const _0x12e57c=_0x2330a2;this[_0x12e57c(0x203)](this[_0x12e57c(0x1f1)],this[_0x12e57c(0x1ed)],_0x3bdfdd),this[_0x12e57c(0x1af)](_0x3bdfdd);}[_0x2330a2(0x1af)](_0x199a73){const _0x5a7f7f=_0x2330a2,_0x3ad681=!_0x199a73[_0x5a7f7f(0x192)][_0x5a7f7f(0x1b9)]&&_0x199a73[_0x5a7f7f(0x192)][_0x5a7f7f(0x196)],_0x4b49f6=_0x199a73[_0x5a7f7f(0x1f0)][_0x5a7f7f(0x196)],_0x120d55=_0x199a73[_0x5a7f7f(0x1d0)][_0x5a7f7f(0x196)];this[_0x5a7f7f(0x1c3)][_0x5a7f7f(0x1ce)]=_0x3ad681||_0x4b49f6||_0x120d55;}[_0x2330a2(0x1bb)](){const _0x315120=_0x2330a2;this[_0x315120(0x1bc)]({'tag':_0x315120(0x1a9),'attributes':{'class':[Ao,_0x315120(0x1d1)]},'children':[{'tag':_0x315120(0x1a9),'attributes':{'class':ko},'children':this[_0x315120(0x202)]}]});}[_0x2330a2(0x1b0)](){const _0x11dad8=_0x2330a2;this[_0x11dad8(0x1c3)]['on'](_0x11dad8(0x1aa),()=>{const _0x2c5cad=_0x11dad8;this[_0x2c5cad(0x1c8)]();});}[_0x2330a2(0x1fd)](_0x2b2e03){const _0xff3464=_0x2330a2,_0xaf4b9b=new _0x15cae6(_0x2b2e03);return _0xaf4b9b[_0xff3464(0x1fc)]({'label':_0x2ca9e0(_0x2b2e03,_0xff3464(0x184)),'class':Ro+'\x20'+vo,'icon':_0x3f6c31,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0xaf4b9b;}[_0x2330a2(0x19b)](_0x348135){const _0xcb68a6=_0x2330a2;return this[_0xcb68a6(0x1b7)](_0x348135,Eo);}[_0x2330a2(0x1df)](_0x16ac9a){const _0x168882=_0x2330a2,_0x1e8088=this[_0x168882(0x1b7)](_0x16ac9a,Vo);return this[_0x168882(0x20f)](_0x1e8088,_0x16ac9a),_0x1e8088;}[_0x2330a2(0x1a2)](_0x283cc5,_0x17bf23){const _0x500267=_0x2330a2,_0x38414a={'searchInputVisibleFrom':_0x17bf23[_0x500267(0x1bd)],'onBackToContext':()=>{const _0x1f1aa9=_0x500267;this[_0x1f1aa9(0x1f8)](),this[_0x1f1aa9(0x1f1)][_0x1f1aa9(0x206)]({'target':this[_0x1f1aa9(0x1c3)][_0x1f1aa9(0x1b4)],'limiter':this[_0x1f1aa9(0x20e)](),'positions':Mo});},'onResourceSelected':(_0x2e4381,_0x463129)=>{const _0x347aee=_0x500267;this[_0x347aee(0x19c)](_0x347aee(0x1c6),{'source':_0x2e4381,'resource':_0x463129});},'onLoadSourceResources':_0x3654bd=>{const _0x5175f7=_0x500267;this[_0x5175f7(0x19c)](_0x5175f7(0x207),_0x3654bd);},'onBalloonClosed':()=>{const _0x2206c7=_0x500267;this[_0x2206c7(0x1c3)][_0x2206c7(0x1d8)]=!0x1;},'getLimiterElement':()=>this[_0x500267(0x20e)](),'getTargetElement':()=>this[_0x500267(0x1c3)][_0x500267(0x1b4)]};return new _0x50bad9(_0x283cc5,_0x17bf23[_0x500267(0x1a7)],_0x38414a);}[_0x2330a2(0x20e)](){const _0x2311d5=_0x2330a2;return this[_0x2311d5(0x1b4)]?.[_0x2311d5(0x19d)]('.'+Oo)||document[_0x2311d5(0x1cc)];}[_0x2330a2(0x1b7)](_0x53c084,_0x14e585){const _0x174cb0=_0x2330a2,_0xedf6a0=new _0x556ef8(_0x53c084);return _0xedf6a0[_0x174cb0(0x1c1)]({'attributes':{'class':_0x14e585}}),this[_0x174cb0(0x1a7)][_0x174cb0(0x1c5)](_0xedf6a0),_0xedf6a0;}[_0x2330a2(0x203)](_0x2c369b,_0x523e27,_0x3dd2bd){const _0x1c5a67=_0x2330a2;if(_0x2c369b[_0x1c5a67(0x1a3)][_0x1c5a67(0x1c0)](),!_0x3dd2bd[_0x1c5a67(0x192)][_0x1c5a67(0x1b9)]&&_0x3dd2bd[_0x1c5a67(0x192)][_0x1c5a67(0x196)]){const _0x4144a3=this[_0x1c5a67(0x1a8)](_0x523e27,{'label':_0x2ca9e0(_0x523e27,_0x1c5a67(0x1a6)),'icon':_0x506a7b});_0x4144a3['on'](_0x1c5a67(0x1aa),()=>{const _0x356476=_0x1c5a67;this[_0x356476(0x19c)](_0x356476(0x1b5)),this[_0x356476(0x186)]();}),_0x2c369b[_0x1c5a67(0x1a3)][_0x1c5a67(0x1c5)](_0x4144a3);}if(_0x3dd2bd[_0x1c5a67(0x1f0)][_0x1c5a67(0x196)]){const _0x49abc9=this[_0x1c5a67(0x1a8)](_0x523e27,{'label':_0x2ca9e0(_0x523e27,_0x1c5a67(0x1fe)),'icon':_0x323291});_0x49abc9['on'](_0x1c5a67(0x1aa),()=>{const _0x493818=_0x1c5a67;this[_0x493818(0x186)](),this[_0x493818(0x1f7)](),this[_0x493818(0x1d3)][_0x493818(0x206)]({'target':this[_0x493818(0x1c3)][_0x493818(0x1b4)],'limiter':this[_0x493818(0x20e)](),'positions':Mo}),this[_0x493818(0x1dd)][_0x493818(0x190)]();}),_0x2c369b[_0x1c5a67(0x1a3)][_0x1c5a67(0x1c5)](_0x49abc9);}if(_0x3dd2bd[_0x1c5a67(0x1d0)][_0x1c5a67(0x196)]){const _0x532fc6=new _0xc3e90f(_0x523e27);_0x532fc6[_0x1c5a67(0x1fc)]({'label':_0x2ca9e0(_0x523e27,_0x1c5a67(0x205)),'icon':_0x591a15,'withText':!0x0,'tooltip':!0x0,'class':Io,'allowMultipleFiles':!0x0}),_0x532fc6['on'](_0x1c5a67(0x18a),(_0x30b026,_0xbb7520)=>{const _0x5c9558=_0x1c5a67;this[_0x5c9558(0x19c)](_0x5c9558(0x209),_0xbb7520),this[_0x5c9558(0x186)]();}),_0x532fc6[_0x1c5a67(0x1ab)]=!0x0,_0x2c369b[_0x1c5a67(0x1a3)][_0x1c5a67(0x1c5)](_0x532fc6);}for(const _0x5bcad2 of _0x3dd2bd[_0x1c5a67(0x1ef)]){const _0x1ed346=this[_0x1c5a67(0x1a8)](_0x523e27,{'label':_0x5bcad2[_0x1c5a67(0x1e1)],'icon':_0x5bcad2[_0x1c5a67(0x1e0)]||_0x2a83aa,'type':_0x1c5a67(0x1e5)});_0x2c369b[_0x1c5a67(0x1a3)][_0x1c5a67(0x1c5)](_0x1ed346),_0x1ed346['on'](_0x1c5a67(0x1aa),()=>{const _0x34f944=_0x1c5a67;this[_0x34f944(0x186)](),this[_0x34f944(0x1e6)](_0x5bcad2);});}}[_0x2330a2(0x20f)](_0x1adce1,_0x814204){const _0x5bd0ea=_0x2330a2;this[_0x5bd0ea(0x1dd)]=new _0x4aff20(_0x814204),this[_0x5bd0ea(0x1dd)]['on'](_0x5bd0ea(0x1ae),(_0x225075,_0x41b70c)=>{const _0x6091aa=_0x5bd0ea;this[_0x6091aa(0x1d9)](_0x41b70c);}),this[_0x5bd0ea(0x1dd)]['on'](_0x5bd0ea(0x1f9),()=>{const _0x4cf8c9=_0x5bd0ea;this[_0x4cf8c9(0x195)](),this[_0x4cf8c9(0x1f8)](),this[_0x4cf8c9(0x1f1)][_0x4cf8c9(0x206)]({'target':this[_0x4cf8c9(0x1c3)][_0x4cf8c9(0x1b4)],'limiter':this[_0x4cf8c9(0x20e)](),'positions':Mo});}),this[_0x5bd0ea(0x1dd)]['on'](_0x5bd0ea(0x1e4),()=>{const _0x41b380=_0x5bd0ea;this[_0x41b380(0x1d3)][_0x41b380(0x1a1)]&&this[_0x41b380(0x1d3)][_0x41b380(0x206)]({'target':this[_0x41b380(0x1c3)][_0x41b380(0x1b4)],'limiter':this[_0x41b380(0x20e)](),'positions':Mo});}),_0x1adce1[_0x5bd0ea(0x1a3)][_0x5bd0ea(0x1c5)](this[_0x5bd0ea(0x1dd)]);}[_0x2330a2(0x1a8)](_0x55b924,_0xc75824){const _0x566c15=_0x2330a2,_0x45e4b9=_0x566c15(0x1e5)===_0xc75824[_0x566c15(0x1c4)]?new SourcesBalloonButtonView(_0x55b924):new _0x15cae6(_0x55b924);return _0x45e4b9[_0x566c15(0x1fc)]({'label':_0xc75824[_0x566c15(0x1e1)],'icon':_0xc75824[_0x566c15(0x1e0)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Io}),_0x45e4b9;}[_0x2330a2(0x1e9)](){const _0x1c0789=_0x2330a2;this[_0x1c0789(0x187)](),this[_0x1c0789(0x1ee)]();}[_0x2330a2(0x1ee)](){const _0x147ac3=_0x2330a2;_0x190e3f({'emitter':this[_0x147ac3(0x1d3)],'contextElements':[this[_0x147ac3(0x1d3)][_0x147ac3(0x1b4)]],'callback':()=>{const _0x174ac6=_0x147ac3;this[_0x174ac6(0x195)]();},'activator':()=>this[_0x147ac3(0x1d3)][_0x147ac3(0x1a1)]});}[_0x2330a2(0x1ff)](_0x1da195){const _0x47056d=_0x2330a2,_0xa53c74=this[_0x47056d(0x19f)];_0xa53c74[_0x47056d(0x185)][_0x47056d(0x1d8)]=_0x1da195,_0x1da195?_0xa53c74[_0x47056d(0x1da)][_0x47056d(0x19e)]():_0xa53c74[_0x47056d(0x1da)][_0x47056d(0x18c)]();}[_0x2330a2(0x187)](){const _0xca6ce0=_0x2330a2,{balloonView:_0xc30c30,buttonView:_0xa73840,hideMethod:_0x292fc0}=this[_0xca6ce0(0x19f)];_0x190e3f({'emitter':_0xc30c30,'contextElements':[_0xc30c30[_0xca6ce0(0x1b4)],_0xa73840[_0xca6ce0(0x1b4)]],'callback':()=>{_0x292fc0();},'activator':()=>_0xa73840[_0xca6ce0(0x1d8)]&&!this[_0xca6ce0(0x1d3)][_0xca6ce0(0x1a1)]&&!this[_0xca6ce0(0x197)][_0xca6ce0(0x1e3)]()});}[_0x2330a2(0x20a)](_0x53c885,_0x28db05,_0x50168b=!0x1,_0x27a9f3=!0x1){const _0x4232d0=_0x2330a2,_0x7381d5=_0x4232d0(0x1fa)===_0x28db05||!0x0===_0x53c885[_0x4232d0(0x1a4)],_0x165fcb=new _0x16236e(this[_0x4232d0(0x1ed)],_0x53c885,_0x7381d5,_0x50168b,_0x27a9f3);return _0x7381d5||_0x165fcb['on'](_0x4232d0(0x188),()=>{const _0x388b76=_0x4232d0;this[_0x388b76(0x19c)](_0x388b76(0x1b2),_0x165fcb['id']);}),_0x165fcb;}[_0x2330a2(0x200)](_0x5e06f9,_0x3e35d1){const _0x2cc3e2=_0x2330a2;_0x3e35d1[_0x2cc3e2(0x1c5)](_0x5e06f9,0x0);}[_0x2330a2(0x183)](_0x18a5ef,_0x445808){const _0x2f51b0=_0x2330a2,_0x4d97ef=_0x445808[_0x2f51b0(0x181)](_0x3037a7=>_0x3037a7['id']===_0x18a5ef);_0x4d97ef&&_0x445808[_0x2f51b0(0x1d5)](_0x4d97ef);}[_0x2330a2(0x1c8)](){const _0x5e35aa=_0x2330a2;this[_0x5e35aa(0x1c3)][_0x5e35aa(0x1d8)]?this[_0x5e35aa(0x186)]():(this[_0x5e35aa(0x1f8)](),this[_0x5e35aa(0x1f1)][_0x5e35aa(0x206)]({'target':this[_0x5e35aa(0x1c3)][_0x5e35aa(0x1b4)],'limiter':this[_0x5e35aa(0x20e)](),'positions':Mo}));}[_0x2330a2(0x1d9)](_0x175983){const _0x34aed0=_0x2330a2;this[_0x34aed0(0x1dd)][_0x34aed0(0x1c0)](),this[_0x34aed0(0x195)](),this[_0x34aed0(0x19c)](_0x34aed0(0x18b),_0x175983);}}export class SourcesBalloonButtonView extends _0x15cae6{[_0x2330a2(0x1e7)];constructor(_0x10680f){const _0x965606=_0x2330a2;super(_0x10680f),this[_0x965606(0x1fc)]({'withText':!0x0,'role':_0x965606(0x210)}),this[_0x965606(0x1e7)]=this[_0x965606(0x1b1)](),this[_0x965606(0x1c1)]({'attributes':{'class':[Po]}});}[_0x2330a2(0x1d4)](){const _0x2a9913=_0x2330a2;super[_0x2a9913(0x1d4)](),this[_0x2a9913(0x198)][_0x2a9913(0x1c5)](this[_0x2a9913(0x1e7)]);}[_0x2330a2(0x1b1)](){const _0x6a2559=_0x2330a2,_0x7e8a3e=new _0xef743();return _0x7e8a3e[_0x6a2559(0x1a3)]=_0x395458,_0x7e8a3e[_0x6a2559(0x1c1)]({'attributes':{'class':Po+_0x6a2559(0x1cb)}}),_0x7e8a3e;}}
@@ -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
  /**