@ckeditor/ckeditor5-ai 47.0.0-alpha.5 → 47.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/ckeditor5-metadata.json +14 -0
- package/dist/index-editor.css +17 -2
- package/dist/index.css +18 -2
- package/dist/index.js +4 -4
- 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/lang/contexts.json +1 -0
- 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.d.ts +4 -0
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +2 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +6 -0
- 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/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.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 +1 -1
- 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/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.d.ts +35 -0
- package/src/aieditorintegration/aieditorintegration.js +23 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/utils/common-translations.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/aireviewmodels.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/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/aireviewmodeformamanager.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.d.ts +6 -0
- 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/augmentation.d.ts +6 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls.css +6 -0
- package/theme/aichat/aichat.css +2 -0
- package/theme/aichat/aisuggestioncontainer.css +8 -2
- package/theme/aireviewmode/aireviewmode-check-run-result.css +5 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xf8b171=_0x1745;(function(_0x4881f5,_0x7755c4){var _0x4953e2=_0x1745,_0x2807eb=_0x4881f5();while(!![]){try{var _0x4454ad=-parseInt(_0x4953e2(0x11e))/0x1+parseInt(_0x4953e2(0x112))/0x2+parseInt(_0x4953e2(0x103))/0x3*(parseInt(_0x4953e2(0x102))/0x4)+parseInt(_0x4953e2(0x118))/0x5+-parseInt(_0x4953e2(0x10d))/0x6+-parseInt(_0x4953e2(0x123))/0x7+parseInt(_0x4953e2(0xfc))/0x8*(parseInt(_0x4953e2(0x110))/0x9);if(_0x4454ad===_0x7755c4)break;else _0x2807eb['push'](_0x2807eb['shift']());}catch(_0x4ba903){_0x2807eb['push'](_0x2807eb['shift']());}}}(_0x4698,0xef1c2));import{AIChatFeedItemView as _0x20cfb4}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x1d216d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x212d31}from'./aichatfeedsuggestionitemactionsview.js';function _0x1745(_0x31716c,_0x4714af){var _0x469840=_0x4698();return _0x1745=function(_0x174532,_0x25fccb){_0x174532=_0x174532-0xfc;var _0x4c5b84=_0x469840[_0x174532];return _0x4c5b84;},_0x1745(_0x31716c,_0x4714af);}export class AIChatFeedSuggestionItemView extends _0x20cfb4{[_0xf8b171(0x10f)];[_0xf8b171(0x11b)];constructor(_0x4736d4,_0x3d8063){var _0xba634e=_0xf8b171;super(_0x3d8063),this[_0xba634e(0x10f)]=new _0x1d216d(_0x4736d4,{'showDiff':_0x3d8063[_0xba634e(0x11f)],'areActionsDisabled':_0x3d8063[_0xba634e(0x117)]}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x114),(_0x35ee97,_0x2b87fd)=>{var _0x5551f5=_0xba634e;this[_0x5551f5(0x105)](_0x5551f5(0x114),{'replyId':this[_0x5551f5(0x10e)]['id'],'showDiff':_0x2b87fd[_0x5551f5(0x11f)]});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x11c),()=>{var _0x43afbc=_0xba634e;this[_0x43afbc(0x105)](_0x43afbc(0x11c),{'replyId':this[_0x43afbc(0x10e)]['id']});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x124),()=>{var _0x37773a=_0xba634e;this[_0x37773a(0x105)](_0x37773a(0x124),{'replyId':this[_0x37773a(0x10e)]['id']});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x109),(_0x384735,{index:_0x16fd8f})=>{var _0x565aa1=_0xba634e;this[_0x565aa1(0x105)](_0x565aa1(0x109),{'replyId':this[_0x565aa1(0x10e)]['id'],'partIndex':_0x16fd8f});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x116),(_0x23d097,{index:_0x36d47f})=>{var _0x59fe93=_0xba634e;this[_0x59fe93(0x105)](_0x59fe93(0x116),{'replyId':this[_0x59fe93(0x10e)]['id'],'partIndex':_0x36d47f});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0xff),(_0x4ecb6c,{index:_0x5e1ee})=>{var _0x2c39cb=_0xba634e;this[_0x2c39cb(0x105)](_0x2c39cb(0xff),{'replyId':this[_0x2c39cb(0x10e)]['id'],'partIndex':_0x5e1ee});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x106),(_0x590bca,{index:_0x19fc40})=>{var _0x459a6e=_0xba634e;this[_0x459a6e(0x105)](_0x459a6e(0x106),{'replyId':this[_0x459a6e(0x10e)]['id'],'partIndex':_0x19fc40});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x108),(_0x7b7e6,{index:_0x5da232})=>{var _0x43e889=_0xba634e;this[_0x43e889(0x105)](_0x43e889(0x108),{'replyId':this[_0x43e889(0x10e)]['id'],'partIndex':_0x5da232});}),this[_0xba634e(0x11b)]=new _0x212d31(_0x4736d4),this[_0xba634e(0x11b)]['on'](_0xba634e(0x109),()=>{var _0x575a7e=_0xba634e;this[_0x575a7e(0x105)](_0x575a7e(0x109),{'replyId':this[_0x575a7e(0x10e)]['id']});}),this[_0xba634e(0x11b)]['on'](_0xba634e(0x116),()=>{var _0x31a22b=_0xba634e;this[_0x31a22b(0x105)](_0x31a22b(0x116),{'replyId':this[_0x31a22b(0x10e)]['id']});}),this[_0xba634e(0x11b)]['on'](_0xba634e(0x122),()=>{var _0x15a5a4=_0xba634e;this[_0x15a5a4(0x105)](_0x15a5a4(0x122),{'replyId':this[_0x15a5a4(0x10e)]['id']});}),_0x3d8063[_0xba634e(0x117)]?this[_0xba634e(0x11b)][_0xba634e(0x121)]=!0x1:this[_0xba634e(0x11b)][_0xba634e(0x119)](_0xba634e(0x121))['to'](this[_0xba634e(0x10f)][_0xba634e(0x120)],_0xba634e(0x111)),this[_0xba634e(0x101)][_0xba634e(0x11a)]([this[_0xba634e(0x10f)],this[_0xba634e(0x11b)]]),this[_0xba634e(0xfd)]({'attributes':{'class':[_0xba634e(0x107)]}});}async[_0xf8b171(0x115)](_0xc74e73){var _0x56bc3f=_0xf8b171;await this[_0x56bc3f(0x10f)][_0x56bc3f(0x115)](_0xc74e73),this[_0x56bc3f(0x11b)][_0x56bc3f(0x104)](this[_0x56bc3f(0x10f)][_0x56bc3f(0x120)][_0x56bc3f(0xfe)]);}[_0xf8b171(0x10c)](_0x56cd3d,_0x3cd4e7){var _0x34d6bf=_0xf8b171;this[_0x34d6bf(0x10f)][_0x34d6bf(0x120)][_0x34d6bf(0x10c)](_0x56cd3d,_0x3cd4e7);}[_0xf8b171(0x11d)](_0x2717d2){var _0x525cfa=_0xf8b171;this[_0x525cfa(0x10f)][_0x525cfa(0x11d)](_0x2717d2);}[_0xf8b171(0x10a)](_0x324e60){var _0x452bfd=_0xf8b171;return this[_0x452bfd(0x10f)][_0x452bfd(0x120)][_0x452bfd(0x10a)](_0x324e60);}[_0xf8b171(0x100)](){var _0x4bf96b=_0xf8b171;super[_0x4bf96b(0x100)](),this[_0x4bf96b(0x10f)][_0x4bf96b(0x100)](),this[_0x4bf96b(0x11b)][_0x4bf96b(0x10b)]=this[_0x4bf96b(0x10f)][_0x4bf96b(0x120)][_0x4bf96b(0x113)];}}function _0x4698(){var _0x33f34b=['like','updateSources','1092026neSnbe','showDiff','bodyView','isEnabled','applySuggestion','12774545UiJAEo','dislike','26551776FirRNU','extendTemplate','partsCount','rejectSuggestion','markAsDone','children','138172oYmolI','57HINwRd','updateLabels','fire','mouseOverSuggestion','ck-ai-chat__feed__ai-suggestion','mouseLeaveSuggestion','showChangeInText','getPartView','isVisible','updatePartState','3433128IVBcvu','options','containerView','9DMWQQm','hasPendingParts','769934WIzEnU','hasNonEmptyParts','toggleSuggestionDisplayMode','updateContent','insertSuggestion','areActionsDisabled','541435pbaZfi','bind','addMany','actionsView'];_0x4698=function(){return _0x33f34b;};return _0x4698();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x9b45cc=_0x54f6;(function(_0x47fce8,_0xca9829){var _0xc55fe2=_0x54f6,_0x2f0e93=_0x47fce8();while(!![]){try{var _0x5799b3=-parseInt(_0xc55fe2(0x162))/0x1+parseInt(_0xc55fe2(0x182))/0x2*(-parseInt(_0xc55fe2(0x161))/0x3)+-parseInt(_0xc55fe2(0x17d))/0x4*(parseInt(_0xc55fe2(0x176))/0x5)+parseInt(_0xc55fe2(0x17c))/0x6*(parseInt(_0xc55fe2(0x169))/0x7)+parseInt(_0xc55fe2(0x179))/0x8*(parseInt(_0xc55fe2(0x171))/0x9)+-parseInt(_0xc55fe2(0x165))/0xa*(parseInt(_0xc55fe2(0x170))/0xb)+parseInt(_0xc55fe2(0x16d))/0xc;if(_0x5799b3===_0xca9829)break;else _0x2f0e93['push'](_0x2f0e93['shift']());}catch(_0x5a7e54){_0x2f0e93['push'](_0x2f0e93['shift']());}}}(_0x4e1c,0x63894));function _0x4e1c(){var _0x49f528=['18203244tqHjjT','extendTemplate','ck-ai-chat__feed__message-content','181005eieTHs','5877FLLrWI','_createMessageContentView','_messageContentView','div','ck-ai-chat__feed__context-chips','5REqgAH','filter','initialContent','4808aFphbp','add','_bodyCollection','174WeaRAg','2534092RkNyao','markAsDone','_createContextChipsView','_contextChipsView','options','2nrjhXD','hidden','children','778983BKmOOs','336175aKpSPz','_locale','element','380iNQznL','innerHTML','setTemplate','contextItems','85197NbiDyu','length','render','ck-ai-chat__feed__user-message'];_0x4e1c=function(){return _0x49f528;};return _0x4e1c();}import{AIChatFeedItemView as _0x27fe9b}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x42ddc4}from'./aichatfeedcontextchipsview.js';import{View as _0x340187}from'ckeditor5/src/ui.js';function _0x54f6(_0xa5af6f,_0x2eef5d){var _0x4e1c07=_0x4e1c();return _0x54f6=function(_0x54f6e9,_0xad1e37){_0x54f6e9=_0x54f6e9-0x161;var _0x45a1ed=_0x4e1c07[_0x54f6e9];return _0x45a1ed;},_0x54f6(_0xa5af6f,_0x2eef5d);}export class AIChatFeedUserMessageItemView extends _0x27fe9b{[_0x9b45cc(0x180)]=null;[_0x9b45cc(0x163)];[_0x9b45cc(0x17b)];[_0x9b45cc(0x173)];constructor(_0x21a7fb,_0x5f03ec,_0xe1bb37){var _0x52c23e=_0x9b45cc;super(_0x5f03ec),this[_0x52c23e(0x163)]=_0x21a7fb,this[_0x52c23e(0x17b)]=_0xe1bb37,this[_0x52c23e(0x17f)](),this[_0x52c23e(0x172)](),this[_0x52c23e(0x16e)]({'attributes':{'class':[_0x52c23e(0x16c)]}});}[_0x9b45cc(0x17f)](){var _0x31deec=_0x9b45cc;this[_0x31deec(0x181)][_0x31deec(0x168)]&&this[_0x31deec(0x181)][_0x31deec(0x168)][_0x31deec(0x16a)]>0x0&&(this[_0x31deec(0x180)]=new _0x42ddc4(this[_0x31deec(0x163)],this[_0x31deec(0x181)][_0x31deec(0x168)][_0x31deec(0x177)](_0x268ee5=>!_0x268ee5[_0x31deec(0x183)]),this[_0x31deec(0x17b)]),this[_0x31deec(0x180)][_0x31deec(0x16e)]({'attributes':{'class':_0x31deec(0x175)}}),this[_0x31deec(0x184)][_0x31deec(0x17a)](this[_0x31deec(0x180)]));}[_0x9b45cc(0x172)](){var _0x22ecc9=_0x9b45cc;this[_0x22ecc9(0x173)]=new _0x340187(this[_0x22ecc9(0x163)]),this[_0x22ecc9(0x173)][_0x22ecc9(0x167)]({'tag':_0x22ecc9(0x174),'attributes':{'class':_0x22ecc9(0x16f)}}),this[_0x22ecc9(0x184)][_0x22ecc9(0x17a)](this[_0x22ecc9(0x173)]);}[_0x9b45cc(0x16b)](){var _0x101611=_0x9b45cc;super[_0x101611(0x16b)](),this[_0x101611(0x173)][_0x101611(0x164)][_0x101611(0x166)]=this[_0x101611(0x181)][_0x101611(0x178)],this[_0x101611(0x17e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1c2088=_0x3dde;function _0x2f2d(){const _0x231621=['564004FZOXsf','abortPromptStream','1727IOsAea','11965550NLSAac','addResourceToContext','addFileToContext','226RqYXOY','32ICGLCi','2919nAilFd','loadSourceResources','210UrTvQS','startConversation','addUrlToContext','125770cRPNyR','removeContextItem','6gAIJMm','selectModel','sendUserMessage','resizeTabs','21372HCSefC','8622198QReyoU','toggleWebSearch','145932gIIcgs','toggleReasoning','addDocumentToContext'];_0x2f2d=function(){return _0x231621;};return _0x2f2d();}function _0x3dde(_0x232ba5,_0xa77352){const _0x2f2d4e=_0x2f2d();return _0x3dde=function(_0x3dde25,_0x359b58){_0x3dde25=_0x3dde25-0x6f;let _0x5aecba=_0x2f2d4e[_0x3dde25];return _0x5aecba;},_0x3dde(_0x232ba5,_0xa77352);}(function(_0x23c902,_0x1a82d9){const _0x45947b=_0x3dde,_0x17c56b=_0x23c902();while(!![]){try{const _0x2d7678=parseInt(_0x45947b(0x7c))/0x1*(-parseInt(_0x45947b(0x7a))/0x2)+parseInt(_0x45947b(0x83))/0x3*(-parseInt(_0x45947b(0x71))/0x4)+-parseInt(_0x45947b(0x81))/0x5*(-parseInt(_0x45947b(0x7e))/0x6)+-parseInt(_0x45947b(0x74))/0x7*(-parseInt(_0x45947b(0x7b))/0x8)+parseInt(_0x45947b(0x6f))/0x9+-parseInt(_0x45947b(0x77))/0xa+-parseInt(_0x45947b(0x76))/0xb*(-parseInt(_0x45947b(0x87))/0xc);if(_0x2d7678===_0x1a82d9)break;else _0x17c56b['push'](_0x17c56b['shift']());}catch(_0x56e2cc){_0x17c56b['push'](_0x17c56b['shift']());}}}(_0x2f2d,0xcd4f5));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x48566e}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x48566e,_0x1c2088(0x7f),_0x1c2088(0x86),_0x1c2088(0x85),_0x1c2088(0x75),_0x1c2088(0x73),_0x1c2088(0x79),_0x1c2088(0x80),_0x1c2088(0x78),_0x1c2088(0x82),_0x1c2088(0x7d),_0x1c2088(0x70),_0x1c2088(0x72),_0x1c2088(0x84)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x39f29d=_0x1329;(function(_0x151ea3,_0x4e4b33){const _0x3fcf35=_0x1329,_0x4b2bba=_0x151ea3();while(!![]){try{const _0x34b9ab=parseInt(_0x3fcf35(0x192))/0x1+-parseInt(_0x3fcf35(0x18b))/0x2+-parseInt(_0x3fcf35(0x198))/0x3+parseInt(_0x3fcf35(0x18e))/0x4+-parseInt(_0x3fcf35(0x193))/0x5+-parseInt(_0x3fcf35(0x19b))/0x6*(parseInt(_0x3fcf35(0x185))/0x7)+-parseInt(_0x3fcf35(0x18c))/0x8*(-parseInt(_0x3fcf35(0x194))/0x9);if(_0x34b9ab===_0x4e4b33)break;else _0x4b2bba['push'](_0x4b2bba['shift']());}catch(_0x567f5a){_0x4b2bba['push'](_0x4b2bba['shift']());}}}(_0x1752,0xbeb8c));import{EmitterMixin as _0x29ad8a}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x29ad8a(){[_0x39f29d(0x195)]=[];[_0x39f29d(0x196)]=!0x1;[_0x39f29d(0x190)];async[_0x39f29d(0x18d)](_0x4c54a6){const _0x471a37=_0x39f29d,_0x4471dd=this[_0x471a37(0x19d)](_0x4c54a6);return this[_0x471a37(0x195)][_0x471a37(0x183)](_0x4471dd),this[_0x471a37(0x18f)](),_0x4471dd[_0x471a37(0x19c)];}[_0x39f29d(0x199)](){const _0x296165=_0x39f29d;this[_0x296165(0x196)]&&(this[_0x296165(0x190)][_0x296165(0x199)](),this[_0x296165(0x190)]=void 0x0,this[_0x296165(0x195)]=[],this[_0x296165(0x19a)](_0x296165(0x189)),this[_0x296165(0x196)]=!0x1);}get[_0x39f29d(0x19e)](){const _0x276047=_0x39f29d;return this[_0x276047(0x195)][_0x276047(0x187)]||this[_0x276047(0x196)]?new Promise(_0x29a8c7=>{const _0x5de567=_0x276047;this[_0x5de567(0x188)](_0x5de567(0x189),()=>{_0x29a8c7();});}):Promise[_0x276047(0x191)]();}async[_0x39f29d(0x18f)](){const _0x26c47c=_0x39f29d;if(!this[_0x26c47c(0x196)]){this[_0x26c47c(0x190)]=new AbortController(),this[_0x26c47c(0x196)]=!0x0;try{for(;this[_0x26c47c(0x195)][_0x26c47c(0x187)]&&this[_0x26c47c(0x196)];){const _0x49cd97=this[_0x26c47c(0x195)][_0x26c47c(0x197)]();try{await _0x49cd97[_0x26c47c(0x18a)](this[_0x26c47c(0x190)][_0x26c47c(0x186)]),_0x49cd97[_0x26c47c(0x191)]();}catch(_0xf8fc30){_0x49cd97[_0x26c47c(0x184)](_0xf8fc30);}}}finally{this[_0x26c47c(0x196)]=!0x1,this[_0x26c47c(0x190)]=void 0x0;}this[_0x26c47c(0x19a)](_0x26c47c(0x189));}}[_0x39f29d(0x19d)](_0x180dcd){let _0x509182,_0xde3044;const _0x2ba759=new Promise((_0x135887,_0x405b9a)=>{_0x509182=_0x135887,_0xde3044=_0x405b9a;});return{'callback':_0x180dcd,'resolve':_0x509182,'reject':_0xde3044,'completePromise':_0x2ba759};}}function _0x1329(_0x377d3b,_0x4e5c0e){const _0x175254=_0x1752();return _0x1329=function(_0x1329ad,_0x345e3f){_0x1329ad=_0x1329ad-0x183;let _0x3bcc89=_0x175254[_0x1329ad];return _0x3bcc89;},_0x1329(_0x377d3b,_0x4e5c0e);}function _0x1752(){const _0x3ffcdf=['push','reject','1336713JdbcqO','signal','length','once','_queueEmpty','callback','238496uYqMQs','196496jGHlIl','enqueue','434116ANPPct','_processQueue','_abortController','resolve','476722UFtlOw','5932195gdpAqS','639aBTqyy','queue','isProcessing','shift','153933IgFPZJ','abort','fire','6DQJozt','completePromise','createTask','queueEmptyPromise'];_0x1752=function(){return _0x3ffcdf;};return _0x1752();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x170a(){const _0x44cf7d=['ArrowDown','destroy','2430696VtMowp','771122fibVot','pointerdown','_isAtBottom','2526100CbQoAP','24952NOWnZe','addEventListener','_stop','End','3283JUJXbJ','PageDown','animationFrameId','includes','_onUserEvent','deltaY','start','336292NaCYvk','signal','bind','element','scrollHeight','9rWgcnO','type','9442090UJwbgr','ArrowUp','wheel','3VCeTyt','PageUp','scrollTo','isUserPaused','_rafUpdate','touchstart','abortController','abort','4154958KYiouu','stop','keydown','key','auto','Home','isRunning'];_0x170a=function(){return _0x44cf7d;};return _0x170a();}function _0x294b(_0x145df7,_0x2b10a7){const _0x170a3f=_0x170a();return _0x294b=function(_0x294b32,_0x214fde){_0x294b32=_0x294b32-0x191;let _0x2478ed=_0x170a3f[_0x294b32];return _0x2478ed;},_0x294b(_0x145df7,_0x2b10a7);}const _0x4e38d2=_0x294b;(function(_0x5819c9,_0xe52aac){const _0x2a5683=_0x294b,_0x4ac0c3=_0x5819c9();while(!![]){try{const _0x32cde6=parseInt(_0x2a5683(0x1bb))/0x1+parseInt(_0x2a5683(0x1ac))/0x2+-parseInt(_0x2a5683(0x19a))/0x3*(parseInt(_0x2a5683(0x1ab))/0x4)+parseInt(_0x2a5683(0x1af))/0x5+parseInt(_0x2a5683(0x1a2))/0x6+parseInt(_0x2a5683(0x1b4))/0x7*(-parseInt(_0x2a5683(0x1b0))/0x8)+-parseInt(_0x2a5683(0x195))/0x9*(-parseInt(_0x2a5683(0x197))/0xa);if(_0x32cde6===_0xe52aac)break;else _0x4ac0c3['push'](_0x4ac0c3['shift']());}catch(_0x3ff092){_0x4ac0c3['push'](_0x4ac0c3['shift']());}}}(_0x170a,0xc1aca));const ps=[_0x4e38d2(0x199),_0x4e38d2(0x19f),_0x4e38d2(0x1ad),_0x4e38d2(0x1a4)],ws=[_0x4e38d2(0x198),_0x4e38d2(0x1a9),_0x4e38d2(0x19b),_0x4e38d2(0x1b5),_0x4e38d2(0x1a7),_0x4e38d2(0x1b3),'\x20'];export class ScrollManager{[_0x4e38d2(0x193)];[_0x4e38d2(0x1b6)];[_0x4e38d2(0x1a8)];[_0x4e38d2(0x1a0)];[_0x4e38d2(0x19d)];constructor(_0x2f257e){const _0x24b63e=_0x4e38d2;this[_0x24b63e(0x193)]=_0x2f257e,this[_0x24b63e(0x1b6)]=null,this[_0x24b63e(0x1a8)]=!0x1,this[_0x24b63e(0x1a0)]=new AbortController(),this[_0x24b63e(0x19d)]=!0x1;for(const _0x40ed64 of ps){const _0x118151=_0x24b63e(0x1a4)!==_0x40ed64;this[_0x24b63e(0x193)][_0x24b63e(0x1b1)](_0x40ed64,this[_0x24b63e(0x1b8)][_0x24b63e(0x192)](this),{'passive':_0x118151,'signal':this[_0x24b63e(0x1a0)][_0x24b63e(0x191)]});}}[_0x4e38d2(0x1ba)](){const _0x7730d4=_0x4e38d2;this[_0x7730d4(0x1a8)]||(this[_0x7730d4(0x1a8)]=!0x0,this[_0x7730d4(0x19d)]=!0x1,this[_0x7730d4(0x1b6)]=requestAnimationFrame(this[_0x7730d4(0x19e)][_0x7730d4(0x192)](this)));}[_0x4e38d2(0x1a3)](){requestAnimationFrame(()=>{const _0x5b4c1d=_0x294b;this[_0x5b4c1d(0x1b2)]();});}[_0x4e38d2(0x1aa)](){const _0x2499c1=_0x4e38d2;this[_0x2499c1(0x1b2)](),this[_0x2499c1(0x1a0)][_0x2499c1(0x1a1)]();}[_0x4e38d2(0x1b2)](){const _0x3ca42d=_0x4e38d2;null!==this[_0x3ca42d(0x1b6)]&&(cancelAnimationFrame(this[_0x3ca42d(0x1b6)]),this[_0x3ca42d(0x1b6)]=null),this[_0x3ca42d(0x1a8)]&&(this[_0x3ca42d(0x1a8)]=!0x1),this[_0x3ca42d(0x19d)]=!0x1;}[_0x4e38d2(0x1b8)](_0x34efa7){const _0x2741fb=_0x4e38d2;if(this[_0x2741fb(0x1a8)]){if(_0x2741fb(0x1a4)===_0x34efa7[_0x2741fb(0x196)]){const _0x4376d5=_0x34efa7[_0x2741fb(0x1a5)];if(!ws[_0x2741fb(0x1b7)](_0x4376d5))return;}_0x34efa7 instanceof WheelEvent?_0x34efa7[_0x2741fb(0x1b9)]<0x0?this[_0x2741fb(0x19d)]=!0x0:this[_0x2741fb(0x19d)]=!this[_0x2741fb(0x1ae)]():this[_0x2741fb(0x19d)]=!0x0;}}[_0x4e38d2(0x1ae)](){const _0x5c8418=_0x4e38d2,{scrollTop:_0x20efa4,scrollHeight:_0x179939,clientHeight:_0x28612e}=this[_0x5c8418(0x193)];return _0x179939-_0x20efa4-_0x28612e<=0x5;}[_0x4e38d2(0x19e)](){const _0x39eff7=_0x4e38d2;this[_0x39eff7(0x1a8)]&&(this[_0x39eff7(0x19d)]||this[_0x39eff7(0x193)][_0x39eff7(0x19c)]({'top':this[_0x39eff7(0x193)][_0x39eff7(0x194)],'behavior':_0x39eff7(0x1a6)}),this[_0x39eff7(0x1b6)]=requestAnimationFrame(this[_0x39eff7(0x19e)][_0x39eff7(0x192)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x407fae=_0x3550;(function(_0x5843e2,_0x12a4c0){var _0x28e172=_0x3550,_0x3f3022=_0x5843e2();while(!![]){try{var _0x1b9625=parseInt(_0x28e172(0x93))/0x1+parseInt(_0x28e172(0x89))/0x2+-parseInt(_0x28e172(0x8c))/0x3*(parseInt(_0x28e172(0x94))/0x4)+parseInt(_0x28e172(0x96))/0x5*(parseInt(_0x28e172(0x90))/0x6)+-parseInt(_0x28e172(0x8a))/0x7*(parseInt(_0x28e172(0x88))/0x8)+-parseInt(_0x28e172(0x91))/0x9+parseInt(_0x28e172(0x8d))/0xa*(parseInt(_0x28e172(0x8f))/0xb);if(_0x1b9625===_0x12a4c0)break;else _0x3f3022['push'](_0x3f3022['shift']());}catch(_0x1ea75d){_0x3f3022['push'](_0x3f3022['shift']());}}}(_0x1978,0x8ad3b));function _0x3550(_0xfe3d02,_0x4b2a53){var _0x19786e=_0x1978();return _0x3550=function(_0x35503d,_0x2b932b){_0x35503d=_0x35503d-0x88;var _0x8773bb=_0x19786e[_0x35503d];return _0x8773bb;},_0x3550(_0xfe3d02,_0x4b2a53);}import{ContextPlugin as _0x3815b4}from'ckeditor5/src/core.js';function _0x1978(){var _0x232246=['128788vsnjMR','AIChatHistory','5OacJdu','isPremiumPlugin','120104JikPIC','443750UigbxD','217LGowFE','requires','6VtphUz','60590nMlfOJ','pluginName','1826GokqYD','3095754jrHonr','6148737dDLKFN','isOfficialPlugin','37997UnlPFG'];_0x1978=function(){return _0x232246;};return _0x1978();}import{AIChatHistoryController as _0x370862}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x1453eb}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3815b4{static get[_0x407fae(0x8b)](){return[_0x370862,_0x1453eb];}static get[_0x407fae(0x8e)](){var _0x5894b1=_0x407fae;return _0x5894b1(0x95);}static get[_0x407fae(0x92)](){return!0x0;}static get[_0x407fae(0x97)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1cb046=_0x40e1;(function(_0x2de25c,_0x23d4a3){const _0x137f07=_0x40e1,_0x13d1ba=_0x2de25c();while(!![]){try{const _0x47849f=parseInt(_0x137f07(0x11d))/0x1*(parseInt(_0x137f07(0x153))/0x2)+-parseInt(_0x137f07(0xf2))/0x3*(parseInt(_0x137f07(0x117))/0x4)+parseInt(_0x137f07(0x149))/0x5*(parseInt(_0x137f07(0x138))/0x6)+-parseInt(_0x137f07(0x104))/0x7*(-parseInt(_0x137f07(0x14a))/0x8)+-parseInt(_0x137f07(0x11b))/0x9+parseInt(_0x137f07(0x107))/0xa*(-parseInt(_0x137f07(0x137))/0xb)+-parseInt(_0x137f07(0x151))/0xc*(parseInt(_0x137f07(0x13e))/0xd);if(_0x47849f===_0x23d4a3)break;else _0x13d1ba['push'](_0x13d1ba['shift']());}catch(_0x56d6a0){_0x13d1ba['push'](_0x13d1ba['shift']());}}}(_0x50ac,0x440e7));import{ContextPlugin as _0x525851}from'ckeditor5/src/core.js';import{AIConnector as _0x27b29e}from'../aicore/aiconnector.js';import{AIChatController as _0x521ca8}from'../aichat/aichatcontroller.js';import{AITabs as _0x55d834}from'../aitabs/aitabs.js';function _0x50ac(){const _0x1b6c06=['updateItemLoadingState','_setItemLoading','2471436dtGker','chat','1rejUGB','items','history','requires','AI_CHAT_HISTORY_CATEGORY_LATER','itemRemoved','_getCategorizedItems','getItem','_showConversationHistory','_generateErrorMessage','pin','pluginName','plugins','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','getDate','_handleEditTitle','updates','setIsMaximized','locale','rename','loadConversation','_clearItemLoading','view','AI_CHAT_HISTORY_CATEGORY_TODAY','AI_CHAT_HISTORY_UNPIN_ACTION','updateItemTitle','355894VpizdI','11478RchOTL','resize','AIChatHistoryController','_handleTogglePin','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','getFullYear','13559bpGgDb','operation','openChat','_handleSelectConversation','isOfficialPlugin','AI_CHAT_HISTORY_ERROR_GENERIC','_updateHistoryItemsUI','pinned','init','length','unpin','905iBgyjq','726096VkZnsy','_aiChatHistoryUi','getMonth','get','change:activeConversation','setLoadingSkeleton','selectConversation','3108EIDSCs','_handleHistoryErrorUI','1091576kEpHpG','AI_CHAT_UNTITLED_CONVERSATION','error','remove','removeItem','setConversationPinned','_aiConnector','showError','380847JyHgnp','itemsLoaded','handleRemovedConversation','updateItems','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_PIN_ACTION','createdAt','_handleRemove','map','loadItems','editConversationTitle','activeConversation','getGroupId','push','setDate','removeHistoryItem','itemId','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','7vlCfFw','resizeTabs','toLocaleDateString','10ZsrGZs','title','context','listenTo','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','isPremiumPlugin','activateTab','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','AI_CHAT_HISTORY_CATEGORY_PINNED','getItems','resizedTabs','removeConversation','_setIsMaximized','itemUpdated','_aiChatController','activateTab:history','4cjYaGU','updateItemPinned'];_0x50ac=function(){return _0x1b6c06;};return _0x50ac();}import{AIChatHistoryUI as _0x4d55ea}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x23ba21}from'./model/aichathistoryconversations.js';import{getTranslation as _0x9a32b0}from'../aicore/utils/common-translations.js';function _0x40e1(_0x557e5f,_0x5a4a15){const _0x50ac1b=_0x50ac();return _0x40e1=function(_0x40e1ef,_0x2356aa){_0x40e1ef=_0x40e1ef-0xf1;let _0x516c17=_0x50ac1b[_0x40e1ef];return _0x516c17;},_0x40e1(_0x557e5f,_0x5a4a15);}export class AIChatHistoryController extends _0x525851{[_0x1cb046(0x159)];[_0x1cb046(0x14b)];[_0x1cb046(0x115)];static get[_0x1cb046(0x120)](){return[_0x27b29e,_0x521ca8,_0x4d55ea,_0x55d834];}static get[_0x1cb046(0x128)](){const _0x1bc99e=_0x1cb046;return _0x1bc99e(0x13a);}static get[_0x1cb046(0x142)](){return!0x0;}static get[_0x1cb046(0x10c)](){return!0x0;}[_0x1cb046(0x146)](){const _0x57a640=_0x1cb046;this[_0x57a640(0x159)]=this[_0x57a640(0x109)][_0x57a640(0x129)][_0x57a640(0x14d)](_0x27b29e),this[_0x57a640(0x14b)]=this[_0x57a640(0x109)][_0x57a640(0x129)][_0x57a640(0x14d)](_0x4d55ea),this[_0x57a640(0x115)]=this[_0x57a640(0x109)][_0x57a640(0x129)][_0x57a640(0x14d)](_0x521ca8);const _0x584f22=this[_0x57a640(0x109)][_0x57a640(0x129)][_0x57a640(0x14d)](_0x55d834),_0x381408=this[_0x57a640(0x115)][_0x57a640(0xfe)]();this[_0x57a640(0x11f)]=new _0x23ba21({'connector':this[_0x57a640(0x159)],'group':_0x381408}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x112),(_0x26d0ec,_0x398a17)=>{const _0x137702=_0x57a640;this[_0x137702(0x11a)](_0x398a17['id'],_0x137702(0x156)),this[_0x137702(0xf9)](_0x398a17['id']);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0xfc),(_0x22c37c,_0x4af3b6)=>{const _0x47f1d7=_0x57a640;this[_0x47f1d7(0x11a)](_0x4af3b6['id'],_0x47f1d7(0x130)),this[_0x47f1d7(0x12c)](_0x4af3b6['id'],_0x4af3b6[_0x47f1d7(0x108)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x11f)],_0x57a640(0x114),(_0x2a9633,_0x4a451c)=>{const _0x253de6=_0x57a640;void 0x0!==_0x4a451c[_0x253de6(0x12d)][_0x253de6(0x108)]&&this[_0x253de6(0x14b)][_0x253de6(0x136)](_0x4a451c[_0x253de6(0x102)],_0x4a451c[_0x253de6(0x12d)][_0x253de6(0x108)]),void 0x0!==_0x4a451c[_0x253de6(0x12d)][_0x253de6(0x145)]&&this[_0x253de6(0x144)](),this[_0x253de6(0x132)](_0x4a451c[_0x253de6(0x102)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x11f)],_0x57a640(0x122),(_0x31e940,_0x56cd26)=>{const _0x13c758=_0x57a640;this[_0x13c758(0x115)][_0x13c758(0xf4)](_0x56cd26[_0x13c758(0x102)]),this[_0x13c758(0x14b)][_0x13c758(0x101)](_0x56cd26[_0x13c758(0x102)]),this[_0x13c758(0x132)](_0x56cd26[_0x13c758(0x102)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x11f)],_0x57a640(0xf3),()=>{const _0x42586b=_0x57a640;this[_0x42586b(0x144)]();}),this[_0x57a640(0x10a)](this[_0x57a640(0x11f)],_0x57a640(0x155),(_0x163bee,_0xefe69d)=>{const _0x579afa=_0x57a640;this[_0x579afa(0x152)](_0xefe69d[_0x579afa(0x155)],_0xefe69d[_0x579afa(0x13f)],_0xefe69d[_0x579afa(0x102)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x150),(_0x5b4d99,_0x3ca962)=>{const _0x5c2055=_0x57a640;this[_0x5c2055(0x141)](_0x3ca962['id']);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x158),(_0xff4170,_0x540a76)=>{const _0x4d83b4=_0x57a640,_0x3e1d0c=_0x540a76[_0x4d83b4(0x145)]?_0x4d83b4(0x127):_0x4d83b4(0x148);this[_0x4d83b4(0x11a)](_0x540a76['id'],_0x3e1d0c),this[_0x4d83b4(0x13b)](_0x540a76['id'],_0x540a76[_0x4d83b4(0x145)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x140),()=>{const _0x19a378=_0x57a640;_0x584f22[_0x19a378(0x133)][_0x19a378(0x10d)](_0x19a378(0x11c));}),this[_0x57a640(0x10a)](this[_0x57a640(0x115)],_0x57a640(0x14e),()=>{const _0x3c7f65=_0x57a640;this[_0x3c7f65(0x144)]();}),_0x584f22[_0x57a640(0x133)]['on'](_0x57a640(0x116),()=>{const _0x2cb73d=_0x57a640;this[_0x2cb73d(0x125)]();}),this[_0x57a640(0x10a)](_0x584f22,_0x57a640(0x111),(_0x5af5ed,_0x30df3d)=>{const _0x3f24c0=_0x57a640;this[_0x3f24c0(0x113)](_0x30df3d);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x105),()=>{const _0x12d199=_0x57a640;_0x584f22[_0x12d199(0x139)]();});}async[_0x1cb046(0x12c)](_0xe47f17,_0x1916bd){const _0x3d3421=_0x1cb046;await this[_0x3d3421(0x11f)][_0x3d3421(0x136)](_0xe47f17,_0x1916bd);}async[_0x1cb046(0x13b)](_0x4befd5,_0x3c4350){const _0x3e36b2=_0x1cb046;await this[_0x3e36b2(0x11f)][_0x3e36b2(0x118)](_0x4befd5,_0x3c4350);}async[_0x1cb046(0xf9)](_0x304b40){const _0x5dd04d=_0x1cb046;await this[_0x5dd04d(0x11f)][_0x5dd04d(0x157)](_0x304b40);}async[_0x1cb046(0x141)](_0x4bec93){const _0x5b858d=_0x1cb046;await this[_0x5b858d(0x115)][_0x5b858d(0x131)](_0x4bec93);}async[_0x1cb046(0x125)](){const _0x42dbc1=_0x1cb046;this[_0x42dbc1(0x14b)][_0x42dbc1(0xf1)](''),this[_0x42dbc1(0x14b)][_0x42dbc1(0x14f)](!0x0),await this[_0x42dbc1(0x11f)][_0x42dbc1(0x146)](),this[_0x42dbc1(0x14b)][_0x42dbc1(0x14f)](!0x1);}[_0x1cb046(0x144)](){const _0x51c476=_0x1cb046,_0xfa3d99=this[_0x51c476(0x115)][_0x51c476(0xfd)]?.['id'],_0x4f0163=this[_0x51c476(0x123)]()[_0x51c476(0xfa)](_0x4410da=>({'title':_0x4410da[_0x51c476(0x108)],'items':_0x4410da[_0x51c476(0x11e)][_0x51c476(0xfa)](_0x4a7509=>({'id':_0x4a7509['id'],'title':_0x4a7509[_0x51c476(0x108)]||_0x9a32b0(this[_0x51c476(0x109)][_0x51c476(0x12f)],_0x51c476(0x154)),'createdAt':new Date(_0x4a7509[_0x51c476(0xf8)])[_0x51c476(0x106)](),'active':_0x4a7509['id']===_0xfa3d99,'pinned':_0x4a7509[_0x51c476(0x145)]}))}));this[_0x51c476(0x14b)][_0x51c476(0xf5)](_0x4f0163);}[_0x1cb046(0x11a)](_0x3cf3ab,_0x3d917d){const _0x15e28f=_0x1cb046;this[_0x15e28f(0x14b)][_0x15e28f(0x119)](_0x3cf3ab,_0x3d917d,!0x0);}[_0x1cb046(0x132)](_0x5fee95){const _0xef57c4=_0x1cb046;this[_0xef57c4(0x14b)][_0xef57c4(0x119)](_0x5fee95,null,!0x1);}[_0x1cb046(0x152)](_0xcce371,_0x8d3c9f,_0x9c70a7){const _0x5e3fbc=_0x1cb046,_0xca471=this[_0x5e3fbc(0x126)](_0x8d3c9f,_0x9c70a7);this[_0x5e3fbc(0x14b)][_0x5e3fbc(0xf1)](_0xca471),_0x9c70a7&&this[_0x5e3fbc(0x132)](_0x9c70a7),this[_0x5e3fbc(0x14b)][_0x5e3fbc(0x14f)](!0x1);}[_0x1cb046(0x126)](_0x49b16c,_0x3d6e72){const _0x65606c=_0x1cb046,_0x29204f=_0x3d6e72?this[_0x65606c(0x11f)][_0x65606c(0x124)](_0x3d6e72):null,_0x31cc4e=_0x29204f?.[_0x65606c(0x108)]||_0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x154));switch(_0x49b16c){case _0x65606c(0x136):return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x103),_0x31cc4e);case _0x65606c(0x118):{const _0x36f4d8=_0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x29204f?.[_0x65606c(0x145)]?_0x65606c(0x135):_0x65606c(0xf7));return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0xf6),[_0x36f4d8,_0x31cc4e]);}case _0x65606c(0x157):return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x12a),_0x31cc4e);case _0x65606c(0x146):case _0x65606c(0xfb):return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x10b));default:return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x143));}}[_0x1cb046(0x123)](){const _0x384888=_0x1cb046,_0x5f4458=new Date(),_0x3ec2fa=new Date(_0x5f4458[_0x384888(0x13d)](),_0x5f4458[_0x384888(0x14c)](),_0x5f4458[_0x384888(0x12b)]()),_0x4025d3=new Date(_0x3ec2fa);_0x4025d3[_0x384888(0x100)](_0x4025d3[_0x384888(0x12b)]()-0x1);const _0x745ec7=new Date(_0x3ec2fa);_0x745ec7[_0x384888(0x100)](_0x745ec7[_0x384888(0x12b)]()-0xe);const _0x26801d=this[_0x384888(0x11f)][_0x384888(0x110)]({'pinned':!0x0}),_0x5bd1a7=this[_0x384888(0x11f)][_0x384888(0x110)]({'from':_0x3ec2fa,'to':_0x3ec2fa}),_0x13c8cb=this[_0x384888(0x11f)][_0x384888(0x110)]({'from':_0x4025d3,'to':_0x4025d3}),_0x4fdef8=this[_0x384888(0x11f)][_0x384888(0x110)]({'from':_0x745ec7,'to':_0x4025d3}),_0x277ebe=this[_0x384888(0x11f)][_0x384888(0x110)]({'to':_0x745ec7}),_0x483c9e=[];return _0x26801d[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x10f)),'items':_0x26801d}),_0x5bd1a7[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x134)),'items':_0x5bd1a7}),_0x13c8cb[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x13c)),'items':_0x13c8cb}),_0x4fdef8[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x10e)),'items':_0x4fdef8}),_0x277ebe[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x121)),'items':_0x277ebe}),_0x483c9e;}[_0x1cb046(0x113)](_0x410017){const _0x38c6b5=_0x1cb046;this[_0x38c6b5(0x14b)][_0x38c6b5(0x12e)](_0x410017);}}
|
|
23
|
+
const _0x3bb777=_0x17a5;(function(_0x26edbf,_0x23429c){const _0x2285b3=_0x17a5,_0x2ef61f=_0x26edbf();while(!![]){try{const _0x4ab58a=parseInt(_0x2285b3(0x137))/0x1+parseInt(_0x2285b3(0x123))/0x2+parseInt(_0x2285b3(0xdd))/0x3+-parseInt(_0x2285b3(0x126))/0x4*(parseInt(_0x2285b3(0x11d))/0x5)+-parseInt(_0x2285b3(0xf5))/0x6+parseInt(_0x2285b3(0xd9))/0x7*(parseInt(_0x2285b3(0x106))/0x8)+-parseInt(_0x2285b3(0x11f))/0x9;if(_0x4ab58a===_0x23429c)break;else _0x2ef61f['push'](_0x2ef61f['shift']());}catch(_0x186f66){_0x2ef61f['push'](_0x2ef61f['shift']());}}}(_0x76e5,0x6a813));import{ContextPlugin as _0x2d3c76}from'ckeditor5/src/core.js';import{AIConnector as _0x5b6869}from'../aicore/aiconnector.js';function _0x76e5(){const _0x34eea6=['history','updateItemTitle','updates','getDate','view','309883VrVdUU','AIChatHistoryController','setIsMaximized','itemsLoaded','1863813sfPhDc','activeConversation','AI_CHAT_HISTORY_UNPIN_ACTION','editConversationTitle','itemUpdated','_updateHistoryItemsUI','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_handleSelectConversation','setConversationPinned','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','length','_generateErrorMessage','selectConversation','removeConversation','showError','itemRemoved','removeHistoryItem','itemId','push','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','operation','updateItemLoadingState','loadConversation','_clearItemLoading','387924Fxznsi','resizedTabs','activateTab:history','createdAt','resize','AI_CHAT_HISTORY_CATEGORY_TODAY','pin','AI_CHAT_HISTORY_PIN_ACTION','isOfficialPlugin','getMonth','unpin','listenTo','_handleHistoryErrorUI','handleRemovedConversation','_aiConnector','getFullYear','_setItemLoading','24qRYVSE','getItems','context','requires','updateItemPinned','setLoadingSkeleton','updateItems','_showConversationHistory','remove','plugins','_aiChatHistoryUi','_aiChatController','AI_CHAT_HISTORY_CATEGORY_LATER','change:activeConversation','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','init','removeItem','_handleTogglePin','get','locale','AI_CHAT_UNTITLED_CONVERSATION','rename','chat','115DWASpH','map','9044028ABrDjd','AI_CHAT_HISTORY_CATEGORY_PINNED','loadItems','resizeTabs','700856NqIZkb','_getCategorizedItems','getItem','16892aYqCdG','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','openChat','_handleEditTitle','setDate','title','_handleRemove','error','pinned','activateTab','_setIsMaximized','isPremiumPlugin','items','getGroupId','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','pluginName','toLocaleDateString','498412dWPHxo','AI_CHAT_HISTORY_ERROR_GENERIC'];_0x76e5=function(){return _0x34eea6;};return _0x76e5();}function _0x17a5(_0x507f8e,_0x387393){const _0x76e581=_0x76e5();return _0x17a5=function(_0x17a513,_0x536410){_0x17a513=_0x17a513-0xd9;let _0x16525c=_0x76e581[_0x17a513];return _0x16525c;},_0x17a5(_0x507f8e,_0x387393);}import{AIChatController as _0x3ff63d}from'../aichat/aichatcontroller.js';import{AITabs as _0x2dc193}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x24a0d5}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x18290a}from'./model/aichathistoryconversations.js';import{getTranslation as _0x2c5fd4}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x2d3c76{[_0x3bb777(0x103)];[_0x3bb777(0x110)];[_0x3bb777(0x111)];static get[_0x3bb777(0x109)](){return[_0x5b6869,_0x3ff63d,_0x24a0d5,_0x2dc193];}static get[_0x3bb777(0x135)](){const _0x3e42cb=_0x3bb777;return _0x3e42cb(0xda);}static get[_0x3bb777(0xfd)](){return!0x0;}static get[_0x3bb777(0x131)](){return!0x0;}[_0x3bb777(0x115)](){const _0x50dd2a=_0x3bb777;this[_0x50dd2a(0x103)]=this[_0x50dd2a(0x108)][_0x50dd2a(0x10f)][_0x50dd2a(0x118)](_0x5b6869),this[_0x50dd2a(0x110)]=this[_0x50dd2a(0x108)][_0x50dd2a(0x10f)][_0x50dd2a(0x118)](_0x24a0d5),this[_0x50dd2a(0x111)]=this[_0x50dd2a(0x108)][_0x50dd2a(0x10f)][_0x50dd2a(0x118)](_0x3ff63d);const _0x204c93=this[_0x50dd2a(0x108)][_0x50dd2a(0x10f)][_0x50dd2a(0x118)](_0x2dc193),_0x443769=this[_0x50dd2a(0x111)][_0x50dd2a(0x133)]();this[_0x50dd2a(0x139)]=new _0x18290a({'connector':this[_0x50dd2a(0x103)],'group':_0x443769}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x110)],_0x50dd2a(0xea),(_0x3d2fcb,_0x4c120c)=>{const _0x56fa5b=_0x50dd2a;this[_0x56fa5b(0x105)](_0x4c120c['id'],_0x56fa5b(0x10e)),this[_0x56fa5b(0x12c)](_0x4c120c['id']);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x110)],_0x50dd2a(0xe0),(_0x5d3df1,_0x43ab6d)=>{const _0x2656f8=_0x50dd2a;this[_0x2656f8(0x105)](_0x43ab6d['id'],_0x2656f8(0x11b)),this[_0x2656f8(0x129)](_0x43ab6d['id'],_0x43ab6d[_0x2656f8(0x12b)]);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x139)],_0x50dd2a(0xe1),(_0x4a557c,_0x49cf2c)=>{const _0x2e2430=_0x50dd2a;void 0x0!==_0x49cf2c[_0x2e2430(0x13b)][_0x2e2430(0x12b)]&&this[_0x2e2430(0x110)][_0x2e2430(0x13a)](_0x49cf2c[_0x2e2430(0xee)],_0x49cf2c[_0x2e2430(0x13b)][_0x2e2430(0x12b)]),void 0x0!==_0x49cf2c[_0x2e2430(0x13b)][_0x2e2430(0x12e)]&&this[_0x2e2430(0xe2)](),this[_0x2e2430(0xf4)](_0x49cf2c[_0x2e2430(0xee)]);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x139)],_0x50dd2a(0xec),(_0x2e6b54,_0x2d2340)=>{const _0x192f1b=_0x50dd2a;this[_0x192f1b(0x111)][_0x192f1b(0x102)](_0x2d2340[_0x192f1b(0xee)]),this[_0x192f1b(0x110)][_0x192f1b(0xed)](_0x2d2340[_0x192f1b(0xee)]),this[_0x192f1b(0xf4)](_0x2d2340[_0x192f1b(0xee)]);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x139)],_0x50dd2a(0xdc),()=>{const _0x61dfb8=_0x50dd2a;this[_0x61dfb8(0xe2)]();}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x139)],_0x50dd2a(0x12d),(_0x1fb5e7,_0x2d2bcc)=>{const _0x1a728a=_0x50dd2a;this[_0x1a728a(0x101)](_0x2d2bcc[_0x1a728a(0x12d)],_0x2d2bcc[_0x1a728a(0xf1)],_0x2d2bcc[_0x1a728a(0xee)]);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x110)],_0x50dd2a(0xe9),(_0x48845d,_0x2d8fb5)=>{const _0x15c0d4=_0x50dd2a;this[_0x15c0d4(0xe4)](_0x2d8fb5['id']);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x110)],_0x50dd2a(0xe5),(_0x37c903,_0x5db82e)=>{const _0x39dd70=_0x50dd2a,_0x15b069=_0x5db82e[_0x39dd70(0x12e)]?_0x39dd70(0xfb):_0x39dd70(0xff);this[_0x39dd70(0x105)](_0x5db82e['id'],_0x15b069),this[_0x39dd70(0x117)](_0x5db82e['id'],_0x5db82e[_0x39dd70(0x12e)]);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x110)],_0x50dd2a(0x128),()=>{const _0x56d9ad=_0x50dd2a;_0x204c93[_0x56d9ad(0x13d)][_0x56d9ad(0x12f)](_0x56d9ad(0x11c));}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x111)],_0x50dd2a(0x113),()=>{const _0x3c7523=_0x50dd2a;this[_0x3c7523(0xe2)]();}),_0x204c93[_0x50dd2a(0x13d)]['on'](_0x50dd2a(0xf7),()=>{const _0x117e9c=_0x50dd2a;this[_0x117e9c(0x10d)]();}),this[_0x50dd2a(0x100)](_0x204c93,_0x50dd2a(0xf6),(_0x57b44c,_0x1850c9)=>{const _0x39d8ec=_0x50dd2a;this[_0x39d8ec(0x130)](_0x1850c9);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x110)],_0x50dd2a(0x122),()=>{const _0x65b003=_0x50dd2a;_0x204c93[_0x65b003(0xf9)]();});}async[_0x3bb777(0x129)](_0xb841a4,_0x332975){const _0x58bab3=_0x3bb777;await this[_0x58bab3(0x139)][_0x58bab3(0x13a)](_0xb841a4,_0x332975);}async[_0x3bb777(0x117)](_0x2ff466,_0x166f17){const _0x1eb635=_0x3bb777;await this[_0x1eb635(0x139)][_0x1eb635(0x10a)](_0x2ff466,_0x166f17);}async[_0x3bb777(0x12c)](_0xafb7de){const _0xfe62e3=_0x3bb777;await this[_0xfe62e3(0x139)][_0xfe62e3(0x116)](_0xafb7de);}async[_0x3bb777(0xe4)](_0x53499b){const _0x13d44d=_0x3bb777;await this[_0x13d44d(0x111)][_0x13d44d(0xf3)](_0x53499b);}async[_0x3bb777(0x10d)](){const _0xb2f575=_0x3bb777;this[_0xb2f575(0x110)][_0xb2f575(0xeb)](''),this[_0xb2f575(0x110)][_0xb2f575(0x10b)](!0x0),await this[_0xb2f575(0x139)][_0xb2f575(0x115)](),this[_0xb2f575(0x110)][_0xb2f575(0x10b)](!0x1);}[_0x3bb777(0xe2)](){const _0x4d28a2=_0x3bb777,_0x45a70f=this[_0x4d28a2(0x111)][_0x4d28a2(0xde)]?.['id'],_0x283107=this[_0x4d28a2(0x124)]()[_0x4d28a2(0x11e)](_0x3d26f2=>({'title':_0x3d26f2[_0x4d28a2(0x12b)],'items':_0x3d26f2[_0x4d28a2(0x132)][_0x4d28a2(0x11e)](_0x26c02b=>({'id':_0x26c02b['id'],'title':_0x26c02b[_0x4d28a2(0x12b)]||_0x2c5fd4(this[_0x4d28a2(0x108)][_0x4d28a2(0x119)],_0x4d28a2(0x11a)),'createdAt':new Date(_0x26c02b[_0x4d28a2(0xf8)])[_0x4d28a2(0x136)](),'active':_0x26c02b['id']===_0x45a70f,'pinned':_0x26c02b[_0x4d28a2(0x12e)]}))}));this[_0x4d28a2(0x110)][_0x4d28a2(0x10c)](_0x283107);}[_0x3bb777(0x105)](_0x2c37cb,_0x59722f){const _0x1bf24b=_0x3bb777;this[_0x1bf24b(0x110)][_0x1bf24b(0xf2)](_0x2c37cb,_0x59722f,!0x0);}[_0x3bb777(0xf4)](_0x495a5e){const _0x5d2e99=_0x3bb777;this[_0x5d2e99(0x110)][_0x5d2e99(0xf2)](_0x495a5e,null,!0x1);}[_0x3bb777(0x101)](_0x531615,_0x2eb4c6,_0x54b265){const _0x2a64b3=_0x3bb777,_0x527459=this[_0x2a64b3(0xe8)](_0x2eb4c6,_0x54b265);this[_0x2a64b3(0x110)][_0x2a64b3(0xeb)](_0x527459),_0x54b265&&this[_0x2a64b3(0xf4)](_0x54b265),this[_0x2a64b3(0x110)][_0x2a64b3(0x10b)](!0x1);}[_0x3bb777(0xe8)](_0x16afb9,_0x6641ca){const _0x34fa2c=_0x3bb777,_0x3f8329=_0x6641ca?this[_0x34fa2c(0x139)][_0x34fa2c(0x125)](_0x6641ca):null,_0x408804=_0x3f8329?.[_0x34fa2c(0x12b)]||_0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x34fa2c(0x11a));switch(_0x16afb9){case _0x34fa2c(0x13a):return _0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x34fa2c(0x114),_0x408804);case _0x34fa2c(0x10a):{const _0x3fda50=_0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x3f8329?.[_0x34fa2c(0x12e)]?_0x34fa2c(0xdf):_0x34fa2c(0xfc));return _0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x34fa2c(0x127),[_0x3fda50,_0x408804]);}case _0x34fa2c(0x116):return _0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x34fa2c(0xe6),_0x408804);case _0x34fa2c(0x115):case _0x34fa2c(0x121):return _0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x34fa2c(0xf0));default:return _0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x34fa2c(0x138));}}[_0x3bb777(0x124)](){const _0x2c8895=_0x3bb777,_0x2a0bcb=new Date(),_0x32cdf7=new Date(_0x2a0bcb[_0x2c8895(0x104)](),_0x2a0bcb[_0x2c8895(0xfe)](),_0x2a0bcb[_0x2c8895(0x13c)]()),_0x54a3a5=new Date(_0x32cdf7);_0x54a3a5[_0x2c8895(0x12a)](_0x54a3a5[_0x2c8895(0x13c)]()-0x1);const _0x47d2aa=new Date(_0x32cdf7);_0x47d2aa[_0x2c8895(0x12a)](_0x47d2aa[_0x2c8895(0x13c)]()-0xe);const _0x56009b=this[_0x2c8895(0x139)][_0x2c8895(0x107)]({'pinned':!0x0}),_0x186092=this[_0x2c8895(0x139)][_0x2c8895(0x107)]({'from':_0x32cdf7,'to':_0x32cdf7}),_0x1ffabd=this[_0x2c8895(0x139)][_0x2c8895(0x107)]({'from':_0x54a3a5,'to':_0x54a3a5}),_0x3ce56e=this[_0x2c8895(0x139)][_0x2c8895(0x107)]({'from':_0x47d2aa,'to':_0x54a3a5}),_0x477d06=this[_0x2c8895(0x139)][_0x2c8895(0x107)]({'to':_0x47d2aa}),_0x18e436=[];return _0x56009b[_0x2c8895(0xe7)]>0x0&&_0x18e436[_0x2c8895(0xef)]({'title':_0x2c5fd4(this[_0x2c8895(0x108)][_0x2c8895(0x119)],_0x2c8895(0x120)),'items':_0x56009b}),_0x186092[_0x2c8895(0xe7)]>0x0&&_0x18e436[_0x2c8895(0xef)]({'title':_0x2c5fd4(this[_0x2c8895(0x108)][_0x2c8895(0x119)],_0x2c8895(0xfa)),'items':_0x186092}),_0x1ffabd[_0x2c8895(0xe7)]>0x0&&_0x18e436[_0x2c8895(0xef)]({'title':_0x2c5fd4(this[_0x2c8895(0x108)][_0x2c8895(0x119)],_0x2c8895(0x134)),'items':_0x1ffabd}),_0x3ce56e[_0x2c8895(0xe7)]>0x0&&_0x18e436[_0x2c8895(0xef)]({'title':_0x2c5fd4(this[_0x2c8895(0x108)][_0x2c8895(0x119)],_0x2c8895(0xe3)),'items':_0x3ce56e}),_0x477d06[_0x2c8895(0xe7)]>0x0&&_0x18e436[_0x2c8895(0xef)]({'title':_0x2c5fd4(this[_0x2c8895(0x108)][_0x2c8895(0x119)],_0x2c8895(0x112)),'items':_0x477d06}),_0x18e436;}[_0x3bb777(0x130)](_0x5bd8b4){const _0x23189c=_0x3bb777;this[_0x23189c(0x110)][_0x23189c(0xdb)](_0x5bd8b4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9175fa=_0x247c;(function(_0x511f7e,_0x40a3f2){const _0x28ec59=_0x247c,_0x12e60c=_0x511f7e();while(!![]){try{const _0x150846=-parseInt(_0x28ec59(0x1f5))/0x1+-parseInt(_0x28ec59(0x201))/0x2+-parseInt(_0x28ec59(0x1fd))/0x3+-parseInt(_0x28ec59(0x21c))/0x4*(-parseInt(_0x28ec59(0x219))/0x5)+parseInt(_0x28ec59(0x209))/0x6+parseInt(_0x28ec59(0x1f7))/0x7+parseInt(_0x28ec59(0x1fb))/0x8*(parseInt(_0x28ec59(0x211))/0x9);if(_0x150846===_0x40a3f2)break;else _0x12e60c['push'](_0x12e60c['shift']());}catch(_0xb3407a){_0x12e60c['push'](_0x12e60c['shift']());}}}(_0x5ed8,0x63208));import{ContextPlugin as _0x49c4bf}from'ckeditor5/src/core.js';function _0x247c(_0x563739,_0xcb32f5){const _0x5ed8b2=_0x5ed8();return _0x247c=function(_0x247ca4,_0x37e869){_0x247ca4=_0x247ca4-0x1f4;let _0x18dd58=_0x5ed8b2[_0x247ca4];return _0x18dd58;},_0x247c(_0x563739,_0xcb32f5);}import{AITabs as _0x231766}from'../aitabs/aitabs.js';import{IconAIHistory as _0x9e71ea}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x3dc103}from'./ui/aichathistoryview.js';import{getTranslation as _0x1d9459}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x9175fa(0x220),_0x9175fa(0x1f6),_0x9175fa(0x1ff),_0x9175fa(0x217),_0x9175fa(0x202),_0x9175fa(0x200),_0x9175fa(0x1f9)];function _0x5ed8(){const _0x1e0e07=['showConversationHistory','hideError','136630mXfXWY','removeConversation','5491059RjAPMx','removeHistoryItem','resizeTabs','setLoadingSkeleton','5264568jYRVvg','delegate','1757748NPaFts','pluginName','editConversationTitle','openChat','1417488Rutcyd','selectConversation','AI_CHAT_HISTORY_HEADING','errorMessage','showError','requires','updateHistoryItemsWithCategories','AITabs','258042supQFb','AIChatHistoryUI','isOfficialPlugin','history','get','isMaximized','plugins','isLoading','9OivJmv','_historyView','updateItems','updateItemTitle','context','isPremiumPlugin','setConversationPinned','addTab','8665LOLTNi','showResizeButton','setIsMaximized','812yEJzvu','view','locale','updateItemLoadingState'];_0x5ed8=function(){return _0x1e0e07;};return _0x5ed8();}export class AIChatHistoryUI extends _0x49c4bf{static get[_0x9175fa(0x206)](){return[_0x231766];}[_0x9175fa(0x212)];static get[_0x9175fa(0x1fe)](){const _0xa8c943=_0x9175fa;return _0xa8c943(0x20a);}static get[_0x9175fa(0x20b)](){return!0x0;}static get[_0x9175fa(0x216)](){return!0x0;}constructor(_0x238e12){const _0x3d684c=_0x9175fa;super(_0x238e12);const _0xa12c5e=this[_0x3d684c(0x215)][_0x3d684c(0x20f)][_0x3d684c(0x20d)](_0x3d684c(0x208));this[_0x3d684c(0x212)]=new _0x3dc103(this[_0x3d684c(0x215)][_0x3d684c(0x21e)],_0xa12c5e[_0x3d684c(0x21a)]),this[_0x3d684c(0x212)][_0x3d684c(0x1fc)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0xa12c5e[_0x3d684c(0x21d)][_0x3d684c(0x218)]({'id':_0x3d684c(0x20c),'buttonLabel':_0x1d9459(this[_0x3d684c(0x215)][_0x3d684c(0x21e)],_0x3d684c(0x203)),'buttonIcon':_0x9e71ea,'order':0x0,'content':this[_0x3d684c(0x212)]});}[_0x9175fa(0x1f8)](_0x583004){const _0x37691c=_0x9175fa;this[_0x37691c(0x212)][_0x37691c(0x1f8)](_0x583004);}[_0x9175fa(0x213)](_0x7fe817){const _0x73fabc=_0x9175fa;this[_0x73fabc(0x212)][_0x73fabc(0x207)](_0x7fe817);}[_0x9175fa(0x214)](_0xd21155,_0x595873){const _0x30f974=_0x9175fa;this[_0x30f974(0x212)][_0x30f974(0x214)](_0xd21155,_0x595873);}[_0x9175fa(0x21f)](_0x5b2f8a,_0x1d91a6,_0x3cb5ca){const _0x4cd908=_0x9175fa;this[_0x4cd908(0x212)][_0x4cd908(0x21f)](_0x5b2f8a,_0x1d91a6,_0x3cb5ca);}[_0x9175fa(0x1fa)](_0x26e5f4){const _0x347fc7=_0x9175fa;this[_0x347fc7(0x212)][_0x347fc7(0x210)]=_0x26e5f4;}[_0x9175fa(0x205)](_0x437705){const _0x8d7f43=_0x9175fa;this[_0x8d7f43(0x212)][_0x8d7f43(0x204)]=_0x437705;}[_0x9175fa(0x1f4)](){const _0x4b074c=_0x9175fa;this[_0x4b074c(0x212)][_0x4b074c(0x204)]='';}[_0x9175fa(0x21b)](_0x5b9142){const _0x4bd1ee=_0x9175fa;this[_0x4bd1ee(0x212)][_0x4bd1ee(0x20e)]=_0x5b9142;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38d0f4=_0x1900;(function(_0x15a455,_0x36603f){const _0x446c12=_0x1900,_0x4f232a=_0x15a455();while(!![]){try{const _0x136a0f=-parseInt(_0x446c12(0x174))/0x1+parseInt(_0x446c12(0x186))/0x2*(parseInt(_0x446c12(0x182))/0x3)+parseInt(_0x446c12(0x180))/0x4+parseInt(_0x446c12(0x171))/0x5+-parseInt(_0x446c12(0x18a))/0x6*(parseInt(_0x446c12(0x18e))/0x7)+parseInt(_0x446c12(0x175))/0x8*(-parseInt(_0x446c12(0x196))/0x9)+parseInt(_0x446c12(0x181))/0xa*(parseInt(_0x446c12(0x16c))/0xb);if(_0x136a0f===_0x36603f)break;else _0x4f232a['push'](_0x4f232a['shift']());}catch(_0x22f65a){_0x4f232a['push'](_0x4f232a['shift']());}}}(_0x3c50,0xdef37));function _0x1900(_0x3e8483,_0x32b6ae){const _0x3c50d8=_0x3c50();return _0x1900=function(_0x1900c2,_0x49912b){_0x1900c2=_0x1900c2-0x169;let _0x1f899f=_0x3c50d8[_0x1900c2];return _0x1f899f;},_0x1900(_0x3e8483,_0x32b6ae);}import{EmitterMixin as _0x258938}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x1a595f}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x258938(){[_0x38d0f4(0x194)]=[];[_0x38d0f4(0x185)];[_0x38d0f4(0x18c)];constructor({connector:_0x26515b,group:_0x3e7e19}){const _0x3ad7bd=_0x38d0f4;super(),this[_0x3ad7bd(0x185)]=_0x26515b,this[_0x3ad7bd(0x18c)]=_0x3e7e19;}async[_0x38d0f4(0x16f)](){const _0x50bd5f=_0x38d0f4;try{const _0x779844=this[_0x50bd5f(0x185)][_0x50bd5f(0x189)](this[_0x50bd5f(0x18c)]),_0x21d79b=await _0x779844[_0x50bd5f(0x183)]();this[_0x50bd5f(0x176)](_0x21d79b);}catch(_0x1c662f){this[_0x50bd5f(0x18d)](_0x50bd5f(0x16e),{'error':_0x1c662f,'operation':_0x50bd5f(0x16f)});}}[_0x38d0f4(0x17c)](_0x373bef){const _0x34f35f=_0x38d0f4;this[_0x34f35f(0x194)][_0x34f35f(0x184)](_0x373bef);}async[_0x38d0f4(0x16d)](_0x553382){const _0x5d5b36=_0x38d0f4,_0xf1f81=this[_0x5d5b36(0x194)][_0x5d5b36(0x188)](_0x552981=>_0x552981['id']===_0x553382);if(-0x1===_0xf1f81)return!0x1;try{return await this[_0x5d5b36(0x185)][_0x5d5b36(0x179)](_0x553382)[_0x5d5b36(0x18b)](),this[_0x5d5b36(0x194)][_0x5d5b36(0x18f)](_0xf1f81,0x1),this[_0x5d5b36(0x18d)](_0x5d5b36(0x17e),{'itemId':_0x553382}),!0x0;}catch(_0x102000){return this[_0x5d5b36(0x18d)](_0x5d5b36(0x16e),{'error':_0x102000,'operation':_0x5d5b36(0x16d),'itemId':_0x553382}),!0x1;}}[_0x38d0f4(0x173)](_0x50c263){const _0x3609f2=_0x38d0f4;return this[_0x3609f2(0x194)][_0x3609f2(0x169)](_0x46981c=>_0x46981c['id']===_0x50c263);}async[_0x38d0f4(0x170)](_0x5653eb,_0x3c9929){const _0x37a29f=_0x38d0f4,_0x346692=this[_0x37a29f(0x173)](_0x5653eb);if(!_0x346692)return!0x1;try{return await this[_0x37a29f(0x185)][_0x37a29f(0x192)](_0x5653eb,{'title':_0x3c9929})[_0x37a29f(0x191)](),_0x346692[_0x37a29f(0x17f)](_0x3c9929),this[_0x37a29f(0x18d)](_0x37a29f(0x193),{'itemId':_0x5653eb,'updates':{'title':_0x3c9929}}),!0x0;}catch(_0x15598f){return this[_0x37a29f(0x18d)](_0x37a29f(0x16e),{'error':_0x15598f,'operation':_0x37a29f(0x170),'itemId':_0x5653eb}),!0x1;}}async[_0x38d0f4(0x16b)](_0x1ead93,_0x56b4a1){const _0x2a3655=_0x38d0f4,_0x347390=this[_0x2a3655(0x173)](_0x1ead93);if(!_0x347390)return!0x1;try{return await this[_0x2a3655(0x185)][_0x2a3655(0x192)](_0x1ead93,{'pinned':_0x56b4a1})[_0x2a3655(0x191)](),_0x347390[_0x2a3655(0x195)](_0x56b4a1),this[_0x2a3655(0x18d)](_0x2a3655(0x193),{'itemId':_0x1ead93,'updates':{'pinned':_0x56b4a1}}),!0x0;}catch(_0x49d957){return this[_0x2a3655(0x18d)](_0x2a3655(0x16e),{'error':_0x49d957,'operation':_0x2a3655(0x16b),'itemId':_0x1ead93}),!0x1;}}[_0x38d0f4(0x176)](_0x500498){const _0x2156e0=_0x38d0f4;try{this[_0x2156e0(0x194)]=[],_0x500498[_0x2156e0(0x177)](_0x41ae95=>{const _0x45e5ee=_0x2156e0;this[_0x45e5ee(0x17c)](new _0x1a595f(_0x41ae95));}),this[_0x2156e0(0x18d)](_0x2156e0(0x198),{'items':[...this[_0x2156e0(0x194)]]});}catch(_0x53ab37){this[_0x2156e0(0x18d)](_0x2156e0(0x16e),{'error':_0x53ab37,'operation':_0x2156e0(0x176)});}}[_0x38d0f4(0x16a)](_0x1482cb={}){const _0x17d6c4=_0x38d0f4,_0x4a1f23=void 0x0!==_0x1482cb[_0x17d6c4(0x17b)]&&_0x1482cb[_0x17d6c4(0x17b)],_0x2208c1=_0x1482cb[_0x17d6c4(0x172)]?new Date(_0x1482cb[_0x17d6c4(0x172)][_0x17d6c4(0x190)](),_0x1482cb[_0x17d6c4(0x172)][_0x17d6c4(0x17d)](),_0x1482cb[_0x17d6c4(0x172)][_0x17d6c4(0x178)]()):null,_0x22818a=_0x1482cb['to']?new Date(_0x1482cb['to'][_0x17d6c4(0x190)](),_0x1482cb['to'][_0x17d6c4(0x17d)](),_0x1482cb['to'][_0x17d6c4(0x178)]()):null;return this[_0x17d6c4(0x194)][_0x17d6c4(0x197)](_0x1c87fa=>{const _0x27ca22=_0x17d6c4;if(_0x1c87fa[_0x27ca22(0x17b)]!==_0x4a1f23)return!0x1;if(_0x22818a){const _0x1fd563=new Date(_0x1c87fa[_0x27ca22(0x17a)][_0x27ca22(0x190)](),_0x1c87fa[_0x27ca22(0x17a)][_0x27ca22(0x17d)](),_0x1c87fa[_0x27ca22(0x17a)][_0x27ca22(0x178)]());return _0x2208c1?_0x2208c1[_0x27ca22(0x187)]()===_0x22818a[_0x27ca22(0x187)]()?_0x1fd563[_0x27ca22(0x187)]()===_0x2208c1[_0x27ca22(0x187)]():_0x1fd563<_0x22818a&&_0x1fd563>=_0x2208c1:_0x1fd563<_0x22818a;}return!0x0;});}}function _0x3c50(){const _0x578194=['getFullYear','getResult','updateConversation','itemUpdated','items','updatePinned','25083GOoRMn','filter','itemsLoaded','find','getItems','updateItemPinned','4116673gILbHi','removeItem','error','init','updateItemTitle','3456610QVTxUF','from','getItem','828957HOiiyW','1552AyBdTH','loadItems','map','getDate','deleteConversation','createdAt','pinned','addItem','getMonth','itemRemoved','updateTitle','2787876MIxOnB','10HlMNyK','6495YaZeTp','getConversations','push','connector','786RZgAlx','getTime','findIndex','fetchConversations','661074CwOtQy','execute','group','fire','21EjgrgQ','splice'];_0x3c50=function(){return _0x578194;};return _0x3c50();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x48aea8=_0x1912;(function(_0x3698d9,_0x28ace4){var _0x1fa8d5=_0x1912,_0x1be4cd=_0x3698d9();while(!![]){try{var _0x4728f9=-parseInt(_0x1fa8d5(0x1ae))/0x1*(-parseInt(_0x1fa8d5(0x1b0))/0x2)+-parseInt(_0x1fa8d5(0x1ba))/0x3*(-parseInt(_0x1fa8d5(0x1ab))/0x4)+-parseInt(_0x1fa8d5(0x1bb))/0x5*(parseInt(_0x1fa8d5(0x1b4))/0x6)+parseInt(_0x1fa8d5(0x1b2))/0x7*(parseInt(_0x1fa8d5(0x1ac))/0x8)+-parseInt(_0x1fa8d5(0x1b9))/0x9*(-parseInt(_0x1fa8d5(0x1b7))/0xa)+parseInt(_0x1fa8d5(0x1b1))/0xb+-parseInt(_0x1fa8d5(0x1aa))/0xc;if(_0x4728f9===_0x28ace4)break;else _0x1be4cd['push'](_0x1be4cd['shift']());}catch(_0x25f6de){_0x1be4cd['push'](_0x1be4cd['shift']());}}}(_0x4379,0x29faa));import{ObservableMixin as _0x4a03ed}from'ckeditor5/src/utils.js';function _0x1912(_0x4ec699,_0x2acdcc){var _0x437952=_0x4379();return _0x1912=function(_0x19120e,_0x3dbc93){_0x19120e=_0x19120e-0x1aa;var _0x5abefc=_0x437952[_0x19120e];return _0x5abefc;},_0x1912(_0x4ec699,_0x2acdcc);}import{escape as _0x5a8891}from'es-toolkit/compat';function _0x4379(){var _0xc5194=['updatedAt','createdAt','2602770JbNHCA','title','9Unmzet','23313xyvfQU','25CtJdtz','updateTitle','8079432hHEGjc','132ekAYZm','112KJAJzk','set','31337qvjnFX','pinned','2juLqzj','3335706zBEdCH','73822xlvfQF','updatePinned','184458ZuIJVG'];_0x4379=function(){return _0xc5194;};return _0x4379();}export class AIChatHistoryItem extends _0x4a03ed(){['id'];[_0x48aea8(0x1b6)];constructor({id:_0x41b9a9,title:_0x5d94c1,createdAt:_0x414ec3,updatedAt:_0x17c271,pinned:_0x4d3157}){var _0x33bf13=_0x48aea8;super(),this['id']=_0x41b9a9,this[_0x33bf13(0x1b6)]=new Date(_0x414ec3),this[_0x33bf13(0x1ad)](_0x33bf13(0x1b8),_0x5d94c1),this[_0x33bf13(0x1ad)](_0x33bf13(0x1b5),_0x17c271?new Date(_0x17c271):null),this[_0x33bf13(0x1ad)](_0x33bf13(0x1af),_0x4d3157||!0x1);}[_0x48aea8(0x1bc)](_0x4877f8){var _0x5a5750=_0x48aea8;this[_0x5a5750(0x1ad)](_0x5a5750(0x1b8),_0x5a8891(_0x4877f8)),this[_0x5a5750(0x1b5)]=new Date();}[_0x48aea8(0x1b3)](_0x1a1108){var _0x51ffee=_0x48aea8;this[_0x51ffee(0x1ad)](_0x51ffee(0x1af),_0x1a1108),this[_0x51ffee(0x1b5)]=new Date();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x30f87b=_0x5789;(function(_0x5d2b07,_0x4eb62){const _0x3ce0f9=_0x5789,_0x995c5=_0x5d2b07();while(!![]){try{const _0x361a63=-parseInt(_0x3ce0f9(0x142))/0x1+parseInt(_0x3ce0f9(0x13d))/0x2*(parseInt(_0x3ce0f9(0x131))/0x3)+parseInt(_0x3ce0f9(0x13a))/0x4*(-parseInt(_0x3ce0f9(0xf0))/0x5)+-parseInt(_0x3ce0f9(0x12a))/0x6*(parseInt(_0x3ce0f9(0x111))/0x7)+parseInt(_0x3ce0f9(0x10a))/0x8+-parseInt(_0x3ce0f9(0x12f))/0x9+parseInt(_0x3ce0f9(0x122))/0xa;if(_0x361a63===_0x4eb62)break;else _0x995c5['push'](_0x995c5['shift']());}catch(_0x1bfb74){_0x995c5['push'](_0x995c5['shift']());}}}(_0x2bb7,0x9557c));import{ListItemView as _0x1809a9,HighlightedTextView as _0x4844ea,ButtonView as _0x255769,ListView as _0x4d29de,IconView as _0xd5fa86,createDropdown as _0x2df969,InputTextView as _0x247e66}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x597846,IconPin as _0x13b0e9,IconCheck as _0x40981d,IconCancel as _0x141836}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x12ed79,ConfirmMixin as _0x270a0e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2bb7(){const _0x2b0b93=['createCollection','span','AI_CHAT_HISTORY_LOADING_UNPINNING','items','_createPinButtonView','bind','key','AI_CHAT_HISTORY_LOADING_PINNING','updateTitle','AI_CHAT_HISTORY_LOADING_RENAMING','AI_CHAT_HISTORY_CANCEL','panelPosition','children','click','add','_createMenuDropdownView','withText','ck-ai-loader','ck-ai-chat-history__item--active','3665936qZdwbP','locale','isVisible','set','match','removeConversation','setConversationPinned','147oAGzPl','_createEditInputView','AI_CHAT_HISTORY_EDIT_NAME','ck-ai-chat-history__item-check-container','showConfirm','ck-ai-chat-history__item','clear','editConversationTitle','label','updateLoadingState','then','highlightText','div','ck-ai-chat-history__item--edit','_createAcceptEditButtonView','edit:cancel','buttonView','25864680XhpkIV','_titleView','listitem','ck-ai-chat-history__item-content','ck-ai-chat-history__item-main-content','_commitEditInputValue','execute','focus','53796AIoibD','Enter','ck-hidden','value','AI_CHAT_HISTORY_ACCEPT','6761889KAUoTL','ck-ai-chat-history__item-actions','6lVBSgP','change:isEdit','element','bindTemplate','extendTemplate','pinned','panelView','string','isOn','8uIzcof','fire','LOADING_LABELS','148756BPLbKo','AI_CHAT_HISTORY_REMOVE_CONFIRM','isMatching','_createSpinnerView','ck-confirm-view-cancel','727353pnDgFT','text','AI_CHAT_HISTORY_REMOVE','tiny','ck-ai-loader__text','_createCancelEditButtonView','_createCheckView','addMany','setTemplate','AI_CHAT_HISTORY_LOADING_REMOVING','isEdit','ck-confirm-view-submit','selectConversation','ck-ai-chat-history__item-check','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_PIN_BUTTON','2286995HHmbPI','loadingState','actions','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','mainContent','ck-ai-chat-history__item-title','ck-ai-chat-history__item-row'];_0x2bb7=function(){return _0x2b0b93;};return _0x2bb7();}function _0x5789(_0x4c9552,_0x66d130){const _0x2bb7ba=_0x2bb7();return _0x5789=function(_0x5789f3,_0x3a1109){_0x5789f3=_0x5789f3-0xe7;let _0x425178=_0x2bb7ba[_0x5789f3];return _0x425178;},_0x5789(_0x4c9552,_0x66d130);}import{escape as _0x592aee}from'es-toolkit/compat';import{AISpinnerView as _0x377153}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x597c78}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0x270a0e(_0x1809a9){['id'];static [_0x30f87b(0x13c)]={'remove':_0x30f87b(0xe9),'rename':_0x30f87b(0x100),'pin':_0x30f87b(0xfe),'unpin':_0x30f87b(0xf9)};[_0x30f87b(0xf2)];[_0x30f87b(0xf4)];[_0x30f87b(0x123)];constructor(_0x4279fd,_0x2d02b0){const _0x18cc19=_0x30f87b;super(_0x4279fd);const _0x22ddc0=this[_0x18cc19(0x134)];this[_0x18cc19(0x10d)](_0x18cc19(0xea),!0x1),this[_0x18cc19(0x10d)](_0x18cc19(0x10c),!0x0),this[_0x18cc19(0x10d)](_0x18cc19(0x136),!!_0x2d02b0[_0x18cc19(0x136)]),this[_0x18cc19(0x10d)](_0x18cc19(0xf1),null),this['id']=_0x2d02b0['id'];const {title:_0x110b40,createdAt:_0x566ae9,active:_0x183c87=!0x1}=_0x2d02b0;this[_0x18cc19(0x123)]=new _0x4844ea(),this[_0x18cc19(0x123)][_0x18cc19(0x143)]=_0x110b40,this[_0x18cc19(0x123)][_0x18cc19(0x135)]({'attributes':{'class':[_0x18cc19(0xf5)]}});const _0x3330b8=this[_0x18cc19(0x148)](),_0x258b2b=this[_0x18cc19(0xfb)](_0x4279fd),_0x13447c=this[_0x18cc19(0x106)](),_0x9a9d32=this[_0x18cc19(0x112)](_0x4279fd,_0x110b40),_0x157da9=this[_0x18cc19(0x11f)](_0x4279fd,_0x9a9d32),_0x40fee0=this[_0x18cc19(0x147)](_0x4279fd,_0x9a9d32);this[_0x18cc19(0xf2)]=this[_0x18cc19(0xf7)](),this[_0x18cc19(0xf4)]=this[_0x18cc19(0xf7)](),this[_0x18cc19(0xf4)][_0x18cc19(0x105)](this[_0x18cc19(0x123)]),this[_0x18cc19(0xf2)][_0x18cc19(0x105)](_0x258b2b),this[_0x18cc19(0xf2)][_0x18cc19(0x105)](_0x13447c),this['on'](_0x18cc19(0x132),(_0x5eb6fe,_0x3fe8a4,_0x326ed3)=>{const _0x5302a5=_0x18cc19;this[_0x5302a5(0xf2)][_0x5302a5(0x117)](),this[_0x5302a5(0xf4)][_0x5302a5(0x117)](),_0x326ed3?(this[_0x5302a5(0xf2)][_0x5302a5(0x105)](_0x157da9),this[_0x5302a5(0xf2)][_0x5302a5(0x105)](_0x40fee0),this[_0x5302a5(0xf4)][_0x5302a5(0x105)](_0x9a9d32),_0x9a9d32[_0x5302a5(0x133)][_0x5302a5(0x129)]()):(this[_0x5302a5(0xf2)][_0x5302a5(0x105)](_0x258b2b),this[_0x5302a5(0xf2)][_0x5302a5(0x105)](_0x13447c),this[_0x5302a5(0xf4)][_0x5302a5(0x105)](this[_0x5302a5(0x123)]));}),this[_0x18cc19(0xe8)]({'tag':'li','attributes':{'class':[_0x18cc19(0x116),_0x183c87?_0x18cc19(0x109):'',_0x22ddc0['if'](_0x18cc19(0x10c),_0x18cc19(0x12c),_0x30a4f2=>!_0x30a4f2),_0x22ddc0['if'](_0x18cc19(0xea),_0x18cc19(0x11e))],'role':_0x18cc19(0x124)},'children':[{'tag':_0x18cc19(0xf8),'attributes':{'class':[_0x18cc19(0x114)]},'children':[{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0xed),_0x22ddc0['if'](_0x18cc19(0xf1),_0x18cc19(0x12c),_0x59a2f6=>!!_0x59a2f6)]},'children':_0x183c87?[_0x3330b8]:[]},{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x108),_0x22ddc0['if'](_0x18cc19(0xf1),_0x18cc19(0x12c),_0x4c2d20=>!_0x4c2d20)]},'children':[this[_0x18cc19(0x140)]()]}]},{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0xf6)]},'children':[{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x125)]},'on':{'click':this[_0x18cc19(0x134)]['to'](_0x18cc19(0x104))},'children':[{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x126)]},'children':[{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0xf5),_0x22ddc0['if'](_0x18cc19(0xf1),_0x18cc19(0x12c),_0xce3b01=>!!_0xce3b01)]},'children':this[_0x18cc19(0xf4)]},{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x146),_0x22ddc0['if'](_0x18cc19(0xf1),_0x18cc19(0x12c),_0x36e8fe=>!_0x36e8fe)]},'children':[{'text':_0x22ddc0['to'](_0x18cc19(0xf1),_0x2266e6=>_0x2266e6?_0x597c78(this[_0x18cc19(0x10b)],AIChatHistoryListItemView[_0x18cc19(0x13c)][_0x2266e6]):'')}]}]},{'tag':_0x18cc19(0xf8),'attributes':{'class':[_0x18cc19(0xee)]},'children':[_0x566ae9]}]},{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x130)]},'children':this[_0x18cc19(0xf2)]}]}]}),this['on'](_0x18cc19(0x104),()=>{const _0x41fb35=_0x18cc19;this[_0x41fb35(0xea)]||this[_0x41fb35(0x13b)](_0x41fb35(0xec),{'id':this['id']});});}[_0x30f87b(0xff)](_0x3a5749){const _0x27d852=_0x30f87b;this[_0x27d852(0x123)][_0x27d852(0x143)]=_0x592aee(_0x3a5749);}[_0x30f87b(0x11a)](_0x2ff43d,_0xda2cdf){const _0x1d072d=_0x30f87b;this[_0x1d072d(0x10d)](_0x1d072d(0xf1),_0xda2cdf?_0x2ff43d:null);}[_0x30f87b(0x148)](){const _0x1a63b3=_0x30f87b,_0x5d2614=new _0xd5fa86();return _0x5d2614[_0x1a63b3(0x10d)]({'content':_0x40981d}),_0x5d2614;}[_0x30f87b(0xfb)](_0x3570e3){const _0x16d5ea=_0x30f87b,_0x2ffd81=new _0x255769(_0x3570e3);return _0x2ffd81[_0x16d5ea(0x10d)]({'label':_0x597c78(_0x3570e3,_0x16d5ea(0xef)),'icon':_0x13b0e9,'withText':!0x1,'tooltip':!0x0}),_0x2ffd81[_0x16d5ea(0xfc)](_0x16d5ea(0x139))['to'](this,_0x16d5ea(0x136)),_0x2ffd81['on'](_0x16d5ea(0x128),()=>{const _0x433cbd=_0x16d5ea,_0x4cd5be=!this[_0x433cbd(0x136)];this[_0x433cbd(0x13b)](_0x433cbd(0x110),{'id':this['id'],'pinned':_0x4cd5be});}),_0x2ffd81;}[_0x30f87b(0x106)](){const _0x2be817=_0x30f87b,_0x1f129f=_0x2df969(this[_0x2be817(0x10b)],_0x12ed79),_0x52ffb9=_0x1f129f[_0x2be817(0x137)][_0x2be817(0x103)];_0x1f129f[_0x2be817(0x121)][_0x2be817(0x10d)]({'label':_0x597c78(this[_0x2be817(0x10b)],_0x2be817(0xf3)),'icon':_0x597846}),_0x1f129f[_0x2be817(0x102)]='sw';const _0x59b969=new _0x255769(this[_0x2be817(0x10b)]);_0x59b969[_0x2be817(0x119)]=_0x597c78(this[_0x2be817(0x10b)],_0x2be817(0x113)),_0x59b969[_0x2be817(0x107)]=!0x0,_0x59b969['on'](_0x2be817(0x128),()=>{const _0x1d0d56=_0x2be817;this[_0x1d0d56(0xea)]=!0x0;});const _0x4a3f07=new _0x255769(this[_0x2be817(0x10b)]);_0x4a3f07[_0x2be817(0x119)]=_0x597c78(this[_0x2be817(0x10b)],_0x2be817(0x144)),_0x4a3f07[_0x2be817(0x107)]=!0x0,_0x4a3f07['on'](_0x2be817(0x128),()=>{const _0x4b1706=_0x2be817;this[_0x4b1706(0x115)](_0x597c78(this[_0x4b1706(0x10b)],_0x4b1706(0x13e)),this[_0x4b1706(0x133)])[_0x4b1706(0x11b)](()=>{const _0x13d273=_0x4b1706;this[_0x13d273(0x13b)](_0x13d273(0x10f),{'id':this['id']});});});const _0x107a5b=new _0x4d29de(this[_0x2be817(0x10b)]),_0x5de002=new _0x1809a9(this[_0x2be817(0x10b)]);_0x5de002[_0x2be817(0x103)][_0x2be817(0x105)](_0x59b969);const _0xf68739=new _0x1809a9(this[_0x2be817(0x10b)]);return _0xf68739[_0x2be817(0x103)][_0x2be817(0x105)](_0x4a3f07),_0x107a5b[_0x2be817(0xfa)][_0x2be817(0xe7)]([_0x5de002,_0xf68739]),_0x52ffb9[_0x2be817(0x105)](_0x107a5b),_0x1f129f;}[_0x30f87b(0x112)](_0x4bbab8,_0x3bbf9d){const _0x603310=_0x30f87b,_0x40c0b6=new _0x247e66(_0x4bbab8),_0x81dcb5=_0x40c0b6[_0x603310(0x134)];return _0x40c0b6[_0x603310(0x12d)]=_0x3bbf9d,_0x40c0b6[_0x603310(0x135)]({'on':{'keydown':_0x81dcb5['to'](_0x1f4a2f=>{const _0x315657=_0x603310;_0x315657(0x12b)==_0x1f4a2f[_0x315657(0xfd)]&&this[_0x315657(0x127)](_0x40c0b6);})}}),_0x40c0b6;}[_0x30f87b(0x11f)](_0xeeeb00,_0x5acef9){const _0x4e70c0=_0x30f87b,_0x23c920=new _0x255769(_0xeeeb00);return _0x23c920[_0x4e70c0(0x10d)]({'icon':_0x40981d,'withText':!0x1,'tooltip':_0x597c78(_0xeeeb00,_0x4e70c0(0x12e))}),_0x23c920[_0x4e70c0(0x135)]({'attributes':{'class':[_0x4e70c0(0xeb)]}}),_0x23c920['on'](_0x4e70c0(0x128),()=>{const _0x58b4a6=_0x4e70c0;this[_0x58b4a6(0x127)](_0x5acef9);}),_0x23c920;}[_0x30f87b(0x127)](_0x4812fb){const _0x206cf4=_0x30f87b,_0x5e9d35=_0x4812fb[_0x206cf4(0x133)][_0x206cf4(0x12d)]||'';this[_0x206cf4(0x123)][_0x206cf4(0x143)]=_0x5e9d35,this[_0x206cf4(0xea)]=!0x1,this[_0x206cf4(0x13b)](_0x206cf4(0x118),{'id':this['id'],'title':_0x5e9d35});}[_0x30f87b(0x147)](_0x56e365,_0x5e8ed5){const _0x333487=_0x30f87b,_0x588198=new _0x255769(_0x56e365);return _0x588198[_0x333487(0x10d)]({'icon':_0x141836,'withText':!0x1,'tooltip':_0x597c78(_0x56e365,_0x333487(0x101))}),_0x588198[_0x333487(0x135)]({'attributes':{'class':[_0x333487(0x141)]}}),_0x588198['on'](_0x333487(0x128),()=>{const _0x4c6b53=_0x333487;this[_0x4c6b53(0xea)]=!0x1,_0x5e8ed5[_0x4c6b53(0x12d)]=this[_0x4c6b53(0x123)][_0x4c6b53(0x143)]||'',this[_0x4c6b53(0x13b)](_0x4c6b53(0x120));}),_0x588198;}[_0x30f87b(0x140)](){const _0x290097=_0x30f87b,_0x44b4e8=new _0x377153(_0x290097(0x145));return _0x44b4e8[_0x290097(0x10c)]=!0x0,_0x44b4e8;}[_0x30f87b(0x13f)](_0x1e127a){const _0x25a7fe=_0x30f87b;return this[_0x25a7fe(0x123)]&&_0x25a7fe(0x138)==typeof this[_0x25a7fe(0x123)][_0x25a7fe(0x143)]&&this[_0x25a7fe(0x123)][_0x25a7fe(0x143)][_0x25a7fe(0x10e)](_0x1e127a)?{'title':!0x0}:null;}[_0x30f87b(0x11c)](_0x41dddc){const _0xcacd7e=_0x30f87b;this[_0xcacd7e(0x123)][_0xcacd7e(0x11c)](_0x41dddc);}}
|
|
23
|
+
const _0xaa24e0=_0x1cd7;(function(_0x359840,_0x4c6d43){const _0x58b009=_0x1cd7,_0x33a574=_0x359840();while(!![]){try{const _0x49fb2f=parseInt(_0x58b009(0xa1))/0x1*(-parseInt(_0x58b009(0x7b))/0x2)+parseInt(_0x58b009(0x7e))/0x3+-parseInt(_0x58b009(0x83))/0x4*(parseInt(_0x58b009(0xbf))/0x5)+-parseInt(_0x58b009(0xbb))/0x6*(-parseInt(_0x58b009(0x9d))/0x7)+parseInt(_0x58b009(0xa2))/0x8+parseInt(_0x58b009(0x9c))/0x9+-parseInt(_0x58b009(0xb5))/0xa;if(_0x49fb2f===_0x4c6d43)break;else _0x33a574['push'](_0x33a574['shift']());}catch(_0x29f5a4){_0x33a574['push'](_0x33a574['shift']());}}}(_0x3d0a,0xc06b0));import{ListItemView as _0x35c3e3,HighlightedTextView as _0x4f18db,ButtonView as _0x1fa10c,ListView as _0x319fca,IconView as _0x5b28bc,createDropdown as _0x509615,InputTextView as _0x360209}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x23b0e4,IconPin as _0x8d6dbb,IconCheck as _0x40eaaa,IconCancel as _0x305b6b}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x539aa6,ConfirmMixin as _0x1b77ff}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3d0a(){const _0x32e372=['_commitEditInputValue','isVisible','isEdit','712cocODG','AI_CHAT_HISTORY_REMOVE','pinned','_createCancelEditButtonView','AI_CHAT_HISTORY_CANCEL','withText','ck-ai-chat-history__item-check-container','_createAcceptEditButtonView','AI_CHAT_HISTORY_LOADING_UNPINNING','createCollection','focus','ck-confirm-view-cancel','mainContent','_createCheckView','tiny','AI_CHAT_HISTORY_LOADING_PINNING','bindTemplate','ck-ai-chat-history__item-content','loadingState','LOADING_LABELS','bind','match','string','setConversationPinned','AI_CHAT_HISTORY_REMOVE_CONFIRM','8327511KuCOkc','1014559KKAWEA','showConfirm','value','editConversationTitle','2yPStTp','2372712HRrxGH','ck-ai-chat-history__item-row','ck-ai-chat-history__item--active','listitem','ck-ai-chat-history__item-check','text','panelView','click','items','_titleView','clear','then','highlightText','span','ck-confirm-view-submit','execute','ck-ai-chat-history__item-actions','AI_CHAT_HISTORY_PIN_BUTTON','key','14667110RdPJoH','div','buttonView','change:isEdit','_createSpinnerView','actions','42wQnZfr','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','label','selectConversation','5845DpqaqM','updateLoadingState','AI_CHAT_HISTORY_ACCEPT','isOn','locale','ck-ai-chat-history__item','_createMenuDropdownView','updateTitle','AI_CHAT_HISTORY_EDIT_NAME','AI_CHAT_HISTORY_LOADING_REMOVING','ck-ai-chat-history__item-main-content','ck-hidden','_createPinButtonView','_createEditInputView','addMany','set','extendTemplate','fire','children','setTemplate','add','ck-ai-chat-history__item-title','panelPosition','removeConversation','isMatching','AI_CHAT_HISTORY_LOADING_RENAMING','edit:cancel','ck-ai-loader__text','Enter','ck-ai-chat-history__item--edit','399198hpxWoo','ck-ai-loader','ck-ai-chat-history__item-date','1877124CwZKwe','element'];_0x3d0a=function(){return _0x32e372;};return _0x3d0a();}import{escape as _0x40e810}from'es-toolkit/compat';import{AISpinnerView as _0x3d4599}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x5b072e}from'../../aicore/utils/common-translations.js';function _0x1cd7(_0x52e8df,_0x57902f){const _0x3d0a17=_0x3d0a();return _0x1cd7=function(_0x1cd76b,_0x106d54){_0x1cd76b=_0x1cd76b-0x76;let _0x2c0139=_0x3d0a17[_0x1cd76b];return _0x2c0139;},_0x1cd7(_0x52e8df,_0x57902f);}export class AIChatHistoryListItemView extends _0x1b77ff(_0x35c3e3){['id'];static [_0xaa24e0(0x96)]={'remove':_0xaa24e0(0xc8),'rename':_0xaa24e0(0x76),'pin':_0xaa24e0(0x92),'unpin':_0xaa24e0(0x8b)};[_0xaa24e0(0xba)];[_0xaa24e0(0x8f)];[_0xaa24e0(0xab)];constructor(_0x51a803,_0x147b25){const _0x35c7ef=_0xaa24e0;super(_0x51a803);const _0x433e33=this[_0x35c7ef(0x93)];this[_0x35c7ef(0xce)](_0x35c7ef(0x82),!0x1),this[_0x35c7ef(0xce)](_0x35c7ef(0x81),!0x0),this[_0x35c7ef(0xce)](_0x35c7ef(0x85),!!_0x147b25[_0x35c7ef(0x85)]),this[_0x35c7ef(0xce)](_0x35c7ef(0x95),null),this['id']=_0x147b25['id'];const {title:_0x377c1e,createdAt:_0x25a9f7,active:_0x46aa8d=!0x1}=_0x147b25;this[_0x35c7ef(0xab)]=new _0x4f18db(),this[_0x35c7ef(0xab)][_0x35c7ef(0xa7)]=_0x377c1e,this[_0x35c7ef(0xab)][_0x35c7ef(0xcf)]({'attributes':{'class':[_0x35c7ef(0xd4)]}});const _0x2db5df=this[_0x35c7ef(0x90)](),_0x255f19=this[_0x35c7ef(0xcb)](_0x51a803),_0x2dd2bb=this[_0x35c7ef(0xc5)](),_0x59d36d=this[_0x35c7ef(0xcc)](_0x51a803,_0x377c1e),_0xdb8656=this[_0x35c7ef(0x8a)](_0x51a803,_0x59d36d),_0x13e44e=this[_0x35c7ef(0x86)](_0x51a803,_0x59d36d);this[_0x35c7ef(0xba)]=this[_0x35c7ef(0x8c)](),this[_0x35c7ef(0x8f)]=this[_0x35c7ef(0x8c)](),this[_0x35c7ef(0x8f)][_0x35c7ef(0xd3)](this[_0x35c7ef(0xab)]),this[_0x35c7ef(0xba)][_0x35c7ef(0xd3)](_0x255f19),this[_0x35c7ef(0xba)][_0x35c7ef(0xd3)](_0x2dd2bb),this['on'](_0x35c7ef(0xb8),(_0x5487bc,_0x5e470d,_0x50f7ee)=>{const _0xcbc3d9=_0x35c7ef;this[_0xcbc3d9(0xba)][_0xcbc3d9(0xac)](),this[_0xcbc3d9(0x8f)][_0xcbc3d9(0xac)](),_0x50f7ee?(this[_0xcbc3d9(0xba)][_0xcbc3d9(0xd3)](_0xdb8656),this[_0xcbc3d9(0xba)][_0xcbc3d9(0xd3)](_0x13e44e),this[_0xcbc3d9(0x8f)][_0xcbc3d9(0xd3)](_0x59d36d),_0x59d36d[_0xcbc3d9(0x7f)][_0xcbc3d9(0x8d)]()):(this[_0xcbc3d9(0xba)][_0xcbc3d9(0xd3)](_0x255f19),this[_0xcbc3d9(0xba)][_0xcbc3d9(0xd3)](_0x2dd2bb),this[_0xcbc3d9(0x8f)][_0xcbc3d9(0xd3)](this[_0xcbc3d9(0xab)]));}),this[_0x35c7ef(0xd2)]({'tag':'li','attributes':{'class':[_0x35c7ef(0xc4),_0x46aa8d?_0x35c7ef(0xa4):'',_0x433e33['if'](_0x35c7ef(0x81),_0x35c7ef(0xca),_0x3170dd=>!_0x3170dd),_0x433e33['if'](_0x35c7ef(0x82),_0x35c7ef(0x7a))],'role':_0x35c7ef(0xa5)},'children':[{'tag':_0x35c7ef(0xaf),'attributes':{'class':[_0x35c7ef(0x89)]},'children':[{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0xa6),_0x433e33['if'](_0x35c7ef(0x95),_0x35c7ef(0xca),_0x12108e=>!!_0x12108e)]},'children':_0x46aa8d?[_0x2db5df]:[]},{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0x7c),_0x433e33['if'](_0x35c7ef(0x95),_0x35c7ef(0xca),_0x3a52c0=>!_0x3a52c0)]},'children':[this[_0x35c7ef(0xb9)]()]}]},{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0xa3)]},'children':[{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0x94)]},'on':{'click':this[_0x35c7ef(0x93)]['to'](_0x35c7ef(0xa9))},'children':[{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0xc9)]},'children':[{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0xd4),_0x433e33['if'](_0x35c7ef(0x95),_0x35c7ef(0xca),_0x3d5ba1=>!!_0x3d5ba1)]},'children':this[_0x35c7ef(0x8f)]},{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0x78),_0x433e33['if'](_0x35c7ef(0x95),_0x35c7ef(0xca),_0x514838=>!_0x514838)]},'children':[{'text':_0x433e33['to'](_0x35c7ef(0x95),_0x6e3450=>_0x6e3450?_0x5b072e(this[_0x35c7ef(0xc3)],AIChatHistoryListItemView[_0x35c7ef(0x96)][_0x6e3450]):'')}]}]},{'tag':_0x35c7ef(0xaf),'attributes':{'class':[_0x35c7ef(0x7d)]},'children':[_0x25a9f7]}]},{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0xb2)]},'children':this[_0x35c7ef(0xba)]}]}]}),this['on'](_0x35c7ef(0xa9),()=>{const _0x19abd0=_0x35c7ef;this[_0x19abd0(0x82)]||this[_0x19abd0(0xd0)](_0x19abd0(0xbe),{'id':this['id']});});}[_0xaa24e0(0xc6)](_0x5381f7){const _0x48cc6c=_0xaa24e0;this[_0x48cc6c(0xab)][_0x48cc6c(0xa7)]=_0x40e810(_0x5381f7);}[_0xaa24e0(0xc0)](_0x111c98,_0x11231d){const _0x4b5ec3=_0xaa24e0;this[_0x4b5ec3(0xce)](_0x4b5ec3(0x95),_0x11231d?_0x111c98:null);}[_0xaa24e0(0x90)](){const _0x59fa43=_0xaa24e0,_0x4688ac=new _0x5b28bc();return _0x4688ac[_0x59fa43(0xce)]({'content':_0x40eaaa}),_0x4688ac;}[_0xaa24e0(0xcb)](_0x166cfd){const _0x5a1a3e=_0xaa24e0,_0x45e052=new _0x1fa10c(_0x166cfd);return _0x45e052[_0x5a1a3e(0xce)]({'label':_0x5b072e(_0x166cfd,_0x5a1a3e(0xb3)),'icon':_0x8d6dbb,'withText':!0x1,'tooltip':!0x0}),_0x45e052[_0x5a1a3e(0x97)](_0x5a1a3e(0xc2))['to'](this,_0x5a1a3e(0x85)),_0x45e052['on'](_0x5a1a3e(0xb1),()=>{const _0x17f0e2=_0x5a1a3e,_0x54bd8a=!this[_0x17f0e2(0x85)];this[_0x17f0e2(0xd0)](_0x17f0e2(0x9a),{'id':this['id'],'pinned':_0x54bd8a});}),_0x45e052;}[_0xaa24e0(0xc5)](){const _0x4a0aa6=_0xaa24e0,_0x2b234a=_0x509615(this[_0x4a0aa6(0xc3)],_0x539aa6),_0x11ba65=_0x2b234a[_0x4a0aa6(0xa8)][_0x4a0aa6(0xd1)];_0x2b234a[_0x4a0aa6(0xb7)][_0x4a0aa6(0xce)]({'label':_0x5b072e(this[_0x4a0aa6(0xc3)],_0x4a0aa6(0xbc)),'icon':_0x23b0e4}),_0x2b234a[_0x4a0aa6(0xd5)]='sw';const _0x15c9e7=new _0x1fa10c(this[_0x4a0aa6(0xc3)]);_0x15c9e7[_0x4a0aa6(0xbd)]=_0x5b072e(this[_0x4a0aa6(0xc3)],_0x4a0aa6(0xc7)),_0x15c9e7[_0x4a0aa6(0x88)]=!0x0,_0x15c9e7['on'](_0x4a0aa6(0xb1),()=>{const _0x38c2ff=_0x4a0aa6;this[_0x38c2ff(0x82)]=!0x0;});const _0x4fea59=new _0x1fa10c(this[_0x4a0aa6(0xc3)]);_0x4fea59[_0x4a0aa6(0xbd)]=_0x5b072e(this[_0x4a0aa6(0xc3)],_0x4a0aa6(0x84)),_0x4fea59[_0x4a0aa6(0x88)]=!0x0,_0x4fea59['on'](_0x4a0aa6(0xb1),()=>{const _0x18c1e4=_0x4a0aa6;this[_0x18c1e4(0x9e)](_0x5b072e(this[_0x18c1e4(0xc3)],_0x18c1e4(0x9b)),this[_0x18c1e4(0x7f)])[_0x18c1e4(0xad)](()=>{const _0x27c45c=_0x18c1e4;this[_0x27c45c(0xd0)](_0x27c45c(0xd6),{'id':this['id']});});});const _0x132f83=new _0x319fca(this[_0x4a0aa6(0xc3)]),_0xd6e2c8=new _0x35c3e3(this[_0x4a0aa6(0xc3)]);_0xd6e2c8[_0x4a0aa6(0xd1)][_0x4a0aa6(0xd3)](_0x15c9e7);const _0x11d4f6=new _0x35c3e3(this[_0x4a0aa6(0xc3)]);return _0x11d4f6[_0x4a0aa6(0xd1)][_0x4a0aa6(0xd3)](_0x4fea59),_0x132f83[_0x4a0aa6(0xaa)][_0x4a0aa6(0xcd)]([_0xd6e2c8,_0x11d4f6]),_0x11ba65[_0x4a0aa6(0xd3)](_0x132f83),_0x2b234a;}[_0xaa24e0(0xcc)](_0x39bab4,_0x12fa5f){const _0x883a3d=_0xaa24e0,_0x271a9a=new _0x360209(_0x39bab4),_0x4bea91=_0x271a9a[_0x883a3d(0x93)];return _0x271a9a[_0x883a3d(0x9f)]=_0x12fa5f,_0x271a9a[_0x883a3d(0xcf)]({'on':{'keydown':_0x4bea91['to'](_0x462dc5=>{const _0x4be6bc=_0x883a3d;_0x4be6bc(0x79)==_0x462dc5[_0x4be6bc(0xb4)]&&this[_0x4be6bc(0x80)](_0x271a9a);})}}),_0x271a9a;}[_0xaa24e0(0x8a)](_0x3f2521,_0x59a498){const _0x2aa809=_0xaa24e0,_0x4d696c=new _0x1fa10c(_0x3f2521);return _0x4d696c[_0x2aa809(0xce)]({'icon':_0x40eaaa,'withText':!0x1,'tooltip':_0x5b072e(_0x3f2521,_0x2aa809(0xc1))}),_0x4d696c[_0x2aa809(0xcf)]({'attributes':{'class':[_0x2aa809(0xb0)]}}),_0x4d696c['on'](_0x2aa809(0xb1),()=>{const _0x4dec74=_0x2aa809;this[_0x4dec74(0x80)](_0x59a498);}),_0x4d696c;}[_0xaa24e0(0x80)](_0xd09531){const _0x185a0f=_0xaa24e0,_0x41febb=_0xd09531[_0x185a0f(0x7f)][_0x185a0f(0x9f)]||'';this[_0x185a0f(0xab)][_0x185a0f(0xa7)]=_0x41febb,this[_0x185a0f(0x82)]=!0x1,this[_0x185a0f(0xd0)](_0x185a0f(0xa0),{'id':this['id'],'title':_0x41febb});}[_0xaa24e0(0x86)](_0x4f418d,_0x454b80){const _0x14dccc=_0xaa24e0,_0x50206f=new _0x1fa10c(_0x4f418d);return _0x50206f[_0x14dccc(0xce)]({'icon':_0x305b6b,'withText':!0x1,'tooltip':_0x5b072e(_0x4f418d,_0x14dccc(0x87))}),_0x50206f[_0x14dccc(0xcf)]({'attributes':{'class':[_0x14dccc(0x8e)]}}),_0x50206f['on'](_0x14dccc(0xb1),()=>{const _0x299eb0=_0x14dccc;this[_0x299eb0(0x82)]=!0x1,_0x454b80[_0x299eb0(0x9f)]=this[_0x299eb0(0xab)][_0x299eb0(0xa7)]||'',this[_0x299eb0(0xd0)](_0x299eb0(0x77));}),_0x50206f;}[_0xaa24e0(0xb9)](){const _0x5cf7f0=_0xaa24e0,_0x21ff64=new _0x3d4599(_0x5cf7f0(0x91));return _0x21ff64[_0x5cf7f0(0x81)]=!0x0,_0x21ff64;}[_0xaa24e0(0xd7)](_0x34c8a1){const _0x5e94cd=_0xaa24e0;return this[_0x5e94cd(0xab)]&&_0x5e94cd(0x99)==typeof this[_0x5e94cd(0xab)][_0x5e94cd(0xa7)]&&this[_0x5e94cd(0xab)][_0x5e94cd(0xa7)][_0x5e94cd(0x98)](_0x34c8a1)?{'title':!0x0}:null;}[_0xaa24e0(0xae)](_0x5d2c15){const _0x3618f3=_0xaa24e0;this[_0x3618f3(0xab)][_0x3618f3(0xae)](_0x5d2c15);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x9084be=_0x2966;(function(_0x54775c,_0x3583d2){const _0x58aea2=_0x2966,_0x4fe633=_0x54775c();while(!![]){try{const _0xa53ff0=-parseInt(_0x58aea2(0x192))/0x1*(parseInt(_0x58aea2(0x1a3))/0x2)+-parseInt(_0x58aea2(0x1af))/0x3*(-parseInt(_0x58aea2(0x1ad))/0x4)+parseInt(_0x58aea2(0x1a1))/0x5+parseInt(_0x58aea2(0x1b3))/0x6+parseInt(_0x58aea2(0x1a5))/0x7*(parseInt(_0x58aea2(0x1ac))/0x8)+parseInt(_0x58aea2(0x1aa))/0x9*(-parseInt(_0x58aea2(0x19d))/0xa)+-parseInt(_0x58aea2(0x1a2))/0xb;if(_0xa53ff0===_0x3583d2)break;else _0x4fe633['push'](_0x4fe633['shift']());}catch(_0x381b30){_0x4fe633['push'](_0x4fe633['shift']());}}}(_0x524a,0x4ecea));function _0x2966(_0x296886,_0x25bb84){const _0x524ae2=_0x524a();return _0x2966=function(_0x2966c8,_0x2bbf90){_0x2966c8=_0x2966c8-0x192;let _0x4f9504=_0x524ae2[_0x2966c8];return _0x4f9504;},_0x2966(_0x296886,_0x25bb84);}function _0x524a(){const _0x423c65=['title','_itemsListView','indexOf','bindTemplate','ck-ai-chat-history__section-title','590QRXEUn','div','length','setTemplate','1914490bsFVzZ','5481674rscPgA','16500rUjGEt','highlightText','7XEHtVv','items','isVisible','filter','splice','14211fhnFae','isMatching','664648UAtCbO','13584ffnEOn','remove','27oeVVai','ck-hidden','find','set','3397476ocpPSQ','18RgEvdE','ck-ai-chat-history__section','itemsViews','removeItem','addMany','getItem'];_0x524a=function(){return _0x423c65;};return _0x524a();}import{ListItemView as _0x458d0c,View as _0x3fcdf5,ListView as _0x553689}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x458d0c{[_0x9084be(0x198)];[_0x9084be(0x194)];[_0x9084be(0x199)];constructor(_0x1924f5,{title:_0xd727c2,items:_0x23be6e}){const _0x3e281f=_0x9084be;super(_0x1924f5);const _0x562da3=this[_0x3e281f(0x19b)];this[_0x3e281f(0x1b2)](_0x3e281f(0x1a7),!0x0),this[_0x3e281f(0x198)]=_0xd727c2,this[_0x3e281f(0x194)]=_0x23be6e;const _0x1f0ab2=new _0x3fcdf5(_0x1924f5);_0x1f0ab2[_0x3e281f(0x1a0)]({'tag':_0x3e281f(0x19e),'attributes':{'class':[_0x3e281f(0x19c)]},'children':[this[_0x3e281f(0x198)]]}),this[_0x3e281f(0x199)]=new _0x553689(_0x1924f5),this[_0x3e281f(0x199)][_0x3e281f(0x1a6)][_0x3e281f(0x196)](this[_0x3e281f(0x194)]),this[_0x3e281f(0x1a0)]({'tag':'li','attributes':{'class':[_0x3e281f(0x193),_0x562da3['if'](_0x3e281f(0x1a7),_0x3e281f(0x1b0),_0x4edf27=>!_0x4edf27)]},'children':[_0x1f0ab2,this[_0x3e281f(0x199)]]});}[_0x9084be(0x1a8)](_0x30a48e){const _0x54d971=_0x9084be,_0x41534b=this[_0x54d971(0x194)][_0x54d971(0x19f)];let _0x55d863=0x0;for(const _0x331e71 of this[_0x54d971(0x194)]){if(_0x30a48e){const _0x2d76a5=_0x331e71[_0x54d971(0x1ab)](_0x30a48e);_0x331e71[_0x54d971(0x1a7)]=!!_0x2d76a5,_0x331e71[_0x54d971(0x1a4)](_0x30a48e);}else _0x331e71[_0x54d971(0x1a7)]=!0x0,_0x331e71[_0x54d971(0x1a4)](null);_0x331e71[_0x54d971(0x1a7)]&&_0x55d863++;}return this[_0x54d971(0x1a7)]=_0x55d863>0x0,{'resultsCount':_0x55d863,'totalItemsCount':_0x41534b};}[_0x9084be(0x197)](_0x5ccb17){const _0x4f4064=_0x9084be;return this[_0x4f4064(0x194)][_0x4f4064(0x1b1)](_0x51aa34=>_0x51aa34['id']===_0x5ccb17);}[_0x9084be(0x195)](_0xcd47a2){const _0x1e6f66=_0x9084be,_0x6d188a=this[_0x1e6f66(0x194)][_0x1e6f66(0x19a)](_0xcd47a2);-0x1!==_0x6d188a&&(this[_0x1e6f66(0x194)][_0x1e6f66(0x1a9)](_0x6d188a,0x1),this[_0x1e6f66(0x199)][_0x1e6f66(0x1a6)][_0x1e6f66(0x1ae)](_0xcd47a2));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1b0a(){const _0x32cd01=['14288384JZiUDp','132dHcEtC','349688WQWgTC','5127170uKxDlz','136248UwUtYh','sections','9zhZcrI','addMany','28494tVmsdc','items','200JfNEfG','ck-ai-chat-history__sections','extendTemplate','8121MTWKFA','1806259lSLBNT','2eWQzxC','filter'];_0x1b0a=function(){return _0x32cd01;};return _0x1b0a();}function _0x2063(_0x5ac5a5,_0x368992){const _0x1b0acb=_0x1b0a();return _0x2063=function(_0x2063b6,_0x422c6a){_0x2063b6=_0x2063b6-0x83;let _0x2fac8a=_0x1b0acb[_0x2063b6];return _0x2fac8a;},_0x2063(_0x5ac5a5,_0x368992);}const _0x52456b=_0x2063;(function(_0x1bc3fe,_0x1d1925){const _0x173f87=_0x2063,_0x1007b6=_0x1bc3fe();while(!![]){try{const _0x2451b5=-parseInt(_0x173f87(0x8e))/0x1*(-parseInt(_0x173f87(0x8a))/0x2)+-parseInt(_0x173f87(0x88))/0x3*(-parseInt(_0x173f87(0x8d))/0x4)+-parseInt(_0x173f87(0x85))/0x5*(parseInt(_0x173f87(0x83))/0x6)+-parseInt(_0x173f87(0x89))/0x7+-parseInt(_0x173f87(0x90))/0x8+parseInt(_0x173f87(0x92))/0x9*(-parseInt(_0x173f87(0x8f))/0xa)+parseInt(_0x173f87(0x8c))/0xb;if(_0x2451b5===_0x1d1925)break;else _0x1007b6['push'](_0x1007b6['shift']());}catch(_0x5a21f1){_0x1007b6['push'](_0x1007b6['shift']());}}}(_0x1b0a,0xb999a));import{ListView as _0x2a09b1}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x2a09b1{[_0x52456b(0x91)];constructor(_0x182176,_0x328e6c){const _0x2d1097=_0x52456b;super(_0x182176),this[_0x2d1097(0x91)]=_0x328e6c,this[_0x2d1097(0x84)][_0x2d1097(0x93)](this[_0x2d1097(0x91)]),this[_0x2d1097(0x87)]({'attributes':{'class':[_0x2d1097(0x86)]}});}[_0x52456b(0x8b)](_0x5f2dd8){const _0x49ef17=_0x52456b;let _0x421d85=0x0,_0x24e406=0x0;for(const _0x1b2d88 of this[_0x49ef17(0x91)]){const {resultsCount:_0x474738,totalItemsCount:_0x5b7304}=_0x1b2d88[_0x49ef17(0x8b)](_0x5f2dd8);_0x421d85+=_0x474738,_0x24e406+=_0x5b7304;}return{'resultsCount':_0x421d85,'totalItemsCount':_0x24e406};}}
|