@ckeditor/ckeditor5-ai 47.1.0 → 47.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (498) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index-editor.css +573 -203
  75. package/dist/index.css +627 -204
  76. package/dist/index.js +5 -4
  77. package/dist/translations/af.js +1 -1
  78. package/dist/translations/af.umd.js +1 -1
  79. package/dist/translations/ar.js +1 -1
  80. package/dist/translations/ar.umd.js +1 -1
  81. package/dist/translations/ast.js +1 -1
  82. package/dist/translations/ast.umd.js +1 -1
  83. package/dist/translations/az.js +1 -1
  84. package/dist/translations/az.umd.js +1 -1
  85. package/dist/translations/be.js +1 -1
  86. package/dist/translations/be.umd.js +1 -1
  87. package/dist/translations/bg.js +1 -1
  88. package/dist/translations/bg.umd.js +1 -1
  89. package/dist/translations/bn.js +1 -1
  90. package/dist/translations/bn.umd.js +1 -1
  91. package/dist/translations/bs.js +1 -1
  92. package/dist/translations/bs.umd.js +1 -1
  93. package/dist/translations/ca.js +1 -1
  94. package/dist/translations/ca.umd.js +1 -1
  95. package/dist/translations/cs.js +1 -1
  96. package/dist/translations/cs.umd.js +1 -1
  97. package/dist/translations/da.js +1 -1
  98. package/dist/translations/da.umd.js +1 -1
  99. package/dist/translations/de-ch.js +1 -1
  100. package/dist/translations/de-ch.umd.js +1 -1
  101. package/dist/translations/de.js +1 -1
  102. package/dist/translations/de.umd.js +1 -1
  103. package/dist/translations/el.js +1 -1
  104. package/dist/translations/el.umd.js +1 -1
  105. package/dist/translations/en-au.js +1 -1
  106. package/dist/translations/en-au.umd.js +1 -1
  107. package/dist/translations/en-gb.js +1 -1
  108. package/dist/translations/en-gb.umd.js +1 -1
  109. package/dist/translations/en.js +1 -1
  110. package/dist/translations/en.umd.js +1 -1
  111. package/dist/translations/eo.js +1 -1
  112. package/dist/translations/eo.umd.js +1 -1
  113. package/dist/translations/es-co.js +1 -1
  114. package/dist/translations/es-co.umd.js +1 -1
  115. package/dist/translations/es.js +1 -1
  116. package/dist/translations/es.umd.js +1 -1
  117. package/dist/translations/et.js +1 -1
  118. package/dist/translations/et.umd.js +1 -1
  119. package/dist/translations/eu.js +1 -1
  120. package/dist/translations/eu.umd.js +1 -1
  121. package/dist/translations/fa.js +1 -1
  122. package/dist/translations/fa.umd.js +1 -1
  123. package/dist/translations/fi.js +1 -1
  124. package/dist/translations/fi.umd.js +1 -1
  125. package/dist/translations/fr.js +1 -1
  126. package/dist/translations/fr.umd.js +1 -1
  127. package/dist/translations/gl.js +1 -1
  128. package/dist/translations/gl.umd.js +1 -1
  129. package/dist/translations/gu.js +1 -1
  130. package/dist/translations/gu.umd.js +1 -1
  131. package/dist/translations/he.js +1 -1
  132. package/dist/translations/he.umd.js +1 -1
  133. package/dist/translations/hi.js +1 -1
  134. package/dist/translations/hi.umd.js +1 -1
  135. package/dist/translations/hr.js +1 -1
  136. package/dist/translations/hr.umd.js +1 -1
  137. package/dist/translations/hu.js +1 -1
  138. package/dist/translations/hu.umd.js +1 -1
  139. package/dist/translations/hy.js +1 -1
  140. package/dist/translations/hy.umd.js +1 -1
  141. package/dist/translations/id.js +1 -1
  142. package/dist/translations/id.umd.js +1 -1
  143. package/dist/translations/it.js +1 -1
  144. package/dist/translations/it.umd.js +1 -1
  145. package/dist/translations/ja.js +1 -1
  146. package/dist/translations/ja.umd.js +1 -1
  147. package/dist/translations/jv.js +1 -1
  148. package/dist/translations/jv.umd.js +1 -1
  149. package/dist/translations/kk.js +1 -1
  150. package/dist/translations/kk.umd.js +1 -1
  151. package/dist/translations/km.js +1 -1
  152. package/dist/translations/km.umd.js +1 -1
  153. package/dist/translations/kn.js +1 -1
  154. package/dist/translations/kn.umd.js +1 -1
  155. package/dist/translations/ko.js +1 -1
  156. package/dist/translations/ko.umd.js +1 -1
  157. package/dist/translations/ku.js +1 -1
  158. package/dist/translations/ku.umd.js +1 -1
  159. package/dist/translations/lt.js +1 -1
  160. package/dist/translations/lt.umd.js +1 -1
  161. package/dist/translations/lv.js +1 -1
  162. package/dist/translations/lv.umd.js +1 -1
  163. package/dist/translations/ms.js +1 -1
  164. package/dist/translations/ms.umd.js +1 -1
  165. package/dist/translations/nb.js +1 -1
  166. package/dist/translations/nb.umd.js +1 -1
  167. package/dist/translations/ne.js +1 -1
  168. package/dist/translations/ne.umd.js +1 -1
  169. package/dist/translations/nl.js +1 -1
  170. package/dist/translations/nl.umd.js +1 -1
  171. package/dist/translations/no.js +1 -1
  172. package/dist/translations/no.umd.js +1 -1
  173. package/dist/translations/oc.js +1 -1
  174. package/dist/translations/oc.umd.js +1 -1
  175. package/dist/translations/pl.js +1 -1
  176. package/dist/translations/pl.umd.js +1 -1
  177. package/dist/translations/pt-br.js +1 -1
  178. package/dist/translations/pt-br.umd.js +1 -1
  179. package/dist/translations/pt.js +1 -1
  180. package/dist/translations/pt.umd.js +1 -1
  181. package/dist/translations/ro.js +1 -1
  182. package/dist/translations/ro.umd.js +1 -1
  183. package/dist/translations/ru.js +1 -1
  184. package/dist/translations/ru.umd.js +1 -1
  185. package/dist/translations/si.js +1 -1
  186. package/dist/translations/si.umd.js +1 -1
  187. package/dist/translations/sk.js +1 -1
  188. package/dist/translations/sk.umd.js +1 -1
  189. package/dist/translations/sl.js +1 -1
  190. package/dist/translations/sl.umd.js +1 -1
  191. package/dist/translations/sq.js +1 -1
  192. package/dist/translations/sq.umd.js +1 -1
  193. package/dist/translations/sr-latn.js +1 -1
  194. package/dist/translations/sr-latn.umd.js +1 -1
  195. package/dist/translations/sr.js +1 -1
  196. package/dist/translations/sr.umd.js +1 -1
  197. package/dist/translations/sv.js +1 -1
  198. package/dist/translations/sv.umd.js +1 -1
  199. package/dist/translations/th.js +1 -1
  200. package/dist/translations/th.umd.js +1 -1
  201. package/dist/translations/ti.js +1 -1
  202. package/dist/translations/ti.umd.js +1 -1
  203. package/dist/translations/tk.js +1 -1
  204. package/dist/translations/tk.umd.js +1 -1
  205. package/dist/translations/tr.js +1 -1
  206. package/dist/translations/tr.umd.js +1 -1
  207. package/dist/translations/tt.js +1 -1
  208. package/dist/translations/tt.umd.js +1 -1
  209. package/dist/translations/ug.js +1 -1
  210. package/dist/translations/ug.umd.js +1 -1
  211. package/dist/translations/uk.js +1 -1
  212. package/dist/translations/uk.umd.js +1 -1
  213. package/dist/translations/ur.js +1 -1
  214. package/dist/translations/ur.umd.js +1 -1
  215. package/dist/translations/uz.js +1 -1
  216. package/dist/translations/uz.umd.js +1 -1
  217. package/dist/translations/vi.js +1 -1
  218. package/dist/translations/vi.umd.js +1 -1
  219. package/dist/translations/zh-cn.js +1 -1
  220. package/dist/translations/zh-cn.umd.js +1 -1
  221. package/dist/translations/zh.js +1 -1
  222. package/dist/translations/zh.umd.js +1 -1
  223. package/lang/contexts.json +8 -1
  224. package/lang/translations/af.po +52 -4
  225. package/lang/translations/ar.po +52 -4
  226. package/lang/translations/ast.po +52 -4
  227. package/lang/translations/az.po +52 -4
  228. package/lang/translations/be.po +52 -4
  229. package/lang/translations/bg.po +52 -4
  230. package/lang/translations/bn.po +52 -4
  231. package/lang/translations/bs.po +52 -4
  232. package/lang/translations/ca.po +52 -4
  233. package/lang/translations/cs.po +52 -4
  234. package/lang/translations/da.po +52 -4
  235. package/lang/translations/de-ch.po +52 -4
  236. package/lang/translations/de.po +52 -4
  237. package/lang/translations/el.po +52 -4
  238. package/lang/translations/en-au.po +52 -4
  239. package/lang/translations/en-gb.po +52 -4
  240. package/lang/translations/en.po +52 -4
  241. package/lang/translations/eo.po +52 -4
  242. package/lang/translations/es-co.po +52 -4
  243. package/lang/translations/es.po +52 -4
  244. package/lang/translations/et.po +52 -4
  245. package/lang/translations/eu.po +52 -4
  246. package/lang/translations/fa.po +52 -4
  247. package/lang/translations/fi.po +52 -4
  248. package/lang/translations/fr.po +52 -4
  249. package/lang/translations/gl.po +52 -4
  250. package/lang/translations/gu.po +52 -4
  251. package/lang/translations/he.po +52 -4
  252. package/lang/translations/hi.po +52 -4
  253. package/lang/translations/hr.po +52 -4
  254. package/lang/translations/hu.po +52 -4
  255. package/lang/translations/hy.po +52 -4
  256. package/lang/translations/id.po +52 -4
  257. package/lang/translations/it.po +52 -4
  258. package/lang/translations/ja.po +52 -4
  259. package/lang/translations/jv.po +52 -4
  260. package/lang/translations/kk.po +52 -4
  261. package/lang/translations/km.po +52 -4
  262. package/lang/translations/kn.po +52 -4
  263. package/lang/translations/ko.po +52 -4
  264. package/lang/translations/ku.po +52 -4
  265. package/lang/translations/lt.po +52 -4
  266. package/lang/translations/lv.po +52 -4
  267. package/lang/translations/ms.po +52 -4
  268. package/lang/translations/nb.po +52 -4
  269. package/lang/translations/ne.po +52 -4
  270. package/lang/translations/nl.po +52 -4
  271. package/lang/translations/no.po +52 -4
  272. package/lang/translations/oc.po +52 -4
  273. package/lang/translations/pl.po +52 -4
  274. package/lang/translations/pt-br.po +52 -4
  275. package/lang/translations/pt.po +52 -4
  276. package/lang/translations/ro.po +52 -4
  277. package/lang/translations/ru.po +52 -4
  278. package/lang/translations/si.po +52 -4
  279. package/lang/translations/sk.po +52 -4
  280. package/lang/translations/sl.po +52 -4
  281. package/lang/translations/sq.po +52 -4
  282. package/lang/translations/sr-latn.po +52 -4
  283. package/lang/translations/sr.po +52 -4
  284. package/lang/translations/sv.po +52 -4
  285. package/lang/translations/th.po +52 -4
  286. package/lang/translations/ti.po +52 -4
  287. package/lang/translations/tk.po +52 -4
  288. package/lang/translations/tr.po +52 -4
  289. package/lang/translations/tt.po +52 -4
  290. package/lang/translations/ug.po +52 -4
  291. package/lang/translations/uk.po +52 -4
  292. package/lang/translations/ur.po +52 -4
  293. package/lang/translations/uz.po +52 -4
  294. package/lang/translations/vi.po +52 -4
  295. package/lang/translations/zh-cn.po +52 -4
  296. package/lang/translations/zh.po +52 -4
  297. package/package.json +15 -15
  298. package/src/aiactions/aiactions.d.ts +1 -1
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +5 -1
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +40 -1
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.d.ts +1 -1
  330. package/src/aichat/aichatcontroller.js +1 -1
  331. package/src/aichat/aichatui.d.ts +1 -0
  332. package/src/aichat/aichatui.js +1 -1
  333. package/src/aichat/model/aichatcontext.d.ts +4 -0
  334. package/src/aichat/model/aichatcontext.js +1 -1
  335. package/src/aichat/model/aichatconversation.js +1 -1
  336. package/src/aichat/model/aichatinteraction.js +1 -1
  337. package/src/aichat/model/aichatmodels.d.ts +8 -29
  338. package/src/aichat/model/aichatmodels.js +1 -1
  339. package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
  340. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  341. package/src/aichat/ui/aichatfeedview.d.ts +2 -2
  342. package/src/aichat/ui/aichatfeedview.js +1 -1
  343. package/src/aichat/ui/aichatheaderview.js +1 -1
  344. package/src/aichat/ui/aichatview.d.ts +4 -1
  345. package/src/aichat/ui/aichatview.js +1 -1
  346. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  347. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  348. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  349. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +4 -1
  350. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  351. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  352. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  353. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  354. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  355. package/src/aichat/ui/controls/resources/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
  356. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
  357. package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
  358. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
  359. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  360. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
  361. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  362. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  363. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  366. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  367. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  368. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +3 -3
  369. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  370. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
  371. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  372. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  373. package/src/aichat/utils/eventnames.js +1 -1
  374. package/src/aichat/utils/promisequeue.js +1 -1
  375. package/src/aichat/utils/scrollmanager.js +1 -1
  376. package/src/aichathistory/aichathistory.js +1 -1
  377. package/src/aichathistory/aichathistorycontroller.js +1 -1
  378. package/src/aichathistory/aichathistoryui.js +1 -1
  379. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  380. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  381. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  382. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -1
  383. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  384. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  385. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  386. package/src/aiconfig.d.ts +28 -7
  387. package/src/aicore/aiconnector.d.ts +1 -0
  388. package/src/aicore/aiconnector.js +1 -1
  389. package/src/aicore/aiediting.js +1 -1
  390. package/src/aicore/model/aicapabilities.js +1 -1
  391. package/src/aicore/model/aicontext.js +1 -1
  392. package/src/aicore/model/aiinteraction.js +1 -1
  393. package/src/aicore/model/aimodels.d.ts +66 -0
  394. package/src/aicore/model/aimodels.js +23 -0
  395. package/src/aicore/model/aireply.d.ts +9 -1
  396. package/src/aicore/model/aireply.js +1 -1
  397. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  398. package/src/aicore/pipeline/airesponseparser.js +2 -2
  399. package/src/aicore/ui/aidisclaimerview.js +1 -1
  400. package/src/aicore/ui/aiskeleton.js +1 -1
  401. package/src/aicore/ui/aispinner.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +5 -2
  404. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  407. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
  408. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  409. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  410. package/src/aicore/utils/common-translations.js +1 -1
  411. package/src/aicore/utils/createresizebutton.js +1 -1
  412. package/src/aicore/utils/documentposition.js +1 -1
  413. package/src/aicore/utils/documentrange.js +1 -1
  414. package/src/aicore/utils/eventnames.js +1 -1
  415. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  416. package/src/aicore/utils/getoperationsfromreply.d.ts +2 -1
  417. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  418. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  419. package/src/aicore/utils/htmlparser.js +1 -1
  420. package/src/aicore/utils/htmlstreamer.js +1 -1
  421. package/src/aieditorintegration/aieditorintegration.d.ts +2 -1
  422. package/src/aieditorintegration/aieditorintegration.js +1 -1
  423. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  424. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  425. package/src/aiquickactions/aiquickactions.js +1 -1
  426. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  427. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  428. package/src/aiquickactions/aiquickactionsui.js +1 -1
  429. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  430. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  431. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  432. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  433. package/src/aireviewmode/aireviewmode.js +1 -1
  434. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  435. package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
  436. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  437. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  438. package/src/aireviewmode/aireviewmodeui.js +1 -1
  439. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  440. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +3 -3
  441. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  442. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  443. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  444. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
  445. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  446. package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
  447. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  448. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  449. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  450. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  451. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  452. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
  453. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  454. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  455. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
  456. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
  457. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  458. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
  459. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  460. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  461. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
  462. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  463. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  464. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  465. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  466. package/src/aitabs/aitabs.js +1 -1
  467. package/src/aitabs/aitabsmainview.js +1 -1
  468. package/src/aitabs/tabs/aitabsview.js +1 -1
  469. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  470. package/src/aitabs/tabs/tabpanelview.js +1 -1
  471. package/src/errors.js +1 -1
  472. package/src/index.d.ts +1 -0
  473. package/src/index.js +1 -1
  474. package/theme/aiballoon/aiballoon.css +12 -0
  475. package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
  476. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
  477. package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
  478. package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
  479. package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
  480. package/theme/aichat/aichat-controls.css +11 -27
  481. package/theme/aichat/aichat.css +2 -3
  482. package/theme/aichat/aichatfeed.css +1 -27
  483. package/theme/aichat/aichathistory.css +12 -0
  484. package/theme/aichat/aisuggestioncontainer.css +5 -0
  485. package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
  486. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  487. package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
  488. package/theme/aireviewmode/aireviewmode.css +17 -7
  489. package/theme/aitabs/aitabsview.css +1 -1
  490. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  491. package/theme/aitabs/tabs/tabsview.css +1 -0
  492. package/theme/common/aibutton.css +27 -0
  493. package/theme/common/aiheader.css +14 -4
  494. package/theme/common/aitrackchanges.css +8 -1
  495. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
  496. package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
  497. package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
  498. package/src/aireviewmode/model/aireviewmodels.js +0 -23
@@ -2,40 +2,20 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import { type AIConnector, type AIModelData } from '../../aicore/aiconnector.js';
6
- declare const AIChatModels_base: {
7
- new (): import("ckeditor5/src/utils.js").Emitter;
8
- prototype: import("ckeditor5/src/utils.js").Emitter;
9
- };
5
+ /**
6
+ * @module ai/aichat/model/aichatmodels
7
+ * @publicApi
8
+ */
9
+ import { type AIModelData } from '../../aicore/aiconnector.js';
10
+ import { AIModels } from '../../aicore/model/aimodels.js';
10
11
  /**
11
12
  * Stores the list of available AI chat models.
12
13
  */
13
- export declare class AIChatModels extends /* #__PURE__ */ AIChatModels_base {
14
+ export declare class AIChatModels extends AIModels {
14
15
  /**
15
- * @inheritDoc
16
- */
17
- constructor({ connector, displayedModels, defaultModelId }: {
18
- connector: AIConnector;
19
- displayedModels?: string | Array<string>;
20
- defaultModelId?: string;
21
- });
22
- /**
23
- * Returns a list of available AI chat models.
16
+ * Returns a list of available models sorted by available capabilities.
24
17
  */
25
18
  getAll(): Promise<Array<AIChatModel>>;
26
- getAvailableModels(): Promise<Array<AIChatModel>>;
27
- /**
28
- * Returns a specific AI chat model.
29
- */
30
- getModel(modelId?: string): Promise<AIChatModel | null>;
31
- /**
32
- * Returns default AI chat model.
33
- */
34
- getDefault(): Promise<AIChatModel | null>;
35
- /**
36
- * Checks whether the given model is available.
37
- */
38
- isAvailable(model: AIChatModel): Promise<boolean>;
39
19
  }
40
20
  export type AIChatModel = AIModelData;
41
21
  /**
@@ -81,4 +61,3 @@ export type AIChatModelsConfig = {
81
61
  */
82
62
  displayedModels?: string | Array<string>;
83
63
  };
