@ckeditor/ckeditor5-ai 47.2.0-alpha.4 → 47.2.0-alpha.6

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 (289) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichat/utils/scrollmanager.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aicore/aiconnector.js +1 -1
  222. package/src/aicore/aiediting.js +1 -1
  223. package/src/aicore/model/aicapabilities.js +1 -1
  224. package/src/aicore/model/aicontext.js +1 -1
  225. package/src/aicore/model/aiinteraction.js +1 -1
  226. package/src/aicore/model/aimodels.js +1 -1
  227. package/src/aicore/model/aireply.js +1 -1
  228. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  229. package/src/aicore/pipeline/airesponseparser.js +2 -2
  230. package/src/aicore/ui/aidisclaimerview.js +1 -1
  231. package/src/aicore/ui/aiskeleton.js +1 -1
  232. package/src/aicore/ui/aispinner.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  238. package/src/aicore/utils/common-translations.js +1 -1
  239. package/src/aicore/utils/createresizebutton.js +1 -1
  240. package/src/aicore/utils/documentposition.js +1 -1
  241. package/src/aicore/utils/documentrange.js +1 -1
  242. package/src/aicore/utils/eventnames.js +1 -1
  243. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  244. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  245. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  246. package/src/aicore/utils/htmlparser.js +1 -1
  247. package/src/aicore/utils/htmlstreamer.js +1 -1
  248. package/src/aieditorintegration/aieditorintegration.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/toggleaicommand.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/aireviewmode/aireviewcheckdefinitions.js +1 -1
  259. package/src/aireviewmode/aireviewmode.js +1 -1
  260. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  261. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  262. package/src/aireviewmode/aireviewmodeui.js +1 -1
  263. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  265. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  269. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  271. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  272. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  281. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  282. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  283. package/src/aitabs/aitabs.js +1 -1
  284. package/src/aitabs/aitabsmainview.js +1 -1
  285. package/src/aitabs/tabs/aitabsview.js +1 -1
  286. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  287. package/src/aitabs/tabs/tabpanelview.js +1 -1
  288. package/src/errors.js +1 -1
  289. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1705(){const _0x31d3ab=['selectedModelId','40EluOoD','chatContext','toggleReasoning','ai-chat-conversation-start-no-model-selected','115901ngvJZR','isStarted','text-delta','find','_processMessagesToInteractions','42updjIa','capabilities','prompt','modification-delta','user','splice','308988YyYqdB','isAvailable','removeFromContext','type','interactions','getInteraction','removeSelectionFromContext','removeInteraction','fire','modelSelected','updateCurrentDocumentInContext','quickActionData','length','role','getCapabilitiesConfig','reset','stack','loadSourceResources','delegate','message','ai-chat-conversation-set-model-null','toggleWebSearch','getPendingContextItems','error','start','connector','addResourceToContext','getAvailableModels','getDocumentContext','addFilesToContext','interactionCreated','chatModels','content','addToConversationContext','getConversation','contextItems','2wBjouB','reasoning','currentReply','stop','_extractContextItems','webSearch','4811800tFfzNU','ai-chat-handle-user-conversation-not-initialized','indexOf','attributes','getEditor','text','setModel','lastInteraction','createReply','init','populateFromMessage','conversationStarted','conversationInitialized','addSelectionToContext','chatCapabilities','ai-chat-handle-user-interaction-already-in-progress','ai-chat-conversation-start-failed','toLowerCase','options','group','assistant','ai-chat-conversation-set-model-not-available','775557ptgHYo','getMessages','selectedModel','startConversation','setConversationTitle','model','sessionId','fetchConversationMessages','set','push','14628040EpRnAm','3885056kokZmH','isCurrentDocumentInConversation','currentInteraction','ai-chat-conversation-init-from-id-failed','conversationId','createInteraction','ai-chat-conversation-already-started','getCurrentDocumentContext','getAll','updateCurrentDocument','handleUserInteraction','getModel','title','2266785rgBnis','fetchConversation','isCurrentDocumentInContext','hasOwn','addCurrentDocumentToContext','destroy','addUrlToContext','isSelectionInContext','appendContent','load','ai-chat-conversation-init-failed'];_0x1705=function(){return _0x31d3ab;};return _0x1705();}const _0x482322=_0x3fc7;(function(_0x40dedc,_0x3a2407){const _0x3cfa40=_0x3fc7,_0x1f68ff=_0x40dedc();while(!![]){try{const _0x103192=-parseInt(_0x3cfa40(0xac))/0x1*(-parseInt(_0x3cfa40(0xdb))/0x2)+-parseInt(_0x3cfa40(0x9c))/0x3+parseInt(_0x3cfa40(0x8f))/0x4+parseInt(_0x3cfa40(0xe1))/0x5+-parseInt(_0x3cfa40(0xb7))/0x6*(-parseInt(_0x3cfa40(0xb1))/0x7)+-parseInt(_0x3cfa40(0xa8))/0x8*(-parseInt(_0x3cfa40(0x84))/0x9)+-parseInt(_0x3cfa40(0x8e))/0xa;if(_0x103192===_0x3a2407)break;else _0x1f68ff['push'](_0x1f68ff['shift']());}catch(_0x1c4788){_0x1f68ff['push'](_0x1f68ff['shift']());}}}(_0x1705,0x8b663));import{CKEditorError as _0x8223fd,EmitterMixin as _0x28dc81,logWarning as _0x2f7878}from'ckeditor5/src/utils.js';function _0x3fc7(_0x544c43,_0x1549c5){const _0x170534=_0x1705();return _0x3fc7=function(_0x3fc7b2,_0x32932b){_0x3fc7b2=_0x3fc7b2-0x76;let _0x519010=_0x170534[_0x3fc7b2];return _0x519010;},_0x3fc7(_0x544c43,_0x1549c5);}import{AI_MODEL_EVENT_NAMES as _0x52b34b}from'../../aicore/model/aiinteraction.js';import{AIChatContext as _0x587927,AI_CONTEXT_MODEL_EVENT_NAMES as _0x346e14}from'./aichatcontext.js';import{AICapabilities as _0x404b07,CAPABILITIES_MODEL_EVENT_NAMES as _0x3042e7}from'../../aicore/model/aicapabilities.js';import{AIChatInteraction as _0x28a916}from'./aichatinteraction.js';export class AIChatConversation extends _0x28dc81(){['id'];[_0x482322(0xad)]=!0x1;[_0x482322(0xbb)]=[];[_0x482322(0x91)];[_0x482322(0x86)];[_0x482322(0xd0)];[_0x482322(0x80)];constructor(_0x294ff0){const _0xe21834=_0x482322;super(),this[_0xe21834(0x80)]=_0x294ff0,this[_0xe21834(0xd0)]=_0x294ff0[_0xe21834(0xd0)],this[_0xe21834(0xd6)]=_0x294ff0[_0xe21834(0xd6)],this['id']=_0x294ff0[_0xe21834(0x93)];}async[_0x482322(0x77)](_0x4da370){const _0x574184=_0x482322;try{this[_0x574184(0xa9)]=new _0x587927({'connector':this[_0x574184(0xd0)],'config':_0x4da370,'ownerId':this['id']}),this[_0x574184(0xa9)][_0x574184(0xc9)](..._0x346e14)['to'](this),this[_0x574184(0xa9)][_0x574184(0x77)](),this[_0x574184(0x7c)]=new _0x404b07(),this[_0x574184(0x7c)][_0x574184(0xc9)](..._0x3042e7)['to'](this),this[_0x574184(0x7c)][_0x574184(0x77)]();const _0x4641ce=await this[_0x574184(0xd6)][_0x574184(0xd2)]();this[_0x574184(0xbf)](_0x574184(0x7a),{'availableModels':_0x4641ce});const _0xe61065=await this[_0x574184(0xd6)][_0x574184(0x9a)](this[_0x574184(0x80)][_0x574184(0xa7)]);_0xe61065&&await this[_0x574184(0xe7)](_0xe61065);}catch(_0x1626f0){const _0x3239b6=new _0x8223fd(_0x574184(0xa6),null,{'message':_0x1626f0[_0x574184(0xca)]});_0x3239b6[_0x574184(0xc7)]=_0x1626f0[_0x574184(0xc7)],this[_0x574184(0xbf)](_0x574184(0xce),{'error':_0x3239b6});}}async[_0x482322(0xcf)](){const _0x3e2260=_0x482322;if(this[_0x3e2260(0xad)])throw new _0x8223fd(_0x3e2260(0x95),null,{'conversation':this});if(!this[_0x3e2260(0x86)])throw new _0x8223fd(_0x3e2260(0xab),null,{'conversation':this});try{const {id:_0x5e4792}=await this[_0x3e2260(0xd0)][_0x3e2260(0x87)](this['id'],this[_0x3e2260(0x80)][_0x3e2260(0x81)])[_0x3e2260(0xd9)]();this['id']=_0x5e4792,this[_0x3e2260(0xad)]=!0x0,this[_0x3e2260(0xbf)](_0x3e2260(0x79),{'conversationId':this['id'],'selectedModel':this[_0x3e2260(0x86)]});}catch(_0x279230){const _0x37e55b=new _0x8223fd(_0x3e2260(0x7e),null,{'message':_0x279230[_0x3e2260(0xca)]});_0x37e55b[_0x3e2260(0xc7)]=_0x279230[_0x3e2260(0xc7)],this[_0x3e2260(0xbf)](_0x3e2260(0xce),{'error':_0x37e55b});}}async[_0x482322(0xa5)](_0x494869,_0x509d1b){const _0x35c6eb=_0x482322;try{const _0x61101a=await this[_0x35c6eb(0xd0)][_0x35c6eb(0x9d)](_0x494869)[_0x35c6eb(0xd9)](),_0x337f25=await this[_0x35c6eb(0xd0)][_0x35c6eb(0x8b)](_0x494869)[_0x35c6eb(0x85)](),_0x1e8487=_0x337f25[0x0][_0x35c6eb(0x89)];this[_0x35c6eb(0xad)]=!0x0,this['id']=_0x61101a['id'],_0x35c6eb(0x9b)in _0x61101a?this[_0x35c6eb(0xbf)](_0x35c6eb(0x88),_0x61101a[_0x35c6eb(0x9b)],!0x0):this[_0x35c6eb(0xbf)](_0x35c6eb(0x88),'',!0x0);const _0x24ec46=(await this[_0x35c6eb(0xd6)][_0x35c6eb(0x97)]())[_0x35c6eb(0xaf)](_0x177037=>_0x177037['id'][_0x35c6eb(0x7f)]()===_0x1e8487[_0x35c6eb(0x7f)]());return this[_0x35c6eb(0x86)]=_0x24ec46,this[_0x35c6eb(0xbf)](_0x35c6eb(0xc0),{'selectedModel':_0x24ec46,'isDisabled':!0x0}),await this[_0x35c6eb(0xb0)](_0x337f25,_0x509d1b,_0x1e8487),this[_0x35c6eb(0x91)]=void 0x0,this;}catch(_0x5a2ac9){const _0x113aa8=new _0x8223fd(_0x35c6eb(0x92),null,{'message':_0x5a2ac9[_0x35c6eb(0xca)],'conversationId':_0x494869});throw _0x113aa8[_0x35c6eb(0xc7)]=_0x5a2ac9[_0x35c6eb(0xc7)],this[_0x35c6eb(0xbf)](_0x35c6eb(0xce),{'error':_0x113aa8}),_0x113aa8;}}async[_0x482322(0xb0)](_0xcba501,_0x2f3c15,_0x461c07){const _0x35ce6d=_0x482322;let _0x20449a;for(const _0x16ca25 of _0xcba501)if(_0x35ce6d(0xb5)===_0x16ca25[_0x35ce6d(0xc4)]){const _0x4a5834=await this[_0x35ce6d(0xdf)](_0x16ca25),_0x628938={'isReasoningEnabled':Object[_0x35ce6d(0x9f)](_0x16ca25[_0x35ce6d(0xb2)],_0x35ce6d(0xdc)),'isWebSearchEnabled':Object[_0x35ce6d(0x9f)](_0x16ca25[_0x35ce6d(0xb2)],_0x35ce6d(0xe0))};_0x20449a=this[_0x35ce6d(0x94)]({'userMessage':_0x16ca25[_0x35ce6d(0xb3)],'contextItems':_0x4a5834,'capabilities':_0x628938,'modelId':_0x461c07,'quickActionData':_0x16ca25[_0x35ce6d(0xe4)]?.[_0x35ce6d(0xc2)]}),this[_0x35ce6d(0x91)]=_0x20449a,this[_0x35ce6d(0xa9)][_0x35ce6d(0xd8)](this[_0x35ce6d(0x91)][_0x35ce6d(0xda)]);}else{if(_0x35ce6d(0x82)===_0x16ca25[_0x35ce6d(0xc4)]&&_0x20449a)for(const _0x3a9cfe of _0x16ca25[_0x35ce6d(0xd7)]){const _0xfc4024=_0x35ce6d(0xe6)===_0x3a9cfe[_0x35ce6d(0xba)]?_0x35ce6d(0xae):_0x35ce6d(0xb4),_0x40f60c=_0x20449a[_0x35ce6d(0xd3)]()?.[_0x35ce6d(0x8a)]!==_0x2f3c15;_0x20449a[_0x35ce6d(0xdd)]=_0x20449a[_0x35ce6d(0x76)]({'type':_0xfc4024,'isDone':!0x0,'interactionId':_0x20449a['id'],'areActionsDisabled':_0x40f60c}),_0x20449a[_0x35ce6d(0xdd)][_0x35ce6d(0xa4)](_0x3a9cfe[_0x35ce6d(0xd7)]);}}}async[_0x482322(0xdf)](_0x476b01){const _0x7310dc=_0x482322,_0x1476a6=new Map();if(!_0x476b01[_0x7310dc(0xd7)])return _0x1476a6;for(const _0x2cd7d4 of _0x476b01[_0x7310dc(0xd7)]){const _0x303f88=await this[_0x7310dc(0xa9)][_0x7310dc(0x78)](_0x2cd7d4);_0x303f88&&_0x1476a6[_0x7310dc(0x8c)](_0x303f88['id'],_0x303f88);}return _0x1476a6;}async[_0x482322(0x99)]({userMessage:_0x2f315e,quickActionData:_0x25796a}){const _0x401b51=_0x482322;if(!this[_0x401b51(0xad)])throw new _0x8223fd(_0x401b51(0xe2),null,{'conversation':this});if(this[_0x401b51(0x91)])throw new _0x8223fd(_0x401b51(0x7d),null,{'conversation':this});try{const _0x83c72d=this[_0x401b51(0xa9)][_0x401b51(0xcd)](),_0x7ed4f0=this[_0x401b51(0x7c)][_0x401b51(0xc5)](),_0x13f594=this[_0x401b51(0x86)]['id'];this[_0x401b51(0x91)]=this[_0x401b51(0x94)]({'userMessage':_0x2f315e,'contextItems':_0x83c72d,'capabilities':_0x7ed4f0,'modelId':_0x13f594,'quickActionData':_0x25796a}),await this[_0x401b51(0x91)][_0x401b51(0xcf)](),this[_0x401b51(0xa9)][_0x401b51(0xd8)](this[_0x401b51(0x91)][_0x401b51(0xda)]);}catch(_0x351b8a){this[_0x401b51(0xbf)](_0x401b51(0xce),{'interactionId':this[_0x401b51(0x91)]?this[_0x401b51(0x91)]['id']:void 0x0,'error':_0x351b8a});}finally{this[_0x401b51(0x91)]?.[_0x401b51(0xde)](),this[_0x401b51(0x91)]=void 0x0;}}[_0x482322(0x94)]({userMessage:_0x143140,contextItems:_0x1e6300,capabilities:_0xd30c2f,modelId:_0x105f72,quickActionData:_0x2a846a}){const _0x12a37e=_0x482322,_0x29e326=new _0x28a916({'userMessage':_0x143140,'contextItems':_0x1e6300,'capabilities':_0xd30c2f,'conversationId':this['id'],'connector':this[_0x12a37e(0xd0)],'editor':this[_0x12a37e(0x80)][_0x12a37e(0xe5)]&&this[_0x12a37e(0x80)][_0x12a37e(0xe5)](),'model':_0x105f72,'quickActionData':_0x2a846a});return _0x29e326[_0x12a37e(0xc9)](..._0x52b34b)['to'](this),this[_0x12a37e(0xbb)][_0x12a37e(0x8d)](_0x29e326),this[_0x12a37e(0xbf)](_0x12a37e(0xd5),_0x29e326),_0x29e326;}[_0x482322(0xbc)](_0x554291){const _0x137805=_0x482322;return this[_0x137805(0xbb)][_0x137805(0xaf)](_0x590210=>_0x590210['id']===_0x554291);}[_0x482322(0xbe)](_0x41c104){const _0x234770=_0x482322,_0x6d4b71=this[_0x234770(0xbc)](_0x41c104);_0x6d4b71&&(_0x6d4b71[_0x234770(0xa1)](),this[_0x234770(0xbb)][_0x234770(0xb6)](this[_0x234770(0xbb)][_0x234770(0xe3)](_0x6d4b71),0x1));}get[_0x482322(0xe8)](){const _0x4acbcf=_0x482322;return this[_0x4acbcf(0xbb)][this[_0x4acbcf(0xbb)][_0x4acbcf(0xc3)]-0x1];}[_0x482322(0xa0)](_0x2f9a53){const _0x1c838f=_0x482322;this[_0x1c838f(0xa9)][_0x1c838f(0xa0)](_0x2f9a53);}async[_0x482322(0xc1)]({content:_0x4ec592,version:_0x57672d,sessionId:_0x20ddfd,selections:_0x3d094d}){const _0x352127=_0x482322;await this[_0x352127(0xa9)][_0x352127(0x98)](_0x4ec592,_0x57672d,_0x20ddfd,_0x3d094d);}[_0x482322(0x96)](){const _0x5ae24f=_0x482322;return this[_0x5ae24f(0x91)]?.[_0x5ae24f(0xd3)]()?.[_0x5ae24f(0xd7)]||'';}[_0x482322(0x7b)](_0x3805b7){const _0x4ba425=_0x482322;this[_0x4ba425(0xa9)][_0x4ba425(0x7b)](_0x3805b7);}[_0x482322(0xbd)](){const _0x26e175=_0x482322;this[_0x26e175(0xa9)][_0x26e175(0xbd)]();}[_0x482322(0xd4)](_0x4a3400){const _0x24b45f=_0x482322;this[_0x24b45f(0xa9)][_0x24b45f(0xd4)](_0x4a3400);}[_0x482322(0xa2)](_0x455011){const _0x2cc758=_0x482322;this[_0x2cc758(0xa9)][_0x2cc758(0xa2)](_0x455011);}[_0x482322(0xd1)](_0x2504ad,_0x33adb4){const _0x3bdaeb=_0x482322;this[_0x3bdaeb(0xa9)][_0x3bdaeb(0xd1)](_0x2504ad,_0x33adb4);}[_0x482322(0xc8)](_0xca1d4e,_0x35d370,_0x2bfaa1){const _0x57a6e6=_0x482322;return this[_0x57a6e6(0xa9)][_0x57a6e6(0xc8)](_0xca1d4e,_0x35d370,_0x2bfaa1);}[_0x482322(0xb9)](_0x3cbedd){const _0x200f15=_0x482322;this[_0x200f15(0xa9)][_0x200f15(0xb9)](_0x3cbedd);}[_0x482322(0xcc)](){const _0x14b097=_0x482322;this[_0x14b097(0x7c)][_0x14b097(0xcc)]();}[_0x482322(0xaa)](){const _0x182bb9=_0x482322;this[_0x182bb9(0x7c)][_0x182bb9(0xaa)]();}[_0x482322(0x9e)](){const _0x267ec8=_0x482322;return this[_0x267ec8(0xa9)][_0x267ec8(0x9e)]();}[_0x482322(0x90)](){const _0x227c8d=_0x482322;return this[_0x227c8d(0xa9)][_0x227c8d(0x90)]();}[_0x482322(0xa3)](){const _0x186f71=_0x482322;return this[_0x186f71(0xa9)][_0x186f71(0xa3)]();}async[_0x482322(0xe7)](_0x5a3715){const _0x5526fc=_0x482322;_0x5a3715?!0x1===await this[_0x5526fc(0xd6)][_0x5526fc(0xb8)](_0x5a3715)&&(_0x2f7878(_0x5526fc(0x83),{'conversation':this,'model':_0x5a3715}),_0x5a3715=(await this[_0x5526fc(0xd6)][_0x5526fc(0xd2)]())[0x0]):(_0x2f7878(_0x5526fc(0xcb),{'conversation':this}),_0x5a3715=(await this[_0x5526fc(0xd6)][_0x5526fc(0xd2)]())[0x0]),_0x5a3715['id']!==this[_0x5526fc(0x86)]?.['id']&&(this[_0x5526fc(0x86)]=_0x5a3715,this[_0x5526fc(0x7c)][_0x5526fc(0xc6)](),this[_0x5526fc(0xbf)](_0x5526fc(0xc0),{'selectedModel':_0x5a3715}));}}
