@ckeditor/ckeditor5-ai 47.4.0-alpha.0 → 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.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
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
|
-
const
|
|
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 _0x876952=_0x5b58;(function(_0x5551ef,_0x29c8bd){const _0x3165e2=_0x5b58,_0x3eb4ba=_0x5551ef();while(!![]){try{const _0x4599a4=-parseInt(_0x3165e2(0x9c))/0x1*(-parseInt(_0x3165e2(0xb1))/0x2)+-parseInt(_0x3165e2(0xa5))/0x3+-parseInt(_0x3165e2(0xd7))/0x4*(-parseInt(_0x3165e2(0x8c))/0x5)+parseInt(_0x3165e2(0x89))/0x6+-parseInt(_0x3165e2(0xbb))/0x7*(parseInt(_0x3165e2(0x8d))/0x8)+-parseInt(_0x3165e2(0x8a))/0x9*(-parseInt(_0x3165e2(0xe1))/0xa)+parseInt(_0x3165e2(0x94))/0xb;if(_0x4599a4===_0x29c8bd)break;else _0x3eb4ba['push'](_0x3eb4ba['shift']());}catch(_0x30829e){_0x3eb4ba['push'](_0x3eb4ba['shift']());}}}(_0x2401,0x64625));import{ButtonView as _0x1bee3f,View as _0x2891ea,ViewCollection as _0x321c21,FocusCycler as _0x1eaeeb}from'ckeditor5/src/ui.js';import{FocusTracker as _0xf8474c,KeystrokeHandler as _0x323db5}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x59c86c,IconPreviousArrow as _0x12f884}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x307759}from'./aiballoontoolbarview.js';function _0x2401(){const _0x2c177e=['_mainView','AI_BALLOON_PREVIOUS_TOOLTIP','focusFirst','disclaimerView','ai-balloon-error','setTemplate','focusCycler','isErrorVisible','getIndex','headerView','createCollection','start','showRecoverableError','_createNextButtonView','shift\x20+\x20tab','applySuggestion','_addDisclaimerView','tab','focusTracker','_createPreviousButtonView','19132biwEWo','showSuggestButton','hideError','scrollManager','_dialogContent','includes','fire','stop','render','_initializeScrollManager','55900mdQxWk','focusLast','keystrokes','suggestButton','ck-hidden','3294666mpIrgB','144puAbKz','applyButton','125NzDLZt','72ExHrQM','setLoading','ck-ai-suggestion__error','AI_BALLOON_NEXT_TOOLTIP','isLoading','bind','showBlockingError','504570iRYgtJ','focus','isEnabled','add','_focusables','remove','updateContent','destroy','1VvKmaP','showNext','errorMessage','bodyView','view','execute','insertSuggestion','showPrevious','_availableActions','1645212AHOsds','span','clearLoading','locale','_createErrorView','bindTemplate','change:isTrackChangesOn','listenTo','stopAutoScroll','toolbar','_addContentView','ai-balloon-content','348044naUGMJ','showError','children','setupRotator','addMany','element','showApplyButton','clear','mainView','isTrackChangesOn','14343dWZvGq','set','_getScrollableElement','ck-ai-suggestion__error-text','_addToolbar','_errorView','div','startAutoScroll'];_0x2401=function(){return _0x2c177e;};return _0x2401();}import{AIBalloonDisclaimerView as _0x24728b}from'./aiballoondisclaimerview.js';import{getTranslation as _0x9eebff}from'../../aicore/utils/common-translations.js';import{ScrollManager as _0x3ab49d}from'../../aicore/utils/scrollmanager.js';function _0x5b58(_0x4892a0,_0x4da544){const _0x2401f1=_0x2401();return _0x5b58=function(_0x5b5883,_0x12bbb3){_0x5b5883=_0x5b5883-0x88;let _0x3ac3ee=_0x2401f1[_0x5b5883];return _0x3ac3ee;},_0x5b58(_0x4892a0,_0x4da544);}import{AISuggestionContainerView as _0x150e9b}from'../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x876952(0xd2),_0x876952(0xa2),_0x876952(0x9d),_0x876952(0xa3)];export class AIBalloonView extends _0x2891ea{[_0x876952(0xd5)];[_0x876952(0xe3)];[_0x876952(0xc9)];[_0x876952(0xa4)];[_0x876952(0x98)];[_0x876952(0xc0)];[_0x876952(0xda)];constructor(_0x30bdd2,_0x1157dd,_0x3f2a18,_0x4bf619){const _0x48aa2b=_0x876952;super(_0x30bdd2),this[_0x48aa2b(0xa4)]=_0x3f2a18,this[_0x48aa2b(0xbc)](_0x48aa2b(0x91),!0x1),this[_0x48aa2b(0xbc)](_0x48aa2b(0xba),_0x4bf619),this[_0x48aa2b(0xbc)](_0x48aa2b(0xca),!0x1),this[_0x48aa2b(0xbc)](_0x48aa2b(0x9e),''),this[_0x48aa2b(0xd5)]=new _0xf8474c(),this[_0x48aa2b(0xe3)]=new _0x323db5(),this[_0x48aa2b(0x98)]=this[_0x48aa2b(0xcd)](),this[_0x48aa2b(0xc9)]=new _0x1eaeeb({'focusables':this[_0x48aa2b(0x98)],'focusTracker':this[_0x48aa2b(0xd5)],'keystrokeHandler':this[_0x48aa2b(0xe3)],'actions':{'focusPrevious':_0x48aa2b(0xd1),'focusNext':_0x48aa2b(0xd4)}}),this[_0x48aa2b(0xdb)]=new _0x321c21(),this[_0x48aa2b(0xaf)](_0x1157dd[_0x48aa2b(0xb9)]),this[_0x48aa2b(0xd3)](),this[_0x48aa2b(0xbf)](_0x1157dd[_0x48aa2b(0xb7)],_0x1157dd[_0x48aa2b(0xd8)]),this[_0x48aa2b(0xae)][_0x48aa2b(0x92)](_0x48aa2b(0x91))['to'](this),this[_0x48aa2b(0x98)][_0x48aa2b(0xb8)](),this[_0x48aa2b(0x98)][_0x48aa2b(0xb5)]([this[_0x48aa2b(0xae)]]),this[_0x48aa2b(0xc8)]({'tag':_0x48aa2b(0xc1),'attributes':{'class':_0x48aa2b(0xb0)},'children':this[_0x48aa2b(0xdb)]}),this['on'](_0x48aa2b(0xab),()=>{const _0x4b06e8=_0x48aa2b;this[_0x4b06e8(0xdb)][_0x4b06e8(0x99)](this[_0x4b06e8(0xae)]),this[_0x4b06e8(0xbf)](_0x1157dd[_0x4b06e8(0xb7)],_0x1157dd[_0x4b06e8(0xd8)]);});}[_0x876952(0xdf)](){const _0x28378a=_0x876952;super[_0x28378a(0xdf)]();for(const _0x52c92e of this[_0x28378a(0x98)])this[_0x28378a(0xd5)][_0x28378a(0x97)](_0x52c92e[_0x28378a(0xb6)]);this[_0x28378a(0xe3)][_0x28378a(0xac)](this[_0x28378a(0xb6)]),this[_0x28378a(0xe0)]();}[_0x876952(0x9b)](){const _0xe9ce70=_0x876952;super[_0xe9ce70(0x9b)](),this[_0xe9ce70(0xda)]&&this[_0xe9ce70(0xda)][_0xe9ce70(0x9b)]();}[_0x876952(0x95)](_0x1d7fe0){const _0x5614dd=_0x876952;-0x1===_0x1d7fe0?this[_0x5614dd(0xc9)][_0x5614dd(0xe2)]():this[_0x5614dd(0xc9)][_0x5614dd(0xc5)]();}[_0x876952(0x8e)](){const _0x3e5266=_0x876952;this[_0x3e5266(0x91)]=!0x0;}[_0x876952(0xa7)](){const _0x39d1b1=_0x876952;this[_0x39d1b1(0x91)]=!0x1;}[_0x876952(0xb2)](_0x412ac3){const _0x4a9194=_0x876952;this[_0x4a9194(0xc0)]||(this[_0x4a9194(0xc0)]=this[_0x4a9194(0xa9)](),this[_0x4a9194(0xdb)][_0x4a9194(0xb5)]([this[_0x4a9194(0xc0)]],0x0)),this[_0x4a9194(0x9e)]=_0x412ac3,this[_0x4a9194(0xca)]=!0x0;}[_0x876952(0xd9)](){const _0x638acd=_0x876952;this[_0x638acd(0xca)]=!0x1;}[_0x876952(0xcf)](_0x57a8da){const _0x481262=_0x876952;this[_0x481262(0xb2)](_0x57a8da);}[_0x876952(0x93)](_0xb1d1d7){const _0x17db26=_0x876952;this[_0x17db26(0xb2)](_0xb1d1d7),this[_0x17db26(0xae)]&&(this[_0x17db26(0xae)][_0x17db26(0x8b)]&&(this[_0x17db26(0xae)][_0x17db26(0x8b)][_0x17db26(0x96)]=!0x1),this[_0x17db26(0xae)][_0x17db26(0xe4)]&&(this[_0x17db26(0xae)][_0x17db26(0xe4)][_0x17db26(0x96)]=!0x1));}[_0x876952(0xb4)](_0x2c4253){const _0x23d56d=_0x876952,_0x58d42d=this[_0x23d56d(0xd0)](),_0x584ef7=this[_0x23d56d(0xd6)]();_0x2c4253[_0x23d56d(0xa0)][_0x23d56d(0xcc)][_0x23d56d(0xb3)][_0x23d56d(0x97)](_0x58d42d,0x2),_0x2c4253[_0x23d56d(0xa0)][_0x23d56d(0xcc)][_0x23d56d(0xb3)][_0x23d56d(0x97)](_0x584ef7,0x0),this[_0x23d56d(0x98)][_0x23d56d(0xb5)]([_0x58d42d,_0x584ef7]),this[_0x23d56d(0xd5)][_0x23d56d(0x97)](_0x58d42d[_0x23d56d(0xb6)]),this[_0x23d56d(0xd5)][_0x23d56d(0x97)](_0x584ef7[_0x23d56d(0xb6)]);}[_0x876952(0xaf)](_0x3cc8b8){const _0x121c82=_0x876952;this[_0x121c82(0xc3)]=_0x3cc8b8,this[_0x121c82(0xdb)][_0x121c82(0x97)](this[_0x121c82(0xc3)]);}[_0x876952(0x9a)](_0x3f4979){const _0x5c9274=_0x876952,_0x5a3b60=this[_0x5c9274(0xdb)][_0x5c9274(0xcb)](this[_0x5c9274(0xc3)]);this[_0x5c9274(0xdb)][_0x5c9274(0x99)](this[_0x5c9274(0xc3)]),this[_0x5c9274(0xc3)]=_0x3f4979,this[_0x5c9274(0xdb)][_0x5c9274(0x97)](this[_0x5c9274(0xc3)],_0x5a3b60),this[_0x5c9274(0xd9)](),this[_0x5c9274(0xda)]&&this[_0x5c9274(0xda)][_0x5c9274(0x9b)](),this[_0x5c9274(0xe0)]();}[_0x876952(0xd3)](){const _0x7b8467=_0x876952;this[_0x7b8467(0xc6)]=new _0x24728b(this[_0x7b8467(0xa8)]),this[_0x7b8467(0xdb)][_0x7b8467(0x97)](this[_0x7b8467(0xc6)]);}[_0x876952(0xbf)](_0xbfbb97=!0x0,_0x2a1f2a=!0x0){const _0x52d504=_0x876952;_0xbfbb97=_0xbfbb97&&!this[_0x52d504(0xba)]&&this[_0x52d504(0xa4)][_0x52d504(0xdc)](_0x52d504(0xd2)),_0x2a1f2a=_0x2a1f2a&&this[_0x52d504(0xa4)][_0x52d504(0xdc)](_0x52d504(0xa2)),this[_0x52d504(0xae)]=new _0x307759(this[_0x52d504(0xa8)],_0xbfbb97,_0x2a1f2a),this[_0x52d504(0xae)][_0x52d504(0x8b)]?.['on'](_0x52d504(0xa1),()=>{const _0x1a985c=_0x52d504;this[_0x1a985c(0xdd)](_0x1a985c(0xd2));}),this[_0x52d504(0xae)][_0x52d504(0xe4)]?.['on'](_0x52d504(0xa1),()=>{const _0x2924e7=_0x52d504;this[_0x2924e7(0xdd)](_0x2924e7(0xa2));}),this[_0x52d504(0xdb)][_0x52d504(0x97)](this[_0x52d504(0xae)]);}[_0x876952(0xd0)](){const _0x2da951=_0x876952,_0x58c034=new _0x1bee3f(this[_0x2da951(0xa8)]);return _0x58c034[_0x2da951(0xbc)]({'icon':_0x59c86c,'tooltip':_0x9eebff(this[_0x2da951(0xa8)],_0x2da951(0x90))}),_0x58c034['on'](_0x2da951(0xa1),()=>{const _0x4015bd=_0x2da951;this[_0x4015bd(0xdd)](_0x4015bd(0x9d));}),_0x58c034;}[_0x876952(0xd6)](){const _0xb8c5b8=_0x876952,_0x30793c=new _0x1bee3f(this[_0xb8c5b8(0xa8)]);return _0x30793c[_0xb8c5b8(0xbc)]({'icon':_0x12f884,'tooltip':_0x9eebff(this[_0xb8c5b8(0xa8)],_0xb8c5b8(0xc4))}),_0x30793c['on'](_0xb8c5b8(0xa1),()=>{const _0x10b8af=_0xb8c5b8;this[_0x10b8af(0xdd)](_0x10b8af(0xa3));}),_0x30793c;}[_0x876952(0xa9)](){const _0x2e3006=_0x876952,_0x2fd9ec=new _0x2891ea(this[_0x2e3006(0xa8)]),_0x5cc50a=new _0x2891ea(this[_0x2e3006(0xa8)]);return _0x5cc50a[_0x2e3006(0xc8)]({'tag':_0x2e3006(0xa6),'attributes':{'class':['ck',_0x2e3006(0xbe)]},'children':[{'text':this[_0x2e3006(0xaa)]['to'](_0x2e3006(0x9e))}]}),_0x2fd9ec[_0x2e3006(0xc8)]({'tag':_0x2e3006(0xc1),'attributes':{'class':['ck',_0x2e3006(0x8f),_0x2e3006(0xc7),this[_0x2e3006(0xaa)]['if'](_0x2e3006(0xca),_0x2e3006(0x88),_0x40ff04=>!_0x40ff04)]},'children':[_0x5cc50a]}),_0x2fd9ec;}[_0x876952(0xc2)](){const _0x193927=_0x876952;this[_0x193927(0xe0)](),this[_0x193927(0xda)]&&this[_0x193927(0xda)][_0x193927(0xce)]();}[_0x876952(0xad)](){const _0x3e21fa=_0x876952;this[_0x3e21fa(0xda)]&&this[_0x3e21fa(0xda)][_0x3e21fa(0xde)]();}[_0x876952(0xe0)](){const _0x4fd5d9=_0x876952,_0x4cc82a=this[_0x4fd5d9(0xbd)]();_0x4cc82a&&!this[_0x4fd5d9(0xda)]&&(this[_0x4fd5d9(0xda)]=new _0x3ab49d(_0x4cc82a));}[_0x876952(0xbd)](){const _0x525faa=_0x876952;return this[_0x525faa(0xc3)]instanceof _0x150e9b&&this[_0x525faa(0xc3)][_0x525faa(0x9f)][_0x525faa(0xb6)]?this[_0x525faa(0xc3)][_0x525faa(0x9f)][_0x525faa(0xb6)]: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;}}
|
package/src/aichat/aichat.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
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 _0x380a5b=_0x2578;(function(_0x18d22d,_0x94c1cd){const _0x52ad06=_0x2578,_0x4e7903=_0x18d22d();while(!![]){try{const _0x42851=-parseInt(_0x52ad06(0x245))/0x1*(-parseInt(_0x52ad06(0x1b1))/0x2)+parseInt(_0x52ad06(0x262))/0x3+-parseInt(_0x52ad06(0x22b))/0x4+parseInt(_0x52ad06(0x1e8))/0x5*(parseInt(_0x52ad06(0x282))/0x6)+parseInt(_0x52ad06(0x2a1))/0x7+parseInt(_0x52ad06(0x273))/0x8+-parseInt(_0x52ad06(0x1c5))/0x9*(parseInt(_0x52ad06(0x21f))/0xa);if(_0x42851===_0x94c1cd)break;else _0x4e7903['push'](_0x4e7903['shift']());}catch(_0x153ecc){_0x4e7903['push'](_0x4e7903['shift']());}}}(_0x5e7c,0x3cb6f));import{ContextPlugin as _0x5d6eb1,Editor as _0x268d61}from'ckeditor5/src/core.js';import{BodyCollection as _0x2e7136}from'ckeditor5/src/ui.js';import{CKEditorError as _0xb8924f,logError as _0x1eb88a,scrollViewportToShowTarget as _0x59bc32,uid as _0x31c287}from'ckeditor5/src/utils.js';import{AIConnector as _0x3d8712}from'../aicore/aiconnector.js';import{AITabs as _0x29b001}from'../aitabs/aitabs.js';import{AIChatConversation as _0x49fb89}from'./model/aichatconversation.js';import{getTranslation as _0x3c35c3}from'../aicore/utils/common-translations.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x5a2f18}from'../aicore/aiediting.js';import{AI_REPLY_ACTIONS as _0x37616d}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIModels as _0x36e4f1}from'../aicore/model/aimodels.js';import{getEditorFromContext as _0x260be3}from'../aicore/utils/geteditorfromcontext.js';import{DocumentCompare as _0x1fcfbc,DATA_ID_MODEL_ATTRIBUTE as _0x54cb6e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2578(_0x50b514,_0x4a97d7){const _0x5e7cc6=_0x5e7c();return _0x2578=function(_0x25780b,_0x5526f9){_0x25780b=_0x25780b-0x17f;let _0x59b420=_0x5e7cc6[_0x25780b];return _0x59b420;},_0x2578(_0x50b514,_0x4a97d7);}import{fixMarkerOperationOldRange as _0xec59ff,getOperationsFromReply as _0x2556e1}from'../aicore/utils/getoperationsfromreply.js';import{expandSelectionWithContext as _0x42ac67,getMinimalSelection as _0x4ab0b5}from'../aicore/utils/getsuggestionpartsfromreply.js';import{ModelRange as _0x30994b,_DetachOperation as _0x4d8793}from'ckeditor5/src/engine.js';import{findOne as _0x3ca4fe,getAttribute as _0x2a6712,serialize as _0x3acb67,Document as _0x554c05,findByAttribute as _0x48bf17}from'../aicore/utils/htmlparser.js';import{IconAI as _0x15e824}from'@ckeditor/ckeditor5-icons';import{AISuggestionContainerView as _0x52a448}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIBalloon as _0x24b349}from'../aiballoon/aiballoon.js';function _0x5e7c(){const _0x4f704d=['_batchToChanges','addSelectionToContext','_logError','AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','sources','interactionCreated','reasoningFinished','ai-request-aborted','AIChatUI','showFakeVisualSelection','error','alignToTop','editing','setLoadingMessage','start','message','_handleStartConversation','580350xmoCyC','contextItemAdded','batch','interactionStarted','ai-chat-context-invalid-data','like','ai.chat.context','_scrollToSuggestionRange','addContextOptionsChanged','createPositionAt','replyCreated','getContentParts','1283900rKEhLN','AITabs','interactionFinished','clearPendingContextUI','addFeedItemError','nextSibling','resource','AI_CHAT_CONTEXT_INVALID_DATA','uploadProgressChanged','addOperation','AI_CHAT_ABORTED_MESSAGE','findIndex','_openBalloonFor','AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','toString','setIsUploadInProgress','getDocumentContext','_handleUIUserMessage','afterInit','_insertSuggestion','messageId','ai.chat.models.displayedModels','Showing\x20conversation\x20history...','removeSelectionFromContext','rejectSuggestion','8191tvWgRh','ai-chat-conversation-start-failed','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','context','pending','AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','_flushLastInteractionUI','updateContent','attachToDom','_aiChatUi','toggleWebSearch','domConverter','redo','ai-chat-invalid-request','log','add','get','replyContentUpdated','TrackChanges','ai-chat-context-unsupported-file-type','AI_CHAT_INVALID_REQUEST','_balloonShowDiff','range','contextItemLoadingEnded','_setIsMaximized','closeSourceResourceBalloon','getChildren','ai-chat-missing-channel-id','selection','41148hImLIZ','isPremiumPlugin','query','contextItemRemoved','finishInteraction','_integrateEditor','maxOffset','getConversation','setConversationTitle','webSearchFinished','rootName','indexOf','updateFeedItemAIReplySuggestionContent','conversationInitialized','showChangeInText','requires','updateFeedItemAIReplyContent','3414824LCElwJ','ai-chat-conversation-init-failed','text-delta','getGroupId','current-document','remove','type','ai-chat-context-file-too-large','_toggleReasoning','chat','modification-delta','disableControls','split','_updateRatings','new','233652fphFGx','resourceStateChanged','getOperations','slice','sendUserMessage','node','baseVersion','AIEditing','length','changes','close','addFileToContext','ai-chat-controller-mouse-over','updateCurrentDocumentInContext','startConversation','addFeedInteractionHeader','$graveyard','AI_CHAT_UNTITLED_CONVERSATION','addCurrentDocumentToContext','focusPromptInput','_bodyCollection','filter','push','getAttribute','addFeedItemAISuggestion','_aiEditing','loadConversation','isOpen','stopInteraction','map','history','1687714tMcger','version','updateFeedItemAIReplySuggestionPartState','addUrlToContext','contextItem','getFirstRange','toggleSuggestionDisplayMode','marker','createRange','load','setFeedItemRenderingStrategy','insertSuggestion','getChild','upsertAIChatRating','resize','_removeAISelectionMarkers','AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','selectModel','find','streaming','view','getInteractionAndReplyById','capabilitiesUpdated','collaboration.channelId','toggleReasoning','createConversation','static','config','changeGroups','populateSourceResourceBalloon','getMarkersGroup','modelSelected','ai.availableReplyActions','addSelectionToChatContext','Disliked\x20response','root','interactionDestroyed','_stopLastInteraction','content','ai-chat-controller-no-active-conversation','removeContextItem','sourceResourcesLoaded','addResourceToContext','children','_aiChatModels','getPath','addFilesToContext','activateTab','addFeedItemStaticMessage','$root','unshift','ai-chat-context-unsupported-type','Undo','editors','handleRemovedConversation','AI_CHAT_GENERIC_ERROR','open','ai-chat-url-upload-failed','setAddContextOptions','main','isLoading','startInteraction','path','viewRangeToDom','removed','toggleLoadingSkeleton','AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','forEach','_previewedChangeGroup','index','handleUserInteraction','getTransformedByOperation','document','contextItems','setSelectedModel','delete','Liked\x20response','isModelAvailable','_startConversationSafely','anchorId','AI_CHAT_UNABLE_TO_START_CONVERSATION','_applySuggestion','state','isUploadInProgress','accepted','source','pluginName','enableControls','showPrevious','hasChanges','model','resizedTabs','resources','loadSourceResources','stop','isCurrentDocumentInConversation','init','hideFakeVisualSelection','DocumentCompare','sourceId','setIsMaximized','toViewRange','getDiff','documentContextContent','ai-chat-resource-load-failed','removeMarker','setContextItemLoading','startAutoScroll','applySuggestion','updateFeedItemAIReplySources','getReply','mouseLeaveSuggestion','isCurrentDocumentInContext','setChangeGroupState','isDocumentOperation','data-id','isInContext','AI_CHAT_CONTEXT_FILE_TOO_LARGE','_getDocumentRangeForReplyChanges','addDocumentToContext','end','replies','sendMessage','_applyOperationsAsSuggestions','_toggleWebSearch','indexes','isStarted','isDisabled','markers','100GBJDxL','getDocumentData','detachFromDom','startsWith','AIChatController','change','replyChangeGroupStateUpdated','updateResourceState','showNext','plugins','has','getRoot','_removeFromContext','fetchConversation','cloneNode','destroy','data','lastInteraction','getChildAtOffset','getSelectionText','99BIiziD','mouseOverSuggestion','from','uiId','isOfficialPlugin','showDiff','sourcePosition','resizeTabs','stopListening','activeConversation','ai-chat-context-form-data-size-limits-exceeded','resourceId','ready','scrollFeedToSuggestion','_createFromRanges','resetMessageInput','parse','createPositionFromPath','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','ai.chat.models.defaultModelId','ai-conversation-','getInteraction','contextSent','webSearchStarted','updateCapabilities','setConversationContext','addFeedItemUserMessage','reasoningStarted','addContextItem','_showConversationHistory','removeFeedInteraction','addFeedItemAIReply','partIndex','rejected','ai-no-track-changes','15hYEsXx','selectedModel','clearConversationContextUI','howMany','applyOperation','ai-chat-conversation-not-found','undo','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','getRanges','_updateReplyContent','ai-chat-file-upload-failed','replyId','mapper','uid','options','AI_CHAT_RESOURCE_LOAD_FAILED','AI_BALLOON_HEADER_TITLE','full','abortPromptStream','commands','removeFromContext','updateConversationTitle','dialogClosed','setModel','revert','outdated','ai-chat-context-file-too-many-pages','locale','set','removeSelectionFromChatContext','listenTo','AIConnector','ai-chat-source-resources-load-failed','dislike','TrackChangesEditing','_aiConnector','interactionId','resetConversationTitle'];_0x5e7c=function(){return _0x4f704d;};return _0x5e7c();}export class AIChatController extends _0x5d6eb1{[_0x380a5b(0x29b)];[_0x380a5b(0x20b)];[_0x380a5b(0x24e)];[_0x380a5b(0x2cd)];[_0x380a5b(0x20e)]=new Map();[_0x380a5b(0x2e5)]=null;[_0x380a5b(0x25a)]=!0x1;[_0x380a5b(0x296)];static get[_0x380a5b(0x271)](){return[_0x3d8712,_0x24b349,_0x1fcfbc];}static get[_0x380a5b(0x186)](){const _0x1efe8b=_0x380a5b;return _0x1efe8b(0x1b5);}static get[_0x380a5b(0x1c9)](){return!0x0;}static get[_0x380a5b(0x263)](){return!0x0;}[_0x380a5b(0x190)](){const _0x4ff454=_0x380a5b;this[_0x4ff454(0x296)]=new _0x2e7136(this[_0x4ff454(0x248)][_0x4ff454(0x203)]),this[_0x4ff454(0x296)][_0x4ff454(0x24d)](),this[_0x4ff454(0x20b)]=this[_0x4ff454(0x248)][_0x4ff454(0x1ba)][_0x4ff454(0x255)](_0x4ff454(0x207)),this[_0x4ff454(0x24e)]=this[_0x4ff454(0x248)][_0x4ff454(0x1ba)][_0x4ff454(0x255)](_0x4ff454(0x216)),this[_0x4ff454(0x29b)]=this[_0x4ff454(0x248)][_0x4ff454(0x1ba)][_0x4ff454(0x255)](_0x4ff454(0x289)),this[_0x4ff454(0x2cd)]=new _0x36e4f1({'connector':this[_0x4ff454(0x20b)],'availableModels':this[_0x4ff454(0x248)][_0x4ff454(0x2bc)][_0x4ff454(0x255)](_0x4ff454(0x241)),'defaultModelId':this[_0x4ff454(0x248)][_0x4ff454(0x2bc)][_0x4ff454(0x255)](_0x4ff454(0x1d8)),'locale':this[_0x4ff454(0x248)][_0x4ff454(0x203)]});const _0x40603b=this[_0x4ff454(0x248)][_0x4ff454(0x1ba)][_0x4ff454(0x255)](_0x4ff454(0x22c));this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x290),()=>{const _0xeecb75=_0x4ff454;this[_0xeecb75(0x2ef)]();}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x286),(_0x25ee8f,_0x1000c4)=>{const _0x3c814c=_0x4ff454;this[_0x3c814c(0x23d)]({'userMessage':_0x1000c4});}),this[_0x4ff454(0x206)](_0x40603b,_0x4ff454(0x18b),(_0x1c6417,_0x3ecf2b)=>{const _0x5df022=_0x4ff454;this[_0x5df022(0x25d)](_0x3ecf2b);}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x1cc),()=>{const _0x4ab61e=_0x4ff454;_0x40603b[_0x4ab61e(0x2af)]();}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x1fa),async()=>{const _0x1f2f82=_0x4ff454;await this[_0x1f2f82(0x2c6)](),await this[_0x1f2f82(0x24b)](),this[_0x1f2f82(0x205)]();}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x1a7),()=>{const _0x132f8c=_0x4ff454;this[_0x132f8c(0x1ce)]?.[_0x132f8c(0x294)](_0x3c35c3(this[_0x132f8c(0x248)][_0x132f8c(0x203)],_0x132f8c(0x247)));}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x28d),(_0x5e8463,_0x34df28)=>{const _0x3dd0dd=_0x4ff454;this[_0x3dd0dd(0x1ce)]?.[_0x3dd0dd(0x2cf)](Array[_0x3dd0dd(0x1c7)](_0x34df28));}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x2a4),(_0xda9bb,_0xe6a369)=>{const _0x38a068=_0x4ff454;this[_0x38a068(0x1ce)]?.[_0x38a068(0x2a4)](_0xe6a369);}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x2cb),(_0x2fee23,_0x39946e)=>{const _0x823782=_0x4ff454;this[_0x823782(0x1ce)]?.[_0x823782(0x2cb)](_0x39946e[_0x823782(0x185)],_0x39946e[_0x823782(0x231)]);}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x2c9),(_0x53b420,_0x3edb38)=>{const _0x53007a=_0x4ff454;this[_0x53007a(0x1bd)](_0x3edb38);}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x18d),(_0x3e5437,_0x20f586)=>{const _0x34f0e2=_0x4ff454;this[_0x34f0e2(0x1ce)]?.[_0x34f0e2(0x18d)](_0x20f586[_0x34f0e2(0x193)],_0x20f586[_0x34f0e2(0x264)],_0x20f586[_0x34f0e2(0x1f5)]);}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x24f),()=>{const _0x375128=_0x4ff454;this[_0x375128(0x1ac)]();}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x2b9),()=>{const _0x46a6c2=_0x4ff454;this[_0x46a6c2(0x27b)]();}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x2b2),(_0x1b91d,_0x116394)=>{const _0x1c0605=_0x4ff454;this[_0x1c0605(0x1ce)]?.[_0x1c0605(0x1ff)](_0x116394);}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x224),(_0x5e9c0c,{replyId:_0xa4fdc7})=>{const _0x405f2f=_0x4ff454;console[_0x405f2f(0x253)](_0x405f2f(0x2ed),_0xa4fdc7);}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x209),(_0xceedbf,{replyId:_0x110315})=>{const _0x5d6145=_0x4ff454;console[_0x5d6145(0x253)](_0x5d6145(0x2c3),_0x110315);}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x2ac),(_0x4e15ff,_0x48e4cc)=>{const _0x534464=_0x4ff454;this[_0x534464(0x248)][_0x534464(0x1ba)][_0x534464(0x255)](_0x24b349)[_0x534464(0x28c)](),this[_0x534464(0x23f)](_0x48e4cc);}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x270),(_0x33c772,{replyId:_0x11426c,partIndex:_0x3a81c2})=>{const _0x1dbe46=_0x4ff454;this[_0x1dbe46(0x25a)]=this[_0x1dbe46(0x24e)][_0x1dbe46(0x1ca)],this[_0x1dbe46(0x237)](_0x11426c,_0x3a81c2);}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x1c6),(_0x5d3eb4,{replyId:_0xc8d3f6,partIndex:_0xa79564})=>{const _0x4164dc=_0x4ff454,_0x5b09dd=this[_0x4164dc(0x1a6)](_0xc8d3f6,_0xa79564);_0x5b09dd&&_0x4164dc(0x292)!=_0x5b09dd[_0x4164dc(0x25b)][_0x4164dc(0x2c4)][_0x4164dc(0x26c)]&&this[_0x4164dc(0x29b)][_0x4164dc(0x217)]([_0x5b09dd[_0x4164dc(0x25b)]],_0x4164dc(0x28e));}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x19f),()=>{const _0x19ba33=_0x4ff454;this[_0x19ba33(0x29b)][_0x19ba33(0x191)](_0x19ba33(0x28e));}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x19c),(_0xe1e7ca,_0x22ef90)=>{const _0x57b6a5=_0x4ff454;this[_0x57b6a5(0x248)][_0x57b6a5(0x1ba)][_0x57b6a5(0x255)](_0x24b349)[_0x57b6a5(0x28c)](),this[_0x57b6a5(0x181)](_0x22ef90);}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x2a7),async(_0x495244,{replyId:_0x36f26c,showDiff:_0xaddf03})=>{const _0x30ad45=_0x4ff454,{reply:_0x18ff86}=this[_0x30ad45(0x2b6)](_0x36f26c),_0x4155e4=_0x18ff86[_0x30ad45(0x22a)]({'showDiff':_0xaddf03});await this[_0x30ad45(0x24e)][_0x30ad45(0x26e)]({'id':_0x18ff86['id'],'parts':_0x4155e4,'renderingStrategy':_0x30ad45(0x2bb)});}),this[_0x4ff454(0x206)](this[_0x4ff454(0x24e)],_0x4ff454(0x244),(_0x1c707b,{replyId:_0x3596a5,partIndex:_0x2ae9cf})=>{const _0x57e2a1=_0x4ff454;this[_0x57e2a1(0x2e5)]?.[_0x57e2a1(0x1f3)]==_0x3596a5&&this[_0x57e2a1(0x2e5)]?.[_0x57e2a1(0x1e5)]==_0x2ae9cf&&this[_0x57e2a1(0x248)][_0x57e2a1(0x1ba)][_0x57e2a1(0x255)](_0x24b349)[_0x57e2a1(0x28c)]();const {reply:_0x1d0aea}=this[_0x57e2a1(0x2b6)](_0x3596a5);_0x1d0aea[_0x57e2a1(0x1a1)](_0x2ae9cf,_0x57e2a1(0x1e6)),this[_0x57e2a1(0x29b)][_0x57e2a1(0x191)](_0x57e2a1(0x28e));});}async[_0x380a5b(0x23e)](){const _0x1bcd19=_0x380a5b;this[_0x1bcd19(0x248)]instanceof _0x268d61?this[_0x1bcd19(0x267)](this[_0x1bcd19(0x248)]):this[_0x1bcd19(0x206)](this[_0x1bcd19(0x248)][_0x1bcd19(0x2d6)],_0x1bcd19(0x254),(_0x220f7a,_0x5b9509)=>{const _0x349c4e=_0x1bcd19;_0x5b9509['on'](_0x349c4e(0x1d1),()=>{const _0x3da119=_0x349c4e;this[_0x3da119(0x267)](_0x5b9509);});}),await this[_0x1bcd19(0x2ef)]();}[_0x380a5b(0x1c0)](){const _0x465172=_0x380a5b;this[_0x465172(0x296)][_0x465172(0x1b3)](),super[_0x465172(0x1c0)]();}[_0x380a5b(0x23f)](_0x4bafc6){const _0x12d13c=_0x380a5b,_0x5c4b63=_0x260be3(this[_0x12d13c(0x248)]);if(!_0x5c4b63[_0x12d13c(0x1ba)][_0x12d13c(0x1bb)](_0x12d13c(0x257)))throw new _0xb8924f(_0x12d13c(0x1e7),null);const _0x4ba7ee=this[_0x12d13c(0x248)][_0x12d13c(0x1ba)][_0x12d13c(0x255)](_0x12d13c(0x192)),{reply:_0x9ce45a,interaction:_0x565792}=this[_0x12d13c(0x2b6)](_0x4bafc6[_0x12d13c(0x1f3)]),_0x5b6c31=this[_0x12d13c(0x1a6)](_0x4bafc6[_0x12d13c(0x1f3)],_0x4bafc6[_0x12d13c(0x1e5)]),_0x1cc014=void 0x0!==_0x4bafc6[_0x12d13c(0x1e5)]?[_0x9ce45a[_0x12d13c(0x2bd)][_0x4bafc6[_0x12d13c(0x1e5)]]]:_0x9ce45a[_0x12d13c(0x2bd)][_0x12d13c(0x297)](_0x5de9d9=>_0x12d13c(0x249)==_0x5de9d9[_0x12d13c(0x182)]),_0x151aee=_0x1cc014[_0x12d13c(0x29f)](_0x3c41f3=>_0x9ce45a[_0x12d13c(0x2bd)][_0x12d13c(0x26d)](_0x3c41f3));if(!_0x5b6c31||_0x12d13c(0x292)==_0x5b6c31[_0x12d13c(0x25b)][_0x12d13c(0x2c4)][_0x12d13c(0x26c)])return void _0x151aee[_0x12d13c(0x2e4)](_0x347c86=>_0x9ce45a[_0x12d13c(0x1a1)](_0x347c86,_0x12d13c(0x201)));_0x151aee[_0x12d13c(0x2e4)](_0x3e26bf=>_0x9ce45a[_0x12d13c(0x1a1)](_0x3e26bf,_0x12d13c(0x184)));const _0x2990f6=_0x2556e1({'editor':_0x5c4b63,'reply':_0x9ce45a,'interaction':_0x565792,'groups':_0x1cc014,'transform':!0x0,'documentCompare':_0x4ba7ee,'documentCompareOptions':{'anchor':_0x12d13c(0x2dc),'markDeletions':!0x0}});let _0x6a7004;_0x5b6c31&&this[_0x12d13c(0x226)](_0x5b6c31[_0x12d13c(0x25b)]),_0x5c4b63[_0x12d13c(0x18a)][_0x12d13c(0x1b6)](_0x2ea6b7=>{const _0x1ea2cb=_0x12d13c;_0x6a7004=_0x2ea6b7[_0x1ea2cb(0x221)],_0x5c4b63[_0x1ea2cb(0x1ba)][_0x1ea2cb(0x255)](_0x1ea2cb(0x20a))[_0x1ea2cb(0x1ab)](_0x2990f6),this[_0x1ea2cb(0x29b)][_0x1ea2cb(0x191)](_0x1ea2cb(0x28e));}),this[_0x12d13c(0x20e)][_0x12d13c(0x204)](_0x6a7004,{'interactionId':_0x565792['id'],'replyId':_0x9ce45a['id'],'indexes':_0x151aee[_0x12d13c(0x285)]()}),this[_0x12d13c(0x280)](_0x9ce45a);}[_0x380a5b(0x181)](_0x173ff6){const _0x19d8b5=_0x380a5b,_0x53e34a=_0x260be3(this[_0x19d8b5(0x248)]),_0x5277c3=this[_0x19d8b5(0x248)][_0x19d8b5(0x1ba)][_0x19d8b5(0x255)](_0x1fcfbc),{reply:_0x123f54,interaction:_0x43ab94}=this[_0x19d8b5(0x2b6)](_0x173ff6[_0x19d8b5(0x1f3)]),_0x17edbe=this[_0x19d8b5(0x1a6)](_0x173ff6[_0x19d8b5(0x1f3)],_0x173ff6[_0x19d8b5(0x1e5)]),_0x1e06c5=void 0x0!==_0x173ff6[_0x19d8b5(0x1e5)]?[_0x123f54[_0x19d8b5(0x2bd)][_0x173ff6[_0x19d8b5(0x1e5)]]]:_0x123f54[_0x19d8b5(0x2bd)][_0x19d8b5(0x297)](_0x3d318c=>_0x19d8b5(0x249)==_0x3d318c[_0x19d8b5(0x182)]),_0x2aa56e=_0x1e06c5[_0x19d8b5(0x29f)](_0x40296b=>_0x123f54[_0x19d8b5(0x2bd)][_0x19d8b5(0x26d)](_0x40296b));if(!_0x17edbe||_0x19d8b5(0x292)==_0x17edbe[_0x19d8b5(0x25b)][_0x19d8b5(0x2c4)][_0x19d8b5(0x26c)])return void _0x2aa56e[_0x19d8b5(0x2e4)](_0x5ed2ab=>_0x123f54[_0x19d8b5(0x1a1)](_0x5ed2ab,_0x19d8b5(0x201)));_0x2aa56e[_0x19d8b5(0x2e4)](_0x3554e4=>_0x123f54[_0x19d8b5(0x1a1)](_0x3554e4,_0x19d8b5(0x184)));const _0x116480=_0x2556e1({'editor':_0x53e34a,'reply':_0x123f54,'interaction':_0x43ab94,'groups':_0x1e06c5,'transform':!0x0,'documentCompare':_0x5277c3,'documentCompareOptions':{'anchor':_0x19d8b5(0x2dc),'markDeletions':!0x1}});let _0x3cb626;_0x17edbe&&this[_0x19d8b5(0x226)](_0x17edbe[_0x19d8b5(0x25b)]),_0x53e34a[_0x19d8b5(0x18a)][_0x19d8b5(0x1b6)](_0x14d638=>{const _0x47d883=_0x19d8b5;_0x3cb626=_0x14d638[_0x47d883(0x221)];for(const _0x3524ca of _0x116480)_0x3524ca[_0x47d883(0x288)]=_0x53e34a[_0x47d883(0x18a)][_0x47d883(0x2e9)][_0x47d883(0x2a2)],_0xec59ff(_0x53e34a,_0x3524ca),_0x14d638[_0x47d883(0x221)][_0x47d883(0x234)](_0x3524ca),_0x53e34a[_0x47d883(0x18a)][_0x47d883(0x1ec)](_0x3524ca);}),this[_0x19d8b5(0x20e)][_0x19d8b5(0x204)](_0x3cb626,{'interactionId':_0x43ab94['id'],'replyId':_0x123f54['id'],'indexes':_0x2aa56e[_0x19d8b5(0x285)]()}),this[_0x19d8b5(0x280)](_0x123f54);}[_0x380a5b(0x237)](_0x5a6908,_0x1b594a){const _0x1ad5c0=_0x380a5b,_0x24e3d7=_0x260be3(this[_0x1ad5c0(0x248)]),_0x1fdbc2=this[_0x1ad5c0(0x1a6)](_0x5a6908,_0x1b594a),_0x46152a=this[_0x1ad5c0(0x248)][_0x1ad5c0(0x1ba)][_0x1ad5c0(0x255)](_0x24b349);if(!_0x1fdbc2)return void _0x46152a[_0x1ad5c0(0x28c)]();const {range:_0x4ca1dd,currentIndex:_0x24ae19}=_0x1fdbc2;if(_0x1ad5c0(0x292)==_0x4ca1dd[_0x1ad5c0(0x2c4)][_0x1ad5c0(0x26c)]){const {reply:_0x224f53}=this[_0x1ad5c0(0x2b6)](_0x5a6908);return _0x224f53[_0x1ad5c0(0x1a1)](_0x24ae19,_0x1ad5c0(0x201)),void _0x46152a[_0x1ad5c0(0x28c)]();}if(this[_0x1ad5c0(0x2e5)]?.[_0x1ad5c0(0x1f3)]==_0x5a6908&&this[_0x1ad5c0(0x2e5)]?.[_0x1ad5c0(0x1e5)]==_0x24ae19)return;this[_0x1ad5c0(0x1cd)](_0x46152a),this[_0x1ad5c0(0x2e5)]={'replyId':_0x5a6908,'partIndex':_0x24ae19};let _0x5cdedf=_0x24e3d7[_0x1ad5c0(0x2bc)][_0x1ad5c0(0x255)](_0x1ad5c0(0x2c1))||[..._0x37616d];_0x24e3d7[_0x1ad5c0(0x1ba)][_0x1ad5c0(0x1bb)](_0x1ad5c0(0x257))||(_0x5cdedf=_0x5cdedf[_0x1ad5c0(0x297)](_0x4d7648=>_0x1ad5c0(0x2ac)!=_0x4d7648));const _0x1d92b6=new _0x52a448(_0x24e3d7[_0x1ad5c0(0x203)],{'showDiff':this[_0x1ad5c0(0x25a)],'areActionsDisabled':!0x1,'miniToolbarConfig':{'showChanges':_0x1ad5c0(0x1f9)},'hideHeader':!0x0,'availableActions':_0x5cdedf},this[_0x1ad5c0(0x296)]);this[_0x1ad5c0(0x1cd)](_0x1d92b6);const {reply:_0x467a7c}=this[_0x1ad5c0(0x2b6)](_0x5a6908),_0x19b6d7=_0x467a7c[_0x1ad5c0(0x22a)]({'showDiff':this[_0x1ad5c0(0x25a)]})[_0x1ad5c0(0x297)](_0x3203db=>_0x3203db[_0x1ad5c0(0x189)]),_0x67bf50=_0x19b6d7[_0x1ad5c0(0x236)](_0x5ab349=>_0x5ab349[_0x1ad5c0(0x2e6)]==_0x24ae19);if(-0x1==_0x67bf50)return;const _0x528030=_0x19b6d7[_0x67bf50],_0x213030=_0x19b6d7['at']((_0x67bf50-0x1)%_0x19b6d7[_0x1ad5c0(0x28a)])?.[_0x1ad5c0(0x2e6)],_0x21aff0=_0x19b6d7['at']((_0x67bf50+0x1)%_0x19b6d7[_0x1ad5c0(0x28a)])?.[_0x1ad5c0(0x2e6)];_0x1d92b6[_0x1ad5c0(0x24c)]({'parts':[_0x528030],'renderingStrategy':_0x1ad5c0(0x2bb)});const _0x39cd71=_0x24ae19!==_0x213030;this[_0x1ad5c0(0x226)](_0x4ca1dd,!0x0),_0x46152a[_0x1ad5c0(0x2d9)]({'index':_0x24ae19,'title':_0x3c35c3(this[_0x1ad5c0(0x248)][_0x1ad5c0(0x203)],_0x1ad5c0(0x1f8),(_0x67bf50+0x1)[_0x1ad5c0(0x23a)]()),'icon':_0x15e824,'mainView':_0x1d92b6,'showRotator':_0x39cd71,'showApplyButton':!0x0,'showSuggestButton':_0x24e3d7[_0x1ad5c0(0x1ba)][_0x1ad5c0(0x1bb)](_0x1ad5c0(0x257)),'ranges':[_0x4ca1dd]}),this[_0x1ad5c0(0x24e)][_0x1ad5c0(0x1d2)](_0x5a6908,_0x24ae19),this[_0x1ad5c0(0x206)](_0x1d92b6,_0x1ad5c0(0x2a7),(_0x5b4fb9,{showDiff:_0x4ae9d9})=>{const _0xf55f0f=_0x1ad5c0;this[_0xf55f0f(0x25a)]=_0x4ae9d9;const {reply:_0x494b75}=this[_0xf55f0f(0x2b6)](_0x5a6908),_0xbddcf7=_0x494b75[_0xf55f0f(0x22a)]({'showDiff':_0x4ae9d9,'groupIndex':_0x24ae19});_0x1d92b6[_0xf55f0f(0x24c)]({'parts':_0xbddcf7,'renderingStrategy':_0xf55f0f(0x2bb)});}),this[_0x1ad5c0(0x206)](_0x46152a,_0x1ad5c0(0x19c),()=>{const _0xea5852=_0x1ad5c0;this[_0xea5852(0x181)]({'replyId':_0x5a6908,'partIndex':_0x24ae19}),_0x39cd71?this[_0xea5852(0x237)](_0x5a6908,_0x21aff0):_0x46152a[_0xea5852(0x28c)]();}),this[_0x1ad5c0(0x206)](_0x46152a,_0x1ad5c0(0x2ac),()=>{const _0x57bb39=_0x1ad5c0;this[_0x57bb39(0x23f)]({'replyId':_0x5a6908,'partIndex':_0x24ae19}),_0x39cd71?this[_0x57bb39(0x237)](_0x5a6908,_0x21aff0):_0x46152a[_0x57bb39(0x28c)]();}),_0x39cd71&&(this[_0x1ad5c0(0x206)](_0x46152a,_0x1ad5c0(0x1b9),()=>{const _0x357adb=_0x1ad5c0;this[_0x357adb(0x237)](_0x5a6908,_0x21aff0);}),this[_0x1ad5c0(0x206)](_0x46152a,_0x1ad5c0(0x188),()=>{const _0x1a24e5=_0x1ad5c0;this[_0x1a24e5(0x237)](_0x5a6908,_0x213030);})),this[_0x1ad5c0(0x206)](_0x46152a,_0x1ad5c0(0x1fe),()=>{const _0x5dff68=_0x1ad5c0;this[_0x5dff68(0x1cd)](_0x46152a),this[_0x5dff68(0x1cd)](_0x1d92b6),this[_0x5dff68(0x2e5)]=null;});}[_0x380a5b(0x1a6)](_0x3e5c1a,_0x2ee292){const _0x485b7a=_0x380a5b,_0x4ee51d=_0x260be3(this[_0x485b7a(0x248)]),{reply:_0xb39533,interaction:_0x44f1e2}=this[_0x485b7a(0x2b6)](_0x3e5c1a),_0x1b0da2=_0xb39533[_0x485b7a(0x2bd)][_0x485b7a(0x297)](_0x17e6e2=>_0x485b7a(0x249)==_0x17e6e2[_0x485b7a(0x182)]),_0x487081=_0x1b0da2[_0x485b7a(0x29f)](_0x28dbfe=>_0xb39533[_0x485b7a(0x2bd)][_0x485b7a(0x26d)](_0x28dbfe));void 0x0===_0x2ee292&&(_0x2ee292=_0x487081[0x0]);const _0x1000f4=_0x487081[_0x485b7a(0x26d)](_0x2ee292);if(-0x1==_0x1000f4)return null;const _0x4bd086=_0x1b0da2[_0x1000f4],_0x37ab71=new _0x554c05([]),_0xf6c0ca=new _0x554c05([]);for(const _0x2100a2 of _0x4bd086[_0x485b7a(0x28b)])if(_0x485b7a(0x2e1)!=_0x2100a2[_0x485b7a(0x279)]&&_0xf6c0ca[_0x485b7a(0x2cc)][_0x485b7a(0x298)](_0x2100a2[_0x485b7a(0x287)][_0x485b7a(0x1bf)](!0x0)),_0x485b7a(0x281)!=_0x2100a2[_0x485b7a(0x279)]){const _0x5df56d=_0x3ca4fe(_0x13c14b=>_0x2a6712(_0x13c14b,_0x485b7a(0x1a3))==_0x2100a2['id'],_0xb39533[_0x485b7a(0x197)],!0x0);_0x37ab71[_0x485b7a(0x2cc)][_0x485b7a(0x298)](_0x5df56d[_0x485b7a(0x1bf)](!0x0));}if(0x0==_0x37ab71[_0x485b7a(0x2cc)][_0x485b7a(0x28a)]){if(_0x4bd086[_0x485b7a(0x28b)][0x0][_0x485b7a(0x17f)]){const _0x2e82b4=_0x48bf17(_0x485b7a(0x1a3),_0x4bd086[_0x485b7a(0x28b)][0x0][_0x485b7a(0x17f)],_0xb39533[_0x485b7a(0x197)]);_0x37ab71[_0x485b7a(0x2cc)][_0x485b7a(0x2d3)](_0x2e82b4[_0x485b7a(0x1bf)](!0x0)),_0xf6c0ca[_0x485b7a(0x2cc)][_0x485b7a(0x2d3)](_0x2e82b4[_0x485b7a(0x1bf)](!0x0)),_0x2e82b4[_0x485b7a(0x230)]&&(_0x37ab71[_0x485b7a(0x2cc)][_0x485b7a(0x298)](_0x2e82b4[_0x485b7a(0x230)][_0x485b7a(0x1bf)](!0x0)),_0xf6c0ca[_0x485b7a(0x2cc)][_0x485b7a(0x298)](_0x2e82b4[_0x485b7a(0x230)][_0x485b7a(0x1bf)](!0x0)));}else{const _0x3e99cc=_0xb39533[_0x485b7a(0x197)][_0x485b7a(0x2cc)][0x0];if(!_0x3e99cc)return null;_0x37ab71[_0x485b7a(0x2cc)][_0x485b7a(0x298)](_0x3e99cc[_0x485b7a(0x1bf)](!0x0)),_0xf6c0ca[_0x485b7a(0x2cc)][_0x485b7a(0x298)](_0x3e99cc[_0x485b7a(0x1bf)](!0x0));}}const _0x54eeda=_0x44f1e2[_0x485b7a(0x23c)](),_0x19cc12=_0x4ee51d[_0x485b7a(0x1c1)][_0x485b7a(0x1d5)](_0x54eeda[_0x485b7a(0x2c7)],_0x485b7a(0x2d2)),_0x114398=_0x3acb67(_0x37ab71),_0x524754=_0x4ee51d[_0x485b7a(0x1c1)][_0x485b7a(0x1d5)](_0x114398),_0x1a0651=_0x4ee51d[_0x485b7a(0x1c1)][_0x485b7a(0x1d5)](_0x114398),_0x94382=_0x4ee51d[_0x485b7a(0x18a)][_0x485b7a(0x228)](_0x524754,0x0),_0x3d0b68=_0x3acb67(_0xf6c0ca),_0x4e9559={'anchor':_0x94382,'markDeletions':!0x1,'context':_0x485b7a(0x2d2)},_0x2d69b8=_0x4ee51d[_0x485b7a(0x1ba)][_0x485b7a(0x255)](_0x1fcfbc)[_0x485b7a(0x196)](_0x114398,_0x3d0b68,_0x4e9559)[_0x485b7a(0x284)]();if(!_0x2d69b8[_0x485b7a(0x28a)])return null;_0x4ee51d[_0x485b7a(0x18a)][_0x485b7a(0x1b6)](_0x3c3f06=>{const _0x286bd4=_0x485b7a;for(const _0x220271 of _0x2d69b8)if(_0x286bd4(0x278)==_0x220271[_0x286bd4(0x279)]){const _0xe9435a=_0x220271[_0x286bd4(0x1cb)],_0x2e21ba=_0x220271[_0x286bd4(0x1eb)],_0xc0270=new _0x4d8793(_0xe9435a,_0x2e21ba);_0x3c3f06[_0x286bd4(0x221)][_0x286bd4(0x234)](_0xc0270),_0x4ee51d[_0x286bd4(0x18a)][_0x286bd4(0x1ec)](_0xc0270);}else _0x286bd4(0x2a8)!==_0x220271[_0x286bd4(0x279)]&&(_0x220271[_0x286bd4(0x288)]=null,_0x220271[_0x286bd4(0x1a2)]=!0x1,_0x3c3f06[_0x286bd4(0x221)][_0x286bd4(0x234)](_0x220271),_0x4ee51d[_0x286bd4(0x18a)][_0x286bd4(0x1ec)](_0x220271));});const _0x1901a5=_0x4ab0b5(_0x4ee51d,_0x2d69b8,_0x524754);_0x42ac67(_0x4ee51d[_0x485b7a(0x18a)],_0x1901a5);const _0x5d1c1f=_0x1901a5[_0x485b7a(0x2a6)]()[_0x485b7a(0x21c)][_0x485b7a(0x2df)][_0x485b7a(0x285)](),_0x124619=_0x1901a5[_0x485b7a(0x2a6)]()[_0x485b7a(0x1a8)][_0x485b7a(0x2df)][_0x485b7a(0x285)](),_0x4366d0=[];let _0x3372f0=_0x524754,_0x5be970=_0x1a0651;for(let _0x37459b=0x0;_0x37459b<_0x124619[_0x485b7a(0x28a)];_0x37459b++){const _0xf23949=_0x3372f0[_0x485b7a(0x268)]-_0x124619[_0x37459b];_0x4366d0[_0x37459b]=_0x5be970[_0x485b7a(0x268)]-_0xf23949,_0x3372f0=_0x3372f0[_0x485b7a(0x1c3)](_0x124619[_0x37459b]),_0x5be970=_0x5be970[_0x485b7a(0x1c3)](_0x4366d0[_0x37459b]);}const _0xed5392=_0x4ee51d[_0x485b7a(0x18a)][_0x485b7a(0x2a9)](_0x4ee51d[_0x485b7a(0x18a)][_0x485b7a(0x1d6)](_0x1a0651,_0x5d1c1f),_0x4ee51d[_0x485b7a(0x18a)][_0x485b7a(0x1d6)](_0x1a0651,_0x4366d0)),_0xbb733f=_0x1a0651[_0x485b7a(0x2ad)](0x0)[_0x485b7a(0x299)](_0x54cb6e),_0x49e760=Array[_0x485b7a(0x1c7)](_0x19cc12[_0x485b7a(0x25f)]())[_0x485b7a(0x2b3)](_0x16cb60=>_0x16cb60[_0x485b7a(0x299)](_0x54cb6e)==_0xbb733f)[_0x485b7a(0x2ce)](),_0x468b9d=_0xed5392[_0x485b7a(0x21c)][_0x485b7a(0x2df)][_0x485b7a(0x285)](),_0x13f54e=_0xed5392[_0x485b7a(0x1a8)][_0x485b7a(0x2df)][_0x485b7a(0x285)]();_0x468b9d[0x0]=_0x49e760[0x0]+_0x468b9d[0x0],_0x13f54e[0x0]=_0x49e760[0x0]+_0x13f54e[0x0];let _0x5b0b49=_0x4ee51d[_0x485b7a(0x18a)][_0x485b7a(0x2a9)](_0x4ee51d[_0x485b7a(0x18a)][_0x485b7a(0x1d6)](_0x4ee51d[_0x485b7a(0x18a)][_0x485b7a(0x2e9)][_0x485b7a(0x1bc)](),_0x468b9d),_0x4ee51d[_0x485b7a(0x18a)][_0x485b7a(0x1d6)](_0x4ee51d[_0x485b7a(0x18a)][_0x485b7a(0x2e9)][_0x485b7a(0x1bc)](),_0x13f54e));const _0x5583f9=_0x4ee51d[_0x485b7a(0x18a)][_0x485b7a(0x2e9)][_0x485b7a(0x2a0)][_0x485b7a(0x284)](_0x54eeda[_0x485b7a(0x2a2)]);for(const _0x3d56f0 of _0x5583f9)_0x5b0b49=_0x30994b[_0x485b7a(0x1d3)](_0x5b0b49[_0x485b7a(0x2e8)](_0x3d56f0));return{'range':_0x5b0b49,'currentIndex':_0x2ee292};}[_0x380a5b(0x267)](_0x87e0c1){const _0x5d2670=_0x380a5b;if(!_0x87e0c1[_0x5d2670(0x1ba)][_0x5d2670(0x1bb)](_0x5d2670(0x2d5)))return;const _0x51ef1f=_0x87e0c1[_0x5d2670(0x1fb)][_0x5d2670(0x255)](_0x5d2670(0x1ee)),_0x532db5=_0x87e0c1[_0x5d2670(0x1fb)][_0x5d2670(0x255)](_0x5d2670(0x251));this[_0x5d2670(0x206)](_0x51ef1f,_0x5d2670(0x200),(_0x433fcf,_0x3eeb30,_0xfe39b2)=>{const _0xa271d2=_0x5d2670,_0x3178dc=this[_0xa271d2(0x20e)][_0xa271d2(0x255)](_0x3eeb30);if(!_0x3178dc)return;const _0x363cef=this[_0xa271d2(0x1ce)][_0xa271d2(0x1da)](_0x3178dc[_0xa271d2(0x20c)])[_0xa271d2(0x19e)](_0x3178dc[_0xa271d2(0x1f3)]);_0x3178dc[_0xa271d2(0x1ad)][_0xa271d2(0x2e4)](_0x579665=>_0x363cef[_0xa271d2(0x1a1)](_0x579665,_0xa271d2(0x249))),this[_0xa271d2(0x20e)][_0xa271d2(0x2ec)](_0x3eeb30),this[_0xa271d2(0x20e)][_0xa271d2(0x204)](_0xfe39b2,_0x3178dc);}),this[_0x5d2670(0x206)](_0x532db5,_0x5d2670(0x200),(_0x55cba4,_0x26a79c,_0x4285aa)=>{const _0x1dde81=_0x5d2670,_0xe08681=this[_0x1dde81(0x20e)][_0x1dde81(0x255)](_0x26a79c);if(!_0xe08681)return;const _0x373413=this[_0x1dde81(0x1ce)][_0x1dde81(0x1da)](_0xe08681[_0x1dde81(0x20c)])[_0x1dde81(0x19e)](_0xe08681[_0x1dde81(0x1f3)]);_0xe08681[_0x1dde81(0x1ad)][_0x1dde81(0x2e4)](_0x4f4402=>_0x373413[_0x1dde81(0x1a1)](_0x4f4402,_0x1dde81(0x184))),this[_0x1dde81(0x20e)][_0x1dde81(0x2ec)](_0x26a79c),this[_0x1dde81(0x20e)][_0x1dde81(0x204)](_0x4285aa,_0xe08681);});}async[_0x380a5b(0x29c)](_0x1d5b1e){const _0x50a81d=_0x380a5b;this[_0x50a81d(0x248)][_0x50a81d(0x1ba)][_0x50a81d(0x255)](_0x24b349)[_0x50a81d(0x28c)](),this[_0x50a81d(0x24e)][_0x50a81d(0x2ab)](_0x50a81d(0x2bb)),this[_0x50a81d(0x24e)][_0x50a81d(0x2e2)](!0x0),await this[_0x50a81d(0x2c6)]();try{await this[_0x50a81d(0x20b)][_0x50a81d(0x1be)](_0x1d5b1e)[_0x50a81d(0x269)](),await this[_0x50a81d(0x2ef)](_0x1d5b1e),this[_0x50a81d(0x1fd)]('\x20');const {sessionId:_0x967187}=this[_0x50a81d(0x29b)][_0x50a81d(0x1b2)]();await this[_0x50a81d(0x1ce)][_0x50a81d(0x2aa)](_0x1d5b1e,_0x967187),this[_0x50a81d(0x1ce)][_0x50a81d(0x18f)]()&&this[_0x50a81d(0x1ce)][_0x50a81d(0x294)](_0x3c35c3(this[_0x50a81d(0x248)][_0x50a81d(0x203)],_0x50a81d(0x247)));}catch(_0x35e162){this[_0x50a81d(0x24e)][_0x50a81d(0x22f)]({'errorMessage':_0x3c35c3(this[_0x50a81d(0x248)][_0x50a81d(0x203)],_0x50a81d(0x238)),'id':_0x1d5b1e}),this[_0x50a81d(0x210)](new _0xb8924f(_0x50a81d(0x1ed),this,{'error':_0x35e162}));}finally{this[_0x50a81d(0x248)][_0x50a81d(0x1ba)][_0x50a81d(0x255)](_0x29b001)[_0x50a81d(0x2b5)][_0x50a81d(0x2d0)](_0x50a81d(0x27c)),this[_0x50a81d(0x24e)][_0x50a81d(0x19b)](),this[_0x50a81d(0x24e)][_0x50a81d(0x2ab)](_0x50a81d(0x2b4)),this[_0x50a81d(0x24e)][_0x50a81d(0x2e2)](!0x1);}}[_0x380a5b(0x2d7)](_0x38d68a){const _0xafaca1=_0x380a5b;this[_0xafaca1(0x1ce)]['id']===_0x38d68a&&this[_0xafaca1(0x2ef)]();}async[_0x380a5b(0x2c2)](){const _0x69716d=_0x380a5b,_0x111fca=this[_0x69716d(0x29b)][_0x69716d(0x1c4)]();this[_0x69716d(0x1ce)]?.[_0x69716d(0x20f)](_0x111fca),this[_0x69716d(0x1ce)]?.[_0x69716d(0x294)](_0x3c35c3(this[_0x69716d(0x248)][_0x69716d(0x203)],_0x69716d(0x247)));}[_0x380a5b(0x205)](){const _0x32d70e=_0x380a5b;this[_0x32d70e(0x1ce)]?.[_0x32d70e(0x243)]();}[_0x380a5b(0x295)](){const _0x5cd3c2=_0x380a5b;this[_0x5cd3c2(0x24e)][_0x5cd3c2(0x295)]();}async[_0x380a5b(0x290)](){const _0x31dde5=_0x380a5b;await this[_0x31dde5(0x2ef)]();}async[_0x380a5b(0x1aa)]({message:_0x204e8f,quickActionData:_0x249aae}){const _0x32cc46=_0x380a5b;await this[_0x32cc46(0x23d)]({'userMessage':_0x204e8f,'quickActionData':_0x249aae});}[_0x380a5b(0x276)](){const _0x3695a6=_0x380a5b,_0x5e7825=this[_0x3695a6(0x248)][_0x3695a6(0x2bc)][_0x3695a6(0x255)](_0x3695a6(0x2b8));if(!_0x5e7825)throw new _0xb8924f(_0x3695a6(0x260),this);return _0x5e7825;}async[_0x380a5b(0x2ef)](_0x3cd0a1){const _0x10ea76=_0x380a5b;try{this[_0x10ea76(0x24e)][_0x10ea76(0x187)](),await this[_0x10ea76(0x21e)](_0x3cd0a1);}catch(_0x2acfa9){this[_0x10ea76(0x24e)][_0x10ea76(0x22f)]({'errorMessage':_0x3c35c3(this[_0x10ea76(0x248)][_0x10ea76(0x203)],_0x10ea76(0x180)),'id':_0x3cd0a1||_0x31c287()}),console[_0x10ea76(0x218)](_0x2acfa9),this[_0x10ea76(0x1ce)]=void 0x0,this[_0x10ea76(0x24e)][_0x10ea76(0x27e)]();}}async[_0x380a5b(0x21e)](_0x183999){const _0x4e7ada=_0x380a5b,_0x59e5d4=this[_0x4e7ada(0x248)][_0x4e7ada(0x1ba)][_0x4e7ada(0x255)](_0x24b349);let _0x3426e5;_0x59e5d4[_0x4e7ada(0x29d)]&&_0x59e5d4[_0x4e7ada(0x28c)](),_0x183999||!this[_0x4e7ada(0x1ce)]?_0x3426e5=this[_0x4e7ada(0x248)][_0x4e7ada(0x2bc)][_0x4e7ada(0x255)](_0x4e7ada(0x1d8)):this[_0x4e7ada(0x24e)][_0x4e7ada(0x2ee)]&&(_0x3426e5=this[_0x4e7ada(0x1ce)][_0x4e7ada(0x1e9)]['id']),await this[_0x4e7ada(0x2c6)]();const _0x23447a=this[_0x4e7ada(0x276)](),_0x39d277=_0x183999||_0x31c287();this[_0x4e7ada(0x1ce)]=new _0x49fb89({'connector':this[_0x4e7ada(0x20b)],'chatModels':this[_0x4e7ada(0x2cd)],'selectedModelId':_0x3426e5,'conversationId':_0x39d277,'group':_0x23447a,'getEditor':()=>_0x260be3(this[_0x4e7ada(0x248)])}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x26f),(_0x3581ca,_0x13cf41)=>{const _0x689cb8=_0x4e7ada;this[_0x689cb8(0x24e)][_0x689cb8(0x2ba)](_0x13cf41),this[_0x689cb8(0x24e)][_0x689cb8(0x1d4)](),this[_0x689cb8(0x24e)][_0x689cb8(0x22e)](),this[_0x689cb8(0x24e)][_0x689cb8(0x1ea)](),_0x183999||(this[_0x689cb8(0x24e)][_0x689cb8(0x20d)](),this[_0x689cb8(0x1ce)]?.[_0x689cb8(0x294)](_0x3c35c3(this[_0x689cb8(0x248)][_0x689cb8(0x203)],_0x689cb8(0x247))));}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x233),(_0x4b9247,_0x31b51d)=>{const _0x19f082=_0x4e7ada;this[_0x19f082(0x24e)][_0x19f082(0x23b)](_0x31b51d[_0x19f082(0x183)]);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x213),(_0x115b2d,_0x1c4fbb)=>{const _0x444895=_0x4e7ada;this[_0x444895(0x24e)][_0x444895(0x1df)](_0x1c4fbb);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x1dc),()=>{const _0x4a6b98=_0x4e7ada;this[_0x4a6b98(0x24e)][_0x4a6b98(0x21b)]({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x1e0),()=>{const _0x19fb35=_0x4e7ada;this[_0x19fb35(0x24e)][_0x19fb35(0x21b)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x26b),(_0x3720df,_0x15b69c)=>{const _0x11d7f3=_0x4e7ada;this[_0x11d7f3(0x24e)][_0x11d7f3(0x291)](_0x15b69c,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x214),(_0x1d8abc,_0x5d3857)=>{const _0x126440=_0x4e7ada;this[_0x126440(0x24e)][_0x126440(0x291)](_0x5d3857,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x222),()=>{const _0x292e7a=_0x4e7ada;this[_0x292e7a(0x24e)][_0x292e7a(0x2de)]();}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x22d),async()=>{const _0x5ca0e6=_0x4e7ada;await this[_0x5ca0e6(0x24e)][_0x5ca0e6(0x266)]();}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x2c5),(_0x3a3873,_0x40e640)=>{const _0xd83900=_0x4e7ada;this[_0xd83900(0x24e)][_0xd83900(0x1e3)](_0x40e640['id']);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x26a),(_0xfe3ee1,_0x20cc47,_0x401214)=>{const _0x4fa541=_0x4e7ada;this[_0x4fa541(0x1fd)](_0x20cc47,_0x401214);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x229),(_0x325ff0,_0x51910d)=>{const _0x2433a8=_0x4e7ada;_0x2433a8(0x275)===_0x51910d[_0x2433a8(0x279)]?this[_0x2433a8(0x24e)][_0x2433a8(0x1e4)](_0x51910d):this[_0x2433a8(0x24e)][_0x2433a8(0x29a)](_0x51910d);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x256),async(_0x1e831d,_0x3b020c)=>{const _0x13f2d2=_0x4e7ada;await this[_0x13f2d2(0x1f1)]({'reply':_0x3b020c});}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x1b7),(_0x2ce86d,{reply:_0x4596f8,index:_0x135c33,state:_0x23e30d})=>{const _0x1d5fcb=_0x4e7ada;this[_0x1d5fcb(0x24e)][_0x1d5fcb(0x2a3)]({'id':_0x4596f8['id'],'index':_0x135c33,'state':_0x23e30d});}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x220),(_0x5ed33f,_0x30e8c9)=>{const _0x2d43bb=_0x4e7ada;if(this[_0x2d43bb(0x24e)][_0x2d43bb(0x1e1)](_0x30e8c9[_0x2d43bb(0x2a5)],_0x30e8c9[_0x2d43bb(0x2dd)]),_0x2d43bb(0x261)===_0x30e8c9[_0x2d43bb(0x2a5)][_0x2d43bb(0x279)]){const _0x8c0de3=[..._0x260be3(this[_0x2d43bb(0x248)])[_0x2d43bb(0x18a)][_0x2d43bb(0x2e9)][_0x2d43bb(0x261)][_0x2d43bb(0x1f0)]()];this[_0x2d43bb(0x29b)][_0x2d43bb(0x217)](_0x8c0de3,_0x2d43bb(0x1d9)+this[_0x2d43bb(0x1ce)]?.['id']);}}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x265),(_0x416488,_0x25a038)=>{const _0x4ff678=_0x4e7ada;this[_0x4ff678(0x24e)][_0x4ff678(0x2c9)](_0x25a038[_0x4ff678(0x1c8)]),_0x4ff678(0x277)==_0x25a038[_0x4ff678(0x1c8)]&&this[_0x4ff678(0x205)](),_0x4ff678(0x261)===_0x25a038[_0x4ff678(0x279)]&&this[_0x4ff678(0x29b)][_0x4ff678(0x191)](_0x4ff678(0x1d9)+this[_0x4ff678(0x1ce)]?.['id']);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x25c),(_0x522c44,_0x11451b)=>{const _0x4626db=_0x4e7ada;this[_0x4626db(0x24e)][_0x4626db(0x19a)](_0x11451b[_0x4626db(0x2a5)][_0x4626db(0x1c8)],_0x11451b[_0x4626db(0x2dd)]);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x1db),(_0x222f6e,_0x3ccea4)=>{const _0x3d51c1=_0x4e7ada;this[_0x3d51c1(0x24e)][_0x3d51c1(0x1de)](_0x3ccea4[_0x3d51c1(0x2ea)]);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x227),(_0x48708a,_0x2f9a4d)=>{const _0x561edc=_0x4e7ada;this[_0x561edc(0x24e)][_0x561edc(0x2db)](_0x2f9a4d[_0x561edc(0x1f6)]);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x2ca),(_0xbd0981,_0x76b496)=>{const _0x5d4440=_0x4e7ada;this[_0x5d4440(0x24e)][_0x5d4440(0x2be)](_0x76b496[_0x5d4440(0x193)],_0x76b496[_0x5d4440(0x185)],_0x76b496[_0x5d4440(0x18c)],_0x76b496[_0x5d4440(0x1f5)]);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x283),(_0x420d47,_0x389e06)=>{const _0x3cd2bc=_0x4e7ada;this[_0x3cd2bc(0x24e)][_0x3cd2bc(0x1b8)](_0x389e06[_0x3cd2bc(0x193)],_0x389e06[_0x3cd2bc(0x1d0)],_0x389e06[_0x3cd2bc(0x1a4)]);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x2b7),(_0x1fd3c9,_0x580de5)=>{const _0x47d1db=_0x4e7ada;this[_0x47d1db(0x24e)][_0x47d1db(0x1dd)](_0x580de5);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x2c0),(_0x50b41a,_0x58936d)=>{const _0x2d1814=_0x4e7ada;this[_0x2d1814(0x24e)][_0x2d1814(0x2eb)](_0x58936d[_0x2d1814(0x1e9)],_0x58936d[_0x2d1814(0x1af)]);}),this[_0x4e7ada(0x1ce)]['on'](_0x4e7ada(0x218),(_0x30c541,{error:_0x56d85e,interactionId:_0x53735f,fileName:_0x36c02d,url:_0x4df199,sourceId:_0x4dec1e,sourceLabel:_0x288a2d})=>{const _0x3e0480=_0x4e7ada,_0x266aba=_0x53735f?_0x53735f+':'+_0x31c287():_0x31c287();_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x215))?this[_0x3e0480(0x24e)][_0x3e0480(0x2d1)]({'staticMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x235)),'id':_0x266aba}):_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x274))||_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x246))?(this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x180)),'id':_0x266aba}),this[_0x3e0480(0x210)](_0x56d85e)):_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x1f2))?this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x1ef),_0x36c02d),'id':_0x266aba}):_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x2da))?this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x1d7),_0x4df199),'id':_0x266aba}):_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x223))?this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x232)),'id':_0x266aba}):_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x2d4))?this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x211)),'id':_0x266aba}):_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x208))?(_0x4dec1e&&this[_0x3e0480(0x24e)][_0x3e0480(0x25e)](_0x4dec1e),this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x2e3),_0x288a2d||_0x3e0480(0x185)),'id':_0x266aba}),this[_0x3e0480(0x210)](_0x56d85e)):_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x198))?(this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x1f7)),'id':_0x266aba}),this[_0x3e0480(0x210)](_0x56d85e)):_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x252))?(this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x259)),'id':_0x266aba}),this[_0x3e0480(0x210)](_0x56d85e)):_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x258))?(this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x24a)),'id':_0x266aba}),this[_0x3e0480(0x210)](_0x56d85e)):_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x27a))?(this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x1a5)),'id':_0x266aba}),this[_0x3e0480(0x210)](_0x56d85e)):_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x202))?(this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x2b1)),'id':_0x266aba}),this[_0x3e0480(0x210)](_0x56d85e)):_0x56d85e[_0x3e0480(0x21d)][_0x3e0480(0x1b4)](_0x3e0480(0x1cf))?(this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x239)),'id':_0x266aba}),this[_0x3e0480(0x210)](_0x56d85e)):(this[_0x3e0480(0x24e)][_0x3e0480(0x22f)]({'errorMessage':_0x3c35c3(this[_0x3e0480(0x248)][_0x3e0480(0x203)],_0x3e0480(0x2d8)),'id':_0x266aba}),this[_0x3e0480(0x210)](_0x56d85e));}),await this[_0x4e7ada(0x1ce)][_0x4e7ada(0x190)](this[_0x4e7ada(0x248)][_0x4e7ada(0x2bc)][_0x4e7ada(0x255)](_0x4e7ada(0x225))),_0x183999||await this[_0x4e7ada(0x1ce)][_0x4e7ada(0x21c)]();}async[_0x380a5b(0x23d)]({userMessage:_0x5d417f,quickActionData:_0x35a227}){const _0x4fa060=_0x380a5b;if(!this[_0x4fa060(0x1ce)])throw new _0xb8924f(_0x4fa060(0x2c8));this[_0x4fa060(0x1ce)][_0x4fa060(0x1a0)]()&&await this[_0x4fa060(0x1ce)][_0x4fa060(0x28f)](this[_0x4fa060(0x29b)][_0x4fa060(0x1b2)]()),this[_0x4fa060(0x1ce)]['id']&&this[_0x4fa060(0x1ce)][_0x4fa060(0x1ae)]&&await this[_0x4fa060(0x1ce)][_0x4fa060(0x2e7)]({'userMessage':_0x5d417f,'quickActionData':_0x35a227}),this[_0x4fa060(0x2b0)]();}[_0x380a5b(0x2b0)](){const _0x3b89ce=_0x380a5b,_0x3a2d65=_0x260be3(this[_0x3b89ce(0x248)])[_0x3b89ce(0x18a)],_0x282232=Array[_0x3b89ce(0x1c7)](_0x3a2d65[_0x3b89ce(0x1b0)][_0x3b89ce(0x2bf)](_0x5a2f18));_0x3a2d65[_0x3b89ce(0x1b6)](_0x4e2ed5=>{const _0x3ad550=_0x3b89ce;_0x282232[_0x3ad550(0x2e4)](_0xb67edc=>_0x4e2ed5[_0x3ad550(0x199)](_0xb67edc));});}[_0x380a5b(0x1e2)](){const _0x2cbce8=_0x380a5b;console[_0x2cbce8(0x253)](_0x2cbce8(0x242));}[_0x380a5b(0x25d)](_0x5eb1c3){const _0x28003b=_0x380a5b;this[_0x28003b(0x24e)][_0x28003b(0x194)](_0x5eb1c3);}[_0x380a5b(0x210)](_0x4d5fd4){const _0x6decf0=_0x380a5b;_0x1eb88a(_0x4d5fd4[_0x6decf0(0x21d)]);}[_0x380a5b(0x1bd)](_0xac5e77){const _0x576745=_0x380a5b;this[_0x576745(0x1ce)]?.[_0x576745(0x1fc)](_0xac5e77);}[_0x380a5b(0x1ac)](){const _0x185a4d=_0x380a5b;this[_0x185a4d(0x1ce)]?.[_0x185a4d(0x24f)]();}[_0x380a5b(0x27b)](){const _0x352c47=_0x380a5b;this[_0x352c47(0x1ce)]?.[_0x352c47(0x2b9)]();}[_0x380a5b(0x2b6)](_0x1d1ed8){const _0x3cb641=_0x380a5b,[_0x26db5b,_0x304667]=_0x1d1ed8[_0x3cb641(0x27f)](':'),_0x3a9fbd=this[_0x3cb641(0x1ce)][_0x3cb641(0x1da)](_0x26db5b),_0x9e9e9=_0x3a9fbd[_0x3cb641(0x19e)](_0x304667);return{'interaction':_0x3a9fbd,'reply':_0x9e9e9};}[_0x380a5b(0x226)](_0xb5fac8,_0x1d2e6c=!0x1){const _0x3170ed=_0x380a5b,_0x4aac99=_0x260be3(this[_0x3170ed(0x248)]),_0x44fd11={'target':_0x4aac99[_0x3170ed(0x21a)][_0x3170ed(0x2b5)][_0x3170ed(0x250)][_0x3170ed(0x2e0)](_0x4aac99[_0x3170ed(0x21a)][_0x3170ed(0x1f4)][_0x3170ed(0x195)](_0xb5fac8)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x1d2e6c};_0x1d2e6c&&(_0x44fd11[_0x3170ed(0x219)]=!0x0),_0x59bc32(_0x44fd11);}[_0x380a5b(0x1fd)](_0xb82e9a,_0x1dc49a=!0x1){const _0x4b649e=_0x380a5b;this[_0x4b649e(0x24e)][_0x4b649e(0x26a)](_0xb82e9a||_0x3c35c3(this[_0x4b649e(0x248)][_0x4b649e(0x203)],_0x4b649e(0x293)),_0x1dc49a);}async[_0x380a5b(0x1f1)]({reply:_0x241e82,renderingStrategy:_0x5d0306}){const _0x3c5ebe=_0x380a5b,{id:_0x4040bd,isDone:_0x3b5061,type:_0x264d16,parsedContent:_0xb67df8}=_0x241e82;if(_0x3c5ebe(0x27d)===_0x264d16){const _0x5647ec=_0x241e82[_0x3c5ebe(0x22a)]({'showDiff':this[_0x3c5ebe(0x24e)][_0x3c5ebe(0x1ca)]});await this[_0x3c5ebe(0x24e)][_0x3c5ebe(0x26e)]({'id':_0x4040bd,'parts':_0x5647ec,'renderingStrategy':_0x5d0306,'isDone':_0x3b5061});}else _0x3c5ebe(0x275)===_0x264d16&&await this[_0x3c5ebe(0x24e)][_0x3c5ebe(0x272)]({'id':_0x4040bd,'parsedContent':_0xb67df8,'renderingStrategy':_0x5d0306,'isDone':_0x3b5061});_0x3b5061&&_0x241e82[_0x3c5ebe(0x212)][_0x3c5ebe(0x28a)]>0x0&&this[_0x3c5ebe(0x24e)][_0x3c5ebe(0x19d)](_0x4040bd,_0x241e82[_0x3c5ebe(0x212)]);}async[_0x380a5b(0x2c6)](){const _0x16a980=_0x380a5b,_0x4c3df9=this[_0x16a980(0x1ce)]?.[_0x16a980(0x1c2)];_0x4c3df9&&(_0x4c3df9[_0x16a980(0x18e)](),this[_0x16a980(0x24e)][_0x16a980(0x29e)](_0x4c3df9));}async[_0x380a5b(0x24b)](){const _0x56e4f9=_0x380a5b,_0x3bed24=this[_0x56e4f9(0x1ce)]?.[_0x56e4f9(0x1c2)];if(_0x3bed24){for await(const _0x14b857 of _0x3bed24[_0x56e4f9(0x1a9)])await this[_0x56e4f9(0x1f1)]({'reply':_0x14b857,'renderingStrategy':_0x56e4f9(0x2bb)});}}[_0x380a5b(0x280)](_0x8a3758){const _0x248d20=_0x380a5b,_0x155607={'positiveCount':_0x8a3758[_0x248d20(0x2bd)][_0x248d20(0x297)](_0x1ed89b=>_0x248d20(0x184)===_0x1ed89b[_0x248d20(0x182)])[_0x248d20(0x28a)],'totalCount':_0x8a3758[_0x248d20(0x2bd)][_0x248d20(0x28a)],'modificationId':_0x8a3758['id']},_0x3d7939=this[_0x248d20(0x1ce)][_0x248d20(0x1da)](_0x8a3758[_0x248d20(0x20c)])[_0x248d20(0x240)];this[_0x248d20(0x20b)][_0x248d20(0x2ae)](this[_0x248d20(0x1ce)]['id'],_0x3d7939,_0x155607);}}
|
|
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);}}
|
package/src/aichat/aichatui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x24ff1c=_0xb60d;function _0x3680(){const _0x53ea09=['removeItem','plugins','toggleSuggestionDisplayMode','contextItems','createConversation','clear','3197922tysUZQ','_interactionPromiseResolver','TrackChanges','streaming','423067BaFIpA','AIChatUI','renderingStrategy','clearConversationContextUI','showDiff','addFeedItemUserMessage','updateSuggestionPartState','updateFeedItemAIReplySources','addContextItem','requires','options','enableControls','get','ai.availableReplyActions','abort','length','has','last','disableControls','setLoadingMessage','_promiseQueue','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','8wepRIR','setModelList','removeFeedInteraction','stopInteraction','addItem','filter','pluginName','isDone','addFeedItemAISuggestion','quickActionData','remove','focusPromptInput','ai-suggestion-reply','interaction-header','updateCapabilities','isVisible','value','addTab','setIsMaximized','capabilities','setConversationContext','isOfficialPlugin','startInteraction','updateFeedInteractionHeader','availableModels','setModel','isPending','set','_getInputPlaceholder','locale','userMessage','setFeedItemRenderingStrategy','674451CeLLxR','_getLoadingMessage','clearPendingContextUI','label','AI_CHAT_HEADING','context','isWebSearchEnabled','trackChanges','scrollToSuggestion','values','enableModelSelector','startAutoScroll','_isTrackChangesCommandValueBound','markFeedItemAsDone','setContextItemLoading','resetMessageInput','disableModelSelector','showResizeButton','displayedPrompt','config','chatHeader','setSelectedModel','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','addFeedItemAIReply','stopAutoScroll','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','feedItemRenderingStrategy','delegate','updateReplyItem','50reHPvg','setConversationTitle','closeSourceResourceBalloon','isModelAvailable','setInputPlaceholder','updateWebSources','updateFeedItemAIReplyContent','setWebSearch','isLoading','AI_CHAT_FEED_LOADING_MESSAGE_REASONING','_view','updateFeedItemAIReplySuggestionPartState','enqueue','isMaximized','then','ai.chat.context.searchInputVisibleFrom','removeContextItem','<p>','addFeedItemStaticMessage','isReasoningEnabled','AI_CHAT_WELCOME_MESSAGE','chatFeed','interactionId','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','_animateConversationTitle','resetConversationTitle','commands','AITabs','ai.chat.models.modelSelectorAlwaysVisible','populateSourceResourceBalloon','setReasoning','getItemIds','updateFeedItemAIReplySuggestionContent','from','chatControls','user-message','addFeedInteractionHeader','finishInteraction','toggleLoadingSkeleton','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','markItemAsDone','6vrXwNx','children','AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','setIsUploadInProgress','1612416mAqtYZ','view','bind','chat','isBusy','setAddContextOptions','areActionsDisabled','addFeedItemError','updateResourceState','updateSuggestionItem','conversation-start','1179130IcReyy','isTrackChangesOn','destroy','forEach','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','find','</p>','isDisabled','error-message','_titleAnimationInterval','queueEmptyPromise','2098816iaYnDD','insertSuggestion','scrollFeedToSuggestion','2690862VQFARn','isPremiumPlugin','startsWith','ai-reply'];_0x3680=function(){return _0x53ea09;};return _0x3680();}function _0xb60d(_0x33f073,_0x31abea){const _0x368018=_0x3680();return _0xb60d=function(_0xb60d76,_0xf0a1a5){_0xb60d76=_0xb60d76-0xc2;let _0x115a8b=_0x368018[_0xb60d76];return _0x115a8b;},_0xb60d(_0x33f073,_0x31abea);}(function(_0x1c60f3,_0x3f77d2){const _0x39b7e1=_0xb60d,_0x17866d=_0x1c60f3();while(!![]){try{const _0x2e8e85=-parseInt(_0x39b7e1(0x14d))/0x1+parseInt(_0x39b7e1(0x126))/0x2+parseInt(_0x39b7e1(0x13f))/0x3+parseInt(_0x39b7e1(0x163))/0x4*(-parseInt(_0x39b7e1(0x131))/0x5)+parseInt(_0x39b7e1(0x122))/0x6*(-parseInt(_0x39b7e1(0x149))/0x7)+-parseInt(_0x39b7e1(0x13c))/0x8+parseInt(_0x39b7e1(0xdc))/0x9*(parseInt(_0x39b7e1(0xf9))/0xa);if(_0x2e8e85===_0x3f77d2)break;else _0x17866d['push'](_0x17866d['shift']());}catch(_0x12152d){_0x17866d['push'](_0x17866d['shift']());}}}(_0x3680,0x71444));import{ContextPlugin as _0x15a0e6}from'ckeditor5/src/core.js';import{_isMotionReduced as _0x33ed22}from'ckeditor5/src/utils.js';import{AIChatView as _0x4ebbf3}from'./ui/aichatview.js';import{AITabs as _0x308e0a}from'../aitabs/aitabs.js';import{getTranslation as _0x434553}from'../aicore/utils/common-translations.js';import{IconAIChat as _0x4115a4}from'ckeditor5/src/icons.js';import{AIChatFeedInteractionHeaderView as _0x557a84}from'./ui/feed/aichatfeedinteractionheaderview.js';import{PromiseQueue as _0x2bd74b}from'./utils/promisequeue.js';import{AI_CHAT_UI_EVENT_NAMES as _0x4aab44}from'./utils/eventnames.js';import'../../theme/aichat/aichat.css';import{getEditorFromContext as _0x5c2e4a}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x37a15a}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIChatUI extends _0x15a0e6{static get[_0x24ff1c(0x156)](){return[_0x308e0a];}[_0x24ff1c(0x103)];static get[_0x24ff1c(0xc2)](){const _0xd7aeaf=_0x24ff1c;return _0xd7aeaf(0x14e);}static get[_0x24ff1c(0xd1)](){return!0x0;}static get[_0x24ff1c(0x140)](){return!0x0;}[_0x24ff1c(0xf6)]=_0x24ff1c(0x14c);[_0x24ff1c(0x151)]=!0x0;[_0x24ff1c(0x161)];[_0x24ff1c(0x14a)];[_0x24ff1c(0x13a)]=void 0x0;[_0x24ff1c(0xe8)]=!0x1;constructor(_0x1ebfd5){const _0x18934c=_0x24ff1c;super(_0x1ebfd5);const _0x362792=this[_0x18934c(0xe1)][_0x18934c(0x144)][_0x18934c(0x159)](_0x18934c(0x114));this[_0x18934c(0xd7)](_0x18934c(0x12a),!0x1),this[_0x18934c(0x161)]=new _0x2bd74b(),this[_0x18934c(0x103)]=new _0x4ebbf3(this[_0x18934c(0xe1)][_0x18934c(0xd9)],{'showResizeButton':_0x362792[_0x18934c(0xed)],'contextResourcesSearchInputVisibleFrom':this[_0x18934c(0xe1)][_0x18934c(0xef)][_0x18934c(0x159)](_0x18934c(0x108))}),this[_0x18934c(0x103)][_0x18934c(0xf7)](..._0x4aab44)['to'](this),this[_0x18934c(0x103)]['on'](_0x18934c(0x145),(_0x743aba,{showDiff:_0x4dba20})=>{const _0x589b9d=_0x18934c;this[_0x589b9d(0x151)]=_0x4dba20;}),_0x362792[_0x18934c(0x127)][_0x18934c(0xcd)]({'id':_0x18934c(0x129),'buttonLabel':_0x434553(this[_0x18934c(0xe1)][_0x18934c(0xd9)],_0x18934c(0xe0)),'buttonIcon':_0x4115a4,'order':0x0,'content':this[_0x18934c(0x103)]}),this[_0x18934c(0x103)][_0x18934c(0x11b)][_0x18934c(0x128)](_0x18934c(0x101))['to'](this,_0x18934c(0x12a),_0x31b68f=>_0x31b68f),this[_0x18934c(0x103)][_0x18934c(0x10e)][_0x18934c(0x128)](_0x18934c(0xd6))['to'](this,_0x18934c(0x12a),_0x3dab1a=>_0x3dab1a),this[_0x18934c(0x103)][_0x18934c(0x11b)][_0x18934c(0xfd)](this[_0x18934c(0xd8)]()),this[_0x18934c(0x128)](_0x18934c(0xfc))['to'](this[_0x18934c(0x103)][_0x18934c(0x11b)],_0x18934c(0xfc));}[_0x24ff1c(0x133)](){const _0x3b0ec2=_0x24ff1c;super[_0x3b0ec2(0x133)](),this[_0x3b0ec2(0x13a)]&&clearInterval(this[_0x3b0ec2(0x13a)]);}[_0x24ff1c(0x147)](_0x3a6ed6){const _0x169573=_0x24ff1c;this[_0x169573(0x103)][_0x169573(0x10e)][_0x169573(0x148)](),this[_0x169573(0x103)][_0x169573(0x11b)][_0x169573(0xe6)](),this[_0x169573(0x103)][_0x169573(0x11b)][_0x169573(0x164)](_0x3a6ed6[_0x169573(0xd4)],!this[_0x169573(0xe1)][_0x169573(0xef)][_0x169573(0x159)](_0x169573(0x115))),this[_0x169573(0x10b)]({'id':_0x169573(0x130),'staticMessage':_0x434553(this[_0x169573(0xe1)][_0x169573(0xd9)],_0x169573(0x10d))});}[_0x24ff1c(0x10b)]({id:_0x5f3ba4,staticMessage:_0x42d5b0}){const _0x2ed933=_0x24ff1c;this[_0x2ed933(0x103)][_0x2ed933(0x10e)][_0x2ed933(0x167)](_0x2ed933(0x142),{'id':_0x5f3ba4,'initialContent':_0x2ed933(0x10a)+_0x42d5b0+_0x2ed933(0x137)});}[_0x24ff1c(0x152)](_0x481eb3){const _0x345cf6=_0x24ff1c,_0x24c2b0=_0x481eb3[_0x345cf6(0xc5)]?.[_0x345cf6(0xee)]||_0x481eb3[_0x345cf6(0xda)];this[_0x345cf6(0x103)][_0x345cf6(0x10e)][_0x345cf6(0x167)](_0x345cf6(0x11c),{'contextItems':Array[_0x345cf6(0x11a)](_0x481eb3[_0x345cf6(0x146)][_0x345cf6(0xe5)]()),'initialContent':_0x345cf6(0x10a)+_0x24c2b0+_0x345cf6(0x137),'id':_0x481eb3['id']});}[_0x24ff1c(0x12d)]({errorMessage:_0x45848f,id:_0x222d3d}){const _0x3728cc=_0x24ff1c;this[_0x3728cc(0x103)][_0x3728cc(0x10e)][_0x3728cc(0x167)](_0x3728cc(0x139),{'initialContent':_0x3728cc(0x10a)+_0x45848f+_0x3728cc(0x137),'id':_0x222d3d});}[_0x24ff1c(0xf3)](_0x3a7f97){const _0x75609d=_0x24ff1c;return this[_0x75609d(0x161)][_0x75609d(0x105)](async()=>{const _0x4f2370=_0x75609d;this[_0x4f2370(0x103)][_0x4f2370(0x10e)][_0x4f2370(0x167)](_0x4f2370(0x142),{'id':_0x3a7f97[_0x4f2370(0x10f)]+':'+_0x3a7f97['id']}),this[_0x4f2370(0x160)](null);});}async[_0x24ff1c(0xc4)](_0x591202){const _0x1ca7fb=_0x24ff1c,_0x1a0708=_0x5c2e4a(this[_0x1ca7fb(0xe1)]);let _0x4de701=_0x1a0708[_0x1ca7fb(0xef)][_0x1ca7fb(0x159)](_0x1ca7fb(0x15a))||[..._0x37a15a];if(_0x1a0708[_0x1ca7fb(0x144)][_0x1ca7fb(0x15d)](_0x1ca7fb(0x14b))){if(!this[_0x1ca7fb(0xe8)]){this[_0x1ca7fb(0xe8)]=!0x0;const _0x439395=_0x1a0708[_0x1ca7fb(0x113)][_0x1ca7fb(0x159)](_0x1ca7fb(0xe3));this[_0x1ca7fb(0x103)][_0x1ca7fb(0x10e)][_0x1ca7fb(0x128)](_0x1ca7fb(0x132))['to'](_0x439395,_0x1ca7fb(0xcc));}}else _0x4de701=_0x4de701[_0x1ca7fb(0x168)](_0x2b8919=>_0x1ca7fb(0x13d)!=_0x2b8919);return this[_0x1ca7fb(0x161)][_0x1ca7fb(0x105)](async()=>{const _0x56e499=_0x1ca7fb;this[_0x56e499(0x103)][_0x56e499(0x10e)][_0x56e499(0x167)](_0x56e499(0xc8),{'id':_0x591202[_0x56e499(0x10f)]+':'+_0x591202['id'],'areActionsDisabled':_0x591202[_0x56e499(0x12c)],'showDiff':this[_0x56e499(0x151)],'availableActions':_0x4de701}),this[_0x56e499(0x160)](null);});}[_0x24ff1c(0x11d)](_0x3d8ebd,_0x1252f7){const _0x370b42=_0x24ff1c,_0x25a83f=this[_0x370b42(0x103)][_0x370b42(0x10e)][_0x370b42(0x123)][_0x370b42(0x15e)];if(_0x25a83f instanceof _0x557a84)return this[_0x370b42(0x103)][_0x370b42(0x10e)][_0x370b42(0x123)][_0x370b42(0xc6)](_0x25a83f),void this[_0x370b42(0x103)][_0x370b42(0x10e)][_0x370b42(0x167)](_0x370b42(0xc9),{'id':_0x3d8ebd['id'],'capabilities':{'isWebSearchEnabled':_0x25a83f[_0x370b42(0xcf)][_0x370b42(0xe2)]||_0x1252f7[_0x370b42(0xe2)],'isReasoningEnabled':_0x25a83f[_0x370b42(0xcf)][_0x370b42(0x10c)]||_0x1252f7[_0x370b42(0x10c)]}});this[_0x370b42(0x103)][_0x370b42(0x10e)][_0x370b42(0x167)](_0x370b42(0xc9),{'id':_0x3d8ebd['id'],'capabilities':_0x1252f7});}[_0x24ff1c(0xd3)](_0x22262c){const _0x5671df=_0x24ff1c,_0x22c404=this[_0x5671df(0x103)][_0x5671df(0x10e)][_0x5671df(0x123)][_0x5671df(0x136)](_0x44a4eb=>_0x44a4eb[_0x5671df(0x157)]['id']==_0x22262c['id']&&_0x44a4eb instanceof _0x557a84);_0x22c404&&_0x22c404[_0x5671df(0xd7)](_0x5671df(0xcb),_0x22262c[_0x5671df(0xcb)]);}async[_0x24ff1c(0xff)](_0x34022e){const _0x413d75=_0x24ff1c,_0x5008e2=_0x34022e[_0x413d75(0x14f)]||this[_0x413d75(0xf6)];return this[_0x413d75(0x161)][_0x413d75(0x105)](async _0xc6a22b=>{const _0x542428=_0x413d75;await this[_0x542428(0x103)][_0x542428(0x10e)][_0x542428(0xf8)]({..._0x34022e,'abortSignal':_0xc6a22b,'renderingStrategy':_0x5008e2}),_0x34022e[_0x542428(0xc3)]&&this[_0x542428(0xe9)](_0x34022e['id']);});}[_0x24ff1c(0x154)](_0x38a473,_0x2a2ab8){const _0x4bcbfa=_0x24ff1c;this[_0x4bcbfa(0x103)][_0x4bcbfa(0x10e)][_0x4bcbfa(0xfe)](_0x38a473,_0x2a2ab8);}async[_0x24ff1c(0x119)](_0x18d56e){const _0x73f52d=_0x24ff1c,_0x41ea26=_0x18d56e[_0x73f52d(0x14f)]||this[_0x73f52d(0xf6)];return this[_0x73f52d(0x161)][_0x73f52d(0x105)](async _0x3c0b4f=>{const _0x4889ee=_0x73f52d;await this[_0x4889ee(0x103)][_0x4889ee(0x10e)][_0x4889ee(0x12f)]({..._0x18d56e,'abortSignal':_0x3c0b4f,'renderingStrategy':_0x41ea26}),_0x18d56e[_0x4889ee(0xc3)]&&this[_0x4889ee(0xe9)](_0x18d56e['id']);});}[_0x24ff1c(0x104)](_0x4c6ab1){const _0x20c1ba=_0x24ff1c;this[_0x20c1ba(0x103)][_0x20c1ba(0x10e)][_0x20c1ba(0x153)](_0x4c6ab1);}[_0x24ff1c(0xe9)](_0x4e3d90){const _0x52d667=_0x24ff1c;this[_0x52d667(0x103)][_0x52d667(0x10e)][_0x52d667(0x121)](_0x4e3d90);}[_0x24ff1c(0x165)](_0x334db0){const _0xb9dd38=_0x24ff1c;this[_0xb9dd38(0x103)][_0xb9dd38(0x10e)][_0xb9dd38(0x118)]()[_0xb9dd38(0x168)](_0x1cd066=>_0x1cd066[_0xb9dd38(0x141)](_0x334db0))[_0xb9dd38(0x134)](_0xd2f69=>this[_0xb9dd38(0x103)][_0xb9dd38(0x10e)][_0xb9dd38(0x143)](_0xd2f69));}[_0x24ff1c(0xd2)](){const _0x1502b4=_0x24ff1c;this[_0x1502b4(0x160)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1}),this[_0x1502b4(0x103)][_0x1502b4(0x11b)][_0x1502b4(0xec)](!this[_0x1502b4(0xe1)][_0x1502b4(0xef)][_0x1502b4(0x159)](_0x1502b4(0x115))),this[_0x1502b4(0x12a)]=!0x0,this[_0x1502b4(0x103)][_0x1502b4(0x10e)][_0x1502b4(0xe7)]();}[_0x24ff1c(0x166)](_0x43f629){const _0x322022=_0x24ff1c;this[_0x322022(0x161)][_0x322022(0x15b)](),this[_0x322022(0x103)][_0x322022(0x10e)][_0x322022(0x118)]()[_0x322022(0x168)](_0x1efeae=>_0x1efeae[_0x322022(0x141)](_0x43f629['id']))[_0x322022(0x134)](_0xff4f95=>this[_0x322022(0xe9)](_0xff4f95)),this[_0x322022(0x12a)]=!0x1,this[_0x322022(0x103)][_0x322022(0x10e)][_0x322022(0xf4)]();}async[_0x24ff1c(0x11e)](){const _0x1883f8=_0x24ff1c;return this[_0x1883f8(0x161)][_0x1883f8(0x13b)][_0x1883f8(0x107)](()=>{const _0x4bb367=_0x1883f8;this[_0x4bb367(0x12a)]=!0x1,this[_0x4bb367(0x103)][_0x4bb367(0x10e)][_0x4bb367(0xf4)]();});}[_0x24ff1c(0x155)](_0x2e5db6,_0x4a3a3e){const _0x25d39a=_0x24ff1c;this[_0x25d39a(0x103)][_0x25d39a(0x11b)][_0x25d39a(0x155)](_0x2e5db6,_0x4a3a3e);}[_0x24ff1c(0x109)](_0x1a4fd9){const _0x32dbf8=_0x24ff1c;this[_0x32dbf8(0x103)][_0x32dbf8(0x11b)][_0x32dbf8(0x109)](_0x1a4fd9);}[_0x24ff1c(0xea)](_0x5612d2,_0x3935a7){const _0x24694e=_0x24ff1c;this[_0x24694e(0x103)][_0x24694e(0x11b)][_0x24694e(0xea)](_0x5612d2,_0x3935a7);}[_0x24ff1c(0x125)](_0x430d4f){const _0x5ccc9a=_0x24ff1c;this[_0x5ccc9a(0x103)][_0x5ccc9a(0x11b)][_0x5ccc9a(0x125)](_0x430d4f);}[_0x24ff1c(0xd0)](_0x282294){const _0x536880=_0x24ff1c;this[_0x536880(0x103)][_0x536880(0x11b)][_0x536880(0xd0)](_0x282294);}[_0x24ff1c(0xde)](){const _0x53180e=_0x24ff1c;this[_0x53180e(0x103)][_0x53180e(0x11b)][_0x53180e(0xde)]();}[_0x24ff1c(0x150)](){const _0x516b65=_0x24ff1c;this[_0x516b65(0x103)][_0x516b65(0x11b)][_0x516b65(0x150)]();}[_0x24ff1c(0x12e)](_0x41721d,_0x40a5e9,_0x905ff0){const _0x16298e=_0x24ff1c;this[_0x16298e(0x103)][_0x16298e(0x11b)][_0x16298e(0x12e)](_0x41721d,_0x40a5e9,_0x905ff0);}[_0x24ff1c(0xeb)](){const _0x380427=_0x24ff1c;this[_0x380427(0x103)][_0x380427(0x11b)][_0x380427(0xeb)](),this[_0x380427(0x103)][_0x380427(0x11b)][_0x380427(0xfd)](this[_0x380427(0xd8)]());}[_0x24ff1c(0x12b)](_0x29eed2){const _0x39a226=_0x24ff1c;this[_0x39a226(0x103)][_0x39a226(0x11b)][_0x39a226(0x12b)](_0x29eed2);}[_0x24ff1c(0xca)](_0x877475){const _0xb42d02=_0x24ff1c;this[_0xb42d02(0x103)][_0xb42d02(0x11b)][_0xb42d02(0x100)](_0x877475[_0xb42d02(0xe2)]),this[_0xb42d02(0x103)][_0xb42d02(0x11b)][_0xb42d02(0x117)](_0x877475[_0xb42d02(0x10c)]),this[_0xb42d02(0x103)][_0xb42d02(0x11b)][_0xb42d02(0xfd)](this[_0xb42d02(0xd8)](_0x877475));}[_0x24ff1c(0xf1)](_0x25342d,_0x2bd575){const _0x362ef8=_0x24ff1c;this[_0x362ef8(0x103)][_0x362ef8(0x11b)][_0x362ef8(0xd5)](_0x25342d),_0x2bd575&&this[_0x362ef8(0x103)][_0x362ef8(0x11b)][_0x362ef8(0xec)](!0x1);}[_0x24ff1c(0xdb)](_0x3fe981){const _0x4759bd=_0x24ff1c;this[_0x4759bd(0xf6)]=_0x3fe981;}[_0x24ff1c(0x11f)](_0x27f734){const _0x5dcbb4=_0x24ff1c;this[_0x5dcbb4(0x103)][_0x5dcbb4(0x10e)][_0x5dcbb4(0x11f)](_0x27f734);}[_0x24ff1c(0x112)](){const _0x340d44=_0x24ff1c;this[_0x340d44(0xfa)](_0x434553(this[_0x340d44(0xe1)][_0x340d44(0xd9)],_0x340d44(0xe0)));}[_0x24ff1c(0xfa)](_0x39a87c,_0x54df46=!0x1){const _0x1bbbea=_0x24ff1c;if(_0x54df46&&!_0x33ed22()&&_0x39a87c[_0x1bbbea(0x15c)])return this[_0x1bbbea(0x103)][_0x1bbbea(0xf0)][_0x1bbbea(0xdf)]='',void this[_0x1bbbea(0x111)](_0x39a87c);this[_0x1bbbea(0x103)][_0x1bbbea(0xf0)][_0x1bbbea(0xdf)]=_0x39a87c;}[_0x24ff1c(0x160)](_0x2b8463){const _0x1131e9=_0x24ff1c,_0x18b26b=this[_0x1131e9(0xdd)](_0x2b8463);this[_0x1131e9(0x103)][_0x1131e9(0x10e)][_0x1131e9(0x160)](_0x18b26b);}[_0x24ff1c(0x111)](_0xe70ec2){const _0x14eb94=_0x24ff1c;let _0xd0d36b=0x0;clearInterval(this[_0x14eb94(0x13a)]),this[_0x14eb94(0x13a)]=setInterval(()=>{const _0x401ce7=_0x14eb94;this[_0x401ce7(0x103)][_0x401ce7(0xf0)][_0x401ce7(0xdf)]=this[_0x401ce7(0x103)][_0x401ce7(0xf0)][_0x401ce7(0xdf)]+_0xe70ec2[_0xd0d36b],_0xd0d36b++,_0xd0d36b===_0xe70ec2[_0x401ce7(0x15c)]&&clearInterval(this[_0x401ce7(0x13a)]);},0x1e);}[_0x24ff1c(0xce)](_0x5a2570){const _0x4a4424=_0x24ff1c;this[_0x4a4424(0x103)][_0x4a4424(0xf0)][_0x4a4424(0x106)]=_0x5a2570;}[_0x24ff1c(0xdd)](_0x30e63d){const _0x214c67=_0x24ff1c;return _0x30e63d?_0x30e63d[_0x214c67(0xe2)]&&_0x30e63d[_0x214c67(0x10c)]?_0x434553(this[_0x214c67(0xe1)][_0x214c67(0xd9)],_0x214c67(0x110)):_0x30e63d[_0x214c67(0xe2)]?_0x434553(this[_0x214c67(0xe1)][_0x214c67(0xd9)],_0x214c67(0xf2)):_0x30e63d[_0x214c67(0x10c)]?_0x434553(this[_0x214c67(0xe1)][_0x214c67(0xd9)],_0x214c67(0x102)):_0x434553(this[_0x214c67(0xe1)][_0x214c67(0xd9)],_0x214c67(0x124)):'';}[_0x24ff1c(0xd8)](_0x37939b){const _0x4b73e2=_0x24ff1c;return _0x37939b?_0x37939b[_0x4b73e2(0xe2)]&&_0x37939b[_0x4b73e2(0x10c)]?_0x434553(this[_0x4b73e2(0xe1)][_0x4b73e2(0xd9)],_0x4b73e2(0x120)):_0x37939b[_0x4b73e2(0xe2)]?_0x434553(this[_0x4b73e2(0xe1)][_0x4b73e2(0xd9)],_0x4b73e2(0xf5)):_0x37939b[_0x4b73e2(0x10c)]?_0x434553(this[_0x4b73e2(0xe1)][_0x4b73e2(0xd9)],_0x4b73e2(0x135)):_0x434553(this[_0x4b73e2(0xe1)][_0x4b73e2(0xd9)],_0x4b73e2(0x162)):_0x434553(this[_0x4b73e2(0xe1)][_0x4b73e2(0xd9)],_0x4b73e2(0x162));}[_0x24ff1c(0x116)](_0x3adef7,_0x282037,_0x61e14,_0x49ed08){const _0x1e5bbe=_0x24ff1c;this[_0x1e5bbe(0x103)][_0x1e5bbe(0x116)](_0x3adef7,_0x282037,_0x61e14,_0x49ed08);}[_0x24ff1c(0xfb)](_0x394ecb){const _0x17462a=_0x24ff1c;this[_0x17462a(0x103)][_0x17462a(0xfb)](_0x394ecb);}[_0x24ff1c(0xc7)](){const _0x108ea6=_0x24ff1c;this[_0x108ea6(0x103)][_0x108ea6(0x11b)][_0x108ea6(0xc7)]();}[_0x24ff1c(0x13e)](_0x4e90e9,_0x4bf7b7){const _0x533779=_0x24ff1c;this[_0x533779(0x103)][_0x533779(0x10e)][_0x533779(0xe4)](_0x4e90e9,_0x4bf7b7);}[_0x24ff1c(0xe7)](){const _0x4596bd=_0x24ff1c;this[_0x4596bd(0x103)][_0x4596bd(0x10e)][_0x4596bd(0xe7)]();}[_0x24ff1c(0x15f)](){const _0x11b1e2=_0x24ff1c;this[_0x11b1e2(0x103)][_0x11b1e2(0x11b)][_0x11b1e2(0x138)]=!0x0;}[_0x24ff1c(0x158)](){const _0x3c4eb8=_0x24ff1c;this[_0x3c4eb8(0x103)][_0x3c4eb8(0x11b)][_0x3c4eb8(0x138)]=!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;}}
|