@ckeditor/ckeditor5-ai 47.4.0-alpha.1 → 47.4.0-alpha.3

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 (292) 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/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  208. package/src/aichat/utils/eventnames.js +1 -1
  209. package/src/aichat/utils/promisequeue.js +1 -1
  210. package/src/aichathistory/aichathistory.js +1 -1
  211. package/src/aichathistory/aichathistorycontroller.js +1 -1
  212. package/src/aichathistory/aichathistoryui.js +1 -1
  213. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  214. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  215. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  216. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  217. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  219. package/src/aicore/aiconnector.js +1 -1
  220. package/src/aicore/aiediting.js +1 -1
  221. package/src/aicore/model/aicapabilities.js +1 -1
  222. package/src/aicore/model/aicontext.js +1 -1
  223. package/src/aicore/model/aiinteraction.js +1 -1
  224. package/src/aicore/model/aimodels.js +1 -1
  225. package/src/aicore/model/aireply.js +1 -1
  226. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  227. package/src/aicore/pipeline/airesponseparser.js +2 -2
  228. package/src/aicore/ui/aidisclaimerview.js +1 -1
  229. package/src/aicore/ui/aiskeleton.js +1 -1
  230. package/src/aicore/ui/aispinner.js +1 -1
  231. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  236. package/src/aicore/utils/common-translations.js +1 -1
  237. package/src/aicore/utils/createresizebutton.js +1 -1
  238. package/src/aicore/utils/documentposition.js +1 -1
  239. package/src/aicore/utils/documentrange.js +1 -1
  240. package/src/aicore/utils/eventnames.js +1 -1
  241. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  242. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  243. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  244. package/src/aicore/utils/htmlparser.js +1 -1
  245. package/src/aicore/utils/htmlstreamer.js +1 -1
  246. package/src/aicore/utils/scrollmanager.js +1 -1
  247. package/src/aieditorintegration/aieditorintegration.js +1 -1
  248. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  250. package/src/aiquickactions/aiquickactions.js +1 -1
  251. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  252. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  253. package/src/aiquickactions/aiquickactionsui.js +1 -1
  254. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  258. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  263. package/src/aireviewmode/aireviewmodeui.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  266. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  272. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  283. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  285. package/src/aitabs/aitabs.js +1 -1
  286. package/src/aitabs/aitabsmainview.js +1 -1
  287. package/src/aitabs/tabs/aitabsview.js +1 -1
  288. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  289. package/src/aitabs/tabs/tabpanelview.js +1 -1
  290. package/src/errors.js +1 -1
  291. package/src/errorsmap.js +1 -1
  292. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xf2fb81,_0x2bdf34){var _0x248d58=_0x191b,_0x3ef8df=_0xf2fb81();while(!![]){try{var _0x178fc9=parseInt(_0x248d58(0xa0))/0x1*(parseInt(_0x248d58(0xa3))/0x2)+-parseInt(_0x248d58(0x97))/0x3+parseInt(_0x248d58(0x9d))/0x4+parseInt(_0x248d58(0x9c))/0x5*(-parseInt(_0x248d58(0x99))/0x6)+parseInt(_0x248d58(0x9e))/0x7+parseInt(_0x248d58(0x98))/0x8*(parseInt(_0x248d58(0x95))/0x9)+-parseInt(_0x248d58(0x96))/0xa*(parseInt(_0x248d58(0xa2))/0xb);if(_0x178fc9===_0x2bdf34)break;else _0x3ef8df['push'](_0x3ef8df['shift']());}catch(_0xb31ee2){_0x3ef8df['push'](_0x3ef8df['shift']());}}}(_0x2fcc,0xeb6f2));import{View as _0xb9ea2e}from'ckeditor5/src/ui.js';import{getTranslation as _0x52601a}from'../../aicore/utils/common-translations.js';function _0x191b(_0x13d9da,_0x1ae8ed){var _0x2fcc0d=_0x2fcc();return _0x191b=function(_0x191bf0,_0x3f1a96){_0x191bf0=_0x191bf0-0x95;var _0xf31aa8=_0x2fcc0d[_0x191bf0];return _0xf31aa8;},_0x191b(_0x13d9da,_0x1ae8ed);}function _0x2fcc(){var _0x1ee493=['ck-ai-balloon__disclaimer','2005fOswbS','5450732VMKwPm','8537102JpcqZn','AI_DISCLAIMER_TEXT','1eAuFJQ','div','3065326pCYcrE','2656172OuxGoG','setTemplate','40797RScshw','10PhrBoY','3996996ETabTi','520hERjhN','24384ZtZjhZ','ck-ai-balloon__disclaimer-content'];_0x2fcc=function(){return _0x1ee493;};return _0x2fcc();}export class AIBalloonDisclaimerView extends _0xb9ea2e{constructor(_0x32ef2e){var _0x4faf88=_0x191b;super(_0x32ef2e),this[_0x4faf88(0xa4)]({'tag':_0x4faf88(0xa1),'attributes':{'class':['ck',_0x4faf88(0x9b)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x4faf88(0x9a)]},'children':[{'text':_0x52601a(_0x32ef2e,_0x4faf88(0x9f))}]}]});}}
