@ckeditor/ckeditor5-ai 47.0.0-alpha.4 → 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
|
+
const _0x3e6400=_0x5776;(function(_0xe85b88,_0x3f4a0d){const _0x3f5968=_0x5776,_0x530ba9=_0xe85b88();while(!![]){try{const _0x22a7ed=parseInt(_0x3f5968(0x1d7))/0x1*(parseInt(_0x3f5968(0x1f9))/0x2)+parseInt(_0x3f5968(0x1f0))/0x3*(-parseInt(_0x3f5968(0x1f8))/0x4)+-parseInt(_0x3f5968(0x1d6))/0x5*(-parseInt(_0x3f5968(0x1f7))/0x6)+parseInt(_0x3f5968(0x1dd))/0x7*(-parseInt(_0x3f5968(0x1fd))/0x8)+-parseInt(_0x3f5968(0x1fb))/0x9+-parseInt(_0x3f5968(0x1ee))/0xa+parseInt(_0x3f5968(0x1e1))/0xb*(parseInt(_0x3f5968(0x1f3))/0xc);if(_0x22a7ed===_0x3f4a0d)break;else _0x530ba9['push'](_0x530ba9['shift']());}catch(_0x3c8015){_0x530ba9['push'](_0x530ba9['shift']());}}}(_0x1555,0x93fdf));import{View as _0xaeb554,ViewCollection as _0x1c3789}from'ckeditor5/src/ui.js';function _0x1555(){const _0x1f1957=['aiChatResources','useDefaultFiltering','updateResourceState','delegate','10977020pNzkkD','_createSkeletonView','9KLnLfG','ck\x20ck-search','bindTemplate','32518116HooBZs','getQuery','fire','locale','6cmIJRI','343532ugcTNB','2Snqonr','set','8653482WViCsQ','search','939208nDsSCu','addResourceToContext','div','render','_searchView','setResources','2521895Ortdch','765411wtODAd','children','loadSourceResources','ck-ai-chat-resources','_skeletonLoader','isLoading','63JrOwPe','_latestLoadResourcesUid','_createSearchSection','_createSearchView','11UlKeUk','ck-hidden','_source','_createResourcesListView','setTemplate','_resourcesListView','loadResources','highlightText','extendTemplate'];_0x1555=function(){return _0x1f1957;};return _0x1555();}import{uid as _0x1f06d5}from'ckeditor5/src/utils.js';function _0x5776(_0x2028d8,_0x318c3b){const _0x15554f=_0x1555();return _0x5776=function(_0x57766e,_0x1999b9){_0x57766e=_0x57766e-0x1d4;let _0xa1f501=_0x15554f[_0x57766e];return _0xa1f501;},_0x5776(_0x2028d8,_0x318c3b);}import{AIChatContextResourcesListView as _0x40c689}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x3b61c2}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x2fa984,SKELETON_DEFINITIONS as _0x1b7bc3}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0xaeb554{[_0x3e6400(0x1d4)];[_0x3e6400(0x1e6)];[_0x3e6400(0x1db)];[_0x3e6400(0x1e3)];[_0x3e6400(0x1d8)];[_0x3e6400(0x1de)]=null;constructor(_0x182b0e,_0x11cf3a){const _0x120189=_0x3e6400;super(_0x182b0e),this[_0x120189(0x1e3)]=_0x11cf3a,this[_0x120189(0x1fa)](_0x120189(0x1dc),!0x0),this[_0x120189(0x1d4)]=this[_0x120189(0x1e0)]();const _0x37c408=this[_0x120189(0x1df)]();this[_0x120189(0x1e6)]=this[_0x120189(0x1e4)](),this[_0x120189(0x1db)]=this[_0x120189(0x1ef)](),this[_0x120189(0x1d8)]=new _0x1c3789([_0x37c408,this[_0x120189(0x1db)],this[_0x120189(0x1e6)]]),this[_0x120189(0x1e5)]({'tag':_0x120189(0x1ff),'attributes':{'class':_0x120189(0x1da)},'children':this[_0x120189(0x1d8)]});}[_0x3e6400(0x1e0)](){const _0x8ac7c1=_0x3e6400;return new _0x3b61c2(this[_0x8ac7c1(0x1f6)]);}[_0x3e6400(0x1df)](){const _0x31a437=_0x3e6400,_0x5f58a3=new _0xaeb554(this[_0x31a437(0x1f6)]);return _0x5f58a3[_0x31a437(0x1e5)]({'tag':_0x31a437(0x1ff),'attributes':{'class':_0x31a437(0x1f1)},'children':[this[_0x31a437(0x1d4)]]}),this[_0x31a437(0x1d4)]['on'](_0x31a437(0x1fc),(_0x3a13a5,_0x5b9d83)=>{const _0x5591a9=_0x31a437;this[_0x5591a9(0x1e7)](_0x5b9d83),this[_0x5591a9(0x1e3)][_0x5591a9(0x1eb)]&&this[_0x5591a9(0x1e6)][_0x5591a9(0x1e8)](_0x5b9d83);}),_0x5f58a3;}[_0x3e6400(0x1e4)](){const _0xb6b8d9=_0x3e6400,_0x448211=new _0x40c689(this[_0xb6b8d9(0x1f6)],this[_0xb6b8d9(0x1e3)]);return _0x448211[_0xb6b8d9(0x1ed)](_0xb6b8d9(0x1fe))['to'](this),_0x448211[_0xb6b8d9(0x1e9)]({'attributes':{'class':this[_0xb6b8d9(0x1f2)]['if'](_0xb6b8d9(0x1dc),_0xb6b8d9(0x1e2))}}),_0x448211;}[_0x3e6400(0x1ef)](){const _0x2deb55=_0x3e6400,_0x428928=new _0x2fa984(this[_0x2deb55(0x1f6)],_0x1b7bc3[_0x2deb55(0x1ea)]);return _0x428928[_0x2deb55(0x1e9)]({'attributes':{'class':[this[_0x2deb55(0x1f2)]['if'](_0x2deb55(0x1dc),_0x2deb55(0x1e2),_0x316092=>!_0x316092)]}}),_0x428928;}[_0x3e6400(0x200)](){const _0x3bb077=_0x3e6400;super[_0x3bb077(0x200)](),this[_0x3bb077(0x1e7)]('');}[_0x3e6400(0x1e7)](_0x1a0dc9){const _0x21b044=_0x3e6400,_0x3f2259=_0x1f06d5();this[_0x21b044(0x1de)]=_0x3f2259,this[_0x21b044(0x1f5)](_0x21b044(0x1d9),{'sourceId':this[_0x21b044(0x1e3)]['id'],'query':_0x1a0dc9,'uid':_0x3f2259}),this[_0x21b044(0x1dc)]=!0x0;}[_0x3e6400(0x1d5)](_0x1bc6e0,_0x5ad81d){const _0x4cf788=_0x3e6400;if(_0x5ad81d&&_0x5ad81d!==this[_0x4cf788(0x1de)])return;const _0x34c72a=this[_0x4cf788(0x1e3)][_0x4cf788(0x1eb)]?this[_0x4cf788(0x1d4)][_0x4cf788(0x1f4)]():'';this[_0x4cf788(0x1e6)][_0x4cf788(0x1d5)](_0x1bc6e0,_0x34c72a),requestAnimationFrame(()=>{const _0x362d2b=_0x4cf788;this[_0x362d2b(0x1dc)]=!0x1;});}[_0x3e6400(0x1ec)](_0xda4432,_0x34a410){const _0x1d10c5=_0x3e6400;this[_0x1d10c5(0x1e6)][_0x1d10c5(0x1ec)](_0xda4432,_0x34a410);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x55aabc=_0x1cd5;(function(_0x416781,_0x5ec758){const _0x4966fa=_0x1cd5,_0x535704=_0x416781();while(!![]){try{const _0x714fde=parseInt(_0x4966fa(0x1bc))/0x1*(-parseInt(_0x4966fa(0x1d3))/0x2)+parseInt(_0x4966fa(0x1d4))/0x3*(parseInt(_0x4966fa(0x1cf))/0x4)+parseInt(_0x4966fa(0x1c0))/0x5*(-parseInt(_0x4966fa(0x1ce))/0x6)+-parseInt(_0x4966fa(0x1d5))/0x7+parseInt(_0x4966fa(0x1cc))/0x8+-parseInt(_0x4966fa(0x1bb))/0x9+parseInt(_0x4966fa(0x1c8))/0xa;if(_0x714fde===_0x5ec758)break;else _0x535704['push'](_0x535704['shift']());}catch(_0x416fef){_0x535704['push'](_0x535704['shift']());}}}(_0x7a11,0x3597b));import{View as _0x4ce7ca}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x2ade26}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0xaeff71}from'../controls/aichatchipsoverflowmanager.js';function _0x7a11(){const _0x6ffd75=['element','createCollection','7084170UEfrMe','div','locale','_contextChips','279704Mtgavu','ck-ai-chat-controls_context_show-more-button','212802gNMsZm','12ACcnbL','_createContextChips','setContainerElement','ck-ai-chat__feed__context-chips','6456lXkZrD','376206oHTENC','534058eCFDyz','render','querySelector','ck-ai-chat-context-chips-wrapper-balloon','ck-ai-chat-controls-button','setTemplate','1606914cFaAFK','101PHyWUU','add','destroy','ck-reset_all','45lNaJRV','_overflowManager','reorganizeChips','ck-ai-chat-context-controls__show-more-balloon-panel','ck-ai-chat-context-chips-wrapper','_bodyCollection'];_0x7a11=function(){return _0x6ffd75;};return _0x7a11();}function _0x1cd5(_0x87b9db,_0x2af51c){const _0x7a119c=_0x7a11();return _0x1cd5=function(_0x1cd511,_0x5b35dc){_0x1cd511=_0x1cd511-0x1ba;let _0xd02fa6=_0x7a119c[_0x1cd511];return _0xd02fa6;},_0x1cd5(_0x87b9db,_0x2af51c);}const jo=_0x55aabc(0x1d2),Fo=_0x55aabc(0x1c4),$o=_0x55aabc(0x1d8),vo=_0x55aabc(0x1d9),Vo=_0x55aabc(0x1cd),fo=_0x55aabc(0x1c3);export class AIChatFeedContextChipsView extends _0x4ce7ca{[_0x55aabc(0x1cb)]=this[_0x55aabc(0x1c7)]();[_0x55aabc(0x1c1)];[_0x55aabc(0x1c5)];constructor(_0x5804cd,_0x43f796,_0x5be7df){const _0x2f718b=_0x55aabc;super(_0x5804cd),this[_0x2f718b(0x1c5)]=_0x5be7df,this[_0x2f718b(0x1d0)](_0x43f796);const _0x45262c={'cssClasses':{'showMoreButton':Vo,'showMoreBalloon':fo,'overflowContainer':$o,'controlsButton':vo}};this[_0x2f718b(0x1c1)]=new _0xaeff71(_0x5804cd,this[_0x2f718b(0x1cb)],_0x45262c,this[_0x2f718b(0x1c5)],this),this[_0x2f718b(0x1ba)]({'tag':_0x2f718b(0x1c9),'attributes':{'class':[jo,'ck',_0x2f718b(0x1bf)]},'children':[{'tag':_0x2f718b(0x1c9),'attributes':{'class':Fo},'children':this[_0x2f718b(0x1cb)]}]});}[_0x55aabc(0x1d6)](){const _0x3681d6=_0x55aabc;super[_0x3681d6(0x1d6)]();const _0x1048f7=this[_0x3681d6(0x1c6)][_0x3681d6(0x1d7)]('.'+Fo);_0x1048f7&&(this[_0x3681d6(0x1c1)][_0x3681d6(0x1d1)](_0x1048f7),this[_0x3681d6(0x1c1)][_0x3681d6(0x1c2)]());}[_0x55aabc(0x1be)](){const _0x5765bf=_0x55aabc;super[_0x5765bf(0x1be)](),this[_0x5765bf(0x1c1)][_0x5765bf(0x1be)]();}[_0x55aabc(0x1d0)](_0x503239){const _0x1739be=_0x55aabc;for(const _0x4038f7 of _0x503239){const _0x5982dd=new _0x2ade26(this[_0x1739be(0x1ca)],_0x4038f7,!0x0,!0x1);this[_0x1739be(0x1cb)][_0x1739be(0x1bd)](_0x5982dd);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x32205b=_0xb391;function _0xb391(_0x4f2180,_0x197a21){var _0x5e6f2b=_0x5e6f();return _0xb391=function(_0xb39151,_0x51caa6){_0xb39151=_0xb39151-0xc6;var _0xd6e28=_0x5e6f2b[_0xb39151];return _0xd6e28;},_0xb391(_0x4f2180,_0x197a21);}(function(_0x4383d2,_0x4f6592){var _0x2bd079=_0xb391,_0x1851ce=_0x4383d2();while(!![]){try{var _0x3c19fa=parseInt(_0x2bd079(0xca))/0x1+-parseInt(_0x2bd079(0xd0))/0x2*(-parseInt(_0x2bd079(0xd4))/0x3)+-parseInt(_0x2bd079(0xd1))/0x4+-parseInt(_0x2bd079(0xdc))/0x5*(parseInt(_0x2bd079(0xd3))/0x6)+parseInt(_0x2bd079(0xcd))/0x7+parseInt(_0x2bd079(0xd6))/0x8*(parseInt(_0x2bd079(0xcf))/0x9)+-parseInt(_0x2bd079(0xce))/0xa*(parseInt(_0x2bd079(0xd8))/0xb);if(_0x3c19fa===_0x4f6592)break;else _0x1851ce['push'](_0x1851ce['shift']());}catch(_0x58bf69){_0x1851ce['push'](_0x1851ce['shift']());}}}(_0x5e6f,0x82ce9));function _0x5e6f(){var _0x108551=['markAsDone','1236620TaPLFU','12099450pTWJne','9cctSPW','1569450sYlHQJ','899776otHWSZ','initialContent','506958QiPCHB','3Gmutvi','options','6112184SeKqzB','setContent','11PJhrtX','ck-ai-chat-error_warning','innerHTML','render','35uwfhhR','warning','ck-ai-chat-error','level','extendTemplate','836717DvxdMV','element'];_0x5e6f=function(){return _0x108551;};return _0x5e6f();}import{AIChatFeedItemView as _0x57b6db}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x57b6db{constructor(_0x2ba3ab){var _0x43a63d=_0xb391;super(_0x2ba3ab),this[_0x43a63d(0xc9)]({'attributes':{'class':[_0x43a63d(0xc7),_0x43a63d(0xc6)===_0x2ba3ab[_0x43a63d(0xc8)]?_0x43a63d(0xd9):'']}});}[_0x32205b(0xdb)](){var _0x184166=_0x32205b;super[_0x184166(0xdb)](),this[_0x184166(0xd7)](this[_0x184166(0xd5)][_0x184166(0xd2)]),this[_0x184166(0xcc)]();}[_0x32205b(0xd7)](_0x1171d4){var _0x38e60d=_0x32205b;this[_0x38e60d(0xcb)][_0x38e60d(0xda)]=_0x1171d4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x432215,_0x1427ab){const _0x2eff36=_0x1355,_0x43c307=_0x432215();while(!![]){try{const _0x5390fe=parseInt(_0x2eff36(0xaa))/0x1*(-parseInt(_0x2eff36(0x99))/0x2)+-parseInt(_0x2eff36(0x9c))/0x3+-parseInt(_0x2eff36(0x96))/0x4*(-parseInt(_0x2eff36(0xa2))/0x5)+parseInt(_0x2eff36(0x94))/0x6+-parseInt(_0x2eff36(0x9d))/0x7+parseInt(_0x2eff36(0x9b))/0x8+-parseInt(_0x2eff36(0xa7))/0x9*(parseInt(_0x2eff36(0x9f))/0xa);if(_0x5390fe===_0x1427ab)break;else _0x43c307['push'](_0x43c307['shift']());}catch(_0x587220){_0x43c307['push'](_0x43c307['shift']());}}}(_0xacc8,0x509b4));function _0x1355(_0x555eb9,_0x10103b){const _0xacc8db=_0xacc8();return _0x1355=function(_0x135540,_0x27a6d9){_0x135540=_0x135540-0x91;let _0x3ef46c=_0xacc8db[_0x135540];return _0x3ef46c;},_0x1355(_0x555eb9,_0x10103b);}import{IconBulb as _0x3e9d1c,IconWeb as _0x301964}from'@ckeditor/ckeditor5-icons';import{IconView as _0x320410,View as _0x5c46e4}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x7bbd4}from'./aichatfeeditemview.js';function _0xacc8(){const _0x9175a8=['ck-ai-chat__feed__interaction-header','116910XQKbSz','content','push','1385wFOBOc','span','ck-hidden','setTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','9gbgpgl','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','1002EqlKRO','capabilities','children','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','2719146APtpnT','add','5508ceZlnj','ck-ai-chat__feed__interaction-header__capabilities','extendTemplate','86UPNTcU','div','633680MjROdy','60297osjGDX','3561530XkBPdy'];_0xacc8=function(){return _0x9175a8;};return _0xacc8();}import{getTranslation as _0x1213bd}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x7bbd4{constructor(_0x169eab,_0x46a45e){const _0x36fdac=_0x1355;super(_0x46a45e);const {isWebSearchEnabled:_0x297172,isReasoningEnabled:_0x24560d}=_0x46a45e[_0x36fdac(0x91)],_0x46e9ef=[];let _0x4d230b='';_0x297172&&_0x24560d?(_0x4d230b=_0x1213bd(_0x169eab,_0x36fdac(0xa9)),_0x46e9ef[_0x36fdac(0xa1)](e_(_0x301964)),_0x46e9ef[_0x36fdac(0xa1)](e_(_0x3e9d1c))):_0x297172?(_0x4d230b=_0x1213bd(_0x169eab,_0x36fdac(0xa6)),_0x46e9ef[_0x36fdac(0xa1)](e_(_0x301964))):_0x24560d&&(_0x4d230b=_0x1213bd(_0x169eab,_0x36fdac(0x93)),_0x46e9ef[_0x36fdac(0xa1)](e_(_0x3e9d1c))),this[_0x36fdac(0x98)]({'attributes':{'class':[_0x36fdac(0x9e),_0x4d230b?'':_0x36fdac(0xa4)]}});const _0x36bfea=new _0x5c46e4();_0x36bfea[_0x36fdac(0xa5)]({'tag':_0x36fdac(0x9a),'attributes':{'class':['ck',_0x36fdac(0x97)]},'children':[..._0x46e9ef,{'tag':_0x36fdac(0xa3),'attributes':{'class':[_0x36fdac(0xa8)]},'children':[_0x4d230b]}]}),this[_0x36fdac(0x92)][_0x36fdac(0x95)](_0x36bfea);}}function e_(_0x1d2e3f){const _0x473e92=_0x1355,_0x5c3e38=new _0x320410();return _0x5c3e38[_0x473e92(0xa0)]=_0x1d2e3f,_0x5c3e38;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x580738=_0x3e96;(function(_0x2f1dac,_0x57de87){const _0x37a47e=_0x3e96,_0x45b4f8=_0x2f1dac();while(!![]){try{const _0x51c4db=-parseInt(_0x37a47e(0x204))/0x1+-parseInt(_0x37a47e(0x207))/0x2+-parseInt(_0x37a47e(0x20c))/0x3+parseInt(_0x37a47e(0x1f8))/0x4*(-parseInt(_0x37a47e(0x20f))/0x5)+-parseInt(_0x37a47e(0x1f5))/0x6+-parseInt(_0x37a47e(0x202))/0x7+parseInt(_0x37a47e(0x203))/0x8;if(_0x51c4db===_0x57de87)break;else _0x45b4f8['push'](_0x45b4f8['shift']());}catch(_0x33af9c){_0x45b4f8['push'](_0x45b4f8['shift']());}}}(_0x1f16,0x2de7a));import{View as _0x4dcd90}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x3bee73}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x4dcd90{[_0x580738(0x1ef)];[_0x580738(0x209)]='';[_0x580738(0x1fb)];[_0x580738(0x20d)];constructor(_0x1df692){const _0x402ffb=_0x580738;super();const _0x428cd0=this[_0x402ffb(0x20a)];this[_0x402ffb(0x20e)](_0x402ffb(0x1f9),!0x1),this[_0x402ffb(0x20e)](_0x402ffb(0x1fd),!0x0),this[_0x402ffb(0x1fb)]=new _0x3bee73({'textNodeStyle':_0x402ffb(0x208),'delay':0x14}),this[_0x402ffb(0x1ef)]=_0x1df692,this[_0x402ffb(0x20d)]=this[_0x402ffb(0x1ff)](),this[_0x402ffb(0x1f6)]({'tag':_0x402ffb(0x1f7),'attributes':{'class':['ck',_0x402ffb(0x1f4),_0x428cd0['if'](_0x402ffb(0x1f9),_0x402ffb(0x1f0)),_0x428cd0['if'](_0x402ffb(0x1fd),_0x402ffb(0x1f3),_0x1d6a05=>!_0x1d6a05),_0x402ffb(0x206)],'data-cke-ai-id':this[_0x402ffb(0x1ef)]['id']},'children':this[_0x402ffb(0x20d)]});}[_0x580738(0x1fe)](){const _0xfaf082=_0x580738;this[_0xfaf082(0x1fb)][_0xfaf082(0x1f1)]({'targetElement':this[_0xfaf082(0x1f2)]}),this[_0xfaf082(0x1f2)][_0xfaf082(0x1ee)](_0xfaf082(0x20b))[_0xfaf082(0x205)](_0x37b364=>{const _0x3be08e=_0xfaf082;_0x37b364[_0x3be08e(0x200)](_0x3be08e(0x1fa));}),this[_0xfaf082(0x1f9)]=!0x0;}async[_0x580738(0x1fc)](_0x47f4bf,_0x204cc2,_0x134092){const _0x197b0c=_0x580738;await this[_0x197b0c(0x1fb)][_0x197b0c(0x201)]({'document':_0x47f4bf,'targetElement':_0x204cc2,'abortSignal':_0x134092});}}function _0x3e96(_0x227838,_0x5b532a){const _0x1f16dc=_0x1f16();return _0x3e96=function(_0x3e96d6,_0x18c24a){_0x3e96d6=_0x3e96d6-0x1ee;let _0x2e40df=_0x1f16dc[_0x3e96d6];return _0x2e40df;},_0x3e96(_0x227838,_0x5b532a);}function _0x1f16(){const _0x59610d=['245226qpdmSN','forEach','ck-ai-chat__feed__text-item','697182rBdZSC','animation:\x20ck-html-streamer-fade-in\x20.5s','content','bindTemplate','[data-id]','405114oZXsUL','children','set','614785bJSpbx','querySelectorAll','options','ck-ai-chat__feed__item_done','cleanUpAnimations','element','ck-hidden','ck-ai-chat__feed__item','140520ZRPqfu','setTemplate','div','4YfxjYv','isDone','data-id','htmlStreamer','streamIntoElement','isVisible','markAsDone','createCollection','removeAttribute','stream','2468221slRxQF','11326888pnygOi'];_0x1f16=function(){return _0x59610d;};return _0x1f16();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2d71(_0x3ffdb2,_0x36212b){const _0x4b224d=_0x4b22();return _0x2d71=function(_0x2d717e,_0x1798fc){_0x2d717e=_0x2d717e-0xf2;let _0x4b39a1=_0x4b224d[_0x2d717e];return _0x4b39a1;},_0x2d71(_0x3ffdb2,_0x36212b);}const _0x401527=_0x2d71;function _0x4b22(){const _0x15488c=['84820oFWfsG','914181scgimT','replyContainer','updateContent','248bztEVG','224pHlcpj','addMany','5849250ioTqCa','static','div','setTemplate','streaming','ck-ai-chat__feed__ai-reply','add','locale','map','1514905hgakru','children','element','ck-ai-chat__feed__ai-reply-container','streamIntoElement','markAsDone','options','6WEOOno','updateSources','extendTemplate','initialContent','ck-reset_all-excluded','render','53703wzvWPo','4755lxNQOw','797022LplMDM','isVisible','innerHTML'];_0x4b22=function(){return _0x15488c;};return _0x4b22();}(function(_0x15ed75,_0x2e47df){const _0x557a82=_0x2d71,_0x7d6d8f=_0x15ed75();while(!![]){try{const _0x2255f4=-parseInt(_0x557a82(0x107))/0x1+parseInt(_0x557a82(0x104))/0x2+-parseInt(_0x557a82(0x108))/0x3+parseInt(_0x557a82(0x10c))/0x4*(parseInt(_0x557a82(0x103))/0x5)+-parseInt(_0x557a82(0xfc))/0x6*(parseInt(_0x557a82(0xf5))/0x7)+-parseInt(_0x557a82(0x10b))/0x8*(parseInt(_0x557a82(0x102))/0x9)+parseInt(_0x557a82(0x10e))/0xa;if(_0x2255f4===_0x2e47df)break;else _0x7d6d8f['push'](_0x7d6d8f['shift']());}catch(_0x2492c1){_0x7d6d8f['push'](_0x7d6d8f['shift']());}}}(_0x4b22,0x3bff9));import{AIChatFeedItemView as _0x3d9dde}from'./aichatfeeditemview.js';import{parse as _0x54aa6d,render as _0x1d9a9f}from'../../../aicore/utils/htmlparser.js';import{View as _0x5ba9eb}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x9b7432,AIWebSourceView as _0x131ffc}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x3d9dde{[_0x401527(0x109)];constructor(_0x68f667,_0x540ff1){const _0xbc9cda=_0x401527;super(_0x540ff1),this[_0xbc9cda(0xf3)]=_0x68f667,this[_0xbc9cda(0xfe)]({'attributes':{'class':[_0xbc9cda(0x113)]}}),this[_0xbc9cda(0x109)]=new _0x5ba9eb(),this[_0xbc9cda(0x109)][_0xbc9cda(0x111)]({'tag':_0xbc9cda(0x110),'attributes':{'class':['ck',_0xbc9cda(0x100),_0xbc9cda(0xf8)]}}),this[_0xbc9cda(0xf6)][_0xbc9cda(0xf2)](this[_0xbc9cda(0x109)]);}async[_0x401527(0x101)](){const _0x412e1a=_0x401527;super[_0x412e1a(0x101)](),this[_0x412e1a(0xfb)][_0x412e1a(0xff)]&&(await this[_0x412e1a(0x10a)]({'parsedContent':_0x54aa6d(this[_0x412e1a(0xfb)][_0x412e1a(0xff)]),'renderingStrategy':_0x412e1a(0x10f)}),this[_0x412e1a(0xfa)]());}async[_0x401527(0x10a)]({parsedContent:_0x573b27,renderingStrategy:_0x4638c0,abortSignal:_0x47bf14}){const _0x10443a=_0x401527;_0x10443a(0x112)===_0x4638c0?await this[_0x10443a(0xf9)](_0x573b27,this[_0x10443a(0x109)][_0x10443a(0xf7)],_0x47bf14):this[_0x10443a(0x109)][_0x10443a(0xf7)][_0x10443a(0x106)]=_0x1d9a9f(_0x573b27);}[_0x401527(0xfd)](_0xfebad3){const _0x28251f=_0x401527,_0x33da85=new _0x9b7432(this[_0x28251f(0xf3)]);_0x33da85[_0x28251f(0xf6)][_0x28251f(0x10d)](_0xfebad3[_0x28251f(0xf4)](_0x2707e3=>new _0x131ffc(this[_0x28251f(0xf3)],_0x2707e3))),_0x33da85[_0x28251f(0x105)]=!0x0,this[_0x28251f(0xf6)][_0x28251f(0xf2)](_0x33da85);}}
|
|
@@ -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
|
-
var
|
|
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
|
-
function
|
|
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 _0x59119e=_0x4648;(function(_0x463ce1,_0x2940da){const _0x543e57=_0x4648,_0x5d8a84=_0x463ce1();while(!![]){try{const _0x2eb25c=parseInt(_0x543e57(0x11f))/0x1*(-parseInt(_0x543e57(0x13e))/0x2)+-parseInt(_0x543e57(0x143))/0x3+-parseInt(_0x543e57(0x118))/0x4*(parseInt(_0x543e57(0x138))/0x5)+parseInt(_0x543e57(0xf0))/0x6*(parseInt(_0x543e57(0x126))/0x7)+parseInt(_0x543e57(0x136))/0x8*(-parseInt(_0x543e57(0x130))/0x9)+parseInt(_0x543e57(0xf8))/0xa*(-parseInt(_0x543e57(0x105))/0xb)+parseInt(_0x543e57(0x103))/0xc*(parseInt(_0x543e57(0xee))/0xd);if(_0x2eb25c===_0x2940da)break;else _0x5d8a84['push'](_0x5d8a84['shift']());}catch(_0x2b0e09){_0x5d8a84['push'](_0x5d8a84['shift']());}}}(_0x5f16,0xd4dba));import{ContextPlugin as _0x112dd8}from'ckeditor5/src/core.js';import{AIConnector as _0x2dc6df}from'../aicore/aiconnector.js';import{AIChatController as _0x2773ec}from'../aichat/aichatcontroller.js';import{AITabs as _0x5165a2}from'../aitabs/aitabs.js';function _0x4648(_0x3fe762,_0x35d57a){const _0x5f1613=_0x5f16();return _0x4648=function(_0x4648ad,_0xb65bad){_0x4648ad=_0x4648ad-0xdf;let _0x2142f7=_0x5f1613[_0x4648ad];return _0x2142f7;},_0x4648(_0x3fe762,_0x35d57a);}import{AIChatHistoryUI as _0x5b2e76}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x56c957}from'./model/aichathistoryconversations.js';import{getTranslation as _0x342e73}from'../aicore/utils/common-translations.js';function _0x5f16(){const _0x2a303f=['36eKRVvZ','rename','5955367jtevOy','operation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','editConversationTitle','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_updateHistoryItemsUI','_handleEditTitle','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','updateItemPinned','context','history','toLocaleDateString','change:activeConversation','itemId','unpin','getFullYear','itemsLoaded','_clearItemLoading','getItem','357668dfuHoL','removeHistoryItem','locale','getItems','_handleRemove','items','updateItems','1345bQijlL','activeConversation','remove','length','_setItemLoading','selectConversation','error','8511419IKrIqa','loadConversation','listenTo','handleRemovedConversation','_generateErrorMessage','resize','resizedTabs','AIChatHistoryController','_setIsMaximized','get','54heiRQt','requires','_handleTogglePin','activateTab:history','itemUpdated','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','2226008tjsUcv','setDate','20RiOsUq','isOfficialPlugin','setLoadingSkeleton','getDate','AI_CHAT_HISTORY_CATEGORY_LATER','_handleHistoryErrorUI','2114VevSze','_handleSelectConversation','_showConversationHistory','activateTab','AI_CHAT_HISTORY_ERROR_GENERIC','430305ggZgBv','AI_CHAT_HISTORY_PIN_ACTION','_aiConnector','AI_CHAT_HISTORY_CATEGORY_TODAY','showError','map','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','removeItem','_getCategorizedItems','removeConversation','updateItemLoadingState','_aiChatController','itemRemoved','updateItemTitle','push','AI_CHAT_HISTORY_UNPIN_ACTION','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_PINNED','openChat','isPremiumPlugin','21113794ulHJNG','pinned','6SxQBFf','title','getGroupId','AI_CHAT_UNTITLED_CONVERSATION','pin','resizeTabs','pluginName','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','30pmVHbA','view','setIsMaximized','plugins','createdAt','loadItems','chat','_aiChatHistoryUi','init','updates','getMonth'];_0x5f16=function(){return _0x2a303f;};return _0x5f16();}export class AIChatHistoryController extends _0x112dd8{[_0x59119e(0x145)];[_0x59119e(0xff)];[_0x59119e(0xe5)];static get[_0x59119e(0x131)](){return[_0x2dc6df,_0x2773ec,_0x5b2e76,_0x5165a2];}static get[_0x59119e(0xf6)](){const _0x3868f0=_0x59119e;return _0x3868f0(0x12d);}static get[_0x59119e(0x139)](){return!0x0;}static get[_0x59119e(0xed)](){return!0x0;}[_0x59119e(0x100)](){const _0x276ce8=_0x59119e;this[_0x276ce8(0x145)]=this[_0x276ce8(0x10e)][_0x276ce8(0xfb)][_0x276ce8(0x12f)](_0x2dc6df),this[_0x276ce8(0xff)]=this[_0x276ce8(0x10e)][_0x276ce8(0xfb)][_0x276ce8(0x12f)](_0x5b2e76),this[_0x276ce8(0xe5)]=this[_0x276ce8(0x10e)][_0x276ce8(0xfb)][_0x276ce8(0x12f)](_0x2773ec);const _0x322206=this[_0x276ce8(0x10e)][_0x276ce8(0xfb)][_0x276ce8(0x12f)](_0x5165a2),_0xb1ae4=this[_0x276ce8(0xe5)][_0x276ce8(0xf2)]();this[_0x276ce8(0x10f)]=new _0x56c957({'connector':this[_0x276ce8(0x145)],'group':_0xb1ae4}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0xe3),(_0x1794e0,_0x1a74ca)=>{const _0x598b34=_0x276ce8;this[_0x598b34(0x123)](_0x1a74ca['id'],_0x598b34(0x121)),this[_0x598b34(0x11c)](_0x1a74ca['id']);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0x108),(_0x497492,_0x18924c)=>{const _0x2e176b=_0x276ce8;this[_0x2e176b(0x123)](_0x18924c['id'],_0x2e176b(0x104)),this[_0x2e176b(0x10b)](_0x18924c['id'],_0x18924c[_0x2e176b(0xf1)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0x10f)],_0x276ce8(0x134),(_0x1f760e,_0x41c4c8)=>{const _0x25a903=_0x276ce8;void 0x0!==_0x41c4c8[_0x25a903(0x101)][_0x25a903(0xf1)]&&this[_0x25a903(0xff)][_0x25a903(0xe7)](_0x41c4c8[_0x25a903(0x112)],_0x41c4c8[_0x25a903(0x101)][_0x25a903(0xf1)]),void 0x0!==_0x41c4c8[_0x25a903(0x101)][_0x25a903(0xef)]&&this[_0x25a903(0x10a)](),this[_0x25a903(0x116)](_0x41c4c8[_0x25a903(0x112)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0x10f)],_0x276ce8(0xe6),(_0x2dcedb,_0x11b8de)=>{const _0x26817f=_0x276ce8;this[_0x26817f(0xe5)][_0x26817f(0x129)](_0x11b8de[_0x26817f(0x112)]),this[_0x26817f(0xff)][_0x26817f(0x119)](_0x11b8de[_0x26817f(0x112)]),this[_0x26817f(0x116)](_0x11b8de[_0x26817f(0x112)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0x10f)],_0x276ce8(0x115),()=>{const _0xa85a2=_0x276ce8;this[_0xa85a2(0x10a)]();}),this[_0x276ce8(0x128)](this[_0x276ce8(0x10f)],_0x276ce8(0x125),(_0x2befe2,_0x5a5214)=>{const _0x216dc5=_0x276ce8;this[_0x216dc5(0x13d)](_0x5a5214[_0x216dc5(0x125)],_0x5a5214[_0x216dc5(0x106)],_0x5a5214[_0x216dc5(0x112)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0x124),(_0x2c8b8f,_0x21e712)=>{const _0x1a32e2=_0x276ce8;this[_0x1a32e2(0x13f)](_0x21e712['id']);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0xea),(_0x1c000c,_0x22dabd)=>{const _0x3e486e=_0x276ce8,_0x14db1c=_0x22dabd[_0x3e486e(0xef)]?_0x3e486e(0xf4):_0x3e486e(0x113);this[_0x3e486e(0x123)](_0x22dabd['id'],_0x14db1c),this[_0x3e486e(0x132)](_0x22dabd['id'],_0x22dabd[_0x3e486e(0xef)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0xec),()=>{const _0x5e970f=_0x276ce8;_0x322206[_0x5e970f(0xf9)][_0x5e970f(0x141)](_0x5e970f(0xfe));}),this[_0x276ce8(0x128)](this[_0x276ce8(0xe5)],_0x276ce8(0x111),()=>{const _0x506f60=_0x276ce8;this[_0x506f60(0x10a)]();}),_0x322206[_0x276ce8(0xf9)]['on'](_0x276ce8(0x133),()=>{const _0x11dd63=_0x276ce8;this[_0x11dd63(0x140)]();}),this[_0x276ce8(0x128)](_0x322206,_0x276ce8(0x12c),(_0x50076c,_0x3a07fa)=>{const _0x430c6c=_0x276ce8;this[_0x430c6c(0x12e)](_0x3a07fa);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0xf5),()=>{const _0x29da91=_0x276ce8;_0x322206[_0x29da91(0x12b)]();});}async[_0x59119e(0x10b)](_0x5ece5e,_0x297015){const _0x24e88d=_0x59119e;await this[_0x24e88d(0x10f)][_0x24e88d(0xe7)](_0x5ece5e,_0x297015);}async[_0x59119e(0x132)](_0x309e23,_0x2ccce9){const _0x4b4b2a=_0x59119e;await this[_0x4b4b2a(0x10f)][_0x4b4b2a(0x10d)](_0x309e23,_0x2ccce9);}async[_0x59119e(0x11c)](_0x1d3f12){const _0x236907=_0x59119e;await this[_0x236907(0x10f)][_0x236907(0xe1)](_0x1d3f12);}async[_0x59119e(0x13f)](_0x13f2df){const _0x119d50=_0x59119e;await this[_0x119d50(0xe5)][_0x119d50(0x127)](_0x13f2df);}async[_0x59119e(0x140)](){const _0x800160=_0x59119e;this[_0x800160(0xff)][_0x800160(0x147)](''),this[_0x800160(0xff)][_0x800160(0x13a)](!0x0),await this[_0x800160(0x10f)][_0x800160(0x100)](),this[_0x800160(0xff)][_0x800160(0x13a)](!0x1);}[_0x59119e(0x10a)](){const _0x2135ac=_0x59119e,_0x4a69c7=this[_0x2135ac(0xe5)][_0x2135ac(0x120)]?.['id'],_0x3d63ea=this[_0x2135ac(0xe2)]()[_0x2135ac(0xdf)](_0x5be45e=>({'title':_0x5be45e[_0x2135ac(0xf1)],'items':_0x5be45e[_0x2135ac(0x11d)][_0x2135ac(0xdf)](_0x434e46=>({'id':_0x434e46['id'],'title':_0x434e46[_0x2135ac(0xf1)]||_0x342e73(this[_0x2135ac(0x10e)][_0x2135ac(0x11a)],_0x2135ac(0xf3)),'createdAt':new Date(_0x434e46[_0x2135ac(0xfc)])[_0x2135ac(0x110)](),'active':_0x434e46['id']===_0x4a69c7,'pinned':_0x434e46[_0x2135ac(0xef)]}))}));this[_0x2135ac(0xff)][_0x2135ac(0x11e)](_0x3d63ea);}[_0x59119e(0x123)](_0x53f57f,_0xfd3fd5){const _0x5babcf=_0x59119e;this[_0x5babcf(0xff)][_0x5babcf(0xe4)](_0x53f57f,_0xfd3fd5,!0x0);}[_0x59119e(0x116)](_0x51674f){const _0x54d8be=_0x59119e;this[_0x54d8be(0xff)][_0x54d8be(0xe4)](_0x51674f,null,!0x1);}[_0x59119e(0x13d)](_0xce70cb,_0xe07d16,_0x42c661){const _0x42563d=_0x59119e,_0x4f9680=this[_0x42563d(0x12a)](_0xe07d16,_0x42c661);this[_0x42563d(0xff)][_0x42563d(0x147)](_0x4f9680),_0x42c661&&this[_0x42563d(0x116)](_0x42c661),this[_0x42563d(0xff)][_0x42563d(0x13a)](!0x1);}[_0x59119e(0x12a)](_0x732d6a,_0x4debe0){const _0x3ca394=_0x59119e,_0x3c5dc7=_0x4debe0?this[_0x3ca394(0x10f)][_0x3ca394(0x117)](_0x4debe0):null,_0x2d1b0e=_0x3c5dc7?.[_0x3ca394(0xf1)]||_0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0xf3));switch(_0x732d6a){case _0x3ca394(0xe7):return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x109),_0x2d1b0e);case _0x3ca394(0x10d):{const _0x12677d=_0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3c5dc7?.[_0x3ca394(0xef)]?_0x3ca394(0xe9):_0x3ca394(0x144));return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x10c),[_0x12677d,_0x2d1b0e]);}case _0x3ca394(0xe1):return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x135),_0x2d1b0e);case _0x3ca394(0x100):case _0x3ca394(0xfd):return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x107));default:return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x142));}}[_0x59119e(0xe2)](){const _0x146056=_0x59119e,_0x15c105=new Date(),_0x5186e6=new Date(_0x15c105[_0x146056(0x114)](),_0x15c105[_0x146056(0x102)](),_0x15c105[_0x146056(0x13b)]()),_0x30e107=new Date(_0x5186e6);_0x30e107[_0x146056(0x137)](_0x30e107[_0x146056(0x13b)]()-0x1);const _0x470bca=new Date(_0x5186e6);_0x470bca[_0x146056(0x137)](_0x470bca[_0x146056(0x13b)]()-0xe);const _0x1695d8=this[_0x146056(0x10f)][_0x146056(0x11b)]({'pinned':!0x0}),_0x264491=this[_0x146056(0x10f)][_0x146056(0x11b)]({'from':_0x5186e6,'to':_0x5186e6}),_0x215bb1=this[_0x146056(0x10f)][_0x146056(0x11b)]({'from':_0x30e107,'to':_0x30e107}),_0x28490f=this[_0x146056(0x10f)][_0x146056(0x11b)]({'from':_0x470bca,'to':_0x30e107}),_0x464a16=this[_0x146056(0x10f)][_0x146056(0x11b)]({'to':_0x470bca}),_0x4cc7dd=[];return _0x1695d8[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0xeb)),'items':_0x1695d8}),_0x264491[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0x146)),'items':_0x264491}),_0x215bb1[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0xe0)),'items':_0x215bb1}),_0x28490f[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0xf7)),'items':_0x28490f}),_0x464a16[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0x13c)),'items':_0x464a16}),_0x4cc7dd;}[_0x59119e(0x12e)](_0x192b40){const _0x4f83d9=_0x59119e;this[_0x4f83d9(0xff)][_0x4f83d9(0xfa)](_0x192b40);}}
|
|
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();}
|