@ckeditor/ckeditor5-ai 47.2.0-alpha.6 → 47.2.0
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.d.ts +10 -2
- 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/model/aichatmodels.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/aichat/utils/scrollmanager.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/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/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/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/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c5f38=_0x58a9;(function(_0x5a5263,_0x329f0a){const _0x28969b=_0x58a9,_0x58936a=_0x5a5263();while(!![]){try{const _0x47017d=parseInt(_0x28969b(0x115))/0x1+parseInt(_0x28969b(0x10a))/0x2*(parseInt(_0x28969b(0x101))/0x3)+parseInt(_0x28969b(0xfe))/0x4+-parseInt(_0x28969b(0x10e))/0x5*(-parseInt(_0x28969b(0x10d))/0x6)+parseInt(_0x28969b(0x10b))/0x7+-parseInt(_0x28969b(0x128))/0x8*(-parseInt(_0x28969b(0x113))/0x9)+-parseInt(_0x28969b(0xfd))/0xa;if(_0x47017d===_0x329f0a)break;else _0x58936a['push'](_0x58936a['shift']());}catch(_0x50589e){_0x58936a['push'](_0x58936a['shift']());}}}(_0x4751,0x92d80));import{BalloonPanelView as _0x36cc2f,ButtonView as _0x446577,clickOutsideHandler as _0x45798d,FormHeaderView as _0x22a7e8}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x19c795}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4de975}from'../../../../aicore/utils/common-translations.js';function _0x58a9(_0x401354,_0x8973b7){const _0x47511c=_0x4751();return _0x58a9=function(_0x58a96b,_0x4a33e0){_0x58a96b=_0x58a96b-0xf3;let _0x1f9498=_0x47511c[_0x58a96b];return _0x1f9498;},_0x58a9(_0x401354,_0x8973b7);}import{AIChatContextResourcesView as _0x21621c}from'./aichatcontextresourcesview.js';const Nr=_0x1c5f38(0xff),Xr=_0x1c5f38(0x121),Kr=_0x1c5f38(0x119);export class AIChatResourcesBalloonView{[_0x1c5f38(0xf7)]=new Map();[_0x1c5f38(0x109)];[_0x1c5f38(0xfb)];[_0x1c5f38(0xfa)];constructor(_0x41a9ab,_0x4da2e,_0x2585d8){const _0x4ec7d1=_0x1c5f38;this[_0x4ec7d1(0xfb)]=_0x41a9ab,this[_0x4ec7d1(0x109)]=_0x4da2e,this[_0x4ec7d1(0xfa)]=_0x2585d8;}[_0x1c5f38(0x127)](_0x33386){const _0xe0d879=_0x1c5f38;let _0x2c2f4c=this[_0xe0d879(0xf7)][_0xe0d879(0x12f)](_0x33386['id']);_0x2c2f4c||(_0x2c2f4c=this[_0xe0d879(0xfc)](),this[_0xe0d879(0xf7)][_0xe0d879(0x10f)](_0x33386['id'],_0x2c2f4c),this[_0xe0d879(0x124)](_0x2c2f4c)),this[_0xe0d879(0x120)](_0x2c2f4c,_0x33386),_0x2c2f4c[_0xe0d879(0x104)]();const _0x1eae34=this[_0xe0d879(0xfa)][_0xe0d879(0x102)]();_0x1eae34&&_0x2c2f4c[_0xe0d879(0x12b)]({'target':_0x1eae34,'limiter':this[_0xe0d879(0xfa)][_0xe0d879(0x122)]()});}[_0x1c5f38(0x11f)](_0x22e2f3,_0x519705,_0x28f865){const _0x37c57b=_0x1c5f38,_0x46c020=this[_0x37c57b(0xf7)][_0x37c57b(0x12f)](_0x22e2f3);if(!_0x46c020)return;const _0x38cee7=this[_0x37c57b(0x114)](_0x46c020);_0x38cee7&&(_0x38cee7[_0x37c57b(0x129)](_0x519705,_0x28f865),_0x38cee7[_0x37c57b(0x116)](_0x37c57b(0x11e),()=>{const _0x203a4a=_0x37c57b;_0x46c020[_0x203a4a(0x12b)]({'target':this[_0x203a4a(0xfa)][_0x203a4a(0x102)](),'limiter':this[_0x203a4a(0xfa)][_0x203a4a(0x122)]()});}));}[_0x1c5f38(0x103)](_0x26b19e){const _0x51fd89=_0x1c5f38,_0x2fd7ea=this[_0x51fd89(0xf7)][_0x51fd89(0x12f)](_0x26b19e);_0x2fd7ea&&requestAnimationFrame(()=>{const _0xdd9c45=_0x51fd89;_0x2fd7ea[_0xdd9c45(0x11c)](),this[_0xdd9c45(0xf7)][_0xdd9c45(0x123)](_0x26b19e),this[_0xdd9c45(0xfa)][_0xdd9c45(0x11d)]();});}[_0x1c5f38(0x126)](){const _0x1aeaa2=_0x1c5f38;for(const _0x58545a of this[_0x1aeaa2(0xf7)][_0x1aeaa2(0x12d)]())if(_0x58545a[_0x1aeaa2(0x125)])return!0x0;return!0x1;}[_0x1c5f38(0x112)](_0xd1fd31,_0x44d425,_0x27d9f9){const _0x16d61f=_0x1c5f38,_0x504c5b=this[_0x16d61f(0xf7)][_0x16d61f(0x12f)](_0xd1fd31);if(!_0x504c5b||!_0x504c5b[_0x16d61f(0x125)])return;const _0x1ff277=this[_0x16d61f(0xfa)][_0x16d61f(0x102)]();if(!_0x1ff277)return;_0x504c5b[_0x16d61f(0x12b)]({'target':_0x1ff277,'limiter':this[_0x16d61f(0xfa)][_0x16d61f(0x122)]()});const _0xed9192=this[_0x16d61f(0x114)](_0x504c5b);_0xed9192&&_0xed9192[_0x16d61f(0x112)](_0x44d425,_0x27d9f9);}[_0x1c5f38(0x106)](){const _0x3b89cb=_0x1c5f38;for(const _0x3a14fc of this[_0x3b89cb(0xf7)][_0x3b89cb(0x12d)]())_0x3a14fc[_0x3b89cb(0x106)]();this[_0x3b89cb(0xf7)][_0x3b89cb(0x108)]();}[_0x1c5f38(0xfc)](){const _0x5ac602=_0x1c5f38,_0x4fad87=new _0x36cc2f(this[_0x5ac602(0xfb)]);return _0x4fad87[_0x5ac602(0x100)]({'attributes':{'class':Nr}}),this[_0x5ac602(0x109)][_0x5ac602(0xf4)](_0x4fad87),_0x4fad87;}[_0x1c5f38(0x120)](_0x245526,_0x1e77a5){const _0x20ba3e=_0x1c5f38;_0x245526[_0x20ba3e(0x11a)][_0x20ba3e(0x108)]();const _0x24e865=this[_0x20ba3e(0x10c)](_0x245526,_0x1e77a5);_0x245526[_0x20ba3e(0x11a)][_0x20ba3e(0xf4)](_0x24e865);const _0x4ef008=this[_0x20ba3e(0xf9)](_0x1e77a5);_0x245526[_0x20ba3e(0x11a)][_0x20ba3e(0xf4)](_0x4ef008);}[_0x1c5f38(0x10c)](_0x53ac2f,_0x5a9844){const _0xa5a83d=_0x1c5f38,_0x532966=this[_0xa5a83d(0x118)](_0x53ac2f),_0x5c4b9c=new _0x22a7e8(this[_0xa5a83d(0xfb)],{'label':_0x5a9844[_0xa5a83d(0xf3)],'class':Kr});return _0x5c4b9c[_0xa5a83d(0x105)][_0xa5a83d(0xf4)](_0x532966,0x0),_0x5c4b9c;}[_0x1c5f38(0x118)](_0x3b3069){const _0x30ca38=_0x1c5f38,_0x5b39fd=new _0x446577(this[_0x30ca38(0xfb)]);return _0x5b39fd[_0x30ca38(0x10f)]({'icon':_0x19c795,'tooltip':_0x4de975(this[_0x30ca38(0xfb)],_0x30ca38(0x110)),'tooltipPosition':'n','class':Xr}),_0x5b39fd['on'](_0x30ca38(0x117),()=>{const _0x47c6a8=_0x30ca38;_0x3b3069[_0x47c6a8(0x11c)](),this[_0x47c6a8(0xfa)][_0x47c6a8(0xf6)]();}),_0x5b39fd;}[_0x1c5f38(0xf9)](_0x36dffd){const _0x167a3e=_0x1c5f38,_0x5e2d48=new _0x21621c(this[_0x167a3e(0xfb)],{'source':_0x36dffd,'searchInputVisibleFrom':this[_0x167a3e(0xfa)][_0x167a3e(0x12a)]});return _0x5e2d48['on'](_0x167a3e(0xf8),(_0x513f20,_0x33698b)=>{const _0x5e9008=_0x167a3e;this[_0x5e9008(0xfa)][_0x5e9008(0x111)](_0x33698b);}),_0x5e2d48['on'](_0x167a3e(0x107),(_0x365529,_0x270be6)=>{const _0x2dd3a2=_0x167a3e;this[_0x2dd3a2(0xfa)][_0x2dd3a2(0x12e)](_0x270be6[_0x2dd3a2(0xf5)],_0x270be6[_0x2dd3a2(0x12c)]),this[_0x2dd3a2(0x103)](_0x36dffd['id']);}),_0x5e2d48;}[_0x1c5f38(0x114)](_0x36e3be){const _0x36f69a=_0x1c5f38,_0x3550d3=_0x36e3be[_0x36f69a(0x11a)][_0x36f69a(0x12f)](0x1);return _0x3550d3 instanceof _0x21621c?_0x3550d3:null;}[_0x1c5f38(0x124)](_0x494e2f){const _0x2c4a7b=_0x1c5f38;_0x45798d({'emitter':_0x494e2f,'contextElements':[_0x494e2f[_0x2c4a7b(0x11b)]],'callback':()=>{const _0x2c75c3=_0x2c4a7b;_0x494e2f[_0x2c75c3(0x11c)](),this[_0x2c75c3(0xfa)][_0x2c75c3(0x11d)]();},'activator':()=>_0x494e2f[_0x2c4a7b(0x125)]});}}function _0x4751(){const _0xda70c=['getTargetElement','closeSourceResourceBalloon','show','children','destroy','addResourceToContext','clear','_bodyCollection','6wmBNob','1176784LGRGHg','_createBalloonHeader','3620454gxfqOl','5mqiTYI','set','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','onLoadSourceResources','updateResourceState','4151538QJrAnh','_getResourcesViewFromBalloon','321853tQIErE','once','execute','_createBackButton','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','content','element','hide','onBalloonClosed','change:isLoading','populateSourceResourceBalloon','_addSourceResourceContent','ck-button-icon\x20ck-button-back','getLimiterElement','delete','_setupSingleResourceBalloonClickOutsideHandler','isVisible','isAnyResourceBalloonVisible','showSourceResourcesBalloon','8PJcUFm','setResources','searchInputVisibleFrom','pin','resource','values','onResourceSelected','get','label','add','source','onBackToContext','_sourceResourceBalloons','loadSourceResources','_createBalloonResourcesView','_config','_locale','_createSourceResourceBalloonPanel','16193960mVAWXV','1047716oROneU','ck-ai-chat-context-controls__source-balloon-panel','extendTemplate','404283vdbUry'];_0x4751=function(){return _0xda70c;};return _0x4751();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x3ada7a,IconView as _0x54fe2d,LabeledFieldView as _0x379e38,createLabeledInputText as _0x33f4f2}from'ckeditor5/src/ui.js';import{IconLoupe as _0x376860,IconCancel as _0x5d25ff}from'ckeditor5/src/icons.js';import{getTranslation as _0x5cb3bb}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x379e38{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0xb23483){const t=_0xb23483['t'],_0x2b8c2a={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x33f4f2,'label':_0x5cb3bb(_0xb23483,'AI_CHAT_SEARCH_RESOURCES')};super(_0xb23483,_0x2b8c2a['creator']),this['label']=_0x2b8c2a['label'],this['_viewConfig']=_0x2b8c2a,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0xb23483,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x39e580){this['fire']('search',_0x39e580);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x54fe2d(),this['iconView']['content']=_0x376860,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x41fec8,t){this['resetButtonView']=new _0x3ada7a(_0x41fec8),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x5d25ff,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x5d9240=>!_0x5d9240),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2565(){const _0x598536=['_contextChips','reorganizeChips','ck-ai-chat__feed__context-chips','setTemplate','ck-ai-chat-context-controls__show-more-balloon-panel','ck-reset_all','4mMeHNV','render','ck-ai-chat-context-chips-wrapper','createCollection','39957uFIvog','div','_createContextChips','destroy','1616222GVsgyz','142YMSdqn','7260035mivhKX','ck-ai-chat-controls-button','16805853lUBMXY','1610vdnNYg','element','12795624xxUbaA','ck-ai-chat-context-chips-wrapper-balloon','add','_bodyCollection','querySelector','setContainerElement','ck-ai-chat-controls_context_show-more-button','1765771vhpetI','254078uqZjhQ','locale','36yuBLDE','_overflowManager'];_0x2565=function(){return _0x598536;};return _0x2565();}function _0x4c2a(_0x1fefe8,_0x515265){const _0x2565b9=_0x2565();return _0x4c2a=function(_0x4c2a7d,_0x56190e){_0x4c2a7d=_0x4c2a7d-0x88;let _0x3aff8b=_0x2565b9[_0x4c2a7d];return _0x3aff8b;},_0x4c2a(_0x1fefe8,_0x515265);}const _0x39a52d=_0x4c2a;(function(_0x3ef3ff,_0x59f1f0){const _0x1843b1=_0x4c2a,_0x817bcf=_0x3ef3ff();while(!![]){try{const _0x5bea94=parseInt(_0x1843b1(0x98))/0x1+parseInt(_0x1843b1(0x99))/0x2*(-parseInt(_0x1843b1(0x94))/0x3)+parseInt(_0x1843b1(0x90))/0x4*(-parseInt(_0x1843b1(0x9a))/0x5)+-parseInt(_0x1843b1(0x88))/0x6*(-parseInt(_0x1843b1(0xa6))/0x7)+-parseInt(_0x1843b1(0x9f))/0x8+-parseInt(_0x1843b1(0x9c))/0x9+parseInt(_0x1843b1(0x9d))/0xa*(parseInt(_0x1843b1(0xa7))/0xb);if(_0x5bea94===_0x59f1f0)break;else _0x817bcf['push'](_0x817bcf['shift']());}catch(_0x3ffd0d){_0x817bcf['push'](_0x817bcf['shift']());}}}(_0x2565,0xf041c));import{View as _0xba4855}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x46e754}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2d4645}from'../controls/aichatchipsoverflowmanager.js';const xo=_0x39a52d(0x8c),ko=_0x39a52d(0x92),Co=_0x39a52d(0xa0),bo=_0x39a52d(0x9b),vo=_0x39a52d(0xa5),jo=_0x39a52d(0x8e);export class AIChatFeedContextChipsView extends _0xba4855{[_0x39a52d(0x8a)]=this[_0x39a52d(0x93)]();[_0x39a52d(0x89)];[_0x39a52d(0xa2)];constructor(_0x1cbb15,_0x19d182,_0x179acb){const _0x17f347=_0x39a52d;super(_0x1cbb15),this[_0x17f347(0xa2)]=_0x179acb,this[_0x17f347(0x96)](_0x19d182);const _0x52f8f0={'cssClasses':{'showMoreButton':vo,'showMoreBalloon':jo,'overflowContainer':Co,'controlsButton':bo}};this[_0x17f347(0x89)]=new _0x2d4645(_0x1cbb15,this[_0x17f347(0x8a)],_0x52f8f0,this[_0x17f347(0xa2)],this),this[_0x17f347(0x8d)]({'tag':_0x17f347(0x95),'attributes':{'class':[xo,'ck',_0x17f347(0x8f)]},'children':[{'tag':_0x17f347(0x95),'attributes':{'class':ko},'children':this[_0x17f347(0x8a)]}]});}[_0x39a52d(0x91)](){const _0x10a822=_0x39a52d;super[_0x10a822(0x91)]();const _0x1eb8f6=this[_0x10a822(0x9e)][_0x10a822(0xa3)]('.'+ko);_0x1eb8f6&&(this[_0x10a822(0x89)][_0x10a822(0xa4)](_0x1eb8f6),this[_0x10a822(0x89)][_0x10a822(0x8b)]());}[_0x39a52d(0x97)](){const _0x156cd3=_0x39a52d;super[_0x156cd3(0x97)](),this[_0x156cd3(0x89)][_0x156cd3(0x97)]();}[_0x39a52d(0x96)](_0x261f45){const _0x202c50=_0x39a52d;for(const _0x17c945 of _0x261f45){const _0x512a69=new _0x46e754(this[_0x202c50(0xa8)],_0x17c945,!0x0,!0x1);this[_0x202c50(0x8a)][_0x202c50(0xa1)](_0x512a69);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4bab(_0x186c38,_0x30ce2d){var _0x3bb3d7=_0x3bb3();return _0x4bab=function(_0x4baba6,_0x374842){_0x4baba6=_0x4baba6-0x134;var _0x4bf733=_0x3bb3d7[_0x4baba6];return _0x4bf733;},_0x4bab(_0x186c38,_0x30ce2d);}var _0x9eff02=_0x4bab;(function(_0x3b7c27,_0x33fd48){var _0x51f2fc=_0x4bab,_0x516d05=_0x3b7c27();while(!![]){try{var _0xf94fdc=parseInt(_0x51f2fc(0x134))/0x1+parseInt(_0x51f2fc(0x138))/0x2*(parseInt(_0x51f2fc(0x148))/0x3)+-parseInt(_0x51f2fc(0x14b))/0x4*(-parseInt(_0x51f2fc(0x13b))/0x5)+-parseInt(_0x51f2fc(0x136))/0x6*(parseInt(_0x51f2fc(0x145))/0x7)+-parseInt(_0x51f2fc(0x149))/0x8+-parseInt(_0x51f2fc(0x135))/0x9*(parseInt(_0x51f2fc(0x139))/0xa)+-parseInt(_0x51f2fc(0x13f))/0xb*(parseInt(_0x51f2fc(0x143))/0xc);if(_0xf94fdc===_0x33fd48)break;else _0x516d05['push'](_0x516d05['shift']());}catch(_0x26cedf){_0x516d05['push'](_0x516d05['shift']());}}}(_0x3bb3,0x18a2c));import{AIChatFeedItemView as _0x4dd35f}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x4dd35f{constructor(_0x701668){var _0x33d532=_0x4bab;super(_0x701668),this[_0x33d532(0x141)]({'attributes':{'class':[_0x33d532(0x144),_0x33d532(0x140)===_0x701668[_0x33d532(0x14a)]?_0x33d532(0x147):'']}});}[_0x9eff02(0x137)](){var _0x53c216=_0x9eff02;super[_0x53c216(0x137)](),this[_0x53c216(0x146)](this[_0x53c216(0x142)][_0x53c216(0x13d)]),this[_0x53c216(0x13a)]();}[_0x9eff02(0x146)](_0x1b5091){var _0x3b7e90=_0x9eff02;this[_0x3b7e90(0x13e)][_0x3b7e90(0x13c)]=_0x1b5091;}}function _0x3bb3(){var _0x1ce4d6=['2ogttBA','250rAdkFn','markAsDone','959215lLiJUF','innerHTML','initialContent','element','637153zDTCux','warning','extendTemplate','options','12pHWfDd','ck-ai-chat-error','39753XVSAYS','setContent','ck-ai-chat-error_warning','450291xqqikq','882496HajFVQ','level','4IaRtje','64182efJpKo','47268zXVDQY','6KfpnIw','render'];_0x3bb3=function(){return _0x1ce4d6;};return _0x3bb3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2382f2=_0x142c;(function(_0x5e6b9c,_0x83988){const _0xf5d38a=_0x142c,_0x4ca7e6=_0x5e6b9c();while(!![]){try{const _0x2a9088=-parseInt(_0xf5d38a(0x13c))/0x1+parseInt(_0xf5d38a(0x139))/0x2+parseInt(_0xf5d38a(0x141))/0x3+-parseInt(_0xf5d38a(0x135))/0x4+parseInt(_0xf5d38a(0x143))/0x5+-parseInt(_0xf5d38a(0x14b))/0x6+parseInt(_0xf5d38a(0x136))/0x7*(parseInt(_0xf5d38a(0x13d))/0x8);if(_0x2a9088===_0x83988)break;else _0x4ca7e6['push'](_0x4ca7e6['shift']());}catch(_0x3a0e96){_0x4ca7e6['push'](_0x4ca7e6['shift']());}}}(_0x408b,0x3488a));import{IconBulb as _0x4c5b9e,IconWeb as _0x40bb7c}from'@ckeditor/ckeditor5-icons';function _0x408b(){const _0x4a1545=['ck-hidden','282728HPdfGQ','552993qqAwAM','div','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','514786UfthCA','span','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','223343MByXUb','8OTwDHD','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','setTemplate','ck-ai-chat__feed__interaction-header__capabilities','306543xsKeIt','push','1032945oQXqBK','content','capabilities','children','extendTemplate','add','ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities__text','815754kfPcoI'];_0x408b=function(){return _0x4a1545;};return _0x408b();}import{IconView as _0x271453,View as _0x3bf1d9}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x4e28b3}from'./aichatfeeditemview.js';import{getTranslation as _0x354160}from'../../../aicore/utils/common-translations.js';function _0x142c(_0x26ad73,_0x4f93a3){const _0x408bdf=_0x408b();return _0x142c=function(_0x142c66,_0x3909d2){_0x142c66=_0x142c66-0x134;let _0x162c97=_0x408bdf[_0x142c66];return _0x162c97;},_0x142c(_0x26ad73,_0x4f93a3);}export class AIChatFeedInteractionHeaderView extends _0x4e28b3{[_0x2382f2(0x145)];constructor(_0x1af21c,_0x2fdd40){const _0x58fde6=_0x2382f2;super(_0x2fdd40);const {isWebSearchEnabled:_0x3914b3,isReasoningEnabled:_0x4e4f48}=_0x2fdd40[_0x58fde6(0x145)],_0x244e75=[];let _0x78b120='';_0x3914b3&&_0x4e4f48?(_0x78b120=_0x354160(_0x1af21c,_0x58fde6(0x13b)),_0x244e75[_0x58fde6(0x142)](ca(_0x40bb7c)),_0x244e75[_0x58fde6(0x142)](ca(_0x4c5b9e))):_0x3914b3?(_0x78b120=_0x354160(_0x1af21c,_0x58fde6(0x13e)),_0x244e75[_0x58fde6(0x142)](ca(_0x40bb7c))):_0x4e4f48&&(_0x78b120=_0x354160(_0x1af21c,_0x58fde6(0x138)),_0x244e75[_0x58fde6(0x142)](ca(_0x4c5b9e))),this[_0x58fde6(0x147)]({'attributes':{'class':[_0x58fde6(0x149),_0x78b120?'':_0x58fde6(0x134)]}});const _0x15043d=new _0x3bf1d9();_0x15043d[_0x58fde6(0x13f)]({'tag':_0x58fde6(0x137),'attributes':{'class':['ck',_0x58fde6(0x140)]},'children':[..._0x244e75,{'tag':_0x58fde6(0x13a),'attributes':{'class':[_0x58fde6(0x14a)]},'children':[_0x78b120]}]}),this[_0x58fde6(0x146)][_0x58fde6(0x148)](_0x15043d),this[_0x58fde6(0x145)]=_0x2fdd40[_0x58fde6(0x145)];}}function ca(_0x2126dd){const _0x2f4d43=_0x2382f2,_0xf89376=new _0x271453();return _0xf89376[_0x2f4d43(0x144)]=_0x2126dd,_0xf89376;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56b511=_0x2783;(function(_0x2f9683,_0x5ea596){const _0x47eccf=_0x2783,_0x26756f=_0x2f9683();while(!![]){try{const _0x33b6c1=-parseInt(_0x47eccf(0x76))/0x1+parseInt(_0x47eccf(0x82))/0x2*(-parseInt(_0x47eccf(0x7e))/0x3)+parseInt(_0x47eccf(0x86))/0x4*(parseInt(_0x47eccf(0x79))/0x5)+parseInt(_0x47eccf(0x8a))/0x6+-parseInt(_0x47eccf(0x7c))/0x7+parseInt(_0x47eccf(0x8c))/0x8*(-parseInt(_0x47eccf(0x80))/0x9)+parseInt(_0x47eccf(0x93))/0xa;if(_0x33b6c1===_0x5ea596)break;else _0x26756f['push'](_0x26756f['shift']());}catch(_0x5064f7){_0x26756f['push'](_0x26756f['shift']());}}}(_0x1dc7,0x5b8bf));function _0x1dc7(){const _0x134e1c=['ck-ai-chat__feed__text-item','options','211190Ziozck','ck-ai-chat__feed__item','setTemplate','780689DoaJdM','stream','42261WuxBnA','cleanUpAnimations','3582594gzUIIu','forEach','18ogyOlb','removeAttribute','animation:\x20ck-html-streamer-fade-in\x20.5s','set','28RnZqfx','streamIntoElement','content','markAsDone','3275322TgcIpq','ck-ai-chat__feed__item_done','8NfktAE','querySelectorAll','isDone','div','createCollection','data-id','[data-id]','4324390rkbMJh','children','isVisible','htmlStreamer','ck-hidden','bindTemplate','element','262641BbZKIb'];_0x1dc7=function(){return _0x134e1c;};return _0x1dc7();}import{View as _0x160954}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x2a8333}from'../../../aicore/utils/htmlstreamer.js';function _0x2783(_0x195ab0,_0x37f073){const _0x1dc7dc=_0x1dc7();return _0x2783=function(_0x2783b0,_0x31433e){_0x2783b0=_0x2783b0-0x70;let _0x33bc83=_0x1dc7dc[_0x2783b0];return _0x33bc83;},_0x2783(_0x195ab0,_0x37f073);}export class AIChatFeedItemView extends _0x160954{[_0x56b511(0x78)];[_0x56b511(0x88)]='';[_0x56b511(0x72)];[_0x56b511(0x70)];constructor(_0x1a88fc){const _0x8d580e=_0x56b511;super();const _0x4b401e=this[_0x8d580e(0x74)];this[_0x8d580e(0x85)](_0x8d580e(0x8e),!0x1),this[_0x8d580e(0x85)](_0x8d580e(0x71),!0x0),this[_0x8d580e(0x72)]=new _0x2a8333({'textNodeStyle':_0x8d580e(0x84),'delay':0x14}),this[_0x8d580e(0x78)]=_0x1a88fc,this[_0x8d580e(0x70)]=this[_0x8d580e(0x90)](),this[_0x8d580e(0x7b)]({'tag':_0x8d580e(0x8f),'attributes':{'class':['ck',_0x8d580e(0x7a),_0x4b401e['if'](_0x8d580e(0x8e),_0x8d580e(0x8b)),_0x4b401e['if'](_0x8d580e(0x71),_0x8d580e(0x73),_0xe32e72=>!_0xe32e72),_0x8d580e(0x77)],'data-cke-ai-id':this[_0x8d580e(0x78)]['id']},'children':this[_0x8d580e(0x70)]});}[_0x56b511(0x89)](){const _0x2fe05c=_0x56b511;this[_0x2fe05c(0x72)][_0x2fe05c(0x7f)]({'targetElement':this[_0x2fe05c(0x75)]}),this[_0x2fe05c(0x75)][_0x2fe05c(0x8d)](_0x2fe05c(0x92))[_0x2fe05c(0x81)](_0x562da0=>{const _0x36eea2=_0x2fe05c;_0x562da0[_0x36eea2(0x83)](_0x36eea2(0x91));}),this[_0x2fe05c(0x8e)]=!0x0;}async[_0x56b511(0x87)](_0x4d59bf,_0x3d7d05,_0x519ce2){const _0x21a5cd=_0x56b511;await this[_0x21a5cd(0x72)][_0x21a5cd(0x7d)]({'document':_0x4d59bf,'targetElement':_0x3d7d05,'abortSignal':_0x519ce2});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x579421=_0x219e;(function(_0x5866f6,_0x252df6){const _0x4ffc35=_0x219e,_0x1ce2b1=_0x5866f6();while(!![]){try{const _0x1b1851=parseInt(_0x4ffc35(0x1de))/0x1*(parseInt(_0x4ffc35(0x1df))/0x2)+-parseInt(_0x4ffc35(0x1ca))/0x3*(-parseInt(_0x4ffc35(0x1cf))/0x4)+-parseInt(_0x4ffc35(0x1e9))/0x5+parseInt(_0x4ffc35(0x1d5))/0x6+-parseInt(_0x4ffc35(0x1e5))/0x7*(-parseInt(_0x4ffc35(0x1da))/0x8)+parseInt(_0x4ffc35(0x1d4))/0x9+-parseInt(_0x4ffc35(0x1e1))/0xa*(parseInt(_0x4ffc35(0x1cd))/0xb);if(_0x1b1851===_0x252df6)break;else _0x1ce2b1['push'](_0x1ce2b1['shift']());}catch(_0x24deb8){_0x1ce2b1['push'](_0x1ce2b1['shift']());}}}(_0x47e0,0x8f407));import{AIChatFeedItemView as _0x45a7b5}from'./aichatfeeditemview.js';function _0x47e0(){const _0xa524df=['replyContainer','7284qbOckF','streaming','children','updateContent','addMany','6416136bXKqPu','1540512LMSpAQ','div','setTemplate','isVisible','streamIntoElement','40joUDIJ','ck-reset_all-excluded','render','map','618823MUblyH','2aMJiQO','add','1822610puJxfk','initialContent','extendTemplate','static','1545152sYtXuP','options','updateSources','ck-ai-chat__feed__ai-reply-container','5478000PYqWQy','innerHTML','markAsDone','ck-ai-chat__feed__ai-reply','138fhuinb','locale','element','66Rrqban'];_0x47e0=function(){return _0xa524df;};return _0x47e0();}import{parse as _0x1d626e,render as _0xdd6c0e}from'../../../aicore/utils/htmlparser.js';function _0x219e(_0x58486e,_0x36747f){const _0x47e0e8=_0x47e0();return _0x219e=function(_0x219e22,_0x247dcc){_0x219e22=_0x219e22-0x1ca;let _0x5ade89=_0x47e0e8[_0x219e22];return _0x5ade89;},_0x219e(_0x58486e,_0x36747f);}import{View as _0x264fd0}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2ef499,AIWebSourceView as _0x43d049}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x45a7b5{[_0x579421(0x1ce)];constructor(_0x23798b,_0x2f15cc){const _0x500849=_0x579421;super(_0x2f15cc),this[_0x500849(0x1cb)]=_0x23798b,this[_0x500849(0x1e3)]({'attributes':{'class':[_0x500849(0x1ec)]}}),this[_0x500849(0x1ce)]=new _0x264fd0(),this[_0x500849(0x1ce)][_0x500849(0x1d7)]({'tag':_0x500849(0x1d6),'attributes':{'class':['ck',_0x500849(0x1db),_0x500849(0x1e8)]}}),this[_0x500849(0x1d1)][_0x500849(0x1e0)](this[_0x500849(0x1ce)]);}async[_0x579421(0x1dc)](){const _0x437389=_0x579421;super[_0x437389(0x1dc)](),this[_0x437389(0x1e6)][_0x437389(0x1e2)]&&(await this[_0x437389(0x1d2)]({'parsedContent':_0x1d626e(this[_0x437389(0x1e6)][_0x437389(0x1e2)]),'renderingStrategy':_0x437389(0x1e4)}),this[_0x437389(0x1eb)]());}async[_0x579421(0x1d2)]({parsedContent:_0x35205d,renderingStrategy:_0x250b6a,abortSignal:_0xc30a2c}){const _0x3d5a84=_0x579421;_0x3d5a84(0x1d0)===_0x250b6a?await this[_0x3d5a84(0x1d9)](_0x35205d,this[_0x3d5a84(0x1ce)][_0x3d5a84(0x1cc)],_0xc30a2c):this[_0x3d5a84(0x1ce)][_0x3d5a84(0x1cc)][_0x3d5a84(0x1ea)]=_0xdd6c0e(_0x35205d);}[_0x579421(0x1e7)](_0x30166a){const _0x3a3b65=_0x579421,_0x1a73be=new _0x2ef499(this[_0x3a3b65(0x1cb)]);_0x1a73be[_0x3a3b65(0x1d1)][_0x3a3b65(0x1d3)](_0x30166a[_0x3a3b65(0x1dd)](_0x433d96=>new _0x43d049(this[_0x3a3b65(0x1cb)],_0x433d96))),_0x1a73be[_0x3a3b65(0x1d8)]=!0x0,this[_0x3a3b65(0x1d1)][_0x3a3b65(0x1e0)](_0x1a73be);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x189f(_0x1ede61,_0x9f7ecc){const _0x339c41=_0x339c();return _0x189f=function(_0x189f71,_0x103b07){_0x189f71=_0x189f71-0x75;let _0x101de0=_0x339c41[_0x189f71];return _0x101de0;},_0x189f(_0x1ede61,_0x9f7ecc);}function _0x339c(){const _0xfef07e=['showChangeInTextModel','ck-ai-chat__feed__ai-suggestion__actions\x20','insertSuggestion','change:isTrackChangesOn','isTrackChangesOn','attachToDom','button','slice','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','5URLQCj','tooltip','width','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','bind','_createActionsButton','div','_dropdownCurrentConfig','pin','_dropdownOriginalConfig','_firstRender','delegate','ck-hidden','bodyCollection','execute','children','filter','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','arrowless','open','791oGijdx','_updateDropdownActions','map','esc','listenTo','632109HJZWSP','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_partsCount','keystrokeHandler','label','listView','actionsButton','uiLanguageDirection','keys','6375048yFyvpW','setTemplate','createCollection','10555272xfORlz','applySuggestionModel','97624mHQcjp','hide','listItemModels','isEnabled','add','has','ck-ai-button-primary','590942TXyZOA','bottom','class','locale','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','balloonPanelView','actionName','isVisible','left','showChangeInText','fire','unbind','detachFromDom','remove','ck-ai-chat__feed__ai-suggestion__actions','updateLabels','applySuggestion','items','2lkHnlA','arrowView','ck-ai-chat__feed__ai-suggestion__actions--no-animation','ck-ai-chat__feed__ai-suggestion__actions__balloon','length','bindTemplate','balloonPanelClass','element','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','content','2268212qgyzlM','destroy','_setUpList','_setUpKeystrokes','9299750zSOVgn','set','insertSuggestionModel','focus','_createActionsDropdownOrButton','ltr','_createActionsDropdown','source'];_0x339c=function(){return _0xfef07e;};return _0x339c();}const _0x368292=_0x189f;(function(_0x2a1423,_0x595332){const _0x5353a2=_0x189f,_0x11462c=_0x2a1423();while(!![]){try{const _0x1de827=-parseInt(_0x5353a2(0x80))/0x1*(-parseInt(_0x5353a2(0x92))/0x2)+parseInt(_0x5353a2(0xcb))/0x3+parseInt(_0x5353a2(0x9c))/0x4+parseInt(_0x5353a2(0xb1))/0x5*(parseInt(_0x5353a2(0xd4))/0x6)+-parseInt(_0x5353a2(0xc6))/0x7*(parseInt(_0x5353a2(0x79))/0x8)+-parseInt(_0x5353a2(0x77))/0x9+parseInt(_0x5353a2(0xa0))/0xa;if(_0x1de827===_0x595332)break;else _0x11462c['push'](_0x11462c['shift']());}catch(_0x7b60bb){_0x11462c['push'](_0x11462c['shift']());}}}(_0x339c,0xc59da));import{KeystrokeHandler as _0xddb4bf}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x4f77eb,BodyCollection as _0x40287d,ButtonView as _0x4bee76,clickOutsideHandler as _0x376b02,ListItemButtonView as _0x3cffbb,ListItemView as _0x208ad0,ListView as _0x3f04bf,SplitButtonView as _0x3a22ef,UIModel as _0x3e295b,View as _0x1c80b6}from'ckeditor5/src/ui.js';import{IconCheck as _0x34187d,IconAddComment as _0x15cb56,IconDocumentWithLoupe as _0x4c3cd6}from'ckeditor5/src/icons.js';import{getTranslation as _0x2d9d15}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x368292(0x90),_0x368292(0xaa),_0x368292(0x89)];export class AIChatFeedSuggestionItemActionsView extends _0x1c80b6{[_0x368292(0xd1)];[_0x368292(0xc1)];[_0x368292(0x78)];[_0x368292(0xa8)];[_0x368292(0xa2)];[_0x368292(0xcd)]=0x1;[_0x368292(0xbb)];[_0x368292(0xb9)];[_0x368292(0xbc)]=!0x0;constructor(_0x21bdb1,_0x372aae){const _0x3a652e=_0x368292;super(_0x21bdb1),this[_0x3a652e(0xbb)]=_0x372aae||[...AI_REPLY_ACTIONS],this[_0x3a652e(0xb9)]=[...this[_0x3a652e(0xbb)]];const _0x39330a=this[_0x3a652e(0x97)];this[_0x3a652e(0xa1)](_0x3a652e(0x7c),!0x0),this[_0x3a652e(0xa1)](_0x3a652e(0x87),!0x0),this[_0x3a652e(0xa1)](_0x3a652e(0xac),!0x1),this[_0x3a652e(0x78)]=new _0x3e295b({'label':Un(_0x3a652e(0x90),_0x21bdb1,this[_0x3a652e(0xcd)]),'icon':_0x34187d,'withText':!0x0,'type':_0x3a652e(0xae),'actionName':_0x3a652e(0x90)}),this[_0x3a652e(0xa8)]=new _0x3e295b({'label':Un(_0x3a652e(0x89),_0x21bdb1,this[_0x3a652e(0xcd)]),'icon':_0x4c3cd6,'withText':!0x0,'type':_0x3a652e(0xae),'actionName':_0x3a652e(0x89)}),this[_0x3a652e(0xa2)]=new _0x3e295b({'label':Un(_0x3a652e(0xaa),_0x21bdb1,this[_0x3a652e(0xcd)]),'icon':_0x15cb56,'withText':!0x0,'type':_0x3a652e(0xae),'actionName':_0x3a652e(0xaa)}),this[_0x3a652e(0xd1)]=this[_0x3a652e(0xa4)](_0x21bdb1),this[_0x3a652e(0xc1)]=this[_0x3a652e(0x76)](),this[_0x3a652e(0xd1)]&&this[_0x3a652e(0xc1)][_0x3a652e(0x7d)](this[_0x3a652e(0xd1)]),this[_0x3a652e(0x75)]({'tag':_0x3a652e(0xb8),'attributes':{'class':['ck',_0x3a652e(0x8e),_0x39330a['if'](_0x3a652e(0x87),_0x3a652e(0xbe),_0x21d62f=>!_0x21d62f)]},'children':this[_0x3a652e(0xc1)]}),this['on'](_0x3a652e(0xab),()=>{const _0x1a2292=_0x3a652e;this[_0x1a2292(0xb9)]=this[_0x1a2292(0xac)]?this[_0x1a2292(0xbb)][_0x1a2292(0xc2)](_0x29e4ff=>_0x1a2292(0x90)!==_0x29e4ff):[...this[_0x1a2292(0xbb)]],this[_0x1a2292(0xc7)](_0x21bdb1);});}[_0x368292(0xc7)](_0x3f85a5){const _0x7599e7=_0x368292;this[_0x7599e7(0xd1)]&&this[_0x7599e7(0xc1)][_0x7599e7(0x7e)](this[_0x7599e7(0xd1)])&&(this[_0x7599e7(0xc1)][_0x7599e7(0x8d)](this[_0x7599e7(0xd1)]),this[_0x7599e7(0xd1)][_0x7599e7(0x9d)]()),this[_0x7599e7(0xd1)]=this[_0x7599e7(0xa4)](_0x3f85a5),this[_0x7599e7(0xd1)]&&this[_0x7599e7(0xc1)][_0x7599e7(0x7d)](this[_0x7599e7(0xd1)]);}[_0x368292(0xa4)](_0xbbf8fa){const _0x48451e=_0x368292;if(0x0==this[_0x48451e(0xb9)][_0x48451e(0x96)])return null;const _0x1cc0a7=0x1===this[_0x48451e(0xb9)][_0x48451e(0x96)]?this[_0x48451e(0xb7)](_0xbbf8fa):this[_0x48451e(0xa6)](_0xbbf8fa),_0x525360=this[_0x48451e(0xbc)]?'':_0x48451e(0x94);_0x1cc0a7[_0x48451e(0xa1)]({'label':Un(this[_0x48451e(0xb9)][0x0],_0xbbf8fa,this[_0x48451e(0xcd)]),'tooltip':Rn(this[_0x48451e(0xb9)][0x0],_0xbbf8fa,this[_0x48451e(0xcd)]),'withText':!0x0,'class':_0x48451e(0xa9)+_0x525360});for(const _0x1c1136 of this[_0x48451e(0xb9)])_0x1cc0a7['on'](_0x1c1136,()=>{const _0x317a85=_0x48451e;this[_0x317a85(0x8a)](_0x1c1136);});return this[_0x48451e(0xbc)]=!0x1,_0x1cc0a7;}[_0x368292(0xb7)](_0x3f4351){const _0x1b1b27=_0x368292,_0x3650a9=new _0x4bee76(_0x3f4351);return _0x3650a9[_0x1b1b27(0xa1)]({'class':_0x1b1b27(0x7f),'withText':!0x0}),_0x3650a9['on'](_0x1b1b27(0xc0),()=>{const _0x30f838=_0x1b1b27;_0x3650a9[_0x30f838(0x8a)](this[_0x30f838(0xb9)][0x0]);}),_0x3650a9;}[_0x368292(0xa6)](_0x13333d){const _0x1bf679=_0x368292,_0x56b022=new Pn(_0x13333d,{'listItemModels':this[_0x1bf679(0xb9)][_0x1bf679(0xc8)](_0x1533a7=>{const _0x45a5d6=_0x1bf679;switch(_0x1533a7){case _0x45a5d6(0x90):return this[_0x45a5d6(0x78)];case _0x45a5d6(0x89):return this[_0x45a5d6(0xa8)];case _0x45a5d6(0xaa):return this[_0x45a5d6(0xa2)];}})});return _0x56b022[_0x1bf679(0xa1)]({'label':Un(this[_0x1bf679(0xb9)][0x0],_0x13333d,this[_0x1bf679(0xcd)]),'tooltip':Rn(this[_0x1bf679(0xb9)][0x0],_0x13333d,this[_0x1bf679(0xcd)]),'withText':!0x0,'class':_0x1bf679(0x8e),'balloonPanelClass':_0x1bf679(0x95)}),_0x56b022[_0x1bf679(0xb6)](_0x1bf679(0x7c))['to'](this),_0x56b022;}[_0x368292(0x8f)](_0x358095){const _0x213712=_0x368292,_0x3739b2=this[_0x213712(0x83)];this[_0x213712(0xcd)]=_0x358095||this[_0x213712(0xcd)],this[_0x213712(0xd1)][_0x213712(0xa1)]({'label':Un(this[_0x213712(0xb9)][0x0],_0x3739b2,this[_0x213712(0xcd)]),'tooltip':Rn(this[_0x213712(0xb9)][0x0],_0x3739b2,this[_0x213712(0xcd)])}),this[_0x213712(0x78)][_0x213712(0xcf)]=Un(_0x213712(0x90),_0x3739b2,this[_0x213712(0xcd)]),this[_0x213712(0xa8)][_0x213712(0xcf)]=Un(_0x213712(0x89),_0x3739b2,this[_0x213712(0xcd)]),this[_0x213712(0xa2)][_0x213712(0xcf)]=Un(_0x213712(0xaa),_0x3739b2,this[_0x213712(0xcd)]);}}class Pn extends _0x3a22ef{[_0x368292(0xbf)];[_0x368292(0x85)];[_0x368292(0xd0)];[_0x368292(0xce)];constructor(_0x57c7e3,_0x4eedf3){const _0x1380b9=_0x368292;super(_0x57c7e3),this[_0x1380b9(0x85)]=new _0x4f77eb(this[_0x1380b9(0x83)]),this[_0x1380b9(0xbf)]=new _0x40287d(this[_0x1380b9(0x83)]),this[_0x1380b9(0xbf)][_0x1380b9(0xad)](),this[_0x1380b9(0xa1)](_0x1380b9(0x98),''),this[_0x1380b9(0x85)][_0x1380b9(0xb6)](_0x1380b9(0x82))['to'](this,_0x1380b9(0x98)),this[_0x1380b9(0xd0)]=this[_0x1380b9(0x9e)](_0x4eedf3[_0x1380b9(0x7b)][_0x1380b9(0xaf)](0x1)),this[_0x1380b9(0xbf)][_0x1380b9(0x7d)](this[_0x1380b9(0x85)]),this[_0x1380b9(0x85)][_0x1380b9(0x9b)][_0x1380b9(0x7d)](this[_0x1380b9(0xd0)]),this[_0x1380b9(0x93)][_0x1380b9(0x8b)](_0x1380b9(0xb2)),this[_0x1380b9(0x93)][_0x1380b9(0xa1)](_0x1380b9(0xb2),_0x2d9d15(this[_0x1380b9(0x83)],_0x1380b9(0xb4))),this[_0x1380b9(0x9f)](),this['on'](_0x1380b9(0xc0),()=>{const _0x4573cf=_0x1380b9,_0x55997c=_0x4eedf3[_0x4573cf(0x7b)][0x0][_0x4573cf(0x86)];this[_0x4573cf(0x8a)](_0x55997c),this[_0x4573cf(0x85)][_0x4573cf(0x7a)](),this[_0x4573cf(0x93)][_0x4573cf(0xa3)]();}),this['on'](_0x1380b9(0xc5),()=>{const _0xc03237=_0x1380b9;this[_0xc03237(0x85)][_0xc03237(0x87)]?(this[_0xc03237(0x85)][_0xc03237(0x7a)](),this[_0xc03237(0x93)][_0xc03237(0xa3)]()):(this[_0xc03237(0x85)][_0xc03237(0xba)]({'target':this[_0xc03237(0x99)],'positions':[_0xc03237(0xa5)===this[_0xc03237(0x83)][_0xc03237(0xd2)]?Hn:Ln]}),this[_0xc03237(0xd0)][_0xc03237(0xa3)]());}),_0x376b02({'emitter':this[_0x1380b9(0x85)],'callback':()=>{const _0x4329bf=_0x1380b9;this[_0x4329bf(0x85)][_0x4329bf(0x7a)]();},'activator':()=>this[_0x1380b9(0x85)][_0x1380b9(0x87)],'contextElements':()=>[this[_0x1380b9(0x99)],this[_0x1380b9(0x85)][_0x1380b9(0x99)]]});}[_0x368292(0x9e)](_0x5360a2){const _0x220f30=_0x368292,_0x34e4c9=this[_0x220f30(0x83)],_0x2de37a=new _0x3f04bf(_0x34e4c9);for(const _0x41cfa1 of _0x5360a2){const _0x23df5e=new _0x208ad0(_0x34e4c9),_0x5249bf=new _0x3cffbb(_0x34e4c9);_0x5249bf[_0x220f30(0xb6)](...Object[_0x220f30(0xd3)](_0x41cfa1))['to'](_0x41cfa1),_0x5249bf[_0x220f30(0xbd)](_0x220f30(0xc0))['to'](_0x2de37a),_0x23df5e[_0x220f30(0xc1)][_0x220f30(0x7d)](_0x5249bf),_0x2de37a[_0x220f30(0x91)][_0x220f30(0x7d)](_0x23df5e);}return _0x2de37a[_0x220f30(0x91)][_0x220f30(0xbd)](_0x220f30(0xc0))['to'](this),_0x2de37a['on'](_0x220f30(0xc0),_0x1da866=>{const _0x1be8e1=_0x220f30,_0x3a7743=_0x1da866[_0x1be8e1(0xa7)];this[_0x1be8e1(0x8a)](_0x3a7743[_0x1be8e1(0x86)]),this[_0x1be8e1(0x85)][_0x1be8e1(0x7a)](),this[_0x1be8e1(0x93)][_0x1be8e1(0xa3)]();}),_0x2de37a;}[_0x368292(0x9f)](){const _0x254946=_0x368292;this[_0x254946(0xce)]=new _0xddb4bf(),this[_0x254946(0xce)][_0x254946(0xca)](this[_0x254946(0x85)][_0x254946(0x99)]),this[_0x254946(0xce)][_0x254946(0xa1)](_0x254946(0xc9),(_0x43da3d,_0x40459e)=>{const _0x35d8e2=_0x254946;this[_0x35d8e2(0x85)][_0x35d8e2(0x7a)](),this[_0x35d8e2(0x93)][_0x35d8e2(0xa3)](),_0x40459e();});}[_0x368292(0x9d)](){const _0x4893a7=_0x368292;super[_0x4893a7(0x9d)](),this[_0x4893a7(0xce)][_0x4893a7(0x9d)](),this[_0x4893a7(0x85)][_0x4893a7(0x9d)](),this[_0x4893a7(0xbf)][_0x4893a7(0x8c)]();}}function Hn(_0x486c75){const _0x57a598=_0x368292;return{'top':_0x486c75[_0x57a598(0x81)],'left':_0x486c75[_0x57a598(0x88)],'name':_0x57a598(0xc4),'config':{'withArrow':!0x1}};}function Ln(_0x2da545,_0x17a092){const _0x1ddba1=_0x368292;return{'top':_0x2da545[_0x1ddba1(0x81)],'left':_0x2da545[_0x1ddba1(0x88)]-(_0x17a092[_0x1ddba1(0xb3)]-_0x2da545[_0x1ddba1(0xb3)]),'name':_0x1ddba1(0xc4),'config':{'withArrow':!0x1}};}function Un(_0x2f14f4,_0x27fb43,_0x4a0714){const _0x449f90=_0x368292;switch(_0x2f14f4){case _0x449f90(0x90):return _0x2d9d15(_0x27fb43,_0x449f90(0x9a),_0x4a0714);case _0x449f90(0x89):return _0x2d9d15(_0x27fb43,_0x449f90(0xc3),_0x4a0714);case _0x449f90(0xaa):return _0x2d9d15(_0x27fb43,_0x449f90(0xb0),_0x4a0714);}}function Rn(_0x325be0,_0x4e7716,_0x23088c){const _0x337d0a=_0x368292;switch(_0x325be0){case _0x337d0a(0x90):return _0x2d9d15(_0x4e7716,_0x337d0a(0x84),_0x23088c);case _0x337d0a(0x89):return _0x2d9d15(_0x4e7716,_0x337d0a(0xcc),_0x23088c);case _0x337d0a(0xaa):return _0x2d9d15(_0x4e7716,_0x337d0a(0xb5),_0x23088c);}}
|
|
23
|
+
const _0x55aaf2=_0x13a4;(function(_0x44cdb1,_0x32cb3f){const _0x695adf=_0x13a4,_0x58b685=_0x44cdb1();while(!![]){try{const _0x282141=-parseInt(_0x695adf(0x1b5))/0x1+parseInt(_0x695adf(0x1ce))/0x2*(-parseInt(_0x695adf(0x1a0))/0x3)+parseInt(_0x695adf(0x1ad))/0x4+-parseInt(_0x695adf(0x188))/0x5*(-parseInt(_0x695adf(0x1d8))/0x6)+-parseInt(_0x695adf(0x1c0))/0x7*(-parseInt(_0x695adf(0x1bf))/0x8)+-parseInt(_0x695adf(0x1dc))/0x9+parseInt(_0x695adf(0x1d9))/0xa;if(_0x282141===_0x32cb3f)break;else _0x58b685['push'](_0x58b685['shift']());}catch(_0x15f59b){_0x58b685['push'](_0x58b685['shift']());}}}(_0x4b55,0xe994d));import{KeystrokeHandler as _0x40515f}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x43c198,BodyCollection as _0x254715,ButtonView as _0x1e0813,clickOutsideHandler as _0x2a1772,ListItemButtonView as _0x56a50b,ListItemView as _0x52d716,ListView as _0xd0cc2f,SplitButtonView as _0x419569,UIModel as _0x52fb30,View as _0x2712de}from'ckeditor5/src/ui.js';function _0x13a4(_0x3680c1,_0x431c28){const _0x4b5501=_0x4b55();return _0x13a4=function(_0x13a4e8,_0x4f2d8f){_0x13a4e8=_0x13a4e8-0x17f;let _0x29188f=_0x4b5501[_0x13a4e8];return _0x29188f;},_0x13a4(_0x3680c1,_0x431c28);}import{IconCheck as _0x25713f,IconAddComment as _0x4c6228,IconDocumentWithLoupe as _0x3ca25e}from'ckeditor5/src/icons.js';import{getTranslation as _0x8563d5}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x55aaf2(0x19e),_0x55aaf2(0x1a3),_0x55aaf2(0x19d)];export class AIChatFeedSuggestionItemActionsView extends _0x2712de{[_0x55aaf2(0x1ac)];[_0x55aaf2(0x1a4)];[_0x55aaf2(0x181)];[_0x55aaf2(0x1b1)];[_0x55aaf2(0x1d1)];[_0x55aaf2(0x1b6)]=0x1;[_0x55aaf2(0x1c7)];[_0x55aaf2(0x197)];[_0x55aaf2(0x1c5)]=!0x0;constructor(_0x39a270,_0xc32c82){const _0x56df3c=_0x55aaf2;super(_0x39a270),this[_0x56df3c(0x1c7)]=_0xc32c82||[...AI_REPLY_ACTIONS],this[_0x56df3c(0x197)]=[...this[_0x56df3c(0x1c7)]];const _0x11f87f=this[_0x56df3c(0x1c3)];this[_0x56df3c(0x1be)](_0x56df3c(0x1d6),!0x0),this[_0x56df3c(0x1be)](_0x56df3c(0x180),!0x0),this[_0x56df3c(0x1be)](_0x56df3c(0x1cb),!0x1),this[_0x56df3c(0x181)]=new _0x52fb30({'label':Sn(_0x56df3c(0x19e),_0x39a270,this[_0x56df3c(0x1b6)]),'icon':_0x25713f,'withText':!0x0,'type':_0x56df3c(0x1c2),'actionName':_0x56df3c(0x19e)}),this[_0x56df3c(0x1b1)]=new _0x52fb30({'label':Sn(_0x56df3c(0x19d),_0x39a270,this[_0x56df3c(0x1b6)]),'icon':_0x3ca25e,'withText':!0x0,'type':_0x56df3c(0x1c2),'actionName':_0x56df3c(0x19d)}),this[_0x56df3c(0x1d1)]=new _0x52fb30({'label':Sn(_0x56df3c(0x1a3),_0x39a270,this[_0x56df3c(0x1b6)]),'icon':_0x4c6228,'withText':!0x0,'type':_0x56df3c(0x1c2),'actionName':_0x56df3c(0x1a3)}),this[_0x56df3c(0x1ac)]=this[_0x56df3c(0x1bb)](_0x39a270),this[_0x56df3c(0x1a4)]=this[_0x56df3c(0x186)](),this[_0x56df3c(0x1ac)]&&this[_0x56df3c(0x1a4)][_0x56df3c(0x1b3)](this[_0x56df3c(0x1ac)]),this[_0x56df3c(0x18a)]({'tag':_0x56df3c(0x184),'attributes':{'class':['ck',_0x56df3c(0x1ab),_0x11f87f['if'](_0x56df3c(0x180),_0x56df3c(0x1c8),_0x1e146f=>!_0x1e146f)]},'children':this[_0x56df3c(0x1a4)]}),this['on'](_0x56df3c(0x1aa),()=>{const _0x9a6f0=_0x56df3c;this[_0x9a6f0(0x197)]=this[_0x9a6f0(0x1cb)]?this[_0x9a6f0(0x1c7)][_0x9a6f0(0x1c6)](_0x3967a8=>_0x9a6f0(0x19e)!==_0x3967a8):[...this[_0x9a6f0(0x1c7)]],this[_0x9a6f0(0x1b4)](_0x39a270);});}[_0x55aaf2(0x1b4)](_0x34e803){const _0x1dfed6=_0x55aaf2;this[_0x1dfed6(0x1ac)]&&this[_0x1dfed6(0x1a4)][_0x1dfed6(0x1a8)](this[_0x1dfed6(0x1ac)])&&(this[_0x1dfed6(0x1a4)][_0x1dfed6(0x1d4)](this[_0x1dfed6(0x1ac)]),this[_0x1dfed6(0x1ac)][_0x1dfed6(0x1b8)]()),this[_0x1dfed6(0x1ac)]=this[_0x1dfed6(0x1bb)](_0x34e803),this[_0x1dfed6(0x1ac)]&&this[_0x1dfed6(0x1a4)][_0x1dfed6(0x1b3)](this[_0x1dfed6(0x1ac)]);}[_0x55aaf2(0x1bb)](_0x42dcc0){const _0x24f1c9=_0x55aaf2;if(0x0==this[_0x24f1c9(0x197)][_0x24f1c9(0x19a)])return null;const _0x43d1aa=0x1===this[_0x24f1c9(0x197)][_0x24f1c9(0x19a)]?this[_0x24f1c9(0x191)](_0x42dcc0):this[_0x24f1c9(0x17f)](_0x42dcc0),_0x4f238a=this[_0x24f1c9(0x1c5)]?'':_0x24f1c9(0x1b9);_0x43d1aa[_0x24f1c9(0x1be)]({'label':Sn(this[_0x24f1c9(0x197)][0x0],_0x42dcc0,this[_0x24f1c9(0x1b6)]),'tooltip':wn(this[_0x24f1c9(0x197)][0x0],_0x42dcc0,this[_0x24f1c9(0x1b6)]),'withText':!0x0,'class':_0x24f1c9(0x18d)+_0x4f238a});for(const _0x2c825a of this[_0x24f1c9(0x197)])_0x43d1aa['on'](_0x2c825a,()=>{const _0x40d1a0=_0x24f1c9;this[_0x40d1a0(0x194)](_0x2c825a);});return this[_0x24f1c9(0x1c5)]=!0x1,_0x43d1aa;}[_0x55aaf2(0x191)](_0x13135a){const _0xb99a8=_0x55aaf2,_0x1a8855=new _0x1e0813(_0x13135a);return _0x1a8855[_0xb99a8(0x1be)]({'class':_0xb99a8(0x1c1),'withText':!0x0}),_0x1a8855['on'](_0xb99a8(0x185),()=>{const _0x1c00a9=_0xb99a8;_0x1a8855[_0x1c00a9(0x194)](this[_0x1c00a9(0x197)][0x0]);}),_0x1a8855;}[_0x55aaf2(0x17f)](_0x4f98eb){const _0x8ae6eb=_0x55aaf2,_0x237505=new Tn(_0x4f98eb,{'listItemModels':this[_0x8ae6eb(0x197)][_0x8ae6eb(0x1db)](_0x1c119c=>{const _0x1016cb=_0x8ae6eb;switch(_0x1c119c){case _0x1016cb(0x19e):return this[_0x1016cb(0x181)];case _0x1016cb(0x19d):return this[_0x1016cb(0x1b1)];case _0x1016cb(0x1a3):return this[_0x1016cb(0x1d1)];}})});return _0x237505[_0x8ae6eb(0x1be)]({'label':Sn(this[_0x8ae6eb(0x197)][0x0],_0x4f98eb,this[_0x8ae6eb(0x1b6)]),'tooltip':wn(this[_0x8ae6eb(0x197)][0x0],_0x4f98eb,this[_0x8ae6eb(0x1b6)]),'withText':!0x0,'class':_0x8ae6eb(0x1ab),'balloonPanelClass':_0x8ae6eb(0x1d5)}),_0x237505[_0x8ae6eb(0x1c9)](_0x8ae6eb(0x1d6))['to'](this),_0x237505;}[_0x55aaf2(0x190)](_0x5362b6){const _0x1e2b9b=_0x55aaf2,_0x20f7c2=this[_0x1e2b9b(0x1a1)];this[_0x1e2b9b(0x1b6)]=_0x5362b6||this[_0x1e2b9b(0x1b6)],this[_0x1e2b9b(0x1ac)][_0x1e2b9b(0x1be)]({'label':Sn(this[_0x1e2b9b(0x197)][0x0],_0x20f7c2,this[_0x1e2b9b(0x1b6)]),'tooltip':wn(this[_0x1e2b9b(0x197)][0x0],_0x20f7c2,this[_0x1e2b9b(0x1b6)])}),this[_0x1e2b9b(0x181)][_0x1e2b9b(0x1bc)]=Sn(_0x1e2b9b(0x19e),_0x20f7c2,this[_0x1e2b9b(0x1b6)]),this[_0x1e2b9b(0x1b1)][_0x1e2b9b(0x1bc)]=Sn(_0x1e2b9b(0x19d),_0x20f7c2,this[_0x1e2b9b(0x1b6)]),this[_0x1e2b9b(0x1d1)][_0x1e2b9b(0x1bc)]=Sn(_0x1e2b9b(0x1a3),_0x20f7c2,this[_0x1e2b9b(0x1b6)]);}}class Tn extends _0x419569{[_0x55aaf2(0x1cd)];[_0x55aaf2(0x195)];[_0x55aaf2(0x1d0)];[_0x55aaf2(0x182)];constructor(_0x43fa0e,_0x3b94e8){const _0x2ed8a8=_0x55aaf2;super(_0x43fa0e),this[_0x2ed8a8(0x195)]=new _0x43c198(this[_0x2ed8a8(0x1a1)]),this[_0x2ed8a8(0x1cd)]=new _0x254715(this[_0x2ed8a8(0x1a1)]),this[_0x2ed8a8(0x1cd)][_0x2ed8a8(0x1af)](),this[_0x2ed8a8(0x1be)](_0x2ed8a8(0x1a5),''),this[_0x2ed8a8(0x195)][_0x2ed8a8(0x1c9)](_0x2ed8a8(0x192))['to'](this,_0x2ed8a8(0x1a5)),this[_0x2ed8a8(0x1d0)]=this[_0x2ed8a8(0x18f)](_0x3b94e8[_0x2ed8a8(0x189)][_0x2ed8a8(0x1dd)](0x1)),this[_0x2ed8a8(0x1cd)][_0x2ed8a8(0x1b3)](this[_0x2ed8a8(0x195)]),this[_0x2ed8a8(0x195)][_0x2ed8a8(0x1b0)][_0x2ed8a8(0x1b3)](this[_0x2ed8a8(0x1d0)]),this[_0x2ed8a8(0x198)][_0x2ed8a8(0x1a2)](_0x2ed8a8(0x199)),this[_0x2ed8a8(0x198)][_0x2ed8a8(0x1be)](_0x2ed8a8(0x199),_0x8563d5(this[_0x2ed8a8(0x1a1)],_0x2ed8a8(0x1cf))),this[_0x2ed8a8(0x1a6)](),this['on'](_0x2ed8a8(0x185),()=>{const _0x37985c=_0x2ed8a8,_0x3eea9e=_0x3b94e8[_0x37985c(0x189)][0x0][_0x37985c(0x1de)];this[_0x37985c(0x194)](_0x3eea9e),this[_0x37985c(0x195)][_0x37985c(0x1ae)](),this[_0x37985c(0x198)][_0x37985c(0x18c)]();}),this['on'](_0x2ed8a8(0x1bd),()=>{const _0xde6b74=_0x2ed8a8;this[_0xde6b74(0x195)][_0xde6b74(0x180)]?(this[_0xde6b74(0x195)][_0xde6b74(0x1ae)](),this[_0xde6b74(0x198)][_0xde6b74(0x18c)]()):(this[_0xde6b74(0x195)][_0xde6b74(0x1d3)]({'target':this[_0xde6b74(0x1cc)],'positions':[_0xde6b74(0x19b)===this[_0xde6b74(0x1a1)][_0xde6b74(0x19c)]?pn:In]}),this[_0xde6b74(0x1d0)][_0xde6b74(0x18c)]());}),_0x2a1772({'emitter':this[_0x2ed8a8(0x195)],'callback':()=>{const _0x43b505=_0x2ed8a8;this[_0x43b505(0x195)][_0x43b505(0x1ae)]();},'activator':()=>this[_0x2ed8a8(0x195)][_0x2ed8a8(0x180)],'contextElements':()=>[this[_0x2ed8a8(0x1cc)],this[_0x2ed8a8(0x195)][_0x2ed8a8(0x1cc)]]});}[_0x55aaf2(0x18f)](_0x2edefc){const _0x534b79=_0x55aaf2,_0x15fb4c=this[_0x534b79(0x1a1)],_0x2f8587=new _0xd0cc2f(_0x15fb4c);for(const _0xd61be of _0x2edefc){const _0x27ec00=new _0x52d716(_0x15fb4c),_0x4fa34b=new _0x56a50b(_0x15fb4c);_0x4fa34b[_0x534b79(0x1c9)](...Object[_0x534b79(0x18e)](_0xd61be))['to'](_0xd61be),_0x4fa34b[_0x534b79(0x1c4)](_0x534b79(0x185))['to'](_0x2f8587),_0x27ec00[_0x534b79(0x1a4)][_0x534b79(0x1b3)](_0x4fa34b),_0x2f8587[_0x534b79(0x1a7)][_0x534b79(0x1b3)](_0x27ec00);}return _0x2f8587[_0x534b79(0x1a7)][_0x534b79(0x1c4)](_0x534b79(0x185))['to'](this),_0x2f8587['on'](_0x534b79(0x185),_0x5c7ce5=>{const _0x210efe=_0x534b79,_0x359c54=_0x5c7ce5[_0x210efe(0x1ca)];this[_0x210efe(0x194)](_0x359c54[_0x210efe(0x1de)]),this[_0x210efe(0x195)][_0x210efe(0x1ae)](),this[_0x210efe(0x198)][_0x210efe(0x18c)]();}),_0x2f8587;}[_0x55aaf2(0x1a6)](){const _0x38365c=_0x55aaf2;this[_0x38365c(0x182)]=new _0x40515f(),this[_0x38365c(0x182)][_0x38365c(0x1d7)](this[_0x38365c(0x195)][_0x38365c(0x1cc)]),this[_0x38365c(0x182)][_0x38365c(0x1be)](_0x38365c(0x196),(_0x127d38,_0x368908)=>{const _0x28eeb1=_0x38365c;this[_0x28eeb1(0x195)][_0x28eeb1(0x1ae)](),this[_0x28eeb1(0x198)][_0x28eeb1(0x18c)](),_0x368908();});}[_0x55aaf2(0x1b8)](){const _0x263db6=_0x55aaf2;super[_0x263db6(0x1b8)](),this[_0x263db6(0x182)][_0x263db6(0x1b8)](),this[_0x263db6(0x195)][_0x263db6(0x1b8)](),this[_0x263db6(0x1cd)][_0x263db6(0x1b7)]();}}function pn(_0x409d2c){const _0x1dfa12=_0x55aaf2;return{'top':_0x409d2c[_0x1dfa12(0x19f)],'left':_0x409d2c[_0x1dfa12(0x183)],'name':_0x1dfa12(0x193),'config':{'withArrow':!0x1}};}function In(_0x26b82b,_0x17ca35){const _0x5b770b=_0x55aaf2;return{'top':_0x26b82b[_0x5b770b(0x19f)],'left':_0x26b82b[_0x5b770b(0x183)]-(_0x17ca35[_0x5b770b(0x1ba)]-_0x26b82b[_0x5b770b(0x1ba)]),'name':_0x5b770b(0x193),'config':{'withArrow':!0x1}};}function Sn(_0x47f10b,_0x47a243,_0x345771){const _0x962768=_0x55aaf2;switch(_0x47f10b){case _0x962768(0x19e):return _0x8563d5(_0x47a243,_0x962768(0x187),_0x345771);case _0x962768(0x19d):return _0x8563d5(_0x47a243,_0x962768(0x1a9),_0x345771);case _0x962768(0x1a3):return _0x8563d5(_0x47a243,_0x962768(0x1da),_0x345771);}}function _0x4b55(){const _0x15a396=['bind','source','isTrackChangesOn','element','bodyCollection','4hODbmy','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','listView','insertSuggestionModel','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','pin','remove','ck-ai-chat__feed__ai-suggestion__actions__balloon','isEnabled','listenTo','24NMMPjG','32653760yCKdrI','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','map','12214134SzGBWH','slice','actionName','_createActionsDropdown','isVisible','applySuggestionModel','keystrokeHandler','left','div','execute','createCollection','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','1545930JGXCVL','listItemModels','setTemplate','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','focus','ck-ai-chat__feed__ai-suggestion__actions\x20','keys','_setUpList','updateLabels','_createActionsButton','class','arrowless','fire','balloonPanelView','esc','_dropdownCurrentConfig','arrowView','tooltip','length','ltr','uiLanguageDirection','showChangeInText','applySuggestion','bottom','2651667TAwIOl','locale','unbind','insertSuggestion','children','balloonPanelClass','_setUpKeystrokes','items','has','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','change:isTrackChangesOn','ck-ai-chat__feed__ai-suggestion__actions','actionsButton','1823208lxROhW','hide','attachToDom','content','showChangeInTextModel','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','add','_updateDropdownActions','1216496LSRHZq','_partsCount','detachFromDom','destroy','ck-ai-chat__feed__ai-suggestion__actions--no-animation','width','_createActionsDropdownOrButton','label','open','set','24yvziww','793863qjTJbL','ck-ai-button-primary','button','bindTemplate','delegate','_firstRender','filter','_dropdownOriginalConfig','ck-hidden'];_0x4b55=function(){return _0x15a396;};return _0x4b55();}function wn(_0x3f907e,_0x157ad1,_0x255898){const _0x569404=_0x55aaf2;switch(_0x3f907e){case _0x569404(0x19e):return _0x8563d5(_0x157ad1,_0x569404(0x18b),_0x255898);case _0x569404(0x19d):return _0x8563d5(_0x157ad1,_0x569404(0x1b2),_0x255898);case _0x569404(0x1a3):return _0x8563d5(_0x157ad1,_0x569404(0x1d2),_0x255898);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x510eaa=_0x4f1f;(function(_0x2f356f,_0x27cc6f){var _0x2bcebf=_0x4f1f,_0x4d1fe2=_0x2f356f();while(!![]){try{var _0x1e4dc5=parseInt(_0x2bcebf(0xdd))/0x1*(-parseInt(_0x2bcebf(0xdf))/0x2)+parseInt(_0x2bcebf(0xed))/0x3+-parseInt(_0x2bcebf(0xd9))/0x4*(parseInt(_0x2bcebf(0xf6))/0x5)+parseInt(_0x2bcebf(0x100))/0x6+-parseInt(_0x2bcebf(0xd4))/0x7*(-parseInt(_0x2bcebf(0xe1))/0x8)+-parseInt(_0x2bcebf(0xf2))/0x9*(parseInt(_0x2bcebf(0xdb))/0xa)+-parseInt(_0x2bcebf(0xd6))/0xb*(parseInt(_0x2bcebf(0xfd))/0xc);if(_0x1e4dc5===_0x27cc6f)break;else _0x4d1fe2['push'](_0x4d1fe2['shift']());}catch(_0x51acc5){_0x4d1fe2['push'](_0x4d1fe2['shift']());}}}(_0x35c9,0xd471b));import{AIChatFeedItemView as _0x32b95b}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x2efd48}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x29cbff}from'./aichatfeedsuggestionitemactionsview.js';function _0x35c9(){var _0x343639=['toggleSuggestionDisplayMode','children','availableActions','updateLabels','12sdSPCc','mouseOverSuggestion','ck-ai-chat__feed__ai-suggestion','7635774wcdVUU','markAsDone','getPartView','1216222SCNvEw','insertSuggestion','13356926YaADju','containerView','updateContent','174100QghtyK','like','922770YheRGM','fire','427489JQsRfs','isEnabled','2KjwFWC','areActionsDisabled','80ezzUoz','partsCount','applySuggestion','addMany','bind','isVisible','updatePartState','extendTemplate','dislike','options','isTrackChangesOn','updateSources','1258140HEJlqz','mouseLeaveSuggestion','rejectSuggestion','hasPendingParts','set','81JBmDgA','actionsView','hasNonEmptyParts','bodyView','10ViQafG','showChangeInText','showDiff'];_0x35c9=function(){return _0x343639;};return _0x35c9();}function _0x4f1f(_0xdc1110,_0x3c31ed){var _0x35c986=_0x35c9();return _0x4f1f=function(_0x4f1f16,_0x441153){_0x4f1f16=_0x4f1f16-0xd4;var _0x4c6a3a=_0x35c986[_0x4f1f16];return _0x4c6a3a;},_0x4f1f(_0xdc1110,_0x3c31ed);}export class AIChatFeedSuggestionItemView extends _0x32b95b{[_0x510eaa(0xd7)];[_0x510eaa(0xf3)];constructor(_0x4ff2f2,_0x49087e){var _0x43f56d=_0x510eaa;super(_0x49087e),this[_0x43f56d(0xf1)](_0x43f56d(0xeb),!0x1),this[_0x43f56d(0xd7)]=new _0x2efd48(_0x4ff2f2,{'showDiff':_0x49087e[_0x43f56d(0xf8)],'areActionsDisabled':_0x49087e[_0x43f56d(0xe0)],'availableActions':_0x49087e[_0x43f56d(0xfb)]}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xf9),(_0x4549c2,_0x3369f0)=>{var _0x2a32ca=_0x43f56d;this[_0x2a32ca(0xdc)](_0x2a32ca(0xf9),{'replyId':this[_0x2a32ca(0xea)]['id'],'showDiff':_0x3369f0[_0x2a32ca(0xf8)]});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xda),()=>{var _0xffb3d7=_0x43f56d;this[_0xffb3d7(0xdc)](_0xffb3d7(0xda),{'replyId':this[_0xffb3d7(0xea)]['id']});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xe9),()=>{var _0x5bca0c=_0x43f56d;this[_0x5bca0c(0xdc)](_0x5bca0c(0xe9),{'replyId':this[_0x5bca0c(0xea)]['id']});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xf7),(_0x2cfa6b,{index:_0x252a28})=>{var _0x55d86c=_0x43f56d;this[_0x55d86c(0xdc)](_0x55d86c(0xf7),{'replyId':this[_0x55d86c(0xea)]['id'],'partIndex':_0x252a28});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xd5),(_0x38ccf7,{index:_0x47d490})=>{var _0x2ea0ec=_0x43f56d;this[_0x2ea0ec(0xdc)](_0x2ea0ec(0xd5),{'replyId':this[_0x2ea0ec(0xea)]['id'],'partIndex':_0x47d490});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xef),(_0x3a2cff,{index:_0x55dea2})=>{var _0x319bff=_0x43f56d;this[_0x319bff(0xdc)](_0x319bff(0xef),{'replyId':this[_0x319bff(0xea)]['id'],'partIndex':_0x55dea2});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xfe),(_0x5e8886,{index:_0x33b934})=>{var _0x449e10=_0x43f56d;this[_0x449e10(0xdc)](_0x449e10(0xfe),{'replyId':this[_0x449e10(0xea)]['id'],'partIndex':_0x33b934});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xee),(_0x15f254,{index:_0xfd17ef})=>{var _0x49b799=_0x43f56d;this[_0x49b799(0xdc)](_0x49b799(0xee),{'replyId':this[_0x49b799(0xea)]['id'],'partIndex':_0xfd17ef});}),this[_0x43f56d(0xf3)]=new _0x29cbff(_0x4ff2f2,this[_0x43f56d(0xea)][_0x43f56d(0xfb)]),this[_0x43f56d(0xf3)][_0x43f56d(0xe5)](_0x43f56d(0xeb))['to'](this,_0x43f56d(0xeb)),this[_0x43f56d(0xf3)]['on'](_0x43f56d(0xf7),()=>{var _0x53c6c7=_0x43f56d;this[_0x53c6c7(0xdc)](_0x53c6c7(0xf7),{'replyId':this[_0x53c6c7(0xea)]['id']});}),this[_0x43f56d(0xf3)]['on'](_0x43f56d(0xd5),()=>{var _0x3a9bc5=_0x43f56d;this[_0x3a9bc5(0xdc)](_0x3a9bc5(0xd5),{'replyId':this[_0x3a9bc5(0xea)]['id']});}),this[_0x43f56d(0xf3)]['on'](_0x43f56d(0xe3),()=>{var _0x4ac146=_0x43f56d;this[_0x4ac146(0xdc)](_0x4ac146(0xe3),{'replyId':this[_0x4ac146(0xea)]['id']});}),_0x49087e[_0x43f56d(0xe0)]?this[_0x43f56d(0xf3)][_0x43f56d(0xde)]=!0x1:this[_0x43f56d(0xf3)][_0x43f56d(0xe5)](_0x43f56d(0xde))['to'](this[_0x43f56d(0xd7)][_0x43f56d(0xf5)],_0x43f56d(0xf0)),this[_0x43f56d(0xfa)][_0x43f56d(0xe4)]([this[_0x43f56d(0xd7)],this[_0x43f56d(0xf3)]]),this[_0x43f56d(0xe8)]({'attributes':{'class':[_0x43f56d(0xff)]}});}async[_0x510eaa(0xd8)](_0x53df83){var _0x189729=_0x510eaa;await this[_0x189729(0xd7)][_0x189729(0xd8)](_0x53df83),this[_0x189729(0xf3)][_0x189729(0xfc)](this[_0x189729(0xd7)][_0x189729(0xf5)][_0x189729(0xe2)]);}[_0x510eaa(0xe7)](_0x42db73,_0x3d3831){var _0x5218e4=_0x510eaa;this[_0x5218e4(0xd7)][_0x5218e4(0xf5)][_0x5218e4(0xe7)](_0x42db73,_0x3d3831);}[_0x510eaa(0xec)](_0x572eda){var _0x3f140c=_0x510eaa;this[_0x3f140c(0xd7)][_0x3f140c(0xec)](_0x572eda);}[_0x510eaa(0x102)](_0x4398df){var _0x3f338a=_0x510eaa;return this[_0x3f338a(0xd7)][_0x3f338a(0xf5)][_0x3f338a(0x102)](_0x4398df);}[_0x510eaa(0x101)](){var _0x39d37a=_0x510eaa;super[_0x39d37a(0x101)](),this[_0x39d37a(0xd7)][_0x39d37a(0x101)](),this[_0x39d37a(0xf3)][_0x39d37a(0xe6)]=this[_0x39d37a(0xd7)][_0x39d37a(0xf5)][_0x39d37a(0xf4)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3b15(){var _0x23fbc8=['_createMessageContentView','11BCDiZn','3141moWxCQ','_contextChipsView','hidden','_createContextChipsView','1372568zxgxQA','markAsDone','ck-ai-chat__feed__user-message','innerHTML','ck-ai-chat__feed__message-content','length','contextItems','15774FWKkAJ','1815RMzzch','element','7862436uixDpH','_locale','_bodyCollection','initialContent','ck-ai-chat__feed__context-chips','25930cBGkqP','children','add','329033hBkYiU','extendTemplate','setTemplate','options','27ZwNDCe','render','2BtWVOd','6565363hyHzcY','87092OfMQzb','filter','_messageContentView','div'];_0x3b15=function(){return _0x23fbc8;};return _0x3b15();}var _0x7a683b=_0x30da;(function(_0x526c6d,_0x2c3151){var _0x269cbd=_0x30da,_0x4f4cd4=_0x526c6d();while(!![]){try{var _0x2a460b=parseInt(_0x269cbd(0xc5))/0x1*(parseInt(_0x269cbd(0xa7))/0x2)+parseInt(_0x269cbd(0xa5))/0x3*(parseInt(_0x269cbd(0xa9))/0x4)+-parseInt(_0x269cbd(0xbb))/0x5*(parseInt(_0x269cbd(0xba))/0x6)+parseInt(_0x269cbd(0xa8))/0x7+-parseInt(_0x269cbd(0xb3))/0x8+parseInt(_0x269cbd(0xaf))/0x9*(parseInt(_0x269cbd(0xc2))/0xa)+parseInt(_0x269cbd(0xae))/0xb*(-parseInt(_0x269cbd(0xbd))/0xc);if(_0x2a460b===_0x2c3151)break;else _0x4f4cd4['push'](_0x4f4cd4['shift']());}catch(_0x6ad5e6){_0x4f4cd4['push'](_0x4f4cd4['shift']());}}}(_0x3b15,0x8f403));import{AIChatFeedItemView as _0x4cd2c3}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1fbe1f}from'./aichatfeedcontextchipsview.js';function _0x30da(_0x283d26,_0x1b3df6){var _0x3b1585=_0x3b15();return _0x30da=function(_0x30da77,_0x11f68a){_0x30da77=_0x30da77-0xa2;var _0x3c0dad=_0x3b1585[_0x30da77];return _0x3c0dad;},_0x30da(_0x283d26,_0x1b3df6);}import{View as _0x21c653}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x4cd2c3{[_0x7a683b(0xb0)]=null;[_0x7a683b(0xbe)];[_0x7a683b(0xbf)];[_0x7a683b(0xab)];constructor(_0x1912b0,_0x33a651,_0x43b226){var _0x4120da=_0x7a683b;super(_0x33a651),this[_0x4120da(0xbe)]=_0x1912b0,this[_0x4120da(0xbf)]=_0x43b226,this[_0x4120da(0xb2)](),this[_0x4120da(0xad)](),this[_0x4120da(0xa2)]({'attributes':{'class':[_0x4120da(0xb5)]}});}[_0x7a683b(0xb2)](){var _0x430f90=_0x7a683b;this[_0x430f90(0xa4)][_0x430f90(0xb9)]&&this[_0x430f90(0xa4)][_0x430f90(0xb9)][_0x430f90(0xb8)]>0x0&&(this[_0x430f90(0xb0)]=new _0x1fbe1f(this[_0x430f90(0xbe)],this[_0x430f90(0xa4)][_0x430f90(0xb9)][_0x430f90(0xaa)](_0x239d22=>!_0x239d22[_0x430f90(0xb1)]),this[_0x430f90(0xbf)]),this[_0x430f90(0xb0)][_0x430f90(0xa2)]({'attributes':{'class':_0x430f90(0xc1)}}),this[_0x430f90(0xc3)][_0x430f90(0xc4)](this[_0x430f90(0xb0)]));}[_0x7a683b(0xad)](){var _0xd16e76=_0x7a683b;this[_0xd16e76(0xab)]=new _0x21c653(this[_0xd16e76(0xbe)]),this[_0xd16e76(0xab)][_0xd16e76(0xa3)]({'tag':_0xd16e76(0xac),'attributes':{'class':_0xd16e76(0xb7)}}),this[_0xd16e76(0xc3)][_0xd16e76(0xc4)](this[_0xd16e76(0xab)]);}[_0x7a683b(0xa6)](){var _0x17c4fa=_0x7a683b;super[_0x17c4fa(0xa6)](),this[_0x17c4fa(0xab)][_0x17c4fa(0xbc)][_0x17c4fa(0xb6)]=this[_0x17c4fa(0xa4)][_0x17c4fa(0xc0)],this[_0x17c4fa(0xb4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f4d54=_0x5a45;(function(_0x10c47a,_0x3f4b94){const _0x4db779=_0x5a45,_0x2308c7=_0x10c47a();while(!![]){try{const _0x5a693d=parseInt(_0x4db779(0x128))/0x1+parseInt(_0x4db779(0x11f))/0x2+parseInt(_0x4db779(0x129))/0x3+-parseInt(_0x4db779(0x117))/0x4+parseInt(_0x4db779(0x11d))/0x5*(parseInt(_0x4db779(0x124))/0x6)+-parseInt(_0x4db779(0x118))/0x7+parseInt(_0x4db779(0x127))/0x8;if(_0x5a693d===_0x3f4b94)break;else _0x2308c7['push'](_0x2308c7['shift']());}catch(_0x25c162){_0x2308c7['push'](_0x2308c7['shift']());}}}(_0x3492,0xd8a2e));function _0x3492(){const _0x214c38=['sendUserMessage','3271550uIYAyt','resizeTabs','selectModel','addUrlToContext','addResourceToContext','826794FKpsSI','addFileToContext','loadSourceResources','5504464NtfHmE','797207ISWXhI','151044VaaDvu','toggleReasoning','startConversation','6747720sLDgsQ','5144405USJJgC','removeContextItem','abortPromptStream','toggleWebSearch','addDocumentToContext','5nZClPw'];_0x3492=function(){return _0x214c38;};return _0x3492();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x249405}from'../../aicore/utils/eventnames.js';function _0x5a45(_0x47ae88,_0x3b5a91){const _0x349208=_0x3492();return _0x5a45=function(_0x5a45b9,_0x3634a7){_0x5a45b9=_0x5a45b9-0x115;let _0x4800d4=_0x349208[_0x5a45b9];return _0x4800d4;},_0x5a45(_0x47ae88,_0x3b5a91);}export const AI_CHAT_UI_EVENT_NAMES=[..._0x249405,_0x2f4d54(0x116),_0x2f4d54(0x120),_0x2f4d54(0x11e),_0x2f4d54(0x11a),_0x2f4d54(0x11c),_0x2f4d54(0x125),_0x2f4d54(0x122),_0x2f4d54(0x123),_0x2f4d54(0x119),_0x2f4d54(0x126),_0x2f4d54(0x11b),_0x2f4d54(0x115),_0x2f4d54(0x121)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x27ae09=_0x1ba7;function _0x46f0(){const _0x3017d9=['length','225rQsMRa','108wgExWg','204NySoia','queueEmptyPromise','abort','398680QHDqlG','createTask','once','push','11035024PVlYMe','990688zFddTx','54930WmwaHV','_processQueue','116080puhSeH','1661jHpQFp','completePromise','138808ORgNRh','isProcessing','_queueEmpty','1136347LYMYwk','fire','shift','_abortController','enqueue','callback','queue','reject','resolve','signal'];_0x46f0=function(){return _0x3017d9;};return _0x46f0();}(function(_0x1ddc4c,_0x3b2e41){const _0x2e9af1=_0x1ba7,_0x3389c7=_0x1ddc4c();while(!![]){try{const _0x26ffa1=-parseInt(_0x2e9af1(0x1ce))/0x1+-parseInt(_0x2e9af1(0x1e3))/0x2+-parseInt(_0x2e9af1(0x1da))/0x3*(-parseInt(_0x2e9af1(0x1cb))/0x4)+-parseInt(_0x2e9af1(0x1e6))/0x5*(parseInt(_0x2e9af1(0x1db))/0x6)+parseInt(_0x2e9af1(0x1e2))/0x7+parseInt(_0x2e9af1(0x1de))/0x8*(parseInt(_0x2e9af1(0x1d9))/0x9)+parseInt(_0x2e9af1(0x1e4))/0xa*(-parseInt(_0x2e9af1(0x1e7))/0xb);if(_0x26ffa1===_0x3b2e41)break;else _0x3389c7['push'](_0x3389c7['shift']());}catch(_0x5ee39c){_0x3389c7['push'](_0x3389c7['shift']());}}}(_0x46f0,0xc876d));import{EmitterMixin as _0xf756f4}from'ckeditor5/src/utils.js';function _0x1ba7(_0x48fa67,_0x3af81c){const _0x46f06f=_0x46f0();return _0x1ba7=function(_0x1ba791,_0x3fb8da){_0x1ba791=_0x1ba791-0x1ca;let _0x522586=_0x46f06f[_0x1ba791];return _0x522586;},_0x1ba7(_0x48fa67,_0x3af81c);}export class PromiseQueue extends _0xf756f4(){[_0x27ae09(0x1d4)]=[];[_0x27ae09(0x1cc)]=!0x1;[_0x27ae09(0x1d1)];async[_0x27ae09(0x1d2)](_0x5c06a2){const _0x33e7a3=_0x27ae09,_0x320730=this[_0x33e7a3(0x1df)](_0x5c06a2);return this[_0x33e7a3(0x1d4)][_0x33e7a3(0x1e1)](_0x320730),this[_0x33e7a3(0x1e5)](),_0x320730[_0x33e7a3(0x1ca)];}[_0x27ae09(0x1dd)](){const _0x2d0ef1=_0x27ae09;this[_0x2d0ef1(0x1cc)]&&(this[_0x2d0ef1(0x1d1)][_0x2d0ef1(0x1dd)](),this[_0x2d0ef1(0x1d1)]=void 0x0,this[_0x2d0ef1(0x1d4)]=[],this[_0x2d0ef1(0x1cf)](_0x2d0ef1(0x1cd)),this[_0x2d0ef1(0x1cc)]=!0x1);}get[_0x27ae09(0x1dc)](){const _0x206d2a=_0x27ae09;return this[_0x206d2a(0x1d4)][_0x206d2a(0x1d8)]||this[_0x206d2a(0x1cc)]?new Promise(_0xf4abf8=>{const _0x435048=_0x206d2a;this[_0x435048(0x1e0)](_0x435048(0x1cd),()=>{_0xf4abf8();});}):Promise[_0x206d2a(0x1d6)]();}async[_0x27ae09(0x1e5)](){const _0xeeb520=_0x27ae09;if(!this[_0xeeb520(0x1cc)]){this[_0xeeb520(0x1d1)]=new AbortController(),this[_0xeeb520(0x1cc)]=!0x0;try{for(;this[_0xeeb520(0x1d4)][_0xeeb520(0x1d8)]&&this[_0xeeb520(0x1cc)];){const _0xf6ea28=this[_0xeeb520(0x1d4)][_0xeeb520(0x1d0)]();try{await _0xf6ea28[_0xeeb520(0x1d3)](this[_0xeeb520(0x1d1)][_0xeeb520(0x1d7)]),_0xf6ea28[_0xeeb520(0x1d6)]();}catch(_0x38487e){_0xf6ea28[_0xeeb520(0x1d5)](_0x38487e);}}}finally{this[_0xeeb520(0x1cc)]=!0x1,this[_0xeeb520(0x1d1)]=void 0x0;}this[_0xeeb520(0x1cf)](_0xeeb520(0x1cd));}}[_0x27ae09(0x1df)](_0x367dbb){let _0x73effa,_0x5aa21c;const _0x29aba3=new Promise((_0x1f4062,_0x3f8f58)=>{_0x73effa=_0x1f4062,_0x5aa21c=_0x3f8f58;});return{'callback':_0x367dbb,'resolve':_0x73effa,'reject':_0x5aa21c,'completePromise':_0x29aba3};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x18ec83=_0x2844;(function(_0x2e2ad3,_0x50384a){const _0x29e7e6=_0x2844,_0x4db099=_0x2e2ad3();while(!![]){try{const _0x28173b=parseInt(_0x29e7e6(0xe3))/0x1+parseInt(_0x29e7e6(0xd8))/0x2*(-parseInt(_0x29e7e6(0xe5))/0x3)+parseInt(_0x29e7e6(0xdf))/0x4+-parseInt(_0x29e7e6(0xed))/0x5+-parseInt(_0x29e7e6(0xe8))/0x6*(parseInt(_0x29e7e6(0xea))/0x7)+parseInt(_0x29e7e6(0xe2))/0x8+parseInt(_0x29e7e6(0xf2))/0x9;if(_0x28173b===_0x50384a)break;else _0x4db099['push'](_0x4db099['shift']());}catch(_0x2ed9e6){_0x4db099['push'](_0x4db099['shift']());}}}(_0x37be,0x7f77f));const ws=[_0x18ec83(0xd6),_0x18ec83(0xe6),_0x18ec83(0xe0),_0x18ec83(0xf3)],fs=[_0x18ec83(0xf1),_0x18ec83(0xd3),_0x18ec83(0xd7),_0x18ec83(0xdd),_0x18ec83(0xd1),_0x18ec83(0xe4),'\x20'];function _0x37be(){const _0x2269ea=['PageUp','90oPqMdw','includes','stop','abortController','destroy','PageDown','auto','317932dssmZV','pointerdown','_onUserEvent','673736BeeJRp','797272ymWBKl','End','50079UxaqXe','touchstart','deltaY','246WvCwEt','scrollTo','142345ZJejze','bind','start','4959770gvYiUn','_stop','animationFrameId','element','ArrowUp','19242117zwUnmD','keydown','scrollHeight','signal','abort','isUserPaused','_rafUpdate','type','key','Home','addEventListener','ArrowDown','isRunning','_isAtBottom','wheel'];_0x37be=function(){return _0x2269ea;};return _0x37be();}function _0x2844(_0x11b264,_0xe084ac){const _0x37be0c=_0x37be();return _0x2844=function(_0x2844e5,_0x43048b){_0x2844e5=_0x2844e5-0xd1;let _0x1065b7=_0x37be0c[_0x2844e5];return _0x1065b7;},_0x2844(_0x11b264,_0xe084ac);}export class ScrollManager{[_0x18ec83(0xf0)];[_0x18ec83(0xef)];[_0x18ec83(0xd4)];[_0x18ec83(0xdb)];[_0x18ec83(0xf7)];constructor(_0x436fab){const _0x18785a=_0x18ec83;this[_0x18785a(0xf0)]=_0x436fab,this[_0x18785a(0xef)]=null,this[_0x18785a(0xd4)]=!0x1,this[_0x18785a(0xdb)]=new AbortController(),this[_0x18785a(0xf7)]=!0x1;for(const _0x362bb4 of ws){const _0x42d422=_0x18785a(0xf3)!==_0x362bb4;this[_0x18785a(0xf0)][_0x18785a(0xd2)](_0x362bb4,this[_0x18785a(0xe1)][_0x18785a(0xeb)](this),{'passive':_0x42d422,'signal':this[_0x18785a(0xdb)][_0x18785a(0xf5)]});}}[_0x18ec83(0xec)](){const _0xc2e6ba=_0x18ec83;this[_0xc2e6ba(0xd4)]||(this[_0xc2e6ba(0xd4)]=!0x0,this[_0xc2e6ba(0xf7)]=!0x1,this[_0xc2e6ba(0xef)]=requestAnimationFrame(this[_0xc2e6ba(0xf8)][_0xc2e6ba(0xeb)](this)));}[_0x18ec83(0xda)](){requestAnimationFrame(()=>{const _0x48f086=_0x2844;this[_0x48f086(0xee)]();});}[_0x18ec83(0xdc)](){const _0x311b00=_0x18ec83;this[_0x311b00(0xee)](),this[_0x311b00(0xdb)][_0x311b00(0xf6)]();}[_0x18ec83(0xee)](){const _0x480ff6=_0x18ec83;null!==this[_0x480ff6(0xef)]&&(cancelAnimationFrame(this[_0x480ff6(0xef)]),this[_0x480ff6(0xef)]=null),this[_0x480ff6(0xd4)]&&(this[_0x480ff6(0xd4)]=!0x1),this[_0x480ff6(0xf7)]=!0x1;}[_0x18ec83(0xe1)](_0x45cc27){const _0x22899e=_0x18ec83;if(this[_0x22899e(0xd4)]){if(_0x22899e(0xf3)===_0x45cc27[_0x22899e(0xf9)]){const _0x45b89b=_0x45cc27[_0x22899e(0xfa)];if(!fs[_0x22899e(0xd9)](_0x45b89b))return;}_0x45cc27 instanceof WheelEvent?_0x45cc27[_0x22899e(0xe7)]<0x0?this[_0x22899e(0xf7)]=!0x0:this[_0x22899e(0xf7)]=!this[_0x22899e(0xd5)]():this[_0x22899e(0xf7)]=!0x0;}}[_0x18ec83(0xd5)](){const _0x56217a=_0x18ec83,{scrollTop:_0x5a25a0,scrollHeight:_0x2bde45,clientHeight:_0x7dade9}=this[_0x56217a(0xf0)];return _0x2bde45-_0x5a25a0-_0x7dade9<=0x5;}[_0x18ec83(0xf8)](){const _0x13cfb5=_0x18ec83;this[_0x13cfb5(0xd4)]&&(this[_0x13cfb5(0xf7)]||this[_0x13cfb5(0xf0)][_0x13cfb5(0xe9)]({'top':this[_0x13cfb5(0xf0)][_0x13cfb5(0xf4)],'behavior':_0x13cfb5(0xde)}),this[_0x13cfb5(0xef)]=requestAnimationFrame(this[_0x13cfb5(0xf8)][_0x13cfb5(0xeb)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x546ac0=_0x307d;(function(_0x39169b,_0x6d993e){var _0x1afef9=_0x307d,_0x338595=_0x39169b();while(!![]){try{var _0x4f2374=parseInt(_0x1afef9(0xcf))/0x1*(parseInt(_0x1afef9(0xc7))/0x2)+-parseInt(_0x1afef9(0xd2))/0x3+-parseInt(_0x1afef9(0xd1))/0x4*(-parseInt(_0x1afef9(0xd0))/0x5)+parseInt(_0x1afef9(0xc6))/0x6+-parseInt(_0x1afef9(0xc4))/0x7*(parseInt(_0x1afef9(0xc8))/0x8)+parseInt(_0x1afef9(0xcc))/0x9*(-parseInt(_0x1afef9(0xcd))/0xa)+parseInt(_0x1afef9(0xc5))/0xb;if(_0x4f2374===_0x6d993e)break;else _0x338595['push'](_0x338595['shift']());}catch(_0xc4ef1){_0x338595['push'](_0x338595['shift']());}}}(_0x1de1,0x79125));import{ContextPlugin as _0x5e4dcd}from'ckeditor5/src/core.js';function _0x1de1(){var _0x4f4c06=['AIChatHistory','1VhwVDm','10FHsbYH','740576xQpmDx','1568541KteBpg','isPremiumPlugin','4536RrgHkH','2225421QRGfJJ','4688994FAPlbp','1238154XMcDvo','656EKHCDX','isOfficialPlugin','pluginName','requires','8111547xarWhV','10aeoxAJ'];_0x1de1=function(){return _0x4f4c06;};return _0x1de1();}import{AIChatHistoryController as _0x336dde}from'./aichathistorycontroller.js';function _0x307d(_0x374b37,_0x351070){var _0x1de1e1=_0x1de1();return _0x307d=function(_0x307d95,_0x509e9d){_0x307d95=_0x307d95-0xc3;var _0x3faf81=_0x1de1e1[_0x307d95];return _0x3faf81;},_0x307d(_0x374b37,_0x351070);}import{AIChatHistoryUI as _0x229fa9}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x5e4dcd{static get[_0x546ac0(0xcb)](){return[_0x336dde,_0x229fa9];}static get[_0x546ac0(0xca)](){var _0x27fa14=_0x546ac0;return _0x27fa14(0xce);}static get[_0x546ac0(0xc9)](){return!0x0;}static get[_0x546ac0(0xc3)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x39ea75=_0x43e9;(function(_0x5d5523,_0x2c7747){const _0x3ad943=_0x43e9,_0x46f194=_0x5d5523();while(!![]){try{const _0x563937=parseInt(_0x3ad943(0x155))/0x1*(-parseInt(_0x3ad943(0x191))/0x2)+-parseInt(_0x3ad943(0x186))/0x3+parseInt(_0x3ad943(0x14b))/0x4*(parseInt(_0x3ad943(0x18d))/0x5)+parseInt(_0x3ad943(0x14a))/0x6+-parseInt(_0x3ad943(0x16e))/0x7+-parseInt(_0x3ad943(0x192))/0x8+parseInt(_0x3ad943(0x16f))/0x9;if(_0x563937===_0x2c7747)break;else _0x46f194['push'](_0x46f194['shift']());}catch(_0x3a03af){_0x46f194['push'](_0x46f194['shift']());}}}(_0x1f83,0xb59fe));import{ContextPlugin as _0x513435}from'ckeditor5/src/core.js';import{AIConnector as _0x5dc0be}from'../aicore/aiconnector.js';import{AIChatController as _0x3aeb2d}from'../aichat/aichatcontroller.js';import{AITabs as _0x27753a}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x2f72e1}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x234b29}from'./model/aichathistoryconversations.js';function _0x43e9(_0x7061be,_0x41492d){const _0x1f839f=_0x1f83();return _0x43e9=function(_0x43e9aa,_0x3bf516){_0x43e9aa=_0x43e9aa-0x13d;let _0x2c19bb=_0x1f839f[_0x43e9aa];return _0x2c19bb;},_0x43e9(_0x7061be,_0x41492d);}import{getTranslation as _0x33a01f}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x513435{[_0x39ea75(0x17c)];[_0x39ea75(0x18e)];[_0x39ea75(0x15a)];static get[_0x39ea75(0x15c)](){return[_0x5dc0be,_0x3aeb2d,_0x2f72e1,_0x27753a];}static get[_0x39ea75(0x14e)](){const _0x2efc28=_0x39ea75;return _0x2efc28(0x175);}static get[_0x39ea75(0x164)](){return!0x0;}static get[_0x39ea75(0x157)](){return!0x0;}[_0x39ea75(0x182)](){const _0x552d98=_0x39ea75;this[_0x552d98(0x17c)]=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x5dc0be),this[_0x552d98(0x18e)]=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x2f72e1),this[_0x552d98(0x15a)]=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x3aeb2d);const _0x503df2=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x27753a),_0x385d76=this[_0x552d98(0x15a)][_0x552d98(0x13e)]();this[_0x552d98(0x15e)]=new _0x234b29({'connector':this[_0x552d98(0x17c)],'group':_0x385d76}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x16a),(_0x247174,_0x298047)=>{const _0x187a9d=_0x552d98;this[_0x187a9d(0x174)](_0x298047['id'],_0x187a9d(0x19e)),this[_0x187a9d(0x1a1)](_0x298047['id']);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x184),(_0xe48038,_0x5edd49)=>{const _0x1ed999=_0x552d98;this[_0x1ed999(0x174)](_0x5edd49['id'],_0x1ed999(0x13d)),this[_0x1ed999(0x185)](_0x5edd49['id'],_0x5edd49[_0x1ed999(0x183)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x178),(_0x401d55,_0x597944)=>{const _0x272e7d=_0x552d98;void 0x0!==_0x597944[_0x272e7d(0x152)][_0x272e7d(0x183)]&&this[_0x272e7d(0x18e)][_0x272e7d(0x194)](_0x597944[_0x272e7d(0x159)],_0x597944[_0x272e7d(0x152)][_0x272e7d(0x183)]),void 0x0!==_0x597944[_0x272e7d(0x152)][_0x272e7d(0x16c)]&&this[_0x272e7d(0x176)](),this[_0x272e7d(0x153)](_0x597944[_0x272e7d(0x159)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x14c),(_0x271505,_0x59ed8d)=>{const _0x237822=_0x552d98;this[_0x237822(0x15a)][_0x237822(0x1a0)](_0x59ed8d[_0x237822(0x159)]),this[_0x237822(0x18e)][_0x237822(0x173)](_0x59ed8d[_0x237822(0x159)]),this[_0x237822(0x153)](_0x59ed8d[_0x237822(0x159)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x170),()=>{const _0x398b4c=_0x552d98;this[_0x398b4c(0x176)]();}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x172),(_0x4558a6,_0x46b9ac)=>{const _0x15c620=_0x552d98;this[_0x15c620(0x189)](_0x46b9ac[_0x15c620(0x172)],_0x46b9ac[_0x15c620(0x187)],_0x46b9ac[_0x15c620(0x159)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x18f),(_0x3662de,_0x505997)=>{const _0x4557e3=_0x552d98;this[_0x4557e3(0x197)](_0x505997['id']);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x171),(_0x3fa1a5,_0x4c8243)=>{const _0x74e818=_0x552d98,_0x1a9c6d=_0x4c8243[_0x74e818(0x16c)]?_0x74e818(0x195):_0x74e818(0x15b);this[_0x74e818(0x174)](_0x4c8243['id'],_0x1a9c6d),this[_0x74e818(0x160)](_0x4c8243['id'],_0x4c8243[_0x74e818(0x16c)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x19c),()=>{const _0x380d73=_0x552d98;_0x503df2[_0x380d73(0x193)][_0x380d73(0x140)](_0x380d73(0x145));}),this[_0x552d98(0x196)](this[_0x552d98(0x15a)],_0x552d98(0x146),()=>{const _0xaf2a02=_0x552d98;this[_0xaf2a02(0x176)]();}),_0x503df2[_0x552d98(0x193)]['on'](_0x552d98(0x19a),()=>{const _0x22f437=_0x552d98;this[_0x22f437(0x15d)]();}),this[_0x552d98(0x196)](_0x503df2,_0x552d98(0x18b),(_0x4515ff,_0xa26b5f)=>{const _0x534c74=_0x552d98;this[_0x534c74(0x17d)](_0xa26b5f);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x149),()=>{const _0xc59c86=_0x552d98;_0x503df2[_0xc59c86(0x148)]();});}async[_0x39ea75(0x185)](_0x52341c,_0x5331d6){const _0x3c4eea=_0x39ea75;await this[_0x3c4eea(0x15e)][_0x3c4eea(0x194)](_0x52341c,_0x5331d6);}async[_0x39ea75(0x160)](_0x38e7bb,_0x15ebca){const _0x5b4d34=_0x39ea75;await this[_0x5b4d34(0x15e)][_0x5b4d34(0x163)](_0x38e7bb,_0x15ebca);}async[_0x39ea75(0x1a1)](_0x1c7aff){const _0x513cb1=_0x39ea75;await this[_0x513cb1(0x15e)][_0x513cb1(0x166)](_0x1c7aff);}async[_0x39ea75(0x197)](_0x212841){const _0x54190b=_0x39ea75;await this[_0x54190b(0x15a)][_0x54190b(0x16d)](_0x212841);}async[_0x39ea75(0x15d)](){const _0x260b89=_0x39ea75;this[_0x260b89(0x18e)][_0x260b89(0x19d)](''),this[_0x260b89(0x18e)][_0x260b89(0x18a)](!0x0),await this[_0x260b89(0x15e)][_0x260b89(0x182)](),this[_0x260b89(0x18e)][_0x260b89(0x18a)](!0x1);}[_0x39ea75(0x176)](){const _0x2ac86f=_0x39ea75,_0x735388=this[_0x2ac86f(0x15a)][_0x2ac86f(0x147)]?.['id'],_0x4815d7=this[_0x2ac86f(0x181)]()[_0x2ac86f(0x151)](_0x40884e=>({'title':_0x40884e[_0x2ac86f(0x183)],'items':_0x40884e[_0x2ac86f(0x190)][_0x2ac86f(0x151)](_0x1af2fe=>({'id':_0x1af2fe['id'],'title':_0x1af2fe[_0x2ac86f(0x183)]||_0x33a01f(this[_0x2ac86f(0x19b)][_0x2ac86f(0x158)],_0x2ac86f(0x165)),'createdAt':new Date(_0x1af2fe[_0x2ac86f(0x198)])[_0x2ac86f(0x19f)](),'active':_0x1af2fe['id']===_0x735388,'pinned':_0x1af2fe[_0x2ac86f(0x16c)]}))}));this[_0x2ac86f(0x18e)][_0x2ac86f(0x144)](_0x4815d7);}[_0x39ea75(0x174)](_0x35b0ac,_0xf587a5){const _0x2593f5=_0x39ea75;this[_0x2593f5(0x18e)][_0x2593f5(0x180)](_0x35b0ac,_0xf587a5,!0x0);}[_0x39ea75(0x153)](_0x29871f){const _0x43e726=_0x39ea75;this[_0x43e726(0x18e)][_0x43e726(0x180)](_0x29871f,null,!0x1);}[_0x39ea75(0x189)](_0x5e4dc4,_0x5862ff,_0x8fcbdf){const _0x52df33=_0x39ea75,_0x2462bd=this[_0x52df33(0x169)](_0x5862ff,_0x8fcbdf);this[_0x52df33(0x18e)][_0x52df33(0x19d)](_0x2462bd),_0x8fcbdf&&this[_0x52df33(0x153)](_0x8fcbdf),this[_0x52df33(0x18e)][_0x52df33(0x18a)](!0x1);}[_0x39ea75(0x169)](_0x72d848,_0x1144d3){const _0x592ac2=_0x39ea75,_0x40fc64=_0x1144d3?this[_0x592ac2(0x15e)][_0x592ac2(0x143)](_0x1144d3):null,_0x4a5b88=_0x40fc64?.[_0x592ac2(0x183)]||_0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x165));switch(_0x72d848){case _0x592ac2(0x194):return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x17a),_0x4a5b88);case _0x592ac2(0x163):{const _0x41f461=_0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x40fc64?.[_0x592ac2(0x16c)]?_0x592ac2(0x14d):_0x592ac2(0x15f));return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x154),[_0x41f461,_0x4a5b88]);}case _0x592ac2(0x166):return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x167),_0x4a5b88);case _0x592ac2(0x182):case _0x592ac2(0x150):return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x179));default:return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x142));}}[_0x39ea75(0x181)](){const _0x34cd45=_0x39ea75,_0x163ac9=new Date(),_0x3ca0e0=new Date(_0x163ac9[_0x34cd45(0x13f)](),_0x163ac9[_0x34cd45(0x141)](),_0x163ac9[_0x34cd45(0x162)]()),_0x2ab429=new Date(_0x3ca0e0);_0x2ab429[_0x34cd45(0x156)](_0x2ab429[_0x34cd45(0x162)]()-0x1);const _0x1fcb56=new Date(_0x3ca0e0);_0x1fcb56[_0x34cd45(0x156)](_0x1fcb56[_0x34cd45(0x162)]()-0xe);const _0x401d4b=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'pinned':!0x0}),_0x301c17=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'from':_0x3ca0e0,'to':_0x3ca0e0}),_0x427a8a=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'from':_0x2ab429,'to':_0x2ab429}),_0x40bf7d=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'from':_0x1fcb56,'to':_0x2ab429}),_0x2e15db=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'to':_0x1fcb56}),_0x407d22=[];return _0x401d4b[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x17b)),'items':_0x401d4b}),_0x301c17[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x16b)),'items':_0x301c17}),_0x427a8a[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x199)),'items':_0x427a8a}),_0x40bf7d[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x161)),'items':_0x40bf7d}),_0x2e15db[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x177)),'items':_0x2e15db}),_0x407d22;}[_0x39ea75(0x17d)](_0x12fc12){const _0x5ca46e=_0x39ea75;this[_0x5ca46e(0x18e)][_0x5ca46e(0x14f)](_0x12fc12);}}function _0x1f83(){const _0x14d301=['AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','1QmyIvD','setDate','isPremiumPlugin','locale','itemId','_aiChatController','unpin','requires','_showConversationHistory','history','AI_CHAT_HISTORY_PIN_ACTION','_handleTogglePin','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','getDate','updateItemPinned','isOfficialPlugin','AI_CHAT_UNTITLED_CONVERSATION','removeItem','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','plugins','_generateErrorMessage','removeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','pinned','loadConversation','10353966wflRvd','27788580dMEOKK','itemsLoaded','setConversationPinned','error','removeHistoryItem','_setItemLoading','AIChatHistoryController','_updateHistoryItemsUI','AI_CHAT_HISTORY_CATEGORY_LATER','itemUpdated','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_CATEGORY_PINNED','_aiConnector','_setIsMaximized','push','get','updateItemLoadingState','_getCategorizedItems','init','title','editConversationTitle','_handleEditTitle','4108791yUqYNR','operation','getItems','_handleHistoryErrorUI','setLoadingSkeleton','resizedTabs','length','5yqTgGs','_aiChatHistoryUi','selectConversation','items','797428OMAaSu','789760YbRYpI','view','updateItemTitle','pin','listenTo','_handleSelectConversation','createdAt','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','activateTab:history','context','openChat','showError','remove','toLocaleDateString','handleRemovedConversation','_handleRemove','rename','getGroupId','getFullYear','activateTab','getMonth','AI_CHAT_HISTORY_ERROR_GENERIC','getItem','updateItems','chat','change:activeConversation','activeConversation','resize','resizeTabs','5896470VIzKqD','78952boqett','itemRemoved','AI_CHAT_HISTORY_UNPIN_ACTION','pluginName','setIsMaximized','loadItems','map','updates','_clearItemLoading'];_0x1f83=function(){return _0x14d301;};return _0x1f83();}
|
|
23
|
+
const _0x33d7c8=_0xe71e;(function(_0x2243e5,_0x3b783a){const _0x5dec5b=_0xe71e,_0x10a505=_0x2243e5();while(!![]){try{const _0x40c648=parseInt(_0x5dec5b(0x12d))/0x1+-parseInt(_0x5dec5b(0x131))/0x2*(parseInt(_0x5dec5b(0xe2))/0x3)+parseInt(_0x5dec5b(0x135))/0x4*(parseInt(_0x5dec5b(0xfb))/0x5)+-parseInt(_0x5dec5b(0xe4))/0x6*(-parseInt(_0x5dec5b(0x134))/0x7)+parseInt(_0x5dec5b(0x121))/0x8+-parseInt(_0x5dec5b(0x106))/0x9*(parseInt(_0x5dec5b(0xe5))/0xa)+-parseInt(_0x5dec5b(0x10b))/0xb;if(_0x40c648===_0x3b783a)break;else _0x10a505['push'](_0x10a505['shift']());}catch(_0x42a78b){_0x10a505['push'](_0x10a505['shift']());}}}(_0x3d49,0xa92a1));import{ContextPlugin as _0x182bad}from'ckeditor5/src/core.js';function _0x3d49(){const _0x2cad12=['itemId','pinned','_showConversationHistory','pin','_aiChatHistoryUi','get','activeConversation','activateTab:history','map','1314098lOwLkX','_handleHistoryErrorUI','_clearItemLoading','locale','333006dSrdBg','AI_CHAT_HISTORY_ERROR_GENERIC','_handleRemove','350861ekGmIc','40ALgxjW','editConversationTitle','setDate','getFullYear','push','AI_CHAT_HISTORY_CATEGORY_LATER','createdAt','_aiConnector','pluginName','getGroupId','updates','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_getCategorizedItems','AI_CHAT_HISTORY_PIN_ACTION','setConversationPinned','view','showError','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','remove','AI_CHAT_UNTITLED_CONVERSATION','6HiAyJy','error','102atOXHY','1234330BHHpyn','resizeTabs','isOfficialPlugin','_aiChatController','context','activateTab','items','resizedTabs','handleRemovedConversation','_handleEditTitle','getMonth','openChat','operation','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','chat','selectConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','_setIsMaximized','updateItems','updateItemPinned','removeHistoryItem','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','607835MifEfm','setLoadingSkeleton','toLocaleDateString','loadItems','isPremiumPlugin','getDate','removeConversation','unpin','itemUpdated','history','getItem','54Zlwhzb','change:activeConversation','listenTo','itemsLoaded','init','24537865nlfBro','AIChatHistoryController','loadConversation','plugins','_handleTogglePin','resize','AI_CHAT_HISTORY_CATEGORY_PINNED','_setItemLoading','AI_CHAT_HISTORY_UNPIN_ACTION','itemRemoved','_handleSelectConversation','setIsMaximized','removeItem','_generateErrorMessage','updateItemTitle','length','getItems','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','title','requires','_updateHistoryItemsUI','updateItemLoadingState','4922856ccUVwU','rename','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM'];_0x3d49=function(){return _0x2cad12;};return _0x3d49();}import{AIConnector as _0x5ca294}from'../aicore/aiconnector.js';import{AIChatController as _0x16b95c}from'../aichat/aichatcontroller.js';import{AITabs as _0x4007d2}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x26ed39}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x5a41ca}from'./model/aichathistoryconversations.js';function _0xe71e(_0x4282f3,_0x5d1c45){const _0x3d49f7=_0x3d49();return _0xe71e=function(_0xe71e9c,_0x5c2067){_0xe71e9c=_0xe71e9c-0xd7;let _0x1c5667=_0x3d49f7[_0xe71e9c];return _0x1c5667;},_0xe71e(_0x4282f3,_0x5d1c45);}import{getTranslation as _0x1c4a67}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x182bad{[_0x33d7c8(0x13c)];[_0x33d7c8(0x128)];[_0x33d7c8(0xe8)];static get[_0x33d7c8(0x11e)](){return[_0x5ca294,_0x16b95c,_0x26ed39,_0x4007d2];}static get[_0x33d7c8(0x13d)](){const _0x2e954a=_0x33d7c8;return _0x2e954a(0x10c);}static get[_0x33d7c8(0xe7)](){return!0x0;}static get[_0x33d7c8(0xff)](){return!0x0;}[_0x33d7c8(0x10a)](){const _0x82801f=_0x33d7c8;this[_0x82801f(0x13c)]=this[_0x82801f(0xe9)][_0x82801f(0x10e)][_0x82801f(0x129)](_0x5ca294),this[_0x82801f(0x128)]=this[_0x82801f(0xe9)][_0x82801f(0x10e)][_0x82801f(0x129)](_0x26ed39),this[_0x82801f(0xe8)]=this[_0x82801f(0xe9)][_0x82801f(0x10e)][_0x82801f(0x129)](_0x16b95c);const _0x18bc3b=this[_0x82801f(0xe9)][_0x82801f(0x10e)][_0x82801f(0x129)](_0x4007d2),_0x5c418a=this[_0x82801f(0xe8)][_0x82801f(0xd7)]();this[_0x82801f(0x104)]=new _0x5a41ca({'connector':this[_0x82801f(0x13c)],'group':_0x5c418a}),this[_0x82801f(0x108)](this[_0x82801f(0x128)],_0x82801f(0x101),(_0x3aaed8,_0x31d02f)=>{const _0x59f970=_0x82801f;this[_0x59f970(0x112)](_0x31d02f['id'],_0x59f970(0xe0)),this[_0x59f970(0x133)](_0x31d02f['id']);}),this[_0x82801f(0x108)](this[_0x82801f(0x128)],_0x82801f(0x136),(_0x1b89f0,_0x3f4417)=>{const _0x10dae0=_0x82801f;this[_0x10dae0(0x112)](_0x3f4417['id'],_0x10dae0(0x122)),this[_0x10dae0(0xee)](_0x3f4417['id'],_0x3f4417[_0x10dae0(0x11d)]);}),this[_0x82801f(0x108)](this[_0x82801f(0x104)],_0x82801f(0x103),(_0x1845a0,_0x5b5f0d)=>{const _0x1953ab=_0x82801f;void 0x0!==_0x5b5f0d[_0x1953ab(0xd8)][_0x1953ab(0x11d)]&&this[_0x1953ab(0x128)][_0x1953ab(0x119)](_0x5b5f0d[_0x1953ab(0x124)],_0x5b5f0d[_0x1953ab(0xd8)][_0x1953ab(0x11d)]),void 0x0!==_0x5b5f0d[_0x1953ab(0xd8)][_0x1953ab(0x125)]&&this[_0x1953ab(0x11f)](),this[_0x1953ab(0x12f)](_0x5b5f0d[_0x1953ab(0x124)]);}),this[_0x82801f(0x108)](this[_0x82801f(0x104)],_0x82801f(0x114),(_0x56a1b1,_0x30348d)=>{const _0x7fec19=_0x82801f;this[_0x7fec19(0xe8)][_0x7fec19(0xed)](_0x30348d[_0x7fec19(0x124)]),this[_0x7fec19(0x128)][_0x7fec19(0xf9)](_0x30348d[_0x7fec19(0x124)]),this[_0x7fec19(0x12f)](_0x30348d[_0x7fec19(0x124)]);}),this[_0x82801f(0x108)](this[_0x82801f(0x104)],_0x82801f(0x109),()=>{const _0x7a32ea=_0x82801f;this[_0x7a32ea(0x11f)]();}),this[_0x82801f(0x108)](this[_0x82801f(0x104)],_0x82801f(0xe3),(_0x4edde4,_0x1cc4ae)=>{const _0x2a4bd1=_0x82801f;this[_0x2a4bd1(0x12e)](_0x1cc4ae[_0x2a4bd1(0xe3)],_0x1cc4ae[_0x2a4bd1(0xf1)],_0x1cc4ae[_0x2a4bd1(0x124)]);}),this[_0x82801f(0x108)](this[_0x82801f(0x128)],_0x82801f(0xf4),(_0x3fe7e1,_0x358260)=>{const _0x1f0247=_0x82801f;this[_0x1f0247(0x115)](_0x358260['id']);}),this[_0x82801f(0x108)](this[_0x82801f(0x128)],_0x82801f(0xdc),(_0x1c5f86,_0x59730d)=>{const _0x39eed1=_0x82801f,_0x56cdd1=_0x59730d[_0x39eed1(0x125)]?_0x39eed1(0x127):_0x39eed1(0x102);this[_0x39eed1(0x112)](_0x59730d['id'],_0x56cdd1),this[_0x39eed1(0x10f)](_0x59730d['id'],_0x59730d[_0x39eed1(0x125)]);}),this[_0x82801f(0x108)](this[_0x82801f(0x128)],_0x82801f(0xf0),()=>{const _0x571308=_0x82801f;_0x18bc3b[_0x571308(0xdd)][_0x571308(0xea)](_0x571308(0xf3));}),this[_0x82801f(0x108)](this[_0x82801f(0xe8)],_0x82801f(0x107),()=>{const _0xcdd1a6=_0x82801f;this[_0xcdd1a6(0x11f)]();}),_0x18bc3b[_0x82801f(0xdd)]['on'](_0x82801f(0x12b),()=>{const _0x378c2a=_0x82801f;this[_0x378c2a(0x126)]();}),this[_0x82801f(0x108)](_0x18bc3b,_0x82801f(0xec),(_0x132f09,_0x282355)=>{const _0x25d9ad=_0x82801f;this[_0x25d9ad(0xf6)](_0x282355);}),this[_0x82801f(0x108)](this[_0x82801f(0x128)],_0x82801f(0xe6),()=>{const _0x562c3c=_0x82801f;_0x18bc3b[_0x562c3c(0x110)]();});}async[_0x33d7c8(0xee)](_0x3b496e,_0x174eb1){const _0x474342=_0x33d7c8;await this[_0x474342(0x104)][_0x474342(0x119)](_0x3b496e,_0x174eb1);}async[_0x33d7c8(0x10f)](_0x474fa9,_0x3ddd81){const _0x412fd2=_0x33d7c8;await this[_0x412fd2(0x104)][_0x412fd2(0xf8)](_0x474fa9,_0x3ddd81);}async[_0x33d7c8(0x133)](_0x1e60aa){const _0x229167=_0x33d7c8;await this[_0x229167(0x104)][_0x229167(0x117)](_0x1e60aa);}async[_0x33d7c8(0x115)](_0x505b02){const _0x1f2313=_0x33d7c8;await this[_0x1f2313(0xe8)][_0x1f2313(0x10d)](_0x505b02);}async[_0x33d7c8(0x126)](){const _0x1a8332=_0x33d7c8;this[_0x1a8332(0x128)][_0x1a8332(0xde)](''),this[_0x1a8332(0x128)][_0x1a8332(0xfc)](!0x0),await this[_0x1a8332(0x104)][_0x1a8332(0x10a)](),this[_0x1a8332(0x128)][_0x1a8332(0xfc)](!0x1);}[_0x33d7c8(0x11f)](){const _0x2effc8=_0x33d7c8,_0xd2e471=this[_0x2effc8(0xe8)][_0x2effc8(0x12a)]?.['id'],_0x222684=this[_0x2effc8(0xda)]()[_0x2effc8(0x12c)](_0x1aaf57=>({'title':_0x1aaf57[_0x2effc8(0x11d)],'items':_0x1aaf57[_0x2effc8(0xeb)][_0x2effc8(0x12c)](_0xcdda22=>({'id':_0xcdda22['id'],'title':_0xcdda22[_0x2effc8(0x11d)]||_0x1c4a67(this[_0x2effc8(0xe9)][_0x2effc8(0x130)],_0x2effc8(0xe1)),'createdAt':new Date(_0xcdda22[_0x2effc8(0x13b)])[_0x2effc8(0xfd)](),'active':_0xcdda22['id']===_0xd2e471,'pinned':_0xcdda22[_0x2effc8(0x125)]}))}));this[_0x2effc8(0x128)][_0x2effc8(0xf7)](_0x222684);}[_0x33d7c8(0x112)](_0x318432,_0xfb73bc){const _0x385b57=_0x33d7c8;this[_0x385b57(0x128)][_0x385b57(0x120)](_0x318432,_0xfb73bc,!0x0);}[_0x33d7c8(0x12f)](_0x157fed){const _0x28435b=_0x33d7c8;this[_0x28435b(0x128)][_0x28435b(0x120)](_0x157fed,null,!0x1);}[_0x33d7c8(0x12e)](_0x5976c5,_0x2d4184,_0x5c6b27){const _0x2665b9=_0x33d7c8,_0x5676c4=this[_0x2665b9(0x118)](_0x2d4184,_0x5c6b27);this[_0x2665b9(0x128)][_0x2665b9(0xde)](_0x5676c4),_0x5c6b27&&this[_0x2665b9(0x12f)](_0x5c6b27),this[_0x2665b9(0x128)][_0x2665b9(0xfc)](!0x1);}[_0x33d7c8(0x118)](_0x30953e,_0x44e907){const _0x17ac87=_0x33d7c8,_0x5463c0=_0x44e907?this[_0x17ac87(0x104)][_0x17ac87(0x105)](_0x44e907):null,_0x26d1c3=_0x5463c0?.[_0x17ac87(0x11d)]||_0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x17ac87(0xe1));switch(_0x30953e){case _0x17ac87(0x119):return _0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x17ac87(0xf2),_0x26d1c3);case _0x17ac87(0xf8):{const _0x5b1372=_0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x5463c0?.[_0x17ac87(0x125)]?_0x17ac87(0x113):_0x17ac87(0xdb));return _0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x17ac87(0xdf),[_0x5b1372,_0x26d1c3]);}case _0x17ac87(0x117):return _0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x17ac87(0x123),_0x26d1c3);case _0x17ac87(0x10a):case _0x17ac87(0xfe):return _0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x17ac87(0xfa));default:return _0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x17ac87(0x132));}}[_0x33d7c8(0xda)](){const _0x3cc4d2=_0x33d7c8,_0x396a68=new Date(),_0x1d8f28=new Date(_0x396a68[_0x3cc4d2(0x138)](),_0x396a68[_0x3cc4d2(0xef)](),_0x396a68[_0x3cc4d2(0x100)]()),_0x3aec54=new Date(_0x1d8f28);_0x3aec54[_0x3cc4d2(0x137)](_0x3aec54[_0x3cc4d2(0x100)]()-0x1);const _0x5cc475=new Date(_0x1d8f28);_0x5cc475[_0x3cc4d2(0x137)](_0x5cc475[_0x3cc4d2(0x100)]()-0xe);const _0x14f839=this[_0x3cc4d2(0x104)][_0x3cc4d2(0x11b)]({'pinned':!0x0}),_0x2cae90=this[_0x3cc4d2(0x104)][_0x3cc4d2(0x11b)]({'from':_0x1d8f28,'to':_0x1d8f28}),_0x86a19d=this[_0x3cc4d2(0x104)][_0x3cc4d2(0x11b)]({'from':_0x3aec54,'to':_0x3aec54}),_0x19bddb=this[_0x3cc4d2(0x104)][_0x3cc4d2(0x11b)]({'from':_0x5cc475,'to':_0x3aec54}),_0x5a8406=this[_0x3cc4d2(0x104)][_0x3cc4d2(0x11b)]({'to':_0x5cc475}),_0x41ea7c=[];return _0x14f839[_0x3cc4d2(0x11a)]>0x0&&_0x41ea7c[_0x3cc4d2(0x139)]({'title':_0x1c4a67(this[_0x3cc4d2(0xe9)][_0x3cc4d2(0x130)],_0x3cc4d2(0x111)),'items':_0x14f839}),_0x2cae90[_0x3cc4d2(0x11a)]>0x0&&_0x41ea7c[_0x3cc4d2(0x139)]({'title':_0x1c4a67(this[_0x3cc4d2(0xe9)][_0x3cc4d2(0x130)],_0x3cc4d2(0xf5)),'items':_0x2cae90}),_0x86a19d[_0x3cc4d2(0x11a)]>0x0&&_0x41ea7c[_0x3cc4d2(0x139)]({'title':_0x1c4a67(this[_0x3cc4d2(0xe9)][_0x3cc4d2(0x130)],_0x3cc4d2(0x11c)),'items':_0x86a19d}),_0x19bddb[_0x3cc4d2(0x11a)]>0x0&&_0x41ea7c[_0x3cc4d2(0x139)]({'title':_0x1c4a67(this[_0x3cc4d2(0xe9)][_0x3cc4d2(0x130)],_0x3cc4d2(0xd9)),'items':_0x19bddb}),_0x5a8406[_0x3cc4d2(0x11a)]>0x0&&_0x41ea7c[_0x3cc4d2(0x139)]({'title':_0x1c4a67(this[_0x3cc4d2(0xe9)][_0x3cc4d2(0x130)],_0x3cc4d2(0x13a)),'items':_0x5a8406}),_0x41ea7c;}[_0x33d7c8(0xf6)](_0x5f47b1){const _0x2cd9b3=_0x33d7c8;this[_0x2cd9b3(0x128)][_0x2cd9b3(0x116)](_0x5f47b1);}}
|