23
+ (function(_0xc9f8ed,_0x6e97d7){var _0x1d56fc=_0x4084,_0x5c15fe=_0xc9f8ed();while(!![]){try{var _0x289ad3=parseInt(_0x1d56fc(0xb6))/0x1*(-parseInt(_0x1d56fc(0xbe))/0x2)+-parseInt(_0x1d56fc(0xb8))/0x3*(parseInt(_0x1d56fc(0xbb))/0x4)+-parseInt(_0x1d56fc(0xbd))/0x5+parseInt(_0x1d56fc(0xb5))/0x6+-parseInt(_0x1d56fc(0xb4))/0x7+parseInt(_0x1d56fc(0xc0))/0x8+parseInt(_0x1d56fc(0xba))/0x9;if(_0x289ad3===_0x6e97d7)break;else _0x5c15fe['push'](_0x5c15fe['shift']());}catch(_0x4dd8d5){_0x5c15fe['push'](_0x5c15fe['shift']());}}}(_0x58f0,0x9c24d));function _0x4084(_0x394371,_0x15a9dc){var _0x58f0b3=_0x58f0();return _0x4084=function(_0x40841d,_0x598643){_0x40841d=_0x40841d-0xb4;var _0x34aa87=_0x58f0b3[_0x40841d];return _0x34aa87;},_0x4084(_0x394371,_0x15a9dc);}import{View as _0x491ecc}from'ckeditor5/src/ui.js';import{getTranslation as _0x5840c9}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x491ecc{constructor(_0x2c1272){var _0x35b362=_0x4084;super(_0x2c1272),this[_0x35b362(0xb7)]({'tag':_0x35b362(0xb9),'attributes':{'class':['ck',_0x35b362(0xbc)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x35b362(0xc1)]},'children':[{'text':_0x5840c9(_0x2c1272,_0x35b362(0xbf))}]}]});}}function _0x58f0(){var _0x327d34=['ck-ai-balloon__disclaimer-content','4579722slXmGJ','6292296cIaJUb','60149WCjhWt','setTemplate','3tdZuRq','div','23420835orEAMw','2467048GGMdsb','ck-ai-balloon__disclaimer','5525635iWTuMj','38yrxMEQ','AI_DISCLAIMER_TEXT','4060000gUhYCy'];_0x58f0=function(){return _0x327d34;};return _0x58f0();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x136e(_0x1065c4,_0x3610e3){const _0x440a6b=_0x440a();return _0x136e=function(_0x136eac,_0x2be1f3){_0x136eac=_0x136eac-0x138;let _0x3cf40e=_0x440a6b[_0x136eac];return _0x3cf40e;},_0x136e(_0x1065c4,_0x3610e3);}const _0x3fe860=_0x136e;(function(_0x127567,_0xd7e45c){const _0x2b5fd3=_0x136e,_0xe1cf98=_0x127567();while(!![]){try{const _0x10ba76=parseInt(_0x2b5fd3(0x14c))/0x1*(-parseInt(_0x2b5fd3(0x140))/0x2)+parseInt(_0x2b5fd3(0x148))/0x3+parseInt(_0x2b5fd3(0x141))/0x4+parseInt(_0x2b5fd3(0x146))/0x5*(-parseInt(_0x2b5fd3(0x14f))/0x6)+parseInt(_0x2b5fd3(0x149))/0x7*(parseInt(_0x2b5fd3(0x147))/0x8)+-parseInt(_0x2b5fd3(0x152))/0x9+parseInt(_0x2b5fd3(0x13f))/0xa*(-parseInt(_0x2b5fd3(0x138))/0xb);if(_0x10ba76===_0xd7e45c)break;else _0xe1cf98['push'](_0xe1cf98['shift']());}catch(_0x9b9adf){_0xe1cf98['push'](_0xe1cf98['shift']());}}}(_0x440a,0x9c182));import{ToolbarView as _0x26ff94,ButtonView as _0x7fd461}from'ckeditor5/src/ui.js';import{getTranslation as _0x37ef0e}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x26ff94{constructor(_0x26cda3,_0x4bb54f=!0x0,_0x2100fd=!0x0){const _0x4a92bf=_0x136e;super(_0x26cda3),this[_0x4a92bf(0x14e)](_0x4a92bf(0x144),!0x1),_0x4bb54f&&(this[_0x4a92bf(0x13c)]=this[_0x4a92bf(0x14b)](_0x37ef0e(_0x26cda3,_0x4a92bf(0x13e)),_0x4a92bf(0x142)),this[_0x4a92bf(0x13c)][_0x4a92bf(0x150)](_0x4a92bf(0x139))['to'](this,_0x4a92bf(0x144),_0x1f634c=>!_0x1f634c),this[_0x4a92bf(0x151)][_0x4a92bf(0x13d)](this[_0x4a92bf(0x13c)])),_0x2100fd&&(this[_0x4a92bf(0x14a)]=this[_0x4a92bf(0x14b)](_0x37ef0e(_0x26cda3,_0x4a92bf(0x13a)),_0x4bb54f?_0x4a92bf(0x143):_0x4a92bf(0x142)),this[_0x4a92bf(0x14a)][_0x4a92bf(0x150)](_0x4a92bf(0x139))['to'](this,_0x4a92bf(0x144),_0x41e267=>!_0x41e267),this[_0x4a92bf(0x151)][_0x4a92bf(0x13d)](this[_0x4a92bf(0x14a)])),this[_0x4a92bf(0x145)]({'attributes':{'class':[_0x4a92bf(0x13b)]}});}[_0x3fe860(0x14b)](_0xc5c694,_0x48fa6d){const _0x21c992=_0x3fe860,_0x298c66=new _0x7fd461(this[_0x21c992(0x14d)]);return _0x298c66[_0x21c992(0x14e)]({'label':_0xc5c694,'class':_0x48fa6d||'','isVisible':!0x0,'withText':!0x0}),_0x298c66;}}function _0x440a(){const _0x38205f=['ck-ai-button-primary','ck-ai-button-secondary','isLoading','extendTemplate','2285zltWUD','303136EoEYtU','3733152DvcrzI','161qADnAH','suggestButton','_createButton','36589mNDBDU','locale','set','4674BtpaEO','bind','items','9552528CCygGH','11GdqTgv','isEnabled','AI_BALLOON_SUGGEST_BUTTON','ck-ai-balloon__toolbar','applyButton','add','AI_BALLOON_APPLY_BUTTON','11356750inqcZM','10ApETef','5037908CPHOmc'];_0x440a=function(){return _0x38205f;};return _0x440a();}
23
+ const _0x31ae9b=_0x2ca7;(function(_0x373bf8,_0x3dc166){const _0x3f6178=_0x2ca7,_0xdb49ca=_0x373bf8();while(!![]){try{const _0x5988f0=parseInt(_0x3f6178(0xa9))/0x1+-parseInt(_0x3f6178(0xac))/0x2*(parseInt(_0x3f6178(0xb1))/0x3)+parseInt(_0x3f6178(0xa2))/0x4*(-parseInt(_0x3f6178(0xaa))/0x5)+parseInt(_0x3f6178(0xa0))/0x6+parseInt(_0x3f6178(0x9e))/0x7*(-parseInt(_0x3f6178(0xa8))/0x8)+parseInt(_0x3f6178(0xb4))/0x9+-parseInt(_0x3f6178(0xb3))/0xa*(-parseInt(_0x3f6178(0xb0))/0xb);if(_0x5988f0===_0x3dc166)break;else _0xdb49ca['push'](_0xdb49ca['shift']());}catch(_0x50f50){_0xdb49ca['push'](_0xdb49ca['shift']());}}}(_0x1563,0x6aa2c));function _0x2ca7(_0x8f11fd,_0x1efd91){const _0x156346=_0x1563();return _0x2ca7=function(_0x2ca7ba,_0x3d62a5){_0x2ca7ba=_0x2ca7ba-0x9c;let _0x2f5d40=_0x156346[_0x2ca7ba];return _0x2f5d40;},_0x2ca7(_0x8f11fd,_0x1efd91);}import{ToolbarView as _0x30cd05,ButtonView as _0xf1f07a}from'ckeditor5/src/ui.js';import{getTranslation as _0x42fda1}from'../../aicore/utils/common-translations.js';function _0x1563(){const _0xc39c0e=['AI_BALLOON_SUGGEST_BUTTON','3799763SKaohW','3bAjuxE','isLoading','10aHmjKV','1480356qkLWLE','items','extendTemplate','AI_BALLOON_APPLY_BUTTON','applyButton','533148PcTiXr','set','1924596ZXLkbr','suggestButton','188HHDNfc','ck-ai-balloon__toolbar','add','_createButton','ck-ai-button-secondary','locale','16bPopLk','695795sZHloo','74065Puiwwo','ck-ai-button-primary','482318MyysfH','bind','isEnabled'];_0x1563=function(){return _0xc39c0e;};return _0x1563();}export class AIBalloonToolbarView extends _0x30cd05{constructor(_0x5c73f4,_0x3e43a9=!0x0,_0x12497=!0x0){const _0x2c8c6f=_0x2ca7;super(_0x5c73f4),this[_0x2c8c6f(0x9f)](_0x2c8c6f(0xb2),!0x1),_0x3e43a9&&(this[_0x2c8c6f(0x9d)]=this[_0x2c8c6f(0xa5)](_0x42fda1(_0x5c73f4,_0x2c8c6f(0x9c)),_0x2c8c6f(0xab)),this[_0x2c8c6f(0x9d)][_0x2c8c6f(0xad)](_0x2c8c6f(0xae))['to'](this,_0x2c8c6f(0xb2),_0x201253=>!_0x201253),this[_0x2c8c6f(0xb5)][_0x2c8c6f(0xa4)](this[_0x2c8c6f(0x9d)])),_0x12497&&(this[_0x2c8c6f(0xa1)]=this[_0x2c8c6f(0xa5)](_0x42fda1(_0x5c73f4,_0x2c8c6f(0xaf)),_0x3e43a9?_0x2c8c6f(0xa6):_0x2c8c6f(0xab)),this[_0x2c8c6f(0xa1)][_0x2c8c6f(0xad)](_0x2c8c6f(0xae))['to'](this,_0x2c8c6f(0xb2),_0x2a5c65=>!_0x2a5c65),this[_0x2c8c6f(0xb5)][_0x2c8c6f(0xa4)](this[_0x2c8c6f(0xa1)])),this[_0x2c8c6f(0xb6)]({'attributes':{'class':[_0x2c8c6f(0xa3)]}});}[_0x31ae9b(0xa5)](_0x26af52,_0x4bae01){const _0x3cc543=_0x31ae9b,_0x321b6b=new _0xf1f07a(this[_0x3cc543(0xa7)]);return _0x321b6b[_0x3cc543(0x9f)]({'label':_0x26af52,'class':_0x4bae01||'','isVisible':!0x0,'withText':!0x0}),_0x321b6b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56a12a=_0x5767;(function(_0x2160d1,_0x2d50ec){const _0x593b9c=_0x5767,_0x576658=_0x2160d1();while(!![]){try{const _0x402cac=-parseInt(_0x593b9c(0x14b))/0x1*(parseInt(_0x593b9c(0x14e))/0x2)+parseInt(_0x593b9c(0x13a))/0x3+-parseInt(_0x593b9c(0x167))/0x4*(parseInt(_0x593b9c(0x133))/0x5)+parseInt(_0x593b9c(0x140))/0x6+parseInt(_0x593b9c(0x17c))/0x7+-parseInt(_0x593b9c(0x14f))/0x8+parseInt(_0x593b9c(0x158))/0x9;if(_0x402cac===_0x2d50ec)break;else _0x576658['push'](_0x576658['shift']());}catch(_0x4ab5b6){_0x576658['push'](_0x576658['shift']());}}}(_0x250b,0x40e38));import{ButtonView as _0x4d2035,View as _0x28a2f5,ViewCollection as _0x229141,FocusCycler as _0x56dc53}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4a6a9a,KeystrokeHandler as _0x2cf552}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x34ef05,IconPreviousArrow as _0x31d37a}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x59a15d}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x53b43e}from'./aiballoondisclaimerview.js';import{getTranslation as _0x844ce9}from'../../aicore/utils/common-translations.js';import{ScrollManager as _0x4725b4}from'../../aicore/utils/scrollmanager.js';function _0x250b(){const _0x1eef43=['158008CHImbD','getIndex','span','_initializeScrollManager','showRecoverableError','AI_BALLOON_PREVIOUS_TOOLTIP','isTrackChangesOn','render','startAutoScroll','538830yCKMcq','element','ck-ai-suggestion__error','focusCycler','set','focusFirst','showApplyButton','_getScrollableElement','_addToolbar','showNext','locale','includes','applySuggestion','bodyView','isErrorVisible','4oVLuiL','bindTemplate','div','_mainView','_addContentView','insertSuggestion','focusTracker','focusLast','listenTo','isLoading','ai-balloon-error','_dialogContent','clearLoading','setTemplate','remove','_createNextButtonView','execute','change:isTrackChangesOn','_createErrorView','shift\x20+\x20tab','keystrokes','3524703GUhDrS','errorMessage','scrollManager','_availableActions','setLoading','_addDisclaimerView','view','ai-balloon-content','setupRotator','add','showError','stop','suggestButton','addMany','start','clear','disclaimerView','toolbar','1657030omMQlB','isEnabled','stopAutoScroll','destroy','showBlockingError','AI_BALLOON_NEXT_TOOLTIP','_createPreviousButtonView','1237476GHAweb','updateContent','showPrevious','children','hideError','_focusables','518784GoWDqo','headerView','focus','ck-hidden','bind','mainView','_errorView','showSuggestButton','fire','ck-ai-suggestion__error-text','applyButton','2lqmpyN','tab','createCollection','445414wrCSxP'];_0x250b=function(){return _0x1eef43;};return _0x250b();}import{AISuggestionContainerView as _0x442f22}from'../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x56a12a(0x164),_0x56a12a(0x16c),_0x56a12a(0x161),_0x56a12a(0x13c)];function _0x5767(_0x3a0b03,_0x4a7b52){const _0x250beb=_0x250b();return _0x5767=function(_0x57677d,_0x54582a){_0x57677d=_0x57677d-0x12a;let _0x207edb=_0x250beb[_0x57677d];return _0x207edb;},_0x5767(_0x3a0b03,_0x4a7b52);}export class AIBalloonView extends _0x28a2f5{[_0x56a12a(0x16d)];[_0x56a12a(0x17b)];[_0x56a12a(0x15b)];[_0x56a12a(0x17f)];[_0x56a12a(0x13f)];[_0x56a12a(0x146)];[_0x56a12a(0x17e)];constructor(_0x174288,_0x27e612,_0x2cb8b1,_0x498e01){const _0x1de6a8=_0x56a12a;super(_0x174288),this[_0x1de6a8(0x17f)]=_0x2cb8b1,this[_0x1de6a8(0x15c)](_0x1de6a8(0x170),!0x1),this[_0x1de6a8(0x15c)](_0x1de6a8(0x155),_0x498e01),this[_0x1de6a8(0x15c)](_0x1de6a8(0x166),!0x1),this[_0x1de6a8(0x15c)](_0x1de6a8(0x17d),''),this[_0x1de6a8(0x16d)]=new _0x4a6a9a(),this[_0x1de6a8(0x17b)]=new _0x2cf552(),this[_0x1de6a8(0x13f)]=this[_0x1de6a8(0x14d)](),this[_0x1de6a8(0x15b)]=new _0x56dc53({'focusables':this[_0x1de6a8(0x13f)],'focusTracker':this[_0x1de6a8(0x16d)],'keystrokeHandler':this[_0x1de6a8(0x17b)],'actions':{'focusPrevious':_0x1de6a8(0x17a),'focusNext':_0x1de6a8(0x14c)}}),this[_0x1de6a8(0x172)]=new _0x229141(),this[_0x1de6a8(0x16b)](_0x27e612[_0x1de6a8(0x145)]),this[_0x1de6a8(0x181)](),this[_0x1de6a8(0x160)](_0x27e612[_0x1de6a8(0x15e)],_0x27e612[_0x1de6a8(0x147)]),this[_0x1de6a8(0x132)][_0x1de6a8(0x144)](_0x1de6a8(0x170))['to'](this),this[_0x1de6a8(0x13f)][_0x1de6a8(0x130)](),this[_0x1de6a8(0x13f)][_0x1de6a8(0x12e)]([this[_0x1de6a8(0x132)]]),this[_0x1de6a8(0x174)]({'tag':_0x1de6a8(0x169),'attributes':{'class':_0x1de6a8(0x183)},'children':this[_0x1de6a8(0x172)]}),this['on'](_0x1de6a8(0x178),()=>{const _0x46ebdc=_0x1de6a8;this[_0x46ebdc(0x172)][_0x46ebdc(0x175)](this[_0x46ebdc(0x132)]),this[_0x46ebdc(0x160)](_0x27e612[_0x46ebdc(0x15e)],_0x27e612[_0x46ebdc(0x147)]);});}[_0x56a12a(0x156)](){const _0x139fec=_0x56a12a;super[_0x139fec(0x156)]();for(const _0x469906 of this[_0x139fec(0x13f)])this[_0x139fec(0x16d)][_0x139fec(0x12a)](_0x469906[_0x139fec(0x159)]);this[_0x139fec(0x17b)][_0x139fec(0x16f)](this[_0x139fec(0x159)]),this[_0x139fec(0x152)]();}[_0x56a12a(0x136)](){const _0x17d5f6=_0x56a12a;super[_0x17d5f6(0x136)](),this[_0x17d5f6(0x17e)]&&this[_0x17d5f6(0x17e)][_0x17d5f6(0x136)]();}[_0x56a12a(0x142)](_0x23ba81){const _0x32aa22=_0x56a12a;-0x1===_0x23ba81?this[_0x32aa22(0x15b)][_0x32aa22(0x16e)]():this[_0x32aa22(0x15b)][_0x32aa22(0x15d)]();}[_0x56a12a(0x180)](){const _0x2a1e98=_0x56a12a;this[_0x2a1e98(0x170)]=!0x0;}[_0x56a12a(0x173)](){const _0x547e20=_0x56a12a;this[_0x547e20(0x170)]=!0x1;}[_0x56a12a(0x12b)](_0x1d9032){const _0x9ba68c=_0x56a12a;this[_0x9ba68c(0x146)]||(this[_0x9ba68c(0x146)]=this[_0x9ba68c(0x179)](),this[_0x9ba68c(0x172)][_0x9ba68c(0x12e)]([this[_0x9ba68c(0x146)]],0x0)),this[_0x9ba68c(0x17d)]=_0x1d9032,this[_0x9ba68c(0x166)]=!0x0;}[_0x56a12a(0x13e)](){const _0x2824b6=_0x56a12a;this[_0x2824b6(0x166)]=!0x1;}[_0x56a12a(0x153)](_0x3b10ae){const _0xbd551c=_0x56a12a;this[_0xbd551c(0x12b)](_0x3b10ae);}[_0x56a12a(0x137)](_0x231dea){const _0x360dce=_0x56a12a;this[_0x360dce(0x12b)](_0x231dea),this[_0x360dce(0x132)]&&(this[_0x360dce(0x132)][_0x360dce(0x14a)]&&(this[_0x360dce(0x132)][_0x360dce(0x14a)][_0x360dce(0x134)]=!0x1),this[_0x360dce(0x132)][_0x360dce(0x12d)]&&(this[_0x360dce(0x132)][_0x360dce(0x12d)][_0x360dce(0x134)]=!0x1));}[_0x56a12a(0x184)](_0x7ee427){const _0x54a464=_0x56a12a,_0x5ac945=this[_0x54a464(0x176)](),_0xbf0735=this[_0x54a464(0x139)]();_0x7ee427[_0x54a464(0x182)][_0x54a464(0x141)][_0x54a464(0x13d)][_0x54a464(0x12a)](_0x5ac945,0x2),_0x7ee427[_0x54a464(0x182)][_0x54a464(0x141)][_0x54a464(0x13d)][_0x54a464(0x12a)](_0xbf0735,0x0),this[_0x54a464(0x13f)][_0x54a464(0x12e)]([_0x5ac945,_0xbf0735]),this[_0x54a464(0x16d)][_0x54a464(0x12a)](_0x5ac945[_0x54a464(0x159)]),this[_0x54a464(0x16d)][_0x54a464(0x12a)](_0xbf0735[_0x54a464(0x159)]);}[_0x56a12a(0x16b)](_0x355f1f){const _0x4b2855=_0x56a12a;this[_0x4b2855(0x16a)]=_0x355f1f,this[_0x4b2855(0x172)][_0x4b2855(0x12a)](this[_0x4b2855(0x16a)]);}[_0x56a12a(0x13b)](_0xe1bd2){const _0x21b625=_0x56a12a,_0x298de7=this[_0x21b625(0x172)][_0x21b625(0x150)](this[_0x21b625(0x16a)]);this[_0x21b625(0x172)][_0x21b625(0x175)](this[_0x21b625(0x16a)]),this[_0x21b625(0x16a)]=_0xe1bd2,this[_0x21b625(0x172)][_0x21b625(0x12a)](this[_0x21b625(0x16a)],_0x298de7),this[_0x21b625(0x13e)](),this[_0x21b625(0x17e)]&&this[_0x21b625(0x17e)][_0x21b625(0x136)](),this[_0x21b625(0x152)]();}[_0x56a12a(0x181)](){const _0x49eac9=_0x56a12a;this[_0x49eac9(0x131)]=new _0x53b43e(this[_0x49eac9(0x162)]),this[_0x49eac9(0x172)][_0x49eac9(0x12a)](this[_0x49eac9(0x131)]);}[_0x56a12a(0x160)](_0x542c7d=!0x0,_0x17bbe7=!0x0){const _0x5f327e=_0x56a12a;_0x542c7d=_0x542c7d&&!this[_0x5f327e(0x155)]&&this[_0x5f327e(0x17f)][_0x5f327e(0x163)](_0x5f327e(0x164)),_0x17bbe7=_0x17bbe7&&this[_0x5f327e(0x17f)][_0x5f327e(0x163)](_0x5f327e(0x16c)),this[_0x5f327e(0x132)]=new _0x59a15d(this[_0x5f327e(0x162)],_0x542c7d,_0x17bbe7),this[_0x5f327e(0x132)][_0x5f327e(0x14a)]?.['on'](_0x5f327e(0x177),()=>{const _0x509b69=_0x5f327e;this[_0x509b69(0x148)](_0x509b69(0x164));}),this[_0x5f327e(0x132)][_0x5f327e(0x12d)]?.['on'](_0x5f327e(0x177),()=>{const _0x3497e9=_0x5f327e;this[_0x3497e9(0x148)](_0x3497e9(0x16c));}),this[_0x5f327e(0x172)][_0x5f327e(0x12a)](this[_0x5f327e(0x132)]);}[_0x56a12a(0x176)](){const _0x2382fc=_0x56a12a,_0x21eb2e=new _0x4d2035(this[_0x2382fc(0x162)]);return _0x21eb2e[_0x2382fc(0x15c)]({'icon':_0x34ef05,'tooltip':_0x844ce9(this[_0x2382fc(0x162)],_0x2382fc(0x138))}),_0x21eb2e['on'](_0x2382fc(0x177),()=>{const _0x400c34=_0x2382fc;this[_0x400c34(0x148)](_0x400c34(0x161));}),_0x21eb2e;}[_0x56a12a(0x139)](){const _0x267d55=_0x56a12a,_0x459133=new _0x4d2035(this[_0x267d55(0x162)]);return _0x459133[_0x267d55(0x15c)]({'icon':_0x31d37a,'tooltip':_0x844ce9(this[_0x267d55(0x162)],_0x267d55(0x154))}),_0x459133['on'](_0x267d55(0x177),()=>{const _0x4e2f78=_0x267d55;this[_0x4e2f78(0x148)](_0x4e2f78(0x13c));}),_0x459133;}[_0x56a12a(0x179)](){const _0x57915a=_0x56a12a,_0x44025a=new _0x28a2f5(this[_0x57915a(0x162)]),_0x3fcdd2=new _0x28a2f5(this[_0x57915a(0x162)]);return _0x3fcdd2[_0x57915a(0x174)]({'tag':_0x57915a(0x151),'attributes':{'class':['ck',_0x57915a(0x149)]},'children':[{'text':this[_0x57915a(0x168)]['to'](_0x57915a(0x17d))}]}),_0x44025a[_0x57915a(0x174)]({'tag':_0x57915a(0x169),'attributes':{'class':['ck',_0x57915a(0x15a),_0x57915a(0x171),this[_0x57915a(0x168)]['if'](_0x57915a(0x166),_0x57915a(0x143),_0x52ddbe=>!_0x52ddbe)]},'children':[_0x3fcdd2]}),_0x44025a;}[_0x56a12a(0x157)](){const _0x2d6d45=_0x56a12a;this[_0x2d6d45(0x152)](),this[_0x2d6d45(0x17e)]&&this[_0x2d6d45(0x17e)][_0x2d6d45(0x12f)]();}[_0x56a12a(0x135)](){const _0x49b7a1=_0x56a12a;this[_0x49b7a1(0x17e)]&&this[_0x49b7a1(0x17e)][_0x49b7a1(0x12c)]();}[_0x56a12a(0x152)](){const _0x5ad268=_0x56a12a,_0x198a2d=this[_0x5ad268(0x15f)]();_0x198a2d&&!this[_0x5ad268(0x17e)]&&(this[_0x5ad268(0x17e)]=new _0x4725b4(_0x198a2d));}[_0x56a12a(0x15f)](){const _0x588075=_0x56a12a;return this[_0x588075(0x16a)]instanceof _0x442f22&&this[_0x588075(0x16a)][_0x588075(0x165)][_0x588075(0x159)]?this[_0x588075(0x16a)][_0x588075(0x165)][_0x588075(0x159)]:null;}}
23
+ const _0x5ea080=_0x2e1f;(function(_0x21048e,_0xcef4aa){const _0x41d6a2=_0x2e1f,_0x4b9680=_0x21048e();while(!![]){try{const _0x47d9c1=parseInt(_0x41d6a2(0x143))/0x1+parseInt(_0x41d6a2(0x168))/0x2+parseInt(_0x41d6a2(0x142))/0x3*(-parseInt(_0x41d6a2(0x14a))/0x4)+parseInt(_0x41d6a2(0x146))/0x5+-parseInt(_0x41d6a2(0x16b))/0x6+parseInt(_0x41d6a2(0x130))/0x7+parseInt(_0x41d6a2(0x16a))/0x8*(-parseInt(_0x41d6a2(0x15f))/0x9);if(_0x47d9c1===_0xcef4aa)break;else _0x4b9680['push'](_0x4b9680['shift']());}catch(_0x38b264){_0x4b9680['push'](_0x4b9680['shift']());}}}(_0x78f7,0x92333));import{ButtonView as _0x105646,View as _0x39d77c,ViewCollection as _0x15fcce,FocusCycler as _0x2d8454}from'ckeditor5/src/ui.js';import{FocusTracker as _0x31b937,KeystrokeHandler as _0x174e4d}from'ckeditor5/src/utils.js';function _0x78f7(){const _0x130bad=['clearLoading','applySuggestion','focusLast','element','setLoading','disclaimerView','div','createCollection','showBlockingError','ai-balloon-error','bind','errorMessage','view','scrollManager','29091qYdMFC','125590DtpWzs','_errorView','AI_BALLOON_PREVIOUS_TOOLTIP','833875BIVYXA','isErrorVisible','listenTo','locale','92ItHgpu','remove','add','_addContentView','focus','_mainView','destroy','showError','_addToolbar','ck-hidden','fire','_focusables','showSuggestButton','ck-ai-suggestion__error-text','ck-ai-suggestion__error','_getScrollableElement','showPrevious','setupRotator','stop','isEnabled','addMany','405WSBLlB','_addDisclaimerView','_dialogContent','isTrackChangesOn','_createPreviousButtonView','showApplyButton','shift\x20+\x20tab','bodyView','toolbar','2018852SPimoh','_initializeScrollManager','44904ySzzza','7100976HkTSMg','render','execute','showRecoverableError','_createNextButtonView','applyButton','span','_availableActions','focusTracker','showNext','clear','AI_BALLOON_NEXT_TOOLTIP','suggestButton','updateContent','startAutoScroll','children','bindTemplate','hideError','_createErrorView','insertSuggestion','setTemplate','includes','stopAutoScroll','change:isTrackChangesOn','set','headerView','focusCycler','start','isLoading','keystrokes','getIndex','mainView','6693092DPcCUu','ai-balloon-content','tab','focusFirst'];_0x78f7=function(){return _0x130bad;};return _0x78f7();}import{IconNextArrow as _0x327951,IconPreviousArrow as _0x38d5d1}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x21ebda}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x4df7ed}from'./aiballoondisclaimerview.js';import{getTranslation as _0x4216e1}from'../../aicore/utils/common-translations.js';import{ScrollManager as _0x213329}from'../../aicore/utils/scrollmanager.js';import{AISuggestionContainerView as _0x1698e7}from'../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x5ea080(0x135),_0x5ea080(0x17e),_0x5ea080(0x174),_0x5ea080(0x15a)];function _0x2e1f(_0x540d8e,_0x43e9c5){const _0x78f7cb=_0x78f7();return _0x2e1f=function(_0x2e1fd8,_0x38f608){_0x2e1fd8=_0x2e1fd8-0x127;let _0x26d03b=_0x78f7cb[_0x2e1fd8];return _0x26d03b;},_0x2e1f(_0x540d8e,_0x43e9c5);}export class AIBalloonView extends _0x39d77c{[_0x5ea080(0x173)];[_0x5ea080(0x12d)];[_0x5ea080(0x12a)];[_0x5ea080(0x172)];[_0x5ea080(0x155)];[_0x5ea080(0x144)];[_0x5ea080(0x141)];constructor(_0xd0fffa,_0xb7b765,_0x2fdb61,_0x3ff104){const _0x3acf11=_0x5ea080;super(_0xd0fffa),this[_0x3acf11(0x172)]=_0x2fdb61,this[_0x3acf11(0x128)](_0x3acf11(0x12c),!0x1),this[_0x3acf11(0x128)](_0x3acf11(0x162),_0x3ff104),this[_0x3acf11(0x128)](_0x3acf11(0x147),!0x1),this[_0x3acf11(0x128)](_0x3acf11(0x13f),''),this[_0x3acf11(0x173)]=new _0x31b937(),this[_0x3acf11(0x12d)]=new _0x174e4d(),this[_0x3acf11(0x155)]=this[_0x3acf11(0x13b)](),this[_0x3acf11(0x12a)]=new _0x2d8454({'focusables':this[_0x3acf11(0x155)],'focusTracker':this[_0x3acf11(0x173)],'keystrokeHandler':this[_0x3acf11(0x12d)],'actions':{'focusPrevious':_0x3acf11(0x165),'focusNext':_0x3acf11(0x132)}}),this[_0x3acf11(0x161)]=new _0x15fcce(),this[_0x3acf11(0x14d)](_0xb7b765[_0x3acf11(0x12f)]),this[_0x3acf11(0x160)](),this[_0x3acf11(0x152)](_0xb7b765[_0x3acf11(0x164)],_0xb7b765[_0x3acf11(0x156)]),this[_0x3acf11(0x167)][_0x3acf11(0x13e)](_0x3acf11(0x12c))['to'](this),this[_0x3acf11(0x155)][_0x3acf11(0x175)](),this[_0x3acf11(0x155)][_0x3acf11(0x15e)]([this[_0x3acf11(0x167)]]),this[_0x3acf11(0x17f)]({'tag':_0x3acf11(0x13a),'attributes':{'class':_0x3acf11(0x131)},'children':this[_0x3acf11(0x161)]}),this['on'](_0x3acf11(0x127),()=>{const _0x3352f6=_0x3acf11;this[_0x3352f6(0x161)][_0x3352f6(0x14b)](this[_0x3352f6(0x167)]),this[_0x3352f6(0x152)](_0xb7b765[_0x3352f6(0x164)],_0xb7b765[_0x3352f6(0x156)]);});}[_0x5ea080(0x16c)](){const _0xdc99b3=_0x5ea080;super[_0xdc99b3(0x16c)]();for(const _0x4fd248 of this[_0xdc99b3(0x155)])this[_0xdc99b3(0x173)][_0xdc99b3(0x14c)](_0x4fd248[_0xdc99b3(0x137)]);this[_0xdc99b3(0x12d)][_0xdc99b3(0x148)](this[_0xdc99b3(0x137)]),this[_0xdc99b3(0x169)]();}[_0x5ea080(0x150)](){const _0x474897=_0x5ea080;super[_0x474897(0x150)](),this[_0x474897(0x141)]&&this[_0x474897(0x141)][_0x474897(0x150)]();}[_0x5ea080(0x14e)](_0x44aadc){const _0x2d59db=_0x5ea080;-0x1===_0x44aadc?this[_0x2d59db(0x12a)][_0x2d59db(0x136)]():this[_0x2d59db(0x12a)][_0x2d59db(0x133)]();}[_0x5ea080(0x138)](){const _0x5b2d58=_0x5ea080;this[_0x5b2d58(0x12c)]=!0x0;}[_0x5ea080(0x134)](){const _0x383000=_0x5ea080;this[_0x383000(0x12c)]=!0x1;}[_0x5ea080(0x151)](_0x401c27){const _0x5e2533=_0x5ea080;this[_0x5e2533(0x144)]||(this[_0x5e2533(0x144)]=this[_0x5e2533(0x17d)](),this[_0x5e2533(0x161)][_0x5e2533(0x15e)]([this[_0x5e2533(0x144)]],0x0)),this[_0x5e2533(0x13f)]=_0x401c27,this[_0x5e2533(0x147)]=!0x0;}[_0x5ea080(0x17c)](){const _0x41c6dc=_0x5ea080;this[_0x41c6dc(0x147)]=!0x1;}[_0x5ea080(0x16e)](_0x5b7dc1){const _0xe37b52=_0x5ea080;this[_0xe37b52(0x151)](_0x5b7dc1);}[_0x5ea080(0x13c)](_0x63911d){const _0x1b404c=_0x5ea080;this[_0x1b404c(0x151)](_0x63911d),this[_0x1b404c(0x167)]&&(this[_0x1b404c(0x167)][_0x1b404c(0x170)]&&(this[_0x1b404c(0x167)][_0x1b404c(0x170)][_0x1b404c(0x15d)]=!0x1),this[_0x1b404c(0x167)][_0x1b404c(0x177)]&&(this[_0x1b404c(0x167)][_0x1b404c(0x177)][_0x1b404c(0x15d)]=!0x1));}[_0x5ea080(0x15b)](_0x5eb794){const _0x2b8426=_0x5ea080,_0x149612=this[_0x2b8426(0x16f)](),_0x396d43=this[_0x2b8426(0x163)]();_0x5eb794[_0x2b8426(0x140)][_0x2b8426(0x129)][_0x2b8426(0x17a)][_0x2b8426(0x14c)](_0x149612,0x2),_0x5eb794[_0x2b8426(0x140)][_0x2b8426(0x129)][_0x2b8426(0x17a)][_0x2b8426(0x14c)](_0x396d43,0x0),this[_0x2b8426(0x155)][_0x2b8426(0x15e)]([_0x149612,_0x396d43]),this[_0x2b8426(0x173)][_0x2b8426(0x14c)](_0x149612[_0x2b8426(0x137)]),this[_0x2b8426(0x173)][_0x2b8426(0x14c)](_0x396d43[_0x2b8426(0x137)]);}[_0x5ea080(0x14d)](_0x702bdb){const _0x142158=_0x5ea080;this[_0x142158(0x14f)]=_0x702bdb,this[_0x142158(0x161)][_0x142158(0x14c)](this[_0x142158(0x14f)]);}[_0x5ea080(0x178)](_0x20208e){const _0x51aac2=_0x5ea080,_0x1e39db=this[_0x51aac2(0x161)][_0x51aac2(0x12e)](this[_0x51aac2(0x14f)]);this[_0x51aac2(0x161)][_0x51aac2(0x14b)](this[_0x51aac2(0x14f)]),this[_0x51aac2(0x14f)]=_0x20208e,this[_0x51aac2(0x161)][_0x51aac2(0x14c)](this[_0x51aac2(0x14f)],_0x1e39db),this[_0x51aac2(0x17c)](),this[_0x51aac2(0x141)]&&this[_0x51aac2(0x141)][_0x51aac2(0x150)](),this[_0x51aac2(0x169)]();}[_0x5ea080(0x160)](){const _0x637970=_0x5ea080;this[_0x637970(0x139)]=new _0x4df7ed(this[_0x637970(0x149)]),this[_0x637970(0x161)][_0x637970(0x14c)](this[_0x637970(0x139)]);}[_0x5ea080(0x152)](_0x132ee5=!0x0,_0x48fd34=!0x0){const _0x35171f=_0x5ea080;_0x132ee5=_0x132ee5&&!this[_0x35171f(0x162)]&&this[_0x35171f(0x172)][_0x35171f(0x180)](_0x35171f(0x135)),_0x48fd34=_0x48fd34&&this[_0x35171f(0x172)][_0x35171f(0x180)](_0x35171f(0x17e)),this[_0x35171f(0x167)]=new _0x21ebda(this[_0x35171f(0x149)],_0x132ee5,_0x48fd34),this[_0x35171f(0x167)][_0x35171f(0x170)]?.['on'](_0x35171f(0x16d),()=>{const _0x365644=_0x35171f;this[_0x365644(0x154)](_0x365644(0x135));}),this[_0x35171f(0x167)][_0x35171f(0x177)]?.['on'](_0x35171f(0x16d),()=>{const _0x2a3492=_0x35171f;this[_0x2a3492(0x154)](_0x2a3492(0x17e));}),this[_0x35171f(0x161)][_0x35171f(0x14c)](this[_0x35171f(0x167)]);}[_0x5ea080(0x16f)](){const _0x261f92=_0x5ea080,_0x217ac2=new _0x105646(this[_0x261f92(0x149)]);return _0x217ac2[_0x261f92(0x128)]({'icon':_0x327951,'tooltip':_0x4216e1(this[_0x261f92(0x149)],_0x261f92(0x176))}),_0x217ac2['on'](_0x261f92(0x16d),()=>{const _0x4bd7f7=_0x261f92;this[_0x4bd7f7(0x154)](_0x4bd7f7(0x174));}),_0x217ac2;}[_0x5ea080(0x163)](){const _0xbfb989=_0x5ea080,_0x50c83f=new _0x105646(this[_0xbfb989(0x149)]);return _0x50c83f[_0xbfb989(0x128)]({'icon':_0x38d5d1,'tooltip':_0x4216e1(this[_0xbfb989(0x149)],_0xbfb989(0x145))}),_0x50c83f['on'](_0xbfb989(0x16d),()=>{const _0x4eaa5e=_0xbfb989;this[_0x4eaa5e(0x154)](_0x4eaa5e(0x15a));}),_0x50c83f;}[_0x5ea080(0x17d)](){const _0xfe9592=_0x5ea080,_0x34b342=new _0x39d77c(this[_0xfe9592(0x149)]),_0x273530=new _0x39d77c(this[_0xfe9592(0x149)]);return _0x273530[_0xfe9592(0x17f)]({'tag':_0xfe9592(0x171),'attributes':{'class':['ck',_0xfe9592(0x157)]},'children':[{'text':this[_0xfe9592(0x17b)]['to'](_0xfe9592(0x13f))}]}),_0x34b342[_0xfe9592(0x17f)]({'tag':_0xfe9592(0x13a),'attributes':{'class':['ck',_0xfe9592(0x158),_0xfe9592(0x13d),this[_0xfe9592(0x17b)]['if'](_0xfe9592(0x147),_0xfe9592(0x153),_0xbfd2ce=>!_0xbfd2ce)]},'children':[_0x273530]}),_0x34b342;}[_0x5ea080(0x179)](){const _0x3c9ac9=_0x5ea080;this[_0x3c9ac9(0x169)](),this[_0x3c9ac9(0x141)]&&this[_0x3c9ac9(0x141)][_0x3c9ac9(0x12b)]();}[_0x5ea080(0x181)](){const _0x3449fa=_0x5ea080;this[_0x3449fa(0x141)]&&this[_0x3449fa(0x141)][_0x3449fa(0x15c)]();}[_0x5ea080(0x169)](){const _0x56d367=_0x5ea080,_0x1d624c=this[_0x56d367(0x159)]();_0x1d624c&&!this[_0x56d367(0x141)]&&(this[_0x56d367(0x141)]=new _0x213329(_0x1d624c));}[_0x5ea080(0x159)](){const _0x1c51db=_0x5ea080;return this[_0x1c51db(0x14f)]instanceof _0x1698e7&&this[_0x1c51db(0x14f)][_0x1c51db(0x166)][_0x1c51db(0x137)]?this[_0x1c51db(0x14f)][_0x1c51db(0x166)][_0x1c51db(0x137)]:null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3bbdf4=_0x13f6;(function(_0xb7a64b,_0x5a6e53){var _0x590747=_0x13f6,_0x2f8f16=_0xb7a64b();while(!![]){try{var _0x315494=parseInt(_0x590747(0xd6))/0x1*(parseInt(_0x590747(0xcd))/0x2)+parseInt(_0x590747(0xd9))/0x3+-parseInt(_0x590747(0xc7))/0x4+-parseInt(_0x590747(0xc6))/0x5+-parseInt(_0x590747(0xd3))/0x6+parseInt(_0x590747(0xc9))/0x7*(-parseInt(_0x590747(0xca))/0x8)+parseInt(_0x590747(0xcf))/0x9;if(_0x315494===_0x5a6e53)break;else _0x2f8f16['push'](_0x2f8f16['shift']());}catch(_0x52f815){_0x2f8f16['push'](_0x2f8f16['shift']());}}}(_0x8612,0xade09));function _0x8612(){var _0x13484e=['isOfficialPlugin','sendMessage','get','5634610KNasHe','5574312nopnDo','context','161LHKGbV','198736rJbPKY','define','ai.chat.context','82ygvTGO','requires','31518864qlsSIL','removeSelectionFromChatContext','ai.chat.models','startConversation','678078eGVeMJ','focusPromptInput','plugins','7435NpUoCE','pluginName','addSelectionToChatContext','330447GFfrwk','config','isPremiumPlugin','AIChat'];_0x8612=function(){return _0x13484e;};return _0x8612();}import{ContextPlugin as _0x223988}from'ckeditor5/src/core.js';import{AIChatController as _0x44179f}from'./aichatcontroller.js';function _0x13f6(_0x3495ab,_0x47f116){var _0x861284=_0x8612();return _0x13f6=function(_0x13f601,_0x30c575){_0x13f601=_0x13f601-0xc6;var _0x357601=_0x861284[_0x13f601];return _0x357601;},_0x13f6(_0x3495ab,_0x47f116);}import{AIEditing as _0xe41c6f}from'../aicore/aiediting.js';import{AIChatUI as _0x5af83a}from'./aichatui.js';import{AIChatHistory as _0x33356d}from'../aichathistory/aichathistory.js';export class AIChat extends _0x223988{static get[_0x3bbdf4(0xce)](){return[_0x44179f,_0xe41c6f,_0x5af83a,_0x33356d];}static get[_0x3bbdf4(0xd7)](){var _0x3a0bb8=_0x3bbdf4;return _0x3a0bb8(0xdc);}static get[_0x3bbdf4(0xdd)](){return!0x0;}static get[_0x3bbdf4(0xdb)](){return!0x0;}constructor(_0x50db10){var _0x86436a=_0x3bbdf4;super(_0x50db10),this[_0x86436a(0xc8)][_0x86436a(0xda)][_0x86436a(0xcb)](_0x86436a(0xcc),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x86436a(0xc8)][_0x86436a(0xda)][_0x86436a(0xcb)](_0x86436a(0xd1),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x3bbdf4(0xd8)](){var _0x5009d3=_0x3bbdf4;await this[_0x5009d3(0xc8)][_0x5009d3(0xd5)][_0x5009d3(0xdf)](_0x44179f)[_0x5009d3(0xd8)]();}async[_0x3bbdf4(0xd2)](){var _0x2df4fd=_0x3bbdf4;await this[_0x2df4fd(0xc8)][_0x2df4fd(0xd5)][_0x2df4fd(0xdf)](_0x44179f)[_0x2df4fd(0xd2)]();}async[_0x3bbdf4(0xde)]({message:_0x576949,quickActionData:_0x210893}){var _0x29dd28=_0x3bbdf4;await this[_0x29dd28(0xc8)][_0x29dd28(0xd5)][_0x29dd28(0xdf)](_0x44179f)[_0x29dd28(0xde)]({'message':_0x576949,'quickActionData':_0x210893});}[_0x3bbdf4(0xd0)](){var _0x29741e=_0x3bbdf4;this[_0x29741e(0xc8)][_0x29741e(0xd5)][_0x29741e(0xdf)](_0x44179f)[_0x29741e(0xd0)]();}[_0x3bbdf4(0xd4)](){var _0x138ddd=_0x3bbdf4;this[_0x138ddd(0xc8)][_0x138ddd(0xd5)][_0x138ddd(0xdf)](_0x44179f)[_0x138ddd(0xd4)]();}}
23
+ var _0x59c870=_0xecb8;function _0xecb8(_0x238b7d,_0x47665e){var _0x179199=_0x1791();return _0xecb8=function(_0xecb8db,_0x37f2e9){_0xecb8db=_0xecb8db-0xaa;var _0xd72aeb=_0x179199[_0xecb8db];return _0xd72aeb;},_0xecb8(_0x238b7d,_0x47665e);}(function(_0x55ab2b,_0x553ffc){var _0x525a5d=_0xecb8,_0x21df45=_0x55ab2b();while(!![]){try{var _0x598e64=parseInt(_0x525a5d(0xbc))/0x1+-parseInt(_0x525a5d(0xac))/0x2+-parseInt(_0x525a5d(0xae))/0x3*(parseInt(_0x525a5d(0xb4))/0x4)+-parseInt(_0x525a5d(0xaa))/0x5+-parseInt(_0x525a5d(0xb2))/0x6+-parseInt(_0x525a5d(0xc0))/0x7+parseInt(_0x525a5d(0xc1))/0x8;if(_0x598e64===_0x553ffc)break;else _0x21df45['push'](_0x21df45['shift']());}catch(_0x1c238c){_0x21df45['push'](_0x21df45['shift']());}}}(_0x1791,0x19441));import{ContextPlugin as _0x190951}from'ckeditor5/src/core.js';import{AIChatController as _0xd46c91}from'./aichatcontroller.js';import{AIEditing as _0x2a05b8}from'../aicore/aiediting.js';function _0x1791(){var _0x88b336=['config','21FYqfVn','requires','addSelectionToChatContext','removeSelectionFromChatContext','1200054uIQQKn','context','48336PUEeia','isPremiumPlugin','sendMessage','define','ai.chat.context','isOfficialPlugin','startConversation','pluginName','168946EVbJaB','AIChat','focusPromptInput','plugins','1356054SihYOK','4335896BvuPaY','ai.chat.models','415415FanjoP','get','92084CwCjLi'];_0x1791=function(){return _0x88b336;};return _0x1791();}import{AIChatUI as _0x21a2ee}from'./aichatui.js';import{AIChatHistory as _0x2c2809}from'../aichathistory/aichathistory.js';export class AIChat extends _0x190951{static get[_0x59c870(0xaf)](){return[_0xd46c91,_0x2a05b8,_0x21a2ee,_0x2c2809];}static get[_0x59c870(0xbb)](){var _0x102dc6=_0x59c870;return _0x102dc6(0xbd);}static get[_0x59c870(0xb9)](){return!0x0;}static get[_0x59c870(0xb5)](){return!0x0;}constructor(_0x4669a5){var _0x3f5c8a=_0x59c870;super(_0x4669a5),this[_0x3f5c8a(0xb3)][_0x3f5c8a(0xad)][_0x3f5c8a(0xb7)](_0x3f5c8a(0xb8),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x3f5c8a(0xb3)][_0x3f5c8a(0xad)][_0x3f5c8a(0xb7)](_0x3f5c8a(0xc2),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x59c870(0xb0)](){var _0x9b5aff=_0x59c870;await this[_0x9b5aff(0xb3)][_0x9b5aff(0xbf)][_0x9b5aff(0xab)](_0xd46c91)[_0x9b5aff(0xb0)]();}async[_0x59c870(0xba)](){var _0x218880=_0x59c870;await this[_0x218880(0xb3)][_0x218880(0xbf)][_0x218880(0xab)](_0xd46c91)[_0x218880(0xba)]();}async[_0x59c870(0xb6)]({message:_0x502fd4,quickActionData:_0x4345d4}){var _0x2d2b97=_0x59c870;await this[_0x2d2b97(0xb3)][_0x2d2b97(0xbf)][_0x2d2b97(0xab)](_0xd46c91)[_0x2d2b97(0xb6)]({'message':_0x502fd4,'quickActionData':_0x4345d4});}[_0x59c870(0xb1)](){var _0x4e094f=_0x59c870;this[_0x4e094f(0xb3)][_0x4e094f(0xbf)][_0x4e094f(0xab)](_0xd46c91)[_0x4e094f(0xb1)]();}[_0x59c870(0xbe)](){var _0x32bca6=_0x59c870;this[_0x32bca6(0xb3)][_0x32bca6(0xbf)][_0x32bca6(0xab)](_0xd46c91)[_0x32bca6(0xbe)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x87b24e=_0x3cf6;function _0x7d54(){const _0x329a46=['isOpen','attachToDom','static','isCurrentDocumentInConversation','findIndex','context','domConverter','AI_BALLOON_HEADER_TITLE','_logError','changes','replyCreated','interactionCreated','removeFeedInteraction','lastInteraction','uiId','Undo','mouseOverSuggestion','focusPromptInput','hideFakeVisualSelection','isDocumentOperation','path','ai-chat-context-unsupported-type','ai-chat-url-upload-failed','updateFeedItemAIReplySuggestionPartState','pending','loadConversation','updateFeedItemAIReplyContent','pluginName','ai-chat-context-form-data-size-limits-exceeded','getAttribute','contextItemLoadingEnded','ai-chat-source-resources-load-failed','selectModel','_startConversationSafely','ai-chat-context-unsupported-file-type','upsertAIChatRating','mouseLeaveSuggestion','sourceResourcesLoaded','alignToTop','_aiEditing','addFeedItemAIReply','rejected','replies','addSelectionToContext','_flushLastInteractionUI','resources','ai.chat.models.displayedModels','updateFeedItemAIReplySuggestionContent','getChild','AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','current-document','ai-chat-context-invalid-data','editors','_aiChatModels','ai-chat-invalid-request','_toggleReasoning','getDocumentData','afterInit','_previewedChangeGroup','startInteraction','sourceId','filter','AI_CHAT_CONTEXT_INVALID_DATA','mapper','error','isInContext','destroy','state','ai-chat-controller-no-active-conversation','addFeedItemStaticMessage','set','accepted','addResourceToContext','isOfficialPlugin','ready','$graveyard','history','replyChangeGroupStateUpdated','like','content','capabilitiesUpdated','toString','enableControls','uid','find','addSelectionToChatContext','stopListening','root','_handleUIUserMessage','updateCurrentDocumentInContext','config','Liked\x20response','replyContentUpdated','reasoningStarted','ai.chat.context','length','getReply','markers','_toggleWebSearch','_integrateEditor','interactionId','1222371tyVacY','sendUserMessage','resource','abortPromptStream','rejectSuggestion','getInteractionAndReplyById','interactionStarted','_aiConnector','get','interactionFinished','ai-chat-conversation-not-found','data','init','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','maxOffset','load','_aiChatUi','log','webSearchStarted','dialogClosed','resizedTabs','AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','children','hasChanges','$root','outdated','addFeedItemAISuggestion','activeConversation','addOperation','documentContextContent','change','ai-no-track-changes','split','Showing\x20conversation\x20history...','setFeedItemRenderingStrategy','setModel','_insertSuggestion','range','ai-chat-controller-mouse-over','ai-chat-file-upload-failed','new','resizeTabs','removed','Disliked\x20response','AI_CHAT_GENERIC_ERROR','addFeedInteractionHeader','conversationInitialized','addFeedItemUserMessage','updateConversationTitle','ai.chat.models.defaultModelId','webSearchFinished','applySuggestion','getInteraction','contextSent','setSelectedModel','listenTo','showPrevious','_updateReplyContent','contextItemAdded','_balloonShowDiff','has','AI_CHAT_RESOURCE_LOAD_FAILED','model','removeSelectionFromChatContext','baseVersion','removeMarker','_removeAISelectionMarkers','setAddContextOptions','getConversation','_handleStartConversation','AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','stop','sendMessage','getChildAtOffset','AITabs','setContextItemLoading','indexOf','stopInteraction','AI_CHAT_UNTITLED_CONVERSATION','ai-chat-context-file-too-large','editing','42104mUtSdd','addDocumentToContext','resourceId','viewRangeToDom','5805822phWqYP','requires','ai-chat-resource-load-failed','contextItemRemoved','resetMessageInput','AI_CHAT_CONTEXT_FILE_TOO_LARGE','getPath','handleRemovedConversation','marker','document','getMarkersGroup','from','parse','2061715OLYQyQ','changeGroups','push','isPremiumPlugin','updateCapabilities','redo','messageId','ai-chat-conversation-init-failed','toggleReasoning','collaboration.channelId','isDisabled','showFakeVisualSelection','dislike','removeSelectionFromContext','AIChatController','full','79513cQAuAw','source','toggleWebSearch','setLoadingMessage','getGroupId','_removeFromContext','getSelectionText','selection','locale','_applyOperationsAsSuggestions','2ItVcVz','selectedModel','view','anchorId','rootName','addContextItem','uploadProgressChanged','setIsMaximized','batch','main','setChangeGroupState','commands','ai-chat-missing-channel-id','AI_CHAT_INVALID_REQUEST','removeFromContext','startAutoScroll','setConversationContext','AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','_stopLastInteraction','_openBalloonFor','47820wrFXIK','addFeedItemError','addFileToContext','981CqzIzo','replyId','query','isStarted','getChildren','delete','closeSourceResourceBalloon','node','slice','getContentParts','modelSelected','start','startConversation','activateTab','populateSourceResourceBalloon','resize','disableControls','DocumentCompare','12GonztD','toggleSuggestionDisplayMode','revert','applyOperation','startsWith','resetConversationTitle','TrackChangesEditing','version','_bodyCollection','options','insertSuggestion','TrackChanges','undo','handleUserInteraction','updateFeedItemAIReplySources','indexes','detachFromDom','_updateRatings','finishInteraction','_createFromRanges','addContextOptionsChanged','createRange','setIsUploadInProgress','isModelAvailable','showDiff','remove','getRanges','clearPendingContextUI','_setIsMaximized','_batchToChanges','addFilesToContext','clearConversationContextUI','partIndex','toViewRange','51448CNmdHA','addCurrentDocumentToContext','_showConversationHistory','isCurrentDocumentInContext','add','AIChatUI','isLoading','nextSibling','index','fetchConversation','AIConnector','interactionDestroyed','chat','updateResourceState','10FeAdAE','unshift','getTransformedByOperation','toggleLoadingSkeleton','ai-chat-context-file-too-many-pages','AI_CHAT_ABORTED_MESSAGE','reasoningFinished','ai-chat-conversation-start-failed','getOperations','AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','ai.availableReplyActions','end','_applySuggestion','getDiff','loadSourceResources','showChangeInText','getRoot','close','plugins','message','howMany','data-id','ai-request-aborted','getDocumentContext','modification-delta','_scrollToSuggestionRange','map','sourcePosition','removeContextItem','createPositionAt','streaming','AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','contextItem','updateContent','type','resourceStateChanged','sources','forEach','open','scrollFeedToSuggestion','addUrlToContext','getFirstRange','contextItems','isUploadInProgress','text-delta','_getDocumentRangeForReplyChanges','ai-conversation-','setConversationTitle','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','cloneNode','showNext','createConversation','AI_CHAT_UNABLE_TO_START_CONVERSATION','createPositionFromPath','AIEditing','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE'];_0x7d54=function(){return _0x329a46;};return _0x7d54();}(function(_0x388e1c,_0x2b262d){const _0x21ab2f=_0x3cf6,_0x2ee9a1=_0x388e1c();while(!![]){try{const _0x14cbf7=-parseInt(_0x21ab2f(0x248))/0x1*(-parseInt(_0x21ab2f(0x234))/0x2)+-parseInt(_0x21ab2f(0x32a))/0x3+-parseInt(_0x21ab2f(0x27f))/0x4+parseInt(_0x21ab2f(0x21a))/0x5*(parseInt(_0x21ab2f(0x25d))/0x6)+-parseInt(_0x21ab2f(0x22a))/0x7+parseInt(_0x21ab2f(0x209))/0x8*(parseInt(_0x21ab2f(0x24b))/0x9)+parseInt(_0x21ab2f(0x28d))/0xa*(-parseInt(_0x21ab2f(0x20d))/0xb);if(_0x14cbf7===_0x2b262d)break;else _0x2ee9a1['push'](_0x2ee9a1['shift']());}catch(_0x53c516){_0x2ee9a1['push'](_0x2ee9a1['shift']());}}}(_0x7d54,0x76d25));import{ContextPlugin as _0x24bfcf,Editor as _0x13c25a}from'ckeditor5/src/core.js';import{BodyCollection as _0x37d39e}from'ckeditor5/src/ui.js';import{CKEditorError as _0x219767,logError as _0x456fd9,scrollViewportToShowTarget as _0x5724a9,uid as _0x489566}from'ckeditor5/src/utils.js';import{AIConnector as _0x5573f5}from'../aicore/aiconnector.js';import{AITabs as _0x1ab538}from'../aitabs/aitabs.js';import{AIChatConversation as _0x57bac1}from'./model/aichatconversation.js';import{getTranslation as _0x381c56}from'../aicore/utils/common-translations.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x4cfafd}from'../aicore/aiediting.js';import{AI_REPLY_ACTIONS as _0x55499e}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIModels as _0x496463}from'../aicore/model/aimodels.js';import{getEditorFromContext as _0x3a659a}from'../aicore/utils/geteditorfromcontext.js';function _0x3cf6(_0x2a6f47,_0x15a157){const _0x7d543f=_0x7d54();return _0x3cf6=function(_0x3cf641,_0x3e3e37){_0x3cf641=_0x3cf641-0x1bc;let _0x5b98ab=_0x7d543f[_0x3cf641];return _0x5b98ab;},_0x3cf6(_0x2a6f47,_0x15a157);}import{DocumentCompare as _0x3622f2,DATA_ID_MODEL_ATTRIBUTE as _0x2f68dc}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x34ee81,getOperationsFromReply as _0x1f9938}from'../aicore/utils/getoperationsfromreply.js';import{expandSelectionWithContext as _0x31428c,getMinimalSelection as _0x262c9d}from'../aicore/utils/getsuggestionpartsfromreply.js';import{ModelRange as _0x2deb97,_DetachOperation as _0x2dcf9a}from'ckeditor5/src/engine.js';import{findOne as _0x279e3f,getAttribute as _0x551ccf,serialize as _0x35f575,Document as _0x3f2ee2,findByAttribute as _0x29c0a4}from'../aicore/utils/htmlparser.js';import{IconAI as _0x47118f}from'@ckeditor/ckeditor5-icons';import{AISuggestionContainerView as _0x2a8017}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIBalloon as _0x1169da}from'../aiballoon/aiballoon.js';export class AIChatController extends _0x24bfcf{[_0x87b24e(0x2ec)];[_0x87b24e(0x1bf)];[_0x87b24e(0x1c8)];[_0x87b24e(0x2fa)];[_0x87b24e(0x27a)]=new Map();[_0x87b24e(0x2ff)]=null;[_0x87b24e(0x1f3)]=!0x1;[_0x87b24e(0x265)];static get[_0x87b24e(0x20e)](){return[_0x5573f5,_0x1169da,_0x3622f2];}static get[_0x87b24e(0x2e0)](){const _0x2410f4=_0x87b24e;return _0x2410f4(0x228);}static get[_0x87b24e(0x30e)](){return!0x0;}static get[_0x87b24e(0x21d)](){return!0x0;}[_0x87b24e(0x1c4)](){const _0x2cc2d5=_0x87b24e;this[_0x2cc2d5(0x265)]=new _0x37d39e(this[_0x2cc2d5(0x2ca)][_0x2cc2d5(0x232)]),this[_0x2cc2d5(0x265)][_0x2cc2d5(0x2c6)](),this[_0x2cc2d5(0x1bf)]=this[_0x2cc2d5(0x2ca)][_0x2cc2d5(0x29f)][_0x2cc2d5(0x1c0)](_0x2cc2d5(0x289)),this[_0x2cc2d5(0x1c8)]=this[_0x2cc2d5(0x2ca)][_0x2cc2d5(0x29f)][_0x2cc2d5(0x1c0)](_0x2cc2d5(0x284)),this[_0x2cc2d5(0x2ec)]=this[_0x2cc2d5(0x2ca)][_0x2cc2d5(0x29f)][_0x2cc2d5(0x1c0)](_0x2cc2d5(0x2c3)),this[_0x2cc2d5(0x2fa)]=new _0x496463({'connector':this[_0x2cc2d5(0x1bf)],'availableModels':this[_0x2cc2d5(0x2ca)][_0x2cc2d5(0x31f)][_0x2cc2d5(0x1c0)](_0x2cc2d5(0x2f3)),'defaultModelId':this[_0x2cc2d5(0x2ca)][_0x2cc2d5(0x31f)][_0x2cc2d5(0x1c0)](_0x2cc2d5(0x1e9)),'locale':this[_0x2cc2d5(0x2ca)][_0x2cc2d5(0x232)]});const _0x1fadd4=this[_0x2cc2d5(0x2ca)][_0x2cc2d5(0x29f)][_0x2cc2d5(0x1c0)](_0x2cc2d5(0x202));this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x257),()=>{const _0x1f39ef=_0x2cc2d5;this[_0x1f39ef(0x2e6)]();}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x32b),(_0x41efad,_0x50c0b0)=>{const _0x357b90=_0x2cc2d5;this[_0x357b90(0x31d)]({'userMessage':_0x50c0b0});}),this[_0x2cc2d5(0x1ef)](_0x1fadd4,_0x2cc2d5(0x1cc),(_0x247311,_0x3fe9a0)=>{const _0x2c390b=_0x2cc2d5;this[_0x2c390b(0x279)](_0x3fe9a0);}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x1e1),()=>{const _0x3466af=_0x2cc2d5;_0x1fadd4[_0x3466af(0x25a)]();}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x32d),async()=>{const _0x48179c=_0x2cc2d5;await this[_0x48179c(0x246)](),await this[_0x48179c(0x2f1)](),this[_0x48179c(0x1f7)]();}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x20a),()=>{const _0x1fd0e4=_0x2cc2d5;this[_0x1fd0e4(0x1d3)]?.[_0x1fd0e4(0x280)](_0x381c56(this[_0x1fd0e4(0x2ca)][_0x1fd0e4(0x232)],_0x1fd0e4(0x2bd)));}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x24a),(_0x129c2f,_0x5daaef)=>{const _0x51d08d=_0x2cc2d5;this[_0x51d08d(0x1d3)]?.[_0x51d08d(0x27b)](Array[_0x51d08d(0x218)](_0x5daaef));}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x2b5),(_0x4b8b09,_0x104a88)=>{const _0x3d830a=_0x2cc2d5;this[_0x3d830a(0x1d3)]?.[_0x3d830a(0x2b5)](_0x104a88);}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x30d),(_0x176570,_0x393584)=>{const _0xa07a98=_0x2cc2d5;this[_0xa07a98(0x1d3)]?.[_0xa07a98(0x30d)](_0x393584[_0xa07a98(0x22b)],_0x393584[_0xa07a98(0x32c)]);}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x2a9),(_0x2bf253,_0x4b0e93)=>{const _0x46464e=_0x2cc2d5;this[_0x46464e(0x22f)](_0x4b0e93);}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x29b),(_0x3f6316,_0x47c00f)=>{const _0x4108f8=_0x2cc2d5;this[_0x4108f8(0x1d3)]?.[_0x4108f8(0x29b)](_0x47c00f[_0x4108f8(0x301)],_0x47c00f[_0x4108f8(0x24d)],_0x47c00f[_0x4108f8(0x318)]);}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x22c),()=>{const _0x27b273=_0x2cc2d5;this[_0x27b273(0x327)]();}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x222),()=>{const _0x268d0e=_0x2cc2d5;this[_0x268d0e(0x2fc)]();}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x2e5),(_0xe2e4bf,_0x41158e)=>{const _0x1c5b05=_0x2cc2d5;this[_0x1c5b05(0x1d3)]?.[_0x1c5b05(0x1db)](_0x41158e);}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x313),(_0x516fc2,{replyId:_0x39dba0})=>{const _0x51e676=_0x2cc2d5;console[_0x51e676(0x1c9)](_0x51e676(0x320),_0x39dba0);}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x226),(_0x257739,{replyId:_0x459211})=>{const _0x337659=_0x2cc2d5;console[_0x337659(0x1c9)](_0x337659(0x1e3),_0x459211);}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x267),(_0x38c17a,_0x4e1a7f)=>{const _0x19af7a=_0x2cc2d5;this[_0x19af7a(0x2ca)][_0x19af7a(0x29f)][_0x19af7a(0x1c0)](_0x1169da)[_0x19af7a(0x29e)](),this[_0x19af7a(0x1dc)](_0x4e1a7f);}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x29c),(_0x35c9e2,{replyId:_0x54e3f2,partIndex:_0x23fbdf})=>{const _0x1db273=_0x2cc2d5;this[_0x1db273(0x1f3)]=this[_0x1db273(0x1c8)][_0x1db273(0x275)],this[_0x1db273(0x247)](_0x54e3f2,_0x23fbdf);}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x2d5),(_0x57c955,{replyId:_0xf4470d,partIndex:_0x5e8053})=>{const _0x1f98b5=_0x2cc2d5,_0xac0a41=this[_0x1f98b5(0x2ba)](_0xf4470d,_0x5e8053);_0xac0a41&&_0x1f98b5(0x310)!=_0xac0a41[_0x1f98b5(0x1dd)][_0x1f98b5(0x31c)][_0x1f98b5(0x238)]&&this[_0x1f98b5(0x2ec)][_0x1f98b5(0x225)]([_0xac0a41[_0x1f98b5(0x1dd)]],_0x1f98b5(0x1de));}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x2e9),()=>{const _0x157125=_0x2cc2d5;this[_0x157125(0x2ec)][_0x157125(0x2d7)](_0x157125(0x1de));}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x1eb),(_0x379eb2,_0x1f55b9)=>{const _0x1ae4d8=_0x2cc2d5;this[_0x1ae4d8(0x2ca)][_0x1ae4d8(0x29f)][_0x1ae4d8(0x1c0)](_0x1169da)[_0x1ae4d8(0x29e)](),this[_0x1ae4d8(0x299)](_0x1f55b9);}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x25e),async(_0x107aef,{replyId:_0x508c90,showDiff:_0x42b9a2})=>{const _0x58240c=_0x2cc2d5,{reply:_0x2d3ae0}=this[_0x58240c(0x1bd)](_0x508c90),_0x25e15f=_0x2d3ae0[_0x58240c(0x254)]({'showDiff':_0x42b9a2});await this[_0x58240c(0x1c8)][_0x58240c(0x2f4)]({'id':_0x2d3ae0['id'],'parts':_0x25e15f,'renderingStrategy':_0x58240c(0x2c7)});}),this[_0x2cc2d5(0x1ef)](this[_0x2cc2d5(0x1c8)],_0x2cc2d5(0x1bc),(_0x3c484d,{replyId:_0x2a356b,partIndex:_0x228aeb})=>{const _0x20a075=_0x2cc2d5;this[_0x20a075(0x2ff)]?.[_0x20a075(0x24c)]==_0x2a356b&&this[_0x20a075(0x2ff)]?.[_0x20a075(0x27d)]==_0x228aeb&&this[_0x20a075(0x2ca)][_0x20a075(0x29f)][_0x20a075(0x1c0)](_0x1169da)[_0x20a075(0x29e)]();const {reply:_0x1f96c2}=this[_0x20a075(0x1bd)](_0x2a356b);_0x1f96c2[_0x20a075(0x23e)](_0x228aeb,_0x20a075(0x2ee)),this[_0x20a075(0x2ec)][_0x20a075(0x2d7)](_0x20a075(0x1de));});}async[_0x87b24e(0x2fe)](){const _0x26d68d=_0x87b24e;this[_0x26d68d(0x2ca)]instanceof _0x13c25a?this[_0x26d68d(0x328)](this[_0x26d68d(0x2ca)]):this[_0x26d68d(0x1ef)](this[_0x26d68d(0x2ca)][_0x26d68d(0x2f9)],_0x26d68d(0x283),(_0x192f3,_0x43f1e7)=>{const _0x394f1f=_0x26d68d;_0x43f1e7['on'](_0x394f1f(0x30f),()=>{const _0x3c70ab=_0x394f1f;this[_0x3c70ab(0x328)](_0x43f1e7);});}),await this[_0x26d68d(0x2e6)]();}[_0x87b24e(0x307)](){const _0x4897f0=_0x87b24e;this[_0x4897f0(0x265)][_0x4897f0(0x26d)](),super[_0x4897f0(0x307)]();}[_0x87b24e(0x1dc)](_0x45b4e4){const _0x155592=_0x87b24e,_0x2351ca=_0x3a659a(this[_0x155592(0x2ca)]);if(!_0x2351ca[_0x155592(0x29f)][_0x155592(0x1f4)](_0x155592(0x268)))throw new _0x219767(_0x155592(0x1d7),null);const _0x575ec5=this[_0x155592(0x2ca)][_0x155592(0x29f)][_0x155592(0x1c0)](_0x155592(0x25c)),{reply:_0x37dc60,interaction:_0x22a000}=this[_0x155592(0x1bd)](_0x45b4e4[_0x155592(0x24c)]),_0x4803e5=this[_0x155592(0x2ba)](_0x45b4e4[_0x155592(0x24c)],_0x45b4e4[_0x155592(0x27d)]),_0x71037=void 0x0!==_0x45b4e4[_0x155592(0x27d)]?[_0x37dc60[_0x155592(0x21b)][_0x45b4e4[_0x155592(0x27d)]]]:_0x37dc60[_0x155592(0x21b)][_0x155592(0x302)](_0x3bc334=>_0x155592(0x2dd)==_0x3bc334[_0x155592(0x308)]),_0x46bde4=_0x71037[_0x155592(0x2a7)](_0x6bc752=>_0x37dc60[_0x155592(0x21b)][_0x155592(0x204)](_0x6bc752));if(!_0x4803e5||_0x155592(0x310)==_0x4803e5[_0x155592(0x1dd)][_0x155592(0x31c)][_0x155592(0x238)])return void _0x46bde4[_0x155592(0x2b2)](_0x44698e=>_0x37dc60[_0x155592(0x23e)](_0x44698e,_0x155592(0x1d1)));_0x46bde4[_0x155592(0x2b2)](_0x32135f=>_0x37dc60[_0x155592(0x23e)](_0x32135f,_0x155592(0x30c)));const _0x493430=_0x1f9938({'editor':_0x2351ca,'reply':_0x37dc60,'interaction':_0x22a000,'groups':_0x71037,'transform':!0x0,'documentCompare':_0x575ec5,'documentCompareOptions':{'anchor':_0x155592(0x23d),'markDeletions':!0x0}});let _0x48a88c;_0x4803e5&&this[_0x155592(0x2a6)](_0x4803e5[_0x155592(0x1dd)]),_0x2351ca[_0x155592(0x1f6)][_0x155592(0x1d6)](_0x1ef02b=>{const _0x45c736=_0x155592;_0x48a88c=_0x1ef02b[_0x45c736(0x23c)],_0x2351ca[_0x45c736(0x29f)][_0x45c736(0x1c0)](_0x45c736(0x263))[_0x45c736(0x233)](_0x493430),this[_0x45c736(0x2ec)][_0x45c736(0x2d7)](_0x45c736(0x1de));}),this[_0x155592(0x27a)][_0x155592(0x30b)](_0x48a88c,{'interactionId':_0x22a000['id'],'replyId':_0x37dc60['id'],'indexes':_0x46bde4[_0x155592(0x253)]()}),this[_0x155592(0x26e)](_0x37dc60);}[_0x87b24e(0x299)](_0x1e43cd){const _0xa770fb=_0x87b24e,_0x5624e1=_0x3a659a(this[_0xa770fb(0x2ca)]),_0x289e38=this[_0xa770fb(0x2ca)][_0xa770fb(0x29f)][_0xa770fb(0x1c0)](_0x3622f2),{reply:_0x1badce,interaction:_0x20dc27}=this[_0xa770fb(0x1bd)](_0x1e43cd[_0xa770fb(0x24c)]),_0x40d0a4=this[_0xa770fb(0x2ba)](_0x1e43cd[_0xa770fb(0x24c)],_0x1e43cd[_0xa770fb(0x27d)]),_0x3529a5=void 0x0!==_0x1e43cd[_0xa770fb(0x27d)]?[_0x1badce[_0xa770fb(0x21b)][_0x1e43cd[_0xa770fb(0x27d)]]]:_0x1badce[_0xa770fb(0x21b)][_0xa770fb(0x302)](_0x115d25=>_0xa770fb(0x2dd)==_0x115d25[_0xa770fb(0x308)]),_0x411819=_0x3529a5[_0xa770fb(0x2a7)](_0x594682=>_0x1badce[_0xa770fb(0x21b)][_0xa770fb(0x204)](_0x594682));if(!_0x40d0a4||_0xa770fb(0x310)==_0x40d0a4[_0xa770fb(0x1dd)][_0xa770fb(0x31c)][_0xa770fb(0x238)])return void _0x411819[_0xa770fb(0x2b2)](_0x247737=>_0x1badce[_0xa770fb(0x23e)](_0x247737,_0xa770fb(0x1d1)));_0x411819[_0xa770fb(0x2b2)](_0x33f6e9=>_0x1badce[_0xa770fb(0x23e)](_0x33f6e9,_0xa770fb(0x30c)));const _0x411767=_0x1f9938({'editor':_0x5624e1,'reply':_0x1badce,'interaction':_0x20dc27,'groups':_0x3529a5,'transform':!0x0,'documentCompare':_0x289e38,'documentCompareOptions':{'anchor':_0xa770fb(0x23d),'markDeletions':!0x1}});let _0x53b2c9;_0x40d0a4&&this[_0xa770fb(0x2a6)](_0x40d0a4[_0xa770fb(0x1dd)]),_0x5624e1[_0xa770fb(0x1f6)][_0xa770fb(0x1d6)](_0x3129eb=>{const _0x64fed7=_0xa770fb;_0x53b2c9=_0x3129eb[_0x64fed7(0x23c)];for(const _0x42079a of _0x411767)_0x42079a[_0x64fed7(0x1f8)]=_0x5624e1[_0x64fed7(0x1f6)][_0x64fed7(0x216)][_0x64fed7(0x264)],_0x34ee81(_0x5624e1,_0x42079a),_0x3129eb[_0x64fed7(0x23c)][_0x64fed7(0x1d4)](_0x42079a),_0x5624e1[_0x64fed7(0x1f6)][_0x64fed7(0x260)](_0x42079a);}),this[_0xa770fb(0x27a)][_0xa770fb(0x30b)](_0x53b2c9,{'interactionId':_0x20dc27['id'],'replyId':_0x1badce['id'],'indexes':_0x411819[_0xa770fb(0x253)]()}),this[_0xa770fb(0x26e)](_0x1badce);}[_0x87b24e(0x247)](_0x26faf0,_0x52bb7b){const _0x3d947b=_0x87b24e,_0x40f860=_0x3a659a(this[_0x3d947b(0x2ca)]),_0x44f656=this[_0x3d947b(0x2ba)](_0x26faf0,_0x52bb7b),_0x5f1f13=this[_0x3d947b(0x2ca)][_0x3d947b(0x29f)][_0x3d947b(0x1c0)](_0x1169da);if(!_0x44f656)return void _0x5f1f13[_0x3d947b(0x29e)]();const {range:_0x56b9b9,currentIndex:_0x49b864}=_0x44f656;if(_0x3d947b(0x310)==_0x56b9b9[_0x3d947b(0x31c)][_0x3d947b(0x238)]){const {reply:_0x34c336}=this[_0x3d947b(0x1bd)](_0x26faf0);return _0x34c336[_0x3d947b(0x23e)](_0x49b864,_0x3d947b(0x1d1)),void _0x5f1f13[_0x3d947b(0x29e)]();}if(this[_0x3d947b(0x2ff)]?.[_0x3d947b(0x24c)]==_0x26faf0&&this[_0x3d947b(0x2ff)]?.[_0x3d947b(0x27d)]==_0x49b864)return;this[_0x3d947b(0x31b)](_0x5f1f13),this[_0x3d947b(0x2ff)]={'replyId':_0x26faf0,'partIndex':_0x49b864};let _0x4632b7=_0x40f860[_0x3d947b(0x31f)][_0x3d947b(0x1c0)](_0x3d947b(0x297))||[..._0x55499e];_0x40f860[_0x3d947b(0x29f)][_0x3d947b(0x1f4)](_0x3d947b(0x268))||(_0x4632b7=_0x4632b7[_0x3d947b(0x302)](_0x455cfd=>_0x3d947b(0x267)!=_0x455cfd));const _0x28cb64=new _0x2a8017(_0x40f860[_0x3d947b(0x232)],{'showDiff':this[_0x3d947b(0x1f3)],'areActionsDisabled':!0x1,'miniToolbarConfig':{'showChanges':_0x3d947b(0x229)},'hideHeader':!0x0,'availableActions':_0x4632b7},this[_0x3d947b(0x265)]);this[_0x3d947b(0x31b)](_0x28cb64);const {reply:_0x2bc259}=this[_0x3d947b(0x1bd)](_0x26faf0),_0x23059e=_0x2bc259[_0x3d947b(0x254)]({'showDiff':this[_0x3d947b(0x1f3)]})[_0x3d947b(0x302)](_0x5d4a20=>_0x5d4a20[_0x3d947b(0x1cf)]),_0x56aa07=_0x23059e[_0x3d947b(0x2c9)](_0x9fd558=>_0x9fd558[_0x3d947b(0x287)]==_0x49b864);if(-0x1==_0x56aa07)return;const _0x5a009d=_0x23059e[_0x56aa07],_0x57c016=_0x23059e['at']((_0x56aa07-0x1)%_0x23059e[_0x3d947b(0x324)])?.[_0x3d947b(0x287)],_0x2664f5=_0x23059e['at']((_0x56aa07+0x1)%_0x23059e[_0x3d947b(0x324)])?.[_0x3d947b(0x287)];_0x28cb64[_0x3d947b(0x2ae)]({'parts':[_0x5a009d],'renderingStrategy':_0x3d947b(0x2c7)});const _0x5e8836=_0x49b864!==_0x57c016;this[_0x3d947b(0x2a6)](_0x56b9b9,!0x0),_0x5f1f13[_0x3d947b(0x2b3)]({'index':_0x49b864,'title':_0x381c56(this[_0x3d947b(0x2ca)][_0x3d947b(0x232)],_0x3d947b(0x2cc),(_0x56aa07+0x1)[_0x3d947b(0x316)]()),'icon':_0x47118f,'mainView':_0x28cb64,'showRotator':_0x5e8836,'showApplyButton':!0x0,'showSuggestButton':_0x40f860[_0x3d947b(0x29f)][_0x3d947b(0x1f4)](_0x3d947b(0x268)),'ranges':[_0x56b9b9]}),this[_0x3d947b(0x1c8)][_0x3d947b(0x2b4)](_0x26faf0,_0x49b864),this[_0x3d947b(0x1ef)](_0x28cb64,_0x3d947b(0x25e),(_0x4663c7,{showDiff:_0x1cbd91})=>{const _0x4f9621=_0x3d947b;this[_0x4f9621(0x1f3)]=_0x1cbd91;const {reply:_0x50affc}=this[_0x4f9621(0x1bd)](_0x26faf0),_0x2b3959=_0x50affc[_0x4f9621(0x254)]({'showDiff':_0x1cbd91,'groupIndex':_0x49b864});_0x28cb64[_0x4f9621(0x2ae)]({'parts':_0x2b3959,'renderingStrategy':_0x4f9621(0x2c7)});}),this[_0x3d947b(0x1ef)](_0x5f1f13,_0x3d947b(0x1eb),()=>{const _0x344d53=_0x3d947b;this[_0x344d53(0x299)]({'replyId':_0x26faf0,'partIndex':_0x49b864}),_0x5e8836?this[_0x344d53(0x247)](_0x26faf0,_0x2664f5):_0x5f1f13[_0x344d53(0x29e)]();}),this[_0x3d947b(0x1ef)](_0x5f1f13,_0x3d947b(0x267),()=>{const _0x292d9f=_0x3d947b;this[_0x292d9f(0x1dc)]({'replyId':_0x26faf0,'partIndex':_0x49b864}),_0x5e8836?this[_0x292d9f(0x247)](_0x26faf0,_0x2664f5):_0x5f1f13[_0x292d9f(0x29e)]();}),_0x5e8836&&(this[_0x3d947b(0x1ef)](_0x5f1f13,_0x3d947b(0x2bf),()=>{const _0x9dc6c7=_0x3d947b;this[_0x9dc6c7(0x247)](_0x26faf0,_0x2664f5);}),this[_0x3d947b(0x1ef)](_0x5f1f13,_0x3d947b(0x1f0),()=>{const _0x5685c8=_0x3d947b;this[_0x5685c8(0x247)](_0x26faf0,_0x57c016);})),this[_0x3d947b(0x1ef)](_0x5f1f13,_0x3d947b(0x1cb),()=>{const _0x42cf7c=_0x3d947b;this[_0x42cf7c(0x31b)](_0x5f1f13),this[_0x42cf7c(0x31b)](_0x28cb64),this[_0x42cf7c(0x2ff)]=null;});}[_0x87b24e(0x2ba)](_0x331890,_0x2b9266){const _0xfc67ad=_0x87b24e,_0xd793b5=_0x3a659a(this[_0xfc67ad(0x2ca)]),{reply:_0x4e4818,interaction:_0x199aa9}=this[_0xfc67ad(0x1bd)](_0x331890),_0x8b912a=_0x4e4818[_0xfc67ad(0x21b)][_0xfc67ad(0x302)](_0xdb5195=>_0xfc67ad(0x2dd)==_0xdb5195[_0xfc67ad(0x308)]),_0x27f8cc=_0x8b912a[_0xfc67ad(0x2a7)](_0x3ed68b=>_0x4e4818[_0xfc67ad(0x21b)][_0xfc67ad(0x204)](_0x3ed68b));void 0x0===_0x2b9266&&(_0x2b9266=_0x27f8cc[0x0]);const _0x370354=_0x27f8cc[_0xfc67ad(0x204)](_0x2b9266);if(-0x1==_0x370354)return null;const _0x24d89d=_0x8b912a[_0x370354],_0x3c0f95=new _0x3f2ee2([]),_0x3b3836=new _0x3f2ee2([]);for(const _0x542be3 of _0x24d89d[_0xfc67ad(0x2ce)])if(_0xfc67ad(0x1e2)!=_0x542be3[_0xfc67ad(0x2af)]&&_0x3b3836[_0xfc67ad(0x1ce)][_0xfc67ad(0x21c)](_0x542be3[_0xfc67ad(0x252)][_0xfc67ad(0x2be)](!0x0)),_0xfc67ad(0x1e0)!=_0x542be3[_0xfc67ad(0x2af)]){const _0x45aeb5=_0x279e3f(_0x512d6e=>_0x551ccf(_0x512d6e,_0xfc67ad(0x2a2))==_0x542be3['id'],_0x4e4818[_0xfc67ad(0x1d5)],!0x0);_0x3c0f95[_0xfc67ad(0x1ce)][_0xfc67ad(0x21c)](_0x45aeb5[_0xfc67ad(0x2be)](!0x0));}if(0x0==_0x3c0f95[_0xfc67ad(0x1ce)][_0xfc67ad(0x324)]){if(_0x24d89d[_0xfc67ad(0x2ce)][0x0][_0xfc67ad(0x237)]){const _0x10796b=_0x29c0a4(_0xfc67ad(0x2a2),_0x24d89d[_0xfc67ad(0x2ce)][0x0][_0xfc67ad(0x237)],_0x4e4818[_0xfc67ad(0x1d5)]);_0x3c0f95[_0xfc67ad(0x1ce)][_0xfc67ad(0x28e)](_0x10796b[_0xfc67ad(0x2be)](!0x0)),_0x3b3836[_0xfc67ad(0x1ce)][_0xfc67ad(0x28e)](_0x10796b[_0xfc67ad(0x2be)](!0x0)),_0x10796b[_0xfc67ad(0x286)]&&(_0x3c0f95[_0xfc67ad(0x1ce)][_0xfc67ad(0x21c)](_0x10796b[_0xfc67ad(0x286)][_0xfc67ad(0x2be)](!0x0)),_0x3b3836[_0xfc67ad(0x1ce)][_0xfc67ad(0x21c)](_0x10796b[_0xfc67ad(0x286)][_0xfc67ad(0x2be)](!0x0)));}else{const _0x41762f=_0x4e4818[_0xfc67ad(0x1d5)][_0xfc67ad(0x1ce)][0x0];if(!_0x41762f)return null;_0x3c0f95[_0xfc67ad(0x1ce)][_0xfc67ad(0x21c)](_0x41762f[_0xfc67ad(0x2be)](!0x0)),_0x3b3836[_0xfc67ad(0x1ce)][_0xfc67ad(0x21c)](_0x41762f[_0xfc67ad(0x2be)](!0x0));}}const _0x462e77=_0x199aa9[_0xfc67ad(0x2a4)](),_0x4638ff=_0xd793b5[_0xfc67ad(0x1c3)][_0xfc67ad(0x219)](_0x462e77[_0xfc67ad(0x314)],_0xfc67ad(0x1d0)),_0x43cca7=_0x35f575(_0x3c0f95),_0x576c46=_0xd793b5[_0xfc67ad(0x1c3)][_0xfc67ad(0x219)](_0x43cca7),_0x41c10f=_0xd793b5[_0xfc67ad(0x1c3)][_0xfc67ad(0x219)](_0x43cca7),_0x5e663c=_0xd793b5[_0xfc67ad(0x1f6)][_0xfc67ad(0x2aa)](_0x576c46,0x0),_0x5ebce1=_0x35f575(_0x3b3836),_0x4e8855={'anchor':_0x5e663c,'markDeletions':!0x1,'context':_0xfc67ad(0x1d0)},_0x20aba7=_0xd793b5[_0xfc67ad(0x29f)][_0xfc67ad(0x1c0)](_0x3622f2)[_0xfc67ad(0x29a)](_0x43cca7,_0x5ebce1,_0x4e8855)[_0xfc67ad(0x295)]();if(!_0x20aba7[_0xfc67ad(0x324)])return null;_0xd793b5[_0xfc67ad(0x1f6)][_0xfc67ad(0x1d6)](_0x443a91=>{const _0x1ee71a=_0xfc67ad;for(const _0xa91141 of _0x20aba7)if(_0x1ee71a(0x276)==_0xa91141[_0x1ee71a(0x2af)]){const _0x431b18=_0xa91141[_0x1ee71a(0x2a8)],_0x2375b4=_0xa91141[_0x1ee71a(0x2a1)],_0xf8d829=new _0x2dcf9a(_0x431b18,_0x2375b4);_0x443a91[_0x1ee71a(0x23c)][_0x1ee71a(0x1d4)](_0xf8d829),_0xd793b5[_0x1ee71a(0x1f6)][_0x1ee71a(0x260)](_0xf8d829);}else _0x1ee71a(0x215)!==_0xa91141[_0x1ee71a(0x2af)]&&(_0xa91141[_0x1ee71a(0x1f8)]=null,_0xa91141[_0x1ee71a(0x2d8)]=!0x1,_0x443a91[_0x1ee71a(0x23c)][_0x1ee71a(0x1d4)](_0xa91141),_0xd793b5[_0x1ee71a(0x1f6)][_0x1ee71a(0x260)](_0xa91141));});const _0x472ff9=_0x262c9d(_0xd793b5,_0x20aba7,_0x576c46);_0x31428c(_0xd793b5[_0xfc67ad(0x1f6)],_0x472ff9);const _0x5a2438=_0x472ff9[_0xfc67ad(0x2b6)]()[_0xfc67ad(0x256)][_0xfc67ad(0x2d9)][_0xfc67ad(0x253)](),_0x3f522e=_0x472ff9[_0xfc67ad(0x2b6)]()[_0xfc67ad(0x298)][_0xfc67ad(0x2d9)][_0xfc67ad(0x253)](),_0x53642a=[];let _0x3b78e4=_0x576c46,_0x1166b9=_0x41c10f;for(let _0x1980d4=0x0;_0x1980d4<_0x3f522e[_0xfc67ad(0x324)];_0x1980d4++){const _0x576b4c=_0x3b78e4[_0xfc67ad(0x1c6)]-_0x3f522e[_0x1980d4];_0x53642a[_0x1980d4]=_0x1166b9[_0xfc67ad(0x1c6)]-_0x576b4c,_0x3b78e4=_0x3b78e4[_0xfc67ad(0x201)](_0x3f522e[_0x1980d4]),_0x1166b9=_0x1166b9[_0xfc67ad(0x201)](_0x53642a[_0x1980d4]);}const _0x544cc4=_0xd793b5[_0xfc67ad(0x1f6)][_0xfc67ad(0x272)](_0xd793b5[_0xfc67ad(0x1f6)][_0xfc67ad(0x2c2)](_0x41c10f,_0x5a2438),_0xd793b5[_0xfc67ad(0x1f6)][_0xfc67ad(0x2c2)](_0x41c10f,_0x53642a)),_0x4e3898=_0x41c10f[_0xfc67ad(0x2f5)](0x0)[_0xfc67ad(0x2e2)](_0x2f68dc),_0x525ea2=Array[_0xfc67ad(0x218)](_0x4638ff[_0xfc67ad(0x24f)]())[_0xfc67ad(0x319)](_0x1bfb63=>_0x1bfb63[_0xfc67ad(0x2e2)](_0x2f68dc)==_0x4e3898)[_0xfc67ad(0x213)](),_0xb00f0e=_0x544cc4[_0xfc67ad(0x256)][_0xfc67ad(0x2d9)][_0xfc67ad(0x253)](),_0x377ad5=_0x544cc4[_0xfc67ad(0x298)][_0xfc67ad(0x2d9)][_0xfc67ad(0x253)]();_0xb00f0e[0x0]=_0x525ea2[0x0]+_0xb00f0e[0x0],_0x377ad5[0x0]=_0x525ea2[0x0]+_0x377ad5[0x0];let _0x546cfe=_0xd793b5[_0xfc67ad(0x1f6)][_0xfc67ad(0x272)](_0xd793b5[_0xfc67ad(0x1f6)][_0xfc67ad(0x2c2)](_0xd793b5[_0xfc67ad(0x1f6)][_0xfc67ad(0x216)][_0xfc67ad(0x29d)](),_0xb00f0e),_0xd793b5[_0xfc67ad(0x1f6)][_0xfc67ad(0x2c2)](_0xd793b5[_0xfc67ad(0x1f6)][_0xfc67ad(0x216)][_0xfc67ad(0x29d)](),_0x377ad5));const _0x3df4db=_0xd793b5[_0xfc67ad(0x1f6)][_0xfc67ad(0x216)][_0xfc67ad(0x311)][_0xfc67ad(0x295)](_0x462e77[_0xfc67ad(0x264)]);for(const _0x79baa6 of _0x3df4db)_0x546cfe=_0x2deb97[_0xfc67ad(0x270)](_0x546cfe[_0xfc67ad(0x28f)](_0x79baa6));return{'range':_0x546cfe,'currentIndex':_0x2b9266};}[_0x87b24e(0x328)](_0x26c33c){const _0x2b054a=_0x87b24e;if(!_0x26c33c[_0x2b054a(0x29f)][_0x2b054a(0x1f4)](_0x2b054a(0x2d4)))return;const _0x3096e0=_0x26c33c[_0x2b054a(0x23f)][_0x2b054a(0x1c0)](_0x2b054a(0x269)),_0x5d0d5e=_0x26c33c[_0x2b054a(0x23f)][_0x2b054a(0x1c0)](_0x2b054a(0x21f));this[_0x2b054a(0x1ef)](_0x3096e0,_0x2b054a(0x25f),(_0x19ab3c,_0x1dd2c9,_0x3a1839)=>{const _0x4d1506=_0x2b054a,_0x301412=this[_0x4d1506(0x27a)][_0x4d1506(0x1c0)](_0x1dd2c9);if(!_0x301412)return;const _0xbf037b=this[_0x4d1506(0x1d3)][_0x4d1506(0x1ec)](_0x301412[_0x4d1506(0x329)])[_0x4d1506(0x325)](_0x301412[_0x4d1506(0x24c)]);_0x301412[_0x4d1506(0x26c)][_0x4d1506(0x2b2)](_0x4fa426=>_0xbf037b[_0x4d1506(0x23e)](_0x4fa426,_0x4d1506(0x2dd))),this[_0x4d1506(0x27a)][_0x4d1506(0x250)](_0x1dd2c9),this[_0x4d1506(0x27a)][_0x4d1506(0x30b)](_0x3a1839,_0x301412);}),this[_0x2b054a(0x1ef)](_0x5d0d5e,_0x2b054a(0x25f),(_0x31af8e,_0x4c21d9,_0xf537)=>{const _0x17ae63=_0x2b054a,_0x474c1d=this[_0x17ae63(0x27a)][_0x17ae63(0x1c0)](_0x4c21d9);if(!_0x474c1d)return;const _0x40fe2c=this[_0x17ae63(0x1d3)][_0x17ae63(0x1ec)](_0x474c1d[_0x17ae63(0x329)])[_0x17ae63(0x325)](_0x474c1d[_0x17ae63(0x24c)]);_0x474c1d[_0x17ae63(0x26c)][_0x17ae63(0x2b2)](_0x356544=>_0x40fe2c[_0x17ae63(0x23e)](_0x356544,_0x17ae63(0x30c))),this[_0x17ae63(0x27a)][_0x17ae63(0x250)](_0x4c21d9),this[_0x17ae63(0x27a)][_0x17ae63(0x30b)](_0xf537,_0x474c1d);});}async[_0x87b24e(0x2de)](_0x1e0e2a){const _0x26de04=_0x87b24e;this[_0x26de04(0x2ca)][_0x26de04(0x29f)][_0x26de04(0x1c0)](_0x1169da)[_0x26de04(0x29e)](),this[_0x26de04(0x1c8)][_0x26de04(0x1da)](_0x26de04(0x2c7)),this[_0x26de04(0x1c8)][_0x26de04(0x290)](!0x0),await this[_0x26de04(0x246)]();try{await this[_0x26de04(0x1bf)][_0x26de04(0x288)](_0x1e0e2a)[_0x26de04(0x1fc)](),await this[_0x26de04(0x2e6)](_0x1e0e2a),this[_0x26de04(0x1e8)]('\x20');const {sessionId:_0x24cc2c}=this[_0x26de04(0x2ec)][_0x26de04(0x2fd)]();await this[_0x26de04(0x1d3)][_0x26de04(0x1c7)](_0x1e0e2a,_0x24cc2c),this[_0x26de04(0x1d3)][_0x26de04(0x2c8)]()&&this[_0x26de04(0x1d3)][_0x26de04(0x280)](_0x381c56(this[_0x26de04(0x2ca)][_0x26de04(0x232)],_0x26de04(0x2bd)));}catch(_0x522287){this[_0x26de04(0x1c8)][_0x26de04(0x249)]({'errorMessage':_0x381c56(this[_0x26de04(0x2ca)][_0x26de04(0x232)],_0x26de04(0x2f6)),'id':_0x1e0e2a}),this[_0x26de04(0x2cd)](new _0x219767(_0x26de04(0x1c2),this,{'error':_0x522287}));}finally{this[_0x26de04(0x2ca)][_0x26de04(0x29f)][_0x26de04(0x1c0)](_0x1ab538)[_0x26de04(0x236)][_0x26de04(0x258)](_0x26de04(0x28b)),this[_0x26de04(0x1c8)][_0x26de04(0x243)](),this[_0x26de04(0x1c8)][_0x26de04(0x1da)](_0x26de04(0x2ab)),this[_0x26de04(0x1c8)][_0x26de04(0x290)](!0x1);}}[_0x87b24e(0x214)](_0x2003f3){const _0x16c07e=_0x87b24e;this[_0x16c07e(0x1d3)]['id']===_0x2003f3&&this[_0x16c07e(0x2e6)]();}async[_0x87b24e(0x31a)](){const _0x4b1bf1=_0x87b24e,_0x2e7985=this[_0x4b1bf1(0x2ec)][_0x4b1bf1(0x230)]();this[_0x4b1bf1(0x1d3)]?.[_0x4b1bf1(0x2f0)](_0x2e7985),this[_0x4b1bf1(0x1d3)]?.[_0x4b1bf1(0x280)](_0x381c56(this[_0x4b1bf1(0x2ca)][_0x4b1bf1(0x232)],_0x4b1bf1(0x2bd)));}[_0x87b24e(0x1f7)](){const _0x20e153=_0x87b24e;this[_0x20e153(0x1d3)]?.[_0x20e153(0x227)]();}[_0x87b24e(0x2d6)](){const _0x1cf838=_0x87b24e;this[_0x1cf838(0x1c8)][_0x1cf838(0x2d6)]();}async[_0x87b24e(0x257)](){const _0x178043=_0x87b24e;await this[_0x178043(0x2e6)]();}async[_0x87b24e(0x200)]({message:_0x5b54e2,quickActionData:_0x31fce9}){const _0x509ae3=_0x87b24e;await this[_0x509ae3(0x31d)]({'userMessage':_0x5b54e2,'quickActionData':_0x31fce9});}[_0x87b24e(0x22e)](){const _0x2959ba=_0x87b24e,_0x165ac3=this[_0x2959ba(0x2ca)][_0x2959ba(0x31f)][_0x2959ba(0x1c0)](_0x2959ba(0x223));if(!_0x165ac3)throw new _0x219767(_0x2959ba(0x240),this);return _0x165ac3;}async[_0x87b24e(0x2e6)](_0x19ef6e){const _0x844007=_0x87b24e;try{this[_0x844007(0x1c8)][_0x844007(0x317)](),await this[_0x844007(0x1fd)](_0x19ef6e);}catch(_0x1877c5){this[_0x844007(0x1c8)][_0x844007(0x249)]({'errorMessage':_0x381c56(this[_0x844007(0x2ca)][_0x844007(0x232)],_0x844007(0x2c1)),'id':_0x19ef6e||_0x489566()}),console[_0x844007(0x305)](_0x1877c5),this[_0x844007(0x1d3)]=void 0x0,this[_0x844007(0x1c8)][_0x844007(0x25b)]();}}async[_0x87b24e(0x1fd)](_0x5793b4){const _0x3c6bd6=_0x87b24e,_0x3024ca=this[_0x3c6bd6(0x2ca)][_0x3c6bd6(0x29f)][_0x3c6bd6(0x1c0)](_0x1169da);let _0x2e1858;_0x3024ca[_0x3c6bd6(0x2c5)]&&_0x3024ca[_0x3c6bd6(0x29e)](),_0x5793b4||!this[_0x3c6bd6(0x1d3)]?_0x2e1858=this[_0x3c6bd6(0x2ca)][_0x3c6bd6(0x31f)][_0x3c6bd6(0x1c0)](_0x3c6bd6(0x1e9)):this[_0x3c6bd6(0x1c8)][_0x3c6bd6(0x274)]&&(_0x2e1858=this[_0x3c6bd6(0x1d3)][_0x3c6bd6(0x235)]['id']),await this[_0x3c6bd6(0x246)]();const _0x51bc06=this[_0x3c6bd6(0x22e)](),_0x328a3d=_0x5793b4||_0x489566();this[_0x3c6bd6(0x1d3)]=new _0x57bac1({'connector':this[_0x3c6bd6(0x1bf)],'chatModels':this[_0x3c6bd6(0x2fa)],'selectedModelId':_0x2e1858,'conversationId':_0x328a3d,'group':_0x51bc06,'getEditor':()=>_0x3a659a(this[_0x3c6bd6(0x2ca)])}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x1e6),(_0x290681,_0x138fa8)=>{const _0x4b1d4d=_0x3c6bd6;this[_0x4b1d4d(0x1c8)][_0x4b1d4d(0x2c0)](_0x138fa8),this[_0x4b1d4d(0x1c8)][_0x4b1d4d(0x211)](),this[_0x4b1d4d(0x1c8)][_0x4b1d4d(0x278)](),this[_0x4b1d4d(0x1c8)][_0x4b1d4d(0x27c)](),_0x5793b4||(this[_0x4b1d4d(0x1c8)][_0x4b1d4d(0x262)](),this[_0x4b1d4d(0x1d3)]?.[_0x4b1d4d(0x280)](_0x381c56(this[_0x4b1d4d(0x2ca)][_0x4b1d4d(0x232)],_0x4b1d4d(0x2bd))));}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x23a),(_0xf15c1f,_0x15f8f0)=>{const _0x33c851=_0x3c6bd6;this[_0x33c851(0x1c8)][_0x33c851(0x273)](_0x15f8f0[_0x33c851(0x2b8)]);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x2d0),(_0x36454b,_0x5a0855)=>{const _0x1328e6=_0x3c6bd6;this[_0x1328e6(0x1c8)][_0x1328e6(0x1e7)](_0x5a0855);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x1ca),()=>{const _0x79e03f=_0x3c6bd6;this[_0x79e03f(0x1c8)][_0x79e03f(0x22d)]({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x322),()=>{const _0x41af16=_0x3c6bd6;this[_0x41af16(0x1c8)][_0x41af16(0x22d)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x1ea),(_0x33885f,_0x165120)=>{const _0x3c0190=_0x3c6bd6;this[_0x3c0190(0x1c8)][_0x3c0190(0x1e5)](_0x165120,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x293),(_0x2366b4,_0x4b31ad)=>{const _0x4be6de=_0x3c6bd6;this[_0x4be6de(0x1c8)][_0x4be6de(0x1e5)](_0x4b31ad,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x1be),()=>{const _0xb5d3d2=_0x3c6bd6;this[_0xb5d3d2(0x1c8)][_0xb5d3d2(0x300)]();}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x1c1),async()=>{const _0xde3449=_0x3c6bd6;await this[_0xde3449(0x1c8)][_0xde3449(0x26f)]();}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x28a),(_0x1a8da0,_0x428f7d)=>{const _0x5c1ecd=_0x3c6bd6;this[_0x5c1ecd(0x1c8)][_0x5c1ecd(0x2d1)](_0x428f7d['id']);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x2bc),(_0x52f994,_0x6b0bf4,_0x5d0f48)=>{const _0x2d53f9=_0x3c6bd6;this[_0x2d53f9(0x1e8)](_0x6b0bf4,_0x5d0f48);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x2cf),(_0x17b933,_0xc8865d)=>{const _0x4e69fe=_0x3c6bd6;_0x4e69fe(0x2b9)===_0xc8865d[_0x4e69fe(0x2af)]?this[_0x4e69fe(0x1c8)][_0x4e69fe(0x2ed)](_0xc8865d):this[_0x4e69fe(0x1c8)][_0x4e69fe(0x1d2)](_0xc8865d);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x321),async(_0x542d0e,_0x5ddac3)=>{const _0x2eb71a=_0x3c6bd6;await this[_0x2eb71a(0x1f1)]({'reply':_0x5ddac3});}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x312),(_0x5dec24,{reply:_0x4365e7,index:_0x484655,state:_0x243774})=>{const _0x305cfc=_0x3c6bd6;this[_0x305cfc(0x1c8)][_0x305cfc(0x2dc)]({'id':_0x4365e7['id'],'index':_0x484655,'state':_0x243774});}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x1f2),(_0x19a230,_0x4e6d2a)=>{const _0x54811b=_0x3c6bd6;if(this[_0x54811b(0x1c8)][_0x54811b(0x239)](_0x4e6d2a[_0x54811b(0x2ad)],_0x4e6d2a[_0x54811b(0x285)]),_0x54811b(0x231)===_0x4e6d2a[_0x54811b(0x2ad)][_0x54811b(0x2af)]){const _0xc01c87=[..._0x3a659a(this[_0x54811b(0x2ca)])[_0x54811b(0x1f6)][_0x54811b(0x216)][_0x54811b(0x231)][_0x54811b(0x277)]()];this[_0x54811b(0x2ec)][_0x54811b(0x225)](_0xc01c87,_0x54811b(0x2bb)+this[_0x54811b(0x1d3)]?.['id']);}}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x210),(_0x42d13a,_0x596823)=>{const _0x46096a=_0x3c6bd6;this[_0x46096a(0x1c8)][_0x46096a(0x2a9)](_0x596823[_0x46096a(0x2d3)]),_0x46096a(0x2f7)==_0x596823[_0x46096a(0x2d3)]&&this[_0x46096a(0x1f7)](),_0x46096a(0x231)===_0x596823[_0x46096a(0x2af)]&&this[_0x46096a(0x2ec)][_0x46096a(0x2d7)](_0x46096a(0x2bb)+this[_0x46096a(0x1d3)]?.['id']);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x2e3),(_0x35e2d9,_0x515749)=>{const _0x2767d6=_0x3c6bd6;this[_0x2767d6(0x1c8)][_0x2767d6(0x203)](_0x515749[_0x2767d6(0x2ad)][_0x2767d6(0x2d3)],_0x515749[_0x2767d6(0x285)]);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x1ed),(_0x331df5,_0x17da0a)=>{const _0x2e0578=_0x3c6bd6;this[_0x2e0578(0x1c8)][_0x2e0578(0x244)](_0x17da0a[_0x2e0578(0x2b7)]);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x271),(_0x51204b,_0x2c16fe)=>{const _0x4cc95f=_0x3c6bd6;this[_0x4cc95f(0x1c8)][_0x4cc95f(0x1fb)](_0x2c16fe[_0x4cc95f(0x266)]);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x2ea),(_0x381ff5,_0x5cfa48)=>{const _0x251d88=_0x3c6bd6;this[_0x251d88(0x1c8)][_0x251d88(0x259)](_0x5cfa48[_0x251d88(0x301)],_0x5cfa48[_0x251d88(0x22b)],_0x5cfa48[_0x251d88(0x2f2)],_0x5cfa48[_0x251d88(0x318)]);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x2b0),(_0x5d89d4,_0x51cee6)=>{const _0x136e98=_0x3c6bd6;this[_0x136e98(0x1c8)][_0x136e98(0x28c)](_0x51cee6[_0x136e98(0x301)],_0x51cee6[_0x136e98(0x20b)],_0x51cee6[_0x136e98(0x306)]);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x315),(_0x4c9718,_0x223e90)=>{const _0x1d1507=_0x3c6bd6;this[_0x1d1507(0x1c8)][_0x1d1507(0x21e)](_0x223e90);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x255),(_0x22b281,_0x483184)=>{const _0x3f72d1=_0x3c6bd6;this[_0x3f72d1(0x1c8)][_0x3f72d1(0x1ee)](_0x483184[_0x3f72d1(0x235)],_0x483184[_0x3f72d1(0x224)]);}),this[_0x3c6bd6(0x1d3)]['on'](_0x3c6bd6(0x305),(_0x26d7ec,{error:_0x3cc773,interactionId:_0x35d769,fileName:_0x3cc028,url:_0x2009f9,sourceId:_0x55711b,sourceLabel:_0x85a1eb})=>{const _0x1f4724=_0x3c6bd6,_0x78cc82=_0x35d769?_0x35d769+':'+_0x489566():_0x489566();_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x2a3))?this[_0x1f4724(0x1c8)][_0x1f4724(0x30a)]({'staticMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x292)),'id':_0x78cc82}):_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x221))||_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x294))?(this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x2c1)),'id':_0x78cc82}),this[_0x1f4724(0x2cd)](_0x3cc773)):_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x1df))?this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x2c4),_0x3cc028),'id':_0x78cc82}):_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x2db))?this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x1c5),_0x2009f9),'id':_0x78cc82}):_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x2f8))?this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x303)),'id':_0x78cc82}):_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x2da))?this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x296)),'id':_0x78cc82}):_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x2e4))?(_0x55711b&&this[_0x1f4724(0x1c8)][_0x1f4724(0x251)](_0x55711b),this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x1cd),_0x85a1eb||_0x1f4724(0x22b)),'id':_0x78cc82}),this[_0x1f4724(0x2cd)](_0x3cc773)):_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x20f))?(this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x1f5)),'id':_0x78cc82}),this[_0x1f4724(0x2cd)](_0x3cc773)):_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x2fb))?(this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x241)),'id':_0x78cc82}),this[_0x1f4724(0x2cd)](_0x3cc773)):_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x2e7))?(this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x2ac)),'id':_0x78cc82}),this[_0x1f4724(0x2cd)](_0x3cc773)):_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x207))?(this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x212)),'id':_0x78cc82}),this[_0x1f4724(0x2cd)](_0x3cc773)):_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x291))?(this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x1fe)),'id':_0x78cc82}),this[_0x1f4724(0x2cd)](_0x3cc773)):_0x3cc773[_0x1f4724(0x2a0)][_0x1f4724(0x261)](_0x1f4724(0x2e1))?(this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x245)),'id':_0x78cc82}),this[_0x1f4724(0x2cd)](_0x3cc773)):(this[_0x1f4724(0x1c8)][_0x1f4724(0x249)]({'errorMessage':_0x381c56(this[_0x1f4724(0x2ca)][_0x1f4724(0x232)],_0x1f4724(0x1e4)),'id':_0x78cc82}),this[_0x1f4724(0x2cd)](_0x3cc773));}),await this[_0x3c6bd6(0x1d3)][_0x3c6bd6(0x1c4)](this[_0x3c6bd6(0x2ca)][_0x3c6bd6(0x31f)][_0x3c6bd6(0x1c0)](_0x3c6bd6(0x323))),_0x5793b4||await this[_0x3c6bd6(0x1d3)][_0x3c6bd6(0x256)]();}async[_0x87b24e(0x31d)]({userMessage:_0xd3358f,quickActionData:_0x28cad6}){const _0x67d9f6=_0x87b24e;if(!this[_0x67d9f6(0x1d3)])throw new _0x219767(_0x67d9f6(0x309));this[_0x67d9f6(0x1d3)][_0x67d9f6(0x282)]()&&await this[_0x67d9f6(0x1d3)][_0x67d9f6(0x31e)](this[_0x67d9f6(0x2ec)][_0x67d9f6(0x2fd)]()),this[_0x67d9f6(0x1d3)]['id']&&this[_0x67d9f6(0x1d3)][_0x67d9f6(0x24e)]&&await this[_0x67d9f6(0x1d3)][_0x67d9f6(0x26a)]({'userMessage':_0xd3358f,'quickActionData':_0x28cad6}),this[_0x67d9f6(0x1fa)]();}[_0x87b24e(0x1fa)](){const _0x1947d8=_0x87b24e,_0x477500=_0x3a659a(this[_0x1947d8(0x2ca)])[_0x1947d8(0x1f6)],_0x57990a=Array[_0x1947d8(0x218)](_0x477500[_0x1947d8(0x326)][_0x1947d8(0x217)](_0x4cfafd));_0x477500[_0x1947d8(0x1d6)](_0x45505e=>{const _0x3b1701=_0x1947d8;_0x57990a[_0x3b1701(0x2b2)](_0x402ff1=>_0x45505e[_0x3b1701(0x1f9)](_0x402ff1));});}[_0x87b24e(0x281)](){const _0xf628df=_0x87b24e;console[_0xf628df(0x1c9)](_0xf628df(0x1d9));}[_0x87b24e(0x279)](_0x280e86){const _0x1fc6f3=_0x87b24e;this[_0x1fc6f3(0x1c8)][_0x1fc6f3(0x23b)](_0x280e86);}[_0x87b24e(0x2cd)](_0x2550c7){const _0x53e238=_0x87b24e;_0x456fd9(_0x2550c7[_0x53e238(0x2a0)]);}[_0x87b24e(0x22f)](_0x496e93){const _0x3108d0=_0x87b24e;this[_0x3108d0(0x1d3)]?.[_0x3108d0(0x242)](_0x496e93);}[_0x87b24e(0x327)](){const _0x12f07f=_0x87b24e;this[_0x12f07f(0x1d3)]?.[_0x12f07f(0x22c)]();}[_0x87b24e(0x2fc)](){const _0x3051df=_0x87b24e;this[_0x3051df(0x1d3)]?.[_0x3051df(0x222)]();}[_0x87b24e(0x1bd)](_0x388fe3){const _0x9c109d=_0x87b24e,[_0x4d6a41,_0x208747]=_0x388fe3[_0x9c109d(0x1d8)](':'),_0x2b4f4b=this[_0x9c109d(0x1d3)][_0x9c109d(0x1ec)](_0x4d6a41),_0x117206=_0x2b4f4b[_0x9c109d(0x325)](_0x208747);return{'interaction':_0x2b4f4b,'reply':_0x117206};}[_0x87b24e(0x2a6)](_0x1ed912,_0x161f4f=!0x1){const _0x5ac4fd=_0x87b24e,_0x3f92a1=_0x3a659a(this[_0x5ac4fd(0x2ca)]),_0xdf7b2c={'target':_0x3f92a1[_0x5ac4fd(0x208)][_0x5ac4fd(0x236)][_0x5ac4fd(0x2cb)][_0x5ac4fd(0x20c)](_0x3f92a1[_0x5ac4fd(0x208)][_0x5ac4fd(0x304)][_0x5ac4fd(0x27e)](_0x1ed912)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x161f4f};_0x161f4f&&(_0xdf7b2c[_0x5ac4fd(0x2eb)]=!0x0),_0x5724a9(_0xdf7b2c);}[_0x87b24e(0x1e8)](_0x37a6ef,_0x4c2e1d=!0x1){const _0x1bfcb9=_0x87b24e;this[_0x1bfcb9(0x1c8)][_0x1bfcb9(0x2bc)](_0x37a6ef||_0x381c56(this[_0x1bfcb9(0x2ca)][_0x1bfcb9(0x232)],_0x1bfcb9(0x206)),_0x4c2e1d);}async[_0x87b24e(0x1f1)]({reply:_0x254cfb,renderingStrategy:_0x2d3c6c}){const _0x38787d=_0x87b24e,{id:_0x12aec5,isDone:_0x5b0a5c,type:_0x3868d8,parsedContent:_0xadc5b3}=_0x254cfb;if(_0x38787d(0x2a5)===_0x3868d8){const _0x443170=_0x254cfb[_0x38787d(0x254)]({'showDiff':this[_0x38787d(0x1c8)][_0x38787d(0x275)]});await this[_0x38787d(0x1c8)][_0x38787d(0x2f4)]({'id':_0x12aec5,'parts':_0x443170,'renderingStrategy':_0x2d3c6c,'isDone':_0x5b0a5c});}else _0x38787d(0x2b9)===_0x3868d8&&await this[_0x38787d(0x1c8)][_0x38787d(0x2df)]({'id':_0x12aec5,'parsedContent':_0xadc5b3,'renderingStrategy':_0x2d3c6c,'isDone':_0x5b0a5c});_0x5b0a5c&&_0x254cfb[_0x38787d(0x2b1)][_0x38787d(0x324)]>0x0&&this[_0x38787d(0x1c8)][_0x38787d(0x26b)](_0x12aec5,_0x254cfb[_0x38787d(0x2b1)]);}async[_0x87b24e(0x246)](){const _0xfb5e13=_0x87b24e,_0xc9eaf0=this[_0xfb5e13(0x1d3)]?.[_0xfb5e13(0x2d2)];_0xc9eaf0&&(_0xc9eaf0[_0xfb5e13(0x1ff)](),this[_0xfb5e13(0x1c8)][_0xfb5e13(0x205)](_0xc9eaf0));}async[_0x87b24e(0x2f1)](){const _0x51b021=_0x87b24e,_0xa164d6=this[_0x51b021(0x1d3)]?.[_0x51b021(0x2d2)];if(_0xa164d6){for await(const _0x4b4aec of _0xa164d6[_0x51b021(0x2ef)])await this[_0x51b021(0x1f1)]({'reply':_0x4b4aec,'renderingStrategy':_0x51b021(0x2c7)});}}[_0x87b24e(0x26e)](_0x6bbc5e){const _0x481e53=_0x87b24e,_0x25a00d={'positiveCount':_0x6bbc5e[_0x481e53(0x21b)][_0x481e53(0x302)](_0x3aa3bb=>_0x481e53(0x30c)===_0x3aa3bb[_0x481e53(0x308)])[_0x481e53(0x324)],'totalCount':_0x6bbc5e[_0x481e53(0x21b)][_0x481e53(0x324)],'modificationId':_0x6bbc5e['id']},_0x3e1395=this[_0x481e53(0x1d3)][_0x481e53(0x1ec)](_0x6bbc5e[_0x481e53(0x329)])[_0x481e53(0x220)];this[_0x481e53(0x1bf)][_0x481e53(0x2e8)](this[_0x481e53(0x1d3)]['id'],_0x3e1395,_0x25a00d);}}
23
+ const _0x8c2602=_0x4186;(function(_0x25c7aa,_0xb70bcb){const _0x1a3abe=_0x4186,_0x563426=_0x25c7aa();while(!![]){try{const _0x34e005=-parseInt(_0x1a3abe(0x149))/0x1+-parseInt(_0x1a3abe(0x1da))/0x2*(parseInt(_0x1a3abe(0x16a))/0x3)+parseInt(_0x1a3abe(0x191))/0x4*(-parseInt(_0x1a3abe(0x1f2))/0x5)+-parseInt(_0x1a3abe(0x12a))/0x6*(parseInt(_0x1a3abe(0x18a))/0x7)+parseInt(_0x1a3abe(0x23d))/0x8+-parseInt(_0x1a3abe(0xfe))/0x9+parseInt(_0x1a3abe(0x11d))/0xa;if(_0x34e005===_0xb70bcb)break;else _0x563426['push'](_0x563426['shift']());}catch(_0x2f4db8){_0x563426['push'](_0x563426['shift']());}}}(_0x424e,0xb138d));import{ContextPlugin as _0x2c9326,Editor as _0x5bc23b}from'ckeditor5/src/core.js';import{BodyCollection as _0x2bcdab}from'ckeditor5/src/ui.js';import{CKEditorError as _0x2a84dd,logError as _0x2d378d,scrollViewportToShowTarget as _0x5de7b5,uid as _0xa18360}from'ckeditor5/src/utils.js';import{AIConnector as _0x47ceb5}from'../aicore/aiconnector.js';import{AITabs as _0x1d4d68}from'../aitabs/aitabs.js';import{AIChatConversation as _0xf13ee3}from'./model/aichatconversation.js';import{getTranslation as _0x3092a6}from'../aicore/utils/common-translations.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x189cfc}from'../aicore/aiediting.js';import{AI_REPLY_ACTIONS as _0x261985}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';function _0x424e(){const _0x308154=['destroy','ai-chat-conversation-not-found','webSearchFinished','ai-chat-conversation-init-failed','$graveyard','document','getInteraction','ai-chat-invalid-request','AIConnector','removeContextItem','insertSuggestion','updateContent','_aiEditing','156737ziRJSz','startConversation','resizedTabs','like','_handleUIUserMessage','addFileToContext','isOfficialPlugin','4uVIxNB','path','resourceId','stop','updateConversationTitle','getDiff','documentContextContent','stopInteraction','getGroupId','populateSourceResourceBalloon','interactionCreated','version','replyCreated','detachFromDom','AI_CHAT_CONTEXT_INVALID_DATA','hideFakeVisualSelection','handleRemovedConversation','updateCapabilities','markers','query','root','replyId','current-document','model','getFirstRange','rejected','createConversation','domConverter','resources','setSelectedModel','ai.chat.context','ai-chat-context-form-data-size-limits-exceeded','$root','updateResourceState','change','indexes','changes','reasoningStarted','startAutoScroll','AI_CHAT_ABORTED_MESSAGE','resize','ai-chat-controller-no-active-conversation','addContextOptionsChanged','addFeedItemError','view','lastInteraction','_scrollToSuggestionRange','startsWith','setChangeGroupState','addFeedItemAISuggestion','loadSourceResources','addSelectionToContext','_aiChatModels','toString','isLoading','_setIsMaximized','setLoadingMessage','contextItemAdded','main','addContextItem','AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','unshift','isPremiumPlugin','disableControls','partIndex','setModel','ai-chat-resource-load-failed','setConversationTitle','loadConversation','context','pending','add','_aiConnector','8Qiviwz','AI_CHAT_UNTITLED_CONVERSATION','start','getChildAtOffset','requires','options','dislike','AIChatController','_applyOperationsAsSuggestions','editing','_createFromRanges','type','cloneNode','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','activateTab','clearConversationContextUI','showChangeInText','reasoningFinished','pluginName','toggleLoadingSkeleton','index','_applySuggestion','addResourceToContext','Undo','5204725JxcCwS','_batchToChanges','ai-chat-context-file-too-large','history','DocumentCompare','toViewRange','scrollFeedToSuggestion','applyOperation','revert','findIndex','_previewedChangeGroup','ai-chat-url-upload-failed','Liked\x20response','_balloonShowDiff','_updateRatings','showPrevious','showNext','accepted','listenTo','chat','rootName','end','_removeFromContext','outdated','uid','anchorId','data','_flushLastInteractionUI','getDocumentData','ai-chat-controller-mouse-over','updateFeedItemAIReplySources','sourceId','delete','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','contextItems','toggleWebSearch','selectedModel','clearPendingContextUI','interactionId','getMarkersGroup','replyChangeGroupStateUpdated','_removeAISelectionMarkers','AI_BALLOON_HEADER_TITLE','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','get','focusPromptInput','closeSourceResourceBalloon','ai-chat-context-file-too-many-pages','createRange','sourcePosition','applySuggestion','length','error','_openBalloonFor','full','editors','stopListening','_updateReplyContent','config','maxOffset','set','parse','_stopLastInteraction','forEach','howMany','contextItem','rejectSuggestion','webSearchStarted','ai-chat-context-invalid-data','removeFromContext','setConversationContext','map','find','source','AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','5959744rMOJID','addSelectionToChatContext','node','addUrlToContext','ai.chat.models.displayedModels','setContextItemLoading','_handleStartConversation','setIsMaximized','redo','uploadProgressChanged','activeConversation','marker','AI_CHAT_UNABLE_TO_START_CONVERSATION','ai-chat-context-unsupported-type','createPositionAt','updateFeedItemAIReplySuggestionContent','static','interactionFinished','replyContentUpdated','ai-chat-file-upload-failed','isCurrentDocumentInContext','AITabs','mouseOverSuggestion','getChild','removeFeedInteraction','ai-request-aborted','abortPromptStream','getReply','getRanges','conversationInitialized','showFakeVisualSelection','getChildren','contextItemLoadingEnded','_showConversationHistory','changeGroups','viewRangeToDom','getAttribute','interactionDestroyed','slice','addFilesToContext','TrackChangesEditing','selectModel','uiId','AI_CHAT_INVALID_REQUEST','ai-no-track-changes','removeSelectionFromChatContext','ai.availableReplyActions','addOperation','isModelAvailable','resource','6238413HRgkXk','state','interactionStarted','_toggleReasoning','sendMessage','isDocumentOperation','resizeTabs','AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','getInteractionAndReplyById','getConversation','_toggleWebSearch','enableControls','isOpen','contextSent','data-id','AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','updateFeedItemAIReplySuggestionPartState','startInteraction','Showing\x20conversation\x20history...','addFeedItemStaticMessage','getContentParts','ai.chat.models.defaultModelId','getRoot','AIEditing','ai-chat-context-unsupported-file-type','locale','ai-chat-source-resources-load-failed','init','setAddContextOptions','capabilitiesUpdated','isCurrentDocumentInConversation','42020870FzZSyO','_bodyCollection','sourceResourcesLoaded','remove','_insertSuggestion','close','from','setFeedItemRenderingStrategy','addFeedItemAIReply','upsertAIChatRating','resourceStateChanged','indexOf','contextItemRemoved','246QUocDV','content','removeSelectionFromContext','afterInit','isStarted','ai-conversation-','handleUserInteraction','collaboration.channelId','AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','getDocumentContext','new','open','getPath','addDocumentToContext','selection','isUploadInProgress','AI_CHAT_RESOURCE_LOAD_FAILED','getSelectionText','replies','setIsUploadInProgress','AIChatUI','addCurrentDocumentToContext','TrackChanges','range','message','AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','getOperations','ready','nextSibling','streaming','_logError','711453WnnPRZ','resetConversationTitle','AI_CHAT_GENERIC_ERROR','ai-chat-missing-channel-id','baseVersion','_aiChatUi','removed','finishInteraction','addFeedItemUserMessage','addFeedInteractionHeader','createPositionFromPath','alignToTop','attachToDom','_startConversationSafely','resetMessageInput','showDiff','mouseLeaveSuggestion','_getDocumentRangeForReplyChanges','load','split','isInContext','updateFeedItemAIReplyContent','log','push','getTransformedByOperation','Disliked\x20response','ai-chat-conversation-start-failed','_integrateEditor','messageId','modelSelected','fetchConversation','undo','AI_CHAT_CONTEXT_FILE_TOO_LARGE','643176oTblvI','has','dialogClosed','mapper','children','plugins','updateCurrentDocumentInContext','filter','batch','toggleReasoning','hasChanges','modification-delta','toggleSuggestionDisplayMode','isDisabled','commands','text-delta','removeMarker','sources','sendUserMessage'];_0x424e=function(){return _0x308154;};return _0x424e();}import{AIModels as _0x148d51}from'../aicore/model/aimodels.js';import{getEditorFromContext as _0x3fa301}from'../aicore/utils/geteditorfromcontext.js';import{DocumentCompare as _0x42bdb4,DATA_ID_MODEL_ATTRIBUTE as _0x4e6a79}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x393cf8,getOperationsFromReply as _0x1a1d19}from'../aicore/utils/getoperationsfromreply.js';import{expandSelectionWithContext as _0x5830fc,getMinimalSelection as _0x283eab}from'../aicore/utils/getsuggestionpartsfromreply.js';import{ModelRange as _0x1d0bbd,_DetachOperation as _0x20bbc9}from'ckeditor5/src/engine.js';import{findOne as _0x336fc3,getAttribute as _0x5270e7,serialize as _0x1a5111,Document as _0xdab3ce,findByAttribute as _0x2de233}from'../aicore/utils/htmlparser.js';import{IconAI as _0x320133}from'@ckeditor/ckeditor5-icons';import{AISuggestionContainerView as _0x128223}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIBalloon as _0x50f0cf}from'../aiballoon/aiballoon.js';function _0x4186(_0x561bf2,_0x22dab2){const _0x424e39=_0x424e();return _0x4186=function(_0x4186cd,_0x118a7b){_0x4186cd=_0x4186cd-0xf7;let _0x3dce74=_0x424e39[_0x4186cd];return _0x3dce74;},_0x4186(_0x561bf2,_0x22dab2);}export class AIChatController extends _0x2c9326{[_0x8c2602(0x189)];[_0x8c2602(0x1d9)];[_0x8c2602(0x14e)];[_0x8c2602(0x1c5)];[_0x8c2602(0x1f3)]=new Map();[_0x8c2602(0x1fc)]=null;[_0x8c2602(0x1ff)]=!0x1;[_0x8c2602(0x11e)];static get[_0x8c2602(0x1de)](){return[_0x47ceb5,_0x50f0cf,_0x42bdb4];}static get[_0x8c2602(0x1ec)](){const _0x1efdff=_0x8c2602;return _0x1efdff(0x1e1);}static get[_0x8c2602(0x190)](){return!0x0;}static get[_0x8c2602(0x1cf)](){return!0x0;}[_0x8c2602(0x119)](){const _0x1e4aee=_0x8c2602;this[_0x1e4aee(0x11e)]=new _0x2bcdab(this[_0x1e4aee(0x1d6)][_0x1e4aee(0x117)]),this[_0x1e4aee(0x11e)][_0x1e4aee(0x155)](),this[_0x1e4aee(0x1d9)]=this[_0x1e4aee(0x1d6)][_0x1e4aee(0x16f)][_0x1e4aee(0x21e)](_0x1e4aee(0x185)),this[_0x1e4aee(0x14e)]=this[_0x1e4aee(0x1d6)][_0x1e4aee(0x16f)][_0x1e4aee(0x21e)](_0x1e4aee(0x13e)),this[_0x1e4aee(0x189)]=this[_0x1e4aee(0x1d6)][_0x1e4aee(0x16f)][_0x1e4aee(0x21e)](_0x1e4aee(0x115)),this[_0x1e4aee(0x1c5)]=new _0x148d51({'connector':this[_0x1e4aee(0x1d9)],'availableModels':this[_0x1e4aee(0x1d6)][_0x1e4aee(0x22c)][_0x1e4aee(0x21e)](_0x1e4aee(0x241)),'defaultModelId':this[_0x1e4aee(0x1d6)][_0x1e4aee(0x22c)][_0x1e4aee(0x21e)](_0x1e4aee(0x113)),'locale':this[_0x1e4aee(0x1d6)][_0x1e4aee(0x117)]});const _0x41145e=this[_0x1e4aee(0x1d6)][_0x1e4aee(0x16f)][_0x1e4aee(0x21e)](_0x1e4aee(0x252));this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x18b),()=>{const _0x438c24=_0x1e4aee;this[_0x438c24(0x156)]();}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x17c),(_0x1804d8,_0x5443f3)=>{const _0x5a8657=_0x1e4aee;this[_0x5a8657(0x18e)]({'userMessage':_0x5443f3});}),this[_0x1e4aee(0x204)](_0x41145e,_0x1e4aee(0x18c),(_0x5538e1,_0x41be27)=>{const _0x473fa6=_0x1e4aee;this[_0x473fa6(0x1c8)](_0x41be27);}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x104),()=>{const _0x464677=_0x1e4aee;_0x41145e[_0x464677(0x1b9)]();}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x257),async()=>{const _0x209771=_0x1e4aee;await this[_0x209771(0x230)](),await this[_0x209771(0x20d)](),this[_0x209771(0xf9)]();}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x137),()=>{const _0x55fcbf=_0x1e4aee;this[_0x55fcbf(0x247)]?.[_0x55fcbf(0x13f)](_0x3092a6(this[_0x55fcbf(0x1d6)][_0x55fcbf(0x117)],_0x55fcbf(0x1e7)));}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x18f),(_0x123b58,_0x3754e8)=>{const _0x13cd2a=_0x1e4aee;this[_0x13cd2a(0x247)]?.[_0x13cd2a(0x264)](Array[_0x13cd2a(0x123)](_0x3754e8));}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x240),(_0x3faa28,_0x5ed820)=>{const _0x20148e=_0x1e4aee;this[_0x20148e(0x247)]?.[_0x20148e(0x240)](_0x5ed820);}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x1f0),(_0x2f1029,_0x575f6b)=>{const _0x49e0fb=_0x1e4aee;this[_0x49e0fb(0x247)]?.[_0x49e0fb(0x1f0)](_0x575f6b[_0x49e0fb(0x23b)],_0x575f6b[_0x49e0fb(0xfd)]);}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x186),(_0x18ce2d,_0x5082eb)=>{const _0x334fe2=_0x1e4aee;this[_0x334fe2(0x208)](_0x5082eb);}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x1c3),(_0x3088d0,_0x1479d7)=>{const _0x2056f6=_0x1e4aee;this[_0x2056f6(0x247)]?.[_0x2056f6(0x1c3)](_0x1479d7[_0x2056f6(0x211)],_0x1479d7[_0x2056f6(0x1a4)],_0x1479d7[_0x2056f6(0x20a)]);}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x215),()=>{const _0x3bbc88=_0x1e4aee;this[_0x3bbc88(0x108)]();}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x173),()=>{const _0x266afd=_0x1e4aee;this[_0x266afd(0x101)]();}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x266),(_0x38676f,_0x552c33)=>{const _0x2faaac=_0x1e4aee;this[_0x2faaac(0x247)]?.[_0x2faaac(0x1d2)](_0x552c33);}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x18d),(_0x2ed433,{replyId:_0x403944})=>{const _0xc8daac=_0x1e4aee;console[_0xc8daac(0x15f)](_0xc8daac(0x1fe),_0x403944);}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x1e0),(_0x3614d1,{replyId:_0x25f576})=>{const _0x139fa0=_0x1e4aee;console[_0x139fa0(0x15f)](_0x139fa0(0x162),_0x25f576);}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x187),(_0x106ce7,_0x4136cd)=>{const _0x1374b0=_0x1e4aee;this[_0x1374b0(0x1d6)][_0x1374b0(0x16f)][_0x1374b0(0x21e)](_0x50f0cf)[_0x1374b0(0x122)](),this[_0x1374b0(0x121)](_0x4136cd);}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x1ea),(_0x597569,{replyId:_0x580a7b,partIndex:_0x5c1f85})=>{const _0x3aeaac=_0x1e4aee;this[_0x3aeaac(0x1ff)]=this[_0x3aeaac(0x14e)][_0x3aeaac(0x158)],this[_0x3aeaac(0x227)](_0x580a7b,_0x5c1f85);}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x253),(_0x3ab3b8,{replyId:_0xd11fe1,partIndex:_0x574c60})=>{const _0x150cce=_0x1e4aee,_0x2514dd=this[_0x150cce(0x15a)](_0xd11fe1,_0x574c60);_0x2514dd&&_0x150cce(0x181)!=_0x2514dd[_0x150cce(0x141)][_0x150cce(0x1a5)][_0x150cce(0x206)]&&this[_0x150cce(0x189)][_0x150cce(0x25b)]([_0x2514dd[_0x150cce(0x141)]],_0x150cce(0x20f));}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x159),()=>{const _0x482c41=_0x1e4aee;this[_0x482c41(0x189)][_0x482c41(0x1a0)](_0x482c41(0x20f));}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x224),(_0x4e4eb6,_0x232fc5)=>{const _0x8e140e=_0x1e4aee;this[_0x8e140e(0x1d6)][_0x8e140e(0x16f)][_0x8e140e(0x21e)](_0x50f0cf)[_0x8e140e(0x122)](),this[_0x8e140e(0x1ef)](_0x232fc5);}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x176),async(_0x14bbb4,{replyId:_0xf0e28d,showDiff:_0x3a95ee})=>{const _0x19baa5=_0x1e4aee,{reply:_0x391af5}=this[_0x19baa5(0x106)](_0xf0e28d),_0x9468e6=_0x391af5[_0x19baa5(0x112)]({'showDiff':_0x3a95ee});await this[_0x19baa5(0x14e)][_0x19baa5(0x24c)]({'id':_0x391af5['id'],'parts':_0x9468e6,'renderingStrategy':_0x19baa5(0x24d)});}),this[_0x1e4aee(0x204)](this[_0x1e4aee(0x14e)],_0x1e4aee(0x234),(_0x1da5c4,{replyId:_0xc86f6a,partIndex:_0x2011e8})=>{const _0x133d1a=_0x1e4aee;this[_0x133d1a(0x1fc)]?.[_0x133d1a(0x1a6)]==_0xc86f6a&&this[_0x133d1a(0x1fc)]?.[_0x133d1a(0x1d1)]==_0x2011e8&&this[_0x133d1a(0x1d6)][_0x133d1a(0x16f)][_0x133d1a(0x21e)](_0x50f0cf)[_0x133d1a(0x122)]();const {reply:_0x423b9b}=this[_0x133d1a(0x106)](_0xc86f6a);_0x423b9b[_0x133d1a(0x1c1)](_0x2011e8,_0x133d1a(0x1aa)),this[_0x133d1a(0x189)][_0x133d1a(0x1a0)](_0x133d1a(0x20f));});}async[_0x8c2602(0x12d)](){const _0x5f8e1b=_0x8c2602;this[_0x5f8e1b(0x1d6)]instanceof _0x5bc23b?this[_0x5f8e1b(0x164)](this[_0x5f8e1b(0x1d6)]):this[_0x5f8e1b(0x204)](this[_0x5f8e1b(0x1d6)][_0x5f8e1b(0x229)],_0x5f8e1b(0x1d8),(_0x4ffc62,_0x95efe)=>{const _0x33d353=_0x5f8e1b;_0x95efe['on'](_0x33d353(0x145),()=>{const _0x5752d0=_0x33d353;this[_0x5752d0(0x164)](_0x95efe);});}),await this[_0x5f8e1b(0x156)]();}[_0x8c2602(0x17d)](){const _0x5dd2d6=_0x8c2602;this[_0x5dd2d6(0x11e)][_0x5dd2d6(0x19e)](),super[_0x5dd2d6(0x17d)]();}[_0x8c2602(0x121)](_0x2ef43b){const _0x102f55=_0x8c2602,_0x4832d1=_0x3fa301(this[_0x102f55(0x1d6)]);if(!_0x4832d1[_0x102f55(0x16f)][_0x102f55(0x16b)](_0x102f55(0x140)))throw new _0x2a84dd(_0x102f55(0xf8),null);const _0x89c6bb=this[_0x102f55(0x1d6)][_0x102f55(0x16f)][_0x102f55(0x21e)](_0x102f55(0x1f6)),{reply:_0x5cdec2,interaction:_0x2ccf2c}=this[_0x102f55(0x106)](_0x2ef43b[_0x102f55(0x1a6)]),_0x141793=this[_0x102f55(0x15a)](_0x2ef43b[_0x102f55(0x1a6)],_0x2ef43b[_0x102f55(0x1d1)]),_0x4afbc2=void 0x0!==_0x2ef43b[_0x102f55(0x1d1)]?[_0x5cdec2[_0x102f55(0x25f)][_0x2ef43b[_0x102f55(0x1d1)]]]:_0x5cdec2[_0x102f55(0x25f)][_0x102f55(0x171)](_0x543747=>_0x102f55(0x1d7)==_0x543747[_0x102f55(0xff)]),_0x41b10a=_0x4afbc2[_0x102f55(0x239)](_0x5da67a=>_0x5cdec2[_0x102f55(0x25f)][_0x102f55(0x128)](_0x5da67a));if(!_0x141793||_0x102f55(0x181)==_0x141793[_0x102f55(0x141)][_0x102f55(0x1a5)][_0x102f55(0x206)])return void _0x41b10a[_0x102f55(0x231)](_0x3d1022=>_0x5cdec2[_0x102f55(0x1c1)](_0x3d1022,_0x102f55(0x209)));_0x41b10a[_0x102f55(0x231)](_0x44b04e=>_0x5cdec2[_0x102f55(0x1c1)](_0x44b04e,_0x102f55(0x203)));const _0x3451cb=_0x1a1d19({'editor':_0x4832d1,'reply':_0x5cdec2,'interaction':_0x2ccf2c,'groups':_0x4afbc2,'transform':!0x0,'documentCompare':_0x89c6bb,'documentCompareOptions':{'anchor':_0x102f55(0x1cb),'markDeletions':!0x0}});let _0x225faf;_0x141793&&this[_0x102f55(0x1bf)](_0x141793[_0x102f55(0x141)]),_0x4832d1[_0x102f55(0x1a8)][_0x102f55(0x1b3)](_0x3da30e=>{const _0xc3614=_0x102f55;_0x225faf=_0x3da30e[_0xc3614(0x172)],_0x4832d1[_0xc3614(0x16f)][_0xc3614(0x21e)](_0xc3614(0x265))[_0xc3614(0x1e2)](_0x3451cb),this[_0xc3614(0x189)][_0xc3614(0x1a0)](_0xc3614(0x20f));}),this[_0x102f55(0x1f3)][_0x102f55(0x22e)](_0x225faf,{'interactionId':_0x2ccf2c['id'],'replyId':_0x5cdec2['id'],'indexes':_0x41b10a[_0x102f55(0x263)]()}),this[_0x102f55(0x200)](_0x5cdec2);}[_0x8c2602(0x1ef)](_0x1f9062){const _0x461748=_0x8c2602,_0x3784fc=_0x3fa301(this[_0x461748(0x1d6)]),_0x225775=this[_0x461748(0x1d6)][_0x461748(0x16f)][_0x461748(0x21e)](_0x42bdb4),{reply:_0x3c5362,interaction:_0x34712b}=this[_0x461748(0x106)](_0x1f9062[_0x461748(0x1a6)]),_0x515858=this[_0x461748(0x15a)](_0x1f9062[_0x461748(0x1a6)],_0x1f9062[_0x461748(0x1d1)]),_0x367b64=void 0x0!==_0x1f9062[_0x461748(0x1d1)]?[_0x3c5362[_0x461748(0x25f)][_0x1f9062[_0x461748(0x1d1)]]]:_0x3c5362[_0x461748(0x25f)][_0x461748(0x171)](_0x2d1c21=>_0x461748(0x1d7)==_0x2d1c21[_0x461748(0xff)]),_0x44e691=_0x367b64[_0x461748(0x239)](_0x3af3f1=>_0x3c5362[_0x461748(0x25f)][_0x461748(0x128)](_0x3af3f1));if(!_0x515858||_0x461748(0x181)==_0x515858[_0x461748(0x141)][_0x461748(0x1a5)][_0x461748(0x206)])return void _0x44e691[_0x461748(0x231)](_0x5435fa=>_0x3c5362[_0x461748(0x1c1)](_0x5435fa,_0x461748(0x209)));_0x44e691[_0x461748(0x231)](_0x348351=>_0x3c5362[_0x461748(0x1c1)](_0x348351,_0x461748(0x203)));const _0x3e2861=_0x1a1d19({'editor':_0x3784fc,'reply':_0x3c5362,'interaction':_0x34712b,'groups':_0x367b64,'transform':!0x0,'documentCompare':_0x225775,'documentCompareOptions':{'anchor':_0x461748(0x1cb),'markDeletions':!0x1}});let _0x5d332a;_0x515858&&this[_0x461748(0x1bf)](_0x515858[_0x461748(0x141)]),_0x3784fc[_0x461748(0x1a8)][_0x461748(0x1b3)](_0x2149cd=>{const _0x661e09=_0x461748;_0x5d332a=_0x2149cd[_0x661e09(0x172)];for(const _0xa8dd8c of _0x3e2861)_0xa8dd8c[_0x661e09(0x14d)]=_0x3784fc[_0x661e09(0x1a8)][_0x661e09(0x182)][_0x661e09(0x19c)],_0x393cf8(_0x3784fc,_0xa8dd8c),_0x2149cd[_0x661e09(0x172)][_0x661e09(0xfb)](_0xa8dd8c),_0x3784fc[_0x661e09(0x1a8)][_0x661e09(0x1f9)](_0xa8dd8c);}),this[_0x461748(0x1f3)][_0x461748(0x22e)](_0x5d332a,{'interactionId':_0x34712b['id'],'replyId':_0x3c5362['id'],'indexes':_0x44e691[_0x461748(0x263)]()}),this[_0x461748(0x200)](_0x3c5362);}[_0x8c2602(0x227)](_0x30c771,_0x855ab7){const _0x1bc5d3=_0x8c2602,_0x5d27a1=_0x3fa301(this[_0x1bc5d3(0x1d6)]),_0x447222=this[_0x1bc5d3(0x15a)](_0x30c771,_0x855ab7),_0x95fd79=this[_0x1bc5d3(0x1d6)][_0x1bc5d3(0x16f)][_0x1bc5d3(0x21e)](_0x50f0cf);if(!_0x447222)return void _0x95fd79[_0x1bc5d3(0x122)]();const {range:_0x19e9db,currentIndex:_0xe68d15}=_0x447222;if(_0x1bc5d3(0x181)==_0x19e9db[_0x1bc5d3(0x1a5)][_0x1bc5d3(0x206)]){const {reply:_0x1b5066}=this[_0x1bc5d3(0x106)](_0x30c771);return _0x1b5066[_0x1bc5d3(0x1c1)](_0xe68d15,_0x1bc5d3(0x209)),void _0x95fd79[_0x1bc5d3(0x122)]();}if(this[_0x1bc5d3(0x1fc)]?.[_0x1bc5d3(0x1a6)]==_0x30c771&&this[_0x1bc5d3(0x1fc)]?.[_0x1bc5d3(0x1d1)]==_0xe68d15)return;this[_0x1bc5d3(0x22a)](_0x95fd79),this[_0x1bc5d3(0x1fc)]={'replyId':_0x30c771,'partIndex':_0xe68d15};let _0x190f46=_0x5d27a1[_0x1bc5d3(0x22c)][_0x1bc5d3(0x21e)](_0x1bc5d3(0xfa))||[..._0x261985];_0x5d27a1[_0x1bc5d3(0x16f)][_0x1bc5d3(0x16b)](_0x1bc5d3(0x140))||(_0x190f46=_0x190f46[_0x1bc5d3(0x171)](_0x31443a=>_0x1bc5d3(0x187)!=_0x31443a));const _0x151383=new _0x128223(_0x5d27a1[_0x1bc5d3(0x117)],{'showDiff':this[_0x1bc5d3(0x1ff)],'areActionsDisabled':!0x1,'miniToolbarConfig':{'showChanges':_0x1bc5d3(0x228)},'hideHeader':!0x0,'availableActions':_0x190f46},this[_0x1bc5d3(0x11e)]);this[_0x1bc5d3(0x22a)](_0x151383);const {reply:_0x156fed}=this[_0x1bc5d3(0x106)](_0x30c771),_0x593c66=_0x156fed[_0x1bc5d3(0x112)]({'showDiff':this[_0x1bc5d3(0x1ff)]})[_0x1bc5d3(0x171)](_0x159529=>_0x159529[_0x1bc5d3(0x174)]),_0x3edeea=_0x593c66[_0x1bc5d3(0x1fb)](_0x5d2d75=>_0x5d2d75[_0x1bc5d3(0x1ee)]==_0xe68d15);if(-0x1==_0x3edeea)return;const _0x3a0357=_0x593c66[_0x3edeea],_0x44ab77=_0x593c66['at']((_0x3edeea-0x1)%_0x593c66[_0x1bc5d3(0x225)])?.[_0x1bc5d3(0x1ee)],_0x4e532a=_0x593c66['at']((_0x3edeea+0x1)%_0x593c66[_0x1bc5d3(0x225)])?.[_0x1bc5d3(0x1ee)];_0x151383[_0x1bc5d3(0x188)]({'parts':[_0x3a0357],'renderingStrategy':_0x1bc5d3(0x24d)});const _0x13f53a=_0xe68d15!==_0x44ab77;this[_0x1bc5d3(0x1bf)](_0x19e9db,!0x0),_0x95fd79[_0x1bc5d3(0x135)]({'index':_0xe68d15,'title':_0x3092a6(this[_0x1bc5d3(0x1d6)][_0x1bc5d3(0x117)],_0x1bc5d3(0x21c),(_0x3edeea+0x1)[_0x1bc5d3(0x1c6)]()),'icon':_0x320133,'mainView':_0x151383,'showRotator':_0x13f53a,'showApplyButton':!0x0,'showSuggestButton':_0x5d27a1[_0x1bc5d3(0x16f)][_0x1bc5d3(0x16b)](_0x1bc5d3(0x140)),'ranges':[_0x19e9db]}),this[_0x1bc5d3(0x14e)][_0x1bc5d3(0x1f8)](_0x30c771,_0xe68d15),this[_0x1bc5d3(0x204)](_0x151383,_0x1bc5d3(0x176),(_0x39414d,{showDiff:_0x7fa6c3})=>{const _0xc9e148=_0x1bc5d3;this[_0xc9e148(0x1ff)]=_0x7fa6c3;const {reply:_0x8a6278}=this[_0xc9e148(0x106)](_0x30c771),_0x1dce5c=_0x8a6278[_0xc9e148(0x112)]({'showDiff':_0x7fa6c3,'groupIndex':_0xe68d15});_0x151383[_0xc9e148(0x188)]({'parts':_0x1dce5c,'renderingStrategy':_0xc9e148(0x24d)});}),this[_0x1bc5d3(0x204)](_0x95fd79,_0x1bc5d3(0x224),()=>{const _0x232389=_0x1bc5d3;this[_0x232389(0x1ef)]({'replyId':_0x30c771,'partIndex':_0xe68d15}),_0x13f53a?this[_0x232389(0x227)](_0x30c771,_0x4e532a):_0x95fd79[_0x232389(0x122)]();}),this[_0x1bc5d3(0x204)](_0x95fd79,_0x1bc5d3(0x187),()=>{const _0x1e7414=_0x1bc5d3;this[_0x1e7414(0x121)]({'replyId':_0x30c771,'partIndex':_0xe68d15}),_0x13f53a?this[_0x1e7414(0x227)](_0x30c771,_0x4e532a):_0x95fd79[_0x1e7414(0x122)]();}),_0x13f53a&&(this[_0x1bc5d3(0x204)](_0x95fd79,_0x1bc5d3(0x202),()=>{const _0x3a3e56=_0x1bc5d3;this[_0x3a3e56(0x227)](_0x30c771,_0x4e532a);}),this[_0x1bc5d3(0x204)](_0x95fd79,_0x1bc5d3(0x201),()=>{const _0x4a9a55=_0x1bc5d3;this[_0x4a9a55(0x227)](_0x30c771,_0x44ab77);})),this[_0x1bc5d3(0x204)](_0x95fd79,_0x1bc5d3(0x16c),()=>{const _0x37eb1c=_0x1bc5d3;this[_0x37eb1c(0x22a)](_0x95fd79),this[_0x37eb1c(0x22a)](_0x151383),this[_0x37eb1c(0x1fc)]=null;});}[_0x8c2602(0x15a)](_0x2f60d7,_0x96ad60){const _0x536c9e=_0x8c2602,_0x57db58=_0x3fa301(this[_0x536c9e(0x1d6)]),{reply:_0x15e1c4,interaction:_0x4de4eb}=this[_0x536c9e(0x106)](_0x2f60d7),_0x1bb0c9=_0x15e1c4[_0x536c9e(0x25f)][_0x536c9e(0x171)](_0x3e2d75=>_0x536c9e(0x1d7)==_0x3e2d75[_0x536c9e(0xff)]),_0x1fd5e4=_0x1bb0c9[_0x536c9e(0x239)](_0x3432b0=>_0x15e1c4[_0x536c9e(0x25f)][_0x536c9e(0x128)](_0x3432b0));void 0x0===_0x96ad60&&(_0x96ad60=_0x1fd5e4[0x0]);const _0x58290d=_0x1fd5e4[_0x536c9e(0x128)](_0x96ad60);if(-0x1==_0x58290d)return null;const _0x13df2f=_0x1bb0c9[_0x58290d],_0x5e3185=new _0xdab3ce([]),_0x39329a=new _0xdab3ce([]);for(const _0x820725 of _0x13df2f[_0x536c9e(0x1b5)])if(_0x536c9e(0x14f)!=_0x820725[_0x536c9e(0x1e5)]&&_0x39329a[_0x536c9e(0x16e)][_0x536c9e(0x160)](_0x820725[_0x536c9e(0x23f)][_0x536c9e(0x1e6)](!0x0)),_0x536c9e(0x134)!=_0x820725[_0x536c9e(0x1e5)]){const _0x23d6f6=_0x336fc3(_0x3b63ed=>_0x5270e7(_0x3b63ed,_0x536c9e(0x10c))==_0x820725['id'],_0x15e1c4[_0x536c9e(0x197)],!0x0);_0x5e3185[_0x536c9e(0x16e)][_0x536c9e(0x160)](_0x23d6f6[_0x536c9e(0x1e6)](!0x0));}if(0x0==_0x5e3185[_0x536c9e(0x16e)][_0x536c9e(0x225)]){if(_0x13df2f[_0x536c9e(0x1b5)][0x0][_0x536c9e(0x20b)]){const _0x1517f8=_0x2de233(_0x536c9e(0x10c),_0x13df2f[_0x536c9e(0x1b5)][0x0][_0x536c9e(0x20b)],_0x15e1c4[_0x536c9e(0x197)]);_0x5e3185[_0x536c9e(0x16e)][_0x536c9e(0x1ce)](_0x1517f8[_0x536c9e(0x1e6)](!0x0)),_0x39329a[_0x536c9e(0x16e)][_0x536c9e(0x1ce)](_0x1517f8[_0x536c9e(0x1e6)](!0x0)),_0x1517f8[_0x536c9e(0x146)]&&(_0x5e3185[_0x536c9e(0x16e)][_0x536c9e(0x160)](_0x1517f8[_0x536c9e(0x146)][_0x536c9e(0x1e6)](!0x0)),_0x39329a[_0x536c9e(0x16e)][_0x536c9e(0x160)](_0x1517f8[_0x536c9e(0x146)][_0x536c9e(0x1e6)](!0x0)));}else{const _0x4b3fbd=_0x15e1c4[_0x536c9e(0x197)][_0x536c9e(0x16e)][0x0];if(!_0x4b3fbd)return null;_0x5e3185[_0x536c9e(0x16e)][_0x536c9e(0x160)](_0x4b3fbd[_0x536c9e(0x1e6)](!0x0)),_0x39329a[_0x536c9e(0x16e)][_0x536c9e(0x160)](_0x4b3fbd[_0x536c9e(0x1e6)](!0x0));}}const _0xb5a2b5=_0x4de4eb[_0x536c9e(0x133)](),_0x43a847=_0x57db58[_0x536c9e(0x20c)][_0x536c9e(0x22f)](_0xb5a2b5[_0x536c9e(0x12b)],_0x536c9e(0x1b1)),_0x11e356=_0x1a5111(_0x5e3185),_0x5460d8=_0x57db58[_0x536c9e(0x20c)][_0x536c9e(0x22f)](_0x11e356),_0x168b13=_0x57db58[_0x536c9e(0x20c)][_0x536c9e(0x22f)](_0x11e356),_0x4487f8=_0x57db58[_0x536c9e(0x1a8)][_0x536c9e(0x24b)](_0x5460d8,0x0),_0x334b5e=_0x1a5111(_0x39329a),_0x5d17ed={'anchor':_0x4487f8,'markDeletions':!0x1,'context':_0x536c9e(0x1b1)},_0x217790=_0x57db58[_0x536c9e(0x16f)][_0x536c9e(0x21e)](_0x42bdb4)[_0x536c9e(0x196)](_0x11e356,_0x334b5e,_0x5d17ed)[_0x536c9e(0x144)]();if(!_0x217790[_0x536c9e(0x225)])return null;_0x57db58[_0x536c9e(0x1a8)][_0x536c9e(0x1b3)](_0x43225f=>{const _0x53855f=_0x536c9e;for(const _0x5424f6 of _0x217790)if(_0x53855f(0x120)==_0x5424f6[_0x53855f(0x1e5)]){const _0x369ff6=_0x5424f6[_0x53855f(0x223)],_0x1d1a44=_0x5424f6[_0x53855f(0x232)],_0x1aa6df=new _0x20bbc9(_0x369ff6,_0x1d1a44);_0x43225f[_0x53855f(0x172)][_0x53855f(0xfb)](_0x1aa6df),_0x57db58[_0x53855f(0x1a8)][_0x53855f(0x1f9)](_0x1aa6df);}else _0x53855f(0x248)!==_0x5424f6[_0x53855f(0x1e5)]&&(_0x5424f6[_0x53855f(0x14d)]=null,_0x5424f6[_0x53855f(0x103)]=!0x1,_0x43225f[_0x53855f(0x172)][_0x53855f(0xfb)](_0x5424f6),_0x57db58[_0x53855f(0x1a8)][_0x53855f(0x1f9)](_0x5424f6));});const _0x4449c9=_0x283eab(_0x57db58,_0x217790,_0x5460d8);_0x5830fc(_0x57db58[_0x536c9e(0x1a8)],_0x4449c9);const _0x186a4c=_0x4449c9[_0x536c9e(0x1a9)]()[_0x536c9e(0x1dc)][_0x536c9e(0x192)][_0x536c9e(0x263)](),_0xfc4005=_0x4449c9[_0x536c9e(0x1a9)]()[_0x536c9e(0x207)][_0x536c9e(0x192)][_0x536c9e(0x263)](),_0x82fa52=[];let _0x5281e9=_0x5460d8,_0x3fdcc6=_0x168b13;for(let _0x6287dd=0x0;_0x6287dd<_0xfc4005[_0x536c9e(0x225)];_0x6287dd++){const _0x77a35=_0x5281e9[_0x536c9e(0x22d)]-_0xfc4005[_0x6287dd];_0x82fa52[_0x6287dd]=_0x3fdcc6[_0x536c9e(0x22d)]-_0x77a35,_0x5281e9=_0x5281e9[_0x536c9e(0x1dd)](_0xfc4005[_0x6287dd]),_0x3fdcc6=_0x3fdcc6[_0x536c9e(0x1dd)](_0x82fa52[_0x6287dd]);}const _0x7ad698=_0x57db58[_0x536c9e(0x1a8)][_0x536c9e(0x222)](_0x57db58[_0x536c9e(0x1a8)][_0x536c9e(0x153)](_0x168b13,_0x186a4c),_0x57db58[_0x536c9e(0x1a8)][_0x536c9e(0x153)](_0x168b13,_0x82fa52)),_0x51eeed=_0x168b13[_0x536c9e(0x254)](0x0)[_0x536c9e(0x261)](_0x4e6a79),_0x3a1ca5=Array[_0x536c9e(0x123)](_0x43a847[_0x536c9e(0x25c)]())[_0x536c9e(0x23a)](_0x243699=>_0x243699[_0x536c9e(0x261)](_0x4e6a79)==_0x51eeed)[_0x536c9e(0x136)](),_0x15e374=_0x7ad698[_0x536c9e(0x1dc)][_0x536c9e(0x192)][_0x536c9e(0x263)](),_0x2d5a74=_0x7ad698[_0x536c9e(0x207)][_0x536c9e(0x192)][_0x536c9e(0x263)]();_0x15e374[0x0]=_0x3a1ca5[0x0]+_0x15e374[0x0],_0x2d5a74[0x0]=_0x3a1ca5[0x0]+_0x2d5a74[0x0];let _0x3e93d0=_0x57db58[_0x536c9e(0x1a8)][_0x536c9e(0x222)](_0x57db58[_0x536c9e(0x1a8)][_0x536c9e(0x153)](_0x57db58[_0x536c9e(0x1a8)][_0x536c9e(0x182)][_0x536c9e(0x114)](),_0x15e374),_0x57db58[_0x536c9e(0x1a8)][_0x536c9e(0x153)](_0x57db58[_0x536c9e(0x1a8)][_0x536c9e(0x182)][_0x536c9e(0x114)](),_0x2d5a74));const _0x5a15bc=_0x57db58[_0x536c9e(0x1a8)][_0x536c9e(0x182)][_0x536c9e(0x1f5)][_0x536c9e(0x144)](_0xb5a2b5[_0x536c9e(0x19c)]);for(const _0xd6a948 of _0x5a15bc)_0x3e93d0=_0x1d0bbd[_0x536c9e(0x1e4)](_0x3e93d0[_0x536c9e(0x161)](_0xd6a948));return{'range':_0x3e93d0,'currentIndex':_0x96ad60};}[_0x8c2602(0x164)](_0x15cd5b){const _0x234e89=_0x8c2602;if(!_0x15cd5b[_0x234e89(0x16f)][_0x234e89(0x16b)](_0x234e89(0x1f1)))return;const _0x226052=_0x15cd5b[_0x234e89(0x178)][_0x234e89(0x21e)](_0x234e89(0x168)),_0x49ce3f=_0x15cd5b[_0x234e89(0x178)][_0x234e89(0x21e)](_0x234e89(0x245));this[_0x234e89(0x204)](_0x226052,_0x234e89(0x1fa),(_0xbe7a7e,_0x1cff65,_0x49fed4)=>{const _0x1d0cfe=_0x234e89,_0x159902=this[_0x1d0cfe(0x1f3)][_0x1d0cfe(0x21e)](_0x1cff65);if(!_0x159902)return;const _0x8053=this[_0x1d0cfe(0x247)][_0x1d0cfe(0x183)](_0x159902[_0x1d0cfe(0x218)])[_0x1d0cfe(0x258)](_0x159902[_0x1d0cfe(0x1a6)]);_0x159902[_0x1d0cfe(0x1b4)][_0x1d0cfe(0x231)](_0x2c7a82=>_0x8053[_0x1d0cfe(0x1c1)](_0x2c7a82,_0x1d0cfe(0x1d7))),this[_0x1d0cfe(0x1f3)][_0x1d0cfe(0x212)](_0x1cff65),this[_0x1d0cfe(0x1f3)][_0x1d0cfe(0x22e)](_0x49fed4,_0x159902);}),this[_0x234e89(0x204)](_0x49ce3f,_0x234e89(0x1fa),(_0x240e85,_0x12c5a3,_0x4af30d)=>{const _0x583104=_0x234e89,_0x5010ae=this[_0x583104(0x1f3)][_0x583104(0x21e)](_0x12c5a3);if(!_0x5010ae)return;const _0x5940e2=this[_0x583104(0x247)][_0x583104(0x183)](_0x5010ae[_0x583104(0x218)])[_0x583104(0x258)](_0x5010ae[_0x583104(0x1a6)]);_0x5010ae[_0x583104(0x1b4)][_0x583104(0x231)](_0x521cdb=>_0x5940e2[_0x583104(0x1c1)](_0x521cdb,_0x583104(0x203))),this[_0x583104(0x1f3)][_0x583104(0x212)](_0x12c5a3),this[_0x583104(0x1f3)][_0x583104(0x22e)](_0x4af30d,_0x5010ae);});}async[_0x8c2602(0x1d5)](_0x3bf0fa){const _0x45ca6d=_0x8c2602;this[_0x45ca6d(0x1d6)][_0x45ca6d(0x16f)][_0x45ca6d(0x21e)](_0x50f0cf)[_0x45ca6d(0x122)](),this[_0x45ca6d(0x14e)][_0x45ca6d(0x124)](_0x45ca6d(0x24d)),this[_0x45ca6d(0x14e)][_0x45ca6d(0x1ed)](!0x0),await this[_0x45ca6d(0x230)]();try{await this[_0x45ca6d(0x1d9)][_0x45ca6d(0x167)](_0x3bf0fa)[_0x45ca6d(0x107)](),await this[_0x45ca6d(0x156)](_0x3bf0fa),this[_0x45ca6d(0x195)]('\x20');const {sessionId:_0x3d582a}=this[_0x45ca6d(0x189)][_0x45ca6d(0x20e)]();await this[_0x45ca6d(0x247)][_0x45ca6d(0x15b)](_0x3bf0fa,_0x3d582a),this[_0x45ca6d(0x247)][_0x45ca6d(0x11c)]()&&this[_0x45ca6d(0x247)][_0x45ca6d(0x13f)](_0x3092a6(this[_0x45ca6d(0x1d6)][_0x45ca6d(0x117)],_0x45ca6d(0x1e7)));}catch(_0x39bec2){this[_0x45ca6d(0x14e)][_0x45ca6d(0x1bc)]({'errorMessage':_0x3092a6(this[_0x45ca6d(0x1d6)][_0x45ca6d(0x117)],_0x45ca6d(0x132)),'id':_0x3bf0fa}),this[_0x45ca6d(0x148)](new _0x2a84dd(_0x45ca6d(0x17e),this,{'error':_0x39bec2}));}finally{this[_0x45ca6d(0x1d6)][_0x45ca6d(0x16f)][_0x45ca6d(0x21e)](_0x1d4d68)[_0x45ca6d(0x1bd)][_0x45ca6d(0x1e8)](_0x45ca6d(0x205)),this[_0x45ca6d(0x14e)][_0x45ca6d(0x1b7)](),this[_0x45ca6d(0x14e)][_0x45ca6d(0x124)](_0x45ca6d(0x147)),this[_0x45ca6d(0x14e)][_0x45ca6d(0x1ed)](!0x1);}}[_0x8c2602(0x1a1)](_0x4a6fc5){const _0x1f1b09=_0x8c2602;this[_0x1f1b09(0x247)]['id']===_0x4a6fc5&&this[_0x1f1b09(0x156)]();}async[_0x8c2602(0x23e)](){const _0x5ebdce=_0x8c2602,_0x17988a=this[_0x5ebdce(0x189)][_0x5ebdce(0x13b)]();this[_0x5ebdce(0x247)]?.[_0x5ebdce(0x1c4)](_0x17988a),this[_0x5ebdce(0x247)]?.[_0x5ebdce(0x13f)](_0x3092a6(this[_0x5ebdce(0x1d6)][_0x5ebdce(0x117)],_0x5ebdce(0x1e7)));}[_0x8c2602(0xf9)](){const _0x5f228e=_0x8c2602;this[_0x5f228e(0x247)]?.[_0x5f228e(0x12c)]();}[_0x8c2602(0x21f)](){const _0x2b4d2f=_0x8c2602;this[_0x2b4d2f(0x14e)][_0x2b4d2f(0x21f)]();}async[_0x8c2602(0x18b)](){const _0x16fdd7=_0x8c2602;await this[_0x16fdd7(0x156)]();}async[_0x8c2602(0x102)]({message:_0x4dc785,quickActionData:_0x272a03}){const _0x191d81=_0x8c2602;await this[_0x191d81(0x18e)]({'userMessage':_0x4dc785,'quickActionData':_0x272a03});}[_0x8c2602(0x199)](){const _0x2e07b8=_0x8c2602,_0x4dd364=this[_0x2e07b8(0x1d6)][_0x2e07b8(0x22c)][_0x2e07b8(0x21e)](_0x2e07b8(0x131));if(!_0x4dd364)throw new _0x2a84dd(_0x2e07b8(0x14c),this);return _0x4dd364;}async[_0x8c2602(0x156)](_0x442b3f){const _0x44a809=_0x8c2602;try{this[_0x44a809(0x14e)][_0x44a809(0x109)](),await this[_0x44a809(0x243)](_0x442b3f);}catch(_0x16d1b1){this[_0x44a809(0x14e)][_0x44a809(0x1bc)]({'errorMessage':_0x3092a6(this[_0x44a809(0x1d6)][_0x44a809(0x117)],_0x44a809(0x249)),'id':_0x442b3f||_0xa18360()}),console[_0x44a809(0x226)](_0x16d1b1),this[_0x44a809(0x247)]=void 0x0,this[_0x44a809(0x14e)][_0x44a809(0x1d0)]();}}async[_0x8c2602(0x243)](_0x3212a3){const _0x38b159=_0x8c2602,_0x4794a1=this[_0x38b159(0x1d6)][_0x38b159(0x16f)][_0x38b159(0x21e)](_0x50f0cf);let _0x307d21;_0x4794a1[_0x38b159(0x10a)]&&_0x4794a1[_0x38b159(0x122)](),_0x3212a3||!this[_0x38b159(0x247)]?_0x307d21=this[_0x38b159(0x1d6)][_0x38b159(0x22c)][_0x38b159(0x21e)](_0x38b159(0x113)):this[_0x38b159(0x14e)][_0x38b159(0xfc)]&&(_0x307d21=this[_0x38b159(0x247)][_0x38b159(0x216)]['id']),await this[_0x38b159(0x230)]();const _0x415722=this[_0x38b159(0x199)](),_0x236efd=_0x3212a3||_0xa18360();this[_0x38b159(0x247)]=new _0xf13ee3({'connector':this[_0x38b159(0x1d9)],'chatModels':this[_0x38b159(0x1c5)],'selectedModelId':_0x307d21,'conversationId':_0x236efd,'group':_0x415722,'getEditor':()=>_0x3fa301(this[_0x38b159(0x1d6)])}),this[_0x38b159(0x247)]['on'](_0x38b159(0x25a),(_0x1a55d9,_0x30b842)=>{const _0x51d202=_0x38b159;this[_0x51d202(0x14e)][_0x51d202(0x1ab)](_0x30b842),this[_0x51d202(0x14e)][_0x51d202(0x157)](),this[_0x51d202(0x14e)][_0x51d202(0x217)](),this[_0x51d202(0x14e)][_0x51d202(0x1e9)](),_0x3212a3||(this[_0x51d202(0x14e)][_0x51d202(0x14a)](),this[_0x51d202(0x247)]?.[_0x51d202(0x13f)](_0x3092a6(this[_0x51d202(0x1d6)][_0x51d202(0x117)],_0x51d202(0x1e7))));}),this[_0x38b159(0x247)]['on'](_0x38b159(0x246),(_0x3dd034,_0x3b29fc)=>{const _0x539d29=_0x38b159;this[_0x539d29(0x14e)][_0x539d29(0x13d)](_0x3b29fc[_0x539d29(0x139)]);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x19b),(_0x515533,_0x1a3b5d)=>{const _0x5d2ac6=_0x38b159;this[_0x5d2ac6(0x14e)][_0x5d2ac6(0x151)](_0x1a3b5d);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x235),()=>{const _0x2908c5=_0x38b159;this[_0x2908c5(0x14e)][_0x2908c5(0x1c9)]({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x38b159(0x247)]['on'](_0x38b159(0x1b6),()=>{const _0x2afc52=_0x38b159;this[_0x2afc52(0x14e)][_0x2afc52(0x1c9)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x38b159(0x247)]['on'](_0x38b159(0x17f),(_0x2e82b6,_0x35cfc5)=>{const _0x5246f1=_0x38b159;this[_0x5246f1(0x14e)][_0x5246f1(0x152)](_0x35cfc5,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x38b159(0x247)]['on'](_0x38b159(0x1eb),(_0xfb4245,_0x28ba69)=>{const _0x89e7b3=_0x38b159;this[_0x89e7b3(0x14e)][_0x89e7b3(0x152)](_0x28ba69,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x38b159(0x247)]['on'](_0x38b159(0x100),()=>{const _0x17cee6=_0x38b159;this[_0x17cee6(0x14e)][_0x17cee6(0x10f)]();}),this[_0x38b159(0x247)]['on'](_0x38b159(0x24e),async()=>{const _0x15f546=_0x38b159;await this[_0x15f546(0x14e)][_0x15f546(0x150)]();}),this[_0x38b159(0x247)]['on'](_0x38b159(0x262),(_0x49cd4c,_0x5977eb)=>{const _0x166ae7=_0x38b159;this[_0x166ae7(0x14e)][_0x166ae7(0x255)](_0x5977eb['id']);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x1d4),(_0x22f62e,_0x4f211d,_0x3b505b)=>{const _0x54508f=_0x38b159;this[_0x54508f(0x195)](_0x4f211d,_0x3b505b);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x19d),(_0x320cdc,_0x2488e0)=>{const _0x571c4e=_0x38b159;_0x571c4e(0x179)===_0x2488e0[_0x571c4e(0x1e5)]?this[_0x571c4e(0x14e)][_0x571c4e(0x125)](_0x2488e0):this[_0x571c4e(0x14e)][_0x571c4e(0x1c2)](_0x2488e0);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x24f),async(_0x4b504d,_0x3afe62)=>{const _0x43671b=_0x38b159;await this[_0x43671b(0x22b)]({'reply':_0x3afe62});}),this[_0x38b159(0x247)]['on'](_0x38b159(0x21a),(_0x1926d3,{reply:_0x524576,index:_0x5f0264,state:_0x3089b0})=>{const _0x2f6221=_0x38b159;this[_0x2f6221(0x14e)][_0x2f6221(0x10e)]({'id':_0x524576['id'],'index':_0x5f0264,'state':_0x3089b0});}),this[_0x38b159(0x247)]['on'](_0x38b159(0x1ca),(_0x5beb04,_0x1da290)=>{const _0x1931e4=_0x38b159;if(this[_0x1931e4(0x14e)][_0x1931e4(0x1cc)](_0x1da290[_0x1931e4(0x233)],_0x1da290[_0x1931e4(0x1c7)]),_0x1931e4(0x138)===_0x1da290[_0x1931e4(0x233)][_0x1931e4(0x1e5)]){const _0xaa708f=[..._0x3fa301(this[_0x1931e4(0x1d6)])[_0x1931e4(0x1a8)][_0x1931e4(0x182)][_0x1931e4(0x138)][_0x1931e4(0x259)]()];this[_0x1931e4(0x189)][_0x1931e4(0x25b)](_0xaa708f,_0x1931e4(0x12f)+this[_0x1931e4(0x247)]?.['id']);}}),this[_0x38b159(0x247)]['on'](_0x38b159(0x129),(_0x86eca0,_0x1058bf)=>{const _0x52fb27=_0x38b159;this[_0x52fb27(0x14e)][_0x52fb27(0x186)](_0x1058bf[_0x52fb27(0x267)]),_0x52fb27(0x1a7)==_0x1058bf[_0x52fb27(0x267)]&&this[_0x52fb27(0xf9)](),_0x52fb27(0x138)===_0x1058bf[_0x52fb27(0x1e5)]&&this[_0x52fb27(0x189)][_0x52fb27(0x1a0)](_0x52fb27(0x12f)+this[_0x52fb27(0x247)]?.['id']);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x25d),(_0x4ace90,_0x3d460e)=>{const _0x25e2a7=_0x38b159;this[_0x25e2a7(0x14e)][_0x25e2a7(0x242)](_0x3d460e[_0x25e2a7(0x233)][_0x25e2a7(0x267)],_0x3d460e[_0x25e2a7(0x1c7)]);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x10b),(_0x163a48,_0x481f38)=>{const _0x55df55=_0x38b159;this[_0x55df55(0x14e)][_0x55df55(0x238)](_0x481f38[_0x55df55(0x214)]);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x1bb),(_0x39fae6,_0x277bc6)=>{const _0x553280=_0x38b159;this[_0x553280(0x14e)][_0x553280(0x11a)](_0x277bc6[_0x553280(0x1df)]);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x11f),(_0x4d7fa9,_0x4b310b)=>{const _0x476244=_0x38b159;this[_0x476244(0x14e)][_0x476244(0x19a)](_0x4b310b[_0x476244(0x211)],_0x4b310b[_0x476244(0x23b)],_0x4b310b[_0x476244(0x1ad)],_0x4b310b[_0x476244(0x20a)]);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x127),(_0x10378c,_0x27ae71)=>{const _0x4085f7=_0x38b159;this[_0x4085f7(0x14e)][_0x4085f7(0x1b2)](_0x27ae71[_0x4085f7(0x211)],_0x27ae71[_0x4085f7(0x193)],_0x27ae71[_0x4085f7(0x15d)]);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x11b),(_0x5a94b4,_0x296205)=>{const _0x37eebd=_0x38b159;this[_0x37eebd(0x14e)][_0x37eebd(0x1a2)](_0x296205);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x166),(_0x3504a7,_0x2851ac)=>{const _0x1959b5=_0x38b159;this[_0x1959b5(0x14e)][_0x1959b5(0x1ae)](_0x2851ac[_0x1959b5(0x216)],_0x2851ac[_0x1959b5(0x177)]);}),this[_0x38b159(0x247)]['on'](_0x38b159(0x226),(_0x412528,{error:_0x38c127,interactionId:_0x558d4f,fileName:_0x57bbca,url:_0x3e13b6,sourceId:_0x3ba300,sourceLabel:_0x3bd018})=>{const _0x47cddb=_0x38b159,_0xf0b54b=_0x558d4f?_0x558d4f+':'+_0xa18360():_0xa18360();_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x256))?this[_0x47cddb(0x14e)][_0x47cddb(0x111)]({'staticMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x1b8)),'id':_0xf0b54b}):_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x180))||_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x163))?(this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x249)),'id':_0xf0b54b}),this[_0x47cddb(0x148)](_0x38c127)):_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x250))?this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x21d),_0x57bbca),'id':_0xf0b54b}):_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x1fd))?this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x213),_0x3e13b6),'id':_0xf0b54b}):_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x236))?this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x19f)),'id':_0xf0b54b}):_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x24a))?this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x105)),'id':_0xf0b54b}):_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x118))?(_0x3ba300&&this[_0x47cddb(0x14e)][_0x47cddb(0x220)](_0x3ba300),this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x10d),_0x3bd018||_0x47cddb(0x23b)),'id':_0xf0b54b}),this[_0x47cddb(0x148)](_0x38c127)):_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x1d3))?(this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x13a)),'id':_0xf0b54b}),this[_0x47cddb(0x148)](_0x38c127)):_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x184))?(this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0xf7)),'id':_0xf0b54b}),this[_0x47cddb(0x148)](_0x38c127)):_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x116))?(this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x1cd)),'id':_0xf0b54b}),this[_0x47cddb(0x148)](_0x38c127)):_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x1f4))?(this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x169)),'id':_0xf0b54b}),this[_0x47cddb(0x148)](_0x38c127)):_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x221))?(this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x23c)),'id':_0xf0b54b}),this[_0x47cddb(0x148)](_0x38c127)):_0x38c127[_0x47cddb(0x142)][_0x47cddb(0x1c0)](_0x47cddb(0x1b0))?(this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x143)),'id':_0xf0b54b}),this[_0x47cddb(0x148)](_0x38c127)):(this[_0x47cddb(0x14e)][_0x47cddb(0x1bc)]({'errorMessage':_0x3092a6(this[_0x47cddb(0x1d6)][_0x47cddb(0x117)],_0x47cddb(0x14b)),'id':_0xf0b54b}),this[_0x47cddb(0x148)](_0x38c127));}),await this[_0x38b159(0x247)][_0x38b159(0x119)](this[_0x38b159(0x1d6)][_0x38b159(0x22c)][_0x38b159(0x21e)](_0x38b159(0x1af))),_0x3212a3||await this[_0x38b159(0x247)][_0x38b159(0x1dc)]();}async[_0x8c2602(0x18e)]({userMessage:_0x10c039,quickActionData:_0x449486}){const _0x5c7e63=_0x8c2602;if(!this[_0x5c7e63(0x247)])throw new _0x2a84dd(_0x5c7e63(0x1ba));this[_0x5c7e63(0x247)][_0x5c7e63(0x251)]()&&await this[_0x5c7e63(0x247)][_0x5c7e63(0x170)](this[_0x5c7e63(0x189)][_0x5c7e63(0x20e)]()),this[_0x5c7e63(0x247)]['id']&&this[_0x5c7e63(0x247)][_0x5c7e63(0x12e)]&&await this[_0x5c7e63(0x247)][_0x5c7e63(0x130)]({'userMessage':_0x10c039,'quickActionData':_0x449486}),this[_0x5c7e63(0x21b)]();}[_0x8c2602(0x21b)](){const _0x312d9c=_0x8c2602,_0x1691e3=_0x3fa301(this[_0x312d9c(0x1d6)])[_0x312d9c(0x1a8)],_0x22c07c=Array[_0x312d9c(0x123)](_0x1691e3[_0x312d9c(0x1a3)][_0x312d9c(0x219)](_0x189cfc));_0x1691e3[_0x312d9c(0x1b3)](_0x31185c=>{const _0x23555f=_0x312d9c;_0x22c07c[_0x23555f(0x231)](_0x5412f8=>_0x31185c[_0x23555f(0x17a)](_0x5412f8));});}[_0x8c2602(0x25e)](){const _0x16d1f0=_0x8c2602;console[_0x16d1f0(0x15f)](_0x16d1f0(0x110));}[_0x8c2602(0x1c8)](_0xe99205){const _0x26f163=_0x8c2602;this[_0x26f163(0x14e)][_0x26f163(0x244)](_0xe99205);}[_0x8c2602(0x148)](_0x45d9f1){const _0x5d4976=_0x8c2602;_0x2d378d(_0x45d9f1[_0x5d4976(0x142)]);}[_0x8c2602(0x208)](_0x4e8fd2){const _0x2acbdd=_0x8c2602;this[_0x2acbdd(0x247)]?.[_0x2acbdd(0x237)](_0x4e8fd2);}[_0x8c2602(0x108)](){const _0x5d6687=_0x8c2602;this[_0x5d6687(0x247)]?.[_0x5d6687(0x215)]();}[_0x8c2602(0x101)](){const _0x56c592=_0x8c2602;this[_0x56c592(0x247)]?.[_0x56c592(0x173)]();}[_0x8c2602(0x106)](_0x1ebe7a){const _0x4221cc=_0x8c2602,[_0x1cedc9,_0x31ed85]=_0x1ebe7a[_0x4221cc(0x15c)](':'),_0x28d0b7=this[_0x4221cc(0x247)][_0x4221cc(0x183)](_0x1cedc9),_0x55b438=_0x28d0b7[_0x4221cc(0x258)](_0x31ed85);return{'interaction':_0x28d0b7,'reply':_0x55b438};}[_0x8c2602(0x1bf)](_0x4e6e6b,_0xb9f9a2=!0x1){const _0x17c0b9=_0x8c2602,_0x52279f=_0x3fa301(this[_0x17c0b9(0x1d6)]),_0x447a6a={'target':_0x52279f[_0x17c0b9(0x1e3)][_0x17c0b9(0x1bd)][_0x17c0b9(0x1ac)][_0x17c0b9(0x260)](_0x52279f[_0x17c0b9(0x1e3)][_0x17c0b9(0x16d)][_0x17c0b9(0x1f7)](_0x4e6e6b)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0xb9f9a2};_0xb9f9a2&&(_0x447a6a[_0x17c0b9(0x154)]=!0x0),_0x5de7b5(_0x447a6a);}[_0x8c2602(0x195)](_0x1b9ba4,_0xb1a2a5=!0x1){const _0xe865d5=_0x8c2602;this[_0xe865d5(0x14e)][_0xe865d5(0x1d4)](_0x1b9ba4||_0x3092a6(this[_0xe865d5(0x1d6)][_0xe865d5(0x117)],_0xe865d5(0x1db)),_0xb1a2a5);}async[_0x8c2602(0x22b)]({reply:_0x165618,renderingStrategy:_0x48e0e9}){const _0x5586ba=_0x8c2602,{id:_0x45952b,isDone:_0x16122e,type:_0x3cbd29,parsedContent:_0x1add5f}=_0x165618;if(_0x5586ba(0x175)===_0x3cbd29){const _0x3f8bd3=_0x165618[_0x5586ba(0x112)]({'showDiff':this[_0x5586ba(0x14e)][_0x5586ba(0x158)]});await this[_0x5586ba(0x14e)][_0x5586ba(0x24c)]({'id':_0x45952b,'parts':_0x3f8bd3,'renderingStrategy':_0x48e0e9,'isDone':_0x16122e});}else _0x5586ba(0x179)===_0x3cbd29&&await this[_0x5586ba(0x14e)][_0x5586ba(0x15e)]({'id':_0x45952b,'parsedContent':_0x1add5f,'renderingStrategy':_0x48e0e9,'isDone':_0x16122e});_0x16122e&&_0x165618[_0x5586ba(0x17b)][_0x5586ba(0x225)]>0x0&&this[_0x5586ba(0x14e)][_0x5586ba(0x210)](_0x45952b,_0x165618[_0x5586ba(0x17b)]);}async[_0x8c2602(0x230)](){const _0xe30f1b=_0x8c2602,_0x312003=this[_0xe30f1b(0x247)]?.[_0xe30f1b(0x1be)];_0x312003&&(_0x312003[_0xe30f1b(0x194)](),this[_0xe30f1b(0x14e)][_0xe30f1b(0x198)](_0x312003));}async[_0x8c2602(0x20d)](){const _0x242ec7=_0x8c2602,_0xfe1aa2=this[_0x242ec7(0x247)]?.[_0x242ec7(0x1be)];if(_0xfe1aa2){for await(const _0x39761f of _0xfe1aa2[_0x242ec7(0x13c)])await this[_0x242ec7(0x22b)]({'reply':_0x39761f,'renderingStrategy':_0x242ec7(0x24d)});}}[_0x8c2602(0x200)](_0x5049cb){const _0x670bcc=_0x8c2602,_0x7eb812={'positiveCount':_0x5049cb[_0x670bcc(0x25f)][_0x670bcc(0x171)](_0x32f303=>_0x670bcc(0x203)===_0x32f303[_0x670bcc(0xff)])[_0x670bcc(0x225)],'totalCount':_0x5049cb[_0x670bcc(0x25f)][_0x670bcc(0x225)],'modificationId':_0x5049cb['id']},_0x253595=this[_0x670bcc(0x247)][_0x670bcc(0x183)](_0x5049cb[_0x670bcc(0x218)])[_0x670bcc(0x165)];this[_0x670bcc(0x1d9)][_0x670bcc(0x126)](this[_0x670bcc(0x247)]['id'],_0x253595,_0x7eb812);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1807d3=_0x27bc;(function(_0x40e89b,_0x2c5a09){const _0x4c38bf=_0x27bc,_0x1527ad=_0x40e89b();while(!![]){try{const _0x331584=parseInt(_0x4c38bf(0x1d3))/0x1*(-parseInt(_0x4c38bf(0x1f8))/0x2)+-parseInt(_0x4c38bf(0x19d))/0x3+-parseInt(_0x4c38bf(0x1a6))/0x4*(-parseInt(_0x4c38bf(0x18b))/0x5)+-parseInt(_0x4c38bf(0x1aa))/0x6*(parseInt(_0x4c38bf(0x1a9))/0x7)+-parseInt(_0x4c38bf(0x1b7))/0x8*(-parseInt(_0x4c38bf(0x1a4))/0x9)+-parseInt(_0x4c38bf(0x182))/0xa*(-parseInt(_0x4c38bf(0x178))/0xb)+parseInt(_0x4c38bf(0x16b))/0xc*(parseInt(_0x4c38bf(0x197))/0xd);if(_0x331584===_0x2c5a09)break;else _0x1527ad['push'](_0x1527ad['shift']());}catch(_0x219e0e){_0x1527ad['push'](_0x1527ad['shift']());}}}(_0x4f83,0xec7ec));function _0x27bc(_0x3138a6,_0x1e4748){const _0x4f830d=_0x4f83();return _0x27bc=function(_0x27bc0b,_0x2c2112){_0x27bc0b=_0x27bc0b-0x15b;let _0x250869=_0x4f830d[_0x27bc0b];return _0x250869;},_0x27bc(_0x3138a6,_0x1e4748);}import{ContextPlugin as _0x4f789c}from'ckeditor5/src/core.js';function _0x4f83(){const _0x31900e=['values','ai-reply','config','renderingStrategy','addFeedItemAIReply','1755XkLjnf','removeFeedInteraction','addFeedItemUserMessage','bind','children','label','1818693vhkqWJ','set','setAddContextOptions','updateFeedItemAIReplyContent','setConversationContext','remove','setFeedItemRenderingStrategy','2595087cLKWHC','delegate','16AIJpsI','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','isTrackChangesOn','1351dnkgoH','30846RIzRXX','updateResourceState','feedItemRenderingStrategy','isPremiumPlugin','addFeedItemStaticMessage','disableControls','then','quickActionData','scrollFeedToSuggestion','finishInteraction','removeContextItem','chat','_titleAnimationInterval','24untnOa','availableModels','AI_CHAT_FEED_LOADING_MESSAGE_REASONING','_interactionPromiseResolver','trackChanges','startsWith','from','ai.availableReplyActions','get','ai.chat.context.searchInputVisibleFrom','has','isWebSearchEnabled','populateSourceResourceBalloon','<p>','getItemIds','AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','enableControls','capabilities','toggleLoadingSkeleton','updateFeedInteractionHeader','setConversationTitle','plugins','updateWebSources','interaction-header','scrollToSuggestion','stopInteraction','setModelList','abort','1803spFyKy','setIsMaximized','resetMessageInput','AI_CHAT_WELCOME_MESSAGE','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','addItem','AITabs','setSelectedModel','setWebSearch','_isTrackChangesCommandValueBound','userMessage','stopAutoScroll','clearPendingContextUI','queueEmptyPromise','isDone','_getLoadingMessage','AI_CHAT_HEADING','showDiff','clear','filter','closeSourceResourceBalloon','updateSuggestionItem','updateFeedItemAIReplySources','setIsUploadInProgress','isMaximized','isReasoningEnabled','removeItem','updateFeedItemAIReplySuggestionPartState','addContextItem','setLoadingMessage','updateCapabilities','isPending','setInputPlaceholder','addTab','updateSuggestionPartState','_view','conversation-start','526zKQVnj','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','error-message','markFeedItemAsDone','setReasoning','commands','addFeedInteractionHeader','context','locale','streaming','startInteraction','</p>','startAutoScroll','chatFeed','contextItems','isDisabled','insertSuggestion','setModel','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','showResizeButton','_promiseQueue','isBusy','find','isModelAvailable','requires','updateFeedItemAIReplySuggestionContent','isOfficialPlugin','isLoading','TrackChanges','156804UpPbrm','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','length','chatHeader','_animateConversationTitle','value','createConversation','addFeedItemError','displayedPrompt','destroy','isVisible','toggleSuggestionDisplayMode','setContextItemLoading','11YxtyVj','ai.chat.models.modelSelectorAlwaysVisible','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','forEach','interactionId','enqueue','pluginName','last','ai-suggestion-reply','focusPromptInput','1486470YoqoMA','options','user-message','enableModelSelector','addFeedItemAISuggestion','disableModelSelector','view','clearConversationContextUI','markItemAsDone','329495oEzJhJ','_getInputPlaceholder','resetConversationTitle','chatControls','AIChatUI','areActionsDisabled','updateReplyItem'];_0x4f83=function(){return _0x31900e;};return _0x4f83();}import{_isMotionReduced as _0x5590a9}from'ckeditor5/src/utils.js';import{AIChatView as _0x1e16dd}from'./ui/aichatview.js';import{AITabs as _0x593e23}from'../aitabs/aitabs.js';import{getTranslation as _0x5e3552}from'../aicore/utils/common-translations.js';import{IconAIChat as _0x404cc6}from'ckeditor5/src/icons.js';import{AIChatFeedInteractionHeaderView as _0x166a63}from'./ui/feed/aichatfeedinteractionheaderview.js';import{PromiseQueue as _0x4bed5d}from'./utils/promisequeue.js';import{AI_CHAT_UI_EVENT_NAMES as _0x10d2d3}from'./utils/eventnames.js';import'../../theme/aichat/aichat.css';import{getEditorFromContext as _0x2d77b1}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x227b5a}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIChatUI extends _0x4f789c{static get[_0x1807d3(0x166)](){return[_0x593e23];}[_0x1807d3(0x1f6)];static get[_0x1807d3(0x17e)](){const _0xd52e63=_0x1807d3;return _0xd52e63(0x18f);}static get[_0x1807d3(0x168)](){return!0x0;}static get[_0x1807d3(0x1ad)](){return!0x0;}[_0x1807d3(0x1ac)]=_0x1807d3(0x201);[_0x1807d3(0x1e4)]=!0x0;[_0x1807d3(0x162)];[_0x1807d3(0x1ba)];[_0x1807d3(0x1b6)]=void 0x0;[_0x1807d3(0x1dc)]=!0x1;constructor(_0x706920){const _0x375a4a=_0x1807d3;super(_0x706920);const _0x2376b3=this[_0x375a4a(0x1ff)][_0x375a4a(0x1cc)][_0x375a4a(0x1bf)](_0x375a4a(0x1d9));this[_0x375a4a(0x19e)](_0x375a4a(0x163),!0x1),this[_0x375a4a(0x162)]=new _0x4bed5d(),this[_0x375a4a(0x1f6)]=new _0x1e16dd(this[_0x375a4a(0x1ff)][_0x375a4a(0x200)],{'showResizeButton':_0x2376b3[_0x375a4a(0x161)],'contextResourcesSearchInputVisibleFrom':this[_0x375a4a(0x1ff)][_0x375a4a(0x194)][_0x375a4a(0x1bf)](_0x375a4a(0x1c0))}),this[_0x375a4a(0x1f6)][_0x375a4a(0x1a5)](..._0x10d2d3)['to'](this),this[_0x375a4a(0x1f6)]['on'](_0x375a4a(0x176),(_0x3049c4,{showDiff:_0x34f5d5})=>{const _0xb66690=_0x375a4a;this[_0xb66690(0x1e4)]=_0x34f5d5;}),_0x2376b3[_0x375a4a(0x188)][_0x375a4a(0x1f4)]({'id':_0x375a4a(0x1b5),'buttonLabel':_0x5e3552(this[_0x375a4a(0x1ff)][_0x375a4a(0x200)],_0x375a4a(0x1e3)),'buttonIcon':_0x404cc6,'order':0x0,'content':this[_0x375a4a(0x1f6)]}),this[_0x375a4a(0x1f6)][_0x375a4a(0x18e)][_0x375a4a(0x19a)](_0x375a4a(0x169))['to'](this,_0x375a4a(0x163),_0x15f878=>_0x15f878),this[_0x375a4a(0x1f6)][_0x375a4a(0x15b)][_0x375a4a(0x19a)](_0x375a4a(0x1f2))['to'](this,_0x375a4a(0x163),_0x5bcaff=>_0x5bcaff),this[_0x375a4a(0x1f6)][_0x375a4a(0x18e)][_0x375a4a(0x1f3)](this[_0x375a4a(0x18c)]()),this[_0x375a4a(0x19a)](_0x375a4a(0x165))['to'](this[_0x375a4a(0x1f6)][_0x375a4a(0x18e)],_0x375a4a(0x165));}[_0x1807d3(0x174)](){const _0x51116b=_0x1807d3;super[_0x51116b(0x174)](),this[_0x51116b(0x1b6)]&&clearInterval(this[_0x51116b(0x1b6)]);}[_0x1807d3(0x171)](_0x3fba12){const _0x9a2ccb=_0x1807d3;this[_0x9a2ccb(0x1f6)][_0x9a2ccb(0x15b)][_0x9a2ccb(0x1e5)](),this[_0x9a2ccb(0x1f6)][_0x9a2ccb(0x18e)][_0x9a2ccb(0x185)](),this[_0x9a2ccb(0x1f6)][_0x9a2ccb(0x18e)][_0x9a2ccb(0x1d1)](_0x3fba12[_0x9a2ccb(0x1b8)],!this[_0x9a2ccb(0x1ff)][_0x9a2ccb(0x194)][_0x9a2ccb(0x1bf)](_0x9a2ccb(0x179))),this[_0x9a2ccb(0x1ae)]({'id':_0x9a2ccb(0x1f7),'staticMessage':_0x5e3552(this[_0x9a2ccb(0x1ff)][_0x9a2ccb(0x200)],_0x9a2ccb(0x1d6))});}[_0x1807d3(0x1ae)]({id:_0x3dcd78,staticMessage:_0x50c650}){const _0x57adda=_0x1807d3;this[_0x57adda(0x1f6)][_0x57adda(0x15b)][_0x57adda(0x1d8)](_0x57adda(0x193),{'id':_0x3dcd78,'initialContent':_0x57adda(0x1c4)+_0x50c650+_0x57adda(0x203)});}[_0x1807d3(0x199)](_0x505788){const _0x1ac608=_0x1807d3,_0x1398b3=_0x505788[_0x1ac608(0x1b1)]?.[_0x1ac608(0x173)]||_0x505788[_0x1ac608(0x1dd)];this[_0x1ac608(0x1f6)][_0x1ac608(0x15b)][_0x1ac608(0x1d8)](_0x1ac608(0x184),{'contextItems':Array[_0x1ac608(0x1bd)](_0x505788[_0x1ac608(0x15c)][_0x1ac608(0x192)]()),'initialContent':_0x1ac608(0x1c4)+_0x1398b3+_0x1ac608(0x203),'id':_0x505788['id']});}[_0x1807d3(0x172)]({errorMessage:_0x3e87cb,id:_0x299b1f}){const _0xce0357=_0x1807d3;this[_0xce0357(0x1f6)][_0xce0357(0x15b)][_0xce0357(0x1d8)](_0xce0357(0x1fa),{'initialContent':_0xce0357(0x1c4)+_0x3e87cb+_0xce0357(0x203),'id':_0x299b1f});}[_0x1807d3(0x196)](_0x272a20){const _0x507e55=_0x1807d3;return this[_0x507e55(0x162)][_0x507e55(0x17d)](async()=>{const _0x15b5ac=_0x507e55;this[_0x15b5ac(0x1f6)][_0x15b5ac(0x15b)][_0x15b5ac(0x1d8)](_0x15b5ac(0x193),{'id':_0x272a20[_0x15b5ac(0x17c)]+':'+_0x272a20['id']}),this[_0x15b5ac(0x1f0)](null);});}async[_0x1807d3(0x186)](_0x38f59c){const _0x5806aa=_0x1807d3,_0x497232=_0x2d77b1(this[_0x5806aa(0x1ff)]);let _0x23b9f0=_0x497232[_0x5806aa(0x194)][_0x5806aa(0x1bf)](_0x5806aa(0x1be))||[..._0x227b5a];if(_0x497232[_0x5806aa(0x1cc)][_0x5806aa(0x1c1)](_0x5806aa(0x16a))){if(!this[_0x5806aa(0x1dc)]){this[_0x5806aa(0x1dc)]=!0x0;const _0x3788b1=_0x497232[_0x5806aa(0x1fd)][_0x5806aa(0x1bf)](_0x5806aa(0x1bb));this[_0x5806aa(0x1f6)][_0x5806aa(0x15b)][_0x5806aa(0x19a)](_0x5806aa(0x1a8))['to'](_0x3788b1,_0x5806aa(0x170));}}else _0x23b9f0=_0x23b9f0[_0x5806aa(0x1e6)](_0x22d59c=>_0x5806aa(0x15e)!=_0x22d59c);return this[_0x5806aa(0x162)][_0x5806aa(0x17d)](async()=>{const _0x577e2a=_0x5806aa;this[_0x577e2a(0x1f6)][_0x577e2a(0x15b)][_0x577e2a(0x1d8)](_0x577e2a(0x180),{'id':_0x38f59c[_0x577e2a(0x17c)]+':'+_0x38f59c['id'],'areActionsDisabled':_0x38f59c[_0x577e2a(0x190)],'showDiff':this[_0x577e2a(0x1e4)],'availableActions':_0x23b9f0}),this[_0x577e2a(0x1f0)](null);});}[_0x1807d3(0x1fe)](_0x17a1f7,_0x4dda68){const _0x260f4e=_0x1807d3,_0x37444e=this[_0x260f4e(0x1f6)][_0x260f4e(0x15b)][_0x260f4e(0x19b)][_0x260f4e(0x17f)];if(_0x37444e instanceof _0x166a63)return this[_0x260f4e(0x1f6)][_0x260f4e(0x15b)][_0x260f4e(0x19b)][_0x260f4e(0x1a2)](_0x37444e),void this[_0x260f4e(0x1f6)][_0x260f4e(0x15b)][_0x260f4e(0x1d8)](_0x260f4e(0x1ce),{'id':_0x17a1f7['id'],'capabilities':{'isWebSearchEnabled':_0x37444e[_0x260f4e(0x1c8)][_0x260f4e(0x1c2)]||_0x4dda68[_0x260f4e(0x1c2)],'isReasoningEnabled':_0x37444e[_0x260f4e(0x1c8)][_0x260f4e(0x1ec)]||_0x4dda68[_0x260f4e(0x1ec)]}});this[_0x260f4e(0x1f6)][_0x260f4e(0x15b)][_0x260f4e(0x1d8)](_0x260f4e(0x1ce),{'id':_0x17a1f7['id'],'capabilities':_0x4dda68});}[_0x1807d3(0x1ca)](_0x16591c){const _0x104002=_0x1807d3,_0x264785=this[_0x104002(0x1f6)][_0x104002(0x15b)][_0x104002(0x19b)][_0x104002(0x164)](_0x27e608=>_0x27e608[_0x104002(0x183)]['id']==_0x16591c['id']&&_0x27e608 instanceof _0x166a63);_0x264785&&_0x264785[_0x104002(0x19e)](_0x104002(0x175),_0x16591c[_0x104002(0x175)]);}async[_0x1807d3(0x1a0)](_0x3aa59b){const _0x50f851=_0x1807d3,_0x4ed44d=_0x3aa59b[_0x50f851(0x195)]||this[_0x50f851(0x1ac)];return this[_0x50f851(0x162)][_0x50f851(0x17d)](async _0xf8bf5e=>{const _0x237d0e=_0x50f851;await this[_0x237d0e(0x1f6)][_0x237d0e(0x15b)][_0x237d0e(0x191)]({..._0x3aa59b,'abortSignal':_0xf8bf5e,'renderingStrategy':_0x4ed44d}),_0x3aa59b[_0x237d0e(0x1e1)]&&this[_0x237d0e(0x1fb)](_0x3aa59b['id']);});}[_0x1807d3(0x1e9)](_0x4022d0,_0x411d98){const _0x1168ec=_0x1807d3;this[_0x1168ec(0x1f6)][_0x1168ec(0x15b)][_0x1168ec(0x1cd)](_0x4022d0,_0x411d98);}async[_0x1807d3(0x167)](_0x3e5f72){const _0x5398d3=_0x1807d3,_0x132e81=_0x3e5f72[_0x5398d3(0x195)]||this[_0x5398d3(0x1ac)];return this[_0x5398d3(0x162)][_0x5398d3(0x17d)](async _0x4b1927=>{const _0x5ed6d6=_0x5398d3;await this[_0x5ed6d6(0x1f6)][_0x5ed6d6(0x15b)][_0x5ed6d6(0x1e8)]({..._0x3e5f72,'abortSignal':_0x4b1927,'renderingStrategy':_0x132e81}),_0x3e5f72[_0x5ed6d6(0x1e1)]&&this[_0x5ed6d6(0x1fb)](_0x3e5f72['id']);});}[_0x1807d3(0x1ee)](_0x518368){const _0x1edbdc=_0x1807d3;this[_0x1edbdc(0x1f6)][_0x1edbdc(0x15b)][_0x1edbdc(0x1f5)](_0x518368);}[_0x1807d3(0x1fb)](_0x508abd){const _0x50571e=_0x1807d3;this[_0x50571e(0x1f6)][_0x50571e(0x15b)][_0x50571e(0x18a)](_0x508abd);}[_0x1807d3(0x198)](_0x27e850){const _0x4b4a48=_0x1807d3;this[_0x4b4a48(0x1f6)][_0x4b4a48(0x15b)][_0x4b4a48(0x1c5)]()[_0x4b4a48(0x1e6)](_0x3c264a=>_0x3c264a[_0x4b4a48(0x1bc)](_0x27e850))[_0x4b4a48(0x17b)](_0x218490=>this[_0x4b4a48(0x1f6)][_0x4b4a48(0x15b)][_0x4b4a48(0x1ed)](_0x218490));}[_0x1807d3(0x202)](){const _0x520151=_0x1807d3;this[_0x520151(0x1f0)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1}),this[_0x520151(0x1f6)][_0x520151(0x18e)][_0x520151(0x187)](!this[_0x520151(0x1ff)][_0x520151(0x194)][_0x520151(0x1bf)](_0x520151(0x179))),this[_0x520151(0x163)]=!0x0,this[_0x520151(0x1f6)][_0x520151(0x15b)][_0x520151(0x204)]();}[_0x1807d3(0x1d0)](_0x232b8a){const _0x3701df=_0x1807d3;this[_0x3701df(0x162)][_0x3701df(0x1d2)](),this[_0x3701df(0x1f6)][_0x3701df(0x15b)][_0x3701df(0x1c5)]()[_0x3701df(0x1e6)](_0x5401c6=>_0x5401c6[_0x3701df(0x1bc)](_0x232b8a['id']))[_0x3701df(0x17b)](_0x5eb2c7=>this[_0x3701df(0x1fb)](_0x5eb2c7)),this[_0x3701df(0x163)]=!0x1,this[_0x3701df(0x1f6)][_0x3701df(0x15b)][_0x3701df(0x1de)]();}async[_0x1807d3(0x1b3)](){const _0x1f81c0=_0x1807d3;return this[_0x1f81c0(0x162)][_0x1f81c0(0x1e0)][_0x1f81c0(0x1b0)](()=>{const _0x5a7497=_0x1f81c0;this[_0x5a7497(0x163)]=!0x1,this[_0x5a7497(0x1f6)][_0x5a7497(0x15b)][_0x5a7497(0x1de)]();});}[_0x1807d3(0x1ef)](_0xe5a457,_0x4022af){const _0x159425=_0x1807d3;this[_0x159425(0x1f6)][_0x159425(0x18e)][_0x159425(0x1ef)](_0xe5a457,_0x4022af);}[_0x1807d3(0x1b4)](_0x2645b3){const _0x56484a=_0x1807d3;this[_0x56484a(0x1f6)][_0x56484a(0x18e)][_0x56484a(0x1b4)](_0x2645b3);}[_0x1807d3(0x177)](_0x2442a4,_0x2e9a24){const _0x3162af=_0x1807d3;this[_0x3162af(0x1f6)][_0x3162af(0x18e)][_0x3162af(0x177)](_0x2442a4,_0x2e9a24);}[_0x1807d3(0x1ea)](_0x2f75db){const _0x260db9=_0x1807d3;this[_0x260db9(0x1f6)][_0x260db9(0x18e)][_0x260db9(0x1ea)](_0x2f75db);}[_0x1807d3(0x1a1)](_0x3eebd1){const _0x3a683f=_0x1807d3;this[_0x3a683f(0x1f6)][_0x3a683f(0x18e)][_0x3a683f(0x1a1)](_0x3eebd1);}[_0x1807d3(0x1df)](){const _0x30c98a=_0x1807d3;this[_0x30c98a(0x1f6)][_0x30c98a(0x18e)][_0x30c98a(0x1df)]();}[_0x1807d3(0x189)](){const _0x34327f=_0x1807d3;this[_0x34327f(0x1f6)][_0x34327f(0x18e)][_0x34327f(0x189)]();}[_0x1807d3(0x1ab)](_0xdf9f1a,_0x1fcbda,_0x2765b2){const _0x43a952=_0x1807d3;this[_0x43a952(0x1f6)][_0x43a952(0x18e)][_0x43a952(0x1ab)](_0xdf9f1a,_0x1fcbda,_0x2765b2);}[_0x1807d3(0x1d5)](){const _0x2da1d2=_0x1807d3;this[_0x2da1d2(0x1f6)][_0x2da1d2(0x18e)][_0x2da1d2(0x1d5)](),this[_0x2da1d2(0x1f6)][_0x2da1d2(0x18e)][_0x2da1d2(0x1f3)](this[_0x2da1d2(0x18c)]());}[_0x1807d3(0x19f)](_0x3339c8){const _0x51247c=_0x1807d3;this[_0x51247c(0x1f6)][_0x51247c(0x18e)][_0x51247c(0x19f)](_0x3339c8);}[_0x1807d3(0x1f1)](_0x12d091){const _0x3658a3=_0x1807d3;this[_0x3658a3(0x1f6)][_0x3658a3(0x18e)][_0x3658a3(0x1db)](_0x12d091[_0x3658a3(0x1c2)]),this[_0x3658a3(0x1f6)][_0x3658a3(0x18e)][_0x3658a3(0x1fc)](_0x12d091[_0x3658a3(0x1ec)]),this[_0x3658a3(0x1f6)][_0x3658a3(0x18e)][_0x3658a3(0x1f3)](this[_0x3658a3(0x18c)](_0x12d091));}[_0x1807d3(0x1da)](_0x1b9d86,_0x4c0cf9){const _0x5e0d54=_0x1807d3;this[_0x5e0d54(0x1f6)][_0x5e0d54(0x18e)][_0x5e0d54(0x15f)](_0x1b9d86),_0x4c0cf9&&this[_0x5e0d54(0x1f6)][_0x5e0d54(0x18e)][_0x5e0d54(0x187)](!0x1);}[_0x1807d3(0x1a3)](_0x31a723){const _0x1939a8=_0x1807d3;this[_0x1939a8(0x1ac)]=_0x31a723;}[_0x1807d3(0x1c9)](_0xe13583){const _0x11ccb6=_0x1807d3;this[_0x11ccb6(0x1f6)][_0x11ccb6(0x15b)][_0x11ccb6(0x1c9)](_0xe13583);}[_0x1807d3(0x18d)](){const _0x2d83f0=_0x1807d3;this[_0x2d83f0(0x1cb)](_0x5e3552(this[_0x2d83f0(0x1ff)][_0x2d83f0(0x200)],_0x2d83f0(0x1e3)));}[_0x1807d3(0x1cb)](_0x2cc5d0,_0x460ab8=!0x1){const _0x1f1ed2=_0x1807d3;if(_0x460ab8&&!_0x5590a9()&&_0x2cc5d0[_0x1f1ed2(0x16d)])return this[_0x1f1ed2(0x1f6)][_0x1f1ed2(0x16e)][_0x1f1ed2(0x19c)]='',void this[_0x1f1ed2(0x16f)](_0x2cc5d0);this[_0x1f1ed2(0x1f6)][_0x1f1ed2(0x16e)][_0x1f1ed2(0x19c)]=_0x2cc5d0;}[_0x1807d3(0x1f0)](_0x3cb9ff){const _0x1f62d4=_0x1807d3,_0x5a3955=this[_0x1f62d4(0x1e2)](_0x3cb9ff);this[_0x1f62d4(0x1f6)][_0x1f62d4(0x15b)][_0x1f62d4(0x1f0)](_0x5a3955);}[_0x1807d3(0x16f)](_0x2138b6){const _0x4302fd=_0x1807d3;let _0x293f4b=0x0;clearInterval(this[_0x4302fd(0x1b6)]),this[_0x4302fd(0x1b6)]=setInterval(()=>{const _0x229bc2=_0x4302fd;this[_0x229bc2(0x1f6)][_0x229bc2(0x16e)][_0x229bc2(0x19c)]=this[_0x229bc2(0x1f6)][_0x229bc2(0x16e)][_0x229bc2(0x19c)]+_0x2138b6[_0x293f4b],_0x293f4b++,_0x293f4b===_0x2138b6[_0x229bc2(0x16d)]&&clearInterval(this[_0x229bc2(0x1b6)]);},0x1e);}[_0x1807d3(0x1d4)](_0x25ddd4){const _0x410cb8=_0x1807d3;this[_0x410cb8(0x1f6)][_0x410cb8(0x16e)][_0x410cb8(0x1eb)]=_0x25ddd4;}[_0x1807d3(0x1e2)](_0x9b3461){const _0xc6d140=_0x1807d3;return _0x9b3461?_0x9b3461[_0xc6d140(0x1c2)]&&_0x9b3461[_0xc6d140(0x1ec)]?_0x5e3552(this[_0xc6d140(0x1ff)][_0xc6d140(0x200)],_0xc6d140(0x160)):_0x9b3461[_0xc6d140(0x1c2)]?_0x5e3552(this[_0xc6d140(0x1ff)][_0xc6d140(0x200)],_0xc6d140(0x1f9)):_0x9b3461[_0xc6d140(0x1ec)]?_0x5e3552(this[_0xc6d140(0x1ff)][_0xc6d140(0x200)],_0xc6d140(0x1b9)):_0x5e3552(this[_0xc6d140(0x1ff)][_0xc6d140(0x200)],_0xc6d140(0x1c6)):'';}[_0x1807d3(0x18c)](_0x13f448){const _0x16503b=_0x1807d3;return _0x13f448?_0x13f448[_0x16503b(0x1c2)]&&_0x13f448[_0x16503b(0x1ec)]?_0x5e3552(this[_0x16503b(0x1ff)][_0x16503b(0x200)],_0x16503b(0x17a)):_0x13f448[_0x16503b(0x1c2)]?_0x5e3552(this[_0x16503b(0x1ff)][_0x16503b(0x200)],_0x16503b(0x1d7)):_0x13f448[_0x16503b(0x1ec)]?_0x5e3552(this[_0x16503b(0x1ff)][_0x16503b(0x200)],_0x16503b(0x16c)):_0x5e3552(this[_0x16503b(0x1ff)][_0x16503b(0x200)],_0x16503b(0x1a7)):_0x5e3552(this[_0x16503b(0x1ff)][_0x16503b(0x200)],_0x16503b(0x1a7));}[_0x1807d3(0x1c3)](_0x2ce0bf,_0x15a86d,_0x5a2ba2,_0x170b50){const _0x3845ae=_0x1807d3;this[_0x3845ae(0x1f6)][_0x3845ae(0x1c3)](_0x2ce0bf,_0x15a86d,_0x5a2ba2,_0x170b50);}[_0x1807d3(0x1e7)](_0x15761b){const _0x320fa3=_0x1807d3;this[_0x320fa3(0x1f6)][_0x320fa3(0x1e7)](_0x15761b);}[_0x1807d3(0x181)](){const _0x3c3a08=_0x1807d3;this[_0x3c3a08(0x1f6)][_0x3c3a08(0x18e)][_0x3c3a08(0x181)]();}[_0x1807d3(0x1b2)](_0x1f26e8,_0x6d0fa7){const _0xad116f=_0x1807d3;this[_0xad116f(0x1f6)][_0xad116f(0x15b)][_0xad116f(0x1cf)](_0x1f26e8,_0x6d0fa7);}[_0x1807d3(0x204)](){const _0x3abcd2=_0x1807d3;this[_0x3abcd2(0x1f6)][_0x3abcd2(0x15b)][_0x3abcd2(0x204)]();}[_0x1807d3(0x1af)](){const _0x33d305=_0x1807d3;this[_0x33d305(0x1f6)][_0x33d305(0x18e)][_0x33d305(0x15d)]=!0x0;}[_0x1807d3(0x1c7)](){const _0x1ca2aa=_0x1807d3;this[_0x1ca2aa(0x1f6)][_0x1ca2aa(0x18e)][_0x1ca2aa(0x15d)]=!0x1;}}
23
+ const _0x1aef1a=_0x171f;(function(_0x2e8ef0,_0x4abe5e){const _0x445fbc=_0x171f,_0x43b163=_0x2e8ef0();while(!![]){try{const _0x4677f1=parseInt(_0x445fbc(0x1b2))/0x1+-parseInt(_0x445fbc(0x18f))/0x2*(-parseInt(_0x445fbc(0x18c))/0x3)+parseInt(_0x445fbc(0x187))/0x4*(-parseInt(_0x445fbc(0x1cf))/0x5)+parseInt(_0x445fbc(0x1aa))/0x6*(-parseInt(_0x445fbc(0x1b7))/0x7)+-parseInt(_0x445fbc(0x1c6))/0x8*(-parseInt(_0x445fbc(0x150))/0x9)+-parseInt(_0x445fbc(0x1d0))/0xa*(-parseInt(_0x445fbc(0x1c3))/0xb)+-parseInt(_0x445fbc(0x191))/0xc;if(_0x4677f1===_0x4abe5e)break;else _0x43b163['push'](_0x43b163['shift']());}catch(_0x1209e9){_0x43b163['push'](_0x43b163['shift']());}}}(_0x4902,0x3b3b8));import{ContextPlugin as _0x174f40}from'ckeditor5/src/core.js';import{_isMotionReduced as _0x1428bd}from'ckeditor5/src/utils.js';function _0x4902(){const _0x44c771=['1319725lGxKkx','640ThnQuI','resetMessageInput','get','ai.chat.models.modelSelectorAlwaysVisible','ai-reply','set','children','locale','insertSuggestion','userMessage','find','enqueue','TrackChanges','config','remove','scrollFeedToSuggestion','updateSuggestionItem','_promiseQueue','_getLoadingMessage','clearPendingContextUI','setIsMaximized','AITabs','startInteraction','from','updateFeedInteractionHeader','isTrackChangesOn','error-message','plugins','setAddContextOptions','markItemAsDone','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','createConversation','isDisabled','length','updateWebSources','destroy','conversation-start','delegate','AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','areActionsDisabled','isLoading','3998034CeGLuW','chatFeed','abort','options','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','quickActionData','showResizeButton','updateResourceState','view','addFeedInteractionHeader','updateFeedItemAIReplySuggestionContent','commands','label','interactionId','trackChanges','addTab','startsWith','availableModels','clear','finishInteraction','AI_CHAT_WELCOME_MESSAGE','setModel','updateFeedItemAIReplyContent','removeItem','setSelectedModel','addFeedItemStaticMessage','then','stopInteraction','feedItemRenderingStrategy','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','setReasoning','capabilities','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','pluginName','isBusy','setFeedItemRenderingStrategy','startAutoScroll','populateSourceResourceBalloon','clearConversationContextUI','chatHeader','filter','requires','<p>','streaming','setInputPlaceholder','showDiff','_titleAnimationInterval','closeSourceResourceBalloon','chatControls','getItemIds','forEach','ai.availableReplyActions','last','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','scrollToSuggestion','4pVPQgh','displayedPrompt','queueEmptyPromise','context','isOfficialPlugin','267GLZaPX','bind','_isTrackChangesCommandValueBound','5702nxekGu','updateReplyItem','5886252XAzhNS','updateFeedItemAIReplySuggestionPartState','values','toggleLoadingSkeleton','setIsUploadInProgress','_getInputPlaceholder','AI_CHAT_FEED_LOADING_MESSAGE_REASONING','setWebSearch','isMaximized','setConversationContext','_view','removeFeedInteraction','AIChatUI','setContextItemLoading','setLoadingMessage','value','addFeedItemAISuggestion','stopAutoScroll','isModelAvailable','markFeedItemAsDone','toggleSuggestionDisplayMode','updateFeedItemAIReplySources','renderingStrategy','addItem','isVisible','1986ijDWzo','enableModelSelector','isPending','isPremiumPlugin','isWebSearchEnabled','removeContextItem','addFeedItemAIReply','setModelList','223914gmVOHp','resetConversationTitle','disableControls','isReasoningEnabled','user-message','4193jjnkdb','addFeedItemUserMessage','disableModelSelector','updateSuggestionPartState','addFeedItemError','AI_CHAT_HEADING','_animateConversationTitle','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','updateCapabilities','_interactionPromiseResolver','ai-suggestion-reply','isDone','47003cjBDHg','focusPromptInput','interaction-header','8dFwQDG','setConversationTitle','</p>','addContextItem','enableControls','chat','contextItems','has','ai.chat.context.searchInputVisibleFrom'];_0x4902=function(){return _0x44c771;};return _0x4902();}import{AIChatView as _0x5863ed}from'./ui/aichatview.js';import{AITabs as _0x4edc76}from'../aitabs/aitabs.js';import{getTranslation as _0xa3933}from'../aicore/utils/common-translations.js';import{IconAIChat as _0x94549f}from'ckeditor5/src/icons.js';import{AIChatFeedInteractionHeaderView as _0x59e5ab}from'./ui/feed/aichatfeedinteractionheaderview.js';import{PromiseQueue as _0x51bcef}from'./utils/promisequeue.js';import{AI_CHAT_UI_EVENT_NAMES as _0x1fcdcc}from'./utils/eventnames.js';import'../../theme/aichat/aichat.css';function _0x171f(_0x3e92f4,_0x42f51a){const _0x4902a8=_0x4902();return _0x171f=function(_0x171f80,_0x3c66e9){_0x171f80=_0x171f80-0x131;let _0x2d56e3=_0x4902a8[_0x171f80];return _0x2d56e3;},_0x171f(_0x3e92f4,_0x42f51a);}import{getEditorFromContext as _0x1419cb}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x314583}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIChatUI extends _0x174f40{static get[_0x1aef1a(0x179)](){return[_0x4edc76];}[_0x1aef1a(0x19b)];static get[_0x1aef1a(0x171)](){const _0x1d7a59=_0x1aef1a;return _0x1d7a59(0x19d);}static get[_0x1aef1a(0x18b)](){return!0x0;}static get[_0x1aef1a(0x1ad)](){return!0x0;}[_0x1aef1a(0x16c)]=_0x1aef1a(0x17b);[_0x1aef1a(0x17d)]=!0x0;[_0x1aef1a(0x138)];[_0x1aef1a(0x1c0)];[_0x1aef1a(0x17e)]=void 0x0;[_0x1aef1a(0x18e)]=!0x1;constructor(_0x331aca){const _0x332cd7=_0x1aef1a;super(_0x331aca);const _0x43e063=this[_0x332cd7(0x18a)][_0x332cd7(0x142)][_0x332cd7(0x1d2)](_0x332cd7(0x13c));this[_0x332cd7(0x1d5)](_0x332cd7(0x172),!0x1),this[_0x332cd7(0x138)]=new _0x51bcef(),this[_0x332cd7(0x19b)]=new _0x5863ed(this[_0x332cd7(0x18a)][_0x332cd7(0x1d7)],{'showResizeButton':_0x43e063[_0x332cd7(0x156)],'contextResourcesSearchInputVisibleFrom':this[_0x332cd7(0x18a)][_0x332cd7(0x134)][_0x332cd7(0x1d2)](_0x332cd7(0x1ce))}),this[_0x332cd7(0x19b)][_0x332cd7(0x14c)](..._0x1fcdcc)['to'](this),this[_0x332cd7(0x19b)]['on'](_0x332cd7(0x1a5),(_0x29fadd,{showDiff:_0x56519e})=>{const _0x436596=_0x332cd7;this[_0x436596(0x17d)]=_0x56519e;}),_0x43e063[_0x332cd7(0x158)][_0x332cd7(0x15f)]({'id':_0x332cd7(0x1cb),'buttonLabel':_0xa3933(this[_0x332cd7(0x18a)][_0x332cd7(0x1d7)],_0x332cd7(0x1bc)),'buttonIcon':_0x94549f,'order':0x0,'content':this[_0x332cd7(0x19b)]}),this[_0x332cd7(0x19b)][_0x332cd7(0x180)][_0x332cd7(0x18d)](_0x332cd7(0x14f))['to'](this,_0x332cd7(0x172),_0x38dcf6=>_0x38dcf6),this[_0x332cd7(0x19b)][_0x332cd7(0x151)][_0x332cd7(0x18d)](_0x332cd7(0x1ac))['to'](this,_0x332cd7(0x172),_0x5f1b8b=>_0x5f1b8b),this[_0x332cd7(0x19b)][_0x332cd7(0x180)][_0x332cd7(0x17c)](this[_0x332cd7(0x196)]()),this[_0x332cd7(0x18d)](_0x332cd7(0x1a3))['to'](this[_0x332cd7(0x19b)][_0x332cd7(0x180)],_0x332cd7(0x1a3));}[_0x1aef1a(0x14a)](){const _0x4b7b70=_0x1aef1a;super[_0x4b7b70(0x14a)](),this[_0x4b7b70(0x17e)]&&clearInterval(this[_0x4b7b70(0x17e)]);}[_0x1aef1a(0x146)](_0x32e807){const _0x8d5d0e=_0x1aef1a;this[_0x8d5d0e(0x19b)][_0x8d5d0e(0x151)][_0x8d5d0e(0x162)](),this[_0x8d5d0e(0x19b)][_0x8d5d0e(0x180)][_0x8d5d0e(0x1ab)](),this[_0x8d5d0e(0x19b)][_0x8d5d0e(0x180)][_0x8d5d0e(0x1b1)](_0x32e807[_0x8d5d0e(0x161)],!this[_0x8d5d0e(0x18a)][_0x8d5d0e(0x134)][_0x8d5d0e(0x1d2)](_0x8d5d0e(0x1d3))),this[_0x8d5d0e(0x169)]({'id':_0x8d5d0e(0x14b),'staticMessage':_0xa3933(this[_0x8d5d0e(0x18a)][_0x8d5d0e(0x1d7)],_0x8d5d0e(0x164))});}[_0x1aef1a(0x169)]({id:_0x3bd981,staticMessage:_0x2b507d}){const _0x46b2b0=_0x1aef1a;this[_0x46b2b0(0x19b)][_0x46b2b0(0x151)][_0x46b2b0(0x1a8)](_0x46b2b0(0x1d4),{'id':_0x3bd981,'initialContent':_0x46b2b0(0x17a)+_0x2b507d+_0x46b2b0(0x1c8)});}[_0x1aef1a(0x1b8)](_0x232db8){const _0x2020ab=_0x1aef1a,_0x3b6216=_0x232db8[_0x2020ab(0x155)]?.[_0x2020ab(0x188)]||_0x232db8[_0x2020ab(0x1d9)];this[_0x2020ab(0x19b)][_0x2020ab(0x151)][_0x2020ab(0x1a8)](_0x2020ab(0x1b6),{'contextItems':Array[_0x2020ab(0x13e)](_0x232db8[_0x2020ab(0x1cc)][_0x2020ab(0x193)]()),'initialContent':_0x2020ab(0x17a)+_0x3b6216+_0x2020ab(0x1c8),'id':_0x232db8['id']});}[_0x1aef1a(0x1bb)]({errorMessage:_0x418fd8,id:_0x496898}){const _0x455a89=_0x1aef1a;this[_0x455a89(0x19b)][_0x455a89(0x151)][_0x455a89(0x1a8)](_0x455a89(0x141),{'initialContent':_0x455a89(0x17a)+_0x418fd8+_0x455a89(0x1c8),'id':_0x496898});}[_0x1aef1a(0x1b0)](_0x442a45){const _0x1df75d=_0x1aef1a;return this[_0x1df75d(0x138)][_0x1df75d(0x132)](async()=>{const _0x4dc8b8=_0x1df75d;this[_0x4dc8b8(0x19b)][_0x4dc8b8(0x151)][_0x4dc8b8(0x1a8)](_0x4dc8b8(0x1d4),{'id':_0x442a45[_0x4dc8b8(0x15d)]+':'+_0x442a45['id']}),this[_0x4dc8b8(0x19f)](null);});}async[_0x1aef1a(0x1a1)](_0x1bbfaa){const _0x1019a4=_0x1aef1a,_0x8d622c=_0x1419cb(this[_0x1019a4(0x18a)]);let _0x2bb500=_0x8d622c[_0x1019a4(0x134)][_0x1019a4(0x1d2)](_0x1019a4(0x183))||[..._0x314583];if(_0x8d622c[_0x1019a4(0x142)][_0x1019a4(0x1cd)](_0x1019a4(0x133))){if(!this[_0x1019a4(0x18e)]){this[_0x1019a4(0x18e)]=!0x0;const _0x445dd5=_0x8d622c[_0x1019a4(0x15b)][_0x1019a4(0x1d2)](_0x1019a4(0x15e));this[_0x1019a4(0x19b)][_0x1019a4(0x151)][_0x1019a4(0x18d)](_0x1019a4(0x140))['to'](_0x445dd5,_0x1019a4(0x1a0));}}else _0x2bb500=_0x2bb500[_0x1019a4(0x178)](_0x2c8853=>_0x1019a4(0x1d8)!=_0x2c8853);return this[_0x1019a4(0x138)][_0x1019a4(0x132)](async()=>{const _0x1379f4=_0x1019a4;this[_0x1379f4(0x19b)][_0x1379f4(0x151)][_0x1379f4(0x1a8)](_0x1379f4(0x1c1),{'id':_0x1bbfaa[_0x1379f4(0x15d)]+':'+_0x1bbfaa['id'],'areActionsDisabled':_0x1bbfaa[_0x1379f4(0x14e)],'showDiff':this[_0x1379f4(0x17d)],'availableActions':_0x2bb500}),this[_0x1379f4(0x19f)](null);});}[_0x1aef1a(0x159)](_0x6d0ce2,_0x2305f5){const _0x15ebce=_0x1aef1a,_0x137f63=this[_0x15ebce(0x19b)][_0x15ebce(0x151)][_0x15ebce(0x1d6)][_0x15ebce(0x184)];if(_0x137f63 instanceof _0x59e5ab)return this[_0x15ebce(0x19b)][_0x15ebce(0x151)][_0x15ebce(0x1d6)][_0x15ebce(0x135)](_0x137f63),void this[_0x15ebce(0x19b)][_0x15ebce(0x151)][_0x15ebce(0x1a8)](_0x15ebce(0x1c5),{'id':_0x6d0ce2['id'],'capabilities':{'isWebSearchEnabled':_0x137f63[_0x15ebce(0x16f)][_0x15ebce(0x1ae)]||_0x2305f5[_0x15ebce(0x1ae)],'isReasoningEnabled':_0x137f63[_0x15ebce(0x16f)][_0x15ebce(0x1b5)]||_0x2305f5[_0x15ebce(0x1b5)]}});this[_0x15ebce(0x19b)][_0x15ebce(0x151)][_0x15ebce(0x1a8)](_0x15ebce(0x1c5),{'id':_0x6d0ce2['id'],'capabilities':_0x2305f5});}[_0x1aef1a(0x13f)](_0x20bbea){const _0x25740b=_0x1aef1a,_0x54e893=this[_0x25740b(0x19b)][_0x25740b(0x151)][_0x25740b(0x1d6)][_0x25740b(0x131)](_0x365fd7=>_0x365fd7[_0x25740b(0x153)]['id']==_0x20bbea['id']&&_0x365fd7 instanceof _0x59e5ab);_0x54e893&&_0x54e893[_0x25740b(0x1d5)](_0x25740b(0x1a9),_0x20bbea[_0x25740b(0x1a9)]);}async[_0x1aef1a(0x166)](_0xaf484c){const _0x4bc2b9=_0x1aef1a,_0x55b1ff=_0xaf484c[_0x4bc2b9(0x1a7)]||this[_0x4bc2b9(0x16c)];return this[_0x4bc2b9(0x138)][_0x4bc2b9(0x132)](async _0x30e3e5=>{const _0x531549=_0x4bc2b9;await this[_0x531549(0x19b)][_0x531549(0x151)][_0x531549(0x190)]({..._0xaf484c,'abortSignal':_0x30e3e5,'renderingStrategy':_0x55b1ff}),_0xaf484c[_0x531549(0x1c2)]&&this[_0x531549(0x1a4)](_0xaf484c['id']);});}[_0x1aef1a(0x1a6)](_0xbfeda2,_0x1863a5){const _0x2ee002=_0x1aef1a;this[_0x2ee002(0x19b)][_0x2ee002(0x151)][_0x2ee002(0x149)](_0xbfeda2,_0x1863a5);}async[_0x1aef1a(0x15a)](_0x301d65){const _0x373a9e=_0x1aef1a,_0x53570c=_0x301d65[_0x373a9e(0x1a7)]||this[_0x373a9e(0x16c)];return this[_0x373a9e(0x138)][_0x373a9e(0x132)](async _0x4272dc=>{const _0x321a8f=_0x373a9e;await this[_0x321a8f(0x19b)][_0x321a8f(0x151)][_0x321a8f(0x137)]({..._0x301d65,'abortSignal':_0x4272dc,'renderingStrategy':_0x53570c}),_0x301d65[_0x321a8f(0x1c2)]&&this[_0x321a8f(0x1a4)](_0x301d65['id']);});}[_0x1aef1a(0x192)](_0x50edfa){const _0x58b793=_0x1aef1a;this[_0x58b793(0x19b)][_0x58b793(0x151)][_0x58b793(0x1ba)](_0x50edfa);}[_0x1aef1a(0x1a4)](_0x1b2d3b){const _0x30decb=_0x1aef1a;this[_0x30decb(0x19b)][_0x30decb(0x151)][_0x30decb(0x144)](_0x1b2d3b);}[_0x1aef1a(0x19c)](_0x2d1c2f){const _0x4350f2=_0x1aef1a;this[_0x4350f2(0x19b)][_0x4350f2(0x151)][_0x4350f2(0x181)]()[_0x4350f2(0x178)](_0x382609=>_0x382609[_0x4350f2(0x160)](_0x2d1c2f))[_0x4350f2(0x182)](_0x151243=>this[_0x4350f2(0x19b)][_0x4350f2(0x151)][_0x4350f2(0x167)](_0x151243));}[_0x1aef1a(0x13d)](){const _0x19c2ba=_0x1aef1a;this[_0x19c2ba(0x19f)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1}),this[_0x19c2ba(0x19b)][_0x19c2ba(0x180)][_0x19c2ba(0x1b9)](!this[_0x19c2ba(0x18a)][_0x19c2ba(0x134)][_0x19c2ba(0x1d2)](_0x19c2ba(0x1d3))),this[_0x19c2ba(0x172)]=!0x0,this[_0x19c2ba(0x19b)][_0x19c2ba(0x151)][_0x19c2ba(0x174)]();}[_0x1aef1a(0x16b)](_0x2682b5){const _0x262445=_0x1aef1a;this[_0x262445(0x138)][_0x262445(0x152)](),this[_0x262445(0x19b)][_0x262445(0x151)][_0x262445(0x181)]()[_0x262445(0x178)](_0x3dca84=>_0x3dca84[_0x262445(0x160)](_0x2682b5['id']))[_0x262445(0x182)](_0x13700a=>this[_0x262445(0x1a4)](_0x13700a)),this[_0x262445(0x172)]=!0x1,this[_0x262445(0x19b)][_0x262445(0x151)][_0x262445(0x1a2)]();}async[_0x1aef1a(0x163)](){const _0x42f23b=_0x1aef1a;return this[_0x42f23b(0x138)][_0x42f23b(0x189)][_0x42f23b(0x16a)](()=>{const _0xbfcd33=_0x42f23b;this[_0xbfcd33(0x172)]=!0x1,this[_0xbfcd33(0x19b)][_0xbfcd33(0x151)][_0xbfcd33(0x1a2)]();});}[_0x1aef1a(0x1c9)](_0x3e9df9,_0x17376b){const _0x44db88=_0x1aef1a;this[_0x44db88(0x19b)][_0x44db88(0x180)][_0x44db88(0x1c9)](_0x3e9df9,_0x17376b);}[_0x1aef1a(0x1af)](_0x336a29){const _0x2a13aa=_0x1aef1a;this[_0x2a13aa(0x19b)][_0x2a13aa(0x180)][_0x2a13aa(0x1af)](_0x336a29);}[_0x1aef1a(0x19e)](_0x4534b9,_0x29a9c3){const _0x2073b2=_0x1aef1a;this[_0x2073b2(0x19b)][_0x2073b2(0x180)][_0x2073b2(0x19e)](_0x4534b9,_0x29a9c3);}[_0x1aef1a(0x195)](_0x23c99f){const _0x19484d=_0x1aef1a;this[_0x19484d(0x19b)][_0x19484d(0x180)][_0x19484d(0x195)](_0x23c99f);}[_0x1aef1a(0x19a)](_0x265d8b){const _0x23cbe5=_0x1aef1a;this[_0x23cbe5(0x19b)][_0x23cbe5(0x180)][_0x23cbe5(0x19a)](_0x265d8b);}[_0x1aef1a(0x13a)](){const _0x583f00=_0x1aef1a;this[_0x583f00(0x19b)][_0x583f00(0x180)][_0x583f00(0x13a)]();}[_0x1aef1a(0x176)](){const _0xe30cd5=_0x1aef1a;this[_0xe30cd5(0x19b)][_0xe30cd5(0x180)][_0xe30cd5(0x176)]();}[_0x1aef1a(0x157)](_0x185644,_0x106ed6,_0x2c494c){const _0x229cfb=_0x1aef1a;this[_0x229cfb(0x19b)][_0x229cfb(0x180)][_0x229cfb(0x157)](_0x185644,_0x106ed6,_0x2c494c);}[_0x1aef1a(0x1d1)](){const _0x5b50a2=_0x1aef1a;this[_0x5b50a2(0x19b)][_0x5b50a2(0x180)][_0x5b50a2(0x1d1)](),this[_0x5b50a2(0x19b)][_0x5b50a2(0x180)][_0x5b50a2(0x17c)](this[_0x5b50a2(0x196)]());}[_0x1aef1a(0x143)](_0xc6fe6b){const _0xe777c=_0x1aef1a;this[_0xe777c(0x19b)][_0xe777c(0x180)][_0xe777c(0x143)](_0xc6fe6b);}[_0x1aef1a(0x1bf)](_0x5883c6){const _0x294de1=_0x1aef1a;this[_0x294de1(0x19b)][_0x294de1(0x180)][_0x294de1(0x198)](_0x5883c6[_0x294de1(0x1ae)]),this[_0x294de1(0x19b)][_0x294de1(0x180)][_0x294de1(0x16e)](_0x5883c6[_0x294de1(0x1b5)]),this[_0x294de1(0x19b)][_0x294de1(0x180)][_0x294de1(0x17c)](this[_0x294de1(0x196)](_0x5883c6));}[_0x1aef1a(0x168)](_0x104f59,_0x52f19e){const _0xd877b0=_0x1aef1a;this[_0xd877b0(0x19b)][_0xd877b0(0x180)][_0xd877b0(0x165)](_0x104f59),_0x52f19e&&this[_0xd877b0(0x19b)][_0xd877b0(0x180)][_0xd877b0(0x1b9)](!0x1);}[_0x1aef1a(0x173)](_0x25c93c){const _0x4dfce6=_0x1aef1a;this[_0x4dfce6(0x16c)]=_0x25c93c;}[_0x1aef1a(0x194)](_0x20b026){const _0x24845c=_0x1aef1a;this[_0x24845c(0x19b)][_0x24845c(0x151)][_0x24845c(0x194)](_0x20b026);}[_0x1aef1a(0x1b3)](){const _0x4fcc06=_0x1aef1a;this[_0x4fcc06(0x1c7)](_0xa3933(this[_0x4fcc06(0x18a)][_0x4fcc06(0x1d7)],_0x4fcc06(0x1bc)));}[_0x1aef1a(0x1c7)](_0x3b5288,_0x244351=!0x1){const _0x318427=_0x1aef1a;if(_0x244351&&!_0x1428bd()&&_0x3b5288[_0x318427(0x148)])return this[_0x318427(0x19b)][_0x318427(0x177)][_0x318427(0x15c)]='',void this[_0x318427(0x1bd)](_0x3b5288);this[_0x318427(0x19b)][_0x318427(0x177)][_0x318427(0x15c)]=_0x3b5288;}[_0x1aef1a(0x19f)](_0x58c4c4){const _0x3864bd=_0x1aef1a,_0x422606=this[_0x3864bd(0x139)](_0x58c4c4);this[_0x3864bd(0x19b)][_0x3864bd(0x151)][_0x3864bd(0x19f)](_0x422606);}[_0x1aef1a(0x1bd)](_0x3a9e7f){const _0x47437d=_0x1aef1a;let _0x1620f0=0x0;clearInterval(this[_0x47437d(0x17e)]),this[_0x47437d(0x17e)]=setInterval(()=>{const _0x3b870c=_0x47437d;this[_0x3b870c(0x19b)][_0x3b870c(0x177)][_0x3b870c(0x15c)]=this[_0x3b870c(0x19b)][_0x3b870c(0x177)][_0x3b870c(0x15c)]+_0x3a9e7f[_0x1620f0],_0x1620f0++,_0x1620f0===_0x3a9e7f[_0x3b870c(0x148)]&&clearInterval(this[_0x3b870c(0x17e)]);},0x1e);}[_0x1aef1a(0x13b)](_0x21dd1f){const _0x453984=_0x1aef1a;this[_0x453984(0x19b)][_0x453984(0x177)][_0x453984(0x199)]=_0x21dd1f;}[_0x1aef1a(0x139)](_0x2d6929){const _0x10b05a=_0x1aef1a;return _0x2d6929?_0x2d6929[_0x10b05a(0x1ae)]&&_0x2d6929[_0x10b05a(0x1b5)]?_0xa3933(this[_0x10b05a(0x18a)][_0x10b05a(0x1d7)],_0x10b05a(0x16d)):_0x2d6929[_0x10b05a(0x1ae)]?_0xa3933(this[_0x10b05a(0x18a)][_0x10b05a(0x1d7)],_0x10b05a(0x185)):_0x2d6929[_0x10b05a(0x1b5)]?_0xa3933(this[_0x10b05a(0x18a)][_0x10b05a(0x1d7)],_0x10b05a(0x197)):_0xa3933(this[_0x10b05a(0x18a)][_0x10b05a(0x1d7)],_0x10b05a(0x14d)):'';}[_0x1aef1a(0x196)](_0x17a6d7){const _0x39361a=_0x1aef1a;return _0x17a6d7?_0x17a6d7[_0x39361a(0x1ae)]&&_0x17a6d7[_0x39361a(0x1b5)]?_0xa3933(this[_0x39361a(0x18a)][_0x39361a(0x1d7)],_0x39361a(0x154)):_0x17a6d7[_0x39361a(0x1ae)]?_0xa3933(this[_0x39361a(0x18a)][_0x39361a(0x1d7)],_0x39361a(0x1be)):_0x17a6d7[_0x39361a(0x1b5)]?_0xa3933(this[_0x39361a(0x18a)][_0x39361a(0x1d7)],_0x39361a(0x145)):_0xa3933(this[_0x39361a(0x18a)][_0x39361a(0x1d7)],_0x39361a(0x170)):_0xa3933(this[_0x39361a(0x18a)][_0x39361a(0x1d7)],_0x39361a(0x170));}[_0x1aef1a(0x175)](_0xcfdd5b,_0x138381,_0x4d1126,_0x4bdc58){const _0x387ade=_0x1aef1a;this[_0x387ade(0x19b)][_0x387ade(0x175)](_0xcfdd5b,_0x138381,_0x4d1126,_0x4bdc58);}[_0x1aef1a(0x17f)](_0x32ff47){const _0xb492e8=_0x1aef1a;this[_0xb492e8(0x19b)][_0xb492e8(0x17f)](_0x32ff47);}[_0x1aef1a(0x1c4)](){const _0x1ca629=_0x1aef1a;this[_0x1ca629(0x19b)][_0x1ca629(0x180)][_0x1ca629(0x1c4)]();}[_0x1aef1a(0x136)](_0x5b0b3f,_0x6a6e30){const _0x30f291=_0x1aef1a;this[_0x30f291(0x19b)][_0x30f291(0x151)][_0x30f291(0x186)](_0x5b0b3f,_0x6a6e30);}[_0x1aef1a(0x174)](){const _0x48352c=_0x1aef1a;this[_0x48352c(0x19b)][_0x48352c(0x151)][_0x48352c(0x174)]();}[_0x1aef1a(0x1b4)](){const _0x57e715=_0x1aef1a;this[_0x57e715(0x19b)][_0x57e715(0x180)][_0x57e715(0x147)]=!0x0;}[_0x1aef1a(0x1ca)](){const _0x2d7778=_0x1aef1a;this[_0x2d7778(0x19b)][_0x2d7778(0x180)][_0x2d7778(0x147)]=!0x1;}}