23
+ function _0x59de(_0xb459d2,_0x23257b){const _0x206b55=_0x206b();return _0x59de=function(_0x59def9,_0x52520c){_0x59def9=_0x59def9-0x175;let _0x246d9a=_0x206b55[_0x59def9];return _0x246d9a;},_0x59de(_0xb459d2,_0x23257b);}const _0xadbcab=_0x59de;(function(_0x1d37ca,_0x3bccb5){const _0x5e457e=_0x59de,_0x3bf592=_0x1d37ca();while(!![]){try{const _0x39c244=-parseInt(_0x5e457e(0x1b5))/0x1*(parseInt(_0x5e457e(0x1e6))/0x2)+-parseInt(_0x5e457e(0x1dd))/0x3*(-parseInt(_0x5e457e(0x1c3))/0x4)+-parseInt(_0x5e457e(0x184))/0x5+parseInt(_0x5e457e(0x1a1))/0x6*(-parseInt(_0x5e457e(0x191))/0x7)+-parseInt(_0x5e457e(0x1df))/0x8+-parseInt(_0x5e457e(0x1ad))/0x9+-parseInt(_0x5e457e(0x185))/0xa*(-parseInt(_0x5e457e(0x1d9))/0xb);if(_0x39c244===_0x3bccb5)break;else _0x3bf592['push'](_0x3bf592['shift']());}catch(_0x453728){_0x3bf592['push'](_0x3bf592['shift']());}}}(_0x206b,0xa3da9));import{CKEditorError as _0x13d9eb,EmitterMixin as _0x1b6b06,logWarning as _0x33d6f1}from'ckeditor5/src/utils.js';import{AI_MODEL_EVENT_NAMES as _0x235ab1}from'../../aicore/model/aiinteraction.js';import{AIChatContext as _0x1cb0d6,AI_CONTEXT_MODEL_EVENT_NAMES as _0x7dd368}from'./aichatcontext.js';function _0x206b(){const _0x12ef2b=['540565AHBvWT','5021710ojIocv','toggleReasoning','reasoning','setConversationTitle','reset','selectedModelId','interactions','toggleWebSearch','stack','createReply','addSelectionToContext','delegate','42pcIzzW','createInteraction','indexOf','chatCapabilities','options','ai-chat-conversation-start-failed','getDocumentContext','startConversation','error','isCurrentDocumentInContext','start','appendContent','currentReply','getCapabilitiesConfig','addToConversationContext','sessionId','501828GXAlnT','removeSelectionFromContext','stop','updateCurrentDocument','modification-delta','find','message','webSearch','getInteraction','ai-chat-handle-user-conversation-not-initialized','getPendingContextItems','push','8621604wQKwQL','ai-chat-conversation-already-started','init','quickActionData','getAll','fire','set','isCurrentDocumentInConversation','204jIjYeV','fetchConversationMessages','selectedModel','ai-chat-conversation-set-model-null','ai-chat-conversation-init-from-id-failed','text','isStarted','addCurrentDocumentToContext','populateFromMessage','addFilesToContext','content','prompt','isSelectionInContext','role','266168ZPQBhK','ai-chat-conversation-start-no-model-selected','loadSourceResources','setModel','getMessages','_processMessagesToInteractions','removeFromContext','getConversation','load','user','modelSelected','lastInteraction','chatContext','conversationInitialized','conversationStarted','interactionCreated','connector','getEditor','group','_extractContextItems','conversationId','ai-chat-conversation-set-model-not-available','44NzdnSE','text-delta','handleUserInteraction','type','39yxFMpz','destroy','2290048dXoGGK','hasOwn','title','getCurrentDocumentContext','getModel','attributes','getAvailableModels','3416lxAkpd','length','capabilities','ai-chat-conversation-init-failed','ai-chat-handle-user-interaction-already-in-progress','addUrlToContext','isAvailable','splice','toLowerCase','updateCurrentDocumentInContext','currentInteraction','contextItems','addResourceToContext','fetchConversation','assistant','removeInteraction','chatModels','model'];_0x206b=function(){return _0x12ef2b;};return _0x206b();}import{AICapabilities as _0x491def,CAPABILITIES_MODEL_EVENT_NAMES as _0x6b6e66}from'../../aicore/model/aicapabilities.js';import{AIChatInteraction as _0x4c5c42}from'./aichatinteraction.js';export class AIChatConversation extends _0x1b6b06(){['id'];[_0xadbcab(0x1bb)]=!0x1;[_0xadbcab(0x18b)]=[];[_0xadbcab(0x17c)];[_0xadbcab(0x1b7)];[_0xadbcab(0x1d3)];[_0xadbcab(0x195)];constructor(_0x566711){const _0x40b620=_0xadbcab;super(),this[_0x40b620(0x195)]=_0x566711,this[_0x40b620(0x1d3)]=_0x566711[_0x40b620(0x1d3)],this[_0x40b620(0x182)]=_0x566711[_0x40b620(0x182)],this['id']=_0x566711[_0x40b620(0x1d7)];}async[_0xadbcab(0x1af)](_0x1925bc){const _0x4b4c58=_0xadbcab;try{this[_0x4b4c58(0x1cf)]=new _0x1cb0d6({'connector':this[_0x4b4c58(0x1d3)],'config':_0x1925bc,'ownerId':this['id']}),this[_0x4b4c58(0x1cf)][_0x4b4c58(0x190)](..._0x7dd368)['to'](this),this[_0x4b4c58(0x1cf)][_0x4b4c58(0x1af)](),this[_0x4b4c58(0x194)]=new _0x491def(),this[_0x4b4c58(0x194)][_0x4b4c58(0x190)](..._0x6b6e66)['to'](this),this[_0x4b4c58(0x194)][_0x4b4c58(0x1af)]();const _0x3f5e13=await this[_0x4b4c58(0x182)][_0x4b4c58(0x1e5)]();this[_0x4b4c58(0x1b2)](_0x4b4c58(0x1d0),{'availableModels':_0x3f5e13});const _0x195748=await this[_0x4b4c58(0x182)][_0x4b4c58(0x1e3)](this[_0x4b4c58(0x195)][_0x4b4c58(0x18a)]);_0x195748&&await this[_0x4b4c58(0x1c6)](_0x195748);}catch(_0x391232){const _0x1cb661=new _0x13d9eb(_0x4b4c58(0x175),null,{'message':_0x391232[_0x4b4c58(0x1a7)]});_0x1cb661[_0x4b4c58(0x18d)]=_0x391232[_0x4b4c58(0x18d)],this[_0x4b4c58(0x1b2)](_0x4b4c58(0x199),{'error':_0x1cb661});}}async[_0xadbcab(0x19b)](){const _0x495d86=_0xadbcab;if(this[_0x495d86(0x1bb)])throw new _0x13d9eb(_0x495d86(0x1ae),null,{'conversation':this});if(!this[_0x495d86(0x1b7)])throw new _0x13d9eb(_0x495d86(0x1c4),null,{'conversation':this});try{const {id:_0x56b749}=await this[_0x495d86(0x1d3)][_0x495d86(0x198)](this['id'],this[_0x495d86(0x195)][_0x495d86(0x1d5)])[_0x495d86(0x1ca)]();this['id']=_0x56b749,this[_0x495d86(0x1bb)]=!0x0,this[_0x495d86(0x1b2)](_0x495d86(0x1d1),{'conversationId':this['id'],'selectedModel':this[_0x495d86(0x1b7)]});}catch(_0xc60921){const _0x57d87e=new _0x13d9eb(_0x495d86(0x196),null,{'message':_0xc60921[_0x495d86(0x1a7)]});_0x57d87e[_0x495d86(0x18d)]=_0xc60921[_0x495d86(0x18d)],this[_0x495d86(0x1b2)](_0x495d86(0x199),{'error':_0x57d87e});}}async[_0xadbcab(0x1cb)](_0x17bc6d,_0xac3ce0){const _0x5eecc9=_0xadbcab;try{const _0x37a214=await this[_0x5eecc9(0x1d3)][_0x5eecc9(0x17f)](_0x17bc6d)[_0x5eecc9(0x1ca)](),_0x539396=await this[_0x5eecc9(0x1d3)][_0x5eecc9(0x1b6)](_0x17bc6d)[_0x5eecc9(0x1c7)](),_0x204a74=_0x539396[0x0][_0x5eecc9(0x183)];this[_0x5eecc9(0x1bb)]=!0x0,this['id']=_0x37a214['id'],_0x5eecc9(0x1e1)in _0x37a214?this[_0x5eecc9(0x1b2)](_0x5eecc9(0x188),_0x37a214[_0x5eecc9(0x1e1)],!0x0):this[_0x5eecc9(0x1b2)](_0x5eecc9(0x188),'',!0x0);const _0xeb45e4=(await this[_0x5eecc9(0x182)][_0x5eecc9(0x1b1)]())[_0x5eecc9(0x1a6)](_0xa35a4e=>_0xa35a4e['id'][_0x5eecc9(0x17a)]()===_0x204a74[_0x5eecc9(0x17a)]());return this[_0x5eecc9(0x1b7)]=_0xeb45e4,this[_0x5eecc9(0x1b2)](_0x5eecc9(0x1cd),{'selectedModel':_0xeb45e4,'isDisabled':!0x0}),await this[_0x5eecc9(0x1c8)](_0x539396,_0xac3ce0,_0x204a74),this[_0x5eecc9(0x17c)]=void 0x0,this;}catch(_0x29fed0){const _0x5f4559=new _0x13d9eb(_0x5eecc9(0x1b9),null,{'message':_0x29fed0[_0x5eecc9(0x1a7)],'conversationId':_0x17bc6d});throw _0x5f4559[_0x5eecc9(0x18d)]=_0x29fed0[_0x5eecc9(0x18d)],this[_0x5eecc9(0x1b2)](_0x5eecc9(0x199),{'error':_0x5f4559}),_0x5f4559;}}async[_0xadbcab(0x1c8)](_0x1006af,_0x10ad1f,_0x5dbb73){const _0x30e71f=_0xadbcab;let _0x443a04;for(const _0x53bb87 of _0x1006af)if(_0x30e71f(0x1cc)===_0x53bb87[_0x30e71f(0x1c2)]){const _0x49c751=await this[_0x30e71f(0x1d6)](_0x53bb87),_0x32692d={'isReasoningEnabled':Object[_0x30e71f(0x1e0)](_0x53bb87[_0x30e71f(0x1e8)],_0x30e71f(0x187)),'isWebSearchEnabled':Object[_0x30e71f(0x1e0)](_0x53bb87[_0x30e71f(0x1e8)],_0x30e71f(0x1a8))};_0x443a04=this[_0x30e71f(0x192)]({'userMessage':_0x53bb87[_0x30e71f(0x1c0)],'contextItems':_0x49c751,'capabilities':_0x32692d,'modelId':_0x5dbb73,'quickActionData':_0x53bb87[_0x30e71f(0x1e4)]?.[_0x30e71f(0x1b0)]}),this[_0x30e71f(0x17c)]=_0x443a04,this[_0x30e71f(0x1cf)][_0x30e71f(0x19f)](this[_0x30e71f(0x17c)][_0x30e71f(0x17d)]);}else{if(_0x30e71f(0x180)===_0x53bb87[_0x30e71f(0x1c2)]&&_0x443a04)for(const _0x150237 of _0x53bb87[_0x30e71f(0x1bf)]){const _0x5ed8eb=_0x30e71f(0x1ba)===_0x150237[_0x30e71f(0x1dc)]?_0x30e71f(0x1da):_0x30e71f(0x1a5),_0x17e71b=_0x443a04[_0x30e71f(0x197)]()?.[_0x30e71f(0x1a0)]!==_0x10ad1f;_0x443a04[_0x30e71f(0x19d)]=_0x443a04[_0x30e71f(0x18e)]({'type':_0x5ed8eb,'isDone':!0x0,'interactionId':_0x443a04['id'],'areActionsDisabled':_0x17e71b}),_0x443a04[_0x30e71f(0x19d)][_0x30e71f(0x19c)](_0x150237[_0x30e71f(0x1bf)]);}}}async[_0xadbcab(0x1d6)](_0x4af6b5){const _0x585e2c=_0xadbcab,_0x4803dd=new Map();if(!_0x4af6b5[_0x585e2c(0x1bf)])return _0x4803dd;for(const _0x2fd780 of _0x4af6b5[_0x585e2c(0x1bf)]){const _0x4c2898=await this[_0x585e2c(0x1cf)][_0x585e2c(0x1bd)](_0x2fd780);_0x4c2898&&_0x4803dd[_0x585e2c(0x1b3)](_0x4c2898['id'],_0x4c2898);}return _0x4803dd;}async[_0xadbcab(0x1db)]({userMessage:_0x230c0a,quickActionData:_0x4325b3}){const _0x53c936=_0xadbcab;if(!this[_0x53c936(0x1bb)])throw new _0x13d9eb(_0x53c936(0x1aa),null,{'conversation':this});if(this[_0x53c936(0x17c)])throw new _0x13d9eb(_0x53c936(0x176),null,{'conversation':this});try{const _0x206dd2=this[_0x53c936(0x1cf)][_0x53c936(0x1ab)](),_0x2ab1f7=this[_0x53c936(0x194)][_0x53c936(0x19e)](),_0x590e4d=this[_0x53c936(0x1b7)]['id'];this[_0x53c936(0x17c)]=this[_0x53c936(0x192)]({'userMessage':_0x230c0a,'contextItems':_0x206dd2,'capabilities':_0x2ab1f7,'modelId':_0x590e4d,'quickActionData':_0x4325b3}),await this[_0x53c936(0x17c)][_0x53c936(0x19b)](),this[_0x53c936(0x1cf)][_0x53c936(0x19f)](this[_0x53c936(0x17c)][_0x53c936(0x17d)]);}catch(_0x3126d9){this[_0x53c936(0x1b2)](_0x53c936(0x199),{'interactionId':this[_0x53c936(0x17c)]?this[_0x53c936(0x17c)]['id']:void 0x0,'error':_0x3126d9});}finally{this[_0x53c936(0x17c)]?.[_0x53c936(0x1a3)](),this[_0x53c936(0x17c)]=void 0x0;}}[_0xadbcab(0x192)]({userMessage:_0x3d46f8,contextItems:_0x1fe711,capabilities:_0x56f5a7,modelId:_0x3ae633,quickActionData:_0x896583}){const _0xc818e9=_0xadbcab,_0xe0251b=new _0x4c5c42({'userMessage':_0x3d46f8,'contextItems':_0x1fe711,'capabilities':_0x56f5a7,'conversationId':this['id'],'connector':this[_0xc818e9(0x1d3)],'editor':this[_0xc818e9(0x195)][_0xc818e9(0x1d4)]&&this[_0xc818e9(0x195)][_0xc818e9(0x1d4)](),'model':_0x3ae633,'quickActionData':_0x896583});return _0xe0251b[_0xc818e9(0x190)](..._0x235ab1)['to'](this),this[_0xc818e9(0x18b)][_0xc818e9(0x1ac)](_0xe0251b),this[_0xc818e9(0x1b2)](_0xc818e9(0x1d2),_0xe0251b),_0xe0251b;}[_0xadbcab(0x1a9)](_0x557228){const _0x2e206a=_0xadbcab;return this[_0x2e206a(0x18b)][_0x2e206a(0x1a6)](_0x1db520=>_0x1db520['id']===_0x557228);}[_0xadbcab(0x181)](_0xbffc64){const _0x54ebc5=_0xadbcab,_0xbd956=this[_0x54ebc5(0x1a9)](_0xbffc64);_0xbd956&&(_0xbd956[_0x54ebc5(0x1de)](),this[_0x54ebc5(0x18b)][_0x54ebc5(0x179)](this[_0x54ebc5(0x18b)][_0x54ebc5(0x193)](_0xbd956),0x1));}get[_0xadbcab(0x1ce)](){const _0x5a549e=_0xadbcab;return this[_0x5a549e(0x18b)][this[_0x5a549e(0x18b)][_0x5a549e(0x1e7)]-0x1];}[_0xadbcab(0x1bc)](_0xe8e127){const _0x42bc39=_0xadbcab;this[_0x42bc39(0x1cf)][_0x42bc39(0x1bc)](_0xe8e127);}async[_0xadbcab(0x17b)]({content:_0x26c499,version:_0x42ba4e,sessionId:_0xf71522,selections:_0x251c63}){const _0x3bb65b=_0xadbcab;await this[_0x3bb65b(0x1cf)][_0x3bb65b(0x1a4)](_0x26c499,_0x42ba4e,_0xf71522,_0x251c63);}[_0xadbcab(0x1e2)](){const _0x537984=_0xadbcab;return this[_0x537984(0x17c)]?.[_0x537984(0x197)]()?.[_0x537984(0x1bf)]||'';}[_0xadbcab(0x18f)](_0x52b3ab){const _0x567769=_0xadbcab;this[_0x567769(0x1cf)][_0x567769(0x18f)](_0x52b3ab);}[_0xadbcab(0x1a2)](){const _0x54e09d=_0xadbcab;this[_0x54e09d(0x1cf)][_0x54e09d(0x1a2)]();}[_0xadbcab(0x1be)](_0x2795b0){const _0xee8ce=_0xadbcab;this[_0xee8ce(0x1cf)][_0xee8ce(0x1be)](_0x2795b0);}[_0xadbcab(0x177)](_0x49c006){const _0x1d38fe=_0xadbcab;this[_0x1d38fe(0x1cf)][_0x1d38fe(0x177)](_0x49c006);}[_0xadbcab(0x17e)](_0x3156a0,_0x4f8ef6){const _0x189fcd=_0xadbcab;this[_0x189fcd(0x1cf)][_0x189fcd(0x17e)](_0x3156a0,_0x4f8ef6);}[_0xadbcab(0x1c5)](_0x367ab8,_0x48086b,_0x5e5a90){const _0x19db73=_0xadbcab;return this[_0x19db73(0x1cf)][_0x19db73(0x1c5)](_0x367ab8,_0x48086b,_0x5e5a90);}[_0xadbcab(0x1c9)](_0x295d12){const _0x9eb42f=_0xadbcab;this[_0x9eb42f(0x1cf)][_0x9eb42f(0x1c9)](_0x295d12);}[_0xadbcab(0x18c)](){const _0x28538c=_0xadbcab;this[_0x28538c(0x194)][_0x28538c(0x18c)]();}[_0xadbcab(0x186)](){const _0x36d3aa=_0xadbcab;this[_0x36d3aa(0x194)][_0x36d3aa(0x186)]();}[_0xadbcab(0x19a)](){const _0x3c3301=_0xadbcab;return this[_0x3c3301(0x1cf)][_0x3c3301(0x19a)]();}[_0xadbcab(0x1b4)](){const _0x45347a=_0xadbcab;return this[_0x45347a(0x1cf)][_0x45347a(0x1b4)]();}[_0xadbcab(0x1c1)](){const _0x20edbb=_0xadbcab;return this[_0x20edbb(0x1cf)][_0x20edbb(0x1c1)]();}async[_0xadbcab(0x1c6)](_0xabd1ff){const _0x35f9a3=_0xadbcab;_0xabd1ff?!0x1===await this[_0x35f9a3(0x182)][_0x35f9a3(0x178)](_0xabd1ff)&&(_0x33d6f1(_0x35f9a3(0x1d8),{'conversation':this,'model':_0xabd1ff}),_0xabd1ff=(await this[_0x35f9a3(0x182)][_0x35f9a3(0x1e5)]())[0x0]):(_0x33d6f1(_0x35f9a3(0x1b8),{'conversation':this}),_0xabd1ff=(await this[_0x35f9a3(0x182)][_0x35f9a3(0x1e5)]())[0x0]),_0xabd1ff['id']!==this[_0x35f9a3(0x1b7)]?.['id']&&(this[_0x35f9a3(0x1b7)]=_0xabd1ff,this[_0x35f9a3(0x194)][_0x35f9a3(0x189)](),this[_0x35f9a3(0x1b2)](_0x35f9a3(0x1cd),{'selectedModel':_0xabd1ff}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1849(_0x182080,_0x51323c){var _0x280167=_0x2801();return _0x1849=function(_0x184966,_0x1cc72e){_0x184966=_0x184966-0xa1;var _0x41f6b7=_0x280167[_0x184966];return _0x41f6b7;},_0x1849(_0x182080,_0x51323c);}var _0xe4120e=_0x1849;(function(_0x32cd2d,_0x5c94df){var _0x39b48b=_0x1849,_0x280d99=_0x32cd2d();while(!![]){try{var _0x19f8b5=-parseInt(_0x39b48b(0xb5))/0x1+-parseInt(_0x39b48b(0xa6))/0x2+parseInt(_0x39b48b(0xaa))/0x3*(-parseInt(_0x39b48b(0xb0))/0x4)+-parseInt(_0x39b48b(0xb6))/0x5+-parseInt(_0x39b48b(0xad))/0x6*(parseInt(_0x39b48b(0xb8))/0x7)+-parseInt(_0x39b48b(0xa4))/0x8+-parseInt(_0x39b48b(0xb1))/0x9*(-parseInt(_0x39b48b(0xb7))/0xa);if(_0x19f8b5===_0x5c94df)break;else _0x280d99['push'](_0x280d99['shift']());}catch(_0x6368e8){_0x280d99['push'](_0x280d99['shift']());}}}(_0x2801,0xbd3b3));import{AICapabilities as _0x12b924}from'../../aicore/model/aicapabilities.js';function _0x2801(){var _0x133b2a=['21JQjFVp','get','mapContextItemsToRequestData','contextItems','5398912CNrppU','sendRequest','1463682rxcznz','capabilities','userMessage','model','27OBMlAF','getDocumentContext','current-document','671172BpALvj','connector','conversationId','133820nXUZhC','43003773CRuOoV','getCapabilitiesRequestData','quickActionData','queryAssistant','829749LBrUJD','5649855QTOatC','10RsivWt'];_0x2801=function(){return _0x133b2a;};return _0x2801();}import{AIInteraction as _0x12c695}from'../../aicore/model/aiinteraction.js';import{AIChatContext as _0x55cfdc}from'./aichatcontext.js';export class AIChatInteraction extends _0x12c695{[_0xe4120e(0xa8)];[_0xe4120e(0xaf)];[_0xe4120e(0xa3)]=new Map();[_0xe4120e(0xa9)];[_0xe4120e(0xb3)];constructor(_0x37c6c5){var _0x7393c7=_0xe4120e;super(_0x37c6c5),this[_0x7393c7(0xaf)]=_0x37c6c5[_0x7393c7(0xaf)],this[_0x7393c7(0xa3)]=_0x37c6c5[_0x7393c7(0xa3)],this[_0x7393c7(0xa7)]=_0x37c6c5[_0x7393c7(0xa7)],this[_0x7393c7(0xa8)]=_0x37c6c5[_0x7393c7(0xa8)],this[_0x7393c7(0xa9)]=_0x37c6c5[_0x7393c7(0xa9)],this[_0x7393c7(0xb3)]=_0x37c6c5[_0x7393c7(0xb3)];}async[_0xe4120e(0xa5)](){var _0x58150f=_0xe4120e;return this[_0x58150f(0xae)][_0x58150f(0xb4)]({'message':this[_0x58150f(0xa8)],'conversationId':this[_0x58150f(0xaf)],'parts':_0x55cfdc[_0x58150f(0xa2)](this[_0x58150f(0xa3)]),'capabilities':_0x12b924[_0x58150f(0xb2)](this[_0x58150f(0xa7)]),'model':this[_0x58150f(0xa9)],'quickActionData':this[_0x58150f(0xb3)]});}[_0xe4120e(0xab)](){var _0x5b02ba=_0xe4120e;return this[_0x5b02ba(0xa3)][_0x5b02ba(0xa1)](_0x5b02ba(0xac));}}
23
+ function _0x38cd(){var _0x4addfc=['model','get','current-document','quickActionData','4201417IafIZt','sendRequest','userMessage','capabilities','413692fWFJEe','194668henOPC','getDocumentContext','249258Pqxkrn','queryAssistant','1495BgxXal','getCapabilitiesRequestData','mapContextItemsToRequestData','1tQPqRa','698004NwkWwm','1465168pMXEpb','connector','3948QaGExn','7mozNMT','conversationId','10nCiNKe','contextItems'];_0x38cd=function(){return _0x4addfc;};return _0x38cd();}var _0x13cbbe=_0x3834;(function(_0x4b0fd4,_0x425b08){var _0x8c4ebd=_0x3834,_0x29b818=_0x4b0fd4();while(!![]){try{var _0x42990b=-parseInt(_0x8c4ebd(0x1b7))/0x1*(parseInt(_0x8c4ebd(0x1c8))/0x2)+parseInt(_0x8c4ebd(0x1b2))/0x3+-parseInt(_0x8c4ebd(0x1b0))/0x4+parseInt(_0x8c4ebd(0x1b4))/0x5*(-parseInt(_0x8c4ebd(0x1bb))/0x6)+-parseInt(_0x8c4ebd(0x1bc))/0x7*(-parseInt(_0x8c4ebd(0x1b9))/0x8)+-parseInt(_0x8c4ebd(0x1b8))/0x9+parseInt(_0x8c4ebd(0x1be))/0xa*(parseInt(_0x8c4ebd(0x1c4))/0xb);if(_0x42990b===_0x425b08)break;else _0x29b818['push'](_0x29b818['shift']());}catch(_0x23c459){_0x29b818['push'](_0x29b818['shift']());}}}(_0x38cd,0x1ce60));import{AICapabilities as _0x57757f}from'../../aicore/model/aicapabilities.js';import{AIInteraction as _0x487603}from'../../aicore/model/aiinteraction.js';function _0x3834(_0xd859ea,_0x24a519){var _0x38cdeb=_0x38cd();return _0x3834=function(_0x38342f,_0x31eee0){_0x38342f=_0x38342f-0x1b0;var _0x4c9a0c=_0x38cdeb[_0x38342f];return _0x4c9a0c;},_0x3834(_0xd859ea,_0x24a519);}import{AIChatContext as _0x140799}from'./aichatcontext.js';export class AIChatInteraction extends _0x487603{[_0x13cbbe(0x1c6)];[_0x13cbbe(0x1bd)];[_0x13cbbe(0x1bf)]=new Map();[_0x13cbbe(0x1c0)];[_0x13cbbe(0x1c3)];constructor(_0x290148){var _0x49aa03=_0x13cbbe;super(_0x290148),this[_0x49aa03(0x1bd)]=_0x290148[_0x49aa03(0x1bd)],this[_0x49aa03(0x1bf)]=_0x290148[_0x49aa03(0x1bf)],this[_0x49aa03(0x1c7)]=_0x290148[_0x49aa03(0x1c7)],this[_0x49aa03(0x1c6)]=_0x290148[_0x49aa03(0x1c6)],this[_0x49aa03(0x1c0)]=_0x290148[_0x49aa03(0x1c0)],this[_0x49aa03(0x1c3)]=_0x290148[_0x49aa03(0x1c3)];}async[_0x13cbbe(0x1c5)](){var _0x43e639=_0x13cbbe;return this[_0x43e639(0x1ba)][_0x43e639(0x1b3)]({'message':this[_0x43e639(0x1c6)],'conversationId':this[_0x43e639(0x1bd)],'parts':_0x140799[_0x43e639(0x1b6)](this[_0x43e639(0x1bf)]),'capabilities':_0x57757f[_0x43e639(0x1b5)](this[_0x43e639(0x1c7)]),'model':this[_0x43e639(0x1c0)],'quickActionData':this[_0x43e639(0x1c3)]});}[_0x13cbbe(0x1b1)](){var _0x6f6fd4=_0x13cbbe;return this[_0x6f6fd4(0x1bf)][_0x6f6fd4(0x1c1)](_0x6f6fd4(0x1c2));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15141c=_0x32f4;function _0x32f4(_0x3bd7d1,_0x2fb833){const _0x9e09f8=_0x9e09();return _0x32f4=function(_0x32f467,_0x34ebb6){_0x32f467=_0x32f467-0x1b0;let _0x56d06f=_0x9e09f8[_0x32f467];return _0x56d06f;},_0x32f4(_0x3bd7d1,_0x2fb833);}function _0x9e09(){const _0x51b634=['values','length','21130fJPBLC','168NZgXRU','getAll','1066365cmuOzd','972391hFRUoP','4830008dfNCJd','filter','363453XFFJOz','sort','332254yGcuLo','enabled','20211930aCJfdW','24rTAWxT','capabilities'];_0x9e09=function(){return _0x51b634;};return _0x9e09();}(function(_0x5d5dc3,_0x3a5b6e){const _0x37d1be=_0x32f4,_0x3a77e7=_0x5d5dc3();while(!![]){try{const _0x1a1245=-parseInt(_0x37d1be(0x1bc))/0x1+parseInt(_0x37d1be(0x1be))/0x2+-parseInt(_0x37d1be(0x1b8))/0x3+-parseInt(_0x37d1be(0x1b6))/0x4*(parseInt(_0x37d1be(0x1b5))/0x5)+-parseInt(_0x37d1be(0x1b1))/0x6*(parseInt(_0x37d1be(0x1b9))/0x7)+-parseInt(_0x37d1be(0x1ba))/0x8+parseInt(_0x37d1be(0x1b0))/0x9;if(_0x1a1245===_0x3a5b6e)break;else _0x3a77e7['push'](_0x3a77e7['shift']());}catch(_0x2b2bac){_0x3a77e7['push'](_0x3a77e7['shift']());}}}(_0x9e09,0x56efe));import{AIModels as _0x5610d3}from'../../aicore/model/aimodels.js';export class AIChatModels extends _0x5610d3{async[_0x15141c(0x1b7)](){const _0x2d378f=_0x15141c;return(await super[_0x2d378f(0x1b7)]())[_0x2d378f(0x1bd)]((_0x49daeb,_0x122f3e)=>{const _0x22c1e8=_0x2d378f,_0x587232=Object[_0x22c1e8(0x1b3)](_0x49daeb[_0x22c1e8(0x1b2)])[_0x22c1e8(0x1bb)](_0xaaaab1=>_0xaaaab1[_0x22c1e8(0x1bf)])[_0x22c1e8(0x1b4)];return Object[_0x22c1e8(0x1b3)](_0x122f3e[_0x22c1e8(0x1b2)])[_0x22c1e8(0x1bb)](_0xd8b56=>_0xd8b56[_0x22c1e8(0x1bf)])[_0x22c1e8(0x1b4)]-_0x587232;});}}
23
+ const _0x1fc240=_0x3b91;function _0x3b91(_0x302db2,_0x2dcf5e){const _0x3a68e6=_0x3a68();return _0x3b91=function(_0x3b91da,_0x382b54){_0x3b91da=_0x3b91da-0x18c;let _0x4c54f5=_0x3a68e6[_0x3b91da];return _0x4c54f5;},_0x3b91(_0x302db2,_0x2dcf5e);}(function(_0xa89236,_0x64b660){const _0x5651f7=_0x3b91,_0x1e76f8=_0xa89236();while(!![]){try{const _0x28fa44=parseInt(_0x5651f7(0x190))/0x1*(parseInt(_0x5651f7(0x196))/0x2)+parseInt(_0x5651f7(0x195))/0x3+-parseInt(_0x5651f7(0x192))/0x4*(parseInt(_0x5651f7(0x18d))/0x5)+parseInt(_0x5651f7(0x198))/0x6+-parseInt(_0x5651f7(0x18c))/0x7+-parseInt(_0x5651f7(0x197))/0x8+-parseInt(_0x5651f7(0x19c))/0x9*(-parseInt(_0x5651f7(0x199))/0xa);if(_0x28fa44===_0x64b660)break;else _0x1e76f8['push'](_0x1e76f8['shift']());}catch(_0x3bac0a){_0x1e76f8['push'](_0x1e76f8['shift']());}}}(_0x3a68,0xad4ff));function _0x3a68(){const _0x4fe1e7=['filter','20612nnlQks','values','sort','3607038iRhCAL','67546JHTAxV','10256472HZQlOB','3614646OwQPbQ','2101940RJQpET','enabled','length','63UJNytd','9492917QZcxGf','815ajIuBd','getAll','capabilities','27RDEfym'];_0x3a68=function(){return _0x4fe1e7;};return _0x3a68();}import{AIModels as _0x59d823}from'../../aicore/model/aimodels.js';export class AIChatModels extends _0x59d823{async[_0x1fc240(0x18e)](){const _0x33b8a3=_0x1fc240;return(await super[_0x33b8a3(0x18e)]())[_0x33b8a3(0x194)]((_0x250dc1,_0x5ac38e)=>{const _0x3eea5c=_0x33b8a3,_0x4b5cad=Object[_0x3eea5c(0x193)](_0x250dc1[_0x3eea5c(0x18f)])[_0x3eea5c(0x191)](_0x2a2c44=>_0x2a2c44[_0x3eea5c(0x19a)])[_0x3eea5c(0x19b)];return Object[_0x3eea5c(0x193)](_0x5ac38e[_0x3eea5c(0x18f)])[_0x3eea5c(0x191)](_0x1b12d6=>_0x1b12d6[_0x3eea5c(0x19a)])[_0x3eea5c(0x19b)]-_0x4b5cad;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x400d36=_0x5eda;(function(_0x5855f9,_0x3621a0){const _0x36dd3c=_0x5eda,_0x511d5b=_0x5855f9();while(!![]){try{const _0x174fdb=-parseInt(_0x36dd3c(0x78))/0x1+-parseInt(_0x36dd3c(0x8e))/0x2*(parseInt(_0x36dd3c(0xa0))/0x3)+parseInt(_0x36dd3c(0x74))/0x4*(-parseInt(_0x36dd3c(0x9a))/0x5)+parseInt(_0x36dd3c(0xae))/0x6+-parseInt(_0x36dd3c(0x90))/0x7*(-parseInt(_0x36dd3c(0x99))/0x8)+-parseInt(_0x36dd3c(0x7d))/0x9*(parseInt(_0x36dd3c(0x77))/0xa)+parseInt(_0x36dd3c(0xb1))/0xb;if(_0x174fdb===_0x3621a0)break;else _0x511d5b['push'](_0x511d5b['shift']());}catch(_0x222246){_0x511d5b['push'](_0x511d5b['shift']());}}}(_0x4eba,0x28a48));import{ButtonView as _0x137dfe,clickOutsideHandler as _0x276912,View as _0x55e1d5}from'ckeditor5/src/ui.js';function _0x5eda(_0x3fd98f,_0x5b4ec7){const _0x4eba68=_0x4eba();return _0x5eda=function(_0x5edaa9,_0x8f9ec2){_0x5edaa9=_0x5edaa9-0x64;let _0x42c8cb=_0x4eba68[_0x5edaa9];return _0x42c8cb;},_0x5eda(_0x3fd98f,_0x5b4ec7);}import{AIChatPromptInputView as _0x359a9d}from'./controls/aichatpromptinputview.js';import{AIChatPromptCapabilitiesView as _0x4f2893}from'./controls/aichatpromptcapabilitiesview.js';import{AIChatContextPanelView as _0x19860c,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x1fbbd3}from'./controls/aichatcontextpanelview.js';import{AIChatControlsLoaderView as _0x127e7d}from'./controls/aichatcontrolsloaderview.js';import{getTranslation as _0x415692}from'../../aicore/utils/common-translations.js';export class AIChatControlsView extends _0x55e1d5{[_0x400d36(0x84)]=[];[_0x400d36(0x9f)];[_0x400d36(0x9e)];[_0x400d36(0x68)];[_0x400d36(0xa9)];[_0x400d36(0x79)];[_0x400d36(0xa1)];constructor(_0x521d76,_0x3c86d3){const _0xa00d46=_0x400d36;super(_0x521d76),this[_0xa00d46(0x9f)]=this[_0xa00d46(0x73)](_0x521d76,{'bodyCollection':_0x3c86d3[_0xa00d46(0x7b)],'searchInputVisibleFrom':_0x3c86d3[_0xa00d46(0x8c)]}),this[_0xa00d46(0x9e)]=this[_0xa00d46(0x81)](_0x521d76),this[_0xa00d46(0x68)]=this[_0xa00d46(0x67)](_0x521d76),this[_0xa00d46(0xa9)]=this[_0xa00d46(0xa8)](_0x521d76),this[_0xa00d46(0x79)]=this[_0xa00d46(0xa7)](_0x521d76),this[_0xa00d46(0xa1)]=!0x1,this[_0xa00d46(0x9e)][_0xa00d46(0x71)](_0xa00d46(0xb4))['to'](this),this[_0xa00d46(0xa9)][_0xa00d46(0x71)](_0xa00d46(0x66))['to'](this),this[_0xa00d46(0x68)][_0xa00d46(0x71)](_0xa00d46(0x6d))['to'](this),this[_0xa00d46(0x68)][_0xa00d46(0x71)](_0xa00d46(0xa2))['to'](this),this[_0xa00d46(0x68)][_0xa00d46(0x71)](_0xa00d46(0x6e))['to'](this),this[_0xa00d46(0x9f)][_0xa00d46(0x71)](..._0x1fbbd3)['to'](this),this[_0xa00d46(0x89)](_0xa00d46(0x80),!0x0),this[_0xa00d46(0x89)](_0xa00d46(0xaa),!0x1);const _0x7ee61b=this[_0xa00d46(0x91)];this[_0xa00d46(0x7f)]({'tag':_0xa00d46(0x76),'attributes':{'class':['ck',_0xa00d46(0x83),_0x7ee61b['if'](_0xa00d46(0xaa),_0xa00d46(0x75))]},'children':[{'tag':_0xa00d46(0x7e),'attributes':{'class':[_0x7ee61b['if'](_0xa00d46(0x8b),_0xa00d46(0x6b),_0x31452f=>_0x31452f||!this[_0xa00d46(0x80)]),_0x7ee61b['if'](_0xa00d46(0x80),_0xa00d46(0x6b),_0xcdad2a=>!_0xcdad2a||this[_0xa00d46(0x8b)])]},'children':[this[_0xa00d46(0x9f)],this[_0xa00d46(0x9e)],this[_0xa00d46(0x68)]]},{'tag':_0xa00d46(0x7e),'attributes':{'class':[_0x7ee61b['if'](_0xa00d46(0x8b),_0xa00d46(0x6b),_0x27d197=>!_0x27d197)]},'children':[this[_0xa00d46(0xa9)]]},{'tag':_0xa00d46(0x7e),'attributes':{'class':[_0x7ee61b['if'](_0xa00d46(0x80),_0xa00d46(0x6b),_0x4fd598=>_0x4fd598)]},'children':[this[_0xa00d46(0x79)]]}]}),_0x276912({'emitter':this[_0xa00d46(0x9e)],'activator':()=>this[_0xa00d46(0x8b)],'contextElements':()=>[this[_0xa00d46(0x8d)]],'callback':()=>{const _0x6e1df=_0xa00d46;this[_0x6e1df(0xa1)]=!0x1;}}),this['on'](_0xa00d46(0x72),this[_0xa00d46(0x8a)],{'priority':_0xa00d46(0x95)});}[_0x400d36(0x73)](_0x3c844a,_0x4f3d4c){return new _0x19860c(_0x3c844a,_0x4f3d4c);}[_0x400d36(0x81)](_0x36d51a){const _0x116b83=_0x400d36;return new _0x359a9d(_0x36d51a,this[_0x116b83(0x9f)][_0x116b83(0xa3)]);}[_0x400d36(0x67)](_0x20ca45){return new _0x4f2893(_0x20ca45);}[_0x400d36(0xa8)](_0x4244c9){return new _0x127e7d(_0x4244c9);}[_0x400d36(0xa7)](_0x8edafa){const _0x749b87=_0x400d36,_0xc9d40d=new hs(_0x8edafa);return _0xc9d40d[_0x749b87(0x71)](_0x749b87(0x92))['to'](this),_0xc9d40d;}[_0x400d36(0x8a)](_0x31a70c,_0x352892,_0x5dd324){const _0x210250=_0x400d36;_0x5dd324?this[_0x210250(0xa1)]=!0x0:this[_0x210250(0xa1)]&&this[_0x210250(0x9e)][_0x210250(0xa6)]();}[_0x400d36(0x94)](_0x30e12c,_0x2b171f){const _0x3cb256=_0x400d36;this[_0x3cb256(0x9f)][_0x3cb256(0x94)](_0x30e12c,_0x2b171f);}[_0x400d36(0xb2)](_0x33feb5){const _0x71d2b6=_0x400d36;this[_0x71d2b6(0x9f)][_0x71d2b6(0xb2)](_0x33feb5);}[_0x400d36(0x69)](_0x4b6edb,_0x5cf034){const _0x163f01=_0x400d36;this[_0x163f01(0x9f)][_0x163f01(0x69)](_0x4b6edb,_0x5cf034);}[_0x400d36(0x88)](_0x3beab6){const _0x5d8947=_0x400d36;this[_0x5d8947(0x9e)][_0x5d8947(0x88)](_0x3beab6);}[_0x400d36(0xb0)](_0x2785fe){const _0x34249f=_0x400d36;this[_0x34249f(0x9f)][_0x34249f(0xb0)](_0x2785fe);}[_0x400d36(0x6a)](){const _0x5cd62e=_0x400d36;this[_0x5cd62e(0x9f)][_0x5cd62e(0x93)]();}[_0x400d36(0x82)](){const _0x352b91=_0x400d36;this[_0x352b91(0x9f)][_0x352b91(0x9d)]();}[_0x400d36(0xab)](_0x4bf850,_0xc5ea9e,_0xe9358f){const _0x494d41=_0x400d36;this[_0x494d41(0x9f)][_0x494d41(0xab)](_0x4bf850,_0xc5ea9e,_0xe9358f);}[_0x400d36(0x87)](_0x3a1225){const _0x931658=_0x400d36;this[_0x931658(0x68)][_0x931658(0x87)](_0x3a1225);}[_0x400d36(0x9c)](_0x2d173c){const _0x39bc79=_0x400d36;this[_0x39bc79(0x68)][_0x39bc79(0x9c)](_0x2d173c);}[_0x400d36(0x7c)](){const _0x13ee07=_0x400d36;this[_0x13ee07(0x9e)][_0x13ee07(0x6f)]();}[_0x400d36(0x98)](_0x3f709e){const _0x21eb06=_0x400d36;this[_0x21eb06(0x9f)][_0x21eb06(0x98)](_0x3f709e);}[_0x400d36(0x70)](_0x523156){const _0x23d8ca=_0x400d36;this[_0x23d8ca(0x9e)][_0x23d8ca(0xa4)](_0x523156);}[_0x400d36(0x9b)](_0x21d6cc,_0xbd5191){const _0x1f1947=_0x400d36;this[_0x1f1947(0x84)]=_0x21d6cc,this[_0x1f1947(0x68)][_0x1f1947(0x9b)](_0x21d6cc,_0xbd5191);}[_0x400d36(0x96)](_0x558dfe){const _0x32fee1=_0x400d36;(_0x558dfe?this[_0x32fee1(0x84)][_0x32fee1(0x6c)](_0x1e1a92=>_0x1e1a92['id']===_0x558dfe['id']):null)?(this[_0x32fee1(0x80)]=!0x0,this[_0x32fee1(0x68)][_0x32fee1(0x96)](_0x558dfe)):_0x558dfe?.['id'][_0x32fee1(0xac)](_0x32fee1(0x97))?(this[_0x32fee1(0x80)]=!0x0,this[_0x32fee1(0x68)][_0x32fee1(0x96)](this[_0x32fee1(0x84)][0x0])):this[_0x32fee1(0x80)]=!0x1;}[_0x400d36(0x64)](){const _0xaae5e6=_0x400d36;this[_0xaae5e6(0x68)][_0xaae5e6(0x64)]();}[_0x400d36(0x86)](_0x531495){const _0x195b3b=_0x400d36;this[_0x195b3b(0x68)][_0x195b3b(0x86)](_0x531495);}[_0x400d36(0xaf)](_0x2e24c0,_0x54f107,_0x22af60,_0x10ba2c){const _0x4fb4c9=_0x400d36;this[_0x4fb4c9(0x9f)][_0x4fb4c9(0xaf)](_0x2e24c0,_0x54f107,_0x22af60,_0x10ba2c);}[_0x400d36(0x65)](_0x2eeac3){const _0x35fb3f=_0x400d36;this[_0x35fb3f(0x9f)][_0x35fb3f(0x65)](_0x2eeac3);}[_0x400d36(0x8f)](){const _0x548eea=_0x400d36;this[_0x548eea(0x9e)][_0x548eea(0xa6)]();}}class hs extends _0x55e1d5{constructor(_0x2883d3){const _0x6342d3=_0x400d36;super(_0x2883d3);const _0x3a22bc=new _0x137dfe(_0x2883d3);_0x3a22bc[_0x6342d3(0x89)]({'label':_0x415692(this[_0x6342d3(0xb5)],_0x6342d3(0x85)),'withText':!0x0,'class':[_0x6342d3(0xad)],'tooltip':''}),_0x3a22bc[_0x6342d3(0x71)](_0x6342d3(0x7a))['to'](this,_0x6342d3(0x92)),this[_0x6342d3(0x7f)]({'tag':_0x6342d3(0x7e),'attributes':{'class':['ck',_0x6342d3(0xa5)]},'children':[{'tag':'p','children':[{'text':_0x415692(this[_0x6342d3(0xb5)],_0x6342d3(0xb3))+'\x20'},_0x3a22bc]}]});}}function _0x4eba(){const _0x2ed423=['focusPromptInput','221018mDFhhR','bindTemplate','startConversation','clearCurrentContextItems','addContextItem','low','setModel','agent','setAddContextOptions','72vefhzT','5eJSCqr','setModelList','setReasoning','clearConversationContextItems','_promptInputView','_contextPanelView','3ZHddSq','_shouldRestorePromptInputFocus','toggleReasoning','addContextButtonView','setPlaceholderText','ck-ai-chat-controls-model-unavailable-message','focus','_createModelUnavailableMessageView','_createLoaderView','_loaderView','isDisabled','updateResourceState','startsWith','ck-ai-chat-controls__start-new-chat-button','423336VOWbsN','populateSourceResourceBalloon','setConversationContext','4454527NBSnqg','removeContextItem','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT','sendUserMessage','locale','enableModelSelector','closeSourceResourceBalloon','abortPromptStream','_createPromptCapabilitiesView','_promptCapabilitiesView','setContextItemLoading','clearPendingContextUI','ck-hidden','find','toggleWebSearch','selectModel','reset','setInputPlaceholder','delegate','change:isLoading','_createContextPanelView','886736yTYDeu','ck-ai-chat-controls-disabled','form','4870deEhcD','34106uhvzmL','_modelUnavailableMessageView','execute','bodyCollection','resetMessageInput','2241estQXB','div','setTemplate','isModelAvailable','_createPromptInputView','clearConversationContextUI','ck-ai-chat-controls','_displayedModels','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON','disableModelSelector','setWebSearch','setIsUploadInProgress','set','_handlePromptInputFocus','isLoading','contextResourcesSearchInputVisibleFrom','element','432308XNzBkY'];_0x4eba=function(){return _0x2ed423;};return _0x4eba();}
23
+ const _0x3d043b=_0x15ba;(function(_0x356dbb,_0x1dc659){const _0x25c726=_0x15ba,_0x5876c6=_0x356dbb();while(!![]){try{const _0x2df6e9=-parseInt(_0x25c726(0x93))/0x1*(-parseInt(_0x25c726(0x9d))/0x2)+-parseInt(_0x25c726(0x9c))/0x3+parseInt(_0x25c726(0xd4))/0x4*(parseInt(_0x25c726(0xb0))/0x5)+-parseInt(_0x25c726(0xd0))/0x6*(parseInt(_0x25c726(0x88))/0x7)+-parseInt(_0x25c726(0xbd))/0x8*(-parseInt(_0x25c726(0x9e))/0x9)+parseInt(_0x25c726(0x83))/0xa*(-parseInt(_0x25c726(0xbb))/0xb)+parseInt(_0x25c726(0xc7))/0xc*(parseInt(_0x25c726(0x91))/0xd);if(_0x2df6e9===_0x1dc659)break;else _0x5876c6['push'](_0x5876c6['shift']());}catch(_0x4e1ee8){_0x5876c6['push'](_0x5876c6['shift']());}}}(_0x4cf7,0xf048b));import{ButtonView as _0x2b6b93,clickOutsideHandler as _0x5b733e,View as _0xb928c8}from'ckeditor5/src/ui.js';function _0x4cf7(){const _0x2d2823=['isLoading','change:isLoading','abortPromptStream','setAddContextOptions','1048971geQauh','27386CGeWlq','45cjoRjI','_createPromptCapabilitiesView','addContextButtonView','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT','isModelAvailable','setConversationContext','locale','setModel','_promptCapabilitiesView','_displayedModels','find','setContextItemLoading','_createModelUnavailableMessageView','element','agent','_createContextPanelView','delegate','clearCurrentContextItems','5PUdKDm','_promptInputView','clearConversationContextItems','set','reset','ck-hidden','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON','disableModelSelector','_createPromptInputView','execute','_contextPanelView','670076MAfaOZ','form','1212296KWXcNZ','addContextItem','low','ck-ai-chat-controls__start-new-chat-button','_shouldRestorePromptInputFocus','contextResourcesSearchInputVisibleFrom','ck-ai-chat-controls','toggleWebSearch','_handlePromptInputFocus','setTemplate','13443888ylQwKV','selectModel','populateSourceResourceBalloon','toggleReasoning','resetMessageInput','updateResourceState','ck-ai-chat-controls-model-unavailable-message','setIsUploadInProgress','removeContextItem','9474984VwhIRV','sendUserMessage','closeSourceResourceBalloon','div','14932hKOWEe','bindTemplate','isDisabled','230weaPMf','ck-ai-chat-controls-disabled','setInputPlaceholder','bodyCollection','setWebSearch','7HCIStC','focusPromptInput','setReasoning','focus','startsWith','setPlaceholderText','_loaderView','_createLoaderView','clearPendingContextUI','39vPQTBv','clearConversationContextUI','14vSmqym','setModelList','startConversation','_modelUnavailableMessageView','enableModelSelector'];_0x4cf7=function(){return _0x2d2823;};return _0x4cf7();}import{AIChatPromptInputView as _0x61d750}from'./controls/aichatpromptinputview.js';import{AIChatPromptCapabilitiesView as _0x10b6f2}from'./controls/aichatpromptcapabilitiesview.js';import{AIChatContextPanelView as _0x171689,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x1d93b9}from'./controls/aichatcontextpanelview.js';import{AIChatControlsLoaderView as _0x176739}from'./controls/aichatcontrolsloaderview.js';import{getTranslation as _0x2a1c00}from'../../aicore/utils/common-translations.js';export class AIChatControlsView extends _0xb928c8{[_0x3d043b(0xa7)]=[];[_0x3d043b(0xba)];[_0x3d043b(0xb1)];[_0x3d043b(0xa6)];[_0x3d043b(0x8e)];[_0x3d043b(0x96)];[_0x3d043b(0xc1)];constructor(_0x5ddfc1,_0x1f2fc0){const _0x19a156=_0x3d043b;super(_0x5ddfc1),this[_0x19a156(0xba)]=this[_0x19a156(0xad)](_0x5ddfc1,{'bodyCollection':_0x1f2fc0[_0x19a156(0x86)],'searchInputVisibleFrom':_0x1f2fc0[_0x19a156(0xc2)]}),this[_0x19a156(0xb1)]=this[_0x19a156(0xb8)](_0x5ddfc1),this[_0x19a156(0xa6)]=this[_0x19a156(0x9f)](_0x5ddfc1),this[_0x19a156(0x8e)]=this[_0x19a156(0x8f)](_0x5ddfc1),this[_0x19a156(0x96)]=this[_0x19a156(0xaa)](_0x5ddfc1),this[_0x19a156(0xc1)]=!0x1,this[_0x19a156(0xb1)][_0x19a156(0xae)](_0x19a156(0xd1))['to'](this),this[_0x19a156(0x8e)][_0x19a156(0xae)](_0x19a156(0x9a))['to'](this),this[_0x19a156(0xa6)][_0x19a156(0xae)](_0x19a156(0xc4))['to'](this),this[_0x19a156(0xa6)][_0x19a156(0xae)](_0x19a156(0xca))['to'](this),this[_0x19a156(0xa6)][_0x19a156(0xae)](_0x19a156(0xc8))['to'](this),this[_0x19a156(0xba)][_0x19a156(0xae)](..._0x1d93b9)['to'](this),this[_0x19a156(0xb3)](_0x19a156(0xa2),!0x0),this[_0x19a156(0xb3)](_0x19a156(0x82),!0x1);const _0x549f41=this[_0x19a156(0x81)];this[_0x19a156(0xc6)]({'tag':_0x19a156(0xbc),'attributes':{'class':['ck',_0x19a156(0xc3),_0x549f41['if'](_0x19a156(0x82),_0x19a156(0x84))]},'children':[{'tag':_0x19a156(0xd3),'attributes':{'class':[_0x549f41['if'](_0x19a156(0x98),_0x19a156(0xb5),_0x565520=>_0x565520||!this[_0x19a156(0xa2)]),_0x549f41['if'](_0x19a156(0xa2),_0x19a156(0xb5),_0x7fbb96=>!_0x7fbb96||this[_0x19a156(0x98)])]},'children':[this[_0x19a156(0xba)],this[_0x19a156(0xb1)],this[_0x19a156(0xa6)]]},{'tag':_0x19a156(0xd3),'attributes':{'class':[_0x549f41['if'](_0x19a156(0x98),_0x19a156(0xb5),_0x1c0449=>!_0x1c0449)]},'children':[this[_0x19a156(0x8e)]]},{'tag':_0x19a156(0xd3),'attributes':{'class':[_0x549f41['if'](_0x19a156(0xa2),_0x19a156(0xb5),_0x3d8747=>_0x3d8747)]},'children':[this[_0x19a156(0x96)]]}]}),_0x5b733e({'emitter':this[_0x19a156(0xb1)],'activator':()=>this[_0x19a156(0x98)],'contextElements':()=>[this[_0x19a156(0xab)]],'callback':()=>{const _0x84d2a=_0x19a156;this[_0x84d2a(0xc1)]=!0x1;}}),this['on'](_0x19a156(0x99),this[_0x19a156(0xc5)],{'priority':_0x19a156(0xbf)});}[_0x3d043b(0xad)](_0x486332,_0x2abfad){return new _0x171689(_0x486332,_0x2abfad);}[_0x3d043b(0xb8)](_0x1cfe2d){const _0x4674f1=_0x3d043b;return new _0x61d750(_0x1cfe2d,this[_0x4674f1(0xba)][_0x4674f1(0xa0)]);}[_0x3d043b(0x9f)](_0x15d862){return new _0x10b6f2(_0x15d862);}[_0x3d043b(0x8f)](_0x174101){return new _0x176739(_0x174101);}[_0x3d043b(0xaa)](_0x170518){const _0x4ef55f=_0x3d043b,_0x4d8318=new _s(_0x170518);return _0x4d8318[_0x4ef55f(0xae)](_0x4ef55f(0x95))['to'](this),_0x4d8318;}[_0x3d043b(0xc5)](_0xb07059,_0x31cc3f,_0x4a0d64){const _0x3a2f9f=_0x3d043b;_0x4a0d64?this[_0x3a2f9f(0xc1)]=!0x0:this[_0x3a2f9f(0xc1)]&&this[_0x3a2f9f(0xb1)][_0x3a2f9f(0x8b)]();}[_0x3d043b(0xbe)](_0x3853ec,_0x2dc28c){const _0x221e17=_0x3d043b;this[_0x221e17(0xba)][_0x221e17(0xbe)](_0x3853ec,_0x2dc28c);}[_0x3d043b(0xcf)](_0x434887){const _0xf79543=_0x3d043b;this[_0xf79543(0xba)][_0xf79543(0xcf)](_0x434887);}[_0x3d043b(0xa9)](_0x4b8c4f,_0x2c5725){const _0x17dc2b=_0x3d043b;this[_0x17dc2b(0xba)][_0x17dc2b(0xa9)](_0x4b8c4f,_0x2c5725);}[_0x3d043b(0xce)](_0x2f2df2){const _0x42b03a=_0x3d043b;this[_0x42b03a(0xb1)][_0x42b03a(0xce)](_0x2f2df2);}[_0x3d043b(0xa3)](_0x340d95){const _0x519d59=_0x3d043b;this[_0x519d59(0xba)][_0x519d59(0xa3)](_0x340d95);}[_0x3d043b(0x90)](){const _0x58abaa=_0x3d043b;this[_0x58abaa(0xba)][_0x58abaa(0xaf)]();}[_0x3d043b(0x92)](){const _0x30a7ce=_0x3d043b;this[_0x30a7ce(0xba)][_0x30a7ce(0xb2)]();}[_0x3d043b(0xcc)](_0x5dc499,_0x12f9de,_0x1792c2){const _0x2d26cc=_0x3d043b;this[_0x2d26cc(0xba)][_0x2d26cc(0xcc)](_0x5dc499,_0x12f9de,_0x1792c2);}[_0x3d043b(0x87)](_0x29be3d){const _0x551bf5=_0x3d043b;this[_0x551bf5(0xa6)][_0x551bf5(0x87)](_0x29be3d);}[_0x3d043b(0x8a)](_0xf37d3a){const _0x178640=_0x3d043b;this[_0x178640(0xa6)][_0x178640(0x8a)](_0xf37d3a);}[_0x3d043b(0xcb)](){const _0x4d5f03=_0x3d043b;this[_0x4d5f03(0xb1)][_0x4d5f03(0xb4)]();}[_0x3d043b(0x9b)](_0x190cfd){const _0x5d315a=_0x3d043b;this[_0x5d315a(0xba)][_0x5d315a(0x9b)](_0x190cfd);}[_0x3d043b(0x85)](_0x342131){const _0x42a789=_0x3d043b;this[_0x42a789(0xb1)][_0x42a789(0x8d)](_0x342131);}[_0x3d043b(0x94)](_0x3e100d,_0x58a228){const _0x44581d=_0x3d043b;this[_0x44581d(0xa7)]=_0x3e100d,this[_0x44581d(0xa6)][_0x44581d(0x94)](_0x3e100d,_0x58a228);}[_0x3d043b(0xa5)](_0x13935d){const _0x3b169e=_0x3d043b;(_0x13935d?this[_0x3b169e(0xa7)][_0x3b169e(0xa8)](_0x498a69=>_0x498a69['id']===_0x13935d['id']):null)?(this[_0x3b169e(0xa2)]=!0x0,this[_0x3b169e(0xa6)][_0x3b169e(0xa5)](_0x13935d)):_0x13935d?.['id'][_0x3b169e(0x8c)](_0x3b169e(0xac))?(this[_0x3b169e(0xa2)]=!0x0,this[_0x3b169e(0xa6)][_0x3b169e(0xa5)](this[_0x3b169e(0xa7)][0x0])):this[_0x3b169e(0xa2)]=!0x1;}[_0x3d043b(0x97)](){const _0x306753=_0x3d043b;this[_0x306753(0xa6)][_0x306753(0x97)]();}[_0x3d043b(0xb7)](_0x55de2d){const _0x45b543=_0x3d043b;this[_0x45b543(0xa6)][_0x45b543(0xb7)](_0x55de2d);}[_0x3d043b(0xc9)](_0x57ba81,_0x12d1e1,_0x511fc9,_0x52828b){const _0x3f710d=_0x3d043b;this[_0x3f710d(0xba)][_0x3f710d(0xc9)](_0x57ba81,_0x12d1e1,_0x511fc9,_0x52828b);}[_0x3d043b(0xd2)](_0x35cd3f){const _0x58ccb1=_0x3d043b;this[_0x58ccb1(0xba)][_0x58ccb1(0xd2)](_0x35cd3f);}[_0x3d043b(0x89)](){const _0x43aecf=_0x3d043b;this[_0x43aecf(0xb1)][_0x43aecf(0x8b)]();}}function _0x15ba(_0x891a33,_0x49c14a){const _0x4cf781=_0x4cf7();return _0x15ba=function(_0x15bad7,_0x1c0bf0){_0x15bad7=_0x15bad7-0x81;let _0x161066=_0x4cf781[_0x15bad7];return _0x161066;},_0x15ba(_0x891a33,_0x49c14a);}class _s extends _0xb928c8{constructor(_0x54e928){const _0x153636=_0x3d043b;super(_0x54e928);const _0x1a14b8=new _0x2b6b93(_0x54e928);_0x1a14b8[_0x153636(0xb3)]({'label':_0x2a1c00(this[_0x153636(0xa4)],_0x153636(0xb6)),'withText':!0x0,'class':[_0x153636(0xc0)],'tooltip':''}),_0x1a14b8[_0x153636(0xae)](_0x153636(0xb9))['to'](this,_0x153636(0x95)),this[_0x153636(0xc6)]({'tag':_0x153636(0xd3),'attributes':{'class':['ck',_0x153636(0xcd)]},'children':[{'tag':'p','children':[{'text':_0x2a1c00(this[_0x153636(0xa4)],_0x153636(0xa1))+'\x20'},_0x1a14b8]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4509ab=_0x5a4b;(function(_0x5e946d,_0xd47145){const _0x5f39d0=_0x5a4b,_0x8e3762=_0x5e946d();while(!![]){try{const _0x215a0b=-parseInt(_0x5f39d0(0x196))/0x1*(-parseInt(_0x5f39d0(0x177))/0x2)+parseInt(_0x5f39d0(0x17f))/0x3+-parseInt(_0x5f39d0(0x19a))/0x4+parseInt(_0x5f39d0(0x16b))/0x5*(-parseInt(_0x5f39d0(0x199))/0x6)+-parseInt(_0x5f39d0(0x18d))/0x7+parseInt(_0x5f39d0(0x197))/0x8+parseInt(_0x5f39d0(0x170))/0x9;if(_0x215a0b===_0xd47145)break;else _0x8e3762['push'](_0x8e3762['shift']());}catch(_0x4c1da5){_0x8e3762['push'](_0x8e3762['shift']());}}}(_0x546b,0x36e90));function _0x5a4b(_0x233d2a,_0x188d3b){const _0x546bd3=_0x546b();return _0x5a4b=function(_0x5a4b40,_0x6c3a51){_0x5a4b40=_0x5a4b40-0x168;let _0x23951b=_0x546bd3[_0x5a4b40];return _0x23951b;},_0x5a4b(_0x233d2a,_0x188d3b);}import{CKEditorError as _0x53fc11,logWarning as _0x6bfeae,scrollViewportToShowTarget as _0x328e6a}from'ckeditor5/src/utils.js';import{View as _0x50eb39}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x21a6bc}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x41b7a9}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x2a0493}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x1025f8}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x61b4e}from'./feed/aichatfeederroritemview.js';import{AIChatFeedInteractionHeaderView as _0x2275d6}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x3f94cc}from'../utils/scrollmanager.js';import{AISkeletonView as _0x4aa2ad,SKELETON_DEFINITIONS as _0x5af1f6}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x494311}from'../../aicore/ui/aispinner.js';function _0x546b(){const _0x1bb615=['72936msEOwH','ck-ai-chat__feed','markAsDone','remove','_createSkeletonLoader','loadingMessage','render','399964wTooZX','_createFeedLoader','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','_bodyCollection','markItemAsDone','destroy','interaction-header','bindTemplate','715587TYkzJP','ai-reply','children','set','user-message','updateReplyItem','find','updateContent','ai-chat-feed-view-item-not-a-suggestion-item','add','addItem','delegate','scrollToSuggestion','startAutoScroll','353059XhxyXe','ai-chat-feed-view-item-not-found','updateSources','getItemById','stopAutoScroll','scrollManager','_createFeedItems','start','options','1wqRGQF','2003440alNNyE','updateSuggestionPartState','666CorSHj','1447468WptwpS','ai-suggestion-reply','ai-chat-feed-view-item-not-a-reply-item','_setupTemplate','extendTemplate','isLoadingSkeletonVisible','locale','removeItem','isPending','element','updatePartState','updateSuggestionItem','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','getPartView','setLoadingMessage','bind','_createLoaderChildren','isVisible','createCollection','ck-hidden','includes','updateWebSources','ck-ai-chat__loader-text','_createTemplateChildren','div','getItemIds','map','setTemplate','stop','isTrackChangesOn','ck-ai-chat__loader','ck-ai-chat__feed__items','span','2695jZbNTt','clear','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','aiFeed','toggleLoadingSkeleton'];_0x546b=function(){return _0x1bb615;};return _0x546b();}export class AIChatFeedView extends _0x50eb39{[_0x4509ab(0x181)];[_0x4509ab(0x192)];[_0x4509ab(0x17a)];constructor(_0x53c6ff,_0x52f58d){const _0xf5306=_0x4509ab;super(_0x53c6ff),this[_0xf5306(0x17a)]=_0x52f58d,this[_0xf5306(0x182)](_0xf5306(0x1a2),!0x1),this[_0xf5306(0x182)](_0xf5306(0x175),''),this[_0xf5306(0x182)](_0xf5306(0x19f),!0x1),this[_0xf5306(0x182)](_0xf5306(0x1b7),!0x1),this[_0xf5306(0x181)]=this[_0xf5306(0x1ac)](),this[_0xf5306(0x181)][_0xf5306(0x18a)](..._0x21a6bc)['to'](this),this[_0xf5306(0x19d)]();}[_0x4509ab(0x176)](){const _0x32af09=_0x4509ab;super[_0x32af09(0x176)](),this[_0x32af09(0x192)]=new _0x3f94cc(this[_0x32af09(0x1a3)]);}[_0x4509ab(0x17c)](){const _0x39d233=_0x4509ab;super[_0x39d233(0x17c)](),this[_0x39d233(0x192)][_0x39d233(0x17c)]();}[_0x4509ab(0x16c)](){const _0x1c0efa=_0x4509ab;this[_0x1c0efa(0x181)][_0x1c0efa(0x16c)]();}[_0x4509ab(0x189)](_0x4cf38d,_0x519eee){const _0x19c294=_0x4509ab;let _0x318e6c;_0x19c294(0x180)===_0x4cf38d?_0x318e6c=new _0x2a0493(this[_0x19c294(0x1a0)],_0x519eee):_0x19c294(0x19b)===_0x4cf38d?(_0x318e6c=new _0x41b7a9(this[_0x19c294(0x1a0)],_0x519eee),_0x318e6c[_0x19c294(0x1a9)](_0x19c294(0x1b7))['to'](this,_0x19c294(0x1b7))):_0x318e6c=_0x19c294(0x183)===_0x4cf38d?new _0x1025f8(this[_0x19c294(0x1a0)],_0x519eee,this[_0x19c294(0x17a)]):_0x19c294(0x17d)===_0x4cf38d?new _0x2275d6(this[_0x19c294(0x1a0)],_0x519eee):new _0x61b4e(_0x519eee),this[_0x19c294(0x181)][_0x19c294(0x188)](_0x318e6c);}async[_0x4509ab(0x184)]({id:_0x309a88,parsedContent:_0x44525b,renderingStrategy:_0x4ed11d,abortSignal:_0x3bb80f}){const _0x291db4=_0x4509ab,_0x3b3ef1=this[_0x291db4(0x190)](_0x309a88);if(!(_0x3b3ef1 instanceof _0x2a0493))throw new _0x53fc11(_0x291db4(0x19c),null,{'itemView':_0x3b3ef1,'id':_0x309a88,'parsedContent':_0x44525b});await _0x3b3ef1[_0x291db4(0x186)]({'parsedContent':_0x44525b,'renderingStrategy':_0x4ed11d,'abortSignal':_0x3bb80f});}async[_0x4509ab(0x1af)](_0x571f10,_0x178c08){const _0x3f312d=_0x4509ab,_0x5cf175=this[_0x3f312d(0x190)](_0x571f10);if(_0x5cf175 instanceof _0x41b7a9)_0x5cf175[_0x3f312d(0x18f)](_0x178c08);else{if(!(_0x5cf175 instanceof _0x2a0493))throw new _0x53fc11(_0x3f312d(0x179),null,{'itemView':_0x5cf175,'id':_0x571f10,'sources':_0x178c08});_0x5cf175[_0x3f312d(0x18f)](_0x178c08);}}async[_0x4509ab(0x1a5)]({id:_0x464d6a,parts:_0x4d3121,renderingStrategy:_0x23c7a1,abortSignal:_0x587efb}){const _0x52d2fe=_0x4509ab,_0x50cc58=this[_0x52d2fe(0x190)](_0x464d6a);if(!(_0x50cc58 instanceof _0x41b7a9))throw new _0x53fc11(_0x52d2fe(0x187),null,{'itemView':_0x50cc58,'id':_0x464d6a,'parts':_0x4d3121});await _0x50cc58[_0x52d2fe(0x186)]({'parts':_0x4d3121,'renderingStrategy':_0x23c7a1,'abortSignal':_0x587efb});}[_0x4509ab(0x198)]({id:_0x12de0d,index:_0x26cef4,state:_0x4d8b6e}){const _0x23afc5=_0x4509ab,_0x393ad6=this[_0x23afc5(0x190)](_0x12de0d);if(!(_0x393ad6 instanceof _0x41b7a9))throw new _0x53fc11(_0x23afc5(0x187),this,{'id':_0x12de0d});_0x393ad6[_0x23afc5(0x1a4)](_0x26cef4,_0x4d8b6e);}[_0x4509ab(0x17b)](_0x1af090){const _0x1763da=_0x4509ab;this[_0x1763da(0x190)](_0x1af090)[_0x1763da(0x172)]();}[_0x4509ab(0x1b3)](){const _0x54d22a=_0x4509ab;return this[_0x54d22a(0x181)][_0x54d22a(0x1b4)](_0x2d95b7=>_0x2d95b7[_0x54d22a(0x195)]['id']);}[_0x4509ab(0x1a1)](_0x14afe7){const _0x54e07a=_0x4509ab;this[_0x54e07a(0x181)][_0x54e07a(0x173)](this[_0x54e07a(0x190)](_0x14afe7));}[_0x4509ab(0x18b)](_0x4be162,_0xb37b1f){const _0x5e83c0=_0x4509ab,_0x1cb0af=this[_0x5e83c0(0x190)](_0x4be162);if(!(_0x1cb0af instanceof _0x41b7a9))return void _0x6bfeae(_0x5e83c0(0x1a6),{'replyId':_0x4be162,'partIndex':_0xb37b1f});const _0x48b108=_0x1cb0af[_0x5e83c0(0x1a7)](_0xb37b1f);_0x48b108?_0x328e6a({'target':_0x48b108[_0x5e83c0(0x1a3)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x6bfeae(_0x5e83c0(0x16d),{'replyId':_0x4be162,'partIndex':_0xb37b1f});}[_0x4509ab(0x19d)](){const _0x4b5628=_0x4509ab;this[_0x4b5628(0x1b5)]({'tag':_0x4b5628(0x1b2),'attributes':{'class':['ck',_0x4b5628(0x171)]},'children':this[_0x4b5628(0x1b1)]()});}[_0x4509ab(0x1b1)](){const _0x2453d5=_0x4509ab,_0x1335b0=this[_0x2453d5(0x174)]();return[this[_0x2453d5(0x193)](),_0x1335b0,this[_0x2453d5(0x178)]()];}[_0x4509ab(0x174)](){const _0x619d10=_0x4509ab,_0x3ca689=new _0x4aa2ad(this[_0x619d10(0x1a0)],_0x5af1f6[_0x619d10(0x16e)]);return _0x3ca689[_0x619d10(0x19e)]({'attributes':{'class':[this[_0x619d10(0x17e)]['if'](_0x619d10(0x19f),_0x619d10(0x1ad),_0x366f82=>!_0x366f82)]}}),_0x3ca689;}[_0x4509ab(0x193)](){const _0x1018f8=_0x4509ab,_0xa35532=new _0x50eb39(this[_0x1018f8(0x1a0)]);return _0xa35532[_0x1018f8(0x1b5)]({'tag':_0x1018f8(0x1b2),'attributes':{'class':['ck',_0x1018f8(0x169),this[_0x1018f8(0x17e)]['if'](_0x1018f8(0x19f),_0x1018f8(0x1ad))]},'children':this[_0x1018f8(0x181)]}),_0xa35532;}[_0x4509ab(0x178)](){const _0x1e0cf9=_0x4509ab,_0x2e07c4=new _0x50eb39(this[_0x1e0cf9(0x1a0)]);return _0x2e07c4[_0x1e0cf9(0x1b5)]({'tag':_0x1e0cf9(0x1b2),'attributes':{'class':['ck',_0x1e0cf9(0x168),this[_0x1e0cf9(0x17e)]['if'](_0x1e0cf9(0x1a2),_0x1e0cf9(0x1ad),_0x2d15e4=>!_0x2d15e4)]},'children':this[_0x1e0cf9(0x1aa)]()}),_0x2e07c4;}[_0x4509ab(0x1aa)](){const _0x38fa47=_0x4509ab,_0x53ebd0=new _0x494311();return _0x53ebd0[_0x38fa47(0x1ab)]=!0x0,[_0x53ebd0,{'tag':_0x38fa47(0x16a),'attributes':{'class':['ck',_0x38fa47(0x1b0)]},'children':[{'text':this[_0x38fa47(0x17e)]['to'](_0x38fa47(0x175))}]}];}[_0x4509ab(0x190)](_0x323a05){const _0x2642d5=_0x4509ab,_0x4e5482=this[_0x2642d5(0x181)][_0x2642d5(0x185)](_0xdc8311=>_0xdc8311[_0x2642d5(0x195)]['id'][_0x2642d5(0x1ae)](_0x323a05));if(!_0x4e5482)throw new _0x53fc11(_0x2642d5(0x18e),this,{'id':_0x323a05});return _0x4e5482;}[_0x4509ab(0x1a8)](_0x1d3e2c){const _0xd5c8e3=_0x4509ab;this[_0xd5c8e3(0x182)](_0xd5c8e3(0x175),_0x1d3e2c);}[_0x4509ab(0x16f)](_0x53d593){const _0x3106d3=_0x4509ab;this[_0x3106d3(0x182)](_0x3106d3(0x19f),_0x53d593);}[_0x4509ab(0x18c)](){const _0x32651a=_0x4509ab;this[_0x32651a(0x192)][_0x32651a(0x194)]();}[_0x4509ab(0x191)](){const _0x493937=_0x4509ab;this[_0x493937(0x192)][_0x493937(0x1b6)]();}}
23
+ const _0x339168=_0x3545;function _0x590d(){const _0x4234d5=['updateWebSources','markItemAsDone','createCollection','getPartView','options','4562836MKxGTF','clear','removeItem','1275399NKeWQr','_createFeedItems','553wFarog','ai-chat-feed-view-item-not-a-reply-item','ck-hidden','loadingMessage','_createFeedLoader','549CCnNdU','ck-ai-chat__loader-text','_createLoaderChildren','ck-ai-chat__loader','addItem','span','bindTemplate','195936TFdGua','ai-chat-feed-view-item-not-found','render','updateSuggestionPartState','updateReplyItem','user-message','start','ck-ai-chat__feed__items','markAsDone','ai-chat-feed-view-item-not-a-suggestion-item','ck-ai-chat__feed','isPending','updateSources','40569cJMvKo','set','ai-reply','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','destroy','isLoadingSkeletonVisible','children','162QWWVZj','setTemplate','element','scrollToSuggestion','map','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','updatePartState','updateContent','134880RoPSPe','45520tLUGMH','scrollManager','ai-suggestion-reply','updateSuggestionItem','stop','19074VSkUXz','bind','5VYvdTD','_setupTemplate','toggleLoadingSkeleton','stopAutoScroll','delegate','add','interaction-header','aiFeed','isVisible','_createSkeletonLoader','includes','find','getItemById','isTrackChangesOn','setLoadingMessage','startAutoScroll','getItemIds','_bodyCollection','_createTemplateChildren','div','remove','extendTemplate','2052iSUXsj','locale','1738JXrPKi'];_0x590d=function(){return _0x4234d5;};return _0x590d();}(function(_0x3e69a1,_0xb80546){const _0x55de54=_0x3545,_0x1d4097=_0x3e69a1();while(!![]){try{const _0x343297=-parseInt(_0x55de54(0x218))/0x1+-parseInt(_0x55de54(0x1e6))/0x2*(parseInt(_0x55de54(0x1df))/0x3)+parseInt(_0x55de54(0x215))/0x4*(parseInt(_0x55de54(0x1f7))/0x5)+-parseInt(_0x55de54(0x1f5))/0x6*(parseInt(_0x55de54(0x21a))/0x7)+-parseInt(_0x55de54(0x1ef))/0x8*(parseInt(_0x55de54(0x1cb))/0x9)+parseInt(_0x55de54(0x1f0))/0xa*(parseInt(_0x55de54(0x20f))/0xb)+parseInt(_0x55de54(0x20d))/0xc*(parseInt(_0x55de54(0x1d2))/0xd);if(_0x343297===_0xb80546)break;else _0x1d4097['push'](_0x1d4097['shift']());}catch(_0x29782f){_0x1d4097['push'](_0x1d4097['shift']());}}}(_0x590d,0xc01ba));import{CKEditorError as _0x2a30e5,logWarning as _0x351b39,scrollViewportToShowTarget as _0x39b4ab}from'ckeditor5/src/utils.js';import{View as _0x533db4}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x321688}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x50457d}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x5c4992}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x372b2f}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x5c8e4e}from'./feed/aichatfeederroritemview.js';function _0x3545(_0xb28ea3,_0x180f90){const _0x590d68=_0x590d();return _0x3545=function(_0x354509,_0x55feb2){_0x354509=_0x354509-0x1c7;let _0x55a3f6=_0x590d68[_0x354509];return _0x55a3f6;},_0x3545(_0xb28ea3,_0x180f90);}import{AIChatFeedInteractionHeaderView as _0x2093b4}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x42545c}from'../utils/scrollmanager.js';import{AISkeletonView as _0x4e79fe,SKELETON_DEFINITIONS as _0x433432}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x26b240}from'../../aicore/ui/aispinner.js';export class AIChatFeedView extends _0x533db4{[_0x339168(0x1e5)];[_0x339168(0x1f1)];[_0x339168(0x208)];constructor(_0x2e48ac,_0x2daa08){const _0x2781c1=_0x339168;super(_0x2e48ac),this[_0x2781c1(0x208)]=_0x2daa08,this[_0x2781c1(0x1e0)](_0x2781c1(0x1dd),!0x1),this[_0x2781c1(0x1e0)](_0x2781c1(0x1c9),''),this[_0x2781c1(0x1e0)](_0x2781c1(0x1e4),!0x1),this[_0x2781c1(0x1e0)](_0x2781c1(0x204),!0x1),this[_0x2781c1(0x1e5)]=this[_0x2781c1(0x212)](),this[_0x2781c1(0x1e5)][_0x2781c1(0x1fb)](..._0x321688)['to'](this),this[_0x2781c1(0x1f8)]();}[_0x339168(0x1d4)](){const _0x2b0dbf=_0x339168;super[_0x2b0dbf(0x1d4)](),this[_0x2b0dbf(0x1f1)]=new _0x42545c(this[_0x2b0dbf(0x1e8)]);}[_0x339168(0x1e3)](){const _0x3fee5b=_0x339168;super[_0x3fee5b(0x1e3)](),this[_0x3fee5b(0x1f1)][_0x3fee5b(0x1e3)]();}[_0x339168(0x216)](){const _0xa8b8c4=_0x339168;this[_0xa8b8c4(0x1e5)][_0xa8b8c4(0x216)]();}[_0x339168(0x1cf)](_0x367032,_0x49ea20){const _0x3577f3=_0x339168;let _0x2dcffc;_0x3577f3(0x1e1)===_0x367032?_0x2dcffc=new _0x5c4992(this[_0x3577f3(0x20e)],_0x49ea20):_0x3577f3(0x1f2)===_0x367032?(_0x2dcffc=new _0x50457d(this[_0x3577f3(0x20e)],_0x49ea20),_0x2dcffc[_0x3577f3(0x1f6)](_0x3577f3(0x204))['to'](this,_0x3577f3(0x204))):_0x2dcffc=_0x3577f3(0x1d7)===_0x367032?new _0x372b2f(this[_0x3577f3(0x20e)],_0x49ea20,this[_0x3577f3(0x208)]):_0x3577f3(0x1fd)===_0x367032?new _0x2093b4(this[_0x3577f3(0x20e)],_0x49ea20):new _0x5c8e4e(_0x49ea20),this[_0x3577f3(0x1e5)][_0x3577f3(0x1fc)](_0x2dcffc);}async[_0x339168(0x1d6)]({id:_0x282703,parsedContent:_0x225838,renderingStrategy:_0x240a2d,abortSignal:_0x7b2d2}){const _0x571918=_0x339168,_0x2bdbb8=this[_0x571918(0x203)](_0x282703);if(!(_0x2bdbb8 instanceof _0x5c4992))throw new _0x2a30e5(_0x571918(0x1c7),null,{'itemView':_0x2bdbb8,'id':_0x282703,'parsedContent':_0x225838});await _0x2bdbb8[_0x571918(0x1ee)]({'parsedContent':_0x225838,'renderingStrategy':_0x240a2d,'abortSignal':_0x7b2d2});}async[_0x339168(0x210)](_0x457b58,_0x11a07b){const _0x4c6421=_0x339168,_0x5c6681=this[_0x4c6421(0x203)](_0x457b58);if(_0x5c6681 instanceof _0x50457d)_0x5c6681[_0x4c6421(0x1de)](_0x11a07b);else{if(!(_0x5c6681 instanceof _0x5c4992))throw new _0x2a30e5(_0x4c6421(0x1e2),null,{'itemView':_0x5c6681,'id':_0x457b58,'sources':_0x11a07b});_0x5c6681[_0x4c6421(0x1de)](_0x11a07b);}}async[_0x339168(0x1f3)]({id:_0x23be62,parts:_0x218771,renderingStrategy:_0xd7dc0f,abortSignal:_0x4cca97}){const _0x15a077=_0x339168,_0x524aad=this[_0x15a077(0x203)](_0x23be62);if(!(_0x524aad instanceof _0x50457d))throw new _0x2a30e5(_0x15a077(0x1db),null,{'itemView':_0x524aad,'id':_0x23be62,'parts':_0x218771});await _0x524aad[_0x15a077(0x1ee)]({'parts':_0x218771,'renderingStrategy':_0xd7dc0f,'abortSignal':_0x4cca97});}[_0x339168(0x1d5)]({id:_0x13c9f5,index:_0x32c86d,state:_0x22d8c0}){const _0x17d642=_0x339168,_0x471770=this[_0x17d642(0x203)](_0x13c9f5);if(!(_0x471770 instanceof _0x50457d))throw new _0x2a30e5(_0x17d642(0x1db),this,{'id':_0x13c9f5});_0x471770[_0x17d642(0x1ed)](_0x32c86d,_0x22d8c0);}[_0x339168(0x211)](_0x2502a5){const _0x46ae34=_0x339168;this[_0x46ae34(0x203)](_0x2502a5)[_0x46ae34(0x1da)]();}[_0x339168(0x207)](){const _0x150894=_0x339168;return this[_0x150894(0x1e5)][_0x150894(0x1ea)](_0x573ec3=>_0x573ec3[_0x150894(0x214)]['id']);}[_0x339168(0x217)](_0x2e4d89){const _0x582bf7=_0x339168;this[_0x582bf7(0x1e5)][_0x582bf7(0x20b)](this[_0x582bf7(0x203)](_0x2e4d89));}[_0x339168(0x1e9)](_0x1f071c,_0xc12422){const _0xa456df=_0x339168,_0x4ffe4e=this[_0xa456df(0x203)](_0x1f071c);if(!(_0x4ffe4e instanceof _0x50457d))return void _0x351b39(_0xa456df(0x1eb),{'replyId':_0x1f071c,'partIndex':_0xc12422});const _0x32ca1b=_0x4ffe4e[_0xa456df(0x213)](_0xc12422);_0x32ca1b?_0x39b4ab({'target':_0x32ca1b[_0xa456df(0x1e8)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x351b39(_0xa456df(0x1ec),{'replyId':_0x1f071c,'partIndex':_0xc12422});}[_0x339168(0x1f8)](){const _0x475b23=_0x339168;this[_0x475b23(0x1e7)]({'tag':_0x475b23(0x20a),'attributes':{'class':['ck',_0x475b23(0x1dc)]},'children':this[_0x475b23(0x209)]()});}[_0x339168(0x209)](){const _0x2ce408=_0x339168,_0x26e340=this[_0x2ce408(0x200)]();return[this[_0x2ce408(0x219)](),_0x26e340,this[_0x2ce408(0x1ca)]()];}[_0x339168(0x200)](){const _0x4e50e2=_0x339168,_0x23cfc3=new _0x4e79fe(this[_0x4e50e2(0x20e)],_0x433432[_0x4e50e2(0x1fe)]);return _0x23cfc3[_0x4e50e2(0x20c)]({'attributes':{'class':[this[_0x4e50e2(0x1d1)]['if'](_0x4e50e2(0x1e4),_0x4e50e2(0x1c8),_0x3a6191=>!_0x3a6191)]}}),_0x23cfc3;}[_0x339168(0x219)](){const _0x4288bc=_0x339168,_0x34dc08=new _0x533db4(this[_0x4288bc(0x20e)]);return _0x34dc08[_0x4288bc(0x1e7)]({'tag':_0x4288bc(0x20a),'attributes':{'class':['ck',_0x4288bc(0x1d9),this[_0x4288bc(0x1d1)]['if'](_0x4288bc(0x1e4),_0x4288bc(0x1c8))]},'children':this[_0x4288bc(0x1e5)]}),_0x34dc08;}[_0x339168(0x1ca)](){const _0x98efc1=_0x339168,_0x5e097c=new _0x533db4(this[_0x98efc1(0x20e)]);return _0x5e097c[_0x98efc1(0x1e7)]({'tag':_0x98efc1(0x20a),'attributes':{'class':['ck',_0x98efc1(0x1ce),this[_0x98efc1(0x1d1)]['if'](_0x98efc1(0x1dd),_0x98efc1(0x1c8),_0x3b3941=>!_0x3b3941)]},'children':this[_0x98efc1(0x1cd)]()}),_0x5e097c;}[_0x339168(0x1cd)](){const _0x419bc1=_0x339168,_0x4c2547=new _0x26b240();return _0x4c2547[_0x419bc1(0x1ff)]=!0x0,[_0x4c2547,{'tag':_0x419bc1(0x1d0),'attributes':{'class':['ck',_0x419bc1(0x1cc)]},'children':[{'text':this[_0x419bc1(0x1d1)]['to'](_0x419bc1(0x1c9))}]}];}[_0x339168(0x203)](_0x4069fa){const _0xc9497c=_0x339168,_0x1ff2ed=this[_0xc9497c(0x1e5)][_0xc9497c(0x202)](_0x34fcea=>_0x34fcea[_0xc9497c(0x214)]['id'][_0xc9497c(0x201)](_0x4069fa));if(!_0x1ff2ed)throw new _0x2a30e5(_0xc9497c(0x1d3),this,{'id':_0x4069fa});return _0x1ff2ed;}[_0x339168(0x205)](_0x5509e7){const _0xb487e4=_0x339168;this[_0xb487e4(0x1e0)](_0xb487e4(0x1c9),_0x5509e7);}[_0x339168(0x1f9)](_0x1fedf2){const _0x4e0c3c=_0x339168;this[_0x4e0c3c(0x1e0)](_0x4e0c3c(0x1e4),_0x1fedf2);}[_0x339168(0x206)](){const _0x1b7298=_0x339168;this[_0x1b7298(0x1f1)][_0x1b7298(0x1d8)]();}[_0x339168(0x1fa)](){const _0x1eed06=_0x339168;this[_0x1eed06(0x1f1)][_0x1eed06(0x1f4)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45f9fc=_0x3cb7;(function(_0x46ee12,_0x587f1d){const _0x16113f=_0x3cb7,_0x301490=_0x46ee12();while(!![]){try{const _0xe44f8e=-parseInt(_0x16113f(0x71))/0x1+-parseInt(_0x16113f(0x65))/0x2+parseInt(_0x16113f(0x78))/0x3*(-parseInt(_0x16113f(0x70))/0x4)+-parseInt(_0x16113f(0x69))/0x5+parseInt(_0x16113f(0x76))/0x6+-parseInt(_0x16113f(0x6e))/0x7+parseInt(_0x16113f(0x6b))/0x8;if(_0xe44f8e===_0x587f1d)break;else _0x301490['push'](_0x301490['shift']());}catch(_0x5e2bf7){_0x301490['push'](_0x301490['shift']());}}}(_0x1c3a,0x3b51c));function _0x1c3a(){const _0x3b8f90=['2681721epOyPT','AI_CHAT_HEADING','4JjExgY','161885ZfxVHp','locale','conversationStartButton','execute','startConversation','2783952mMofoQ','_createStartConversationButton','77523uJNBgO','add','set','isMaximized','960176fmOuJj','AI_CHAT_LABEL_NEW_CHAT','ck-ai-chat__start-conversation','children','568835zMqskO','resizeButton','7549312JLFTJg','fire','ck-ai-header\x20ck-ai-header_chat'];_0x1c3a=function(){return _0x3b8f90;};return _0x1c3a();}import{ButtonView as _0x28f7c6,FormHeaderView as _0x2ce5a7}from'ckeditor5/src/ui.js';import{IconPlus as _0x5b8ae5,IconAIChat as _0x92fa65}from'ckeditor5/src/icons.js';import{getTranslation as _0x49ec2b}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x2b22c1}from'../../aicore/utils/createresizebutton.js';function _0x3cb7(_0x6534dd,_0x2e3677){const _0x1c3a6e=_0x1c3a();return _0x3cb7=function(_0x3cb7cf,_0x5338b3){_0x3cb7cf=_0x3cb7cf-0x64;let _0x40a0dc=_0x1c3a6e[_0x3cb7cf];return _0x40a0dc;},_0x3cb7(_0x6534dd,_0x2e3677);}export class AIChatHeaderView extends _0x2ce5a7{[_0x45f9fc(0x73)];[_0x45f9fc(0x6a)];constructor(_0x4d3509,_0x37098b){const _0x5a9b7e=_0x45f9fc;super(_0x4d3509,{'label':_0x49ec2b(_0x4d3509,_0x5a9b7e(0x6f)),'class':_0x5a9b7e(0x6d),'icon':_0x92fa65}),this[_0x5a9b7e(0x7a)](_0x5a9b7e(0x64),!0x1),this[_0x5a9b7e(0x73)]=this[_0x5a9b7e(0x77)](_0x4d3509),this[_0x5a9b7e(0x68)][_0x5a9b7e(0x79)](this[_0x5a9b7e(0x73)]),_0x37098b&&(this[_0x5a9b7e(0x6a)]=_0x2b22c1(_0x4d3509,this),this[_0x5a9b7e(0x68)][_0x5a9b7e(0x79)](this[_0x5a9b7e(0x6a)]));}[_0x45f9fc(0x77)](_0x5a5233){const _0x3abacd=_0x45f9fc,_0x23a692=new _0x28f7c6(_0x5a5233);return _0x23a692[_0x3abacd(0x7a)]({'label':_0x49ec2b(this[_0x3abacd(0x72)],_0x3abacd(0x66)),'withText':!0x0,'icon':_0x5b8ae5,'class':_0x3abacd(0x67)}),_0x23a692['on'](_0x3abacd(0x74),()=>{const _0x5cc9a3=_0x3abacd;this[_0x5cc9a3(0x6c)](_0x5cc9a3(0x75));}),_0x23a692;}}
23
+ function _0x47f5(_0x215777,_0x551bbb){const _0x3966dd=_0x3966();return _0x47f5=function(_0x47f5f2,_0x51ad57){_0x47f5f2=_0x47f5f2-0x140;let _0xfc65f7=_0x3966dd[_0x47f5f2];return _0xfc65f7;},_0x47f5(_0x215777,_0x551bbb);}const _0x1f3ca2=_0x47f5;(function(_0x1d48ac,_0x3255ba){const _0x4749c9=_0x47f5,_0xd371eb=_0x1d48ac();while(!![]){try{const _0x14977e=-parseInt(_0x4749c9(0x150))/0x1*(-parseInt(_0x4749c9(0x152))/0x2)+parseInt(_0x4749c9(0x159))/0x3+-parseInt(_0x4749c9(0x143))/0x4*(parseInt(_0x4749c9(0x154))/0x5)+parseInt(_0x4749c9(0x142))/0x6*(parseInt(_0x4749c9(0x14a))/0x7)+-parseInt(_0x4749c9(0x148))/0x8*(parseInt(_0x4749c9(0x15a))/0x9)+-parseInt(_0x4749c9(0x155))/0xa+parseInt(_0x4749c9(0x14c))/0xb*(-parseInt(_0x4749c9(0x156))/0xc);if(_0x14977e===_0x3255ba)break;else _0xd371eb['push'](_0xd371eb['shift']());}catch(_0x23f9b2){_0xd371eb['push'](_0xd371eb['shift']());}}}(_0x3966,0x1dd52));import{ButtonView as _0x3cfe16,FormHeaderView as _0x3b0224}from'ckeditor5/src/ui.js';import{IconPlus as _0x1e14ec,IconAIChat as _0x178693}from'ckeditor5/src/icons.js';import{getTranslation as _0x2cdccc}from'../../aicore/utils/common-translations.js';function _0x3966(){const _0x2330bf=['fire','3444IakEbz','add','11NtUeOP','isMaximized','AI_CHAT_HEADING','locale','42782MITNOa','AI_CHAT_LABEL_NEW_CHAT','8UgnBUM','execute','3385KhZHWq','1797040tbeJiL','1266396lCnizK','set','children','672564iqfZbF','41733efOxIM','ck-ai-header\x20ck-ai-header_chat','_createStartConversationButton','2364cLSrxJ','608cEoHpx','startConversation','resizeButton','conversationStartButton','ck-ai-chat__start-conversation','136QePuEw'];_0x3966=function(){return _0x2330bf;};return _0x3966();}import{createResizeButton as _0x34ceca}from'../../aicore/utils/createresizebutton.js';export class AIChatHeaderView extends _0x3b0224{[_0x1f3ca2(0x146)];[_0x1f3ca2(0x145)];constructor(_0x5523e9,_0x3ade20){const _0x2f4830=_0x1f3ca2;super(_0x5523e9,{'label':_0x2cdccc(_0x5523e9,_0x2f4830(0x14e)),'class':_0x2f4830(0x140),'icon':_0x178693}),this[_0x2f4830(0x157)](_0x2f4830(0x14d),!0x1),this[_0x2f4830(0x146)]=this[_0x2f4830(0x141)](_0x5523e9),this[_0x2f4830(0x158)][_0x2f4830(0x14b)](this[_0x2f4830(0x146)]),_0x3ade20&&(this[_0x2f4830(0x145)]=_0x34ceca(_0x5523e9,this),this[_0x2f4830(0x158)][_0x2f4830(0x14b)](this[_0x2f4830(0x145)]));}[_0x1f3ca2(0x141)](_0x47b6d6){const _0x20cf2d=_0x1f3ca2,_0x1c6814=new _0x3cfe16(_0x47b6d6);return _0x1c6814[_0x20cf2d(0x157)]({'label':_0x2cdccc(this[_0x20cf2d(0x14f)],_0x20cf2d(0x151)),'withText':!0x0,'icon':_0x1e14ec,'class':_0x20cf2d(0x147)}),_0x1c6814['on'](_0x20cf2d(0x153),()=>{const _0x4601b7=_0x20cf2d;this[_0x4601b7(0x149)](_0x4601b7(0x144));}),_0x1c6814;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x513b75=_0x2976;(function(_0x461fff,_0xe7fad5){var _0x5ca133=_0x2976,_0x4e4d2a=_0x461fff();while(!![]){try{var _0x4bb064=parseInt(_0x5ca133(0x1c2))/0x1*(parseInt(_0x5ca133(0x1c8))/0x2)+-parseInt(_0x5ca133(0x1cb))/0x3+-parseInt(_0x5ca133(0x1b6))/0x4*(parseInt(_0x5ca133(0x1c7))/0x5)+parseInt(_0x5ca133(0x1d1))/0x6*(-parseInt(_0x5ca133(0x1cf))/0x7)+parseInt(_0x5ca133(0x1b9))/0x8*(-parseInt(_0x5ca133(0x1ba))/0x9)+-parseInt(_0x5ca133(0x1c3))/0xa*(parseInt(_0x5ca133(0x1b8))/0xb)+parseInt(_0x5ca133(0x1c1))/0xc;if(_0x4bb064===_0xe7fad5)break;else _0x4e4d2a['push'](_0x4e4d2a['shift']());}catch(_0x301b9e){_0x4e4d2a['push'](_0x4e4d2a['shift']());}}}(_0x490b,0x461d0));import{View as _0x47cc33,BodyCollection as _0x439a3f}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x263681}from'../utils/eventnames.js';import{AIChatFeedView as _0x30ec83}from'./aichatfeedview.js';function _0x2976(_0x12f371,_0x40cb2b){var _0x490b50=_0x490b();return _0x2976=function(_0x297688,_0x179580){_0x297688=_0x297688-0x1b3;var _0x1a75cc=_0x490b50[_0x297688];return _0x1a75cc;},_0x2976(_0x12f371,_0x40cb2b);}import{AIChatControlsView as _0x593734}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x2350c5}from'./aichatheaderview.js';import{AIDisclaimerView as _0x94df1b}from'../../aicore/ui/aidisclaimerview.js';export class AIChatView extends _0x47cc33{[_0x513b75(0x1c0)];[_0x513b75(0x1bf)];[_0x513b75(0x1c9)];[_0x513b75(0x1b3)];[_0x513b75(0x1ce)];constructor(_0x56359a,_0xc93480){var _0x16e086=_0x513b75;super(_0x56359a),this[_0x16e086(0x1ce)]=new _0x439a3f(_0x56359a),this[_0x16e086(0x1ce)][_0x16e086(0x1cd)](),this[_0x16e086(0x1c0)]=new _0x2350c5(_0x56359a,_0xc93480[_0x16e086(0x1b5)]),this[_0x16e086(0x1c0)][_0x16e086(0x1c4)](..._0x263681)['to'](this),this[_0x16e086(0x1bf)]=new _0x30ec83(_0x56359a,this[_0x16e086(0x1ce)]),this[_0x16e086(0x1bf)][_0x16e086(0x1c4)](..._0x263681)['to'](this),this[_0x16e086(0x1c9)]=new _0x593734(_0x56359a,{'bodyCollection':this[_0x16e086(0x1ce)],'contextResourcesSearchInputVisibleFrom':_0xc93480[_0x16e086(0x1be)]}),this[_0x16e086(0x1c9)][_0x16e086(0x1c4)](..._0x263681)['to'](this),this[_0x16e086(0x1b3)]=new _0x94df1b(_0x56359a),this[_0x16e086(0x1b7)]({'tag':_0x16e086(0x1cc),'attributes':{'class':['ck',_0x16e086(0x1d0),_0x16e086(0x1ca),_0x16e086(0x1bb)],'dir':_0x56359a[_0x16e086(0x1c6)]},'children':[this[_0x16e086(0x1c0)],this[_0x16e086(0x1bf)],this[_0x16e086(0x1c9)],this[_0x16e086(0x1b3)]]});}[_0x513b75(0x1b4)](_0x45777e,_0x115a14,_0x343ac3,_0x2b3143){var _0x1ad2e4=_0x513b75;this[_0x1ad2e4(0x1c9)][_0x1ad2e4(0x1b4)](_0x45777e,_0x115a14,_0x343ac3,_0x2b3143);}[_0x513b75(0x1bc)](_0x326df4){var _0x352071=_0x513b75;this[_0x352071(0x1c9)][_0x352071(0x1bc)](_0x326df4);}[_0x513b75(0x1bd)](){var _0x57815=_0x513b75;this[_0x57815(0x1ce)][_0x57815(0x1c5)](),super[_0x57815(0x1bd)]();}}function _0x490b(){var _0x35e613=['1517376zfmXVG','div','attachToDom','_bodyCollection','49574gXsOhT','ck-reset_all','12NWKwKS','chatDisclaimer','populateSourceResourceBalloon','showResizeButton','50460BhIGUd','setTemplate','55JlhPvi','24KhuYJn','1243503TPvEhQ','ck-rounded-corners','closeSourceResourceBalloon','destroy','contextResourcesSearchInputVisibleFrom','chatFeed','chatHeader','18719808IsWepZ','27817vNfXEn','859110SgGttR','delegate','detachFromDom','uiLanguageDirection','30GeLncD','12BQKHcz','chatControls','ck-ai-chat'];_0x490b=function(){return _0x35e613;};return _0x490b();}
23
+ var _0x475d3=_0x2aec;(function(_0x40ea96,_0x2bbae8){var _0x2aa56f=_0x2aec,_0x3ab2fb=_0x40ea96();while(!![]){try{var _0x12e432=parseInt(_0x2aa56f(0x12d))/0x1+-parseInt(_0x2aa56f(0x125))/0x2+parseInt(_0x2aa56f(0x11f))/0x3*(parseInt(_0x2aa56f(0x117))/0x4)+-parseInt(_0x2aa56f(0x118))/0x5+-parseInt(_0x2aa56f(0x131))/0x6*(-parseInt(_0x2aa56f(0x127))/0x7)+-parseInt(_0x2aa56f(0x12a))/0x8+parseInt(_0x2aa56f(0x11c))/0x9;if(_0x12e432===_0x2bbae8)break;else _0x3ab2fb['push'](_0x3ab2fb['shift']());}catch(_0x836372){_0x3ab2fb['push'](_0x3ab2fb['shift']());}}}(_0x1715,0x38ca0));import{View as _0x444791,BodyCollection as _0x26b0a8}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x5d968c}from'../utils/eventnames.js';function _0x1715(){var _0x31f656=['uiLanguageDirection','14652MYsoxt','showResizeButton','528832wLimJB','2045375IFBpak','populateSourceResourceBalloon','_bodyCollection','delegate','3964518RIvlJD','ck-ai-chat','ck-rounded-corners','3JJRqZc','destroy','attachToDom','ck-reset_all','chatDisclaimer','chatFeed','218372NHAMAP','chatHeader','42jTnwAT','setTemplate','contextResourcesSearchInputVisibleFrom','442480KGxpYj','chatControls','detachFromDom','218817GlzPPd','closeSourceResourceBalloon','div'];_0x1715=function(){return _0x31f656;};return _0x1715();}import{AIChatFeedView as _0x5652b5}from'./aichatfeedview.js';import{AIChatControlsView as _0xc6cc86}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x617da3}from'./aichatheaderview.js';import{AIDisclaimerView as _0x4cf801}from'../../aicore/ui/aidisclaimerview.js';function _0x2aec(_0x27aee7,_0x5cf6e6){var _0x171543=_0x1715();return _0x2aec=function(_0x2aec8d,_0x42df93){_0x2aec8d=_0x2aec8d-0x117;var _0x2f7944=_0x171543[_0x2aec8d];return _0x2f7944;},_0x2aec(_0x27aee7,_0x5cf6e6);}export class AIChatView extends _0x444791{[_0x475d3(0x126)];[_0x475d3(0x124)];[_0x475d3(0x12b)];[_0x475d3(0x123)];[_0x475d3(0x11a)];constructor(_0x3e8ee0,_0x396422){var _0x3f3a5e=_0x475d3;super(_0x3e8ee0),this[_0x3f3a5e(0x11a)]=new _0x26b0a8(_0x3e8ee0),this[_0x3f3a5e(0x11a)][_0x3f3a5e(0x121)](),this[_0x3f3a5e(0x126)]=new _0x617da3(_0x3e8ee0,_0x396422[_0x3f3a5e(0x132)]),this[_0x3f3a5e(0x126)][_0x3f3a5e(0x11b)](..._0x5d968c)['to'](this),this[_0x3f3a5e(0x124)]=new _0x5652b5(_0x3e8ee0,this[_0x3f3a5e(0x11a)]),this[_0x3f3a5e(0x124)][_0x3f3a5e(0x11b)](..._0x5d968c)['to'](this),this[_0x3f3a5e(0x12b)]=new _0xc6cc86(_0x3e8ee0,{'bodyCollection':this[_0x3f3a5e(0x11a)],'contextResourcesSearchInputVisibleFrom':_0x396422[_0x3f3a5e(0x129)]}),this[_0x3f3a5e(0x12b)][_0x3f3a5e(0x11b)](..._0x5d968c)['to'](this),this[_0x3f3a5e(0x123)]=new _0x4cf801(_0x3e8ee0),this[_0x3f3a5e(0x128)]({'tag':_0x3f3a5e(0x12f),'attributes':{'class':['ck',_0x3f3a5e(0x122),_0x3f3a5e(0x11d),_0x3f3a5e(0x11e)],'dir':_0x3e8ee0[_0x3f3a5e(0x130)]},'children':[this[_0x3f3a5e(0x126)],this[_0x3f3a5e(0x124)],this[_0x3f3a5e(0x12b)],this[_0x3f3a5e(0x123)]]});}[_0x475d3(0x119)](_0x557ce0,_0x22efdc,_0x540682,_0x14f9d9){var _0x4cfb5f=_0x475d3;this[_0x4cfb5f(0x12b)][_0x4cfb5f(0x119)](_0x557ce0,_0x22efdc,_0x540682,_0x14f9d9);}[_0x475d3(0x12e)](_0x524fe0){var _0xbd8daf=_0x475d3;this[_0xbd8daf(0x12b)][_0xbd8daf(0x12e)](_0x524fe0);}[_0x475d3(0x120)](){var _0x3506d6=_0x475d3;this[_0x3506d6(0x11a)][_0x3506d6(0x12c)](),super[_0x3506d6(0x120)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5f3c(_0x523bbe,_0x37f394){const _0x5b62f4=_0x5b62();return _0x5f3c=function(_0x5f3c8f,_0x972f9){_0x5f3c8f=_0x5f3c8f-0xdd;let _0x32cd21=_0x5b62f4[_0x5f3c8f];return _0x32cd21;},_0x5f3c(_0x523bbe,_0x37f394);}function _0x5b62(){const _0xf6880c=['_containerElement','length','visible','_renderChipsAndCountRows','absolute','boxSizing','280012VeTlMs','_config','pin','_restoreAncestorVisibility','_findTargetContainer','_applyCalculationStyles','appendChild','_applyOverflowResults','_isContainerVisible','hideBalloonPanel','innerWidth','showMoreButton','width','50px','19611zuUvGD','visible\x20!important','reorganizeChips','zIndex','clientHeight','_createShowMoreButtonView','tagName','label','_repinBalloonPanel','_createShowMoreButton','_updateOverflowUI','show','forEach','right','35LNjLGf','push','488rALdAp','height','border-box','isOn','showMoreLabelPrefix','11262420cAyvuJ','_intersectionObserver','_createMockButton','none','add','top','block\x20!important','pointerEvents','overflowContainer','setTemplate','_distributeChips','content','_updateBalloonContent','showBalloonPanel','_pendingCalculation','getBoundingClientRect','observe','innerHeight','documentElement','undefined','button','_targetContainer','className','disconnect','_calculateContainerWidth','isIntersecting','cssClasses','parentElement','_checkAndHandleOverflow','style','isConnected','destroy','querySelector','getComputedStyle','17916kHdAhj','_locale','bottom','+\x201','_bodyCollection','300px','_showMoreButtonView','_createShowMoreBalloonPanelView','hide','clear','0px','ck-calculation-container','386446QkcJJm','position','isVisible','block','includes','calculationContainer','hidden','_calculateOverflowInContainer','visibility','_testButtonFit','_createCalculationContainer','overflowChips','body','_setupVisibilityObserver','toLowerCase','_ancestorsToRestore','set','-9999px','innerHTML','_parentView','clientWidth','1109949pgLuAr','filter','137992CxtPuU','_showMoreBalloonPanelView','render','.ck-ai-chat','abs','maxVisibleRows','auto','children','opacity','showMoreButtonView','slice','controlsButton','_overflowChips','_createContainerElements','from','_visibleChips','rowDetectionTolerance','_handleShowMoreButtonClick','pop','disableAnimationOnEnter','remove','classList','element','some','div','execute','cloneNode','offsetWidth','_makeAncestorsVisible','left','createElement','display','extendTemplate','10pmflmt','setContainerElement','showMoreBalloon','textContent','_updateShowMoreButtonVisibility'];_0x5b62=function(){return _0xf6880c;};return _0x5b62();}const _0x52ffef=_0x5f3c;(function(_0x3e0da0,_0x36557c){const _0x31fd25=_0x5f3c,_0x314fef=_0x3e0da0();while(!![]){try{const _0x32b0fd=-parseInt(_0x31fd25(0x10a))/0x1+parseInt(_0x31fd25(0x121))/0x2+-parseInt(_0x31fd25(0x11f))/0x3+-parseInt(_0x31fd25(0x14d))/0x4*(-parseInt(_0x31fd25(0x142))/0x5)+parseInt(_0x31fd25(0xfe))/0x6*(-parseInt(_0x31fd25(0x169))/0x7)+-parseInt(_0x31fd25(0x16b))/0x8*(parseInt(_0x31fd25(0x15b))/0x9)+parseInt(_0x31fd25(0x170))/0xa;if(_0x32b0fd===_0x36557c)break;else _0x314fef['push'](_0x314fef['shift']());}catch(_0x28f481){_0x314fef['push'](_0x314fef['shift']());}}}(_0x5b62,0x69376));import{View as _0x3d0895,BalloonPanelView as _0x4a40a3,ButtonView as _0x1d4db8,clickOutsideHandler as _0x5e4afb}from'ckeditor5/src/ui.js';import{Collection as _0x3a9232}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x52ffef(0x103);export class AIChatChipsOverflowManager{[_0x52ffef(0xff)];[_0x52ffef(0x14e)];[_0x52ffef(0x130)];[_0x52ffef(0x12d)];[_0x52ffef(0x104)]=null;[_0x52ffef(0x122)]=null;[_0x52ffef(0x147)]=null;[_0x52ffef(0x102)];[_0x52ffef(0x11d)]=null;[_0x52ffef(0xdd)]=null;[_0x52ffef(0xea)]=!0x1;constructor(_0x17d8be,_0x315f29,_0x28d3d0,_0x567fee,_0x3c8d74){const _0xf8cd5f=_0x52ffef;this[_0xf8cd5f(0xff)]=_0x17d8be,this[_0xf8cd5f(0x130)]=_0x315f29,this[_0xf8cd5f(0x14e)]={...hn,..._0x28d3d0,'cssClasses':{'controlsButton':'','calculationContainer':_0xf8cd5f(0x109),..._0x28d3d0[_0xf8cd5f(0xf6)]}},this[_0xf8cd5f(0x12d)]=new _0x3a9232(),this[_0xf8cd5f(0x102)]=_0x567fee,this[_0xf8cd5f(0x11d)]=_0x3c8d74||null;}[_0x52ffef(0x143)](_0x3d5a38){const _0xfcf733=_0x52ffef;this[_0xfcf733(0xdd)]&&(this[_0xfcf733(0xdd)][_0xfcf733(0xf3)](),this[_0xfcf733(0xdd)]=null),this[_0xfcf733(0x147)]=_0x3d5a38,this[_0xfcf733(0x117)]();}get[_0x52ffef(0x12a)](){const _0x320a71=_0x52ffef;return this[_0x320a71(0x104)];}get[_0x52ffef(0x115)](){const _0x56a414=_0x52ffef;return this[_0x56a414(0x12d)];}[_0x52ffef(0x15d)](){requestAnimationFrame(()=>{const _0x17d36c=_0x5f3c;this[_0x17d36c(0xf8)]();});}[_0x52ffef(0xe9)](){const _0xb8767b=_0x52ffef;this[_0xb8767b(0x104)]&&this[_0xb8767b(0x122)]&&(this[_0xb8767b(0xe8)](),this[_0xb8767b(0x104)][_0xb8767b(0x16e)]=!0x0,this[_0xb8767b(0x122)][_0xb8767b(0x166)](),this[_0xb8767b(0x122)][_0xb8767b(0x14f)]({'target':this[_0xb8767b(0x104)][_0xb8767b(0x137)],'limiter':document[_0xb8767b(0xfc)](_0xb8767b(0x124))}));}[_0x52ffef(0x156)](){const _0x4621cd=_0x52ffef;this[_0x4621cd(0x104)]&&this[_0x4621cd(0x122)]&&(this[_0x4621cd(0x104)][_0x4621cd(0x16e)]=!0x1,this[_0x4621cd(0x122)][_0x4621cd(0x106)]());}[_0x52ffef(0x107)](){const _0x255ae3=_0x52ffef;this[_0x255ae3(0x12d)][_0x255ae3(0x107)](),this[_0x255ae3(0x156)](),this[_0x255ae3(0x146)](),this[_0x255ae3(0x104)]&&(this[_0x255ae3(0x104)][_0x255ae3(0x162)]=''),this[_0x255ae3(0x122)]&&this[_0x255ae3(0x122)][_0x255ae3(0xe7)][_0x255ae3(0x107)]();}[_0x52ffef(0xfb)](){const _0x16a20b=_0x52ffef;this[_0x16a20b(0xdd)]&&(this[_0x16a20b(0xdd)][_0x16a20b(0xf3)](),this[_0x16a20b(0xdd)]=null),this[_0x16a20b(0x104)]&&(this[_0x16a20b(0x104)][_0x16a20b(0xfb)](),this[_0x16a20b(0x104)]=null),this[_0x16a20b(0x122)]&&(this[_0x16a20b(0x122)][_0x16a20b(0xfb)](),this[_0x16a20b(0x122)]=null);}[_0x52ffef(0xf8)](){const _0x55fb90=_0x52ffef;if(!this[_0x55fb90(0x147)])return;if(!this[_0x55fb90(0x155)]())return void(this[_0x55fb90(0xea)]=!0x0);this[_0x55fb90(0xea)]=!0x1;const _0x46f169=[...this[_0x55fb90(0x130)],...this[_0x55fb90(0x12d)]],_0x3df467=this[_0x55fb90(0x114)](),_0x27cb82=this[_0x55fb90(0x111)](_0x3df467,_0x46f169),_0x2b3c28=_0x3df467[_0x55fb90(0x119)];_0x2b3c28&&this[_0x55fb90(0x150)](_0x2b3c28),_0x3df467[_0x55fb90(0x135)](),this[_0x55fb90(0x154)](_0x46f169,_0x27cb82);}[_0x52ffef(0x164)](){const _0x313bac=_0x52ffef;this[_0x313bac(0x104)]=this[_0x313bac(0x160)](),this[_0x313bac(0x122)]=this[_0x313bac(0x105)](),this[_0x313bac(0x104)][_0x313bac(0x123)](),this[_0x313bac(0x147)][_0x313bac(0x153)](this[_0x313bac(0x104)][_0x313bac(0x137)]),this[_0x313bac(0x104)]['on'](_0x313bac(0x13a),()=>{const _0xb9b841=_0x313bac;this[_0xb9b841(0x132)]();}),_0x5e4afb({'emitter':this[_0x313bac(0x122)],'contextElements':[this[_0x313bac(0x122)][_0x313bac(0x137)],this[_0x313bac(0x104)][_0x313bac(0x137)]],'callback':()=>this[_0x313bac(0x156)](),'activator':()=>this[_0x313bac(0x104)][_0x313bac(0x16e)]});}[_0x52ffef(0x160)](){const _0x380038=_0x52ffef,_0x520da5=new _0x1d4db8(this[_0x380038(0xff)]);_0x520da5[_0x380038(0x11a)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x46db00=[this[_0x380038(0x14e)][_0x380038(0xf6)][_0x380038(0x158)]];return this[_0x380038(0x14e)][_0x380038(0xf6)][_0x380038(0x12c)]&&_0x46db00[_0x380038(0x16a)](this[_0x380038(0x14e)][_0x380038(0xf6)][_0x380038(0x12c)]),_0x520da5[_0x380038(0x141)]({'attributes':{'class':_0x46db00}}),_0x520da5;}[_0x52ffef(0x105)](){const _0x3d37b0=_0x52ffef,_0x57ed6b=new _0x4a40a3(this[_0x3d37b0(0xff)]);return _0x57ed6b[_0x3d37b0(0x141)]({'attributes':{'class':this[_0x3d37b0(0x14e)][_0x3d37b0(0xf6)][_0x3d37b0(0x144)]}}),this[_0x3d37b0(0x102)][_0x3d37b0(0xe0)](_0x57ed6b),_0x57ed6b;}[_0x52ffef(0xe8)](){const _0x49e9b3=_0x52ffef;if(this[_0x49e9b3(0x122)]&&(this[_0x49e9b3(0x122)][_0x49e9b3(0xe7)][_0x49e9b3(0x107)](),this[_0x49e9b3(0x12d)][_0x49e9b3(0x148)]>0x0)){this[_0x49e9b3(0x12d)][_0x49e9b3(0x167)](_0x23bc96=>{const _0x5e7052=_0x49e9b3;_0x23bc96[_0x5e7052(0x134)]();});const _0x25af09=new _0x3d0895(this[_0x49e9b3(0xff)]);_0x25af09[_0x49e9b3(0xe5)]({'tag':_0x49e9b3(0x139),'attributes':{'class':this[_0x49e9b3(0x14e)][_0x49e9b3(0xf6)][_0x49e9b3(0xe4)]},'children':this[_0x49e9b3(0x12d)]}),this[_0x49e9b3(0x122)][_0x49e9b3(0xe7)][_0x49e9b3(0xe0)](_0x25af09);}}[_0x52ffef(0x132)](){const _0x15e435=_0x52ffef;this[_0x15e435(0x104)][_0x15e435(0x16e)]?this[_0x15e435(0x156)]():this[_0x15e435(0xe9)]();}[_0x52ffef(0x146)](){const _0x27bb02=_0x52ffef,_0x30a336=this[_0x27bb02(0x12d)][_0x27bb02(0x148)]>0x0;this[_0x27bb02(0x104)]?.[_0x27bb02(0x137)]&&(this[_0x27bb02(0x104)][_0x27bb02(0x137)][_0x27bb02(0xf9)][_0x27bb02(0x140)]=_0x30a336?'':_0x27bb02(0xdf));}[_0x52ffef(0x163)](){const _0x405d9a=_0x52ffef;this[_0x405d9a(0x104)]?.[_0x405d9a(0x16e)]&&this[_0x405d9a(0x122)]?.[_0x405d9a(0x10c)]&&this[_0x405d9a(0x104)][_0x405d9a(0x137)]&&this[_0x405d9a(0x122)][_0x405d9a(0x14f)]({'target':this[_0x405d9a(0x104)][_0x405d9a(0x137)],'limiter':document[_0x405d9a(0xfc)](_0x405d9a(0x124))});}[_0x52ffef(0x151)](_0x5173f4){const _0x55e5a9=_0x52ffef,_0x140e10=this[_0x55e5a9(0x147)]?.[_0x55e5a9(0x161)][_0x55e5a9(0x118)]()||_0x55e5a9(0x139),_0x391574=this[_0x55e5a9(0x147)]?.[_0x55e5a9(0x136)];if(_0x391574){const _0x1c74f4=_0x391574[0x0]||'',_0x3adf52=_0x5173f4[_0x55e5a9(0xfc)]('.'+_0x1c74f4),_0x12bfe2=_0x5173f4[_0x55e5a9(0xfc)](_0x140e10);return _0x3adf52||_0x12bfe2||_0x5173f4;}return _0x5173f4[_0x55e5a9(0xfc)](_0x140e10)||_0x5173f4;}[_0x52ffef(0xf4)](){const _0x2603c1=_0x52ffef,_0x4a71aa=this[_0x2603c1(0x11d)]?.[_0x2603c1(0x137)]||this[_0x2603c1(0x147)];if(!_0x4a71aa)return an;const _0x150524=window[_0x2603c1(0xfd)](_0x4a71aa)[_0x2603c1(0x159)];if(_0x2603c1(0x127)===_0x150524||_0x2603c1(0x108)===_0x150524||!_0x150524){const _0x1fc4be=_0x4a71aa[_0x2603c1(0xf7)];if(_0x1fc4be){const _0x39c20a=window[_0x2603c1(0xfd)](_0x1fc4be);return _0x2603c1(0x127)!==_0x39c20a[_0x2603c1(0x159)]?_0x39c20a[_0x2603c1(0x159)]:an;}return an;}return _0x150524;}[_0x52ffef(0x152)](_0x12f4bd,_0xfac056){const _0x17490b=_0x52ffef;this[_0x17490b(0x14e)][_0x17490b(0xf6)][_0x17490b(0x10f)]&&_0x12f4bd[_0x17490b(0x136)][_0x17490b(0xe0)](this[_0x17490b(0x14e)][_0x17490b(0xf6)][_0x17490b(0x10f)]),_0x12f4bd[_0x17490b(0xf9)][_0x17490b(0x159)]=_0xfac056,_0x12f4bd[_0x17490b(0xf9)][_0x17490b(0x10b)]=_0x17490b(0x14b),_0x12f4bd[_0x17490b(0xf9)][_0x17490b(0xe1)]=_0x17490b(0x11b),_0x12f4bd[_0x17490b(0xf9)][_0x17490b(0x13e)]=_0x17490b(0x11b),_0x12f4bd[_0x17490b(0xf9)][_0x17490b(0x129)]='0',_0x12f4bd[_0x17490b(0xf9)][_0x17490b(0xe3)]=_0x17490b(0xdf),_0x12f4bd[_0x17490b(0xf9)][_0x17490b(0x15e)]='-1',_0x12f4bd[_0x17490b(0xf9)][_0x17490b(0x112)]=_0x17490b(0x15c),_0x12f4bd[_0x17490b(0xf9)][_0x17490b(0x140)]=_0x17490b(0xe2),_0x12f4bd[_0x17490b(0xf9)][_0x17490b(0x14c)]=_0x17490b(0x16d);}[_0x52ffef(0x150)](_0x5d6d93){const _0x48983b=_0x52ffef;_0x5d6d93[_0x48983b(0x167)](({element:_0x128315,originalDisplay:_0x139ad2,originalVisibility:_0x1684ab})=>{const _0xf6359b=_0x48983b;_0x128315[_0xf6359b(0xf9)][_0xf6359b(0x140)]=_0x139ad2,_0x128315[_0xf6359b(0xf9)][_0xf6359b(0x112)]=_0x1684ab;});}[_0x52ffef(0x13d)](_0x43adc3){const _0x29cc5d=_0x52ffef,_0x2aed77=[];let _0x3ed3a9=_0x43adc3;for(;_0x3ed3a9&&_0x3ed3a9!==document[_0x29cc5d(0x116)];){const _0x32dabe=window[_0x29cc5d(0xfd)](_0x3ed3a9);_0x29cc5d(0xdf)!==_0x32dabe[_0x29cc5d(0x140)]&&_0x29cc5d(0x110)!==_0x32dabe[_0x29cc5d(0x112)]||(_0x2aed77[_0x29cc5d(0x16a)]({'element':_0x3ed3a9,'originalDisplay':_0x3ed3a9[_0x29cc5d(0xf9)][_0x29cc5d(0x140)],'originalVisibility':_0x3ed3a9[_0x29cc5d(0xf9)][_0x29cc5d(0x112)]}),_0x3ed3a9[_0x29cc5d(0xf9)][_0x29cc5d(0x140)]=_0x29cc5d(0x10d),_0x3ed3a9[_0x29cc5d(0xf9)][_0x29cc5d(0x112)]=_0x29cc5d(0x149)),_0x3ed3a9=_0x3ed3a9[_0x29cc5d(0xf7)];}return _0x2aed77;}[_0x52ffef(0x12e)](){const _0x5b38cd=_0x52ffef;let _0x2c83c7,_0x2c7fbb;return this[_0x5b38cd(0x11d)]?.[_0x5b38cd(0x137)]?(_0x2c83c7=this[_0x5b38cd(0x11d)][_0x5b38cd(0x137)][_0x5b38cd(0x13b)](!0x0),_0x2c7fbb=this[_0x5b38cd(0x151)](_0x2c83c7)):(_0x2c83c7=document[_0x5b38cd(0x13f)](_0x5b38cd(0x139)),_0x2c7fbb=_0x2c83c7),{'calculationContainer':_0x2c83c7,'targetContainer':_0x2c7fbb};}[_0x52ffef(0x114)](){const _0x118326=_0x52ffef,{calculationContainer:_0x4ca1e6,targetContainer:_0x365964}=this[_0x118326(0x12e)](),_0x206e40=this[_0x118326(0xf4)]();this[_0x118326(0x152)](_0x4ca1e6,_0x206e40);const _0x55fa71=this[_0x118326(0x11d)]?.[_0x118326(0x137)]||this[_0x118326(0x147)],_0x413dd2=_0x55fa71?.[_0x118326(0xf7)];_0x413dd2?_0x413dd2[_0x118326(0x153)](_0x4ca1e6):document[_0x118326(0x116)][_0x118326(0x153)](_0x4ca1e6),_0x4ca1e6[_0x118326(0xf1)]=_0x365964;const _0xdfe193=this[_0x118326(0x13d)](_0x413dd2||null);return _0x4ca1e6[_0x118326(0x13c)],_0x4ca1e6[_0x118326(0x119)]=_0xdfe193,_0x4ca1e6;}[_0x52ffef(0x111)](_0x78ad76,_0x3f4e5c){const _0x1667af=_0x52ffef,_0x5352a5=_0x78ad76[_0x1667af(0xf1)]||_0x78ad76,_0x62a737=[],{rowCount:_0x7df3fd}=this[_0x1667af(0x14a)](_0x5352a5,_0x3f4e5c);if(_0x7df3fd<=this[_0x1667af(0x14e)][_0x1667af(0x126)])return _0x62a737;const _0x3529ca=_0x3f4e5c[_0x1667af(0x12b)]();for(;_0x3529ca[_0x1667af(0x148)]>0x0;){if(this[_0x1667af(0x113)](_0x78ad76,_0x5352a5,_0x3529ca)){const _0x2def85=_0x3f4e5c[_0x1667af(0x120)](_0x2c165f=>!_0x3529ca[_0x1667af(0x10e)](_0x2c165f));_0x62a737[_0x1667af(0x16a)](..._0x2def85);break;}if(!_0x3529ca[_0x1667af(0x133)]())break;}return _0x62a737;}[_0x52ffef(0x14a)](_0x56e769,_0x3dadd1){const _0x33864e=_0x52ffef;_0x56e769[_0x33864e(0x11c)]='',_0x3dadd1[_0x33864e(0x167)](_0x7ab181=>{const _0x215723=_0x33864e;if(_0x7ab181[_0x215723(0x137)]){const _0x14d3f3=_0x7ab181[_0x215723(0x137)][_0x215723(0x13b)](!0x0);_0x56e769[_0x215723(0x153)](_0x14d3f3);}}),_0x56e769[_0x33864e(0x13c)];const _0x543884=_0x56e769[_0x33864e(0x128)],_0xeefa4e=[];return Array[_0x33864e(0x12f)](_0x543884)[_0x33864e(0x167)](_0x85d88b=>{const _0x37166c=_0x33864e,_0x101158=_0x85d88b[_0x37166c(0xeb)]()[_0x37166c(0xe1)];_0xeefa4e[_0x37166c(0x138)](_0x162e08=>Math[_0x37166c(0x125)](_0x162e08-_0x101158)<this[_0x37166c(0x14e)][_0x37166c(0x131)])||_0xeefa4e[_0x37166c(0x16a)](_0x101158);}),{'rowCount':_0xeefa4e[_0x33864e(0x148)]};}[_0x52ffef(0xde)](){const _0x5b33de=_0x52ffef,_0x130427=document[_0x5b33de(0x13f)](_0x5b33de(0xf0));return _0x130427[_0x5b33de(0xf2)]=this[_0x5b33de(0x14e)][_0x5b33de(0xf6)][_0x5b33de(0x158)],this[_0x5b33de(0x14e)][_0x5b33de(0xf6)][_0x5b33de(0x12c)]&&_0x130427[_0x5b33de(0x136)][_0x5b33de(0xe0)](this[_0x5b33de(0x14e)][_0x5b33de(0xf6)][_0x5b33de(0x12c)]),_0x130427[_0x5b33de(0x145)]=_0x5b33de(0x101),_0x130427;}[_0x52ffef(0x113)](_0x3cb0cc,_0x525803,_0x30f8b0){const _0x4ec8f0=_0x52ffef;this[_0x4ec8f0(0x14a)](_0x525803,_0x30f8b0);const _0x274b8c=this[_0x4ec8f0(0xde)]();_0x3cb0cc[_0x4ec8f0(0x153)](_0x274b8c),_0x3cb0cc[_0x4ec8f0(0x13c)];const _0x43b2c4=[..._0x525803[_0x4ec8f0(0x128)],_0x274b8c],_0x781b23=[];_0x43b2c4[_0x4ec8f0(0x167)](_0x3d065a=>{const _0x2ae800=_0x4ec8f0,_0x59167b=_0x3d065a[_0x2ae800(0xeb)]()[_0x2ae800(0xe1)];_0x781b23[_0x2ae800(0x138)](_0xd4929f=>Math[_0x2ae800(0x125)](_0xd4929f-_0x59167b)<this[_0x2ae800(0x14e)][_0x2ae800(0x131)])||_0x781b23[_0x2ae800(0x16a)](_0x59167b);});const _0x558c6c=_0x781b23[_0x4ec8f0(0x148)];return _0x274b8c[_0x4ec8f0(0x135)](),_0x558c6c<=this[_0x4ec8f0(0x14e)][_0x4ec8f0(0x126)];}[_0x52ffef(0xe6)](_0x1e3343,_0xcf344c){const _0x189654=_0x52ffef;this[_0x189654(0x130)][_0x189654(0x107)](),this[_0x189654(0x12d)][_0x189654(0x107)](),_0x1e3343[_0x189654(0x167)](_0x134eed=>{const _0x1fe0a6=_0x189654;_0xcf344c[_0x1fe0a6(0x10e)](_0x134eed)?this[_0x1fe0a6(0x12d)][_0x1fe0a6(0xe0)](_0x134eed):this[_0x1fe0a6(0x130)][_0x1fe0a6(0xe0)](_0x134eed);});}[_0x52ffef(0x165)](_0x2c2334){const _0x50d00d=_0x52ffef;if(_0x2c2334>0x0&&!this[_0x50d00d(0x104)]&&this[_0x50d00d(0x164)](),_0x2c2334>0x0&&this[_0x50d00d(0x104)]){const _0x96782d=''+this[_0x50d00d(0x14e)][_0x50d00d(0x16f)]+(_0x2c2334<0x63?_0x2c2334:'99');this[_0x50d00d(0x104)][_0x50d00d(0x162)]=_0x96782d;}this[_0x50d00d(0xe8)](),this[_0x50d00d(0x146)](),this[_0x50d00d(0x163)]();}[_0x52ffef(0x154)](_0x44e664,_0x466fcb){const _0x5d6378=_0x52ffef;this[_0x5d6378(0xe6)](_0x44e664,_0x466fcb),this[_0x5d6378(0x165)](_0x466fcb[_0x5d6378(0x148)]);}[_0x52ffef(0x117)](){const _0x449d97=_0x52ffef;this[_0x449d97(0x147)]&&_0x449d97(0xef)!=typeof IntersectionObserver&&(this[_0x449d97(0xdd)]=new IntersectionObserver(_0x55f81a=>{const _0x403b53=_0x449d97;_0x55f81a[0x0][_0x403b53(0xf5)]&&this[_0x403b53(0xea)]&&requestAnimationFrame(()=>{const _0x42b905=_0x403b53;this[_0x42b905(0xf8)]();});},{'threshold':0.01,'rootMargin':_0x449d97(0x15a)}),this[_0x449d97(0xdd)][_0x449d97(0xec)](this[_0x449d97(0x147)]));}[_0x52ffef(0x155)](){const _0x5a09f4=_0x52ffef;if(!this[_0x5a09f4(0x147)])return!0x1;if(!this[_0x5a09f4(0x147)][_0x5a09f4(0xfa)])return!0x1;const _0x5d14ae=this[_0x5a09f4(0x147)][_0x5a09f4(0xeb)]();if(0x0===_0x5d14ae[_0x5a09f4(0x159)]||0x0===_0x5d14ae[_0x5a09f4(0x16c)])return!0x1;const _0x4a4670=window[_0x5a09f4(0xed)]||document[_0x5a09f4(0xee)][_0x5a09f4(0x15f)],_0x5a444e=window[_0x5a09f4(0x157)]||document[_0x5a09f4(0xee)][_0x5a09f4(0x11e)],_0x38ded5=0xc8;return _0x5d14ae[_0x5a09f4(0x100)]>=-0xc8&&_0x5d14ae[_0x5a09f4(0xe1)]<=_0x4a4670+_0x38ded5&&_0x5d14ae[_0x5a09f4(0x168)]>=-0xc8&&_0x5d14ae[_0x5a09f4(0x13e)]<=_0x5a444e+_0x38ded5;}}
23
+ const _0x4a4174=_0x4eb0;(function(_0xed0e40,_0x5578b9){const _0x37388a=_0x4eb0,_0x508fdc=_0xed0e40();while(!![]){try{const _0x24de24=-parseInt(_0x37388a(0xfa))/0x1+parseInt(_0x37388a(0xbf))/0x2*(-parseInt(_0x37388a(0x150))/0x3)+parseInt(_0x37388a(0x115))/0x4+-parseInt(_0x37388a(0x142))/0x5*(-parseInt(_0x37388a(0x143))/0x6)+-parseInt(_0x37388a(0xfd))/0x7*(-parseInt(_0x37388a(0xfb))/0x8)+-parseInt(_0x37388a(0xd6))/0x9*(-parseInt(_0x37388a(0x12b))/0xa)+-parseInt(_0x37388a(0x138))/0xb;if(_0x24de24===_0x5578b9)break;else _0x508fdc['push'](_0x508fdc['shift']());}catch(_0x4582bb){_0x508fdc['push'](_0x508fdc['shift']());}}}(_0x46ba,0xf1a9e));import{View as _0x50a14b,BalloonPanelView as _0x14a156,ButtonView as _0x31d900,clickOutsideHandler as _0x1f9633}from'ckeditor5/src/ui.js';import{Collection as _0x4f0b70}from'ckeditor5/src/utils.js';const wn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},dn=_0x4a4174(0x12e);export class AIChatChipsOverflowManager{[_0x4a4174(0x14c)];[_0x4a4174(0xc8)];[_0x4a4174(0x13b)];[_0x4a4174(0xcf)];[_0x4a4174(0x141)]=null;[_0x4a4174(0xc3)]=null;[_0x4a4174(0x12d)]=null;[_0x4a4174(0x134)];[_0x4a4174(0x11a)]=null;[_0x4a4174(0xe4)]=null;[_0x4a4174(0x14f)]=!0x1;constructor(_0x180bfb,_0x2f15e7,_0x42e66d,_0x2c229b,_0x5494c5){const _0x5c0d79=_0x4a4174;this[_0x5c0d79(0x14c)]=_0x180bfb,this[_0x5c0d79(0x13b)]=_0x2f15e7,this[_0x5c0d79(0xc8)]={...wn,..._0x42e66d,'cssClasses':{'controlsButton':'','calculationContainer':_0x5c0d79(0x118),..._0x42e66d[_0x5c0d79(0x103)]}},this[_0x5c0d79(0xcf)]=new _0x4f0b70(),this[_0x5c0d79(0x134)]=_0x2c229b,this[_0x5c0d79(0x11a)]=_0x5494c5||null;}[_0x4a4174(0xf9)](_0x3a13da){const _0x10b1b9=_0x4a4174;this[_0x10b1b9(0xe4)]&&(this[_0x10b1b9(0xe4)][_0x10b1b9(0xc5)](),this[_0x10b1b9(0xe4)]=null),this[_0x10b1b9(0x12d)]=_0x3a13da,this[_0x10b1b9(0x14e)]();}get[_0x4a4174(0xc0)](){const _0x73822e=_0x4a4174;return this[_0x73822e(0x141)];}get[_0x4a4174(0xc1)](){const _0x4e2531=_0x4a4174;return this[_0x4e2531(0xcf)];}[_0x4a4174(0x107)](){requestAnimationFrame(()=>{const _0x8bcc29=_0x4eb0;this[_0x8bcc29(0x10a)]();});}[_0x4a4174(0xe9)](){const _0x3a9a33=_0x4a4174;this[_0x3a9a33(0x141)]&&this[_0x3a9a33(0xc3)]&&(this[_0x3a9a33(0xcb)](),this[_0x3a9a33(0x141)][_0x3a9a33(0xf8)]=!0x0,this[_0x3a9a33(0xc3)][_0x3a9a33(0x137)](),this[_0x3a9a33(0xc3)][_0x3a9a33(0xc7)]({'target':this[_0x3a9a33(0x141)][_0x3a9a33(0xe0)],'limiter':document[_0x3a9a33(0x132)](_0x3a9a33(0x126))}));}[_0x4a4174(0xcd)](){const _0x55ddd2=_0x4a4174;this[_0x55ddd2(0x141)]&&this[_0x55ddd2(0xc3)]&&(this[_0x55ddd2(0x141)][_0x55ddd2(0xf8)]=!0x1,this[_0x55ddd2(0xc3)][_0x55ddd2(0xe2)]());}[_0x4a4174(0x145)](){const _0x991fc3=_0x4a4174;this[_0x991fc3(0xcf)][_0x991fc3(0x145)](),this[_0x991fc3(0xcd)](),this[_0x991fc3(0x13c)](),this[_0x991fc3(0x141)]&&(this[_0x991fc3(0x141)][_0x991fc3(0xff)]=''),this[_0x991fc3(0xc3)]&&this[_0x991fc3(0xc3)][_0x991fc3(0xf2)][_0x991fc3(0x145)]();}[_0x4a4174(0xf6)](){const _0x46a443=_0x4a4174;this[_0x46a443(0xe4)]&&(this[_0x46a443(0xe4)][_0x46a443(0xc5)](),this[_0x46a443(0xe4)]=null),this[_0x46a443(0x141)]&&(this[_0x46a443(0x141)][_0x46a443(0xf6)](),this[_0x46a443(0x141)]=null),this[_0x46a443(0xc3)]&&(this[_0x46a443(0xc3)][_0x46a443(0xf6)](),this[_0x46a443(0xc3)]=null);}[_0x4a4174(0x10a)](){const _0x32ef0e=_0x4a4174;if(!this[_0x32ef0e(0x12d)])return;if(!this[_0x32ef0e(0x122)]())return void(this[_0x32ef0e(0x14f)]=!0x0);this[_0x32ef0e(0x14f)]=!0x1;const _0x314d4a=[...this[_0x32ef0e(0x13b)],...this[_0x32ef0e(0xcf)]],_0xf1f916=this[_0x32ef0e(0x108)](),_0x2d156c=this[_0x32ef0e(0x116)](_0xf1f916,_0x314d4a),_0x220f77=_0xf1f916[_0x32ef0e(0xdb)];_0x220f77&&this[_0x32ef0e(0x117)](_0x220f77),_0xf1f916[_0x32ef0e(0x101)](),this[_0x32ef0e(0x129)](_0x314d4a,_0x2d156c);}[_0x4a4174(0xcc)](){const _0x53a7c2=_0x4a4174;this[_0x53a7c2(0x141)]=this[_0x53a7c2(0xde)](),this[_0x53a7c2(0xc3)]=this[_0x53a7c2(0x130)](),this[_0x53a7c2(0x141)][_0x53a7c2(0xd7)](),this[_0x53a7c2(0x12d)][_0x53a7c2(0xd4)](this[_0x53a7c2(0x141)][_0x53a7c2(0xe0)]),this[_0x53a7c2(0x141)]['on'](_0x53a7c2(0xdd),()=>{const _0x59b675=_0x53a7c2;this[_0x59b675(0x13e)]();}),_0x1f9633({'emitter':this[_0x53a7c2(0xc3)],'contextElements':[this[_0x53a7c2(0xc3)][_0x53a7c2(0xe0)],this[_0x53a7c2(0x141)][_0x53a7c2(0xe0)]],'callback':()=>this[_0x53a7c2(0xcd)](),'activator':()=>this[_0x53a7c2(0x141)][_0x53a7c2(0xf8)]});}[_0x4a4174(0xde)](){const _0x1c43e9=_0x4a4174,_0xc692ce=new _0x31d900(this[_0x1c43e9(0x14c)]);_0xc692ce[_0x1c43e9(0x10c)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x24c8ad=[this[_0x1c43e9(0xc8)][_0x1c43e9(0x103)][_0x1c43e9(0xfc)]];return this[_0x1c43e9(0xc8)][_0x1c43e9(0x103)][_0x1c43e9(0xda)]&&_0x24c8ad[_0x1c43e9(0xbe)](this[_0x1c43e9(0xc8)][_0x1c43e9(0x103)][_0x1c43e9(0xda)]),_0xc692ce[_0x1c43e9(0xe3)]({'attributes':{'class':_0x24c8ad}}),_0xc692ce;}[_0x4a4174(0x130)](){const _0xe702fb=_0x4a4174,_0x139a45=new _0x14a156(this[_0xe702fb(0x14c)]);return _0x139a45[_0xe702fb(0xe3)]({'attributes':{'class':this[_0xe702fb(0xc8)][_0xe702fb(0x103)][_0xe702fb(0x14b)]}}),this[_0xe702fb(0x134)][_0xe702fb(0xf0)](_0x139a45),_0x139a45;}[_0x4a4174(0xcb)](){const _0x3ca0de=_0x4a4174;if(this[_0x3ca0de(0xc3)]&&(this[_0x3ca0de(0xc3)][_0x3ca0de(0xf2)][_0x3ca0de(0x145)](),this[_0x3ca0de(0xcf)][_0x3ca0de(0xc6)]>0x0)){this[_0x3ca0de(0xcf)][_0x3ca0de(0x13d)](_0x384c38=>{const _0x157ab0=_0x3ca0de;_0x384c38[_0x157ab0(0x11c)]();});const _0x2dd02c=new _0x50a14b(this[_0x3ca0de(0x14c)]);_0x2dd02c[_0x3ca0de(0xd3)]({'tag':_0x3ca0de(0x14a),'attributes':{'class':this[_0x3ca0de(0xc8)][_0x3ca0de(0x103)][_0x3ca0de(0x135)]},'children':this[_0x3ca0de(0xcf)]}),this[_0x3ca0de(0xc3)][_0x3ca0de(0xf2)][_0x3ca0de(0xf0)](_0x2dd02c);}}[_0x4a4174(0x13e)](){const _0x4f980c=_0x4a4174;this[_0x4f980c(0x141)][_0x4f980c(0xf8)]?this[_0x4f980c(0xcd)]():this[_0x4f980c(0xe9)]();}[_0x4a4174(0x13c)](){const _0x18150e=_0x4a4174,_0xf6f39f=this[_0x18150e(0xcf)][_0x18150e(0xc6)]>0x0;this[_0x18150e(0x141)]?.[_0x18150e(0xe0)]&&(this[_0x18150e(0x141)][_0x18150e(0xe0)][_0x18150e(0x151)][_0x18150e(0x11e)]=_0xf6f39f?'':_0x18150e(0xe1));}[_0x4a4174(0xeb)](){const _0x50a6c0=_0x4a4174;this[_0x50a6c0(0x141)]?.[_0x50a6c0(0xf8)]&&this[_0x50a6c0(0xc3)]?.[_0x50a6c0(0xe8)]&&this[_0x50a6c0(0x141)][_0x50a6c0(0xe0)]&&this[_0x50a6c0(0xc3)][_0x50a6c0(0xc7)]({'target':this[_0x50a6c0(0x141)][_0x50a6c0(0xe0)],'limiter':document[_0x50a6c0(0x132)](_0x50a6c0(0x126))});}[_0x4a4174(0x124)](_0x2c00bf){const _0x476a3a=_0x4a4174,_0x17a02b=this[_0x476a3a(0x12d)]?.[_0x476a3a(0x121)][_0x476a3a(0x13a)]()||_0x476a3a(0x14a),_0x499384=this[_0x476a3a(0x12d)]?.[_0x476a3a(0x11d)];if(_0x499384){const _0x3ec718=_0x499384[0x0]||'',_0x32a776=_0x2c00bf[_0x476a3a(0x132)]('.'+_0x3ec718),_0x2bee2a=_0x2c00bf[_0x476a3a(0x132)](_0x17a02b);return _0x32a776||_0x2bee2a||_0x2c00bf;}return _0x2c00bf[_0x476a3a(0x132)](_0x17a02b)||_0x2c00bf;}[_0x4a4174(0x146)](){const _0x23d8ff=_0x4a4174,_0x28861f=this[_0x23d8ff(0x11a)]?.[_0x23d8ff(0xe0)]||this[_0x23d8ff(0x12d)];if(!_0x28861f)return dn;const _0x51cd0e=window[_0x23d8ff(0x140)](_0x28861f)[_0x23d8ff(0x120)];if(_0x23d8ff(0x114)===_0x51cd0e||_0x23d8ff(0xd8)===_0x51cd0e||!_0x51cd0e){const _0x30e739=_0x28861f[_0x23d8ff(0xdc)];if(_0x30e739){const _0x4301a5=window[_0x23d8ff(0x140)](_0x30e739);return _0x23d8ff(0x114)!==_0x4301a5[_0x23d8ff(0x120)]?_0x4301a5[_0x23d8ff(0x120)]:dn;}return dn;}return _0x51cd0e;}[_0x4a4174(0x106)](_0x3ded63,_0x38a633){const _0x546944=_0x4a4174;this[_0x546944(0xc8)][_0x546944(0x103)][_0x546944(0xea)]&&_0x3ded63[_0x546944(0x11d)][_0x546944(0xf0)](this[_0x546944(0xc8)][_0x546944(0x103)][_0x546944(0xea)]),_0x3ded63[_0x546944(0x151)][_0x546944(0x120)]=_0x38a633,_0x3ded63[_0x546944(0x151)][_0x546944(0x10d)]=_0x546944(0x13f),_0x3ded63[_0x546944(0x151)][_0x546944(0xd1)]=_0x546944(0x131),_0x3ded63[_0x546944(0x151)][_0x546944(0x110)]=_0x546944(0x131),_0x3ded63[_0x546944(0x151)][_0x546944(0x100)]='0',_0x3ded63[_0x546944(0x151)][_0x546944(0x10f)]=_0x546944(0xe1),_0x3ded63[_0x546944(0x151)][_0x546944(0x139)]='-1',_0x3ded63[_0x546944(0x151)][_0x546944(0x14d)]=_0x546944(0xc9),_0x3ded63[_0x546944(0x151)][_0x546944(0x11e)]=_0x546944(0x148),_0x3ded63[_0x546944(0x151)][_0x546944(0x144)]=_0x546944(0x128);}[_0x4a4174(0x117)](_0x2b3af5){const _0x5ba350=_0x4a4174;_0x2b3af5[_0x5ba350(0x13d)](({element:_0x43e648,originalDisplay:_0x3aac46,originalVisibility:_0x2f1e72})=>{const _0x261dc9=_0x5ba350;_0x43e648[_0x261dc9(0x151)][_0x261dc9(0x11e)]=_0x3aac46,_0x43e648[_0x261dc9(0x151)][_0x261dc9(0x14d)]=_0x2f1e72;});}[_0x4a4174(0x127)](_0x148de3){const _0x39b579=_0x4a4174,_0x308ec0=[];let _0x28e1db=_0x148de3;for(;_0x28e1db&&_0x28e1db!==document[_0x39b579(0xf4)];){const _0xb6bd81=window[_0x39b579(0x140)](_0x28e1db);_0x39b579(0xe1)!==_0xb6bd81[_0x39b579(0x11e)]&&_0x39b579(0xe7)!==_0xb6bd81[_0x39b579(0x14d)]||(_0x308ec0[_0x39b579(0xbe)]({'element':_0x28e1db,'originalDisplay':_0x28e1db[_0x39b579(0x151)][_0x39b579(0x11e)],'originalVisibility':_0x28e1db[_0x39b579(0x151)][_0x39b579(0x14d)]}),_0x28e1db[_0x39b579(0x151)][_0x39b579(0x11e)]=_0x39b579(0x11f),_0x28e1db[_0x39b579(0x151)][_0x39b579(0x14d)]=_0x39b579(0x10b)),_0x28e1db=_0x28e1db[_0x39b579(0xdc)];}return _0x308ec0;}[_0x4a4174(0xed)](){const _0x198a62=_0x4a4174;let _0x185ab4,_0x38985d;return this[_0x198a62(0x11a)]?.[_0x198a62(0xe0)]?(_0x185ab4=this[_0x198a62(0x11a)][_0x198a62(0xe0)][_0x198a62(0xe6)](!0x0),_0x38985d=this[_0x198a62(0x124)](_0x185ab4)):(_0x185ab4=document[_0x198a62(0x147)](_0x198a62(0x14a)),_0x38985d=_0x185ab4),{'calculationContainer':_0x185ab4,'targetContainer':_0x38985d};}[_0x4a4174(0x108)](){const _0x1a5ee0=_0x4a4174,{calculationContainer:_0x12ff1b,targetContainer:_0x405f22}=this[_0x1a5ee0(0xed)](),_0x4da666=this[_0x1a5ee0(0x146)]();this[_0x1a5ee0(0x106)](_0x12ff1b,_0x4da666);const _0x44b624=this[_0x1a5ee0(0x11a)]?.[_0x1a5ee0(0xe0)]||this[_0x1a5ee0(0x12d)],_0x3b9aee=_0x44b624?.[_0x1a5ee0(0xdc)];_0x3b9aee?_0x3b9aee[_0x1a5ee0(0xd4)](_0x12ff1b):document[_0x1a5ee0(0xf4)][_0x1a5ee0(0xd4)](_0x12ff1b),_0x12ff1b[_0x1a5ee0(0x133)]=_0x405f22;const _0x3609da=this[_0x1a5ee0(0x127)](_0x3b9aee||null);return _0x12ff1b[_0x1a5ee0(0x102)],_0x12ff1b[_0x1a5ee0(0xdb)]=_0x3609da,_0x12ff1b;}[_0x4a4174(0x116)](_0x2d8c70,_0x2568a3){const _0x340c6b=_0x4a4174,_0xc2ce52=_0x2d8c70[_0x340c6b(0x133)]||_0x2d8c70,_0x4dc000=[],{rowCount:_0x350cd1}=this[_0x340c6b(0x11b)](_0xc2ce52,_0x2568a3);if(_0x350cd1<=this[_0x340c6b(0xc8)][_0x340c6b(0x123)])return _0x4dc000;const _0x1b9140=_0x2568a3[_0x340c6b(0x149)]();for(;_0x1b9140[_0x340c6b(0xc6)]>0x0;){if(this[_0x340c6b(0xdf)](_0x2d8c70,_0xc2ce52,_0x1b9140)){const _0x108a3e=_0x2568a3[_0x340c6b(0xef)](_0x4990fa=>!_0x1b9140[_0x340c6b(0x12f)](_0x4990fa));_0x4dc000[_0x340c6b(0xbe)](..._0x108a3e);break;}if(!_0x1b9140[_0x340c6b(0xce)]())break;}return _0x4dc000;}[_0x4a4174(0x11b)](_0x512686,_0x45faad){const _0x803ca1=_0x4a4174;_0x512686[_0x803ca1(0xd2)]='',_0x45faad[_0x803ca1(0x13d)](_0x3a6c8a=>{const _0xd1f77e=_0x803ca1;if(_0x3a6c8a[_0xd1f77e(0xe0)]){const _0x4c1d1d=_0x3a6c8a[_0xd1f77e(0xe0)][_0xd1f77e(0xe6)](!0x0);_0x512686[_0xd1f77e(0xd4)](_0x4c1d1d);}}),_0x512686[_0x803ca1(0x102)];const _0x38527b=_0x512686[_0x803ca1(0xd0)],_0x2c22f7=[];return Array[_0x803ca1(0xfe)](_0x38527b)[_0x803ca1(0x13d)](_0x2ebd2c=>{const _0x4283c0=_0x803ca1,_0x4ec4e4=_0x2ebd2c[_0x4283c0(0x113)]()[_0x4283c0(0xd1)];_0x2c22f7[_0x4283c0(0x12a)](_0x4124d2=>Math[_0x4283c0(0x109)](_0x4124d2-_0x4ec4e4)<this[_0x4283c0(0xc8)][_0x4283c0(0xf5)])||_0x2c22f7[_0x4283c0(0xbe)](_0x4ec4e4);}),{'rowCount':_0x2c22f7[_0x803ca1(0xc6)]};}[_0x4a4174(0xee)](){const _0x102914=_0x4a4174,_0x4c8ef6=document[_0x102914(0x147)](_0x102914(0x104));return _0x4c8ef6[_0x102914(0x111)]=this[_0x102914(0xc8)][_0x102914(0x103)][_0x102914(0xfc)],this[_0x102914(0xc8)][_0x102914(0x103)][_0x102914(0xda)]&&_0x4c8ef6[_0x102914(0x11d)][_0x102914(0xf0)](this[_0x102914(0xc8)][_0x102914(0x103)][_0x102914(0xda)]),_0x4c8ef6[_0x102914(0xd5)]=_0x102914(0xec),_0x4c8ef6;}[_0x4a4174(0xdf)](_0x3d603e,_0x237beb,_0x112931){const _0x49d36e=_0x4a4174;this[_0x49d36e(0x11b)](_0x237beb,_0x112931);const _0x12a250=this[_0x49d36e(0xee)]();_0x3d603e[_0x49d36e(0xd4)](_0x12a250),_0x3d603e[_0x49d36e(0x102)];const _0x458f28=[..._0x237beb[_0x49d36e(0xd0)],_0x12a250],_0x1ec409=[];_0x458f28[_0x49d36e(0x13d)](_0x49990e=>{const _0x108480=_0x49d36e,_0x222ee4=_0x49990e[_0x108480(0x113)]()[_0x108480(0xd1)];_0x1ec409[_0x108480(0x12a)](_0x1287b3=>Math[_0x108480(0x109)](_0x1287b3-_0x222ee4)<this[_0x108480(0xc8)][_0x108480(0xf5)])||_0x1ec409[_0x108480(0xbe)](_0x222ee4);});const _0x29b774=_0x1ec409[_0x49d36e(0xc6)];return _0x12a250[_0x49d36e(0x101)](),_0x29b774<=this[_0x49d36e(0xc8)][_0x49d36e(0x123)];}[_0x4a4174(0xc2)](_0x27bad7,_0x47bbaa){const _0x4c0abb=_0x4a4174;this[_0x4c0abb(0x13b)][_0x4c0abb(0x145)](),this[_0x4c0abb(0xcf)][_0x4c0abb(0x145)](),_0x27bad7[_0x4c0abb(0x13d)](_0x5b97d0=>{const _0x2b953e=_0x4c0abb;_0x47bbaa[_0x2b953e(0x12f)](_0x5b97d0)?this[_0x2b953e(0xcf)][_0x2b953e(0xf0)](_0x5b97d0):this[_0x2b953e(0x13b)][_0x2b953e(0xf0)](_0x5b97d0);});}[_0x4a4174(0x10e)](_0x31d13d){const _0x29b95f=_0x4a4174;if(_0x31d13d>0x0&&!this[_0x29b95f(0x141)]&&this[_0x29b95f(0xcc)](),_0x31d13d>0x0&&this[_0x29b95f(0x141)]){const _0x2468dd=''+this[_0x29b95f(0xc8)][_0x29b95f(0xf7)]+(_0x31d13d<0x63?_0x31d13d:'99');this[_0x29b95f(0x141)][_0x29b95f(0xff)]=_0x2468dd;}this[_0x29b95f(0xcb)](),this[_0x29b95f(0x13c)](),this[_0x29b95f(0xeb)]();}[_0x4a4174(0x129)](_0x558f40,_0x42e7de){const _0x36ce87=_0x4a4174;this[_0x36ce87(0xc2)](_0x558f40,_0x42e7de),this[_0x36ce87(0x10e)](_0x42e7de[_0x36ce87(0xc6)]);}[_0x4a4174(0x14e)](){const _0xd5c7d7=_0x4a4174;this[_0xd5c7d7(0x12d)]&&_0xd5c7d7(0x12c)!=typeof IntersectionObserver&&(this[_0xd5c7d7(0xe4)]=new IntersectionObserver(_0x4c2ad8=>{const _0x22c5ac=_0xd5c7d7;_0x4c2ad8[0x0][_0x22c5ac(0xc4)]&&this[_0x22c5ac(0x14f)]&&requestAnimationFrame(()=>{const _0x24b1de=_0x22c5ac;this[_0x24b1de(0x10a)]();});},{'threshold':0.01,'rootMargin':_0xd5c7d7(0x105)}),this[_0xd5c7d7(0xe4)][_0xd5c7d7(0x125)](this[_0xd5c7d7(0x12d)]));}[_0x4a4174(0x122)](){const _0x5a33bc=_0x4a4174;if(!this[_0x5a33bc(0x12d)])return!0x1;if(!this[_0x5a33bc(0x12d)][_0x5a33bc(0xca)])return!0x1;const _0x5709db=this[_0x5a33bc(0x12d)][_0x5a33bc(0x113)]();if(0x0===_0x5709db[_0x5a33bc(0x120)]||0x0===_0x5709db[_0x5a33bc(0xbd)])return!0x1;const _0x193e67=window[_0x5a33bc(0x112)]||document[_0x5a33bc(0xd9)][_0x5a33bc(0xf3)],_0x4d68a6=window[_0x5a33bc(0x136)]||document[_0x5a33bc(0xd9)][_0x5a33bc(0xe5)],_0x3c379d=0xc8;return _0x5709db[_0x5a33bc(0xf1)]>=-0xc8&&_0x5709db[_0x5a33bc(0xd1)]<=_0x193e67+_0x3c379d&&_0x5709db[_0x5a33bc(0x119)]>=-0xc8&&_0x5709db[_0x5a33bc(0x110)]<=_0x4d68a6+_0x3c379d;}}function _0x4eb0(_0xa719b1,_0x3db494){const _0x46ba10=_0x46ba();return _0x4eb0=function(_0x4eb0dd,_0x3cecf0){_0x4eb0dd=_0x4eb0dd-0xbd;let _0x4146fd=_0x46ba10[_0x4eb0dd];return _0x4146fd;},_0x4eb0(_0xa719b1,_0x3db494);}function _0x46ba(){const _0x34e514=['add','bottom','content','clientHeight','body','rowDetectionTolerance','destroy','showMoreLabelPrefix','isOn','setContainerElement','540789TjjOHD','82664RepJvP','showMoreButton','889QCmBMY','from','label','opacity','remove','offsetWidth','cssClasses','button','50px','_applyCalculationStyles','reorganizeChips','_createCalculationContainer','abs','_checkAndHandleOverflow','visible','set','position','_updateOverflowUI','pointerEvents','left','className','innerHeight','getBoundingClientRect','auto','3040156drIMhi','_calculateOverflowInContainer','_restoreAncestorVisibility','ck-calculation-container','right','_parentView','_renderChipsAndCountRows','disableAnimationOnEnter','classList','display','block','width','tagName','_isContainerVisible','maxVisibleRows','_findTargetContainer','observe','.ck-ai-chat','_makeAncestorsVisible','border-box','_applyOverflowResults','some','10CpEpsd','undefined','_containerElement','300px','includes','_createShowMoreBalloonPanelView','-9999px','querySelector','_targetContainer','_bodyCollection','overflowContainer','innerWidth','show','13077471NWNdSa','zIndex','toLowerCase','_visibleChips','_updateShowMoreButtonVisibility','forEach','_handleShowMoreButtonClick','absolute','getComputedStyle','_showMoreButtonView','7595845hytRsH','6tpuiyS','boxSizing','clear','_calculateContainerWidth','createElement','block\x20!important','slice','div','showMoreBalloon','_locale','visibility','_setupVisibilityObserver','_pendingCalculation','194811syKaAB','style','height','push','28huhnxI','showMoreButtonView','overflowChips','_distributeChips','_showMoreBalloonPanelView','isIntersecting','disconnect','length','pin','_config','visible\x20!important','isConnected','_updateBalloonContent','_createShowMoreButton','hideBalloonPanel','pop','_overflowChips','children','top','innerHTML','setTemplate','appendChild','textContent','334107DxIxzl','render','0px','documentElement','controlsButton','_ancestorsToRestore','parentElement','execute','_createShowMoreButtonView','_testButtonFit','element','none','hide','extendTemplate','_intersectionObserver','clientWidth','cloneNode','hidden','isVisible','showBalloonPanel','calculationContainer','_repinBalloonPanel','+\x201','_createContainerElements','_createMockButton','filter'];_0x46ba=function(){return _0x34e514;};return _0x46ba();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f968d=_0x24f7;(function(_0x3cc328,_0x203915){const _0x2414de=_0x24f7,_0x133b22=_0x3cc328();while(!![]){try{const _0x4281b2=-parseInt(_0x2414de(0xfb))/0x1+-parseInt(_0x2414de(0xe8))/0x2*(-parseInt(_0x2414de(0xd3))/0x3)+parseInt(_0x2414de(0x104))/0x4*(-parseInt(_0x2414de(0x103))/0x5)+-parseInt(_0x2414de(0xd9))/0x6*(-parseInt(_0x2414de(0xfa))/0x7)+parseInt(_0x2414de(0xe5))/0x8+-parseInt(_0x2414de(0xd2))/0x9*(-parseInt(_0x2414de(0xdc))/0xa)+-parseInt(_0x2414de(0xff))/0xb;if(_0x4281b2===_0x203915)break;else _0x133b22['push'](_0x133b22['shift']());}catch(_0x4f6694){_0x133b22['push'](_0x133b22['shift']());}}}(_0x59de,0xa72c5));import{ButtonView as _0x51357d,IconView as _0x296530}from'ckeditor5/src/ui.js';import{IconClose as _0xc1b449,IconDocument as _0x3cfcfa,IconFileUpload as _0x139851,IconLink as _0x4c0b14,IconSelection as _0x4f9e84}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5eef36}from'../../../aicore/utils/common-translations.js';function _0x24f7(_0x375657,_0x16ad83){const _0x59def2=_0x59de();return _0x24f7=function(_0x24f7dd,_0x5247b7){_0x24f7dd=_0x24f7dd-0xd2;let _0x106cde=_0x59def2[_0x24f7dd];return _0x106cde;},_0x24f7(_0x375657,_0x16ad83);}import{AISpinnerView as _0x5bbeed}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x139851,'document':_0x3cfcfa,'web-resource':_0x4c0b14,'text':_0x139851,'selection':_0x4f9e84},bn=_0x3f968d(0xe2),wn=_0x3f968d(0x10f),Tn=_0x3f968d(0x112),En=_0x3f968d(0xf2),fn=_0x3f968d(0x10c),An=_0x3f968d(0x110),Cn='n';export class AIChatContextItemButtonView extends _0x51357d{constructor(_0xd020ba,_0x1a49fa,_0x257d71,_0x38c882,_0x33961e=!0x1){const _0x819f61=_0x3f968d;super(_0xd020ba),this[_0x819f61(0xf1)]=_0x38c882,this[_0x819f61(0xde)](_0x1a49fa,_0x257d71,_0x33961e),this[_0x819f61(0x107)]();}[_0x3f968d(0xe6)](){const _0x1247ea=_0x3f968d;super[_0x1247ea(0xe6)](),this[_0x1247ea(0xf1)]&&this[_0x1247ea(0xf0)]&&(this[_0x1247ea(0xf0)][_0x1247ea(0x101)][_0x1247ea(0xe1)](_0x1247ea(0xda)),this[_0x1247ea(0x10a)](this[_0x1247ea(0xf0)],()=>{const _0x140570=_0x1247ea;this[_0x140570(0xf0)]&&this[_0x140570(0xf0)][_0x140570(0x101)][_0x140570(0x114)](_0x140570(0xda));}));}[_0x3f968d(0x111)](){const _0x520b1a=_0x3f968d;this[_0x520b1a(0xf1)]=!0x1,this[_0x520b1a(0xf0)]&&this[_0x520b1a(0xf0)][_0x520b1a(0x101)][_0x520b1a(0x114)](_0x520b1a(0xda));}[_0x3f968d(0xde)](_0x1c4b4c,_0x404d49,_0x55a839){const _0x205dc5=_0x3f968d;this[_0x205dc5(0xf4)](_0x205dc5(0x10e),_0x1c4b4c[_0x205dc5(0x10e)]),this[_0x205dc5(0xf4)](_0x205dc5(0xf8),!0x0),this[_0x205dc5(0xf4)](_0x205dc5(0x113),_0x1c4b4c[_0x205dc5(0xd5)]),this[_0x205dc5(0xf4)]('id',_0x1c4b4c[_0x205dc5(0x109)]),this[_0x205dc5(0xf4)](_0x205dc5(0xd6),_0x404d49),this[_0x205dc5(0xf4)](_0x205dc5(0xd8),_0x55a839);}[_0x3f968d(0x107)](){const _0x839f14=_0x3f968d,_0x4d9687=this[_0x839f14(0xf5)](),_0x533433=this[_0x839f14(0xfe)](),_0x2e10d4=this[_0x839f14(0xed)];this[_0x839f14(0xf9)]({'tag':_0x839f14(0x10d),'attributes':this[_0x839f14(0xee)](_0x2e10d4),'children':this[_0x839f14(0x106)](_0x4d9687,_0x533433,_0x2e10d4)});}[_0x3f968d(0xee)](_0x330223){const _0x23867b=_0x3f968d;return{'class':[bn,_0x330223['if'](_0x23867b(0x113),Tn,_0x4b42f1=>_0x23867b(0xd7)==_0x4b42f1),_0x330223['if'](_0x23867b(0x113),wn,_0x3d5b39=>_0x23867b(0x10b)==_0x3d5b39)],'data-cke-tooltip-text':_0x330223['to'](_0x23867b(0x10e),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x3f968d(0x106)](_0x520018,_0x480031,_0x53350b){const _0x4f1532=_0x3f968d,_0x250f66=this[_0x4f1532(0xfc)](_0x53350b),_0x4cf352=this[_0x4f1532(0xf6)]();return this[_0x4f1532(0xd6)]?[_0x520018,_0x250f66]:[_0x520018,_0x4cf352,_0x250f66,_0x480031];}[_0x3f968d(0xfc)](_0x2911a5){const _0x4b105e=_0x3f968d;return{'tag':_0x4b105e(0xdb),'attributes':{'class':En},'children':[{'text':_0x2911a5['to'](_0x4b105e(0x10e))}]};}[_0x3f968d(0xfe)](){const _0xf044ba=_0x3f968d,_0x108ae0=new _0x51357d(this[_0xf044ba(0xe0)]);return _0x108ae0[_0xf044ba(0xf4)]({'label':_0x5eef36(this[_0xf044ba(0xe0)],_0xf044ba(0xfd)),'icon':_0xc1b449}),this[_0xf044ba(0xe3)](_0x108ae0),_0x108ae0;}[_0x3f968d(0xe3)](_0x1e4fe0){const _0x4f6d5a=_0x3f968d;_0x1e4fe0['on'](_0x4f6d5a(0xea),()=>{const _0x184534=_0x4f6d5a;this[_0x184534(0xeb)](_0x184534(0xf7),this['id']);});}[_0x3f968d(0xf5)](){const _0x39f725=_0x3f968d,_0x244d88=this[_0x39f725(0xed)],_0x5a8b61=new _0x296530();return _0x5a8b61[_0x39f725(0x108)]=xn[this[_0x39f725(0x113)]],_0x5a8b61[_0x39f725(0xdd)]({'attributes':{'class':[fn,_0x244d88['if'](_0x39f725(0xd8),_0x39f725(0x100),_0x59e931=>_0x59e931)]}}),_0x5a8b61;}[_0x3f968d(0x10a)](_0x5a8cdc,_0x5120fe){const _0x759b6f=_0x3f968d;if(!_0x5a8cdc)return;const _0x277d76=()=>{const _0x835511=_0x24f7;_0x5120fe(),_0x5a8cdc[_0x835511(0xef)](_0x835511(0xec),_0x277d76),_0x5a8cdc[_0x835511(0xef)](_0x835511(0xe4),_0x277d76);};_0x5a8cdc[_0x759b6f(0xf3)](_0x759b6f(0xec),_0x277d76),_0x5a8cdc[_0x759b6f(0xf3)](_0x759b6f(0xe4),_0x277d76);}[_0x3f968d(0xf6)](){const _0x380506=_0x3f968d,_0x72b8a4=new _0x5bbeed(_0x380506(0x105));return _0x72b8a4[_0x380506(0xdf)](_0x380506(0xe7))['to'](this,_0x380506(0xd8),_0x3e102d=>_0x3e102d),_0x72b8a4;}}function _0x59de(){const _0x58b457=['render','isVisible','555994FNjdMN','slice','execute','fire','animationend','bindTemplate','_createTemplateAttributes','removeEventListener','element','_isAnimationOnEnterEnabled','ck-ai-chat-context-chip__label','addEventListener','set','_createIconView','_createLoaderIcon','removeContextItemChip','tooltip','setTemplate','12229lyaLDN','234953NXeDPA','_createLabelElement','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','_createRemoveButton','1243660dYHIMa','ck-hidden','classList','length','5834480mrtfmt','4VNpjby','small','_createTemplateChildren','_setupTemplate','content','uiId','_handleAnimationEndOnce','selection','ck-ai-chat-context-chip__type-icon','div','label','ck-ai-chat-context-chip_wide','ck-ai-chat-context-controls__chip-tooltip','disableAnimationOnEnter','ck-ai-chat-context-chip_document','itemType','remove','150363bLqohj','3TOlomM','lastIndexOf','type','readonly','document','isLoading','1974CcsPlR','ck-ai-chat-context-chip_new-chip','span','550CetPlA','extendTemplate','_initializeProperties','bind','locale','add','ck-ai-chat-context-chip','_setupRemoveButtonEvent','webkitAnimationEnd','3424040BrRAbX'];_0x59de=function(){return _0x58b457;};return _0x59de();}function In(_0x428015){const _0x2ceb0a=_0x3f968d;if(!_0x428015)return _0x428015;if(_0x428015[_0x2ceb0a(0x102)]<=0x78)return _0x428015;const _0x297466=_0x428015[_0x2ceb0a(0xe9)](0x0,0x78),_0x159bd2=_0x297466[_0x2ceb0a(0xd4)]('\x20');return(_0x159bd2>0x0?_0x297466[_0x2ceb0a(0xe9)](0x0,_0x159bd2):_0x297466)+'…';}
23
+ const _0x599e41=_0x34ae;(function(_0x558006,_0xc58b55){const _0x365768=_0x34ae,_0x9132a5=_0x558006();while(!![]){try{const _0x3b0a70=parseInt(_0x365768(0x1a8))/0x1+-parseInt(_0x365768(0x17a))/0x2*(parseInt(_0x365768(0x193))/0x3)+-parseInt(_0x365768(0x19f))/0x4*(-parseInt(_0x365768(0x16e))/0x5)+-parseInt(_0x365768(0x185))/0x6+parseInt(_0x365768(0x16d))/0x7*(-parseInt(_0x365768(0x17d))/0x8)+parseInt(_0x365768(0x17c))/0x9*(parseInt(_0x365768(0x1ab))/0xa)+-parseInt(_0x365768(0x1aa))/0xb*(parseInt(_0x365768(0x19a))/0xc);if(_0x3b0a70===_0xc58b55)break;else _0x9132a5['push'](_0x9132a5['shift']());}catch(_0x5a6570){_0x9132a5['push'](_0x9132a5['shift']());}}}(_0x234d,0x4174e));import{ButtonView as _0x20f651,IconView as _0x582240}from'ckeditor5/src/ui.js';import{IconClose as _0x210a6f,IconDocument as _0x1efdd0,IconFileUpload as _0x1de95a,IconLink as _0x5af7cc,IconSelection as _0x3ddcf2}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x469726}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x5bc1e2}from'../../../aicore/ui/aispinner.js';function _0x234d(){const _0x341dc1=['3qrNvPl','span','addEventListener','ck-ai-chat-context-chip__type-icon','bindTemplate','type','_createTemplateAttributes','12IlSLRA','_createLoaderIcon','length','isVisible','_createLabelElement','28CqeFZU','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','webkitAnimationEnd','fire','setTemplate','label','locale','_setupRemoveButtonEvent','ck-ai-chat-context-chip__label','501363BzPbYm','removeEventListener','2683428lwOJVx','305190xQEzrc','_handleAnimationEndOnce','_initializeProperties','bind','_setupTemplate','div','42qXIoJJ','297265Rjkymk','_createIconView','_isAnimationOnEnterEnabled','content','tooltip','disableAnimationOnEnter','ck-ai-chat-context-controls__chip-tooltip','slice','execute','_createRemoveButton','ck-ai-chat-context-chip_new-chip','remove','714208CcNquS','add','45YKhkfw','51456ElbVQj','extendTemplate','ck-hidden','_createTemplateChildren','readonly','animationend','removeContextItemChip','uiId','974250YKHzoR','small','selection','ck-ai-chat-context-chip_wide','ck-ai-chat-context-chip','element','document','itemType','ck-ai-chat-context-chip_document','render','set','classList','lastIndexOf','isLoading'];_0x234d=function(){return _0x341dc1;};return _0x234d();}const bn={'file':_0x1de95a,'document':_0x1efdd0,'web-resource':_0x5af7cc,'text':_0x1de95a,'selection':_0x3ddcf2},Tn=_0x599e41(0x189),En=_0x599e41(0x188),fn=_0x599e41(0x18d),An=_0x599e41(0x1a7),Cn=_0x599e41(0x196),In=_0x599e41(0x174),On='n';export class AIChatContextItemButtonView extends _0x20f651{constructor(_0x3510c3,_0x75cc73,_0x1c79ec,_0x184c08,_0x36e777=!0x1){const _0x50220a=_0x599e41;super(_0x3510c3),this[_0x50220a(0x170)]=_0x184c08,this[_0x50220a(0x1ad)](_0x75cc73,_0x1c79ec,_0x36e777),this[_0x50220a(0x16b)]();}[_0x599e41(0x18e)](){const _0x4f3755=_0x599e41;super[_0x4f3755(0x18e)](),this[_0x4f3755(0x170)]&&this[_0x4f3755(0x18a)]&&(this[_0x4f3755(0x18a)][_0x4f3755(0x190)][_0x4f3755(0x17b)](_0x4f3755(0x178)),this[_0x4f3755(0x1ac)](this[_0x4f3755(0x18a)],()=>{const _0x5edb92=_0x4f3755;this[_0x5edb92(0x18a)]&&this[_0x5edb92(0x18a)][_0x5edb92(0x190)][_0x5edb92(0x179)](_0x5edb92(0x178));}));}[_0x599e41(0x173)](){const _0x48a75a=_0x599e41;this[_0x48a75a(0x170)]=!0x1,this[_0x48a75a(0x18a)]&&this[_0x48a75a(0x18a)][_0x48a75a(0x190)][_0x48a75a(0x179)](_0x48a75a(0x178));}[_0x599e41(0x1ad)](_0x199d33,_0x24142c,_0x5b837c){const _0x14a008=_0x599e41;this[_0x14a008(0x18f)](_0x14a008(0x1a4),_0x199d33[_0x14a008(0x1a4)]),this[_0x14a008(0x18f)](_0x14a008(0x172),!0x0),this[_0x14a008(0x18f)](_0x14a008(0x18c),_0x199d33[_0x14a008(0x198)]),this[_0x14a008(0x18f)]('id',_0x199d33[_0x14a008(0x184)]),this[_0x14a008(0x18f)](_0x14a008(0x181),_0x24142c),this[_0x14a008(0x18f)](_0x14a008(0x192),_0x5b837c);}[_0x599e41(0x16b)](){const _0x37960=_0x599e41,_0x2a74f9=this[_0x37960(0x16f)](),_0x3e2108=this[_0x37960(0x177)](),_0x1c3515=this[_0x37960(0x197)];this[_0x37960(0x1a3)]({'tag':_0x37960(0x16c),'attributes':this[_0x37960(0x199)](_0x1c3515),'children':this[_0x37960(0x180)](_0x2a74f9,_0x3e2108,_0x1c3515)});}[_0x599e41(0x199)](_0x2c85ab){const _0x250a34=_0x599e41;return{'class':[Tn,_0x2c85ab['if'](_0x250a34(0x18c),fn,_0x172689=>_0x250a34(0x18b)==_0x172689),_0x2c85ab['if'](_0x250a34(0x18c),En,_0x4b4d80=>_0x250a34(0x187)==_0x4b4d80)],'data-cke-tooltip-text':_0x2c85ab['to'](_0x250a34(0x1a4),gn),'data-cke-tooltip-position':On,'data-cke-tooltip-class':In};}[_0x599e41(0x180)](_0x3c77b4,_0x51c904,_0x4a395e){const _0x4207e0=_0x599e41,_0x5ed870=this[_0x4207e0(0x19e)](_0x4a395e),_0x3fa8cd=this[_0x4207e0(0x19b)]();return this[_0x4207e0(0x181)]?[_0x3c77b4,_0x5ed870]:[_0x3c77b4,_0x3fa8cd,_0x5ed870,_0x51c904];}[_0x599e41(0x19e)](_0x57baf6){const _0x39f8a9=_0x599e41;return{'tag':_0x39f8a9(0x194),'attributes':{'class':An},'children':[{'text':_0x57baf6['to'](_0x39f8a9(0x1a4))}]};}[_0x599e41(0x177)](){const _0x28ec7c=_0x599e41,_0xefb8de=new _0x20f651(this[_0x28ec7c(0x1a5)]);return _0xefb8de[_0x28ec7c(0x18f)]({'label':_0x469726(this[_0x28ec7c(0x1a5)],_0x28ec7c(0x1a0)),'icon':_0x210a6f}),this[_0x28ec7c(0x1a6)](_0xefb8de),_0xefb8de;}[_0x599e41(0x1a6)](_0x2aed76){const _0x5d683c=_0x599e41;_0x2aed76['on'](_0x5d683c(0x176),()=>{const _0x359f07=_0x5d683c;this[_0x359f07(0x1a2)](_0x359f07(0x183),this['id']);});}[_0x599e41(0x16f)](){const _0x3b241d=_0x599e41,_0x4eb7b8=this[_0x3b241d(0x197)],_0x2fc0d2=new _0x582240();return _0x2fc0d2[_0x3b241d(0x171)]=bn[this[_0x3b241d(0x18c)]],_0x2fc0d2[_0x3b241d(0x17e)]({'attributes':{'class':[Cn,_0x4eb7b8['if'](_0x3b241d(0x192),_0x3b241d(0x17f),_0xe0d5bc=>_0xe0d5bc)]}}),_0x2fc0d2;}[_0x599e41(0x1ac)](_0x5607a4,_0x2cb07f){const _0x1f5fcb=_0x599e41;if(!_0x5607a4)return;const _0x33ec97=()=>{const _0x5bb8c6=_0x34ae;_0x2cb07f(),_0x5607a4[_0x5bb8c6(0x1a9)](_0x5bb8c6(0x182),_0x33ec97),_0x5607a4[_0x5bb8c6(0x1a9)](_0x5bb8c6(0x1a1),_0x33ec97);};_0x5607a4[_0x1f5fcb(0x195)](_0x1f5fcb(0x182),_0x33ec97),_0x5607a4[_0x1f5fcb(0x195)](_0x1f5fcb(0x1a1),_0x33ec97);}[_0x599e41(0x19b)](){const _0x153deb=_0x599e41,_0x259ed1=new _0x5bc1e2(_0x153deb(0x186));return _0x259ed1[_0x153deb(0x1ae)](_0x153deb(0x19d))['to'](this,_0x153deb(0x192),_0xcb9023=>_0xcb9023),_0x259ed1;}}function _0x34ae(_0x1fce65,_0x52e7fd){const _0x234d87=_0x234d();return _0x34ae=function(_0x34aebc,_0x5a97a5){_0x34aebc=_0x34aebc-0x16b;let _0x57f915=_0x234d87[_0x34aebc];return _0x57f915;},_0x34ae(_0x1fce65,_0x52e7fd);}function gn(_0x32a067){const _0x5eb285=_0x599e41;if(!_0x32a067)return _0x32a067;if(_0x32a067[_0x5eb285(0x19c)]<=0x78)return _0x32a067;const _0x1d1afc=_0x32a067[_0x5eb285(0x175)](0x0,0x78),_0x57140f=_0x1d1afc[_0x5eb285(0x191)]('\x20');return(_0x57140f>0x0?_0x1d1afc[_0x5eb285(0x175)](0x0,_0x57140f):_0x1d1afc)+'…';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2580(_0x8ce157,_0x4231c2){const _0x38a294=_0x38a2();return _0x2580=function(_0x258011,_0x353949){_0x258011=_0x258011-0x166;let _0xc88eb0=_0x38a294[_0x258011];return _0xc88eb0;},_0x2580(_0x8ce157,_0x4231c2);}const _0x3b31a4=_0x2580;(function(_0x9040bd,_0x4d2926){const _0x11f030=_0x2580,_0x5cd192=_0x9040bd();while(!![]){try{const _0x4d149e=parseInt(_0x11f030(0x17a))/0x1+-parseInt(_0x11f030(0x18f))/0x2*(-parseInt(_0x11f030(0x172))/0x3)+parseInt(_0x11f030(0x196))/0x4+-parseInt(_0x11f030(0x183))/0x5+parseInt(_0x11f030(0x170))/0x6*(-parseInt(_0x11f030(0x178))/0x7)+parseInt(_0x11f030(0x19c))/0x8*(parseInt(_0x11f030(0x1aa))/0x9)+-parseInt(_0x11f030(0x1a3))/0xa;if(_0x4d149e===_0x4d2926)break;else _0x5cd192['push'](_0x5cd192['shift']());}catch(_0x389559){_0x5cd192['push'](_0x5cd192['shift']());}}}(_0x38a2,0x786ae));import{FocusTracker as _0x26943c,KeystrokeHandler as _0xdea45f}from'ckeditor5/src/utils.js';import{ButtonView as _0x228ab2,FocusCycler as _0x2bc49f,LabeledFieldView as _0x2279d4,View as _0x549cf1,FormHeaderView as _0x228ca2,createLabeledInputText as _0x3ef869,submitHandler as _0x597b39}from'ckeditor5/src/ui.js';import{IconCheck as _0xa25c9f,IconPreviousArrow as _0x2367ea}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2e2be9}from'../../../aicore/utils/common-translations.js';function _0x38a2(){const _0x26cceb=['form','_isValidUrl','confirmButton','_setupTemplate','add','value','4892530sTgXlA','focusTracker','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','execute','shift+tab','length','trim','AI_CHAT_CONTEXT_URL_PLACEHOLDER','createCollection','submit','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','_setupEventHandlers','2bjJBxk','div','isEnabled','set','urlInputField','setError','children','3702520kLqgtM','focusCycler','refreshBalloon','_createUrlInputField','locale','ck-button-icon\x20ck-button-back','721928JYuPGV','submitUrl','errorText','fieldView','clear','getValue','AI_CHAT_CONTEXT_URL_LABEL','7217090zrkbfg','_updateConfirmButtonState','ck-ai-chat-context-controls__url-form','AI_CHAT_CONTEXT_URL_ADD_URL','tab','_createConfirmButton','fire','81rHayDd','listenTo','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','element','input','ck-button-icon','_setupKeystrokes','esc','destroy','stop','setTemplate','focus','forEach','keystrokes','_createBackButton','2019198xacIcv','_focusables','684165KytyqW','cancel','AI_CHAT_CONTEXT_URL_INVALID_ERROR','_handleSubmit','backButton','render','14HhpyEN','ck-labeled-field-view_empty','900657VXgAJa','clearError','ck-ai-chat-context-controls__url-input-section'];_0x38a2=function(){return _0x26cceb;};return _0x38a2();}const rh=_0x3b31a4(0x1a5),oh=_0x3b31a4(0x17c);export class AIChatContextPanelUrlInputView extends _0x549cf1{[_0x3b31a4(0x184)];[_0x3b31a4(0x16e)];[_0x3b31a4(0x171)];[_0x3b31a4(0x197)];[_0x3b31a4(0x193)];[_0x3b31a4(0x176)];[_0x3b31a4(0x17f)];constructor(_0x551582){const _0x521807=_0x3b31a4;super(_0x551582),this[_0x521807(0x184)]=new _0x26943c(),this[_0x521807(0x16e)]=new _0xdea45f(),this[_0x521807(0x176)]=this[_0x521807(0x16f)](),this[_0x521807(0x193)]=this[_0x521807(0x199)](),this[_0x521807(0x17f)]=this[_0x521807(0x1a8)](),this[_0x521807(0x171)]=this[_0x521807(0x18b)]([this[_0x521807(0x176)],this[_0x521807(0x193)],this[_0x521807(0x17f)]]),this[_0x521807(0x197)]=new _0x2bc49f({'focusables':this[_0x521807(0x171)],'focusTracker':this[_0x521807(0x184)],'keystrokeHandler':this[_0x521807(0x16e)],'actions':{'focusPrevious':_0x521807(0x187),'focusNext':_0x521807(0x1a7)}}),this[_0x521807(0x180)](),this[_0x521807(0x18e)](),this[_0x521807(0x167)]();}[_0x3b31a4(0x177)](){const _0x2ecd38=_0x3b31a4;super[_0x2ecd38(0x177)](),this[_0x2ecd38(0x171)][_0x2ecd38(0x16d)](_0x43b89d=>{const _0x3c3916=_0x2ecd38;this[_0x3c3916(0x184)][_0x3c3916(0x181)](_0x43b89d[_0x3c3916(0x1ad)]),this[_0x3c3916(0x16e)][_0x3c3916(0x1ab)](_0x43b89d[_0x3c3916(0x1ad)]);}),_0x597b39({'view':this}),this[_0x2ecd38(0x16c)]();}[_0x3b31a4(0x169)](){const _0x427858=_0x3b31a4;super[_0x427858(0x169)](),this[_0x427858(0x184)][_0x427858(0x169)](),this[_0x427858(0x16e)][_0x427858(0x169)]();}[_0x3b31a4(0x16c)](){const _0x1d46e9=_0x3b31a4;this[_0x1d46e9(0x193)][_0x1d46e9(0x16c)]();}[_0x3b31a4(0x1a1)](){const _0x240c7e=_0x3b31a4;return this[_0x240c7e(0x193)][_0x240c7e(0x19f)][_0x240c7e(0x1ad)]?.[_0x240c7e(0x182)]?.[_0x240c7e(0x189)]()||'';}[_0x3b31a4(0x1a0)](){const _0x3f8edb=_0x3b31a4;this[_0x3f8edb(0x193)][_0x3f8edb(0x19f)][_0x3f8edb(0x1ad)][_0x3f8edb(0x182)]='',this[_0x3f8edb(0x193)][_0x3f8edb(0x19e)]=null,this[_0x3f8edb(0x17f)][_0x3f8edb(0x191)]=!0x1;}[_0x3b31a4(0x194)](_0x481dbf){const _0x18b0ea=_0x3b31a4;this[_0x18b0ea(0x193)][_0x18b0ea(0x19e)]=_0x481dbf,this[_0x18b0ea(0x1a4)](),this[_0x18b0ea(0x1a9)](_0x18b0ea(0x198));}[_0x3b31a4(0x17b)](){const _0x86687a=_0x3b31a4;this[_0x86687a(0x193)][_0x86687a(0x19e)]=null,this[_0x86687a(0x1a4)]();}[_0x3b31a4(0x16f)](){const _0x5794c5=_0x3b31a4,_0x13d4f6=new _0x228ab2(this[_0x5794c5(0x19a)]);return _0x13d4f6[_0x5794c5(0x192)]({'icon':_0x2367ea,'tooltip':_0x2e2be9(this[_0x5794c5(0x19a)],_0x5794c5(0x1ac)),'tooltipPosition':'n','class':_0x5794c5(0x19b)}),_0x13d4f6;}[_0x3b31a4(0x199)](){const _0x9e62a7=_0x3b31a4,_0x5b6747=new _0x2279d4(this[_0x9e62a7(0x19a)],_0x3ef869);return _0x5b6747[_0x9e62a7(0x192)]({'label':_0x2e2be9(this[_0x9e62a7(0x19a)],_0x9e62a7(0x1a2)),'class':_0x9e62a7(0x179)}),_0x5b6747[_0x9e62a7(0x19f)][_0x9e62a7(0x192)]({'placeholder':_0x2e2be9(this[_0x9e62a7(0x19a)],_0x9e62a7(0x18a))}),_0x5b6747;}[_0x3b31a4(0x1a8)](){const _0x34d439=_0x3b31a4,_0x2d870=new _0x228ab2(this[_0x34d439(0x19a)]);return _0x2d870[_0x34d439(0x192)]({'icon':_0xa25c9f,'tooltip':_0x2e2be9(this[_0x34d439(0x19a)],_0x34d439(0x1a6)),'tooltipPosition':'n','class':_0x34d439(0x166),'type':_0x34d439(0x18c),'isEnabled':!0x1}),_0x2d870;}[_0x3b31a4(0x180)](){const _0x1ee389=_0x3b31a4,_0x559bdb=new _0x228ca2(this[_0x1ee389(0x19a)],{'label':_0x2e2be9(this[_0x1ee389(0x19a)],_0x1ee389(0x1a6)),'class':_0x1ee389(0x18d)});_0x559bdb[_0x1ee389(0x195)][_0x1ee389(0x181)](this[_0x1ee389(0x176)],0x0),this[_0x1ee389(0x16b)]({'tag':_0x1ee389(0x17d),'attributes':{'class':rh,'tabindex':'-1'},'children':[_0x559bdb,{'tag':_0x1ee389(0x190),'attributes':{'class':oh},'children':[this[_0x1ee389(0x193)],this[_0x1ee389(0x17f)]]}]});}[_0x3b31a4(0x18e)](){const _0x27ca1d=_0x3b31a4;this[_0x27ca1d(0x176)]['on'](_0x27ca1d(0x186),()=>{const _0x371277=_0x27ca1d;this[_0x371277(0x1a0)](),this[_0x371277(0x1a9)](_0x371277(0x173));}),this[_0x27ca1d(0x193)][_0x27ca1d(0x19f)]['on'](_0x27ca1d(0x1ae),()=>{const _0x3147ba=_0x27ca1d;this[_0x3147ba(0x17b)](),this[_0x3147ba(0x1a4)](),this[_0x3147ba(0x1a9)](_0x3147ba(0x198));}),this['on'](_0x27ca1d(0x18c),_0x557c5a=>{const _0x5624f8=_0x27ca1d;_0x557c5a[_0x5624f8(0x16a)](),this[_0x5624f8(0x175)]();});}[_0x3b31a4(0x167)](){const _0x4039aa=_0x3b31a4;this[_0x4039aa(0x16e)][_0x4039aa(0x192)](_0x4039aa(0x168),(_0x5a6938,_0x121189)=>{const _0x5f1769=_0x4039aa;this[_0x5f1769(0x1a0)](),this[_0x5f1769(0x1a9)](_0x5f1769(0x173)),_0x121189();});}[_0x3b31a4(0x175)](){const _0x43ab9e=_0x3b31a4,_0x236797=this[_0x43ab9e(0x1a1)]()[_0x43ab9e(0x189)]();_0x236797?this[_0x43ab9e(0x17e)](_0x236797)?(this[_0x43ab9e(0x17b)](),this[_0x43ab9e(0x1a9)](_0x43ab9e(0x19d),_0x236797)):this[_0x43ab9e(0x194)](_0x2e2be9(this[_0x43ab9e(0x19a)],_0x43ab9e(0x174))):this[_0x43ab9e(0x194)](_0x2e2be9(this[_0x43ab9e(0x19a)],_0x43ab9e(0x185)));}[_0x3b31a4(0x1a4)](){const _0xbb5f7f=_0x3b31a4,_0x59c9df=this[_0xbb5f7f(0x1a1)]()[_0xbb5f7f(0x189)](),_0xda1e0=!!this[_0xbb5f7f(0x193)][_0xbb5f7f(0x19e)];this[_0xbb5f7f(0x17f)][_0xbb5f7f(0x191)]=_0x59c9df[_0xbb5f7f(0x188)]>0x0&&!_0xda1e0;}[_0x3b31a4(0x17e)](_0x2aeed3){try{return!!new URL(_0x2aeed3);}catch{return!0x1;}}}
23
+ function _0x13ea(){const _0x40fc46=['10PKqgaK','children','_setupEventHandlers','AI_CHAT_CONTEXT_URL_ADD_URL','keystrokes','focusCycler','2448610zfxdmv','AI_CHAT_CONTEXT_URL_PLACEHOLDER','257838fbgRka','16sxmhHx','confirmButton','ck-button-icon\x20ck-button-back','AI_CHAT_CONTEXT_URL_LABEL','createCollection','esc','460368mUYsNv','_updateConfirmButtonState','urlInputField','set','errorText','ck-button-icon','1510890xEnHEK','_isValidUrl','submitUrl','input','fire','_createConfirmButton','focus','ck-ai-chat-context-controls__url-form','isEnabled','1186956UQOMjM','6029919TrYWys','cancel','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','add','_focusables','submit','refreshBalloon','div','_setupKeystrokes','render','form','value','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','getValue','execute','stop','destroy','ck-ai-chat-context-controls__url-input-section','setTemplate','ck-labeled-field-view_empty','setError','focusTracker','tab','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','_handleSubmit','shift+tab','trim','_setupTemplate','_createBackButton','length','1547820lgsirg','11wWlkPl','forEach','_createUrlInputField','locale','element','AI_CHAT_CONTEXT_URL_INVALID_ERROR','fieldView','clear','listenTo','backButton','3iHKLRF','clearError'];_0x13ea=function(){return _0x40fc46;};return _0x13ea();}const _0x461611=_0x2e75;(function(_0x594f3d,_0x4de59c){const _0xf9febc=_0x2e75,_0x529a45=_0x594f3d();while(!![]){try{const _0x1aa72b=-parseInt(_0xf9febc(0x106))/0x1+-parseInt(_0xf9febc(0x11c))/0x2*(-parseInt(_0xf9febc(0x146))/0x3)+parseInt(_0xf9febc(0x13b))/0x4*(parseInt(_0xf9febc(0x148))/0x5)+parseInt(_0xf9febc(0x113))/0x6+-parseInt(_0xf9febc(0x11d))/0x7+parseInt(_0xf9febc(0x107))/0x8*(-parseInt(_0xf9febc(0x10d))/0x9)+-parseInt(_0xf9febc(0x104))/0xa*(-parseInt(_0xf9febc(0x13c))/0xb);if(_0x1aa72b===_0x4de59c)break;else _0x529a45['push'](_0x529a45['shift']());}catch(_0x5bc0ce){_0x529a45['push'](_0x529a45['shift']());}}}(_0x13ea,0x9cdc9));import{FocusTracker as _0xeadbd8,KeystrokeHandler as _0x461502}from'ckeditor5/src/utils.js';function _0x2e75(_0xaa71d7,_0x111a9b){const _0x13eab6=_0x13ea();return _0x2e75=function(_0x2e759c,_0x264ecd){_0x2e759c=_0x2e759c-0x100;let _0x57d884=_0x13eab6[_0x2e759c];return _0x57d884;},_0x2e75(_0xaa71d7,_0x111a9b);}import{ButtonView as _0x35c877,FocusCycler as _0x2707da,LabeledFieldView as _0x2ad194,View as _0x58c6a1,FormHeaderView as _0x2331c7,createLabeledInputText as _0x259ae2,submitHandler as _0x26449a}from'ckeditor5/src/ui.js';import{IconCheck as _0x39af4e,IconPreviousArrow as _0x14a967}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1443ea}from'../../../aicore/utils/common-translations.js';const ih=_0x461611(0x11a),eh=_0x461611(0x12e);export class AIChatContextPanelUrlInputView extends _0x58c6a1{[_0x461611(0x132)];[_0x461611(0x102)];[_0x461611(0x121)];[_0x461611(0x103)];[_0x461611(0x10f)];[_0x461611(0x145)];[_0x461611(0x108)];constructor(_0x3c447d){const _0x7c9d0c=_0x461611;super(_0x3c447d),this[_0x7c9d0c(0x132)]=new _0xeadbd8(),this[_0x7c9d0c(0x102)]=new _0x461502(),this[_0x7c9d0c(0x145)]=this[_0x7c9d0c(0x139)](),this[_0x7c9d0c(0x10f)]=this[_0x7c9d0c(0x13e)](),this[_0x7c9d0c(0x108)]=this[_0x7c9d0c(0x118)](),this[_0x7c9d0c(0x121)]=this[_0x7c9d0c(0x10b)]([this[_0x7c9d0c(0x145)],this[_0x7c9d0c(0x10f)],this[_0x7c9d0c(0x108)]]),this[_0x7c9d0c(0x103)]=new _0x2707da({'focusables':this[_0x7c9d0c(0x121)],'focusTracker':this[_0x7c9d0c(0x132)],'keystrokeHandler':this[_0x7c9d0c(0x102)],'actions':{'focusPrevious':_0x7c9d0c(0x136),'focusNext':_0x7c9d0c(0x133)}}),this[_0x7c9d0c(0x138)](),this[_0x7c9d0c(0x100)](),this[_0x7c9d0c(0x125)]();}[_0x461611(0x126)](){const _0x554bb5=_0x461611;super[_0x554bb5(0x126)](),this[_0x554bb5(0x121)][_0x554bb5(0x13d)](_0x87a3cc=>{const _0x420858=_0x554bb5;this[_0x420858(0x132)][_0x420858(0x120)](_0x87a3cc[_0x420858(0x140)]),this[_0x420858(0x102)][_0x420858(0x144)](_0x87a3cc[_0x420858(0x140)]);}),_0x26449a({'view':this}),this[_0x554bb5(0x119)]();}[_0x461611(0x12d)](){const _0x228e2f=_0x461611;super[_0x228e2f(0x12d)](),this[_0x228e2f(0x132)][_0x228e2f(0x12d)](),this[_0x228e2f(0x102)][_0x228e2f(0x12d)]();}[_0x461611(0x119)](){const _0x1ccf20=_0x461611;this[_0x1ccf20(0x10f)][_0x1ccf20(0x119)]();}[_0x461611(0x12a)](){const _0x20dad7=_0x461611;return this[_0x20dad7(0x10f)][_0x20dad7(0x142)][_0x20dad7(0x140)]?.[_0x20dad7(0x128)]?.[_0x20dad7(0x137)]()||'';}[_0x461611(0x143)](){const _0x4415c3=_0x461611;this[_0x4415c3(0x10f)][_0x4415c3(0x142)][_0x4415c3(0x140)][_0x4415c3(0x128)]='',this[_0x4415c3(0x10f)][_0x4415c3(0x111)]=null,this[_0x4415c3(0x108)][_0x4415c3(0x11b)]=!0x1;}[_0x461611(0x131)](_0x11c60b){const _0x335a96=_0x461611;this[_0x335a96(0x10f)][_0x335a96(0x111)]=_0x11c60b,this[_0x335a96(0x10e)](),this[_0x335a96(0x117)](_0x335a96(0x123));}[_0x461611(0x147)](){const _0x49b80e=_0x461611;this[_0x49b80e(0x10f)][_0x49b80e(0x111)]=null,this[_0x49b80e(0x10e)]();}[_0x461611(0x139)](){const _0x776a85=_0x461611,_0x73f871=new _0x35c877(this[_0x776a85(0x13f)]);return _0x73f871[_0x776a85(0x110)]({'icon':_0x14a967,'tooltip':_0x1443ea(this[_0x776a85(0x13f)],_0x776a85(0x11f)),'tooltipPosition':'n','class':_0x776a85(0x109)}),_0x73f871;}[_0x461611(0x13e)](){const _0xe6977f=_0x461611,_0x532c4c=new _0x2ad194(this[_0xe6977f(0x13f)],_0x259ae2);return _0x532c4c[_0xe6977f(0x110)]({'label':_0x1443ea(this[_0xe6977f(0x13f)],_0xe6977f(0x10a)),'class':_0xe6977f(0x130)}),_0x532c4c[_0xe6977f(0x142)][_0xe6977f(0x110)]({'placeholder':_0x1443ea(this[_0xe6977f(0x13f)],_0xe6977f(0x105))}),_0x532c4c;}[_0x461611(0x118)](){const _0x545add=_0x461611,_0x5c1e30=new _0x35c877(this[_0x545add(0x13f)]);return _0x5c1e30[_0x545add(0x110)]({'icon':_0x39af4e,'tooltip':_0x1443ea(this[_0x545add(0x13f)],_0x545add(0x101)),'tooltipPosition':'n','class':_0x545add(0x112),'type':_0x545add(0x122),'isEnabled':!0x1}),_0x5c1e30;}[_0x461611(0x138)](){const _0x40186b=_0x461611,_0x50d339=new _0x2331c7(this[_0x40186b(0x13f)],{'label':_0x1443ea(this[_0x40186b(0x13f)],_0x40186b(0x101)),'class':_0x40186b(0x129)});_0x50d339[_0x40186b(0x149)][_0x40186b(0x120)](this[_0x40186b(0x145)],0x0),this[_0x40186b(0x12f)]({'tag':_0x40186b(0x127),'attributes':{'class':ih,'tabindex':'-1'},'children':[_0x50d339,{'tag':_0x40186b(0x124),'attributes':{'class':eh},'children':[this[_0x40186b(0x10f)],this[_0x40186b(0x108)]]}]});}[_0x461611(0x100)](){const _0x5e26a1=_0x461611;this[_0x5e26a1(0x145)]['on'](_0x5e26a1(0x12b),()=>{const _0x51145b=_0x5e26a1;this[_0x51145b(0x143)](),this[_0x51145b(0x117)](_0x51145b(0x11e));}),this[_0x5e26a1(0x10f)][_0x5e26a1(0x142)]['on'](_0x5e26a1(0x116),()=>{const _0x531ac5=_0x5e26a1;this[_0x531ac5(0x147)](),this[_0x531ac5(0x10e)](),this[_0x531ac5(0x117)](_0x531ac5(0x123));}),this['on'](_0x5e26a1(0x122),_0x44d85e=>{const _0x43c73d=_0x5e26a1;_0x44d85e[_0x43c73d(0x12c)](),this[_0x43c73d(0x135)]();});}[_0x461611(0x125)](){const _0x418a3c=_0x461611;this[_0x418a3c(0x102)][_0x418a3c(0x110)](_0x418a3c(0x10c),(_0x566bcf,_0x5c4ef6)=>{const _0x1aebad=_0x418a3c;this[_0x1aebad(0x143)](),this[_0x1aebad(0x117)](_0x1aebad(0x11e)),_0x5c4ef6();});}[_0x461611(0x135)](){const _0x1407c1=_0x461611,_0x12ea6d=this[_0x1407c1(0x12a)]()[_0x1407c1(0x137)]();_0x12ea6d?this[_0x1407c1(0x114)](_0x12ea6d)?(this[_0x1407c1(0x147)](),this[_0x1407c1(0x117)](_0x1407c1(0x115),_0x12ea6d)):this[_0x1407c1(0x131)](_0x1443ea(this[_0x1407c1(0x13f)],_0x1407c1(0x141))):this[_0x1407c1(0x131)](_0x1443ea(this[_0x1407c1(0x13f)],_0x1407c1(0x134)));}[_0x461611(0x10e)](){const _0x300561=_0x461611,_0x3f56c4=this[_0x300561(0x12a)]()[_0x300561(0x137)](),_0x48acdd=!!this[_0x300561(0x10f)][_0x300561(0x111)];this[_0x300561(0x108)][_0x300561(0x11b)]=_0x3f56c4[_0x300561(0x13a)]>0x0&&!_0x48acdd;}[_0x461611(0x114)](_0x1cee3b){try{return!!new URL(_0x1cee3b);}catch{return!0x1;}}}