@ckeditor/ckeditor5-ai 47.0.0-alpha.1 → 47.0.0-alpha.2

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 (308) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +9 -1
  3. package/dist/index.css +9 -1
  4. package/dist/index.js +4 -4
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/lang/contexts.json +35 -1
  152. package/package.json +15 -15
  153. package/src/aiactions/aiactions.js +1 -1
  154. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  155. package/src/aiactions/model/aiactionsreply.js +1 -1
  156. package/src/aiassistant/adapters/aiadapter.js +1 -1
  157. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.js +1 -1
  161. package/src/aiassistant/aiassistantediting.js +1 -1
  162. package/src/aiassistant/aiassistantui.js +1 -1
  163. package/src/aiassistant/legacyerrors.js +1 -1
  164. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  165. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  166. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  172. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  173. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  174. package/src/aiassistant/utils/common-translations.js +1 -1
  175. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  176. package/src/aiballoon/aiballoon.js +1 -1
  177. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  178. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  179. package/src/aiballoon/ui/aiballoonview.js +1 -1
  180. package/src/aichat/aichat.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/model/aichatmodels.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  212. package/src/aichat/utils/eventnames.js +1 -1
  213. package/src/aichat/utils/promisequeue.js +1 -1
  214. package/src/aichat/utils/scrollmanager.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aiconfig.d.ts +5 -0
  225. package/src/aicore/aiconnector.js +1 -1
  226. package/src/aicore/aiediting.js +1 -1
  227. package/src/aicore/model/aicapabilities.js +1 -1
  228. package/src/aicore/model/aicontext.js +1 -1
  229. package/src/aicore/model/aiinteraction.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  241. package/src/aicore/utils/common-translations.js +1 -1
  242. package/src/aicore/utils/createresizebutton.js +1 -1
  243. package/src/aicore/utils/documentposition.js +1 -1
  244. package/src/aicore/utils/documentrange.js +1 -1
  245. package/src/aicore/utils/eventnames.js +1 -1
  246. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  247. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  248. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  249. package/src/aicore/utils/htmlparser.js +1 -1
  250. package/src/aicore/utils/htmlstreamer.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aiquickactions/utils/common-translations.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +31 -0
  260. package/src/aireviewmode/aireviewcheckdefinitions.js +23 -0
  261. package/src/aireviewmode/aireviewmode.d.ts +37 -0
  262. package/src/aireviewmode/aireviewmode.js +1 -1
  263. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  264. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  265. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  266. package/src/aireviewmode/aireviewmodeui.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheck.d.ts +2 -19
  268. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  270. package/src/aireviewmode/model/aireviewchecklist.d.ts +2 -5
  271. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  272. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  273. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  274. package/src/aireviewmode/model/aireviewcheckrun.d.ts +5 -1
  275. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  276. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +4 -0
  277. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  278. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  279. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +4 -0
  280. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  284. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  285. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  286. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -0
  287. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  288. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  289. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  290. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +1 -1
  291. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  292. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  293. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  294. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  295. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  296. package/src/aitabs/aitabs.js +1 -1
  297. package/src/aitabs/aitabsmainview.js +1 -1
  298. package/src/aitabs/tabs/aitabsview.js +1 -1
  299. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  300. package/src/aitabs/tabs/tabpanelview.js +1 -1
  301. package/src/index.d.ts +3 -2
  302. package/src/index.js +1 -1
  303. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  304. package/theme/aichat/aichat-controls.css +4 -0
  305. package/theme/aichat/aichatfeed.css +4 -0
  306. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  307. package/src/aireviewmode/utils/common-translations.d.ts +0 -9
  308. package/src/aireviewmode/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x132e(_0xc9655c,_0x4145e4){const _0x413b78=_0x413b();return _0x132e=function(_0x132e78,_0x2bb0ab){_0x132e78=_0x132e78-0x1b4;let _0x7aab8b=_0x413b78[_0x132e78];return _0x7aab8b;},_0x132e(_0xc9655c,_0x4145e4);}const _0x4f094f=_0x132e;function _0x413b(){const _0x399253=['sendUserMessage','28507790bWUFbU','32LAsTGL','addContextButtonView','_createLoaderView','_createPromptCapabilitiesView','focusPromptInput','321211ZywmXr','disableModelSelector','closeSourceResourceBalloon','setWebSearch','form','focus','setContextItemLoading','element','_promptCapabilitiesView','clearPendingContextUI','clearConversationContextItems','enableModelSelector','210Rnmolr','bindTemplate','toggleReasoning','setReasoning','addContextItem','div','setInputPlaceholder','removeContextItem','_handlePromptInputFocus','_createPromptInputView','ck-hidden','isLoading','selectModel','populateSourceResourceBalloon','low','setTemplate','5143869ANRxHV','52IlJXZn','1234280oNTYVA','692258XaSmSL','clearConversationContextUI','_promptInputView','toggleWebSearch','resetMessageInput','_contextPanelView','clearCurrentContextItems','setModelList','_shouldRestorePromptInputFocus','updateResourceState','setPlaceholderText','setIsUploadInProgress','setConversationContext','delegate','105333sAIukS','setModel','_createContextPanelView','94135hlNdKf','change:isLoading','abortPromptStream','_loaderView','ck-ai-chat-controls','reset','setAddContextOptions'];_0x413b=function(){return _0x399253;};return _0x413b();}(function(_0x357682,_0x3018fb){const _0x30e859=_0x132e,_0x12547b=_0x357682();while(!![]){try{const _0x529af3=-parseInt(_0x30e859(0x1ce))/0x1+-parseInt(_0x30e859(0x1eb))/0x2*(parseInt(_0x30e859(0x1bd))/0x3)+-parseInt(_0x30e859(0x1ec))/0x4+parseInt(_0x30e859(0x1c0))/0x5*(-parseInt(_0x30e859(0x1da))/0x6)+-parseInt(_0x30e859(0x1ed))/0x7*(-parseInt(_0x30e859(0x1c9))/0x8)+-parseInt(_0x30e859(0x1ea))/0x9+parseInt(_0x30e859(0x1c8))/0xa;if(_0x529af3===_0x3018fb)break;else _0x12547b['push'](_0x12547b['shift']());}catch(_0xfd041a){_0x12547b['push'](_0x12547b['shift']());}}}(_0x413b,0x73872));import{clickOutsideHandler as _0x4d27e3,View as _0x41dc7d}from'ckeditor5/src/ui.js';import{AIChatPromptInputView as _0x2e9817}from'./controls/aichatpromptinputview.js';import{AIChatPromptCapabilitiesView as _0x483a44}from'./controls/aichatpromptcapabilitiesview.js';import{AIChatContextPanelView as _0x3f94c5,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x37e228}from'./controls/aichatcontextpanelview.js';import{AIChatControlsLoaderView as _0x1e7103}from'./controls/aichatcontrolsloaderview.js';export class AIChatControlsView extends _0x41dc7d{[_0x4f094f(0x1b4)];[_0x4f094f(0x1ef)];[_0x4f094f(0x1d6)];[_0x4f094f(0x1c3)];[_0x4f094f(0x1b7)];constructor(_0x134c51,_0x5dee83){const _0x54d1bc=_0x4f094f;super(_0x134c51),this[_0x54d1bc(0x1b4)]=this[_0x54d1bc(0x1bf)](_0x134c51,_0x5dee83),this[_0x54d1bc(0x1ef)]=this[_0x54d1bc(0x1e3)](_0x134c51),this[_0x54d1bc(0x1d6)]=this[_0x54d1bc(0x1cc)](_0x134c51),this[_0x54d1bc(0x1c3)]=this[_0x54d1bc(0x1cb)](_0x134c51),this[_0x54d1bc(0x1b7)]=!0x1,this[_0x54d1bc(0x1ef)][_0x54d1bc(0x1bc)](_0x54d1bc(0x1c7))['to'](this),this[_0x54d1bc(0x1c3)][_0x54d1bc(0x1bc)](_0x54d1bc(0x1c2))['to'](this),this[_0x54d1bc(0x1d6)][_0x54d1bc(0x1bc)](_0x54d1bc(0x1f0))['to'](this),this[_0x54d1bc(0x1d6)][_0x54d1bc(0x1bc)](_0x54d1bc(0x1dc))['to'](this),this[_0x54d1bc(0x1d6)][_0x54d1bc(0x1bc)](_0x54d1bc(0x1e6))['to'](this),this[_0x54d1bc(0x1b4)][_0x54d1bc(0x1bc)](..._0x37e228)['to'](this);const _0x67b693=this[_0x54d1bc(0x1db)];this[_0x54d1bc(0x1e9)]({'tag':_0x54d1bc(0x1d2),'attributes':{'class':['ck',_0x54d1bc(0x1c4)]},'children':[{'tag':_0x54d1bc(0x1df),'attributes':{'class':[_0x67b693['if'](_0x54d1bc(0x1e5),_0x54d1bc(0x1e4))]},'children':[this[_0x54d1bc(0x1b4)],this[_0x54d1bc(0x1ef)],this[_0x54d1bc(0x1d6)]]},{'tag':_0x54d1bc(0x1df),'attributes':{'class':[_0x67b693['if'](_0x54d1bc(0x1e5),_0x54d1bc(0x1e4),_0x300b72=>!_0x300b72)]},'children':[this[_0x54d1bc(0x1c3)]]}]}),_0x4d27e3({'emitter':this[_0x54d1bc(0x1ef)],'activator':()=>this[_0x54d1bc(0x1e5)],'contextElements':()=>[this[_0x54d1bc(0x1d5)]],'callback':()=>{const _0x3eeeda=_0x54d1bc;this[_0x3eeeda(0x1b7)]=!0x1;}}),this['on'](_0x54d1bc(0x1c1),this[_0x54d1bc(0x1e2)],{'priority':_0x54d1bc(0x1e8)});}[_0x4f094f(0x1bf)](_0x2e934d,_0x91c8d0){return new _0x3f94c5(_0x2e934d,_0x91c8d0);}[_0x4f094f(0x1e3)](_0x4b142b){const _0xff6e28=_0x4f094f;return new _0x2e9817(_0x4b142b,this[_0xff6e28(0x1b4)][_0xff6e28(0x1ca)]);}[_0x4f094f(0x1cc)](_0x2810f5){return new _0x483a44(_0x2810f5);}[_0x4f094f(0x1cb)](_0x5a18bf){return new _0x1e7103(_0x5a18bf);}[_0x4f094f(0x1e2)](_0x174db0,_0x2e1d3a,_0x2f73b9){const _0x5a0176=_0x4f094f;_0x2f73b9?this[_0x5a0176(0x1b7)]=!0x0:this[_0x5a0176(0x1b7)]&&this[_0x5a0176(0x1ef)][_0x5a0176(0x1d3)]();}[_0x4f094f(0x1de)](_0x3e69f4,_0x67570e){const _0x52a676=_0x4f094f;this[_0x52a676(0x1b4)][_0x52a676(0x1de)](_0x3e69f4,_0x67570e);}[_0x4f094f(0x1e1)](_0x264170){const _0x16dbd9=_0x4f094f;this[_0x16dbd9(0x1b4)][_0x16dbd9(0x1e1)](_0x264170);}[_0x4f094f(0x1d4)](_0x1d75e2,_0xd7b540){const _0x2a09d3=_0x4f094f;this[_0x2a09d3(0x1b4)][_0x2a09d3(0x1d4)](_0x1d75e2,_0xd7b540);}[_0x4f094f(0x1ba)](_0x58579d){const _0x4c0e64=_0x4f094f;this[_0x4c0e64(0x1ef)][_0x4c0e64(0x1ba)](_0x58579d);}[_0x4f094f(0x1bb)](_0x4633fb){const _0x5ee38a=_0x4f094f;this[_0x5ee38a(0x1b4)][_0x5ee38a(0x1bb)](_0x4633fb);}[_0x4f094f(0x1d7)](){const _0x259350=_0x4f094f;this[_0x259350(0x1b4)][_0x259350(0x1b5)]();}[_0x4f094f(0x1ee)](){const _0x56476c=_0x4f094f;this[_0x56476c(0x1b4)][_0x56476c(0x1d8)]();}[_0x4f094f(0x1b8)](_0x59d502,_0x365a50,_0xf442ee){const _0x26d7d5=_0x4f094f;this[_0x26d7d5(0x1b4)][_0x26d7d5(0x1b8)](_0x59d502,_0x365a50,_0xf442ee);}[_0x4f094f(0x1d1)](_0x18eedc){const _0x35827f=_0x4f094f;this[_0x35827f(0x1d6)][_0x35827f(0x1d1)](_0x18eedc);}[_0x4f094f(0x1dd)](_0x49b4ef){const _0x3a67db=_0x4f094f;this[_0x3a67db(0x1d6)][_0x3a67db(0x1dd)](_0x49b4ef);}[_0x4f094f(0x1f1)](){const _0x4c9cfc=_0x4f094f;this[_0x4c9cfc(0x1ef)][_0x4c9cfc(0x1c5)]();}[_0x4f094f(0x1c6)](_0x417296){const _0x4bb37a=_0x4f094f;this[_0x4bb37a(0x1b4)][_0x4bb37a(0x1c6)](_0x417296);}[_0x4f094f(0x1e0)](_0x1ca5fc){const _0x40cfbe=_0x4f094f;this[_0x40cfbe(0x1ef)][_0x40cfbe(0x1b9)](_0x1ca5fc);}[_0x4f094f(0x1b6)](_0x3586f9,_0x10a564){const _0x2b8123=_0x4f094f;this[_0x2b8123(0x1d6)][_0x2b8123(0x1b6)](_0x3586f9,_0x10a564);}[_0x4f094f(0x1be)](_0x1988a1){const _0x52589e=_0x4f094f;this[_0x52589e(0x1d6)][_0x52589e(0x1be)](_0x1988a1);}[_0x4f094f(0x1d9)](){const _0x5380c9=_0x4f094f;this[_0x5380c9(0x1d6)][_0x5380c9(0x1d9)]();}[_0x4f094f(0x1cf)](_0x49f891){const _0x446687=_0x4f094f;this[_0x446687(0x1d6)][_0x446687(0x1cf)](_0x49f891);}[_0x4f094f(0x1e7)](_0x2733c1,_0x2e4962,_0xf746fb,_0x3f82c6){const _0xfe5f64=_0x4f094f;this[_0xfe5f64(0x1b4)][_0xfe5f64(0x1e7)](_0x2733c1,_0x2e4962,_0xf746fb,_0x3f82c6);}[_0x4f094f(0x1d0)](_0x2416f6){const _0x8fc1e3=_0x4f094f;this[_0x8fc1e3(0x1b4)][_0x8fc1e3(0x1d0)](_0x2416f6);}[_0x4f094f(0x1cd)](){const _0x4f9164=_0x4f094f;this[_0x4f9164(0x1ef)][_0x4f9164(0x1d3)]();}}
