@ckeditor/ckeditor5-ai 47.0.0-alpha.3 → 47.0.0-alpha.5
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-editor.css +10 -1
- package/dist/index.css +10 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/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/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/utils/common-translations.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.js +1 -1
- package/theme/aireviewmode/aireviewmode-check-list.css +10 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x472b(_0x2fd8ca,_0x49b69a){const _0x4c4660=_0x4c46();return _0x472b=function(_0x472be5,_0x36ba7a){_0x472be5=_0x472be5-0x17e;let _0x1f0993=_0x4c4660[_0x472be5];return _0x1f0993;},_0x472b(_0x2fd8ca,_0x49b69a);}const _0x516ffc=_0x472b;(function(_0x25d79a,_0x31c190){const _0x12080c=_0x472b,_0x368962=_0x25d79a();while(!![]){try{const _0x55ef5d=-parseInt(_0x12080c(0x19e))/0x1+parseInt(_0x12080c(0x198))/0x2*(-parseInt(_0x12080c(0x1a1))/0x3)+parseInt(_0x12080c(0x193))/0x4*(-parseInt(_0x12080c(0x18d))/0x5)+parseInt(_0x12080c(0x18c))/0x6*(parseInt(_0x12080c(0x1a8))/0x7)+-parseInt(_0x12080c(0x1c7))/0x8*(parseInt(_0x12080c(0x1ab))/0x9)+parseInt(_0x12080c(0x195))/0xa*(-parseInt(_0x12080c(0x196))/0xb)+parseInt(_0x12080c(0x1b8))/0xc;if(_0x55ef5d===_0x31c190)break;else _0x368962['push'](_0x368962['shift']());}catch(_0x525d10){_0x368962['push'](_0x368962['shift']());}}}(_0x4c46,0x8d9f7));import{KeystrokeHandler as _0x21c117}from'ckeditor5/src/utils.js';function _0x4c46(){const _0x3f94e6=['attachToDom','8vRInNh','insertSuggestionModel','balloonPanelClass','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','balloonPanelView','createCollection','esc','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions__balloon','button','showChangeInText','Apply','actionsDropdown','delegate','add','listItemModels','bind','unbind','763068PWNLaS','5HjaACv','children','pin','items','element','actionName','2889148GGAESp','locale','10vZKydP','9890859ZViSDT','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','4262RUwkpD','tooltip','fire','applySuggestion','_setUpList','execute','155260uRiblh','ck-ai-chat__feed__ai-suggestion__actions','setTemplate','765FRQJgT','listenTo','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','open','div','_setUpKeystrokes','destroy','28eOWqhz','detachFromDom','left','7576263TUBnnV','isVisible','class','updateLabels','ck-hidden','source','insertSuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','ltr','content','keys','arrowView','width','38799636RrJQym','uiLanguageDirection','label','set','keystrokeHandler','listView','hide','focus','bodyCollection','bindTemplate','isEnabled','arrowless','bottom','showChangeInTextModel'];_0x4c46=function(){return _0x3f94e6;};return _0x4c46();}import{BalloonPanelView as _0x5eb328,BodyCollection as _0x5edc62,clickOutsideHandler as _0x7ab566,ListItemButtonView as _0x592944,ListItemView as _0x2411f3,ListView as _0x4d9e15,SplitButtonView as _0x3e8475,UIModel as _0x6905ba,View as _0x47e1c0}from'ckeditor5/src/ui.js';import{IconAddComment as _0x482ce3,IconDocumentWithLoupe as _0xf01713}from'ckeditor5/src/icons.js';import{getTranslation as _0x15a69d}from'../../../aicore/utils/common-translations.js';export class AIChatFeedSuggestionItemActionsView extends _0x47e1c0{[_0x516ffc(0x186)];[_0x516ffc(0x18e)];[_0x516ffc(0x1c5)];[_0x516ffc(0x1c8)];constructor(_0x148217){const _0x5b1a03=_0x516ffc;super(_0x148217);const _0xa9bf35=this[_0x5b1a03(0x1c1)];this[_0x5b1a03(0x1bb)](_0x5b1a03(0x1c2),!0x0),this[_0x5b1a03(0x1bb)](_0x5b1a03(0x1ac),!0x0),this[_0x5b1a03(0x1c5)]=new _0x6905ba({'label':_0x15a69d(_0x148217,_0x5b1a03(0x1a3)),'icon':_0xf01713,'withText':!0x0,'type':_0x5b1a03(0x183),'actionName':_0x5b1a03(0x184)}),this[_0x5b1a03(0x1c8)]=new _0x6905ba({'label':_0x15a69d(_0x148217,_0x5b1a03(0x197)),'icon':_0x482ce3,'withText':!0x0,'type':_0x5b1a03(0x183),'actionName':_0x5b1a03(0x1b1)}),this[_0x5b1a03(0x186)]=new Ko(_0x148217,{'listItemModels':[this[_0x5b1a03(0x1c5)],this[_0x5b1a03(0x1c8)]]}),this[_0x5b1a03(0x186)]['on'](_0x5b1a03(0x19d),()=>{const _0xf7b4e0=_0x5b1a03;this[_0xf7b4e0(0x19a)](_0xf7b4e0(0x19b));}),this[_0x5b1a03(0x186)]['on'](_0x5b1a03(0x184),()=>{const _0x52e568=_0x5b1a03;this[_0x52e568(0x19a)](_0x52e568(0x184));}),this[_0x5b1a03(0x186)]['on'](_0x5b1a03(0x1b1),()=>{const _0x4d30af=_0x5b1a03;this[_0x4d30af(0x19a)](_0x4d30af(0x1b1));}),this[_0x5b1a03(0x186)][_0x5b1a03(0x1bb)]({'label':_0x5b1a03(0x185),'tooltip':_0x15a69d(this[_0x5b1a03(0x194)],_0x5b1a03(0x1b2)),'withText':!0x0,'class':_0x5b1a03(0x19f),'balloonPanelClass':_0x5b1a03(0x182)}),this[_0x5b1a03(0x186)][_0x5b1a03(0x18a)](_0x5b1a03(0x1c2))['to'](this),this[_0x5b1a03(0x18e)]=this[_0x5b1a03(0x17f)]([this[_0x5b1a03(0x186)]]),this[_0x5b1a03(0x1a0)]({'tag':_0x5b1a03(0x1a5),'attributes':{'class':['ck',_0x5b1a03(0x19f),_0xa9bf35['if'](_0x5b1a03(0x1ac),_0x5b1a03(0x1af),_0x53809b=>!_0x53809b)]},'children':[this[_0x5b1a03(0x186)]]});}[_0x516ffc(0x1ae)](_0x279aab){const _0x3a7008=_0x516ffc,_0x27b195=this[_0x3a7008(0x194)];this[_0x3a7008(0x186)][_0x3a7008(0x1bb)]({'label':_0x15a69d(_0x27b195,_0x3a7008(0x1ca),_0x279aab),'tooltip':_0x15a69d(_0x27b195,_0x3a7008(0x1b2),_0x279aab)}),this[_0x3a7008(0x1c5)][_0x3a7008(0x1ba)]=_0x15a69d(_0x27b195,_0x3a7008(0x1a3),_0x279aab),this[_0x3a7008(0x1c8)][_0x3a7008(0x1ba)]=_0x15a69d(_0x27b195,_0x3a7008(0x197),_0x279aab);}}class Ko extends _0x3e8475{[_0x516ffc(0x1c0)];[_0x516ffc(0x17e)];[_0x516ffc(0x1bd)];[_0x516ffc(0x1bc)];constructor(_0xf7e26b,_0x558bce){const _0x320324=_0x516ffc;super(_0xf7e26b),this[_0x320324(0x17e)]=new _0x5eb328(this[_0x320324(0x194)]),this[_0x320324(0x1c0)]=new _0x5edc62(this[_0x320324(0x194)]),this[_0x320324(0x1c0)][_0x320324(0x1c6)](),this[_0x320324(0x1bb)](_0x320324(0x1c9),''),this[_0x320324(0x17e)][_0x320324(0x18a)](_0x320324(0x1ad))['to'](this,_0x320324(0x1c9)),this[_0x320324(0x1bd)]=this[_0x320324(0x19c)](_0x558bce[_0x320324(0x189)]),this[_0x320324(0x1c0)][_0x320324(0x188)](this[_0x320324(0x17e)]),this[_0x320324(0x17e)][_0x320324(0x1b4)][_0x320324(0x188)](this[_0x320324(0x1bd)]),this[_0x320324(0x1b6)][_0x320324(0x18b)](_0x320324(0x199)),this[_0x320324(0x1b6)][_0x320324(0x1bb)](_0x320324(0x199),_0x15a69d(this[_0x320324(0x194)],_0x320324(0x181))),this[_0x320324(0x1a6)](),this['on'](_0x320324(0x19d),()=>{const _0x473f56=_0x320324;this[_0x473f56(0x17e)][_0x473f56(0x1be)](),this[_0x473f56(0x1b6)][_0x473f56(0x1bf)]();}),this['on'](_0x320324(0x1a4),()=>{const _0x3e0f9e=_0x320324;this[_0x3e0f9e(0x17e)][_0x3e0f9e(0x1ac)]?(this[_0x3e0f9e(0x17e)][_0x3e0f9e(0x1be)](),this[_0x3e0f9e(0x1b6)][_0x3e0f9e(0x1bf)]()):(this[_0x3e0f9e(0x17e)][_0x3e0f9e(0x18f)]({'target':this[_0x3e0f9e(0x191)],'positions':[_0x3e0f9e(0x1b3)===this[_0x3e0f9e(0x194)][_0x3e0f9e(0x1b9)]?qo:zo]}),this[_0x3e0f9e(0x1bd)][_0x3e0f9e(0x1bf)]());}),_0x7ab566({'emitter':this[_0x320324(0x17e)],'callback':()=>{const _0x5f4c3b=_0x320324;this[_0x5f4c3b(0x17e)][_0x5f4c3b(0x1be)]();},'activator':()=>this[_0x320324(0x17e)][_0x320324(0x1ac)],'contextElements':()=>[this[_0x320324(0x191)],this[_0x320324(0x17e)][_0x320324(0x191)]]});}[_0x516ffc(0x19c)](_0x337a37){const _0x5bf8ff=_0x516ffc,_0x35975a=this[_0x5bf8ff(0x194)],_0x175129=new _0x4d9e15(_0x35975a);for(const _0x462e66 of _0x337a37){const _0x4267b0=new _0x2411f3(_0x35975a),_0x9b16e4=new _0x592944(_0x35975a);_0x9b16e4[_0x5bf8ff(0x18a)](...Object[_0x5bf8ff(0x1b5)](_0x462e66))['to'](_0x462e66),_0x9b16e4[_0x5bf8ff(0x187)](_0x5bf8ff(0x19d))['to'](_0x175129),_0x4267b0[_0x5bf8ff(0x18e)][_0x5bf8ff(0x188)](_0x9b16e4),_0x175129[_0x5bf8ff(0x190)][_0x5bf8ff(0x188)](_0x4267b0);}return _0x175129[_0x5bf8ff(0x190)][_0x5bf8ff(0x187)](_0x5bf8ff(0x19d))['to'](this),_0x175129['on'](_0x5bf8ff(0x19d),_0x477825=>{const _0xba5c9f=_0x5bf8ff,_0x431f31=_0x477825[_0xba5c9f(0x1b0)];this[_0xba5c9f(0x19a)](_0x431f31[_0xba5c9f(0x192)]),this[_0xba5c9f(0x17e)][_0xba5c9f(0x1be)](),this[_0xba5c9f(0x1b6)][_0xba5c9f(0x1bf)]();}),_0x175129;}[_0x516ffc(0x1a6)](){const _0x2478f0=_0x516ffc;this[_0x2478f0(0x1bc)]=new _0x21c117(),this[_0x2478f0(0x1bc)][_0x2478f0(0x1a2)](this[_0x2478f0(0x17e)][_0x2478f0(0x191)]),this[_0x2478f0(0x1bc)][_0x2478f0(0x1bb)](_0x2478f0(0x180),(_0x29d577,_0x48f84f)=>{const _0x1f7dfb=_0x2478f0;this[_0x1f7dfb(0x17e)][_0x1f7dfb(0x1be)](),this[_0x1f7dfb(0x1b6)][_0x1f7dfb(0x1bf)](),_0x48f84f();});}[_0x516ffc(0x1a7)](){const _0x1e38d3=_0x516ffc;super[_0x1e38d3(0x1a7)](),this[_0x1e38d3(0x1bc)][_0x1e38d3(0x1a7)](),this[_0x1e38d3(0x17e)][_0x1e38d3(0x1a7)](),this[_0x1e38d3(0x1c0)][_0x1e38d3(0x1a9)]();}}function qo(_0x1527cf){const _0x4b8930=_0x516ffc;return{'top':_0x1527cf[_0x4b8930(0x1c4)],'left':_0x1527cf[_0x4b8930(0x1aa)],'name':_0x4b8930(0x1c3),'config':{'withArrow':!0x1}};}function zo(_0x4fe647,_0x1408b0){const _0x48d8ef=_0x516ffc;return{'top':_0x4fe647[_0x48d8ef(0x1c4)],'left':_0x4fe647[_0x48d8ef(0x1aa)]-(_0x1408b0[_0x48d8ef(0x1b7)]-_0x4fe647[_0x48d8ef(0x1b7)]),'name':_0x48d8ef(0x1c3),'config':{'withArrow':!0x1}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0xa703d9=_0x47ea;function _0x47ea(_0x293459,_0x3a72d4){var _0x4755a0=_0x4755();return _0x47ea=function(_0x47ea10,_0x367a27){_0x47ea10=_0x47ea10-0x7c;var _0x9a6bb5=_0x4755a0[_0x47ea10];return _0x9a6bb5;},_0x47ea(_0x293459,_0x3a72d4);}function _0x4755(){var _0x333712=['areActionsDisabled','337563yhWLPD','6HSZUvX','applySuggestion','629368afTPSo','actionsView','showChangeInText','isVisible','bind','insertSuggestion','isEnabled','2421433oHpimm','fire','872580JZXPhf','updateLabels','ck-ai-chat__feed__ai-suggestion','markAsDone','toggleSuggestionDisplayMode','hasPendingParts','partsCount','bodyView','children','rejectSuggestion','getPartView','like','updatePartState','containerView','3716448Nwbfjg','updateSources','145188LIcTwq','1402002qWKCdF','130tHBgbu','mouseOverSuggestion','mouseLeaveSuggestion','dislike','extendTemplate','70jBjoTe','addMany','options','showDiff','updateContent','hasNonEmptyParts'];_0x4755=function(){return _0x333712;};return _0x4755();}(function(_0x2689a2,_0xcf267c){var _0x5e93c0=_0x47ea,_0x4373a3=_0x2689a2();while(!![]){try{var _0x3f049=parseInt(_0x5e93c0(0x8c))/0x1+parseInt(_0x5e93c0(0x83))/0x2+parseInt(_0x5e93c0(0x9d))/0x3+parseInt(_0x5e93c0(0x9c))/0x4*(-parseInt(_0x5e93c0(0x9e))/0x5)+-parseInt(_0x5e93c0(0x81))/0x6*(parseInt(_0x5e93c0(0x8a))/0x7)+parseInt(_0x5e93c0(0x9a))/0x8+parseInt(_0x5e93c0(0x80))/0x9*(-parseInt(_0x5e93c0(0xa3))/0xa);if(_0x3f049===_0xcf267c)break;else _0x4373a3['push'](_0x4373a3['shift']());}catch(_0x202e12){_0x4373a3['push'](_0x4373a3['shift']());}}}(_0x4755,0x8a6b4));import{AIChatFeedItemView as _0x518962}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3ceefd}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x15d503}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x518962{[_0xa703d9(0x99)];[_0xa703d9(0x84)];constructor(_0x49530,_0x146943){var _0x1e81d7=_0xa703d9;super(_0x146943),this[_0x1e81d7(0x99)]=new _0x3ceefd(_0x49530,{'showDiff':_0x146943[_0x1e81d7(0x7c)],'areActionsDisabled':_0x146943[_0x1e81d7(0x7f)]}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0x90),(_0x58879c,_0xb3e4fe)=>{var _0x3c2783=_0x1e81d7;this[_0x3c2783(0x8b)](_0x3c2783(0x90),{'replyId':this[_0x3c2783(0xa5)]['id'],'showDiff':_0xb3e4fe[_0x3c2783(0x7c)]});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0x97),()=>{var _0x3043b7=_0x1e81d7;this[_0x3043b7(0x8b)](_0x3043b7(0x97),{'replyId':this[_0x3043b7(0xa5)]['id']});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0xa1),()=>{var _0x1ee5f1=_0x1e81d7;this[_0x1ee5f1(0x8b)](_0x1ee5f1(0xa1),{'replyId':this[_0x1ee5f1(0xa5)]['id']});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0x85),(_0x827003,{index:_0x540ffb})=>{var _0x202d9d=_0x1e81d7;this[_0x202d9d(0x8b)](_0x202d9d(0x85),{'replyId':this[_0x202d9d(0xa5)]['id'],'partIndex':_0x540ffb});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0x88),(_0x533abc,{index:_0x46e274})=>{var _0x25eb7e=_0x1e81d7;this[_0x25eb7e(0x8b)](_0x25eb7e(0x88),{'replyId':this[_0x25eb7e(0xa5)]['id'],'partIndex':_0x46e274});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0x95),(_0x4a2cea,{index:_0x89b1e9})=>{var _0x2d0854=_0x1e81d7;this[_0x2d0854(0x8b)](_0x2d0854(0x95),{'replyId':this[_0x2d0854(0xa5)]['id'],'partIndex':_0x89b1e9});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0x9f),(_0x45e3c4,{index:_0x5689ba})=>{var _0x448746=_0x1e81d7;this[_0x448746(0x8b)](_0x448746(0x9f),{'replyId':this[_0x448746(0xa5)]['id'],'partIndex':_0x5689ba});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0xa0),(_0x3eb3f3,{index:_0x5cf1c2})=>{var _0x3cd2cc=_0x1e81d7;this[_0x3cd2cc(0x8b)](_0x3cd2cc(0xa0),{'replyId':this[_0x3cd2cc(0xa5)]['id'],'partIndex':_0x5cf1c2});}),this[_0x1e81d7(0x84)]=new _0x15d503(_0x49530),this[_0x1e81d7(0x84)]['on'](_0x1e81d7(0x85),()=>{var _0xd86d1f=_0x1e81d7;this[_0xd86d1f(0x8b)](_0xd86d1f(0x85),{'replyId':this[_0xd86d1f(0xa5)]['id']});}),this[_0x1e81d7(0x84)]['on'](_0x1e81d7(0x88),()=>{var _0x81ce38=_0x1e81d7;this[_0x81ce38(0x8b)](_0x81ce38(0x88),{'replyId':this[_0x81ce38(0xa5)]['id']});}),this[_0x1e81d7(0x84)]['on'](_0x1e81d7(0x82),()=>{var _0x37bfdf=_0x1e81d7;this[_0x37bfdf(0x8b)](_0x37bfdf(0x82),{'replyId':this[_0x37bfdf(0xa5)]['id']});}),_0x146943[_0x1e81d7(0x7f)]?this[_0x1e81d7(0x84)][_0x1e81d7(0x89)]=!0x1:this[_0x1e81d7(0x84)][_0x1e81d7(0x87)](_0x1e81d7(0x89))['to'](this[_0x1e81d7(0x99)][_0x1e81d7(0x93)],_0x1e81d7(0x91)),this[_0x1e81d7(0x94)][_0x1e81d7(0xa4)]([this[_0x1e81d7(0x99)],this[_0x1e81d7(0x84)]]),this[_0x1e81d7(0xa2)]({'attributes':{'class':[_0x1e81d7(0x8e)]}});}async[_0xa703d9(0x7d)](_0x4e2147){var _0x42f366=_0xa703d9;await this[_0x42f366(0x99)][_0x42f366(0x7d)](_0x4e2147),this[_0x42f366(0x84)][_0x42f366(0x8d)](this[_0x42f366(0x99)][_0x42f366(0x93)][_0x42f366(0x92)]);}[_0xa703d9(0x98)](_0x40f420,_0x2790e0){var _0x2f19a7=_0xa703d9;this[_0x2f19a7(0x99)][_0x2f19a7(0x93)][_0x2f19a7(0x98)](_0x40f420,_0x2790e0);}[_0xa703d9(0x9b)](_0x80e36b){var _0x46c643=_0xa703d9;this[_0x46c643(0x99)][_0x46c643(0x9b)](_0x80e36b);}[_0xa703d9(0x96)](_0x16c8e8){var _0x1e2250=_0xa703d9;return this[_0x1e2250(0x99)][_0x1e2250(0x93)][_0x1e2250(0x96)](_0x16c8e8);}[_0xa703d9(0x8f)](){var _0x50296a=_0xa703d9;super[_0x50296a(0x8f)](),this[_0x50296a(0x99)][_0x50296a(0x8f)](),this[_0x50296a(0x84)][_0x50296a(0x86)]=this[_0x50296a(0x99)][_0x50296a(0x93)][_0x50296a(0x7e)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x9800c3=_0x8462;function _0x1b37(){var _0x58c166=['_contextChipsView','_createMessageContentView','51290yKffug','innerHTML','_messageContentView','_locale','options','_createContextChipsView','942gwoqoe','contextItems','4421169usMSFj','_bodyCollection','8clXfNc','children','render','add','ck-ai-chat__feed__context-chips','hidden','32675MJXHqO','6HysdaQ','markAsDone','filter','7206227ztMOsc','ck-ai-chat__feed__message-content','ck-ai-chat__feed__user-message','477178GpapVq','div','extendTemplate','element','10243024aborcA','length','1705oiKTyE','initialContent','setTemplate','880288VQezSi'];_0x1b37=function(){return _0x58c166;};return _0x1b37();}(function(_0x33e496,_0x4431c6){var _0x359456=_0x8462,_0xc84cd0=_0x33e496();while(!![]){try{var _0x417d69=parseInt(_0x359456(0xa5))/0x1*(parseInt(_0x359456(0x98))/0x2)+parseInt(_0x359456(0x9f))/0x3*(-parseInt(_0x359456(0xae))/0x4)+parseInt(_0x359456(0x9e))/0x5*(parseInt(_0x359456(0x94))/0x6)+parseInt(_0x359456(0xa2))/0x7+-parseInt(_0x359456(0xa9))/0x8+-parseInt(_0x359456(0x96))/0x9+-parseInt(_0x359456(0xb1))/0xa*(parseInt(_0x359456(0xab))/0xb);if(_0x417d69===_0x4431c6)break;else _0xc84cd0['push'](_0xc84cd0['shift']());}catch(_0x511904){_0xc84cd0['push'](_0xc84cd0['shift']());}}}(_0x1b37,0xe9be2));import{AIChatFeedItemView as _0x3d3500}from'./aichatfeeditemview.js';function _0x8462(_0x5dfd92,_0x14cea7){var _0x1b3734=_0x1b37();return _0x8462=function(_0x846231,_0x40b622){_0x846231=_0x846231-0x93;var _0x1870e8=_0x1b3734[_0x846231];return _0x1870e8;},_0x8462(_0x5dfd92,_0x14cea7);}import{AIChatFeedContextChipsView as _0x1880bf}from'./aichatfeedcontextchipsview.js';import{View as _0x49ff6f}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x3d3500{[_0x9800c3(0xaf)]=null;[_0x9800c3(0xb4)];[_0x9800c3(0x97)];[_0x9800c3(0xb3)];constructor(_0x19c902,_0x3f3be9,_0x1fa26d){var _0x146224=_0x9800c3;super(_0x3f3be9),this[_0x146224(0xb4)]=_0x19c902,this[_0x146224(0x97)]=_0x1fa26d,this[_0x146224(0x93)](),this[_0x146224(0xb0)](),this[_0x146224(0xa7)]({'attributes':{'class':[_0x146224(0xa4)]}});}[_0x9800c3(0x93)](){var _0x44e3a6=_0x9800c3;this[_0x44e3a6(0xb5)][_0x44e3a6(0x95)]&&this[_0x44e3a6(0xb5)][_0x44e3a6(0x95)][_0x44e3a6(0xaa)]>0x0&&(this[_0x44e3a6(0xaf)]=new _0x1880bf(this[_0x44e3a6(0xb4)],this[_0x44e3a6(0xb5)][_0x44e3a6(0x95)][_0x44e3a6(0xa1)](_0x5f5d42=>!_0x5f5d42[_0x44e3a6(0x9d)]),this[_0x44e3a6(0x97)]),this[_0x44e3a6(0xaf)][_0x44e3a6(0xa7)]({'attributes':{'class':_0x44e3a6(0x9c)}}),this[_0x44e3a6(0x99)][_0x44e3a6(0x9b)](this[_0x44e3a6(0xaf)]));}[_0x9800c3(0xb0)](){var _0xef8f25=_0x9800c3;this[_0xef8f25(0xb3)]=new _0x49ff6f(this[_0xef8f25(0xb4)]),this[_0xef8f25(0xb3)][_0xef8f25(0xad)]({'tag':_0xef8f25(0xa6),'attributes':{'class':_0xef8f25(0xa3)}}),this[_0xef8f25(0x99)][_0xef8f25(0x9b)](this[_0xef8f25(0xb3)]);}[_0x9800c3(0x9a)](){var _0x531192=_0x9800c3;super[_0x531192(0x9a)](),this[_0x531192(0xb3)][_0x531192(0xa8)][_0x531192(0xb2)]=this[_0x531192(0xb5)][_0x531192(0xac)],this[_0x531192(0xa0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1bcc(){const _0x24cec0=['removeContextItem','43977DeoJuK','262610BXTJLT','startConversation','1301629dqxcZl','loadSourceResources','570yLmFFe','resizeTabs','addUrlToContext','1ugaqLi','1361046gUwbNC','abortPromptStream','toggleWebSearch','addFileToContext','toggleReasoning','selectModel','38286HlGbMY','102082wkWDvo','addResourceToContext','addDocumentToContext','1658512NtEVKR','sendUserMessage','4JXwMCe'];_0x1bcc=function(){return _0x24cec0;};return _0x1bcc();}function _0x3a10(_0x4d7909,_0x34a3e4){const _0x1bcc22=_0x1bcc();return _0x3a10=function(_0x3a107e,_0x48e226){_0x3a107e=_0x3a107e-0x84;let _0x476c00=_0x1bcc22[_0x3a107e];return _0x476c00;},_0x3a10(_0x4d7909,_0x34a3e4);}const _0x2748f6=_0x3a10;(function(_0x2ae36c,_0xea63bf){const _0x4e3c84=_0x3a10,_0x2ed0a9=_0x2ae36c();while(!![]){try{const _0x5b8fa3=parseInt(_0x4e3c84(0x99))/0x1*(parseInt(_0x4e3c84(0x8a))/0x2)+-parseInt(_0x4e3c84(0x91))/0x3+-parseInt(_0x4e3c84(0x8f))/0x4*(-parseInt(_0x4e3c84(0x92))/0x5)+-parseInt(_0x4e3c84(0x9a))/0x6+-parseInt(_0x4e3c84(0x94))/0x7+parseInt(_0x4e3c84(0x8d))/0x8+-parseInt(_0x4e3c84(0x89))/0x9*(-parseInt(_0x4e3c84(0x96))/0xa);if(_0x5b8fa3===_0xea63bf)break;else _0x2ed0a9['push'](_0x2ed0a9['shift']());}catch(_0x5b44ad){_0x2ed0a9['push'](_0x2ed0a9['shift']());}}}(_0x1bcc,0x1ebd4));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x549f06}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x549f06,_0x2748f6(0x93),_0x2748f6(0x97),_0x2748f6(0x8e),_0x2748f6(0x84),_0x2748f6(0x8c),_0x2748f6(0x86),_0x2748f6(0x98),_0x2748f6(0x8b),_0x2748f6(0x90),_0x2748f6(0x95),_0x2748f6(0x85),_0x2748f6(0x87),_0x2748f6(0x88)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x36e8(_0x17e8c9,_0x1d27ba){const _0xda5cd8=_0xda5c();return _0x36e8=function(_0x36e819,_0x461b00){_0x36e819=_0x36e819-0x11c;let _0x5343ba=_0xda5cd8[_0x36e819];return _0x5343ba;},_0x36e8(_0x17e8c9,_0x1d27ba);}const _0x7606d=_0x36e8;(function(_0x165a9b,_0x4f1599){const _0x2ee058=_0x36e8,_0x2ed4f1=_0x165a9b();while(!![]){try{const _0x36081e=-parseInt(_0x2ee058(0x123))/0x1*(-parseInt(_0x2ee058(0x136))/0x2)+-parseInt(_0x2ee058(0x133))/0x3+parseInt(_0x2ee058(0x11f))/0x4+parseInt(_0x2ee058(0x12f))/0x5*(-parseInt(_0x2ee058(0x12c))/0x6)+parseInt(_0x2ee058(0x127))/0x7+parseInt(_0x2ee058(0x11c))/0x8+-parseInt(_0x2ee058(0x12e))/0x9;if(_0x36081e===_0x4f1599)break;else _0x2ed4f1['push'](_0x2ed4f1['shift']());}catch(_0x3bac52){_0x2ed4f1['push'](_0x2ed4f1['shift']());}}}(_0xda5c,0xb9822));import{EmitterMixin as _0x63c5c3}from'ckeditor5/src/utils.js';function _0xda5c(){const _0x5eb6e7=['reject','_abortController','_queueEmpty','7196644SwOGrr','abort','once','_processQueue','createTask','42tkYTcO','queue','17489124xGbVOS','198340hEPiZt','fire','push','resolve','747729bYYeTb','callback','signal','14sriGsU','length','1835544hSnuyw','shift','completePromise','2551620JxYMJo','enqueue','isProcessing','queueEmptyPromise','190651SGtyqh'];_0xda5c=function(){return _0x5eb6e7;};return _0xda5c();}export class PromiseQueue extends _0x63c5c3(){[_0x7606d(0x12d)]=[];[_0x7606d(0x121)]=!0x1;[_0x7606d(0x125)];async[_0x7606d(0x120)](_0x2dbc6f){const _0x39ae5f=_0x7606d,_0x46e803=this[_0x39ae5f(0x12b)](_0x2dbc6f);return this[_0x39ae5f(0x12d)][_0x39ae5f(0x131)](_0x46e803),this[_0x39ae5f(0x12a)](),_0x46e803[_0x39ae5f(0x11e)];}[_0x7606d(0x128)](){const _0x237570=_0x7606d;this[_0x237570(0x121)]&&(this[_0x237570(0x125)][_0x237570(0x128)](),this[_0x237570(0x125)]=void 0x0,this[_0x237570(0x12d)]=[],this[_0x237570(0x130)](_0x237570(0x126)),this[_0x237570(0x121)]=!0x1);}get[_0x7606d(0x122)](){const _0x549161=_0x7606d;return this[_0x549161(0x12d)][_0x549161(0x137)]||this[_0x549161(0x121)]?new Promise(_0x37abed=>{const _0x498730=_0x549161;this[_0x498730(0x129)](_0x498730(0x126),()=>{_0x37abed();});}):Promise[_0x549161(0x132)]();}async[_0x7606d(0x12a)](){const _0x524e3d=_0x7606d;if(!this[_0x524e3d(0x121)]){this[_0x524e3d(0x125)]=new AbortController(),this[_0x524e3d(0x121)]=!0x0;try{for(;this[_0x524e3d(0x12d)][_0x524e3d(0x137)]&&this[_0x524e3d(0x121)];){const _0x3ca863=this[_0x524e3d(0x12d)][_0x524e3d(0x11d)]();try{await _0x3ca863[_0x524e3d(0x134)](this[_0x524e3d(0x125)][_0x524e3d(0x135)]),_0x3ca863[_0x524e3d(0x132)]();}catch(_0x3b29b9){_0x3ca863[_0x524e3d(0x124)](_0x3b29b9);}}}finally{this[_0x524e3d(0x121)]=!0x1,this[_0x524e3d(0x125)]=void 0x0;}this[_0x524e3d(0x130)](_0x524e3d(0x126));}}[_0x7606d(0x12b)](_0x1b9ed1){let _0x352570,_0x4528a9;const _0x47da2f=new Promise((_0x2e181f,_0x16b5f7)=>{_0x352570=_0x2e181f,_0x4528a9=_0x16b5f7;});return{'callback':_0x1b9ed1,'resolve':_0x352570,'reject':_0x4528a9,'completePromise':_0x47da2f};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1947c4=_0x4ac6;function _0x4ac6(_0x6668d,_0x1f484e){const _0x3329fd=_0x3329();return _0x4ac6=function(_0x4ac629,_0xb96c9d){_0x4ac629=_0x4ac629-0x1cf;let _0x5d4fb4=_0x3329fd[_0x4ac629];return _0x5d4fb4;},_0x4ac6(_0x6668d,_0x1f484e);}(function(_0x1274dd,_0x23e583){const _0x5af2e8=_0x4ac6,_0xe411b3=_0x1274dd();while(!![]){try{const _0x4dbec9=parseInt(_0x5af2e8(0x1ea))/0x1+-parseInt(_0x5af2e8(0x1de))/0x2+-parseInt(_0x5af2e8(0x1e5))/0x3*(-parseInt(_0x5af2e8(0x1d2))/0x4)+parseInt(_0x5af2e8(0x1e9))/0x5*(-parseInt(_0x5af2e8(0x1cf))/0x6)+parseInt(_0x5af2e8(0x1f6))/0x7+-parseInt(_0x5af2e8(0x1d4))/0x8+-parseInt(_0x5af2e8(0x1dc))/0x9*(-parseInt(_0x5af2e8(0x1da))/0xa);if(_0x4dbec9===_0x23e583)break;else _0xe411b3['push'](_0xe411b3['shift']());}catch(_0x18384e){_0xe411b3['push'](_0xe411b3['shift']());}}}(_0x3329,0x4c81d));function _0x3329(){const _0x207bd3=['isUserPaused','1041754JozjgJ','deltaY','animationFrameId','abortController','PageDown','End','_isAtBottom','3iAvrrP','start','ArrowUp','_stop','1226525gbFlPB','193769pEltUt','key','_onUserEvent','pointerdown','includes','addEventListener','abort','PageUp','_rafUpdate','isRunning','stop','scrollHeight','1259272VvuAiA','scrollTo','auto','Home','6VqTBeG','wheel','signal','580564RqDMrB','destroy','1500256PnpdFn','keydown','ArrowDown','type','element','bind','2494270OVLcya','touchstart','27OEmrws'];_0x3329=function(){return _0x207bd3;};return _0x3329();}const ts=[_0x1947c4(0x1d0),_0x1947c4(0x1db),_0x1947c4(0x1ed),_0x1947c4(0x1d5)],ss=[_0x1947c4(0x1e7),_0x1947c4(0x1d6),_0x1947c4(0x1f1),_0x1947c4(0x1e2),_0x1947c4(0x1f9),_0x1947c4(0x1e3),'\x20'];export class ScrollManager{[_0x1947c4(0x1d8)];[_0x1947c4(0x1e0)];[_0x1947c4(0x1f3)];[_0x1947c4(0x1e1)];[_0x1947c4(0x1dd)];constructor(_0x575f50){const _0x211746=_0x1947c4;this[_0x211746(0x1d8)]=_0x575f50,this[_0x211746(0x1e0)]=null,this[_0x211746(0x1f3)]=!0x1,this[_0x211746(0x1e1)]=new AbortController(),this[_0x211746(0x1dd)]=!0x1;for(const _0x16c1a6 of ts){const _0x590272=_0x211746(0x1d5)!==_0x16c1a6;this[_0x211746(0x1d8)][_0x211746(0x1ef)](_0x16c1a6,this[_0x211746(0x1ec)][_0x211746(0x1d9)](this),{'passive':_0x590272,'signal':this[_0x211746(0x1e1)][_0x211746(0x1d1)]});}}[_0x1947c4(0x1e6)](){const _0x21306e=_0x1947c4;this[_0x21306e(0x1f3)]||(this[_0x21306e(0x1f3)]=!0x0,this[_0x21306e(0x1dd)]=!0x1,this[_0x21306e(0x1e0)]=requestAnimationFrame(this[_0x21306e(0x1f2)][_0x21306e(0x1d9)](this)));}[_0x1947c4(0x1f4)](){requestAnimationFrame(()=>{const _0x4ca49e=_0x4ac6;this[_0x4ca49e(0x1e8)]();});}[_0x1947c4(0x1d3)](){const _0x3a6593=_0x1947c4;this[_0x3a6593(0x1e8)](),this[_0x3a6593(0x1e1)][_0x3a6593(0x1f0)]();}[_0x1947c4(0x1e8)](){const _0x43470c=_0x1947c4;null!==this[_0x43470c(0x1e0)]&&(cancelAnimationFrame(this[_0x43470c(0x1e0)]),this[_0x43470c(0x1e0)]=null),this[_0x43470c(0x1f3)]&&(this[_0x43470c(0x1f3)]=!0x1),this[_0x43470c(0x1dd)]=!0x1;}[_0x1947c4(0x1ec)](_0x27e76a){const _0x130150=_0x1947c4;if(this[_0x130150(0x1f3)]){if(_0x130150(0x1d5)===_0x27e76a[_0x130150(0x1d7)]){const _0x196942=_0x27e76a[_0x130150(0x1eb)];if(!ss[_0x130150(0x1ee)](_0x196942))return;}_0x27e76a instanceof WheelEvent?_0x27e76a[_0x130150(0x1df)]<0x0?this[_0x130150(0x1dd)]=!0x0:this[_0x130150(0x1dd)]=!this[_0x130150(0x1e4)]():this[_0x130150(0x1dd)]=!0x0;}}[_0x1947c4(0x1e4)](){const _0x3a6e33=_0x1947c4,{scrollTop:_0x56bebd,scrollHeight:_0x2a7723,clientHeight:_0x9d2675}=this[_0x3a6e33(0x1d8)];return _0x2a7723-_0x56bebd-_0x9d2675<=0x5;}[_0x1947c4(0x1f2)](){const _0x25d726=_0x1947c4;this[_0x25d726(0x1f3)]&&(this[_0x25d726(0x1dd)]||this[_0x25d726(0x1d8)][_0x25d726(0x1f7)]({'top':this[_0x25d726(0x1d8)][_0x25d726(0x1f5)],'behavior':_0x25d726(0x1f8)}),this[_0x25d726(0x1e0)]=requestAnimationFrame(this[_0x25d726(0x1f2)][_0x25d726(0x1d9)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3776eb=_0x527c;(function(_0x470edf,_0x5d46f6){var _0x2a48a2=_0x527c,_0x3d304c=_0x470edf();while(!![]){try{var _0x1cb197=parseInt(_0x2a48a2(0x14c))/0x1+parseInt(_0x2a48a2(0x143))/0x2*(parseInt(_0x2a48a2(0x14b))/0x3)+-parseInt(_0x2a48a2(0x141))/0x4+parseInt(_0x2a48a2(0x14a))/0x5*(-parseInt(_0x2a48a2(0x146))/0x6)+parseInt(_0x2a48a2(0x144))/0x7*(parseInt(_0x2a48a2(0x149))/0x8)+-parseInt(_0x2a48a2(0x13f))/0x9+parseInt(_0x2a48a2(0x13d))/0xa*(parseInt(_0x2a48a2(0x13e))/0xb);if(_0x1cb197===_0x5d46f6)break;else _0x3d304c['push'](_0x3d304c['shift']());}catch(_0x52c7ff){_0x3d304c['push'](_0x3d304c['shift']());}}}(_0x3714,0x43ea1));function _0x527c(_0x255a49,_0x5346b6){var _0x371439=_0x3714();return _0x527c=function(_0x527c61,_0x302cb3){_0x527c61=_0x527c61-0x13d;var _0x527956=_0x371439[_0x527c61];return _0x527956;},_0x527c(_0x255a49,_0x5346b6);}import{ContextPlugin as _0x3598ae}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0xbe7694}from'./aichathistorycontroller.js';function _0x3714(){var _0x48a379=['1059138UusoNj','requires','1818872ZTIVbN','isPremiumPlugin','16ndrcHs','1533djPspk','pluginName','6gGTFMH','isOfficialPlugin','AIChatHistory','17192pGFADL','1640250HWCepR','118860CeKGLd','113033KknHmS','10iRwBWE','3058033gwaqIP'];_0x3714=function(){return _0x48a379;};return _0x3714();}import{AIChatHistoryUI as _0x58c3a5}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3598ae{static get[_0x3776eb(0x140)](){return[_0xbe7694,_0x58c3a5];}static get[_0x3776eb(0x145)](){var _0x428f95=_0x3776eb;return _0x428f95(0x148);}static get[_0x3776eb(0x147)](){return!0x0;}static get[_0x3776eb(0x142)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xa9c90e=_0x1244;(function(_0x5c7c9b,_0x3ba61f){const _0x346fb3=_0x1244,_0x114c3d=_0x5c7c9b();while(!![]){try{const _0x2999ab=-parseInt(_0x346fb3(0x1d9))/0x1+parseInt(_0x346fb3(0x214))/0x2*(-parseInt(_0x346fb3(0x1d4))/0x3)+-parseInt(_0x346fb3(0x1da))/0x4*(-parseInt(_0x346fb3(0x20d))/0x5)+-parseInt(_0x346fb3(0x1c9))/0x6+parseInt(_0x346fb3(0x1bf))/0x7*(-parseInt(_0x346fb3(0x20b))/0x8)+-parseInt(_0x346fb3(0x1d8))/0x9*(parseInt(_0x346fb3(0x1ff))/0xa)+parseInt(_0x346fb3(0x203))/0xb*(parseInt(_0x346fb3(0x21a))/0xc);if(_0x2999ab===_0x3ba61f)break;else _0x114c3d['push'](_0x114c3d['shift']());}catch(_0x1015ac){_0x114c3d['push'](_0x114c3d['shift']());}}}(_0x2921,0xab01f));import{ContextPlugin as _0x37f415}from'ckeditor5/src/core.js';import{AIConnector as _0x96e38c}from'../aicore/aiconnector.js';import{AIChatController as _0x349bc4}from'../aichat/aichatcontroller.js';function _0x1244(_0x573447,_0x328ded){const _0x292197=_0x2921();return _0x1244=function(_0x124448,_0x3a888b){_0x124448=_0x124448-0x1b7;let _0x239e3a=_0x292197[_0x124448];return _0x239e3a;},_0x1244(_0x573447,_0x328ded);}import{AITabs as _0x35e4bb}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0xd48f2e}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x32f488}from'./model/aichathistoryconversations.js';import{getTranslation as _0x390741}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x37f415{[_0xa9c90e(0x1ca)];[_0xa9c90e(0x1ba)];[_0xa9c90e(0x1c0)];static get[_0xa9c90e(0x1f3)](){return[_0x96e38c,_0x349bc4,_0xd48f2e,_0x35e4bb];}static get[_0xa9c90e(0x1e3)](){const _0x5bc551=_0xa9c90e;return _0x5bc551(0x1fa);}static get[_0xa9c90e(0x1c5)](){return!0x0;}static get[_0xa9c90e(0x1be)](){return!0x0;}[_0xa9c90e(0x1bc)](){const _0x5d0909=_0xa9c90e;this[_0x5d0909(0x1ca)]=this[_0x5d0909(0x213)][_0x5d0909(0x1f4)][_0x5d0909(0x1d0)](_0x96e38c),this[_0x5d0909(0x1ba)]=this[_0x5d0909(0x213)][_0x5d0909(0x1f4)][_0x5d0909(0x1d0)](_0xd48f2e),this[_0x5d0909(0x1c0)]=this[_0x5d0909(0x213)][_0x5d0909(0x1f4)][_0x5d0909(0x1d0)](_0x349bc4);const _0x433573=this[_0x5d0909(0x213)][_0x5d0909(0x1f4)][_0x5d0909(0x1d0)](_0x35e4bb),_0x5928c2=this[_0x5d0909(0x1c0)][_0x5d0909(0x1d6)]();this[_0x5d0909(0x1eb)]=new _0x32f488({'connector':this[_0x5d0909(0x1ca)],'group':_0x5928c2}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1d5),(_0x36c4be,_0x56480f)=>{const _0x1f2666=_0x5d0909;this[_0x1f2666(0x1bb)](_0x56480f['id'],_0x1f2666(0x1e6)),this[_0x1f2666(0x1cf)](_0x56480f['id']);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1b7),(_0x3d22ea,_0x3527e7)=>{const _0x13e833=_0x5d0909;this[_0x13e833(0x1bb)](_0x3527e7['id'],_0x13e833(0x200)),this[_0x13e833(0x20e)](_0x3527e7['id'],_0x3527e7[_0x13e833(0x1dc)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1eb)],_0x5d0909(0x1fd),(_0x48c7ca,_0x1b81c7)=>{const _0x57ef0c=_0x5d0909;void 0x0!==_0x1b81c7[_0x57ef0c(0x1dd)][_0x57ef0c(0x1dc)]&&this[_0x57ef0c(0x1ba)][_0x57ef0c(0x218)](_0x1b81c7[_0x57ef0c(0x1f8)],_0x1b81c7[_0x57ef0c(0x1dd)][_0x57ef0c(0x1dc)]),void 0x0!==_0x1b81c7[_0x57ef0c(0x1dd)][_0x57ef0c(0x1ce)]&&this[_0x57ef0c(0x1c3)](),this[_0x57ef0c(0x1d1)](_0x1b81c7[_0x57ef0c(0x1f8)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1eb)],_0x5d0909(0x215),(_0xfb4b73,_0x108962)=>{const _0x263bed=_0x5d0909;this[_0x263bed(0x1c0)][_0x263bed(0x20a)](_0x108962[_0x263bed(0x1f8)]),this[_0x263bed(0x1ba)][_0x263bed(0x208)](_0x108962[_0x263bed(0x1f8)]),this[_0x263bed(0x1d1)](_0x108962[_0x263bed(0x1f8)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1eb)],_0x5d0909(0x1b9),()=>{const _0xb9361a=_0x5d0909;this[_0xb9361a(0x1c3)]();}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1eb)],_0x5d0909(0x1d7),(_0x585e47,_0x2bce18)=>{const _0x3502de=_0x5d0909;this[_0x3502de(0x1bd)](_0x2bce18[_0x3502de(0x1d7)],_0x2bce18[_0x3502de(0x1e8)],_0x2bce18[_0x3502de(0x1f8)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1e5),(_0x53f244,_0x551f83)=>{const _0x49f5c2=_0x5d0909;this[_0x49f5c2(0x1ee)](_0x551f83['id']);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x21d),(_0x2f13a2,_0x581253)=>{const _0x159131=_0x5d0909,_0x27164e=_0x581253[_0x159131(0x1ce)]?_0x159131(0x20f):_0x159131(0x1e4);this[_0x159131(0x1bb)](_0x581253['id'],_0x27164e),this[_0x159131(0x1fe)](_0x581253['id'],_0x581253[_0x159131(0x1ce)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1e7),()=>{const _0x86cb2=_0x5d0909;_0x433573[_0x86cb2(0x1de)][_0x86cb2(0x1e0)](_0x86cb2(0x1e2));}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1c0)],_0x5d0909(0x204),()=>{const _0x1ff3a6=_0x5d0909;this[_0x1ff3a6(0x1c3)]();}),_0x433573[_0x5d0909(0x1de)]['on'](_0x5d0909(0x1f9),()=>{const _0x4c6023=_0x5d0909;this[_0x4c6023(0x1ea)]();}),this[_0x5d0909(0x20c)](_0x433573,_0x5d0909(0x1ef),(_0x2766ea,_0x904c1c)=>{const _0x55d41c=_0x5d0909;this[_0x55d41c(0x1d2)](_0x904c1c);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1c7),()=>{const _0x41ac07=_0x5d0909;_0x433573[_0x41ac07(0x1f1)]();});}async[_0xa9c90e(0x20e)](_0x416c6b,_0x352d7d){const _0x27777e=_0xa9c90e;await this[_0x27777e(0x1eb)][_0x27777e(0x218)](_0x416c6b,_0x352d7d);}async[_0xa9c90e(0x1fe)](_0x2b6c83,_0x2ae1dc){const _0x4caac2=_0xa9c90e;await this[_0x4caac2(0x1eb)][_0x4caac2(0x219)](_0x2b6c83,_0x2ae1dc);}async[_0xa9c90e(0x1cf)](_0x582619){const _0x32b742=_0xa9c90e;await this[_0x32b742(0x1eb)][_0x32b742(0x21c)](_0x582619);}async[_0xa9c90e(0x1ee)](_0x91e25e){const _0x2f579f=_0xa9c90e;await this[_0x2f579f(0x1c0)][_0x2f579f(0x1db)](_0x91e25e);}async[_0xa9c90e(0x1ea)](){const _0x8173bf=_0xa9c90e;this[_0x8173bf(0x1ba)][_0x8173bf(0x212)](''),this[_0x8173bf(0x1ba)][_0x8173bf(0x1fc)](!0x0),await this[_0x8173bf(0x1eb)][_0x8173bf(0x1bc)](),this[_0x8173bf(0x1ba)][_0x8173bf(0x1fc)](!0x1);}[_0xa9c90e(0x1c3)](){const _0x70610=_0xa9c90e,_0x1d82a8=this[_0x70610(0x1c0)][_0x70610(0x217)]?.['id'],_0x23501a=this[_0x70610(0x216)]()[_0x70610(0x1c2)](_0x276e42=>({'title':_0x276e42[_0x70610(0x1dc)],'items':_0x276e42[_0x70610(0x1c6)][_0x70610(0x1c2)](_0x68a61=>({'id':_0x68a61['id'],'title':_0x68a61[_0x70610(0x1dc)]||_0x390741(this[_0x70610(0x213)][_0x70610(0x1e9)],_0x70610(0x1c4)),'createdAt':new Date(_0x68a61[_0x70610(0x1e1)])[_0x70610(0x1f7)](),'active':_0x68a61['id']===_0x1d82a8,'pinned':_0x68a61[_0x70610(0x1ce)]}))}));this[_0x70610(0x1ba)][_0x70610(0x1ec)](_0x23501a);}[_0xa9c90e(0x1bb)](_0x1d11a0,_0x1efaea){const _0x33ee19=_0xa9c90e;this[_0x33ee19(0x1ba)][_0x33ee19(0x1f6)](_0x1d11a0,_0x1efaea,!0x0);}[_0xa9c90e(0x1d1)](_0x1a0d54){const _0x371cd0=_0xa9c90e;this[_0x371cd0(0x1ba)][_0x371cd0(0x1f6)](_0x1a0d54,null,!0x1);}[_0xa9c90e(0x1bd)](_0x558ace,_0x548ccf,_0x2943b7){const _0x404053=_0xa9c90e,_0x5f2f74=this[_0x404053(0x201)](_0x548ccf,_0x2943b7);this[_0x404053(0x1ba)][_0x404053(0x212)](_0x5f2f74),_0x2943b7&&this[_0x404053(0x1d1)](_0x2943b7),this[_0x404053(0x1ba)][_0x404053(0x1fc)](!0x1);}[_0xa9c90e(0x201)](_0x44d21b,_0xa39568){const _0x3de3dd=_0xa9c90e,_0xa7e170=_0xa39568?this[_0x3de3dd(0x1eb)][_0x3de3dd(0x1cd)](_0xa39568):null,_0x2b7cc9=_0xa7e170?.[_0x3de3dd(0x1dc)]||_0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x1c4));switch(_0x44d21b){case _0x3de3dd(0x218):return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x1fb),_0x2b7cc9);case _0x3de3dd(0x219):{const _0x45f34a=_0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0xa7e170?.[_0x3de3dd(0x1ce)]?_0x3de3dd(0x1cc):_0x3de3dd(0x21e));return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x205),[_0x45f34a,_0x2b7cc9]);}case _0x3de3dd(0x21c):return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x1cb),_0x2b7cc9);case _0x3de3dd(0x1bc):case _0x3de3dd(0x1df):return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x210));default:return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x1c1));}}[_0xa9c90e(0x216)](){const _0x3b64e2=_0xa9c90e,_0x119f06=new Date(),_0x3ce1d7=new Date(_0x119f06[_0x3b64e2(0x1f5)](),_0x119f06[_0x3b64e2(0x202)](),_0x119f06[_0x3b64e2(0x206)]()),_0x1a648a=new Date(_0x3ce1d7);_0x1a648a[_0x3b64e2(0x21b)](_0x1a648a[_0x3b64e2(0x206)]()-0x1);const _0x3b53d2=new Date(_0x3ce1d7);_0x3b53d2[_0x3b64e2(0x21b)](_0x3b53d2[_0x3b64e2(0x206)]()-0xe);const _0x51bd1=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'pinned':!0x0}),_0x3573ff=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'from':_0x3ce1d7,'to':_0x3ce1d7}),_0x5d118b=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'from':_0x1a648a,'to':_0x1a648a}),_0x2bd4fd=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'from':_0x3b53d2,'to':_0x1a648a}),_0x18ba9d=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'to':_0x3b53d2}),_0x1c288a=[];return _0x51bd1[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x1f0)),'items':_0x51bd1}),_0x3573ff[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x1f2)),'items':_0x3573ff}),_0x5d118b[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x207)),'items':_0x5d118b}),_0x2bd4fd[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x1b8)),'items':_0x2bd4fd}),_0x18ba9d[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x1c8)),'items':_0x18ba9d}),_0x1c288a;}[_0xa9c90e(0x1d2)](_0x55e859){const _0x1145f0=_0xa9c90e;this[_0x1145f0(0x1ba)][_0x1145f0(0x1ed)](_0x55e859);}}function _0x2921(){const _0x160886=['832531XsuuWy','563132oMVaJC','loadConversation','title','updates','view','loadItems','activateTab','createdAt','chat','pluginName','unpin','selectConversation','remove','openChat','operation','locale','_showConversationHistory','history','updateItems','setIsMaximized','_handleSelectConversation','resizedTabs','AI_CHAT_HISTORY_CATEGORY_PINNED','resize','AI_CHAT_HISTORY_CATEGORY_TODAY','requires','plugins','getFullYear','updateItemLoadingState','toLocaleDateString','itemId','activateTab:history','AIChatHistoryController','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','setLoadingSkeleton','itemUpdated','_handleTogglePin','460GQOcJb','rename','_generateErrorMessage','getMonth','11KSjOlB','change:activeConversation','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','getDate','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','removeHistoryItem','getItems','handleRemovedConversation','216jZmEgV','listenTo','40YIMbMv','_handleEditTitle','pin','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','length','showError','context','2Lmfwaq','itemRemoved','_getCategorizedItems','activeConversation','updateItemTitle','updateItemPinned','33385524vsLuGT','setDate','removeItem','setConversationPinned','AI_CHAT_HISTORY_PIN_ACTION','editConversationTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','itemsLoaded','_aiChatHistoryUi','_setItemLoading','init','_handleHistoryErrorUI','isPremiumPlugin','137277FLwPPW','_aiChatController','AI_CHAT_HISTORY_ERROR_GENERIC','map','_updateHistoryItemsUI','AI_CHAT_UNTITLED_CONVERSATION','isOfficialPlugin','items','resizeTabs','AI_CHAT_HISTORY_CATEGORY_LATER','5346282VdzBhe','_aiConnector','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_UNPIN_ACTION','getItem','pinned','_handleRemove','get','_clearItemLoading','_setIsMaximized','push','487833AyVuKI','removeConversation','getGroupId','error','155007lcXezO'];_0x2921=function(){return _0x160886;};return _0x2921();}
|
|
23
|
+
const _0x1cb046=_0x40e1;(function(_0x2de25c,_0x23d4a3){const _0x137f07=_0x40e1,_0x13d1ba=_0x2de25c();while(!![]){try{const _0x47849f=parseInt(_0x137f07(0x11d))/0x1*(parseInt(_0x137f07(0x153))/0x2)+-parseInt(_0x137f07(0xf2))/0x3*(parseInt(_0x137f07(0x117))/0x4)+parseInt(_0x137f07(0x149))/0x5*(parseInt(_0x137f07(0x138))/0x6)+-parseInt(_0x137f07(0x104))/0x7*(-parseInt(_0x137f07(0x14a))/0x8)+-parseInt(_0x137f07(0x11b))/0x9+parseInt(_0x137f07(0x107))/0xa*(-parseInt(_0x137f07(0x137))/0xb)+-parseInt(_0x137f07(0x151))/0xc*(parseInt(_0x137f07(0x13e))/0xd);if(_0x47849f===_0x23d4a3)break;else _0x13d1ba['push'](_0x13d1ba['shift']());}catch(_0x56d6a0){_0x13d1ba['push'](_0x13d1ba['shift']());}}}(_0x50ac,0x440e7));import{ContextPlugin as _0x525851}from'ckeditor5/src/core.js';import{AIConnector as _0x27b29e}from'../aicore/aiconnector.js';import{AIChatController as _0x521ca8}from'../aichat/aichatcontroller.js';import{AITabs as _0x55d834}from'../aitabs/aitabs.js';function _0x50ac(){const _0x1b6c06=['updateItemLoadingState','_setItemLoading','2471436dtGker','chat','1rejUGB','items','history','requires','AI_CHAT_HISTORY_CATEGORY_LATER','itemRemoved','_getCategorizedItems','getItem','_showConversationHistory','_generateErrorMessage','pin','pluginName','plugins','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','getDate','_handleEditTitle','updates','setIsMaximized','locale','rename','loadConversation','_clearItemLoading','view','AI_CHAT_HISTORY_CATEGORY_TODAY','AI_CHAT_HISTORY_UNPIN_ACTION','updateItemTitle','355894VpizdI','11478RchOTL','resize','AIChatHistoryController','_handleTogglePin','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','getFullYear','13559bpGgDb','operation','openChat','_handleSelectConversation','isOfficialPlugin','AI_CHAT_HISTORY_ERROR_GENERIC','_updateHistoryItemsUI','pinned','init','length','unpin','905iBgyjq','726096VkZnsy','_aiChatHistoryUi','getMonth','get','change:activeConversation','setLoadingSkeleton','selectConversation','3108EIDSCs','_handleHistoryErrorUI','1091576kEpHpG','AI_CHAT_UNTITLED_CONVERSATION','error','remove','removeItem','setConversationPinned','_aiConnector','showError','380847JyHgnp','itemsLoaded','handleRemovedConversation','updateItems','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_PIN_ACTION','createdAt','_handleRemove','map','loadItems','editConversationTitle','activeConversation','getGroupId','push','setDate','removeHistoryItem','itemId','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','7vlCfFw','resizeTabs','toLocaleDateString','10ZsrGZs','title','context','listenTo','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','isPremiumPlugin','activateTab','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','AI_CHAT_HISTORY_CATEGORY_PINNED','getItems','resizedTabs','removeConversation','_setIsMaximized','itemUpdated','_aiChatController','activateTab:history','4cjYaGU','updateItemPinned'];_0x50ac=function(){return _0x1b6c06;};return _0x50ac();}import{AIChatHistoryUI as _0x4d55ea}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x23ba21}from'./model/aichathistoryconversations.js';import{getTranslation as _0x9a32b0}from'../aicore/utils/common-translations.js';function _0x40e1(_0x557e5f,_0x5a4a15){const _0x50ac1b=_0x50ac();return _0x40e1=function(_0x40e1ef,_0x2356aa){_0x40e1ef=_0x40e1ef-0xf1;let _0x516c17=_0x50ac1b[_0x40e1ef];return _0x516c17;},_0x40e1(_0x557e5f,_0x5a4a15);}export class AIChatHistoryController extends _0x525851{[_0x1cb046(0x159)];[_0x1cb046(0x14b)];[_0x1cb046(0x115)];static get[_0x1cb046(0x120)](){return[_0x27b29e,_0x521ca8,_0x4d55ea,_0x55d834];}static get[_0x1cb046(0x128)](){const _0x1bc99e=_0x1cb046;return _0x1bc99e(0x13a);}static get[_0x1cb046(0x142)](){return!0x0;}static get[_0x1cb046(0x10c)](){return!0x0;}[_0x1cb046(0x146)](){const _0x57a640=_0x1cb046;this[_0x57a640(0x159)]=this[_0x57a640(0x109)][_0x57a640(0x129)][_0x57a640(0x14d)](_0x27b29e),this[_0x57a640(0x14b)]=this[_0x57a640(0x109)][_0x57a640(0x129)][_0x57a640(0x14d)](_0x4d55ea),this[_0x57a640(0x115)]=this[_0x57a640(0x109)][_0x57a640(0x129)][_0x57a640(0x14d)](_0x521ca8);const _0x584f22=this[_0x57a640(0x109)][_0x57a640(0x129)][_0x57a640(0x14d)](_0x55d834),_0x381408=this[_0x57a640(0x115)][_0x57a640(0xfe)]();this[_0x57a640(0x11f)]=new _0x23ba21({'connector':this[_0x57a640(0x159)],'group':_0x381408}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x112),(_0x26d0ec,_0x398a17)=>{const _0x137702=_0x57a640;this[_0x137702(0x11a)](_0x398a17['id'],_0x137702(0x156)),this[_0x137702(0xf9)](_0x398a17['id']);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0xfc),(_0x22c37c,_0x4af3b6)=>{const _0x47f1d7=_0x57a640;this[_0x47f1d7(0x11a)](_0x4af3b6['id'],_0x47f1d7(0x130)),this[_0x47f1d7(0x12c)](_0x4af3b6['id'],_0x4af3b6[_0x47f1d7(0x108)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x11f)],_0x57a640(0x114),(_0x2a9633,_0x4a451c)=>{const _0x253de6=_0x57a640;void 0x0!==_0x4a451c[_0x253de6(0x12d)][_0x253de6(0x108)]&&this[_0x253de6(0x14b)][_0x253de6(0x136)](_0x4a451c[_0x253de6(0x102)],_0x4a451c[_0x253de6(0x12d)][_0x253de6(0x108)]),void 0x0!==_0x4a451c[_0x253de6(0x12d)][_0x253de6(0x145)]&&this[_0x253de6(0x144)](),this[_0x253de6(0x132)](_0x4a451c[_0x253de6(0x102)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x11f)],_0x57a640(0x122),(_0x31e940,_0x56cd26)=>{const _0x13c758=_0x57a640;this[_0x13c758(0x115)][_0x13c758(0xf4)](_0x56cd26[_0x13c758(0x102)]),this[_0x13c758(0x14b)][_0x13c758(0x101)](_0x56cd26[_0x13c758(0x102)]),this[_0x13c758(0x132)](_0x56cd26[_0x13c758(0x102)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x11f)],_0x57a640(0xf3),()=>{const _0x42586b=_0x57a640;this[_0x42586b(0x144)]();}),this[_0x57a640(0x10a)](this[_0x57a640(0x11f)],_0x57a640(0x155),(_0x163bee,_0xefe69d)=>{const _0x579afa=_0x57a640;this[_0x579afa(0x152)](_0xefe69d[_0x579afa(0x155)],_0xefe69d[_0x579afa(0x13f)],_0xefe69d[_0x579afa(0x102)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x150),(_0x5b4d99,_0x3ca962)=>{const _0x5c2055=_0x57a640;this[_0x5c2055(0x141)](_0x3ca962['id']);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x158),(_0xff4170,_0x540a76)=>{const _0x4d83b4=_0x57a640,_0x3e1d0c=_0x540a76[_0x4d83b4(0x145)]?_0x4d83b4(0x127):_0x4d83b4(0x148);this[_0x4d83b4(0x11a)](_0x540a76['id'],_0x3e1d0c),this[_0x4d83b4(0x13b)](_0x540a76['id'],_0x540a76[_0x4d83b4(0x145)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x140),()=>{const _0x19a378=_0x57a640;_0x584f22[_0x19a378(0x133)][_0x19a378(0x10d)](_0x19a378(0x11c));}),this[_0x57a640(0x10a)](this[_0x57a640(0x115)],_0x57a640(0x14e),()=>{const _0x3c7f65=_0x57a640;this[_0x3c7f65(0x144)]();}),_0x584f22[_0x57a640(0x133)]['on'](_0x57a640(0x116),()=>{const _0x2cb73d=_0x57a640;this[_0x2cb73d(0x125)]();}),this[_0x57a640(0x10a)](_0x584f22,_0x57a640(0x111),(_0x5af5ed,_0x30df3d)=>{const _0x3f24c0=_0x57a640;this[_0x3f24c0(0x113)](_0x30df3d);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x105),()=>{const _0x12d199=_0x57a640;_0x584f22[_0x12d199(0x139)]();});}async[_0x1cb046(0x12c)](_0xe47f17,_0x1916bd){const _0x3d3421=_0x1cb046;await this[_0x3d3421(0x11f)][_0x3d3421(0x136)](_0xe47f17,_0x1916bd);}async[_0x1cb046(0x13b)](_0x4befd5,_0x3c4350){const _0x3e36b2=_0x1cb046;await this[_0x3e36b2(0x11f)][_0x3e36b2(0x118)](_0x4befd5,_0x3c4350);}async[_0x1cb046(0xf9)](_0x304b40){const _0x5dd04d=_0x1cb046;await this[_0x5dd04d(0x11f)][_0x5dd04d(0x157)](_0x304b40);}async[_0x1cb046(0x141)](_0x4bec93){const _0x5b858d=_0x1cb046;await this[_0x5b858d(0x115)][_0x5b858d(0x131)](_0x4bec93);}async[_0x1cb046(0x125)](){const _0x42dbc1=_0x1cb046;this[_0x42dbc1(0x14b)][_0x42dbc1(0xf1)](''),this[_0x42dbc1(0x14b)][_0x42dbc1(0x14f)](!0x0),await this[_0x42dbc1(0x11f)][_0x42dbc1(0x146)](),this[_0x42dbc1(0x14b)][_0x42dbc1(0x14f)](!0x1);}[_0x1cb046(0x144)](){const _0x51c476=_0x1cb046,_0xfa3d99=this[_0x51c476(0x115)][_0x51c476(0xfd)]?.['id'],_0x4f0163=this[_0x51c476(0x123)]()[_0x51c476(0xfa)](_0x4410da=>({'title':_0x4410da[_0x51c476(0x108)],'items':_0x4410da[_0x51c476(0x11e)][_0x51c476(0xfa)](_0x4a7509=>({'id':_0x4a7509['id'],'title':_0x4a7509[_0x51c476(0x108)]||_0x9a32b0(this[_0x51c476(0x109)][_0x51c476(0x12f)],_0x51c476(0x154)),'createdAt':new Date(_0x4a7509[_0x51c476(0xf8)])[_0x51c476(0x106)](),'active':_0x4a7509['id']===_0xfa3d99,'pinned':_0x4a7509[_0x51c476(0x145)]}))}));this[_0x51c476(0x14b)][_0x51c476(0xf5)](_0x4f0163);}[_0x1cb046(0x11a)](_0x3cf3ab,_0x3d917d){const _0x15e28f=_0x1cb046;this[_0x15e28f(0x14b)][_0x15e28f(0x119)](_0x3cf3ab,_0x3d917d,!0x0);}[_0x1cb046(0x132)](_0x5fee95){const _0xef57c4=_0x1cb046;this[_0xef57c4(0x14b)][_0xef57c4(0x119)](_0x5fee95,null,!0x1);}[_0x1cb046(0x152)](_0xcce371,_0x8d3c9f,_0x9c70a7){const _0x5e3fbc=_0x1cb046,_0xca471=this[_0x5e3fbc(0x126)](_0x8d3c9f,_0x9c70a7);this[_0x5e3fbc(0x14b)][_0x5e3fbc(0xf1)](_0xca471),_0x9c70a7&&this[_0x5e3fbc(0x132)](_0x9c70a7),this[_0x5e3fbc(0x14b)][_0x5e3fbc(0x14f)](!0x1);}[_0x1cb046(0x126)](_0x49b16c,_0x3d6e72){const _0x65606c=_0x1cb046,_0x29204f=_0x3d6e72?this[_0x65606c(0x11f)][_0x65606c(0x124)](_0x3d6e72):null,_0x31cc4e=_0x29204f?.[_0x65606c(0x108)]||_0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x154));switch(_0x49b16c){case _0x65606c(0x136):return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x103),_0x31cc4e);case _0x65606c(0x118):{const _0x36f4d8=_0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x29204f?.[_0x65606c(0x145)]?_0x65606c(0x135):_0x65606c(0xf7));return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0xf6),[_0x36f4d8,_0x31cc4e]);}case _0x65606c(0x157):return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x12a),_0x31cc4e);case _0x65606c(0x146):case _0x65606c(0xfb):return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x10b));default:return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x143));}}[_0x1cb046(0x123)](){const _0x384888=_0x1cb046,_0x5f4458=new Date(),_0x3ec2fa=new Date(_0x5f4458[_0x384888(0x13d)](),_0x5f4458[_0x384888(0x14c)](),_0x5f4458[_0x384888(0x12b)]()),_0x4025d3=new Date(_0x3ec2fa);_0x4025d3[_0x384888(0x100)](_0x4025d3[_0x384888(0x12b)]()-0x1);const _0x745ec7=new Date(_0x3ec2fa);_0x745ec7[_0x384888(0x100)](_0x745ec7[_0x384888(0x12b)]()-0xe);const _0x26801d=this[_0x384888(0x11f)][_0x384888(0x110)]({'pinned':!0x0}),_0x5bd1a7=this[_0x384888(0x11f)][_0x384888(0x110)]({'from':_0x3ec2fa,'to':_0x3ec2fa}),_0x13c8cb=this[_0x384888(0x11f)][_0x384888(0x110)]({'from':_0x4025d3,'to':_0x4025d3}),_0x4fdef8=this[_0x384888(0x11f)][_0x384888(0x110)]({'from':_0x745ec7,'to':_0x4025d3}),_0x277ebe=this[_0x384888(0x11f)][_0x384888(0x110)]({'to':_0x745ec7}),_0x483c9e=[];return _0x26801d[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x10f)),'items':_0x26801d}),_0x5bd1a7[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x134)),'items':_0x5bd1a7}),_0x13c8cb[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x13c)),'items':_0x13c8cb}),_0x4fdef8[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x10e)),'items':_0x4fdef8}),_0x277ebe[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x121)),'items':_0x277ebe}),_0x483c9e;}[_0x1cb046(0x113)](_0x410017){const _0x38c6b5=_0x1cb046;this[_0x38c6b5(0x14b)][_0x38c6b5(0x12e)](_0x410017);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xba9275=_0x8f4c;(function(_0x5b3f77,_0x2e7a07){const _0x35bd65=_0x8f4c,_0x2dfc96=_0x5b3f77();while(!![]){try{const _0x4d89a2=-parseInt(_0x35bd65(0x144))/0x1*(parseInt(_0x35bd65(0x157))/0x2)+parseInt(_0x35bd65(0x135))/0x3*(-parseInt(_0x35bd65(0x134))/0x4)+parseInt(_0x35bd65(0x143))/0x5+parseInt(_0x35bd65(0x13f))/0x6*(-parseInt(_0x35bd65(0x15f))/0x7)+parseInt(_0x35bd65(0x14c))/0x8*(parseInt(_0x35bd65(0x153))/0x9)+parseInt(_0x35bd65(0x141))/0xa*(-parseInt(_0x35bd65(0x148))/0xb)+-parseInt(_0x35bd65(0x158))/0xc*(-parseInt(_0x35bd65(0x142))/0xd);if(_0x4d89a2===_0x2e7a07)break;else _0x2dfc96['push'](_0x2dfc96['shift']());}catch(_0x56ee07){_0x2dfc96['push'](_0x2dfc96['shift']());}}}(_0x5822,0x78f61));import{ContextPlugin as _0x5dfa40}from'ckeditor5/src/core.js';import{AITabs as _0x6438d4}from'../aitabs/aitabs.js';import{IconAIHistory as _0x18e46b}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x47154f}from'./ui/aichathistoryview.js';function _0x8f4c(_0xc79d09,_0x4e6198){const _0x582283=_0x5822();return _0x8f4c=function(_0x8f4c40,_0x26840a){_0x8f4c40=_0x8f4c40-0x131;let _0x476478=_0x582283[_0x8f4c40];return _0x476478;},_0x8f4c(_0xc79d09,_0x4e6198);}import{getTranslation as _0x3a314a}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0xba9275(0x150),_0xba9275(0x15d),_0xba9275(0x15e),_0xba9275(0x13b),_0xba9275(0x14f),_0xba9275(0x15b),_0xba9275(0x14a)];export class AIChatHistoryUI extends _0x5dfa40{static get[_0xba9275(0x15a)](){return[_0x6438d4];}[_0xba9275(0x133)];static get[_0xba9275(0x138)](){const _0x4a95ff=_0xba9275;return _0x4a95ff(0x145);}static get[_0xba9275(0x154)](){return!0x0;}static get[_0xba9275(0x159)](){return!0x0;}constructor(_0x3fcbdb){const _0x4fb380=_0xba9275;super(_0x3fcbdb);const _0x5d8c9a=this[_0x4fb380(0x139)][_0x4fb380(0x137)][_0x4fb380(0x140)](_0x4fb380(0x149));this[_0x4fb380(0x133)]=new _0x47154f(this[_0x4fb380(0x139)][_0x4fb380(0x14b)],_0x5d8c9a[_0x4fb380(0x132)]),this[_0x4fb380(0x133)][_0x4fb380(0x15c)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x5d8c9a[_0x4fb380(0x161)][_0x4fb380(0x131)]({'id':_0x4fb380(0x147),'buttonLabel':_0x3a314a(this[_0x4fb380(0x139)][_0x4fb380(0x14b)],_0x4fb380(0x13c)),'buttonIcon':_0x18e46b,'order':0x0,'content':this[_0x4fb380(0x133)]});}[_0xba9275(0x136)](_0x3a9eb5){const _0x26c2f2=_0xba9275;this[_0x26c2f2(0x133)][_0x26c2f2(0x136)](_0x3a9eb5);}[_0xba9275(0x13d)](_0x56728a){const _0x2cc31f=_0xba9275;this[_0x2cc31f(0x133)][_0x2cc31f(0x14d)](_0x56728a);}[_0xba9275(0x156)](_0x11aad6,_0x43c77a){const _0x44a34c=_0xba9275;this[_0x44a34c(0x133)][_0x44a34c(0x156)](_0x11aad6,_0x43c77a);}[_0xba9275(0x160)](_0x45227f,_0x50490e,_0x1d5105){const _0x16eeb2=_0xba9275;this[_0x16eeb2(0x133)][_0x16eeb2(0x160)](_0x45227f,_0x50490e,_0x1d5105);}[_0xba9275(0x155)](_0x206388){const _0x3eba14=_0xba9275;this[_0x3eba14(0x133)][_0x3eba14(0x151)]=_0x206388;}[_0xba9275(0x152)](_0x5ac9bd){const _0x5d2e2b=_0xba9275;this[_0x5d2e2b(0x133)][_0x5d2e2b(0x146)]=_0x5ac9bd;}[_0xba9275(0x13a)](){const _0x3da6fb=_0xba9275;this[_0x3da6fb(0x133)][_0x3da6fb(0x146)]='';}[_0xba9275(0x13e)](_0x292a90){const _0xd06460=_0xba9275;this[_0xd06460(0x133)][_0xd06460(0x14e)]=_0x292a90;}}function _0x5822(){const _0x580453=['updateItems','setIsMaximized','534GWRQfV','get','1740BTexnk','2279459fyKVrv','3500885IPDBis','2082hRqskY','AIChatHistoryUI','errorMessage','history','49599FbewuC','AITabs','resizeTabs','locale','24useiur','updateHistoryItemsWithCategories','isMaximized','selectConversation','showConversationHistory','isLoading','showError','2167749zPdKbb','isOfficialPlugin','setLoadingSkeleton','updateItemTitle','158zTpiIk','72mukttB','isPremiumPlugin','requires','openChat','delegate','removeConversation','editConversationTitle','57197hUcIEa','updateItemLoadingState','view','addTab','showResizeButton','_historyView','1212392RZGVPy','3gLvzNc','removeHistoryItem','plugins','pluginName','context','hideError','setConversationPinned','AI_CHAT_HISTORY_HEADING'];_0x5822=function(){return _0x580453;};return _0x5822();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2d8a0f=_0x359d;(function(_0x2f3d44,_0x2ca296){const _0x58d500=_0x359d,_0x9cba31=_0x2f3d44();while(!![]){try{const _0x5a88d0=-parseInt(_0x58d500(0xaa))/0x1+parseInt(_0x58d500(0xa0))/0x2+-parseInt(_0x58d500(0xc0))/0x3+parseInt(_0x58d500(0x9f))/0x4+-parseInt(_0x58d500(0xb8))/0x5+parseInt(_0x58d500(0xb5))/0x6*(parseInt(_0x58d500(0xa8))/0x7)+parseInt(_0x58d500(0xca))/0x8;if(_0x5a88d0===_0x2ca296)break;else _0x9cba31['push'](_0x9cba31['shift']());}catch(_0x2b81b9){_0x9cba31['push'](_0x9cba31['shift']());}}}(_0x3380,0x1a719));import{EmitterMixin as _0x46c559}from'ckeditor5/src/utils.js';function _0x3380(){const _0x4df884=['itemsLoaded','splice','getItem','updatePinned','getFullYear','deleteConversation','fire','3493njILDi','map','160013gxenUo','removeItem','updateTitle','updateConversation','group','pinned','findIndex','find','itemUpdated','getConversations','getItems','1902xkYodq','updateItemTitle','filter','1013485OfTxua','init','createdAt','updateItemPinned','itemRemoved','addItem','loadItems','push','191904yraxWE','fetchConversations','getMonth','getResult','getDate','execute','connector','from','items','error','1563672qxCFAz','getTime','360332XXQxhW','182532MAPCDi'];_0x3380=function(){return _0x4df884;};return _0x3380();}function _0x359d(_0x4a379d,_0x1f6e1c){const _0x3380c5=_0x3380();return _0x359d=function(_0x359dc7,_0x55959e){_0x359dc7=_0x359dc7-0x9e;let _0x1cbb78=_0x3380c5[_0x359dc7];return _0x1cbb78;},_0x359d(_0x4a379d,_0x1f6e1c);}import{AIChatHistoryItem as _0x2611b3}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x46c559(){[_0x2d8a0f(0xc8)]=[];[_0x2d8a0f(0xc6)];[_0x2d8a0f(0xae)];constructor({connector:_0x5783f3,group:_0x2d02e1}){const _0x2dd0a4=_0x2d8a0f;super(),this[_0x2dd0a4(0xc6)]=_0x5783f3,this[_0x2dd0a4(0xae)]=_0x2d02e1;}async[_0x2d8a0f(0xb9)](){const _0x1305d2=_0x2d8a0f;try{const _0x19115d=this[_0x1305d2(0xc6)][_0x1305d2(0xc1)](this[_0x1305d2(0xae)]),_0x3902d8=await _0x19115d[_0x1305d2(0xb3)]();this[_0x1305d2(0xbe)](_0x3902d8);}catch(_0x301ec6){this[_0x1305d2(0xa7)](_0x1305d2(0xc9),{'error':_0x301ec6,'operation':_0x1305d2(0xb9)});}}[_0x2d8a0f(0xbd)](_0x18cb8e){const _0x276e5e=_0x2d8a0f;this[_0x276e5e(0xc8)][_0x276e5e(0xbf)](_0x18cb8e);}async[_0x2d8a0f(0xab)](_0x9403f0){const _0x3661b7=_0x2d8a0f,_0x3e9ad5=this[_0x3661b7(0xc8)][_0x3661b7(0xb0)](_0x4311ed=>_0x4311ed['id']===_0x9403f0);if(-0x1===_0x3e9ad5)return!0x1;try{return await this[_0x3661b7(0xc6)][_0x3661b7(0xa6)](_0x9403f0)[_0x3661b7(0xc5)](),this[_0x3661b7(0xc8)][_0x3661b7(0xa2)](_0x3e9ad5,0x1),this[_0x3661b7(0xa7)](_0x3661b7(0xbc),{'itemId':_0x9403f0}),!0x0;}catch(_0x542117){return this[_0x3661b7(0xa7)](_0x3661b7(0xc9),{'error':_0x542117,'operation':_0x3661b7(0xab),'itemId':_0x9403f0}),!0x1;}}[_0x2d8a0f(0xa3)](_0x2e30b2){const _0x5ce9ac=_0x2d8a0f;return this[_0x5ce9ac(0xc8)][_0x5ce9ac(0xb1)](_0x34fa4e=>_0x34fa4e['id']===_0x2e30b2);}async[_0x2d8a0f(0xb6)](_0x4e7ddd,_0x4e4d92){const _0x29267c=_0x2d8a0f,_0x512131=this[_0x29267c(0xa3)](_0x4e7ddd);if(!_0x512131)return!0x1;try{return await this[_0x29267c(0xc6)][_0x29267c(0xad)](_0x4e7ddd,{'title':_0x4e4d92})[_0x29267c(0xc3)](),_0x512131[_0x29267c(0xac)](_0x4e4d92),this[_0x29267c(0xa7)](_0x29267c(0xb2),{'itemId':_0x4e7ddd,'updates':{'title':_0x4e4d92}}),!0x0;}catch(_0x29ffad){return this[_0x29267c(0xa7)](_0x29267c(0xc9),{'error':_0x29ffad,'operation':_0x29267c(0xb6),'itemId':_0x4e7ddd}),!0x1;}}async[_0x2d8a0f(0xbb)](_0xbff32a,_0x240d25){const _0xa45210=_0x2d8a0f,_0x3476d0=this[_0xa45210(0xa3)](_0xbff32a);if(!_0x3476d0)return!0x1;try{return await this[_0xa45210(0xc6)][_0xa45210(0xad)](_0xbff32a,{'pinned':_0x240d25})[_0xa45210(0xc3)](),_0x3476d0[_0xa45210(0xa4)](_0x240d25),this[_0xa45210(0xa7)](_0xa45210(0xb2),{'itemId':_0xbff32a,'updates':{'pinned':_0x240d25}}),!0x0;}catch(_0x5dd987){return this[_0xa45210(0xa7)](_0xa45210(0xc9),{'error':_0x5dd987,'operation':_0xa45210(0xbb),'itemId':_0xbff32a}),!0x1;}}[_0x2d8a0f(0xbe)](_0x329ffc){const _0x3aa96f=_0x2d8a0f;try{this[_0x3aa96f(0xc8)]=[],_0x329ffc[_0x3aa96f(0xa9)](_0x332636=>{const _0x5535e0=_0x3aa96f;this[_0x5535e0(0xbd)](new _0x2611b3(_0x332636));}),this[_0x3aa96f(0xa7)](_0x3aa96f(0xa1),{'items':[...this[_0x3aa96f(0xc8)]]});}catch(_0x15ac38){this[_0x3aa96f(0xa7)](_0x3aa96f(0xc9),{'error':_0x15ac38,'operation':_0x3aa96f(0xbe)});}}[_0x2d8a0f(0xb4)](_0x799524={}){const _0x56c0ef=_0x2d8a0f,_0x233def=void 0x0!==_0x799524[_0x56c0ef(0xaf)]&&_0x799524[_0x56c0ef(0xaf)],_0x53c194=_0x799524[_0x56c0ef(0xc7)]?new Date(_0x799524[_0x56c0ef(0xc7)][_0x56c0ef(0xa5)](),_0x799524[_0x56c0ef(0xc7)][_0x56c0ef(0xc2)](),_0x799524[_0x56c0ef(0xc7)][_0x56c0ef(0xc4)]()):null,_0x51a28d=_0x799524['to']?new Date(_0x799524['to'][_0x56c0ef(0xa5)](),_0x799524['to'][_0x56c0ef(0xc2)](),_0x799524['to'][_0x56c0ef(0xc4)]()):null;return this[_0x56c0ef(0xc8)][_0x56c0ef(0xb7)](_0x8c10dc=>{const _0x19e493=_0x56c0ef;if(_0x8c10dc[_0x19e493(0xaf)]!==_0x233def)return!0x1;if(_0x51a28d){const _0x4a067e=new Date(_0x8c10dc[_0x19e493(0xba)][_0x19e493(0xa5)](),_0x8c10dc[_0x19e493(0xba)][_0x19e493(0xc2)](),_0x8c10dc[_0x19e493(0xba)][_0x19e493(0xc4)]());return _0x53c194?_0x53c194[_0x19e493(0x9e)]()===_0x51a28d[_0x19e493(0x9e)]()?_0x4a067e[_0x19e493(0x9e)]()===_0x53c194[_0x19e493(0x9e)]():_0x4a067e<_0x51a28d&&_0x4a067e>=_0x53c194:_0x4a067e<_0x51a28d;}return!0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x51276f=_0x53ee;(function(_0x11df91,_0x4168a3){var _0x8dadf5=_0x53ee,_0x47413e=_0x11df91();while(!![]){try{var _0x303ab5=parseInt(_0x8dadf5(0x1c8))/0x1*(-parseInt(_0x8dadf5(0x1c7))/0x2)+-parseInt(_0x8dadf5(0x1d1))/0x3*(-parseInt(_0x8dadf5(0x1cc))/0x4)+-parseInt(_0x8dadf5(0x1c9))/0x5*(-parseInt(_0x8dadf5(0x1ce))/0x6)+-parseInt(_0x8dadf5(0x1c2))/0x7*(-parseInt(_0x8dadf5(0x1c0))/0x8)+parseInt(_0x8dadf5(0x1cd))/0x9*(-parseInt(_0x8dadf5(0x1d2))/0xa)+parseInt(_0x8dadf5(0x1d3))/0xb*(parseInt(_0x8dadf5(0x1cb))/0xc)+-parseInt(_0x8dadf5(0x1d4))/0xd*(parseInt(_0x8dadf5(0x1cf))/0xe);if(_0x303ab5===_0x4168a3)break;else _0x47413e['push'](_0x47413e['shift']());}catch(_0x47f47e){_0x47413e['push'](_0x47413e['shift']());}}}(_0x37f8,0xb9f5c));import{ObservableMixin as _0x3adeea}from'ckeditor5/src/utils.js';function _0x53ee(_0x454040,_0x2842eb){var _0x37f87f=_0x37f8();return _0x53ee=function(_0x53eed1,_0x40d91d){_0x53eed1=_0x53eed1-0x1c0;var _0x28d04f=_0x37f87f[_0x53eed1];return _0x28d04f;},_0x53ee(_0x454040,_0x2842eb);}import{escape as _0x5e9d94}from'es-toolkit/compat';function _0x37f8(){var _0x1a6e85=['6458uKyHIB','389FYtlBi','11745IRflJC','updatePinned','12QmeHZb','4dKMmVa','4599657ohXHaO','426kCHPdI','14VnTtCB','createdAt','4089678HBiWve','10eRZBGe','9058489FNPObz','4714697pOIwCY','24hhKeoo','title','1255359PaxVDQ','pinned','updatedAt','set','updateTitle'];_0x37f8=function(){return _0x1a6e85;};return _0x37f8();}export class AIChatHistoryItem extends _0x3adeea(){['id'];[_0x51276f(0x1d0)];constructor({id:_0x5c26fd,title:_0x56ebc7,createdAt:_0x171817,updatedAt:_0x392636,pinned:_0xca9f02}){var _0x2269b3=_0x51276f;super(),this['id']=_0x5c26fd,this[_0x2269b3(0x1d0)]=new Date(_0x171817),this[_0x2269b3(0x1c5)](_0x2269b3(0x1c1),_0x56ebc7),this[_0x2269b3(0x1c5)](_0x2269b3(0x1c4),_0x392636?new Date(_0x392636):null),this[_0x2269b3(0x1c5)](_0x2269b3(0x1c3),_0xca9f02||!0x1);}[_0x51276f(0x1c6)](_0x333f04){var _0x72b796=_0x51276f;this[_0x72b796(0x1c5)](_0x72b796(0x1c1),_0x5e9d94(_0x333f04)),this[_0x72b796(0x1c4)]=new Date();}[_0x51276f(0x1ca)](_0x3febc5){var _0x505dd1=_0x51276f;this[_0x505dd1(0x1c5)](_0x505dd1(0x1c3),_0x3febc5),this[_0x505dd1(0x1c4)]=new Date();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3cc4b0=_0x1915;(function(_0xc3ae13,_0x14f909){const _0x17c3a6=_0x1915,_0x329d0f=_0xc3ae13();while(!![]){try{const _0x414e24=-parseInt(_0x17c3a6(0x1a6))/0x1+parseInt(_0x17c3a6(0x1a0))/0x2+parseInt(_0x17c3a6(0x181))/0x3+parseInt(_0x17c3a6(0x1ce))/0x4*(parseInt(_0x17c3a6(0x1d9))/0x5)+-parseInt(_0x17c3a6(0x186))/0x6*(-parseInt(_0x17c3a6(0x192))/0x7)+parseInt(_0x17c3a6(0x182))/0x8*(parseInt(_0x17c3a6(0x1cd))/0x9)+-parseInt(_0x17c3a6(0x1a5))/0xa;if(_0x414e24===_0x14f909)break;else _0x329d0f['push'](_0x329d0f['shift']());}catch(_0x2dffb3){_0x329d0f['push'](_0x329d0f['shift']());}}}(_0x1e89,0x411a7));import{ListItemView as _0x5bb682,HighlightedTextView as _0x4470eb,ButtonView as _0x2ced0a,ListView as _0x33d0cf,IconView as _0x330b0a,createDropdown as _0x40d630,InputTextView as _0x1bf9fd}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x218a9f,IconPin as _0xad588d,IconCheck as _0x196609,IconCancel as _0x3687bd}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x57fdb6,ConfirmMixin as _0x24f1c8}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x96815b}from'es-toolkit/compat';function _0x1e89(){const _0x2db064=['_createPinButtonView','ck-ai-chat-history__item-row','setConversationPinned','extendTemplate','_createMenuDropdownView','withText','tiny','edit:cancel','ck-ai-chat-history__item-main-content','ck-ai-chat-history__item-check-container','pinned','2657871gHIHep','4bklEDF','AI_CHAT_HISTORY_PIN_BUTTON','panelView','AI_CHAT_HISTORY_EDIT_NAME','isMatching','AI_CHAT_HISTORY_LOADING_RENAMING','LOADING_LABELS','AI_CHAT_HISTORY_LOADING_PINNING','key','click','ck-confirm-view-cancel','1486990jpjOfk','match','_createSpinnerView','_commitEditInputValue','isOn','setTemplate','label','selectConversation','ck-ai-loader','createCollection','1044945voPOgm','8pXjpnL','value','ck-ai-chat-history__item--active','span','53142nVPWJI','ck-ai-chat-history__item-actions','AI_CHAT_HISTORY_LOADING_UNPINNING','AI_CHAT_HISTORY_ACCEPT','set','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','items','ck-hidden','_createAcceptEditButtonView','_titleView','ck-ai-chat-history__item-date','focus','7pinyXX','panelPosition','then','addMany','AI_CHAT_HISTORY_REMOVE_CONFIRM','isVisible','string','AI_CHAT_HISTORY_LOADING_REMOVING','_createCancelEditButtonView','_createCheckView','updateTitle','fire','AI_CHAT_HISTORY_REMOVE','ck-ai-loader__text','555534zvhhMo','_createEditInputView','div','ck-ai-chat-history__item--edit','change:isEdit','5527880yrBiAL','408205aOUeRk','isEdit','execute','buttonView','bind','removeConversation','ck-ai-chat-history__item-title','mainContent','actions','add','showConfirm','Enter','loadingState','highlightText','element','ck-ai-chat-history__item-check','listitem','ck-ai-chat-history__item-content','ck-ai-chat-history__item','text','ck-confirm-view-submit','updateLoadingState','locale','AI_CHAT_HISTORY_CANCEL','clear','editConversationTitle','bindTemplate','children'];_0x1e89=function(){return _0x2db064;};return _0x1e89();}import{AISpinnerView as _0x12dd92}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x1f1fb6}from'../../aicore/utils/common-translations.js';function _0x1915(_0xe0e51a,_0x26b704){const _0x1e89e7=_0x1e89();return _0x1915=function(_0x1915b4,_0x20f2b8){_0x1915b4=_0x1915b4-0x180;let _0x4e8ffc=_0x1e89e7[_0x1915b4];return _0x4e8ffc;},_0x1915(_0xe0e51a,_0x26b704);}export class AIChatHistoryListItemView extends _0x24f1c8(_0x5bb682){['id'];static [_0x3cc4b0(0x1d4)]={'remove':_0x3cc4b0(0x199),'rename':_0x3cc4b0(0x1d3),'pin':_0x3cc4b0(0x1d5),'unpin':_0x3cc4b0(0x188)};[_0x3cc4b0(0x1ae)];[_0x3cc4b0(0x1ad)];[_0x3cc4b0(0x18f)];constructor(_0x3d9631,_0x3bf261){const _0x2bd751=_0x3cc4b0;super(_0x3d9631);const _0x280e32=this[_0x2bd751(0x1c0)];this[_0x2bd751(0x18a)](_0x2bd751(0x1a7),!0x1),this[_0x2bd751(0x18a)](_0x2bd751(0x197),!0x0),this[_0x2bd751(0x18a)](_0x2bd751(0x1cc),!!_0x3bf261[_0x2bd751(0x1cc)]),this[_0x2bd751(0x18a)](_0x2bd751(0x1b2),null),this['id']=_0x3bf261['id'];const {title:_0x57c158,createdAt:_0x3bf9a3,active:_0x2e0654=!0x1}=_0x3bf261;this[_0x2bd751(0x18f)]=new _0x4470eb(),this[_0x2bd751(0x18f)][_0x2bd751(0x1b9)]=_0x57c158,this[_0x2bd751(0x18f)][_0x2bd751(0x1c5)]({'attributes':{'class':[_0x2bd751(0x1ac)]}});const _0x33e0d1=this[_0x2bd751(0x19b)](),_0x378ce5=this[_0x2bd751(0x1c2)](_0x3d9631),_0x1d2fbe=this[_0x2bd751(0x1c6)](),_0x274973=this[_0x2bd751(0x1a1)](_0x3d9631,_0x57c158),_0x5c441e=this[_0x2bd751(0x18e)](_0x3d9631,_0x274973),_0xe4049c=this[_0x2bd751(0x19a)](_0x3d9631,_0x274973);this[_0x2bd751(0x1ae)]=this[_0x2bd751(0x180)](),this[_0x2bd751(0x1ad)]=this[_0x2bd751(0x180)](),this[_0x2bd751(0x1ad)][_0x2bd751(0x1af)](this[_0x2bd751(0x18f)]),this[_0x2bd751(0x1ae)][_0x2bd751(0x1af)](_0x378ce5),this[_0x2bd751(0x1ae)][_0x2bd751(0x1af)](_0x1d2fbe),this['on'](_0x2bd751(0x1a4),(_0x438d1b,_0x22e805,_0x28d1cd)=>{const _0x31687b=_0x2bd751;this[_0x31687b(0x1ae)][_0x31687b(0x1be)](),this[_0x31687b(0x1ad)][_0x31687b(0x1be)](),_0x28d1cd?(this[_0x31687b(0x1ae)][_0x31687b(0x1af)](_0x5c441e),this[_0x31687b(0x1ae)][_0x31687b(0x1af)](_0xe4049c),this[_0x31687b(0x1ad)][_0x31687b(0x1af)](_0x274973),_0x274973[_0x31687b(0x1b4)][_0x31687b(0x191)]()):(this[_0x31687b(0x1ae)][_0x31687b(0x1af)](_0x378ce5),this[_0x31687b(0x1ae)][_0x31687b(0x1af)](_0x1d2fbe),this[_0x31687b(0x1ad)][_0x31687b(0x1af)](this[_0x31687b(0x18f)]));}),this[_0x2bd751(0x1de)]({'tag':'li','attributes':{'class':[_0x2bd751(0x1b8),_0x2e0654?_0x2bd751(0x184):'',_0x280e32['if'](_0x2bd751(0x197),_0x2bd751(0x18d),_0x1632e1=>!_0x1632e1),_0x280e32['if'](_0x2bd751(0x1a7),_0x2bd751(0x1a3))],'role':_0x2bd751(0x1b6)},'children':[{'tag':_0x2bd751(0x185),'attributes':{'class':[_0x2bd751(0x1cb)]},'children':[{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1b5),_0x280e32['if'](_0x2bd751(0x1b2),_0x2bd751(0x18d),_0x22098b=>!!_0x22098b)]},'children':_0x2e0654?[_0x33e0d1]:[]},{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1e1),_0x280e32['if'](_0x2bd751(0x1b2),_0x2bd751(0x18d),_0x32157a=>!_0x32157a)]},'children':[this[_0x2bd751(0x1db)]()]}]},{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1c3)]},'children':[{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1b7)]},'on':{'click':this[_0x2bd751(0x1c0)]['to'](_0x2bd751(0x1d7))},'children':[{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1ca)]},'children':[{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1ac),_0x280e32['if'](_0x2bd751(0x1b2),_0x2bd751(0x18d),_0x5778cf=>!!_0x5778cf)]},'children':this[_0x2bd751(0x1ad)]},{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x19f),_0x280e32['if'](_0x2bd751(0x1b2),_0x2bd751(0x18d),_0x35308c=>!_0x35308c)]},'children':[{'text':_0x280e32['to'](_0x2bd751(0x1b2),_0x5b9df2=>_0x5b9df2?_0x1f1fb6(this[_0x2bd751(0x1bc)],AIChatHistoryListItemView[_0x2bd751(0x1d4)][_0x5b9df2]):'')}]}]},{'tag':_0x2bd751(0x185),'attributes':{'class':[_0x2bd751(0x190)]},'children':[_0x3bf9a3]}]},{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x187)]},'children':this[_0x2bd751(0x1ae)]}]}]}),this['on'](_0x2bd751(0x1d7),()=>{const _0x848556=_0x2bd751;this[_0x848556(0x1a7)]||this[_0x848556(0x19d)](_0x848556(0x1e0),{'id':this['id']});});}[_0x3cc4b0(0x19c)](_0x43d690){const _0x39437a=_0x3cc4b0;this[_0x39437a(0x18f)][_0x39437a(0x1b9)]=_0x96815b(_0x43d690);}[_0x3cc4b0(0x1bb)](_0x1f7c6e,_0x1a3af6){const _0x5b426c=_0x3cc4b0;this[_0x5b426c(0x18a)](_0x5b426c(0x1b2),_0x1a3af6?_0x1f7c6e:null);}[_0x3cc4b0(0x19b)](){const _0x32c5ac=_0x3cc4b0,_0x2894ee=new _0x330b0a();return _0x2894ee[_0x32c5ac(0x18a)]({'content':_0x196609}),_0x2894ee;}[_0x3cc4b0(0x1c2)](_0x11cfe3){const _0x3263d6=_0x3cc4b0,_0x40f3fd=new _0x2ced0a(_0x11cfe3);return _0x40f3fd[_0x3263d6(0x18a)]({'label':_0x1f1fb6(_0x11cfe3,_0x3263d6(0x1cf)),'icon':_0xad588d,'withText':!0x1,'tooltip':!0x0}),_0x40f3fd[_0x3263d6(0x1aa)](_0x3263d6(0x1dd))['to'](this,_0x3263d6(0x1cc)),_0x40f3fd['on'](_0x3263d6(0x1a8),()=>{const _0x29c728=_0x3263d6,_0x96d331=!this[_0x29c728(0x1cc)];this[_0x29c728(0x19d)](_0x29c728(0x1c4),{'id':this['id'],'pinned':_0x96d331});}),_0x40f3fd;}[_0x3cc4b0(0x1c6)](){const _0x360078=_0x3cc4b0,_0x57ba26=_0x40d630(this[_0x360078(0x1bc)],_0x57fdb6),_0x1d26f6=_0x57ba26[_0x360078(0x1d0)][_0x360078(0x1c1)];_0x57ba26[_0x360078(0x1a9)][_0x360078(0x18a)]({'label':_0x1f1fb6(this[_0x360078(0x1bc)],_0x360078(0x18b)),'icon':_0x218a9f}),_0x57ba26[_0x360078(0x193)]='sw';const _0x8a076f=new _0x2ced0a(this[_0x360078(0x1bc)]);_0x8a076f[_0x360078(0x1df)]=_0x1f1fb6(this[_0x360078(0x1bc)],_0x360078(0x1d1)),_0x8a076f[_0x360078(0x1c7)]=!0x0,_0x8a076f['on'](_0x360078(0x1a8),()=>{const _0x4bb460=_0x360078;this[_0x4bb460(0x1a7)]=!0x0;});const _0xe2a6ac=new _0x2ced0a(this[_0x360078(0x1bc)]);_0xe2a6ac[_0x360078(0x1df)]=_0x1f1fb6(this[_0x360078(0x1bc)],_0x360078(0x19e)),_0xe2a6ac[_0x360078(0x1c7)]=!0x0,_0xe2a6ac['on'](_0x360078(0x1a8),()=>{const _0x221919=_0x360078;this[_0x221919(0x1b0)](_0x1f1fb6(this[_0x221919(0x1bc)],_0x221919(0x196)),this[_0x221919(0x1b4)])[_0x221919(0x194)](()=>{const _0x2185ad=_0x221919;this[_0x2185ad(0x19d)](_0x2185ad(0x1ab),{'id':this['id']});});});const _0x25d7cf=new _0x33d0cf(this[_0x360078(0x1bc)]),_0x245dcc=new _0x5bb682(this[_0x360078(0x1bc)]);_0x245dcc[_0x360078(0x1c1)][_0x360078(0x1af)](_0x8a076f);const _0x8bfa93=new _0x5bb682(this[_0x360078(0x1bc)]);return _0x8bfa93[_0x360078(0x1c1)][_0x360078(0x1af)](_0xe2a6ac),_0x25d7cf[_0x360078(0x18c)][_0x360078(0x195)]([_0x245dcc,_0x8bfa93]),_0x1d26f6[_0x360078(0x1af)](_0x25d7cf),_0x57ba26;}[_0x3cc4b0(0x1a1)](_0x3b6545,_0x2e3d6b){const _0x234947=_0x3cc4b0,_0x457bee=new _0x1bf9fd(_0x3b6545),_0x384366=_0x457bee[_0x234947(0x1c0)];return _0x457bee[_0x234947(0x183)]=_0x2e3d6b,_0x457bee[_0x234947(0x1c5)]({'on':{'keydown':_0x384366['to'](_0x3a37e9=>{const _0xa6b44d=_0x234947;_0xa6b44d(0x1b1)==_0x3a37e9[_0xa6b44d(0x1d6)]&&this[_0xa6b44d(0x1dc)](_0x457bee);})}}),_0x457bee;}[_0x3cc4b0(0x18e)](_0x120dbb,_0x1ba822){const _0x38d5d2=_0x3cc4b0,_0x5da68b=new _0x2ced0a(_0x120dbb);return _0x5da68b[_0x38d5d2(0x18a)]({'icon':_0x196609,'withText':!0x1,'tooltip':_0x1f1fb6(_0x120dbb,_0x38d5d2(0x189))}),_0x5da68b[_0x38d5d2(0x1c5)]({'attributes':{'class':[_0x38d5d2(0x1ba)]}}),_0x5da68b['on'](_0x38d5d2(0x1a8),()=>{const _0x5a4ed9=_0x38d5d2;this[_0x5a4ed9(0x1dc)](_0x1ba822);}),_0x5da68b;}[_0x3cc4b0(0x1dc)](_0x3ce4cd){const _0x2d277a=_0x3cc4b0,_0xbf4b71=_0x3ce4cd[_0x2d277a(0x1b4)][_0x2d277a(0x183)]||'';this[_0x2d277a(0x18f)][_0x2d277a(0x1b9)]=_0xbf4b71,this[_0x2d277a(0x1a7)]=!0x1,this[_0x2d277a(0x19d)](_0x2d277a(0x1bf),{'id':this['id'],'title':_0xbf4b71});}[_0x3cc4b0(0x19a)](_0x432967,_0x2d599a){const _0x327b39=_0x3cc4b0,_0xf49b9e=new _0x2ced0a(_0x432967);return _0xf49b9e[_0x327b39(0x18a)]({'icon':_0x3687bd,'withText':!0x1,'tooltip':_0x1f1fb6(_0x432967,_0x327b39(0x1bd))}),_0xf49b9e[_0x327b39(0x1c5)]({'attributes':{'class':[_0x327b39(0x1d8)]}}),_0xf49b9e['on'](_0x327b39(0x1a8),()=>{const _0x421046=_0x327b39;this[_0x421046(0x1a7)]=!0x1,_0x2d599a[_0x421046(0x183)]=this[_0x421046(0x18f)][_0x421046(0x1b9)]||'',this[_0x421046(0x19d)](_0x421046(0x1c9));}),_0xf49b9e;}[_0x3cc4b0(0x1db)](){const _0x3ca24e=_0x3cc4b0,_0x510397=new _0x12dd92(_0x3ca24e(0x1c8));return _0x510397[_0x3ca24e(0x197)]=!0x0,_0x510397;}[_0x3cc4b0(0x1d2)](_0x126e55){const _0x2f9ea1=_0x3cc4b0;return this[_0x2f9ea1(0x18f)]&&_0x2f9ea1(0x198)==typeof this[_0x2f9ea1(0x18f)][_0x2f9ea1(0x1b9)]&&this[_0x2f9ea1(0x18f)][_0x2f9ea1(0x1b9)][_0x2f9ea1(0x1da)](_0x126e55)?{'title':!0x0}:null;}[_0x3cc4b0(0x1b3)](_0x49badf){const _0x25036e=_0x3cc4b0;this[_0x25036e(0x18f)][_0x25036e(0x1b3)](_0x49badf);}}
|
|
23
|
+
const _0x30f87b=_0x5789;(function(_0x5d2b07,_0x4eb62){const _0x3ce0f9=_0x5789,_0x995c5=_0x5d2b07();while(!![]){try{const _0x361a63=-parseInt(_0x3ce0f9(0x142))/0x1+parseInt(_0x3ce0f9(0x13d))/0x2*(parseInt(_0x3ce0f9(0x131))/0x3)+parseInt(_0x3ce0f9(0x13a))/0x4*(-parseInt(_0x3ce0f9(0xf0))/0x5)+-parseInt(_0x3ce0f9(0x12a))/0x6*(parseInt(_0x3ce0f9(0x111))/0x7)+parseInt(_0x3ce0f9(0x10a))/0x8+-parseInt(_0x3ce0f9(0x12f))/0x9+parseInt(_0x3ce0f9(0x122))/0xa;if(_0x361a63===_0x4eb62)break;else _0x995c5['push'](_0x995c5['shift']());}catch(_0x1bfb74){_0x995c5['push'](_0x995c5['shift']());}}}(_0x2bb7,0x9557c));import{ListItemView as _0x1809a9,HighlightedTextView as _0x4844ea,ButtonView as _0x255769,ListView as _0x4d29de,IconView as _0xd5fa86,createDropdown as _0x2df969,InputTextView as _0x247e66}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x597846,IconPin as _0x13b0e9,IconCheck as _0x40981d,IconCancel as _0x141836}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x12ed79,ConfirmMixin as _0x270a0e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2bb7(){const _0x2b0b93=['createCollection','span','AI_CHAT_HISTORY_LOADING_UNPINNING','items','_createPinButtonView','bind','key','AI_CHAT_HISTORY_LOADING_PINNING','updateTitle','AI_CHAT_HISTORY_LOADING_RENAMING','AI_CHAT_HISTORY_CANCEL','panelPosition','children','click','add','_createMenuDropdownView','withText','ck-ai-loader','ck-ai-chat-history__item--active','3665936qZdwbP','locale','isVisible','set','match','removeConversation','setConversationPinned','147oAGzPl','_createEditInputView','AI_CHAT_HISTORY_EDIT_NAME','ck-ai-chat-history__item-check-container','showConfirm','ck-ai-chat-history__item','clear','editConversationTitle','label','updateLoadingState','then','highlightText','div','ck-ai-chat-history__item--edit','_createAcceptEditButtonView','edit:cancel','buttonView','25864680XhpkIV','_titleView','listitem','ck-ai-chat-history__item-content','ck-ai-chat-history__item-main-content','_commitEditInputValue','execute','focus','53796AIoibD','Enter','ck-hidden','value','AI_CHAT_HISTORY_ACCEPT','6761889KAUoTL','ck-ai-chat-history__item-actions','6lVBSgP','change:isEdit','element','bindTemplate','extendTemplate','pinned','panelView','string','isOn','8uIzcof','fire','LOADING_LABELS','148756BPLbKo','AI_CHAT_HISTORY_REMOVE_CONFIRM','isMatching','_createSpinnerView','ck-confirm-view-cancel','727353pnDgFT','text','AI_CHAT_HISTORY_REMOVE','tiny','ck-ai-loader__text','_createCancelEditButtonView','_createCheckView','addMany','setTemplate','AI_CHAT_HISTORY_LOADING_REMOVING','isEdit','ck-confirm-view-submit','selectConversation','ck-ai-chat-history__item-check','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_PIN_BUTTON','2286995HHmbPI','loadingState','actions','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','mainContent','ck-ai-chat-history__item-title','ck-ai-chat-history__item-row'];_0x2bb7=function(){return _0x2b0b93;};return _0x2bb7();}function _0x5789(_0x4c9552,_0x66d130){const _0x2bb7ba=_0x2bb7();return _0x5789=function(_0x5789f3,_0x3a1109){_0x5789f3=_0x5789f3-0xe7;let _0x425178=_0x2bb7ba[_0x5789f3];return _0x425178;},_0x5789(_0x4c9552,_0x66d130);}import{escape as _0x592aee}from'es-toolkit/compat';import{AISpinnerView as _0x377153}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x597c78}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0x270a0e(_0x1809a9){['id'];static [_0x30f87b(0x13c)]={'remove':_0x30f87b(0xe9),'rename':_0x30f87b(0x100),'pin':_0x30f87b(0xfe),'unpin':_0x30f87b(0xf9)};[_0x30f87b(0xf2)];[_0x30f87b(0xf4)];[_0x30f87b(0x123)];constructor(_0x4279fd,_0x2d02b0){const _0x18cc19=_0x30f87b;super(_0x4279fd);const _0x22ddc0=this[_0x18cc19(0x134)];this[_0x18cc19(0x10d)](_0x18cc19(0xea),!0x1),this[_0x18cc19(0x10d)](_0x18cc19(0x10c),!0x0),this[_0x18cc19(0x10d)](_0x18cc19(0x136),!!_0x2d02b0[_0x18cc19(0x136)]),this[_0x18cc19(0x10d)](_0x18cc19(0xf1),null),this['id']=_0x2d02b0['id'];const {title:_0x110b40,createdAt:_0x566ae9,active:_0x183c87=!0x1}=_0x2d02b0;this[_0x18cc19(0x123)]=new _0x4844ea(),this[_0x18cc19(0x123)][_0x18cc19(0x143)]=_0x110b40,this[_0x18cc19(0x123)][_0x18cc19(0x135)]({'attributes':{'class':[_0x18cc19(0xf5)]}});const _0x3330b8=this[_0x18cc19(0x148)](),_0x258b2b=this[_0x18cc19(0xfb)](_0x4279fd),_0x13447c=this[_0x18cc19(0x106)](),_0x9a9d32=this[_0x18cc19(0x112)](_0x4279fd,_0x110b40),_0x157da9=this[_0x18cc19(0x11f)](_0x4279fd,_0x9a9d32),_0x40fee0=this[_0x18cc19(0x147)](_0x4279fd,_0x9a9d32);this[_0x18cc19(0xf2)]=this[_0x18cc19(0xf7)](),this[_0x18cc19(0xf4)]=this[_0x18cc19(0xf7)](),this[_0x18cc19(0xf4)][_0x18cc19(0x105)](this[_0x18cc19(0x123)]),this[_0x18cc19(0xf2)][_0x18cc19(0x105)](_0x258b2b),this[_0x18cc19(0xf2)][_0x18cc19(0x105)](_0x13447c),this['on'](_0x18cc19(0x132),(_0x5eb6fe,_0x3fe8a4,_0x326ed3)=>{const _0x5302a5=_0x18cc19;this[_0x5302a5(0xf2)][_0x5302a5(0x117)](),this[_0x5302a5(0xf4)][_0x5302a5(0x117)](),_0x326ed3?(this[_0x5302a5(0xf2)][_0x5302a5(0x105)](_0x157da9),this[_0x5302a5(0xf2)][_0x5302a5(0x105)](_0x40fee0),this[_0x5302a5(0xf4)][_0x5302a5(0x105)](_0x9a9d32),_0x9a9d32[_0x5302a5(0x133)][_0x5302a5(0x129)]()):(this[_0x5302a5(0xf2)][_0x5302a5(0x105)](_0x258b2b),this[_0x5302a5(0xf2)][_0x5302a5(0x105)](_0x13447c),this[_0x5302a5(0xf4)][_0x5302a5(0x105)](this[_0x5302a5(0x123)]));}),this[_0x18cc19(0xe8)]({'tag':'li','attributes':{'class':[_0x18cc19(0x116),_0x183c87?_0x18cc19(0x109):'',_0x22ddc0['if'](_0x18cc19(0x10c),_0x18cc19(0x12c),_0x30a4f2=>!_0x30a4f2),_0x22ddc0['if'](_0x18cc19(0xea),_0x18cc19(0x11e))],'role':_0x18cc19(0x124)},'children':[{'tag':_0x18cc19(0xf8),'attributes':{'class':[_0x18cc19(0x114)]},'children':[{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0xed),_0x22ddc0['if'](_0x18cc19(0xf1),_0x18cc19(0x12c),_0x59a2f6=>!!_0x59a2f6)]},'children':_0x183c87?[_0x3330b8]:[]},{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x108),_0x22ddc0['if'](_0x18cc19(0xf1),_0x18cc19(0x12c),_0x4c2d20=>!_0x4c2d20)]},'children':[this[_0x18cc19(0x140)]()]}]},{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0xf6)]},'children':[{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x125)]},'on':{'click':this[_0x18cc19(0x134)]['to'](_0x18cc19(0x104))},'children':[{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x126)]},'children':[{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0xf5),_0x22ddc0['if'](_0x18cc19(0xf1),_0x18cc19(0x12c),_0xce3b01=>!!_0xce3b01)]},'children':this[_0x18cc19(0xf4)]},{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x146),_0x22ddc0['if'](_0x18cc19(0xf1),_0x18cc19(0x12c),_0x36e8fe=>!_0x36e8fe)]},'children':[{'text':_0x22ddc0['to'](_0x18cc19(0xf1),_0x2266e6=>_0x2266e6?_0x597c78(this[_0x18cc19(0x10b)],AIChatHistoryListItemView[_0x18cc19(0x13c)][_0x2266e6]):'')}]}]},{'tag':_0x18cc19(0xf8),'attributes':{'class':[_0x18cc19(0xee)]},'children':[_0x566ae9]}]},{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x130)]},'children':this[_0x18cc19(0xf2)]}]}]}),this['on'](_0x18cc19(0x104),()=>{const _0x41fb35=_0x18cc19;this[_0x41fb35(0xea)]||this[_0x41fb35(0x13b)](_0x41fb35(0xec),{'id':this['id']});});}[_0x30f87b(0xff)](_0x3a5749){const _0x27d852=_0x30f87b;this[_0x27d852(0x123)][_0x27d852(0x143)]=_0x592aee(_0x3a5749);}[_0x30f87b(0x11a)](_0x2ff43d,_0xda2cdf){const _0x1d072d=_0x30f87b;this[_0x1d072d(0x10d)](_0x1d072d(0xf1),_0xda2cdf?_0x2ff43d:null);}[_0x30f87b(0x148)](){const _0x1a63b3=_0x30f87b,_0x5d2614=new _0xd5fa86();return _0x5d2614[_0x1a63b3(0x10d)]({'content':_0x40981d}),_0x5d2614;}[_0x30f87b(0xfb)](_0x3570e3){const _0x16d5ea=_0x30f87b,_0x2ffd81=new _0x255769(_0x3570e3);return _0x2ffd81[_0x16d5ea(0x10d)]({'label':_0x597c78(_0x3570e3,_0x16d5ea(0xef)),'icon':_0x13b0e9,'withText':!0x1,'tooltip':!0x0}),_0x2ffd81[_0x16d5ea(0xfc)](_0x16d5ea(0x139))['to'](this,_0x16d5ea(0x136)),_0x2ffd81['on'](_0x16d5ea(0x128),()=>{const _0x433cbd=_0x16d5ea,_0x4cd5be=!this[_0x433cbd(0x136)];this[_0x433cbd(0x13b)](_0x433cbd(0x110),{'id':this['id'],'pinned':_0x4cd5be});}),_0x2ffd81;}[_0x30f87b(0x106)](){const _0x2be817=_0x30f87b,_0x1f129f=_0x2df969(this[_0x2be817(0x10b)],_0x12ed79),_0x52ffb9=_0x1f129f[_0x2be817(0x137)][_0x2be817(0x103)];_0x1f129f[_0x2be817(0x121)][_0x2be817(0x10d)]({'label':_0x597c78(this[_0x2be817(0x10b)],_0x2be817(0xf3)),'icon':_0x597846}),_0x1f129f[_0x2be817(0x102)]='sw';const _0x59b969=new _0x255769(this[_0x2be817(0x10b)]);_0x59b969[_0x2be817(0x119)]=_0x597c78(this[_0x2be817(0x10b)],_0x2be817(0x113)),_0x59b969[_0x2be817(0x107)]=!0x0,_0x59b969['on'](_0x2be817(0x128),()=>{const _0x1d0d56=_0x2be817;this[_0x1d0d56(0xea)]=!0x0;});const _0x4a3f07=new _0x255769(this[_0x2be817(0x10b)]);_0x4a3f07[_0x2be817(0x119)]=_0x597c78(this[_0x2be817(0x10b)],_0x2be817(0x144)),_0x4a3f07[_0x2be817(0x107)]=!0x0,_0x4a3f07['on'](_0x2be817(0x128),()=>{const _0x4b1706=_0x2be817;this[_0x4b1706(0x115)](_0x597c78(this[_0x4b1706(0x10b)],_0x4b1706(0x13e)),this[_0x4b1706(0x133)])[_0x4b1706(0x11b)](()=>{const _0x13d273=_0x4b1706;this[_0x13d273(0x13b)](_0x13d273(0x10f),{'id':this['id']});});});const _0x107a5b=new _0x4d29de(this[_0x2be817(0x10b)]),_0x5de002=new _0x1809a9(this[_0x2be817(0x10b)]);_0x5de002[_0x2be817(0x103)][_0x2be817(0x105)](_0x59b969);const _0xf68739=new _0x1809a9(this[_0x2be817(0x10b)]);return _0xf68739[_0x2be817(0x103)][_0x2be817(0x105)](_0x4a3f07),_0x107a5b[_0x2be817(0xfa)][_0x2be817(0xe7)]([_0x5de002,_0xf68739]),_0x52ffb9[_0x2be817(0x105)](_0x107a5b),_0x1f129f;}[_0x30f87b(0x112)](_0x4bbab8,_0x3bbf9d){const _0x603310=_0x30f87b,_0x40c0b6=new _0x247e66(_0x4bbab8),_0x81dcb5=_0x40c0b6[_0x603310(0x134)];return _0x40c0b6[_0x603310(0x12d)]=_0x3bbf9d,_0x40c0b6[_0x603310(0x135)]({'on':{'keydown':_0x81dcb5['to'](_0x1f4a2f=>{const _0x315657=_0x603310;_0x315657(0x12b)==_0x1f4a2f[_0x315657(0xfd)]&&this[_0x315657(0x127)](_0x40c0b6);})}}),_0x40c0b6;}[_0x30f87b(0x11f)](_0xeeeb00,_0x5acef9){const _0x4e70c0=_0x30f87b,_0x23c920=new _0x255769(_0xeeeb00);return _0x23c920[_0x4e70c0(0x10d)]({'icon':_0x40981d,'withText':!0x1,'tooltip':_0x597c78(_0xeeeb00,_0x4e70c0(0x12e))}),_0x23c920[_0x4e70c0(0x135)]({'attributes':{'class':[_0x4e70c0(0xeb)]}}),_0x23c920['on'](_0x4e70c0(0x128),()=>{const _0x58b4a6=_0x4e70c0;this[_0x58b4a6(0x127)](_0x5acef9);}),_0x23c920;}[_0x30f87b(0x127)](_0x4812fb){const _0x206cf4=_0x30f87b,_0x5e9d35=_0x4812fb[_0x206cf4(0x133)][_0x206cf4(0x12d)]||'';this[_0x206cf4(0x123)][_0x206cf4(0x143)]=_0x5e9d35,this[_0x206cf4(0xea)]=!0x1,this[_0x206cf4(0x13b)](_0x206cf4(0x118),{'id':this['id'],'title':_0x5e9d35});}[_0x30f87b(0x147)](_0x56e365,_0x5e8ed5){const _0x333487=_0x30f87b,_0x588198=new _0x255769(_0x56e365);return _0x588198[_0x333487(0x10d)]({'icon':_0x141836,'withText':!0x1,'tooltip':_0x597c78(_0x56e365,_0x333487(0x101))}),_0x588198[_0x333487(0x135)]({'attributes':{'class':[_0x333487(0x141)]}}),_0x588198['on'](_0x333487(0x128),()=>{const _0x4c6b53=_0x333487;this[_0x4c6b53(0xea)]=!0x1,_0x5e8ed5[_0x4c6b53(0x12d)]=this[_0x4c6b53(0x123)][_0x4c6b53(0x143)]||'',this[_0x4c6b53(0x13b)](_0x4c6b53(0x120));}),_0x588198;}[_0x30f87b(0x140)](){const _0x290097=_0x30f87b,_0x44b4e8=new _0x377153(_0x290097(0x145));return _0x44b4e8[_0x290097(0x10c)]=!0x0,_0x44b4e8;}[_0x30f87b(0x13f)](_0x1e127a){const _0x25a7fe=_0x30f87b;return this[_0x25a7fe(0x123)]&&_0x25a7fe(0x138)==typeof this[_0x25a7fe(0x123)][_0x25a7fe(0x143)]&&this[_0x25a7fe(0x123)][_0x25a7fe(0x143)][_0x25a7fe(0x10e)](_0x1e127a)?{'title':!0x0}:null;}[_0x30f87b(0x11c)](_0x41dddc){const _0xcacd7e=_0x30f87b;this[_0xcacd7e(0x123)][_0xcacd7e(0x11c)](_0x41dddc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5dcc(_0x2748de,_0x4ce0c2){const _0x23bcd0=_0x23bc();return _0x5dcc=function(_0x5dcc24,_0x1a4083){_0x5dcc24=_0x5dcc24-0x14e;let _0x443759=_0x23bcd0[_0x5dcc24];return _0x443759;},_0x5dcc(_0x2748de,_0x4ce0c2);}const _0x5d8216=_0x5dcc;(function(_0x54381a,_0x2c4413){const _0x5b13f7=_0x5dcc,_0x266189=_0x54381a();while(!![]){try{const _0x5f2bba=-parseInt(_0x5b13f7(0x15d))/0x1+parseInt(_0x5b13f7(0x15a))/0x2+-parseInt(_0x5b13f7(0x152))/0x3+-parseInt(_0x5b13f7(0x15e))/0x4*(-parseInt(_0x5b13f7(0x15c))/0x5)+-parseInt(_0x5b13f7(0x16c))/0x6+-parseInt(_0x5b13f7(0x16d))/0x7*(-parseInt(_0x5b13f7(0x16a))/0x8)+parseInt(_0x5b13f7(0x167))/0x9*(parseInt(_0x5b13f7(0x161))/0xa);if(_0x5f2bba===_0x2c4413)break;else _0x266189['push'](_0x266189['shift']());}catch(_0x1156e8){_0x266189['push'](_0x266189['shift']());}}}(_0x23bc,0xb2980));function _0x23bc(){const _0x276a8a=['770795QSZhac','116758OGDQUU','36pkIeXB','bindTemplate','ck-ai-chat-history__section-title','2270zdDUoD','splice','find','remove','indexOf','itemsViews','495fxLCRW','div','isMatching','8IzjaZN','set','112212XpwyGJ','3061401wVIadO','title','filter','_itemsListView','addMany','removeItem','3867321iSzHkc','ck-hidden','setTemplate','getItem','ck-ai-chat-history__section','items','isVisible','length','637656zdIZFZ','highlightText'];_0x23bc=function(){return _0x276a8a;};return _0x23bc();}import{ListItemView as _0x54a27d,View as _0x39a99b,ListView as _0x16804b}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x54a27d{[_0x5d8216(0x16e)];[_0x5d8216(0x166)];[_0x5d8216(0x14f)];constructor(_0x58ede4,{title:_0x548539,items:_0x5a9902}){const _0x6cd48f=_0x5d8216;super(_0x58ede4);const _0x343f82=this[_0x6cd48f(0x15f)];this[_0x6cd48f(0x16b)](_0x6cd48f(0x158),!0x0),this[_0x6cd48f(0x16e)]=_0x548539,this[_0x6cd48f(0x166)]=_0x5a9902;const _0xd8ebb9=new _0x39a99b(_0x58ede4);_0xd8ebb9[_0x6cd48f(0x154)]({'tag':_0x6cd48f(0x168),'attributes':{'class':[_0x6cd48f(0x160)]},'children':[this[_0x6cd48f(0x16e)]]}),this[_0x6cd48f(0x14f)]=new _0x16804b(_0x58ede4),this[_0x6cd48f(0x14f)][_0x6cd48f(0x157)][_0x6cd48f(0x150)](this[_0x6cd48f(0x166)]),this[_0x6cd48f(0x154)]({'tag':'li','attributes':{'class':[_0x6cd48f(0x156),_0x343f82['if'](_0x6cd48f(0x158),_0x6cd48f(0x153),_0x320665=>!_0x320665)]},'children':[_0xd8ebb9,this[_0x6cd48f(0x14f)]]});}[_0x5d8216(0x14e)](_0x5ae65c){const _0x2ea14d=_0x5d8216,_0x2dd291=this[_0x2ea14d(0x166)][_0x2ea14d(0x159)];let _0x284545=0x0;for(const _0x525208 of this[_0x2ea14d(0x166)]){if(_0x5ae65c){const _0x79754=_0x525208[_0x2ea14d(0x169)](_0x5ae65c);_0x525208[_0x2ea14d(0x158)]=!!_0x79754,_0x525208[_0x2ea14d(0x15b)](_0x5ae65c);}else _0x525208[_0x2ea14d(0x158)]=!0x0,_0x525208[_0x2ea14d(0x15b)](null);_0x525208[_0x2ea14d(0x158)]&&_0x284545++;}return this[_0x2ea14d(0x158)]=_0x284545>0x0,{'resultsCount':_0x284545,'totalItemsCount':_0x2dd291};}[_0x5d8216(0x155)](_0x212a23){const _0x58c0a4=_0x5d8216;return this[_0x58c0a4(0x166)][_0x58c0a4(0x163)](_0x92d8f=>_0x92d8f['id']===_0x212a23);}[_0x5d8216(0x151)](_0x4d2913){const _0x2b938d=_0x5d8216,_0x504b92=this[_0x2b938d(0x166)][_0x2b938d(0x165)](_0x4d2913);-0x1!==_0x504b92&&(this[_0x2b938d(0x166)][_0x2b938d(0x162)](_0x504b92,0x1),this[_0x2b938d(0x14f)][_0x2b938d(0x157)][_0x2b938d(0x164)](_0x4d2913));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2ccd(_0x145eae,_0x11e878){const _0x28e8c3=_0x28e8();return _0x2ccd=function(_0x2ccdee,_0x5a9ef0){_0x2ccdee=_0x2ccdee-0x1e4;let _0x1ccd5e=_0x28e8c3[_0x2ccdee];return _0x1ccd5e;},_0x2ccd(_0x145eae,_0x11e878);}const _0x10488f=_0x2ccd;(function(_0x172d3a,_0x4205de){const _0x1b9ca8=_0x2ccd,_0x5902c1=_0x172d3a();while(!![]){try{const _0x3834e8=-parseInt(_0x1b9ca8(0x1e8))/0x1*(-parseInt(_0x1b9ca8(0x1f3))/0x2)+parseInt(_0x1b9ca8(0x1ee))/0x3*(parseInt(_0x1b9ca8(0x1e6))/0x4)+parseInt(_0x1b9ca8(0x1e7))/0x5*(-parseInt(_0x1b9ca8(0x1e9))/0x6)+-parseInt(_0x1b9ca8(0x1e5))/0x7*(-parseInt(_0x1b9ca8(0x1f1))/0x8)+parseInt(_0x1b9ca8(0x1f0))/0x9*(-parseInt(_0x1b9ca8(0x1ec))/0xa)+-parseInt(_0x1b9ca8(0x1ed))/0xb*(parseInt(_0x1b9ca8(0x1f2))/0xc)+-parseInt(_0x1b9ca8(0x1ea))/0xd;if(_0x3834e8===_0x4205de)break;else _0x5902c1['push'](_0x5902c1['shift']());}catch(_0x2941fd){_0x5902c1['push'](_0x5902c1['shift']());}}}(_0x28e8,0x2385d));import{ListView as _0x102ac5}from'ckeditor5/src/ui.js';function _0x28e8(){const _0x1f0d0e=['35GPoOMw','2220rYUioy','364545PVjyxT','13vxSDWe','6ZIVulk','2085434TENEeB','extendTemplate','34390WRcDeI','18986TJwxiI','1395EUGiqf','items','180IJrFNC','163536wYSfJI','996HEEGKs','35474jOGuUT','addMany','filter','ck-ai-chat-history__sections','sections'];_0x28e8=function(){return _0x1f0d0e;};return _0x28e8();}export class AIChatHistorySectionListView extends _0x102ac5{[_0x10488f(0x1e4)];constructor(_0xa251f7,_0x8ccf51){const _0x3e68d8=_0x10488f;super(_0xa251f7),this[_0x3e68d8(0x1e4)]=_0x8ccf51,this[_0x3e68d8(0x1ef)][_0x3e68d8(0x1f4)](this[_0x3e68d8(0x1e4)]),this[_0x3e68d8(0x1eb)]({'attributes':{'class':[_0x3e68d8(0x1f6)]}});}[_0x10488f(0x1f5)](_0x265f4a){const _0xfcdf95=_0x10488f;let _0x3caeb6=0x0,_0x597d5d=0x0;for(const _0x133de7 of this[_0xfcdf95(0x1e4)]){const {resultsCount:_0x28a311,totalItemsCount:_0x2bb79a}=_0x133de7[_0xfcdf95(0x1f5)](_0x265f4a);_0x3caeb6+=_0x28a311,_0x597d5d+=_0x2bb79a;}return{'resultsCount':_0x3caeb6,'totalItemsCount':_0x597d5d};}}
|