@ckeditor/ckeditor5-ai 47.1.0-alpha.2 → 47.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +4 -4
- 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/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- 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/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/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/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/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/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/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/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/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.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/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x430bb0=_0xc3de;function _0xc3de(_0x53665d,_0x588f28){const _0x139103=_0x1391();return _0xc3de=function(_0xc3de4b,_0x27093d){_0xc3de4b=_0xc3de4b-0x1b5;let _0x11f251=_0x139103[_0xc3de4b];return _0x11f251;},_0xc3de(_0x53665d,_0x588f28);}(function(_0xe6fea,_0x592f18){const _0xd4800f=_0xc3de,_0x41a497=_0xe6fea();while(!![]){try{const _0x1166b5=parseInt(_0xd4800f(0x204))/0x1*(-parseInt(_0xd4800f(0x1d2))/0x2)+parseInt(_0xd4800f(0x202))/0x3+parseInt(_0xd4800f(0x1ec))/0x4*(-parseInt(_0xd4800f(0x1e2))/0x5)+-parseInt(_0xd4800f(0x20f))/0x6*(parseInt(_0xd4800f(0x1df))/0x7)+-parseInt(_0xd4800f(0x1cf))/0x8+-parseInt(_0xd4800f(0x1ce))/0x9+parseInt(_0xd4800f(0x1be))/0xa;if(_0x1166b5===_0x592f18)break;else _0x41a497['push'](_0x41a497['shift']());}catch(_0x24dbdd){_0x41a497['push'](_0x41a497['shift']());}}}(_0x1391,0xb9422));import{KeystrokeHandler as _0x15137e}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2ba922,BodyCollection as _0x38bfc1,ButtonView as _0x275776,clickOutsideHandler as _0x2e79f8,ListItemButtonView as _0x115381,ListItemView as _0x4e8cf9,ListView as _0x29ba27,SplitButtonView as _0x3ba56b,UIModel as _0x6ce7ae,View as _0x1f6f17}from'ckeditor5/src/ui.js';function _0x1391(){const _0x592dac=['button','actionName','class','delegate','detachFromDom','createCollection','27713UCfZgq','balloonPanelView','ck-ai-button-primary','150930NhdsWo','length','hide','keystrokeHandler','div','items','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','width','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','element','36oSXAxL','_updateDropdownActions','pin','_dropdownOriginalConfig','bodyCollection','execute','map','tooltip','content','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions__balloon','set','isVisible','isEnabled','actionsButton','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','isTrackChangesOn','ltr','locale','add','_setUpList','bottom','1841898LXokyX','balloonPanelClass','97gpqxgX','has','ck-ai-chat__feed__ai-suggestion__actions--no-animation','change:isTrackChangesOn','arrowless','insertSuggestionModel','label','listItemModels','uiLanguageDirection','arrowView','bindTemplate','1278cEhmMn','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','listenTo','source','_setUpKeystrokes','_firstRender','children','attachToDom','remove','_createActionsDropdown','_partsCount','listView','ck-ai-chat__feed__ai-suggestion__actions\x20','slice','focus','36239780NUFkAB','_dropdownCurrentConfig','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','ck-hidden','fire','esc','filter','applySuggestionModel','open','destroy','showChangeInText','_createActionsDropdownOrButton','ck-ai-chat__feed__ai-suggestion__actions','showChangeInTextModel','applySuggestion','unbind','8944515jgrXwy','9621096nPtptn','insertSuggestion','setTemplate','3458jKGagQ','left','updateLabels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','bind','keys','_createActionsButton'];_0x1391=function(){return _0x592dac;};return _0x1391();}import{IconCheck as _0x3bbc49,IconAddComment as _0x5e7c10,IconDocumentWithLoupe as _0x5203c0}from'ckeditor5/src/icons.js';import{getTranslation as _0xf11d16}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x430bb0(0x1cc),_0x430bb0(0x1d0),_0x430bb0(0x1c8)];export class AIChatFeedSuggestionItemActionsView extends _0x1f6f17{[_0x430bb0(0x1fa)];[_0x430bb0(0x1b5)];[_0x430bb0(0x1c5)];[_0x430bb0(0x1cb)];[_0x430bb0(0x209)];[_0x430bb0(0x1b9)]=0x1;[_0x430bb0(0x1ef)];[_0x430bb0(0x1bf)];[_0x430bb0(0x214)]=!0x0;constructor(_0x220698,_0x453a57){const _0x5dd9e2=_0x430bb0;super(_0x220698),this[_0x5dd9e2(0x1ef)]=_0x453a57||[...ACTIONS],this[_0x5dd9e2(0x1bf)]=[...this[_0x5dd9e2(0x1ef)]];const _0x380eab=this[_0x5dd9e2(0x20e)];this[_0x5dd9e2(0x1f7)](_0x5dd9e2(0x1f9),!0x0),this[_0x5dd9e2(0x1f7)](_0x5dd9e2(0x1f8),!0x0),this[_0x5dd9e2(0x1c5)]=new _0x6ce7ae({'label':Pn(_0x5dd9e2(0x1cc),_0x220698,this[_0x5dd9e2(0x1b9)]),'icon':_0x3bbc49,'withText':!0x0,'type':_0x5dd9e2(0x1d9),'actionName':_0x5dd9e2(0x1cc)}),this[_0x5dd9e2(0x1cb)]=new _0x6ce7ae({'label':Pn(_0x5dd9e2(0x1c8),_0x220698,this[_0x5dd9e2(0x1b9)]),'icon':_0x5203c0,'withText':!0x0,'type':_0x5dd9e2(0x1d9),'actionName':_0x5dd9e2(0x1c8)}),this[_0x5dd9e2(0x209)]=new _0x6ce7ae({'label':Pn(_0x5dd9e2(0x1d0),_0x220698,this[_0x5dd9e2(0x1b9)]),'icon':_0x5e7c10,'withText':!0x0,'type':_0x5dd9e2(0x1d9),'actionName':_0x5dd9e2(0x1d0)}),this[_0x5dd9e2(0x1fa)]=this[_0x5dd9e2(0x1c9)](_0x220698),this[_0x5dd9e2(0x1b5)]=this[_0x5dd9e2(0x1de)]([this[_0x5dd9e2(0x1fa)]]),this[_0x5dd9e2(0x1d1)]({'tag':_0x5dd9e2(0x1e6),'attributes':{'class':['ck',_0x5dd9e2(0x1ca),_0x380eab['if'](_0x5dd9e2(0x1f8),_0x5dd9e2(0x1c1),_0x34d0b5=>!_0x34d0b5)]},'children':this[_0x5dd9e2(0x1b5)]}),this[_0x5dd9e2(0x211)](this,_0x5dd9e2(0x207),()=>{const _0x5c83f9=_0x5dd9e2;this[_0x5c83f9(0x1bf)]=this[_0x5c83f9(0x1fc)]?this[_0x5c83f9(0x1ef)][_0x5c83f9(0x1c4)](_0x218f6f=>_0x5c83f9(0x1cc)!==_0x218f6f):[...this[_0x5c83f9(0x1ef)]],this[_0x5c83f9(0x1ed)](_0x220698);});}[_0x430bb0(0x1ed)](_0x150d85){const _0x235728=_0x430bb0;this[_0x235728(0x1b5)][_0x235728(0x205)](this[_0x235728(0x1fa)])&&(this[_0x235728(0x1b5)][_0x235728(0x1b7)](this[_0x235728(0x1fa)]),this[_0x235728(0x1fa)][_0x235728(0x1c7)]()),0x0!=this[_0x235728(0x1bf)][_0x235728(0x1e3)]&&(this[_0x235728(0x1fa)]=this[_0x235728(0x1c9)](_0x150d85),this[_0x235728(0x1b5)][_0x235728(0x1ff)](this[_0x235728(0x1fa)]));}[_0x430bb0(0x1c9)](_0x2b0ef2){const _0x26d89f=_0x430bb0,_0x38a5f1=0x1===this[_0x26d89f(0x1bf)][_0x26d89f(0x1e3)]?this[_0x26d89f(0x1d8)](_0x2b0ef2):this[_0x26d89f(0x1b8)](_0x2b0ef2),_0x4232b4=this[_0x26d89f(0x214)]?'':_0x26d89f(0x206);_0x38a5f1[_0x26d89f(0x1f7)]({'label':Pn(this[_0x26d89f(0x1bf)][0x0],_0x2b0ef2,this[_0x26d89f(0x1b9)]),'tooltip':Hn(this[_0x26d89f(0x1bf)][0x0],_0x2b0ef2,this[_0x26d89f(0x1b9)]),'withText':!0x0,'class':_0x26d89f(0x1bb)+_0x4232b4});for(const _0x23d8c0 of this[_0x26d89f(0x1bf)])_0x38a5f1['on'](_0x23d8c0,()=>{const _0x31d314=_0x26d89f;this[_0x31d314(0x1c2)](_0x23d8c0);});return this[_0x26d89f(0x214)]=!0x1,_0x38a5f1;}[_0x430bb0(0x1d8)](_0x18cfb3){const _0x409103=_0x430bb0,_0x4f547c=new _0x275776(_0x18cfb3);return _0x4f547c[_0x409103(0x1f7)]({'class':_0x409103(0x1e1),'withText':!0x0}),_0x4f547c['on'](_0x409103(0x1f1),()=>{const _0x1c107b=_0x409103;_0x4f547c[_0x1c107b(0x1c2)](this[_0x1c107b(0x1bf)][0x0]);}),_0x4f547c;}[_0x430bb0(0x1b8)](_0x53e8e1){const _0x34d45d=_0x430bb0,_0x573314=new Nn(_0x53e8e1,{'listItemModels':this[_0x34d45d(0x1bf)][_0x34d45d(0x1f2)](_0x29520c=>{const _0x18c274=_0x34d45d;switch(_0x29520c){case _0x18c274(0x1cc):return this[_0x18c274(0x1c5)];case _0x18c274(0x1c8):return this[_0x18c274(0x1cb)];case _0x18c274(0x1d0):return this[_0x18c274(0x209)];}})});return _0x573314[_0x34d45d(0x1f7)]({'label':Pn(this[_0x34d45d(0x1bf)][0x0],_0x53e8e1,this[_0x34d45d(0x1b9)]),'tooltip':Hn(this[_0x34d45d(0x1bf)][0x0],_0x53e8e1,this[_0x34d45d(0x1b9)]),'withText':!0x0,'class':_0x34d45d(0x1ca),'balloonPanelClass':_0x34d45d(0x1f6)}),_0x573314[_0x34d45d(0x1d6)](_0x34d45d(0x1f9))['to'](this),_0x573314;}[_0x430bb0(0x1d4)](_0x1ec419){const _0x501ef0=_0x430bb0,_0x3d0e2f=this[_0x501ef0(0x1fe)];this[_0x501ef0(0x1b9)]=_0x1ec419||this[_0x501ef0(0x1b9)],this[_0x501ef0(0x1fa)][_0x501ef0(0x1f7)]({'label':Pn(this[_0x501ef0(0x1bf)][0x0],_0x3d0e2f,this[_0x501ef0(0x1b9)]),'tooltip':Hn(this[_0x501ef0(0x1bf)][0x0],_0x3d0e2f,this[_0x501ef0(0x1b9)])}),this[_0x501ef0(0x1c5)][_0x501ef0(0x20a)]=Pn(_0x501ef0(0x1cc),_0x3d0e2f,this[_0x501ef0(0x1b9)]),this[_0x501ef0(0x1cb)][_0x501ef0(0x20a)]=Pn(_0x501ef0(0x1c8),_0x3d0e2f,this[_0x501ef0(0x1b9)]),this[_0x501ef0(0x209)][_0x501ef0(0x20a)]=Pn(_0x501ef0(0x1d0),_0x3d0e2f,this[_0x501ef0(0x1b9)]);}}class Nn extends _0x3ba56b{[_0x430bb0(0x1f0)];[_0x430bb0(0x1e0)];[_0x430bb0(0x1ba)];[_0x430bb0(0x1e5)];constructor(_0x2b319c,_0x727150){const _0x410bfb=_0x430bb0;super(_0x2b319c),this[_0x410bfb(0x1e0)]=new _0x2ba922(this[_0x410bfb(0x1fe)]),this[_0x410bfb(0x1f0)]=new _0x38bfc1(this[_0x410bfb(0x1fe)]),this[_0x410bfb(0x1f0)][_0x410bfb(0x1b6)](),this[_0x410bfb(0x1f7)](_0x410bfb(0x203),''),this[_0x410bfb(0x1e0)][_0x410bfb(0x1d6)](_0x410bfb(0x1db))['to'](this,_0x410bfb(0x203)),this[_0x410bfb(0x1ba)]=this[_0x410bfb(0x200)](_0x727150[_0x410bfb(0x20b)][_0x410bfb(0x1bc)](0x1)),this[_0x410bfb(0x1f0)][_0x410bfb(0x1ff)](this[_0x410bfb(0x1e0)]),this[_0x410bfb(0x1e0)][_0x410bfb(0x1f4)][_0x410bfb(0x1ff)](this[_0x410bfb(0x1ba)]),this[_0x410bfb(0x20d)][_0x410bfb(0x1cd)](_0x410bfb(0x1f3)),this[_0x410bfb(0x20d)][_0x410bfb(0x1f7)](_0x410bfb(0x1f3),_0xf11d16(this[_0x410bfb(0x1fe)],_0x410bfb(0x1e8))),this[_0x410bfb(0x213)](),this['on'](_0x410bfb(0x1f1),()=>{const _0x463bd1=_0x410bfb,_0xa6ba6c=_0x727150[_0x463bd1(0x20b)][0x0][_0x463bd1(0x1da)];this[_0x463bd1(0x1c2)](_0xa6ba6c),this[_0x463bd1(0x1e0)][_0x463bd1(0x1e4)](),this[_0x463bd1(0x20d)][_0x463bd1(0x1bd)]();}),this['on'](_0x410bfb(0x1c6),()=>{const _0x398331=_0x410bfb;this[_0x398331(0x1e0)][_0x398331(0x1f8)]?(this[_0x398331(0x1e0)][_0x398331(0x1e4)](),this[_0x398331(0x20d)][_0x398331(0x1bd)]()):(this[_0x398331(0x1e0)][_0x398331(0x1ee)]({'target':this[_0x398331(0x1eb)],'positions':[_0x398331(0x1fd)===this[_0x398331(0x1fe)][_0x398331(0x20c)]?Gn:yn]}),this[_0x398331(0x1ba)][_0x398331(0x1bd)]());}),_0x2e79f8({'emitter':this[_0x410bfb(0x1e0)],'callback':()=>{const _0x5e0fb1=_0x410bfb;this[_0x5e0fb1(0x1e0)][_0x5e0fb1(0x1e4)]();},'activator':()=>this[_0x410bfb(0x1e0)][_0x410bfb(0x1f8)],'contextElements':()=>[this[_0x410bfb(0x1eb)],this[_0x410bfb(0x1e0)][_0x410bfb(0x1eb)]]});}[_0x430bb0(0x200)](_0x3ab409){const _0x5d0a53=_0x430bb0,_0x399674=this[_0x5d0a53(0x1fe)],_0x24b1dd=new _0x29ba27(_0x399674);for(const _0x5a21e4 of _0x3ab409){const _0x2a385a=new _0x4e8cf9(_0x399674),_0x30fa8d=new _0x115381(_0x399674);_0x30fa8d[_0x5d0a53(0x1d6)](...Object[_0x5d0a53(0x1d7)](_0x5a21e4))['to'](_0x5a21e4),_0x30fa8d[_0x5d0a53(0x1dc)](_0x5d0a53(0x1f1))['to'](_0x24b1dd),_0x2a385a[_0x5d0a53(0x1b5)][_0x5d0a53(0x1ff)](_0x30fa8d),_0x24b1dd[_0x5d0a53(0x1e7)][_0x5d0a53(0x1ff)](_0x2a385a);}return _0x24b1dd[_0x5d0a53(0x1e7)][_0x5d0a53(0x1dc)](_0x5d0a53(0x1f1))['to'](this),_0x24b1dd['on'](_0x5d0a53(0x1f1),_0x31ad7b=>{const _0x3d2c79=_0x5d0a53,_0x3dc832=_0x31ad7b[_0x3d2c79(0x212)];this[_0x3d2c79(0x1c2)](_0x3dc832[_0x3d2c79(0x1da)]),this[_0x3d2c79(0x1e0)][_0x3d2c79(0x1e4)](),this[_0x3d2c79(0x20d)][_0x3d2c79(0x1bd)]();}),_0x24b1dd;}[_0x430bb0(0x213)](){const _0xa61874=_0x430bb0;this[_0xa61874(0x1e5)]=new _0x15137e(),this[_0xa61874(0x1e5)][_0xa61874(0x211)](this[_0xa61874(0x1e0)][_0xa61874(0x1eb)]),this[_0xa61874(0x1e5)][_0xa61874(0x1f7)](_0xa61874(0x1c3),(_0x2a8c3c,_0x134f1b)=>{const _0xdbc14a=_0xa61874;this[_0xdbc14a(0x1e0)][_0xdbc14a(0x1e4)](),this[_0xdbc14a(0x20d)][_0xdbc14a(0x1bd)](),_0x134f1b();});}[_0x430bb0(0x1c7)](){const _0x2b5efc=_0x430bb0;super[_0x2b5efc(0x1c7)](),this[_0x2b5efc(0x1e5)][_0x2b5efc(0x1c7)](),this[_0x2b5efc(0x1e0)][_0x2b5efc(0x1c7)](),this[_0x2b5efc(0x1f0)][_0x2b5efc(0x1dd)]();}}function Gn(_0x1891e7){const _0x586070=_0x430bb0;return{'top':_0x1891e7[_0x586070(0x201)],'left':_0x1891e7[_0x586070(0x1d3)],'name':_0x586070(0x208),'config':{'withArrow':!0x1}};}function yn(_0x5dcfd9,_0x2fed5c){const _0x452028=_0x430bb0;return{'top':_0x5dcfd9[_0x452028(0x201)],'left':_0x5dcfd9[_0x452028(0x1d3)]-(_0x2fed5c[_0x452028(0x1e9)]-_0x5dcfd9[_0x452028(0x1e9)]),'name':_0x452028(0x208),'config':{'withArrow':!0x1}};}function Pn(_0x6e0659,_0x3e777f,_0x22e125){const _0x1d291f=_0x430bb0;switch(_0x6e0659){case _0x1d291f(0x1cc):return _0xf11d16(_0x3e777f,_0x1d291f(0x1ea),_0x22e125);case _0x1d291f(0x1c8):return _0xf11d16(_0x3e777f,_0x1d291f(0x210),_0x22e125);case _0x1d291f(0x1d0):return _0xf11d16(_0x3e777f,_0x1d291f(0x1d5),_0x22e125);}}function Hn(_0x49bdfc,_0x2912a2,_0x762eea){const _0x44a05a=_0x430bb0;switch(_0x49bdfc){case _0x44a05a(0x1cc):return _0xf11d16(_0x2912a2,_0x44a05a(0x1c0),_0x762eea);case _0x44a05a(0x1c8):return _0xf11d16(_0x2912a2,_0x44a05a(0x1f5),_0x762eea);case _0x44a05a(0x1d0):return _0xf11d16(_0x2912a2,_0x44a05a(0x1fb),_0x762eea);}}
|
|
23
|
+
function _0x1d7b(){const _0x46ba14=['attachToDom','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','slice','remove','listenTo','_createActionsDropdown','add','isTrackChangesOn','_dropdownOriginalConfig','insertSuggestion','class','insertSuggestionModel','balloonPanelView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','4729938WbrbtH','focus','balloonPanelClass','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','974602QoXRyT','left','createCollection','button','258384zHcpsK','360672hQgCsY','locale','3982769qXhbLM','keys','actionsButton','execute','ck-ai-button-primary','applySuggestionModel','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_setUpList','div','3214045zkOSuH','label','source','esc','width','ck-ai-chat__feed__ai-suggestion__actions__balloon','map','showChangeInText','isEnabled','updateLabels','bindTemplate','content','detachFromDom','_firstRender','actionName','bodyCollection','element','delegate','ck-ai-chat__feed__ai-suggestion__actions\x20','_createActionsDropdownOrButton','ck-ai-chat__feed__ai-suggestion__actions--no-animation','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','listView','applySuggestion','length','isVisible','548602eNTRhD','hide','destroy','8zfPIjT','set','54dTftYp','listItemModels','ltr','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','children','setTemplate','open','_setUpKeystrokes','ck-hidden','_partsCount','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_createActionsButton','uiLanguageDirection','unbind','tooltip','_updateDropdownActions','ck-ai-chat__feed__ai-suggestion__actions','items','has','change:isTrackChangesOn','bind','bottom','_dropdownCurrentConfig','showChangeInTextModel','arrowView','filter','pin','keystrokeHandler','fire','arrowless'];_0x1d7b=function(){return _0x46ba14;};return _0x1d7b();}const _0x349e65=_0x33d9;function _0x33d9(_0x3311ae,_0x500e3a){const _0x1d7bb4=_0x1d7b();return _0x33d9=function(_0x33d9fe,_0x3d7c2a){_0x33d9fe=_0x33d9fe-0x1c1;let _0x78b4ab=_0x1d7bb4[_0x33d9fe];return _0x78b4ab;},_0x33d9(_0x3311ae,_0x500e3a);}(function(_0xf7c3e6,_0x7f6853){const _0x175886=_0x33d9,_0xc095a5=_0xf7c3e6();while(!![]){try{const _0x132bc7=-parseInt(_0x175886(0x1c8))/0x1+parseInt(_0x175886(0x1fd))/0x2+parseInt(_0x175886(0x1f9))/0x3+parseInt(_0x175886(0x1cb))/0x4*(-parseInt(_0x175886(0x20d))/0x5)+-parseInt(_0x175886(0x202))/0x6+parseInt(_0x175886(0x204))/0x7+-parseInt(_0x175886(0x201))/0x8*(-parseInt(_0x175886(0x1cd))/0x9);if(_0x132bc7===_0x7f6853)break;else _0xc095a5['push'](_0xc095a5['shift']());}catch(_0x4b36ac){_0xc095a5['push'](_0xc095a5['shift']());}}}(_0x1d7b,0xe3a12));import{KeystrokeHandler as _0x29299b}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x5dbe10,BodyCollection as _0x47d9aa,ButtonView as _0x2f7801,clickOutsideHandler as _0x5f0666,ListItemButtonView as _0x5f4c3f,ListItemView as _0x12b265,ListView as _0x5a0d0c,SplitButtonView as _0x11ca8b,UIModel as _0x2f43b5,View as _0x1e4716}from'ckeditor5/src/ui.js';import{IconCheck as _0x3731dd,IconAddComment as _0x1a521a,IconDocumentWithLoupe as _0x3d39e8}from'ckeditor5/src/icons.js';import{getTranslation as _0x17f081}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x349e65(0x1c5),_0x349e65(0x1f4),_0x349e65(0x214)];export class AIChatFeedSuggestionItemActionsView extends _0x1e4716{[_0x349e65(0x206)];[_0x349e65(0x1d1)];[_0x349e65(0x209)];[_0x349e65(0x1e4)];[_0x349e65(0x1f6)];[_0x349e65(0x1d6)]=0x1;[_0x349e65(0x1f3)];[_0x349e65(0x1e3)];[_0x349e65(0x21a)]=!0x0;constructor(_0x4b69c9,_0x50509b){const _0x1cb177=_0x349e65;super(_0x4b69c9),this[_0x1cb177(0x1f3)]=_0x50509b||[...ACTIONS],this[_0x1cb177(0x1e3)]=[...this[_0x1cb177(0x1f3)]];const _0x3ecb4f=this[_0x1cb177(0x217)];this[_0x1cb177(0x1cc)](_0x1cb177(0x215),!0x0),this[_0x1cb177(0x1cc)](_0x1cb177(0x1c7),!0x0),this[_0x1cb177(0x209)]=new _0x2f43b5({'label':Hn(_0x1cb177(0x1c5),_0x4b69c9,this[_0x1cb177(0x1d6)]),'icon':_0x3731dd,'withText':!0x0,'type':_0x1cb177(0x200),'actionName':_0x1cb177(0x1c5)}),this[_0x1cb177(0x1e4)]=new _0x2f43b5({'label':Hn(_0x1cb177(0x214),_0x4b69c9,this[_0x1cb177(0x1d6)]),'icon':_0x3d39e8,'withText':!0x0,'type':_0x1cb177(0x200),'actionName':_0x1cb177(0x214)}),this[_0x1cb177(0x1f6)]=new _0x2f43b5({'label':Hn(_0x1cb177(0x1f4),_0x4b69c9,this[_0x1cb177(0x1d6)]),'icon':_0x1a521a,'withText':!0x0,'type':_0x1cb177(0x200),'actionName':_0x1cb177(0x1f4)}),this[_0x1cb177(0x206)]=this[_0x1cb177(0x1c1)](_0x4b69c9),this[_0x1cb177(0x1d1)]=this[_0x1cb177(0x1ff)]([this[_0x1cb177(0x206)]]),this[_0x1cb177(0x1d2)]({'tag':_0x1cb177(0x20c),'attributes':{'class':['ck',_0x1cb177(0x1dd),_0x3ecb4f['if'](_0x1cb177(0x1c7),_0x1cb177(0x1d5),_0x9e814b=>!_0x9e814b)]},'children':this[_0x1cb177(0x1d1)]}),this[_0x1cb177(0x1ef)](this,_0x1cb177(0x1e0),()=>{const _0x1a2a5c=_0x1cb177;this[_0x1a2a5c(0x1e3)]=this[_0x1a2a5c(0x1f2)]?this[_0x1a2a5c(0x1f3)][_0x1a2a5c(0x1e6)](_0x22493a=>_0x1a2a5c(0x1c5)!==_0x22493a):[...this[_0x1a2a5c(0x1f3)]],this[_0x1a2a5c(0x1dc)](_0x4b69c9);});}[_0x349e65(0x1dc)](_0x3fd195){const _0x1e33f0=_0x349e65;this[_0x1e33f0(0x1d1)][_0x1e33f0(0x1df)](this[_0x1e33f0(0x206)])&&(this[_0x1e33f0(0x1d1)][_0x1e33f0(0x1ee)](this[_0x1e33f0(0x206)]),this[_0x1e33f0(0x206)][_0x1e33f0(0x1ca)]()),0x0!=this[_0x1e33f0(0x1e3)][_0x1e33f0(0x1c6)]&&(this[_0x1e33f0(0x206)]=this[_0x1e33f0(0x1c1)](_0x3fd195),this[_0x1e33f0(0x1d1)][_0x1e33f0(0x1f1)](this[_0x1e33f0(0x206)]));}[_0x349e65(0x1c1)](_0x22435f){const _0x2bcbc2=_0x349e65,_0xe5c809=0x1===this[_0x2bcbc2(0x1e3)][_0x2bcbc2(0x1c6)]?this[_0x2bcbc2(0x1d8)](_0x22435f):this[_0x2bcbc2(0x1f0)](_0x22435f),_0x4a62ea=this[_0x2bcbc2(0x21a)]?'':_0x2bcbc2(0x1c2);_0xe5c809[_0x2bcbc2(0x1cc)]({'label':Hn(this[_0x2bcbc2(0x1e3)][0x0],_0x22435f,this[_0x2bcbc2(0x1d6)]),'tooltip':Un(this[_0x2bcbc2(0x1e3)][0x0],_0x22435f,this[_0x2bcbc2(0x1d6)]),'withText':!0x0,'class':_0x2bcbc2(0x21f)+_0x4a62ea});for(const _0x251fbb of this[_0x2bcbc2(0x1e3)])_0xe5c809['on'](_0x251fbb,()=>{const _0x223473=_0x2bcbc2;this[_0x223473(0x1e9)](_0x251fbb);});return this[_0x2bcbc2(0x21a)]=!0x1,_0xe5c809;}[_0x349e65(0x1d8)](_0x1a7634){const _0x1b4d32=_0x349e65,_0x359d3d=new _0x2f7801(_0x1a7634);return _0x359d3d[_0x1b4d32(0x1cc)]({'class':_0x1b4d32(0x208),'withText':!0x0}),_0x359d3d['on'](_0x1b4d32(0x207),()=>{const _0x5ce96e=_0x1b4d32;_0x359d3d[_0x5ce96e(0x1e9)](this[_0x5ce96e(0x1e3)][0x0]);}),_0x359d3d;}[_0x349e65(0x1f0)](_0x860f86){const _0x3b11eb=_0x349e65,_0x305d46=new Gn(_0x860f86,{'listItemModels':this[_0x3b11eb(0x1e3)][_0x3b11eb(0x213)](_0x459c1f=>{const _0x524a74=_0x3b11eb;switch(_0x459c1f){case _0x524a74(0x1c5):return this[_0x524a74(0x209)];case _0x524a74(0x214):return this[_0x524a74(0x1e4)];case _0x524a74(0x1f4):return this[_0x524a74(0x1f6)];}})});return _0x305d46[_0x3b11eb(0x1cc)]({'label':Hn(this[_0x3b11eb(0x1e3)][0x0],_0x860f86,this[_0x3b11eb(0x1d6)]),'tooltip':Un(this[_0x3b11eb(0x1e3)][0x0],_0x860f86,this[_0x3b11eb(0x1d6)]),'withText':!0x0,'class':_0x3b11eb(0x1dd),'balloonPanelClass':_0x3b11eb(0x212)}),_0x305d46[_0x3b11eb(0x1e1)](_0x3b11eb(0x215))['to'](this),_0x305d46;}[_0x349e65(0x216)](_0x1124c4){const _0x95c9c9=_0x349e65,_0x357250=this[_0x95c9c9(0x203)];this[_0x95c9c9(0x1d6)]=_0x1124c4||this[_0x95c9c9(0x1d6)],this[_0x95c9c9(0x206)][_0x95c9c9(0x1cc)]({'label':Hn(this[_0x95c9c9(0x1e3)][0x0],_0x357250,this[_0x95c9c9(0x1d6)]),'tooltip':Un(this[_0x95c9c9(0x1e3)][0x0],_0x357250,this[_0x95c9c9(0x1d6)])}),this[_0x95c9c9(0x209)][_0x95c9c9(0x20e)]=Hn(_0x95c9c9(0x1c5),_0x357250,this[_0x95c9c9(0x1d6)]),this[_0x95c9c9(0x1e4)][_0x95c9c9(0x20e)]=Hn(_0x95c9c9(0x214),_0x357250,this[_0x95c9c9(0x1d6)]),this[_0x95c9c9(0x1f6)][_0x95c9c9(0x20e)]=Hn(_0x95c9c9(0x1f4),_0x357250,this[_0x95c9c9(0x1d6)]);}}class Gn extends _0x11ca8b{[_0x349e65(0x21c)];[_0x349e65(0x1f7)];[_0x349e65(0x1c4)];[_0x349e65(0x1e8)];constructor(_0x249078,_0x5019f0){const _0x45a432=_0x349e65;super(_0x249078),this[_0x45a432(0x1f7)]=new _0x5dbe10(this[_0x45a432(0x203)]),this[_0x45a432(0x21c)]=new _0x47d9aa(this[_0x45a432(0x203)]),this[_0x45a432(0x21c)][_0x45a432(0x1eb)](),this[_0x45a432(0x1cc)](_0x45a432(0x1fb),''),this[_0x45a432(0x1f7)][_0x45a432(0x1e1)](_0x45a432(0x1f5))['to'](this,_0x45a432(0x1fb)),this[_0x45a432(0x1c4)]=this[_0x45a432(0x20b)](_0x5019f0[_0x45a432(0x1ce)][_0x45a432(0x1ed)](0x1)),this[_0x45a432(0x21c)][_0x45a432(0x1f1)](this[_0x45a432(0x1f7)]),this[_0x45a432(0x1f7)][_0x45a432(0x218)][_0x45a432(0x1f1)](this[_0x45a432(0x1c4)]),this[_0x45a432(0x1e5)][_0x45a432(0x1da)](_0x45a432(0x1db)),this[_0x45a432(0x1e5)][_0x45a432(0x1cc)](_0x45a432(0x1db),_0x17f081(this[_0x45a432(0x203)],_0x45a432(0x1c3))),this[_0x45a432(0x1d4)](),this['on'](_0x45a432(0x207),()=>{const _0x343bf3=_0x45a432,_0x8340a4=_0x5019f0[_0x343bf3(0x1ce)][0x0][_0x343bf3(0x21b)];this[_0x343bf3(0x1e9)](_0x8340a4),this[_0x343bf3(0x1f7)][_0x343bf3(0x1c9)](),this[_0x343bf3(0x1e5)][_0x343bf3(0x1fa)]();}),this['on'](_0x45a432(0x1d3),()=>{const _0x42df7a=_0x45a432;this[_0x42df7a(0x1f7)][_0x42df7a(0x1c7)]?(this[_0x42df7a(0x1f7)][_0x42df7a(0x1c9)](),this[_0x42df7a(0x1e5)][_0x42df7a(0x1fa)]()):(this[_0x42df7a(0x1f7)][_0x42df7a(0x1e7)]({'target':this[_0x42df7a(0x21d)],'positions':[_0x42df7a(0x1cf)===this[_0x42df7a(0x203)][_0x42df7a(0x1d9)]?yn:Pn]}),this[_0x42df7a(0x1c4)][_0x42df7a(0x1fa)]());}),_0x5f0666({'emitter':this[_0x45a432(0x1f7)],'callback':()=>{const _0x1b7684=_0x45a432;this[_0x1b7684(0x1f7)][_0x1b7684(0x1c9)]();},'activator':()=>this[_0x45a432(0x1f7)][_0x45a432(0x1c7)],'contextElements':()=>[this[_0x45a432(0x21d)],this[_0x45a432(0x1f7)][_0x45a432(0x21d)]]});}[_0x349e65(0x20b)](_0x15a493){const _0x598e11=_0x349e65,_0xa854ae=this[_0x598e11(0x203)],_0x4d132b=new _0x5a0d0c(_0xa854ae);for(const _0xdbb8c0 of _0x15a493){const _0x5ea32b=new _0x12b265(_0xa854ae),_0xa23064=new _0x5f4c3f(_0xa854ae);_0xa23064[_0x598e11(0x1e1)](...Object[_0x598e11(0x205)](_0xdbb8c0))['to'](_0xdbb8c0),_0xa23064[_0x598e11(0x21e)](_0x598e11(0x207))['to'](_0x4d132b),_0x5ea32b[_0x598e11(0x1d1)][_0x598e11(0x1f1)](_0xa23064),_0x4d132b[_0x598e11(0x1de)][_0x598e11(0x1f1)](_0x5ea32b);}return _0x4d132b[_0x598e11(0x1de)][_0x598e11(0x21e)](_0x598e11(0x207))['to'](this),_0x4d132b['on'](_0x598e11(0x207),_0x25a1f9=>{const _0x454943=_0x598e11,_0x3acb36=_0x25a1f9[_0x454943(0x20f)];this[_0x454943(0x1e9)](_0x3acb36[_0x454943(0x21b)]),this[_0x454943(0x1f7)][_0x454943(0x1c9)](),this[_0x454943(0x1e5)][_0x454943(0x1fa)]();}),_0x4d132b;}[_0x349e65(0x1d4)](){const _0x444956=_0x349e65;this[_0x444956(0x1e8)]=new _0x29299b(),this[_0x444956(0x1e8)][_0x444956(0x1ef)](this[_0x444956(0x1f7)][_0x444956(0x21d)]),this[_0x444956(0x1e8)][_0x444956(0x1cc)](_0x444956(0x210),(_0x351a61,_0x394bda)=>{const _0x51c7ab=_0x444956;this[_0x51c7ab(0x1f7)][_0x51c7ab(0x1c9)](),this[_0x51c7ab(0x1e5)][_0x51c7ab(0x1fa)](),_0x394bda();});}[_0x349e65(0x1ca)](){const _0x427689=_0x349e65;super[_0x427689(0x1ca)](),this[_0x427689(0x1e8)][_0x427689(0x1ca)](),this[_0x427689(0x1f7)][_0x427689(0x1ca)](),this[_0x427689(0x21c)][_0x427689(0x219)]();}}function yn(_0x140e00){const _0x2b55b0=_0x349e65;return{'top':_0x140e00[_0x2b55b0(0x1e2)],'left':_0x140e00[_0x2b55b0(0x1fe)],'name':_0x2b55b0(0x1ea),'config':{'withArrow':!0x1}};}function Pn(_0x58bd3b,_0x4202ce){const _0x2079dc=_0x349e65;return{'top':_0x58bd3b[_0x2079dc(0x1e2)],'left':_0x58bd3b[_0x2079dc(0x1fe)]-(_0x4202ce[_0x2079dc(0x211)]-_0x58bd3b[_0x2079dc(0x211)]),'name':_0x2079dc(0x1ea),'config':{'withArrow':!0x1}};}function Hn(_0x2b6d37,_0x694d04,_0x53eba6){const _0x350f31=_0x349e65;switch(_0x2b6d37){case _0x350f31(0x1c5):return _0x17f081(_0x694d04,_0x350f31(0x1d7),_0x53eba6);case _0x350f31(0x214):return _0x17f081(_0x694d04,_0x350f31(0x1d0),_0x53eba6);case _0x350f31(0x1f4):return _0x17f081(_0x694d04,_0x350f31(0x1fc),_0x53eba6);}}function Un(_0x3055c0,_0x509082,_0x38251f){const _0x492af5=_0x349e65;switch(_0x3055c0){case _0x492af5(0x1c5):return _0x17f081(_0x509082,_0x492af5(0x1ec),_0x38251f);case _0x492af5(0x214):return _0x17f081(_0x509082,_0x492af5(0x20a),_0x38251f);case _0x492af5(0x1f4):return _0x17f081(_0x509082,_0x492af5(0x1f8),_0x38251f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1710fc=_0x5d07;(function(_0xf1e5a8,_0x3bc7d6){var _0x236598=_0x5d07,_0x5d81b2=_0xf1e5a8();while(!![]){try{var _0x41b7b1=-parseInt(_0x236598(0x135))/0x1*(parseInt(_0x236598(0x127))/0x2)+-parseInt(_0x236598(0x129))/0x3+-parseInt(_0x236598(0x13c))/0x4*(-parseInt(_0x236598(0x120))/0x5)+parseInt(_0x236598(0x139))/0x6*(parseInt(_0x236598(0x13e))/0x7)+parseInt(_0x236598(0x123))/0x8+-parseInt(_0x236598(0x149))/0x9*(parseInt(_0x236598(0x12e))/0xa)+-parseInt(_0x236598(0x12a))/0xb*(-parseInt(_0x236598(0x13a))/0xc);if(_0x41b7b1===_0x3bc7d6)break;else _0x5d81b2['push'](_0x5d81b2['shift']());}catch(_0x4dd9b8){_0x5d81b2['push'](_0x5d81b2['shift']());}}}(_0x5c0f,0xb9bef));import{AIChatFeedItemView as _0xf88401}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x2d6b0a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x297c2f}from'./aichatfeedsuggestionitemactionsview.js';function _0x5c0f(){var _0x36c836=['mouseLeaveSuggestion','applySuggestion','getPartView','23974tSYGIc','isVisible','children','bind','930DqXiWy','808188NDnrWI','updateSources','149144mosmVN','fire','57631BPaznj','options','partsCount','markAsDone','areActionsDisabled','hasNonEmptyParts','mouseOverSuggestion','actionsView','insertSuggestion','updateContent','like','27eaROQh','toggleSuggestionDisplayMode','hasPendingParts','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion','55nRCsTh','showDiff','isEnabled','2371072AUmgLV','containerView','rejectSuggestion','dislike','80TPoEZf','showChangeInText','3271041jMpOcq','374fmrlsJ','bodyView','dropdownConfig','extendTemplate','4874630NkSWcl','updatePartState','addMany','updateLabels'];_0x5c0f=function(){return _0x36c836;};return _0x5c0f();}function _0x5d07(_0x4905c4,_0x513553){var _0x5c0f22=_0x5c0f();return _0x5d07=function(_0x5d0714,_0x4b83ad){_0x5d0714=_0x5d0714-0x120;var _0x2a3f80=_0x5c0f22[_0x5d0714];return _0x2a3f80;},_0x5d07(_0x4905c4,_0x513553);}export class AIChatFeedSuggestionItemView extends _0xf88401{[_0x1710fc(0x124)];[_0x1710fc(0x145)];constructor(_0x4182e2,_0x3f2777){var _0x5283fa=_0x1710fc;super(_0x3f2777),this[_0x5283fa(0x124)]=new _0x2d6b0a(_0x4182e2,{'showDiff':_0x3f2777[_0x5283fa(0x121)],'areActionsDisabled':_0x3f2777[_0x5283fa(0x142)]}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x14a),(_0x87b1db,_0x313d53)=>{var _0x269e17=_0x5283fa;this[_0x269e17(0x13d)](_0x269e17(0x14a),{'replyId':this[_0x269e17(0x13f)]['id'],'showDiff':_0x313d53[_0x269e17(0x121)]});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x148),()=>{var _0x43125c=_0x5283fa;this[_0x43125c(0x13d)](_0x43125c(0x148),{'replyId':this[_0x43125c(0x13f)]['id']});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x126),()=>{var _0x908914=_0x5283fa;this[_0x908914(0x13d)](_0x908914(0x126),{'replyId':this[_0x908914(0x13f)]['id']});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x128),(_0x4ed9a2,{index:_0x4c83e6})=>{var _0x48276d=_0x5283fa;this[_0x48276d(0x13d)](_0x48276d(0x128),{'replyId':this[_0x48276d(0x13f)]['id'],'partIndex':_0x4c83e6});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x146),(_0x4b878e,{index:_0xb0116})=>{var _0x24517a=_0x5283fa;this[_0x24517a(0x13d)](_0x24517a(0x146),{'replyId':this[_0x24517a(0x13f)]['id'],'partIndex':_0xb0116});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x125),(_0x1f9310,{index:_0x3b8748})=>{var _0x4ad131=_0x5283fa;this[_0x4ad131(0x13d)](_0x4ad131(0x125),{'replyId':this[_0x4ad131(0x13f)]['id'],'partIndex':_0x3b8748});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x144),(_0x39d708,{index:_0xee336})=>{var _0xbecbc9=_0x5283fa;this[_0xbecbc9(0x13d)](_0xbecbc9(0x144),{'replyId':this[_0xbecbc9(0x13f)]['id'],'partIndex':_0xee336});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x132),(_0x54a806,{index:_0x4ad659})=>{var _0x5ee648=_0x5283fa;this[_0x5ee648(0x13d)](_0x5ee648(0x132),{'replyId':this[_0x5ee648(0x13f)]['id'],'partIndex':_0x4ad659});}),this[_0x5283fa(0x145)]=new _0x297c2f(_0x4182e2,this[_0x5283fa(0x13f)][_0x5283fa(0x12c)]),this[_0x5283fa(0x145)][_0x5283fa(0x138)](_0x5283fa(0x14c))['to'](this,_0x5283fa(0x14c)),this[_0x5283fa(0x145)]['on'](_0x5283fa(0x128),()=>{var _0x7c42b1=_0x5283fa;this[_0x7c42b1(0x13d)](_0x7c42b1(0x128),{'replyId':this[_0x7c42b1(0x13f)]['id']});}),this[_0x5283fa(0x145)]['on'](_0x5283fa(0x146),()=>{var _0x44c495=_0x5283fa;this[_0x44c495(0x13d)](_0x44c495(0x146),{'replyId':this[_0x44c495(0x13f)]['id']});}),this[_0x5283fa(0x145)]['on'](_0x5283fa(0x133),()=>{var _0x1f8a1e=_0x5283fa;this[_0x1f8a1e(0x13d)](_0x1f8a1e(0x133),{'replyId':this[_0x1f8a1e(0x13f)]['id']});}),_0x3f2777[_0x5283fa(0x142)]?this[_0x5283fa(0x145)][_0x5283fa(0x122)]=!0x1:this[_0x5283fa(0x145)][_0x5283fa(0x138)](_0x5283fa(0x122))['to'](this[_0x5283fa(0x124)][_0x5283fa(0x12b)],_0x5283fa(0x14b)),this[_0x5283fa(0x137)][_0x5283fa(0x130)]([this[_0x5283fa(0x124)],this[_0x5283fa(0x145)]]),this[_0x5283fa(0x12d)]({'attributes':{'class':[_0x5283fa(0x14d)]}});}async[_0x1710fc(0x147)](_0xb16184){var _0x5db053=_0x1710fc;await this[_0x5db053(0x124)][_0x5db053(0x147)](_0xb16184),this[_0x5db053(0x145)][_0x5db053(0x131)](this[_0x5db053(0x124)][_0x5db053(0x12b)][_0x5db053(0x140)]);}[_0x1710fc(0x12f)](_0x2c935d,_0x5f19cf){var _0x579f85=_0x1710fc;this[_0x579f85(0x124)][_0x579f85(0x12b)][_0x579f85(0x12f)](_0x2c935d,_0x5f19cf);}[_0x1710fc(0x13b)](_0x4768a2){var _0x2d1a23=_0x1710fc;this[_0x2d1a23(0x124)][_0x2d1a23(0x13b)](_0x4768a2);}[_0x1710fc(0x134)](_0x5e4501){var _0x5b12f0=_0x1710fc;return this[_0x5b12f0(0x124)][_0x5b12f0(0x12b)][_0x5b12f0(0x134)](_0x5e4501);}[_0x1710fc(0x141)](){var _0x4f67e0=_0x1710fc;super[_0x4f67e0(0x141)](),this[_0x4f67e0(0x124)][_0x4f67e0(0x141)](),this[_0x4f67e0(0x145)][_0x4f67e0(0x136)]=this[_0x4f67e0(0x124)][_0x4f67e0(0x12b)][_0x4f67e0(0x143)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1c71b5=_0x5be1;(function(_0x54c254,_0x4393f2){var _0x759d3b=_0x5be1,_0x3a8225=_0x54c254();while(!![]){try{var _0x148957=-parseInt(_0x759d3b(0x1b1))/0x1+parseInt(_0x759d3b(0x193))/0x2+parseInt(_0x759d3b(0x195))/0x3+-parseInt(_0x759d3b(0x1a2))/0x4*(parseInt(_0x759d3b(0x199))/0x5)+-parseInt(_0x759d3b(0x198))/0x6*(parseInt(_0x759d3b(0x1a4))/0x7)+parseInt(_0x759d3b(0x19e))/0x8+parseInt(_0x759d3b(0x1a7))/0x9;if(_0x148957===_0x4393f2)break;else _0x3a8225['push'](_0x3a8225['shift']());}catch(_0x3b1e24){_0x3a8225['push'](_0x3a8225['shift']());}}}(_0x5448,0xef883));import{AIChatFeedItemView as _0x1da28e}from'./aichatfeeditemview.js';function _0x5be1(_0x1b7227,_0xa6a805){var _0x5448db=_0x5448();return _0x5be1=function(_0x5be1f2,_0x378b08){_0x5be1f2=_0x5be1f2-0x192;var _0x2c598e=_0x5448db[_0x5be1f2];return _0x2c598e;},_0x5be1(_0x1b7227,_0xa6a805);}import{AIChatFeedContextChipsView as _0x2d83eb}from'./aichatfeedcontextchipsview.js';import{View as _0xfef51}from'ckeditor5/src/ui.js';function _0x5448(){var _0x5d432c=['markAsDone','div','3821308OfJTtk','children','17206SDZvlK','ck-ai-chat__feed__message-content','_bodyCollection','2789235TXbQPX','ck-ai-chat__feed__context-chips','setTemplate','_locale','_contextChipsView','contextItems','render','_createMessageContentView','ck-ai-chat__feed__user-message','initialContent','1144608rYwWSt','options','extendTemplate','1224202sbisRe','add','1728480SZrXnT','hidden','_createContextChipsView','246uDjsta','5LUHFrW','innerHTML','length','_messageContentView','filter','13469280pIjMED','element'];_0x5448=function(){return _0x5d432c;};return _0x5448();}export class AIChatFeedUserMessageItemView extends _0x1da28e{[_0x1c71b5(0x1ab)]=null;[_0x1c71b5(0x1aa)];[_0x1c71b5(0x1a6)];[_0x1c71b5(0x19c)];constructor(_0x417264,_0x48b42f,_0x5c869f){var _0x28ce01=_0x1c71b5;super(_0x48b42f),this[_0x28ce01(0x1aa)]=_0x417264,this[_0x28ce01(0x1a6)]=_0x5c869f,this[_0x28ce01(0x197)](),this[_0x28ce01(0x1ae)](),this[_0x28ce01(0x192)]({'attributes':{'class':[_0x28ce01(0x1af)]}});}[_0x1c71b5(0x197)](){var _0x19a12c=_0x1c71b5;this[_0x19a12c(0x1b2)][_0x19a12c(0x1ac)]&&this[_0x19a12c(0x1b2)][_0x19a12c(0x1ac)][_0x19a12c(0x19b)]>0x0&&(this[_0x19a12c(0x1ab)]=new _0x2d83eb(this[_0x19a12c(0x1aa)],this[_0x19a12c(0x1b2)][_0x19a12c(0x1ac)][_0x19a12c(0x19d)](_0x3cc392=>!_0x3cc392[_0x19a12c(0x196)]),this[_0x19a12c(0x1a6)]),this[_0x19a12c(0x1ab)][_0x19a12c(0x192)]({'attributes':{'class':_0x19a12c(0x1a8)}}),this[_0x19a12c(0x1a3)][_0x19a12c(0x194)](this[_0x19a12c(0x1ab)]));}[_0x1c71b5(0x1ae)](){var _0x383a37=_0x1c71b5;this[_0x383a37(0x19c)]=new _0xfef51(this[_0x383a37(0x1aa)]),this[_0x383a37(0x19c)][_0x383a37(0x1a9)]({'tag':_0x383a37(0x1a1),'attributes':{'class':_0x383a37(0x1a5)}}),this[_0x383a37(0x1a3)][_0x383a37(0x194)](this[_0x383a37(0x19c)]);}[_0x1c71b5(0x1ad)](){var _0x316f68=_0x1c71b5;super[_0x316f68(0x1ad)](),this[_0x316f68(0x19c)][_0x316f68(0x19f)][_0x316f68(0x19a)]=this[_0x316f68(0x1b2)][_0x316f68(0x1b0)],this[_0x316f68(0x1a0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2e1f(_0x527b45,_0x5ef3aa){const _0x3cc4fe=_0x3cc4();return _0x2e1f=function(_0x2e1f36,_0x2c500e){_0x2e1f36=_0x2e1f36-0x173;let _0x44996a=_0x3cc4fe[_0x2e1f36];return _0x44996a;},_0x2e1f(_0x527b45,_0x5ef3aa);}const _0x5c8146=_0x2e1f;(function(_0x52201a,_0x1d337a){const _0x1888d6=_0x2e1f,_0x4488e6=_0x52201a();while(!![]){try{const _0x2d955e=parseInt(_0x1888d6(0x17b))/0x1+-parseInt(_0x1888d6(0x180))/0x2*(parseInt(_0x1888d6(0x174))/0x3)+parseInt(_0x1888d6(0x185))/0x4*(parseInt(_0x1888d6(0x183))/0x5)+parseInt(_0x1888d6(0x184))/0x6*(-parseInt(_0x1888d6(0x187))/0x7)+parseInt(_0x1888d6(0x181))/0x8+parseInt(_0x1888d6(0x189))/0x9+parseInt(_0x1888d6(0x17d))/0xa;if(_0x2d955e===_0x1d337a)break;else _0x4488e6['push'](_0x4488e6['shift']());}catch(_0x4ff8e7){_0x4488e6['push'](_0x4488e6['shift']());}}}(_0x3cc4,0x62b71));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x149fae}from'../../aicore/utils/eventnames.js';function _0x3cc4(){const _0x4a4b7c=['toggleWebSearch','402022tKuGlv','1843576vHjtkC','removeContextItem','20JNCIMC','4270866aWqWtS','254940TLRRXC','resizeTabs','7iUyFNB','startConversation','5916618vXCnog','toggleReasoning','6LCLvrS','abortPromptStream','addFileToContext','sendUserMessage','addUrlToContext','addResourceToContext','selectModel','157243AtZfGO','loadSourceResources','2181380IajtFI','addDocumentToContext'];_0x3cc4=function(){return _0x4a4b7c;};return _0x3cc4();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x149fae,_0x5c8146(0x188),_0x5c8146(0x186),_0x5c8146(0x177),_0x5c8146(0x175),_0x5c8146(0x17e),_0x5c8146(0x176),_0x5c8146(0x178),_0x5c8146(0x179),_0x5c8146(0x182),_0x5c8146(0x17c),_0x5c8146(0x17f),_0x5c8146(0x173),_0x5c8146(0x17a)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52ea64=_0x21a4;(function(_0x2970a5,_0x22fce2){const _0x28607f=_0x21a4,_0xc01b1b=_0x2970a5();while(!![]){try{const _0x5731f7=-parseInt(_0x28607f(0xe4))/0x1+parseInt(_0x28607f(0xd8))/0x2*(parseInt(_0x28607f(0xe3))/0x3)+-parseInt(_0x28607f(0xd5))/0x4+-parseInt(_0x28607f(0xec))/0x5+-parseInt(_0x28607f(0xde))/0x6*(-parseInt(_0x28607f(0xd1))/0x7)+parseInt(_0x28607f(0xdb))/0x8*(-parseInt(_0x28607f(0xe5))/0x9)+parseInt(_0x28607f(0xd0))/0xa;if(_0x5731f7===_0x22fce2)break;else _0xc01b1b['push'](_0xc01b1b['shift']());}catch(_0x58015d){_0xc01b1b['push'](_0xc01b1b['shift']());}}}(_0x230f,0x99a86));function _0x230f(){const _0xb0075b=['_processQueue','signal','3dxhKAj','1199419xsEnkS','78471JMbKsS','_queueEmpty','once','shift','abort','completePromise','push','5026000FibHGE','31807080XjjwRS','56tQUrHV','_abortController','resolve','isProcessing','4366136jqFVno','createTask','queue','1178354RNjmwi','length','reject','144UBzlHB','enqueue','callback','234444ZSVTbH','queueEmptyPromise','fire'];_0x230f=function(){return _0xb0075b;};return _0x230f();}function _0x21a4(_0xa1ce30,_0x1a4837){const _0x230f0d=_0x230f();return _0x21a4=function(_0x21a41c,_0x4bdcb2){_0x21a41c=_0x21a41c-0xd0;let _0x3cfb0e=_0x230f0d[_0x21a41c];return _0x3cfb0e;},_0x21a4(_0xa1ce30,_0x1a4837);}import{EmitterMixin as _0x1be8b8}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x1be8b8(){[_0x52ea64(0xd7)]=[];[_0x52ea64(0xd4)]=!0x1;[_0x52ea64(0xd2)];async[_0x52ea64(0xdc)](_0xcc553c){const _0x4f61ac=_0x52ea64,_0x1d9706=this[_0x4f61ac(0xd6)](_0xcc553c);return this[_0x4f61ac(0xd7)][_0x4f61ac(0xeb)](_0x1d9706),this[_0x4f61ac(0xe1)](),_0x1d9706[_0x4f61ac(0xea)];}[_0x52ea64(0xe9)](){const _0x4f55db=_0x52ea64;this[_0x4f55db(0xd4)]&&(this[_0x4f55db(0xd2)][_0x4f55db(0xe9)](),this[_0x4f55db(0xd2)]=void 0x0,this[_0x4f55db(0xd7)]=[],this[_0x4f55db(0xe0)](_0x4f55db(0xe6)),this[_0x4f55db(0xd4)]=!0x1);}get[_0x52ea64(0xdf)](){const _0x1984cf=_0x52ea64;return this[_0x1984cf(0xd7)][_0x1984cf(0xd9)]||this[_0x1984cf(0xd4)]?new Promise(_0x3ccc71=>{const _0x425929=_0x1984cf;this[_0x425929(0xe7)](_0x425929(0xe6),()=>{_0x3ccc71();});}):Promise[_0x1984cf(0xd3)]();}async[_0x52ea64(0xe1)](){const _0x2f66dd=_0x52ea64;if(!this[_0x2f66dd(0xd4)]){this[_0x2f66dd(0xd2)]=new AbortController(),this[_0x2f66dd(0xd4)]=!0x0;try{for(;this[_0x2f66dd(0xd7)][_0x2f66dd(0xd9)]&&this[_0x2f66dd(0xd4)];){const _0x2196f6=this[_0x2f66dd(0xd7)][_0x2f66dd(0xe8)]();try{await _0x2196f6[_0x2f66dd(0xdd)](this[_0x2f66dd(0xd2)][_0x2f66dd(0xe2)]),_0x2196f6[_0x2f66dd(0xd3)]();}catch(_0xbe66cb){_0x2196f6[_0x2f66dd(0xda)](_0xbe66cb);}}}finally{this[_0x2f66dd(0xd4)]=!0x1,this[_0x2f66dd(0xd2)]=void 0x0;}this[_0x2f66dd(0xe0)](_0x2f66dd(0xe6));}}[_0x52ea64(0xd6)](_0x391b27){let _0x3d2f0e,_0x147e79;const _0x1fd0ac=new Promise((_0x3b15ef,_0x351cb2)=>{_0x3d2f0e=_0x3b15ef,_0x147e79=_0x351cb2;});return{'callback':_0x391b27,'resolve':_0x3d2f0e,'reject':_0x147e79,'completePromise':_0x1fd0ac};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x39a6(_0x18dae8,_0x5510ed){var _0x2cdd4e=_0x2cdd();return _0x39a6=function(_0x39a69d,_0x3c5041){_0x39a69d=_0x39a69d-0x6e;var _0x39bc44=_0x2cdd4e[_0x39a69d];return _0x39bc44;},_0x39a6(_0x18dae8,_0x5510ed);}function _0x2cdd(){var _0x1ef209=['pluginName','10kuAaQY','2TPbBtQ','AIChatHistory','3960813YgoOku','3656022xxrgTs','4741vZoJSd','8VGqHTK','936474nnkcTh','4476012tzrybo','6859179AKpwfF','isPremiumPlugin','1264465MrULgu','requires','isOfficialPlugin','260ixcXun'];_0x2cdd=function(){return _0x1ef209;};return _0x2cdd();}var _0x3ff175=_0x39a6;(function(_0x502d0c,_0x523548){var _0x23ac35=_0x39a6,_0x340e9f=_0x502d0c();while(!![]){try{var _0x15867e=parseInt(_0x23ac35(0x6e))/0x1*(parseInt(_0x23ac35(0x74))/0x2)+parseInt(_0x23ac35(0x76))/0x3+-parseInt(_0x23ac35(0x7b))/0x4+parseInt(_0x23ac35(0x73))/0x5*(-parseInt(_0x23ac35(0x77))/0x6)+parseInt(_0x23ac35(0x7a))/0x7*(-parseInt(_0x23ac35(0x79))/0x8)+parseInt(_0x23ac35(0x7c))/0x9+parseInt(_0x23ac35(0x71))/0xa*(-parseInt(_0x23ac35(0x78))/0xb);if(_0x15867e===_0x523548)break;else _0x340e9f['push'](_0x340e9f['shift']());}catch(_0x5a500c){_0x340e9f['push'](_0x340e9f['shift']());}}}(_0x2cdd,0xd2fca));import{ContextPlugin as _0x2c4a63}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x255b11}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x590283}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x2c4a63{static get[_0x3ff175(0x6f)](){return[_0x255b11,_0x590283];}static get[_0x3ff175(0x72)](){var _0x268b54=_0x3ff175;return _0x268b54(0x75);}static get[_0x3ff175(0x70)](){return!0x0;}static get[_0x3ff175(0x7d)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x45a116=_0x19ca;(function(_0x384687,_0x2a42bd){const _0x41bd8c=_0x19ca,_0x5e20e1=_0x384687();while(!![]){try{const _0x1c915d=-parseInt(_0x41bd8c(0x1e5))/0x1*(-parseInt(_0x41bd8c(0x226))/0x2)+-parseInt(_0x41bd8c(0x1de))/0x3+-parseInt(_0x41bd8c(0x1d2))/0x4*(parseInt(_0x41bd8c(0x1ea))/0x5)+parseInt(_0x41bd8c(0x1cf))/0x6*(parseInt(_0x41bd8c(0x20f))/0x7)+-parseInt(_0x41bd8c(0x1e1))/0x8*(-parseInt(_0x41bd8c(0x204))/0x9)+-parseInt(_0x41bd8c(0x1d3))/0xa*(parseInt(_0x41bd8c(0x1f7))/0xb)+parseInt(_0x41bd8c(0x219))/0xc;if(_0x1c915d===_0x2a42bd)break;else _0x5e20e1['push'](_0x5e20e1['shift']());}catch(_0xb3fc95){_0x5e20e1['push'](_0x5e20e1['shift']());}}}(_0x31a6,0x1edde));import{ContextPlugin as _0x2a24e0}from'ckeditor5/src/core.js';import{AIConnector as _0x3521ad}from'../aicore/aiconnector.js';import{AIChatController as _0x191fa9}from'../aichat/aichatcontroller.js';import{AITabs as _0x19bdd0}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0xa349a6}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x32ef09}from'./model/aichathistoryconversations.js';function _0x19ca(_0x25a533,_0x108256){const _0x31a67a=_0x31a6();return _0x19ca=function(_0x19ca3b,_0x44df29){_0x19ca3b=_0x19ca3b-0x1ca;let _0x5ff487=_0x31a67a[_0x19ca3b];return _0x5ff487;},_0x19ca(_0x25a533,_0x108256);}import{getTranslation as _0x27d84a}from'../aicore/utils/common-translations.js';function _0x31a6(){const _0x29f9b5=['items','pinned','setConversationPinned','remove','getItem','createdAt','updateItems','activateTab:history','change:activeConversation','title','activateTab','init','336PYOYDO','resizeTabs','chat','48068YBcGjM','196750kgXzAx','loadItems','editConversationTitle','itemRemoved','view','getFullYear','openChat','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','_updateHistoryItemsUI','_clearItemLoading','_aiChatController','670779igDPRz','isOfficialPlugin','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','40pyNNcH','AIChatHistoryController','AI_CHAT_HISTORY_ERROR_GENERIC','updateItemPinned','183907hsqIYh','updateItemLoadingState','get','history','AI_CHAT_HISTORY_CATEGORY_TODAY','100MfFMar','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','showError','AI_CHAT_HISTORY_UNPIN_ACTION','_setIsMaximized','_generateErrorMessage','itemUpdated','removeHistoryItem','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','itemsLoaded','activeConversation','44nBMzNR','_getCategorizedItems','AI_CHAT_HISTORY_CATEGORY_PINNED','_handleRemove','_aiChatHistoryUi','_handleEditTitle','resize','operation','requires','locale','length','context','plugins','114039IfkCCo','setLoadingSkeleton','_handleSelectConversation','isPremiumPlugin','removeItem','getItems','pluginName','updates','_setItemLoading','AI_CHAT_HISTORY_CATEGORY_LATER','error','28154PjpqZO','_handleTogglePin','map','removeConversation','setIsMaximized','unpin','AI_CHAT_UNTITLED_CONVERSATION','updateItemTitle','_aiConnector','resizedTabs','2358828kHWjuX','selectConversation','getGroupId','getDate','_showConversationHistory','_handleHistoryErrorUI','listenTo','handleRemovedConversation','setDate','pin','getMonth','loadConversation','AI_CHAT_HISTORY_PIN_ACTION','2mRgRtf','toLocaleDateString','push','rename','itemId'];_0x31a6=function(){return _0x29f9b5;};return _0x31a6();}export class AIChatHistoryController extends _0x2a24e0{[_0x45a116(0x217)];[_0x45a116(0x1fb)];[_0x45a116(0x1dd)];static get[_0x45a116(0x1ff)](){return[_0x3521ad,_0x191fa9,_0xa349a6,_0x19bdd0];}static get[_0x45a116(0x20a)](){const _0x3b2c6d=_0x45a116;return _0x3b2c6d(0x1e2);}static get[_0x45a116(0x1df)](){return!0x0;}static get[_0x45a116(0x207)](){return!0x0;}[_0x45a116(0x1ce)](){const _0x2b6896=_0x45a116;this[_0x2b6896(0x217)]=this[_0x2b6896(0x202)][_0x2b6896(0x203)][_0x2b6896(0x1e7)](_0x3521ad),this[_0x2b6896(0x1fb)]=this[_0x2b6896(0x202)][_0x2b6896(0x203)][_0x2b6896(0x1e7)](_0xa349a6),this[_0x2b6896(0x1dd)]=this[_0x2b6896(0x202)][_0x2b6896(0x203)][_0x2b6896(0x1e7)](_0x191fa9);const _0x31f93b=this[_0x2b6896(0x202)][_0x2b6896(0x203)][_0x2b6896(0x1e7)](_0x19bdd0),_0x269915=this[_0x2b6896(0x1dd)][_0x2b6896(0x21b)]();this[_0x2b6896(0x1e8)]=new _0x32ef09({'connector':this[_0x2b6896(0x217)],'group':_0x269915}),this[_0x2b6896(0x21f)](this[_0x2b6896(0x1fb)],_0x2b6896(0x212),(_0x199dc6,_0x7888c8)=>{const _0x18f681=_0x2b6896;this[_0x18f681(0x20c)](_0x7888c8['id'],_0x18f681(0x22e)),this[_0x18f681(0x1fa)](_0x7888c8['id']);}),this[_0x2b6896(0x21f)](this[_0x2b6896(0x1fb)],_0x2b6896(0x1d5),(_0x5b0263,_0x234f66)=>{const _0x336e79=_0x2b6896;this[_0x336e79(0x20c)](_0x234f66['id'],_0x336e79(0x229)),this[_0x336e79(0x1fc)](_0x234f66['id'],_0x234f66[_0x336e79(0x1cc)]);}),this[_0x2b6896(0x21f)](this[_0x2b6896(0x1e8)],_0x2b6896(0x1f2),(_0xf0b76e,_0x1c5c74)=>{const _0x50a33a=_0x2b6896;void 0x0!==_0x1c5c74[_0x50a33a(0x20b)][_0x50a33a(0x1cc)]&&this[_0x50a33a(0x1fb)][_0x50a33a(0x216)](_0x1c5c74[_0x50a33a(0x22a)],_0x1c5c74[_0x50a33a(0x20b)][_0x50a33a(0x1cc)]),void 0x0!==_0x1c5c74[_0x50a33a(0x20b)][_0x50a33a(0x22c)]&&this[_0x50a33a(0x1db)](),this[_0x50a33a(0x1dc)](_0x1c5c74[_0x50a33a(0x22a)]);}),this[_0x2b6896(0x21f)](this[_0x2b6896(0x1e8)],_0x2b6896(0x1d6),(_0x12bb3c,_0x21e967)=>{const _0x5407d6=_0x2b6896;this[_0x5407d6(0x1dd)][_0x5407d6(0x220)](_0x21e967[_0x5407d6(0x22a)]),this[_0x5407d6(0x1fb)][_0x5407d6(0x1f3)](_0x21e967[_0x5407d6(0x22a)]),this[_0x5407d6(0x1dc)](_0x21e967[_0x5407d6(0x22a)]);}),this[_0x2b6896(0x21f)](this[_0x2b6896(0x1e8)],_0x2b6896(0x1f5),()=>{const _0x4c047d=_0x2b6896;this[_0x4c047d(0x1db)]();}),this[_0x2b6896(0x21f)](this[_0x2b6896(0x1e8)],_0x2b6896(0x20e),(_0x2195e9,_0x21b43f)=>{const _0x4b01c6=_0x2b6896;this[_0x4b01c6(0x21e)](_0x21b43f[_0x4b01c6(0x20e)],_0x21b43f[_0x4b01c6(0x1fe)],_0x21b43f[_0x4b01c6(0x22a)]);}),this[_0x2b6896(0x21f)](this[_0x2b6896(0x1fb)],_0x2b6896(0x21a),(_0x6be44d,_0x6f3a66)=>{const _0x996442=_0x2b6896;this[_0x996442(0x206)](_0x6f3a66['id']);}),this[_0x2b6896(0x21f)](this[_0x2b6896(0x1fb)],_0x2b6896(0x22d),(_0x34eb66,_0xdc3511)=>{const _0x3819eb=_0x2b6896,_0x12481e=_0xdc3511[_0x3819eb(0x22c)]?_0x3819eb(0x222):_0x3819eb(0x214);this[_0x3819eb(0x20c)](_0xdc3511['id'],_0x12481e),this[_0x3819eb(0x210)](_0xdc3511['id'],_0xdc3511[_0x3819eb(0x22c)]);}),this[_0x2b6896(0x21f)](this[_0x2b6896(0x1fb)],_0x2b6896(0x1d9),()=>{const _0x85050e=_0x2b6896;_0x31f93b[_0x85050e(0x1d7)][_0x85050e(0x1cd)](_0x85050e(0x1d1));}),this[_0x2b6896(0x21f)](this[_0x2b6896(0x1dd)],_0x2b6896(0x1cb),()=>{const _0x573806=_0x2b6896;this[_0x573806(0x1db)]();}),_0x31f93b[_0x2b6896(0x1d7)]['on'](_0x2b6896(0x1ca),()=>{const _0x572900=_0x2b6896;this[_0x572900(0x21d)]();}),this[_0x2b6896(0x21f)](_0x31f93b,_0x2b6896(0x218),(_0x4f037b,_0x42fe27)=>{const _0x101918=_0x2b6896;this[_0x101918(0x1f0)](_0x42fe27);}),this[_0x2b6896(0x21f)](this[_0x2b6896(0x1fb)],_0x2b6896(0x1d0),()=>{const _0x25a91f=_0x2b6896;_0x31f93b[_0x25a91f(0x1fd)]();});}async[_0x45a116(0x1fc)](_0x283874,_0x4ab74d){const _0x14c607=_0x45a116;await this[_0x14c607(0x1e8)][_0x14c607(0x216)](_0x283874,_0x4ab74d);}async[_0x45a116(0x210)](_0x52ea5c,_0x4d7faa){const _0x58daa4=_0x45a116;await this[_0x58daa4(0x1e8)][_0x58daa4(0x1e4)](_0x52ea5c,_0x4d7faa);}async[_0x45a116(0x1fa)](_0x405180){const _0x4b01f8=_0x45a116;await this[_0x4b01f8(0x1e8)][_0x4b01f8(0x208)](_0x405180);}async[_0x45a116(0x206)](_0x53f671){const _0x247a56=_0x45a116;await this[_0x247a56(0x1dd)][_0x247a56(0x224)](_0x53f671);}async[_0x45a116(0x21d)](){const _0x508425=_0x45a116;this[_0x508425(0x1fb)][_0x508425(0x1ee)](''),this[_0x508425(0x1fb)][_0x508425(0x205)](!0x0),await this[_0x508425(0x1e8)][_0x508425(0x1ce)](),this[_0x508425(0x1fb)][_0x508425(0x205)](!0x1);}[_0x45a116(0x1db)](){const _0x28934c=_0x45a116,_0x1a79c4=this[_0x28934c(0x1dd)][_0x28934c(0x1f6)]?.['id'],_0x1f005a=this[_0x28934c(0x1f8)]()[_0x28934c(0x211)](_0x110675=>({'title':_0x110675[_0x28934c(0x1cc)],'items':_0x110675[_0x28934c(0x22b)][_0x28934c(0x211)](_0x5d89e0=>({'id':_0x5d89e0['id'],'title':_0x5d89e0[_0x28934c(0x1cc)]||_0x27d84a(this[_0x28934c(0x202)][_0x28934c(0x200)],_0x28934c(0x215)),'createdAt':new Date(_0x5d89e0[_0x28934c(0x230)])[_0x28934c(0x227)](),'active':_0x5d89e0['id']===_0x1a79c4,'pinned':_0x5d89e0[_0x28934c(0x22c)]}))}));this[_0x28934c(0x1fb)][_0x28934c(0x231)](_0x1f005a);}[_0x45a116(0x20c)](_0x1334ee,_0x118959){const _0xdb7e57=_0x45a116;this[_0xdb7e57(0x1fb)][_0xdb7e57(0x1e6)](_0x1334ee,_0x118959,!0x0);}[_0x45a116(0x1dc)](_0x19d68f){const _0x44cb67=_0x45a116;this[_0x44cb67(0x1fb)][_0x44cb67(0x1e6)](_0x19d68f,null,!0x1);}[_0x45a116(0x21e)](_0x49c25c,_0x3a96e5,_0x13949c){const _0xcacca0=_0x45a116,_0x1a0af9=this[_0xcacca0(0x1f1)](_0x3a96e5,_0x13949c);this[_0xcacca0(0x1fb)][_0xcacca0(0x1ee)](_0x1a0af9),_0x13949c&&this[_0xcacca0(0x1dc)](_0x13949c),this[_0xcacca0(0x1fb)][_0xcacca0(0x205)](!0x1);}[_0x45a116(0x1f1)](_0x4f6f4f,_0x51d947){const _0x5a3598=_0x45a116,_0x47dd32=_0x51d947?this[_0x5a3598(0x1e8)][_0x5a3598(0x22f)](_0x51d947):null,_0x2a27f5=_0x47dd32?.[_0x5a3598(0x1cc)]||_0x27d84a(this[_0x5a3598(0x202)][_0x5a3598(0x200)],_0x5a3598(0x215));switch(_0x4f6f4f){case _0x5a3598(0x216):return _0x27d84a(this[_0x5a3598(0x202)][_0x5a3598(0x200)],_0x5a3598(0x1e0),_0x2a27f5);case _0x5a3598(0x1e4):{const _0x4a09bf=_0x27d84a(this[_0x5a3598(0x202)][_0x5a3598(0x200)],_0x47dd32?.[_0x5a3598(0x22c)]?_0x5a3598(0x1ef):_0x5a3598(0x225));return _0x27d84a(this[_0x5a3598(0x202)][_0x5a3598(0x200)],_0x5a3598(0x1ec),[_0x4a09bf,_0x2a27f5]);}case _0x5a3598(0x208):return _0x27d84a(this[_0x5a3598(0x202)][_0x5a3598(0x200)],_0x5a3598(0x1da),_0x2a27f5);case _0x5a3598(0x1ce):case _0x5a3598(0x1d4):return _0x27d84a(this[_0x5a3598(0x202)][_0x5a3598(0x200)],_0x5a3598(0x1f4));default:return _0x27d84a(this[_0x5a3598(0x202)][_0x5a3598(0x200)],_0x5a3598(0x1e3));}}[_0x45a116(0x1f8)](){const _0x22ee0a=_0x45a116,_0x122705=new Date(),_0x4cfd7a=new Date(_0x122705[_0x22ee0a(0x1d8)](),_0x122705[_0x22ee0a(0x223)](),_0x122705[_0x22ee0a(0x21c)]()),_0x26dc60=new Date(_0x4cfd7a);_0x26dc60[_0x22ee0a(0x221)](_0x26dc60[_0x22ee0a(0x21c)]()-0x1);const _0x2e173e=new Date(_0x4cfd7a);_0x2e173e[_0x22ee0a(0x221)](_0x2e173e[_0x22ee0a(0x21c)]()-0xe);const _0x4b7b0f=this[_0x22ee0a(0x1e8)][_0x22ee0a(0x209)]({'pinned':!0x0}),_0x417876=this[_0x22ee0a(0x1e8)][_0x22ee0a(0x209)]({'from':_0x4cfd7a,'to':_0x4cfd7a}),_0x258436=this[_0x22ee0a(0x1e8)][_0x22ee0a(0x209)]({'from':_0x26dc60,'to':_0x26dc60}),_0x1bd15d=this[_0x22ee0a(0x1e8)][_0x22ee0a(0x209)]({'from':_0x2e173e,'to':_0x26dc60}),_0x350758=this[_0x22ee0a(0x1e8)][_0x22ee0a(0x209)]({'to':_0x2e173e}),_0x4b049c=[];return _0x4b7b0f[_0x22ee0a(0x201)]>0x0&&_0x4b049c[_0x22ee0a(0x228)]({'title':_0x27d84a(this[_0x22ee0a(0x202)][_0x22ee0a(0x200)],_0x22ee0a(0x1f9)),'items':_0x4b7b0f}),_0x417876[_0x22ee0a(0x201)]>0x0&&_0x4b049c[_0x22ee0a(0x228)]({'title':_0x27d84a(this[_0x22ee0a(0x202)][_0x22ee0a(0x200)],_0x22ee0a(0x1e9)),'items':_0x417876}),_0x258436[_0x22ee0a(0x201)]>0x0&&_0x4b049c[_0x22ee0a(0x228)]({'title':_0x27d84a(this[_0x22ee0a(0x202)][_0x22ee0a(0x200)],_0x22ee0a(0x1ed)),'items':_0x258436}),_0x1bd15d[_0x22ee0a(0x201)]>0x0&&_0x4b049c[_0x22ee0a(0x228)]({'title':_0x27d84a(this[_0x22ee0a(0x202)][_0x22ee0a(0x200)],_0x22ee0a(0x1eb)),'items':_0x1bd15d}),_0x350758[_0x22ee0a(0x201)]>0x0&&_0x4b049c[_0x22ee0a(0x228)]({'title':_0x27d84a(this[_0x22ee0a(0x202)][_0x22ee0a(0x200)],_0x22ee0a(0x20d)),'items':_0x350758}),_0x4b049c;}[_0x45a116(0x1f0)](_0x5b94ee){const _0x542c38=_0x45a116;this[_0x542c38(0x1fb)][_0x542c38(0x213)](_0x5b94ee);}}
|
|
23
|
+
const _0x227c46=_0x2c46;(function(_0x1c6d79,_0x37a2ae){const _0x283965=_0x2c46,_0x33866f=_0x1c6d79();while(!![]){try{const _0x4f8144=-parseInt(_0x283965(0x18e))/0x1+-parseInt(_0x283965(0x1c4))/0x2+-parseInt(_0x283965(0x19c))/0x3*(-parseInt(_0x283965(0x1bf))/0x4)+-parseInt(_0x283965(0x194))/0x5+parseInt(_0x283965(0x1a8))/0x6*(parseInt(_0x283965(0x1a1))/0x7)+-parseInt(_0x283965(0x18f))/0x8*(-parseInt(_0x283965(0x1d2))/0x9)+parseInt(_0x283965(0x1b5))/0xa;if(_0x4f8144===_0x37a2ae)break;else _0x33866f['push'](_0x33866f['shift']());}catch(_0x13a416){_0x33866f['push'](_0x33866f['shift']());}}}(_0x11db,0x2f4da));import{ContextPlugin as _0x45b9aa}from'ckeditor5/src/core.js';import{AIConnector as _0x41da9e}from'../aicore/aiconnector.js';import{AIChatController as _0x21161e}from'../aichat/aichatcontroller.js';import{AITabs as _0x452297}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x59bc05}from'./aichathistoryui.js';function _0x11db(){const _0x1af9f2=['map','pluginName','chat','rename','updateItems','AI_CHAT_UNTITLED_CONVERSATION','get','activateTab','2680uAoevM','getItem','AI_CHAT_HISTORY_CATEGORY_PINNED','getFullYear','AI_CHAT_HISTORY_UNPIN_ACTION','332504MIkDBd','loadConversation','getDate','AIChatHistoryController','change:activeConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','requires','context','_handleRemove','itemRemoved','listenTo','getMonth','_setIsMaximized','locale','883044tjESAZ','_getCategorizedItems','_updateHistoryItemsUI','resize','history','itemsLoaded','AI_CHAT_HISTORY_CATEGORY_TODAY','init','updates','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','unpin','updateItemTitle','plugins','_generateErrorMessage','createdAt','_showConversationHistory','error','_aiConnector','_clearItemLoading','remove','resizeTabs','toLocaleDateString','getGroupId','itemUpdated','updateItemLoadingState','_handleEditTitle','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','updateItemPinned','_handleSelectConversation','AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_HISTORY_ERROR_GENERIC','operation','isPremiumPlugin','removeItem','364306QWmmPp','24feQymt','removeConversation','view','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','_aiChatHistoryUi','240285dinhBp','pin','activateTab:history','handleRemovedConversation','openChat','selectConversation','length','isOfficialPlugin','855DHtyNo','setDate','AI_CHAT_HISTORY_CATEGORY_LATER','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','activeConversation','2436quyJuD','_setItemLoading','setIsMaximized','_handleTogglePin','editConversationTitle','_aiChatController','push','6eGRvkJ','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','items','setConversationPinned','removeHistoryItem','setLoadingSkeleton','pinned','itemId','_handleHistoryErrorUI','title','showError','resizedTabs','loadItems','2867230nVMAUu','getItems'];_0x11db=function(){return _0x1af9f2;};return _0x11db();}import{AIChatHistoryConversations as _0x2e8f22}from'./model/aichathistoryconversations.js';import{getTranslation as _0x235cd}from'../aicore/utils/common-translations.js';function _0x2c46(_0x4c7dbf,_0x36d5a9){const _0x11dbcb=_0x11db();return _0x2c46=function(_0x2c462a,_0x3875a8){_0x2c462a=_0x2c462a-0x18d;let _0x6af885=_0x11dbcb[_0x2c462a];return _0x6af885;},_0x2c46(_0x4c7dbf,_0x36d5a9);}export class AIChatHistoryController extends _0x45b9aa{[_0x227c46(0x1e3)];[_0x227c46(0x193)];[_0x227c46(0x1a6)];static get[_0x227c46(0x1ca)](){return[_0x41da9e,_0x21161e,_0x59bc05,_0x452297];}static get[_0x227c46(0x1b8)](){const _0x1e4fa6=_0x227c46;return _0x1e4fa6(0x1c7);}static get[_0x227c46(0x19b)](){return!0x0;}static get[_0x227c46(0x1f2)](){return!0x0;}[_0x227c46(0x1d9)](){const _0x588d9b=_0x227c46;this[_0x588d9b(0x1e3)]=this[_0x588d9b(0x1cb)][_0x588d9b(0x1de)][_0x588d9b(0x1bd)](_0x41da9e),this[_0x588d9b(0x193)]=this[_0x588d9b(0x1cb)][_0x588d9b(0x1de)][_0x588d9b(0x1bd)](_0x59bc05),this[_0x588d9b(0x1a6)]=this[_0x588d9b(0x1cb)][_0x588d9b(0x1de)][_0x588d9b(0x1bd)](_0x21161e);const _0x54e8c9=this[_0x588d9b(0x1cb)][_0x588d9b(0x1de)][_0x588d9b(0x1bd)](_0x452297),_0x30a29f=this[_0x588d9b(0x1a6)][_0x588d9b(0x1e8)]();this[_0x588d9b(0x1d6)]=new _0x2e8f22({'connector':this[_0x588d9b(0x1e3)],'group':_0x30a29f}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x190),(_0x1b7b83,_0x104a37)=>{const _0x2d78b5=_0x588d9b;this[_0x2d78b5(0x1a2)](_0x104a37['id'],_0x2d78b5(0x1e5)),this[_0x2d78b5(0x1cc)](_0x104a37['id']);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x1a5),(_0x4d1444,_0x2e2de9)=>{const _0x28b357=_0x588d9b;this[_0x28b357(0x1a2)](_0x2e2de9['id'],_0x28b357(0x1ba)),this[_0x28b357(0x1eb)](_0x2e2de9['id'],_0x2e2de9[_0x28b357(0x1b1)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1d6)],_0x588d9b(0x1e9),(_0x54e6fc,_0x4efadf)=>{const _0x4e8568=_0x588d9b;void 0x0!==_0x4efadf[_0x4e8568(0x1da)][_0x4e8568(0x1b1)]&&this[_0x4e8568(0x193)][_0x4e8568(0x1dd)](_0x4efadf[_0x4e8568(0x1af)],_0x4efadf[_0x4e8568(0x1da)][_0x4e8568(0x1b1)]),void 0x0!==_0x4efadf[_0x4e8568(0x1da)][_0x4e8568(0x1ae)]&&this[_0x4e8568(0x1d4)](),this[_0x4e8568(0x1e4)](_0x4efadf[_0x4e8568(0x1af)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1d6)],_0x588d9b(0x1cd),(_0x5e095a,_0x40bad0)=>{const _0x3a3781=_0x588d9b;this[_0x3a3781(0x1a6)][_0x3a3781(0x197)](_0x40bad0[_0x3a3781(0x1af)]),this[_0x3a3781(0x193)][_0x3a3781(0x1ac)](_0x40bad0[_0x3a3781(0x1af)]),this[_0x3a3781(0x1e4)](_0x40bad0[_0x3a3781(0x1af)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1d6)],_0x588d9b(0x1d7),()=>{const _0x561d57=_0x588d9b;this[_0x561d57(0x1d4)]();}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1d6)],_0x588d9b(0x1e2),(_0xbf7747,_0x1df584)=>{const _0x960dc8=_0x588d9b;this[_0x960dc8(0x1b0)](_0x1df584[_0x960dc8(0x1e2)],_0x1df584[_0x960dc8(0x1f1)],_0x1df584[_0x960dc8(0x1af)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x199),(_0x3d0d47,_0x2f2aa9)=>{const _0x162fb9=_0x588d9b;this[_0x162fb9(0x1ee)](_0x2f2aa9['id']);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x1ab),(_0x3d2ca3,_0x2b2931)=>{const _0x32bf03=_0x588d9b,_0x3afcf2=_0x2b2931[_0x32bf03(0x1ae)]?_0x32bf03(0x195):_0x32bf03(0x1dc);this[_0x32bf03(0x1a2)](_0x2b2931['id'],_0x3afcf2),this[_0x32bf03(0x1a4)](_0x2b2931['id'],_0x2b2931[_0x32bf03(0x1ae)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x198),()=>{const _0x30de67=_0x588d9b;_0x54e8c9[_0x30de67(0x191)][_0x30de67(0x1be)](_0x30de67(0x1b9));}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1a6)],_0x588d9b(0x1c8),()=>{const _0x20dc7c=_0x588d9b;this[_0x20dc7c(0x1d4)]();}),_0x54e8c9[_0x588d9b(0x191)]['on'](_0x588d9b(0x196),()=>{const _0x49fe0d=_0x588d9b;this[_0x49fe0d(0x1e1)]();}),this[_0x588d9b(0x1ce)](_0x54e8c9,_0x588d9b(0x1b3),(_0x1d20c2,_0x187104)=>{const _0x975a36=_0x588d9b;this[_0x975a36(0x1d0)](_0x187104);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x1e6),()=>{const _0x5bad1a=_0x588d9b;_0x54e8c9[_0x5bad1a(0x1d5)]();});}async[_0x227c46(0x1eb)](_0x505104,_0x40109a){const _0x132ad2=_0x227c46;await this[_0x132ad2(0x1d6)][_0x132ad2(0x1dd)](_0x505104,_0x40109a);}async[_0x227c46(0x1a4)](_0x29784e,_0x28de2b){const _0x10f7d1=_0x227c46;await this[_0x10f7d1(0x1d6)][_0x10f7d1(0x1ed)](_0x29784e,_0x28de2b);}async[_0x227c46(0x1cc)](_0x2c98aa){const _0x31d2a0=_0x227c46;await this[_0x31d2a0(0x1d6)][_0x31d2a0(0x18d)](_0x2c98aa);}async[_0x227c46(0x1ee)](_0x3bd65e){const _0x344ad0=_0x227c46;await this[_0x344ad0(0x1a6)][_0x344ad0(0x1c5)](_0x3bd65e);}async[_0x227c46(0x1e1)](){const _0x23b54e=_0x227c46;this[_0x23b54e(0x193)][_0x23b54e(0x1b2)](''),this[_0x23b54e(0x193)][_0x23b54e(0x1ad)](!0x0),await this[_0x23b54e(0x1d6)][_0x23b54e(0x1d9)](),this[_0x23b54e(0x193)][_0x23b54e(0x1ad)](!0x1);}[_0x227c46(0x1d4)](){const _0x2a6d92=_0x227c46,_0x4cee5b=this[_0x2a6d92(0x1a6)][_0x2a6d92(0x1a0)]?.['id'],_0x221d89=this[_0x2a6d92(0x1d3)]()[_0x2a6d92(0x1b7)](_0x15c3db=>({'title':_0x15c3db[_0x2a6d92(0x1b1)],'items':_0x15c3db[_0x2a6d92(0x1aa)][_0x2a6d92(0x1b7)](_0x45faea=>({'id':_0x45faea['id'],'title':_0x45faea[_0x2a6d92(0x1b1)]||_0x235cd(this[_0x2a6d92(0x1cb)][_0x2a6d92(0x1d1)],_0x2a6d92(0x1bc)),'createdAt':new Date(_0x45faea[_0x2a6d92(0x1e0)])[_0x2a6d92(0x1e7)](),'active':_0x45faea['id']===_0x4cee5b,'pinned':_0x45faea[_0x2a6d92(0x1ae)]}))}));this[_0x2a6d92(0x193)][_0x2a6d92(0x1bb)](_0x221d89);}[_0x227c46(0x1a2)](_0x46e668,_0x103336){const _0x3c5742=_0x227c46;this[_0x3c5742(0x193)][_0x3c5742(0x1ea)](_0x46e668,_0x103336,!0x0);}[_0x227c46(0x1e4)](_0x37f041){const _0x472978=_0x227c46;this[_0x472978(0x193)][_0x472978(0x1ea)](_0x37f041,null,!0x1);}[_0x227c46(0x1b0)](_0x435b22,_0x17645e,_0x3cba56){const _0x4946ca=_0x227c46,_0x342ab1=this[_0x4946ca(0x1df)](_0x17645e,_0x3cba56);this[_0x4946ca(0x193)][_0x4946ca(0x1b2)](_0x342ab1),_0x3cba56&&this[_0x4946ca(0x1e4)](_0x3cba56),this[_0x4946ca(0x193)][_0x4946ca(0x1ad)](!0x1);}[_0x227c46(0x1df)](_0x2ee889,_0x4a01db){const _0x378248=_0x227c46,_0x198fc4=_0x4a01db?this[_0x378248(0x1d6)][_0x378248(0x1c0)](_0x4a01db):null,_0x2edb1b=_0x198fc4?.[_0x378248(0x1b1)]||_0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x1bc));switch(_0x2ee889){case _0x378248(0x1dd):return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x1db),_0x2edb1b);case _0x378248(0x1ed):{const _0x2a5c72=_0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x198fc4?.[_0x378248(0x1ae)]?_0x378248(0x1c3):_0x378248(0x1ef));return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x192),[_0x2a5c72,_0x2edb1b]);}case _0x378248(0x18d):return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x19f),_0x2edb1b);case _0x378248(0x1d9):case _0x378248(0x1b4):return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x1c9));default:return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x1f0));}}[_0x227c46(0x1d3)](){const _0x3c2a25=_0x227c46,_0x4f7bfd=new Date(),_0x58527a=new Date(_0x4f7bfd[_0x3c2a25(0x1c2)](),_0x4f7bfd[_0x3c2a25(0x1cf)](),_0x4f7bfd[_0x3c2a25(0x1c6)]()),_0x30a85a=new Date(_0x58527a);_0x30a85a[_0x3c2a25(0x19d)](_0x30a85a[_0x3c2a25(0x1c6)]()-0x1);const _0x2d05d7=new Date(_0x58527a);_0x2d05d7[_0x3c2a25(0x19d)](_0x2d05d7[_0x3c2a25(0x1c6)]()-0xe);const _0xcaaa96=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'pinned':!0x0}),_0x18ab7b=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'from':_0x58527a,'to':_0x58527a}),_0x3e1ff3=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'from':_0x30a85a,'to':_0x30a85a}),_0x1bd829=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'from':_0x2d05d7,'to':_0x30a85a}),_0x28bb77=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'to':_0x2d05d7}),_0x5db413=[];return _0xcaaa96[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x1c1)),'items':_0xcaaa96}),_0x18ab7b[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x1d8)),'items':_0x18ab7b}),_0x3e1ff3[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x1ec)),'items':_0x3e1ff3}),_0x1bd829[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x1a9)),'items':_0x1bd829}),_0x28bb77[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x19e)),'items':_0x28bb77}),_0x5db413;}[_0x227c46(0x1d0)](_0x47f143){const _0x37f4f6=_0x227c46;this[_0x37f4f6(0x193)][_0x37f4f6(0x1a3)](_0x47f143);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x199204=_0x54bb;(function(_0x1f9fdd,_0x499a4d){const _0x123097=_0x54bb,_0x30b45d=_0x1f9fdd();while(!![]){try{const _0x323cbc=parseInt(_0x123097(0x140))/0x1*(-parseInt(_0x123097(0x122))/0x2)+parseInt(_0x123097(0x12b))/0x3*(parseInt(_0x123097(0x125))/0x4)+parseInt(_0x123097(0x137))/0x5*(parseInt(_0x123097(0x12d))/0x6)+parseInt(_0x123097(0x124))/0x7*(parseInt(_0x123097(0x120))/0x8)+-parseInt(_0x123097(0x130))/0x9+parseInt(_0x123097(0x13e))/0xa+-parseInt(_0x123097(0x136))/0xb*(parseInt(_0x123097(0x126))/0xc);if(_0x323cbc===_0x499a4d)break;else _0x30b45d['push'](_0x30b45d['shift']());}catch(_0x5d08af){_0x30b45d['push'](_0x30b45d['shift']());}}}(_0x57a4,0xcf65f));import{ContextPlugin as _0x4c07b4}from'ckeditor5/src/core.js';import{AITabs as _0x130cb6}from'../aitabs/aitabs.js';import{IconAIHistory as _0x10178c}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x264023}from'./ui/aichathistoryview.js';import{getTranslation as _0x436a23}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x199204(0x13a),_0x199204(0x119),_0x199204(0x11b),_0x199204(0x12c),_0x199204(0x13c),_0x199204(0x143),_0x199204(0x121)];export class AIChatHistoryUI extends _0x4c07b4{static get[_0x199204(0x12a)](){return[_0x130cb6];}[_0x199204(0x135)];static get[_0x199204(0x12e)](){const _0x1bad31=_0x199204;return _0x1bad31(0x11f);}static get[_0x199204(0x128)](){return!0x0;}static get[_0x199204(0x11e)](){return!0x0;}constructor(_0x28f936){const _0xf3cd97=_0x199204;super(_0x28f936);const _0xae48e5=this[_0xf3cd97(0x146)][_0xf3cd97(0x142)][_0xf3cd97(0x138)](_0xf3cd97(0x133));this[_0xf3cd97(0x135)]=new _0x264023(this[_0xf3cd97(0x146)][_0xf3cd97(0x11a)],_0xae48e5[_0xf3cd97(0x11c)]),this[_0xf3cd97(0x135)][_0xf3cd97(0x13f)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0xae48e5[_0xf3cd97(0x123)][_0xf3cd97(0x139)]({'id':_0xf3cd97(0x147),'buttonLabel':_0x436a23(this[_0xf3cd97(0x146)][_0xf3cd97(0x11a)],_0xf3cd97(0x129)),'buttonIcon':_0x10178c,'order':0x0,'content':this[_0xf3cd97(0x135)]});}[_0x199204(0x118)](_0x430e8e){const _0x2cf47a=_0x199204;this[_0x2cf47a(0x135)][_0x2cf47a(0x118)](_0x430e8e);}[_0x199204(0x11d)](_0x8a12f){const _0x316d85=_0x199204;this[_0x316d85(0x135)][_0x316d85(0x134)](_0x8a12f);}[_0x199204(0x131)](_0x3a7e72,_0x4a83bb){const _0x467546=_0x199204;this[_0x467546(0x135)][_0x467546(0x131)](_0x3a7e72,_0x4a83bb);}[_0x199204(0x12f)](_0x528610,_0x3395b0,_0x3453c3){const _0xb6785c=_0x199204;this[_0xb6785c(0x135)][_0xb6785c(0x12f)](_0x528610,_0x3395b0,_0x3453c3);}[_0x199204(0x132)](_0xa05e14){const _0x438ba5=_0x199204;this[_0x438ba5(0x135)][_0x438ba5(0x141)]=_0xa05e14;}[_0x199204(0x144)](_0x2d8c17){const _0x55a471=_0x199204;this[_0x55a471(0x135)][_0x55a471(0x145)]=_0x2d8c17;}[_0x199204(0x13b)](){const _0x3ae478=_0x199204;this[_0x3ae478(0x135)][_0x3ae478(0x145)]='';}[_0x199204(0x13d)](_0x2110ec){const _0x4201cd=_0x199204;this[_0x4201cd(0x135)][_0x4201cd(0x127)]=_0x2110ec;}}function _0x54bb(_0x73466e,_0x4ab4e0){const _0x57a4ea=_0x57a4();return _0x54bb=function(_0x54bb4a,_0x1a932c){_0x54bb4a=_0x54bb4a-0x118;let _0x4d233f=_0x57a4ea[_0x54bb4a];return _0x4d233f;},_0x54bb(_0x73466e,_0x4ab4e0);}function _0x57a4(){const _0x19bc3a=['context','history','removeHistoryItem','removeConversation','locale','editConversationTitle','showResizeButton','updateItems','isPremiumPlugin','AIChatHistoryUI','8SyDNBm','resizeTabs','6DVSiLn','view','10123897RYvJcq','324stWTOh','489468AmXuIz','isMaximized','isOfficialPlugin','AI_CHAT_HISTORY_HEADING','requires','52308RcRKUB','setConversationPinned','4049646VMcGhU','pluginName','updateItemLoadingState','6237963CHWPxv','updateItemTitle','setLoadingSkeleton','AITabs','updateHistoryItemsWithCategories','_historyView','737nPMbAz','5gxhOzj','get','addTab','showConversationHistory','hideError','selectConversation','setIsMaximized','16544520kSHTpj','delegate','304169GINAHi','isLoading','plugins','openChat','showError','errorMessage'];_0x57a4=function(){return _0x19bc3a;};return _0x57a4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a68a8=_0x5e57;function _0x5e57(_0x12df14,_0x56447c){const _0x15224d=_0x1522();return _0x5e57=function(_0x5e57a7,_0x24e4ea){_0x5e57a7=_0x5e57a7-0x1e4;let _0x2c7dcf=_0x15224d[_0x5e57a7];return _0x2c7dcf;},_0x5e57(_0x12df14,_0x56447c);}(function(_0x3dfabd,_0x229798){const _0x5a9cbf=_0x5e57,_0x4a9b02=_0x3dfabd();while(!![]){try{const _0x517c3a=-parseInt(_0x5a9cbf(0x1e9))/0x1+parseInt(_0x5a9cbf(0x1eb))/0x2+parseInt(_0x5a9cbf(0x20b))/0x3+-parseInt(_0x5a9cbf(0x20e))/0x4*(parseInt(_0x5a9cbf(0x201))/0x5)+parseInt(_0x5a9cbf(0x1f3))/0x6+parseInt(_0x5a9cbf(0x1f9))/0x7+parseInt(_0x5a9cbf(0x210))/0x8*(-parseInt(_0x5a9cbf(0x1f6))/0x9);if(_0x517c3a===_0x229798)break;else _0x4a9b02['push'](_0x4a9b02['shift']());}catch(_0x5dcde0){_0x4a9b02['push'](_0x4a9b02['shift']());}}}(_0x1522,0x98255));import{EmitterMixin as _0x250ac4}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x431e5b}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x250ac4(){[_0x2a68a8(0x1f5)]=[];[_0x2a68a8(0x203)];[_0x2a68a8(0x1fe)];constructor({connector:_0x46ef2f,group:_0x5eedf2}){const _0x41b839=_0x2a68a8;super(),this[_0x41b839(0x203)]=_0x46ef2f,this[_0x41b839(0x1fe)]=_0x5eedf2;}async[_0x2a68a8(0x1ea)](){const _0x377a77=_0x2a68a8;try{const _0x3477e2=this[_0x377a77(0x203)][_0x377a77(0x205)](this[_0x377a77(0x1fe)]),_0x7a4b3=await _0x3477e2[_0x377a77(0x208)]();this[_0x377a77(0x20f)](_0x7a4b3);}catch(_0x2d7d2c){this[_0x377a77(0x211)](_0x377a77(0x1e5),{'error':_0x2d7d2c,'operation':_0x377a77(0x1ea)});}}[_0x2a68a8(0x209)](_0x4d2776){const _0x34c211=_0x2a68a8;this[_0x34c211(0x1f5)][_0x34c211(0x1ef)](_0x4d2776);}async[_0x2a68a8(0x1e6)](_0x212c17){const _0x4a0080=_0x2a68a8,_0x3dae07=this[_0x4a0080(0x1f5)][_0x4a0080(0x206)](_0x11a130=>_0x11a130['id']===_0x212c17);if(-0x1===_0x3dae07)return!0x1;try{return await this[_0x4a0080(0x203)][_0x4a0080(0x200)](_0x212c17)[_0x4a0080(0x20a)](),this[_0x4a0080(0x1f5)][_0x4a0080(0x1fb)](_0x3dae07,0x1),this[_0x4a0080(0x211)](_0x4a0080(0x20c),{'itemId':_0x212c17}),!0x0;}catch(_0xf3a7c5){return this[_0x4a0080(0x211)](_0x4a0080(0x1e5),{'error':_0xf3a7c5,'operation':_0x4a0080(0x1e6),'itemId':_0x212c17}),!0x1;}}[_0x2a68a8(0x20d)](_0x2fa844){const _0x435e59=_0x2a68a8;return this[_0x435e59(0x1f5)][_0x435e59(0x1f1)](_0x3648c8=>_0x3648c8['id']===_0x2fa844);}async[_0x2a68a8(0x1fc)](_0x10ac75,_0xfb1b18){const _0x4ffd08=_0x2a68a8,_0x388de9=this[_0x4ffd08(0x20d)](_0x10ac75);if(!_0x388de9)return!0x1;try{return await this[_0x4ffd08(0x203)][_0x4ffd08(0x1fd)](_0x10ac75,{'title':_0xfb1b18})[_0x4ffd08(0x1ee)](),_0x388de9[_0x4ffd08(0x204)](_0xfb1b18),this[_0x4ffd08(0x211)](_0x4ffd08(0x1e7),{'itemId':_0x10ac75,'updates':{'title':_0xfb1b18}}),!0x0;}catch(_0x40100e){return this[_0x4ffd08(0x211)](_0x4ffd08(0x1e5),{'error':_0x40100e,'operation':_0x4ffd08(0x1fc),'itemId':_0x10ac75}),!0x1;}}async[_0x2a68a8(0x1f2)](_0xdc4d16,_0x55b429){const _0x4a9b89=_0x2a68a8,_0x22eeee=this[_0x4a9b89(0x20d)](_0xdc4d16);if(!_0x22eeee)return!0x1;try{return await this[_0x4a9b89(0x203)][_0x4a9b89(0x1fd)](_0xdc4d16,{'pinned':_0x55b429})[_0x4a9b89(0x1ee)](),_0x22eeee[_0x4a9b89(0x1f7)](_0x55b429),this[_0x4a9b89(0x211)](_0x4a9b89(0x1e7),{'itemId':_0xdc4d16,'updates':{'pinned':_0x55b429}}),!0x0;}catch(_0x21be2a){return this[_0x4a9b89(0x211)](_0x4a9b89(0x1e5),{'error':_0x21be2a,'operation':_0x4a9b89(0x1f2),'itemId':_0xdc4d16}),!0x1;}}[_0x2a68a8(0x20f)](_0x253ec6){const _0x351cb8=_0x2a68a8;try{this[_0x351cb8(0x1f5)]=[],_0x253ec6[_0x351cb8(0x1e4)](_0x6584=>{const _0x45ff43=_0x351cb8;this[_0x45ff43(0x209)](new _0x431e5b(_0x6584));}),this[_0x351cb8(0x211)](_0x351cb8(0x207),{'items':[...this[_0x351cb8(0x1f5)]]});}catch(_0x2a8d46){this[_0x351cb8(0x211)](_0x351cb8(0x1e5),{'error':_0x2a8d46,'operation':_0x351cb8(0x20f)});}}[_0x2a68a8(0x1ff)](_0x20812b={}){const _0x4d8c77=_0x2a68a8,_0x349783=void 0x0!==_0x20812b[_0x4d8c77(0x1e8)]&&_0x20812b[_0x4d8c77(0x1e8)],_0x165d77=_0x20812b[_0x4d8c77(0x202)]?new Date(_0x20812b[_0x4d8c77(0x202)][_0x4d8c77(0x1f8)](),_0x20812b[_0x4d8c77(0x202)][_0x4d8c77(0x1f4)](),_0x20812b[_0x4d8c77(0x202)][_0x4d8c77(0x1ed)]()):null,_0x5ea1d6=_0x20812b['to']?new Date(_0x20812b['to'][_0x4d8c77(0x1f8)](),_0x20812b['to'][_0x4d8c77(0x1f4)](),_0x20812b['to'][_0x4d8c77(0x1ed)]()):null;return this[_0x4d8c77(0x1f5)][_0x4d8c77(0x1f0)](_0x14c190=>{const _0x509f01=_0x4d8c77;if(_0x14c190[_0x509f01(0x1e8)]!==_0x349783)return!0x1;if(_0x5ea1d6){const _0x23c419=new Date(_0x14c190[_0x509f01(0x1ec)][_0x509f01(0x1f8)](),_0x14c190[_0x509f01(0x1ec)][_0x509f01(0x1f4)](),_0x14c190[_0x509f01(0x1ec)][_0x509f01(0x1ed)]());return _0x165d77?_0x165d77[_0x509f01(0x1fa)]()===_0x5ea1d6[_0x509f01(0x1fa)]()?_0x23c419[_0x509f01(0x1fa)]()===_0x165d77[_0x509f01(0x1fa)]():_0x23c419<_0x5ea1d6&&_0x23c419>=_0x165d77:_0x23c419<_0x5ea1d6;}return!0x0;});}}function _0x1522(){const _0x1e3a23=['error','removeItem','itemUpdated','pinned','327939WytPkh','init','2297248EipFTN','createdAt','getDate','getResult','push','filter','find','updateItemPinned','3181656VGBAwi','getMonth','items','17743284GihWEu','updatePinned','getFullYear','4613014javTgt','getTime','splice','updateItemTitle','updateConversation','group','getItems','deleteConversation','5195AFidLe','from','connector','updateTitle','fetchConversations','findIndex','itemsLoaded','getConversations','addItem','execute','2695440dzXcOh','itemRemoved','getItem','1208icDlet','loadItems','8kUhvvp','fire','map'];_0x1522=function(){return _0x1e3a23;};return _0x1522();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3ffa84=_0x5324;(function(_0x18a6c6,_0x4bacfa){var _0x3e1fbe=_0x5324,_0x35237d=_0x18a6c6();while(!![]){try{var _0x54d416=-parseInt(_0x3e1fbe(0x13f))/0x1*(-parseInt(_0x3e1fbe(0x137))/0x2)+-parseInt(_0x3e1fbe(0x13d))/0x3*(-parseInt(_0x3e1fbe(0x140))/0x4)+-parseInt(_0x3e1fbe(0x139))/0x5+-parseInt(_0x3e1fbe(0x133))/0x6+parseInt(_0x3e1fbe(0x136))/0x7*(-parseInt(_0x3e1fbe(0x141))/0x8)+parseInt(_0x3e1fbe(0x13e))/0x9*(-parseInt(_0x3e1fbe(0x135))/0xa)+parseInt(_0x3e1fbe(0x144))/0xb;if(_0x54d416===_0x4bacfa)break;else _0x35237d['push'](_0x35237d['shift']());}catch(_0x23a148){_0x35237d['push'](_0x35237d['shift']());}}}(_0x52ae,0x37237));import{ObservableMixin as _0x1146b6}from'ckeditor5/src/utils.js';function _0x52ae(){var _0x160637=['53934CItJUg','196YLVPCu','27304hBjajN','title','updateTitle','9355995fTQzig','632724yQKEZT','pinned','4007540BMcKnu','483eowkit','10BTRTMh','set','876015LillVj','updatePinned','updatedAt','createdAt','1380rzeFTb','9VraeGV'];_0x52ae=function(){return _0x160637;};return _0x52ae();}function _0x5324(_0x3e6395,_0x5ba376){var _0x52ae2f=_0x52ae();return _0x5324=function(_0x53243b,_0x2eb6f7){_0x53243b=_0x53243b-0x133;var _0x1e15a8=_0x52ae2f[_0x53243b];return _0x1e15a8;},_0x5324(_0x3e6395,_0x5ba376);}import{escape as _0x4c4df9}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x1146b6(){['id'];[_0x3ffa84(0x13c)];constructor({id:_0x5b7f16,title:_0x1c3686,createdAt:_0x10cd4b,updatedAt:_0x40ac1d,pinned:_0x5d4a09}){var _0x32c84c=_0x3ffa84;super(),this['id']=_0x5b7f16,this[_0x32c84c(0x13c)]=new Date(_0x10cd4b),this[_0x32c84c(0x138)](_0x32c84c(0x142),_0x1c3686),this[_0x32c84c(0x138)](_0x32c84c(0x13b),_0x40ac1d?new Date(_0x40ac1d):null),this[_0x32c84c(0x138)](_0x32c84c(0x134),_0x5d4a09||!0x1);}[_0x3ffa84(0x143)](_0x6c2363){var _0xe5ce5f=_0x3ffa84;this[_0xe5ce5f(0x138)](_0xe5ce5f(0x142),_0x4c4df9(_0x6c2363)),this[_0xe5ce5f(0x13b)]=new Date();}[_0x3ffa84(0x13a)](_0x54193c){var _0xd1543=_0x3ffa84;this[_0xd1543(0x138)](_0xd1543(0x134),_0x54193c),this[_0xd1543(0x13b)]=new Date();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x49abae=_0x12b0;(function(_0x2b22e2,_0x1eb096){const _0x54ed81=_0x12b0,_0x1f2984=_0x2b22e2();while(!![]){try{const _0x38400c=parseInt(_0x54ed81(0x1ec))/0x1+parseInt(_0x54ed81(0x208))/0x2+-parseInt(_0x54ed81(0x234))/0x3*(parseInt(_0x54ed81(0x20b))/0x4)+parseInt(_0x54ed81(0x1fc))/0x5+parseInt(_0x54ed81(0x1f0))/0x6*(parseInt(_0x54ed81(0x1eb))/0x7)+parseInt(_0x54ed81(0x1f8))/0x8*(parseInt(_0x54ed81(0x226))/0x9)+-parseInt(_0x54ed81(0x22f))/0xa*(parseInt(_0x54ed81(0x242))/0xb);if(_0x38400c===_0x1eb096)break;else _0x1f2984['push'](_0x1f2984['shift']());}catch(_0x5456f2){_0x1f2984['push'](_0x1f2984['shift']());}}}(_0x29fd,0x976d5));import{ListItemView as _0x2ebbec,HighlightedTextView as _0x140a75,ButtonView as _0x45e6fe,ListView as _0x2667ea,IconView as _0xce0c39,createDropdown as _0x513490,InputTextView as _0x3cb1ca}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x279bd1,IconPin as _0x119cde,IconCheck as _0xabb492,IconCancel as _0x4f727b}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x2bc894,ConfirmMixin as _0x1d6bee}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x3c3118}from'es-toolkit/compat';import{AISpinnerView as _0x436288}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x5d7906}from'../../aicore/utils/common-translations.js';function _0x12b0(_0x505c45,_0x3df57f){const _0x29fd67=_0x29fd();return _0x12b0=function(_0x12b076,_0x1af8c0){_0x12b076=_0x12b076-0x1e5;let _0x5814b9=_0x29fd67[_0x12b076];return _0x5814b9;},_0x12b0(_0x505c45,_0x3df57f);}function _0x29fd(){const _0x3be7bb=['ck-hidden','112406PlInoa','600862bDlasm','isOn','match','set','438fUSkzf','AI_CHAT_HISTORY_CANCEL','AI_CHAT_HISTORY_LOADING_PINNING','_createMenuDropdownView','ck-ai-chat-history__item-actions','bind','_createEditInputView','loadingState','72wLGzoI','element','locale','span','4671295hFXkzm','highlightText','panelPosition','AI_CHAT_HISTORY_PIN_BUTTON','AI_CHAT_HISTORY_ACCEPT','mainContent','selectConversation','_createCheckView','children','_createSpinnerView','bindTemplate','click','2079926hjCoHs','string','updateTitle','2179104JxrSpN','ck-ai-chat-history__item','AI_CHAT_HISTORY_REMOVE_CONFIRM','change:isEdit','ck-confirm-view-cancel','tiny','setTemplate','updateLoadingState','editConversationTitle','ck-ai-loader__text','div','ck-ai-chat-history__item-check','edit:cancel','value','ck-ai-chat-history__item-content','_createAcceptEditButtonView','label','execute','showConfirm','_titleView','panelView','key','AI_CHAT_HISTORY_EDIT_NAME','isEdit','AI_CHAT_HISTORY_LOADING_REMOVING','ck-ai-chat-history__item-title','AI_CHAT_HISTORY_REMOVE','73269dvQbJB','removeConversation','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','focus','ck-ai-chat-history__item-check-container','text','_commitEditInputValue','isVisible','createCollection','26555660xxSMcK','fire','AI_CHAT_HISTORY_LOADING_RENAMING','ck-ai-loader','AI_CHAT_HISTORY_LOADING_UNPINNING','3dHwoIC','pinned','then','ck-ai-chat-history__item-date','ck-ai-chat-history__item-main-content','add','_createPinButtonView','ck-confirm-view-submit','LOADING_LABELS','actions','ck-ai-chat-history__item-row','ck-ai-chat-history__item--edit','setConversationPinned','extendTemplate','11mfbwpL','isMatching','withText','items','clear','addMany','Enter','listitem','buttonView','ck-ai-chat-history__item--active','_createCancelEditButtonView'];_0x29fd=function(){return _0x3be7bb;};return _0x29fd();}export class AIChatHistoryListItemView extends _0x1d6bee(_0x2ebbec){['id'];static [_0x49abae(0x23c)]={'remove':_0x49abae(0x223),'rename':_0x49abae(0x231),'pin':_0x49abae(0x1f2),'unpin':_0x49abae(0x233)};[_0x49abae(0x23d)];[_0x49abae(0x201)];[_0x49abae(0x21e)];constructor(_0x57a31f,_0x5d9c37){const _0x3b1537=_0x49abae;super(_0x57a31f);const _0x38a4b8=this[_0x3b1537(0x206)];this[_0x3b1537(0x1ef)](_0x3b1537(0x222),!0x1),this[_0x3b1537(0x1ef)](_0x3b1537(0x22d),!0x0),this[_0x3b1537(0x1ef)](_0x3b1537(0x235),!!_0x5d9c37[_0x3b1537(0x235)]),this[_0x3b1537(0x1ef)](_0x3b1537(0x1f7),null),this['id']=_0x5d9c37['id'];const {title:_0x55d5fa,createdAt:_0x6ec62e,active:_0x6a4d8c=!0x1}=_0x5d9c37;this[_0x3b1537(0x21e)]=new _0x140a75(),this[_0x3b1537(0x21e)][_0x3b1537(0x22b)]=_0x55d5fa,this[_0x3b1537(0x21e)][_0x3b1537(0x241)]({'attributes':{'class':[_0x3b1537(0x224)]}});const _0x588830=this[_0x3b1537(0x203)](),_0x581f3c=this[_0x3b1537(0x23a)](_0x57a31f),_0x2cd307=this[_0x3b1537(0x1f3)](),_0x1b4d9f=this[_0x3b1537(0x1f6)](_0x57a31f,_0x55d5fa),_0x2f8945=this[_0x3b1537(0x21a)](_0x57a31f,_0x1b4d9f),_0x50a045=this[_0x3b1537(0x1e9)](_0x57a31f,_0x1b4d9f);this[_0x3b1537(0x23d)]=this[_0x3b1537(0x22e)](),this[_0x3b1537(0x201)]=this[_0x3b1537(0x22e)](),this[_0x3b1537(0x201)][_0x3b1537(0x239)](this[_0x3b1537(0x21e)]),this[_0x3b1537(0x23d)][_0x3b1537(0x239)](_0x581f3c),this[_0x3b1537(0x23d)][_0x3b1537(0x239)](_0x2cd307),this['on'](_0x3b1537(0x20e),(_0x26f1ca,_0x308943,_0x35ca0e)=>{const _0x1d5845=_0x3b1537;this[_0x1d5845(0x23d)][_0x1d5845(0x246)](),this[_0x1d5845(0x201)][_0x1d5845(0x246)](),_0x35ca0e?(this[_0x1d5845(0x23d)][_0x1d5845(0x239)](_0x2f8945),this[_0x1d5845(0x23d)][_0x1d5845(0x239)](_0x50a045),this[_0x1d5845(0x201)][_0x1d5845(0x239)](_0x1b4d9f),_0x1b4d9f[_0x1d5845(0x1f9)][_0x1d5845(0x229)]()):(this[_0x1d5845(0x23d)][_0x1d5845(0x239)](_0x581f3c),this[_0x1d5845(0x23d)][_0x1d5845(0x239)](_0x2cd307),this[_0x1d5845(0x201)][_0x1d5845(0x239)](this[_0x1d5845(0x21e)]));}),this[_0x3b1537(0x211)]({'tag':'li','attributes':{'class':[_0x3b1537(0x20c),_0x6a4d8c?_0x3b1537(0x1e8):'',_0x38a4b8['if'](_0x3b1537(0x22d),_0x3b1537(0x1ea),_0x51dab6=>!_0x51dab6),_0x38a4b8['if'](_0x3b1537(0x222),_0x3b1537(0x23f))],'role':_0x3b1537(0x1e6)},'children':[{'tag':_0x3b1537(0x1fb),'attributes':{'class':[_0x3b1537(0x22a)]},'children':[{'tag':_0x3b1537(0x215),'attributes':{'class':[_0x3b1537(0x216),_0x38a4b8['if'](_0x3b1537(0x1f7),_0x3b1537(0x1ea),_0x2ba0f3=>!!_0x2ba0f3)]},'children':_0x6a4d8c?[_0x588830]:[]},{'tag':_0x3b1537(0x215),'attributes':{'class':[_0x3b1537(0x232),_0x38a4b8['if'](_0x3b1537(0x1f7),_0x3b1537(0x1ea),_0x563ecf=>!_0x563ecf)]},'children':[this[_0x3b1537(0x205)]()]}]},{'tag':_0x3b1537(0x215),'attributes':{'class':[_0x3b1537(0x23e)]},'children':[{'tag':_0x3b1537(0x215),'attributes':{'class':[_0x3b1537(0x219)]},'on':{'click':this[_0x3b1537(0x206)]['to'](_0x3b1537(0x207))},'children':[{'tag':_0x3b1537(0x215),'attributes':{'class':[_0x3b1537(0x238)]},'children':[{'tag':_0x3b1537(0x215),'attributes':{'class':[_0x3b1537(0x224),_0x38a4b8['if'](_0x3b1537(0x1f7),_0x3b1537(0x1ea),_0x556576=>!!_0x556576)]},'children':this[_0x3b1537(0x201)]},{'tag':_0x3b1537(0x215),'attributes':{'class':[_0x3b1537(0x214),_0x38a4b8['if'](_0x3b1537(0x1f7),_0x3b1537(0x1ea),_0xd4b41a=>!_0xd4b41a)]},'children':[{'text':_0x38a4b8['to'](_0x3b1537(0x1f7),_0x2f7c2b=>_0x2f7c2b?_0x5d7906(this[_0x3b1537(0x1fa)],AIChatHistoryListItemView[_0x3b1537(0x23c)][_0x2f7c2b]):'')}]}]},{'tag':_0x3b1537(0x1fb),'attributes':{'class':[_0x3b1537(0x237)]},'children':[_0x6ec62e]}]},{'tag':_0x3b1537(0x215),'attributes':{'class':[_0x3b1537(0x1f4)]},'children':this[_0x3b1537(0x23d)]}]}]}),this['on'](_0x3b1537(0x207),()=>{const _0x375c27=_0x3b1537;this[_0x375c27(0x222)]||this[_0x375c27(0x230)](_0x375c27(0x202),{'id':this['id']});});}[_0x49abae(0x20a)](_0x35db81){const _0x5b2317=_0x49abae;this[_0x5b2317(0x21e)][_0x5b2317(0x22b)]=_0x3c3118(_0x35db81);}[_0x49abae(0x212)](_0x5577d7,_0x5c2984){const _0x49b63e=_0x49abae;this[_0x49b63e(0x1ef)](_0x49b63e(0x1f7),_0x5c2984?_0x5577d7:null);}[_0x49abae(0x203)](){const _0x469002=_0x49abae,_0x4b7b10=new _0xce0c39();return _0x4b7b10[_0x469002(0x1ef)]({'content':_0xabb492}),_0x4b7b10;}[_0x49abae(0x23a)](_0x59a088){const _0x47c378=_0x49abae,_0x289444=new _0x45e6fe(_0x59a088);return _0x289444[_0x47c378(0x1ef)]({'label':_0x5d7906(_0x59a088,_0x47c378(0x1ff)),'icon':_0x119cde,'withText':!0x1,'tooltip':!0x0}),_0x289444[_0x47c378(0x1f5)](_0x47c378(0x1ed))['to'](this,_0x47c378(0x235)),_0x289444['on'](_0x47c378(0x21c),()=>{const _0x57ea8a=_0x47c378,_0x80cd3e=!this[_0x57ea8a(0x235)];this[_0x57ea8a(0x230)](_0x57ea8a(0x240),{'id':this['id'],'pinned':_0x80cd3e});}),_0x289444;}[_0x49abae(0x1f3)](){const _0xb11693=_0x49abae,_0x23fd8c=_0x513490(this[_0xb11693(0x1fa)],_0x2bc894),_0x1f8da4=_0x23fd8c[_0xb11693(0x21f)][_0xb11693(0x204)];_0x23fd8c[_0xb11693(0x1e7)][_0xb11693(0x1ef)]({'label':_0x5d7906(this[_0xb11693(0x1fa)],_0xb11693(0x228)),'icon':_0x279bd1}),_0x23fd8c[_0xb11693(0x1fe)]='sw';const _0x51b5a4=new _0x45e6fe(this[_0xb11693(0x1fa)]);_0x51b5a4[_0xb11693(0x21b)]=_0x5d7906(this[_0xb11693(0x1fa)],_0xb11693(0x221)),_0x51b5a4[_0xb11693(0x244)]=!0x0,_0x51b5a4['on'](_0xb11693(0x21c),()=>{const _0x38da9f=_0xb11693;this[_0x38da9f(0x222)]=!0x0;});const _0x57b0d2=new _0x45e6fe(this[_0xb11693(0x1fa)]);_0x57b0d2[_0xb11693(0x21b)]=_0x5d7906(this[_0xb11693(0x1fa)],_0xb11693(0x225)),_0x57b0d2[_0xb11693(0x244)]=!0x0,_0x57b0d2['on'](_0xb11693(0x21c),()=>{const _0x2f7047=_0xb11693;this[_0x2f7047(0x21d)](_0x5d7906(this[_0x2f7047(0x1fa)],_0x2f7047(0x20d)),this[_0x2f7047(0x1f9)])[_0x2f7047(0x236)](()=>{const _0x3e2e04=_0x2f7047;this[_0x3e2e04(0x230)](_0x3e2e04(0x227),{'id':this['id']});});});const _0x1d71ee=new _0x2667ea(this[_0xb11693(0x1fa)]),_0x6dc613=new _0x2ebbec(this[_0xb11693(0x1fa)]);_0x6dc613[_0xb11693(0x204)][_0xb11693(0x239)](_0x51b5a4);const _0x1c68a2=new _0x2ebbec(this[_0xb11693(0x1fa)]);return _0x1c68a2[_0xb11693(0x204)][_0xb11693(0x239)](_0x57b0d2),_0x1d71ee[_0xb11693(0x245)][_0xb11693(0x247)]([_0x6dc613,_0x1c68a2]),_0x1f8da4[_0xb11693(0x239)](_0x1d71ee),_0x23fd8c;}[_0x49abae(0x1f6)](_0x12df6a,_0x2ee6f4){const _0x5b713f=_0x49abae,_0x442bfc=new _0x3cb1ca(_0x12df6a),_0x112ec3=_0x442bfc[_0x5b713f(0x206)];return _0x442bfc[_0x5b713f(0x218)]=_0x2ee6f4,_0x442bfc[_0x5b713f(0x241)]({'on':{'keydown':_0x112ec3['to'](_0x371390=>{const _0x11e568=_0x5b713f;_0x11e568(0x1e5)==_0x371390[_0x11e568(0x220)]&&this[_0x11e568(0x22c)](_0x442bfc);})}}),_0x442bfc;}[_0x49abae(0x21a)](_0xae24e0,_0x3ff5fe){const _0x585ae6=_0x49abae,_0x4f36fe=new _0x45e6fe(_0xae24e0);return _0x4f36fe[_0x585ae6(0x1ef)]({'icon':_0xabb492,'withText':!0x1,'tooltip':_0x5d7906(_0xae24e0,_0x585ae6(0x200))}),_0x4f36fe[_0x585ae6(0x241)]({'attributes':{'class':[_0x585ae6(0x23b)]}}),_0x4f36fe['on'](_0x585ae6(0x21c),()=>{const _0x3f3c64=_0x585ae6;this[_0x3f3c64(0x22c)](_0x3ff5fe);}),_0x4f36fe;}[_0x49abae(0x22c)](_0x220ff7){const _0x3f7663=_0x49abae,_0x82e7db=_0x220ff7[_0x3f7663(0x1f9)][_0x3f7663(0x218)]||'';this[_0x3f7663(0x21e)][_0x3f7663(0x22b)]=_0x82e7db,this[_0x3f7663(0x222)]=!0x1,this[_0x3f7663(0x230)](_0x3f7663(0x213),{'id':this['id'],'title':_0x82e7db});}[_0x49abae(0x1e9)](_0x19e763,_0x4832b0){const _0x26d868=_0x49abae,_0x3fca7b=new _0x45e6fe(_0x19e763);return _0x3fca7b[_0x26d868(0x1ef)]({'icon':_0x4f727b,'withText':!0x1,'tooltip':_0x5d7906(_0x19e763,_0x26d868(0x1f1))}),_0x3fca7b[_0x26d868(0x241)]({'attributes':{'class':[_0x26d868(0x20f)]}}),_0x3fca7b['on'](_0x26d868(0x21c),()=>{const _0x1963e4=_0x26d868;this[_0x1963e4(0x222)]=!0x1,_0x4832b0[_0x1963e4(0x218)]=this[_0x1963e4(0x21e)][_0x1963e4(0x22b)]||'',this[_0x1963e4(0x230)](_0x1963e4(0x217));}),_0x3fca7b;}[_0x49abae(0x205)](){const _0x2755a7=_0x49abae,_0x1df5d5=new _0x436288(_0x2755a7(0x210));return _0x1df5d5[_0x2755a7(0x22d)]=!0x0,_0x1df5d5;}[_0x49abae(0x243)](_0xaba72){const _0x469922=_0x49abae;return this[_0x469922(0x21e)]&&_0x469922(0x209)==typeof this[_0x469922(0x21e)][_0x469922(0x22b)]&&this[_0x469922(0x21e)][_0x469922(0x22b)][_0x469922(0x1ee)](_0xaba72)?{'title':!0x0}:null;}[_0x49abae(0x1fd)](_0x2d2a45){const _0xcbb4a0=_0x49abae;this[_0xcbb4a0(0x21e)][_0xcbb4a0(0x1fd)](_0x2d2a45);}}
|
|
23
|
+
const _0x41cbe1=_0x2a84;(function(_0x1db10f,_0xa56788){const _0xc3132b=_0x2a84,_0x53ecbe=_0x1db10f();while(!![]){try{const _0x4ae513=-parseInt(_0xc3132b(0x186))/0x1+parseInt(_0xc3132b(0x19f))/0x2+parseInt(_0xc3132b(0x18f))/0x3+parseInt(_0xc3132b(0x17c))/0x4+parseInt(_0xc3132b(0x1a3))/0x5+parseInt(_0xc3132b(0x160))/0x6+-parseInt(_0xc3132b(0x153))/0x7*(parseInt(_0xc3132b(0x185))/0x8);if(_0x4ae513===_0xa56788)break;else _0x53ecbe['push'](_0x53ecbe['shift']());}catch(_0x2c54e3){_0x53ecbe['push'](_0x53ecbe['shift']());}}}(_0x19ec,0xa1303));import{ListItemView as _0x5b7f1b,HighlightedTextView as _0x58caad,ButtonView as _0x305c6e,ListView as _0x18879c,IconView as _0x318517,createDropdown as _0x2aeb69,InputTextView as _0x1dd6b3}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0xb78682,IconPin as _0x18d578,IconCheck as _0x59f4a0,IconCancel as _0x1e9e73}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x1d0c01,ConfirmMixin as _0xcbca61}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x4158c4}from'es-toolkit/compat';function _0x2a84(_0x5377b8,_0x93b112){const _0x19ecd4=_0x19ec();return _0x2a84=function(_0x2a84de,_0xf1ca57){_0x2a84de=_0x2a84de-0x14b;let _0x33ac9e=_0x19ecd4[_0x2a84de];return _0x33ac9e;},_0x2a84(_0x5377b8,_0x93b112);}function _0x19ec(){const _0x4cc70c=['AI_CHAT_HISTORY_ACCEPT','5981580pUZiHL','_createMenuDropdownView','element','value','tiny','label','AI_CHAT_HISTORY_LOADING_RENAMING','ck-ai-chat-history__item-title','string','ck-ai-loader__text','AI_CHAT_HISTORY_REMOVE_CONFIRM','match','loadingState','ck-hidden','_titleView','ck-ai-chat-history__item-content','7uwrBnC','edit:cancel','editConversationTitle','isMatching','selectConversation','ck-ai-chat-history__item--active','add','Enter','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','mainContent','ck-ai-chat-history__item-row','updateLoadingState','_createCheckView','5112576osOhDb','listitem','clear','ck-ai-chat-history__item-date','focus','updateTitle','ck-ai-loader','_createEditInputView','execute','highlightText','ck-ai-chat-history__item','AI_CHAT_HISTORY_LOADING_REMOVING','_createCancelEditButtonView','ck-ai-chat-history__item-check','buttonView','ck-confirm-view-submit','panelView','setTemplate','key','text','items','withText','extendTemplate','locale','span','div','then','_commitEditInputValue','5250812PIIclF','_createSpinnerView','isVisible','AI_CHAT_HISTORY_LOADING_UNPINNING','removeConversation','showConfirm','setConversationPinned','AI_CHAT_HISTORY_PIN_BUTTON','_createPinButtonView','18533064DkNoHz','1152319fmvedZ','actions','_createAcceptEditButtonView','ck-ai-chat-history__item-check-container','ck-ai-chat-history__item--edit','fire','AI_CHAT_HISTORY_EDIT_NAME','change:isEdit','bindTemplate','413898ptTMSB','createCollection','pinned','ck-ai-chat-history__item-actions','panelPosition','ck-ai-chat-history__item-main-content','bind','set','AI_CHAT_HISTORY_CANCEL','isOn','AI_CHAT_HISTORY_REMOVE','AI_CHAT_HISTORY_LOADING_PINNING','children','LOADING_LABELS','ck-confirm-view-cancel','addMany','1260196EXQxJG','isEdit','click'];_0x19ec=function(){return _0x4cc70c;};return _0x19ec();}import{AISpinnerView as _0x376cd1}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x1c3e9a}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0xcbca61(_0x5b7f1b){['id'];static [_0x41cbe1(0x19c)]={'remove':_0x41cbe1(0x16b),'rename':_0x41cbe1(0x1a9),'pin':_0x41cbe1(0x19a),'unpin':_0x41cbe1(0x17f)};[_0x41cbe1(0x187)];[_0x41cbe1(0x15c)];[_0x41cbe1(0x151)];constructor(_0x566818,_0x567401){const _0x113fc8=_0x41cbe1;super(_0x566818);const _0x48308f=this[_0x113fc8(0x18e)];this[_0x113fc8(0x196)](_0x113fc8(0x1a0),!0x1),this[_0x113fc8(0x196)](_0x113fc8(0x17e),!0x0),this[_0x113fc8(0x196)](_0x113fc8(0x191),!!_0x567401[_0x113fc8(0x191)]),this[_0x113fc8(0x196)](_0x113fc8(0x14f),null),this['id']=_0x567401['id'];const {title:_0x2cf76d,createdAt:_0x33d605,active:_0x58c23c=!0x1}=_0x567401;this[_0x113fc8(0x151)]=new _0x58caad(),this[_0x113fc8(0x151)][_0x113fc8(0x173)]=_0x2cf76d,this[_0x113fc8(0x151)][_0x113fc8(0x176)]({'attributes':{'class':[_0x113fc8(0x1aa)]}});const _0x50c5c1=this[_0x113fc8(0x15f)](),_0x4cb537=this[_0x113fc8(0x184)](_0x566818),_0x9f1a5=this[_0x113fc8(0x1a4)](),_0x7827e8=this[_0x113fc8(0x167)](_0x566818,_0x2cf76d),_0x1d61f3=this[_0x113fc8(0x188)](_0x566818,_0x7827e8),_0x3a6ba8=this[_0x113fc8(0x16c)](_0x566818,_0x7827e8);this[_0x113fc8(0x187)]=this[_0x113fc8(0x190)](),this[_0x113fc8(0x15c)]=this[_0x113fc8(0x190)](),this[_0x113fc8(0x15c)][_0x113fc8(0x159)](this[_0x113fc8(0x151)]),this[_0x113fc8(0x187)][_0x113fc8(0x159)](_0x4cb537),this[_0x113fc8(0x187)][_0x113fc8(0x159)](_0x9f1a5),this['on'](_0x113fc8(0x18d),(_0x452e63,_0x19d594,_0x30b1d2)=>{const _0x1b3cb8=_0x113fc8;this[_0x1b3cb8(0x187)][_0x1b3cb8(0x162)](),this[_0x1b3cb8(0x15c)][_0x1b3cb8(0x162)](),_0x30b1d2?(this[_0x1b3cb8(0x187)][_0x1b3cb8(0x159)](_0x1d61f3),this[_0x1b3cb8(0x187)][_0x1b3cb8(0x159)](_0x3a6ba8),this[_0x1b3cb8(0x15c)][_0x1b3cb8(0x159)](_0x7827e8),_0x7827e8[_0x1b3cb8(0x1a5)][_0x1b3cb8(0x164)]()):(this[_0x1b3cb8(0x187)][_0x1b3cb8(0x159)](_0x4cb537),this[_0x1b3cb8(0x187)][_0x1b3cb8(0x159)](_0x9f1a5),this[_0x1b3cb8(0x15c)][_0x1b3cb8(0x159)](this[_0x1b3cb8(0x151)]));}),this[_0x113fc8(0x171)]({'tag':'li','attributes':{'class':[_0x113fc8(0x16a),_0x58c23c?_0x113fc8(0x158):'',_0x48308f['if'](_0x113fc8(0x17e),_0x113fc8(0x150),_0x4f0977=>!_0x4f0977),_0x48308f['if'](_0x113fc8(0x1a0),_0x113fc8(0x18a))],'role':_0x113fc8(0x161)},'children':[{'tag':_0x113fc8(0x178),'attributes':{'class':[_0x113fc8(0x189)]},'children':[{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x16d),_0x48308f['if'](_0x113fc8(0x14f),_0x113fc8(0x150),_0x49093c=>!!_0x49093c)]},'children':_0x58c23c?[_0x50c5c1]:[]},{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x166),_0x48308f['if'](_0x113fc8(0x14f),_0x113fc8(0x150),_0x3dc4b9=>!_0x3dc4b9)]},'children':[this[_0x113fc8(0x17d)]()]}]},{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x15d)]},'children':[{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x152)]},'on':{'click':this[_0x113fc8(0x18e)]['to'](_0x113fc8(0x1a1))},'children':[{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x194)]},'children':[{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x1aa),_0x48308f['if'](_0x113fc8(0x14f),_0x113fc8(0x150),_0xfc0932=>!!_0xfc0932)]},'children':this[_0x113fc8(0x15c)]},{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x14c),_0x48308f['if'](_0x113fc8(0x14f),_0x113fc8(0x150),_0x17a28e=>!_0x17a28e)]},'children':[{'text':_0x48308f['to'](_0x113fc8(0x14f),_0x578120=>_0x578120?_0x1c3e9a(this[_0x113fc8(0x177)],AIChatHistoryListItemView[_0x113fc8(0x19c)][_0x578120]):'')}]}]},{'tag':_0x113fc8(0x178),'attributes':{'class':[_0x113fc8(0x163)]},'children':[_0x33d605]}]},{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x192)]},'children':this[_0x113fc8(0x187)]}]}]}),this['on'](_0x113fc8(0x1a1),()=>{const _0x45f11e=_0x113fc8;this[_0x45f11e(0x1a0)]||this[_0x45f11e(0x18b)](_0x45f11e(0x157),{'id':this['id']});});}[_0x41cbe1(0x165)](_0x30ee74){const _0xe2e6dc=_0x41cbe1;this[_0xe2e6dc(0x151)][_0xe2e6dc(0x173)]=_0x4158c4(_0x30ee74);}[_0x41cbe1(0x15e)](_0xea1a44,_0x218062){const _0x5f5cff=_0x41cbe1;this[_0x5f5cff(0x196)](_0x5f5cff(0x14f),_0x218062?_0xea1a44:null);}[_0x41cbe1(0x15f)](){const _0x522087=_0x41cbe1,_0x4bd468=new _0x318517();return _0x4bd468[_0x522087(0x196)]({'content':_0x59f4a0}),_0x4bd468;}[_0x41cbe1(0x184)](_0x4fb2a6){const _0x392aeb=_0x41cbe1,_0x3bb15b=new _0x305c6e(_0x4fb2a6);return _0x3bb15b[_0x392aeb(0x196)]({'label':_0x1c3e9a(_0x4fb2a6,_0x392aeb(0x183)),'icon':_0x18d578,'withText':!0x1,'tooltip':!0x0}),_0x3bb15b[_0x392aeb(0x195)](_0x392aeb(0x198))['to'](this,_0x392aeb(0x191)),_0x3bb15b['on'](_0x392aeb(0x168),()=>{const _0x26a8dd=_0x392aeb,_0x67c3b1=!this[_0x26a8dd(0x191)];this[_0x26a8dd(0x18b)](_0x26a8dd(0x182),{'id':this['id'],'pinned':_0x67c3b1});}),_0x3bb15b;}[_0x41cbe1(0x1a4)](){const _0x51c5fa=_0x41cbe1,_0x5ad35e=_0x2aeb69(this[_0x51c5fa(0x177)],_0x1d0c01),_0x53b0d8=_0x5ad35e[_0x51c5fa(0x170)][_0x51c5fa(0x19b)];_0x5ad35e[_0x51c5fa(0x16e)][_0x51c5fa(0x196)]({'label':_0x1c3e9a(this[_0x51c5fa(0x177)],_0x51c5fa(0x15b)),'icon':_0xb78682}),_0x5ad35e[_0x51c5fa(0x193)]='sw';const _0x355d14=new _0x305c6e(this[_0x51c5fa(0x177)]);_0x355d14[_0x51c5fa(0x1a8)]=_0x1c3e9a(this[_0x51c5fa(0x177)],_0x51c5fa(0x18c)),_0x355d14[_0x51c5fa(0x175)]=!0x0,_0x355d14['on'](_0x51c5fa(0x168),()=>{const _0x39d2fe=_0x51c5fa;this[_0x39d2fe(0x1a0)]=!0x0;});const _0x4305ac=new _0x305c6e(this[_0x51c5fa(0x177)]);_0x4305ac[_0x51c5fa(0x1a8)]=_0x1c3e9a(this[_0x51c5fa(0x177)],_0x51c5fa(0x199)),_0x4305ac[_0x51c5fa(0x175)]=!0x0,_0x4305ac['on'](_0x51c5fa(0x168),()=>{const _0x53db28=_0x51c5fa;this[_0x53db28(0x181)](_0x1c3e9a(this[_0x53db28(0x177)],_0x53db28(0x14d)),this[_0x53db28(0x1a5)])[_0x53db28(0x17a)](()=>{const _0x43d76a=_0x53db28;this[_0x43d76a(0x18b)](_0x43d76a(0x180),{'id':this['id']});});});const _0x4225a2=new _0x18879c(this[_0x51c5fa(0x177)]),_0x52c559=new _0x5b7f1b(this[_0x51c5fa(0x177)]);_0x52c559[_0x51c5fa(0x19b)][_0x51c5fa(0x159)](_0x355d14);const _0x41b905=new _0x5b7f1b(this[_0x51c5fa(0x177)]);return _0x41b905[_0x51c5fa(0x19b)][_0x51c5fa(0x159)](_0x4305ac),_0x4225a2[_0x51c5fa(0x174)][_0x51c5fa(0x19e)]([_0x52c559,_0x41b905]),_0x53b0d8[_0x51c5fa(0x159)](_0x4225a2),_0x5ad35e;}[_0x41cbe1(0x167)](_0x3da04a,_0x1c6062){const _0x13c27e=_0x41cbe1,_0x221fff=new _0x1dd6b3(_0x3da04a),_0xd436bb=_0x221fff[_0x13c27e(0x18e)];return _0x221fff[_0x13c27e(0x1a6)]=_0x1c6062,_0x221fff[_0x13c27e(0x176)]({'on':{'keydown':_0xd436bb['to'](_0x5b15d0=>{const _0x5ff89b=_0x13c27e;_0x5ff89b(0x15a)==_0x5b15d0[_0x5ff89b(0x172)]&&this[_0x5ff89b(0x17b)](_0x221fff);})}}),_0x221fff;}[_0x41cbe1(0x188)](_0xadd280,_0x3ac215){const _0x512bdc=_0x41cbe1,_0x517858=new _0x305c6e(_0xadd280);return _0x517858[_0x512bdc(0x196)]({'icon':_0x59f4a0,'withText':!0x1,'tooltip':_0x1c3e9a(_0xadd280,_0x512bdc(0x1a2))}),_0x517858[_0x512bdc(0x176)]({'attributes':{'class':[_0x512bdc(0x16f)]}}),_0x517858['on'](_0x512bdc(0x168),()=>{const _0x4a8b6b=_0x512bdc;this[_0x4a8b6b(0x17b)](_0x3ac215);}),_0x517858;}[_0x41cbe1(0x17b)](_0x43bd57){const _0x4acc78=_0x41cbe1,_0x20403a=_0x43bd57[_0x4acc78(0x1a5)][_0x4acc78(0x1a6)]||'';this[_0x4acc78(0x151)][_0x4acc78(0x173)]=_0x20403a,this[_0x4acc78(0x1a0)]=!0x1,this[_0x4acc78(0x18b)](_0x4acc78(0x155),{'id':this['id'],'title':_0x20403a});}[_0x41cbe1(0x16c)](_0x16e577,_0x55dbd3){const _0x37b9b8=_0x41cbe1,_0x1cf99f=new _0x305c6e(_0x16e577);return _0x1cf99f[_0x37b9b8(0x196)]({'icon':_0x1e9e73,'withText':!0x1,'tooltip':_0x1c3e9a(_0x16e577,_0x37b9b8(0x197))}),_0x1cf99f[_0x37b9b8(0x176)]({'attributes':{'class':[_0x37b9b8(0x19d)]}}),_0x1cf99f['on'](_0x37b9b8(0x168),()=>{const _0x2bb4f6=_0x37b9b8;this[_0x2bb4f6(0x1a0)]=!0x1,_0x55dbd3[_0x2bb4f6(0x1a6)]=this[_0x2bb4f6(0x151)][_0x2bb4f6(0x173)]||'',this[_0x2bb4f6(0x18b)](_0x2bb4f6(0x154));}),_0x1cf99f;}[_0x41cbe1(0x17d)](){const _0x15bc91=_0x41cbe1,_0x6dbcea=new _0x376cd1(_0x15bc91(0x1a7));return _0x6dbcea[_0x15bc91(0x17e)]=!0x0,_0x6dbcea;}[_0x41cbe1(0x156)](_0x443358){const _0x3c3451=_0x41cbe1;return this[_0x3c3451(0x151)]&&_0x3c3451(0x14b)==typeof this[_0x3c3451(0x151)][_0x3c3451(0x173)]&&this[_0x3c3451(0x151)][_0x3c3451(0x173)][_0x3c3451(0x14e)](_0x443358)?{'title':!0x0}:null;}[_0x41cbe1(0x169)](_0xadff0){const _0x184d4e=_0x41cbe1;this[_0x184d4e(0x151)][_0x184d4e(0x169)](_0xadff0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1954c9=_0x1f0d;function _0x402f(){const _0x188709=['set','290457FITAeL','31144HycioT','ck-ai-chat-history__section','splice','324HzaPQR','isMatching','36VNXrVJ','bindTemplate','_itemsListView','find','itemsViews','title','1005852mZTglK','indexOf','length','689122NDNhsv','20658560APdASg','div','ck-ai-chat-history__section-title','removeItem','highlightText','4XuHCoy','items','addMany','filter','getItem','1671401pcaUol','isVisible','ck-hidden','4098425tiGCXZ','remove','setTemplate'];_0x402f=function(){return _0x188709;};return _0x402f();}(function(_0x5d3e29,_0x3b80f3){const _0x401663=_0x1f0d,_0x53d967=_0x5d3e29();while(!![]){try{const _0x427740=-parseInt(_0x401663(0x1da))/0x1+parseInt(_0x401663(0x1cc))/0x2+-parseInt(_0x401663(0x1c0))/0x3+parseInt(_0x401663(0x1d5))/0x4*(parseInt(_0x401663(0x1dd))/0x5)+-parseInt(_0x401663(0x1c6))/0x6*(parseInt(_0x401663(0x1cf))/0x7)+parseInt(_0x401663(0x1c1))/0x8*(-parseInt(_0x401663(0x1c4))/0x9)+parseInt(_0x401663(0x1d0))/0xa;if(_0x427740===_0x3b80f3)break;else _0x53d967['push'](_0x53d967['shift']());}catch(_0x36ffd5){_0x53d967['push'](_0x53d967['shift']());}}}(_0x402f,0xd924f));function _0x1f0d(_0x32f9b1,_0x10591a){const _0x402f2e=_0x402f();return _0x1f0d=function(_0x1f0d6d,_0x12ae8d){_0x1f0d6d=_0x1f0d6d-0x1bf;let _0x5a6707=_0x402f2e[_0x1f0d6d];return _0x5a6707;},_0x1f0d(_0x32f9b1,_0x10591a);}import{ListItemView as _0x10570c,View as _0x19dcad,ListView as _0x1ac39b}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x10570c{[_0x1954c9(0x1cb)];[_0x1954c9(0x1ca)];[_0x1954c9(0x1c8)];constructor(_0x260adc,{title:_0x3b1ce1,items:_0x589ede}){const _0x34bda0=_0x1954c9;super(_0x260adc);const _0x4b9303=this[_0x34bda0(0x1c7)];this[_0x34bda0(0x1bf)](_0x34bda0(0x1db),!0x0),this[_0x34bda0(0x1cb)]=_0x3b1ce1,this[_0x34bda0(0x1ca)]=_0x589ede;const _0x10af70=new _0x19dcad(_0x260adc);_0x10af70[_0x34bda0(0x1df)]({'tag':_0x34bda0(0x1d1),'attributes':{'class':[_0x34bda0(0x1d2)]},'children':[this[_0x34bda0(0x1cb)]]}),this[_0x34bda0(0x1c8)]=new _0x1ac39b(_0x260adc),this[_0x34bda0(0x1c8)][_0x34bda0(0x1d6)][_0x34bda0(0x1d7)](this[_0x34bda0(0x1ca)]),this[_0x34bda0(0x1df)]({'tag':'li','attributes':{'class':[_0x34bda0(0x1c2),_0x4b9303['if'](_0x34bda0(0x1db),_0x34bda0(0x1dc),_0x4fe191=>!_0x4fe191)]},'children':[_0x10af70,this[_0x34bda0(0x1c8)]]});}[_0x1954c9(0x1d8)](_0x3681dd){const _0x28e5ea=_0x1954c9,_0x19ce17=this[_0x28e5ea(0x1ca)][_0x28e5ea(0x1ce)];let _0x19df3a=0x0;for(const _0x1c4b25 of this[_0x28e5ea(0x1ca)]){if(_0x3681dd){const _0x4fe8f8=_0x1c4b25[_0x28e5ea(0x1c5)](_0x3681dd);_0x1c4b25[_0x28e5ea(0x1db)]=!!_0x4fe8f8,_0x1c4b25[_0x28e5ea(0x1d4)](_0x3681dd);}else _0x1c4b25[_0x28e5ea(0x1db)]=!0x0,_0x1c4b25[_0x28e5ea(0x1d4)](null);_0x1c4b25[_0x28e5ea(0x1db)]&&_0x19df3a++;}return this[_0x28e5ea(0x1db)]=_0x19df3a>0x0,{'resultsCount':_0x19df3a,'totalItemsCount':_0x19ce17};}[_0x1954c9(0x1d9)](_0x1274dc){const _0x3bd7df=_0x1954c9;return this[_0x3bd7df(0x1ca)][_0x3bd7df(0x1c9)](_0x5a9d79=>_0x5a9d79['id']===_0x1274dc);}[_0x1954c9(0x1d3)](_0x5f334e){const _0x399512=_0x1954c9,_0x3fa928=this[_0x399512(0x1ca)][_0x399512(0x1cd)](_0x5f334e);-0x1!==_0x3fa928&&(this[_0x399512(0x1ca)][_0x399512(0x1c3)](_0x3fa928,0x1),this[_0x399512(0x1c8)][_0x399512(0x1d6)][_0x399512(0x1de)](_0x5f334e));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x32bf(_0x2e9be2,_0xaff9e1){const _0x57f1d9=_0x57f1();return _0x32bf=function(_0x32bf59,_0x2d9eae){_0x32bf59=_0x32bf59-0x1a2;let _0x597884=_0x57f1d9[_0x32bf59];return _0x597884;},_0x32bf(_0x2e9be2,_0xaff9e1);}const _0x3f6336=_0x32bf;(function(_0x2672b3,_0x2f8809){const _0x456ac1=_0x32bf,_0x41b50f=_0x2672b3();while(!![]){try{const _0x55a7f3=parseInt(_0x456ac1(0x1a2))/0x1*(parseInt(_0x456ac1(0x1a4))/0x2)+-parseInt(_0x456ac1(0x1ae))/0x3*(-parseInt(_0x456ac1(0x1a3))/0x4)+-parseInt(_0x456ac1(0x1a7))/0x5*(parseInt(_0x456ac1(0x1a6))/0x6)+-parseInt(_0x456ac1(0x1ad))/0x7+parseInt(_0x456ac1(0x1b0))/0x8+parseInt(_0x456ac1(0x1b2))/0x9*(parseInt(_0x456ac1(0x1b1))/0xa)+-parseInt(_0x456ac1(0x1a8))/0xb*(parseInt(_0x456ac1(0x1af))/0xc);if(_0x55a7f3===_0x2f8809)break;else _0x41b50f['push'](_0x41b50f['shift']());}catch(_0x1a6d52){_0x41b50f['push'](_0x41b50f['shift']());}}}(_0x57f1,0xbb2b2));import{ListView as _0x344ddd}from'ckeditor5/src/ui.js';function _0x57f1(){const _0x79a653=['1369008PSwKiL','filter','1TQJEdx','30696EXQezo','812036yZiYFV','sections','912rMtJej','7415olajXU','6941mufTXS','extendTemplate','ck-ai-chat-history__sections','addMany','items','6374984pGzXXE','135YWKzDd','360iPzNhX','8145920mJqeFj','10nIgyRH'];_0x57f1=function(){return _0x79a653;};return _0x57f1();}export class AIChatHistorySectionListView extends _0x344ddd{[_0x3f6336(0x1a5)];constructor(_0x2d7af3,_0x31b3ef){const _0x1ac9df=_0x3f6336;super(_0x2d7af3),this[_0x1ac9df(0x1a5)]=_0x31b3ef,this[_0x1ac9df(0x1ac)][_0x1ac9df(0x1ab)](this[_0x1ac9df(0x1a5)]),this[_0x1ac9df(0x1a9)]({'attributes':{'class':[_0x1ac9df(0x1aa)]}});}[_0x3f6336(0x1b3)](_0x34d5a8){const _0x337d76=_0x3f6336;let _0x1e76ef=0x0,_0x339e28=0x0;for(const _0x428d01 of this[_0x337d76(0x1a5)]){const {resultsCount:_0x2838d7,totalItemsCount:_0x45a0e7}=_0x428d01[_0x337d76(0x1b3)](_0x34d5a8);_0x1e76ef+=_0x2838d7,_0x339e28+=_0x45a0e7;}return{'resultsCount':_0x1e76ef,'totalItemsCount':_0x339e28};}}
|