84
- export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fd068=_0x3d24;function _0x5b0a(){const _0x1d14a9=['getModels','toLocaleLowerCase','getAll','find','startsWith','5415096sPkOYa','length','247667DgrrbE','provider','name','list','ai-chat-model-id-unrecognized','_filterModels','10876455LJUZGE','getDefault','2174658xTWRPW','5NHorOR','15587BXHzwn','_connector','getAvailableModels','isAvailable','sort','_defaultModelId','capabilities','3008986Diilps','getModel','_modelList','1323124LPIheg','ai-chat-default-model-id-unrecognized','1NbaafF','_displayedModels','string','enabled','some','368gAPYFn','push','items','map','values','filter','5980GKXMVy'];_0x5b0a=function(){return _0x1d14a9;};return _0x5b0a();}(function(_0x17d798,_0x23c7cf){const _0x11974e=_0x3d24,_0x47a197=_0x17d798();while(!![]){try{const _0x48e8d5=parseInt(_0x11974e(0x131))/0x1*(-parseInt(_0x11974e(0x12c))/0x2)+parseInt(_0x11974e(0x123))/0x3+parseInt(_0x11974e(0x12f))/0x4*(parseInt(_0x11974e(0x124))/0x5)+parseInt(_0x11974e(0x119))/0x6+-parseInt(_0x11974e(0x11b))/0x7*(parseInt(_0x11974e(0x136))/0x8)+parseInt(_0x11974e(0x121))/0x9+parseInt(_0x11974e(0x13c))/0xa*(parseInt(_0x11974e(0x125))/0xb);if(_0x48e8d5===_0x23c7cf)break;else _0x47a197['push'](_0x47a197['shift']());}catch(_0x587686){_0x47a197['push'](_0x47a197['shift']());}}}(_0x5b0a,0xd7569));function _0x3d24(_0x47607a,_0x3d1b17){const _0x5b0a56=_0x5b0a();return _0x3d24=function(_0x3d243d,_0x15c2c4){_0x3d243d=_0x3d243d-0x116;let _0x4090f4=_0x5b0a56[_0x3d243d];return _0x4090f4;},_0x3d24(_0x47607a,_0x3d1b17);}import{EmitterMixin as _0x1941d7,logWarning as _0x1194ae}from'ckeditor5/src/utils.js';export class AIChatModels extends _0x1941d7(){[_0x1fd068(0x12e)]=[];[_0x1fd068(0x126)];[_0x1fd068(0x132)];[_0x1fd068(0x12a)];constructor({connector:_0x182c38,displayedModels:_0x570a39,defaultModelId:_0x267b46}){const _0xf7bb9b=_0x1fd068;super(),this[_0xf7bb9b(0x126)]=_0x182c38,this[_0xf7bb9b(0x132)]=_0x570a39,this[_0xf7bb9b(0x12a)]=_0x267b46;}async[_0x1fd068(0x116)](){const _0xc09729=_0x1fd068;if(!this[_0xc09729(0x12e)][_0xc09729(0x11a)]){const _0x9e512=this[_0xc09729(0x126)][_0xc09729(0x13d)](),_0x5d3bce=(await _0x9e512[_0xc09729(0x11e)]())[_0xc09729(0x138)][_0xc09729(0x129)]((_0x272c06,_0xbea1b0)=>{const _0xe0d767=_0xc09729,_0x468ffa=Object[_0xe0d767(0x13a)](_0x272c06[_0xe0d767(0x12b)])[_0xe0d767(0x13b)](_0x12866a=>_0x12866a[_0xe0d767(0x134)])[_0xe0d767(0x11a)];return Object[_0xe0d767(0x13a)](_0xbea1b0[_0xe0d767(0x12b)])[_0xe0d767(0x13b)](_0x334329=>_0x334329[_0xe0d767(0x134)])[_0xe0d767(0x11a)]-_0x468ffa;});this[_0xc09729(0x12e)]=_0x5d3bce;}return this[_0xc09729(0x12e)];}async[_0x1fd068(0x127)](){const _0x19c36e=_0x1fd068,_0xcaeedb=await this[_0x19c36e(0x116)]();return this[_0x19c36e(0x120)](_0xcaeedb,this[_0x19c36e(0x132)]);}async[_0x1fd068(0x12d)](_0x23cf3f){const _0x340084=_0x1fd068,_0x5d2f0d=await this[_0x340084(0x116)]();if(!_0x5d2f0d[_0x340084(0x11a)])return null;if(_0x23cf3f){const _0x2d0c92=_0x5d2f0d[_0x340084(0x117)](_0x271d2e=>_0x271d2e['id']===_0x23cf3f);if(_0x2d0c92)return _0x2d0c92;_0x1194ae(_0x340084(0x11f),{'modelId':_0x23cf3f,'fallBackModelId':this[_0x340084(0x12a)]});}return this[_0x340084(0x122)]();}async[_0x1fd068(0x122)](){const _0x542c5a=_0x1fd068,_0x43fcdc=await this[_0x542c5a(0x127)]();if(!_0x43fcdc[_0x542c5a(0x11a)])return null;if(this[_0x542c5a(0x12a)]){const _0x1cf38f=_0x43fcdc[_0x542c5a(0x117)](_0x25ce63=>_0x25ce63['id']===this[_0x542c5a(0x12a)]);if(_0x1cf38f)return _0x1cf38f;_0x1194ae(_0x542c5a(0x130),{'defaultModelId':this[_0x542c5a(0x12a)],'fallBackModelId':_0x43fcdc[0x0]['id']});}return _0x43fcdc[0x0];}async[_0x1fd068(0x128)](_0x49c5d9){const _0x519042=_0x1fd068;return(await this[_0x519042(0x127)]())[_0x519042(0x135)](_0x5ed009=>_0x5ed009[_0x519042(0x11d)]===_0x49c5d9[_0x519042(0x11d)]&&_0x5ed009[_0x519042(0x11c)]===_0x49c5d9[_0x519042(0x11c)]);}[_0x1fd068(0x120)](_0x21e2c6,_0x47d691){const _0x445fa7=_0x1fd068;let _0x543290;if(_0x47d691){_0x543290=[];const _0x247a14=_0x445fa7(0x133)==typeof _0x47d691?[_0x47d691[_0x445fa7(0x13e)]()]:_0x47d691[_0x445fa7(0x139)](_0x4842d5=>_0x4842d5[_0x445fa7(0x13e)]());for(const _0x2942a4 of _0x247a14)for(const _0x3c02f7 of _0x21e2c6)(_0x3c02f7['id'][_0x445fa7(0x13e)]()===_0x2942a4||_0x3c02f7[_0x445fa7(0x11d)][_0x445fa7(0x13e)]()===_0x2942a4||_0x3c02f7[_0x445fa7(0x11c)][_0x445fa7(0x13e)]()===_0x2942a4||_0x3c02f7['id'][_0x445fa7(0x13e)]()[_0x445fa7(0x118)](_0x2942a4))&&_0x543290[_0x445fa7(0x137)](_0x3c02f7);}else _0x543290=_0x21e2c6;return _0x543290;}}
23
+ const _0x52b275=_0x1dc5;(function(_0x1d9c60,_0x181d1c){const _0x41b967=_0x1dc5,_0x39c4c9=_0x1d9c60();while(!![]){try{const _0x1398bb=parseInt(_0x41b967(0x134))/0x1*(parseInt(_0x41b967(0x12d))/0x2)+-parseInt(_0x41b967(0x138))/0x3*(-parseInt(_0x41b967(0x132))/0x4)+parseInt(_0x41b967(0x12c))/0x5*(-parseInt(_0x41b967(0x133))/0x6)+parseInt(_0x41b967(0x13b))/0x7*(-parseInt(_0x41b967(0x12f))/0x8)+-parseInt(_0x41b967(0x13d))/0x9*(-parseInt(_0x41b967(0x139))/0xa)+-parseInt(_0x41b967(0x136))/0xb*(-parseInt(_0x41b967(0x135))/0xc)+-parseInt(_0x41b967(0x13c))/0xd;if(_0x1398bb===_0x181d1c)break;else _0x39c4c9['push'](_0x39c4c9['shift']());}catch(_0x2677b2){_0x39c4c9['push'](_0x39c4c9['shift']());}}}(_0x49cf,0x9a4d6));import{AIModels as _0x417736}from'../../aicore/model/aimodels.js';export class AIChatModels extends _0x417736{async[_0x52b275(0x13a)](){const _0x3746a9=_0x52b275;return(await super[_0x3746a9(0x13a)]())[_0x3746a9(0x137)]((_0x47abb6,_0x2d692a)=>{const _0x31645b=_0x3746a9,_0x34c843=Object[_0x31645b(0x12b)](_0x47abb6[_0x31645b(0x13e)])[_0x31645b(0x12e)](_0xd66a5d=>_0xd66a5d[_0x31645b(0x131)])[_0x31645b(0x130)];return Object[_0x31645b(0x12b)](_0x2d692a[_0x31645b(0x13e)])[_0x31645b(0x12e)](_0x2cf7b5=>_0x2cf7b5[_0x31645b(0x131)])[_0x31645b(0x130)]-_0x34c843;});}}function _0x1dc5(_0x1f54c7,_0x325152){const _0x49cffa=_0x49cf();return _0x1dc5=function(_0x1dc549,_0x4a6749){_0x1dc549=_0x1dc549-0x12b;let _0x2182d3=_0x49cffa[_0x1dc549];return _0x2182d3;},_0x1dc5(_0x1f54c7,_0x325152);}function _0x49cf(){const _0x41e1c5=['capabilities','values','45mMsLbk','304690vnQgmm','filter','110528jTxFft','length','enabled','12ZOEBpG','718518AuktFQ','3lKGxVQ','656556NTrVLx','88dXwpBe','sort','806763WeGoAa','1060zKrIik','getAll','7CvvYiu','11698375VDeiCZ','78282RHcdUa'];_0x49cf=function(){return _0x41e1c5;};return _0x49cf();}
@@ -29,7 +29,10 @@ export declare class AIChatControlsView extends View {
29
29
  * @observable
30
30
  */
31
31
  isModelAvailable: boolean;
32
- constructor(locale: Locale, bodyCollection: BodyCollection);
32
+ constructor(locale: Locale, options: {
33
+ bodyCollection: BodyCollection;
34
+ contextResourcesSearchInputVisibleFrom?: number;
35
+ });
33
36
  /**
34
37
  * Adds an item chip to the current context list.
35
38
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x581676=_0x54d7;(function(_0x34a722,_0x57368f){const _0x546cad=_0x54d7,_0x5e8720=_0x34a722();while(!![]){try{const _0x539bcf=-parseInt(_0x546cad(0x171))/0x1+-parseInt(_0x546cad(0x191))/0x2+-parseInt(_0x546cad(0x1a6))/0x3+-parseInt(_0x546cad(0x1a4))/0x4+parseInt(_0x546cad(0x189))/0x5+-parseInt(_0x546cad(0x193))/0x6+-parseInt(_0x546cad(0x1ab))/0x7*(-parseInt(_0x546cad(0x177))/0x8);if(_0x539bcf===_0x57368f)break;else _0x5e8720['push'](_0x5e8720['shift']());}catch(_0x50454b){_0x5e8720['push'](_0x5e8720['shift']());}}}(_0x1afd,0x5747d));import{ButtonView as _0x5f46a8,clickOutsideHandler as _0x443ba4,View as _0x154584}from'ckeditor5/src/ui.js';import{AIChatPromptInputView as _0x5bca46}from'./controls/aichatpromptinputview.js';import{AIChatPromptCapabilitiesView as _0x483dc3}from'./controls/aichatpromptcapabilitiesview.js';import{AIChatContextPanelView as _0x4ffb97,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x5d4fba}from'./controls/aichatcontextpanelview.js';import{AIChatControlsLoaderView as _0x2048d3}from'./controls/aichatcontrolsloaderview.js';import{getTranslation as _0x1c617f}from'../../aicore/utils/common-translations.js';function _0x1afd(){const _0x23595d=['setReasoning','_createPromptCapabilitiesView','_promptCapabilitiesView','startConversation','405986wjETuQ','_shouldRestorePromptInputFocus','4146024qEOsrU','isDisabled','reset','clearConversationContextUI','locale','setWebSearch','bindTemplate','setTemplate','ck-ai-chat-controls','_createPromptInputView','addContextItem','populateSourceResourceBalloon','resetMessageInput','div','removeContextItem','execute','clearConversationContextItems','31560yLZUVp','disableModelSelector','761637jWYLkt','setContextItemLoading','ck-hidden','abortPromptStream','toggleReasoning','14MAWryu','setConversationContext','change:isLoading','agent','_displayedModels','ck-ai-chat-controls-model-unavailable-message','sendUserMessage','addContextButtonView','find','ck-ai-chat-controls-disabled','enableModelSelector','selectModel','toggleWebSearch','isLoading','form','focus','setModel','_loaderView','clearPendingContextUI','682603oPIMLP','focusPromptInput','ck-ai-chat-controls__start-new-chat-button','updateResourceState','element','closeSourceResourceBalloon','6264032YZxDmT','_handlePromptInputFocus','_contextPanelView','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON','setPlaceholderText','clearCurrentContextItems','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT','_createModelUnavailableMessageView','setAddContextOptions','set','_promptInputView','_createContextPanelView','isModelAvailable','delegate','startsWith','_modelUnavailableMessageView','setModelList','setInputPlaceholder','3149310XpbSSC','setIsUploadInProgress','low','_createLoaderView'];_0x1afd=function(){return _0x23595d;};return _0x1afd();}function _0x54d7(_0x540220,_0x113775){const _0x1afdce=_0x1afd();return _0x54d7=function(_0x54d7e0,_0x25221f){_0x54d7e0=_0x54d7e0-0x161;let _0x3beedf=_0x1afdce[_0x54d7e0];return _0x3beedf;},_0x54d7(_0x540220,_0x113775);}export class AIChatControlsView extends _0x154584{[_0x581676(0x162)]=[];[_0x581676(0x179)];[_0x581676(0x181)];[_0x581676(0x18f)];[_0x581676(0x16f)];[_0x581676(0x186)];[_0x581676(0x192)];constructor(_0x3301fa,_0x315bf4){const _0x4f1d15=_0x581676;super(_0x3301fa),this[_0x4f1d15(0x179)]=this[_0x4f1d15(0x182)](_0x3301fa,_0x315bf4),this[_0x4f1d15(0x181)]=this[_0x4f1d15(0x19c)](_0x3301fa),this[_0x4f1d15(0x18f)]=this[_0x4f1d15(0x18e)](_0x3301fa),this[_0x4f1d15(0x16f)]=this[_0x4f1d15(0x18c)](_0x3301fa),this[_0x4f1d15(0x186)]=this[_0x4f1d15(0x17e)](_0x3301fa),this[_0x4f1d15(0x192)]=!0x1,this[_0x4f1d15(0x181)][_0x4f1d15(0x184)](_0x4f1d15(0x164))['to'](this),this[_0x4f1d15(0x16f)][_0x4f1d15(0x184)](_0x4f1d15(0x1a9))['to'](this),this[_0x4f1d15(0x18f)][_0x4f1d15(0x184)](_0x4f1d15(0x16a))['to'](this),this[_0x4f1d15(0x18f)][_0x4f1d15(0x184)](_0x4f1d15(0x1aa))['to'](this),this[_0x4f1d15(0x18f)][_0x4f1d15(0x184)](_0x4f1d15(0x169))['to'](this),this[_0x4f1d15(0x179)][_0x4f1d15(0x184)](..._0x5d4fba)['to'](this),this[_0x4f1d15(0x180)](_0x4f1d15(0x183),!0x0),this[_0x4f1d15(0x180)](_0x4f1d15(0x194),!0x1);const _0x39fd48=this[_0x4f1d15(0x199)];this[_0x4f1d15(0x19a)]({'tag':_0x4f1d15(0x16c),'attributes':{'class':['ck',_0x4f1d15(0x19b),_0x39fd48['if'](_0x4f1d15(0x194),_0x4f1d15(0x167))]},'children':[{'tag':_0x4f1d15(0x1a0),'attributes':{'class':[_0x39fd48['if'](_0x4f1d15(0x16b),_0x4f1d15(0x1a8),_0x26c700=>_0x26c700||!this[_0x4f1d15(0x183)]),_0x39fd48['if'](_0x4f1d15(0x183),_0x4f1d15(0x1a8),_0x42145e=>!_0x42145e||this[_0x4f1d15(0x16b)])]},'children':[this[_0x4f1d15(0x179)],this[_0x4f1d15(0x181)],this[_0x4f1d15(0x18f)]]},{'tag':_0x4f1d15(0x1a0),'attributes':{'class':[_0x39fd48['if'](_0x4f1d15(0x16b),_0x4f1d15(0x1a8),_0x15396a=>!_0x15396a)]},'children':[this[_0x4f1d15(0x16f)]]},{'tag':_0x4f1d15(0x1a0),'attributes':{'class':[_0x39fd48['if'](_0x4f1d15(0x183),_0x4f1d15(0x1a8),_0x4f4e27=>_0x4f4e27)]},'children':[this[_0x4f1d15(0x186)]]}]}),_0x443ba4({'emitter':this[_0x4f1d15(0x181)],'activator':()=>this[_0x4f1d15(0x16b)],'contextElements':()=>[this[_0x4f1d15(0x175)]],'callback':()=>{const _0x5402c6=_0x4f1d15;this[_0x5402c6(0x192)]=!0x1;}}),this['on'](_0x4f1d15(0x1ad),this[_0x4f1d15(0x178)],{'priority':_0x4f1d15(0x18b)});}[_0x581676(0x182)](_0x4da515,_0x3dbde9){return new _0x4ffb97(_0x4da515,_0x3dbde9);}[_0x581676(0x19c)](_0x533b84){const _0x5c946f=_0x581676;return new _0x5bca46(_0x533b84,this[_0x5c946f(0x179)][_0x5c946f(0x165)]);}[_0x581676(0x18e)](_0x1cbd18){return new _0x483dc3(_0x1cbd18);}[_0x581676(0x18c)](_0x337b2d){return new _0x2048d3(_0x337b2d);}[_0x581676(0x17e)](_0x5298e9){const _0x227a3d=_0x581676,_0x260dca=new _s(_0x5298e9);return _0x260dca[_0x227a3d(0x184)](_0x227a3d(0x190))['to'](this),_0x260dca;}[_0x581676(0x178)](_0x529e7f,_0x5377d9,_0x2e00ca){const _0x2afcde=_0x581676;_0x2e00ca?this[_0x2afcde(0x192)]=!0x0:this[_0x2afcde(0x192)]&&this[_0x2afcde(0x181)][_0x2afcde(0x16d)]();}[_0x581676(0x19d)](_0xc2753b,_0x2fe5a8){const _0x301814=_0x581676;this[_0x301814(0x179)][_0x301814(0x19d)](_0xc2753b,_0x2fe5a8);}[_0x581676(0x1a1)](_0x1c9931){const _0x450c94=_0x581676;this[_0x450c94(0x179)][_0x450c94(0x1a1)](_0x1c9931);}[_0x581676(0x1a7)](_0x1e368c,_0x27a69c){const _0x5f3b99=_0x581676;this[_0x5f3b99(0x179)][_0x5f3b99(0x1a7)](_0x1e368c,_0x27a69c);}[_0x581676(0x18a)](_0x9a169b){const _0x5629a6=_0x581676;this[_0x5629a6(0x181)][_0x5629a6(0x18a)](_0x9a169b);}[_0x581676(0x1ac)](_0x7bfec5){const _0x52c26f=_0x581676;this[_0x52c26f(0x179)][_0x52c26f(0x1ac)](_0x7bfec5);}[_0x581676(0x170)](){const _0x4773c7=_0x581676;this[_0x4773c7(0x179)][_0x4773c7(0x17c)]();}[_0x581676(0x196)](){const _0x172f2e=_0x581676;this[_0x172f2e(0x179)][_0x172f2e(0x1a3)]();}[_0x581676(0x174)](_0xed539c,_0x44562b,_0x42e547){const _0x365d3c=_0x581676;this[_0x365d3c(0x179)][_0x365d3c(0x174)](_0xed539c,_0x44562b,_0x42e547);}[_0x581676(0x198)](_0x551ff7){const _0x3adc56=_0x581676;this[_0x3adc56(0x18f)][_0x3adc56(0x198)](_0x551ff7);}[_0x581676(0x18d)](_0x20031b){const _0x5d8be6=_0x581676;this[_0x5d8be6(0x18f)][_0x5d8be6(0x18d)](_0x20031b);}[_0x581676(0x19f)](){const _0x32e8fb=_0x581676;this[_0x32e8fb(0x181)][_0x32e8fb(0x195)]();}[_0x581676(0x17f)](_0x47fb21){const _0x1e2e04=_0x581676;this[_0x1e2e04(0x179)][_0x1e2e04(0x17f)](_0x47fb21);}[_0x581676(0x188)](_0x215bef){const _0xe022c3=_0x581676;this[_0xe022c3(0x181)][_0xe022c3(0x17b)](_0x215bef);}[_0x581676(0x187)](_0x14d4aa,_0x3ca95c){const _0x54904a=_0x581676;this[_0x54904a(0x162)]=_0x14d4aa,this[_0x54904a(0x18f)][_0x54904a(0x187)](_0x14d4aa,_0x3ca95c);}[_0x581676(0x16e)](_0x228467){const _0x461a0d=_0x581676;(_0x228467?this[_0x461a0d(0x162)][_0x461a0d(0x166)](_0x5f284e=>_0x5f284e['id']===_0x228467['id']):null)?(this[_0x461a0d(0x183)]=!0x0,this[_0x461a0d(0x18f)][_0x461a0d(0x16e)](_0x228467)):_0x228467?.['id'][_0x461a0d(0x185)](_0x461a0d(0x161))?(this[_0x461a0d(0x183)]=!0x0,this[_0x461a0d(0x18f)][_0x461a0d(0x16e)](this[_0x461a0d(0x162)][0x0])):this[_0x461a0d(0x183)]=!0x1;}[_0x581676(0x168)](){const _0x26f02b=_0x581676;this[_0x26f02b(0x18f)][_0x26f02b(0x168)]();}[_0x581676(0x1a5)](_0x16eebb){const _0x2cf2c2=_0x581676;this[_0x2cf2c2(0x18f)][_0x2cf2c2(0x1a5)](_0x16eebb);}[_0x581676(0x19e)](_0x20439d,_0x3420e4,_0x4854bf,_0x8752ee){const _0x4192bd=_0x581676;this[_0x4192bd(0x179)][_0x4192bd(0x19e)](_0x20439d,_0x3420e4,_0x4854bf,_0x8752ee);}[_0x581676(0x176)](_0x126b3f){const _0x1b4888=_0x581676;this[_0x1b4888(0x179)][_0x1b4888(0x176)](_0x126b3f);}[_0x581676(0x172)](){const _0x16c308=_0x581676;this[_0x16c308(0x181)][_0x16c308(0x16d)]();}}class _s extends _0x154584{constructor(_0x809988){const _0x9d2dbf=_0x581676;super(_0x809988);const _0x49c415=new _0x5f46a8(_0x809988);_0x49c415[_0x9d2dbf(0x180)]({'label':_0x1c617f(this[_0x9d2dbf(0x197)],_0x9d2dbf(0x17a)),'withText':!0x0,'class':[_0x9d2dbf(0x173)],'tooltip':''}),_0x49c415[_0x9d2dbf(0x184)](_0x9d2dbf(0x1a2))['to'](this,_0x9d2dbf(0x190)),this[_0x9d2dbf(0x19a)]({'tag':_0x9d2dbf(0x1a0),'attributes':{'class':['ck',_0x9d2dbf(0x163)]},'children':[{'tag':'p','children':[{'text':_0x1c617f(this[_0x9d2dbf(0x197)],_0x9d2dbf(0x17d))+'\x20'},_0x49c415]}]});}}
23
+ const _0x2b35ef=_0x83df;(function(_0x47c0f4,_0x15cede){const _0x30c095=_0x83df,_0xb3f14c=_0x47c0f4();while(!![]){try{const _0x34dc78=-parseInt(_0x30c095(0xab))/0x1+parseInt(_0x30c095(0xb4))/0x2*(-parseInt(_0x30c095(0xc4))/0x3)+parseInt(_0x30c095(0x91))/0x4*(-parseInt(_0x30c095(0xb1))/0x5)+parseInt(_0x30c095(0x85))/0x6+parseInt(_0x30c095(0xc6))/0x7*(parseInt(_0x30c095(0xa9))/0x8)+parseInt(_0x30c095(0xb2))/0x9*(-parseInt(_0x30c095(0x90))/0xa)+parseInt(_0x30c095(0x8f))/0xb*(parseInt(_0x30c095(0x83))/0xc);if(_0x34dc78===_0x15cede)break;else _0xb3f14c['push'](_0xb3f14c['shift']());}catch(_0x35169e){_0xb3f14c['push'](_0xb3f14c['shift']());}}}(_0x48a8,0x79369));import{ButtonView as _0x4c9898,clickOutsideHandler as _0x198f5a,View as _0x49c51a}from'ckeditor5/src/ui.js';import{AIChatPromptInputView as _0x380a81}from'./controls/aichatpromptinputview.js';import{AIChatPromptCapabilitiesView as _0x3f42c0}from'./controls/aichatpromptcapabilitiesview.js';function _0x83df(_0x13c773,_0x505958){const _0x48a8cb=_0x48a8();return _0x83df=function(_0x83df88,_0x495572){_0x83df88=_0x83df88-0x7d;let _0x4f07cc=_0x48a8cb[_0x83df88];return _0x4f07cc;},_0x83df(_0x13c773,_0x505958);}function _0x48a8(){const _0x211d03=['toggleReasoning','resetMessageInput','abortPromptStream','isModelAvailable','_handlePromptInputFocus','_contextPanelView','3608XyVRtD','10PvcueW','4huquVR','sendUserMessage','reset','_modelUnavailableMessageView','updateResourceState','clearPendingContextUI','setWebSearch','focus','startConversation','isDisabled','startsWith','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT','clearCurrentContextItems','_displayedModels','setIsUploadInProgress','clearConversationContextItems','setAddContextOptions','_createModelUnavailableMessageView','setTemplate','change:isLoading','addContextButtonView','ck-ai-chat-controls','setModelList','bindTemplate','72BkRzIL','execute','788860JBaevl','toggleWebSearch','delegate','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON','contextResourcesSearchInputVisibleFrom','selectModel','4277095kfNNam','795411ymPjDu','setInputPlaceholder','2hRYaRF','disableModelSelector','_promptInputView','ck-hidden','form','_createPromptCapabilitiesView','ck-ai-chat-controls-disabled','ck-ai-chat-controls__start-new-chat-button','div','populateSourceResourceBalloon','setModel','agent','bodyCollection','ck-ai-chat-controls-model-unavailable-message','locale','_createContextPanelView','1464690GUQkXI','_loaderView','716359YCIVjH','setPlaceholderText','removeContextItem','closeSourceResourceBalloon','_shouldRestorePromptInputFocus','addContextItem','isLoading','enableModelSelector','_createPromptInputView','setContextItemLoading','_createLoaderView','find','low','element','setReasoning','set','65580DaIVvA','clearConversationContextUI','22944trwMLG','setConversationContext','_promptCapabilitiesView','focusPromptInput'];_0x48a8=function(){return _0x211d03;};return _0x48a8();}import{AIChatContextPanelView as _0x2a0dd3,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x8d52b6}from'./controls/aichatcontextpanelview.js';import{AIChatControlsLoaderView as _0x214cc2}from'./controls/aichatcontrolsloaderview.js';import{getTranslation as _0x5d9eb2}from'../../aicore/utils/common-translations.js';export class AIChatControlsView extends _0x49c51a{[_0x2b35ef(0x9e)]=[];[_0x2b35ef(0x8e)];[_0x2b35ef(0xb6)];[_0x2b35ef(0x87)];[_0x2b35ef(0xc5)];[_0x2b35ef(0x94)];[_0x2b35ef(0xca)];constructor(_0x58b1a1,_0x5a0eaa){const _0x22da0f=_0x2b35ef;super(_0x58b1a1),this[_0x22da0f(0x8e)]=this[_0x22da0f(0xc3)](_0x58b1a1,{'bodyCollection':_0x5a0eaa[_0x22da0f(0xc0)],'searchInputVisibleFrom':_0x5a0eaa[_0x22da0f(0xaf)]}),this[_0x22da0f(0xb6)]=this[_0x22da0f(0xce)](_0x58b1a1),this[_0x22da0f(0x87)]=this[_0x22da0f(0xb9)](_0x58b1a1),this[_0x22da0f(0xc5)]=this[_0x22da0f(0x7d)](_0x58b1a1),this[_0x22da0f(0x94)]=this[_0x22da0f(0xa2)](_0x58b1a1),this[_0x22da0f(0xca)]=!0x1,this[_0x22da0f(0xb6)][_0x22da0f(0xad)](_0x22da0f(0x92))['to'](this),this[_0x22da0f(0xc5)][_0x22da0f(0xad)](_0x22da0f(0x8b))['to'](this),this[_0x22da0f(0x87)][_0x22da0f(0xad)](_0x22da0f(0xac))['to'](this),this[_0x22da0f(0x87)][_0x22da0f(0xad)](_0x22da0f(0x89))['to'](this),this[_0x22da0f(0x87)][_0x22da0f(0xad)](_0x22da0f(0xb0))['to'](this),this[_0x22da0f(0x8e)][_0x22da0f(0xad)](..._0x8d52b6)['to'](this),this[_0x22da0f(0x82)](_0x22da0f(0x8c),!0x0),this[_0x22da0f(0x82)](_0x22da0f(0x9a),!0x1);const _0x473043=this[_0x22da0f(0xa8)];this[_0x22da0f(0xa3)]({'tag':_0x22da0f(0xb8),'attributes':{'class':['ck',_0x22da0f(0xa6),_0x473043['if'](_0x22da0f(0x9a),_0x22da0f(0xba))]},'children':[{'tag':_0x22da0f(0xbc),'attributes':{'class':[_0x473043['if'](_0x22da0f(0xcc),_0x22da0f(0xb7),_0x50843f=>_0x50843f||!this[_0x22da0f(0x8c)]),_0x473043['if'](_0x22da0f(0x8c),_0x22da0f(0xb7),_0x4a6eba=>!_0x4a6eba||this[_0x22da0f(0xcc)])]},'children':[this[_0x22da0f(0x8e)],this[_0x22da0f(0xb6)],this[_0x22da0f(0x87)]]},{'tag':_0x22da0f(0xbc),'attributes':{'class':[_0x473043['if'](_0x22da0f(0xcc),_0x22da0f(0xb7),_0x26c454=>!_0x26c454)]},'children':[this[_0x22da0f(0xc5)]]},{'tag':_0x22da0f(0xbc),'attributes':{'class':[_0x473043['if'](_0x22da0f(0x8c),_0x22da0f(0xb7),_0x586fcc=>_0x586fcc)]},'children':[this[_0x22da0f(0x94)]]}]}),_0x198f5a({'emitter':this[_0x22da0f(0xb6)],'activator':()=>this[_0x22da0f(0xcc)],'contextElements':()=>[this[_0x22da0f(0x80)]],'callback':()=>{const _0x32d0be=_0x22da0f;this[_0x32d0be(0xca)]=!0x1;}}),this['on'](_0x22da0f(0xa4),this[_0x22da0f(0x8d)],{'priority':_0x22da0f(0x7f)});}[_0x2b35ef(0xc3)](_0x280bb3,_0x3e1385){return new _0x2a0dd3(_0x280bb3,_0x3e1385);}[_0x2b35ef(0xce)](_0x3fcf5a){const _0x3ba968=_0x2b35ef;return new _0x380a81(_0x3fcf5a,this[_0x3ba968(0x8e)][_0x3ba968(0xa5)]);}[_0x2b35ef(0xb9)](_0x4461cf){return new _0x3f42c0(_0x4461cf);}[_0x2b35ef(0x7d)](_0x4a693b){return new _0x214cc2(_0x4a693b);}[_0x2b35ef(0xa2)](_0x223f49){const _0x500cb7=_0x2b35ef,_0x5029a0=new _s(_0x223f49);return _0x5029a0[_0x500cb7(0xad)](_0x500cb7(0x99))['to'](this),_0x5029a0;}[_0x2b35ef(0x8d)](_0x30c488,_0x25f820,_0x4bbbbe){const _0xf9f79d=_0x2b35ef;_0x4bbbbe?this[_0xf9f79d(0xca)]=!0x0:this[_0xf9f79d(0xca)]&&this[_0xf9f79d(0xb6)][_0xf9f79d(0x98)]();}[_0x2b35ef(0xcb)](_0x1e86c1,_0x3211b5){const _0x2b9ee3=_0x2b35ef;this[_0x2b9ee3(0x8e)][_0x2b9ee3(0xcb)](_0x1e86c1,_0x3211b5);}[_0x2b35ef(0xc8)](_0xb8116a){const _0x42351b=_0x2b35ef;this[_0x42351b(0x8e)][_0x42351b(0xc8)](_0xb8116a);}[_0x2b35ef(0xcf)](_0x75f160,_0x49805e){const _0x51bc7f=_0x2b35ef;this[_0x51bc7f(0x8e)][_0x51bc7f(0xcf)](_0x75f160,_0x49805e);}[_0x2b35ef(0x9f)](_0x53d6e7){const _0x4f4e93=_0x2b35ef;this[_0x4f4e93(0xb6)][_0x4f4e93(0x9f)](_0x53d6e7);}[_0x2b35ef(0x86)](_0x26baed){const _0x573f0a=_0x2b35ef;this[_0x573f0a(0x8e)][_0x573f0a(0x86)](_0x26baed);}[_0x2b35ef(0x96)](){const _0x3ccfa6=_0x2b35ef;this[_0x3ccfa6(0x8e)][_0x3ccfa6(0x9d)]();}[_0x2b35ef(0x84)](){const _0x273143=_0x2b35ef;this[_0x273143(0x8e)][_0x273143(0xa0)]();}[_0x2b35ef(0x95)](_0x12bf98,_0x21751d,_0x4261ed){const _0x57805d=_0x2b35ef;this[_0x57805d(0x8e)][_0x57805d(0x95)](_0x12bf98,_0x21751d,_0x4261ed);}[_0x2b35ef(0x97)](_0x4f4b3c){const _0xd003d2=_0x2b35ef;this[_0xd003d2(0x87)][_0xd003d2(0x97)](_0x4f4b3c);}[_0x2b35ef(0x81)](_0x35fcc9){const _0x3eec5a=_0x2b35ef;this[_0x3eec5a(0x87)][_0x3eec5a(0x81)](_0x35fcc9);}[_0x2b35ef(0x8a)](){const _0x1d4d49=_0x2b35ef;this[_0x1d4d49(0xb6)][_0x1d4d49(0x93)]();}[_0x2b35ef(0xa1)](_0x4b5797){const _0x1bda0d=_0x2b35ef;this[_0x1bda0d(0x8e)][_0x1bda0d(0xa1)](_0x4b5797);}[_0x2b35ef(0xb3)](_0x3aedd4){const _0x1ccbb9=_0x2b35ef;this[_0x1ccbb9(0xb6)][_0x1ccbb9(0xc7)](_0x3aedd4);}[_0x2b35ef(0xa7)](_0x2387ca,_0x43778f){const _0x1ac328=_0x2b35ef;this[_0x1ac328(0x9e)]=_0x2387ca,this[_0x1ac328(0x87)][_0x1ac328(0xa7)](_0x2387ca,_0x43778f);}[_0x2b35ef(0xbe)](_0x9b745b){const _0x4dbdc9=_0x2b35ef;(_0x9b745b?this[_0x4dbdc9(0x9e)][_0x4dbdc9(0x7e)](_0x4e26e3=>_0x4e26e3['id']===_0x9b745b['id']):null)?(this[_0x4dbdc9(0x8c)]=!0x0,this[_0x4dbdc9(0x87)][_0x4dbdc9(0xbe)](_0x9b745b)):_0x9b745b?.['id'][_0x4dbdc9(0x9b)](_0x4dbdc9(0xbf))?(this[_0x4dbdc9(0x8c)]=!0x0,this[_0x4dbdc9(0x87)][_0x4dbdc9(0xbe)](this[_0x4dbdc9(0x9e)][0x0])):this[_0x4dbdc9(0x8c)]=!0x1;}[_0x2b35ef(0xcd)](){const _0x40bf28=_0x2b35ef;this[_0x40bf28(0x87)][_0x40bf28(0xcd)]();}[_0x2b35ef(0xb5)](_0x3c39a4){const _0xc1aa07=_0x2b35ef;this[_0xc1aa07(0x87)][_0xc1aa07(0xb5)](_0x3c39a4);}[_0x2b35ef(0xbd)](_0x2ce3b8,_0x1d9730,_0xd2733,_0x59e30f){const _0x5a0d18=_0x2b35ef;this[_0x5a0d18(0x8e)][_0x5a0d18(0xbd)](_0x2ce3b8,_0x1d9730,_0xd2733,_0x59e30f);}[_0x2b35ef(0xc9)](_0x34955a){const _0x9c1230=_0x2b35ef;this[_0x9c1230(0x8e)][_0x9c1230(0xc9)](_0x34955a);}[_0x2b35ef(0x88)](){const _0x49c55d=_0x2b35ef;this[_0x49c55d(0xb6)][_0x49c55d(0x98)]();}}class _s extends _0x49c51a{constructor(_0x55425f){const _0x3b35fb=_0x2b35ef;super(_0x55425f);const _0xcc8a2=new _0x4c9898(_0x55425f);_0xcc8a2[_0x3b35fb(0x82)]({'label':_0x5d9eb2(this[_0x3b35fb(0xc2)],_0x3b35fb(0xae)),'withText':!0x0,'class':[_0x3b35fb(0xbb)],'tooltip':''}),_0xcc8a2[_0x3b35fb(0xad)](_0x3b35fb(0xaa))['to'](this,_0x3b35fb(0x99)),this[_0x3b35fb(0xa3)]({'tag':_0x3b35fb(0xbc),'attributes':{'class':['ck',_0x3b35fb(0xc1)]},'children':[{'tag':'p','children':[{'text':_0x5d9eb2(this[_0x3b35fb(0xc2)],_0x3b35fb(0x9c))+'\x20'},_0xcc8a2]}]});}}
@@ -16,7 +16,7 @@ import { AIChatFeedUserMessageItemView } from './feed/aichatfeedusermessageitem.
16
16
  import { AIChatFeedErrorItemView } from './feed/aichatfeederroritemview.js';
17
17
  import { AIChatFeedInteractionHeaderView } from './feed/aichatfeedinteractionheaderview.js';
18
18
  import { type AISuggestionContentPartDefinition } from '../../aicore/utils/getsuggestionpartsfromreply.js';
19
- import { type AIReplySource } from '../../aicore/model/aireply.js';
19
+ import { type AIReplyChangeGroupState, type AIReplySource } from '../../aicore/model/aireply.js';
20
20
  /**
21
21
  * A view that displays the chat feed with various items.
22
22
  */
@@ -78,7 +78,7 @@ export declare class AIChatFeedView extends View {
78
78
  updateSuggestionPartState({ id, index, state }: {
79
79
  id: string;
80
80
  index: number;
81
- state: string;
81
+ state: AIReplyChangeGroupState;
82
82
  }): void;
83
83
  /**
84
84
  * Marks an item as done.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36572d=_0xe104;(function(_0x524826,_0x47c2dd){const _0x29f050=_0xe104,_0x39a07d=_0x524826();while(!![]){try{const _0x300632=parseInt(_0x29f050(0xea))/0x1*(-parseInt(_0x29f050(0xc6))/0x2)+parseInt(_0x29f050(0xb7))/0x3*(-parseInt(_0x29f050(0xaa))/0x4)+parseInt(_0x29f050(0xba))/0x5+-parseInt(_0x29f050(0xd7))/0x6+parseInt(_0x29f050(0xdb))/0x7*(-parseInt(_0x29f050(0xf3))/0x8)+parseInt(_0x29f050(0xde))/0x9*(-parseInt(_0x29f050(0xe8))/0xa)+parseInt(_0x29f050(0xd3))/0xb*(parseInt(_0x29f050(0xe7))/0xc);if(_0x300632===_0x47c2dd)break;else _0x39a07d['push'](_0x39a07d['shift']());}catch(_0x1211af){_0x39a07d['push'](_0x39a07d['shift']());}}}(_0x532f,0x983d2));import{CKEditorError as _0x93584d,logWarning as _0x3fe92d,scrollViewportToShowTarget as _0x29c801}from'ckeditor5/src/utils.js';import{View as _0x22d56f}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x2c87fd}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x1d05b2}from'./feed/aichatfeedsuggestionitemview.js';function _0xe104(_0x4409e0,_0x11a6ac){const _0x532f98=_0x532f();return _0xe104=function(_0xe10485,_0x862465){_0xe10485=_0xe10485-0xa4;let _0x4ecc0f=_0x532f98[_0xe10485];return _0x4ecc0f;},_0xe104(_0x4409e0,_0x11a6ac);}import{AIChatFeedReplyItemView as _0xcd8acf}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x2c9a81}from'./feed/aichatfeedusermessageitem.js';function _0x532f(){const _0x28d8ee=['add','7nALMFo','clear','delegate','61443NicFsR','_createFeedItems','toggleLoadingSkeleton','ck-hidden','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','scrollManager','map','updateSuggestionPartState','find','1318776LGynJT','1070LBRpJm','startAutoScroll','106ABUSen','isTrackChangesOn','includes','stop','user-message','_createSkeletonLoader','createCollection','aiFeed','updateContent','7561448qeGqzW','ai-suggestion-reply','updateWebSources','stopAutoScroll','ck-ai-chat__loader','element','_setupTemplate','interaction-header','_bodyCollection','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','4ZQXXqU','span','_createTemplateChildren','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','start','removeItem','destroy','options','children','setTemplate','bindTemplate','locale','ai-chat-feed-view-item-not-a-suggestion-item','305625zGbTYM','bind','ck-ai-chat__feed__items','4597375nTkNNw','updatePartState','loadingMessage','ck-ai-chat__feed','getPartView','ai-chat-feed-view-item-not-a-reply-item','updateSuggestionItem','markItemAsDone','div','addItem','markAsDone','isLoadingSkeletonVisible','9938girAPw','_createFeedLoader','render','updateReplyItem','ck-ai-chat__loader-text','scrollToSuggestion','remove','updateSources','getItemById','setLoadingMessage','ai-chat-feed-view-item-not-found','set','_createLoaderChildren','286EzCTeO','isPending','getItemIds','ai-reply','5093964FgsIbm','isVisible','extendTemplate'];_0x532f=function(){return _0x28d8ee;};return _0x532f();}import{AIChatFeedErrorItemView as _0x2e3ca3}from'./feed/aichatfeederroritemview.js';import{AIChatFeedInteractionHeaderView as _0x5b8e8b}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x2f1edb}from'../utils/scrollmanager.js';import{AISkeletonView as _0x39bec6,SKELETON_DEFINITIONS as _0x220a2b}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x4fdc13}from'../../aicore/ui/aispinner.js';export class AIChatFeedView extends _0x22d56f{[_0x36572d(0xb2)];[_0x36572d(0xe3)];[_0x36572d(0xa8)];constructor(_0x6f0735,_0xfb55d6){const _0x52d2d2=_0x36572d;super(_0x6f0735),this[_0x52d2d2(0xa8)]=_0xfb55d6,this[_0x52d2d2(0xd1)](_0x52d2d2(0xd4),!0x1),this[_0x52d2d2(0xd1)](_0x52d2d2(0xbc),''),this[_0x52d2d2(0xd1)](_0x52d2d2(0xc5),!0x1),this[_0x52d2d2(0xd1)](_0x52d2d2(0xeb),!0x1),this[_0x52d2d2(0xb2)]=this[_0x52d2d2(0xf0)](),this[_0x52d2d2(0xb2)][_0x52d2d2(0xdd)](..._0x2c87fd)['to'](this),this[_0x52d2d2(0xa6)]();}[_0x36572d(0xc8)](){const _0x69dbc4=_0x36572d;super[_0x69dbc4(0xc8)](),this[_0x69dbc4(0xe3)]=new _0x2f1edb(this[_0x69dbc4(0xa5)]);}[_0x36572d(0xb0)](){const _0x3e5c42=_0x36572d;super[_0x3e5c42(0xb0)](),this[_0x3e5c42(0xe3)][_0x3e5c42(0xb0)]();}[_0x36572d(0xdc)](){const _0x19f3be=_0x36572d;this[_0x19f3be(0xb2)][_0x19f3be(0xdc)]();}[_0x36572d(0xc3)](_0x1b3410,_0xff401e){const _0x313897=_0x36572d;let _0xf67c39;_0x313897(0xd6)===_0x1b3410?_0xf67c39=new _0xcd8acf(this[_0x313897(0xb5)],_0xff401e):_0x313897(0xf4)===_0x1b3410?(_0xf67c39=new _0x1d05b2(this[_0x313897(0xb5)],_0xff401e),_0xf67c39[_0x313897(0xb8)](_0x313897(0xeb))['to'](this,_0x313897(0xeb))):_0xf67c39=_0x313897(0xee)===_0x1b3410?new _0x2c9a81(this[_0x313897(0xb5)],_0xff401e,this[_0x313897(0xa8)]):_0x313897(0xa7)===_0x1b3410?new _0x5b8e8b(this[_0x313897(0xb5)],_0xff401e):new _0x2e3ca3(_0xff401e),this[_0x313897(0xb2)][_0x313897(0xda)](_0xf67c39);}async[_0x36572d(0xc9)]({id:_0x114bab,parsedContent:_0x13075c,renderingStrategy:_0x2891b1,abortSignal:_0xf3d2a9}){const _0x3d8061=_0x36572d,_0x3d3905=this[_0x3d8061(0xce)](_0x114bab);if(!(_0x3d3905 instanceof _0xcd8acf))throw new _0x93584d(_0x3d8061(0xbf),null,{'itemView':_0x3d3905,'id':_0x114bab,'parsedContent':_0x13075c});await _0x3d3905[_0x3d8061(0xf2)]({'parsedContent':_0x13075c,'renderingStrategy':_0x2891b1,'abortSignal':_0xf3d2a9});}async[_0x36572d(0xf5)](_0x2862f8,_0x5b66aa){const _0x47aa98=_0x36572d,_0x55b984=this[_0x47aa98(0xce)](_0x2862f8);if(_0x55b984 instanceof _0x1d05b2)_0x55b984[_0x47aa98(0xcd)](_0x5b66aa);else{if(!(_0x55b984 instanceof _0xcd8acf))throw new _0x93584d(_0x47aa98(0xe2),null,{'itemView':_0x55b984,'id':_0x2862f8,'sources':_0x5b66aa});_0x55b984[_0x47aa98(0xcd)](_0x5b66aa);}}async[_0x36572d(0xc0)]({id:_0x4ca48d,parts:_0x54fff1,renderingStrategy:_0x1cc358,abortSignal:_0x5080c1}){const _0x35f7c3=_0x36572d,_0x52dcc6=this[_0x35f7c3(0xce)](_0x4ca48d);if(!(_0x52dcc6 instanceof _0x1d05b2))throw new _0x93584d(_0x35f7c3(0xb6),null,{'itemView':_0x52dcc6,'id':_0x4ca48d,'parts':_0x54fff1});await _0x52dcc6[_0x35f7c3(0xf2)]({'parts':_0x54fff1,'renderingStrategy':_0x1cc358,'abortSignal':_0x5080c1});}[_0x36572d(0xe5)]({id:_0x4ffa7d,index:_0x127ba5,state:_0x586c29}){const _0x2d7d95=_0x36572d,_0xa1f68c=this[_0x2d7d95(0xce)](_0x4ffa7d);if(!(_0xa1f68c instanceof _0x1d05b2))throw new _0x93584d(_0x2d7d95(0xb6),this,{'id':_0x4ffa7d});_0xa1f68c[_0x2d7d95(0xbb)](_0x127ba5,_0x586c29);}[_0x36572d(0xc1)](_0x1ab76a){const _0x2101c8=_0x36572d;this[_0x2101c8(0xce)](_0x1ab76a)[_0x2101c8(0xc4)]();}[_0x36572d(0xd5)](){const _0x273e48=_0x36572d;return this[_0x273e48(0xb2)][_0x273e48(0xe4)](_0x21317d=>_0x21317d[_0x273e48(0xb1)]['id']);}[_0x36572d(0xaf)](_0x2c70e8){const _0x212ebe=_0x36572d;this[_0x212ebe(0xb2)][_0x212ebe(0xcc)](this[_0x212ebe(0xce)](_0x2c70e8));}[_0x36572d(0xcb)](_0x2f86a7,_0x2cc6aa){const _0x2836c8=_0x36572d,_0x57eb5a=this[_0x2836c8(0xce)](_0x2f86a7);if(!(_0x57eb5a instanceof _0x1d05b2))return void _0x3fe92d(_0x2836c8(0xad),{'replyId':_0x2f86a7,'partIndex':_0x2cc6aa});const _0x49bc25=_0x57eb5a[_0x2836c8(0xbe)](_0x2cc6aa);_0x49bc25?_0x29c801({'target':_0x49bc25[_0x2836c8(0xa5)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x3fe92d(_0x2836c8(0xa9),{'replyId':_0x2f86a7,'partIndex':_0x2cc6aa});}[_0x36572d(0xa6)](){const _0x4a35a2=_0x36572d;this[_0x4a35a2(0xb3)]({'tag':_0x4a35a2(0xc2),'attributes':{'class':['ck',_0x4a35a2(0xbd)]},'children':this[_0x4a35a2(0xac)]()});}[_0x36572d(0xac)](){const _0x16232f=_0x36572d,_0x404b8b=this[_0x16232f(0xef)]();return[this[_0x16232f(0xdf)](),_0x404b8b,this[_0x16232f(0xc7)]()];}[_0x36572d(0xef)](){const _0x5bace1=_0x36572d,_0x14d85b=new _0x39bec6(this[_0x5bace1(0xb5)],_0x220a2b[_0x5bace1(0xf1)]);return _0x14d85b[_0x5bace1(0xd9)]({'attributes':{'class':[this[_0x5bace1(0xb4)]['if'](_0x5bace1(0xc5),_0x5bace1(0xe1),_0x3a3739=>!_0x3a3739)]}}),_0x14d85b;}[_0x36572d(0xdf)](){const _0x2621d6=_0x36572d,_0x39d3df=new _0x22d56f(this[_0x2621d6(0xb5)]);return _0x39d3df[_0x2621d6(0xb3)]({'tag':_0x2621d6(0xc2),'attributes':{'class':['ck',_0x2621d6(0xb9),this[_0x2621d6(0xb4)]['if'](_0x2621d6(0xc5),_0x2621d6(0xe1))]},'children':this[_0x2621d6(0xb2)]}),_0x39d3df;}[_0x36572d(0xc7)](){const _0x4fe81b=_0x36572d,_0x4f7f5c=new _0x22d56f(this[_0x4fe81b(0xb5)]);return _0x4f7f5c[_0x4fe81b(0xb3)]({'tag':_0x4fe81b(0xc2),'attributes':{'class':['ck',_0x4fe81b(0xa4),this[_0x4fe81b(0xb4)]['if'](_0x4fe81b(0xd4),_0x4fe81b(0xe1),_0x12c2e0=>!_0x12c2e0)]},'children':this[_0x4fe81b(0xd2)]()}),_0x4f7f5c;}[_0x36572d(0xd2)](){const _0x53abdd=_0x36572d,_0x948276=new _0x4fdc13();return _0x948276[_0x53abdd(0xd8)]=!0x0,[_0x948276,{'tag':_0x53abdd(0xab),'attributes':{'class':['ck',_0x53abdd(0xca)]},'children':[{'text':this[_0x53abdd(0xb4)]['to'](_0x53abdd(0xbc))}]}];}[_0x36572d(0xce)](_0x3d3dfb){const _0x555019=_0x36572d,_0x1f32a2=this[_0x555019(0xb2)][_0x555019(0xe6)](_0x5c5341=>_0x5c5341[_0x555019(0xb1)]['id'][_0x555019(0xec)](_0x3d3dfb));if(!_0x1f32a2)throw new _0x93584d(_0x555019(0xd0),this,{'id':_0x3d3dfb});return _0x1f32a2;}[_0x36572d(0xcf)](_0x7df104){const _0x36d820=_0x36572d;this[_0x36d820(0xd1)](_0x36d820(0xbc),_0x7df104);}[_0x36572d(0xe0)](_0xcaaf86){const _0x1a27a3=_0x36572d;this[_0x1a27a3(0xd1)](_0x1a27a3(0xc5),_0xcaaf86);}[_0x36572d(0xe9)](){const _0x3180e7=_0x36572d;this[_0x3180e7(0xe3)][_0x3180e7(0xae)]();}[_0x36572d(0xf6)](){const _0x28a645=_0x36572d;this[_0x28a645(0xe3)][_0x28a645(0xed)]();}}
23
+ const _0x3780d1=_0x2a75;function _0x2a75(_0x2cf60f,_0x4d32bf){const _0x417f0b=_0x417f();return _0x2a75=function(_0x2a75d3,_0x32fde6){_0x2a75d3=_0x2a75d3-0x80;let _0xfac794=_0x417f0b[_0x2a75d3];return _0xfac794;},_0x2a75(_0x2cf60f,_0x4d32bf);}(function(_0x1f8e8e,_0x7a4baf){const _0x13c10c=_0x2a75,_0x7dc4f0=_0x1f8e8e();while(!![]){try{const _0x5af721=-parseInt(_0x13c10c(0x8e))/0x1+parseInt(_0x13c10c(0xb5))/0x2*(-parseInt(_0x13c10c(0x96))/0x3)+parseInt(_0x13c10c(0xb7))/0x4*(-parseInt(_0x13c10c(0x93))/0x5)+-parseInt(_0x13c10c(0xc2))/0x6+-parseInt(_0x13c10c(0x8d))/0x7*(parseInt(_0x13c10c(0xae))/0x8)+-parseInt(_0x13c10c(0xaf))/0x9*(-parseInt(_0x13c10c(0x84))/0xa)+parseInt(_0x13c10c(0x91))/0xb;if(_0x5af721===_0x7a4baf)break;else _0x7dc4f0['push'](_0x7dc4f0['shift']());}catch(_0x59de9a){_0x7dc4f0['push'](_0x7dc4f0['shift']());}}}(_0x417f,0xc08f7));import{CKEditorError as _0x44f375,logWarning as _0x3da7e9,scrollViewportToShowTarget as _0x30947f}from'ckeditor5/src/utils.js';import{View as _0x5e63d9}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x43c254}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x2bce79}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x4a5b8f}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x798289}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x41d9b6}from'./feed/aichatfeederroritemview.js';import{AIChatFeedInteractionHeaderView as _0x3f5dfa}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x3286ed}from'../utils/scrollmanager.js';import{AISkeletonView as _0x2365e2,SKELETON_DEFINITIONS as _0x4f7589}from'../../aicore/ui/aiskeleton.js';function _0x417f(){const _0x303085=['_bodyCollection','user-message','div','isVisible','aiFeed','33080aaghOU','1524564ZVKDrk','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','ck-ai-chat__loader','start','children','updateReplyItem','4408pSIEVz','updateContent','4ZCjUmh','markItemAsDone','_createFeedItems','updateWebSources','locale','render','span','addItem','clear','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','destroy','3047172zqJcPJ','bind','options','stopAutoScroll','find','setLoadingMessage','isLoadingSkeletonVisible','getPartView','ai-chat-feed-view-item-not-a-reply-item','startAutoScroll','add','ck-ai-chat__feed__items','remove','element','extendTemplate','markAsDone','bindTemplate','includes','ai-suggestion-reply','updateSuggestionPartState','90VJEzsI','_createLoaderChildren','updateSources','toggleLoadingSkeleton','setTemplate','_setupTemplate','ai-chat-feed-view-item-not-found','getItemById','ai-chat-feed-view-item-not-a-suggestion-item','1897vhkSdj','212532DCoNmf','_createTemplateChildren','ck-hidden','37728625fMxycB','createCollection','6488345auABlG','_createSkeletonLoader','scrollToSuggestion','1398cbnPqT','updatePartState','loadingMessage','isPending','ck-ai-chat__loader-text','getItemIds','map','interaction-header','_createFeedLoader','removeItem','set','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','ai-reply','updateSuggestionItem','stop','delegate','ck-ai-chat__feed','isTrackChangesOn','scrollManager'];_0x417f=function(){return _0x303085;};return _0x417f();}import{AISpinnerView as _0x5aa0b}from'../../aicore/ui/aispinner.js';export class AIChatFeedView extends _0x5e63d9{[_0x3780d1(0xb3)];[_0x3780d1(0xa8)];[_0x3780d1(0xa9)];constructor(_0x582d25,_0x40d7dd){const _0x13bfab=_0x3780d1;super(_0x582d25),this[_0x13bfab(0xa9)]=_0x40d7dd,this[_0x13bfab(0xa0)](_0x13bfab(0x99),!0x1),this[_0x13bfab(0xa0)](_0x13bfab(0x98),''),this[_0x13bfab(0xa0)](_0x13bfab(0xc8),!0x1),this[_0x13bfab(0xa0)](_0x13bfab(0xa7),!0x1),this[_0x13bfab(0xb3)]=this[_0x13bfab(0x92)](),this[_0x13bfab(0xb3)][_0x13bfab(0xa5)](..._0x43c254)['to'](this),this[_0x13bfab(0x89)]();}[_0x3780d1(0xbc)](){const _0xfba27c=_0x3780d1;super[_0xfba27c(0xbc)](),this[_0xfba27c(0xa8)]=new _0x3286ed(this[_0xfba27c(0xcf)]);}[_0x3780d1(0xc1)](){const _0x443760=_0x3780d1;super[_0x443760(0xc1)](),this[_0x443760(0xa8)][_0x443760(0xc1)]();}[_0x3780d1(0xbf)](){const _0x433f2b=_0x3780d1;this[_0x433f2b(0xb3)][_0x433f2b(0xbf)]();}[_0x3780d1(0xbe)](_0x1ef035,_0x1359a6){const _0x26a38f=_0x3780d1;let _0xb38056;_0x26a38f(0xa2)===_0x1ef035?_0xb38056=new _0x4a5b8f(this[_0x26a38f(0xbb)],_0x1359a6):_0x26a38f(0x82)===_0x1ef035?(_0xb38056=new _0x2bce79(this[_0x26a38f(0xbb)],_0x1359a6),_0xb38056[_0x26a38f(0xc3)](_0x26a38f(0xa7))['to'](this,_0x26a38f(0xa7))):_0xb38056=_0x26a38f(0xaa)===_0x1ef035?new _0x798289(this[_0x26a38f(0xbb)],_0x1359a6,this[_0x26a38f(0xa9)]):_0x26a38f(0x9d)===_0x1ef035?new _0x3f5dfa(this[_0x26a38f(0xbb)],_0x1359a6):new _0x41d9b6(_0x1359a6),this[_0x26a38f(0xb3)][_0x26a38f(0xcc)](_0xb38056);}async[_0x3780d1(0xb4)]({id:_0x49b979,parsedContent:_0x220c38,renderingStrategy:_0xdaf8ca,abortSignal:_0x313c51}){const _0x1831c5=_0x3780d1,_0x26fb97=this[_0x1831c5(0x8b)](_0x49b979);if(!(_0x26fb97 instanceof _0x4a5b8f))throw new _0x44f375(_0x1831c5(0xca),null,{'itemView':_0x26fb97,'id':_0x49b979,'parsedContent':_0x220c38});await _0x26fb97[_0x1831c5(0xb6)]({'parsedContent':_0x220c38,'renderingStrategy':_0xdaf8ca,'abortSignal':_0x313c51});}async[_0x3780d1(0xba)](_0x93e01d,_0x53e062){const _0x229b57=_0x3780d1,_0x1128eb=this[_0x229b57(0x8b)](_0x93e01d);if(_0x1128eb instanceof _0x2bce79)_0x1128eb[_0x229b57(0x86)](_0x53e062);else{if(!(_0x1128eb instanceof _0x4a5b8f))throw new _0x44f375(_0x229b57(0xa1),null,{'itemView':_0x1128eb,'id':_0x93e01d,'sources':_0x53e062});_0x1128eb[_0x229b57(0x86)](_0x53e062);}}async[_0x3780d1(0xa3)]({id:_0x3dfc7b,parts:_0x3695b1,renderingStrategy:_0xee29ca,abortSignal:_0x47707d}){const _0x22f70e=_0x3780d1,_0x56c82b=this[_0x22f70e(0x8b)](_0x3dfc7b);if(!(_0x56c82b instanceof _0x2bce79))throw new _0x44f375(_0x22f70e(0x8c),null,{'itemView':_0x56c82b,'id':_0x3dfc7b,'parts':_0x3695b1});await _0x56c82b[_0x22f70e(0xb6)]({'parts':_0x3695b1,'renderingStrategy':_0xee29ca,'abortSignal':_0x47707d});}[_0x3780d1(0x83)]({id:_0x1a801b,index:_0x37c9fc,state:_0x4ae965}){const _0x560ce2=_0x3780d1,_0x25b3b3=this[_0x560ce2(0x8b)](_0x1a801b);if(!(_0x25b3b3 instanceof _0x2bce79))throw new _0x44f375(_0x560ce2(0x8c),this,{'id':_0x1a801b});_0x25b3b3[_0x560ce2(0x97)](_0x37c9fc,_0x4ae965);}[_0x3780d1(0xb8)](_0x3d3181){const _0x49e963=_0x3780d1;this[_0x49e963(0x8b)](_0x3d3181)[_0x49e963(0xd1)]();}[_0x3780d1(0x9b)](){const _0xa9ecd0=_0x3780d1;return this[_0xa9ecd0(0xb3)][_0xa9ecd0(0x9c)](_0x6b4111=>_0x6b4111[_0xa9ecd0(0xc4)]['id']);}[_0x3780d1(0x9f)](_0x10c205){const _0x250757=_0x3780d1;this[_0x250757(0xb3)][_0x250757(0xce)](this[_0x250757(0x8b)](_0x10c205));}[_0x3780d1(0x95)](_0x46840d,_0x5045a3){const _0x197d58=_0x3780d1,_0xebecbd=this[_0x197d58(0x8b)](_0x46840d);if(!(_0xebecbd instanceof _0x2bce79))return void _0x3da7e9(_0x197d58(0xc0),{'replyId':_0x46840d,'partIndex':_0x5045a3});const _0x1de69a=_0xebecbd[_0x197d58(0xc9)](_0x5045a3);_0x1de69a?_0x30947f({'target':_0x1de69a[_0x197d58(0xcf)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x3da7e9(_0x197d58(0xb0),{'replyId':_0x46840d,'partIndex':_0x5045a3});}[_0x3780d1(0x89)](){const _0x2cd0d0=_0x3780d1;this[_0x2cd0d0(0x88)]({'tag':_0x2cd0d0(0xab),'attributes':{'class':['ck',_0x2cd0d0(0xa6)]},'children':this[_0x2cd0d0(0x8f)]()});}[_0x3780d1(0x8f)](){const _0x8528b5=_0x3780d1,_0x1362f2=this[_0x8528b5(0x94)]();return[this[_0x8528b5(0xb9)](),_0x1362f2,this[_0x8528b5(0x9e)]()];}[_0x3780d1(0x94)](){const _0x46add3=_0x3780d1,_0x3aa175=new _0x2365e2(this[_0x46add3(0xbb)],_0x4f7589[_0x46add3(0xad)]);return _0x3aa175[_0x46add3(0xd0)]({'attributes':{'class':[this[_0x46add3(0x80)]['if'](_0x46add3(0xc8),_0x46add3(0x90),_0x5eee44=>!_0x5eee44)]}}),_0x3aa175;}[_0x3780d1(0xb9)](){const _0x5d0b0f=_0x3780d1,_0x4ea9b4=new _0x5e63d9(this[_0x5d0b0f(0xbb)]);return _0x4ea9b4[_0x5d0b0f(0x88)]({'tag':_0x5d0b0f(0xab),'attributes':{'class':['ck',_0x5d0b0f(0xcd),this[_0x5d0b0f(0x80)]['if'](_0x5d0b0f(0xc8),_0x5d0b0f(0x90))]},'children':this[_0x5d0b0f(0xb3)]}),_0x4ea9b4;}[_0x3780d1(0x9e)](){const _0x523fe2=_0x3780d1,_0x4834c6=new _0x5e63d9(this[_0x523fe2(0xbb)]);return _0x4834c6[_0x523fe2(0x88)]({'tag':_0x523fe2(0xab),'attributes':{'class':['ck',_0x523fe2(0xb1),this[_0x523fe2(0x80)]['if'](_0x523fe2(0x99),_0x523fe2(0x90),_0x785c5f=>!_0x785c5f)]},'children':this[_0x523fe2(0x85)]()}),_0x4834c6;}[_0x3780d1(0x85)](){const _0x472a70=_0x3780d1,_0x2bc5f4=new _0x5aa0b();return _0x2bc5f4[_0x472a70(0xac)]=!0x0,[_0x2bc5f4,{'tag':_0x472a70(0xbd),'attributes':{'class':['ck',_0x472a70(0x9a)]},'children':[{'text':this[_0x472a70(0x80)]['to'](_0x472a70(0x98))}]}];}[_0x3780d1(0x8b)](_0x13dd22){const _0x16e6ac=_0x3780d1,_0x3016fa=this[_0x16e6ac(0xb3)][_0x16e6ac(0xc6)](_0x38aec0=>_0x38aec0[_0x16e6ac(0xc4)]['id'][_0x16e6ac(0x81)](_0x13dd22));if(!_0x3016fa)throw new _0x44f375(_0x16e6ac(0x8a),this,{'id':_0x13dd22});return _0x3016fa;}[_0x3780d1(0xc7)](_0x503d40){const _0x2d91cd=_0x3780d1;this[_0x2d91cd(0xa0)](_0x2d91cd(0x98),_0x503d40);}[_0x3780d1(0x87)](_0x99595b){const _0x43cde1=_0x3780d1;this[_0x43cde1(0xa0)](_0x43cde1(0xc8),_0x99595b);}[_0x3780d1(0xcb)](){const _0x4ec31e=_0x3780d1;this[_0x4ec31e(0xa8)][_0x4ec31e(0xb2)]();}[_0x3780d1(0xc5)](){const _0x519178=_0x3780d1;this[_0x519178(0xa8)][_0x519178(0xa4)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3814(){const _0x449ad0=['1074hVzDYZ','conversationStartButton','288372fipwsy','startConversation','ck-ai-chat__start-conversation','735690VDEuSk','36qqQyzL','locale','_createStartConversationButton','ck-ai-header\x20ck-ai-header_chat','fire','set','16LnjCeR','AI_CHAT_HEADING','576IwlqiY','9388CnsIrK','144GcakGe','isMaximized','133661uuIxsB','resizeButton','6227858GXEGmU','add','children','452tgTYQT','execute','9895OktNst','AI_CHAT_LABEL_NEW_CHAT','9QcDzqQ'];_0x3814=function(){return _0x449ad0;};return _0x3814();}const _0x587f63=_0x1a6a;function _0x1a6a(_0x547fa5,_0x2a2801){const _0x38145f=_0x3814();return _0x1a6a=function(_0x1a6ad4,_0x72bdcd){_0x1a6ad4=_0x1a6ad4-0x156;let _0x1f2a9e=_0x38145f[_0x1a6ad4];return _0x1f2a9e;},_0x1a6a(_0x547fa5,_0x2a2801);}(function(_0x2d5537,_0xe4b9ae){const _0x150926=_0x1a6a,_0x5c1b17=_0x2d5537();while(!![]){try{const _0x39db04=parseInt(_0x150926(0x171))/0x1*(-parseInt(_0x150926(0x15a))/0x2)+-parseInt(_0x150926(0x16a))/0x3*(parseInt(_0x150926(0x169))/0x4)+parseInt(_0x150926(0x157))/0x5*(-parseInt(_0x150926(0x168))/0x6)+-parseInt(_0x150926(0x15c))/0x7*(-parseInt(_0x150926(0x166))/0x8)+-parseInt(_0x150926(0x159))/0x9*(-parseInt(_0x150926(0x15f))/0xa)+parseInt(_0x150926(0x16c))/0xb*(parseInt(_0x150926(0x160))/0xc)+parseInt(_0x150926(0x16e))/0xd;if(_0x39db04===_0xe4b9ae)break;else _0x5c1b17['push'](_0x5c1b17['shift']());}catch(_0x48080a){_0x5c1b17['push'](_0x5c1b17['shift']());}}}(_0x3814,0x1eca4));import{ButtonView as _0x289e93,FormHeaderView as _0x1dd769}from'ckeditor5/src/ui.js';import{IconPlus as _0x36ba7f,IconAIChat as _0x1510ed}from'ckeditor5/src/icons.js';import{getTranslation as _0x34eb3e}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x371c5c}from'../../aicore/utils/createresizebutton.js';export class AIChatHeaderView extends _0x1dd769{[_0x587f63(0x15b)];[_0x587f63(0x16d)];constructor(_0x5cf77e,_0x2db588){const _0x29e386=_0x587f63;super(_0x5cf77e,{'label':_0x34eb3e(_0x5cf77e,_0x29e386(0x167)),'class':_0x29e386(0x163),'icon':_0x1510ed}),this[_0x29e386(0x165)](_0x29e386(0x16b),!0x1),this[_0x29e386(0x15b)]=this[_0x29e386(0x162)](_0x5cf77e),this[_0x29e386(0x170)][_0x29e386(0x16f)](this[_0x29e386(0x15b)]),_0x2db588&&(this[_0x29e386(0x16d)]=_0x371c5c(_0x5cf77e,this),this[_0x29e386(0x170)][_0x29e386(0x16f)](this[_0x29e386(0x16d)]));}[_0x587f63(0x162)](_0x39c23e){const _0x4610f0=_0x587f63,_0x23c510=new _0x289e93(_0x39c23e);return _0x23c510[_0x4610f0(0x165)]({'label':_0x34eb3e(this[_0x4610f0(0x161)],_0x4610f0(0x158)),'withText':!0x0,'icon':_0x36ba7f,'class':_0x4610f0(0x15e)}),_0x23c510['on'](_0x4610f0(0x156),()=>{const _0x1cfe12=_0x4610f0;this[_0x1cfe12(0x164)](_0x1cfe12(0x15d));}),_0x23c510;}}
23
+ function _0x5d81(){const _0x285353=['set','execute','ck-ai-header\x20ck-ai-header_chat','336068QZaEwp','9724131zBfrxT','7wBHKtK','5187606HaLUbL','conversationStartButton','startConversation','resizeButton','_createStartConversationButton','isMaximized','fire','ck-ai-chat__start-conversation','868122cMyWqD','4JQhXKy','7733430YjktVn','602dsGVpc','AI_CHAT_HEADING','27488880qQJfRx','AI_CHAT_LABEL_NEW_CHAT','add','58288adLFeM','locale','children'];_0x5d81=function(){return _0x285353;};return _0x5d81();}const _0x2b0505=_0x2d9b;(function(_0x5a7790,_0x55c703){const _0x257106=_0x2d9b,_0x5b752a=_0x5a7790();while(!![]){try{const _0x36bc55=parseInt(_0x257106(0xd2))/0x1*(-parseInt(_0x257106(0xd0))/0x2)+-parseInt(_0x257106(0xdb))/0x3*(-parseInt(_0x257106(0xdc))/0x4)+parseInt(_0x257106(0xdd))/0x5+-parseInt(_0x257106(0xd3))/0x6+parseInt(_0x257106(0xde))/0x7*(-parseInt(_0x257106(0xe3))/0x8)+-parseInt(_0x257106(0xd1))/0x9+parseInt(_0x257106(0xe0))/0xa;if(_0x36bc55===_0x55c703)break;else _0x5b752a['push'](_0x5b752a['shift']());}catch(_0x27ab93){_0x5b752a['push'](_0x5b752a['shift']());}}}(_0x5d81,0xcc5be));import{ButtonView as _0x3ad259,FormHeaderView as _0x4b92f4}from'ckeditor5/src/ui.js';import{IconPlus as _0x362bf3,IconAIChat as _0x2d2d74}from'ckeditor5/src/icons.js';function _0x2d9b(_0x3b01bb,_0xf2a2ed){const _0x5d81bd=_0x5d81();return _0x2d9b=function(_0x2d9b6b,_0x260966){_0x2d9b6b=_0x2d9b6b-0xcb;let _0x10b8bb=_0x5d81bd[_0x2d9b6b];return _0x10b8bb;},_0x2d9b(_0x3b01bb,_0xf2a2ed);}import{getTranslation as _0x5b8d08}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x22bce9}from'../../aicore/utils/createresizebutton.js';export class AIChatHeaderView extends _0x4b92f4{[_0x2b0505(0xd4)];[_0x2b0505(0xd6)];constructor(_0xef6a45,_0x596a55){const _0x125eda=_0x2b0505;super(_0xef6a45,{'label':_0x5b8d08(_0xef6a45,_0x125eda(0xdf)),'class':_0x125eda(0xcf),'icon':_0x2d2d74}),this[_0x125eda(0xcd)](_0x125eda(0xd8),!0x1),this[_0x125eda(0xd4)]=this[_0x125eda(0xd7)](_0xef6a45),this[_0x125eda(0xcc)][_0x125eda(0xe2)](this[_0x125eda(0xd4)]),_0x596a55&&(this[_0x125eda(0xd6)]=_0x22bce9(_0xef6a45,this),this[_0x125eda(0xcc)][_0x125eda(0xe2)](this[_0x125eda(0xd6)]));}[_0x2b0505(0xd7)](_0x320993){const _0xc4d795=_0x2b0505,_0x1d6913=new _0x3ad259(_0x320993);return _0x1d6913[_0xc4d795(0xcd)]({'label':_0x5b8d08(this[_0xc4d795(0xcb)],_0xc4d795(0xe1)),'withText':!0x0,'icon':_0x362bf3,'class':_0xc4d795(0xda)}),_0x1d6913['on'](_0xc4d795(0xce),()=>{const _0x41feda=_0xc4d795;this[_0x41feda(0xd9)](_0x41feda(0xd5));}),_0x1d6913;}}
@@ -21,7 +21,10 @@ export declare class AIChatView extends View {
21
21
  chatFeed: AIChatFeedView;
22
22
  chatControls: AIChatControlsView;
23
23
  chatDisclaimer: AIDisclaimerView;
24
- constructor(locale: Locale, showResizeButton: boolean);
24
+ constructor(locale: Locale, options: {
25
+ showResizeButton: boolean;
26
+ contextResourcesSearchInputVisibleFrom?: number;
27
+ });
25
28
  /**
26
29
  * Populates a source resource balloon with loaded resources.
27
30
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4d2ab4=_0x1c74;(function(_0x57b3ed,_0x67bda7){var _0xc50880=_0x1c74,_0x52b7a3=_0x57b3ed();while(!![]){try{var _0x2a3ba6=-parseInt(_0xc50880(0xbd))/0x1*(parseInt(_0xc50880(0xc6))/0x2)+parseInt(_0xc50880(0xc2))/0x3*(-parseInt(_0xc50880(0xb6))/0x4)+parseInt(_0xc50880(0xb3))/0x5*(-parseInt(_0xc50880(0xcb))/0x6)+-parseInt(_0xc50880(0xc5))/0x7+parseInt(_0xc50880(0xc4))/0x8*(-parseInt(_0xc50880(0xbf))/0x9)+parseInt(_0xc50880(0xc1))/0xa*(parseInt(_0xc50880(0xba))/0xb)+parseInt(_0xc50880(0xc9))/0xc;if(_0x2a3ba6===_0x67bda7)break;else _0x52b7a3['push'](_0x52b7a3['shift']());}catch(_0x49768d){_0x52b7a3['push'](_0x52b7a3['shift']());}}}(_0x1804,0x9b2c3));function _0x1804(){var _0x166dba=['chatFeed','120220muNaLs','165021tDGWRj','attachToDom','220368kiMPLI','2166934vEjchz','149866HdCOWz','detachFromDom','populateSourceResourceBalloon','47986512pTBrzl','delegate','7348206FsnAog','div','destroy','chatHeader','setTemplate','5cZQRTO','_bodyCollection','chatDisclaimer','92ebByQp','uiLanguageDirection','closeSourceResourceBalloon','chatControls','451yljqhT','ck-rounded-corners','ck-reset_all','13KUESaf','ck-ai-chat','27OmdKpa'];_0x1804=function(){return _0x166dba;};return _0x1804();}import{View as _0x27fa0a,BodyCollection as _0x573643}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x5f2a69}from'../utils/eventnames.js';import{AIChatFeedView as _0x2fdca7}from'./aichatfeedview.js';import{AIChatControlsView as _0xd89dd4}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0xeadd10}from'./aichatheaderview.js';import{AIDisclaimerView as _0x595d5f}from'../../aicore/ui/aidisclaimerview.js';function _0x1c74(_0x12fc47,_0x5b682f){var _0x18043b=_0x1804();return _0x1c74=function(_0x1c74f3,_0x28c80c){_0x1c74f3=_0x1c74f3-0xb1;var _0x370de5=_0x18043b[_0x1c74f3];return _0x370de5;},_0x1c74(_0x12fc47,_0x5b682f);}export class AIChatView extends _0x27fa0a{[_0x4d2ab4(0xb1)];[_0x4d2ab4(0xc0)];[_0x4d2ab4(0xb9)];[_0x4d2ab4(0xb5)];[_0x4d2ab4(0xb4)];constructor(_0x417eee,_0x31d601){var _0x10b7c8=_0x4d2ab4;super(_0x417eee),this[_0x10b7c8(0xb4)]=new _0x573643(_0x417eee),this[_0x10b7c8(0xb4)][_0x10b7c8(0xc3)](),this[_0x10b7c8(0xb1)]=new _0xeadd10(_0x417eee,_0x31d601),this[_0x10b7c8(0xb1)][_0x10b7c8(0xca)](..._0x5f2a69)['to'](this),this[_0x10b7c8(0xc0)]=new _0x2fdca7(_0x417eee,this[_0x10b7c8(0xb4)]),this[_0x10b7c8(0xc0)][_0x10b7c8(0xca)](..._0x5f2a69)['to'](this),this[_0x10b7c8(0xb9)]=new _0xd89dd4(_0x417eee,this[_0x10b7c8(0xb4)]),this[_0x10b7c8(0xb9)][_0x10b7c8(0xca)](..._0x5f2a69)['to'](this),this[_0x10b7c8(0xb5)]=new _0x595d5f(_0x417eee),this[_0x10b7c8(0xb2)]({'tag':_0x10b7c8(0xcc),'attributes':{'class':['ck',_0x10b7c8(0xbc),_0x10b7c8(0xbe),_0x10b7c8(0xbb)],'dir':_0x417eee[_0x10b7c8(0xb7)]},'children':[this[_0x10b7c8(0xb1)],this[_0x10b7c8(0xc0)],this[_0x10b7c8(0xb9)],this[_0x10b7c8(0xb5)]]});}[_0x4d2ab4(0xc8)](_0x22839b,_0x25bf22,_0x11725a,_0x573bce){var _0x2b4373=_0x4d2ab4;this[_0x2b4373(0xb9)][_0x2b4373(0xc8)](_0x22839b,_0x25bf22,_0x11725a,_0x573bce);}[_0x4d2ab4(0xb8)](_0x324d91){var _0x36d7da=_0x4d2ab4;this[_0x36d7da(0xb9)][_0x36d7da(0xb8)](_0x324d91);}[_0x4d2ab4(0xcd)](){var _0x16fb25=_0x4d2ab4;this[_0x16fb25(0xb4)][_0x16fb25(0xc7)](),super[_0x16fb25(0xcd)]();}}
23
+ var _0x10fe92=_0x5ad2;function _0x1ad8(){var _0x241eef=['ck-reset_all','chatDisclaimer','showResizeButton','closeSourceResourceBalloon','ck-rounded-corners','564vHnNvO','chatFeed','uiLanguageDirection','chatHeader','_bodyCollection','3977918PXWpnY','ck-ai-chat','1390744bRCbhv','delegate','contextResourcesSearchInputVisibleFrom','chatControls','detachFromDom','destroy','setTemplate','1854822HZFwUD','attachToDom','2169234htsxSp','4632516PUonJb','populateSourceResourceBalloon','div','36910ILowro','69725bmDEUI'];_0x1ad8=function(){return _0x241eef;};return _0x1ad8();}function _0x5ad2(_0x3d4439,_0x328b56){var _0x1ad899=_0x1ad8();return _0x5ad2=function(_0x5ad2f4,_0x3caf14){_0x5ad2f4=_0x5ad2f4-0x149;var _0x51c701=_0x1ad899[_0x5ad2f4];return _0x51c701;},_0x5ad2(_0x3d4439,_0x328b56);}(function(_0x2ab372,_0x4332cf){var _0x31bee7=_0x5ad2,_0x33a1e1=_0x2ab372();while(!![]){try{var _0x461103=-parseInt(_0x31bee7(0x153))/0x1+parseInt(_0x31bee7(0x14d))/0x2+-parseInt(_0x31bee7(0x14f))/0x3+-parseInt(_0x31bee7(0x150))/0x4+-parseInt(_0x31bee7(0x154))/0x5*(-parseInt(_0x31bee7(0x15a))/0x6)+parseInt(_0x31bee7(0x15f))/0x7+-parseInt(_0x31bee7(0x161))/0x8;if(_0x461103===_0x4332cf)break;else _0x33a1e1['push'](_0x33a1e1['shift']());}catch(_0x1ff960){_0x33a1e1['push'](_0x33a1e1['shift']());}}}(_0x1ad8,0xae73b));import{View as _0x149280,BodyCollection as _0x5dc5f0}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x308009}from'../utils/eventnames.js';import{AIChatFeedView as _0x2d9aa9}from'./aichatfeedview.js';import{AIChatControlsView as _0x16dc43}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x156803}from'./aichatheaderview.js';import{AIDisclaimerView as _0x1ffcf2}from'../../aicore/ui/aidisclaimerview.js';export class AIChatView extends _0x149280{[_0x10fe92(0x15d)];[_0x10fe92(0x15b)];[_0x10fe92(0x149)];[_0x10fe92(0x156)];[_0x10fe92(0x15e)];constructor(_0x2b0864,_0x3e700b){var _0x8f05b6=_0x10fe92;super(_0x2b0864),this[_0x8f05b6(0x15e)]=new _0x5dc5f0(_0x2b0864),this[_0x8f05b6(0x15e)][_0x8f05b6(0x14e)](),this[_0x8f05b6(0x15d)]=new _0x156803(_0x2b0864,_0x3e700b[_0x8f05b6(0x157)]),this[_0x8f05b6(0x15d)][_0x8f05b6(0x162)](..._0x308009)['to'](this),this[_0x8f05b6(0x15b)]=new _0x2d9aa9(_0x2b0864,this[_0x8f05b6(0x15e)]),this[_0x8f05b6(0x15b)][_0x8f05b6(0x162)](..._0x308009)['to'](this),this[_0x8f05b6(0x149)]=new _0x16dc43(_0x2b0864,{'bodyCollection':this[_0x8f05b6(0x15e)],'contextResourcesSearchInputVisibleFrom':_0x3e700b[_0x8f05b6(0x163)]}),this[_0x8f05b6(0x149)][_0x8f05b6(0x162)](..._0x308009)['to'](this),this[_0x8f05b6(0x156)]=new _0x1ffcf2(_0x2b0864),this[_0x8f05b6(0x14c)]({'tag':_0x8f05b6(0x152),'attributes':{'class':['ck',_0x8f05b6(0x155),_0x8f05b6(0x160),_0x8f05b6(0x159)],'dir':_0x2b0864[_0x8f05b6(0x15c)]},'children':[this[_0x8f05b6(0x15d)],this[_0x8f05b6(0x15b)],this[_0x8f05b6(0x149)],this[_0x8f05b6(0x156)]]});}[_0x10fe92(0x151)](_0x16a38f,_0x473732,_0x421215,_0x28641a){var _0x65ae13=_0x10fe92;this[_0x65ae13(0x149)][_0x65ae13(0x151)](_0x16a38f,_0x473732,_0x421215,_0x28641a);}[_0x10fe92(0x158)](_0x16771a){var _0x12afd7=_0x10fe92;this[_0x12afd7(0x149)][_0x12afd7(0x158)](_0x16771a);}[_0x10fe92(0x14b)](){var _0x2bd4ad=_0x10fe92;this[_0x2bd4ad(0x15e)][_0x2bd4ad(0x14a)](),super[_0x2bd4ad(0x14b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a80b0=_0x4cc6;(function(_0x4f12b5,_0x1a9631){const _0x59fcdc=_0x4cc6,_0x2eb6e9=_0x4f12b5();while(!![]){try{const _0x4c1829=parseInt(_0x59fcdc(0x163))/0x1*(parseInt(_0x59fcdc(0x170))/0x2)+-parseInt(_0x59fcdc(0x1b8))/0x3*(-parseInt(_0x59fcdc(0x15c))/0x4)+parseInt(_0x59fcdc(0x183))/0x5+-parseInt(_0x59fcdc(0x18a))/0x6*(parseInt(_0x59fcdc(0x129))/0x7)+parseInt(_0x59fcdc(0x18f))/0x8*(-parseInt(_0x59fcdc(0x15f))/0x9)+-parseInt(_0x59fcdc(0x159))/0xa+-parseInt(_0x59fcdc(0x144))/0xb;if(_0x4c1829===_0x1a9631)break;else _0x2eb6e9['push'](_0x2eb6e9['shift']());}catch(_0x3d028c){_0x2eb6e9['push'](_0x2eb6e9['shift']());}}}(_0x2456,0x5cf48));import{View as _0x5b42ce,BalloonPanelView as _0x130dc0,ButtonView as _0x36f47e,clickOutsideHandler as _0x1fe077}from'ckeditor5/src/ui.js';import{Collection as _0x12ea65}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},ln=_0x2a80b0(0x152);export class AIChatChipsOverflowManager{[_0x2a80b0(0x18d)];[_0x2a80b0(0x179)];[_0x2a80b0(0x1a0)];[_0x2a80b0(0x148)];[_0x2a80b0(0x175)]=null;[_0x2a80b0(0x196)]=null;[_0x2a80b0(0x140)]=null;[_0x2a80b0(0x17e)];[_0x2a80b0(0x12d)]=null;[_0x2a80b0(0x130)]=null;[_0x2a80b0(0x156)]=!0x1;constructor(_0x1783e4,_0x55e54e,_0x2edf1d,_0x30bae6,_0x4a796d){const _0x268999=_0x2a80b0;this[_0x268999(0x18d)]=_0x1783e4,this[_0x268999(0x1a0)]=_0x55e54e,this[_0x268999(0x179)]={...hn,..._0x2edf1d,'cssClasses':{'controlsButton':'','calculationContainer':_0x268999(0x158),..._0x2edf1d[_0x268999(0x13f)]}},this[_0x268999(0x148)]=new _0x12ea65(),this[_0x268999(0x17e)]=_0x30bae6,this[_0x268999(0x12d)]=_0x4a796d||null;}[_0x2a80b0(0x192)](_0x5120f6){const _0x5dd3b1=_0x2a80b0;this[_0x5dd3b1(0x130)]&&(this[_0x5dd3b1(0x130)][_0x5dd3b1(0x172)](),this[_0x5dd3b1(0x130)]=null),this[_0x5dd3b1(0x140)]=_0x5120f6,this[_0x5dd3b1(0x12a)]();}get[_0x2a80b0(0x14f)](){const _0x3f3c02=_0x2a80b0;return this[_0x3f3c02(0x175)];}get[_0x2a80b0(0x197)](){const _0xf7ac82=_0x2a80b0;return this[_0xf7ac82(0x148)];}[_0x2a80b0(0x1a5)](){requestAnimationFrame(()=>{const _0x2ba43a=_0x4cc6;this[_0x2ba43a(0x16e)]();});}[_0x2a80b0(0x162)](){const _0x30cabe=_0x2a80b0;this[_0x30cabe(0x175)]&&this[_0x30cabe(0x196)]&&(this[_0x30cabe(0x147)](),this[_0x30cabe(0x175)][_0x30cabe(0x188)]=!0x0,this[_0x30cabe(0x196)][_0x30cabe(0x125)](),this[_0x30cabe(0x196)][_0x30cabe(0x198)]({'target':this[_0x30cabe(0x175)][_0x30cabe(0x1ae)],'limiter':document[_0x30cabe(0x1b7)](_0x30cabe(0x15e))}));}[_0x2a80b0(0x19a)](){const _0x1e64cc=_0x2a80b0;this[_0x1e64cc(0x175)]&&this[_0x1e64cc(0x196)]&&(this[_0x1e64cc(0x175)][_0x1e64cc(0x188)]=!0x1,this[_0x1e64cc(0x196)][_0x1e64cc(0x16c)]());}[_0x2a80b0(0x169)](){const _0x362ad9=_0x2a80b0;this[_0x362ad9(0x148)][_0x362ad9(0x169)](),this[_0x362ad9(0x19a)](),this[_0x362ad9(0x19c)](),this[_0x362ad9(0x175)]&&(this[_0x362ad9(0x175)][_0x362ad9(0x18e)]=''),this[_0x362ad9(0x196)]&&this[_0x362ad9(0x196)][_0x362ad9(0x14a)][_0x362ad9(0x169)]();}[_0x2a80b0(0x1a9)](){const _0x2d780c=_0x2a80b0;this[_0x2d780c(0x130)]&&(this[_0x2d780c(0x130)][_0x2d780c(0x172)](),this[_0x2d780c(0x130)]=null),this[_0x2d780c(0x175)]&&(this[_0x2d780c(0x175)][_0x2d780c(0x1a9)](),this[_0x2d780c(0x175)]=null),this[_0x2d780c(0x196)]&&(this[_0x2d780c(0x196)][_0x2d780c(0x1a9)](),this[_0x2d780c(0x196)]=null);}[_0x2a80b0(0x16e)](){const _0x2508a5=_0x2a80b0;if(!this[_0x2508a5(0x140)])return;if(!this[_0x2508a5(0x1a2)]())return void(this[_0x2508a5(0x156)]=!0x0);this[_0x2508a5(0x156)]=!0x1;const _0x27272a=[...this[_0x2508a5(0x1a0)],...this[_0x2508a5(0x148)]],_0xb501df=this[_0x2508a5(0x154)](),_0x1bed8e=this[_0x2508a5(0x13a)](_0xb501df,_0x27272a),_0x1b7eb9=_0xb501df[_0x2508a5(0x157)];_0x1b7eb9&&this[_0x2508a5(0x14d)](_0x1b7eb9),_0xb501df[_0x2508a5(0x178)](),this[_0x2508a5(0x15d)](_0x27272a,_0x1bed8e);}[_0x2a80b0(0x12c)](){const _0x2b59f8=_0x2a80b0;this[_0x2b59f8(0x175)]=this[_0x2b59f8(0x141)](),this[_0x2b59f8(0x196)]=this[_0x2b59f8(0x184)](),this[_0x2b59f8(0x175)][_0x2b59f8(0x19e)](),this[_0x2b59f8(0x140)][_0x2b59f8(0x1af)](this[_0x2b59f8(0x175)][_0x2b59f8(0x1ae)]),this[_0x2b59f8(0x175)]['on'](_0x2b59f8(0x137),()=>{const _0x3a63cb=_0x2b59f8;this[_0x3a63cb(0x12b)]();}),_0x1fe077({'emitter':this[_0x2b59f8(0x196)],'contextElements':[this[_0x2b59f8(0x196)][_0x2b59f8(0x1ae)],this[_0x2b59f8(0x175)][_0x2b59f8(0x1ae)]],'callback':()=>this[_0x2b59f8(0x19a)](),'activator':()=>this[_0x2b59f8(0x175)][_0x2b59f8(0x188)]});}[_0x2a80b0(0x141)](){const _0x230f8e=_0x2a80b0,_0x7859dd=new _0x36f47e(this[_0x230f8e(0x18d)]);_0x7859dd[_0x230f8e(0x160)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x390e54=[this[_0x230f8e(0x179)][_0x230f8e(0x13f)][_0x230f8e(0x173)]];return this[_0x230f8e(0x179)][_0x230f8e(0x13f)][_0x230f8e(0x1b6)]&&_0x390e54[_0x230f8e(0x19d)](this[_0x230f8e(0x179)][_0x230f8e(0x13f)][_0x230f8e(0x1b6)]),_0x7859dd[_0x230f8e(0x186)]({'attributes':{'class':_0x390e54}}),_0x7859dd;}[_0x2a80b0(0x184)](){const _0x570585=_0x2a80b0,_0x17093f=new _0x130dc0(this[_0x570585(0x18d)]);return _0x17093f[_0x570585(0x186)]({'attributes':{'class':this[_0x570585(0x179)][_0x570585(0x13f)][_0x570585(0x15b)]}}),this[_0x570585(0x17e)][_0x570585(0x194)](_0x17093f),_0x17093f;}[_0x2a80b0(0x147)](){const _0x4375c6=_0x2a80b0;if(this[_0x4375c6(0x196)]&&(this[_0x4375c6(0x196)][_0x4375c6(0x14a)][_0x4375c6(0x169)](),this[_0x4375c6(0x148)][_0x4375c6(0x190)]>0x0)){this[_0x4375c6(0x148)][_0x4375c6(0x155)](_0x430c52=>{const _0x1ec6f6=_0x4375c6;_0x430c52[_0x1ec6f6(0x1b1)]();});const _0x396e0a=new _0x5b42ce(this[_0x4375c6(0x18d)]);_0x396e0a[_0x4375c6(0x1b3)]({'tag':_0x4375c6(0x1b5),'attributes':{'class':this[_0x4375c6(0x179)][_0x4375c6(0x13f)][_0x4375c6(0x132)]},'children':this[_0x4375c6(0x148)]}),this[_0x4375c6(0x196)][_0x4375c6(0x14a)][_0x4375c6(0x194)](_0x396e0a);}}[_0x2a80b0(0x12b)](){const _0x215d93=_0x2a80b0;this[_0x215d93(0x175)][_0x215d93(0x188)]?this[_0x215d93(0x19a)]():this[_0x215d93(0x162)]();}[_0x2a80b0(0x19c)](){const _0x5659a1=_0x2a80b0,_0x320c1b=this[_0x5659a1(0x148)][_0x5659a1(0x190)]>0x0;this[_0x5659a1(0x175)]?.[_0x5659a1(0x1ae)]&&(this[_0x5659a1(0x175)][_0x5659a1(0x1ae)][_0x5659a1(0x136)][_0x5659a1(0x17a)]=_0x320c1b?'':_0x5659a1(0x1b4));}[_0x2a80b0(0x1a6)](){const _0x4cf0a8=_0x2a80b0;this[_0x4cf0a8(0x175)]?.[_0x4cf0a8(0x188)]&&this[_0x4cf0a8(0x196)]?.[_0x4cf0a8(0x133)]&&this[_0x4cf0a8(0x175)][_0x4cf0a8(0x1ae)]&&this[_0x4cf0a8(0x196)][_0x4cf0a8(0x198)]({'target':this[_0x4cf0a8(0x175)][_0x4cf0a8(0x1ae)],'limiter':document[_0x4cf0a8(0x1b7)](_0x4cf0a8(0x15e))});}[_0x2a80b0(0x181)](_0x492bfd){const _0x33d350=_0x2a80b0,_0x45fc44=this[_0x33d350(0x140)]?.[_0x33d350(0x1a4)][_0x33d350(0x195)]()||_0x33d350(0x1b5),_0x404c9e=this[_0x33d350(0x140)]?.[_0x33d350(0x1ad)];if(_0x404c9e){const _0x2c3b44=_0x404c9e[0x0]||'',_0x88ad04=_0x492bfd[_0x33d350(0x1b7)]('.'+_0x2c3b44),_0x3599dc=_0x492bfd[_0x33d350(0x1b7)](_0x45fc44);return _0x88ad04||_0x3599dc||_0x492bfd;}return _0x492bfd[_0x33d350(0x1b7)](_0x45fc44)||_0x492bfd;}[_0x2a80b0(0x171)](){const _0x4eae6b=_0x2a80b0,_0x4c9204=this[_0x4eae6b(0x12d)]?.[_0x4eae6b(0x1ae)]||this[_0x4eae6b(0x140)];if(!_0x4c9204)return ln;const _0x3d42f2=window[_0x4eae6b(0x153)](_0x4c9204)[_0x4eae6b(0x14c)];if(_0x4eae6b(0x187)===_0x3d42f2||_0x4eae6b(0x180)===_0x3d42f2||!_0x3d42f2){const _0x120593=_0x4c9204[_0x4eae6b(0x142)];if(_0x120593){const _0x929e9e=window[_0x4eae6b(0x153)](_0x120593);return _0x4eae6b(0x187)!==_0x929e9e[_0x4eae6b(0x14c)]?_0x929e9e[_0x4eae6b(0x14c)]:ln;}return ln;}return _0x3d42f2;}[_0x2a80b0(0x168)](_0x3be96d,_0x35fef6){const _0x281338=_0x2a80b0;this[_0x281338(0x179)][_0x281338(0x13f)][_0x281338(0x174)]&&_0x3be96d[_0x281338(0x1ad)][_0x281338(0x194)](this[_0x281338(0x179)][_0x281338(0x13f)][_0x281338(0x174)]),_0x3be96d[_0x281338(0x136)][_0x281338(0x14c)]=_0x35fef6,_0x3be96d[_0x281338(0x136)][_0x281338(0x1a7)]=_0x281338(0x164),_0x3be96d[_0x281338(0x136)][_0x281338(0x177)]=_0x281338(0x15a),_0x3be96d[_0x281338(0x136)][_0x281338(0x1a1)]=_0x281338(0x15a),_0x3be96d[_0x281338(0x136)][_0x281338(0x12f)]='0',_0x3be96d[_0x281338(0x136)][_0x281338(0x13c)]=_0x281338(0x1b4),_0x3be96d[_0x281338(0x136)][_0x281338(0x193)]='-1',_0x3be96d[_0x281338(0x136)][_0x281338(0x176)]=_0x281338(0x16f),_0x3be96d[_0x281338(0x136)][_0x281338(0x17a)]=_0x281338(0x14b),_0x3be96d[_0x281338(0x136)][_0x281338(0x134)]=_0x281338(0x16a);}[_0x2a80b0(0x14d)](_0x18acbe){const _0x3b8fca=_0x2a80b0;_0x18acbe[_0x3b8fca(0x155)](({element:_0x417574,originalDisplay:_0x8d0456,originalVisibility:_0x3e8270})=>{const _0x2c2e5b=_0x3b8fca;_0x417574[_0x2c2e5b(0x136)][_0x2c2e5b(0x17a)]=_0x8d0456,_0x417574[_0x2c2e5b(0x136)][_0x2c2e5b(0x176)]=_0x3e8270;});}[_0x2a80b0(0x16d)](_0x22ec54){const _0x2bab8b=_0x2a80b0,_0x5ef4b9=[];let _0x300f38=_0x22ec54;for(;_0x300f38&&_0x300f38!==document[_0x2bab8b(0x166)];){const _0xb3b1ff=window[_0x2bab8b(0x153)](_0x300f38);_0x2bab8b(0x1b4)!==_0xb3b1ff[_0x2bab8b(0x17a)]&&_0x2bab8b(0x1b0)!==_0xb3b1ff[_0x2bab8b(0x176)]||(_0x5ef4b9[_0x2bab8b(0x19d)]({'element':_0x300f38,'originalDisplay':_0x300f38[_0x2bab8b(0x136)][_0x2bab8b(0x17a)],'originalVisibility':_0x300f38[_0x2bab8b(0x136)][_0x2bab8b(0x176)]}),_0x300f38[_0x2bab8b(0x136)][_0x2bab8b(0x17a)]=_0x2bab8b(0x19b),_0x300f38[_0x2bab8b(0x136)][_0x2bab8b(0x176)]=_0x2bab8b(0x1a8)),_0x300f38=_0x300f38[_0x2bab8b(0x142)];}return _0x5ef4b9;}[_0x2a80b0(0x13d)](){const _0x6e7df7=_0x2a80b0;let _0x328624,_0x5ad74a;return this[_0x6e7df7(0x12d)]?.[_0x6e7df7(0x1ae)]?(_0x328624=this[_0x6e7df7(0x12d)][_0x6e7df7(0x1ae)][_0x6e7df7(0x1a3)](!0x0),_0x5ad74a=this[_0x6e7df7(0x181)](_0x328624)):(_0x328624=document[_0x6e7df7(0x1ab)](_0x6e7df7(0x1b5)),_0x5ad74a=_0x328624),{'calculationContainer':_0x328624,'targetContainer':_0x5ad74a};}[_0x2a80b0(0x154)](){const _0x10509c=_0x2a80b0,{calculationContainer:_0x4358f1,targetContainer:_0x274b8d}=this[_0x10509c(0x13d)](),_0x2cde3c=this[_0x10509c(0x171)]();this[_0x10509c(0x168)](_0x4358f1,_0x2cde3c);const _0x3e879c=this[_0x10509c(0x12d)]?.[_0x10509c(0x1ae)]||this[_0x10509c(0x140)],_0x4dfc6e=_0x3e879c?.[_0x10509c(0x142)];_0x4dfc6e?_0x4dfc6e[_0x10509c(0x1af)](_0x4358f1):document[_0x10509c(0x166)][_0x10509c(0x1af)](_0x4358f1),_0x4358f1[_0x10509c(0x150)]=_0x274b8d;const _0xcede7b=this[_0x10509c(0x16d)](_0x4dfc6e||null);return _0x4358f1[_0x10509c(0x143)],_0x4358f1[_0x10509c(0x157)]=_0xcede7b,_0x4358f1;}[_0x2a80b0(0x13a)](_0x4a9cef,_0x392d79){const _0x79539c=_0x2a80b0,_0x1d392d=_0x4a9cef[_0x79539c(0x150)]||_0x4a9cef,_0x1635a4=[],{rowCount:_0x370be6}=this[_0x79539c(0x149)](_0x1d392d,_0x392d79);if(_0x370be6<=this[_0x79539c(0x179)][_0x79539c(0x17d)])return _0x1635a4;const _0xa905e2=_0x392d79[_0x79539c(0x127)]();for(;_0xa905e2[_0x79539c(0x190)]>0x0;){if(this[_0x79539c(0x18c)](_0x4a9cef,_0x1d392d,_0xa905e2)){const _0x40a752=_0x392d79[_0x79539c(0x17b)](_0xd0728c=>!_0xa905e2[_0x79539c(0x135)](_0xd0728c));_0x1635a4[_0x79539c(0x19d)](..._0x40a752);break;}if(!_0xa905e2[_0x79539c(0x1aa)]())break;}return _0x1635a4;}[_0x2a80b0(0x149)](_0x4e4071,_0x4e4f89){const _0x17a831=_0x2a80b0;_0x4e4071[_0x17a831(0x199)]='',_0x4e4f89[_0x17a831(0x155)](_0x3ea258=>{const _0x1b02c9=_0x17a831;if(_0x3ea258[_0x1b02c9(0x1ae)]){const _0x493353=_0x3ea258[_0x1b02c9(0x1ae)][_0x1b02c9(0x1a3)](!0x0);_0x4e4071[_0x1b02c9(0x1af)](_0x493353);}}),_0x4e4071[_0x17a831(0x143)];const _0x936f36=_0x4e4071[_0x17a831(0x13b)],_0x47e737=[];return Array[_0x17a831(0x182)](_0x936f36)[_0x17a831(0x155)](_0x597921=>{const _0x977ddd=_0x17a831,_0x810cfc=_0x597921[_0x977ddd(0x16b)]()[_0x977ddd(0x177)];_0x47e737[_0x977ddd(0x17f)](_0x2a5305=>Math[_0x977ddd(0x126)](_0x2a5305-_0x810cfc)<this[_0x977ddd(0x179)][_0x977ddd(0x128)])||_0x47e737[_0x977ddd(0x19d)](_0x810cfc);}),{'rowCount':_0x47e737[_0x17a831(0x190)]};}[_0x2a80b0(0x18b)](){const _0x1747b7=_0x2a80b0,_0x5e2068=document[_0x1747b7(0x1ab)](_0x1747b7(0x146));return _0x5e2068[_0x1747b7(0x138)]=this[_0x1747b7(0x179)][_0x1747b7(0x13f)][_0x1747b7(0x173)],this[_0x1747b7(0x179)][_0x1747b7(0x13f)][_0x1747b7(0x1b6)]&&_0x5e2068[_0x1747b7(0x1ad)][_0x1747b7(0x194)](this[_0x1747b7(0x179)][_0x1747b7(0x13f)][_0x1747b7(0x1b6)]),_0x5e2068[_0x1747b7(0x185)]=_0x1747b7(0x1b2),_0x5e2068;}[_0x2a80b0(0x18c)](_0x356e72,_0x529745,_0x3bf5e2){const _0xadc35d=_0x2a80b0;this[_0xadc35d(0x149)](_0x529745,_0x3bf5e2);const _0xf4edb6=this[_0xadc35d(0x18b)]();_0x356e72[_0xadc35d(0x1af)](_0xf4edb6),_0x356e72[_0xadc35d(0x143)];const _0x422ad2=[..._0x529745[_0xadc35d(0x13b)],_0xf4edb6],_0x2de828=[];_0x422ad2[_0xadc35d(0x155)](_0x3afd74=>{const _0x356be2=_0xadc35d,_0x1bc33c=_0x3afd74[_0x356be2(0x16b)]()[_0x356be2(0x177)];_0x2de828[_0x356be2(0x17f)](_0xbb25bb=>Math[_0x356be2(0x126)](_0xbb25bb-_0x1bc33c)<this[_0x356be2(0x179)][_0x356be2(0x128)])||_0x2de828[_0x356be2(0x19d)](_0x1bc33c);});const _0x3c9216=_0x2de828[_0xadc35d(0x190)];return _0xf4edb6[_0xadc35d(0x178)](),_0x3c9216<=this[_0xadc35d(0x179)][_0xadc35d(0x17d)];}[_0x2a80b0(0x124)](_0x19f8ce,_0x55fe36){const _0x467651=_0x2a80b0;this[_0x467651(0x1a0)][_0x467651(0x169)](),this[_0x467651(0x148)][_0x467651(0x169)](),_0x19f8ce[_0x467651(0x155)](_0x26ecec=>{const _0x41a4b8=_0x467651;_0x55fe36[_0x41a4b8(0x135)](_0x26ecec)?this[_0x41a4b8(0x148)][_0x41a4b8(0x194)](_0x26ecec):this[_0x41a4b8(0x1a0)][_0x41a4b8(0x194)](_0x26ecec);});}[_0x2a80b0(0x145)](_0x1e02d3){const _0x438661=_0x2a80b0;if(_0x1e02d3>0x0&&!this[_0x438661(0x175)]&&this[_0x438661(0x12c)](),_0x1e02d3>0x0&&this[_0x438661(0x175)]){const _0x1d1dcc=''+this[_0x438661(0x179)][_0x438661(0x131)]+(_0x1e02d3<0x63?_0x1e02d3:'99');this[_0x438661(0x175)][_0x438661(0x18e)]=_0x1d1dcc;}this[_0x438661(0x147)](),this[_0x438661(0x19c)](),this[_0x438661(0x1a6)]();}[_0x2a80b0(0x15d)](_0x1b3185,_0x522df1){const _0xb4398a=_0x2a80b0;this[_0xb4398a(0x124)](_0x1b3185,_0x522df1),this[_0xb4398a(0x145)](_0x522df1[_0xb4398a(0x190)]);}[_0x2a80b0(0x12a)](){const _0x3eb3ce=_0x2a80b0;this[_0x3eb3ce(0x140)]&&_0x3eb3ce(0x139)!=typeof IntersectionObserver&&(this[_0x3eb3ce(0x130)]=new IntersectionObserver(_0x45c704=>{const _0x219570=_0x3eb3ce;_0x45c704[0x0][_0x219570(0x1ac)]&&this[_0x219570(0x156)]&&requestAnimationFrame(()=>{const _0x4aa692=_0x219570;this[_0x4aa692(0x16e)]();});},{'threshold':0.01,'rootMargin':_0x3eb3ce(0x189)}),this[_0x3eb3ce(0x130)][_0x3eb3ce(0x13e)](this[_0x3eb3ce(0x140)]));}[_0x2a80b0(0x1a2)](){const _0x4422cf=_0x2a80b0;if(!this[_0x4422cf(0x140)])return!0x1;if(!this[_0x4422cf(0x140)][_0x4422cf(0x19f)])return!0x1;const _0x4a02df=this[_0x4422cf(0x140)][_0x4422cf(0x16b)]();if(0x0===_0x4a02df[_0x4422cf(0x14c)]||0x0===_0x4a02df[_0x4422cf(0x191)])return!0x1;const _0x450e62=window[_0x4422cf(0x167)]||document[_0x4422cf(0x14e)][_0x4422cf(0x161)],_0x197a15=window[_0x4422cf(0x17c)]||document[_0x4422cf(0x14e)][_0x4422cf(0x165)],_0x1a5438=0xc8;return _0x4a02df[_0x4422cf(0x12e)]>=-0xc8&&_0x4a02df[_0x4422cf(0x177)]<=_0x450e62+_0x1a5438&&_0x4a02df[_0x4422cf(0x151)]>=-0xc8&&_0x4a02df[_0x4422cf(0x1a1)]<=_0x197a15+_0x1a5438;}}function _0x4cc6(_0x26a4d7,_0x47ce57){const _0x245691=_0x2456();return _0x4cc6=function(_0x4cc63f,_0x76da59){_0x4cc63f=_0x4cc63f-0x124;let _0x539539=_0x245691[_0x4cc63f];return _0x539539;},_0x4cc6(_0x26a4d7,_0x47ce57);}function _0x2456(){const _0x499cfd=['showMoreLabelPrefix','overflowContainer','isVisible','boxSizing','includes','style','execute','className','undefined','_calculateOverflowInContainer','children','pointerEvents','_createContainerElements','observe','cssClasses','_containerElement','_createShowMoreButtonView','parentElement','offsetWidth','5963254exqRJE','_updateOverflowUI','button','_updateBalloonContent','_overflowChips','_renderChipsAndCountRows','content','block\x20!important','width','_restoreAncestorVisibility','documentElement','showMoreButtonView','_targetContainer','right','300px','getComputedStyle','_createCalculationContainer','forEach','_pendingCalculation','_ancestorsToRestore','ck-calculation-container','3285390IwHufT','-9999px','showMoreBalloon','2945284VXeAqP','_applyOverflowResults','.ck-ai-chat','758826HuBCZz','set','clientHeight','showBalloonPanel','3909kUMdHb','absolute','clientWidth','body','innerHeight','_applyCalculationStyles','clear','border-box','getBoundingClientRect','hide','_makeAncestorsVisible','_checkAndHandleOverflow','visible\x20!important','346JCAADf','_calculateContainerWidth','disconnect','showMoreButton','calculationContainer','_showMoreButtonView','visibility','top','remove','_config','display','filter','innerWidth','maxVisibleRows','_bodyCollection','some','0px','_findTargetContainer','from','389770pnxkod','_createShowMoreBalloonPanelView','textContent','extendTemplate','auto','isOn','50px','6vFgZVZ','_createMockButton','_testButtonFit','_locale','label','8nPJAUb','length','height','setContainerElement','zIndex','add','toLowerCase','_showMoreBalloonPanelView','overflowChips','pin','innerHTML','hideBalloonPanel','block','_updateShowMoreButtonVisibility','push','render','isConnected','_visibleChips','left','_isContainerVisible','cloneNode','tagName','reorganizeChips','_repinBalloonPanel','position','visible','destroy','pop','createElement','isIntersecting','classList','element','appendChild','hidden','disableAnimationOnEnter','+\x201','setTemplate','none','div','controlsButton','querySelector','3PGvOQC','_distributeChips','show','abs','slice','rowDetectionTolerance','1083747sNxQpp','_setupVisibilityObserver','_handleShowMoreButtonClick','_createShowMoreButton','_parentView','bottom','opacity','_intersectionObserver'];_0x2456=function(){return _0x499cfd;};return _0x2456();}
23
+ const _0x1fe309=_0x2b88;function _0xc2be(){const _0x3c771d=['style','position','innerWidth','top','visible\x20!important','abs','disableAnimationOnEnter','controlsButton','length','_distributeChips','className','getBoundingClientRect','setTemplate','clear','301702qhktTo','isOn','_makeAncestorsVisible','render','undefined','absolute','_findTargetContainer','_targetContainer','pop','pointerEvents','auto','_checkAndHandleOverflow','offsetWidth','boxSizing','_pendingCalculation','clientHeight','_updateOverflowUI','right','0px','display','calculationContainer','-9999px','button','body','overflowChips','_ancestorsToRestore','showBalloonPanel','_calculateContainerWidth','observe','documentElement','show','50px','_parentView','zIndex','_visibleChips','some','children','_applyCalculationStyles','height','_overflowChips','_updateShowMoreButtonVisibility','createElement','innerHeight','classList','.ck-ai-chat','_config','forEach','6452160Bojgly','388928evNFGt','textContent','toLowerCase','slice','none','bottom','_createContainerElements','showMoreButton','left','showMoreButtonView','cloneNode','execute','querySelector','disconnect','_intersectionObserver','content','includes','_repinBalloonPanel','innerHTML','pin','_updateBalloonContent','element','opacity','block','tagName','maxVisibleRows','width','1456779DLIjAV','getComputedStyle','appendChild','_locale','300px','30CSDWBC','_createMockButton','_createShowMoreBalloonPanelView','isConnected','_createShowMoreButtonView','hide','_isContainerVisible','_restoreAncestorVisibility','isVisible','1314258COUjpy','_showMoreBalloonPanelView','div','visibility','add','+\x201','276395lyRfto','push','_bodyCollection','destroy','hideBalloonPanel','ck-calculation-container','isIntersecting','_calculateOverflowInContainer','cssClasses','label','reorganizeChips','_renderChipsAndCountRows','showMoreLabelPrefix','clientWidth','_createShowMoreButton','_handleShowMoreButtonClick','rowDetectionTolerance','filter','block\x20!important','_showMoreButtonView','_createCalculationContainer','_setupVisibilityObserver','_applyOverflowResults','border-box','_testButtonFit','extendTemplate','overflowContainer','parentElement','from','_containerElement','hidden','showMoreBalloon','remove','setContainerElement','3537395mTuelm','visible','set'];_0xc2be=function(){return _0x3c771d;};return _0xc2be();}(function(_0x3cc2a5,_0x46d908){const _0x5063b1=_0x2b88,_0x3a0932=_0x3cc2a5();while(!![]){try{const _0x3b8fc9=-parseInt(_0x5063b1(0x1d1))/0x1+-parseInt(_0x5063b1(0x198))/0x2+-parseInt(_0x5063b1(0x18a))/0x3+parseInt(_0x5063b1(0x16f))/0x4+parseInt(_0x5063b1(0x1c0))/0x5+parseInt(_0x5063b1(0x18f))/0x6*(parseInt(_0x5063b1(0x19e))/0x7)+parseInt(_0x5063b1(0x16e))/0x8;if(_0x3b8fc9===_0x46d908)break;else _0x3a0932['push'](_0x3a0932['shift']());}catch(_0x3bf848){_0x3a0932['push'](_0x3a0932['shift']());}}}(_0xc2be,0x58ec8));function _0x2b88(_0x3fa29c,_0x40084b){const _0xc2be60=_0xc2be();return _0x2b88=function(_0x2b88bc,_0x1669ef){_0x2b88bc=_0x2b88bc-0x147;let _0x530e89=_0xc2be60[_0x2b88bc];return _0x530e89;},_0x2b88(_0x3fa29c,_0x40084b);}import{View as _0x133112,BalloonPanelView as _0x28f4ac,ButtonView as _0x203831,clickOutsideHandler as _0xd7381d}from'ckeditor5/src/ui.js';import{Collection as _0x356855}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x1fe309(0x18e);export class AIChatChipsOverflowManager{[_0x1fe309(0x18d)];[_0x1fe309(0x16c)];[_0x1fe309(0x161)];[_0x1fe309(0x166)];[_0x1fe309(0x1b1)]=null;[_0x1fe309(0x199)]=null;[_0x1fe309(0x1bb)]=null;[_0x1fe309(0x1a0)];[_0x1fe309(0x15f)]=null;[_0x1fe309(0x17d)]=null;[_0x1fe309(0x14d)]=!0x1;constructor(_0x3cfd76,_0x11d0c7,_0x25afed,_0x5d1241,_0x5b400c){const _0x17dd76=_0x1fe309;this[_0x17dd76(0x18d)]=_0x3cfd76,this[_0x17dd76(0x161)]=_0x11d0c7,this[_0x17dd76(0x16c)]={...hn,..._0x25afed,'cssClasses':{'controlsButton':'','calculationContainer':_0x17dd76(0x1a3),..._0x25afed[_0x17dd76(0x1a6)]}},this[_0x17dd76(0x166)]=new _0x356855(),this[_0x17dd76(0x1a0)]=_0x5d1241,this[_0x17dd76(0x15f)]=_0x5b400c||null;}[_0x1fe309(0x1bf)](_0x1667b1){const _0x76e2e0=_0x1fe309;this[_0x76e2e0(0x17d)]&&(this[_0x76e2e0(0x17d)][_0x76e2e0(0x17c)](),this[_0x76e2e0(0x17d)]=null),this[_0x76e2e0(0x1bb)]=_0x1667b1,this[_0x76e2e0(0x1b3)]();}get[_0x1fe309(0x178)](){const _0x258ec8=_0x1fe309;return this[_0x258ec8(0x1b1)];}get[_0x1fe309(0x157)](){const _0x2c4f85=_0x1fe309;return this[_0x2c4f85(0x166)];}[_0x1fe309(0x1a8)](){requestAnimationFrame(()=>{const _0x4a303d=_0x2b88;this[_0x4a303d(0x14a)]();});}[_0x1fe309(0x159)](){const _0x18b8bc=_0x1fe309;this[_0x18b8bc(0x1b1)]&&this[_0x18b8bc(0x199)]&&(this[_0x18b8bc(0x183)](),this[_0x18b8bc(0x1b1)][_0x18b8bc(0x1d2)]=!0x0,this[_0x18b8bc(0x199)][_0x18b8bc(0x15d)](),this[_0x18b8bc(0x199)][_0x18b8bc(0x182)]({'target':this[_0x18b8bc(0x1b1)][_0x18b8bc(0x184)],'limiter':document[_0x18b8bc(0x17b)](_0x18b8bc(0x16b))}));}[_0x1fe309(0x1a2)](){const _0x53447c=_0x1fe309;this[_0x53447c(0x1b1)]&&this[_0x53447c(0x199)]&&(this[_0x53447c(0x1b1)][_0x53447c(0x1d2)]=!0x1,this[_0x53447c(0x199)][_0x53447c(0x194)]());}[_0x1fe309(0x1d0)](){const _0x2d7608=_0x1fe309;this[_0x2d7608(0x166)][_0x2d7608(0x1d0)](),this[_0x2d7608(0x1a2)](),this[_0x2d7608(0x167)](),this[_0x2d7608(0x1b1)]&&(this[_0x2d7608(0x1b1)][_0x2d7608(0x1a7)]=''),this[_0x2d7608(0x199)]&&this[_0x2d7608(0x199)][_0x2d7608(0x17e)][_0x2d7608(0x1d0)]();}[_0x1fe309(0x1a1)](){const _0xc13d25=_0x1fe309;this[_0xc13d25(0x17d)]&&(this[_0xc13d25(0x17d)][_0xc13d25(0x17c)](),this[_0xc13d25(0x17d)]=null),this[_0xc13d25(0x1b1)]&&(this[_0xc13d25(0x1b1)][_0xc13d25(0x1a1)](),this[_0xc13d25(0x1b1)]=null),this[_0xc13d25(0x199)]&&(this[_0xc13d25(0x199)][_0xc13d25(0x1a1)](),this[_0xc13d25(0x199)]=null);}[_0x1fe309(0x14a)](){const _0x319a7e=_0x1fe309;if(!this[_0x319a7e(0x1bb)])return;if(!this[_0x319a7e(0x195)]())return void(this[_0x319a7e(0x14d)]=!0x0);this[_0x319a7e(0x14d)]=!0x1;const _0x38d2a0=[...this[_0x319a7e(0x161)],...this[_0x319a7e(0x166)]],_0x285f54=this[_0x319a7e(0x1b2)](),_0x2f2a09=this[_0x319a7e(0x1a5)](_0x285f54,_0x38d2a0),_0x1fe51f=_0x285f54[_0x319a7e(0x158)];_0x1fe51f&&this[_0x319a7e(0x196)](_0x1fe51f),_0x285f54[_0x319a7e(0x1be)](),this[_0x319a7e(0x1b4)](_0x38d2a0,_0x2f2a09);}[_0x1fe309(0x1ac)](){const _0x2976ed=_0x1fe309;this[_0x2976ed(0x1b1)]=this[_0x2976ed(0x193)](),this[_0x2976ed(0x199)]=this[_0x2976ed(0x191)](),this[_0x2976ed(0x1b1)][_0x2976ed(0x1d4)](),this[_0x2976ed(0x1bb)][_0x2976ed(0x18c)](this[_0x2976ed(0x1b1)][_0x2976ed(0x184)]),this[_0x2976ed(0x1b1)]['on'](_0x2976ed(0x17a),()=>{const _0xa64267=_0x2976ed;this[_0xa64267(0x1ad)]();}),_0xd7381d({'emitter':this[_0x2976ed(0x199)],'contextElements':[this[_0x2976ed(0x199)][_0x2976ed(0x184)],this[_0x2976ed(0x1b1)][_0x2976ed(0x184)]],'callback':()=>this[_0x2976ed(0x1a2)](),'activator':()=>this[_0x2976ed(0x1b1)][_0x2976ed(0x1d2)]});}[_0x1fe309(0x193)](){const _0x3a54d6=_0x1fe309,_0x199c23=new _0x203831(this[_0x3a54d6(0x18d)]);_0x199c23[_0x3a54d6(0x1c2)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x4a2cf5=[this[_0x3a54d6(0x16c)][_0x3a54d6(0x1a6)][_0x3a54d6(0x176)]];return this[_0x3a54d6(0x16c)][_0x3a54d6(0x1a6)][_0x3a54d6(0x1ca)]&&_0x4a2cf5[_0x3a54d6(0x19f)](this[_0x3a54d6(0x16c)][_0x3a54d6(0x1a6)][_0x3a54d6(0x1ca)]),_0x199c23[_0x3a54d6(0x1b7)]({'attributes':{'class':_0x4a2cf5}}),_0x199c23;}[_0x1fe309(0x191)](){const _0x56c6d9=_0x1fe309,_0x4d1926=new _0x28f4ac(this[_0x56c6d9(0x18d)]);return _0x4d1926[_0x56c6d9(0x1b7)]({'attributes':{'class':this[_0x56c6d9(0x16c)][_0x56c6d9(0x1a6)][_0x56c6d9(0x1bd)]}}),this[_0x56c6d9(0x1a0)][_0x56c6d9(0x19c)](_0x4d1926),_0x4d1926;}[_0x1fe309(0x183)](){const _0x59c0e1=_0x1fe309;if(this[_0x59c0e1(0x199)]&&(this[_0x59c0e1(0x199)][_0x59c0e1(0x17e)][_0x59c0e1(0x1d0)](),this[_0x59c0e1(0x166)][_0x59c0e1(0x1cb)]>0x0)){this[_0x59c0e1(0x166)][_0x59c0e1(0x16d)](_0x3a4be0=>{const _0x4ac067=_0x59c0e1;_0x3a4be0[_0x4ac067(0x1c9)]();});const _0x529018=new _0x133112(this[_0x59c0e1(0x18d)]);_0x529018[_0x59c0e1(0x1cf)]({'tag':_0x59c0e1(0x19a),'attributes':{'class':this[_0x59c0e1(0x16c)][_0x59c0e1(0x1a6)][_0x59c0e1(0x1b8)]},'children':this[_0x59c0e1(0x166)]}),this[_0x59c0e1(0x199)][_0x59c0e1(0x17e)][_0x59c0e1(0x19c)](_0x529018);}}[_0x1fe309(0x1ad)](){const _0x124b7e=_0x1fe309;this[_0x124b7e(0x1b1)][_0x124b7e(0x1d2)]?this[_0x124b7e(0x1a2)]():this[_0x124b7e(0x159)]();}[_0x1fe309(0x167)](){const _0x5a1443=_0x1fe309,_0x4cea8c=this[_0x5a1443(0x166)][_0x5a1443(0x1cb)]>0x0;this[_0x5a1443(0x1b1)]?.[_0x5a1443(0x184)]&&(this[_0x5a1443(0x1b1)][_0x5a1443(0x184)][_0x5a1443(0x1c3)][_0x5a1443(0x152)]=_0x4cea8c?'':_0x5a1443(0x173));}[_0x1fe309(0x180)](){const _0x49b433=_0x1fe309;this[_0x49b433(0x1b1)]?.[_0x49b433(0x1d2)]&&this[_0x49b433(0x199)]?.[_0x49b433(0x197)]&&this[_0x49b433(0x1b1)][_0x49b433(0x184)]&&this[_0x49b433(0x199)][_0x49b433(0x182)]({'target':this[_0x49b433(0x1b1)][_0x49b433(0x184)],'limiter':document[_0x49b433(0x17b)](_0x49b433(0x16b))});}[_0x1fe309(0x1d7)](_0x181cb8){const _0x3fc868=_0x1fe309,_0x3be748=this[_0x3fc868(0x1bb)]?.[_0x3fc868(0x187)][_0x3fc868(0x171)]()||_0x3fc868(0x19a),_0x5e19e9=this[_0x3fc868(0x1bb)]?.[_0x3fc868(0x16a)];if(_0x5e19e9){const _0x4c809b=_0x5e19e9[0x0]||'',_0x3a4adc=_0x181cb8[_0x3fc868(0x17b)]('.'+_0x4c809b),_0x1f3861=_0x181cb8[_0x3fc868(0x17b)](_0x3be748);return _0x3a4adc||_0x1f3861||_0x181cb8;}return _0x181cb8[_0x3fc868(0x17b)](_0x3be748)||_0x181cb8;}[_0x1fe309(0x15a)](){const _0x12965c=_0x1fe309,_0x2e7b13=this[_0x12965c(0x15f)]?.[_0x12965c(0x184)]||this[_0x12965c(0x1bb)];if(!_0x2e7b13)return an;const _0x408e2f=window[_0x12965c(0x18b)](_0x2e7b13)[_0x12965c(0x189)];if(_0x12965c(0x149)===_0x408e2f||_0x12965c(0x151)===_0x408e2f||!_0x408e2f){const _0x1d9ebb=_0x2e7b13[_0x12965c(0x1b9)];if(_0x1d9ebb){const _0x5195e4=window[_0x12965c(0x18b)](_0x1d9ebb);return _0x12965c(0x149)!==_0x5195e4[_0x12965c(0x189)]?_0x5195e4[_0x12965c(0x189)]:an;}return an;}return _0x408e2f;}[_0x1fe309(0x164)](_0x459546,_0x1595cb){const _0x190ee9=_0x1fe309;this[_0x190ee9(0x16c)][_0x190ee9(0x1a6)][_0x190ee9(0x153)]&&_0x459546[_0x190ee9(0x16a)][_0x190ee9(0x19c)](this[_0x190ee9(0x16c)][_0x190ee9(0x1a6)][_0x190ee9(0x153)]),_0x459546[_0x190ee9(0x1c3)][_0x190ee9(0x189)]=_0x1595cb,_0x459546[_0x190ee9(0x1c3)][_0x190ee9(0x1c4)]=_0x190ee9(0x1d6),_0x459546[_0x190ee9(0x1c3)][_0x190ee9(0x1c6)]=_0x190ee9(0x154),_0x459546[_0x190ee9(0x1c3)][_0x190ee9(0x177)]=_0x190ee9(0x154),_0x459546[_0x190ee9(0x1c3)][_0x190ee9(0x185)]='0',_0x459546[_0x190ee9(0x1c3)][_0x190ee9(0x148)]=_0x190ee9(0x173),_0x459546[_0x190ee9(0x1c3)][_0x190ee9(0x160)]='-1',_0x459546[_0x190ee9(0x1c3)][_0x190ee9(0x19b)]=_0x190ee9(0x1c7),_0x459546[_0x190ee9(0x1c3)][_0x190ee9(0x152)]=_0x190ee9(0x1b0),_0x459546[_0x190ee9(0x1c3)][_0x190ee9(0x14c)]=_0x190ee9(0x1b5);}[_0x1fe309(0x196)](_0x24e582){const _0x30f81d=_0x1fe309;_0x24e582[_0x30f81d(0x16d)](({element:_0xdad840,originalDisplay:_0x16f555,originalVisibility:_0x3f712a})=>{const _0x23a93b=_0x30f81d;_0xdad840[_0x23a93b(0x1c3)][_0x23a93b(0x152)]=_0x16f555,_0xdad840[_0x23a93b(0x1c3)][_0x23a93b(0x19b)]=_0x3f712a;});}[_0x1fe309(0x1d3)](_0x1a45ca){const _0x2fac31=_0x1fe309,_0x5b0814=[];let _0x36dfb0=_0x1a45ca;for(;_0x36dfb0&&_0x36dfb0!==document[_0x2fac31(0x156)];){const _0x2f5d3c=window[_0x2fac31(0x18b)](_0x36dfb0);_0x2fac31(0x173)!==_0x2f5d3c[_0x2fac31(0x152)]&&_0x2fac31(0x1bc)!==_0x2f5d3c[_0x2fac31(0x19b)]||(_0x5b0814[_0x2fac31(0x19f)]({'element':_0x36dfb0,'originalDisplay':_0x36dfb0[_0x2fac31(0x1c3)][_0x2fac31(0x152)],'originalVisibility':_0x36dfb0[_0x2fac31(0x1c3)][_0x2fac31(0x19b)]}),_0x36dfb0[_0x2fac31(0x1c3)][_0x2fac31(0x152)]=_0x2fac31(0x186),_0x36dfb0[_0x2fac31(0x1c3)][_0x2fac31(0x19b)]=_0x2fac31(0x1c1)),_0x36dfb0=_0x36dfb0[_0x2fac31(0x1b9)];}return _0x5b0814;}[_0x1fe309(0x175)](){const _0x398071=_0x1fe309;let _0x49e9e0,_0x44da10;return this[_0x398071(0x15f)]?.[_0x398071(0x184)]?(_0x49e9e0=this[_0x398071(0x15f)][_0x398071(0x184)][_0x398071(0x179)](!0x0),_0x44da10=this[_0x398071(0x1d7)](_0x49e9e0)):(_0x49e9e0=document[_0x398071(0x168)](_0x398071(0x19a)),_0x44da10=_0x49e9e0),{'calculationContainer':_0x49e9e0,'targetContainer':_0x44da10};}[_0x1fe309(0x1b2)](){const _0x24b033=_0x1fe309,{calculationContainer:_0x1075cb,targetContainer:_0x1bbff0}=this[_0x24b033(0x175)](),_0x27f5e6=this[_0x24b033(0x15a)]();this[_0x24b033(0x164)](_0x1075cb,_0x27f5e6);const _0x4071a=this[_0x24b033(0x15f)]?.[_0x24b033(0x184)]||this[_0x24b033(0x1bb)],_0x4c513c=_0x4071a?.[_0x24b033(0x1b9)];_0x4c513c?_0x4c513c[_0x24b033(0x18c)](_0x1075cb):document[_0x24b033(0x156)][_0x24b033(0x18c)](_0x1075cb),_0x1075cb[_0x24b033(0x1d8)]=_0x1bbff0;const _0x4c4b08=this[_0x24b033(0x1d3)](_0x4c513c||null);return _0x1075cb[_0x24b033(0x14b)],_0x1075cb[_0x24b033(0x158)]=_0x4c4b08,_0x1075cb;}[_0x1fe309(0x1a5)](_0x25bee5,_0x12e6d5){const _0x35ef20=_0x1fe309,_0xa421b1=_0x25bee5[_0x35ef20(0x1d8)]||_0x25bee5,_0x241992=[],{rowCount:_0x35b500}=this[_0x35ef20(0x1a9)](_0xa421b1,_0x12e6d5);if(_0x35b500<=this[_0x35ef20(0x16c)][_0x35ef20(0x188)])return _0x241992;const _0xb0439b=_0x12e6d5[_0x35ef20(0x172)]();for(;_0xb0439b[_0x35ef20(0x1cb)]>0x0;){if(this[_0x35ef20(0x1b6)](_0x25bee5,_0xa421b1,_0xb0439b)){const _0x3eb7f5=_0x12e6d5[_0x35ef20(0x1af)](_0x3d8d2d=>!_0xb0439b[_0x35ef20(0x17f)](_0x3d8d2d));_0x241992[_0x35ef20(0x19f)](..._0x3eb7f5);break;}if(!_0xb0439b[_0x35ef20(0x147)]())break;}return _0x241992;}[_0x1fe309(0x1a9)](_0x38a10e,_0x19332c){const _0x4e551a=_0x1fe309;_0x38a10e[_0x4e551a(0x181)]='',_0x19332c[_0x4e551a(0x16d)](_0x2ff802=>{const _0x3eac40=_0x4e551a;if(_0x2ff802[_0x3eac40(0x184)]){const _0x502e6a=_0x2ff802[_0x3eac40(0x184)][_0x3eac40(0x179)](!0x0);_0x38a10e[_0x3eac40(0x18c)](_0x502e6a);}}),_0x38a10e[_0x4e551a(0x14b)];const _0x26e780=_0x38a10e[_0x4e551a(0x163)],_0x1ea17a=[];return Array[_0x4e551a(0x1ba)](_0x26e780)[_0x4e551a(0x16d)](_0x68b032=>{const _0x3d0711=_0x4e551a,_0x5e3797=_0x68b032[_0x3d0711(0x1ce)]()[_0x3d0711(0x1c6)];_0x1ea17a[_0x3d0711(0x162)](_0xa2f88f=>Math[_0x3d0711(0x1c8)](_0xa2f88f-_0x5e3797)<this[_0x3d0711(0x16c)][_0x3d0711(0x1ae)])||_0x1ea17a[_0x3d0711(0x19f)](_0x5e3797);}),{'rowCount':_0x1ea17a[_0x4e551a(0x1cb)]};}[_0x1fe309(0x190)](){const _0x2b4197=_0x1fe309,_0x4a6ed0=document[_0x2b4197(0x168)](_0x2b4197(0x155));return _0x4a6ed0[_0x2b4197(0x1cd)]=this[_0x2b4197(0x16c)][_0x2b4197(0x1a6)][_0x2b4197(0x176)],this[_0x2b4197(0x16c)][_0x2b4197(0x1a6)][_0x2b4197(0x1ca)]&&_0x4a6ed0[_0x2b4197(0x16a)][_0x2b4197(0x19c)](this[_0x2b4197(0x16c)][_0x2b4197(0x1a6)][_0x2b4197(0x1ca)]),_0x4a6ed0[_0x2b4197(0x170)]=_0x2b4197(0x19d),_0x4a6ed0;}[_0x1fe309(0x1b6)](_0x291219,_0x4b253c,_0xe4de6d){const _0x1e8553=_0x1fe309;this[_0x1e8553(0x1a9)](_0x4b253c,_0xe4de6d);const _0x723e26=this[_0x1e8553(0x190)]();_0x291219[_0x1e8553(0x18c)](_0x723e26),_0x291219[_0x1e8553(0x14b)];const _0x136b9e=[..._0x4b253c[_0x1e8553(0x163)],_0x723e26],_0x10f406=[];_0x136b9e[_0x1e8553(0x16d)](_0x4f781c=>{const _0x464b23=_0x1e8553,_0x48ddb4=_0x4f781c[_0x464b23(0x1ce)]()[_0x464b23(0x1c6)];_0x10f406[_0x464b23(0x162)](_0x10a602=>Math[_0x464b23(0x1c8)](_0x10a602-_0x48ddb4)<this[_0x464b23(0x16c)][_0x464b23(0x1ae)])||_0x10f406[_0x464b23(0x19f)](_0x48ddb4);});const _0x2bfa85=_0x10f406[_0x1e8553(0x1cb)];return _0x723e26[_0x1e8553(0x1be)](),_0x2bfa85<=this[_0x1e8553(0x16c)][_0x1e8553(0x188)];}[_0x1fe309(0x1cc)](_0x55b607,_0x1914e6){const _0x414af3=_0x1fe309;this[_0x414af3(0x161)][_0x414af3(0x1d0)](),this[_0x414af3(0x166)][_0x414af3(0x1d0)](),_0x55b607[_0x414af3(0x16d)](_0x11cb62=>{const _0x385d6d=_0x414af3;_0x1914e6[_0x385d6d(0x17f)](_0x11cb62)?this[_0x385d6d(0x166)][_0x385d6d(0x19c)](_0x11cb62):this[_0x385d6d(0x161)][_0x385d6d(0x19c)](_0x11cb62);});}[_0x1fe309(0x14f)](_0x382546){const _0x3499cc=_0x1fe309;if(_0x382546>0x0&&!this[_0x3499cc(0x1b1)]&&this[_0x3499cc(0x1ac)](),_0x382546>0x0&&this[_0x3499cc(0x1b1)]){const _0x5e76db=''+this[_0x3499cc(0x16c)][_0x3499cc(0x1aa)]+(_0x382546<0x63?_0x382546:'99');this[_0x3499cc(0x1b1)][_0x3499cc(0x1a7)]=_0x5e76db;}this[_0x3499cc(0x183)](),this[_0x3499cc(0x167)](),this[_0x3499cc(0x180)]();}[_0x1fe309(0x1b4)](_0xd359d0,_0x4f5aeb){const _0x3b84d7=_0x1fe309;this[_0x3b84d7(0x1cc)](_0xd359d0,_0x4f5aeb),this[_0x3b84d7(0x14f)](_0x4f5aeb[_0x3b84d7(0x1cb)]);}[_0x1fe309(0x1b3)](){const _0x58b508=_0x1fe309;this[_0x58b508(0x1bb)]&&_0x58b508(0x1d5)!=typeof IntersectionObserver&&(this[_0x58b508(0x17d)]=new IntersectionObserver(_0x557562=>{const _0x2e0d3a=_0x58b508;_0x557562[0x0][_0x2e0d3a(0x1a4)]&&this[_0x2e0d3a(0x14d)]&&requestAnimationFrame(()=>{const _0x44f814=_0x2e0d3a;this[_0x44f814(0x14a)]();});},{'threshold':0.01,'rootMargin':_0x58b508(0x15e)}),this[_0x58b508(0x17d)][_0x58b508(0x15b)](this[_0x58b508(0x1bb)]));}[_0x1fe309(0x195)](){const _0x2b3aba=_0x1fe309;if(!this[_0x2b3aba(0x1bb)])return!0x1;if(!this[_0x2b3aba(0x1bb)][_0x2b3aba(0x192)])return!0x1;const _0x4c65c5=this[_0x2b3aba(0x1bb)][_0x2b3aba(0x1ce)]();if(0x0===_0x4c65c5[_0x2b3aba(0x189)]||0x0===_0x4c65c5[_0x2b3aba(0x165)])return!0x1;const _0x439cca=window[_0x2b3aba(0x169)]||document[_0x2b3aba(0x15c)][_0x2b3aba(0x14e)],_0x566b38=window[_0x2b3aba(0x1c5)]||document[_0x2b3aba(0x15c)][_0x2b3aba(0x1ab)],_0x16e8fa=0xc8;return _0x4c65c5[_0x2b3aba(0x174)]>=-0xc8&&_0x4c65c5[_0x2b3aba(0x1c6)]<=_0x439cca+_0x16e8fa&&_0x4c65c5[_0x2b3aba(0x150)]>=-0xc8&&_0x4c65c5[_0x2b3aba(0x177)]<=_0x566b38+_0x16e8fa;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c9483=_0x4be8;function _0x1902(){const _0x48ccbd=['_createIconView','removeEventListener','type','selection','extendTemplate','length','_initializeProperties','ck-ai-chat-context-chip_new-chip','2445642lQpfzO','20ASsZhQ','ck-hidden','2796170xSVbTB','render','_createLabelElement','_isAnimationOnEnterEnabled','isLoading','execute','setTemplate','disableAnimationOnEnter','7qwGiRj','_handleAnimationEndOnce','lastIndexOf','span','bindTemplate','_setupRemoveButtonEvent','4315752vpcPJC','document','small','locale','animationend','_createTemplateAttributes','removeContextItemChip','add','readonly','_createTemplateChildren','fire','18506952vyqvmk','label','316264nyqmqE','310145jbUBdF','webkitAnimationEnd','_createRemoveButton','set','bind','element','_createLoaderIcon','itemType','addEventListener','ck-ai-chat-context-controls__chip-tooltip','ck-ai-chat-context-chip__label','slice','remove','ck-ai-chat-context-chip__type-icon','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','ck-ai-chat-context-chip','tooltip','ck-ai-chat-context-chip_wide','isVisible','ck-ai-chat-context-chip_document','content','_setupTemplate','div','192192iFESzb','uiId','classList'];_0x1902=function(){return _0x48ccbd;};return _0x1902();}(function(_0x4dd921,_0x4c4ec1){const _0x2d5536=_0x4be8,_0x1a13ce=_0x4dd921();while(!![]){try{const _0x30355e=-parseInt(_0x2d5536(0x14b))/0x1+-parseInt(_0x2d5536(0x12d))/0x2*(parseInt(_0x2d5536(0x121))/0x3)+-parseInt(_0x2d5536(0x14a))/0x4+-parseInt(_0x2d5536(0x12f))/0x5+-parseInt(_0x2d5536(0x12c))/0x6*(-parseInt(_0x2d5536(0x137))/0x7)+-parseInt(_0x2d5536(0x13d))/0x8+parseInt(_0x2d5536(0x148))/0x9;if(_0x30355e===_0x4c4ec1)break;else _0x1a13ce['push'](_0x1a13ce['shift']());}catch(_0xcf6729){_0x1a13ce['push'](_0x1a13ce['shift']());}}}(_0x1902,0x51e15));import{ButtonView as _0x399890,IconView as _0x400688}from'ckeditor5/src/ui.js';function _0x4be8(_0x3979ae,_0x2a62dd){const _0x190252=_0x1902();return _0x4be8=function(_0x4be870,_0x2660ca){_0x4be870=_0x4be870-0x11a;let _0x2f1fc2=_0x190252[_0x4be870];return _0x2f1fc2;},_0x4be8(_0x3979ae,_0x2a62dd);}import{IconClose as _0x1f9e91,IconDocument as _0x549ea3,IconFileUpload as _0x205307,IconLink as _0x299f15,IconSelection as _0x7bbd5e}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2a5cad}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x15d813}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x205307,'document':_0x549ea3,'web-resource':_0x299f15,'text':_0x205307,'selection':_0x7bbd5e},bn=_0x5c9483(0x15a),wn=_0x5c9483(0x11b),Tn=_0x5c9483(0x11d),En=_0x5c9483(0x155),fn=_0x5c9483(0x158),An=_0x5c9483(0x154),Cn='n';export class AIChatContextItemButtonView extends _0x399890{constructor(_0xea27f6,_0x9b47ef,_0x2e7806,_0x84e319,_0x2a8be0=!0x1){const _0x54f884=_0x5c9483;super(_0xea27f6),this[_0x54f884(0x132)]=_0x84e319,this[_0x54f884(0x12a)](_0x9b47ef,_0x2e7806,_0x2a8be0),this[_0x54f884(0x11f)]();}[_0x5c9483(0x130)](){const _0x116074=_0x5c9483;super[_0x116074(0x130)](),this[_0x116074(0x132)]&&this[_0x116074(0x150)]&&(this[_0x116074(0x150)][_0x116074(0x123)][_0x116074(0x144)](_0x116074(0x12b)),this[_0x116074(0x138)](this[_0x116074(0x150)],()=>{const _0x2313bc=_0x116074;this[_0x2313bc(0x150)]&&this[_0x2313bc(0x150)][_0x2313bc(0x123)][_0x2313bc(0x157)](_0x2313bc(0x12b));}));}[_0x5c9483(0x136)](){const _0x48f841=_0x5c9483;this[_0x48f841(0x132)]=!0x1,this[_0x48f841(0x150)]&&this[_0x48f841(0x150)][_0x48f841(0x123)][_0x48f841(0x157)](_0x48f841(0x12b));}[_0x5c9483(0x12a)](_0x40b6bd,_0x1b2a72,_0x483f6d){const _0x731e32=_0x5c9483;this[_0x731e32(0x14e)](_0x731e32(0x149),_0x40b6bd[_0x731e32(0x149)]),this[_0x731e32(0x14e)](_0x731e32(0x11a),!0x0),this[_0x731e32(0x14e)](_0x731e32(0x152),_0x40b6bd[_0x731e32(0x126)]),this[_0x731e32(0x14e)]('id',_0x40b6bd[_0x731e32(0x122)]),this[_0x731e32(0x14e)](_0x731e32(0x145),_0x1b2a72),this[_0x731e32(0x14e)](_0x731e32(0x133),_0x483f6d);}[_0x5c9483(0x11f)](){const _0x538ab7=_0x5c9483,_0x596027=this[_0x538ab7(0x124)](),_0x3b223f=this[_0x538ab7(0x14d)](),_0x255ba6=this[_0x538ab7(0x13b)];this[_0x538ab7(0x135)]({'tag':_0x538ab7(0x120),'attributes':this[_0x538ab7(0x142)](_0x255ba6),'children':this[_0x538ab7(0x146)](_0x596027,_0x3b223f,_0x255ba6)});}[_0x5c9483(0x142)](_0x2434ea){const _0x1c7157=_0x5c9483;return{'class':[bn,_0x2434ea['if'](_0x1c7157(0x152),Tn,_0x114cd9=>_0x1c7157(0x13e)==_0x114cd9),_0x2434ea['if'](_0x1c7157(0x152),wn,_0x4f20e4=>_0x1c7157(0x127)==_0x4f20e4)],'data-cke-tooltip-text':_0x2434ea['to'](_0x1c7157(0x149),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x5c9483(0x146)](_0x3cd9e7,_0x37652a,_0x48811b){const _0x4ee01b=_0x5c9483,_0x256712=this[_0x4ee01b(0x131)](_0x48811b),_0x6a1768=this[_0x4ee01b(0x151)]();return this[_0x4ee01b(0x145)]?[_0x3cd9e7,_0x256712]:[_0x3cd9e7,_0x6a1768,_0x256712,_0x37652a];}[_0x5c9483(0x131)](_0x1638e2){const _0x30a6d5=_0x5c9483;return{'tag':_0x30a6d5(0x13a),'attributes':{'class':En},'children':[{'text':_0x1638e2['to'](_0x30a6d5(0x149))}]};}[_0x5c9483(0x14d)](){const _0x4a8f8b=_0x5c9483,_0x215690=new _0x399890(this[_0x4a8f8b(0x140)]);return _0x215690[_0x4a8f8b(0x14e)]({'label':_0x2a5cad(this[_0x4a8f8b(0x140)],_0x4a8f8b(0x159)),'icon':_0x1f9e91}),this[_0x4a8f8b(0x13c)](_0x215690),_0x215690;}[_0x5c9483(0x13c)](_0x32be53){const _0x10ddf3=_0x5c9483;_0x32be53['on'](_0x10ddf3(0x134),()=>{const _0x57ef2e=_0x10ddf3;this[_0x57ef2e(0x147)](_0x57ef2e(0x143),this['id']);});}[_0x5c9483(0x124)](){const _0x306f6c=_0x5c9483,_0x27ede2=this[_0x306f6c(0x13b)],_0x58b358=new _0x400688();return _0x58b358[_0x306f6c(0x11e)]=xn[this[_0x306f6c(0x152)]],_0x58b358[_0x306f6c(0x128)]({'attributes':{'class':[fn,_0x27ede2['if'](_0x306f6c(0x133),_0x306f6c(0x12e),_0x43cbc9=>_0x43cbc9)]}}),_0x58b358;}[_0x5c9483(0x138)](_0x18d9fe,_0x4aa186){const _0x3db8ec=_0x5c9483;if(!_0x18d9fe)return;const _0x47fb96=()=>{const _0x48dc30=_0x4be8;_0x4aa186(),_0x18d9fe[_0x48dc30(0x125)](_0x48dc30(0x141),_0x47fb96),_0x18d9fe[_0x48dc30(0x125)](_0x48dc30(0x14c),_0x47fb96);};_0x18d9fe[_0x3db8ec(0x153)](_0x3db8ec(0x141),_0x47fb96),_0x18d9fe[_0x3db8ec(0x153)](_0x3db8ec(0x14c),_0x47fb96);}[_0x5c9483(0x151)](){const _0x5dac21=_0x5c9483,_0x4ba451=new _0x15d813(_0x5dac21(0x13f));return _0x4ba451[_0x5dac21(0x14f)](_0x5dac21(0x11c))['to'](this,_0x5dac21(0x133),_0x5ed2fd=>_0x5ed2fd),_0x4ba451;}}function In(_0x34d083){const _0x444f57=_0x5c9483;if(!_0x34d083)return _0x34d083;if(_0x34d083[_0x444f57(0x129)]<=0x78)return _0x34d083;const _0xfb2fec=_0x34d083[_0x444f57(0x156)](0x0,0x78),_0x363617=_0xfb2fec[_0x444f57(0x139)]('\x20');return(_0x363617>0x0?_0xfb2fec[_0x444f57(0x156)](0x0,_0x363617):_0xfb2fec)+'…';}
23
+ const _0x4acdf3=_0x15e4;(function(_0x498ff6,_0x3c1821){const _0x55ae14=_0x15e4,_0xfaab63=_0x498ff6();while(!![]){try{const _0x48a549=parseInt(_0x55ae14(0x149))/0x1+-parseInt(_0x55ae14(0x138))/0x2+-parseInt(_0x55ae14(0x12e))/0x3*(-parseInt(_0x55ae14(0x150))/0x4)+parseInt(_0x55ae14(0x164))/0x5*(-parseInt(_0x55ae14(0x165))/0x6)+-parseInt(_0x55ae14(0x131))/0x7*(-parseInt(_0x55ae14(0x12f))/0x8)+parseInt(_0x55ae14(0x163))/0x9*(parseInt(_0x55ae14(0x15c))/0xa)+-parseInt(_0x55ae14(0x161))/0xb*(parseInt(_0x55ae14(0x14f))/0xc);if(_0x48a549===_0x3c1821)break;else _0xfaab63['push'](_0xfaab63['shift']());}catch(_0xdd8d73){_0xfaab63['push'](_0xfaab63['shift']());}}}(_0x56a9,0x3d284));import{ButtonView as _0x342958,IconView as _0xa44ae0}from'ckeditor5/src/ui.js';function _0x15e4(_0x120010,_0x434ba0){const _0x56a9cd=_0x56a9();return _0x15e4=function(_0x15e451,_0x9301f8){_0x15e451=_0x15e451-0x123;let _0x4e89e0=_0x56a9cd[_0x15e451];return _0x4e89e0;},_0x15e4(_0x120010,_0x434ba0);}import{IconClose as _0xce9524,IconDocument as _0x33cbce,IconFileUpload as _0x2dc7ef,IconLink as _0x26b3a3,IconSelection as _0x217688}from'@ckeditor/ckeditor5-icons';function _0x56a9(){const _0x4a8a53=['itemType','_setupRemoveButtonEvent','ck-ai-chat-context-chip__label','804yKrXVt','9524jhzvMU','disableAnimationOnEnter','ck-ai-chat-context-controls__chip-tooltip','_createLabelElement','_initializeProperties','_createIconView','isLoading','content','classList','_createTemplateChildren','_createTemplateAttributes','_handleAnimationEndOnce','7040YYaWCc','selection','slice','removeEventListener','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','81631eWAFgm','bind','4113egsnAD','29915mDqriA','12KqZEtZ','add','render','document','remove','extendTemplate','label','removeContextItemChip','readonly','webkitAnimationEnd','animationend','addEventListener','ck-hidden','453LWLcWe','1523440NZnOfh','isVisible','7kXxekr','small','lastIndexOf','span','_setupTemplate','_createRemoveButton','bindTemplate','788158wKKrkJ','ck-ai-chat-context-chip_wide','ck-ai-chat-context-chip_new-chip','element','set','div','length','locale','tooltip','execute','uiId','ck-ai-chat-context-chip','fire','ck-ai-chat-context-chip_document','_isAnimationOnEnterEnabled','setTemplate','type','282063mBEMWj','ck-ai-chat-context-chip__type-icon','_createLoaderIcon'];_0x56a9=function(){return _0x4a8a53;};return _0x56a9();}import{getTranslation as _0x3e2b38}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x196bfa}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x2dc7ef,'document':_0x33cbce,'web-resource':_0x26b3a3,'text':_0x2dc7ef,'selection':_0x217688},bn=_0x4acdf3(0x143),wn=_0x4acdf3(0x139),Tn=_0x4acdf3(0x145),En=_0x4acdf3(0x14e),fn=_0x4acdf3(0x14a),An=_0x4acdf3(0x152),Cn='n';export class AIChatContextItemButtonView extends _0x342958{constructor(_0x4f49a5,_0x25e909,_0x198c03,_0x40aa11,_0x1a847b=!0x1){const _0x56d624=_0x4acdf3;super(_0x4f49a5),this[_0x56d624(0x146)]=_0x40aa11,this[_0x56d624(0x154)](_0x25e909,_0x198c03,_0x1a847b),this[_0x56d624(0x135)]();}[_0x4acdf3(0x123)](){const _0x5accbc=_0x4acdf3;super[_0x5accbc(0x123)](),this[_0x5accbc(0x146)]&&this[_0x5accbc(0x13b)]&&(this[_0x5accbc(0x13b)][_0x5accbc(0x158)][_0x5accbc(0x166)](_0x5accbc(0x13a)),this[_0x5accbc(0x15b)](this[_0x5accbc(0x13b)],()=>{const _0x2aacd4=_0x5accbc;this[_0x2aacd4(0x13b)]&&this[_0x2aacd4(0x13b)][_0x2aacd4(0x158)][_0x2aacd4(0x125)](_0x2aacd4(0x13a));}));}[_0x4acdf3(0x151)](){const _0x378e8e=_0x4acdf3;this[_0x378e8e(0x146)]=!0x1,this[_0x378e8e(0x13b)]&&this[_0x378e8e(0x13b)][_0x378e8e(0x158)][_0x378e8e(0x125)](_0x378e8e(0x13a));}[_0x4acdf3(0x154)](_0x1253c9,_0xb4287d,_0x448178){const _0x1ba68d=_0x4acdf3;this[_0x1ba68d(0x13c)](_0x1ba68d(0x127),_0x1253c9[_0x1ba68d(0x127)]),this[_0x1ba68d(0x13c)](_0x1ba68d(0x140),!0x0),this[_0x1ba68d(0x13c)](_0x1ba68d(0x14c),_0x1253c9[_0x1ba68d(0x148)]),this[_0x1ba68d(0x13c)]('id',_0x1253c9[_0x1ba68d(0x142)]),this[_0x1ba68d(0x13c)](_0x1ba68d(0x129),_0xb4287d),this[_0x1ba68d(0x13c)](_0x1ba68d(0x156),_0x448178);}[_0x4acdf3(0x135)](){const _0xc968e3=_0x4acdf3,_0x54b792=this[_0xc968e3(0x155)](),_0x2a11ff=this[_0xc968e3(0x136)](),_0x174f90=this[_0xc968e3(0x137)];this[_0xc968e3(0x147)]({'tag':_0xc968e3(0x13d),'attributes':this[_0xc968e3(0x15a)](_0x174f90),'children':this[_0xc968e3(0x159)](_0x54b792,_0x2a11ff,_0x174f90)});}[_0x4acdf3(0x15a)](_0x47eb44){const _0x161024=_0x4acdf3;return{'class':[bn,_0x47eb44['if'](_0x161024(0x14c),Tn,_0x263e6c=>_0x161024(0x124)==_0x263e6c),_0x47eb44['if'](_0x161024(0x14c),wn,_0x1ac284=>_0x161024(0x15d)==_0x1ac284)],'data-cke-tooltip-text':_0x47eb44['to'](_0x161024(0x127),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x4acdf3(0x159)](_0x4b8744,_0xdd95f5,_0x4c4d62){const _0x86178e=_0x4acdf3,_0x36037c=this[_0x86178e(0x153)](_0x4c4d62),_0x51b015=this[_0x86178e(0x14b)]();return this[_0x86178e(0x129)]?[_0x4b8744,_0x36037c]:[_0x4b8744,_0x51b015,_0x36037c,_0xdd95f5];}[_0x4acdf3(0x153)](_0x4fa78e){const _0x44ccef=_0x4acdf3;return{'tag':_0x44ccef(0x134),'attributes':{'class':En},'children':[{'text':_0x4fa78e['to'](_0x44ccef(0x127))}]};}[_0x4acdf3(0x136)](){const _0xb352ed=_0x4acdf3,_0x13d068=new _0x342958(this[_0xb352ed(0x13f)]);return _0x13d068[_0xb352ed(0x13c)]({'label':_0x3e2b38(this[_0xb352ed(0x13f)],_0xb352ed(0x160)),'icon':_0xce9524}),this[_0xb352ed(0x14d)](_0x13d068),_0x13d068;}[_0x4acdf3(0x14d)](_0x4f19a3){const _0x127ea5=_0x4acdf3;_0x4f19a3['on'](_0x127ea5(0x141),()=>{const _0x56eed7=_0x127ea5;this[_0x56eed7(0x144)](_0x56eed7(0x128),this['id']);});}[_0x4acdf3(0x155)](){const _0x297840=_0x4acdf3,_0x44259e=this[_0x297840(0x137)],_0xcb098f=new _0xa44ae0();return _0xcb098f[_0x297840(0x157)]=xn[this[_0x297840(0x14c)]],_0xcb098f[_0x297840(0x126)]({'attributes':{'class':[fn,_0x44259e['if'](_0x297840(0x156),_0x297840(0x12d),_0x507337=>_0x507337)]}}),_0xcb098f;}[_0x4acdf3(0x15b)](_0x453e08,_0x4424f8){const _0x58e6a7=_0x4acdf3;if(!_0x453e08)return;const _0x317c94=()=>{const _0x1e55ec=_0x15e4;_0x4424f8(),_0x453e08[_0x1e55ec(0x15f)](_0x1e55ec(0x12b),_0x317c94),_0x453e08[_0x1e55ec(0x15f)](_0x1e55ec(0x12a),_0x317c94);};_0x453e08[_0x58e6a7(0x12c)](_0x58e6a7(0x12b),_0x317c94),_0x453e08[_0x58e6a7(0x12c)](_0x58e6a7(0x12a),_0x317c94);}[_0x4acdf3(0x14b)](){const _0x4fa185=_0x4acdf3,_0x4c95f9=new _0x196bfa(_0x4fa185(0x132));return _0x4c95f9[_0x4fa185(0x162)](_0x4fa185(0x130))['to'](this,_0x4fa185(0x156),_0x208323=>_0x208323),_0x4c95f9;}}function In(_0x57fe9c){const _0x485284=_0x4acdf3;if(!_0x57fe9c)return _0x57fe9c;if(_0x57fe9c[_0x485284(0x13e)]<=0x78)return _0x57fe9c;const _0x30031b=_0x57fe9c[_0x485284(0x15e)](0x0,0x78),_0x232449=_0x30031b[_0x485284(0x133)]('\x20');return(_0x232449>0x0?_0x30031b[_0x485284(0x15e)](0x0,_0x232449):_0x30031b)+'…';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17f560=_0x2190;function _0x2190(_0x5097bf,_0x35ea50){const _0x53798b=_0x5379();return _0x2190=function(_0x219008,_0x1e5920){_0x219008=_0x219008-0xd1;let _0x44c4ed=_0x53798b[_0x219008];return _0x44c4ed;},_0x2190(_0x5097bf,_0x35ea50);}(function(_0xeb706d,_0x5c04a3){const _0xd5b8bc=_0x2190,_0x10a6ca=_0xeb706d();while(!![]){try{const _0x1b8458=-parseInt(_0xd5b8bc(0xdb))/0x1+parseInt(_0xd5b8bc(0x102))/0x2*(parseInt(_0xd5b8bc(0xe5))/0x3)+-parseInt(_0xd5b8bc(0x100))/0x4*(-parseInt(_0xd5b8bc(0x116))/0x5)+-parseInt(_0xd5b8bc(0xf8))/0x6+-parseInt(_0xd5b8bc(0xf9))/0x7+parseInt(_0xd5b8bc(0xe9))/0x8+-parseInt(_0xd5b8bc(0xea))/0x9*(-parseInt(_0xd5b8bc(0xd1))/0xa);if(_0x1b8458===_0x5c04a3)break;else _0x10a6ca['push'](_0x10a6ca['shift']());}catch(_0x2c5b79){_0x10a6ca['push'](_0x10a6ca['shift']());}}}(_0x5379,0xebc9c));import{FocusTracker as _0xaf7a76,KeystrokeHandler as _0x2a53e9}from'ckeditor5/src/utils.js';import{ButtonView as _0x11c2b1,FocusCycler as _0x3a9723,LabeledFieldView as _0x1d4528,View as _0xa6090f,FormHeaderView as _0x4f3c2c,createLabeledInputText as _0x18fad0,submitHandler as _0x3ea1f1}from'ckeditor5/src/ui.js';import{IconCheck as _0x35e1fd,IconPreviousArrow as _0x18acd5}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4899ba}from'../../../aicore/utils/common-translations.js';const eh=_0x17f560(0xd5),hh=_0x17f560(0x109);export class AIChatContextPanelUrlInputView extends _0xa6090f{[_0x17f560(0xfb)];[_0x17f560(0x10c)];[_0x17f560(0xf0)];[_0x17f560(0x110)];[_0x17f560(0x10d)];[_0x17f560(0xda)];[_0x17f560(0xdd)];constructor(_0x4d4fc6){const _0x1c462f=_0x17f560;super(_0x4d4fc6),this[_0x1c462f(0xfb)]=new _0xaf7a76(),this[_0x1c462f(0x10c)]=new _0x2a53e9(),this[_0x1c462f(0xda)]=this[_0x1c462f(0xd6)](),this[_0x1c462f(0x10d)]=this[_0x1c462f(0x106)](),this[_0x1c462f(0xdd)]=this[_0x1c462f(0x119)](),this[_0x1c462f(0xf0)]=this[_0x1c462f(0xee)]([this[_0x1c462f(0xda)],this[_0x1c462f(0x10d)],this[_0x1c462f(0xdd)]]),this[_0x1c462f(0x110)]=new _0x3a9723({'focusables':this[_0x1c462f(0xf0)],'focusTracker':this[_0x1c462f(0xfb)],'keystrokeHandler':this[_0x1c462f(0x10c)],'actions':{'focusPrevious':_0x1c462f(0xdc),'focusNext':_0x1c462f(0xf7)}}),this[_0x1c462f(0x10f)](),this[_0x1c462f(0xe3)](),this[_0x1c462f(0x117)]();}[_0x17f560(0xe2)](){const _0x55dd25=_0x17f560;super[_0x55dd25(0xe2)](),this[_0x55dd25(0xf0)][_0x55dd25(0xfc)](_0xf45043=>{const _0x33d24b=_0x55dd25;this[_0x33d24b(0xfb)][_0x33d24b(0x104)](_0xf45043[_0x33d24b(0x114)]),this[_0x33d24b(0x10c)][_0x33d24b(0xe8)](_0xf45043[_0x33d24b(0x114)]);}),_0x3ea1f1({'view':this}),this[_0x55dd25(0x118)]();}[_0x17f560(0xd4)](){const _0xae22d9=_0x17f560;super[_0xae22d9(0xd4)](),this[_0xae22d9(0xfb)][_0xae22d9(0xd4)](),this[_0xae22d9(0x10c)][_0xae22d9(0xd4)]();}[_0x17f560(0x118)](){const _0x4491f5=_0x17f560;this[_0x4491f5(0x10d)][_0x4491f5(0x118)]();}[_0x17f560(0xf2)](){const _0x5a9db8=_0x17f560;return this[_0x5a9db8(0x10d)][_0x5a9db8(0xe4)][_0x5a9db8(0x114)]?.[_0x5a9db8(0xde)]?.[_0x5a9db8(0x10a)]()||'';}[_0x17f560(0xe6)](){const _0xcf90f7=_0x17f560;this[_0xcf90f7(0x10d)][_0xcf90f7(0xe4)][_0xcf90f7(0x114)][_0xcf90f7(0xde)]='',this[_0xcf90f7(0x10d)][_0xcf90f7(0x112)]=null,this[_0xcf90f7(0xdd)][_0xcf90f7(0x103)]=!0x1;}[_0x17f560(0x105)](_0x446430){const _0x1c95b6=_0x17f560;this[_0x1c95b6(0x10d)][_0x1c95b6(0x112)]=_0x446430,this[_0x1c95b6(0xef)](),this[_0x1c95b6(0xd3)](_0x1c95b6(0xed));}[_0x17f560(0x111)](){const _0x38b15e=_0x17f560;this[_0x38b15e(0x10d)][_0x38b15e(0x112)]=null,this[_0x38b15e(0xef)]();}[_0x17f560(0xd6)](){const _0x13e3cb=_0x17f560,_0x1d297a=new _0x11c2b1(this[_0x13e3cb(0xe7)]);return _0x1d297a[_0x13e3cb(0xec)]({'icon':_0x18acd5,'tooltip':_0x4899ba(this[_0x13e3cb(0xe7)],_0x13e3cb(0xd8)),'tooltipPosition':'n','class':_0x13e3cb(0x10b)}),_0x1d297a;}[_0x17f560(0x106)](){const _0x2c7126=_0x17f560,_0x2f728d=new _0x1d4528(this[_0x2c7126(0xe7)],_0x18fad0);return _0x2f728d[_0x2c7126(0xec)]({'label':_0x4899ba(this[_0x2c7126(0xe7)],_0x2c7126(0xfd)),'class':_0x2c7126(0xe0)}),_0x2f728d[_0x2c7126(0xe4)][_0x2c7126(0xec)]({'placeholder':_0x4899ba(this[_0x2c7126(0xe7)],_0x2c7126(0x108))}),_0x2f728d;}[_0x17f560(0x119)](){const _0x48f2a=_0x17f560,_0x558d55=new _0x11c2b1(this[_0x48f2a(0xe7)]);return _0x558d55[_0x48f2a(0xec)]({'icon':_0x35e1fd,'tooltip':_0x4899ba(this[_0x48f2a(0xe7)],_0x48f2a(0xdf)),'tooltipPosition':'n','class':_0x48f2a(0xf6),'type':_0x48f2a(0xd7),'isEnabled':!0x1}),_0x558d55;}[_0x17f560(0x10f)](){const _0x64cd87=_0x17f560,_0x2d7caa=new _0x4f3c2c(this[_0x64cd87(0xe7)],{'label':_0x4899ba(this[_0x64cd87(0xe7)],_0x64cd87(0xdf)),'class':_0x64cd87(0xfa)});_0x2d7caa[_0x64cd87(0xeb)][_0x64cd87(0x104)](this[_0x64cd87(0xda)],0x0),this[_0x64cd87(0x113)]({'tag':_0x64cd87(0x115),'attributes':{'class':eh,'tabindex':'-1'},'children':[_0x2d7caa,{'tag':_0x64cd87(0xff),'attributes':{'class':hh},'children':[this[_0x64cd87(0x10d)],this[_0x64cd87(0xdd)]]}]});}[_0x17f560(0xe3)](){const _0x175d8c=_0x17f560;this[_0x175d8c(0xda)]['on'](_0x175d8c(0xf5),()=>{const _0xf4f386=_0x175d8c;this[_0xf4f386(0xe6)](),this[_0xf4f386(0xd3)](_0xf4f386(0x107));}),this[_0x175d8c(0x10d)][_0x175d8c(0xe4)]['on'](_0x175d8c(0xd2),()=>{const _0x32467e=_0x175d8c;this[_0x32467e(0x111)](),this[_0x32467e(0xef)](),this[_0x32467e(0xd3)](_0x32467e(0xed));}),this['on'](_0x175d8c(0xd7),_0x941a96=>{const _0x2ff910=_0x175d8c;_0x941a96[_0x2ff910(0xf4)](),this[_0x2ff910(0x10e)]();});}[_0x17f560(0x117)](){const _0x3e099b=_0x17f560;this[_0x3e099b(0x10c)][_0x3e099b(0xec)](_0x3e099b(0xf3),(_0x4516a6,_0x28138e)=>{const _0x4d642e=_0x3e099b;this[_0x4d642e(0xe6)](),this[_0x4d642e(0xd3)](_0x4d642e(0x107)),_0x28138e();});}[_0x17f560(0x10e)](){const _0x12c242=_0x17f560,_0x3e6be4=this[_0x12c242(0xf2)]()[_0x12c242(0x10a)]();_0x3e6be4?this[_0x12c242(0xe1)](_0x3e6be4)?(this[_0x12c242(0x111)](),this[_0x12c242(0xd3)](_0x12c242(0x101),_0x3e6be4)):this[_0x12c242(0x105)](_0x4899ba(this[_0x12c242(0xe7)],_0x12c242(0xf1))):this[_0x12c242(0x105)](_0x4899ba(this[_0x12c242(0xe7)],_0x12c242(0xd9)));}[_0x17f560(0xef)](){const _0x242b1a=_0x17f560,_0x17d49f=this[_0x242b1a(0xf2)]()[_0x242b1a(0x10a)](),_0x1cfb99=!!this[_0x242b1a(0x10d)][_0x242b1a(0x112)];this[_0x242b1a(0xdd)][_0x242b1a(0x103)]=_0x17d49f[_0x242b1a(0xfe)]>0x0&&!_0x1cfb99;}[_0x17f560(0xe1)](_0x35502b){try{return!!new URL(_0x35502b);}catch{return!0x1;}}}function _0x5379(){const _0xa3f87=['refreshBalloon','createCollection','_updateConfirmButtonState','_focusables','AI_CHAT_CONTEXT_URL_INVALID_ERROR','getValue','esc','stop','execute','ck-button-icon','tab','10725930NTbcOF','8199065pAhDXi','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','focusTracker','forEach','AI_CHAT_CONTEXT_URL_LABEL','length','div','5464xFFYWC','submitUrl','77782KzYZuf','isEnabled','add','setError','_createUrlInputField','cancel','AI_CHAT_CONTEXT_URL_PLACEHOLDER','ck-ai-chat-context-controls__url-input-section','trim','ck-button-icon\x20ck-button-back','keystrokes','urlInputField','_handleSubmit','_setupTemplate','focusCycler','clearError','errorText','setTemplate','element','form','4405Nupjdw','_setupKeystrokes','focus','_createConfirmButton','2488940QhAxXu','input','fire','destroy','ck-ai-chat-context-controls__url-form','_createBackButton','submit','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','backButton','73146QhIRVJ','shift+tab','confirmButton','value','AI_CHAT_CONTEXT_URL_ADD_URL','ck-labeled-field-view_empty','_isValidUrl','render','_setupEventHandlers','fieldView','36iWHuGW','clear','locale','listenTo','4683904OXPOYc','63aPkBXG','children','set'];_0x5379=function(){return _0xa3f87;};return _0x5379();}
23
+ const _0x5e2dfa=_0x14ec;(function(_0x19020c,_0x14fcf7){const _0x7c8de3=_0x14ec,_0x12c9f5=_0x19020c();while(!![]){try{const _0x5508d=parseInt(_0x7c8de3(0x1e9))/0x1*(parseInt(_0x7c8de3(0x1f6))/0x2)+parseInt(_0x7c8de3(0x21c))/0x3*(-parseInt(_0x7c8de3(0x203))/0x4)+-parseInt(_0x7c8de3(0x1fb))/0x5*(parseInt(_0x7c8de3(0x1da))/0x6)+parseInt(_0x7c8de3(0x212))/0x7+-parseInt(_0x7c8de3(0x1f7))/0x8+-parseInt(_0x7c8de3(0x1fd))/0x9+-parseInt(_0x7c8de3(0x1f2))/0xa*(-parseInt(_0x7c8de3(0x214))/0xb);if(_0x5508d===_0x14fcf7)break;else _0x12c9f5['push'](_0x12c9f5['shift']());}catch(_0x487d8a){_0x12c9f5['push'](_0x12c9f5['shift']());}}}(_0xba30,0xeff84));import{FocusTracker as _0x5236e1,KeystrokeHandler as _0x2fe512}from'ckeditor5/src/utils.js';import{ButtonView as _0x45c409,FocusCycler as _0x507aaf,LabeledFieldView as _0x25fcdc,View as _0x50d5c9,FormHeaderView as _0x29044d,createLabeledInputText as _0x41bea7,submitHandler as _0x129f60}from'ckeditor5/src/ui.js';import{IconCheck as _0x33f711,IconPreviousArrow as _0x2bfd23}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x56f440}from'../../../aicore/utils/common-translations.js';const rh=_0x5e2dfa(0x201),oh=_0x5e2dfa(0x21d);function _0xba30(){const _0x1aaf7b=['ck-ai-chat-context-controls__url-input-section','fieldView','trim','_updateConfirmButtonState','_createBackButton','focusCycler','locale','6068778mMiNNz','shift+tab','form','input','_focusables','_setupTemplate','AI_CHAT_CONTEXT_URL_INVALID_ERROR','confirmButton','children','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','listenTo','length','AI_CHAT_CONTEXT_URL_PLACEHOLDER','getValue','ck-button-icon','23cNCxpd','_createConfirmButton','refreshBalloon','errorText','urlInputField','cancel','destroy','_isValidUrl','submit','13110800bAlnkN','createCollection','focusTracker','ck-button-icon\x20ck-button-back','36494yncICu','12319464ROmUby','tab','keystrokes','setError','5wvwHeg','render','15560046KdMzwV','stop','add','focus','ck-ai-chat-context-controls__url-form','_setupKeystrokes','20964AYeVOf','_setupEventHandlers','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','ck-labeled-field-view_empty','backButton','set','div','element','clearError','submitUrl','esc','_handleSubmit','_createUrlInputField','execute','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','9154397UzjuHV','forEach','44KBdZPo','isEnabled','fire','setTemplate','AI_CHAT_CONTEXT_URL_LABEL','clear','AI_CHAT_CONTEXT_URL_ADD_URL','value','978oLVRyx'];_0xba30=function(){return _0x1aaf7b;};return _0xba30();}function _0x14ec(_0x76f12c,_0x4a7b8f){const _0xba3025=_0xba30();return _0x14ec=function(_0x14ec0b,_0x2b63a5){_0x14ec0b=_0x14ec0b-0x1d5;let _0x4dea48=_0xba3025[_0x14ec0b];return _0x4dea48;},_0x14ec(_0x76f12c,_0x4a7b8f);}export class AIChatContextPanelUrlInputView extends _0x50d5c9{[_0x5e2dfa(0x1f4)];[_0x5e2dfa(0x1f9)];[_0x5e2dfa(0x1de)];[_0x5e2dfa(0x1d8)];[_0x5e2dfa(0x1ed)];[_0x5e2dfa(0x207)];[_0x5e2dfa(0x1e1)];constructor(_0x66708e){const _0x5f3393=_0x5e2dfa;super(_0x66708e),this[_0x5f3393(0x1f4)]=new _0x5236e1(),this[_0x5f3393(0x1f9)]=new _0x2fe512(),this[_0x5f3393(0x207)]=this[_0x5f3393(0x1d7)](),this[_0x5f3393(0x1ed)]=this[_0x5f3393(0x20f)](),this[_0x5f3393(0x1e1)]=this[_0x5f3393(0x1ea)](),this[_0x5f3393(0x1de)]=this[_0x5f3393(0x1f3)]([this[_0x5f3393(0x207)],this[_0x5f3393(0x1ed)],this[_0x5f3393(0x1e1)]]),this[_0x5f3393(0x1d8)]=new _0x507aaf({'focusables':this[_0x5f3393(0x1de)],'focusTracker':this[_0x5f3393(0x1f4)],'keystrokeHandler':this[_0x5f3393(0x1f9)],'actions':{'focusPrevious':_0x5f3393(0x1db),'focusNext':_0x5f3393(0x1f8)}}),this[_0x5f3393(0x1df)](),this[_0x5f3393(0x204)](),this[_0x5f3393(0x202)]();}[_0x5e2dfa(0x1fc)](){const _0x132ba0=_0x5e2dfa;super[_0x132ba0(0x1fc)](),this[_0x132ba0(0x1de)][_0x132ba0(0x213)](_0x827a97=>{const _0x145545=_0x132ba0;this[_0x145545(0x1f4)][_0x145545(0x1ff)](_0x827a97[_0x145545(0x20a)]),this[_0x145545(0x1f9)][_0x145545(0x1e4)](_0x827a97[_0x145545(0x20a)]);}),_0x129f60({'view':this}),this[_0x132ba0(0x200)]();}[_0x5e2dfa(0x1ef)](){const _0x14cf4e=_0x5e2dfa;super[_0x14cf4e(0x1ef)](),this[_0x14cf4e(0x1f4)][_0x14cf4e(0x1ef)](),this[_0x14cf4e(0x1f9)][_0x14cf4e(0x1ef)]();}[_0x5e2dfa(0x200)](){const _0x54f5b6=_0x5e2dfa;this[_0x54f5b6(0x1ed)][_0x54f5b6(0x200)]();}[_0x5e2dfa(0x1e7)](){const _0x319be4=_0x5e2dfa;return this[_0x319be4(0x1ed)][_0x319be4(0x21e)][_0x319be4(0x20a)]?.[_0x319be4(0x21b)]?.[_0x319be4(0x1d5)]()||'';}[_0x5e2dfa(0x219)](){const _0xf1df2a=_0x5e2dfa;this[_0xf1df2a(0x1ed)][_0xf1df2a(0x21e)][_0xf1df2a(0x20a)][_0xf1df2a(0x21b)]='',this[_0xf1df2a(0x1ed)][_0xf1df2a(0x1ec)]=null,this[_0xf1df2a(0x1e1)][_0xf1df2a(0x215)]=!0x1;}[_0x5e2dfa(0x1fa)](_0x4f6b87){const _0x33935f=_0x5e2dfa;this[_0x33935f(0x1ed)][_0x33935f(0x1ec)]=_0x4f6b87,this[_0x33935f(0x1d6)](),this[_0x33935f(0x216)](_0x33935f(0x1eb));}[_0x5e2dfa(0x20b)](){const _0x2224a7=_0x5e2dfa;this[_0x2224a7(0x1ed)][_0x2224a7(0x1ec)]=null,this[_0x2224a7(0x1d6)]();}[_0x5e2dfa(0x1d7)](){const _0x26994d=_0x5e2dfa,_0x4ec876=new _0x45c409(this[_0x26994d(0x1d9)]);return _0x4ec876[_0x26994d(0x208)]({'icon':_0x2bfd23,'tooltip':_0x56f440(this[_0x26994d(0x1d9)],_0x26994d(0x1e3)),'tooltipPosition':'n','class':_0x26994d(0x1f5)}),_0x4ec876;}[_0x5e2dfa(0x20f)](){const _0x3b7405=_0x5e2dfa,_0x59d38d=new _0x25fcdc(this[_0x3b7405(0x1d9)],_0x41bea7);return _0x59d38d[_0x3b7405(0x208)]({'label':_0x56f440(this[_0x3b7405(0x1d9)],_0x3b7405(0x218)),'class':_0x3b7405(0x206)}),_0x59d38d[_0x3b7405(0x21e)][_0x3b7405(0x208)]({'placeholder':_0x56f440(this[_0x3b7405(0x1d9)],_0x3b7405(0x1e6))}),_0x59d38d;}[_0x5e2dfa(0x1ea)](){const _0x11d5e3=_0x5e2dfa,_0x3ae46e=new _0x45c409(this[_0x11d5e3(0x1d9)]);return _0x3ae46e[_0x11d5e3(0x208)]({'icon':_0x33f711,'tooltip':_0x56f440(this[_0x11d5e3(0x1d9)],_0x11d5e3(0x21a)),'tooltipPosition':'n','class':_0x11d5e3(0x1e8),'type':_0x11d5e3(0x1f1),'isEnabled':!0x1}),_0x3ae46e;}[_0x5e2dfa(0x1df)](){const _0x567f7e=_0x5e2dfa,_0xd0a985=new _0x29044d(this[_0x567f7e(0x1d9)],{'label':_0x56f440(this[_0x567f7e(0x1d9)],_0x567f7e(0x21a)),'class':_0x567f7e(0x205)});_0xd0a985[_0x567f7e(0x1e2)][_0x567f7e(0x1ff)](this[_0x567f7e(0x207)],0x0),this[_0x567f7e(0x217)]({'tag':_0x567f7e(0x1dc),'attributes':{'class':rh,'tabindex':'-1'},'children':[_0xd0a985,{'tag':_0x567f7e(0x209),'attributes':{'class':oh},'children':[this[_0x567f7e(0x1ed)],this[_0x567f7e(0x1e1)]]}]});}[_0x5e2dfa(0x204)](){const _0x3f0fbd=_0x5e2dfa;this[_0x3f0fbd(0x207)]['on'](_0x3f0fbd(0x210),()=>{const _0xb9cb74=_0x3f0fbd;this[_0xb9cb74(0x219)](),this[_0xb9cb74(0x216)](_0xb9cb74(0x1ee));}),this[_0x3f0fbd(0x1ed)][_0x3f0fbd(0x21e)]['on'](_0x3f0fbd(0x1dd),()=>{const _0x55c035=_0x3f0fbd;this[_0x55c035(0x20b)](),this[_0x55c035(0x1d6)](),this[_0x55c035(0x216)](_0x55c035(0x1eb));}),this['on'](_0x3f0fbd(0x1f1),_0x371ad6=>{const _0x4b12bc=_0x3f0fbd;_0x371ad6[_0x4b12bc(0x1fe)](),this[_0x4b12bc(0x20e)]();});}[_0x5e2dfa(0x202)](){const _0x5070a4=_0x5e2dfa;this[_0x5070a4(0x1f9)][_0x5070a4(0x208)](_0x5070a4(0x20d),(_0x59ca13,_0x51b30a)=>{const _0x1fab0a=_0x5070a4;this[_0x1fab0a(0x219)](),this[_0x1fab0a(0x216)](_0x1fab0a(0x1ee)),_0x51b30a();});}[_0x5e2dfa(0x20e)](){const _0x4da4e1=_0x5e2dfa,_0x4d35aa=this[_0x4da4e1(0x1e7)]()[_0x4da4e1(0x1d5)]();_0x4d35aa?this[_0x4da4e1(0x1f0)](_0x4d35aa)?(this[_0x4da4e1(0x20b)](),this[_0x4da4e1(0x216)](_0x4da4e1(0x20c),_0x4d35aa)):this[_0x4da4e1(0x1fa)](_0x56f440(this[_0x4da4e1(0x1d9)],_0x4da4e1(0x1e0))):this[_0x4da4e1(0x1fa)](_0x56f440(this[_0x4da4e1(0x1d9)],_0x4da4e1(0x211)));}[_0x5e2dfa(0x1d6)](){const _0x1e9602=_0x5e2dfa,_0x437225=this[_0x1e9602(0x1e7)]()[_0x1e9602(0x1d5)](),_0x36e5e0=!!this[_0x1e9602(0x1ed)][_0x1e9602(0x1ec)];this[_0x1e9602(0x1e1)][_0x1e9602(0x215)]=_0x437225[_0x1e9602(0x1e5)]>0x0&&!_0x36e5e0;}[_0x5e2dfa(0x1f0)](_0x42a0cc){try{return!!new URL(_0x42a0cc);}catch{return!0x1;}}}