23
+ const _0x16c0ab=_0x3662;(function(_0x129fbb,_0x1e19a3){const _0x428388=_0x3662,_0x35fed4=_0x129fbb();while(!![]){try{const _0x301e1e=parseInt(_0x428388(0xa8))/0x1+parseInt(_0x428388(0x9e))/0x2+parseInt(_0x428388(0x91))/0x3*(-parseInt(_0x428388(0xb1))/0x4)+-parseInt(_0x428388(0xa1))/0x5*(parseInt(_0x428388(0x86))/0x6)+parseInt(_0x428388(0x93))/0x7+parseInt(_0x428388(0x8f))/0x8+-parseInt(_0x428388(0x87))/0x9*(parseInt(_0x428388(0xab))/0xa);if(_0x301e1e===_0x1e19a3)break;else _0x35fed4['push'](_0x35fed4['shift']());}catch(_0x189c42){_0x35fed4['push'](_0x35fed4['shift']());}}}(_0x35bf,0xc42dd));import{clickOutsideHandler as _0x55f52d,View as _0xbf4035}from'ckeditor5/src/ui.js';import{AIChatPromptInputView as _0x483f92}from'./controls/aichatpromptinputview.js';import{AIChatPromptCapabilitiesView as _0xf4cbac}from'./controls/aichatpromptcapabilitiesview.js';import{AIChatContextPanelView as _0x305793,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x4e796d}from'./controls/aichatcontextpanelview.js';function _0x3662(_0x3237ba,_0x2a4ad2){const _0x35bf85=_0x35bf();return _0x3662=function(_0x366280,_0x28b9c1){_0x366280=_0x366280-0x75;let _0x1019d7=_0x35bf85[_0x366280];return _0x1019d7;},_0x3662(_0x3237ba,_0x2a4ad2);}import{AIChatControlsLoaderView as _0x36714f}from'./controls/aichatcontrolsloaderview.js';export class AIChatControlsView extends _0xbf4035{[_0x16c0ab(0x96)];[_0x16c0ab(0xa4)];[_0x16c0ab(0x80)];[_0x16c0ab(0x8c)];[_0x16c0ab(0xa0)];constructor(_0x17a241,_0xb0256c){const _0x35ebd8=_0x16c0ab;super(_0x17a241),this[_0x35ebd8(0x96)]=this[_0x35ebd8(0x88)](_0x17a241,_0xb0256c),this[_0x35ebd8(0xa4)]=this[_0x35ebd8(0x82)](_0x17a241),this[_0x35ebd8(0x80)]=this[_0x35ebd8(0x97)](_0x17a241),this[_0x35ebd8(0x8c)]=this[_0x35ebd8(0x9f)](_0x17a241),this[_0x35ebd8(0xa0)]=!0x1,this[_0x35ebd8(0xa4)][_0x35ebd8(0x9b)](_0x35ebd8(0x85))['to'](this),this[_0x35ebd8(0x8c)][_0x35ebd8(0x9b)](_0x35ebd8(0x89))['to'](this),this[_0x35ebd8(0x80)][_0x35ebd8(0x9b)](_0x35ebd8(0xa7))['to'](this),this[_0x35ebd8(0x80)][_0x35ebd8(0x9b)](_0x35ebd8(0x95))['to'](this),this[_0x35ebd8(0x80)][_0x35ebd8(0x9b)](_0x35ebd8(0x84))['to'](this),this[_0x35ebd8(0x96)][_0x35ebd8(0x9b)](..._0x4e796d)['to'](this);const _0x4b7fa0=this[_0x35ebd8(0x8e)];this[_0x35ebd8(0x76)]({'tag':_0x35ebd8(0xa6),'attributes':{'class':['ck',_0x35ebd8(0x7a)]},'children':[{'tag':_0x35ebd8(0x7d),'attributes':{'class':[_0x4b7fa0['if'](_0x35ebd8(0x9a),_0x35ebd8(0x77))]},'children':[this[_0x35ebd8(0x96)],this[_0x35ebd8(0xa4)],this[_0x35ebd8(0x80)]]},{'tag':_0x35ebd8(0x7d),'attributes':{'class':[_0x4b7fa0['if'](_0x35ebd8(0x9a),_0x35ebd8(0x77),_0x2a24b9=>!_0x2a24b9)]},'children':[this[_0x35ebd8(0x8c)]]}]}),_0x55f52d({'emitter':this[_0x35ebd8(0xa4)],'activator':()=>this[_0x35ebd8(0x9a)],'contextElements':()=>[this[_0x35ebd8(0x9c)]],'callback':()=>{const _0x50c6de=_0x35ebd8;this[_0x50c6de(0xa0)]=!0x1;}}),this['on'](_0x35ebd8(0xb0),this[_0x35ebd8(0x92)],{'priority':_0x35ebd8(0xad)});}[_0x16c0ab(0x88)](_0x4ab277,_0x422ae9){return new _0x305793(_0x4ab277,_0x422ae9);}[_0x16c0ab(0x82)](_0x3155cb){const _0x510faf=_0x16c0ab;return new _0x483f92(_0x3155cb,this[_0x510faf(0x96)][_0x510faf(0x7b)]);}[_0x16c0ab(0x97)](_0x35a5ca){return new _0xf4cbac(_0x35a5ca);}[_0x16c0ab(0x9f)](_0x3be85b){return new _0x36714f(_0x3be85b);}[_0x16c0ab(0x92)](_0x508670,_0x3aa9f6,_0x3678bd){const _0x4c56ca=_0x16c0ab;_0x3678bd?this[_0x4c56ca(0xa0)]=!0x0:this[_0x4c56ca(0xa0)]&&this[_0x4c56ca(0xa4)][_0x4c56ca(0x90)]();}[_0x16c0ab(0x8d)](_0x58bf1e,_0x4eb0b4){const _0x527057=_0x16c0ab;this[_0x527057(0x96)][_0x527057(0x8d)](_0x58bf1e,_0x4eb0b4);}[_0x16c0ab(0xae)](_0xbfb93e){const _0x449220=_0x16c0ab;this[_0x449220(0x96)][_0x449220(0xae)](_0xbfb93e);}[_0x16c0ab(0x7c)](_0x79b71f,_0x33fb65){const _0x4bc4dc=_0x16c0ab;this[_0x4bc4dc(0x96)][_0x4bc4dc(0x7c)](_0x79b71f,_0x33fb65);}[_0x16c0ab(0x78)](_0x48a13a){const _0x48139c=_0x16c0ab;this[_0x48139c(0xa4)][_0x48139c(0x78)](_0x48a13a);}[_0x16c0ab(0x79)](_0x4e7799){const _0x129102=_0x16c0ab;this[_0x129102(0x96)][_0x129102(0x79)](_0x4e7799);}[_0x16c0ab(0xa2)](){const _0x39cd0e=_0x16c0ab;this[_0x39cd0e(0x96)][_0x39cd0e(0xb2)]();}[_0x16c0ab(0xac)](){const _0x5d95f4=_0x16c0ab;this[_0x5d95f4(0x96)][_0x5d95f4(0x81)]();}[_0x16c0ab(0x7f)](_0xfd0df4,_0x46c5cb,_0x5bcb8d){const _0x1c59ce=_0x16c0ab;this[_0x1c59ce(0x96)][_0x1c59ce(0x7f)](_0xfd0df4,_0x46c5cb,_0x5bcb8d);}[_0x16c0ab(0xa3)](_0x228e83){const _0x946567=_0x16c0ab;this[_0x946567(0x80)][_0x946567(0xa3)](_0x228e83);}[_0x16c0ab(0xaf)](_0x2694cc){const _0x41ed9=_0x16c0ab;this[_0x41ed9(0x80)][_0x41ed9(0xaf)](_0x2694cc);}[_0x16c0ab(0x75)](){const _0x61181d=_0x16c0ab;this[_0x61181d(0xa4)][_0x61181d(0x94)]();}[_0x16c0ab(0x9d)](_0x44e003){const _0x4ecb5b=_0x16c0ab;this[_0x4ecb5b(0x96)][_0x4ecb5b(0x9d)](_0x44e003);}[_0x16c0ab(0x99)](_0x24bbcb){const _0xfd4bba=_0x16c0ab;this[_0xfd4bba(0xa4)][_0xfd4bba(0x7e)](_0x24bbcb);}[_0x16c0ab(0x98)](_0x5cb917,_0x38f250){const _0x23ae7d=_0x16c0ab;this[_0x23ae7d(0x80)][_0x23ae7d(0x98)](_0x5cb917,_0x38f250);}[_0x16c0ab(0xa5)](_0x35aff2){const _0x7b6d17=_0x16c0ab;this[_0x7b6d17(0x80)][_0x7b6d17(0xa5)](_0x35aff2);}[_0x16c0ab(0x83)](){const _0x4bd088=_0x16c0ab;this[_0x4bd088(0x80)][_0x4bd088(0x83)]();}[_0x16c0ab(0xaa)](_0x1988ed){const _0x1ddc56=_0x16c0ab;this[_0x1ddc56(0x80)][_0x1ddc56(0xaa)](_0x1988ed);}[_0x16c0ab(0x8b)](_0x1e73fe,_0x4aaf81,_0x56bfa2,_0x583fe3){const _0x2896ec=_0x16c0ab;this[_0x2896ec(0x96)][_0x2896ec(0x8b)](_0x1e73fe,_0x4aaf81,_0x56bfa2,_0x583fe3);}[_0x16c0ab(0xa9)](_0x356c73){const _0xa65887=_0x16c0ab;this[_0xa65887(0x96)][_0xa65887(0xa9)](_0x356c73);}[_0x16c0ab(0x8a)](){const _0xd8cebb=_0x16c0ab;this[_0xd8cebb(0xa4)][_0xd8cebb(0x90)]();}}function _0x35bf(){const _0x35badd=['_createPromptInputView','enableModelSelector','selectModel','sendUserMessage','3167058dABHxM','207AAweXe','_createContextPanelView','abortPromptStream','focusPromptInput','populateSourceResourceBalloon','_loaderView','addContextItem','bindTemplate','10412144DSnnNv','focus','9930BCwjCT','_handlePromptInputFocus','9026871eSeEuK','reset','toggleReasoning','_contextPanelView','_createPromptCapabilitiesView','setModelList','setInputPlaceholder','isLoading','delegate','element','setAddContextOptions','1565826oPJAsD','_createLoaderView','_shouldRestorePromptInputFocus','5cZzAtp','clearPendingContextUI','setWebSearch','_promptInputView','setModel','form','toggleWebSearch','555397ZQTPrC','closeSourceResourceBalloon','disableModelSelector','584130TccbxW','clearConversationContextUI','low','removeContextItem','setReasoning','change:isLoading','1516wuwkNd','clearCurrentContextItems','resetMessageInput','setTemplate','ck-hidden','setIsUploadInProgress','setConversationContext','ck-ai-chat-controls','addContextButtonView','setContextItemLoading','div','setPlaceholderText','updateResourceState','_promptCapabilitiesView','clearConversationContextItems'];_0x35bf=function(){return _0x35badd;};return _0x35bf();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4735fa=_0x8d8a;(function(_0x3715c8,_0x1968ab){const _0x456924=_0x8d8a,_0x3abe21=_0x3715c8();while(!![]){try{const _0x20a193=-parseInt(_0x456924(0xa7))/0x1*(parseInt(_0x456924(0xc6))/0x2)+-parseInt(_0x456924(0xd0))/0x3+-parseInt(_0x456924(0xd8))/0x4*(parseInt(_0x456924(0xde))/0x5)+-parseInt(_0x456924(0xb7))/0x6*(parseInt(_0x456924(0xd1))/0x7)+-parseInt(_0x456924(0xcb))/0x8+-parseInt(_0x456924(0xca))/0x9*(parseInt(_0x456924(0xe5))/0xa)+-parseInt(_0x456924(0xab))/0xb*(-parseInt(_0x456924(0xd2))/0xc);if(_0x20a193===_0x1968ab)break;else _0x3abe21['push'](_0x3abe21['shift']());}catch(_0x2133fb){_0x3abe21['push'](_0x3abe21['shift']());}}}(_0x49d1,0x41e41));import{CKEditorError as _0x2239e4,logWarning as _0x51f28f,scrollViewportToShowTarget as _0x3ee015}from'ckeditor5/src/utils.js';function _0x8d8a(_0x2b38c2,_0xe7eda6){const _0x49d1f7=_0x49d1();return _0x8d8a=function(_0x8d8ad1,_0x1de524){_0x8d8ad1=_0x8d8ad1-0xa2;let _0x4208fc=_0x49d1f7[_0x8d8ad1];return _0x4208fc;},_0x8d8a(_0x2b38c2,_0xe7eda6);}import{View as _0x99fc4d}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x1b82df}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x53b9f4}from'./feed/aichatfeedsuggestionitemview.js';function _0x49d1(){const _0x566418=['isVisible','188170HdeIdm','ai-chat-feed-view-item-not-a-reply-item','startAutoScroll','getItemIds','_createTemplateChildren','ck-ai-chat__loader','bindTemplate','addItem','ai-suggestion-reply','span','_createLoaderChildren','setTemplate','start','locale','updateWebSources','scrollManager','stop','_createFeedItems','set','77SULhNd','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','loadingMessage','delegate','11806454cvDcLz','isPending','ai-reply','removeItem','_bodyCollection','getPartView','interaction-header','ai-chat-feed-view-item-not-a-suggestion-item','isLoadingSkeletonVisible','remove','children','_setupTemplate','6YvixoA','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','includes','ck-ai-chat__loader-text','updatePartState','options','getItemById','updateSuggestionPartState','extendTemplate','ck-ai-chat__feed__items','updateReplyItem','updateContent','ai-chat-feed-view-item-not-found','find','ck-hidden','394wCDrVD','toggleLoadingSkeleton','add','_createSkeletonLoader','9VJCRvs','2735192ruEtUa','markAsDone','updateSuggestionItem','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','aiFeed','317088KROAXj','2089178UybRsd','12idwNRc','clear','setLoadingMessage','stopAutoScroll','destroy','render','18712jeVZRp','scrollToSuggestion','div','ck-ai-chat__feed','map','createCollection','25FYFaUt','updateSources','user-message','markItemAsDone','element','_createFeedLoader'];_0x49d1=function(){return _0x566418;};return _0x49d1();}import{AIChatFeedReplyItemView as _0x509064}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x3b59ca}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x4f8506}from'./feed/aichatfeederroritemview.js';import{AIChatFeedInteractionHeaderView as _0x3966ea}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x388c35}from'../utils/scrollmanager.js';import{AISkeletonView as _0x280495,SKELETON_DEFINITIONS as _0x30469a}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x4908e5}from'../../aicore/ui/aispinner.js';export class AIChatFeedView extends _0x99fc4d{[_0x4735fa(0xb5)];[_0x4735fa(0xa3)];[_0x4735fa(0xaf)];constructor(_0x1e8e68,_0x7ff7b8){const _0x5f2f53=_0x4735fa;super(_0x1e8e68),this[_0x5f2f53(0xaf)]=_0x7ff7b8,this[_0x5f2f53(0xa6)](_0x5f2f53(0xac),!0x1),this[_0x5f2f53(0xa6)](_0x5f2f53(0xa9),''),this[_0x5f2f53(0xa6)](_0x5f2f53(0xb3),!0x1),this[_0x5f2f53(0xb5)]=this[_0x5f2f53(0xdd)](),this[_0x5f2f53(0xb5)][_0x5f2f53(0xaa)](..._0x1b82df)['to'](this),this[_0x5f2f53(0xb6)]();}[_0x4735fa(0xd7)](){const _0x4902e9=_0x4735fa;super[_0x4902e9(0xd7)](),this[_0x4902e9(0xa3)]=new _0x388c35(this[_0x4902e9(0xe2)]);}[_0x4735fa(0xd6)](){const _0x16fdce=_0x4735fa;super[_0x16fdce(0xd6)](),this[_0x16fdce(0xa3)][_0x16fdce(0xd6)]();}[_0x4735fa(0xd3)](){const _0x3ec6ab=_0x4735fa;this[_0x3ec6ab(0xb5)][_0x3ec6ab(0xd3)]();}[_0x4735fa(0xec)](_0x24fc4b,_0x8e7233){const _0xc987a4=_0x4735fa;let _0x589ce8;_0x589ce8=_0xc987a4(0xad)===_0x24fc4b?new _0x509064(_0x8e7233):_0xc987a4(0xed)===_0x24fc4b?new _0x53b9f4(this[_0xc987a4(0xf2)],_0x8e7233):_0xc987a4(0xe0)===_0x24fc4b?new _0x3b59ca(this[_0xc987a4(0xf2)],_0x8e7233,this[_0xc987a4(0xaf)]):_0xc987a4(0xb1)===_0x24fc4b?new _0x3966ea(this[_0xc987a4(0xf2)],_0x8e7233):new _0x4f8506(_0x8e7233),this[_0xc987a4(0xb5)][_0xc987a4(0xc8)](_0x589ce8);}async[_0x4735fa(0xc1)]({id:_0x2e306c,parsedContent:_0x20b4d,renderingStrategy:_0x54841a,abortSignal:_0x417879}){const _0x7e1c1a=_0x4735fa,_0x9fc2a0=this[_0x7e1c1a(0xbd)](_0x2e306c);if(!(_0x9fc2a0 instanceof _0x509064))throw new _0x2239e4(_0x7e1c1a(0xe6),null,{'itemView':_0x9fc2a0,'id':_0x2e306c,'parsedContent':_0x20b4d});await _0x9fc2a0[_0x7e1c1a(0xc2)]({'parsedContent':_0x20b4d,'renderingStrategy':_0x54841a,'abortSignal':_0x417879});}async[_0x4735fa(0xa2)](_0x4b3f5f,_0x3bfe1d){const _0x2d9b3b=_0x4735fa,_0x42d569=this[_0x2d9b3b(0xbd)](_0x4b3f5f);if(_0x42d569 instanceof _0x53b9f4)_0x42d569[_0x2d9b3b(0xdf)](_0x3bfe1d);else{if(!(_0x42d569 instanceof _0x509064))throw new _0x2239e4(_0x2d9b3b(0xce),null,{'itemView':_0x42d569,'id':_0x4b3f5f,'sources':_0x3bfe1d});_0x42d569[_0x2d9b3b(0xdf)](_0x3bfe1d);}}async[_0x4735fa(0xcd)]({id:_0x3ecabd,parts:_0x11bf8f,renderingStrategy:_0x381e0e,abortSignal:_0x4cb70b}){const _0x40688c=_0x4735fa,_0x5cfdcd=this[_0x40688c(0xbd)](_0x3ecabd);if(!(_0x5cfdcd instanceof _0x53b9f4))throw new _0x2239e4(_0x40688c(0xb2),null,{'itemView':_0x5cfdcd,'id':_0x3ecabd,'parts':_0x11bf8f});await _0x5cfdcd[_0x40688c(0xc2)]({'parts':_0x11bf8f,'renderingStrategy':_0x381e0e,'abortSignal':_0x4cb70b});}[_0x4735fa(0xbe)]({id:_0x91c5b5,index:_0x566a31,state:_0x3e1ce9}){const _0x5ea86e=_0x4735fa,_0x2f932a=this[_0x5ea86e(0xbd)](_0x91c5b5);if(!(_0x2f932a instanceof _0x53b9f4))throw new _0x2239e4(_0x5ea86e(0xb2),this,{'id':_0x91c5b5});_0x2f932a[_0x5ea86e(0xbb)](_0x566a31,_0x3e1ce9);}[_0x4735fa(0xe1)](_0x3c1e86){const _0x518770=_0x4735fa;this[_0x518770(0xbd)](_0x3c1e86)[_0x518770(0xcc)]();}[_0x4735fa(0xe8)](){const _0x5b4b37=_0x4735fa;return this[_0x5b4b37(0xb5)][_0x5b4b37(0xdc)](_0x32e6e1=>_0x32e6e1[_0x5b4b37(0xbc)]['id']);}[_0x4735fa(0xae)](_0x256d6e){const _0x5bfd5c=_0x4735fa;this[_0x5bfd5c(0xb5)][_0x5bfd5c(0xb4)](this[_0x5bfd5c(0xbd)](_0x256d6e));}[_0x4735fa(0xd9)](_0x2925b8,_0x8ce4df){const _0x58481e=_0x4735fa,_0x220c1a=this[_0x58481e(0xbd)](_0x2925b8);if(!(_0x220c1a instanceof _0x53b9f4))return void _0x51f28f(_0x58481e(0xa8),{'replyId':_0x2925b8,'partIndex':_0x8ce4df});const _0x108064=_0x220c1a[_0x58481e(0xb0)](_0x8ce4df);_0x108064?_0x3ee015({'target':_0x108064[_0x58481e(0xe2)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x51f28f(_0x58481e(0xb8),{'replyId':_0x2925b8,'partIndex':_0x8ce4df});}[_0x4735fa(0xb6)](){const _0x3707e4=_0x4735fa;this[_0x3707e4(0xf0)]({'tag':_0x3707e4(0xda),'attributes':{'class':['ck',_0x3707e4(0xdb)]},'children':this[_0x3707e4(0xe9)]()});}[_0x4735fa(0xe9)](){const _0x409159=_0x4735fa,_0x402540=this[_0x409159(0xc9)]();return[this[_0x409159(0xa5)](),_0x402540,this[_0x409159(0xe3)]()];}[_0x4735fa(0xc9)](){const _0x219446=_0x4735fa,_0x4efc56=new _0x280495(this[_0x219446(0xf2)],_0x30469a[_0x219446(0xcf)]);return _0x4efc56[_0x219446(0xbf)]({'attributes':{'class':[this[_0x219446(0xeb)]['if'](_0x219446(0xb3),_0x219446(0xc5),_0x309d1a=>!_0x309d1a)]}}),_0x4efc56;}[_0x4735fa(0xa5)](){const _0x308a7c=_0x4735fa,_0x39aba9=new _0x99fc4d(this[_0x308a7c(0xf2)]);return _0x39aba9[_0x308a7c(0xf0)]({'tag':_0x308a7c(0xda),'attributes':{'class':['ck',_0x308a7c(0xc0),this[_0x308a7c(0xeb)]['if'](_0x308a7c(0xb3),_0x308a7c(0xc5))]},'children':this[_0x308a7c(0xb5)]}),_0x39aba9;}[_0x4735fa(0xe3)](){const _0x5631bf=_0x4735fa,_0x3379c5=new _0x99fc4d(this[_0x5631bf(0xf2)]);return _0x3379c5[_0x5631bf(0xf0)]({'tag':_0x5631bf(0xda),'attributes':{'class':['ck',_0x5631bf(0xea),this[_0x5631bf(0xeb)]['if'](_0x5631bf(0xac),_0x5631bf(0xc5),_0x4b54e8=>!_0x4b54e8)]},'children':this[_0x5631bf(0xef)]()}),_0x3379c5;}[_0x4735fa(0xef)](){const _0x44a3c4=_0x4735fa,_0x5d05cd=new _0x4908e5();return _0x5d05cd[_0x44a3c4(0xe4)]=!0x0,[_0x5d05cd,{'tag':_0x44a3c4(0xee),'attributes':{'class':['ck',_0x44a3c4(0xba)]},'children':[{'text':this[_0x44a3c4(0xeb)]['to'](_0x44a3c4(0xa9))}]}];}[_0x4735fa(0xbd)](_0x561cbd){const _0x2c2854=_0x4735fa,_0x549fbb=this[_0x2c2854(0xb5)][_0x2c2854(0xc4)](_0xaf26cf=>_0xaf26cf[_0x2c2854(0xbc)]['id'][_0x2c2854(0xb9)](_0x561cbd));if(!_0x549fbb)throw new _0x2239e4(_0x2c2854(0xc3),this,{'id':_0x561cbd});return _0x549fbb;}[_0x4735fa(0xd4)](_0x353e50){const _0x14d2ba=_0x4735fa;this[_0x14d2ba(0xa6)](_0x14d2ba(0xa9),_0x353e50);}[_0x4735fa(0xc7)](_0x4a0f34){const _0x1802de=_0x4735fa;this[_0x1802de(0xa6)](_0x1802de(0xb3),_0x4a0f34);}[_0x4735fa(0xe7)](){const _0x52f617=_0x4735fa;this[_0x52f617(0xa3)][_0x52f617(0xf1)]();}[_0x4735fa(0xd5)](){const _0x587e65=_0x4735fa;this[_0x587e65(0xa3)][_0x587e65(0xa4)]();}}
23
+ const _0x34eecb=_0x2608;(function(_0x189c7f,_0x41d3b4){const _0x22dc72=_0x2608,_0x4846de=_0x189c7f();while(!![]){try{const _0x49c698=parseInt(_0x22dc72(0x1da))/0x1+parseInt(_0x22dc72(0x1ec))/0x2+parseInt(_0x22dc72(0x1d1))/0x3+parseInt(_0x22dc72(0x1fc))/0x4*(parseInt(_0x22dc72(0x1dc))/0x5)+-parseInt(_0x22dc72(0x20b))/0x6+parseInt(_0x22dc72(0x1e8))/0x7+-parseInt(_0x22dc72(0x1d0))/0x8*(parseInt(_0x22dc72(0x1f3))/0x9);if(_0x49c698===_0x41d3b4)break;else _0x4846de['push'](_0x4846de['shift']());}catch(_0x20b762){_0x4846de['push'](_0x4846de['shift']());}}}(_0x1617,0x71cad));function _0x1617(){const _0x283996=['ai-suggestion-reply','removeItem','_createSkeletonLoader','updatePartState','ck-ai-chat__loader','updateWebSources','aiFeed','_createTemplateChildren','ck-ai-chat__feed__items','span','ck-hidden','_createFeedLoader','markAsDone','344qGLfJO','487374MVGhIe','isVisible','_setupTemplate','getItemIds','options','loadingMessage','clear','toggleLoadingSkeleton','_bodyCollection','425154iujqlu','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','215iUtlnp','remove','extendTemplate','getPartView','ai-chat-feed-view-item-not-a-suggestion-item','setTemplate','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','ai-chat-feed-view-item-not-a-reply-item','element','user-message','start','locale','5629099DbKzEn','updateContent','startAutoScroll','children','1706698ugbOgC','stopAutoScroll','ck-ai-chat__feed','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','div','add','isLoadingSkeletonVisible','363969XchsHE','set','ai-reply','getItemById','map','_createLoaderChildren','scrollToSuggestion','isPending','updateReplyItem','26740sngRQZ','find','destroy','interaction-header','updateSources','updateSuggestionPartState','ai-chat-feed-view-item-not-found','createCollection','setLoadingMessage','scrollManager','ck-ai-chat__loader-text','markItemAsDone','render','_createFeedItems','stop','1965102xGRFoT','delegate','addItem','updateSuggestionItem','includes','bindTemplate'];_0x1617=function(){return _0x283996;};return _0x1617();}import{CKEditorError as _0x1f879c,logWarning as _0x4d9802,scrollViewportToShowTarget as _0x2d033b}from'ckeditor5/src/utils.js';import{View as _0x1a6cf5}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x51feaf}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x1e5c72}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x4b98cc}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0xbe1707}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x58fa73}from'./feed/aichatfeederroritemview.js';import{AIChatFeedInteractionHeaderView as _0x36a118}from'./feed/aichatfeedinteractionheaderview.js';function _0x2608(_0x5d9a48,_0x24bd37){const _0x16178e=_0x1617();return _0x2608=function(_0x260895,_0x18ee57){_0x260895=_0x260895-0x1c3;let _0x190894=_0x16178e[_0x260895];return _0x190894;},_0x2608(_0x5d9a48,_0x24bd37);}import{ScrollManager as _0x46574d}from'../utils/scrollmanager.js';import{AISkeletonView as _0x3a015c,SKELETON_DEFINITIONS as _0x1f6e80}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x383c6a}from'../../aicore/ui/aispinner.js';export class AIChatFeedView extends _0x1a6cf5{[_0x34eecb(0x1eb)];[_0x34eecb(0x205)];[_0x34eecb(0x1d9)];constructor(_0x490132,_0x316950){const _0x822a11=_0x34eecb;super(_0x490132),this[_0x822a11(0x1d9)]=_0x316950,this[_0x822a11(0x1f4)](_0x822a11(0x1fa),!0x1),this[_0x822a11(0x1f4)](_0x822a11(0x1d6),''),this[_0x822a11(0x1f4)](_0x822a11(0x1f2),!0x1),this[_0x822a11(0x1eb)]=this[_0x822a11(0x203)](),this[_0x822a11(0x1eb)][_0x822a11(0x20c)](..._0x51feaf)['to'](this),this[_0x822a11(0x1d3)]();}[_0x34eecb(0x208)](){const _0x1216f6=_0x34eecb;super[_0x1216f6(0x208)](),this[_0x1216f6(0x205)]=new _0x46574d(this[_0x1216f6(0x1e4)]);}[_0x34eecb(0x1fe)](){const _0x590385=_0x34eecb;super[_0x590385(0x1fe)](),this[_0x590385(0x205)][_0x590385(0x1fe)]();}[_0x34eecb(0x1d7)](){const _0x5ee63b=_0x34eecb;this[_0x5ee63b(0x1eb)][_0x5ee63b(0x1d7)]();}[_0x34eecb(0x20d)](_0x25a2ac,_0x3ce85f){const _0xcc3be=_0x34eecb;let _0x8d4b40;_0x8d4b40=_0xcc3be(0x1f5)===_0x25a2ac?new _0x4b98cc(_0x3ce85f):_0xcc3be(0x1c3)===_0x25a2ac?new _0x1e5c72(this[_0xcc3be(0x1e7)],_0x3ce85f):_0xcc3be(0x1e5)===_0x25a2ac?new _0xbe1707(this[_0xcc3be(0x1e7)],_0x3ce85f,this[_0xcc3be(0x1d9)]):_0xcc3be(0x1ff)===_0x25a2ac?new _0x36a118(this[_0xcc3be(0x1e7)],_0x3ce85f):new _0x58fa73(_0x3ce85f),this[_0xcc3be(0x1eb)][_0xcc3be(0x1f1)](_0x8d4b40);}async[_0x34eecb(0x1fb)]({id:_0x43bcd3,parsedContent:_0x368ed1,renderingStrategy:_0x54a0d0,abortSignal:_0x402384}){const _0x278caf=_0x34eecb,_0x324aa6=this[_0x278caf(0x1f6)](_0x43bcd3);if(!(_0x324aa6 instanceof _0x4b98cc))throw new _0x1f879c(_0x278caf(0x1e3),null,{'itemView':_0x324aa6,'id':_0x43bcd3,'parsedContent':_0x368ed1});await _0x324aa6[_0x278caf(0x1e9)]({'parsedContent':_0x368ed1,'renderingStrategy':_0x54a0d0,'abortSignal':_0x402384});}async[_0x34eecb(0x1c8)](_0x240ddd,_0x349031){const _0x365c79=_0x34eecb,_0x57deda=this[_0x365c79(0x1f6)](_0x240ddd);if(_0x57deda instanceof _0x1e5c72)_0x57deda[_0x365c79(0x200)](_0x349031);else{if(!(_0x57deda instanceof _0x4b98cc))throw new _0x1f879c(_0x365c79(0x1ef),null,{'itemView':_0x57deda,'id':_0x240ddd,'sources':_0x349031});_0x57deda[_0x365c79(0x200)](_0x349031);}}async[_0x34eecb(0x20e)]({id:_0x83ac17,parts:_0x37f580,renderingStrategy:_0x3648d2,abortSignal:_0x12eea2}){const _0x304fa3=_0x34eecb,_0x2f33b0=this[_0x304fa3(0x1f6)](_0x83ac17);if(!(_0x2f33b0 instanceof _0x1e5c72))throw new _0x1f879c(_0x304fa3(0x1e0),null,{'itemView':_0x2f33b0,'id':_0x83ac17,'parts':_0x37f580});await _0x2f33b0[_0x304fa3(0x1e9)]({'parts':_0x37f580,'renderingStrategy':_0x3648d2,'abortSignal':_0x12eea2});}[_0x34eecb(0x201)]({id:_0x355457,index:_0x3cd008,state:_0x4c58fa}){const _0x19f997=_0x34eecb,_0x109f7c=this[_0x19f997(0x1f6)](_0x355457);if(!(_0x109f7c instanceof _0x1e5c72))throw new _0x1f879c(_0x19f997(0x1e0),this,{'id':_0x355457});_0x109f7c[_0x19f997(0x1c6)](_0x3cd008,_0x4c58fa);}[_0x34eecb(0x207)](_0x351f51){const _0x44fc44=_0x34eecb;this[_0x44fc44(0x1f6)](_0x351f51)[_0x44fc44(0x1cf)]();}[_0x34eecb(0x1d4)](){const _0x4ab8b4=_0x34eecb;return this[_0x4ab8b4(0x1eb)][_0x4ab8b4(0x1f7)](_0x4fe4a2=>_0x4fe4a2[_0x4ab8b4(0x1d5)]['id']);}[_0x34eecb(0x1c4)](_0x9e0dc2){const _0x1f4b59=_0x34eecb;this[_0x1f4b59(0x1eb)][_0x1f4b59(0x1dd)](this[_0x1f4b59(0x1f6)](_0x9e0dc2));}[_0x34eecb(0x1f9)](_0x1ab0c5,_0x5ef33b){const _0x19e355=_0x34eecb,_0x3a0d48=this[_0x19e355(0x1f6)](_0x1ab0c5);if(!(_0x3a0d48 instanceof _0x1e5c72))return void _0x4d9802(_0x19e355(0x1db),{'replyId':_0x1ab0c5,'partIndex':_0x5ef33b});const _0x51ed33=_0x3a0d48[_0x19e355(0x1df)](_0x5ef33b);_0x51ed33?_0x2d033b({'target':_0x51ed33[_0x19e355(0x1e4)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x4d9802(_0x19e355(0x1e2),{'replyId':_0x1ab0c5,'partIndex':_0x5ef33b});}[_0x34eecb(0x1d3)](){const _0x1f70db=_0x34eecb;this[_0x1f70db(0x1e1)]({'tag':_0x1f70db(0x1f0),'attributes':{'class':['ck',_0x1f70db(0x1ee)]},'children':this[_0x1f70db(0x1ca)]()});}[_0x34eecb(0x1ca)](){const _0x312899=_0x34eecb,_0x56eec1=this[_0x312899(0x1c5)]();return[this[_0x312899(0x209)](),_0x56eec1,this[_0x312899(0x1ce)]()];}[_0x34eecb(0x1c5)](){const _0x2d6a0f=_0x34eecb,_0x215bfc=new _0x3a015c(this[_0x2d6a0f(0x1e7)],_0x1f6e80[_0x2d6a0f(0x1c9)]);return _0x215bfc[_0x2d6a0f(0x1de)]({'attributes':{'class':[this[_0x2d6a0f(0x210)]['if'](_0x2d6a0f(0x1f2),_0x2d6a0f(0x1cd),_0x49b331=>!_0x49b331)]}}),_0x215bfc;}[_0x34eecb(0x209)](){const _0x1d8739=_0x34eecb,_0x45598c=new _0x1a6cf5(this[_0x1d8739(0x1e7)]);return _0x45598c[_0x1d8739(0x1e1)]({'tag':_0x1d8739(0x1f0),'attributes':{'class':['ck',_0x1d8739(0x1cb),this[_0x1d8739(0x210)]['if'](_0x1d8739(0x1f2),_0x1d8739(0x1cd))]},'children':this[_0x1d8739(0x1eb)]}),_0x45598c;}[_0x34eecb(0x1ce)](){const _0x196cc1=_0x34eecb,_0x64dc1a=new _0x1a6cf5(this[_0x196cc1(0x1e7)]);return _0x64dc1a[_0x196cc1(0x1e1)]({'tag':_0x196cc1(0x1f0),'attributes':{'class':['ck',_0x196cc1(0x1c7),this[_0x196cc1(0x210)]['if'](_0x196cc1(0x1fa),_0x196cc1(0x1cd),_0x53b152=>!_0x53b152)]},'children':this[_0x196cc1(0x1f8)]()}),_0x64dc1a;}[_0x34eecb(0x1f8)](){const _0x4eb4a9=_0x34eecb,_0x5a15ae=new _0x383c6a();return _0x5a15ae[_0x4eb4a9(0x1d2)]=!0x0,[_0x5a15ae,{'tag':_0x4eb4a9(0x1cc),'attributes':{'class':['ck',_0x4eb4a9(0x206)]},'children':[{'text':this[_0x4eb4a9(0x210)]['to'](_0x4eb4a9(0x1d6))}]}];}[_0x34eecb(0x1f6)](_0x257ecd){const _0x2a8c15=_0x34eecb,_0x5ff143=this[_0x2a8c15(0x1eb)][_0x2a8c15(0x1fd)](_0x5dfd1b=>_0x5dfd1b[_0x2a8c15(0x1d5)]['id'][_0x2a8c15(0x20f)](_0x257ecd));if(!_0x5ff143)throw new _0x1f879c(_0x2a8c15(0x202),this,{'id':_0x257ecd});return _0x5ff143;}[_0x34eecb(0x204)](_0x2ddbe6){const _0x5e91bb=_0x34eecb;this[_0x5e91bb(0x1f4)](_0x5e91bb(0x1d6),_0x2ddbe6);}[_0x34eecb(0x1d8)](_0x26f31a){const _0x5fb250=_0x34eecb;this[_0x5fb250(0x1f4)](_0x5fb250(0x1f2),_0x26f31a);}[_0x34eecb(0x1ea)](){const _0x1f5425=_0x34eecb;this[_0x1f5425(0x205)][_0x1f5425(0x1e6)]();}[_0x34eecb(0x1ed)](){const _0x2e6e47=_0x34eecb;this[_0x2e6e47(0x205)][_0x2e6e47(0x20a)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d9ebe=_0x168c;function _0x351c(){const _0x4a2416=['30jUfrcb','AI_CHAT_HEADING','ck-ai-header\x20ck-ai-header_chat','1773EsRBRJ','fire','1238784ObzNdk','startConversation','add','conversationStartButton','188596OUEDEB','24177caapnM','locale','_createStartConversationButton','120KIEiEg','isMaximized','ck-ai-chat__start-conversation','16AyLtXG','48IiOoSG','set','children','resizeButton','1658489XoPezg','execute','AI_CHAT_LABEL_NEW_CHAT','21950KOpmZK','430793Vjudpj','667645ssenhN'];_0x351c=function(){return _0x4a2416;};return _0x351c();}(function(_0x25ffd6,_0x5e0512){const _0x34729f=_0x168c,_0x59256c=_0x25ffd6();while(!![]){try{const _0x32d30d=-parseInt(_0x34729f(0x1be))/0x1+parseInt(_0x34729f(0x1b5))/0x2*(parseInt(_0x34729f(0x1c9))/0x3)+-parseInt(_0x34729f(0x1c8))/0x4*(parseInt(_0x34729f(0x1bf))/0x5)+-parseInt(_0x34729f(0x1c4))/0x6+-parseInt(_0x34729f(0x1b9))/0x7*(-parseInt(_0x34729f(0x1b4))/0x8)+parseInt(_0x34729f(0x1c2))/0x9*(parseInt(_0x34729f(0x1bc))/0xa)+parseInt(_0x34729f(0x1bd))/0xb*(parseInt(_0x34729f(0x1cc))/0xc);if(_0x32d30d===_0x5e0512)break;else _0x59256c['push'](_0x59256c['shift']());}catch(_0x409923){_0x59256c['push'](_0x59256c['shift']());}}}(_0x351c,0x519e8));import{ButtonView as _0x2f849b,FormHeaderView as _0x273e0e}from'ckeditor5/src/ui.js';import{IconPlus as _0x3fb06c,IconAIChat as _0x5a8eb0}from'ckeditor5/src/icons.js';import{getTranslation as _0x38b562}from'../../aicore/utils/common-translations.js';function _0x168c(_0x44432e,_0x437602){const _0x351c5f=_0x351c();return _0x168c=function(_0x168c67,_0x35bc42){_0x168c67=_0x168c67-0x1b3;let _0x2921a5=_0x351c5f[_0x168c67];return _0x2921a5;},_0x168c(_0x44432e,_0x437602);}import{createResizeButton as _0x3331c9}from'../../aicore/utils/createresizebutton.js';export class AIChatHeaderView extends _0x273e0e{[_0x4d9ebe(0x1c7)];[_0x4d9ebe(0x1b8)];constructor(_0x446619,_0x3fcd12){const _0x359ff6=_0x4d9ebe;super(_0x446619,{'label':_0x38b562(_0x446619,_0x359ff6(0x1c0)),'class':_0x359ff6(0x1c1),'icon':_0x5a8eb0}),this[_0x359ff6(0x1b6)](_0x359ff6(0x1cd),!0x1),this[_0x359ff6(0x1c7)]=this[_0x359ff6(0x1cb)](_0x446619),this[_0x359ff6(0x1b7)][_0x359ff6(0x1c6)](this[_0x359ff6(0x1c7)]),_0x3fcd12&&(this[_0x359ff6(0x1b8)]=_0x3331c9(_0x446619,this),this[_0x359ff6(0x1b7)][_0x359ff6(0x1c6)](this[_0x359ff6(0x1b8)]));}[_0x4d9ebe(0x1cb)](_0xc45d34){const _0x53a62f=_0x4d9ebe,_0x495edd=new _0x2f849b(_0xc45d34);return _0x495edd[_0x53a62f(0x1b6)]({'label':_0x38b562(this[_0x53a62f(0x1ca)],_0x53a62f(0x1bb)),'withText':!0x0,'icon':_0x3fb06c,'class':_0x53a62f(0x1b3)}),_0x495edd['on'](_0x53a62f(0x1ba),()=>{const _0x51a233=_0x53a62f;this[_0x51a233(0x1c3)](_0x51a233(0x1c5));}),_0x495edd;}}
23
+ function _0x41d4(){const _0x300a7a=['_createStartConversationButton','16011ptZeaM','execute','startConversation','4706757ebGVgR','360gRWPin','set','2CUqSKw','56PRVfBO','712767bflhuU','10577eKHmYm','AI_CHAT_LABEL_NEW_CHAT','children','isMaximized','ck-ai-chat__start-conversation','resizeButton','824432UkcOBf','45365PPTFAb','ck-ai-header\x20ck-ai-header_chat','locale','1392gHBPCf','AI_CHAT_HEADING','conversationStartButton','fire','156120HgdFhh','add'];_0x41d4=function(){return _0x300a7a;};return _0x41d4();}const _0x5d3457=_0x2220;(function(_0x3e771d,_0x8605ee){const _0x3a9585=_0x2220,_0x3f2313=_0x3e771d();while(!![]){try{const _0x4de622=-parseInt(_0x3a9585(0x11e))/0x1*(-parseInt(_0x3a9585(0x12f))/0x2)+parseInt(_0x3a9585(0x120))/0x3+-parseInt(_0x3a9585(0x11f))/0x4*(parseInt(_0x3a9585(0x128))/0x5)+-parseInt(_0x3a9585(0x12b))/0x6*(parseInt(_0x3a9585(0x121))/0x7)+-parseInt(_0x3a9585(0x127))/0x8+parseInt(_0x3a9585(0x132))/0x9*(-parseInt(_0x3a9585(0x136))/0xa)+parseInt(_0x3a9585(0x135))/0xb;if(_0x4de622===_0x8605ee)break;else _0x3f2313['push'](_0x3f2313['shift']());}catch(_0x91bb4d){_0x3f2313['push'](_0x3f2313['shift']());}}}(_0x41d4,0x2b31c));import{ButtonView as _0xa5c6a1,FormHeaderView as _0xcff439}from'ckeditor5/src/ui.js';function _0x2220(_0xde9d60,_0x1d95af){const _0x41d45f=_0x41d4();return _0x2220=function(_0x2220ff,_0x47218a){_0x2220ff=_0x2220ff-0x11d;let _0x2a4851=_0x41d45f[_0x2220ff];return _0x2a4851;},_0x2220(_0xde9d60,_0x1d95af);}import{IconPlus as _0x4cc64a,IconAIChat as _0x1d3adb}from'ckeditor5/src/icons.js';import{getTranslation as _0x1475f4}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0xa4db18}from'../../aicore/utils/createresizebutton.js';export class AIChatHeaderView extends _0xcff439{[_0x5d3457(0x12d)];[_0x5d3457(0x126)];constructor(_0x376991,_0x1cbee4){const _0x442cc1=_0x5d3457;super(_0x376991,{'label':_0x1475f4(_0x376991,_0x442cc1(0x12c)),'class':_0x442cc1(0x129),'icon':_0x1d3adb}),this[_0x442cc1(0x11d)](_0x442cc1(0x124),!0x1),this[_0x442cc1(0x12d)]=this[_0x442cc1(0x131)](_0x376991),this[_0x442cc1(0x123)][_0x442cc1(0x130)](this[_0x442cc1(0x12d)]),_0x1cbee4&&(this[_0x442cc1(0x126)]=_0xa4db18(_0x376991,this),this[_0x442cc1(0x123)][_0x442cc1(0x130)](this[_0x442cc1(0x126)]));}[_0x5d3457(0x131)](_0x1c81a8){const _0xa4ca8e=_0x5d3457,_0xace526=new _0xa5c6a1(_0x1c81a8);return _0xace526[_0xa4ca8e(0x11d)]({'label':_0x1475f4(this[_0xa4ca8e(0x12a)],_0xa4ca8e(0x122)),'withText':!0x0,'icon':_0x4cc64a,'class':_0xa4ca8e(0x125)}),_0xace526['on'](_0xa4ca8e(0x133),()=>{const _0x557c64=_0xa4ca8e;this[_0x557c64(0x12e)](_0x557c64(0x134));}),_0xace526;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ed0(){var _0x106659=['_bodyCollection','1565139hFIcBU','detachFromDom','3304KzvXdF','div','setTemplate','closeSourceResourceBalloon','ck-rounded-corners','chatHeader','destroy','2DTofOH','ck-reset_all','chatFeed','120686NNPIsc','delegate','3364695GcEOIi','ck-ai-chat','194260BnqnGx','385KgrpSK','1147165GxiKWL','4353400FqNlGm','chatDisclaimer','chatControls','populateSourceResourceBalloon','8PLTMyx','attachToDom','uiLanguageDirection','3732FNKuLh'];_0x5ed0=function(){return _0x106659;};return _0x5ed0();}var _0x5971e0=_0x1ce6;(function(_0xab0ee9,_0x4e59ec){var _0x37bd09=_0x1ce6,_0x402590=_0xab0ee9();while(!![]){try{var _0x315b15=-parseInt(_0x37bd09(0x93))/0x1+-parseInt(_0x37bd09(0x90))/0x2*(-parseInt(_0x37bd09(0x87))/0x3)+parseInt(_0x37bd09(0x82))/0x4*(parseInt(_0x37bd09(0x7d))/0x5)+parseInt(_0x37bd09(0x85))/0x6*(-parseInt(_0x37bd09(0x89))/0x7)+-parseInt(_0x37bd09(0x7e))/0x8+-parseInt(_0x37bd09(0x95))/0x9+-parseInt(_0x37bd09(0x97))/0xa*(-parseInt(_0x37bd09(0x7c))/0xb);if(_0x315b15===_0x4e59ec)break;else _0x402590['push'](_0x402590['shift']());}catch(_0x15b38d){_0x402590['push'](_0x402590['shift']());}}}(_0x5ed0,0x501fd));import{View as _0x45f1ea,BodyCollection as _0x38e94c}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x5d939e}from'../utils/eventnames.js';import{AIChatFeedView as _0x10fb45}from'./aichatfeedview.js';import{AIChatControlsView as _0x121c0b}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x24c51b}from'./aichatheaderview.js';import{AIDisclaimerView as _0x60b820}from'../../aicore/ui/aidisclaimerview.js';function _0x1ce6(_0x524898,_0x64d142){var _0x5ed0f8=_0x5ed0();return _0x1ce6=function(_0x1ce603,_0x45aee5){_0x1ce603=_0x1ce603-0x7c;var _0x136ed6=_0x5ed0f8[_0x1ce603];return _0x136ed6;},_0x1ce6(_0x524898,_0x64d142);}export class AIChatView extends _0x45f1ea{[_0x5971e0(0x8e)];[_0x5971e0(0x92)];[_0x5971e0(0x80)];[_0x5971e0(0x7f)];[_0x5971e0(0x86)];constructor(_0x3bfc75,_0x536452){var _0x46e439=_0x5971e0;super(_0x3bfc75),this[_0x46e439(0x86)]=new _0x38e94c(_0x3bfc75),this[_0x46e439(0x86)][_0x46e439(0x83)](),this[_0x46e439(0x8e)]=new _0x24c51b(_0x3bfc75,_0x536452),this[_0x46e439(0x8e)][_0x46e439(0x94)](..._0x5d939e)['to'](this),this[_0x46e439(0x92)]=new _0x10fb45(_0x3bfc75,this[_0x46e439(0x86)]),this[_0x46e439(0x92)][_0x46e439(0x94)](..._0x5d939e)['to'](this),this[_0x46e439(0x80)]=new _0x121c0b(_0x3bfc75,this[_0x46e439(0x86)]),this[_0x46e439(0x80)][_0x46e439(0x94)](..._0x5d939e)['to'](this),this[_0x46e439(0x7f)]=new _0x60b820(_0x3bfc75),this[_0x46e439(0x8b)]({'tag':_0x46e439(0x8a),'attributes':{'class':['ck',_0x46e439(0x91),_0x46e439(0x96),_0x46e439(0x8d)],'dir':_0x3bfc75[_0x46e439(0x84)]},'children':[this[_0x46e439(0x8e)],this[_0x46e439(0x92)],this[_0x46e439(0x80)],this[_0x46e439(0x7f)]]});}[_0x5971e0(0x81)](_0x2cf99b,_0x250b5f,_0x133b19,_0x404812){var _0x4eea96=_0x5971e0;this[_0x4eea96(0x80)][_0x4eea96(0x81)](_0x2cf99b,_0x250b5f,_0x133b19,_0x404812);}[_0x5971e0(0x8c)](_0x483dea){var _0x47c335=_0x5971e0;this[_0x47c335(0x80)][_0x47c335(0x8c)](_0x483dea);}[_0x5971e0(0x8f)](){var _0x4b552f=_0x5971e0;this[_0x4b552f(0x86)][_0x4b552f(0x88)](),super[_0x4b552f(0x8f)]();}}
23
+ var _0x1cc321=_0x436a;function _0x74c6(){var _0x438985=['delegate','chatControls','ck-rounded-corners','12JMrswX','chatDisclaimer','destroy','10344GsqUet','div','1529wglLys','747556RvhdYO','8raJzBa','populateSourceResourceBalloon','ck-reset_all','closeSourceResourceBalloon','attachToDom','setTemplate','1315XfCOgt','551151wfKkON','uiLanguageDirection','9696ECwPzC','chatHeader','3800818tehNvE','9816547PjCDkm','330808NcErjr','chatFeed','170AaIiDI','ck-ai-chat','4hsaBNI','_bodyCollection','detachFromDom'];_0x74c6=function(){return _0x438985;};return _0x74c6();}(function(_0x435c8a,_0x15408b){var _0x1e09ae=_0x436a,_0x5b0941=_0x435c8a();while(!![]){try{var _0x40980f=parseInt(_0x1e09ae(0x1e0))/0x1*(parseInt(_0x1e09ae(0x1dc))/0x2)+-parseInt(_0x1e09ae(0x1c8))/0x3*(-parseInt(_0x1e09ae(0x1ce))/0x4)+parseInt(_0x1e09ae(0x1d5))/0x5*(-parseInt(_0x1e09ae(0x1cb))/0x6)+-parseInt(_0x1e09ae(0x1da))/0x7*(parseInt(_0x1e09ae(0x1cf))/0x8)+-parseInt(_0x1e09ae(0x1d6))/0x9*(-parseInt(_0x1e09ae(0x1de))/0xa)+-parseInt(_0x1e09ae(0x1cd))/0xb*(parseInt(_0x1e09ae(0x1d8))/0xc)+-parseInt(_0x1e09ae(0x1db))/0xd;if(_0x40980f===_0x15408b)break;else _0x5b0941['push'](_0x5b0941['shift']());}catch(_0x315b4b){_0x5b0941['push'](_0x5b0941['shift']());}}}(_0x74c6,0x8f2b2));function _0x436a(_0x36e5b0,_0x55dba3){var _0x74c65b=_0x74c6();return _0x436a=function(_0x436af7,_0x3bdac7){_0x436af7=_0x436af7-0x1c4;var _0x3c8685=_0x74c65b[_0x436af7];return _0x3c8685;},_0x436a(_0x36e5b0,_0x55dba3);}import{View as _0x3b5770,BodyCollection as _0x4cb4cd}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x364545}from'../utils/eventnames.js';import{AIChatFeedView as _0x51b06f}from'./aichatfeedview.js';import{AIChatControlsView as _0x4d9894}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x5e4385}from'./aichatheaderview.js';import{AIDisclaimerView as _0x3cf9ff}from'../../aicore/ui/aidisclaimerview.js';export class AIChatView extends _0x3b5770{[_0x1cc321(0x1d9)];[_0x1cc321(0x1dd)];[_0x1cc321(0x1c6)];[_0x1cc321(0x1c9)];[_0x1cc321(0x1e1)];constructor(_0x2296b3,_0x5c331b){var _0x336bfa=_0x1cc321;super(_0x2296b3),this[_0x336bfa(0x1e1)]=new _0x4cb4cd(_0x2296b3),this[_0x336bfa(0x1e1)][_0x336bfa(0x1d3)](),this[_0x336bfa(0x1d9)]=new _0x5e4385(_0x2296b3,_0x5c331b),this[_0x336bfa(0x1d9)][_0x336bfa(0x1c5)](..._0x364545)['to'](this),this[_0x336bfa(0x1dd)]=new _0x51b06f(_0x2296b3,this[_0x336bfa(0x1e1)]),this[_0x336bfa(0x1dd)][_0x336bfa(0x1c5)](..._0x364545)['to'](this),this[_0x336bfa(0x1c6)]=new _0x4d9894(_0x2296b3,this[_0x336bfa(0x1e1)]),this[_0x336bfa(0x1c6)][_0x336bfa(0x1c5)](..._0x364545)['to'](this),this[_0x336bfa(0x1c9)]=new _0x3cf9ff(_0x2296b3),this[_0x336bfa(0x1d4)]({'tag':_0x336bfa(0x1cc),'attributes':{'class':['ck',_0x336bfa(0x1d1),_0x336bfa(0x1df),_0x336bfa(0x1c7)],'dir':_0x2296b3[_0x336bfa(0x1d7)]},'children':[this[_0x336bfa(0x1d9)],this[_0x336bfa(0x1dd)],this[_0x336bfa(0x1c6)],this[_0x336bfa(0x1c9)]]});}[_0x1cc321(0x1d0)](_0x6ad8e4,_0x44e305,_0x12e5e6,_0x1c0143){var _0x1f8773=_0x1cc321;this[_0x1f8773(0x1c6)][_0x1f8773(0x1d0)](_0x6ad8e4,_0x44e305,_0x12e5e6,_0x1c0143);}[_0x1cc321(0x1d2)](_0x3e9fc7){var _0x5cc3b0=_0x1cc321;this[_0x5cc3b0(0x1c6)][_0x5cc3b0(0x1d2)](_0x3e9fc7);}[_0x1cc321(0x1ca)](){var _0x5dc3fc=_0x1cc321;this[_0x5dc3fc(0x1e1)][_0x5dc3fc(0x1c4)](),super[_0x5dc3fc(0x1ca)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x172429=_0x7c74;function _0x7c74(_0x40661d,_0x16c7e3){const _0x168b3a=_0x168b();return _0x7c74=function(_0x7c7446,_0x5919b7){_0x7c7446=_0x7c7446-0x7f;let _0x1134a3=_0x168b3a[_0x7c7446];return _0x1134a3;},_0x7c74(_0x40661d,_0x16c7e3);}(function(_0x5d0e1e,_0x1a094f){const _0x3ec130=_0x7c74,_0x2d83e8=_0x5d0e1e();while(!![]){try{const _0x572872=parseInt(_0x3ec130(0x109))/0x1*(parseInt(_0x3ec130(0x102))/0x2)+parseInt(_0x3ec130(0xba))/0x3+parseInt(_0x3ec130(0xe4))/0x4+-parseInt(_0x3ec130(0xc3))/0x5+parseInt(_0x3ec130(0xa1))/0x6*(-parseInt(_0x3ec130(0xc5))/0x7)+-parseInt(_0x3ec130(0xee))/0x8+-parseInt(_0x3ec130(0xdd))/0x9;if(_0x572872===_0x1a094f)break;else _0x2d83e8['push'](_0x2d83e8['shift']());}catch(_0x337c7b){_0x2d83e8['push'](_0x2d83e8['shift']());}}}(_0x168b,0xf0a64));import{View as _0x42d6e2,BalloonPanelView as _0x34f352,ButtonView as _0x41e6de,clickOutsideHandler as _0x7fa681}from'ckeditor5/src/ui.js';import{Collection as _0x20b120}from'ckeditor5/src/utils.js';function _0x168b(){const _0x4275b8=['clear','height','setContainerElement','abs','cloneNode','_updateOverflowUI','innerWidth','_config','6613792PAhtyM','button','div','querySelector','extendTemplate','showMoreButtonView','_targetContainer','body','_restoreAncestorVisibility','_intersectionObserver','observe','slice','left','getBoundingClientRect','block\x20!important','from','_createContainerElements','opacity','isConnected','destroy','10130bhdaAK','bottom','parentElement','_containerElement','_createShowMoreButtonView','style','_renderChipsAndCountRows','289iGMqud','_overflowChips','push','_testButtonFit','_findTargetContainer','display','label','visible','_createShowMoreButton','_bodyCollection','50px','clientWidth','execute','pointerEvents','clientHeight','isVisible','showMoreButton','_showMoreBalloonPanelView','show','includes','overflowChips','_locale','_showMoreButtonView','disableAnimationOnEnter','position','pin','_calculateOverflowInContainer','_applyCalculationStyles','boxSizing','visibility','children','_pendingCalculation','visible\x20!important','isOn','innerHTML','_ancestorsToRestore','zIndex','undefined','_calculateContainerWidth','border-box','isIntersecting','classList','none','6WDTUId','0px','innerHeight','_updateShowMoreButtonVisibility','showMoreBalloon','disconnect','filter','absolute','toLowerCase','_visibleChips','_createCalculationContainer','_handleShowMoreButtonClick','.ck-ai-chat','_checkAndHandleOverflow','300px','_createShowMoreBalloonPanelView','some','forEach','showMoreLabelPrefix','maxVisibleRows','_isContainerVisible','appendChild','pop','hideBalloonPanel','_makeAncestorsVisible','5307621ZNPhaL','overflowContainer','_distributeChips','offsetWidth','set','block','-9999px','textContent','reorganizeChips','3221730FsMOXh','setTemplate','10298652HggtsX','rowDetectionTolerance','showBalloonPanel','_createMockButton','controlsButton','className','render','cssClasses','_parentView','content','top','add','documentElement','hidden','remove','auto','_repinBalloonPanel','createElement','tagName','width','right','calculationContainer','element','_updateBalloonContent','9653247IGopaQ','+\x201','getComputedStyle','hide','_setupVisibilityObserver','_applyOverflowResults','ck-calculation-container','7070388CDnuEv','length'];_0x168b=function(){return _0x4275b8;};return _0x168b();}const sn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},hn=_0x172429(0xaf);export class AIChatChipsOverflowManager{[_0x172429(0x8b)];[_0x172429(0xed)];[_0x172429(0xaa)];[_0x172429(0x10a)];[_0x172429(0x8c)]=null;[_0x172429(0x87)]=null;[_0x172429(0x105)]=null;[_0x172429(0x7f)];[_0x172429(0xcd)]=null;[_0x172429(0xf7)]=null;[_0x172429(0x95)]=!0x1;constructor(_0x178dff,_0x513c85,_0x3a4c7f,_0x95b876,_0x5b9844){const _0x142f59=_0x172429;this[_0x142f59(0x8b)]=_0x178dff,this[_0x142f59(0xaa)]=_0x513c85,this[_0x142f59(0xed)]={...sn,..._0x3a4c7f,'cssClasses':{'controlsButton':'','calculationContainer':_0x142f59(0xe3),..._0x3a4c7f[_0x142f59(0xcc)]}},this[_0x142f59(0x10a)]=new _0x20b120(),this[_0x142f59(0x7f)]=_0x95b876,this[_0x142f59(0xcd)]=_0x5b9844||null;}[_0x172429(0xe8)](_0x95c30f){const _0x10720e=_0x172429;this[_0x10720e(0xf7)]&&(this[_0x10720e(0xf7)][_0x10720e(0xa6)](),this[_0x10720e(0xf7)]=null),this[_0x10720e(0x105)]=_0x95c30f,this[_0x10720e(0xe1)]();}get[_0x172429(0xf3)](){const _0xf09d5b=_0x172429;return this[_0xf09d5b(0x8c)];}get[_0x172429(0x8a)](){const _0x539b45=_0x172429;return this[_0x539b45(0x10a)];}[_0x172429(0xc2)](){requestAnimationFrame(()=>{const _0x957568=_0x7c74;this[_0x957568(0xae)]();});}[_0x172429(0xc7)](){const _0x54de79=_0x172429;this[_0x54de79(0x8c)]&&this[_0x54de79(0x87)]&&(this[_0x54de79(0xdc)](),this[_0x54de79(0x8c)][_0x54de79(0x97)]=!0x0,this[_0x54de79(0x87)][_0x54de79(0x88)](),this[_0x54de79(0x87)][_0x54de79(0x8f)]({'target':this[_0x54de79(0x8c)][_0x54de79(0xdb)],'limiter':document[_0x54de79(0xf1)](_0x54de79(0xad))}));}[_0x172429(0xb8)](){const _0x2c4078=_0x172429;this[_0x2c4078(0x8c)]&&this[_0x2c4078(0x87)]&&(this[_0x2c4078(0x8c)][_0x2c4078(0x97)]=!0x1,this[_0x2c4078(0x87)][_0x2c4078(0xe0)]());}[_0x172429(0xe6)](){const _0x2e61e4=_0x172429;this[_0x2e61e4(0x10a)][_0x2e61e4(0xe6)](),this[_0x2e61e4(0xb8)](),this[_0x2e61e4(0xa4)](),this[_0x2e61e4(0x8c)]&&(this[_0x2e61e4(0x8c)][_0x2e61e4(0x10f)]=''),this[_0x2e61e4(0x87)]&&this[_0x2e61e4(0x87)][_0x2e61e4(0xce)][_0x2e61e4(0xe6)]();}[_0x172429(0x101)](){const _0x380f0d=_0x172429;this[_0x380f0d(0xf7)]&&(this[_0x380f0d(0xf7)][_0x380f0d(0xa6)](),this[_0x380f0d(0xf7)]=null),this[_0x380f0d(0x8c)]&&(this[_0x380f0d(0x8c)][_0x380f0d(0x101)](),this[_0x380f0d(0x8c)]=null),this[_0x380f0d(0x87)]&&(this[_0x380f0d(0x87)][_0x380f0d(0x101)](),this[_0x380f0d(0x87)]=null);}[_0x172429(0xae)](){const _0x3969ce=_0x172429;if(!this[_0x3969ce(0x105)])return;if(!this[_0x3969ce(0xb5)]())return void(this[_0x3969ce(0x95)]=!0x0);this[_0x3969ce(0x95)]=!0x1;const _0x5ccf26=[...this[_0x3969ce(0xaa)],...this[_0x3969ce(0x10a)]],_0x1b7fb3=this[_0x3969ce(0xab)](),_0x1e4857=this[_0x3969ce(0x90)](_0x1b7fb3,_0x5ccf26),_0xc910c6=_0x1b7fb3[_0x3969ce(0x99)];_0xc910c6&&this[_0x3969ce(0xf6)](_0xc910c6),_0x1b7fb3[_0x3969ce(0xd3)](),this[_0x3969ce(0xe2)](_0x5ccf26,_0x1e4857);}[_0x172429(0x111)](){const _0x540455=_0x172429;this[_0x540455(0x8c)]=this[_0x540455(0x106)](),this[_0x540455(0x87)]=this[_0x540455(0xb0)](),this[_0x540455(0x8c)][_0x540455(0xcb)](),this[_0x540455(0x105)][_0x540455(0xb6)](this[_0x540455(0x8c)][_0x540455(0xdb)]),this[_0x540455(0x8c)]['on'](_0x540455(0x82),()=>{const _0x34c5ad=_0x540455;this[_0x34c5ad(0xac)]();}),_0x7fa681({'emitter':this[_0x540455(0x87)],'contextElements':[this[_0x540455(0x87)][_0x540455(0xdb)],this[_0x540455(0x8c)][_0x540455(0xdb)]],'callback':()=>this[_0x540455(0xb8)](),'activator':()=>this[_0x540455(0x8c)][_0x540455(0x97)]});}[_0x172429(0x106)](){const _0x1e08e1=_0x172429,_0x249b16=new _0x41e6de(this[_0x1e08e1(0x8b)]);_0x249b16[_0x1e08e1(0xbe)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x497d4b=[this[_0x1e08e1(0xed)][_0x1e08e1(0xcc)][_0x1e08e1(0x86)]];return this[_0x1e08e1(0xed)][_0x1e08e1(0xcc)][_0x1e08e1(0xc9)]&&_0x497d4b[_0x1e08e1(0x10b)](this[_0x1e08e1(0xed)][_0x1e08e1(0xcc)][_0x1e08e1(0xc9)]),_0x249b16[_0x1e08e1(0xf2)]({'attributes':{'class':_0x497d4b}}),_0x249b16;}[_0x172429(0xb0)](){const _0x176720=_0x172429,_0x19d39c=new _0x34f352(this[_0x176720(0x8b)]);return _0x19d39c[_0x176720(0xf2)]({'attributes':{'class':this[_0x176720(0xed)][_0x176720(0xcc)][_0x176720(0xa5)]}}),this[_0x176720(0x7f)][_0x176720(0xd0)](_0x19d39c),_0x19d39c;}[_0x172429(0xdc)](){const _0x4e9aea=_0x172429;if(this[_0x4e9aea(0x87)]&&(this[_0x4e9aea(0x87)][_0x4e9aea(0xce)][_0x4e9aea(0xe6)](),this[_0x4e9aea(0x10a)][_0x4e9aea(0xe5)]>0x0)){this[_0x4e9aea(0x10a)][_0x4e9aea(0xb2)](_0x54b788=>{const _0x306408=_0x4e9aea;_0x54b788[_0x306408(0x8d)]();});const _0x4a3c6b=new _0x42d6e2(this[_0x4e9aea(0x8b)]);_0x4a3c6b[_0x4e9aea(0xc4)]({'tag':_0x4e9aea(0xf0),'attributes':{'class':this[_0x4e9aea(0xed)][_0x4e9aea(0xcc)][_0x4e9aea(0xbb)]},'children':this[_0x4e9aea(0x10a)]}),this[_0x4e9aea(0x87)][_0x4e9aea(0xce)][_0x4e9aea(0xd0)](_0x4a3c6b);}}[_0x172429(0xac)](){const _0x3a0f22=_0x172429;this[_0x3a0f22(0x8c)][_0x3a0f22(0x97)]?this[_0x3a0f22(0xb8)]():this[_0x3a0f22(0xc7)]();}[_0x172429(0xa4)](){const _0x2c1c1d=_0x172429,_0x336093=this[_0x2c1c1d(0x10a)][_0x2c1c1d(0xe5)]>0x0;this[_0x2c1c1d(0x8c)]?.[_0x2c1c1d(0xdb)]&&(this[_0x2c1c1d(0x8c)][_0x2c1c1d(0xdb)][_0x2c1c1d(0x107)][_0x2c1c1d(0x10e)]=_0x336093?'':_0x2c1c1d(0xa0));}[_0x172429(0xd5)](){const _0x27d917=_0x172429;this[_0x27d917(0x8c)]?.[_0x27d917(0x97)]&&this[_0x27d917(0x87)]?.[_0x27d917(0x85)]&&this[_0x27d917(0x8c)][_0x27d917(0xdb)]&&this[_0x27d917(0x87)][_0x27d917(0x8f)]({'target':this[_0x27d917(0x8c)][_0x27d917(0xdb)],'limiter':document[_0x27d917(0xf1)](_0x27d917(0xad))});}[_0x172429(0x10d)](_0x3decd2){const _0x322a8f=_0x172429,_0x3c3291=this[_0x322a8f(0x105)]?.[_0x322a8f(0xd7)][_0x322a8f(0xa9)]()||_0x322a8f(0xf0),_0x93454a=this[_0x322a8f(0x105)]?.[_0x322a8f(0x9f)];if(_0x93454a){const _0x3ca3dc=_0x93454a[0x0]||'',_0x2e39f0=_0x3decd2[_0x322a8f(0xf1)]('.'+_0x3ca3dc),_0x5bd241=_0x3decd2[_0x322a8f(0xf1)](_0x3c3291);return _0x2e39f0||_0x5bd241||_0x3decd2;}return _0x3decd2[_0x322a8f(0xf1)](_0x3c3291)||_0x3decd2;}[_0x172429(0x9c)](){const _0x94477d=_0x172429,_0x1e8f66=this[_0x94477d(0xcd)]?.[_0x94477d(0xdb)]||this[_0x94477d(0x105)];if(!_0x1e8f66)return hn;const _0x88f5f7=window[_0x94477d(0xdf)](_0x1e8f66)[_0x94477d(0xd8)];if(_0x94477d(0xd4)===_0x88f5f7||_0x94477d(0xa2)===_0x88f5f7||!_0x88f5f7){const _0x47b033=_0x1e8f66[_0x94477d(0x104)];if(_0x47b033){const _0x140d6e=window[_0x94477d(0xdf)](_0x47b033);return _0x94477d(0xd4)!==_0x140d6e[_0x94477d(0xd8)]?_0x140d6e[_0x94477d(0xd8)]:hn;}return hn;}return _0x88f5f7;}[_0x172429(0x91)](_0x35f4b0,_0x182ec6){const _0x5f4c25=_0x172429;this[_0x5f4c25(0xed)][_0x5f4c25(0xcc)][_0x5f4c25(0xda)]&&_0x35f4b0[_0x5f4c25(0x9f)][_0x5f4c25(0xd0)](this[_0x5f4c25(0xed)][_0x5f4c25(0xcc)][_0x5f4c25(0xda)]),_0x35f4b0[_0x5f4c25(0x107)][_0x5f4c25(0xd8)]=_0x182ec6,_0x35f4b0[_0x5f4c25(0x107)][_0x5f4c25(0x8e)]=_0x5f4c25(0xa8),_0x35f4b0[_0x5f4c25(0x107)][_0x5f4c25(0xcf)]=_0x5f4c25(0xc0),_0x35f4b0[_0x5f4c25(0x107)][_0x5f4c25(0xfa)]=_0x5f4c25(0xc0),_0x35f4b0[_0x5f4c25(0x107)][_0x5f4c25(0xff)]='0',_0x35f4b0[_0x5f4c25(0x107)][_0x5f4c25(0x83)]=_0x5f4c25(0xa0),_0x35f4b0[_0x5f4c25(0x107)][_0x5f4c25(0x9a)]='-1',_0x35f4b0[_0x5f4c25(0x107)][_0x5f4c25(0x93)]=_0x5f4c25(0x96),_0x35f4b0[_0x5f4c25(0x107)][_0x5f4c25(0x10e)]=_0x5f4c25(0xfc),_0x35f4b0[_0x5f4c25(0x107)][_0x5f4c25(0x92)]=_0x5f4c25(0x9d);}[_0x172429(0xf6)](_0x4f9fc1){const _0x105e8c=_0x172429;_0x4f9fc1[_0x105e8c(0xb2)](({element:_0x1e95b1,originalDisplay:_0x20f814,originalVisibility:_0x58712f})=>{const _0x5398c7=_0x105e8c;_0x1e95b1[_0x5398c7(0x107)][_0x5398c7(0x10e)]=_0x20f814,_0x1e95b1[_0x5398c7(0x107)][_0x5398c7(0x93)]=_0x58712f;});}[_0x172429(0xb9)](_0x4b9b88){const _0x479425=_0x172429,_0x2ec8c7=[];let _0x2a0af2=_0x4b9b88;for(;_0x2a0af2&&_0x2a0af2!==document[_0x479425(0xf5)];){const _0x56f1a4=window[_0x479425(0xdf)](_0x2a0af2);_0x479425(0xa0)!==_0x56f1a4[_0x479425(0x10e)]&&_0x479425(0xd2)!==_0x56f1a4[_0x479425(0x93)]||(_0x2ec8c7[_0x479425(0x10b)]({'element':_0x2a0af2,'originalDisplay':_0x2a0af2[_0x479425(0x107)][_0x479425(0x10e)],'originalVisibility':_0x2a0af2[_0x479425(0x107)][_0x479425(0x93)]}),_0x2a0af2[_0x479425(0x107)][_0x479425(0x10e)]=_0x479425(0xbf),_0x2a0af2[_0x479425(0x107)][_0x479425(0x93)]=_0x479425(0x110)),_0x2a0af2=_0x2a0af2[_0x479425(0x104)];}return _0x2ec8c7;}[_0x172429(0xfe)](){const _0x589a11=_0x172429;let _0x3a21ce,_0x5c3d7d;return this[_0x589a11(0xcd)]?.[_0x589a11(0xdb)]?(_0x3a21ce=this[_0x589a11(0xcd)][_0x589a11(0xdb)][_0x589a11(0xea)](!0x0),_0x5c3d7d=this[_0x589a11(0x10d)](_0x3a21ce)):(_0x3a21ce=document[_0x589a11(0xd6)](_0x589a11(0xf0)),_0x5c3d7d=_0x3a21ce),{'calculationContainer':_0x3a21ce,'targetContainer':_0x5c3d7d};}[_0x172429(0xab)](){const _0x234b03=_0x172429,{calculationContainer:_0x1e3785,targetContainer:_0x476a1e}=this[_0x234b03(0xfe)](),_0x2302ff=this[_0x234b03(0x9c)]();this[_0x234b03(0x91)](_0x1e3785,_0x2302ff);const _0x2a69c8=this[_0x234b03(0xcd)]?.[_0x234b03(0xdb)]||this[_0x234b03(0x105)],_0x14c91f=_0x2a69c8?.[_0x234b03(0x104)];_0x14c91f?_0x14c91f[_0x234b03(0xb6)](_0x1e3785):document[_0x234b03(0xf5)][_0x234b03(0xb6)](_0x1e3785),_0x1e3785[_0x234b03(0xf4)]=_0x476a1e;const _0x29c030=this[_0x234b03(0xb9)](_0x14c91f||null);return _0x1e3785[_0x234b03(0xbd)],_0x1e3785[_0x234b03(0x99)]=_0x29c030,_0x1e3785;}[_0x172429(0x90)](_0x332cb2,_0x27c9d2){const _0xbd4c39=_0x172429,_0x128d14=_0x332cb2[_0xbd4c39(0xf4)]||_0x332cb2,_0x3bc2f8=[],{rowCount:_0x1bc93f}=this[_0xbd4c39(0x108)](_0x128d14,_0x27c9d2);if(_0x1bc93f<=this[_0xbd4c39(0xed)][_0xbd4c39(0xb4)])return _0x3bc2f8;const _0x372bd4=_0x27c9d2[_0xbd4c39(0xf9)]();for(;_0x372bd4[_0xbd4c39(0xe5)]>0x0;){if(this[_0xbd4c39(0x10c)](_0x332cb2,_0x128d14,_0x372bd4)){const _0x44e324=_0x27c9d2[_0xbd4c39(0xa7)](_0x13200b=>!_0x372bd4[_0xbd4c39(0x89)](_0x13200b));_0x3bc2f8[_0xbd4c39(0x10b)](..._0x44e324);break;}if(!_0x372bd4[_0xbd4c39(0xb7)]())break;}return _0x3bc2f8;}[_0x172429(0x108)](_0x418987,_0x4b4c2d){const _0x195ff4=_0x172429;_0x418987[_0x195ff4(0x98)]='',_0x4b4c2d[_0x195ff4(0xb2)](_0x10a2d9=>{const _0x32d01e=_0x195ff4;if(_0x10a2d9[_0x32d01e(0xdb)]){const _0x5e6942=_0x10a2d9[_0x32d01e(0xdb)][_0x32d01e(0xea)](!0x0);_0x418987[_0x32d01e(0xb6)](_0x5e6942);}}),_0x418987[_0x195ff4(0xbd)];const _0x175492=_0x418987[_0x195ff4(0x94)],_0x5e4110=[];return Array[_0x195ff4(0xfd)](_0x175492)[_0x195ff4(0xb2)](_0x2cf725=>{const _0xd42727=_0x195ff4,_0x507e8b=_0x2cf725[_0xd42727(0xfb)]()[_0xd42727(0xcf)];_0x5e4110[_0xd42727(0xb1)](_0x3d5102=>Math[_0xd42727(0xe9)](_0x3d5102-_0x507e8b)<this[_0xd42727(0xed)][_0xd42727(0xc6)])||_0x5e4110[_0xd42727(0x10b)](_0x507e8b);}),{'rowCount':_0x5e4110[_0x195ff4(0xe5)]};}[_0x172429(0xc8)](){const _0x2a42f6=_0x172429,_0x4b715b=document[_0x2a42f6(0xd6)](_0x2a42f6(0xef));return _0x4b715b[_0x2a42f6(0xca)]=this[_0x2a42f6(0xed)][_0x2a42f6(0xcc)][_0x2a42f6(0x86)],this[_0x2a42f6(0xed)][_0x2a42f6(0xcc)][_0x2a42f6(0xc9)]&&_0x4b715b[_0x2a42f6(0x9f)][_0x2a42f6(0xd0)](this[_0x2a42f6(0xed)][_0x2a42f6(0xcc)][_0x2a42f6(0xc9)]),_0x4b715b[_0x2a42f6(0xc1)]=_0x2a42f6(0xde),_0x4b715b;}[_0x172429(0x10c)](_0x52638f,_0x5c12b8,_0x49490c){const _0x281cdd=_0x172429;this[_0x281cdd(0x108)](_0x5c12b8,_0x49490c);const _0xb55bd9=this[_0x281cdd(0xc8)]();_0x52638f[_0x281cdd(0xb6)](_0xb55bd9),_0x52638f[_0x281cdd(0xbd)];const _0x24e662=[..._0x5c12b8[_0x281cdd(0x94)],_0xb55bd9],_0x3f4776=[];_0x24e662[_0x281cdd(0xb2)](_0x51cdd7=>{const _0x338374=_0x281cdd,_0x59a79c=_0x51cdd7[_0x338374(0xfb)]()[_0x338374(0xcf)];_0x3f4776[_0x338374(0xb1)](_0x4cd93a=>Math[_0x338374(0xe9)](_0x4cd93a-_0x59a79c)<this[_0x338374(0xed)][_0x338374(0xc6)])||_0x3f4776[_0x338374(0x10b)](_0x59a79c);});const _0x4d15bf=_0x3f4776[_0x281cdd(0xe5)];return _0xb55bd9[_0x281cdd(0xd3)](),_0x4d15bf<=this[_0x281cdd(0xed)][_0x281cdd(0xb4)];}[_0x172429(0xbc)](_0x2dd1d2,_0x314e00){const _0x11a7b2=_0x172429;this[_0x11a7b2(0xaa)][_0x11a7b2(0xe6)](),this[_0x11a7b2(0x10a)][_0x11a7b2(0xe6)](),_0x2dd1d2[_0x11a7b2(0xb2)](_0xad1a2f=>{const _0x43f1b5=_0x11a7b2;_0x314e00[_0x43f1b5(0x89)](_0xad1a2f)?this[_0x43f1b5(0x10a)][_0x43f1b5(0xd0)](_0xad1a2f):this[_0x43f1b5(0xaa)][_0x43f1b5(0xd0)](_0xad1a2f);});}[_0x172429(0xeb)](_0x52e639){const _0xbc6a6c=_0x172429;if(_0x52e639>0x0&&!this[_0xbc6a6c(0x8c)]&&this[_0xbc6a6c(0x111)](),_0x52e639>0x0&&this[_0xbc6a6c(0x8c)]){const _0x4ecb7a=''+this[_0xbc6a6c(0xed)][_0xbc6a6c(0xb3)]+(_0x52e639<0x63?_0x52e639:'99');this[_0xbc6a6c(0x8c)][_0xbc6a6c(0x10f)]=_0x4ecb7a;}this[_0xbc6a6c(0xdc)](),this[_0xbc6a6c(0xa4)](),this[_0xbc6a6c(0xd5)]();}[_0x172429(0xe2)](_0x3dc89c,_0x6f2e46){const _0x44f9ed=_0x172429;this[_0x44f9ed(0xbc)](_0x3dc89c,_0x6f2e46),this[_0x44f9ed(0xeb)](_0x6f2e46[_0x44f9ed(0xe5)]);}[_0x172429(0xe1)](){const _0x16d495=_0x172429;this[_0x16d495(0x105)]&&_0x16d495(0x9b)!=typeof IntersectionObserver&&(this[_0x16d495(0xf7)]=new IntersectionObserver(_0x44ffaf=>{const _0x302b67=_0x16d495;_0x44ffaf[0x0][_0x302b67(0x9e)]&&this[_0x302b67(0x95)]&&requestAnimationFrame(()=>{const _0x10fcc2=_0x302b67;this[_0x10fcc2(0xae)]();});},{'threshold':0.01,'rootMargin':_0x16d495(0x80)}),this[_0x16d495(0xf7)][_0x16d495(0xf8)](this[_0x16d495(0x105)]));}[_0x172429(0xb5)](){const _0x20bb23=_0x172429;if(!this[_0x20bb23(0x105)])return!0x1;if(!this[_0x20bb23(0x105)][_0x20bb23(0x100)])return!0x1;const _0x159b8d=this[_0x20bb23(0x105)][_0x20bb23(0xfb)]();if(0x0===_0x159b8d[_0x20bb23(0xd8)]||0x0===_0x159b8d[_0x20bb23(0xe7)])return!0x1;const _0xb1615f=window[_0x20bb23(0xa3)]||document[_0x20bb23(0xd1)][_0x20bb23(0x84)],_0x15ec08=window[_0x20bb23(0xec)]||document[_0x20bb23(0xd1)][_0x20bb23(0x81)],_0x1bb613=0xc8;return _0x159b8d[_0x20bb23(0x103)]>=-0xc8&&_0x159b8d[_0x20bb23(0xcf)]<=_0xb1615f+_0x1bb613&&_0x159b8d[_0x20bb23(0xd9)]>=-0xc8&&_0x159b8d[_0x20bb23(0xfa)]<=_0x15ec08+_0x1bb613;}}
23
+ function _0x1a8e(){const _0x649ebe=['width','showMoreButton','forEach','cloneNode','_showMoreBalloonPanelView','_targetContainer','documentElement','add','50px','_calculateOverflowInContainer','300px','right','_setupVisibilityObserver','children','1213688WHxGlh','visible','toLowerCase','querySelector','undefined','isOn','div','clear','absolute','content','_ancestorsToRestore','height','_handleShowMoreButtonClick','isConnected','render','disconnect','overflowContainer','_visibleChips','rowDetectionTolerance','setTemplate','8787864zyUgHr','top','extendTemplate','_restoreAncestorVisibility','_applyCalculationStyles','controlsButton','_containerElement','8220435FxymnQ','isVisible','pin','calculationContainer','observe','filter','some','5370015cAcuxU','_updateBalloonContent','tagName','boxSizing','ck-calculation-container','_parentView','label','position','showBalloonPanel','block','_makeAncestorsVisible','_intersectionObserver','4498LQeEaB','_createShowMoreBalloonPanelView','includes','_isContainerVisible','classList','bottom','textContent','_distributeChips','opacity','auto','display','execute','_locale','hideBalloonPanel','hide','showMoreBalloon','show','innerHeight','_createShowMoreButton','style','6923172oEAcvG','_createMockButton','destroy','_createContainerElements','_createCalculationContainer','_bodyCollection','getBoundingClientRect','setContainerElement','_updateOverflowUI','visibility','879tWcblt','_findTargetContainer','0px','pop','slice','border-box','_pendingCalculation','zIndex','_updateShowMoreButtonVisibility','clientHeight','reorganizeChips','overflowChips','className','showMoreLabelPrefix','maxVisibleRows','from','createElement','isIntersecting','none','hidden','body','innerWidth','visible\x20!important','4502230ZXNWhv','6qZugog','.ck-ai-chat','_calculateContainerWidth','getComputedStyle','button','27uxjQro','_repinBalloonPanel','_createShowMoreButtonView','_showMoreButtonView','parentElement','pointerEvents','_checkAndHandleOverflow','disableAnimationOnEnter','offsetWidth','set','_renderChipsAndCountRows','_applyOverflowResults','left','length','appendChild','block\x20!important','element','remove','abs','+\x201','_overflowChips','push','_testButtonFit','-9999px','clientWidth','innerHTML','_config','cssClasses','showMoreButtonView'];_0x1a8e=function(){return _0x649ebe;};return _0x1a8e();}const _0x4a6c5d=_0x40ef;(function(_0x456175,_0x59e5a7){const _0x39ac3b=_0x40ef,_0x352ab4=_0x456175();while(!![]){try{const _0x3b3be7=parseInt(_0x39ac3b(0x240))/0x1+-parseInt(_0x39ac3b(0x1da))/0x2*(-parseInt(_0x39ac3b(0x1f8))/0x3)+parseInt(_0x39ac3b(0x1ee))/0x4+-parseInt(_0x39ac3b(0x25b))/0x5+parseInt(_0x39ac3b(0x210))/0x6*(-parseInt(_0x39ac3b(0x1ce))/0x7)+parseInt(_0x39ac3b(0x254))/0x8+-parseInt(_0x39ac3b(0x215))/0x9*(parseInt(_0x39ac3b(0x20f))/0xa);if(_0x3b3be7===_0x59e5a7)break;else _0x352ab4['push'](_0x352ab4['shift']());}catch(_0x22de7a){_0x352ab4['push'](_0x352ab4['shift']());}}}(_0x1a8e,0xe57f4));import{View as _0x4f409a,BalloonPanelView as _0x44684c,ButtonView as _0x17f5f0,clickOutsideHandler as _0xe54fb4}from'ckeditor5/src/ui.js';import{Collection as _0x265f3c}from'ckeditor5/src/utils.js';const sn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},hn=_0x4a6c5d(0x23c);function _0x40ef(_0x330cfe,_0x2b8ef1){const _0x1a8e14=_0x1a8e();return _0x40ef=function(_0x40ef4a,_0x497024){_0x40ef4a=_0x40ef4a-0x1cd;let _0x26ef22=_0x1a8e14[_0x40ef4a];return _0x26ef22;},_0x40ef(_0x330cfe,_0x2b8ef1);}export class AIChatChipsOverflowManager{[_0x4a6c5d(0x1e6)];[_0x4a6c5d(0x22f)];[_0x4a6c5d(0x251)];[_0x4a6c5d(0x229)];[_0x4a6c5d(0x218)]=null;[_0x4a6c5d(0x236)]=null;[_0x4a6c5d(0x25a)]=null;[_0x4a6c5d(0x1f3)];[_0x4a6c5d(0x1d3)]=null;[_0x4a6c5d(0x1d9)]=null;[_0x4a6c5d(0x1fe)]=!0x1;constructor(_0x219750,_0x1cb794,_0x2922cd,_0x1ec1c2,_0x3db02e){const _0x569541=_0x4a6c5d;this[_0x569541(0x1e6)]=_0x219750,this[_0x569541(0x251)]=_0x1cb794,this[_0x569541(0x22f)]={...sn,..._0x2922cd,'cssClasses':{'controlsButton':'','calculationContainer':_0x569541(0x1d2),..._0x2922cd[_0x569541(0x230)]}},this[_0x569541(0x229)]=new _0x265f3c(),this[_0x569541(0x1f3)]=_0x1ec1c2,this[_0x569541(0x1d3)]=_0x3db02e||null;}[_0x4a6c5d(0x1f5)](_0x51e20c){const _0x327594=_0x4a6c5d;this[_0x327594(0x1d9)]&&(this[_0x327594(0x1d9)][_0x327594(0x24f)](),this[_0x327594(0x1d9)]=null),this[_0x327594(0x25a)]=_0x51e20c,this[_0x327594(0x23e)]();}get[_0x4a6c5d(0x231)](){const _0x124e32=_0x4a6c5d;return this[_0x124e32(0x218)];}get[_0x4a6c5d(0x203)](){const _0x55eec0=_0x4a6c5d;return this[_0x55eec0(0x229)];}[_0x4a6c5d(0x202)](){requestAnimationFrame(()=>{const _0x39788f=_0x40ef;this[_0x39788f(0x21b)]();});}[_0x4a6c5d(0x1d6)](){const _0x499d16=_0x4a6c5d;this[_0x499d16(0x218)]&&this[_0x499d16(0x236)]&&(this[_0x499d16(0x1cf)](),this[_0x499d16(0x218)][_0x499d16(0x245)]=!0x0,this[_0x499d16(0x236)][_0x499d16(0x1ea)](),this[_0x499d16(0x236)][_0x499d16(0x25d)]({'target':this[_0x499d16(0x218)][_0x499d16(0x225)],'limiter':document[_0x499d16(0x243)](_0x499d16(0x211))}));}[_0x4a6c5d(0x1e7)](){const _0x296b4d=_0x4a6c5d;this[_0x296b4d(0x218)]&&this[_0x296b4d(0x236)]&&(this[_0x296b4d(0x218)][_0x296b4d(0x245)]=!0x1,this[_0x296b4d(0x236)][_0x296b4d(0x1e8)]());}[_0x4a6c5d(0x247)](){const _0x143d63=_0x4a6c5d;this[_0x143d63(0x229)][_0x143d63(0x247)](),this[_0x143d63(0x1e7)](),this[_0x143d63(0x200)](),this[_0x143d63(0x218)]&&(this[_0x143d63(0x218)][_0x143d63(0x1d4)]=''),this[_0x143d63(0x236)]&&this[_0x143d63(0x236)][_0x143d63(0x249)][_0x143d63(0x247)]();}[_0x4a6c5d(0x1f0)](){const _0x1adfb9=_0x4a6c5d;this[_0x1adfb9(0x1d9)]&&(this[_0x1adfb9(0x1d9)][_0x1adfb9(0x24f)](),this[_0x1adfb9(0x1d9)]=null),this[_0x1adfb9(0x218)]&&(this[_0x1adfb9(0x218)][_0x1adfb9(0x1f0)](),this[_0x1adfb9(0x218)]=null),this[_0x1adfb9(0x236)]&&(this[_0x1adfb9(0x236)][_0x1adfb9(0x1f0)](),this[_0x1adfb9(0x236)]=null);}[_0x4a6c5d(0x21b)](){const _0x221125=_0x4a6c5d;if(!this[_0x221125(0x25a)])return;if(!this[_0x221125(0x1dd)]())return void(this[_0x221125(0x1fe)]=!0x0);this[_0x221125(0x1fe)]=!0x1;const _0x15d921=[...this[_0x221125(0x251)],...this[_0x221125(0x229)]],_0x81a67b=this[_0x221125(0x1f2)](),_0x1a9d7e=this[_0x221125(0x23b)](_0x81a67b,_0x15d921),_0x3b5eb1=_0x81a67b[_0x221125(0x24a)];_0x3b5eb1&&this[_0x221125(0x257)](_0x3b5eb1),_0x81a67b[_0x221125(0x226)](),this[_0x221125(0x220)](_0x15d921,_0x1a9d7e);}[_0x4a6c5d(0x1ec)](){const _0x4e4e6d=_0x4a6c5d;this[_0x4e4e6d(0x218)]=this[_0x4e4e6d(0x217)](),this[_0x4e4e6d(0x236)]=this[_0x4e4e6d(0x1db)](),this[_0x4e4e6d(0x218)][_0x4e4e6d(0x24e)](),this[_0x4e4e6d(0x25a)][_0x4e4e6d(0x223)](this[_0x4e4e6d(0x218)][_0x4e4e6d(0x225)]),this[_0x4e4e6d(0x218)]['on'](_0x4e4e6d(0x1e5),()=>{const _0x7d247b=_0x4e4e6d;this[_0x7d247b(0x24c)]();}),_0xe54fb4({'emitter':this[_0x4e4e6d(0x236)],'contextElements':[this[_0x4e4e6d(0x236)][_0x4e4e6d(0x225)],this[_0x4e4e6d(0x218)][_0x4e4e6d(0x225)]],'callback':()=>this[_0x4e4e6d(0x1e7)](),'activator':()=>this[_0x4e4e6d(0x218)][_0x4e4e6d(0x245)]});}[_0x4a6c5d(0x217)](){const _0x9bc5e9=_0x4a6c5d,_0x308496=new _0x17f5f0(this[_0x9bc5e9(0x1e6)]);_0x308496[_0x9bc5e9(0x21e)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x41a31d=[this[_0x9bc5e9(0x22f)][_0x9bc5e9(0x230)][_0x9bc5e9(0x233)]];return this[_0x9bc5e9(0x22f)][_0x9bc5e9(0x230)][_0x9bc5e9(0x259)]&&_0x41a31d[_0x9bc5e9(0x22a)](this[_0x9bc5e9(0x22f)][_0x9bc5e9(0x230)][_0x9bc5e9(0x259)]),_0x308496[_0x9bc5e9(0x256)]({'attributes':{'class':_0x41a31d}}),_0x308496;}[_0x4a6c5d(0x1db)](){const _0x1bc198=_0x4a6c5d,_0x376bbe=new _0x44684c(this[_0x1bc198(0x1e6)]);return _0x376bbe[_0x1bc198(0x256)]({'attributes':{'class':this[_0x1bc198(0x22f)][_0x1bc198(0x230)][_0x1bc198(0x1e9)]}}),this[_0x1bc198(0x1f3)][_0x1bc198(0x239)](_0x376bbe),_0x376bbe;}[_0x4a6c5d(0x1cf)](){const _0x4732c0=_0x4a6c5d;if(this[_0x4732c0(0x236)]&&(this[_0x4732c0(0x236)][_0x4732c0(0x249)][_0x4732c0(0x247)](),this[_0x4732c0(0x229)][_0x4732c0(0x222)]>0x0)){this[_0x4732c0(0x229)][_0x4732c0(0x234)](_0x894735=>{const _0x5c85b7=_0x4732c0;_0x894735[_0x5c85b7(0x21c)]();});const _0x510750=new _0x4f409a(this[_0x4732c0(0x1e6)]);_0x510750[_0x4732c0(0x253)]({'tag':_0x4732c0(0x246),'attributes':{'class':this[_0x4732c0(0x22f)][_0x4732c0(0x230)][_0x4732c0(0x250)]},'children':this[_0x4732c0(0x229)]}),this[_0x4732c0(0x236)][_0x4732c0(0x249)][_0x4732c0(0x239)](_0x510750);}}[_0x4a6c5d(0x24c)](){const _0x543ae0=_0x4a6c5d;this[_0x543ae0(0x218)][_0x543ae0(0x245)]?this[_0x543ae0(0x1e7)]():this[_0x543ae0(0x1d6)]();}[_0x4a6c5d(0x200)](){const _0x416117=_0x4a6c5d,_0x4d869b=this[_0x416117(0x229)][_0x416117(0x222)]>0x0;this[_0x416117(0x218)]?.[_0x416117(0x225)]&&(this[_0x416117(0x218)][_0x416117(0x225)][_0x416117(0x1ed)][_0x416117(0x1e4)]=_0x4d869b?'':_0x416117(0x20a));}[_0x4a6c5d(0x216)](){const _0x5c3b51=_0x4a6c5d;this[_0x5c3b51(0x218)]?.[_0x5c3b51(0x245)]&&this[_0x5c3b51(0x236)]?.[_0x5c3b51(0x25c)]&&this[_0x5c3b51(0x218)][_0x5c3b51(0x225)]&&this[_0x5c3b51(0x236)][_0x5c3b51(0x25d)]({'target':this[_0x5c3b51(0x218)][_0x5c3b51(0x225)],'limiter':document[_0x5c3b51(0x243)](_0x5c3b51(0x211))});}[_0x4a6c5d(0x1f9)](_0x5420f1){const _0x3ff44a=_0x4a6c5d,_0x43e91a=this[_0x3ff44a(0x25a)]?.[_0x3ff44a(0x1d0)][_0x3ff44a(0x242)]()||_0x3ff44a(0x246),_0x1c519a=this[_0x3ff44a(0x25a)]?.[_0x3ff44a(0x1de)];if(_0x1c519a){const _0x2b87b6=_0x1c519a[0x0]||'',_0x55cfc7=_0x5420f1[_0x3ff44a(0x243)]('.'+_0x2b87b6),_0x1fe700=_0x5420f1[_0x3ff44a(0x243)](_0x43e91a);return _0x55cfc7||_0x1fe700||_0x5420f1;}return _0x5420f1[_0x3ff44a(0x243)](_0x43e91a)||_0x5420f1;}[_0x4a6c5d(0x212)](){const _0x95b954=_0x4a6c5d,_0x28cd65=this[_0x95b954(0x1d3)]?.[_0x95b954(0x225)]||this[_0x95b954(0x25a)];if(!_0x28cd65)return hn;const _0x4cb69a=window[_0x95b954(0x213)](_0x28cd65)[_0x95b954(0x232)];if(_0x95b954(0x1e3)===_0x4cb69a||_0x95b954(0x1fa)===_0x4cb69a||!_0x4cb69a){const _0x3a5bcb=_0x28cd65[_0x95b954(0x219)];if(_0x3a5bcb){const _0xdf7800=window[_0x95b954(0x213)](_0x3a5bcb);return _0x95b954(0x1e3)!==_0xdf7800[_0x95b954(0x232)]?_0xdf7800[_0x95b954(0x232)]:hn;}return hn;}return _0x4cb69a;}[_0x4a6c5d(0x258)](_0x482ff1,_0x5a8b00){const _0x56f1db=_0x4a6c5d;this[_0x56f1db(0x22f)][_0x56f1db(0x230)][_0x56f1db(0x25e)]&&_0x482ff1[_0x56f1db(0x1de)][_0x56f1db(0x239)](this[_0x56f1db(0x22f)][_0x56f1db(0x230)][_0x56f1db(0x25e)]),_0x482ff1[_0x56f1db(0x1ed)][_0x56f1db(0x232)]=_0x5a8b00,_0x482ff1[_0x56f1db(0x1ed)][_0x56f1db(0x1d5)]=_0x56f1db(0x248),_0x482ff1[_0x56f1db(0x1ed)][_0x56f1db(0x255)]=_0x56f1db(0x22c),_0x482ff1[_0x56f1db(0x1ed)][_0x56f1db(0x221)]=_0x56f1db(0x22c),_0x482ff1[_0x56f1db(0x1ed)][_0x56f1db(0x1e2)]='0',_0x482ff1[_0x56f1db(0x1ed)][_0x56f1db(0x21a)]=_0x56f1db(0x20a),_0x482ff1[_0x56f1db(0x1ed)][_0x56f1db(0x1ff)]='-1',_0x482ff1[_0x56f1db(0x1ed)][_0x56f1db(0x1f7)]=_0x56f1db(0x20e),_0x482ff1[_0x56f1db(0x1ed)][_0x56f1db(0x1e4)]=_0x56f1db(0x224),_0x482ff1[_0x56f1db(0x1ed)][_0x56f1db(0x1d1)]=_0x56f1db(0x1fd);}[_0x4a6c5d(0x257)](_0x37c218){const _0x4de8e7=_0x4a6c5d;_0x37c218[_0x4de8e7(0x234)](({element:_0x59e721,originalDisplay:_0x52dcd,originalVisibility:_0x25c09a})=>{const _0x22dad7=_0x4de8e7;_0x59e721[_0x22dad7(0x1ed)][_0x22dad7(0x1e4)]=_0x52dcd,_0x59e721[_0x22dad7(0x1ed)][_0x22dad7(0x1f7)]=_0x25c09a;});}[_0x4a6c5d(0x1d8)](_0x575ca9){const _0x161fa3=_0x4a6c5d,_0x3ece4c=[];let _0xda48d4=_0x575ca9;for(;_0xda48d4&&_0xda48d4!==document[_0x161fa3(0x20c)];){const _0x48cec6=window[_0x161fa3(0x213)](_0xda48d4);_0x161fa3(0x20a)!==_0x48cec6[_0x161fa3(0x1e4)]&&_0x161fa3(0x20b)!==_0x48cec6[_0x161fa3(0x1f7)]||(_0x3ece4c[_0x161fa3(0x22a)]({'element':_0xda48d4,'originalDisplay':_0xda48d4[_0x161fa3(0x1ed)][_0x161fa3(0x1e4)],'originalVisibility':_0xda48d4[_0x161fa3(0x1ed)][_0x161fa3(0x1f7)]}),_0xda48d4[_0x161fa3(0x1ed)][_0x161fa3(0x1e4)]=_0x161fa3(0x1d7),_0xda48d4[_0x161fa3(0x1ed)][_0x161fa3(0x1f7)]=_0x161fa3(0x241)),_0xda48d4=_0xda48d4[_0x161fa3(0x219)];}return _0x3ece4c;}[_0x4a6c5d(0x1f1)](){const _0x1e9d8e=_0x4a6c5d;let _0x3cf1d4,_0x5c3960;return this[_0x1e9d8e(0x1d3)]?.[_0x1e9d8e(0x225)]?(_0x3cf1d4=this[_0x1e9d8e(0x1d3)][_0x1e9d8e(0x225)][_0x1e9d8e(0x235)](!0x0),_0x5c3960=this[_0x1e9d8e(0x1f9)](_0x3cf1d4)):(_0x3cf1d4=document[_0x1e9d8e(0x208)](_0x1e9d8e(0x246)),_0x5c3960=_0x3cf1d4),{'calculationContainer':_0x3cf1d4,'targetContainer':_0x5c3960};}[_0x4a6c5d(0x1f2)](){const _0x441797=_0x4a6c5d,{calculationContainer:_0x3e7cca,targetContainer:_0x3e94da}=this[_0x441797(0x1f1)](),_0x5166bf=this[_0x441797(0x212)]();this[_0x441797(0x258)](_0x3e7cca,_0x5166bf);const _0x41bf77=this[_0x441797(0x1d3)]?.[_0x441797(0x225)]||this[_0x441797(0x25a)],_0x164826=_0x41bf77?.[_0x441797(0x219)];_0x164826?_0x164826[_0x441797(0x223)](_0x3e7cca):document[_0x441797(0x20c)][_0x441797(0x223)](_0x3e7cca),_0x3e7cca[_0x441797(0x237)]=_0x3e94da;const _0x102e4c=this[_0x441797(0x1d8)](_0x164826||null);return _0x3e7cca[_0x441797(0x21d)],_0x3e7cca[_0x441797(0x24a)]=_0x102e4c,_0x3e7cca;}[_0x4a6c5d(0x23b)](_0x2ef265,_0x1195ca){const _0x4ad824=_0x4a6c5d,_0x587ea2=_0x2ef265[_0x4ad824(0x237)]||_0x2ef265,_0x3fe35c=[],{rowCount:_0x418a7e}=this[_0x4ad824(0x21f)](_0x587ea2,_0x1195ca);if(_0x418a7e<=this[_0x4ad824(0x22f)][_0x4ad824(0x206)])return _0x3fe35c;const _0xd43c4=_0x1195ca[_0x4ad824(0x1fc)]();for(;_0xd43c4[_0x4ad824(0x222)]>0x0;){if(this[_0x4ad824(0x22b)](_0x2ef265,_0x587ea2,_0xd43c4)){const _0x1c988d=_0x1195ca[_0x4ad824(0x260)](_0x505b72=>!_0xd43c4[_0x4ad824(0x1dc)](_0x505b72));_0x3fe35c[_0x4ad824(0x22a)](..._0x1c988d);break;}if(!_0xd43c4[_0x4ad824(0x1fb)]())break;}return _0x3fe35c;}[_0x4a6c5d(0x21f)](_0x1595bb,_0x3521cb){const _0x4d6063=_0x4a6c5d;_0x1595bb[_0x4d6063(0x22e)]='',_0x3521cb[_0x4d6063(0x234)](_0x31300c=>{const _0x28aadb=_0x4d6063;if(_0x31300c[_0x28aadb(0x225)]){const _0x2b8ada=_0x31300c[_0x28aadb(0x225)][_0x28aadb(0x235)](!0x0);_0x1595bb[_0x28aadb(0x223)](_0x2b8ada);}}),_0x1595bb[_0x4d6063(0x21d)];const _0x400d9b=_0x1595bb[_0x4d6063(0x23f)],_0x374220=[];return Array[_0x4d6063(0x207)](_0x400d9b)[_0x4d6063(0x234)](_0x47b345=>{const _0x3ea25a=_0x4d6063,_0x3f57f1=_0x47b345[_0x3ea25a(0x1f4)]()[_0x3ea25a(0x255)];_0x374220[_0x3ea25a(0x1cd)](_0x1606ba=>Math[_0x3ea25a(0x227)](_0x1606ba-_0x3f57f1)<this[_0x3ea25a(0x22f)][_0x3ea25a(0x252)])||_0x374220[_0x3ea25a(0x22a)](_0x3f57f1);}),{'rowCount':_0x374220[_0x4d6063(0x222)]};}[_0x4a6c5d(0x1ef)](){const _0x21cc1c=_0x4a6c5d,_0x46cf7f=document[_0x21cc1c(0x208)](_0x21cc1c(0x214));return _0x46cf7f[_0x21cc1c(0x204)]=this[_0x21cc1c(0x22f)][_0x21cc1c(0x230)][_0x21cc1c(0x233)],this[_0x21cc1c(0x22f)][_0x21cc1c(0x230)][_0x21cc1c(0x259)]&&_0x46cf7f[_0x21cc1c(0x1de)][_0x21cc1c(0x239)](this[_0x21cc1c(0x22f)][_0x21cc1c(0x230)][_0x21cc1c(0x259)]),_0x46cf7f[_0x21cc1c(0x1e0)]=_0x21cc1c(0x228),_0x46cf7f;}[_0x4a6c5d(0x22b)](_0x240707,_0x25df9e,_0x3dd21d){const _0x2b7b0a=_0x4a6c5d;this[_0x2b7b0a(0x21f)](_0x25df9e,_0x3dd21d);const _0x7d8d27=this[_0x2b7b0a(0x1ef)]();_0x240707[_0x2b7b0a(0x223)](_0x7d8d27),_0x240707[_0x2b7b0a(0x21d)];const _0x22e65f=[..._0x25df9e[_0x2b7b0a(0x23f)],_0x7d8d27],_0xd48ad8=[];_0x22e65f[_0x2b7b0a(0x234)](_0x1a63c2=>{const _0x8382cc=_0x2b7b0a,_0x5f24fe=_0x1a63c2[_0x8382cc(0x1f4)]()[_0x8382cc(0x255)];_0xd48ad8[_0x8382cc(0x1cd)](_0x3009ce=>Math[_0x8382cc(0x227)](_0x3009ce-_0x5f24fe)<this[_0x8382cc(0x22f)][_0x8382cc(0x252)])||_0xd48ad8[_0x8382cc(0x22a)](_0x5f24fe);});const _0x561716=_0xd48ad8[_0x2b7b0a(0x222)];return _0x7d8d27[_0x2b7b0a(0x226)](),_0x561716<=this[_0x2b7b0a(0x22f)][_0x2b7b0a(0x206)];}[_0x4a6c5d(0x1e1)](_0x8466a1,_0x1ec8f2){const _0x4c8cac=_0x4a6c5d;this[_0x4c8cac(0x251)][_0x4c8cac(0x247)](),this[_0x4c8cac(0x229)][_0x4c8cac(0x247)](),_0x8466a1[_0x4c8cac(0x234)](_0x375578=>{const _0x3f8af6=_0x4c8cac;_0x1ec8f2[_0x3f8af6(0x1dc)](_0x375578)?this[_0x3f8af6(0x229)][_0x3f8af6(0x239)](_0x375578):this[_0x3f8af6(0x251)][_0x3f8af6(0x239)](_0x375578);});}[_0x4a6c5d(0x1f6)](_0x528616){const _0x18323a=_0x4a6c5d;if(_0x528616>0x0&&!this[_0x18323a(0x218)]&&this[_0x18323a(0x1ec)](),_0x528616>0x0&&this[_0x18323a(0x218)]){const _0x2476a3=''+this[_0x18323a(0x22f)][_0x18323a(0x205)]+(_0x528616<0x63?_0x528616:'99');this[_0x18323a(0x218)][_0x18323a(0x1d4)]=_0x2476a3;}this[_0x18323a(0x1cf)](),this[_0x18323a(0x200)](),this[_0x18323a(0x216)]();}[_0x4a6c5d(0x220)](_0x1175b8,_0x85e694){const _0x57d3d4=_0x4a6c5d;this[_0x57d3d4(0x1e1)](_0x1175b8,_0x85e694),this[_0x57d3d4(0x1f6)](_0x85e694[_0x57d3d4(0x222)]);}[_0x4a6c5d(0x23e)](){const _0x4c0dba=_0x4a6c5d;this[_0x4c0dba(0x25a)]&&_0x4c0dba(0x244)!=typeof IntersectionObserver&&(this[_0x4c0dba(0x1d9)]=new IntersectionObserver(_0x1d3961=>{const _0x30b9e4=_0x4c0dba;_0x1d3961[0x0][_0x30b9e4(0x209)]&&this[_0x30b9e4(0x1fe)]&&requestAnimationFrame(()=>{const _0x44ea96=_0x30b9e4;this[_0x44ea96(0x21b)]();});},{'threshold':0.01,'rootMargin':_0x4c0dba(0x23a)}),this[_0x4c0dba(0x1d9)][_0x4c0dba(0x25f)](this[_0x4c0dba(0x25a)]));}[_0x4a6c5d(0x1dd)](){const _0x45c0d5=_0x4a6c5d;if(!this[_0x45c0d5(0x25a)])return!0x1;if(!this[_0x45c0d5(0x25a)][_0x45c0d5(0x24d)])return!0x1;const _0x460e05=this[_0x45c0d5(0x25a)][_0x45c0d5(0x1f4)]();if(0x0===_0x460e05[_0x45c0d5(0x232)]||0x0===_0x460e05[_0x45c0d5(0x24b)])return!0x1;const _0x4890e5=window[_0x45c0d5(0x1eb)]||document[_0x45c0d5(0x238)][_0x45c0d5(0x201)],_0x4a8db3=window[_0x45c0d5(0x20d)]||document[_0x45c0d5(0x238)][_0x45c0d5(0x22d)],_0x51a499=0xc8;return _0x460e05[_0x45c0d5(0x1df)]>=-0xc8&&_0x460e05[_0x45c0d5(0x255)]<=_0x4890e5+_0x51a499&&_0x460e05[_0x45c0d5(0x23d)]>=-0xc8&&_0x460e05[_0x45c0d5(0x221)]<=_0x4a8db3+_0x51a499;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3328(_0x1c620d,_0x38b0a4){const _0x36ff93=_0x36ff();return _0x3328=function(_0x332807,_0x299905){_0x332807=_0x332807-0xee;let _0x235f60=_0x36ff93[_0x332807];return _0x235f60;},_0x3328(_0x1c620d,_0x38b0a4);}function _0x36ff(){const _0x399b31=['fire','ck-ai-chat-context-chip','itemType','div','disableAnimationOnEnter','small','removeEventListener','content','_createLabelElement','execute','span','5Qkyiap','_createIconView','addEventListener','ck-ai-chat-context-chip_wide','22131307irkiBw','uiId','extendTemplate','9UVubdt','945366ogxUDL','937308PUgRXf','type','_createLoaderIcon','_initializeProperties','_isAnimationOnEnterEnabled','locale','remove','576nYNBDz','render','tooltip','72140qsHsFo','setTemplate','selection','_createTemplateAttributes','_createTemplateChildren','ck-ai-chat-context-controls__chip-tooltip','webkitAnimationEnd','_setupTemplate','classList','_setupRemoveButtonEvent','slice','set','isVisible','ck-hidden','removeContextItemChip','element','1133100xtccZT','312956AFduMu','isLoading','ck-ai-chat-context-chip_document','_createRemoveButton','length','readonly','32hjvAgo','add','bind','lastIndexOf','ck-ai-chat-context-chip__label','ck-ai-chat-context-chip_new-chip','animationend','_handleAnimationEndOnce','label','bindTemplate','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','document','ck-ai-chat-context-chip__type-icon','607614uZATKB'];_0x36ff=function(){return _0x399b31;};return _0x36ff();}const _0x1c27ad=_0x3328;(function(_0x1ba482,_0x3c750f){const _0x21ed8=_0x3328,_0x569bdc=_0x1ba482();while(!![]){try{const _0x1cb8be=-parseInt(_0x21ed8(0x11e))/0x1+parseInt(_0x21ed8(0x10a))/0x2+parseInt(_0x21ed8(0xee))/0x3*(-parseInt(_0x21ed8(0xf0))/0x4)+parseInt(_0x21ed8(0x12a))/0x5*(-parseInt(_0x21ed8(0xef))/0x6)+parseInt(_0x21ed8(0x10b))/0x7*(-parseInt(_0x21ed8(0x111))/0x8)+-parseInt(_0x21ed8(0xf7))/0x9*(parseInt(_0x21ed8(0xfa))/0xa)+parseInt(_0x21ed8(0x12e))/0xb;if(_0x1cb8be===_0x3c750f)break;else _0x569bdc['push'](_0x569bdc['shift']());}catch(_0x490805){_0x569bdc['push'](_0x569bdc['shift']());}}}(_0x36ff,0x72b2b));import{ButtonView as _0x21b958,IconView as _0x4d9f35}from'ckeditor5/src/ui.js';import{IconClose as _0x42a547,IconDocument as _0x1799db,IconFileUpload as _0x26f933,IconLink as _0x1c4080,IconSelection as _0x1b0a13}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x26ac6f}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x451ea4}from'../../../aicore/ui/aispinner.js';const mn={'file':_0x26f933,'document':_0x1799db,'web-resource':_0x1c4080,'text':_0x26f933,'selection':_0x1b0a13},dn=_0x1c27ad(0x120),un=_0x1c27ad(0x12d),_n=_0x1c27ad(0x10d),kn=_0x1c27ad(0x115),xn=_0x1c27ad(0x11d),bn=_0x1c27ad(0xff),wn='n';export class AIChatContextItemButtonView extends _0x21b958{constructor(_0xdf7226,_0x1ccb60,_0x541b72,_0xe92e22,_0x54fbe7=!0x1){const _0x581631=_0x1c27ad;super(_0xdf7226),this[_0x581631(0xf4)]=_0xe92e22,this[_0x581631(0xf3)](_0x1ccb60,_0x541b72,_0x54fbe7),this[_0x581631(0x101)]();}[_0x1c27ad(0xf8)](){const _0x3f6308=_0x1c27ad;super[_0x3f6308(0xf8)](),this[_0x3f6308(0xf4)]&&this[_0x3f6308(0x109)]&&(this[_0x3f6308(0x109)][_0x3f6308(0x102)][_0x3f6308(0x112)](_0x3f6308(0x116)),this[_0x3f6308(0x118)](this[_0x3f6308(0x109)],()=>{const _0x317644=_0x3f6308;this[_0x317644(0x109)]&&this[_0x317644(0x109)][_0x317644(0x102)][_0x317644(0xf6)](_0x317644(0x116));}));}[_0x1c27ad(0x123)](){const _0x3fdc29=_0x1c27ad;this[_0x3fdc29(0xf4)]=!0x1,this[_0x3fdc29(0x109)]&&this[_0x3fdc29(0x109)][_0x3fdc29(0x102)][_0x3fdc29(0xf6)](_0x3fdc29(0x116));}[_0x1c27ad(0xf3)](_0x4c8202,_0x2ab55b,_0x25b239){const _0x323afc=_0x1c27ad;this[_0x323afc(0x105)](_0x323afc(0x119),_0x4c8202[_0x323afc(0x119)]),this[_0x323afc(0x105)](_0x323afc(0xf9),!0x0),this[_0x323afc(0x105)](_0x323afc(0x121),_0x4c8202[_0x323afc(0xf1)]),this[_0x323afc(0x105)]('id',_0x4c8202[_0x323afc(0x12f)]),this[_0x323afc(0x105)](_0x323afc(0x110),_0x2ab55b),this[_0x323afc(0x105)](_0x323afc(0x10c),_0x25b239);}[_0x1c27ad(0x101)](){const _0x53039d=_0x1c27ad,_0x47cef4=this[_0x53039d(0x12b)](),_0x280344=this[_0x53039d(0x10e)](),_0x16deec=this[_0x53039d(0x11a)];this[_0x53039d(0xfb)]({'tag':_0x53039d(0x122),'attributes':this[_0x53039d(0xfd)](_0x16deec),'children':this[_0x53039d(0xfe)](_0x47cef4,_0x280344,_0x16deec)});}[_0x1c27ad(0xfd)](_0x76f0be){const _0x133d58=_0x1c27ad;return{'class':[dn,_0x76f0be['if'](_0x133d58(0x121),_n,_0x3f1500=>_0x133d58(0x11c)==_0x3f1500),_0x76f0be['if'](_0x133d58(0x121),un,_0x2b40e7=>_0x133d58(0xfc)==_0x2b40e7)],'data-cke-tooltip-text':_0x76f0be['to'](_0x133d58(0x119),Tn),'data-cke-tooltip-position':wn,'data-cke-tooltip-class':bn};}[_0x1c27ad(0xfe)](_0xa8ae59,_0x621f39,_0x10c5b5){const _0x309a9f=_0x1c27ad,_0x7e044e=this[_0x309a9f(0x127)](_0x10c5b5),_0xef0a94=this[_0x309a9f(0xf2)]();return this[_0x309a9f(0x110)]?[_0xa8ae59,_0x7e044e]:[_0xa8ae59,_0xef0a94,_0x7e044e,_0x621f39];}[_0x1c27ad(0x127)](_0x3a1469){const _0x3bf7a2=_0x1c27ad;return{'tag':_0x3bf7a2(0x129),'attributes':{'class':kn},'children':[{'text':_0x3a1469['to'](_0x3bf7a2(0x119))}]};}[_0x1c27ad(0x10e)](){const _0x5b7cd5=_0x1c27ad,_0x35f91a=new _0x21b958(this[_0x5b7cd5(0xf5)]);return _0x35f91a[_0x5b7cd5(0x105)]({'label':_0x26ac6f(this[_0x5b7cd5(0xf5)],_0x5b7cd5(0x11b)),'icon':_0x42a547}),this[_0x5b7cd5(0x103)](_0x35f91a),_0x35f91a;}[_0x1c27ad(0x103)](_0x57c213){const _0x2c6b7d=_0x1c27ad;_0x57c213['on'](_0x2c6b7d(0x128),()=>{const _0xc1dfdb=_0x2c6b7d;this[_0xc1dfdb(0x11f)](_0xc1dfdb(0x108),this['id']);});}[_0x1c27ad(0x12b)](){const _0x533bb4=_0x1c27ad,_0x3b7529=this[_0x533bb4(0x11a)],_0x4b3238=new _0x4d9f35();return _0x4b3238[_0x533bb4(0x126)]=mn[this[_0x533bb4(0x121)]],_0x4b3238[_0x533bb4(0x130)]({'attributes':{'class':[xn,_0x3b7529['if'](_0x533bb4(0x10c),_0x533bb4(0x107),_0x5d2fc7=>_0x5d2fc7)]}}),_0x4b3238;}[_0x1c27ad(0x118)](_0x4b463b,_0x48bf89){const _0xb3f53b=_0x1c27ad;if(!_0x4b463b)return;const _0x178fff=()=>{const _0x2578a4=_0x3328;_0x48bf89(),_0x4b463b[_0x2578a4(0x125)](_0x2578a4(0x117),_0x178fff),_0x4b463b[_0x2578a4(0x125)](_0x2578a4(0x100),_0x178fff);};_0x4b463b[_0xb3f53b(0x12c)](_0xb3f53b(0x117),_0x178fff),_0x4b463b[_0xb3f53b(0x12c)](_0xb3f53b(0x100),_0x178fff);}[_0x1c27ad(0xf2)](){const _0x5de3a5=_0x1c27ad,_0x593291=new _0x451ea4(_0x5de3a5(0x124));return _0x593291[_0x5de3a5(0x113)](_0x5de3a5(0x106))['to'](this,_0x5de3a5(0x10c),_0x46572e=>_0x46572e),_0x593291;}}function Tn(_0x149648){const _0x1374f3=_0x1c27ad;if(!_0x149648)return _0x149648;if(_0x149648[_0x1374f3(0x10f)]<=0x78)return _0x149648;const _0x383ff6=_0x149648[_0x1374f3(0x104)](0x0,0x78),_0x264e34=_0x383ff6[_0x1374f3(0x114)]('\x20');return(_0x264e34>0x0?_0x383ff6[_0x1374f3(0x104)](0x0,_0x264e34):_0x383ff6)+'…';}
23
+ function _0x4a44(_0x5cb58a,_0x962f89){const _0x2ebab8=_0x2eba();return _0x4a44=function(_0x4a446d,_0x5df947){_0x4a446d=_0x4a446d-0x100;let _0x580f42=_0x2ebab8[_0x4a446d];return _0x580f42;},_0x4a44(_0x5cb58a,_0x962f89);}const _0x4432fa=_0x4a44;(function(_0x4e959e,_0xab11c0){const _0x511726=_0x4a44,_0x467a9c=_0x4e959e();while(!![]){try{const _0x3a84f9=-parseInt(_0x511726(0x12d))/0x1*(parseInt(_0x511726(0x130))/0x2)+-parseInt(_0x511726(0x12f))/0x3*(-parseInt(_0x511726(0x142))/0x4)+parseInt(_0x511726(0x119))/0x5+-parseInt(_0x511726(0x114))/0x6+parseInt(_0x511726(0x109))/0x7*(parseInt(_0x511726(0x101))/0x8)+parseInt(_0x511726(0x137))/0x9*(-parseInt(_0x511726(0x120))/0xa)+-parseInt(_0x511726(0x138))/0xb;if(_0x3a84f9===_0xab11c0)break;else _0x467a9c['push'](_0x467a9c['shift']());}catch(_0x2c7845){_0x467a9c['push'](_0x467a9c['shift']());}}}(_0x2eba,0xb4f3e));import{ButtonView as _0x465bb6,IconView as _0x5463fa}from'ckeditor5/src/ui.js';import{IconClose as _0x14b4e3,IconDocument as _0x53b789,IconFileUpload as _0x2d15a1,IconLink as _0x3cb86c,IconSelection as _0x3d2223}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2d5f41}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x4c952e}from'../../../aicore/ui/aispinner.js';function _0x2eba(){const _0x90c0ba=['classList','uiId','5793300mrbgzj','_createLabelElement','_createLoaderIcon','label','slice','ck-ai-chat-context-chip','_createIconView','1498920UtrCax','ck-ai-chat-context-controls__chip-tooltip','remove','lastIndexOf','setTemplate','element','disableAnimationOnEnter','_handleAnimationEndOnce','ck-ai-chat-context-chip__type-icon','ck-ai-chat-context-chip_document','span','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','small','1RiRcUK','ck-ai-chat-context-chip__label','3HBDUET','1994588ZviMyT','extendTemplate','document','readonly','webkitAnimationEnd','content','add','27MrIRBt','5767476ZQvOWv','div','fire','removeEventListener','_setupTemplate','selection','set','isVisible','animationend','_createTemplateChildren','3264824bZNZwV','execute','7216VPboLr','itemType','_isAnimationOnEnterEnabled','addEventListener','locale','ck-hidden','ck-ai-chat-context-chip_wide','_createRemoveButton','8197kGyscX','type','isLoading','removeContextItemChip','ck-ai-chat-context-chip_new-chip','length','_initializeProperties','_setupRemoveButtonEvent','bind','_createTemplateAttributes','tooltip','1911840KVUGgu','bindTemplate','render'];_0x2eba=function(){return _0x90c0ba;};return _0x2eba();}const mn={'file':_0x2d15a1,'document':_0x53b789,'web-resource':_0x3cb86c,'text':_0x2d15a1,'selection':_0x3d2223},dn=_0x4432fa(0x11e),un=_0x4432fa(0x107),_n=_0x4432fa(0x129),kn=_0x4432fa(0x12e),xn=_0x4432fa(0x128),bn=_0x4432fa(0x121),wn='n';export class AIChatContextItemButtonView extends _0x465bb6{constructor(_0x2ee51d,_0x2dc19b,_0x1bc2bd,_0x31c47f,_0x5397a1=!0x1){const _0x13db00=_0x4432fa;super(_0x2ee51d),this[_0x13db00(0x103)]=_0x31c47f,this[_0x13db00(0x10f)](_0x2dc19b,_0x1bc2bd,_0x5397a1),this[_0x13db00(0x13c)]();}[_0x4432fa(0x116)](){const _0x339882=_0x4432fa;super[_0x339882(0x116)](),this[_0x339882(0x103)]&&this[_0x339882(0x125)]&&(this[_0x339882(0x125)][_0x339882(0x117)][_0x339882(0x136)](_0x339882(0x10d)),this[_0x339882(0x127)](this[_0x339882(0x125)],()=>{const _0x24014a=_0x339882;this[_0x24014a(0x125)]&&this[_0x24014a(0x125)][_0x24014a(0x117)][_0x24014a(0x122)](_0x24014a(0x10d));}));}[_0x4432fa(0x126)](){const _0x1e30e1=_0x4432fa;this[_0x1e30e1(0x103)]=!0x1,this[_0x1e30e1(0x125)]&&this[_0x1e30e1(0x125)][_0x1e30e1(0x117)][_0x1e30e1(0x122)](_0x1e30e1(0x10d));}[_0x4432fa(0x10f)](_0x35d144,_0x1b9685,_0x3a8e08){const _0x4d5d71=_0x4432fa;this[_0x4d5d71(0x13e)](_0x4d5d71(0x11c),_0x35d144[_0x4d5d71(0x11c)]),this[_0x4d5d71(0x13e)](_0x4d5d71(0x113),!0x0),this[_0x4d5d71(0x13e)](_0x4d5d71(0x102),_0x35d144[_0x4d5d71(0x10a)]),this[_0x4d5d71(0x13e)]('id',_0x35d144[_0x4d5d71(0x118)]),this[_0x4d5d71(0x13e)](_0x4d5d71(0x133),_0x1b9685),this[_0x4d5d71(0x13e)](_0x4d5d71(0x10b),_0x3a8e08);}[_0x4432fa(0x13c)](){const _0x475591=_0x4432fa,_0x320b41=this[_0x475591(0x11f)](),_0x4a5a57=this[_0x475591(0x108)](),_0x525f34=this[_0x475591(0x115)];this[_0x475591(0x124)]({'tag':_0x475591(0x139),'attributes':this[_0x475591(0x112)](_0x525f34),'children':this[_0x475591(0x141)](_0x320b41,_0x4a5a57,_0x525f34)});}[_0x4432fa(0x112)](_0xce9993){const _0x694f38=_0x4432fa;return{'class':[dn,_0xce9993['if'](_0x694f38(0x102),_n,_0x5b01aa=>_0x694f38(0x132)==_0x5b01aa),_0xce9993['if'](_0x694f38(0x102),un,_0x78a22d=>_0x694f38(0x13d)==_0x78a22d)],'data-cke-tooltip-text':_0xce9993['to'](_0x694f38(0x11c),Tn),'data-cke-tooltip-position':wn,'data-cke-tooltip-class':bn};}[_0x4432fa(0x141)](_0x329b6c,_0x5dfb1a,_0x2921bf){const _0x162dc1=_0x4432fa,_0x19095b=this[_0x162dc1(0x11a)](_0x2921bf),_0x56f9f5=this[_0x162dc1(0x11b)]();return this[_0x162dc1(0x133)]?[_0x329b6c,_0x19095b]:[_0x329b6c,_0x56f9f5,_0x19095b,_0x5dfb1a];}[_0x4432fa(0x11a)](_0x55713e){const _0x21e47a=_0x4432fa;return{'tag':_0x21e47a(0x12a),'attributes':{'class':kn},'children':[{'text':_0x55713e['to'](_0x21e47a(0x11c))}]};}[_0x4432fa(0x108)](){const _0x23270e=_0x4432fa,_0x9d092e=new _0x465bb6(this[_0x23270e(0x105)]);return _0x9d092e[_0x23270e(0x13e)]({'label':_0x2d5f41(this[_0x23270e(0x105)],_0x23270e(0x12b)),'icon':_0x14b4e3}),this[_0x23270e(0x110)](_0x9d092e),_0x9d092e;}[_0x4432fa(0x110)](_0x3bfb5f){const _0xf92197=_0x4432fa;_0x3bfb5f['on'](_0xf92197(0x100),()=>{const _0x554dca=_0xf92197;this[_0x554dca(0x13a)](_0x554dca(0x10c),this['id']);});}[_0x4432fa(0x11f)](){const _0x1263a3=_0x4432fa,_0x418f2f=this[_0x1263a3(0x115)],_0x26c4cd=new _0x5463fa();return _0x26c4cd[_0x1263a3(0x135)]=mn[this[_0x1263a3(0x102)]],_0x26c4cd[_0x1263a3(0x131)]({'attributes':{'class':[xn,_0x418f2f['if'](_0x1263a3(0x10b),_0x1263a3(0x106),_0x5338ff=>_0x5338ff)]}}),_0x26c4cd;}[_0x4432fa(0x127)](_0x1bb10e,_0x49a242){const _0x59a77b=_0x4432fa;if(!_0x1bb10e)return;const _0x10e9cc=()=>{const _0x2457cc=_0x4a44;_0x49a242(),_0x1bb10e[_0x2457cc(0x13b)](_0x2457cc(0x140),_0x10e9cc),_0x1bb10e[_0x2457cc(0x13b)](_0x2457cc(0x134),_0x10e9cc);};_0x1bb10e[_0x59a77b(0x104)](_0x59a77b(0x140),_0x10e9cc),_0x1bb10e[_0x59a77b(0x104)](_0x59a77b(0x134),_0x10e9cc);}[_0x4432fa(0x11b)](){const _0x210321=_0x4432fa,_0x47f193=new _0x4c952e(_0x210321(0x12c));return _0x47f193[_0x210321(0x111)](_0x210321(0x13f))['to'](this,_0x210321(0x10b),_0x328e49=>_0x328e49),_0x47f193;}}function Tn(_0x399dfd){const _0x5b3624=_0x4432fa;if(!_0x399dfd)return _0x399dfd;if(_0x399dfd[_0x5b3624(0x10e)]<=0x78)return _0x399dfd;const _0x3f7309=_0x399dfd[_0x5b3624(0x11d)](0x0,0x78),_0x42f68a=_0x3f7309[_0x5b3624(0x123)]('\x20');return(_0x42f68a>0x0?_0x3f7309[_0x5b3624(0x11d)](0x0,_0x42f68a):_0x3f7309)+'…';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d020c=_0x5941;function _0x1f2a(){const _0x54108b=['form','ck-ai-chat-context-controls__url-input-section','errorText','_setupEventHandlers','302247GATVdt','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','input','submit','656fwKVJm','render','ck-labeled-field-view_empty','setTemplate','ck-button-icon\x20ck-button-back','backButton','2061635HZHkpU','keystrokes','fire','esc','focusTracker','_createUrlInputField','31503pbwbZF','refreshBalloon','forEach','91646zmwvPj','destroy','20cXTLiW','cancel','createCollection','_createBackButton','length','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','value','AI_CHAT_CONTEXT_URL_LABEL','add','ck-ai-chat-context-controls__url-form','children','clearError','5915cfkXVf','_handleSubmit','clear','AI_CHAT_CONTEXT_URL_INVALID_ERROR','focus','execute','shift+tab','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','_focusables','element','submitUrl','AI_CHAT_CONTEXT_URL_ADD_URL','fieldView','isEnabled','stop','AI_CHAT_CONTEXT_URL_PLACEHOLDER','_createConfirmButton','_updateConfirmButtonState','getValue','12WzozHL','locale','_setupKeystrokes','setError','4065831SmYPHk','trim','focusCycler','_isValidUrl','confirmButton','709482FxJALm','ck-button-icon','div','52OWlWCo','listenTo','tab','set','_setupTemplate','7dqRUil','urlInputField'];_0x1f2a=function(){return _0x54108b;};return _0x1f2a();}(function(_0x172373,_0x36cf3b){const _0x533b3a=_0x5941,_0x44ebad=_0x172373();while(!![]){try{const _0x5c3226=-parseInt(_0x533b3a(0x193))/0x1*(-parseInt(_0x533b3a(0x1ac))/0x2)+parseInt(_0x533b3a(0x1a9))/0x3*(-parseInt(_0x533b3a(0x18e))/0x4)+parseInt(_0x533b3a(0x1a3))/0x5+parseInt(_0x533b3a(0x18b))/0x6+-parseInt(_0x533b3a(0x16f))/0x7*(parseInt(_0x533b3a(0x19d))/0x8)+parseInt(_0x533b3a(0x199))/0x9*(-parseInt(_0x533b3a(0x1ae))/0xa)+-parseInt(_0x533b3a(0x186))/0xb*(parseInt(_0x533b3a(0x182))/0xc);if(_0x5c3226===_0x36cf3b)break;else _0x44ebad['push'](_0x44ebad['shift']());}catch(_0x4a8b91){_0x44ebad['push'](_0x44ebad['shift']());}}}(_0x1f2a,0x32f69));import{FocusTracker as _0xc3821,KeystrokeHandler as _0x46480c}from'ckeditor5/src/utils.js';import{ButtonView as _0x41bf67,FocusCycler as _0x365365,LabeledFieldView as _0xc6e266,View as _0x21d9e9,FormHeaderView as _0x143a69,createLabeledInputText as _0x497e38,submitHandler as _0x204621}from'ckeditor5/src/ui.js';import{IconCheck as _0x39c0f7,IconPreviousArrow as _0x57ec3a}from'@ckeditor/ckeditor5-icons';function _0x5941(_0xa72ae7,_0x11df94){const _0x1f2af1=_0x1f2a();return _0x5941=function(_0x5941a5,_0x2715e5){_0x5941a5=_0x5941a5-0x16a;let _0x2208f6=_0x1f2af1[_0x5941a5];return _0x2208f6;},_0x5941(_0xa72ae7,_0x11df94);}import{getTranslation as _0x21e79e}from'../../../aicore/utils/common-translations.js';const eh=_0x3d020c(0x16c),hh=_0x3d020c(0x196);export class AIChatContextPanelUrlInputView extends _0x21d9e9{[_0x3d020c(0x1a7)];[_0x3d020c(0x1a4)];[_0x3d020c(0x177)];[_0x3d020c(0x188)];[_0x3d020c(0x194)];[_0x3d020c(0x1a2)];[_0x3d020c(0x18a)];constructor(_0x1d9256){const _0x3c14fa=_0x3d020c;super(_0x1d9256),this[_0x3c14fa(0x1a7)]=new _0xc3821(),this[_0x3c14fa(0x1a4)]=new _0x46480c(),this[_0x3c14fa(0x1a2)]=this[_0x3c14fa(0x1b1)](),this[_0x3c14fa(0x194)]=this[_0x3c14fa(0x1a8)](),this[_0x3c14fa(0x18a)]=this[_0x3c14fa(0x17f)](),this[_0x3c14fa(0x177)]=this[_0x3c14fa(0x1b0)]([this[_0x3c14fa(0x1a2)],this[_0x3c14fa(0x194)],this[_0x3c14fa(0x18a)]]),this[_0x3c14fa(0x188)]=new _0x365365({'focusables':this[_0x3c14fa(0x177)],'focusTracker':this[_0x3c14fa(0x1a7)],'keystrokeHandler':this[_0x3c14fa(0x1a4)],'actions':{'focusPrevious':_0x3c14fa(0x175),'focusNext':_0x3c14fa(0x190)}}),this[_0x3c14fa(0x192)](),this[_0x3c14fa(0x198)](),this[_0x3c14fa(0x184)]();}[_0x3d020c(0x19e)](){const _0x32ff8f=_0x3d020c;super[_0x32ff8f(0x19e)](),this[_0x32ff8f(0x177)][_0x32ff8f(0x1ab)](_0xbb337e=>{const _0x3ed3a0=_0x32ff8f;this[_0x3ed3a0(0x1a7)][_0x3ed3a0(0x16b)](_0xbb337e[_0x3ed3a0(0x178)]),this[_0x3ed3a0(0x1a4)][_0x3ed3a0(0x18f)](_0xbb337e[_0x3ed3a0(0x178)]);}),_0x204621({'view':this}),this[_0x32ff8f(0x173)]();}[_0x3d020c(0x1ad)](){const _0xff83e0=_0x3d020c;super[_0xff83e0(0x1ad)](),this[_0xff83e0(0x1a7)][_0xff83e0(0x1ad)](),this[_0xff83e0(0x1a4)][_0xff83e0(0x1ad)]();}[_0x3d020c(0x173)](){const _0x1633e9=_0x3d020c;this[_0x1633e9(0x194)][_0x1633e9(0x173)]();}[_0x3d020c(0x181)](){const _0x3f9cbb=_0x3d020c;return this[_0x3f9cbb(0x194)][_0x3f9cbb(0x17b)][_0x3f9cbb(0x178)]?.[_0x3f9cbb(0x1b4)]?.[_0x3f9cbb(0x187)]()||'';}[_0x3d020c(0x171)](){const _0x3bd353=_0x3d020c;this[_0x3bd353(0x194)][_0x3bd353(0x17b)][_0x3bd353(0x178)][_0x3bd353(0x1b4)]='',this[_0x3bd353(0x194)][_0x3bd353(0x197)]=null,this[_0x3bd353(0x18a)][_0x3bd353(0x17c)]=!0x1;}[_0x3d020c(0x185)](_0x30814a){const _0x50879a=_0x3d020c;this[_0x50879a(0x194)][_0x50879a(0x197)]=_0x30814a,this[_0x50879a(0x180)](),this[_0x50879a(0x1a5)](_0x50879a(0x1aa));}[_0x3d020c(0x16e)](){const _0x4abf77=_0x3d020c;this[_0x4abf77(0x194)][_0x4abf77(0x197)]=null,this[_0x4abf77(0x180)]();}[_0x3d020c(0x1b1)](){const _0x50d447=_0x3d020c,_0x2c0e36=new _0x41bf67(this[_0x50d447(0x183)]);return _0x2c0e36[_0x50d447(0x191)]({'icon':_0x57ec3a,'tooltip':_0x21e79e(this[_0x50d447(0x183)],_0x50d447(0x176)),'tooltipPosition':'n','class':_0x50d447(0x1a1)}),_0x2c0e36;}[_0x3d020c(0x1a8)](){const _0x461138=_0x3d020c,_0x529426=new _0xc6e266(this[_0x461138(0x183)],_0x497e38);return _0x529426[_0x461138(0x191)]({'label':_0x21e79e(this[_0x461138(0x183)],_0x461138(0x16a)),'class':_0x461138(0x19f)}),_0x529426[_0x461138(0x17b)][_0x461138(0x191)]({'placeholder':_0x21e79e(this[_0x461138(0x183)],_0x461138(0x17e))}),_0x529426;}[_0x3d020c(0x17f)](){const _0x50902a=_0x3d020c,_0x492e08=new _0x41bf67(this[_0x50902a(0x183)]);return _0x492e08[_0x50902a(0x191)]({'icon':_0x39c0f7,'tooltip':_0x21e79e(this[_0x50902a(0x183)],_0x50902a(0x17a)),'tooltipPosition':'n','class':_0x50902a(0x18c),'type':_0x50902a(0x19c),'isEnabled':!0x1}),_0x492e08;}[_0x3d020c(0x192)](){const _0x586935=_0x3d020c,_0x5cc035=new _0x143a69(this[_0x586935(0x183)],{'label':_0x21e79e(this[_0x586935(0x183)],_0x586935(0x17a)),'class':_0x586935(0x1b3)});_0x5cc035[_0x586935(0x16d)][_0x586935(0x16b)](this[_0x586935(0x1a2)],0x0),this[_0x586935(0x1a0)]({'tag':_0x586935(0x195),'attributes':{'class':eh,'tabindex':'-1'},'children':[_0x5cc035,{'tag':_0x586935(0x18d),'attributes':{'class':hh},'children':[this[_0x586935(0x194)],this[_0x586935(0x18a)]]}]});}[_0x3d020c(0x198)](){const _0x298775=_0x3d020c;this[_0x298775(0x1a2)]['on'](_0x298775(0x174),()=>{const _0x94d92a=_0x298775;this[_0x94d92a(0x171)](),this[_0x94d92a(0x1a5)](_0x94d92a(0x1af));}),this[_0x298775(0x194)][_0x298775(0x17b)]['on'](_0x298775(0x19b),()=>{const _0x8a49d0=_0x298775;this[_0x8a49d0(0x16e)](),this[_0x8a49d0(0x180)](),this[_0x8a49d0(0x1a5)](_0x8a49d0(0x1aa));}),this['on'](_0x298775(0x19c),_0x237b7d=>{const _0x30502d=_0x298775;_0x237b7d[_0x30502d(0x17d)](),this[_0x30502d(0x170)]();});}[_0x3d020c(0x184)](){const _0x4cd8d5=_0x3d020c;this[_0x4cd8d5(0x1a4)][_0x4cd8d5(0x191)](_0x4cd8d5(0x1a6),(_0x585219,_0x484a44)=>{const _0x4cbb31=_0x4cd8d5;this[_0x4cbb31(0x171)](),this[_0x4cbb31(0x1a5)](_0x4cbb31(0x1af)),_0x484a44();});}[_0x3d020c(0x170)](){const _0x41c24d=_0x3d020c,_0x35ef11=this[_0x41c24d(0x181)]()[_0x41c24d(0x187)]();_0x35ef11?this[_0x41c24d(0x189)](_0x35ef11)?(this[_0x41c24d(0x16e)](),this[_0x41c24d(0x1a5)](_0x41c24d(0x179),_0x35ef11)):this[_0x41c24d(0x185)](_0x21e79e(this[_0x41c24d(0x183)],_0x41c24d(0x172))):this[_0x41c24d(0x185)](_0x21e79e(this[_0x41c24d(0x183)],_0x41c24d(0x19a)));}[_0x3d020c(0x180)](){const _0x52dfa5=_0x3d020c,_0x564c20=this[_0x52dfa5(0x181)]()[_0x52dfa5(0x187)](),_0x2ca0a0=!!this[_0x52dfa5(0x194)][_0x52dfa5(0x197)];this[_0x52dfa5(0x18a)][_0x52dfa5(0x17c)]=_0x564c20[_0x52dfa5(0x1b2)]>0x0&&!_0x2ca0a0;}[_0x3d020c(0x189)](_0x115171){try{return!!new URL(_0x115171);}catch{return!0x1;}}}
23
+ function _0x5e91(_0x327dc5,_0x5af3f5){const _0x45b089=_0x45b0();return _0x5e91=function(_0x5e91ee,_0x516782){_0x5e91ee=_0x5e91ee-0x86;let _0xfedda2=_0x45b089[_0x5e91ee];return _0xfedda2;},_0x5e91(_0x327dc5,_0x5af3f5);}const _0x15d27b=_0x5e91;(function(_0x4d454e,_0x16d53c){const _0x5aae53=_0x5e91,_0x43a987=_0x4d454e();while(!![]){try{const _0x14c007=parseInt(_0x5aae53(0xb0))/0x1+parseInt(_0x5aae53(0xc3))/0x2+-parseInt(_0x5aae53(0x93))/0x3+parseInt(_0x5aae53(0xb1))/0x4*(parseInt(_0x5aae53(0xa4))/0x5)+parseInt(_0x5aae53(0x97))/0x6+-parseInt(_0x5aae53(0xc4))/0x7+-parseInt(_0x5aae53(0xad))/0x8*(parseInt(_0x5aae53(0x9a))/0x9);if(_0x14c007===_0x16d53c)break;else _0x43a987['push'](_0x43a987['shift']());}catch(_0xe31cc5){_0x43a987['push'](_0x43a987['shift']());}}}(_0x45b0,0xe6bd6));function _0x45b0(){const _0x4f43d6=['errorText','7254984FsZKje','_focusables','AI_CHAT_CONTEXT_URL_ADD_URL','2110743bNJNme','clearError','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','clear','trim','_isValidUrl','input','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','_createBackButton','_setupTemplate','4090505NwNnkN','backButton','fieldView','_updateConfirmButtonState','submit','element','_setupKeystrokes','ck-labeled-field-view_empty','length','64hltNrv','forEach','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','664801rtheVx','8oscErH','shift+tab','cancel','_handleSubmit','setTemplate','_createConfirmButton','div','form','focus','esc','isEnabled','keystrokes','children','set','stop','AI_CHAT_CONTEXT_URL_INVALID_ERROR','_createUrlInputField','locale','3314572glCjZQ','9298457RfHCbc','ck-button-icon','AI_CHAT_CONTEXT_URL_LABEL','tab','_setupEventHandlers','destroy','ck-ai-chat-context-controls__url-input-section','value','urlInputField','refreshBalloon','add','setError','getValue','ck-button-icon\x20ck-button-back','execute','AI_CHAT_CONTEXT_URL_PLACEHOLDER','ck-ai-chat-context-controls__url-form','submitUrl','createCollection','fire','focusTracker','render','focusCycler','3053328XYkhTQ','listenTo','confirmButton'];_0x45b0=function(){return _0x4f43d6;};return _0x45b0();}import{FocusTracker as _0x47a7d0,KeystrokeHandler as _0x14ec32}from'ckeditor5/src/utils.js';import{ButtonView as _0x182a52,FocusCycler as _0x5903b1,LabeledFieldView as _0x51359e,View as _0x8bc9b8,FormHeaderView as _0x5f8c8f,createLabeledInputText as _0x348786,submitHandler as _0x3438f7}from'ckeditor5/src/ui.js';import{IconCheck as _0xb9890f,IconPreviousArrow as _0x567d6d}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0xf8dee6}from'../../../aicore/utils/common-translations.js';const eh=_0x15d27b(0x8c),hh=_0x15d27b(0xca);export class AIChatContextPanelUrlInputView extends _0x8bc9b8{[_0x15d27b(0x90)];[_0x15d27b(0xbc)];[_0x15d27b(0x98)];[_0x15d27b(0x92)];[_0x15d27b(0xcc)];[_0x15d27b(0xa5)];[_0x15d27b(0x95)];constructor(_0x1aad5d){const _0x3a2dc2=_0x15d27b;super(_0x1aad5d),this[_0x3a2dc2(0x90)]=new _0x47a7d0(),this[_0x3a2dc2(0xbc)]=new _0x14ec32(),this[_0x3a2dc2(0xa5)]=this[_0x3a2dc2(0xa2)](),this[_0x3a2dc2(0xcc)]=this[_0x3a2dc2(0xc1)](),this[_0x3a2dc2(0x95)]=this[_0x3a2dc2(0xb6)](),this[_0x3a2dc2(0x98)]=this[_0x3a2dc2(0x8e)]([this[_0x3a2dc2(0xa5)],this[_0x3a2dc2(0xcc)],this[_0x3a2dc2(0x95)]]),this[_0x3a2dc2(0x92)]=new _0x5903b1({'focusables':this[_0x3a2dc2(0x98)],'focusTracker':this[_0x3a2dc2(0x90)],'keystrokeHandler':this[_0x3a2dc2(0xbc)],'actions':{'focusPrevious':_0x3a2dc2(0xb2),'focusNext':_0x3a2dc2(0xc7)}}),this[_0x3a2dc2(0xa3)](),this[_0x3a2dc2(0xc8)](),this[_0x3a2dc2(0xaa)]();}[_0x15d27b(0x91)](){const _0x464a21=_0x15d27b;super[_0x464a21(0x91)](),this[_0x464a21(0x98)][_0x464a21(0xae)](_0x4c915c=>{const _0x572376=_0x464a21;this[_0x572376(0x90)][_0x572376(0x86)](_0x4c915c[_0x572376(0xa9)]),this[_0x572376(0xbc)][_0x572376(0x94)](_0x4c915c[_0x572376(0xa9)]);}),_0x3438f7({'view':this}),this[_0x464a21(0xb9)]();}[_0x15d27b(0xc9)](){const _0x42912f=_0x15d27b;super[_0x42912f(0xc9)](),this[_0x42912f(0x90)][_0x42912f(0xc9)](),this[_0x42912f(0xbc)][_0x42912f(0xc9)]();}[_0x15d27b(0xb9)](){const _0x218620=_0x15d27b;this[_0x218620(0xcc)][_0x218620(0xb9)]();}[_0x15d27b(0x88)](){const _0x16dc53=_0x15d27b;return this[_0x16dc53(0xcc)][_0x16dc53(0xa6)][_0x16dc53(0xa9)]?.[_0x16dc53(0xcb)]?.[_0x16dc53(0x9e)]()||'';}[_0x15d27b(0x9d)](){const _0x20dbf8=_0x15d27b;this[_0x20dbf8(0xcc)][_0x20dbf8(0xa6)][_0x20dbf8(0xa9)][_0x20dbf8(0xcb)]='',this[_0x20dbf8(0xcc)][_0x20dbf8(0x96)]=null,this[_0x20dbf8(0x95)][_0x20dbf8(0xbb)]=!0x1;}[_0x15d27b(0x87)](_0x2c5172){const _0x50e8e7=_0x15d27b;this[_0x50e8e7(0xcc)][_0x50e8e7(0x96)]=_0x2c5172,this[_0x50e8e7(0xa7)](),this[_0x50e8e7(0x8f)](_0x50e8e7(0xcd));}[_0x15d27b(0x9b)](){const _0x65988=_0x15d27b;this[_0x65988(0xcc)][_0x65988(0x96)]=null,this[_0x65988(0xa7)]();}[_0x15d27b(0xa2)](){const _0x2bbcaa=_0x15d27b,_0x8fbd50=new _0x182a52(this[_0x2bbcaa(0xc2)]);return _0x8fbd50[_0x2bbcaa(0xbe)]({'icon':_0x567d6d,'tooltip':_0xf8dee6(this[_0x2bbcaa(0xc2)],_0x2bbcaa(0x9c)),'tooltipPosition':'n','class':_0x2bbcaa(0x89)}),_0x8fbd50;}[_0x15d27b(0xc1)](){const _0x1bd276=_0x15d27b,_0x1cf619=new _0x51359e(this[_0x1bd276(0xc2)],_0x348786);return _0x1cf619[_0x1bd276(0xbe)]({'label':_0xf8dee6(this[_0x1bd276(0xc2)],_0x1bd276(0xc6)),'class':_0x1bd276(0xab)}),_0x1cf619[_0x1bd276(0xa6)][_0x1bd276(0xbe)]({'placeholder':_0xf8dee6(this[_0x1bd276(0xc2)],_0x1bd276(0x8b))}),_0x1cf619;}[_0x15d27b(0xb6)](){const _0x1bbccf=_0x15d27b,_0x1d9507=new _0x182a52(this[_0x1bbccf(0xc2)]);return _0x1d9507[_0x1bbccf(0xbe)]({'icon':_0xb9890f,'tooltip':_0xf8dee6(this[_0x1bbccf(0xc2)],_0x1bbccf(0x99)),'tooltipPosition':'n','class':_0x1bbccf(0xc5),'type':_0x1bbccf(0xa8),'isEnabled':!0x1}),_0x1d9507;}[_0x15d27b(0xa3)](){const _0x5b85c3=_0x15d27b,_0x5da260=new _0x5f8c8f(this[_0x5b85c3(0xc2)],{'label':_0xf8dee6(this[_0x5b85c3(0xc2)],_0x5b85c3(0x99)),'class':_0x5b85c3(0xa1)});_0x5da260[_0x5b85c3(0xbd)][_0x5b85c3(0x86)](this[_0x5b85c3(0xa5)],0x0),this[_0x5b85c3(0xb5)]({'tag':_0x5b85c3(0xb8),'attributes':{'class':eh,'tabindex':'-1'},'children':[_0x5da260,{'tag':_0x5b85c3(0xb7),'attributes':{'class':hh},'children':[this[_0x5b85c3(0xcc)],this[_0x5b85c3(0x95)]]}]});}[_0x15d27b(0xc8)](){const _0x399e4c=_0x15d27b;this[_0x399e4c(0xa5)]['on'](_0x399e4c(0x8a),()=>{const _0x45a4a1=_0x399e4c;this[_0x45a4a1(0x9d)](),this[_0x45a4a1(0x8f)](_0x45a4a1(0xb3));}),this[_0x399e4c(0xcc)][_0x399e4c(0xa6)]['on'](_0x399e4c(0xa0),()=>{const _0x250e1d=_0x399e4c;this[_0x250e1d(0x9b)](),this[_0x250e1d(0xa7)](),this[_0x250e1d(0x8f)](_0x250e1d(0xcd));}),this['on'](_0x399e4c(0xa8),_0xa39693=>{const _0x135e67=_0x399e4c;_0xa39693[_0x135e67(0xbf)](),this[_0x135e67(0xb4)]();});}[_0x15d27b(0xaa)](){const _0x2b1c1a=_0x15d27b;this[_0x2b1c1a(0xbc)][_0x2b1c1a(0xbe)](_0x2b1c1a(0xba),(_0x515507,_0x30131b)=>{const _0x413e02=_0x2b1c1a;this[_0x413e02(0x9d)](),this[_0x413e02(0x8f)](_0x413e02(0xb3)),_0x30131b();});}[_0x15d27b(0xb4)](){const _0xf01cde=_0x15d27b,_0x1b3da8=this[_0xf01cde(0x88)]()[_0xf01cde(0x9e)]();_0x1b3da8?this[_0xf01cde(0x9f)](_0x1b3da8)?(this[_0xf01cde(0x9b)](),this[_0xf01cde(0x8f)](_0xf01cde(0x8d),_0x1b3da8)):this[_0xf01cde(0x87)](_0xf8dee6(this[_0xf01cde(0xc2)],_0xf01cde(0xc0))):this[_0xf01cde(0x87)](_0xf8dee6(this[_0xf01cde(0xc2)],_0xf01cde(0xaf)));}[_0x15d27b(0xa7)](){const _0x380b45=_0x15d27b,_0x58064c=this[_0x380b45(0x88)]()[_0x380b45(0x9e)](),_0x245869=!!this[_0x380b45(0xcc)][_0x380b45(0x96)];this[_0x380b45(0x95)][_0x380b45(0xbb)]=_0x58064c[_0x380b45(0xac)]>0x0&&!_0x245869;}[_0x15d27b(0x9f)](_0x477a74){try{return!!new URL(_0x477a74);}catch{return!0x1;}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34cbe6=_0x4498;function _0x2a99(){const _0x40b1eb=['bodyCollection','ck-ai-chat-context-controls','_urlInputView','conversation','southArrowNorthWest','addFileToContext','source','ck-ai-chat-context-controls__balloon-button','northArrowSouthEast','refreshBalloon','addContextButtonView','overflowChips','_setupTemplate','ck-ai-chat-controls-button','locale','fire','southArrowNorthEast','balloonView','focus','content','element','_addContextBalloonPanelView','setContextItemLoading','submitUrl','addUrlToContext','__arrow','_handleAddContextButtonClick','isEnabled','_resourcesBalloonView','label','defaultPositions','children','done','setTemplate','setAddContextOptions','southArrowNorth','set','_createUrlBalloonPanelView','showSourceResourcesBalloon','_createBaseBalloonPanel','AI_CHAT_CONTEXT_URL_LABEL','document','type','_createContextButton','_toggleAddContextBalloon','16XtePJW','removeContextItemChip','_createAddContextBalloonPanelView','_createBalloonButton','_addUrlContent','isAnyResourceBalloonVisible','_currentContextsChips','execute','closest','isLoading','_setBalloonPanelContent','hideUrlBalloonPanel','showAddContextBalloonPanel','find','addResourceToContext','buttonView','ck-ai-chat-controls_context_show-more-button','clear','ck-ai-chat','updateResourceState','clearConversationContextItems','_bindEventHandlers','_handleUrlSubmit','sources','_createResourcesBalloonView','6656184ttEvCx','ck-reset_all-excluded','cancel','14hnSVYf','setConversationContext','69730bLqEaA','loadSourceResources','enabled','ck-ai-chat-context-controls__pending-contexts','711PeBHcF','isVisible','ck-ai-chat-context-controls__show-more-balloon-panel','hide','_getLimiterElement','ck-ai-chat-context-controls__balloon-button-source','isOn','_setupAddContextBalloonClickOutsideHandler','ck-ai-chat-context-chips-wrapper-balloon','removeContextItem','setContainerElement','populateSourceResourceBalloon','96862EjZFUP','ck-ai-chat-context-controls__url-balloon-panel','tooltip','northArrowSouth','remove','_createArrowView','6046821GaktGZ','current','_showSourceResourcesBalloon','showUrlBalloonPanel','hideAddContextBalloonPanel','isHidden','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','body','urls','8QMrNAj','_conversationContextsChips','6747140lriVuq','_addContextBalloonConfig','menuitem','_overflowManager','extendTemplate','reorganizeChips','pin','northArrowSouthWest','arrowView','destroy','_createAddContextButtonView','ck-ai-chat-context-controls__add-context-balloon-panel','createCollection','addDocumentToContext','clearCurrentContextItems','closeSourceResourceBalloon','AI_CHAT_CONTEXT_FILE_LABEL','_setAddContextButtonEnabled','10878896aEUOSy','_urlBalloonPanelView','addContextItem','ck-ai-chat-context-controls__add-context-button','files','_removeContextFromCollection','_setupAllBalloonClickOutsideHandlers','render','_setupUrlBalloonClickOutsideHandler','div','_addContextToCollection','icon','1131459VZEhHW','show','isReadOnly','AI_CHAT_CONTEXT_ADD_CONTEXT','add','bind'];_0x2a99=function(){return _0x40b1eb;};return _0x2a99();}(function(_0x202cd5,_0x1aa023){const _0x7bdb17=_0x4498,_0x5df414=_0x202cd5();while(!![]){try{const _0x22f0e5=-parseInt(_0x7bdb17(0x1fe))/0x1*(-parseInt(_0x7bdb17(0x210))/0x2)+-parseInt(_0x7bdb17(0x23f))/0x3*(parseInt(_0x7bdb17(0x1e2))/0x4)+parseInt(_0x7bdb17(0x221))/0x5+-parseInt(_0x7bdb17(0x1fb))/0x6+-parseInt(_0x7bdb17(0x233))/0x7*(-parseInt(_0x7bdb17(0x21f))/0x8)+-parseInt(_0x7bdb17(0x204))/0x9*(-parseInt(_0x7bdb17(0x200))/0xa)+-parseInt(_0x7bdb17(0x216))/0xb;if(_0x22f0e5===_0x1aa023)break;else _0x5df414['push'](_0x5df414['shift']());}catch(_0x415fdd){_0x5df414['push'](_0x5df414['shift']());}}}(_0x2a99,0xeb8a2));function _0x4498(_0x3cbcd7,_0x3f4277){const _0x2a995e=_0x2a99();return _0x4498=function(_0x449823,_0x1e684b){_0x449823=_0x449823-0x1b6;let _0x4cb3a2=_0x2a995e[_0x449823];return _0x4cb3a2;},_0x4498(_0x3cbcd7,_0x3f4277);}import{BalloonPanelView as _0x10e7f5,ButtonView as _0x586562,clickOutsideHandler as _0x3bc392,FileDialogButtonView as _0x1721e2,IconView as _0x4d10cf,View as _0x1384c2}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x3abdc6,IconDocument as _0x24c9c6,IconDocumentOutline as _0x1544b9,IconDropdownArrow as _0x5ecd7c,IconLink as _0x2667f0,IconPaperClip as _0x256e27}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x3b1f6d}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x57bde9}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x2c13e0}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x117226}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x2a47b8}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x34cbe6(0x22e),_0x34cbe6(0x1ba),_0x34cbe6(0x1cd),_0x34cbe6(0x1f0),_0x34cbe6(0x20d),_0x34cbe6(0x201)];const bo=_0x34cbe6(0x1b6),To=_0x34cbe6(0x203),Ao=_0x34cbe6(0x22c),ko=_0x34cbe6(0x236),Eo=_0x34cbe6(0x211),vo=_0x34cbe6(0x1bc),go=_0x34cbe6(0x209),Vo=_0x34cbe6(0x1c2),fo=_0x34cbe6(0x20c),Io=_0x34cbe6(0x1f2),Po=_0x34cbe6(0x206),Ro=_0x34cbe6(0x1f4),So=[_0x10e7f5[_0x34cbe6(0x1d3)][_0x34cbe6(0x228)],_0x10e7f5[_0x34cbe6(0x1d3)][_0x34cbe6(0x213)],_0x10e7f5[_0x34cbe6(0x1d3)][_0x34cbe6(0x1bd)],_0x10e7f5[_0x34cbe6(0x1d3)][_0x34cbe6(0x1b9)],_0x10e7f5[_0x34cbe6(0x1d3)][_0x34cbe6(0x1d8)],_0x10e7f5[_0x34cbe6(0x1d3)][_0x34cbe6(0x1c5)]];export class AIChatContextPanelView extends _0x1384c2{[_0x34cbe6(0x1bf)];[_0x34cbe6(0x1e8)]=this[_0x34cbe6(0x22d)]();[_0x34cbe6(0x220)]=this[_0x34cbe6(0x22d)]();[_0x34cbe6(0x224)];[_0x34cbe6(0x1ca)];[_0x34cbe6(0x234)];[_0x34cbe6(0x1b7)];[_0x34cbe6(0x1d1)];[_0x34cbe6(0x222)];[_0x34cbe6(0x245)];constructor(_0x2f8b59,_0x562c34){const _0x931278=_0x34cbe6;super(_0x2f8b59),this[_0x931278(0x245)]=_0x562c34,this[_0x931278(0x1e8)]=this[_0x931278(0x22d)](),this[_0x931278(0x220)]=this[_0x931278(0x22d)](),this[_0x931278(0x1bf)]=this[_0x931278(0x22b)](_0x2f8b59),this[_0x931278(0x1ca)]=this[_0x931278(0x1e4)](_0x2f8b59),this[_0x931278(0x234)]=this[_0x931278(0x1da)](_0x2f8b59),this[_0x931278(0x1d1)]=this[_0x931278(0x1fa)](_0x2f8b59,_0x562c34);const _0x5f5afd={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Po,'overflowContainer':fo,'controlsButton':Vo}};this[_0x931278(0x224)]=new _0x2c13e0(_0x2f8b59,this[_0x931278(0x1e8)],_0x5f5afd,this[_0x931278(0x245)],this),this[_0x931278(0x222)]={'buttonView':this[_0x931278(0x1bf)],'balloonView':this[_0x931278(0x1ca)],'hideMethod':this[_0x931278(0x21a)][_0x931278(0x244)](this),'showMethod':this[_0x931278(0x1ee)][_0x931278(0x244)](this)},this[_0x931278(0x1c1)](),this[_0x931278(0x1f7)]();}[_0x34cbe6(0x23a)](){const _0x31ad22=_0x34cbe6;super[_0x31ad22(0x23a)](),this[_0x31ad22(0x239)](),this[_0x31ad22(0x224)][_0x31ad22(0x20e)](this[_0x31ad22(0x1c9)]),this[_0x31ad22(0x224)][_0x31ad22(0x226)]();}[_0x34cbe6(0x22a)](){const _0x5a449e=_0x34cbe6;super[_0x5a449e(0x22a)](),this[_0x5a449e(0x224)][_0x5a449e(0x22a)](),this[_0x5a449e(0x1d1)][_0x5a449e(0x22a)]();}[_0x34cbe6(0x235)](_0x3652b7,_0x2ef2ab){const _0x204c27=_0x34cbe6,_0x50fe73=this[_0x204c27(0x1e0)](_0x3652b7,_0x204c27(0x217),!0x0,_0x2ef2ab);this[_0x204c27(0x23d)](_0x50fe73,this[_0x204c27(0x1e8)]),this[_0x204c27(0x224)][_0x204c27(0x226)]();}[_0x34cbe6(0x20d)](_0x29fa9f){const _0x31eb43=_0x34cbe6;this[_0x31eb43(0x238)](_0x29fa9f,this[_0x31eb43(0x1e8)]),this[_0x31eb43(0x238)](_0x29fa9f,this[_0x31eb43(0x224)][_0x31eb43(0x1c0)]),this[_0x31eb43(0x224)][_0x31eb43(0x226)]();}[_0x34cbe6(0x1cb)](_0x4aa0a2,_0x81003c){const _0x40cf1a=_0x34cbe6;let _0x29e309=this[_0x40cf1a(0x1e8)][_0x40cf1a(0x1ef)](_0x3a2230=>_0x3a2230['id']===_0x4aa0a2);_0x29e309||(_0x29e309=this[_0x40cf1a(0x224)][_0x40cf1a(0x1c0)][_0x40cf1a(0x1ef)](_0x1a036d=>_0x1a036d['id']===_0x4aa0a2)),_0x29e309&&(_0x29e309[_0x40cf1a(0x1eb)]=_0x81003c);}[_0x34cbe6(0x1ff)](_0x56dcd5){const _0x2a932c=_0x34cbe6;this[_0x2a932c(0x220)][_0x2a932c(0x1f3)]();for(const _0xa0141b of _0x56dcd5){const _0x1c0e47=this[_0x2a932c(0x1e0)](_0xa0141b,_0x2a932c(0x1b8),!0x1,!0x1);this[_0x2a932c(0x23d)](_0x1c0e47,this[_0x2a932c(0x220)]);}}[_0x34cbe6(0x22f)](){const _0x3399e0=_0x34cbe6;this[_0x3399e0(0x1e8)][_0x3399e0(0x1f3)](),this[_0x3399e0(0x224)][_0x3399e0(0x1f3)]();}[_0x34cbe6(0x1f6)](){const _0x16bb73=_0x34cbe6;this[_0x16bb73(0x220)][_0x16bb73(0x1f3)]();}[_0x34cbe6(0x1f5)](_0xfc0a8e,_0x3b2177,_0x19e48b){const _0x187c1c=_0x34cbe6;this[_0x187c1c(0x1d1)][_0x187c1c(0x1f5)](_0xfc0a8e,_0x3b2177,_0x19e48b);}[_0x34cbe6(0x21a)](){const _0x185f2f=_0x34cbe6;this[_0x185f2f(0x1e1)](!0x1);}[_0x34cbe6(0x1ee)](){const _0x53fe19=_0x34cbe6;this[_0x53fe19(0x1e1)](!0x0);}[_0x34cbe6(0x1ed)](){const _0x590674=_0x34cbe6;this[_0x590674(0x234)][_0x590674(0x207)](),this[_0x590674(0x1bf)][_0x590674(0x20a)]=!0x1,this[_0x590674(0x1b7)]&&this[_0x590674(0x1b7)][_0x590674(0x1f3)]();}[_0x34cbe6(0x219)](){const _0x2420ea=_0x34cbe6;this[_0x2420ea(0x234)][_0x2420ea(0x240)](),this[_0x2420ea(0x1bf)][_0x2420ea(0x20a)]=!0x0;}[_0x34cbe6(0x218)](_0x59a7f0){const _0xabedba=_0x34cbe6;this[_0xabedba(0x1d1)][_0xabedba(0x1db)](_0x59a7f0),this[_0xabedba(0x1bf)][_0xabedba(0x20a)]=!0x0;}[_0x34cbe6(0x20f)](_0x1f03ce,_0x235631,_0x2e0cd9,_0x462dd9){const _0x62c6ee=_0x34cbe6;this[_0x62c6ee(0x1d1)][_0x62c6ee(0x20f)](_0x1f03ce,_0x2e0cd9,_0x462dd9);}[_0x34cbe6(0x230)](_0x54b2b4){const _0x206d0e=_0x34cbe6;this[_0x206d0e(0x1d1)][_0x206d0e(0x230)](_0x54b2b4),this[_0x206d0e(0x1bf)][_0x206d0e(0x20a)]=!0x1;}[_0x34cbe6(0x1d7)](_0x464746){const _0x1d2053=_0x34cbe6;this[_0x1d2053(0x1ec)](this[_0x1d2053(0x1ca)],this[_0x1d2053(0x1c3)],_0x464746),this[_0x1d2053(0x232)](_0x464746);}[_0x34cbe6(0x232)](_0x292e1e){const _0x42875c=_0x34cbe6,_0x5b4167=!_0x292e1e[_0x42875c(0x1de)][_0x42875c(0x21b)]&&_0x292e1e[_0x42875c(0x1de)][_0x42875c(0x202)],_0x3dabe9=_0x292e1e[_0x42875c(0x21e)][_0x42875c(0x202)],_0x498b89=_0x292e1e[_0x42875c(0x237)][_0x42875c(0x202)];this[_0x42875c(0x1bf)][_0x42875c(0x1d0)]=_0x5b4167||_0x3dabe9||_0x498b89;}[_0x34cbe6(0x1c1)](){const _0x59abf6=_0x34cbe6;this[_0x59abf6(0x1d6)]({'tag':_0x59abf6(0x23c),'attributes':{'class':[bo,_0x59abf6(0x1fc)]},'children':[{'tag':_0x59abf6(0x23c),'attributes':{'class':To},'children':this[_0x59abf6(0x1e8)]}]});}[_0x34cbe6(0x1f7)](){const _0x1d2a1b=_0x34cbe6;this[_0x1d2a1b(0x1bf)]['on'](_0x1d2a1b(0x1e9),()=>{const _0x5243e1=_0x1d2a1b;this[_0x5243e1(0x1cf)]();});}[_0x34cbe6(0x22b)](_0x17298c){const _0x2d88ca=_0x34cbe6,_0x82ab88=new _0x586562(_0x17298c);return _0x82ab88[_0x2d88ca(0x1d9)]({'label':_0x117226(_0x17298c,_0x2d88ca(0x242)),'class':Vo+'\x20'+ko,'icon':_0x256e27,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x82ab88;}[_0x34cbe6(0x1e4)](_0x3ddbd2){const _0x52bd8e=_0x34cbe6;return this[_0x52bd8e(0x1dc)](_0x3ddbd2,Ao);}[_0x34cbe6(0x1da)](_0x36d0db){const _0xdb6533=_0x34cbe6,_0x1576c3=this[_0xdb6533(0x1dc)](_0x36d0db,Eo);return this[_0xdb6533(0x1e6)](_0x1576c3,_0x36d0db),_0x1576c3;}[_0x34cbe6(0x1fa)](_0x58d3d2,_0x1bafa1){const _0x14c4b7=_0x34cbe6;return new _0x2a47b8(_0x58d3d2,_0x1bafa1,{'onBackToContext':()=>{const _0x346d7a=_0x4498;this[_0x346d7a(0x1ee)](),this[_0x346d7a(0x1ca)][_0x346d7a(0x227)]({'target':this[_0x346d7a(0x1bf)][_0x346d7a(0x1c9)],'limiter':this[_0x346d7a(0x208)](),'positions':So});},'onResourceSelected':(_0x4ea88d,_0x32368a)=>{const _0x4a131c=_0x4498;this[_0x4a131c(0x1c4)](_0x4a131c(0x1f0),{'source':_0x4ea88d,'resource':_0x32368a});},'onLoadSourceResources':_0x3c96de=>{const _0x3de4ce=_0x4498;this[_0x3de4ce(0x1c4)](_0x3de4ce(0x201),_0x3c96de);},'onBalloonClosed':()=>{const _0x4c5c8b=_0x4498;this[_0x4c5c8b(0x1bf)][_0x4c5c8b(0x20a)]=!0x1;},'getLimiterElement':()=>this[_0x14c4b7(0x208)](),'getTargetElement':()=>this[_0x14c4b7(0x1bf)][_0x14c4b7(0x1c9)]});}[_0x34cbe6(0x208)](){const _0x28a920=_0x34cbe6;return this[_0x28a920(0x1c9)]?.[_0x28a920(0x1ea)]('.'+Ro)||document[_0x28a920(0x21d)];}[_0x34cbe6(0x1dc)](_0x2f5317,_0x17d15c){const _0x3da32a=_0x34cbe6,_0x9d623b=new _0x10e7f5(_0x2f5317);return _0x9d623b[_0x3da32a(0x225)]({'attributes':{'class':_0x17d15c}}),this[_0x3da32a(0x245)][_0x3da32a(0x243)](_0x9d623b),_0x9d623b;}[_0x34cbe6(0x1ec)](_0x2d70c2,_0x5849cb,_0xbde76d){const _0x185c23=_0x34cbe6;if(_0x2d70c2[_0x185c23(0x1c8)][_0x185c23(0x1f3)](),!_0xbde76d[_0x185c23(0x1de)][_0x185c23(0x21b)]&&_0xbde76d[_0x185c23(0x1de)][_0x185c23(0x202)]){const _0x536a40=this[_0x185c23(0x1e5)](_0x5849cb,{'label':_0x117226(_0x5849cb,_0x185c23(0x21c)),'icon':_0x24c9c6});_0x536a40['on'](_0x185c23(0x1e9),()=>{const _0x36ae35=_0x185c23;this[_0x36ae35(0x1c4)](_0x36ae35(0x22e)),this[_0x36ae35(0x21a)]();}),_0x2d70c2[_0x185c23(0x1c8)][_0x185c23(0x243)](_0x536a40);}if(_0xbde76d[_0x185c23(0x21e)][_0x185c23(0x202)]){const _0x5bb3b5=this[_0x185c23(0x1e5)](_0x5849cb,{'label':_0x117226(_0x5849cb,_0x185c23(0x1dd)),'icon':_0x2667f0});_0x5bb3b5['on'](_0x185c23(0x1e9),()=>{const _0x1ecdb8=_0x185c23;this[_0x1ecdb8(0x21a)](),this[_0x1ecdb8(0x219)](),this[_0x1ecdb8(0x234)][_0x1ecdb8(0x227)]({'target':this[_0x1ecdb8(0x1bf)][_0x1ecdb8(0x1c9)],'limiter':this[_0x1ecdb8(0x208)](),'positions':So}),this[_0x1ecdb8(0x1b7)][_0x1ecdb8(0x1c7)]();}),_0x2d70c2[_0x185c23(0x1c8)][_0x185c23(0x243)](_0x5bb3b5);}if(_0xbde76d[_0x185c23(0x237)][_0x185c23(0x202)]){const _0xd5031d=new _0x1721e2(_0x5849cb);_0xd5031d[_0x185c23(0x1d9)]({'label':_0x117226(_0x5849cb,_0x185c23(0x231)),'icon':_0x3abdc6,'withText':!0x0,'tooltip':!0x0,'class':vo,'allowMultipleFiles':!0x0}),_0xd5031d['on'](_0x185c23(0x1d5),(_0x28c2a5,_0x395349)=>{const _0x4c563d=_0x185c23;this[_0x4c563d(0x1c4)](_0x4c563d(0x1ba),_0x395349),this[_0x4c563d(0x21a)]();}),_0xd5031d[_0x185c23(0x212)]=!0x0,_0x2d70c2[_0x185c23(0x1c8)][_0x185c23(0x243)](_0xd5031d);}for(const _0x1af35b of _0xbde76d[_0x185c23(0x1f9)]){const _0x23d49d=this[_0x185c23(0x1e5)](_0x5849cb,{'label':_0x1af35b[_0x185c23(0x1d2)],'icon':_0x1af35b[_0x185c23(0x23e)]||_0x1544b9,'type':_0x185c23(0x1bb)});_0x2d70c2[_0x185c23(0x1c8)][_0x185c23(0x243)](_0x23d49d),_0x23d49d['on'](_0x185c23(0x1e9),()=>{const _0x482e90=_0x185c23;this[_0x482e90(0x21a)](),this[_0x482e90(0x218)](_0x1af35b);});}}[_0x34cbe6(0x1e6)](_0x13cf41,_0x11737a){const _0x8599cf=_0x34cbe6;this[_0x8599cf(0x1b7)]=new _0x57bde9(_0x11737a),this[_0x8599cf(0x1b7)]['on'](_0x8599cf(0x1cc),(_0x31dd4f,_0xd585a0)=>{const _0x239a61=_0x8599cf;this[_0x239a61(0x1f8)](_0xd585a0);}),this[_0x8599cf(0x1b7)]['on'](_0x8599cf(0x1fd),()=>{const _0x56182d=_0x8599cf;this[_0x56182d(0x1ed)](),this[_0x56182d(0x1ee)](),this[_0x56182d(0x1ca)][_0x56182d(0x227)]({'target':this[_0x56182d(0x1bf)][_0x56182d(0x1c9)],'limiter':this[_0x56182d(0x208)](),'positions':So});}),this[_0x8599cf(0x1b7)]['on'](_0x8599cf(0x1be),()=>{const _0x122fdd=_0x8599cf;this[_0x122fdd(0x234)][_0x122fdd(0x205)]&&this[_0x122fdd(0x234)][_0x122fdd(0x227)]({'target':this[_0x122fdd(0x1bf)][_0x122fdd(0x1c9)],'limiter':this[_0x122fdd(0x208)](),'positions':So});}),_0x13cf41[_0x8599cf(0x1c8)][_0x8599cf(0x243)](this[_0x8599cf(0x1b7)]);}[_0x34cbe6(0x1e5)](_0x4f90e1,_0x615d8f){const _0x1cca1d=_0x34cbe6,_0x25ab7f=_0x1cca1d(0x1bb)===_0x615d8f[_0x1cca1d(0x1df)]?new SourcesBalloonButtonView(_0x4f90e1):new _0x586562(_0x4f90e1);return _0x25ab7f[_0x1cca1d(0x1d9)]({'label':_0x615d8f[_0x1cca1d(0x1d2)],'icon':_0x615d8f[_0x1cca1d(0x23e)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':vo}),_0x25ab7f;}[_0x34cbe6(0x239)](){const _0x5bc383=_0x34cbe6;this[_0x5bc383(0x20b)](),this[_0x5bc383(0x23b)]();}[_0x34cbe6(0x23b)](){const _0x4f3b59=_0x34cbe6;_0x3bc392({'emitter':this[_0x4f3b59(0x234)],'contextElements':[this[_0x4f3b59(0x234)][_0x4f3b59(0x1c9)]],'callback':()=>{const _0x115131=_0x4f3b59;this[_0x115131(0x1ed)]();},'activator':()=>this[_0x4f3b59(0x234)][_0x4f3b59(0x205)]});}[_0x34cbe6(0x1e1)](_0x50b1ef){const _0x1d66bb=_0x34cbe6,_0x8fa729=this[_0x1d66bb(0x222)];_0x8fa729[_0x1d66bb(0x1f1)][_0x1d66bb(0x20a)]=_0x50b1ef,_0x50b1ef?_0x8fa729[_0x1d66bb(0x1c6)][_0x1d66bb(0x240)]():_0x8fa729[_0x1d66bb(0x1c6)][_0x1d66bb(0x207)]();}[_0x34cbe6(0x20b)](){const _0x3c16c1=_0x34cbe6,{balloonView:_0x2846e1,buttonView:_0x1f3e0c,hideMethod:_0x36d6ea}=this[_0x3c16c1(0x222)];_0x3bc392({'emitter':_0x2846e1,'contextElements':[_0x2846e1[_0x3c16c1(0x1c9)],_0x1f3e0c[_0x3c16c1(0x1c9)]],'callback':()=>{_0x36d6ea();},'activator':()=>_0x1f3e0c[_0x3c16c1(0x20a)]&&!this[_0x3c16c1(0x234)][_0x3c16c1(0x205)]&&!this[_0x3c16c1(0x1d1)][_0x3c16c1(0x1e7)]()});}[_0x34cbe6(0x1e0)](_0x5d8122,_0x3667df,_0x37f1a9=!0x1,_0x187196=!0x1){const _0x122541=_0x34cbe6,_0x49a0b6=_0x122541(0x1b8)===_0x3667df||!0x0===_0x5d8122[_0x122541(0x241)],_0x578337=new _0x3b1f6d(this[_0x122541(0x1c3)],_0x5d8122,_0x49a0b6,_0x37f1a9,_0x187196);return _0x49a0b6||_0x578337['on'](_0x122541(0x1e3),()=>{const _0x5ea3c4=_0x122541;this[_0x5ea3c4(0x1c4)](_0x5ea3c4(0x20d),_0x578337['id']);}),_0x578337;}[_0x34cbe6(0x23d)](_0x4ef329,_0xcfdb8b){const _0x146dea=_0x34cbe6;_0xcfdb8b[_0x146dea(0x243)](_0x4ef329,0x0);}[_0x34cbe6(0x238)](_0x3f0f4d,_0xec7837){const _0x3518db=_0x34cbe6,_0x2c3392=_0xec7837[_0x3518db(0x1ef)](_0x305a99=>_0x305a99['id']===_0x3f0f4d);_0x2c3392&&_0xec7837[_0x3518db(0x214)](_0x2c3392);}[_0x34cbe6(0x1cf)](){const _0xf68163=_0x34cbe6;this[_0xf68163(0x1bf)][_0xf68163(0x20a)]?this[_0xf68163(0x21a)]():(this[_0xf68163(0x1ee)](),this[_0xf68163(0x1ca)][_0xf68163(0x227)]({'target':this[_0xf68163(0x1bf)][_0xf68163(0x1c9)],'limiter':this[_0xf68163(0x208)](),'positions':So}));}[_0x34cbe6(0x1f8)](_0x1f676c){const _0x47618c=_0x34cbe6;this[_0x47618c(0x1b7)][_0x47618c(0x1f3)](),this[_0x47618c(0x1ed)](),this[_0x47618c(0x1c4)](_0x47618c(0x1cd),_0x1f676c);}}export class SourcesBalloonButtonView extends _0x586562{[_0x34cbe6(0x229)];constructor(_0x529378){const _0x48c1a4=_0x34cbe6;super(_0x529378),this[_0x48c1a4(0x1d9)]({'withText':!0x0,'role':_0x48c1a4(0x223)}),this[_0x48c1a4(0x229)]=this[_0x48c1a4(0x215)](),this[_0x48c1a4(0x225)]({'attributes':{'class':[go]}});}[_0x34cbe6(0x23a)](){const _0x6e57d4=_0x34cbe6;super[_0x6e57d4(0x23a)](),this[_0x6e57d4(0x1d4)][_0x6e57d4(0x243)](this[_0x6e57d4(0x229)]);}[_0x34cbe6(0x215)](){const _0x23333c=_0x34cbe6,_0x52764c=new _0x4d10cf();return _0x52764c[_0x23333c(0x1c8)]=_0x5ecd7c,_0x52764c[_0x23333c(0x225)]({'attributes':{'class':go+_0x23333c(0x1ce)}}),_0x52764c;}}
23
+ function _0x7ee3(){const _0x588d0d=['element','urls','isLoading','224175LKUuit','reorganizeChips','_createContextButton','label','render','remove','_setupAddContextBalloonClickOutsideHandler','_overflowManager','buttonView','setAddContextOptions','showSourceResourcesBalloon','1784200wMvEpH','icon','ck-ai-chat-controls_context_show-more-button','pin','AI_CHAT_CONTEXT_URL_LABEL','balloonView','execute','_createUrlBalloonPanelView','clear','locale','_createAddContextBalloonPanelView','menuitem','_urlBalloonPanelView','addFileToContext','done','_getLimiterElement','_toggleAddContextBalloon','AI_CHAT_CONTEXT_ADD_CONTEXT','addResourceToContext','_conversationContextsChips','clearConversationContextItems','children','hideAddContextBalloonPanel','tooltip','ck-ai-chat-context-controls','ck-ai-chat-context-controls__show-more-balloon-panel','_createArrowView','removeContextItemChip','_addContextBalloonPanelView','ck-ai-chat-context-controls__add-context-balloon-panel','_createResourcesBalloonView','ck-ai-chat-context-controls__url-balloon-panel','hide','_setupUrlBalloonClickOutsideHandler','_resourcesBalloonView','isReadOnly','ck-reset_all-excluded','southArrowNorthEast','overflowChips','_urlInputView','content','_setupTemplate','_handleUrlSubmit','2245236LbIVGg','fire','northArrowSouthWest','ck-ai-chat-context-controls__balloon-button-source','ck-ai-chat-controls-button','addContextItem','sources','ck-ai-chat-context-controls__add-context-button','_showSourceResourcesBalloon','_createAddContextButtonView','hideUrlBalloonPanel','isAnyResourceBalloonVisible','northArrowSouth','southArrowNorth','files','_addContextToCollection','clearCurrentContextItems','3009222jeZtVK','updateResourceState','refreshBalloon','ck-ai-chat-context-controls__balloon-button','_removeContextFromCollection','body','2ChvWsW','addUrlToContext','closest','_createBaseBalloonPanel','setContextItemLoading','_handleAddContextButtonClick','document','_addUrlContent','find','focus','isEnabled','setTemplate','908244nwgwTE','bodyCollection','setContainerElement','populateSourceResourceBalloon','extendTemplate','isVisible','source','defaultPositions','AI_CHAT_CONTEXT_FILE_LABEL','ck-ai-chat','addContextButtonView','_addContextBalloonConfig','_setBalloonPanelContent','ck-ai-chat-context-controls__pending-contexts','isOn','northArrowSouthEast','_setAddContextButtonEnabled','type','current','submitUrl','1682415UGJpZu','showUrlBalloonPanel','_bindEventHandlers','arrowView','__arrow','addDocumentToContext','bind','_setupAllBalloonClickOutsideHandlers','add','closeSourceResourceBalloon','conversation','removeContextItem','3237248KiLIEH','div','loadSourceResources','ck-ai-chat-context-chips-wrapper-balloon','destroy','_currentContextsChips','createCollection','_createBalloonButton','setConversationContext','show','isHidden','showAddContextBalloonPanel','southArrowNorthWest','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','set','enabled','cancel'];_0x7ee3=function(){return _0x588d0d;};return _0x7ee3();}const _0x34ad26=_0x598d;(function(_0x39cbe6,_0xdc6d41){const _0x24fe2b=_0x598d,_0x5d52fc=_0x39cbe6();while(!![]){try{const _0x1086b1=-parseInt(_0x24fe2b(0x194))/0x1*(-parseInt(_0x24fe2b(0x188))/0x2)+-parseInt(_0x24fe2b(0x182))/0x3+-parseInt(_0x24fe2b(0x146))/0x4+parseInt(_0x24fe2b(0x13b))/0x5+parseInt(_0x24fe2b(0x171))/0x6+parseInt(_0x24fe2b(0x11b))/0x7+parseInt(_0x24fe2b(0x127))/0x8;if(_0x1086b1===_0xdc6d41)break;else _0x5d52fc['push'](_0x5d52fc['shift']());}catch(_0x481447){_0x5d52fc['push'](_0x5d52fc['shift']());}}}(_0x7ee3,0x7fb9a));function _0x598d(_0x27810f,_0x41cf55){const _0x7ee362=_0x7ee3();return _0x598d=function(_0x598d2d,_0x21d7da){_0x598d2d=_0x598d2d-0x10c;let _0x4e6d44=_0x7ee362[_0x598d2d];return _0x4e6d44;},_0x598d(_0x27810f,_0x41cf55);}import{BalloonPanelView as _0xad9472,ButtonView as _0x2d6ee4,clickOutsideHandler as _0x47d22e,FileDialogButtonView as _0x2c46b5,IconView as _0x4d2f81,View as _0x300a95}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x5dafdd,IconDocument as _0x52e710,IconDocumentOutline as _0x2888f0,IconDropdownArrow as _0x2fc3cb,IconLink as _0x1b6b04,IconPaperClip as _0x299bd1}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x3c1726}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x498e92}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0xc1d009}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x18a4a4}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x3a35f9}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x34ad26(0x120),_0x34ad26(0x153),_0x34ad26(0x189),_0x34ad26(0x158),_0x34ad26(0x126),_0x34ad26(0x129)];const Bo=_0x34ad26(0x15e),bo=_0x34ad26(0x114),To=_0x34ad26(0x163),Ao=_0x34ad26(0x178),ko=_0x34ad26(0x165),Eo=_0x34ad26(0x185),vo=_0x34ad26(0x174),go=_0x34ad26(0x175),Vo=_0x34ad26(0x12a),fo=_0x34ad26(0x148),Io=_0x34ad26(0x15f),Po=_0x34ad26(0x110),Ro=[_0xad9472[_0x34ad26(0x10e)][_0x34ad26(0x173)],_0xad9472[_0x34ad26(0x10e)][_0x34ad26(0x17d)],_0xad9472[_0x34ad26(0x10e)][_0x34ad26(0x116)],_0xad9472[_0x34ad26(0x10e)][_0x34ad26(0x133)],_0xad9472[_0x34ad26(0x10e)][_0x34ad26(0x17e)],_0xad9472[_0x34ad26(0x10e)][_0x34ad26(0x16b)]];export class AIChatContextPanelView extends _0x300a95{[_0x34ad26(0x111)];[_0x34ad26(0x12c)]=this[_0x34ad26(0x12d)]();[_0x34ad26(0x159)]=this[_0x34ad26(0x12d)]();[_0x34ad26(0x142)];[_0x34ad26(0x162)];[_0x34ad26(0x152)];[_0x34ad26(0x16d)];[_0x34ad26(0x168)];[_0x34ad26(0x112)];[_0x34ad26(0x195)];constructor(_0x51df23,_0x51994b){const _0x1d0ae7=_0x34ad26;super(_0x51df23),this[_0x1d0ae7(0x195)]=_0x51994b,this[_0x1d0ae7(0x12c)]=this[_0x1d0ae7(0x12d)](),this[_0x1d0ae7(0x159)]=this[_0x1d0ae7(0x12d)](),this[_0x1d0ae7(0x111)]=this[_0x1d0ae7(0x17a)](_0x51df23),this[_0x1d0ae7(0x162)]=this[_0x1d0ae7(0x150)](_0x51df23),this[_0x1d0ae7(0x152)]=this[_0x1d0ae7(0x14d)](_0x51df23),this[_0x1d0ae7(0x168)]=this[_0x1d0ae7(0x164)](_0x51df23,_0x51994b);const _0x134ed7={'cssClasses':{'showMoreButton':fo,'showMoreBalloon':Io,'overflowContainer':Vo,'controlsButton':go}};this[_0x1d0ae7(0x142)]=new _0xc1d009(_0x51df23,this[_0x1d0ae7(0x12c)],_0x134ed7,this[_0x1d0ae7(0x195)],this),this[_0x1d0ae7(0x112)]={'buttonView':this[_0x1d0ae7(0x111)],'balloonView':this[_0x1d0ae7(0x162)],'hideMethod':this[_0x1d0ae7(0x15c)][_0x1d0ae7(0x121)](this),'showMethod':this[_0x1d0ae7(0x132)][_0x1d0ae7(0x121)](this)},this[_0x1d0ae7(0x16f)](),this[_0x1d0ae7(0x11d)]();}[_0x34ad26(0x13f)](){const _0x79e364=_0x34ad26;super[_0x79e364(0x13f)](),this[_0x79e364(0x122)](),this[_0x79e364(0x142)][_0x79e364(0x196)](this[_0x79e364(0x138)]),this[_0x79e364(0x142)][_0x79e364(0x13c)]();}[_0x34ad26(0x12b)](){const _0x24049c=_0x34ad26;super[_0x24049c(0x12b)](),this[_0x24049c(0x142)][_0x24049c(0x12b)](),this[_0x24049c(0x168)][_0x24049c(0x12b)]();}[_0x34ad26(0x176)](_0x42b9a1,_0x2376ce){const _0x139aca=_0x34ad26,_0x43eee2=this[_0x139aca(0x13d)](_0x42b9a1,_0x139aca(0x119),!0x0,_0x2376ce);this[_0x139aca(0x180)](_0x43eee2,this[_0x139aca(0x12c)]),this[_0x139aca(0x142)][_0x139aca(0x13c)]();}[_0x34ad26(0x126)](_0x513ad4){const _0x2ea2c8=_0x34ad26;this[_0x2ea2c8(0x186)](_0x513ad4,this[_0x2ea2c8(0x12c)]),this[_0x2ea2c8(0x186)](_0x513ad4,this[_0x2ea2c8(0x142)][_0x2ea2c8(0x16c)]),this[_0x2ea2c8(0x142)][_0x2ea2c8(0x13c)]();}[_0x34ad26(0x18c)](_0x389ae3,_0x54b5a6){const _0x568788=_0x34ad26;let _0x42018f=this[_0x568788(0x12c)][_0x568788(0x190)](_0x2574d1=>_0x2574d1['id']===_0x389ae3);_0x42018f||(_0x42018f=this[_0x568788(0x142)][_0x568788(0x16c)][_0x568788(0x190)](_0x3ff7c9=>_0x3ff7c9['id']===_0x389ae3)),_0x42018f&&(_0x42018f[_0x568788(0x13a)]=_0x54b5a6);}[_0x34ad26(0x12f)](_0x4989dd){const _0x33780c=_0x34ad26;this[_0x33780c(0x159)][_0x33780c(0x14e)]();for(const _0x2f32a9 of _0x4989dd){const _0x26f840=this[_0x33780c(0x13d)](_0x2f32a9,_0x33780c(0x125),!0x1,!0x1);this[_0x33780c(0x180)](_0x26f840,this[_0x33780c(0x159)]);}}[_0x34ad26(0x181)](){const _0x53f48d=_0x34ad26;this[_0x53f48d(0x12c)][_0x53f48d(0x14e)](),this[_0x53f48d(0x142)][_0x53f48d(0x14e)]();}[_0x34ad26(0x15a)](){const _0x13f892=_0x34ad26;this[_0x13f892(0x159)][_0x13f892(0x14e)]();}[_0x34ad26(0x183)](_0x282550,_0x5cc7a7,_0x3a0a3f){const _0x170cf0=_0x34ad26;this[_0x170cf0(0x168)][_0x170cf0(0x183)](_0x282550,_0x5cc7a7,_0x3a0a3f);}[_0x34ad26(0x15c)](){const _0x58e81f=_0x34ad26;this[_0x58e81f(0x156)](!0x1);}[_0x34ad26(0x132)](){const _0x44bec1=_0x34ad26;this[_0x44bec1(0x156)](!0x0);}[_0x34ad26(0x17b)](){const _0x555ce3=_0x34ad26;this[_0x555ce3(0x152)][_0x555ce3(0x166)](),this[_0x555ce3(0x111)][_0x555ce3(0x115)]=!0x1,this[_0x555ce3(0x16d)]&&this[_0x555ce3(0x16d)][_0x555ce3(0x14e)]();}[_0x34ad26(0x11c)](){const _0x4dacab=_0x34ad26;this[_0x4dacab(0x152)][_0x4dacab(0x130)](),this[_0x4dacab(0x111)][_0x4dacab(0x115)]=!0x0;}[_0x34ad26(0x179)](_0xf43e3c){const _0x455ee6=_0x34ad26;this[_0x455ee6(0x168)][_0x455ee6(0x145)](_0xf43e3c),this[_0x455ee6(0x111)][_0x455ee6(0x115)]=!0x0;}[_0x34ad26(0x197)](_0x95cf0e,_0x1e3a2e,_0x4b0487,_0x4793fb){const _0x4dc468=_0x34ad26;this[_0x4dc468(0x168)][_0x4dc468(0x197)](_0x95cf0e,_0x4b0487,_0x4793fb);}[_0x34ad26(0x124)](_0xb483d4){const _0x55353a=_0x34ad26;this[_0x55353a(0x168)][_0x55353a(0x124)](_0xb483d4),this[_0x55353a(0x111)][_0x55353a(0x115)]=!0x1;}[_0x34ad26(0x144)](_0x47abda){const _0x1d601d=_0x34ad26;this[_0x1d601d(0x113)](this[_0x1d601d(0x162)],this[_0x1d601d(0x14f)],_0x47abda),this[_0x1d601d(0x117)](_0x47abda);}[_0x34ad26(0x117)](_0x4db523){const _0x593e17=_0x34ad26,_0x2d0a8c=!_0x4db523[_0x593e17(0x18e)][_0x593e17(0x131)]&&_0x4db523[_0x593e17(0x18e)][_0x593e17(0x136)],_0x4afc43=_0x4db523[_0x593e17(0x139)][_0x593e17(0x136)],_0x5df37d=_0x4db523[_0x593e17(0x17f)][_0x593e17(0x136)];this[_0x593e17(0x111)][_0x593e17(0x192)]=_0x2d0a8c||_0x4afc43||_0x5df37d;}[_0x34ad26(0x16f)](){const _0x2251bd=_0x34ad26;this[_0x2251bd(0x193)]({'tag':_0x2251bd(0x128),'attributes':{'class':[Bo,_0x2251bd(0x16a)]},'children':[{'tag':_0x2251bd(0x128),'attributes':{'class':bo},'children':this[_0x2251bd(0x12c)]}]});}[_0x34ad26(0x11d)](){const _0x1fa818=_0x34ad26;this[_0x1fa818(0x111)]['on'](_0x1fa818(0x14c),()=>{const _0x22f088=_0x1fa818;this[_0x22f088(0x18d)]();});}[_0x34ad26(0x17a)](_0x2e922e){const _0x1f34fd=_0x34ad26,_0x41316a=new _0x2d6ee4(_0x2e922e);return _0x41316a[_0x1f34fd(0x135)]({'label':_0x18a4a4(_0x2e922e,_0x1f34fd(0x157)),'class':go+'\x20'+Ao,'icon':_0x299bd1,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x41316a;}[_0x34ad26(0x150)](_0x4c3e74){const _0x2b2810=_0x34ad26;return this[_0x2b2810(0x18b)](_0x4c3e74,To);}[_0x34ad26(0x14d)](_0x2c0dfd){const _0xd80810=_0x34ad26,_0x42f09b=this[_0xd80810(0x18b)](_0x2c0dfd,ko);return this[_0xd80810(0x18f)](_0x42f09b,_0x2c0dfd),_0x42f09b;}[_0x34ad26(0x164)](_0x4708a2,_0x474f2e){const _0xb9bbb8=_0x34ad26;return new _0x3a35f9(_0x4708a2,_0x474f2e,{'onBackToContext':()=>{const _0x5ca9d1=_0x598d;this[_0x5ca9d1(0x132)](),this[_0x5ca9d1(0x162)][_0x5ca9d1(0x149)]({'target':this[_0x5ca9d1(0x111)][_0x5ca9d1(0x138)],'limiter':this[_0x5ca9d1(0x155)](),'positions':Ro});},'onResourceSelected':(_0x33c4a5,_0x963d89)=>{const _0x23b5d0=_0x598d;this[_0x23b5d0(0x172)](_0x23b5d0(0x158),{'source':_0x33c4a5,'resource':_0x963d89});},'onLoadSourceResources':_0x182fb0=>{const _0x55e76f=_0x598d;this[_0x55e76f(0x172)](_0x55e76f(0x129),_0x182fb0);},'onBalloonClosed':()=>{const _0x115592=_0x598d;this[_0x115592(0x111)][_0x115592(0x115)]=!0x1;},'getLimiterElement':()=>this[_0xb9bbb8(0x155)](),'getTargetElement':()=>this[_0xb9bbb8(0x111)][_0xb9bbb8(0x138)]});}[_0x34ad26(0x155)](){const _0x3d9d98=_0x34ad26;return this[_0x3d9d98(0x138)]?.[_0x3d9d98(0x18a)]('.'+Po)||document[_0x3d9d98(0x187)];}[_0x34ad26(0x18b)](_0x3afb1a,_0x3faecc){const _0x476411=_0x34ad26,_0x2fc4d1=new _0xad9472(_0x3afb1a);return _0x2fc4d1[_0x476411(0x198)]({'attributes':{'class':_0x3faecc}}),this[_0x476411(0x195)][_0x476411(0x123)](_0x2fc4d1),_0x2fc4d1;}[_0x34ad26(0x113)](_0xe51541,_0x2a1ba2,_0x4aa1f2){const _0x398d4e=_0x34ad26;if(_0xe51541[_0x398d4e(0x16e)][_0x398d4e(0x14e)](),!_0x4aa1f2[_0x398d4e(0x18e)][_0x398d4e(0x131)]&&_0x4aa1f2[_0x398d4e(0x18e)][_0x398d4e(0x136)]){const _0x19fddf=this[_0x398d4e(0x12e)](_0x2a1ba2,{'label':_0x18a4a4(_0x2a1ba2,_0x398d4e(0x134)),'icon':_0x52e710});_0x19fddf['on'](_0x398d4e(0x14c),()=>{const _0x53d3f7=_0x398d4e;this[_0x53d3f7(0x172)](_0x53d3f7(0x120)),this[_0x53d3f7(0x15c)]();}),_0xe51541[_0x398d4e(0x16e)][_0x398d4e(0x123)](_0x19fddf);}if(_0x4aa1f2[_0x398d4e(0x139)][_0x398d4e(0x136)]){const _0x4b7c86=this[_0x398d4e(0x12e)](_0x2a1ba2,{'label':_0x18a4a4(_0x2a1ba2,_0x398d4e(0x14a)),'icon':_0x1b6b04});_0x4b7c86['on'](_0x398d4e(0x14c),()=>{const _0x5a7186=_0x398d4e;this[_0x5a7186(0x15c)](),this[_0x5a7186(0x11c)](),this[_0x5a7186(0x152)][_0x5a7186(0x149)]({'target':this[_0x5a7186(0x111)][_0x5a7186(0x138)],'limiter':this[_0x5a7186(0x155)](),'positions':Ro}),this[_0x5a7186(0x16d)][_0x5a7186(0x191)]();}),_0xe51541[_0x398d4e(0x16e)][_0x398d4e(0x123)](_0x4b7c86);}if(_0x4aa1f2[_0x398d4e(0x17f)][_0x398d4e(0x136)]){const _0x3adddb=new _0x2c46b5(_0x2a1ba2);_0x3adddb[_0x398d4e(0x135)]({'label':_0x18a4a4(_0x2a1ba2,_0x398d4e(0x10f)),'icon':_0x5dafdd,'withText':!0x0,'tooltip':!0x0,'class':Eo,'allowMultipleFiles':!0x0}),_0x3adddb['on'](_0x398d4e(0x154),(_0x2cf14c,_0x23b91b)=>{const _0x3706ae=_0x398d4e;this[_0x3706ae(0x172)](_0x3706ae(0x153),_0x23b91b),this[_0x3706ae(0x15c)]();}),_0x3adddb[_0x398d4e(0x15d)]=!0x0,_0xe51541[_0x398d4e(0x16e)][_0x398d4e(0x123)](_0x3adddb);}for(const _0x2d38af of _0x4aa1f2[_0x398d4e(0x177)]){const _0x28b5fe=this[_0x398d4e(0x12e)](_0x2a1ba2,{'label':_0x2d38af[_0x398d4e(0x13e)],'icon':_0x2d38af[_0x398d4e(0x147)]||_0x2888f0,'type':_0x398d4e(0x10d)});_0xe51541[_0x398d4e(0x16e)][_0x398d4e(0x123)](_0x28b5fe),_0x28b5fe['on'](_0x398d4e(0x14c),()=>{const _0x4276b3=_0x398d4e;this[_0x4276b3(0x15c)](),this[_0x4276b3(0x179)](_0x2d38af);});}}[_0x34ad26(0x18f)](_0x576255,_0x5afb32){const _0x10051e=_0x34ad26;this[_0x10051e(0x16d)]=new _0x498e92(_0x5afb32),this[_0x10051e(0x16d)]['on'](_0x10051e(0x11a),(_0x4ebe5f,_0x938d77)=>{const _0x497852=_0x10051e;this[_0x497852(0x170)](_0x938d77);}),this[_0x10051e(0x16d)]['on'](_0x10051e(0x137),()=>{const _0x3f0f1e=_0x10051e;this[_0x3f0f1e(0x17b)](),this[_0x3f0f1e(0x132)](),this[_0x3f0f1e(0x162)][_0x3f0f1e(0x149)]({'target':this[_0x3f0f1e(0x111)][_0x3f0f1e(0x138)],'limiter':this[_0x3f0f1e(0x155)](),'positions':Ro});}),this[_0x10051e(0x16d)]['on'](_0x10051e(0x184),()=>{const _0xea0b08=_0x10051e;this[_0xea0b08(0x152)][_0xea0b08(0x10c)]&&this[_0xea0b08(0x152)][_0xea0b08(0x149)]({'target':this[_0xea0b08(0x111)][_0xea0b08(0x138)],'limiter':this[_0xea0b08(0x155)](),'positions':Ro});}),_0x576255[_0x10051e(0x16e)][_0x10051e(0x123)](this[_0x10051e(0x16d)]);}[_0x34ad26(0x12e)](_0x17f264,_0x3e04f1){const _0x2e4a13=_0x34ad26,_0x241984=_0x2e4a13(0x10d)===_0x3e04f1[_0x2e4a13(0x118)]?new SourcesBalloonButtonView(_0x17f264):new _0x2d6ee4(_0x17f264);return _0x241984[_0x2e4a13(0x135)]({'label':_0x3e04f1[_0x2e4a13(0x13e)],'icon':_0x3e04f1[_0x2e4a13(0x147)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Eo}),_0x241984;}[_0x34ad26(0x122)](){const _0x31d6b5=_0x34ad26;this[_0x31d6b5(0x141)](),this[_0x31d6b5(0x167)]();}[_0x34ad26(0x167)](){const _0x1fd9af=_0x34ad26;_0x47d22e({'emitter':this[_0x1fd9af(0x152)],'contextElements':[this[_0x1fd9af(0x152)][_0x1fd9af(0x138)]],'callback':()=>{const _0x18b83c=_0x1fd9af;this[_0x18b83c(0x17b)]();},'activator':()=>this[_0x1fd9af(0x152)][_0x1fd9af(0x10c)]});}[_0x34ad26(0x156)](_0x267bee){const _0x21dfe2=_0x34ad26,_0xcc662b=this[_0x21dfe2(0x112)];_0xcc662b[_0x21dfe2(0x143)][_0x21dfe2(0x115)]=_0x267bee,_0x267bee?_0xcc662b[_0x21dfe2(0x14b)][_0x21dfe2(0x130)]():_0xcc662b[_0x21dfe2(0x14b)][_0x21dfe2(0x166)]();}[_0x34ad26(0x141)](){const _0x2a2047=_0x34ad26,{balloonView:_0xe475a2,buttonView:_0x273ccc,hideMethod:_0x257904}=this[_0x2a2047(0x112)];_0x47d22e({'emitter':_0xe475a2,'contextElements':[_0xe475a2[_0x2a2047(0x138)],_0x273ccc[_0x2a2047(0x138)]],'callback':()=>{_0x257904();},'activator':()=>_0x273ccc[_0x2a2047(0x115)]&&!this[_0x2a2047(0x152)][_0x2a2047(0x10c)]&&!this[_0x2a2047(0x168)][_0x2a2047(0x17c)]()});}[_0x34ad26(0x13d)](_0x3a128a,_0x1d8ecd,_0x515460=!0x1,_0x442df7=!0x1){const _0x14e8f1=_0x34ad26,_0x33468c=_0x14e8f1(0x125)===_0x1d8ecd||!0x0===_0x3a128a[_0x14e8f1(0x169)],_0x2fd17d=new _0x3c1726(this[_0x14e8f1(0x14f)],_0x3a128a,_0x33468c,_0x515460,_0x442df7);return _0x33468c||_0x2fd17d['on'](_0x14e8f1(0x161),()=>{const _0x46e0f1=_0x14e8f1;this[_0x46e0f1(0x172)](_0x46e0f1(0x126),_0x2fd17d['id']);}),_0x2fd17d;}[_0x34ad26(0x180)](_0x113f2b,_0x286c97){const _0x50252b=_0x34ad26;_0x286c97[_0x50252b(0x123)](_0x113f2b,0x0);}[_0x34ad26(0x186)](_0x1e2389,_0x3b500e){const _0x5c14ae=_0x34ad26,_0x4a7656=_0x3b500e[_0x5c14ae(0x190)](_0x5be55a=>_0x5be55a['id']===_0x1e2389);_0x4a7656&&_0x3b500e[_0x5c14ae(0x140)](_0x4a7656);}[_0x34ad26(0x18d)](){const _0x30200f=_0x34ad26;this[_0x30200f(0x111)][_0x30200f(0x115)]?this[_0x30200f(0x15c)]():(this[_0x30200f(0x132)](),this[_0x30200f(0x162)][_0x30200f(0x149)]({'target':this[_0x30200f(0x111)][_0x30200f(0x138)],'limiter':this[_0x30200f(0x155)](),'positions':Ro}));}[_0x34ad26(0x170)](_0xc05de){const _0x15122b=_0x34ad26;this[_0x15122b(0x16d)][_0x15122b(0x14e)](),this[_0x15122b(0x17b)](),this[_0x15122b(0x172)](_0x15122b(0x189),_0xc05de);}}export class SourcesBalloonButtonView extends _0x2d6ee4{[_0x34ad26(0x11e)];constructor(_0x1558be){const _0xad462a=_0x34ad26;super(_0x1558be),this[_0xad462a(0x135)]({'withText':!0x0,'role':_0xad462a(0x151)}),this[_0xad462a(0x11e)]=this[_0xad462a(0x160)](),this[_0xad462a(0x198)]({'attributes':{'class':[vo]}});}[_0x34ad26(0x13f)](){const _0xddbcb3=_0x34ad26;super[_0xddbcb3(0x13f)](),this[_0xddbcb3(0x15b)][_0xddbcb3(0x123)](this[_0xddbcb3(0x11e)]);}[_0x34ad26(0x160)](){const _0x444b3c=_0x34ad26,_0x485e78=new _0x4d2f81();return _0x485e78[_0x444b3c(0x16e)]=_0x2fc3cb,_0x485e78[_0x444b3c(0x198)]({'attributes':{'class':vo+_0x444b3c(0x11f)}}),_0x485e78;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21a3bb=_0x3715;(function(_0x373586,_0x4029ab){const _0x3cf6e6=_0x3715,_0x1c74c6=_0x373586();while(!![]){try{const _0xd2dbb9=-parseInt(_0x3cf6e6(0xec))/0x1*(-parseInt(_0x3cf6e6(0xef))/0x2)+parseInt(_0x3cf6e6(0xed))/0x3+-parseInt(_0x3cf6e6(0xf7))/0x4+parseInt(_0x3cf6e6(0x102))/0x5*(parseInt(_0x3cf6e6(0x104))/0x6)+-parseInt(_0x3cf6e6(0xf9))/0x7*(parseInt(_0x3cf6e6(0x101))/0x8)+-parseInt(_0x3cf6e6(0xfc))/0x9*(-parseInt(_0x3cf6e6(0xfa))/0xa)+parseInt(_0x3cf6e6(0x100))/0xb*(-parseInt(_0x3cf6e6(0x106))/0xc);if(_0xd2dbb9===_0x4029ab)break;else _0x1c74c6['push'](_0x1c74c6['shift']());}catch(_0x2f6a15){_0x1c74c6['push'](_0x1c74c6['shift']());}}}(_0x1748,0x976ad));function _0x1748(){const _0xf5490e=['_cancelButtonView','fire','AI_CHAT_IS_WRITING','setTemplate','1346456gEXESb','_loaderView','91STQJUT','1130ElzCIg','ck-ai-chat-controls-loader-wrapper','32220kyYRHX','ck-ai-chat-controls-loader-icon-dot','set','AI_CHAT_STOP_GENERATING','77ZBdRTg','650344WIRvzT','50zCYEsn','execute','712482vNtRaH','abortPromptStream','1757292wMkBfa','ck-reset_all','ck-ai-chat-controls-loader-icon','_createLoaderView','locale','856353VKhLwv','1771056pCHvgF','ck-ai-chat-controls-loader','2UEyWJY','div','ai-chat-controls-loader__cancel-button','_createCancelButtonView'];_0x1748=function(){return _0xf5490e;};return _0x1748();}import{ButtonView as _0x3842c0,View as _0x171ec8}from'ckeditor5/src/ui.js';function _0x3715(_0x21d949,_0x2ce2bf){const _0x1748c3=_0x1748();return _0x3715=function(_0x3715ef,_0x436c31){_0x3715ef=_0x3715ef-0xec;let _0x52878a=_0x1748c3[_0x3715ef];return _0x52878a;},_0x3715(_0x21d949,_0x2ce2bf);}import{IconStop as _0x4971f5}from'ckeditor5/src/icons.js';import{getTranslation as _0x29bed1}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x171ec8{[_0x21a3bb(0xf3)];[_0x21a3bb(0xf8)];constructor(_0x569986){const _0x510815=_0x21a3bb;super(_0x569986),this[_0x510815(0xf3)]=this[_0x510815(0xf2)](),this[_0x510815(0xf8)]=this[_0x510815(0x109)](),this[_0x510815(0xf6)]({'tag':_0x510815(0xf0),'attributes':{'class':['ck',_0x510815(0xfb),_0x510815(0x107)]},'children':[this[_0x510815(0xf8)],this[_0x510815(0xf3)]]});}[_0x21a3bb(0xf2)](){const _0x4d8d17=_0x21a3bb,_0x304c32=new _0x3842c0(this[_0x4d8d17(0x10a)]);return _0x304c32[_0x4d8d17(0xfe)]({'label':_0x29bed1(this[_0x4d8d17(0x10a)],_0x4d8d17(0xff)),'withText':!0x0,'class':_0x4d8d17(0xf1),'icon':_0x4971f5}),_0x304c32['on'](_0x4d8d17(0x103),()=>{const _0x5ccf82=_0x4d8d17;this[_0x5ccf82(0xf4)](_0x5ccf82(0x105));}),_0x304c32;}[_0x21a3bb(0x109)](){const _0x2dd805=_0x21a3bb,_0xd1cbe1=new _0x171ec8(this[_0x2dd805(0x10a)]);return _0xd1cbe1[_0x2dd805(0xf6)]({'tag':_0x2dd805(0xf0),'attributes':{'class':[_0x2dd805(0xee)]},'children':[{'tag':_0x2dd805(0xf0),'attributes':{'class':[_0x2dd805(0x108)]},'children':[{'tag':_0x2dd805(0xf0),'attributes':{'class':[_0x2dd805(0xfd)]}},{'tag':_0x2dd805(0xf0),'attributes':{'class':[_0x2dd805(0xfd)]}},{'tag':_0x2dd805(0xf0),'attributes':{'class':[_0x2dd805(0xfd)]}}]},{'text':_0x29bed1(this[_0x2dd805(0x10a)],_0x2dd805(0xf5))}]}),_0xd1cbe1;}}
23
+ const _0x7d164c=_0x5073;function _0x5073(_0x1e0002,_0x36391b){const _0x2e389f=_0x2e38();return _0x5073=function(_0x50735c,_0x201819){_0x50735c=_0x50735c-0x14b;let _0x1ebd8c=_0x2e389f[_0x50735c];return _0x1ebd8c;},_0x5073(_0x1e0002,_0x36391b);}(function(_0x2a523d,_0x1e4c8d){const _0x45c538=_0x5073,_0x226f2e=_0x2a523d();while(!![]){try{const _0x46bdab=parseInt(_0x45c538(0x161))/0x1*(-parseInt(_0x45c538(0x15f))/0x2)+parseInt(_0x45c538(0x165))/0x3+-parseInt(_0x45c538(0x163))/0x4*(parseInt(_0x45c538(0x155))/0x5)+-parseInt(_0x45c538(0x150))/0x6+parseInt(_0x45c538(0x15c))/0x7*(-parseInt(_0x45c538(0x15b))/0x8)+parseInt(_0x45c538(0x15d))/0x9+parseInt(_0x45c538(0x14e))/0xa*(parseInt(_0x45c538(0x153))/0xb);if(_0x46bdab===_0x1e4c8d)break;else _0x226f2e['push'](_0x226f2e['shift']());}catch(_0x248dce){_0x226f2e['push'](_0x226f2e['shift']());}}}(_0x2e38,0x331f0));import{ButtonView as _0x384bce,View as _0x3c8455}from'ckeditor5/src/ui.js';function _0x2e38(){const _0x496a85=['ck-ai-chat-controls-loader-icon','346105mbqjHt','div','_loaderView','AI_CHAT_IS_WRITING','_createCancelButtonView','_createLoaderView','2864672pNtgDx','7VnbJLS','1909683cDiAWI','ck-ai-chat-controls-loader','259588XKqXuZ','_cancelButtonView','1nIUwRB','ck-reset_all','8sVLNOK','abortPromptStream','468315BcpBOp','AI_CHAT_STOP_GENERATING','ck-ai-chat-controls-loader-icon-dot','setTemplate','fire','ck-ai-chat-controls-loader-wrapper','execute','40JiiSbM','ai-chat-controls-loader__cancel-button','1934112KoQBxT','locale','set','2171873gfBVdq'];_0x2e38=function(){return _0x496a85;};return _0x2e38();}import{IconStop as _0x92969}from'ckeditor5/src/icons.js';import{getTranslation as _0x595434}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x3c8455{[_0x7d164c(0x160)];[_0x7d164c(0x157)];constructor(_0x314e43){const _0x19cf3a=_0x7d164c;super(_0x314e43),this[_0x19cf3a(0x160)]=this[_0x19cf3a(0x159)](),this[_0x19cf3a(0x157)]=this[_0x19cf3a(0x15a)](),this[_0x19cf3a(0x168)]({'tag':_0x19cf3a(0x156),'attributes':{'class':['ck',_0x19cf3a(0x14c),_0x19cf3a(0x162)]},'children':[this[_0x19cf3a(0x157)],this[_0x19cf3a(0x160)]]});}[_0x7d164c(0x159)](){const _0x3239ff=_0x7d164c,_0x2f7795=new _0x384bce(this[_0x3239ff(0x151)]);return _0x2f7795[_0x3239ff(0x152)]({'label':_0x595434(this[_0x3239ff(0x151)],_0x3239ff(0x166)),'withText':!0x0,'class':_0x3239ff(0x14f),'icon':_0x92969}),_0x2f7795['on'](_0x3239ff(0x14d),()=>{const _0x58b825=_0x3239ff;this[_0x58b825(0x14b)](_0x58b825(0x164));}),_0x2f7795;}[_0x7d164c(0x15a)](){const _0x28d905=_0x7d164c,_0x4be81d=new _0x3c8455(this[_0x28d905(0x151)]);return _0x4be81d[_0x28d905(0x168)]({'tag':_0x28d905(0x156),'attributes':{'class':[_0x28d905(0x15e)]},'children':[{'tag':_0x28d905(0x156),'attributes':{'class':[_0x28d905(0x154)]},'children':[{'tag':_0x28d905(0x156),'attributes':{'class':[_0x28d905(0x167)]}},{'tag':_0x28d905(0x156),'attributes':{'class':[_0x28d905(0x167)]}},{'tag':_0x28d905(0x156),'attributes':{'class':[_0x28d905(0x167)]}}]},{'text':_0x595434(this[_0x28d905(0x151)],_0x28d905(0x158))}]}),_0x4be81d;}}