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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x3f87(_0x258fd1,_0x3dbc5){var _0x3176d8=_0x3176();return _0x3f87=function(_0x3f872b,_0x149e40){_0x3f872b=_0x3f872b-0x11a;var _0x5d5432=_0x3176d8[_0x3f872b];return _0x5d5432;},_0x3f87(_0x258fd1,_0x3dbc5);}function _0x3176(){var _0xfb7438=['AI_DISCLAIMER_TEXT','27EBejGx','ck-ai-balloon__disclaimer-content','8594770nVnqZy','div','100LveaMJ','483624basRTr','8871120CZQjiU','3868907nunTlq','22533dpgmaI','12888GWNOFg','ck-ai-balloon__disclaimer','635GfkAkD','1414346brmBCP','setTemplate'];_0x3176=function(){return _0xfb7438;};return _0x3176();}(function(_0x690de4,_0x30c16e){var _0x11174a=_0x3f87,_0x423fe8=_0x690de4();while(!![]){try{var _0x3a45ff=parseInt(_0x11174a(0x122))/0x1+-parseInt(_0x11174a(0x11a))/0x2+-parseInt(_0x11174a(0x125))/0x3*(-parseInt(_0x11174a(0x121))/0x4)+-parseInt(_0x11174a(0x128))/0x5*(parseInt(_0x11174a(0x126))/0x6)+-parseInt(_0x11174a(0x124))/0x7+-parseInt(_0x11174a(0x123))/0x8+-parseInt(_0x11174a(0x11d))/0x9*(-parseInt(_0x11174a(0x11f))/0xa);if(_0x3a45ff===_0x30c16e)break;else _0x423fe8['push'](_0x423fe8['shift']());}catch(_0x7003f4){_0x423fe8['push'](_0x423fe8['shift']());}}}(_0x3176,0x9480e));import{View as _0x59fd0d}from'ckeditor5/src/ui.js';import{getTranslation as _0x489755}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x59fd0d{constructor(_0x429f30){var _0x5c3e63=_0x3f87;super(_0x429f30),this[_0x5c3e63(0x11b)]({'tag':_0x5c3e63(0x120),'attributes':{'class':['ck',_0x5c3e63(0x127)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x5c3e63(0x11e)]},'children':[{'text':_0x489755(_0x429f30,_0x5c3e63(0x11c))}]}]});}}
@@ -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 _0x45f398=_0x1bd8;(function(_0x1a4fdc,_0x571ace){const _0x38c271=_0x1bd8,_0x2d9f75=_0x1a4fdc();while(!![]){try{const _0x1513cd=-parseInt(_0x38c271(0x1d2))/0x1+-parseInt(_0x38c271(0x1fc))/0x2*(parseInt(_0x38c271(0x1dd))/0x3)+-parseInt(_0x38c271(0x1ee))/0x4+parseInt(_0x38c271(0x1d0))/0x5*(-parseInt(_0x38c271(0x1e4))/0x6)+-parseInt(_0x38c271(0x204))/0x7+-parseInt(_0x38c271(0x1c9))/0x8*(-parseInt(_0x38c271(0x1e3))/0x9)+parseInt(_0x38c271(0x1da))/0xa;if(_0x1513cd===_0x571ace)break;else _0x2d9f75['push'](_0x2d9f75['shift']());}catch(_0x35ea8b){_0x2d9f75['push'](_0x2d9f75['shift']());}}}(_0x1b88,0xb3eab));function _0x1bd8(_0x3a47f0,_0x3af969){const _0x1b88e2=_0x1b88();return _0x1bd8=function(_0x1bd842,_0x1f3533){_0x1bd842=_0x1bd842-0x1b4;let _0x4291bd=_0x1b88e2[_0x1bd842];return _0x4291bd;},_0x1bd8(_0x3a47f0,_0x3af969);}import{ButtonView as _0x494627,View as _0x32caa1,ViewCollection as _0x49fc71,FocusCycler as _0x3b8985}from'ckeditor5/src/ui.js';import{FocusTracker as _0x486f3f,KeystrokeHandler as _0x393f82}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x4c3a0a,IconPreviousArrow as _0x302e34}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x5f3fa6}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x3857f3}from'./aiballoondisclaimerview.js';import{getTranslation as _0x5d6567}from'../../aicore/utils/common-translations.js';function _0x1b88(){const _0x2a649b=['showPrevious','focusFirst','ai-balloon-content','clearLoading','showApplyButton','applyButton','startAutoScroll','_initializeScrollManager','5474868pQdGOT','updateContent','_availableActions','bodyView','scrollManager','toolbar','destroy','tab','_addContentView','focusLast','_dialogContent','isErrorVisible','createCollection','_createPreviousButtonView','2379514oKvgCz','ck-ai-suggestion__error-text','setLoading','view','isTrackChangesOn','change:isTrackChangesOn','render','ck-hidden','6873027gPkbpN','focusCycler','start','listenTo','showRecoverableError','showSuggestButton','getIndex','focus','isLoading','remove','showError','fire','applySuggestion','_addDisclaimerView','suggestButton','ck-ai-suggestion__error','insertSuggestion','AI_BALLOON_NEXT_TOOLTIP','children','bindTemplate','span','keystrokes','hideError','disclaimerView','execute','includes','_mainView','showBlockingError','add','headerView','_createNextButtonView','AI_BALLOON_PREVIOUS_TOOLTIP','mainView','8HsWGoV','shift\x20+\x20tab','errorMessage','set','_addToolbar','_createErrorView','_focusables','125nACuwv','isEnabled','1423319WmEZgH','focusTracker','stop','setTemplate','setupRotator','ai-balloon-error','clear','stopAutoScroll','56815290ehXICh','element','bind','3AdbzLy','div','_getScrollableElement','locale','addMany','showNext','12354876UQFYuq','324888Reibvu','_errorView'];_0x1b88=function(){return _0x2a649b;};return _0x1b88();}import{ScrollManager as _0xb26aa3}from'../../aicore/utils/scrollmanager.js';import{AISuggestionContainerView as _0x3cc910}from'../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x45f398(0x1b4),_0x45f398(0x1b8),_0x45f398(0x1e2),_0x45f398(0x1e6)];export class AIBalloonView extends _0x32caa1{[_0x45f398(0x1d3)];[_0x45f398(0x1bd)];[_0x45f398(0x205)];[_0x45f398(0x1f0)];[_0x45f398(0x1cf)];[_0x45f398(0x1e5)];[_0x45f398(0x1f2)];constructor(_0x5009a3,_0x218fdf,_0x1d4946,_0xcd8200){const _0x308424=_0x45f398;super(_0x5009a3),this[_0x308424(0x1f0)]=_0x1d4946,this[_0x308424(0x1cc)](_0x308424(0x20c),!0x1),this[_0x308424(0x1cc)](_0x308424(0x200),_0xcd8200),this[_0x308424(0x1cc)](_0x308424(0x1f9),!0x1),this[_0x308424(0x1cc)](_0x308424(0x1cb),''),this[_0x308424(0x1d3)]=new _0x486f3f(),this[_0x308424(0x1bd)]=new _0x393f82(),this[_0x308424(0x1cf)]=this[_0x308424(0x1fa)](),this[_0x308424(0x205)]=new _0x3b8985({'focusables':this[_0x308424(0x1cf)],'focusTracker':this[_0x308424(0x1d3)],'keystrokeHandler':this[_0x308424(0x1bd)],'actions':{'focusPrevious':_0x308424(0x1ca),'focusNext':_0x308424(0x1f5)}}),this[_0x308424(0x1f8)]=new _0x49fc71(),this[_0x308424(0x1f6)](_0x218fdf[_0x308424(0x1c8)]),this[_0x308424(0x1b5)](),this[_0x308424(0x1cd)](_0x218fdf[_0x308424(0x1ea)],_0x218fdf[_0x308424(0x209)]),this[_0x308424(0x1f3)][_0x308424(0x1dc)](_0x308424(0x20c))['to'](this),this[_0x308424(0x1cf)][_0x308424(0x1d8)](),this[_0x308424(0x1cf)][_0x308424(0x1e1)]([this[_0x308424(0x1f3)]]),this[_0x308424(0x1d5)]({'tag':_0x308424(0x1de),'attributes':{'class':_0x308424(0x1e8)},'children':this[_0x308424(0x1f8)]}),this['on'](_0x308424(0x201),()=>{const _0x2863d9=_0x308424;this[_0x2863d9(0x1f8)][_0x2863d9(0x20d)](this[_0x2863d9(0x1f3)]),this[_0x2863d9(0x1cd)](_0x218fdf[_0x2863d9(0x1ea)],_0x218fdf[_0x2863d9(0x209)]);});}[_0x45f398(0x202)](){const _0x54afa1=_0x45f398;super[_0x54afa1(0x202)]();for(const _0x5512a8 of this[_0x54afa1(0x1cf)])this[_0x54afa1(0x1d3)][_0x54afa1(0x1c4)](_0x5512a8[_0x54afa1(0x1db)]);this[_0x54afa1(0x1bd)][_0x54afa1(0x207)](this[_0x54afa1(0x1db)]),this[_0x54afa1(0x1ed)]();}[_0x45f398(0x1f4)](){const _0x2f78fb=_0x45f398;super[_0x2f78fb(0x1f4)](),this[_0x2f78fb(0x1f2)]&&this[_0x2f78fb(0x1f2)][_0x2f78fb(0x1f4)]();}[_0x45f398(0x20b)](_0xc9a76a){const _0x228a5=_0x45f398;-0x1===_0xc9a76a?this[_0x228a5(0x205)][_0x228a5(0x1f7)]():this[_0x228a5(0x205)][_0x228a5(0x1e7)]();}[_0x45f398(0x1fe)](){const _0x572303=_0x45f398;this[_0x572303(0x20c)]=!0x0;}[_0x45f398(0x1e9)](){const _0x3ef931=_0x45f398;this[_0x3ef931(0x20c)]=!0x1;}[_0x45f398(0x20e)](_0x4c01d6){const _0x115809=_0x45f398;this[_0x115809(0x1e5)]||(this[_0x115809(0x1e5)]=this[_0x115809(0x1ce)](),this[_0x115809(0x1f8)][_0x115809(0x1e1)]([this[_0x115809(0x1e5)]],0x0)),this[_0x115809(0x1cb)]=_0x4c01d6,this[_0x115809(0x1f9)]=!0x0;}[_0x45f398(0x1be)](){const _0x2c467b=_0x45f398;this[_0x2c467b(0x1f9)]=!0x1;}[_0x45f398(0x208)](_0x39166d){const _0x2f59f9=_0x45f398;this[_0x2f59f9(0x20e)](_0x39166d);}[_0x45f398(0x1c3)](_0x44ea2f){const _0x1c30c5=_0x45f398;this[_0x1c30c5(0x20e)](_0x44ea2f),this[_0x1c30c5(0x1f3)]&&(this[_0x1c30c5(0x1f3)][_0x1c30c5(0x1eb)]&&(this[_0x1c30c5(0x1f3)][_0x1c30c5(0x1eb)][_0x1c30c5(0x1d1)]=!0x1),this[_0x1c30c5(0x1f3)][_0x1c30c5(0x1b6)]&&(this[_0x1c30c5(0x1f3)][_0x1c30c5(0x1b6)][_0x1c30c5(0x1d1)]=!0x1));}[_0x45f398(0x1d6)](_0x4fb029){const _0x4acc2b=_0x45f398,_0x1d599e=this[_0x4acc2b(0x1c6)](),_0x5d87dc=this[_0x4acc2b(0x1fb)]();_0x4fb029[_0x4acc2b(0x1ff)][_0x4acc2b(0x1c5)][_0x4acc2b(0x1ba)][_0x4acc2b(0x1c4)](_0x1d599e,0x2),_0x4fb029[_0x4acc2b(0x1ff)][_0x4acc2b(0x1c5)][_0x4acc2b(0x1ba)][_0x4acc2b(0x1c4)](_0x5d87dc,0x0),this[_0x4acc2b(0x1cf)][_0x4acc2b(0x1e1)]([_0x1d599e,_0x5d87dc]),this[_0x4acc2b(0x1d3)][_0x4acc2b(0x1c4)](_0x1d599e[_0x4acc2b(0x1db)]),this[_0x4acc2b(0x1d3)][_0x4acc2b(0x1c4)](_0x5d87dc[_0x4acc2b(0x1db)]);}[_0x45f398(0x1f6)](_0x45e426){const _0x415047=_0x45f398;this[_0x415047(0x1c2)]=_0x45e426,this[_0x415047(0x1f8)][_0x415047(0x1c4)](this[_0x415047(0x1c2)]);}[_0x45f398(0x1ef)](_0x5055c4){const _0x2f3f68=_0x45f398,_0xed376c=this[_0x2f3f68(0x1f8)][_0x2f3f68(0x20a)](this[_0x2f3f68(0x1c2)]);this[_0x2f3f68(0x1f8)][_0x2f3f68(0x20d)](this[_0x2f3f68(0x1c2)]),this[_0x2f3f68(0x1c2)]=_0x5055c4,this[_0x2f3f68(0x1f8)][_0x2f3f68(0x1c4)](this[_0x2f3f68(0x1c2)],_0xed376c),this[_0x2f3f68(0x1be)](),this[_0x2f3f68(0x1f2)]&&this[_0x2f3f68(0x1f2)][_0x2f3f68(0x1f4)](),this[_0x2f3f68(0x1ed)]();}[_0x45f398(0x1b5)](){const _0x21f00e=_0x45f398;this[_0x21f00e(0x1bf)]=new _0x3857f3(this[_0x21f00e(0x1e0)]),this[_0x21f00e(0x1f8)][_0x21f00e(0x1c4)](this[_0x21f00e(0x1bf)]);}[_0x45f398(0x1cd)](_0x2fe077=!0x0,_0x4fd2ac=!0x0){const _0x5a92a9=_0x45f398;_0x2fe077=_0x2fe077&&!this[_0x5a92a9(0x200)]&&this[_0x5a92a9(0x1f0)][_0x5a92a9(0x1c1)](_0x5a92a9(0x1b4)),_0x4fd2ac=_0x4fd2ac&&this[_0x5a92a9(0x1f0)][_0x5a92a9(0x1c1)](_0x5a92a9(0x1b8)),this[_0x5a92a9(0x1f3)]=new _0x5f3fa6(this[_0x5a92a9(0x1e0)],_0x2fe077,_0x4fd2ac),this[_0x5a92a9(0x1f3)][_0x5a92a9(0x1eb)]?.['on'](_0x5a92a9(0x1c0),()=>{const _0x493adc=_0x5a92a9;this[_0x493adc(0x20f)](_0x493adc(0x1b4));}),this[_0x5a92a9(0x1f3)][_0x5a92a9(0x1b6)]?.['on'](_0x5a92a9(0x1c0),()=>{const _0x19cee7=_0x5a92a9;this[_0x19cee7(0x20f)](_0x19cee7(0x1b8));}),this[_0x5a92a9(0x1f8)][_0x5a92a9(0x1c4)](this[_0x5a92a9(0x1f3)]);}[_0x45f398(0x1c6)](){const _0x3883a=_0x45f398,_0x12ad3e=new _0x494627(this[_0x3883a(0x1e0)]);return _0x12ad3e[_0x3883a(0x1cc)]({'icon':_0x4c3a0a,'tooltip':_0x5d6567(this[_0x3883a(0x1e0)],_0x3883a(0x1b9))}),_0x12ad3e['on'](_0x3883a(0x1c0),()=>{const _0x297416=_0x3883a;this[_0x297416(0x20f)](_0x297416(0x1e2));}),_0x12ad3e;}[_0x45f398(0x1fb)](){const _0x508e2c=_0x45f398,_0x120aa7=new _0x494627(this[_0x508e2c(0x1e0)]);return _0x120aa7[_0x508e2c(0x1cc)]({'icon':_0x302e34,'tooltip':_0x5d6567(this[_0x508e2c(0x1e0)],_0x508e2c(0x1c7))}),_0x120aa7['on'](_0x508e2c(0x1c0),()=>{const _0x5bc3ce=_0x508e2c;this[_0x5bc3ce(0x20f)](_0x5bc3ce(0x1e6));}),_0x120aa7;}[_0x45f398(0x1ce)](){const _0x4517b0=_0x45f398,_0x72f47b=new _0x32caa1(this[_0x4517b0(0x1e0)]),_0x386aa4=new _0x32caa1(this[_0x4517b0(0x1e0)]);return _0x386aa4[_0x4517b0(0x1d5)]({'tag':_0x4517b0(0x1bc),'attributes':{'class':['ck',_0x4517b0(0x1fd)]},'children':[{'text':this[_0x4517b0(0x1bb)]['to'](_0x4517b0(0x1cb))}]}),_0x72f47b[_0x4517b0(0x1d5)]({'tag':_0x4517b0(0x1de),'attributes':{'class':['ck',_0x4517b0(0x1b7),_0x4517b0(0x1d7),this[_0x4517b0(0x1bb)]['if'](_0x4517b0(0x1f9),_0x4517b0(0x203),_0x1dceef=>!_0x1dceef)]},'children':[_0x386aa4]}),_0x72f47b;}[_0x45f398(0x1ec)](){const _0x24428f=_0x45f398;this[_0x24428f(0x1ed)](),this[_0x24428f(0x1f2)]&&this[_0x24428f(0x1f2)][_0x24428f(0x206)]();}[_0x45f398(0x1d9)](){const _0x48f071=_0x45f398;this[_0x48f071(0x1f2)]&&this[_0x48f071(0x1f2)][_0x48f071(0x1d4)]();}[_0x45f398(0x1ed)](){const _0x5fa94d=_0x45f398,_0x2a34bf=this[_0x5fa94d(0x1df)]();_0x2a34bf&&!this[_0x5fa94d(0x1f2)]&&(this[_0x5fa94d(0x1f2)]=new _0xb26aa3(_0x2a34bf));}[_0x45f398(0x1df)](){const _0x5d5a02=_0x45f398;return this[_0x5d5a02(0x1c2)]instanceof _0x3cc910&&this[_0x5d5a02(0x1c2)][_0x5d5a02(0x1f1)][_0x5d5a02(0x1db)]?this[_0x5d5a02(0x1c2)][_0x5d5a02(0x1f1)][_0x5d5a02(0x1db)]: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 _0x273422=_0x3eec;function _0x3eec(_0x5989d4,_0x5fcfe4){var _0xaf89f9=_0xaf89();return _0x3eec=function(_0x3eecd8,_0x96fc01){_0x3eecd8=_0x3eecd8-0x156;var _0x3e5a97=_0xaf89f9[_0x3eecd8];return _0x3e5a97;},_0x3eec(_0x5989d4,_0x5fcfe4);}(function(_0x5d0f22,_0x3e3303){var _0x33c6f6=_0x3eec,_0x9eeff0=_0x5d0f22();while(!![]){try{var _0x39a6fa=-parseInt(_0x33c6f6(0x15e))/0x1*(parseInt(_0x33c6f6(0x156))/0x2)+parseInt(_0x33c6f6(0x15b))/0x3*(-parseInt(_0x33c6f6(0x15f))/0x4)+parseInt(_0x33c6f6(0x164))/0x5*(-parseInt(_0x33c6f6(0x165))/0x6)+parseInt(_0x33c6f6(0x15c))/0x7*(parseInt(_0x33c6f6(0x16b))/0x8)+parseInt(_0x33c6f6(0x160))/0x9+-parseInt(_0x33c6f6(0x169))/0xa*(-parseInt(_0x33c6f6(0x168))/0xb)+-parseInt(_0x33c6f6(0x158))/0xc*(-parseInt(_0x33c6f6(0x16e))/0xd);if(_0x39a6fa===_0x3e3303)break;else _0x9eeff0['push'](_0x9eeff0['shift']());}catch(_0x21bdba){_0x9eeff0['push'](_0x9eeff0['shift']());}}}(_0xaf89,0x52769));import{ContextPlugin as _0x39ee2d}from'ckeditor5/src/core.js';import{AIChatController as _0x24b0e0}from'./aichatcontroller.js';import{AIEditing as _0x1176fb}from'../aicore/aiediting.js';function _0xaf89(){var _0x226461=['requires','481kXuQSh','isPremiumPlugin','AIChat','focusPromptInput','define','config','13628CNOdHw','ai.chat.models','39708yEygpV','isOfficialPlugin','plugins','363ErGGtR','1233099QEeZik','addSelectionToChatContext','74vALClS','412UvvTqc','4591143klbcRM','context','get','sendMessage','5GGXhHB','1702434nYjLho','pluginName','ai.chat.context','6930zjIoQQ','5230LuSrgM','removeSelectionFromChatContext','8CTmVDe','startConversation'];_0xaf89=function(){return _0x226461;};return _0xaf89();}import{AIChatUI as _0x5e3b30}from'./aichatui.js';import{AIChatHistory as _0x5c3989}from'../aichathistory/aichathistory.js';export class AIChat extends _0x39ee2d{static get[_0x273422(0x16d)](){return[_0x24b0e0,_0x1176fb,_0x5e3b30,_0x5c3989];}static get[_0x273422(0x166)](){var _0x305d8c=_0x273422;return _0x305d8c(0x170);}static get[_0x273422(0x159)](){return!0x0;}static get[_0x273422(0x16f)](){return!0x0;}constructor(_0x33768c){var _0x498f8e=_0x273422;super(_0x33768c),this[_0x498f8e(0x161)][_0x498f8e(0x173)][_0x498f8e(0x172)](_0x498f8e(0x167),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x498f8e(0x161)][_0x498f8e(0x173)][_0x498f8e(0x172)](_0x498f8e(0x157),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x273422(0x15d)](){var _0x25cec9=_0x273422;await this[_0x25cec9(0x161)][_0x25cec9(0x15a)][_0x25cec9(0x162)](_0x24b0e0)[_0x25cec9(0x15d)]();}async[_0x273422(0x16c)](){var _0xd5d868=_0x273422;await this[_0xd5d868(0x161)][_0xd5d868(0x15a)][_0xd5d868(0x162)](_0x24b0e0)[_0xd5d868(0x16c)]();}async[_0x273422(0x163)]({message:_0x307ec0,quickActionData:_0x442c2d}){var _0x3ad392=_0x273422;await this[_0x3ad392(0x161)][_0x3ad392(0x15a)][_0x3ad392(0x162)](_0x24b0e0)[_0x3ad392(0x163)]({'message':_0x307ec0,'quickActionData':_0x442c2d});}[_0x273422(0x16a)](){var _0x9681b0=_0x273422;this[_0x9681b0(0x161)][_0x9681b0(0x15a)][_0x9681b0(0x162)](_0x24b0e0)[_0x9681b0(0x16a)]();}[_0x273422(0x171)](){var _0x143f36=_0x273422;this[_0x143f36(0x161)][_0x143f36(0x15a)][_0x143f36(0x162)](_0x24b0e0)[_0x143f36(0x171)]();}}
@@ -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 _0x3bf42f=_0x1f53;(function(_0x48eb0e,_0x25d015){const _0x5c3a53=_0x1f53,_0x43d40f=_0x48eb0e();while(!![]){try{const _0x53569e=-parseInt(_0x5c3a53(0x231))/0x1+-parseInt(_0x5c3a53(0x1bd))/0x2+-parseInt(_0x5c3a53(0x295))/0x3*(parseInt(_0x5c3a53(0x234))/0x4)+-parseInt(_0x5c3a53(0x28a))/0x5+parseInt(_0x5c3a53(0x29a))/0x6*(parseInt(_0x5c3a53(0x21f))/0x7)+-parseInt(_0x5c3a53(0x2ee))/0x8+parseInt(_0x5c3a53(0x1a3))/0x9*(parseInt(_0x5c3a53(0x1d6))/0xa);if(_0x53569e===_0x25d015)break;else _0x43d40f['push'](_0x43d40f['shift']());}catch(_0x562e24){_0x43d40f['push'](_0x43d40f['shift']());}}}(_0x24eb,0xa6898));import{ContextPlugin as _0x2146e0,Editor as _0x1042e5}from'ckeditor5/src/core.js';import{BodyCollection as _0x230456}from'ckeditor5/src/ui.js';import{CKEditorError as _0x43f47e,logError as _0x4e7c88,scrollViewportToShowTarget as _0x125cfd,uid as _0x546e7d}from'ckeditor5/src/utils.js';import{AIConnector as _0xf168d5}from'../aicore/aiconnector.js';import{AITabs as _0x1b079d}from'../aitabs/aitabs.js';import{AIChatConversation as _0x2e1a0e}from'./model/aichatconversation.js';function _0x24eb(){const _0x5cc477=['rootName','_scrollToSuggestionRange','conversationInitialized','destroy','resetMessageInput','isUploadInProgress','parse','like','ai-chat-context-unsupported-file-type','getDocumentContext','_removeAISelectionMarkers','createRange','$graveyard','rejected','7OJsJdF','ai-no-track-changes','isCurrentDocumentInContext','_handleUIUserMessage','node','AI_CHAT_UNTITLED_CONVERSATION','populateSourceResourceBalloon','partIndex','resizeTabs','removed','applySuggestion','howMany','options','Showing\x20conversation\x20history...','isPremiumPlugin','setLoadingMessage','full','attachToDom','440162NVgmKE','ai-chat-controller-mouse-over','setSelectedModel','2988sVNUkr','batch','_setIsMaximized','_balloonShowDiff','removeMarker','stopListening','slice','ai-chat-file-upload-failed','changeGroups','contextItemRemoved','showChangeInText','ai.chat.context','message','_getDocumentRangeForReplyChanges','version','stop','showDiff','disableControls','getSelectionText','getReply','setModel','ai-chat-url-upload-failed','add','index','getConversation','addFileToContext','addFeedItemUserMessage','domConverter','interactionDestroyed','clearPendingContextUI','fetchConversation','remove','accepted','end','addFilesToContext','removeSelectionFromChatContext','updateConversationTitle','_logError','viewRangeToDom','handleRemovedConversation','sourceResourcesLoaded','dislike','ai-chat-context-file-too-many-pages','isInContext','addFeedInteractionHeader','DocumentCompare','loadConversation','from','ai-request-aborted','updateFeedItemAIReplyContent','enableControls','AIConnector','getGroupId','log','view','isDocumentOperation','_createFromRanges','toggleLoadingSkeleton','interactionId','reasoningStarted','isDisabled','replyId','Liked\x20response','_updateReplyContent','contextSent','text-delta','revert','getOperations','baseVersion','showFakeVisualSelection','AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','children','resourceStateChanged','getChild','contextItemLoadingEnded','AI_CHAT_ABORTED_MESSAGE','locale','AI_BALLOON_HEADER_TITLE','listenTo','setConversationTitle','new','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','finishInteraction','messageId','sendUserMessage','error','2294215zfPleh','ai.chat.models.defaultModelId','getRanges','startsWith','startConversation','updateFeedItemAIReplySuggestionPartState','toViewRange','contextItemAdded','getFirstRange','_aiEditing','AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','3318biETqR','commands','AI_CHAT_CONTEXT_INVALID_DATA','_batchToChanges','uid','6728790tpSZUV','data-id','config','_removeFromContext','isModelAvailable','_applySuggestion','lastInteraction','delete','TrackChanges','setConversationContext','addFeedItemAIReply','selection','load','marker','addFeedItemAISuggestion','_updateRatings','addFeedItemStaticMessage','createConversation','sources','showNext','AI_CHAT_RESOURCE_LOAD_FAILED','range','updateFeedItemAIReplySources','ai-chat-context-unsupported-type','ai-chat-invalid-request','outdated','setChangeGroupState','AIChatController','removeFeedInteraction','addContextOptionsChanged','undo','map','createPositionFromPath','updateFeedItemAIReplySuggestionContent','interactionStarted','content','stopInteraction','AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','document','history','updateCapabilities','nextSibling','AIEditing','type','getInteractionAndReplyById','toggleWebSearch','alignToTop','rejectSuggestion','ai-chat-conversation-not-found','start','_applyOperationsAsSuggestions','current-document','cloneNode','contextItem','query','toString','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','indexes','AI_CHAT_INVALID_REQUEST','set','getContentParts','AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','maxOffset','AITabs','_aiConnector','closeSourceResourceBalloon','loadSourceResources','modelSelected','resize','changes','resizedTabs','replyChangeGroupStateUpdated','data','path','webSearchStarted','static','addDocumentToContext','setAddContextOptions','redo','setIsMaximized','interactionFinished','getDiff','getChildAtOffset','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','89704gJDwHb','sourcePosition','unshift','ai-chat-resource-load-failed','ai-chat-conversation-start-failed','_flushLastInteractionUI','afterInit','context','getInteraction','find','updateContent','mouseLeaveSuggestion','indexOf','reasoningFinished','contextItems','_showConversationHistory','$root','createPositionAt','markers','isLoading','_handleStartConversation','ready','addUrlToContext','focusPromptInput','AI_CHAT_UNABLE_TO_START_CONVERSATION','selectModel','_aiChatUi','anchorId','ai-chat-conversation-init-failed','sendMessage','collaboration.channelId','getChildren','handleUserInteraction','sourceId','insertSuggestion','setIsUploadInProgress','open','mouseOverSuggestion','55899rPkOMH','Undo','Disliked\x20response','mapper','uploadProgressChanged','ai-chat-source-resources-load-failed','_startConversationSafely','ai-chat-controller-no-active-conversation','ai.chat.models.displayedModels','_previewedChangeGroup','replies','editing','startInteraction','_stopLastInteraction','root','resources','_bodyCollection','capabilitiesUpdated','_aiChatModels','activateTab','state','showPrevious','_toggleWebSearch','chat','isCurrentDocumentInConversation','isStarted','995816DJievT','split','push','AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','source','removeContextItem','resetConversationTitle','setContextItemLoading','detachFromDom','updateResourceState','_insertSuggestion','AIChatUI','addContextItem','addSelectionToChatContext','_toggleReasoning','model','requires','webSearchFinished','interactionCreated','AI_CHAT_CONTEXT_FILE_TOO_LARGE','getAttribute','isOfficialPlugin','dialogClosed','getDocumentData','AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','2890LDKENf','toggleSuggestionDisplayMode','addOperation','uiId','hasChanges','AI_CHAT_GENERIC_ERROR','replyContentUpdated','_integrateEditor','getRoot','streaming','findIndex','ai.availableReplyActions','plugins','upsertAIChatRating','getMarkersGroup','abortPromptStream','TrackChangesEditing','addCurrentDocumentToContext','ai-chat-missing-channel-id','forEach','resource','getTransformedByOperation','get','_openBalloonFor','close','removeFromContext','modification-delta','toggleReasoning','documentContextContent','getPath','init','filter','removeSelectionFromContext','pending','ai-chat-context-form-data-size-limits-exceeded','addResourceToContext','replyCreated','clearConversationContextUI','updateCurrentDocumentInContext','scrollFeedToSuggestion','pluginName','activeConversation','ai-chat-context-file-too-large','addSelectionToContext','main','editors','resourceId','isOpen','addFeedItemError','ai-conversation-','has','length','change','ai-chat-context-invalid-data','hideFakeVisualSelection','selectedModel','startAutoScroll','applyOperation','setFeedItemRenderingStrategy'];_0x24eb=function(){return _0x5cc477;};return _0x24eb();}import{getTranslation as _0x1eefe7}from'../aicore/utils/common-translations.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x1e4817}from'../aicore/aiediting.js';import{AI_REPLY_ACTIONS as _0x1509e4}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIModels as _0x404cc5}from'../aicore/model/aimodels.js';function _0x1f53(_0x2af64e,_0x3e56b6){const _0x24eb55=_0x24eb();return _0x1f53=function(_0x1f537b,_0x4891cc){_0x1f537b=_0x1f537b-0x17f;let _0x270ca7=_0x24eb55[_0x1f537b];return _0x270ca7;},_0x1f53(_0x2af64e,_0x3e56b6);}import{getEditorFromContext as _0x199540}from'../aicore/utils/geteditorfromcontext.js';import{DocumentCompare as _0x1ae707,DATA_ID_MODEL_ATTRIBUTE as _0x289cba}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x1b792a,getOperationsFromReply as _0x1128ed}from'../aicore/utils/getoperationsfromreply.js';import{expandSelectionWithContext as _0x26de45,getMinimalSelection as _0x45e851}from'../aicore/utils/getsuggestionpartsfromreply.js';import{ModelRange as _0x4dc44b,_DetachOperation as _0x31c239}from'ckeditor5/src/engine.js';import{findOne as _0x2eb438,getAttribute as _0x4b068a,serialize as _0xb94479,Document as _0x25a14d,findByAttribute as _0x36a78e}from'../aicore/utils/htmlparser.js';import{IconAI as _0x189519}from'@ckeditor/ckeditor5-icons';import{AISuggestionContainerView as _0x574457}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIBalloon as _0xb76b26}from'../aiballoon/aiballoon.js';export class AIChatController extends _0x2146e0{[_0x3bf42f(0x293)];[_0x3bf42f(0x2da)];[_0x3bf42f(0x197)];[_0x3bf42f(0x1b5)];[_0x3bf42f(0x298)]=new Map();[_0x3bf42f(0x1ac)]=null;[_0x3bf42f(0x237)]=!0x1;[_0x3bf42f(0x1b3)];static get[_0x3bf42f(0x1cd)](){return[_0xf168d5,_0xb76b26,_0x1ae707];}static get[_0x3bf42f(0x1fe)](){const _0x407524=_0x3bf42f;return _0x407524(0x2b5);}static get[_0x3bf42f(0x1d2)](){return!0x0;}static get[_0x3bf42f(0x22d)](){return!0x0;}[_0x3bf42f(0x1f4)](){const _0x239480=_0x3bf42f;this[_0x239480(0x1b3)]=new _0x230456(this[_0x239480(0x184)][_0x239480(0x280)]),this[_0x239480(0x1b3)][_0x239480(0x230)](),this[_0x239480(0x2da)]=this[_0x239480(0x184)][_0x239480(0x1e2)][_0x239480(0x1ec)](_0x239480(0x267)),this[_0x239480(0x197)]=this[_0x239480(0x184)][_0x239480(0x1e2)][_0x239480(0x1ec)](_0x239480(0x1c8)),this[_0x239480(0x293)]=this[_0x239480(0x184)][_0x239480(0x1e2)][_0x239480(0x1ec)](_0x239480(0x2c4)),this[_0x239480(0x1b5)]=new _0x404cc5({'connector':this[_0x239480(0x2da)],'availableModels':this[_0x239480(0x184)][_0x239480(0x29c)][_0x239480(0x1ec)](_0x239480(0x1ab)),'defaultModelId':this[_0x239480(0x184)][_0x239480(0x29c)][_0x239480(0x1ec)](_0x239480(0x28b)),'locale':this[_0x239480(0x184)][_0x239480(0x280)]});const _0x419ec8=this[_0x239480(0x184)][_0x239480(0x1e2)][_0x239480(0x1ec)](_0x239480(0x2d9));this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x28e),()=>{const _0x251fb6=_0x239480;this[_0x251fb6(0x1a9)]();}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x288),(_0x4e414d,_0x383442)=>{const _0x26a8d4=_0x239480;this[_0x26a8d4(0x222)]({'userMessage':_0x383442});}),this[_0x239480(0x282)](_0x419ec8,_0x239480(0x2e0),(_0x44b2c4,_0x102ae0)=>{const _0x34e4c3=_0x239480;this[_0x34e4c3(0x236)](_0x102ae0);}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x227),()=>{const _0x370a6a=_0x239480;_0x419ec8[_0x370a6a(0x2de)]();}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x1e5),async()=>{const _0xf599a=_0x239480;await this[_0xf599a(0x1b0)](),await this[_0xf599a(0x182)](),this[_0xf599a(0x257)]();}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x2e6),()=>{const _0x425052=_0x239480;this[_0x425052(0x1ff)]?.[_0x425052(0x1e7)](_0x1eefe7(this[_0x425052(0x184)][_0x425052(0x280)],_0x425052(0x2d2)));}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x24d),(_0x36673d,_0x1dc2f0)=>{const _0x4c5dc1=_0x239480;this[_0x4c5dc1(0x1ff)]?.[_0x4c5dc1(0x256)](Array[_0x4c5dc1(0x263)](_0x1dc2f0));}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x193),(_0x17d44c,_0x36a815)=>{const _0x4eb451=_0x239480;this[_0x4eb451(0x1ff)]?.[_0x4eb451(0x193)](_0x36a815);}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x1f9),(_0xb1fc13,_0x348e4a)=>{const _0x3cd40a=_0x239480;this[_0x3cd40a(0x1ff)]?.[_0x3cd40a(0x1f9)](_0x348e4a[_0x3cd40a(0x1c1)],_0x348e4a[_0x3cd40a(0x1ea)]);}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x1c2),(_0x1a83c0,_0x32d526)=>{const _0x26aacc=_0x239480;this[_0x26aacc(0x29d)](_0x32d526);}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x2dc),(_0x11ae97,_0x280965)=>{const _0x3e2721=_0x239480;this[_0x3e2721(0x1ff)]?.[_0x3e2721(0x2dc)](_0x280965[_0x3e2721(0x19e)],_0x280965[_0x3e2721(0x2d0)],_0x280965[_0x3e2721(0x299)]);}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x2c7),()=>{const _0x196bf7=_0x239480;this[_0x196bf7(0x1b9)]();}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x1f1),()=>{const _0x1d4c82=_0x239480;this[_0x1d4c82(0x1cb)]();}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x196),(_0x28d744,_0x18eff4)=>{const _0x205961=_0x239480;this[_0x205961(0x1ff)]?.[_0x205961(0x248)](_0x18eff4);}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x218),(_0x32347f,{replyId:_0x31359a})=>{const _0x3e29e5=_0x239480;console[_0x3e29e5(0x269)](_0x3e29e5(0x272),_0x31359a);}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x25d),(_0x4cc108,{replyId:_0x93fe19})=>{const _0x3c61b4=_0x239480;console[_0x3c61b4(0x269)](_0x3c61b4(0x1a5),_0x93fe19);}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x19f),(_0xb02b1e,_0x19ddf8)=>{const _0x2e5763=_0x239480;this[_0x2e5763(0x184)][_0x2e5763(0x1e2)][_0x2e5763(0x1ec)](_0xb76b26)[_0x2e5763(0x1ee)](),this[_0x2e5763(0x1c7)](_0x19ddf8);}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x23e),(_0x56c601,{replyId:_0x4d685a,partIndex:_0x510866})=>{const _0x29f38b=_0x239480;this[_0x29f38b(0x237)]=this[_0x29f38b(0x197)][_0x29f38b(0x244)],this[_0x29f38b(0x1ed)](_0x4d685a,_0x510866);}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x1a2),(_0x2053f1,{replyId:_0x357602,partIndex:_0x4a1cb4})=>{const _0x3b3010=_0x239480,_0x39d0b2=this[_0x3b3010(0x241)](_0x357602,_0x4a1cb4);_0x39d0b2&&_0x3b3010(0x21d)!=_0x39d0b2[_0x3b3010(0x2af)][_0x3b3010(0x1b1)][_0x3b3010(0x211)]&&this[_0x3b3010(0x293)][_0x3b3010(0x279)]([_0x39d0b2[_0x3b3010(0x2af)]],_0x3b3010(0x232));}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x188),()=>{const _0x2bd14e=_0x239480;this[_0x2bd14e(0x293)][_0x2bd14e(0x20c)](_0x2bd14e(0x232));}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x229),(_0x26f084,_0x20a899)=>{const _0x4dbdf1=_0x239480;this[_0x4dbdf1(0x184)][_0x4dbdf1(0x1e2)][_0x4dbdf1(0x1ec)](_0xb76b26)[_0x4dbdf1(0x1ee)](),this[_0x4dbdf1(0x29f)](_0x20a899);}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x1d7),async(_0x23341c,{replyId:_0x15eca2,showDiff:_0x4b75ed})=>{const _0x3640ee=_0x239480,{reply:_0x281197}=this[_0x3640ee(0x2c6)](_0x15eca2),_0xf8573b=_0x281197[_0x3640ee(0x2d6)]({'showDiff':_0x4b75ed});await this[_0x3640ee(0x197)][_0x3640ee(0x2bb)]({'id':_0x281197['id'],'parts':_0xf8573b,'renderingStrategy':_0x3640ee(0x2e5)});}),this[_0x239480(0x282)](this[_0x239480(0x197)],_0x239480(0x2c9),(_0x4fbd2e,{replyId:_0xa0b8b3,partIndex:_0x2b9019})=>{const _0x14e08c=_0x239480;this[_0x14e08c(0x1ac)]?.[_0x14e08c(0x271)]==_0xa0b8b3&&this[_0x14e08c(0x1ac)]?.[_0x14e08c(0x226)]==_0x2b9019&&this[_0x14e08c(0x184)][_0x14e08c(0x1e2)][_0x14e08c(0x1ec)](_0xb76b26)[_0x14e08c(0x1ee)]();const {reply:_0x5b6e10}=this[_0x14e08c(0x2c6)](_0xa0b8b3);_0x5b6e10[_0x14e08c(0x2b4)](_0x2b9019,_0x14e08c(0x21e)),this[_0x14e08c(0x293)][_0x14e08c(0x20c)](_0x14e08c(0x232));});}async[_0x3bf42f(0x183)](){const _0x193bf7=_0x3bf42f;this[_0x193bf7(0x184)]instanceof _0x1042e5?this[_0x193bf7(0x1dd)](this[_0x193bf7(0x184)]):this[_0x193bf7(0x282)](this[_0x193bf7(0x184)][_0x193bf7(0x203)],_0x193bf7(0x24a),(_0x3cc358,_0x563ba5)=>{const _0x7d5d68=_0x193bf7;_0x563ba5['on'](_0x7d5d68(0x192),()=>{const _0x51d5a1=_0x7d5d68;this[_0x51d5a1(0x1dd)](_0x563ba5);});}),await this[_0x193bf7(0x1a9)]();}[_0x3bf42f(0x214)](){const _0x2800f9=_0x3bf42f;this[_0x2800f9(0x1b3)][_0x2800f9(0x1c5)](),super[_0x2800f9(0x214)]();}[_0x3bf42f(0x1c7)](_0x525a53){const _0x1345ed=_0x3bf42f,_0x1dbbd4=_0x199540(this[_0x1345ed(0x184)]);if(!_0x1dbbd4[_0x1345ed(0x1e2)][_0x1345ed(0x208)](_0x1345ed(0x2a2)))throw new _0x43f47e(_0x1345ed(0x220),null);const _0x4ffb96=this[_0x1345ed(0x184)][_0x1345ed(0x1e2)][_0x1345ed(0x1ec)](_0x1345ed(0x261)),{reply:_0x4da2c1,interaction:_0x4e87c3}=this[_0x1345ed(0x2c6)](_0x525a53[_0x1345ed(0x271)]),_0x4c6929=this[_0x1345ed(0x241)](_0x525a53[_0x1345ed(0x271)],_0x525a53[_0x1345ed(0x226)]),_0x137e2=void 0x0!==_0x525a53[_0x1345ed(0x226)]?[_0x4da2c1[_0x1345ed(0x23c)][_0x525a53[_0x1345ed(0x226)]]]:_0x4da2c1[_0x1345ed(0x23c)][_0x1345ed(0x1f5)](_0x1e1a3d=>_0x1345ed(0x1f7)==_0x1e1a3d[_0x1345ed(0x1b7)]),_0x598947=_0x137e2[_0x1345ed(0x2b9)](_0x3991f9=>_0x4da2c1[_0x1345ed(0x23c)][_0x1345ed(0x189)](_0x3991f9));if(!_0x4c6929||_0x1345ed(0x21d)==_0x4c6929[_0x1345ed(0x2af)][_0x1345ed(0x1b1)][_0x1345ed(0x211)])return void _0x598947[_0x1345ed(0x1e9)](_0x39d134=>_0x4da2c1[_0x1345ed(0x2b4)](_0x39d134,_0x1345ed(0x2b3)));_0x598947[_0x1345ed(0x1e9)](_0x1131b9=>_0x4da2c1[_0x1345ed(0x2b4)](_0x1131b9,_0x1345ed(0x254)));const _0x3ad4cd=_0x1128ed({'editor':_0x1dbbd4,'reply':_0x4da2c1,'interaction':_0x4e87c3,'groups':_0x137e2,'transform':!0x0,'documentCompare':_0x4ffb96,'documentCompareOptions':{'anchor':_0x1345ed(0x202),'markDeletions':!0x0}});let _0x5b927;_0x4c6929&&this[_0x1345ed(0x212)](_0x4c6929[_0x1345ed(0x2af)]),_0x1dbbd4[_0x1345ed(0x1cc)][_0x1345ed(0x20a)](_0x214458=>{const _0x257aac=_0x1345ed;_0x5b927=_0x214458[_0x257aac(0x235)],_0x1dbbd4[_0x257aac(0x1e2)][_0x257aac(0x1ec)](_0x257aac(0x1e6))[_0x257aac(0x2cc)](_0x3ad4cd),this[_0x257aac(0x293)][_0x257aac(0x20c)](_0x257aac(0x232));}),this[_0x1345ed(0x298)][_0x1345ed(0x2d5)](_0x5b927,{'interactionId':_0x4e87c3['id'],'replyId':_0x4da2c1['id'],'indexes':_0x598947[_0x1345ed(0x23a)]()}),this[_0x1345ed(0x2a9)](_0x4da2c1);}[_0x3bf42f(0x29f)](_0x3c8399){const _0x52d6a9=_0x3bf42f,_0x19704b=_0x199540(this[_0x52d6a9(0x184)]),_0x59a619=this[_0x52d6a9(0x184)][_0x52d6a9(0x1e2)][_0x52d6a9(0x1ec)](_0x1ae707),{reply:_0x51011a,interaction:_0x3dcc9a}=this[_0x52d6a9(0x2c6)](_0x3c8399[_0x52d6a9(0x271)]),_0x11de3f=this[_0x52d6a9(0x241)](_0x3c8399[_0x52d6a9(0x271)],_0x3c8399[_0x52d6a9(0x226)]),_0x1e8e63=void 0x0!==_0x3c8399[_0x52d6a9(0x226)]?[_0x51011a[_0x52d6a9(0x23c)][_0x3c8399[_0x52d6a9(0x226)]]]:_0x51011a[_0x52d6a9(0x23c)][_0x52d6a9(0x1f5)](_0x32319d=>_0x52d6a9(0x1f7)==_0x32319d[_0x52d6a9(0x1b7)]),_0x1780c5=_0x1e8e63[_0x52d6a9(0x2b9)](_0x3c19db=>_0x51011a[_0x52d6a9(0x23c)][_0x52d6a9(0x189)](_0x3c19db));if(!_0x11de3f||_0x52d6a9(0x21d)==_0x11de3f[_0x52d6a9(0x2af)][_0x52d6a9(0x1b1)][_0x52d6a9(0x211)])return void _0x1780c5[_0x52d6a9(0x1e9)](_0x56eeda=>_0x51011a[_0x52d6a9(0x2b4)](_0x56eeda,_0x52d6a9(0x2b3)));_0x1780c5[_0x52d6a9(0x1e9)](_0x247273=>_0x51011a[_0x52d6a9(0x2b4)](_0x247273,_0x52d6a9(0x254)));const _0x11f99f=_0x1128ed({'editor':_0x19704b,'reply':_0x51011a,'interaction':_0x3dcc9a,'groups':_0x1e8e63,'transform':!0x0,'documentCompare':_0x59a619,'documentCompareOptions':{'anchor':_0x52d6a9(0x202),'markDeletions':!0x1}});let _0x14aeed;_0x11de3f&&this[_0x52d6a9(0x212)](_0x11de3f[_0x52d6a9(0x2af)]),_0x19704b[_0x52d6a9(0x1cc)][_0x52d6a9(0x20a)](_0x1b2444=>{const _0x314a41=_0x52d6a9;_0x14aeed=_0x1b2444[_0x314a41(0x235)];for(const _0x2666dd of _0x11f99f)_0x2666dd[_0x314a41(0x278)]=_0x19704b[_0x314a41(0x1cc)][_0x314a41(0x2c0)][_0x314a41(0x242)],_0x1b792a(_0x19704b,_0x2666dd),_0x1b2444[_0x314a41(0x235)][_0x314a41(0x1d8)](_0x2666dd),_0x19704b[_0x314a41(0x1cc)][_0x314a41(0x20f)](_0x2666dd);}),this[_0x52d6a9(0x298)][_0x52d6a9(0x2d5)](_0x14aeed,{'interactionId':_0x3dcc9a['id'],'replyId':_0x51011a['id'],'indexes':_0x1780c5[_0x52d6a9(0x23a)]()}),this[_0x52d6a9(0x2a9)](_0x51011a);}[_0x3bf42f(0x1ed)](_0x4acb46,_0x142b7e){const _0x44c3b1=_0x3bf42f,_0x179fc5=_0x199540(this[_0x44c3b1(0x184)]),_0x30088c=this[_0x44c3b1(0x241)](_0x4acb46,_0x142b7e),_0x46342d=this[_0x44c3b1(0x184)][_0x44c3b1(0x1e2)][_0x44c3b1(0x1ec)](_0xb76b26);if(!_0x30088c)return void _0x46342d[_0x44c3b1(0x1ee)]();const {range:_0x5b4a04,currentIndex:_0x3ed6f5}=_0x30088c;if(_0x44c3b1(0x21d)==_0x5b4a04[_0x44c3b1(0x1b1)][_0x44c3b1(0x211)]){const {reply:_0x586ee1}=this[_0x44c3b1(0x2c6)](_0x4acb46);return _0x586ee1[_0x44c3b1(0x2b4)](_0x3ed6f5,_0x44c3b1(0x2b3)),void _0x46342d[_0x44c3b1(0x1ee)]();}if(this[_0x44c3b1(0x1ac)]?.[_0x44c3b1(0x271)]==_0x4acb46&&this[_0x44c3b1(0x1ac)]?.[_0x44c3b1(0x226)]==_0x3ed6f5)return;this[_0x44c3b1(0x239)](_0x46342d),this[_0x44c3b1(0x1ac)]={'replyId':_0x4acb46,'partIndex':_0x3ed6f5};let _0x5afced=_0x179fc5[_0x44c3b1(0x29c)][_0x44c3b1(0x1ec)](_0x44c3b1(0x1e1))||[..._0x1509e4];_0x179fc5[_0x44c3b1(0x1e2)][_0x44c3b1(0x208)](_0x44c3b1(0x2a2))||(_0x5afced=_0x5afced[_0x44c3b1(0x1f5)](_0x49f4b5=>_0x44c3b1(0x19f)!=_0x49f4b5));const _0x16c00e=new _0x574457(_0x179fc5[_0x44c3b1(0x280)],{'showDiff':this[_0x44c3b1(0x237)],'areActionsDisabled':!0x1,'miniToolbarConfig':{'showChanges':_0x44c3b1(0x22f)},'hideHeader':!0x0,'availableActions':_0x5afced},this[_0x44c3b1(0x1b3)]);this[_0x44c3b1(0x239)](_0x16c00e);const {reply:_0x53aefe}=this[_0x44c3b1(0x2c6)](_0x4acb46),_0x2d2913=_0x53aefe[_0x44c3b1(0x2d6)]({'showDiff':this[_0x44c3b1(0x237)]})[_0x44c3b1(0x1f5)](_0x1cf921=>_0x1cf921[_0x44c3b1(0x1da)]),_0x5ae01b=_0x2d2913[_0x44c3b1(0x1e0)](_0x2b12c0=>_0x2b12c0[_0x44c3b1(0x24b)]==_0x3ed6f5);if(-0x1==_0x5ae01b)return;const _0x39a6cd=_0x2d2913[_0x5ae01b],_0xf8c6f7=_0x2d2913['at']((_0x5ae01b-0x1)%_0x2d2913[_0x44c3b1(0x209)])?.[_0x44c3b1(0x24b)],_0x5ccb4d=_0x2d2913['at']((_0x5ae01b+0x1)%_0x2d2913[_0x44c3b1(0x209)])?.[_0x44c3b1(0x24b)];_0x16c00e[_0x44c3b1(0x187)]({'parts':[_0x39a6cd],'renderingStrategy':_0x44c3b1(0x2e5)});const _0x13ff32=_0x3ed6f5!==_0xf8c6f7;this[_0x44c3b1(0x212)](_0x5b4a04,!0x0),_0x46342d[_0x44c3b1(0x1a1)]({'index':_0x3ed6f5,'title':_0x1eefe7(this[_0x44c3b1(0x184)][_0x44c3b1(0x280)],_0x44c3b1(0x281),(_0x5ae01b+0x1)[_0x44c3b1(0x2d1)]()),'icon':_0x189519,'mainView':_0x16c00e,'showRotator':_0x13ff32,'showApplyButton':!0x0,'showSuggestButton':_0x179fc5[_0x44c3b1(0x1e2)][_0x44c3b1(0x208)](_0x44c3b1(0x2a2)),'ranges':[_0x5b4a04]}),this[_0x44c3b1(0x197)][_0x44c3b1(0x1fd)](_0x4acb46,_0x3ed6f5),this[_0x44c3b1(0x282)](_0x16c00e,_0x44c3b1(0x1d7),(_0x23b70,{showDiff:_0x2c89d1})=>{const _0x457957=_0x44c3b1;this[_0x457957(0x237)]=_0x2c89d1;const {reply:_0x197b4d}=this[_0x457957(0x2c6)](_0x4acb46),_0x5152e3=_0x197b4d[_0x457957(0x2d6)]({'showDiff':_0x2c89d1,'groupIndex':_0x3ed6f5});_0x16c00e[_0x457957(0x187)]({'parts':_0x5152e3,'renderingStrategy':_0x457957(0x2e5)});}),this[_0x44c3b1(0x282)](_0x46342d,_0x44c3b1(0x229),()=>{const _0xdd91cb=_0x44c3b1;this[_0xdd91cb(0x29f)]({'replyId':_0x4acb46,'partIndex':_0x3ed6f5}),_0x13ff32?this[_0xdd91cb(0x1ed)](_0x4acb46,_0x5ccb4d):_0x46342d[_0xdd91cb(0x1ee)]();}),this[_0x44c3b1(0x282)](_0x46342d,_0x44c3b1(0x19f),()=>{const _0x3c9adf=_0x44c3b1;this[_0x3c9adf(0x1c7)]({'replyId':_0x4acb46,'partIndex':_0x3ed6f5}),_0x13ff32?this[_0x3c9adf(0x1ed)](_0x4acb46,_0x5ccb4d):_0x46342d[_0x3c9adf(0x1ee)]();}),_0x13ff32&&(this[_0x44c3b1(0x282)](_0x46342d,_0x44c3b1(0x2ad),()=>{const _0x14c5c6=_0x44c3b1;this[_0x14c5c6(0x1ed)](_0x4acb46,_0x5ccb4d);}),this[_0x44c3b1(0x282)](_0x46342d,_0x44c3b1(0x1b8),()=>{const _0x4fb1c4=_0x44c3b1;this[_0x4fb1c4(0x1ed)](_0x4acb46,_0xf8c6f7);})),this[_0x44c3b1(0x282)](_0x46342d,_0x44c3b1(0x1d3),()=>{const _0x1a55ba=_0x44c3b1;this[_0x1a55ba(0x239)](_0x46342d),this[_0x1a55ba(0x239)](_0x16c00e),this[_0x1a55ba(0x1ac)]=null;});}[_0x3bf42f(0x241)](_0x3fde95,_0x43eb0a){const _0xcd7f2c=_0x3bf42f,_0x27cdf2=_0x199540(this[_0xcd7f2c(0x184)]),{reply:_0x5dd9b0,interaction:_0x46fd70}=this[_0xcd7f2c(0x2c6)](_0x3fde95),_0x256e80=_0x5dd9b0[_0xcd7f2c(0x23c)][_0xcd7f2c(0x1f5)](_0x3918ac=>_0xcd7f2c(0x1f7)==_0x3918ac[_0xcd7f2c(0x1b7)]),_0x2e88eb=_0x256e80[_0xcd7f2c(0x2b9)](_0x118327=>_0x5dd9b0[_0xcd7f2c(0x23c)][_0xcd7f2c(0x189)](_0x118327));void 0x0===_0x43eb0a&&(_0x43eb0a=_0x2e88eb[0x0]);const _0xea1a54=_0x2e88eb[_0xcd7f2c(0x189)](_0x43eb0a);if(-0x1==_0xea1a54)return null;const _0x22aa71=_0x256e80[_0xea1a54],_0x2a4544=new _0x25a14d([]),_0x5b513c=new _0x25a14d([]);for(const _0x28a40a of _0x22aa71[_0xcd7f2c(0x2df)])if(_0xcd7f2c(0x228)!=_0x28a40a[_0xcd7f2c(0x2c5)]&&_0x5b513c[_0xcd7f2c(0x27b)][_0xcd7f2c(0x1bf)](_0x28a40a[_0xcd7f2c(0x223)][_0xcd7f2c(0x2ce)](!0x0)),_0xcd7f2c(0x284)!=_0x28a40a[_0xcd7f2c(0x2c5)]){const _0xf3e563=_0x2eb438(_0x5304b4=>_0x4b068a(_0x5304b4,_0xcd7f2c(0x29b))==_0x28a40a['id'],_0x5dd9b0[_0xcd7f2c(0x1f2)],!0x0);_0x2a4544[_0xcd7f2c(0x27b)][_0xcd7f2c(0x1bf)](_0xf3e563[_0xcd7f2c(0x2ce)](!0x0));}if(0x0==_0x2a4544[_0xcd7f2c(0x27b)][_0xcd7f2c(0x209)]){if(_0x22aa71[_0xcd7f2c(0x2df)][0x0][_0xcd7f2c(0x198)]){const _0x552a86=_0x36a78e(_0xcd7f2c(0x29b),_0x22aa71[_0xcd7f2c(0x2df)][0x0][_0xcd7f2c(0x198)],_0x5dd9b0[_0xcd7f2c(0x1f2)]);_0x2a4544[_0xcd7f2c(0x27b)][_0xcd7f2c(0x17f)](_0x552a86[_0xcd7f2c(0x2ce)](!0x0)),_0x5b513c[_0xcd7f2c(0x27b)][_0xcd7f2c(0x17f)](_0x552a86[_0xcd7f2c(0x2ce)](!0x0)),_0x552a86[_0xcd7f2c(0x2c3)]&&(_0x2a4544[_0xcd7f2c(0x27b)][_0xcd7f2c(0x1bf)](_0x552a86[_0xcd7f2c(0x2c3)][_0xcd7f2c(0x2ce)](!0x0)),_0x5b513c[_0xcd7f2c(0x27b)][_0xcd7f2c(0x1bf)](_0x552a86[_0xcd7f2c(0x2c3)][_0xcd7f2c(0x2ce)](!0x0)));}else{const _0x287e6a=_0x5dd9b0[_0xcd7f2c(0x1f2)][_0xcd7f2c(0x27b)][0x0];if(!_0x287e6a)return null;_0x2a4544[_0xcd7f2c(0x27b)][_0xcd7f2c(0x1bf)](_0x287e6a[_0xcd7f2c(0x2ce)](!0x0)),_0x5b513c[_0xcd7f2c(0x27b)][_0xcd7f2c(0x1bf)](_0x287e6a[_0xcd7f2c(0x2ce)](!0x0));}}const _0x5f3573=_0x46fd70[_0xcd7f2c(0x21a)](),_0x1fd531=_0x27cdf2[_0xcd7f2c(0x2e2)][_0xcd7f2c(0x217)](_0x5f3573[_0xcd7f2c(0x2bd)],_0xcd7f2c(0x18d)),_0x50d13a=_0xb94479(_0x2a4544),_0x2bf92b=_0x27cdf2[_0xcd7f2c(0x2e2)][_0xcd7f2c(0x217)](_0x50d13a),_0x17aec2=_0x27cdf2[_0xcd7f2c(0x2e2)][_0xcd7f2c(0x217)](_0x50d13a),_0x138d77=_0x27cdf2[_0xcd7f2c(0x1cc)][_0xcd7f2c(0x18e)](_0x2bf92b,0x0),_0x3964f7=_0xb94479(_0x5b513c),_0x409ae5={'anchor':_0x138d77,'markDeletions':!0x1,'context':_0xcd7f2c(0x18d)},_0x33ed52=_0x27cdf2[_0xcd7f2c(0x1e2)][_0xcd7f2c(0x1ec)](_0x1ae707)[_0xcd7f2c(0x2eb)](_0x50d13a,_0x3964f7,_0x409ae5)[_0xcd7f2c(0x277)]();if(!_0x33ed52[_0xcd7f2c(0x209)])return null;_0x27cdf2[_0xcd7f2c(0x1cc)][_0xcd7f2c(0x20a)](_0x2215d4=>{const _0x26c462=_0xcd7f2c;for(const _0x10183d of _0x33ed52)if(_0x26c462(0x253)==_0x10183d[_0x26c462(0x2c5)]){const _0x54049e=_0x10183d[_0x26c462(0x2ef)],_0x37358f=_0x10183d[_0x26c462(0x22a)],_0x214112=new _0x31c239(_0x54049e,_0x37358f);_0x2215d4[_0x26c462(0x235)][_0x26c462(0x1d8)](_0x214112),_0x27cdf2[_0x26c462(0x1cc)][_0x26c462(0x20f)](_0x214112);}else _0x26c462(0x2a7)!==_0x10183d[_0x26c462(0x2c5)]&&(_0x10183d[_0x26c462(0x278)]=null,_0x10183d[_0x26c462(0x26b)]=!0x1,_0x2215d4[_0x26c462(0x235)][_0x26c462(0x1d8)](_0x10183d),_0x27cdf2[_0x26c462(0x1cc)][_0x26c462(0x20f)](_0x10183d));});const _0xfe6f56=_0x45e851(_0x27cdf2,_0x33ed52,_0x2bf92b);_0x26de45(_0x27cdf2[_0xcd7f2c(0x1cc)],_0xfe6f56);const _0x13eef1=_0xfe6f56[_0xcd7f2c(0x292)]()[_0xcd7f2c(0x2cb)][_0xcd7f2c(0x2e3)][_0xcd7f2c(0x23a)](),_0x130310=_0xfe6f56[_0xcd7f2c(0x292)]()[_0xcd7f2c(0x255)][_0xcd7f2c(0x2e3)][_0xcd7f2c(0x23a)](),_0x278b26=[];let _0x20aa4f=_0x2bf92b,_0x3765da=_0x17aec2;for(let _0x4971f9=0x0;_0x4971f9<_0x130310[_0xcd7f2c(0x209)];_0x4971f9++){const _0x317a91=_0x20aa4f[_0xcd7f2c(0x2d8)]-_0x130310[_0x4971f9];_0x278b26[_0x4971f9]=_0x3765da[_0xcd7f2c(0x2d8)]-_0x317a91,_0x20aa4f=_0x20aa4f[_0xcd7f2c(0x2ec)](_0x130310[_0x4971f9]),_0x3765da=_0x3765da[_0xcd7f2c(0x2ec)](_0x278b26[_0x4971f9]);}const _0x4cd895=_0x27cdf2[_0xcd7f2c(0x1cc)][_0xcd7f2c(0x21c)](_0x27cdf2[_0xcd7f2c(0x1cc)][_0xcd7f2c(0x2ba)](_0x17aec2,_0x13eef1),_0x27cdf2[_0xcd7f2c(0x1cc)][_0xcd7f2c(0x2ba)](_0x17aec2,_0x278b26)),_0x3278fe=_0x17aec2[_0xcd7f2c(0x27d)](0x0)[_0xcd7f2c(0x1d1)](_0x289cba),_0x532eee=Array[_0xcd7f2c(0x263)](_0x1fd531[_0xcd7f2c(0x19c)]())[_0xcd7f2c(0x186)](_0x163a3f=>_0x163a3f[_0xcd7f2c(0x1d1)](_0x289cba)==_0x3278fe)[_0xcd7f2c(0x1f3)](),_0x4f6ced=_0x4cd895[_0xcd7f2c(0x2cb)][_0xcd7f2c(0x2e3)][_0xcd7f2c(0x23a)](),_0x26e700=_0x4cd895[_0xcd7f2c(0x255)][_0xcd7f2c(0x2e3)][_0xcd7f2c(0x23a)]();_0x4f6ced[0x0]=_0x532eee[0x0]+_0x4f6ced[0x0],_0x26e700[0x0]=_0x532eee[0x0]+_0x26e700[0x0];let _0x3caceb=_0x27cdf2[_0xcd7f2c(0x1cc)][_0xcd7f2c(0x21c)](_0x27cdf2[_0xcd7f2c(0x1cc)][_0xcd7f2c(0x2ba)](_0x27cdf2[_0xcd7f2c(0x1cc)][_0xcd7f2c(0x2c0)][_0xcd7f2c(0x1de)](),_0x4f6ced),_0x27cdf2[_0xcd7f2c(0x1cc)][_0xcd7f2c(0x2ba)](_0x27cdf2[_0xcd7f2c(0x1cc)][_0xcd7f2c(0x2c0)][_0xcd7f2c(0x1de)](),_0x26e700));const _0x4f7add=_0x27cdf2[_0xcd7f2c(0x1cc)][_0xcd7f2c(0x2c0)][_0xcd7f2c(0x2c1)][_0xcd7f2c(0x277)](_0x5f3573[_0xcd7f2c(0x242)]);for(const _0xc066c2 of _0x4f7add)_0x3caceb=_0x4dc44b[_0xcd7f2c(0x26c)](_0x3caceb[_0xcd7f2c(0x1eb)](_0xc066c2));return{'range':_0x3caceb,'currentIndex':_0x43eb0a};}[_0x3bf42f(0x1dd)](_0x3e82e7){const _0x3250e9=_0x3bf42f;if(!_0x3e82e7[_0x3250e9(0x1e2)][_0x3250e9(0x208)](_0x3250e9(0x1a4)))return;const _0x2860c7=_0x3e82e7[_0x3250e9(0x296)][_0x3250e9(0x1ec)](_0x3250e9(0x2b8)),_0x199667=_0x3e82e7[_0x3250e9(0x296)][_0x3250e9(0x1ec)](_0x3250e9(0x2e8));this[_0x3250e9(0x282)](_0x2860c7,_0x3250e9(0x276),(_0x4d4474,_0x3b2eef,_0x3669b7)=>{const _0x21a7c1=_0x3250e9,_0xbc9a99=this[_0x21a7c1(0x298)][_0x21a7c1(0x1ec)](_0x3b2eef);if(!_0xbc9a99)return;const _0x2b45e6=this[_0x21a7c1(0x1ff)][_0x21a7c1(0x185)](_0xbc9a99[_0x21a7c1(0x26e)])[_0x21a7c1(0x247)](_0xbc9a99[_0x21a7c1(0x271)]);_0xbc9a99[_0x21a7c1(0x2d3)][_0x21a7c1(0x1e9)](_0x140d20=>_0x2b45e6[_0x21a7c1(0x2b4)](_0x140d20,_0x21a7c1(0x1f7))),this[_0x21a7c1(0x298)][_0x21a7c1(0x2a1)](_0x3b2eef),this[_0x21a7c1(0x298)][_0x21a7c1(0x2d5)](_0x3669b7,_0xbc9a99);}),this[_0x3250e9(0x282)](_0x199667,_0x3250e9(0x276),(_0x4a9ee0,_0xa03709,_0x526449)=>{const _0x33bf35=_0x3250e9,_0x18000e=this[_0x33bf35(0x298)][_0x33bf35(0x1ec)](_0xa03709);if(!_0x18000e)return;const _0x350d9f=this[_0x33bf35(0x1ff)][_0x33bf35(0x185)](_0x18000e[_0x33bf35(0x26e)])[_0x33bf35(0x247)](_0x18000e[_0x33bf35(0x271)]);_0x18000e[_0x33bf35(0x2d3)][_0x33bf35(0x1e9)](_0x26c883=>_0x350d9f[_0x33bf35(0x2b4)](_0x26c883,_0x33bf35(0x254))),this[_0x33bf35(0x298)][_0x33bf35(0x2a1)](_0xa03709),this[_0x33bf35(0x298)][_0x33bf35(0x2d5)](_0x526449,_0x18000e);});}async[_0x3bf42f(0x262)](_0x110eaf){const _0x4e8dad=_0x3bf42f;this[_0x4e8dad(0x184)][_0x4e8dad(0x1e2)][_0x4e8dad(0x1ec)](_0xb76b26)[_0x4e8dad(0x1ee)](),this[_0x4e8dad(0x197)][_0x4e8dad(0x210)](_0x4e8dad(0x2e5)),this[_0x4e8dad(0x197)][_0x4e8dad(0x26d)](!0x0),await this[_0x4e8dad(0x1b0)]();try{await this[_0x4e8dad(0x2da)][_0x4e8dad(0x252)](_0x110eaf)[_0x4e8dad(0x24c)](),await this[_0x4e8dad(0x1a9)](_0x110eaf),this[_0x4e8dad(0x258)]('\x20');const {sessionId:_0x497d35}=this[_0x4e8dad(0x293)][_0x4e8dad(0x1d4)]();await this[_0x4e8dad(0x1ff)][_0x4e8dad(0x2a6)](_0x110eaf,_0x497d35),this[_0x4e8dad(0x1ff)][_0x4e8dad(0x1bb)]()&&this[_0x4e8dad(0x1ff)][_0x4e8dad(0x1e7)](_0x1eefe7(this[_0x4e8dad(0x184)][_0x4e8dad(0x280)],_0x4e8dad(0x2d2)));}catch(_0x1f349c){this[_0x4e8dad(0x197)][_0x4e8dad(0x206)]({'errorMessage':_0x1eefe7(this[_0x4e8dad(0x184)][_0x4e8dad(0x280)],_0x4e8dad(0x2d7)),'id':_0x110eaf}),this[_0x4e8dad(0x259)](new _0x43f47e(_0x4e8dad(0x2ca),this,{'error':_0x1f349c}));}finally{this[_0x4e8dad(0x184)][_0x4e8dad(0x1e2)][_0x4e8dad(0x1ec)](_0x1b079d)[_0x4e8dad(0x26a)][_0x4e8dad(0x1b6)](_0x4e8dad(0x1ba)),this[_0x4e8dad(0x197)][_0x4e8dad(0x20e)](),this[_0x4e8dad(0x197)][_0x4e8dad(0x210)](_0x4e8dad(0x1df)),this[_0x4e8dad(0x197)][_0x4e8dad(0x26d)](!0x1);}}[_0x3bf42f(0x25b)](_0x174097){const _0x5b5cda=_0x3bf42f;this[_0x5b5cda(0x1ff)]['id']===_0x174097&&this[_0x5b5cda(0x1a9)]();}async[_0x3bf42f(0x1ca)](){const _0x527309=_0x3bf42f,_0x4d1b7d=this[_0x527309(0x293)][_0x527309(0x246)]();this[_0x527309(0x1ff)]?.[_0x527309(0x201)](_0x4d1b7d),this[_0x527309(0x1ff)]?.[_0x527309(0x1e7)](_0x1eefe7(this[_0x527309(0x184)][_0x527309(0x280)],_0x527309(0x2d2)));}[_0x3bf42f(0x257)](){const _0x226b3a=_0x3bf42f;this[_0x226b3a(0x1ff)]?.[_0x226b3a(0x1f6)]();}[_0x3bf42f(0x194)](){const _0x2f1ef4=_0x3bf42f;this[_0x2f1ef4(0x197)][_0x2f1ef4(0x194)]();}async[_0x3bf42f(0x28e)](){const _0x503217=_0x3bf42f;await this[_0x503217(0x1a9)]();}async[_0x3bf42f(0x19a)]({message:_0x388932,quickActionData:_0x22fda4}){const _0xdb0640=_0x3bf42f;await this[_0xdb0640(0x222)]({'userMessage':_0x388932,'quickActionData':_0x22fda4});}[_0x3bf42f(0x268)](){const _0x5a1e4f=_0x3bf42f,_0x3b4a55=this[_0x5a1e4f(0x184)][_0x5a1e4f(0x29c)][_0x5a1e4f(0x1ec)](_0x5a1e4f(0x19b));if(!_0x3b4a55)throw new _0x43f47e(_0x5a1e4f(0x1e8),this);return _0x3b4a55;}async[_0x3bf42f(0x1a9)](_0xba5e10){const _0x16eba3=_0x3bf42f;try{this[_0x16eba3(0x197)][_0x16eba3(0x266)](),await this[_0x16eba3(0x191)](_0xba5e10);}catch(_0x1a94e4){this[_0x16eba3(0x197)][_0x16eba3(0x206)]({'errorMessage':_0x1eefe7(this[_0x16eba3(0x184)][_0x16eba3(0x280)],_0x16eba3(0x195)),'id':_0xba5e10||_0x546e7d()}),console[_0x16eba3(0x289)](_0x1a94e4),this[_0x16eba3(0x1ff)]=void 0x0,this[_0x16eba3(0x197)][_0x16eba3(0x245)]();}}async[_0x3bf42f(0x191)](_0x689eeb){const _0x1d7276=_0x3bf42f,_0x4ab3ba=this[_0x1d7276(0x184)][_0x1d7276(0x1e2)][_0x1d7276(0x1ec)](_0xb76b26);let _0x44d84e;_0x4ab3ba[_0x1d7276(0x205)]&&_0x4ab3ba[_0x1d7276(0x1ee)](),_0x689eeb||!this[_0x1d7276(0x1ff)]?_0x44d84e=this[_0x1d7276(0x184)][_0x1d7276(0x29c)][_0x1d7276(0x1ec)](_0x1d7276(0x28b)):this[_0x1d7276(0x197)][_0x1d7276(0x29e)]&&(_0x44d84e=this[_0x1d7276(0x1ff)][_0x1d7276(0x20d)]['id']),await this[_0x1d7276(0x1b0)]();const _0x459a79=this[_0x1d7276(0x268)](),_0x3fae1d=_0x689eeb||_0x546e7d();this[_0x1d7276(0x1ff)]=new _0x2e1a0e({'connector':this[_0x1d7276(0x2da)],'chatModels':this[_0x1d7276(0x1b5)],'selectedModelId':_0x44d84e,'conversationId':_0x3fae1d,'group':_0x459a79,'getEditor':()=>_0x199540(this[_0x1d7276(0x184)])}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x213),(_0x10490b,_0x3ac826)=>{const _0x2c8534=_0x1d7276;this[_0x2c8534(0x197)][_0x2c8534(0x2ab)](_0x3ac826),this[_0x2c8534(0x197)][_0x2c8534(0x215)](),this[_0x2c8534(0x197)][_0x2c8534(0x251)](),this[_0x2c8534(0x197)][_0x2c8534(0x1fb)](),_0x689eeb||(this[_0x2c8534(0x197)][_0x2c8534(0x1c3)](),this[_0x2c8534(0x1ff)]?.[_0x2c8534(0x1e7)](_0x1eefe7(this[_0x2c8534(0x184)][_0x2c8534(0x280)],_0x2c8534(0x2d2))));}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x1a7),(_0x1e7cfa,_0x191461)=>{const _0x2037e3=_0x1d7276;this[_0x2037e3(0x197)][_0x2037e3(0x1a0)](_0x191461[_0x2037e3(0x216)]);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x1cf),(_0x57812b,_0x999d38)=>{const _0x1387ee=_0x1d7276;this[_0x1387ee(0x197)][_0x1387ee(0x24e)](_0x999d38);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x2e4),()=>{const _0x5bd004=_0x1d7276;this[_0x5bd004(0x197)][_0x5bd004(0x22e)]({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x26f),()=>{const _0x225bc2=_0x1d7276;this[_0x225bc2(0x197)][_0x225bc2(0x22e)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x1ce),(_0x4340c9,_0x5c25cd)=>{const _0x1f3827=_0x1d7276;this[_0x1f3827(0x197)][_0x1f3827(0x260)](_0x5c25cd,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x18a),(_0x55293d,_0x2328d6)=>{const _0x75109b=_0x1d7276;this[_0x75109b(0x197)][_0x75109b(0x260)](_0x2328d6,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x2bc),()=>{const _0x3f8a88=_0x1d7276;this[_0x3f8a88(0x197)][_0x3f8a88(0x1af)]();}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x2ea),async()=>{const _0x1d0d48=_0x1d7276;await this[_0x1d0d48(0x197)][_0x1d0d48(0x286)]();}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x250),(_0xaac431,_0x4eec5f)=>{const _0x52da08=_0x1d7276;this[_0x52da08(0x197)][_0x52da08(0x2b6)](_0x4eec5f['id']);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x283),(_0x416810,_0x12392b,_0x974353)=>{const _0x1f45bc=_0x1d7276;this[_0x1f45bc(0x258)](_0x12392b,_0x974353);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x1fa),(_0x7e3cea,_0x53b64d)=>{const _0x4c6467=_0x1d7276;_0x4c6467(0x275)===_0x53b64d[_0x4c6467(0x2c5)]?this[_0x4c6467(0x197)][_0x4c6467(0x2a4)](_0x53b64d):this[_0x4c6467(0x197)][_0x4c6467(0x2a8)](_0x53b64d);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x1dc),async(_0x5dbb38,_0x153540)=>{const _0x2b6b6e=_0x1d7276;await this[_0x2b6b6e(0x273)]({'reply':_0x153540});}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x2e1),(_0x1febb7,{reply:_0x240bf2,index:_0xa3f156,state:_0x36eff9})=>{const _0x47b443=_0x1d7276;this[_0x47b443(0x197)][_0x47b443(0x28f)]({'id':_0x240bf2['id'],'index':_0xa3f156,'state':_0x36eff9});}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x291),(_0x380cfd,_0x1d236c)=>{const _0x3649c9=_0x1d7276;if(this[_0x3649c9(0x197)][_0x3649c9(0x1c9)](_0x1d236c[_0x3649c9(0x2cf)],_0x1d236c[_0x3649c9(0x190)]),_0x3649c9(0x2a5)===_0x1d236c[_0x3649c9(0x2cf)][_0x3649c9(0x2c5)]){const _0x390072=[..._0x199540(this[_0x3649c9(0x184)])[_0x3649c9(0x1cc)][_0x3649c9(0x2c0)][_0x3649c9(0x2a5)][_0x3649c9(0x28c)]()];this[_0x3649c9(0x293)][_0x3649c9(0x279)](_0x390072,_0x3649c9(0x207)+this[_0x3649c9(0x1ff)]?.['id']);}}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x23d),(_0x456eba,_0x2a0610)=>{const _0x2887f4=_0x1d7276;this[_0x2887f4(0x197)][_0x2887f4(0x1c2)](_0x2a0610[_0x2887f4(0x1d9)]),_0x2887f4(0x2cd)==_0x2a0610[_0x2887f4(0x1d9)]&&this[_0x2887f4(0x257)](),_0x2887f4(0x2a5)===_0x2a0610[_0x2887f4(0x2c5)]&&this[_0x2887f4(0x293)][_0x2887f4(0x20c)](_0x2887f4(0x207)+this[_0x2887f4(0x1ff)]?.['id']);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x27e),(_0x585c83,_0x1f7ab8)=>{const _0x494ca8=_0x1d7276;this[_0x494ca8(0x197)][_0x494ca8(0x1c4)](_0x1f7ab8[_0x494ca8(0x2cf)][_0x494ca8(0x1d9)],_0x1f7ab8[_0x494ca8(0x190)]);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x274),(_0x2fff17,_0xa08a0e)=>{const _0x1a3cc2=_0x1d7276;this[_0x1a3cc2(0x197)][_0x1a3cc2(0x2a3)](_0xa08a0e[_0x1a3cc2(0x18b)]);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x2b7),(_0xf811f8,_0x467e0e)=>{const _0x5bc901=_0x1d7276;this[_0x5bc901(0x197)][_0x5bc901(0x2e7)](_0x467e0e[_0x5bc901(0x22b)]);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x25c),(_0x372e88,_0x2d96b3)=>{const _0x2e1b15=_0x1d7276;this[_0x2e1b15(0x197)][_0x2e1b15(0x225)](_0x2d96b3[_0x2e1b15(0x19e)],_0x2d96b3[_0x2e1b15(0x1c1)],_0x2d96b3[_0x2e1b15(0x1b2)],_0x2d96b3[_0x2e1b15(0x299)]);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x27c),(_0x4cd18c,_0x1f0237)=>{const _0x15da61=_0x1d7276;this[_0x15da61(0x197)][_0x15da61(0x1c6)](_0x1f0237[_0x15da61(0x19e)],_0x1f0237[_0x15da61(0x204)],_0x1f0237[_0x15da61(0x25f)]);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x1b4),(_0x471ada,_0x2ab3a3)=>{const _0x3b10e9=_0x1d7276;this[_0x3b10e9(0x197)][_0x3b10e9(0x2c2)](_0x2ab3a3);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x2dd),(_0x43ce7f,_0x2f163e)=>{const _0x122756=_0x1d7276;this[_0x122756(0x197)][_0x122756(0x233)](_0x2f163e[_0x122756(0x20d)],_0x2f163e[_0x122756(0x270)]);}),this[_0x1d7276(0x1ff)]['on'](_0x1d7276(0x289),(_0x26a07c,{error:_0x39f6a1,interactionId:_0x36fc05,fileName:_0x3b5db1,url:_0x8b9aa5,sourceId:_0x2c047e,sourceLabel:_0x5901ce})=>{const _0x13f387=_0x1d7276,_0x40adff=_0x36fc05?_0x36fc05+':'+_0x546e7d():_0x546e7d();_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x264))?this[_0x13f387(0x197)][_0x13f387(0x2aa)]({'staticMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x27f)),'id':_0x40adff}):_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x199))||_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x181))?(this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x195)),'id':_0x40adff}),this[_0x13f387(0x259)](_0x39f6a1)):_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x23b))?this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x2ed),_0x3b5db1),'id':_0x40adff}):_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x249))?this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x285),_0x8b9aa5),'id':_0x40adff}):_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x20b))?this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x297)),'id':_0x40adff}):_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x2b1))?this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x1d5)),'id':_0x40adff}):_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x1a8))?(_0x2c047e&&this[_0x13f387(0x197)][_0x13f387(0x2db)](_0x2c047e),this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x27a),_0x5901ce||_0x13f387(0x1c1)),'id':_0x40adff}),this[_0x13f387(0x259)](_0x39f6a1)):_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x180))?(this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x2ae)),'id':_0x40adff}),this[_0x13f387(0x259)](_0x39f6a1)):_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x2b2))?(this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x2d4)),'id':_0x40adff}),this[_0x13f387(0x259)](_0x39f6a1)):_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x219))?(this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x294)),'id':_0x40adff}),this[_0x13f387(0x259)](_0x39f6a1)):_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x200))?(this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x1d0)),'id':_0x40adff}),this[_0x13f387(0x259)](_0x39f6a1)):_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x25e))?(this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x2bf)),'id':_0x40adff}),this[_0x13f387(0x259)](_0x39f6a1)):_0x39f6a1[_0x13f387(0x240)][_0x13f387(0x28d)](_0x13f387(0x1f8))?(this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x1c0)),'id':_0x40adff}),this[_0x13f387(0x259)](_0x39f6a1)):(this[_0x13f387(0x197)][_0x13f387(0x206)]({'errorMessage':_0x1eefe7(this[_0x13f387(0x184)][_0x13f387(0x280)],_0x13f387(0x1db)),'id':_0x40adff}),this[_0x13f387(0x259)](_0x39f6a1));}),await this[_0x1d7276(0x1ff)][_0x1d7276(0x1f4)](this[_0x1d7276(0x184)][_0x1d7276(0x29c)][_0x1d7276(0x1ec)](_0x1d7276(0x23f))),_0x689eeb||await this[_0x1d7276(0x1ff)][_0x1d7276(0x2cb)]();}async[_0x3bf42f(0x222)]({userMessage:_0x452c02,quickActionData:_0x24e355}){const _0x216cdd=_0x3bf42f;if(!this[_0x216cdd(0x1ff)])throw new _0x43f47e(_0x216cdd(0x1aa));this[_0x216cdd(0x1ff)][_0x216cdd(0x221)]()&&await this[_0x216cdd(0x1ff)][_0x216cdd(0x1fc)](this[_0x216cdd(0x293)][_0x216cdd(0x1d4)]()),this[_0x216cdd(0x1ff)]['id']&&this[_0x216cdd(0x1ff)][_0x216cdd(0x1bc)]&&await this[_0x216cdd(0x1ff)][_0x216cdd(0x19d)]({'userMessage':_0x452c02,'quickActionData':_0x24e355}),this[_0x216cdd(0x21b)]();}[_0x3bf42f(0x21b)](){const _0x53b141=_0x3bf42f,_0x427772=_0x199540(this[_0x53b141(0x184)])[_0x53b141(0x1cc)],_0x4f7463=Array[_0x53b141(0x263)](_0x427772[_0x53b141(0x18f)][_0x53b141(0x1e4)](_0x1e4817));_0x427772[_0x53b141(0x20a)](_0x215923=>{const _0x352309=_0x53b141;_0x4f7463[_0x352309(0x1e9)](_0x3a1c2a=>_0x215923[_0x352309(0x238)](_0x3a1c2a));});}[_0x3bf42f(0x18c)](){const _0x2ae066=_0x3bf42f;console[_0x2ae066(0x269)](_0x2ae066(0x22c));}[_0x3bf42f(0x236)](_0x51e775){const _0x32fab2=_0x3bf42f;this[_0x32fab2(0x197)][_0x32fab2(0x2e9)](_0x51e775);}[_0x3bf42f(0x259)](_0x3cf5f7){const _0x1b5ad7=_0x3bf42f;_0x4e7c88(_0x3cf5f7[_0x1b5ad7(0x240)]);}[_0x3bf42f(0x29d)](_0x57b6e6){const _0x36a050=_0x3bf42f;this[_0x36a050(0x1ff)]?.[_0x36a050(0x1ef)](_0x57b6e6);}[_0x3bf42f(0x1b9)](){const _0x566984=_0x3bf42f;this[_0x566984(0x1ff)]?.[_0x566984(0x2c7)]();}[_0x3bf42f(0x1cb)](){const _0x244711=_0x3bf42f;this[_0x244711(0x1ff)]?.[_0x244711(0x1f1)]();}[_0x3bf42f(0x2c6)](_0x410f4d){const _0x45ddd6=_0x3bf42f,[_0x2410da,_0x4facd3]=_0x410f4d[_0x45ddd6(0x1be)](':'),_0x3e2eaf=this[_0x45ddd6(0x1ff)][_0x45ddd6(0x185)](_0x2410da),_0x3b1a81=_0x3e2eaf[_0x45ddd6(0x247)](_0x4facd3);return{'interaction':_0x3e2eaf,'reply':_0x3b1a81};}[_0x3bf42f(0x212)](_0x44fd5a,_0x37f2db=!0x1){const _0x4e3ba5=_0x3bf42f,_0x421694=_0x199540(this[_0x4e3ba5(0x184)]),_0x1df321={'target':_0x421694[_0x4e3ba5(0x1ae)][_0x4e3ba5(0x26a)][_0x4e3ba5(0x24f)][_0x4e3ba5(0x25a)](_0x421694[_0x4e3ba5(0x1ae)][_0x4e3ba5(0x1a6)][_0x4e3ba5(0x290)](_0x44fd5a)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x37f2db};_0x37f2db&&(_0x1df321[_0x4e3ba5(0x2c8)]=!0x0),_0x125cfd(_0x1df321);}[_0x3bf42f(0x258)](_0x5deede,_0x46adf9=!0x1){const _0x35dcf1=_0x3bf42f;this[_0x35dcf1(0x197)][_0x35dcf1(0x283)](_0x5deede||_0x1eefe7(this[_0x35dcf1(0x184)][_0x35dcf1(0x280)],_0x35dcf1(0x224)),_0x46adf9);}async[_0x3bf42f(0x273)]({reply:_0x281926,renderingStrategy:_0x4eef65}){const _0x56f7db=_0x3bf42f,{id:_0x2565fd,isDone:_0x255763,type:_0x379264,parsedContent:_0x488eda}=_0x281926;if(_0x56f7db(0x1f0)===_0x379264){const _0x31c2e3=_0x281926[_0x56f7db(0x2d6)]({'showDiff':this[_0x56f7db(0x197)][_0x56f7db(0x244)]});await this[_0x56f7db(0x197)][_0x56f7db(0x2bb)]({'id':_0x2565fd,'parts':_0x31c2e3,'renderingStrategy':_0x4eef65,'isDone':_0x255763});}else _0x56f7db(0x275)===_0x379264&&await this[_0x56f7db(0x197)][_0x56f7db(0x265)]({'id':_0x2565fd,'parsedContent':_0x488eda,'renderingStrategy':_0x4eef65,'isDone':_0x255763});_0x255763&&_0x281926[_0x56f7db(0x2ac)][_0x56f7db(0x209)]>0x0&&this[_0x56f7db(0x197)][_0x56f7db(0x2b0)](_0x2565fd,_0x281926[_0x56f7db(0x2ac)]);}async[_0x3bf42f(0x1b0)](){const _0x22f5ae=_0x3bf42f,_0x2f7a80=this[_0x22f5ae(0x1ff)]?.[_0x22f5ae(0x2a0)];_0x2f7a80&&(_0x2f7a80[_0x22f5ae(0x243)](),this[_0x22f5ae(0x197)][_0x22f5ae(0x2be)](_0x2f7a80));}async[_0x3bf42f(0x182)](){const _0x1deb67=_0x3bf42f,_0x119c1c=this[_0x1deb67(0x1ff)]?.[_0x1deb67(0x2a0)];if(_0x119c1c){for await(const _0x288de4 of _0x119c1c[_0x1deb67(0x1ad)])await this[_0x1deb67(0x273)]({'reply':_0x288de4,'renderingStrategy':_0x1deb67(0x2e5)});}}[_0x3bf42f(0x2a9)](_0xb1e532){const _0x7b8818=_0x3bf42f,_0x190712={'positiveCount':_0xb1e532[_0x7b8818(0x23c)][_0x7b8818(0x1f5)](_0x1c9fce=>_0x7b8818(0x254)===_0x1c9fce[_0x7b8818(0x1b7)])[_0x7b8818(0x209)],'totalCount':_0xb1e532[_0x7b8818(0x23c)][_0x7b8818(0x209)],'modificationId':_0xb1e532['id']},_0x273e2a=this[_0x7b8818(0x1ff)][_0x7b8818(0x185)](_0xb1e532[_0x7b8818(0x26e)])[_0x7b8818(0x287)];this[_0x7b8818(0x2da)][_0x7b8818(0x1e3)](this[_0x7b8818(0x1ff)]['id'],_0x273e2a,_0x190712);}}
@@ -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 _0x5b7ac7=_0x5879;(function(_0xef6f3,_0x3f5d4f){const _0x31e4d9=_0x5879,_0x1b0d50=_0xef6f3();while(!![]){try{const _0x22f68d=-parseInt(_0x31e4d9(0xe2))/0x1*(-parseInt(_0x31e4d9(0xaf))/0x2)+-parseInt(_0x31e4d9(0xf7))/0x3+-parseInt(_0x31e4d9(0xf5))/0x4*(-parseInt(_0x31e4d9(0xd9))/0x5)+-parseInt(_0x31e4d9(0xcc))/0x6*(parseInt(_0x31e4d9(0xfd))/0x7)+-parseInt(_0x31e4d9(0x8a))/0x8+-parseInt(_0x31e4d9(0xde))/0x9*(-parseInt(_0x31e4d9(0xfa))/0xa)+parseInt(_0x31e4d9(0xb9))/0xb*(parseInt(_0x31e4d9(0xa9))/0xc);if(_0x22f68d===_0x3f5d4f)break;else _0x1b0d50['push'](_0x1b0d50['shift']());}catch(_0x1b314e){_0x1b0d50['push'](_0x1b0d50['shift']());}}}(_0x5353,0xbf70b));import{ContextPlugin as _0x258788}from'ckeditor5/src/core.js';import{_isMotionReduced as _0x2cccc6}from'ckeditor5/src/utils.js';function _0x5353(){const _0x35db0a=['updateSuggestionItem','chatFeed','values','createConversation','has','markFeedItemAsDone','addFeedItemAIReply','startsWith','_titleAnimationInterval','TrackChanges','addFeedItemError','setModelList','9883104Htmqgq','_getLoadingMessage','chatControls','isLoading','abort','isPremiumPlugin','ai-suggestion-reply','children','setWebSearch','removeFeedInteraction','removeContextItem','isDisabled','updateFeedItemAIReplySuggestionPartState','last','disableModelSelector','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','areActionsDisabled','populateSourceResourceBalloon','clear','updateFeedItemAIReplySuggestionContent','setAddContextOptions','addTab','closeSourceResourceBalloon','isModelAvailable','updateFeedInteractionHeader','value','scrollFeedToSuggestion','</p>','addFeedItemAISuggestion','AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','72ivHsnJ','_interactionPromiseResolver','conversation-start','resetConversationTitle','locale','setSelectedModel','58qruexN','updateFeedItemAIReplySources','removeItem','then','setConversationTitle','context','interactionId','quickActionData','getItemIds','enableModelSelector','2440570EDoURU','find','ai.chat.context.searchInputVisibleFrom','setLoadingMessage','AI_CHAT_WELCOME_MESSAGE','ai-reply','addItem','renderingStrategy','showDiff','setInputPlaceholder','availableModels','feedItemRenderingStrategy','stopAutoScroll','addFeedItemStaticMessage','stopInteraction','updateCapabilities','displayedPrompt','commands','label','10014SbEsGc','isBusy','updateWebSources','isOfficialPlugin','<p>','_isTrackChangesCommandValueBound','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','setModel','isMaximized','forEach','options','isDone','isWebSearchEnabled','10NBHjXC','updateResourceState','filter','disableControls','focusPromptInput','63trdsfb','config','setIsMaximized','setIsUploadInProgress','45181QQuutq','updateSuggestionPartState','startInteraction','error-message','finishInteraction','isVisible','addContextItem','AIChatUI','enableControls','startAutoScroll','capabilities','setConversationContext','enqueue','contextItems','userMessage','resetMessageInput','markItemAsDone','queueEmptyPromise','ai.chat.models.modelSelectorAlwaysVisible','1837912pHogIG','addFeedInteractionHeader','4200318CnbkZR','bind','_animateConversationTitle','11070kwURqr','toggleLoadingSkeleton','isPending','623kMCQJh','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','chat','clearPendingContextUI','isReasoningEnabled','scrollToSuggestion','setContextItemLoading','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','insertSuggestion','user-message','updateFeedItemAIReplyContent','requires','pluginName','set','showResizeButton','trackChanges','streaming','get','toggleSuggestionDisplayMode','remove','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','setReasoning','ai.availableReplyActions','view','updateReplyItem','clearConversationContextUI','AI_CHAT_FEED_LOADING_MESSAGE_REASONING','setFeedItemRenderingStrategy','_getInputPlaceholder','delegate','_view','from','addFeedItemUserMessage','AITabs','destroy','interaction-header','_promiseQueue','length','AI_CHAT_HEADING','chatHeader','isTrackChangesOn','plugins'];_0x5353=function(){return _0x35db0a;};return _0x5353();}import{AIChatView as _0x328fd9}from'./ui/aichatview.js';import{AITabs as _0x8b4893}from'../aitabs/aitabs.js';import{getTranslation as _0x1dc508}from'../aicore/utils/common-translations.js';import{IconAIChat as _0x2deb04}from'ckeditor5/src/icons.js';import{AIChatFeedInteractionHeaderView as _0x8be7fa}from'./ui/feed/aichatfeedinteractionheaderview.js';function _0x5879(_0x1add57,_0x4efd66){const _0x53537d=_0x5353();return _0x5879=function(_0x58796c,_0x4e0be5){_0x58796c=_0x58796c-0x64;let _0x16cd92=_0x53537d[_0x58796c];return _0x16cd92;},_0x5879(_0x1add57,_0x4efd66);}import{PromiseQueue as _0x1297b0}from'./utils/promisequeue.js';import{AI_CHAT_UI_EVENT_NAMES as _0x3db798}from'./utils/eventnames.js';import'../../theme/aichat/aichat.css';import{getEditorFromContext as _0x208884}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x2c0081}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIChatUI extends _0x258788{static get[_0x5b7ac7(0x108)](){return[_0x8b4893];}[_0x5b7ac7(0x72)];static get[_0x5b7ac7(0x109)](){const _0x52b570=_0x5b7ac7;return _0x52b570(0xe9);}static get[_0x5b7ac7(0xcf)](){return!0x0;}static get[_0x5b7ac7(0x8f)](){return!0x0;}[_0x5b7ac7(0xc4)]=_0x5b7ac7(0x64);[_0x5b7ac7(0xc1)]=!0x0;[_0x5b7ac7(0x78)];[_0x5b7ac7(0xaa)];[_0x5b7ac7(0x86)]=void 0x0;[_0x5b7ac7(0xd1)]=!0x1;constructor(_0x3c9d9b){const _0x3dd25f=_0x5b7ac7;super(_0x3c9d9b);const _0x5260b5=this[_0x3dd25f(0xb4)][_0x3dd25f(0x7d)][_0x3dd25f(0x65)](_0x3dd25f(0x75));this[_0x3dd25f(0x10a)](_0x3dd25f(0xcd),!0x1),this[_0x3dd25f(0x78)]=new _0x1297b0(),this[_0x3dd25f(0x72)]=new _0x328fd9(this[_0x3dd25f(0xb4)][_0x3dd25f(0xad)],{'showResizeButton':_0x5260b5[_0x3dd25f(0x10b)],'contextResourcesSearchInputVisibleFrom':this[_0x3dd25f(0xb4)][_0x3dd25f(0xdf)][_0x3dd25f(0x65)](_0x3dd25f(0xbb))}),this[_0x3dd25f(0x72)][_0x3dd25f(0x71)](..._0x3db798)['to'](this),this[_0x3dd25f(0x72)]['on'](_0x3dd25f(0x66),(_0x2516ba,{showDiff:_0x12d6ac})=>{const _0x1fb3d3=_0x3dd25f;this[_0x1fb3d3(0xc1)]=_0x12d6ac;}),_0x5260b5[_0x3dd25f(0x6b)][_0x3dd25f(0x9f)]({'id':_0x3dd25f(0xff),'buttonLabel':_0x1dc508(this[_0x3dd25f(0xb4)][_0x3dd25f(0xad)],_0x3dd25f(0x7a)),'buttonIcon':_0x2deb04,'order':0x0,'content':this[_0x3dd25f(0x72)]}),this[_0x3dd25f(0x72)][_0x3dd25f(0x8c)][_0x3dd25f(0xf8)](_0x3dd25f(0x8d))['to'](this,_0x3dd25f(0xcd),_0x3709d1=>_0x3709d1),this[_0x3dd25f(0x72)][_0x3dd25f(0x7f)][_0x3dd25f(0xf8)](_0x3dd25f(0xfc))['to'](this,_0x3dd25f(0xcd),_0x45f513=>_0x45f513),this[_0x3dd25f(0x72)][_0x3dd25f(0x8c)][_0x3dd25f(0xc2)](this[_0x3dd25f(0x70)]()),this[_0x3dd25f(0xf8)](_0x3dd25f(0xa1))['to'](this[_0x3dd25f(0x72)][_0x3dd25f(0x8c)],_0x3dd25f(0xa1));}[_0x5b7ac7(0x76)](){const _0x168f24=_0x5b7ac7;super[_0x168f24(0x76)](),this[_0x168f24(0x86)]&&clearInterval(this[_0x168f24(0x86)]);}[_0x5b7ac7(0x81)](_0x3fadcf){const _0xcf9906=_0x5b7ac7;this[_0xcf9906(0x72)][_0xcf9906(0x7f)][_0xcf9906(0x9c)](),this[_0xcf9906(0x72)][_0xcf9906(0x8c)][_0xcf9906(0xb8)](),this[_0xcf9906(0x72)][_0xcf9906(0x8c)][_0xcf9906(0x89)](_0x3fadcf[_0xcf9906(0xc3)],!this[_0xcf9906(0xb4)][_0xcf9906(0xdf)][_0xcf9906(0x65)](_0xcf9906(0xf4))),this[_0xcf9906(0xc6)]({'id':_0xcf9906(0xab),'staticMessage':_0x1dc508(this[_0xcf9906(0xb4)][_0xcf9906(0xad)],_0xcf9906(0xbd))});}[_0x5b7ac7(0xc6)]({id:_0x41e839,staticMessage:_0x6caa0d}){const _0x37d52e=_0x5b7ac7;this[_0x37d52e(0x72)][_0x37d52e(0x7f)][_0x37d52e(0xbf)](_0x37d52e(0xbe),{'id':_0x41e839,'initialContent':_0x37d52e(0xd0)+_0x6caa0d+_0x37d52e(0xa5)});}[_0x5b7ac7(0x74)](_0x492f2c){const _0x416ea8=_0x5b7ac7,_0x194686=_0x492f2c[_0x416ea8(0xb6)]?.[_0x416ea8(0xc9)]||_0x492f2c[_0x416ea8(0xf0)];this[_0x416ea8(0x72)][_0x416ea8(0x7f)][_0x416ea8(0xbf)](_0x416ea8(0x106),{'contextItems':Array[_0x416ea8(0x73)](_0x492f2c[_0x416ea8(0xef)][_0x416ea8(0x80)]()),'initialContent':_0x416ea8(0xd0)+_0x194686+_0x416ea8(0xa5),'id':_0x492f2c['id']});}[_0x5b7ac7(0x88)]({errorMessage:_0xfb1870,id:_0x40e0e4}){const _0x5a1b15=_0x5b7ac7;this[_0x5a1b15(0x72)][_0x5a1b15(0x7f)][_0x5a1b15(0xbf)](_0x5a1b15(0xe5),{'initialContent':_0x5a1b15(0xd0)+_0xfb1870+_0x5a1b15(0xa5),'id':_0x40e0e4});}[_0x5b7ac7(0x84)](_0x4689af){const _0x26dc87=_0x5b7ac7;return this[_0x26dc87(0x78)][_0x26dc87(0xee)](async()=>{const _0x2342b3=_0x26dc87;this[_0x2342b3(0x72)][_0x2342b3(0x7f)][_0x2342b3(0xbf)](_0x2342b3(0xbe),{'id':_0x4689af[_0x2342b3(0xb5)]+':'+_0x4689af['id']}),this[_0x2342b3(0xbc)](null);});}async[_0x5b7ac7(0xa6)](_0x39b7fc){const _0x56a63a=_0x5b7ac7,_0x2e6f27=_0x208884(this[_0x56a63a(0xb4)]);let _0x6e21ad=_0x2e6f27[_0x56a63a(0xdf)][_0x56a63a(0x65)](_0x56a63a(0x6a))||[..._0x2c0081];if(_0x2e6f27[_0x56a63a(0x7d)][_0x56a63a(0x82)](_0x56a63a(0x87))){if(!this[_0x56a63a(0xd1)]){this[_0x56a63a(0xd1)]=!0x0;const _0x2406ef=_0x2e6f27[_0x56a63a(0xca)][_0x56a63a(0x65)](_0x56a63a(0x10c));this[_0x56a63a(0x72)][_0x56a63a(0x7f)][_0x56a63a(0xf8)](_0x56a63a(0x7c))['to'](_0x2406ef,_0x56a63a(0xa3));}}else _0x6e21ad=_0x6e21ad[_0x56a63a(0xdb)](_0x509ae5=>_0x56a63a(0x105)!=_0x509ae5);return this[_0x56a63a(0x78)][_0x56a63a(0xee)](async()=>{const _0x3157e3=_0x56a63a;this[_0x3157e3(0x72)][_0x3157e3(0x7f)][_0x3157e3(0xbf)](_0x3157e3(0x90),{'id':_0x39b7fc[_0x3157e3(0xb5)]+':'+_0x39b7fc['id'],'areActionsDisabled':_0x39b7fc[_0x3157e3(0x9a)],'showDiff':this[_0x3157e3(0xc1)],'availableActions':_0x6e21ad}),this[_0x3157e3(0xbc)](null);});}[_0x5b7ac7(0xf6)](_0x16548b,_0x307ab3){const _0x2c7595=_0x5b7ac7,_0xf3d4a7=this[_0x2c7595(0x72)][_0x2c7595(0x7f)][_0x2c7595(0x91)][_0x2c7595(0x97)];if(_0xf3d4a7 instanceof _0x8be7fa)return this[_0x2c7595(0x72)][_0x2c7595(0x7f)][_0x2c7595(0x91)][_0x2c7595(0x67)](_0xf3d4a7),void this[_0x2c7595(0x72)][_0x2c7595(0x7f)][_0x2c7595(0xbf)](_0x2c7595(0x77),{'id':_0x16548b['id'],'capabilities':{'isWebSearchEnabled':_0xf3d4a7[_0x2c7595(0xec)][_0x2c7595(0xd8)]||_0x307ab3[_0x2c7595(0xd8)],'isReasoningEnabled':_0xf3d4a7[_0x2c7595(0xec)][_0x2c7595(0x101)]||_0x307ab3[_0x2c7595(0x101)]}});this[_0x2c7595(0x72)][_0x2c7595(0x7f)][_0x2c7595(0xbf)](_0x2c7595(0x77),{'id':_0x16548b['id'],'capabilities':_0x307ab3});}[_0x5b7ac7(0xa2)](_0x4b912b){const _0x201d67=_0x5b7ac7,_0x2243f0=this[_0x201d67(0x72)][_0x201d67(0x7f)][_0x201d67(0x91)][_0x201d67(0xba)](_0x48494e=>_0x48494e[_0x201d67(0xd6)]['id']==_0x4b912b['id']&&_0x48494e instanceof _0x8be7fa);_0x2243f0&&_0x2243f0[_0x201d67(0x10a)](_0x201d67(0xe7),_0x4b912b[_0x201d67(0xe7)]);}async[_0x5b7ac7(0x107)](_0x36e3a1){const _0x5cbaad=_0x5b7ac7,_0x124878=_0x36e3a1[_0x5cbaad(0xc0)]||this[_0x5cbaad(0xc4)];return this[_0x5cbaad(0x78)][_0x5cbaad(0xee)](async _0x2092ee=>{const _0x289a46=_0x5cbaad;await this[_0x289a46(0x72)][_0x289a46(0x7f)][_0x289a46(0x6c)]({..._0x36e3a1,'abortSignal':_0x2092ee,'renderingStrategy':_0x124878}),_0x36e3a1[_0x289a46(0xd7)]&&this[_0x289a46(0x83)](_0x36e3a1['id']);});}[_0x5b7ac7(0xb0)](_0x48b48a,_0x5e98b0){const _0x5ef134=_0x5b7ac7;this[_0x5ef134(0x72)][_0x5ef134(0x7f)][_0x5ef134(0xce)](_0x48b48a,_0x5e98b0);}async[_0x5b7ac7(0x9d)](_0x57ee46){const _0x4a3b1c=_0x5b7ac7,_0xa73cf5=_0x57ee46[_0x4a3b1c(0xc0)]||this[_0x4a3b1c(0xc4)];return this[_0x4a3b1c(0x78)][_0x4a3b1c(0xee)](async _0x5d6f0c=>{const _0x35c170=_0x4a3b1c;await this[_0x35c170(0x72)][_0x35c170(0x7f)][_0x35c170(0x7e)]({..._0x57ee46,'abortSignal':_0x5d6f0c,'renderingStrategy':_0xa73cf5}),_0x57ee46[_0x35c170(0xd7)]&&this[_0x35c170(0x83)](_0x57ee46['id']);});}[_0x5b7ac7(0x96)](_0x48ef31){const _0xdf411e=_0x5b7ac7;this[_0xdf411e(0x72)][_0xdf411e(0x7f)][_0xdf411e(0xe3)](_0x48ef31);}[_0x5b7ac7(0x83)](_0x2856bf){const _0x56a2c1=_0x5b7ac7;this[_0x56a2c1(0x72)][_0x56a2c1(0x7f)][_0x56a2c1(0xf2)](_0x2856bf);}[_0x5b7ac7(0x93)](_0x592974){const _0x4f03b7=_0x5b7ac7;this[_0x4f03b7(0x72)][_0x4f03b7(0x7f)][_0x4f03b7(0xb7)]()[_0x4f03b7(0xdb)](_0x3af23e=>_0x3af23e[_0x4f03b7(0x85)](_0x592974))[_0x4f03b7(0xd5)](_0x3dec71=>this[_0x4f03b7(0x72)][_0x4f03b7(0x7f)][_0x4f03b7(0xb1)](_0x3dec71));}[_0x5b7ac7(0xe4)](){const _0x5e6996=_0x5b7ac7;this[_0x5e6996(0xbc)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1}),this[_0x5e6996(0x72)][_0x5e6996(0x8c)][_0x5e6996(0x98)](!this[_0x5e6996(0xb4)][_0x5e6996(0xdf)][_0x5e6996(0x65)](_0x5e6996(0xf4))),this[_0x5e6996(0xcd)]=!0x0,this[_0x5e6996(0x72)][_0x5e6996(0x7f)][_0x5e6996(0xeb)]();}[_0x5b7ac7(0xc7)](_0x27ddb4){const _0x55b7c5=_0x5b7ac7;this[_0x55b7c5(0x78)][_0x55b7c5(0x8e)](),this[_0x55b7c5(0x72)][_0x55b7c5(0x7f)][_0x55b7c5(0xb7)]()[_0x55b7c5(0xdb)](_0x209f64=>_0x209f64[_0x55b7c5(0x85)](_0x27ddb4['id']))[_0x55b7c5(0xd5)](_0x511787=>this[_0x55b7c5(0x83)](_0x511787)),this[_0x55b7c5(0xcd)]=!0x1,this[_0x55b7c5(0x72)][_0x55b7c5(0x7f)][_0x55b7c5(0xc5)]();}async[_0x5b7ac7(0xe6)](){const _0x58974b=_0x5b7ac7;return this[_0x58974b(0x78)][_0x58974b(0xf3)][_0x58974b(0xb2)](()=>{const _0xe5c97=_0x58974b;this[_0xe5c97(0xcd)]=!0x1,this[_0xe5c97(0x72)][_0xe5c97(0x7f)][_0xe5c97(0xc5)]();});}[_0x5b7ac7(0xe8)](_0x19f817,_0x327078){const _0x55ff36=_0x5b7ac7;this[_0x55ff36(0x72)][_0x55ff36(0x8c)][_0x55ff36(0xe8)](_0x19f817,_0x327078);}[_0x5b7ac7(0x94)](_0x2e4009){const _0x16aedd=_0x5b7ac7;this[_0x16aedd(0x72)][_0x16aedd(0x8c)][_0x16aedd(0x94)](_0x2e4009);}[_0x5b7ac7(0x103)](_0x38528d,_0x3ca9cc){const _0x3ac5b3=_0x5b7ac7;this[_0x3ac5b3(0x72)][_0x3ac5b3(0x8c)][_0x3ac5b3(0x103)](_0x38528d,_0x3ca9cc);}[_0x5b7ac7(0xe1)](_0x5159a5){const _0x5ce103=_0x5b7ac7;this[_0x5ce103(0x72)][_0x5ce103(0x8c)][_0x5ce103(0xe1)](_0x5159a5);}[_0x5b7ac7(0xed)](_0x237dc2){const _0x46e3cb=_0x5b7ac7;this[_0x46e3cb(0x72)][_0x46e3cb(0x8c)][_0x46e3cb(0xed)](_0x237dc2);}[_0x5b7ac7(0x100)](){const _0x49f78f=_0x5b7ac7;this[_0x49f78f(0x72)][_0x49f78f(0x8c)][_0x49f78f(0x100)]();}[_0x5b7ac7(0x6d)](){const _0x11834e=_0x5b7ac7;this[_0x11834e(0x72)][_0x11834e(0x8c)][_0x11834e(0x6d)]();}[_0x5b7ac7(0xda)](_0x15adb8,_0x2c3ee6,_0x57faa8){const _0x322299=_0x5b7ac7;this[_0x322299(0x72)][_0x322299(0x8c)][_0x322299(0xda)](_0x15adb8,_0x2c3ee6,_0x57faa8);}[_0x5b7ac7(0xf1)](){const _0x33a528=_0x5b7ac7;this[_0x33a528(0x72)][_0x33a528(0x8c)][_0x33a528(0xf1)](),this[_0x33a528(0x72)][_0x33a528(0x8c)][_0x33a528(0xc2)](this[_0x33a528(0x70)]());}[_0x5b7ac7(0x9e)](_0x184a2b){const _0x1163bc=_0x5b7ac7;this[_0x1163bc(0x72)][_0x1163bc(0x8c)][_0x1163bc(0x9e)](_0x184a2b);}[_0x5b7ac7(0xc8)](_0x17d76a){const _0x591470=_0x5b7ac7;this[_0x591470(0x72)][_0x591470(0x8c)][_0x591470(0x92)](_0x17d76a[_0x591470(0xd8)]),this[_0x591470(0x72)][_0x591470(0x8c)][_0x591470(0x69)](_0x17d76a[_0x591470(0x101)]),this[_0x591470(0x72)][_0x591470(0x8c)][_0x591470(0xc2)](this[_0x591470(0x70)](_0x17d76a));}[_0x5b7ac7(0xae)](_0x49c19c,_0x60bf18){const _0x57908d=_0x5b7ac7;this[_0x57908d(0x72)][_0x57908d(0x8c)][_0x57908d(0xd3)](_0x49c19c),_0x60bf18&&this[_0x57908d(0x72)][_0x57908d(0x8c)][_0x57908d(0x98)](!0x1);}[_0x5b7ac7(0x6f)](_0x5d979f){const _0x176fa1=_0x5b7ac7;this[_0x176fa1(0xc4)]=_0x5d979f;}[_0x5b7ac7(0xfb)](_0x1ae1d6){const _0x339ec4=_0x5b7ac7;this[_0x339ec4(0x72)][_0x339ec4(0x7f)][_0x339ec4(0xfb)](_0x1ae1d6);}[_0x5b7ac7(0xac)](){const _0x4d149e=_0x5b7ac7;this[_0x4d149e(0xb3)](_0x1dc508(this[_0x4d149e(0xb4)][_0x4d149e(0xad)],_0x4d149e(0x7a)));}[_0x5b7ac7(0xb3)](_0x3a85e0,_0xf5c4ab=!0x1){const _0x46bda4=_0x5b7ac7;if(_0xf5c4ab&&!_0x2cccc6()&&_0x3a85e0[_0x46bda4(0x79)])return this[_0x46bda4(0x72)][_0x46bda4(0x7b)][_0x46bda4(0xcb)]='',void this[_0x46bda4(0xf9)](_0x3a85e0);this[_0x46bda4(0x72)][_0x46bda4(0x7b)][_0x46bda4(0xcb)]=_0x3a85e0;}[_0x5b7ac7(0xbc)](_0x1bb1a3){const _0x2e5954=_0x5b7ac7,_0x583945=this[_0x2e5954(0x8b)](_0x1bb1a3);this[_0x2e5954(0x72)][_0x2e5954(0x7f)][_0x2e5954(0xbc)](_0x583945);}[_0x5b7ac7(0xf9)](_0x4bd544){const _0xd1f24f=_0x5b7ac7;let _0x58df4a=0x0;clearInterval(this[_0xd1f24f(0x86)]),this[_0xd1f24f(0x86)]=setInterval(()=>{const _0xa0552b=_0xd1f24f;this[_0xa0552b(0x72)][_0xa0552b(0x7b)][_0xa0552b(0xcb)]=this[_0xa0552b(0x72)][_0xa0552b(0x7b)][_0xa0552b(0xcb)]+_0x4bd544[_0x58df4a],_0x58df4a++,_0x58df4a===_0x4bd544[_0xa0552b(0x79)]&&clearInterval(this[_0xa0552b(0x86)]);},0x1e);}[_0x5b7ac7(0xe0)](_0x5c92ce){const _0x2fe7f8=_0x5b7ac7;this[_0x2fe7f8(0x72)][_0x2fe7f8(0x7b)][_0x2fe7f8(0xd4)]=_0x5c92ce;}[_0x5b7ac7(0x8b)](_0x381607){const _0xda447a=_0x5b7ac7;return _0x381607?_0x381607[_0xda447a(0xd8)]&&_0x381607[_0xda447a(0x101)]?_0x1dc508(this[_0xda447a(0xb4)][_0xda447a(0xad)],_0xda447a(0xa8)):_0x381607[_0xda447a(0xd8)]?_0x1dc508(this[_0xda447a(0xb4)][_0xda447a(0xad)],_0xda447a(0xd2)):_0x381607[_0xda447a(0x101)]?_0x1dc508(this[_0xda447a(0xb4)][_0xda447a(0xad)],_0xda447a(0x6e)):_0x1dc508(this[_0xda447a(0xb4)][_0xda447a(0xad)],_0xda447a(0xa7)):'';}[_0x5b7ac7(0x70)](_0x52fd34){const _0x544589=_0x5b7ac7;return _0x52fd34?_0x52fd34[_0x544589(0xd8)]&&_0x52fd34[_0x544589(0x101)]?_0x1dc508(this[_0x544589(0xb4)][_0x544589(0xad)],_0x544589(0x104)):_0x52fd34[_0x544589(0xd8)]?_0x1dc508(this[_0x544589(0xb4)][_0x544589(0xad)],_0x544589(0x99)):_0x52fd34[_0x544589(0x101)]?_0x1dc508(this[_0x544589(0xb4)][_0x544589(0xad)],_0x544589(0xfe)):_0x1dc508(this[_0x544589(0xb4)][_0x544589(0xad)],_0x544589(0x68)):_0x1dc508(this[_0x544589(0xb4)][_0x544589(0xad)],_0x544589(0x68));}[_0x5b7ac7(0x9b)](_0x16bbb9,_0xce0b9e,_0x5e42c9,_0x442935){const _0x218710=_0x5b7ac7;this[_0x218710(0x72)][_0x218710(0x9b)](_0x16bbb9,_0xce0b9e,_0x5e42c9,_0x442935);}[_0x5b7ac7(0xa0)](_0x173591){const _0x337440=_0x5b7ac7;this[_0x337440(0x72)][_0x337440(0xa0)](_0x173591);}[_0x5b7ac7(0xdd)](){const _0x3e90aa=_0x5b7ac7;this[_0x3e90aa(0x72)][_0x3e90aa(0x8c)][_0x3e90aa(0xdd)]();}[_0x5b7ac7(0xa4)](_0x53ffd3,_0x567225){const _0x26f9f9=_0x5b7ac7;this[_0x26f9f9(0x72)][_0x26f9f9(0x7f)][_0x26f9f9(0x102)](_0x53ffd3,_0x567225);}[_0x5b7ac7(0xeb)](){const _0x40a979=_0x5b7ac7;this[_0x40a979(0x72)][_0x40a979(0x7f)][_0x40a979(0xeb)]();}[_0x5b7ac7(0xdc)](){const _0x115c47=_0x5b7ac7;this[_0x115c47(0x72)][_0x115c47(0x8c)][_0x115c47(0x95)]=!0x0;}[_0x5b7ac7(0xea)](){const _0x2dfd70=_0x5b7ac7;this[_0x2dfd70(0x72)][_0x2dfd70(0x8c)][_0x2dfd70(0x95)]=!0x1;}}