@ckeditor/ckeditor5-ai 47.3.0-alpha.4 → 47.3.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.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.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/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.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/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/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/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/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/documentrange.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/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/ui/dropdownmenubuttonwithhighlightview.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/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a5bae=_0x2446;(function(_0x3cb23e,_0x5d9783){const _0x620826=_0x2446,_0x3bd295=_0x3cb23e();while(!![]){try{const _0x551ca7=parseInt(_0x620826(0x12b))/0x1*(-parseInt(_0x620826(0x13b))/0x2)+parseInt(_0x620826(0x129))/0x3*(parseInt(_0x620826(0x136))/0x4)+-parseInt(_0x620826(0x13d))/0x5+-parseInt(_0x620826(0x140))/0x6*(parseInt(_0x620826(0x12e))/0x7)+parseInt(_0x620826(0x131))/0x8+parseInt(_0x620826(0x139))/0x9*(parseInt(_0x620826(0x138))/0xa)+parseInt(_0x620826(0x13e))/0xb;if(_0x551ca7===_0x5d9783)break;else _0x3bd295['push'](_0x3bd295['shift']());}catch(_0x293cf4){_0x3bd295['push'](_0x3bd295['shift']());}}}(_0x34b2,0x3aabb));function _0x2446(_0x4a2b0e,_0x40759d){const _0x34b2a3=_0x34b2();return _0x2446=function(_0x24463,_0x4deeaa){_0x24463=_0x24463-0x128;let _0x4f3605=_0x34b2a3[_0x24463];return _0x4f3605;},_0x2446(_0x4a2b0e,_0x40759d);}import{IconBulb as _0x3314b4,IconWeb as _0x55064a}from'@ckeditor/ckeditor5-icons';import{IconView as _0x72fdc1,View as _0x152235}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x3d641c}from'./aichatfeeditemview.js';import{getTranslation as _0x92eb44}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x3d641c{[_0x5a5bae(0x12d)];constructor(_0x3b7c53,_0x1b66a5){const _0x3c49db=_0x5a5bae;super(_0x1b66a5);const {isWebSearchEnabled:_0x524f28,isReasoningEnabled:_0x5809bd}=_0x1b66a5[_0x3c49db(0x12d)],_0x17afb3=[];let _0x5137e2='';_0x524f28&&_0x5809bd?(_0x5137e2=_0x92eb44(_0x3b7c53,_0x3c49db(0x12a)),_0x17afb3[_0x3c49db(0x128)](aa(_0x55064a)),_0x17afb3[_0x3c49db(0x128)](aa(_0x3314b4))):_0x524f28?(_0x5137e2=_0x92eb44(_0x3b7c53,_0x3c49db(0x13c)),_0x17afb3[_0x3c49db(0x128)](aa(_0x55064a))):_0x5809bd&&(_0x5137e2=_0x92eb44(_0x3b7c53,_0x3c49db(0x133)),_0x17afb3[_0x3c49db(0x128)](aa(_0x3314b4))),this[_0x3c49db(0x12f)]({'attributes':{'class':[_0x3c49db(0x141),_0x5137e2?'':_0x3c49db(0x137)]}});const _0x31ad7a=new _0x152235();_0x31ad7a[_0x3c49db(0x135)]({'tag':_0x3c49db(0x130),'attributes':{'class':['ck',_0x3c49db(0x13a)]},'children':[..._0x17afb3,{'tag':_0x3c49db(0x142),'attributes':{'class':[_0x3c49db(0x13f)]},'children':[_0x5137e2]}]}),this[_0x3c49db(0x134)][_0x3c49db(0x12c)](_0x31ad7a),this[_0x3c49db(0x12d)]=_0x1b66a5[_0x3c49db(0x12d)];}}function _0x34b2(){const _0x2095d0=['push','3ZerYSm','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','156zIALAo','add','capabilities','11011pSulnZ','extendTemplate','div','2228888wOztTs','content','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','children','setTemplate','735564Vpyute','ck-hidden','10EWLQKf','517743WucXbp','ck-ai-chat__feed__interaction-header__capabilities','2382aUAXie','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','867760yXYMmf','3488727KnKgXI','ck-ai-chat__feed__interaction-header__capabilities__text','906MwNXHn','ck-ai-chat__feed__interaction-header','span'];_0x34b2=function(){return _0x2095d0;};return _0x34b2();}function aa(_0x28d6ef){const _0x52a392=_0x5a5bae,_0x4be84b=new _0x72fdc1();return _0x4be84b[_0x52a392(0x132)]=_0x28d6ef,_0x4be84b;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3509a6=_0x3b2f;function _0x3b2f(_0x330604,_0x5bd4d0){const _0x42ae78=_0x42ae();return _0x3b2f=function(_0x3b2f51,_0xac8b09){_0x3b2f51=_0x3b2f51-0x178;let _0x5a06d0=_0x42ae78[_0x3b2f51];return _0x5a06d0;},_0x3b2f(_0x330604,_0x5bd4d0);}(function(_0x36c275,_0x77ddca){const _0x2319b1=_0x3b2f,_0x17be3e=_0x36c275();while(!![]){try{const _0x1ec61e=-parseInt(_0x2319b1(0x187))/0x1*(parseInt(_0x2319b1(0x17a))/0x2)+parseInt(_0x2319b1(0x18b))/0x3*(parseInt(_0x2319b1(0x183))/0x4)+-parseInt(_0x2319b1(0x178))/0x5*(parseInt(_0x2319b1(0x188))/0x6)+-parseInt(_0x2319b1(0x195))/0x7*(parseInt(_0x2319b1(0x17e))/0x8)+parseInt(_0x2319b1(0x199))/0x9+-parseInt(_0x2319b1(0x189))/0xa*(-parseInt(_0x2319b1(0x192))/0xb)+parseInt(_0x2319b1(0x198))/0xc;if(_0x1ec61e===_0x77ddca)break;else _0x17be3e['push'](_0x17be3e['shift']());}catch(_0x292360){_0x17be3e['push'](_0x17be3e['shift']());}}}(_0x42ae,0x95fcf));import{View as _0x2c257e}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x3aa717}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x2c257e{[_0x3509a6(0x179)];[_0x3509a6(0x181)]='';[_0x3509a6(0x196)];[_0x3509a6(0x186)];constructor(_0x2dc484){const _0x19fbc8=_0x3509a6;super();const _0x4bb872=this[_0x19fbc8(0x184)];this[_0x19fbc8(0x193)](_0x19fbc8(0x190),!0x1),this[_0x19fbc8(0x193)](_0x19fbc8(0x191),!0x0),this[_0x19fbc8(0x196)]=new _0x3aa717({'textNodeStyle':_0x19fbc8(0x180),'delay':0x14}),this[_0x19fbc8(0x179)]=_0x2dc484,this[_0x19fbc8(0x186)]=this[_0x19fbc8(0x17c)](),this[_0x19fbc8(0x17f)]({'tag':_0x19fbc8(0x19a),'attributes':{'class':['ck',_0x19fbc8(0x197),_0x4bb872['if'](_0x19fbc8(0x190),_0x19fbc8(0x185)),_0x4bb872['if'](_0x19fbc8(0x191),_0x19fbc8(0x17d),_0x39cdcf=>!_0x39cdcf),_0x19fbc8(0x18d)],'data-cke-ai-id':this[_0x19fbc8(0x179)]['id']},'children':this[_0x19fbc8(0x186)]});}[_0x3509a6(0x18a)](){const _0xd0c6a6=_0x3509a6;this[_0xd0c6a6(0x196)][_0xd0c6a6(0x19c)]({'targetElement':this[_0xd0c6a6(0x18c)]}),this[_0xd0c6a6(0x18c)][_0xd0c6a6(0x18e)](_0xd0c6a6(0x19d))[_0xd0c6a6(0x18f)](_0x2f12bb=>{const _0x426bd7=_0xd0c6a6;_0x2f12bb[_0x426bd7(0x19b)](_0x426bd7(0x182));}),this[_0xd0c6a6(0x190)]=!0x0;}async[_0x3509a6(0x17b)](_0x54ddcc,_0x320902,_0x2aa575){const _0x3d6e98=_0x3509a6;await this[_0x3d6e98(0x196)][_0x3d6e98(0x194)]({'document':_0x54ddcc,'targetElement':_0x320902,'abortSignal':_0x2aa575});}}function _0x42ae(){const _0x206610=['content','data-id','1036BGsbdq','bindTemplate','ck-ai-chat__feed__item_done','children','2ipkKxK','72VMFVfS','338610FkPRvc','markAsDone','4281SVzEZz','element','ck-ai-chat__feed__text-item','querySelectorAll','forEach','isDone','isVisible','33ISpETd','set','stream','77Wvaeho','htmlStreamer','ck-ai-chat__feed__item','15141492bnlIKg','4067685szrdUk','div','removeAttribute','cleanUpAnimations','[data-id]','110245xPPgZT','options','1159154qpKcOq','streamIntoElement','createCollection','ck-hidden','106792bjgMai','setTemplate','animation:\x20ck-html-streamer-fade-in\x20.5s'];_0x42ae=function(){return _0x206610;};return _0x42ae();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4426eb=_0x54f7;(function(_0x382210,_0xa83e84){const _0x3d9349=_0x54f7,_0x9e0c1d=_0x382210();while(!![]){try{const _0xd4e156=-parseInt(_0x3d9349(0x91))/0x1*(parseInt(_0x3d9349(0x86))/0x2)+parseInt(_0x3d9349(0x8a))/0x3*(parseInt(_0x3d9349(0x7e))/0x4)+-parseInt(_0x3d9349(0x90))/0x5*(-parseInt(_0x3d9349(0x76))/0x6)+-parseInt(_0x3d9349(0x81))/0x7+parseInt(_0x3d9349(0x74))/0x8*(-parseInt(_0x3d9349(0x93))/0x9)+-parseInt(_0x3d9349(0x8b))/0xa*(-parseInt(_0x3d9349(0x8d))/0xb)+-parseInt(_0x3d9349(0x92))/0xc;if(_0xd4e156===_0xa83e84)break;else _0x9e0c1d['push'](_0x9e0c1d['shift']());}catch(_0x4998c2){_0x9e0c1d['push'](_0x9e0c1d['shift']());}}}(_0x5613,0x76d26));import{AIChatFeedItemView as _0x387980}from'./aichatfeeditemview.js';import{parse as _0x4c3efe,render as _0x47faf9}from'../../../aicore/utils/htmlparser.js';function _0x54f7(_0x42b8ab,_0x5455e){const _0x561344=_0x5613();return _0x54f7=function(_0x54f764,_0x1538f1){_0x54f764=_0x54f764-0x72;let _0x483d63=_0x561344[_0x54f764];return _0x483d63;},_0x54f7(_0x42b8ab,_0x5455e);}import{View as _0x3a5a0f}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x13d9b9,AIWebSourceView as _0x5e5d9a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x387980{[_0x4426eb(0x72)];constructor(_0x235423,_0x5da8d8){const _0x7b66aa=_0x4426eb;super(_0x5da8d8),this[_0x7b66aa(0x7a)]=_0x235423,this[_0x7b66aa(0x84)]({'attributes':{'class':[_0x7b66aa(0x80)]}}),this[_0x7b66aa(0x72)]=new _0x3a5a0f(),this[_0x7b66aa(0x72)][_0x7b66aa(0x89)]({'tag':_0x7b66aa(0x7f),'attributes':{'class':['ck',_0x7b66aa(0x94),_0x7b66aa(0x79)]}}),this[_0x7b66aa(0x95)][_0x7b66aa(0x7b)](this[_0x7b66aa(0x72)]);}async[_0x4426eb(0x88)](){const _0x3e26c5=_0x4426eb;super[_0x3e26c5(0x88)](),this[_0x3e26c5(0x73)][_0x3e26c5(0x77)]&&(await this[_0x3e26c5(0x8f)]({'parsedContent':_0x4c3efe(this[_0x3e26c5(0x73)][_0x3e26c5(0x77)]),'renderingStrategy':_0x3e26c5(0x7c)}),this[_0x3e26c5(0x78)]());}async[_0x4426eb(0x8f)]({parsedContent:_0xd2a9d8,renderingStrategy:_0x5aeff8,abortSignal:_0x21dc97}){const _0x2e08b8=_0x4426eb;_0x2e08b8(0x75)===_0x5aeff8?await this[_0x2e08b8(0x87)](_0xd2a9d8,this[_0x2e08b8(0x72)][_0x2e08b8(0x85)],_0x21dc97):this[_0x2e08b8(0x72)][_0x2e08b8(0x85)][_0x2e08b8(0x8c)]=_0x47faf9(_0xd2a9d8);}[_0x4426eb(0x82)](_0x1700ce){const _0x14dca7=_0x4426eb,_0x4d06f6=new _0x13d9b9(this[_0x14dca7(0x7a)]);_0x4d06f6[_0x14dca7(0x95)][_0x14dca7(0x8e)](_0x1700ce[_0x14dca7(0x83)](_0x274635=>new _0x5e5d9a(this[_0x14dca7(0x7a)],_0x274635))),_0x4d06f6[_0x14dca7(0x7d)]=!0x0,this[_0x14dca7(0x95)][_0x14dca7(0x7b)](_0x4d06f6);}}function _0x5613(){const _0x54766e=['6215AtIpNE','853823FtmXIR','215100IwZflT','147249IZSdeI','ck-reset_all-excluded','children','replyContainer','options','16bxBtwS','streaming','3012AqUgsW','initialContent','markAsDone','ck-ai-chat__feed__ai-reply-container','locale','add','static','isVisible','277644pZrcwI','div','ck-ai-chat__feed__ai-reply','3072153gjXyVS','updateSources','map','extendTemplate','element','2susZfM','streamIntoElement','render','setTemplate','27eNVSFP','20RcSGdw','innerHTML','3197469iKxDtv','addMany','updateContent'];_0x5613=function(){return _0x54766e;};return _0x5613();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1c10d8=_0x58a2;(function(_0x2a84a2,_0x1c6fa9){const _0x5d6217=_0x58a2,_0x4386c3=_0x2a84a2();while(!![]){try{const _0x173d01=-parseInt(_0x5d6217(0xdb))/0x1+parseInt(_0x5d6217(0x123))/0x2+-parseInt(_0x5d6217(0xd2))/0x3*(parseInt(_0x5d6217(0x101))/0x4)+-parseInt(_0x5d6217(0x113))/0x5*(-parseInt(_0x5d6217(0x126))/0x6)+parseInt(_0x5d6217(0xfb))/0x7+-parseInt(_0x5d6217(0xe9))/0x8*(parseInt(_0x5d6217(0x11b))/0x9)+-parseInt(_0x5d6217(0xd1))/0xa*(-parseInt(_0x5d6217(0xc8))/0xb);if(_0x173d01===_0x1c6fa9)break;else _0x4386c3['push'](_0x4386c3['shift']());}catch(_0xe0cbdb){_0x4386c3['push'](_0x4386c3['shift']());}}}(_0x5192,0x2de09));import{KeystrokeHandler as _0x286552}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2aec5b,BodyCollection as _0x26d380,ButtonView as _0x35695e,clickOutsideHandler as _0x50afb9,ListItemButtonView as _0x19f196,ListItemView as _0x2b04d3,ListView as _0x5120ff,SplitButtonView as _0x541d2f,UIModel as _0x9e1030,View as _0x421d78}from'ckeditor5/src/ui.js';import{IconCheck as _0x24f62b,IconAddComment as _0x245c7d,IconDocumentWithLoupe as _0x447f77}from'ckeditor5/src/icons.js';import{getTranslation as _0x29bda1}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x1c10d8(0xfc),_0x1c10d8(0xd5),_0x1c10d8(0x122)];export class AIChatFeedSuggestionItemActionsView extends _0x421d78{[_0x1c10d8(0xe7)];[_0x1c10d8(0xda)];[_0x1c10d8(0x10d)];[_0x1c10d8(0xce)];[_0x1c10d8(0xf2)];[_0x1c10d8(0x117)]=0x1;[_0x1c10d8(0xf1)];[_0x1c10d8(0xdd)];[_0x1c10d8(0xde)]=!0x0;constructor(_0x573f36,_0x10104d){const _0x21412f=_0x1c10d8;super(_0x573f36),this[_0x21412f(0xf1)]=_0x10104d||[...AI_REPLY_ACTIONS],this[_0x21412f(0xdd)]=[...this[_0x21412f(0xf1)]];const _0x2a8d45=this[_0x21412f(0x114)];this[_0x21412f(0xfd)](_0x21412f(0xd3),!0x0),this[_0x21412f(0xfd)](_0x21412f(0xee),!0x0),this[_0x21412f(0xfd)](_0x21412f(0xf5),!0x1),this[_0x21412f(0x10d)]=new _0x9e1030({'label':Ln(_0x21412f(0xfc),_0x573f36,this[_0x21412f(0x117)]),'icon':_0x24f62b,'withText':!0x0,'type':_0x21412f(0xea),'actionName':_0x21412f(0xfc)}),this[_0x21412f(0xce)]=new _0x9e1030({'label':Ln(_0x21412f(0x122),_0x573f36,this[_0x21412f(0x117)]),'icon':_0x447f77,'withText':!0x0,'type':_0x21412f(0xea),'actionName':_0x21412f(0x122)}),this[_0x21412f(0xf2)]=new _0x9e1030({'label':Ln(_0x21412f(0xd5),_0x573f36,this[_0x21412f(0x117)]),'icon':_0x245c7d,'withText':!0x0,'type':_0x21412f(0xea),'actionName':_0x21412f(0xd5)}),this[_0x21412f(0xe7)]=this[_0x21412f(0x121)](_0x573f36),this[_0x21412f(0xda)]=this[_0x21412f(0x128)](),this[_0x21412f(0xe7)]&&this[_0x21412f(0xda)][_0x21412f(0xf9)](this[_0x21412f(0xe7)]),this[_0x21412f(0xed)]({'tag':_0x21412f(0xd6),'attributes':{'class':['ck',_0x21412f(0xf6),_0x2a8d45['if'](_0x21412f(0xee),_0x21412f(0xc9),_0x14b1f9=>!_0x14b1f9)]},'children':this[_0x21412f(0xda)]}),this['on'](_0x21412f(0x103),()=>{const _0x1fe489=_0x21412f;this[_0x1fe489(0xdd)]=this[_0x1fe489(0xf5)]?this[_0x1fe489(0xf1)][_0x1fe489(0xe0)](_0x304359=>_0x1fe489(0xfc)!==_0x304359):[...this[_0x1fe489(0xf1)]],this[_0x1fe489(0xe5)](_0x573f36);});}[_0x1c10d8(0xe5)](_0x31c11b){const _0x502116=_0x1c10d8;this[_0x502116(0xe7)]&&this[_0x502116(0xda)][_0x502116(0xe1)](this[_0x502116(0xe7)])&&(this[_0x502116(0xda)][_0x502116(0x111)](this[_0x502116(0xe7)]),this[_0x502116(0xe7)][_0x502116(0xd9)]()),this[_0x502116(0xe7)]=this[_0x502116(0x121)](_0x31c11b),this[_0x502116(0xe7)]&&this[_0x502116(0xda)][_0x502116(0xf9)](this[_0x502116(0xe7)]);}[_0x1c10d8(0x121)](_0x1ac687){const _0x487311=_0x1c10d8;if(0x0==this[_0x487311(0xdd)][_0x487311(0xec)])return null;const _0x3a87d3=0x1===this[_0x487311(0xdd)][_0x487311(0xec)]?this[_0x487311(0xd7)](_0x1ac687):this[_0x487311(0x108)](_0x1ac687),_0x586728=this[_0x487311(0xde)]?'':_0x487311(0xe4);_0x3a87d3[_0x487311(0xfd)]({'label':Ln(this[_0x487311(0xdd)][0x0],_0x1ac687,this[_0x487311(0x117)]),'tooltip':Un(this[_0x487311(0xdd)][0x0],_0x1ac687,this[_0x487311(0x117)]),'withText':!0x0,'class':_0x487311(0xcf)+_0x586728});for(const _0x304628 of this[_0x487311(0xdd)])_0x3a87d3['on'](_0x304628,()=>{const _0x4713b0=_0x487311;this[_0x4713b0(0xf8)](_0x304628);});return this[_0x487311(0xde)]=!0x1,_0x3a87d3;}[_0x1c10d8(0xd7)](_0x45345c){const _0x36e64a=_0x1c10d8,_0x27484c=new _0x35695e(_0x45345c);return _0x27484c[_0x36e64a(0xfd)]({'class':_0x36e64a(0xe8),'withText':!0x0}),_0x27484c['on'](_0x36e64a(0xfa),()=>{const _0x2e7fb5=_0x36e64a;_0x27484c[_0x2e7fb5(0xf8)](this[_0x2e7fb5(0xdd)][0x0]);}),_0x27484c;}[_0x1c10d8(0x108)](_0x19d3f3){const _0x554a2d=_0x1c10d8,_0x19fa0b=new yn(_0x19d3f3,{'listItemModels':this[_0x554a2d(0xdd)][_0x554a2d(0x10e)](_0x269558=>{const _0x3f520b=_0x554a2d;switch(_0x269558){case _0x3f520b(0xfc):return this[_0x3f520b(0x10d)];case _0x3f520b(0x122):return this[_0x3f520b(0xce)];case _0x3f520b(0xd5):return this[_0x3f520b(0xf2)];}})});return _0x19fa0b[_0x554a2d(0xfd)]({'label':Ln(this[_0x554a2d(0xdd)][0x0],_0x19d3f3,this[_0x554a2d(0x117)]),'tooltip':Un(this[_0x554a2d(0xdd)][0x0],_0x19d3f3,this[_0x554a2d(0x117)]),'withText':!0x0,'class':_0x554a2d(0xf6),'balloonPanelClass':_0x554a2d(0x106)}),_0x19fa0b[_0x554a2d(0x11e)](_0x554a2d(0xd3))['to'](this),_0x19fa0b;}[_0x1c10d8(0x127)](_0x1afd20){const _0xe33ab0=_0x1c10d8,_0x3131cf=this[_0xe33ab0(0x107)];this[_0xe33ab0(0x117)]=_0x1afd20||this[_0xe33ab0(0x117)],this[_0xe33ab0(0xe7)][_0xe33ab0(0xfd)]({'label':Ln(this[_0xe33ab0(0xdd)][0x0],_0x3131cf,this[_0xe33ab0(0x117)]),'tooltip':Un(this[_0xe33ab0(0xdd)][0x0],_0x3131cf,this[_0xe33ab0(0x117)])}),this[_0xe33ab0(0x10d)][_0xe33ab0(0xf0)]=Ln(_0xe33ab0(0xfc),_0x3131cf,this[_0xe33ab0(0x117)]),this[_0xe33ab0(0xce)][_0xe33ab0(0xf0)]=Ln(_0xe33ab0(0x122),_0x3131cf,this[_0xe33ab0(0x117)]),this[_0xe33ab0(0xf2)][_0xe33ab0(0xf0)]=Ln(_0xe33ab0(0xd5),_0x3131cf,this[_0xe33ab0(0x117)]);}}class yn extends _0x541d2f{[_0x1c10d8(0x100)];[_0x1c10d8(0xca)];[_0x1c10d8(0xdf)];[_0x1c10d8(0x115)];constructor(_0x21507d,_0x820bb8){const _0x1dc25f=_0x1c10d8;super(_0x21507d),this[_0x1dc25f(0xca)]=new _0x2aec5b(this[_0x1dc25f(0x107)]),this[_0x1dc25f(0x100)]=new _0x26d380(this[_0x1dc25f(0x107)]),this[_0x1dc25f(0x100)][_0x1dc25f(0xcc)](),this[_0x1dc25f(0xfd)](_0x1dc25f(0x10b),''),this[_0x1dc25f(0xca)][_0x1dc25f(0x11e)](_0x1dc25f(0xd4))['to'](this,_0x1dc25f(0x10b)),this[_0x1dc25f(0xdf)]=this[_0x1dc25f(0x118)](_0x820bb8[_0x1dc25f(0xeb)][_0x1dc25f(0xe3)](0x1)),this[_0x1dc25f(0x100)][_0x1dc25f(0xf9)](this[_0x1dc25f(0xca)]),this[_0x1dc25f(0xca)][_0x1dc25f(0xf4)][_0x1dc25f(0xf9)](this[_0x1dc25f(0xdf)]),this[_0x1dc25f(0x125)][_0x1dc25f(0xd0)](_0x1dc25f(0x109)),this[_0x1dc25f(0x125)][_0x1dc25f(0xfd)](_0x1dc25f(0x109),_0x29bda1(this[_0x1dc25f(0x107)],_0x1dc25f(0xff))),this[_0x1dc25f(0xf3)](),this['on'](_0x1dc25f(0xfa),()=>{const _0x484cc9=_0x1dc25f,_0x37b304=_0x820bb8[_0x484cc9(0xeb)][0x0][_0x484cc9(0x124)];this[_0x484cc9(0xf8)](_0x37b304),this[_0x484cc9(0xca)][_0x484cc9(0xef)](),this[_0x484cc9(0x125)][_0x484cc9(0xe2)]();}),this['on'](_0x1dc25f(0xf7),()=>{const _0x5a9343=_0x1dc25f;this[_0x5a9343(0xca)][_0x5a9343(0xee)]?(this[_0x5a9343(0xca)][_0x5a9343(0xef)](),this[_0x5a9343(0x125)][_0x5a9343(0xe2)]()):(this[_0x5a9343(0xca)][_0x5a9343(0x120)]({'target':this[_0x5a9343(0x11d)],'positions':[_0x5a9343(0x104)===this[_0x5a9343(0x107)][_0x5a9343(0x11f)]?Pn:Hn]}),this[_0x5a9343(0xdf)][_0x5a9343(0xe2)]());}),_0x50afb9({'emitter':this[_0x1dc25f(0xca)],'callback':()=>{const _0x4664d5=_0x1dc25f;this[_0x4664d5(0xca)][_0x4664d5(0xef)]();},'activator':()=>this[_0x1dc25f(0xca)][_0x1dc25f(0xee)],'contextElements':()=>[this[_0x1dc25f(0x11d)],this[_0x1dc25f(0xca)][_0x1dc25f(0x11d)]]});}[_0x1c10d8(0x118)](_0xf7718a){const _0x3aab03=_0x1c10d8,_0x5c9e3b=this[_0x3aab03(0x107)],_0x4b7d6d=new _0x5120ff(_0x5c9e3b);for(const _0x5d0abc of _0xf7718a){const _0x344390=new _0x2b04d3(_0x5c9e3b),_0x210bc7=new _0x19f196(_0x5c9e3b);_0x210bc7[_0x3aab03(0x11e)](...Object[_0x3aab03(0x116)](_0x5d0abc))['to'](_0x5d0abc),_0x210bc7[_0x3aab03(0x11a)](_0x3aab03(0xfa))['to'](_0x4b7d6d),_0x344390[_0x3aab03(0xda)][_0x3aab03(0xf9)](_0x210bc7),_0x4b7d6d[_0x3aab03(0x10c)][_0x3aab03(0xf9)](_0x344390);}return _0x4b7d6d[_0x3aab03(0x10c)][_0x3aab03(0x11a)](_0x3aab03(0xfa))['to'](this),_0x4b7d6d['on'](_0x3aab03(0xfa),_0x41eaf6=>{const _0x2d44ac=_0x3aab03,_0x4a6054=_0x41eaf6[_0x2d44ac(0x102)];this[_0x2d44ac(0xf8)](_0x4a6054[_0x2d44ac(0x124)]),this[_0x2d44ac(0xca)][_0x2d44ac(0xef)](),this[_0x2d44ac(0x125)][_0x2d44ac(0xe2)]();}),_0x4b7d6d;}[_0x1c10d8(0xf3)](){const _0x297fae=_0x1c10d8;this[_0x297fae(0x115)]=new _0x286552(),this[_0x297fae(0x115)][_0x297fae(0x110)](this[_0x297fae(0xca)][_0x297fae(0x11d)]),this[_0x297fae(0x115)][_0x297fae(0xfd)](_0x297fae(0xdc),(_0x51219c,_0x579ff3)=>{const _0x3ca4ca=_0x297fae;this[_0x3ca4ca(0xca)][_0x3ca4ca(0xef)](),this[_0x3ca4ca(0x125)][_0x3ca4ca(0xe2)](),_0x579ff3();});}[_0x1c10d8(0xd9)](){const _0x4dcfbe=_0x1c10d8;super[_0x4dcfbe(0xd9)](),this[_0x4dcfbe(0x115)][_0x4dcfbe(0xd9)](),this[_0x4dcfbe(0xca)][_0x4dcfbe(0xd9)](),this[_0x4dcfbe(0x100)][_0x4dcfbe(0xcb)]();}}function Pn(_0x3dcd3d){const _0x518ef2=_0x1c10d8;return{'top':_0x3dcd3d[_0x518ef2(0x10a)],'left':_0x3dcd3d[_0x518ef2(0xe6)],'name':_0x518ef2(0x119),'config':{'withArrow':!0x1}};}function Hn(_0x10a27c,_0x55024f){const _0x2bb9b2=_0x1c10d8;return{'top':_0x10a27c[_0x2bb9b2(0x10a)],'left':_0x10a27c[_0x2bb9b2(0xe6)]-(_0x55024f[_0x2bb9b2(0x112)]-_0x10a27c[_0x2bb9b2(0x112)]),'name':_0x2bb9b2(0x119),'config':{'withArrow':!0x1}};}function Ln(_0x5b77ca,_0x5b410a,_0x4871b0){const _0x2425d2=_0x1c10d8;switch(_0x5b77ca){case _0x2425d2(0xfc):return _0x29bda1(_0x5b410a,_0x2425d2(0x10f),_0x4871b0);case _0x2425d2(0x122):return _0x29bda1(_0x5b410a,_0x2425d2(0x105),_0x4871b0);case _0x2425d2(0xd5):return _0x29bda1(_0x5b410a,_0x2425d2(0xfe),_0x4871b0);}}function _0x58a2(_0x36a957,_0x32ec6a){const _0x5192c0=_0x5192();return _0x58a2=function(_0x58a2a4,_0x45cb08){_0x58a2a4=_0x58a2a4-0xc8;let _0x489ee3=_0x5192c0[_0x58a2a4];return _0x489ee3;},_0x58a2(_0x36a957,_0x32ec6a);}function Un(_0x3f6449,_0x2be635,_0x1cae8f){const _0x54b510=_0x1c10d8;switch(_0x3f6449){case _0x54b510(0xfc):return _0x29bda1(_0x2be635,_0x54b510(0x11c),_0x1cae8f);case _0x54b510(0x122):return _0x29bda1(_0x2be635,_0x54b510(0xcd),_0x1cae8f);case _0x54b510(0xd5):return _0x29bda1(_0x2be635,_0x54b510(0xd8),_0x1cae8f);}}function _0x5192(){const _0x277e96=['_createActionsDropdown','tooltip','bottom','balloonPanelClass','items','applySuggestionModel','map','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','listenTo','remove','width','20HeUKKc','bindTemplate','keystrokeHandler','keys','_partsCount','_setUpList','arrowless','delegate','45ciGttL','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','element','bind','uiLanguageDirection','pin','_createActionsDropdownOrButton','showChangeInText','155548HbFxMG','actionName','arrowView','213018EgatdQ','updateLabels','createCollection','11wPCcde','ck-hidden','balloonPanelView','detachFromDom','attachToDom','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','showChangeInTextModel','ck-ai-chat__feed__ai-suggestion__actions\x20','unbind','5181780oYjAkw','6WeLtRk','isEnabled','class','insertSuggestion','div','_createActionsButton','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','destroy','children','135609IIZNRr','esc','_dropdownCurrentConfig','_firstRender','listView','filter','has','focus','slice','ck-ai-chat__feed__ai-suggestion__actions--no-animation','_updateDropdownActions','left','actionsButton','ck-ai-button-primary','244296qaiddz','button','listItemModels','length','setTemplate','isVisible','hide','label','_dropdownOriginalConfig','insertSuggestionModel','_setUpKeystrokes','content','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion__actions','open','fire','add','execute','473725UIsKlr','applySuggestion','set','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','bodyCollection','658864GBjnxK','source','change:isTrackChangesOn','ltr','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','ck-ai-chat__feed__ai-suggestion__actions__balloon','locale'];_0x5192=function(){return _0x277e96;};return _0x5192();}
|
|
23
|
+
const _0x5dfaec=_0x2951;(function(_0x2f5398,_0x415560){const _0x199602=_0x2951,_0x10eaba=_0x2f5398();while(!![]){try{const _0x34c3d8=-parseInt(_0x199602(0x111))/0x1*(parseInt(_0x199602(0x14c))/0x2)+parseInt(_0x199602(0x136))/0x3*(-parseInt(_0x199602(0x109))/0x4)+-parseInt(_0x199602(0x12e))/0x5+parseInt(_0x199602(0x112))/0x6+parseInt(_0x199602(0x13c))/0x7+-parseInt(_0x199602(0x135))/0x8*(-parseInt(_0x199602(0xf7))/0x9)+parseInt(_0x199602(0x144))/0xa*(parseInt(_0x199602(0x139))/0xb);if(_0x34c3d8===_0x415560)break;else _0x10eaba['push'](_0x10eaba['shift']());}catch(_0x24b556){_0x10eaba['push'](_0x10eaba['shift']());}}}(_0x55db,0xd10de));import{KeystrokeHandler as _0x131e69}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x54f1ab,BodyCollection as _0x2dd432,ButtonView as _0x3ea550,clickOutsideHandler as _0x23fe87,ListItemButtonView as _0x4d91bb,ListItemView as _0x519209,ListView as _0x204097,SplitButtonView as _0xbabbec,UIModel as _0x482d43,View as _0x509bf5}from'ckeditor5/src/ui.js';import{IconCheck as _0x2e5be1,IconAddComment as _0x212d0b,IconDocumentWithLoupe as _0xd653f}from'ckeditor5/src/icons.js';import{getTranslation as _0x2db328}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x5dfaec(0x140),_0x5dfaec(0xfa),_0x5dfaec(0x114)];export class AIChatFeedSuggestionItemActionsView extends _0x509bf5{[_0x5dfaec(0x14d)];[_0x5dfaec(0x10f)];[_0x5dfaec(0x11a)];[_0x5dfaec(0x100)];[_0x5dfaec(0xf5)];[_0x5dfaec(0x14b)]=0x1;[_0x5dfaec(0x147)];[_0x5dfaec(0x10a)];[_0x5dfaec(0x11c)]=!0x0;constructor(_0x35c302,_0x4b8d1a){const _0x93a79=_0x5dfaec;super(_0x35c302),this[_0x93a79(0x147)]=_0x4b8d1a||[...AI_REPLY_ACTIONS],this[_0x93a79(0x10a)]=[...this[_0x93a79(0x147)]];const _0x1f87d5=this[_0x93a79(0x13e)];this[_0x93a79(0xf8)](_0x93a79(0x145),!0x0),this[_0x93a79(0xf8)](_0x93a79(0xf0),!0x0),this[_0x93a79(0xf8)](_0x93a79(0x13a),!0x1),this[_0x93a79(0x11a)]=new _0x482d43({'label':Pn(_0x93a79(0x140),_0x35c302,this[_0x93a79(0x14b)]),'icon':_0x2e5be1,'withText':!0x0,'type':_0x93a79(0xfd),'actionName':_0x93a79(0x140)}),this[_0x93a79(0x100)]=new _0x482d43({'label':Pn(_0x93a79(0x114),_0x35c302,this[_0x93a79(0x14b)]),'icon':_0xd653f,'withText':!0x0,'type':_0x93a79(0xfd),'actionName':_0x93a79(0x114)}),this[_0x93a79(0xf5)]=new _0x482d43({'label':Pn(_0x93a79(0xfa),_0x35c302,this[_0x93a79(0x14b)]),'icon':_0x212d0b,'withText':!0x0,'type':_0x93a79(0xfd),'actionName':_0x93a79(0xfa)}),this[_0x93a79(0x14d)]=this[_0x93a79(0x12a)](_0x35c302),this[_0x93a79(0x10f)]=this[_0x93a79(0x124)](),this[_0x93a79(0x14d)]&&this[_0x93a79(0x10f)][_0x93a79(0x123)](this[_0x93a79(0x14d)]),this[_0x93a79(0xfc)]({'tag':_0x93a79(0xf4),'attributes':{'class':['ck',_0x93a79(0x116),_0x1f87d5['if'](_0x93a79(0xf0),_0x93a79(0x150),_0x22f607=>!_0x22f607)]},'children':this[_0x93a79(0x10f)]}),this['on'](_0x93a79(0x108),()=>{const _0x414763=_0x93a79;this[_0x414763(0x10a)]=this[_0x414763(0x13a)]?this[_0x414763(0x147)][_0x414763(0xf3)](_0xb57a13=>_0x414763(0x140)!==_0xb57a13):[...this[_0x414763(0x147)]],this[_0x414763(0x12f)](_0x35c302);});}[_0x5dfaec(0x12f)](_0x609e0c){const _0x46ded1=_0x5dfaec;this[_0x46ded1(0x14d)]&&this[_0x46ded1(0x10f)][_0x46ded1(0x133)](this[_0x46ded1(0x14d)])&&(this[_0x46ded1(0x10f)][_0x46ded1(0x129)](this[_0x46ded1(0x14d)]),this[_0x46ded1(0x14d)][_0x46ded1(0x102)]()),this[_0x46ded1(0x14d)]=this[_0x46ded1(0x12a)](_0x609e0c),this[_0x46ded1(0x14d)]&&this[_0x46ded1(0x10f)][_0x46ded1(0x123)](this[_0x46ded1(0x14d)]);}[_0x5dfaec(0x12a)](_0xf74bd3){const _0x59e188=_0x5dfaec;if(0x0==this[_0x59e188(0x10a)][_0x59e188(0x126)])return null;const _0x10ca40=0x1===this[_0x59e188(0x10a)][_0x59e188(0x126)]?this[_0x59e188(0x10c)](_0xf74bd3):this[_0x59e188(0x122)](_0xf74bd3),_0x391ccf=this[_0x59e188(0x11c)]?'':_0x59e188(0x11e);_0x10ca40[_0x59e188(0xf8)]({'label':Pn(this[_0x59e188(0x10a)][0x0],_0xf74bd3,this[_0x59e188(0x14b)]),'tooltip':Hn(this[_0x59e188(0x10a)][0x0],_0xf74bd3,this[_0x59e188(0x14b)]),'withText':!0x0,'class':_0x59e188(0x132)+_0x391ccf});for(const _0x3f963f of this[_0x59e188(0x10a)])_0x10ca40['on'](_0x3f963f,()=>{const _0x33c79a=_0x59e188;this[_0x33c79a(0x128)](_0x3f963f);});return this[_0x59e188(0x11c)]=!0x1,_0x10ca40;}[_0x5dfaec(0x10c)](_0x4b7a8b){const _0x3bc781=_0x5dfaec,_0x462dd8=new _0x3ea550(_0x4b7a8b);return _0x462dd8[_0x3bc781(0xf8)]({'class':_0x3bc781(0xfb),'withText':!0x0}),_0x462dd8['on'](_0x3bc781(0x134),()=>{const _0x31360e=_0x3bc781;_0x462dd8[_0x31360e(0x128)](this[_0x31360e(0x10a)][0x0]);}),_0x462dd8;}[_0x5dfaec(0x122)](_0x4b5111){const _0xcea118=_0x5dfaec,_0x5b1d69=new Nn(_0x4b5111,{'listItemModels':this[_0xcea118(0x10a)][_0xcea118(0x149)](_0x431e6f=>{const _0x4948f3=_0xcea118;switch(_0x431e6f){case _0x4948f3(0x140):return this[_0x4948f3(0x11a)];case _0x4948f3(0x114):return this[_0x4948f3(0x100)];case _0x4948f3(0xfa):return this[_0x4948f3(0xf5)];}})});return _0x5b1d69[_0xcea118(0xf8)]({'label':Pn(this[_0xcea118(0x10a)][0x0],_0x4b5111,this[_0xcea118(0x14b)]),'tooltip':Hn(this[_0xcea118(0x10a)][0x0],_0x4b5111,this[_0xcea118(0x14b)]),'withText':!0x0,'class':_0xcea118(0x116),'balloonPanelClass':_0xcea118(0x13d)}),_0x5b1d69[_0xcea118(0x125)](_0xcea118(0x145))['to'](this),_0x5b1d69;}[_0x5dfaec(0x13b)](_0x25df63){const _0x311216=_0x5dfaec,_0x3e97fc=this[_0x311216(0x10b)];this[_0x311216(0x14b)]=_0x25df63||this[_0x311216(0x14b)],this[_0x311216(0x14d)][_0x311216(0xf8)]({'label':Pn(this[_0x311216(0x10a)][0x0],_0x3e97fc,this[_0x311216(0x14b)]),'tooltip':Hn(this[_0x311216(0x10a)][0x0],_0x3e97fc,this[_0x311216(0x14b)])}),this[_0x311216(0x11a)][_0x311216(0x142)]=Pn(_0x311216(0x140),_0x3e97fc,this[_0x311216(0x14b)]),this[_0x311216(0x100)][_0x311216(0x142)]=Pn(_0x311216(0x114),_0x3e97fc,this[_0x311216(0x14b)]),this[_0x311216(0xf5)][_0x311216(0x142)]=Pn(_0x311216(0xfa),_0x3e97fc,this[_0x311216(0x14b)]);}}class Nn extends _0xbabbec{[_0x5dfaec(0x106)];[_0x5dfaec(0x103)];[_0x5dfaec(0x146)];[_0x5dfaec(0xff)];constructor(_0x4a19f0,_0x5ab850){const _0x7cba03=_0x5dfaec;super(_0x4a19f0),this[_0x7cba03(0x103)]=new _0x54f1ab(this[_0x7cba03(0x10b)]),this[_0x7cba03(0x106)]=new _0x2dd432(this[_0x7cba03(0x10b)]),this[_0x7cba03(0x106)][_0x7cba03(0x11b)](),this[_0x7cba03(0xf8)](_0x7cba03(0x14a),''),this[_0x7cba03(0x103)][_0x7cba03(0x125)](_0x7cba03(0x13f))['to'](this,_0x7cba03(0x14a)),this[_0x7cba03(0x146)]=this[_0x7cba03(0x137)](_0x5ab850[_0x7cba03(0x138)][_0x7cba03(0x118)](0x1)),this[_0x7cba03(0x106)][_0x7cba03(0x123)](this[_0x7cba03(0x103)]),this[_0x7cba03(0x103)][_0x7cba03(0x131)][_0x7cba03(0x123)](this[_0x7cba03(0x146)]),this[_0x7cba03(0x117)][_0x7cba03(0xfe)](_0x7cba03(0xf6)),this[_0x7cba03(0x117)][_0x7cba03(0xf8)](_0x7cba03(0xf6),_0x2db328(this[_0x7cba03(0x10b)],_0x7cba03(0xf2))),this[_0x7cba03(0x107)](),this['on'](_0x7cba03(0x134),()=>{const _0x5e63cb=_0x7cba03,_0x2462fc=_0x5ab850[_0x5e63cb(0x138)][0x0][_0x5e63cb(0x101)];this[_0x5e63cb(0x128)](_0x2462fc),this[_0x5e63cb(0x103)][_0x5e63cb(0x12d)](),this[_0x5e63cb(0x117)][_0x5e63cb(0x127)]();}),this['on'](_0x7cba03(0x143),()=>{const _0x497fb6=_0x7cba03;this[_0x497fb6(0x103)][_0x497fb6(0xf0)]?(this[_0x497fb6(0x103)][_0x497fb6(0x12d)](),this[_0x497fb6(0x117)][_0x497fb6(0x127)]()):(this[_0x497fb6(0x103)][_0x497fb6(0x113)]({'target':this[_0x497fb6(0x12c)],'positions':[_0x497fb6(0x141)===this[_0x497fb6(0x10b)][_0x497fb6(0x121)]?Gn:yn]}),this[_0x497fb6(0x146)][_0x497fb6(0x127)]());}),_0x23fe87({'emitter':this[_0x7cba03(0x103)],'callback':()=>{const _0x254fd2=_0x7cba03;this[_0x254fd2(0x103)][_0x254fd2(0x12d)]();},'activator':()=>this[_0x7cba03(0x103)][_0x7cba03(0xf0)],'contextElements':()=>[this[_0x7cba03(0x12c)],this[_0x7cba03(0x103)][_0x7cba03(0x12c)]]});}[_0x5dfaec(0x137)](_0x4de567){const _0x1fdc93=_0x5dfaec,_0x1ba07d=this[_0x1fdc93(0x10b)],_0x1e801e=new _0x204097(_0x1ba07d);for(const _0x14a896 of _0x4de567){const _0x5e77bd=new _0x519209(_0x1ba07d),_0x261a80=new _0x4d91bb(_0x1ba07d);_0x261a80[_0x1fdc93(0x125)](...Object[_0x1fdc93(0x10e)](_0x14a896))['to'](_0x14a896),_0x261a80[_0x1fdc93(0xf9)](_0x1fdc93(0x134))['to'](_0x1e801e),_0x5e77bd[_0x1fdc93(0x10f)][_0x1fdc93(0x123)](_0x261a80),_0x1e801e[_0x1fdc93(0x105)][_0x1fdc93(0x123)](_0x5e77bd);}return _0x1e801e[_0x1fdc93(0x105)][_0x1fdc93(0xf9)](_0x1fdc93(0x134))['to'](this),_0x1e801e['on'](_0x1fdc93(0x134),_0x2eadab=>{const _0x3ac723=_0x1fdc93,_0x25bff7=_0x2eadab[_0x3ac723(0x14f)];this[_0x3ac723(0x128)](_0x25bff7[_0x3ac723(0x101)]),this[_0x3ac723(0x103)][_0x3ac723(0x12d)](),this[_0x3ac723(0x117)][_0x3ac723(0x127)]();}),_0x1e801e;}[_0x5dfaec(0x107)](){const _0x3acc60=_0x5dfaec;this[_0x3acc60(0xff)]=new _0x131e69(),this[_0x3acc60(0xff)][_0x3acc60(0x130)](this[_0x3acc60(0x103)][_0x3acc60(0x12c)]),this[_0x3acc60(0xff)][_0x3acc60(0xf8)](_0x3acc60(0x11d),(_0x9371bc,_0x4c8148)=>{const _0xdfc135=_0x3acc60;this[_0xdfc135(0x103)][_0xdfc135(0x12d)](),this[_0xdfc135(0x117)][_0xdfc135(0x127)](),_0x4c8148();});}[_0x5dfaec(0x102)](){const _0x3d19e5=_0x5dfaec;super[_0x3d19e5(0x102)](),this[_0x3d19e5(0xff)][_0x3d19e5(0x102)](),this[_0x3d19e5(0x103)][_0x3d19e5(0x102)](),this[_0x3d19e5(0x106)][_0x3d19e5(0x104)]();}}function Gn(_0x25b191){const _0x1f0bb1=_0x5dfaec;return{'top':_0x25b191[_0x1f0bb1(0x14e)],'left':_0x25b191[_0x1f0bb1(0x119)],'name':_0x1f0bb1(0x115),'config':{'withArrow':!0x1}};}function _0x2951(_0x127955,_0x569a5a){const _0x55dbb0=_0x55db();return _0x2951=function(_0x2951f0,_0x52eac6){_0x2951f0=_0x2951f0-0xf0;let _0x481a14=_0x55dbb0[_0x2951f0];return _0x481a14;},_0x2951(_0x127955,_0x569a5a);}function yn(_0x38a1f1,_0x4ccc69){const _0x25a6e6=_0x5dfaec;return{'top':_0x38a1f1[_0x25a6e6(0x14e)],'left':_0x38a1f1[_0x25a6e6(0x119)]-(_0x4ccc69[_0x25a6e6(0x148)]-_0x38a1f1[_0x25a6e6(0x148)]),'name':_0x25a6e6(0x115),'config':{'withArrow':!0x1}};}function _0x55db(){const _0x55490e=['width','map','balloonPanelClass','_partsCount','70358AwatGY','actionsButton','bottom','source','ck-hidden','isVisible','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','filter','div','insertSuggestionModel','tooltip','2574AbnTqA','set','delegate','insertSuggestion','ck-ai-button-primary','setTemplate','button','unbind','keystrokeHandler','showChangeInTextModel','actionName','destroy','balloonPanelView','detachFromDom','items','bodyCollection','_setUpKeystrokes','change:isTrackChangesOn','60UcygxP','_dropdownCurrentConfig','locale','_createActionsButton','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','keys','children','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','47ZAypHd','8030796hxRvnu','pin','showChangeInText','arrowless','ck-ai-chat__feed__ai-suggestion__actions','arrowView','slice','left','applySuggestionModel','attachToDom','_firstRender','esc','ck-ai-chat__feed__ai-suggestion__actions--no-animation','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','uiLanguageDirection','_createActionsDropdown','add','createCollection','bind','length','focus','fire','remove','_createActionsDropdownOrButton','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','element','hide','3696170ltpJpI','_updateDropdownActions','listenTo','content','ck-ai-chat__feed__ai-suggestion__actions\x20','has','execute','3736vgVEVo','337959ieECyM','_setUpList','listItemModels','26433ZAVnQG','isTrackChangesOn','updateLabels','7429079rrrkSS','ck-ai-chat__feed__ai-suggestion__actions__balloon','bindTemplate','class','applySuggestion','ltr','label','open','10010kpmCwf','isEnabled','listView','_dropdownOriginalConfig'];_0x55db=function(){return _0x55490e;};return _0x55db();}function Pn(_0x280a9f,_0x5b2b3a,_0x2775ec){const _0x5d9a9e=_0x5dfaec;switch(_0x280a9f){case _0x5d9a9e(0x140):return _0x2db328(_0x5b2b3a,_0x5d9a9e(0x12b),_0x2775ec);case _0x5d9a9e(0x114):return _0x2db328(_0x5b2b3a,_0x5d9a9e(0x120),_0x2775ec);case _0x5d9a9e(0xfa):return _0x2db328(_0x5b2b3a,_0x5d9a9e(0x11f),_0x2775ec);}}function Hn(_0x55b0e0,_0x2db2f2,_0x48fdfe){const _0x472c3c=_0x5dfaec;switch(_0x55b0e0){case _0x472c3c(0x140):return _0x2db328(_0x2db2f2,_0x472c3c(0xf1),_0x48fdfe);case _0x472c3c(0x114):return _0x2db328(_0x2db2f2,_0x472c3c(0x10d),_0x48fdfe);case _0x472c3c(0xfa):return _0x2db328(_0x2db2f2,_0x472c3c(0x110),_0x48fdfe);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x313f2d=_0x27b4;function _0x27b4(_0x335829,_0x6bfe80){var _0x2acb0c=_0x2acb();return _0x27b4=function(_0x27b4e3,_0x5cc843){_0x27b4e3=_0x27b4e3-0xa5;var _0x3f439e=_0x2acb0c[_0x27b4e3];return _0x3f439e;},_0x27b4(_0x335829,_0x6bfe80);}(function(_0x1a86be,_0x37406a){var _0x244d32=_0x27b4,_0x2bce22=_0x1a86be();while(!![]){try{var _0x5ba130=parseInt(_0x244d32(0xbf))/0x1*(parseInt(_0x244d32(0xae))/0x2)+-parseInt(_0x244d32(0xca))/0x3*(parseInt(_0x244d32(0xc2))/0x4)+-parseInt(_0x244d32(0xcd))/0x5+parseInt(_0x244d32(0xc5))/0x6+parseInt(_0x244d32(0xc3))/0x7+-parseInt(_0x244d32(0xab))/0x8*(-parseInt(_0x244d32(0xad))/0x9)+parseInt(_0x244d32(0xb4))/0xa*(-parseInt(_0x244d32(0xc0))/0xb);if(_0x5ba130===_0x37406a)break;else _0x2bce22['push'](_0x2bce22['shift']());}catch(_0x50a79d){_0x2bce22['push'](_0x2bce22['shift']());}}}(_0x2acb,0xcb022));import{AIChatFeedItemView as _0x593ecd}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3c3ce1}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x16e17f}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x593ecd{[_0x313f2d(0xc1)];[_0x313f2d(0xb7)];constructor(_0x249f32,_0xd670ac){var _0x3c6c20=_0x313f2d;super(_0xd670ac),this[_0x3c6c20(0xd1)](_0x3c6c20(0xaf),!0x1),this[_0x3c6c20(0xc1)]=new _0x3c3ce1(_0x249f32,{'showDiff':_0xd670ac[_0x3c6c20(0xcc)],'areActionsDisabled':_0xd670ac[_0x3c6c20(0xb6)],'availableActions':_0xd670ac[_0x3c6c20(0xa9)]}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xc9),(_0x26e833,_0x559c31)=>{var _0x1c6358=_0x3c6c20;this[_0x1c6358(0xac)](_0x1c6358(0xc9),{'replyId':this[_0x1c6358(0xcb)]['id'],'showDiff':_0x559c31[_0x1c6358(0xcc)]});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xa8),()=>{var _0x133f16=_0x3c6c20;this[_0x133f16(0xac)](_0x133f16(0xa8),{'replyId':this[_0x133f16(0xcb)]['id']});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xa6),()=>{var _0x246097=_0x3c6c20;this[_0x246097(0xac)](_0x246097(0xa6),{'replyId':this[_0x246097(0xcb)]['id']});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xb1),(_0x51cb40,{index:_0x506d34})=>{var _0x1816ba=_0x3c6c20;this[_0x1816ba(0xac)](_0x1816ba(0xb1),{'replyId':this[_0x1816ba(0xcb)]['id'],'partIndex':_0x506d34});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xb9),(_0x1c3f91,{index:_0x57eaef})=>{var _0x39eb30=_0x3c6c20;this[_0x39eb30(0xac)](_0x39eb30(0xb9),{'replyId':this[_0x39eb30(0xcb)]['id'],'partIndex':_0x57eaef});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xce),(_0x1d90e8,{index:_0x24bd8a})=>{var _0x1b6366=_0x3c6c20;this[_0x1b6366(0xac)](_0x1b6366(0xce),{'replyId':this[_0x1b6366(0xcb)]['id'],'partIndex':_0x24bd8a});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xd0),(_0x58d1fd,{index:_0x1dac0e})=>{var _0x1a93cf=_0x3c6c20;this[_0x1a93cf(0xac)](_0x1a93cf(0xd0),{'replyId':this[_0x1a93cf(0xcb)]['id'],'partIndex':_0x1dac0e});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xbd),(_0x39fe7e,{index:_0x346f1f})=>{var _0x142e00=_0x3c6c20;this[_0x142e00(0xac)](_0x142e00(0xbd),{'replyId':this[_0x142e00(0xcb)]['id'],'partIndex':_0x346f1f});}),this[_0x3c6c20(0xb7)]=new _0x16e17f(_0x249f32,this[_0x3c6c20(0xcb)][_0x3c6c20(0xa9)]),this[_0x3c6c20(0xb7)][_0x3c6c20(0xd2)](_0x3c6c20(0xaf))['to'](this,_0x3c6c20(0xaf)),this[_0x3c6c20(0xb7)]['on'](_0x3c6c20(0xb1),()=>{var _0x5a479f=_0x3c6c20;this[_0x5a479f(0xac)](_0x5a479f(0xb1),{'replyId':this[_0x5a479f(0xcb)]['id']});}),this[_0x3c6c20(0xb7)]['on'](_0x3c6c20(0xb9),()=>{var _0x28716f=_0x3c6c20;this[_0x28716f(0xac)](_0x28716f(0xb9),{'replyId':this[_0x28716f(0xcb)]['id']});}),this[_0x3c6c20(0xb7)]['on'](_0x3c6c20(0xb0),()=>{var _0x4dbf3f=_0x3c6c20;this[_0x4dbf3f(0xac)](_0x4dbf3f(0xb0),{'replyId':this[_0x4dbf3f(0xcb)]['id']});}),_0xd670ac[_0x3c6c20(0xb6)]?this[_0x3c6c20(0xb7)][_0x3c6c20(0xaa)]=!0x1:this[_0x3c6c20(0xb7)][_0x3c6c20(0xd2)](_0x3c6c20(0xaa))['to'](this[_0x3c6c20(0xc1)][_0x3c6c20(0xbe)],_0x3c6c20(0xc6)),this[_0x3c6c20(0xc7)][_0x3c6c20(0xba)]([this[_0x3c6c20(0xc1)],this[_0x3c6c20(0xb7)]]),this[_0x3c6c20(0xb5)]({'attributes':{'class':[_0x3c6c20(0xbc)]}});}async[_0x313f2d(0xb2)](_0x52684c){var _0x20e5ad=_0x313f2d;await this[_0x20e5ad(0xc1)][_0x20e5ad(0xb2)](_0x52684c),this[_0x20e5ad(0xb7)][_0x20e5ad(0xbb)](this[_0x20e5ad(0xc1)][_0x20e5ad(0xbe)][_0x20e5ad(0xc8)]);}[_0x313f2d(0xc4)](_0x108b6f,_0x4f3d8d){var _0x14c3a3=_0x313f2d;this[_0x14c3a3(0xc1)][_0x14c3a3(0xbe)][_0x14c3a3(0xc4)](_0x108b6f,_0x4f3d8d);}[_0x313f2d(0xb8)](_0x1c0451){var _0x3c84ce=_0x313f2d;this[_0x3c84ce(0xc1)][_0x3c84ce(0xb8)](_0x1c0451);}[_0x313f2d(0xa5)](_0x5f4f7e){var _0x38f034=_0x313f2d;return this[_0x38f034(0xc1)][_0x38f034(0xbe)][_0x38f034(0xa5)](_0x5f4f7e);}[_0x313f2d(0xb3)](){var _0x513463=_0x313f2d;super[_0x513463(0xb3)](),this[_0x513463(0xc1)][_0x513463(0xb3)](),this[_0x513463(0xb7)][_0x513463(0xa7)]=this[_0x513463(0xc1)][_0x513463(0xbe)][_0x513463(0xcf)];}}function _0x2acb(){var _0x187468=['hasPendingParts','children','partsCount','toggleSuggestionDisplayMode','258081Qztxbl','options','showDiff','402685WdfZNE','rejectSuggestion','hasNonEmptyParts','mouseOverSuggestion','set','bind','getPartView','dislike','isVisible','like','availableActions','isEnabled','8PKZRDj','fire','10563678Vtxqns','2DjRfGJ','isTrackChangesOn','applySuggestion','showChangeInText','updateContent','markAsDone','10DaApBI','extendTemplate','areActionsDisabled','actionsView','updateSources','insertSuggestion','addMany','updateLabels','ck-ai-chat__feed__ai-suggestion','mouseLeaveSuggestion','bodyView','1277106NQBBMc','25856743wSgbKH','containerView','72kjAGRx','6927249PaFjlK','updatePartState','8224218pMbaZK'];_0x2acb=function(){return _0x187468;};return _0x2acb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3c718b=_0x53e6;function _0x53e6(_0xc1fffd,_0x364dd9){var _0x451c29=_0x451c();return _0x53e6=function(_0x53e64a,_0x3aeb8e){_0x53e64a=_0x53e64a-0xd8;var _0x285aa2=_0x451c29[_0x53e64a];return _0x285aa2;},_0x53e6(_0xc1fffd,_0x364dd9);}function _0x451c(){var _0x5a3517=['1786032QuYwvk','add','markAsDone','render','ck-ai-chat__feed__context-chips','890129ItEWLr','18kMCjmZ','innerHTML','1827903ahsOui','extendTemplate','length','ck-ai-chat__feed__message-content','ck-ai-chat__feed__user-message','172008LdaTpk','40kSsAUM','4024332ZsrRAC','_locale','contextItems','49407eDRWuw','filter','_contextChipsView','element','_bodyCollection','hidden','initialContent','setTemplate','div','362130FvOvkx','children','_createMessageContentView','_createContextChipsView','options','_messageContentView'];_0x451c=function(){return _0x5a3517;};return _0x451c();}(function(_0x289626,_0x2804bd){var _0xb720b9=_0x53e6,_0x9c356f=_0x289626();while(!![]){try{var _0x2d01db=parseInt(_0xb720b9(0xe2))/0x1+-parseInt(_0xb720b9(0xeb))/0x2*(-parseInt(_0xb720b9(0xef))/0x3)+-parseInt(_0xb720b9(0xea))/0x4+parseInt(_0xb720b9(0xf8))/0x5*(-parseInt(_0xb720b9(0xe3))/0x6)+parseInt(_0xb720b9(0xe5))/0x7+-parseInt(_0xb720b9(0xdd))/0x8+-parseInt(_0xb720b9(0xec))/0x9;if(_0x2d01db===_0x2804bd)break;else _0x9c356f['push'](_0x9c356f['shift']());}catch(_0xbf4525){_0x9c356f['push'](_0x9c356f['shift']());}}}(_0x451c,0x86444));import{AIChatFeedItemView as _0xdcb9b2}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x5bbf3b}from'./aichatfeedcontextchipsview.js';import{View as _0x170c43}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0xdcb9b2{[_0x3c718b(0xf1)]=null;[_0x3c718b(0xed)];[_0x3c718b(0xf3)];[_0x3c718b(0xdc)];constructor(_0x418abb,_0x2b7d27,_0x480968){var _0x2e7dd2=_0x3c718b;super(_0x2b7d27),this[_0x2e7dd2(0xed)]=_0x418abb,this[_0x2e7dd2(0xf3)]=_0x480968,this[_0x2e7dd2(0xda)](),this[_0x2e7dd2(0xd9)](),this[_0x2e7dd2(0xe6)]({'attributes':{'class':[_0x2e7dd2(0xe9)]}});}[_0x3c718b(0xda)](){var _0x364eb9=_0x3c718b;this[_0x364eb9(0xdb)][_0x364eb9(0xee)]&&this[_0x364eb9(0xdb)][_0x364eb9(0xee)][_0x364eb9(0xe7)]>0x0&&(this[_0x364eb9(0xf1)]=new _0x5bbf3b(this[_0x364eb9(0xed)],this[_0x364eb9(0xdb)][_0x364eb9(0xee)][_0x364eb9(0xf0)](_0xf77e73=>!_0xf77e73[_0x364eb9(0xf4)]),this[_0x364eb9(0xf3)]),this[_0x364eb9(0xf1)][_0x364eb9(0xe6)]({'attributes':{'class':_0x364eb9(0xe1)}}),this[_0x364eb9(0xd8)][_0x364eb9(0xde)](this[_0x364eb9(0xf1)]));}[_0x3c718b(0xd9)](){var _0x2f277c=_0x3c718b;this[_0x2f277c(0xdc)]=new _0x170c43(this[_0x2f277c(0xed)]),this[_0x2f277c(0xdc)][_0x2f277c(0xf6)]({'tag':_0x2f277c(0xf7),'attributes':{'class':_0x2f277c(0xe8)}}),this[_0x2f277c(0xd8)][_0x2f277c(0xde)](this[_0x2f277c(0xdc)]);}[_0x3c718b(0xe0)](){var _0x264afd=_0x3c718b;super[_0x264afd(0xe0)](),this[_0x264afd(0xdc)][_0x264afd(0xf2)][_0x264afd(0xe4)]=this[_0x264afd(0xdb)][_0x264afd(0xf5)],this[_0x264afd(0xdf)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46c1cc=_0x484e;(function(_0x2539da,_0x5d4a32){const _0x5e5f9d=_0x484e,_0x27bee2=_0x2539da();while(!![]){try{const _0x4de1a1=parseInt(_0x5e5f9d(0x1f1))/0x1+parseInt(_0x5e5f9d(0x1ea))/0x2*(parseInt(_0x5e5f9d(0x1f4))/0x3)+parseInt(_0x5e5f9d(0x1f7))/0x4+-parseInt(_0x5e5f9d(0x1f0))/0x5*(-parseInt(_0x5e5f9d(0x1f3))/0x6)+parseInt(_0x5e5f9d(0x1f2))/0x7*(-parseInt(_0x5e5f9d(0x1e2))/0x8)+parseInt(_0x5e5f9d(0x1e7))/0x9+parseInt(_0x5e5f9d(0x1e3))/0xa*(-parseInt(_0x5e5f9d(0x1f5))/0xb);if(_0x4de1a1===_0x5d4a32)break;else _0x27bee2['push'](_0x27bee2['shift']());}catch(_0x356536){_0x27bee2['push'](_0x27bee2['shift']());}}}(_0xebc2,0xbe5f8));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x11e6a0}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x11e6a0,_0x46c1cc(0x1ec),_0x46c1cc(0x1e1),_0x46c1cc(0x1e8),_0x46c1cc(0x1ed),_0x46c1cc(0x1f6),_0x46c1cc(0x1e5),_0x46c1cc(0x1e4),_0x46c1cc(0x1e0),_0x46c1cc(0x1e9),_0x46c1cc(0x1e6),_0x46c1cc(0x1ef),_0x46c1cc(0x1ee),_0x46c1cc(0x1eb)];function _0x484e(_0x5c41af,_0x60ed30){const _0xebc2b6=_0xebc2();return _0x484e=function(_0x484e3d,_0x3e592f){_0x484e3d=_0x484e3d-0x1e0;let _0x4e7b50=_0xebc2b6[_0x484e3d];return _0x4e7b50;},_0x484e(_0x5c41af,_0x60ed30);}function _0xebc2(){const _0x133eca=['8248SgsKeZ','selectModel','startConversation','abortPromptStream','toggleReasoning','toggleWebSearch','5684585fdWoOe','1163074bNpgTW','91gUEzzj','6YVPRIT','414oNGWnp','11ypciPo','addDocumentToContext','6048968TMSjNA','addResourceToContext','resizeTabs','678376SQphjy','26523100tostGM','addUrlToContext','addFileToContext','loadSourceResources','1377846HjMblO','sendUserMessage','removeContextItem'];_0xebc2=function(){return _0x133eca;};return _0xebc2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x7adcb3=_0x1317;(function(_0x27bb42,_0x4ed900){var _0x10b7c8=_0x1317,_0x283176=_0x27bb42();while(!![]){try{var _0x46db42=-parseInt(_0x10b7c8(0xc4))/0x1*(parseInt(_0x10b7c8(0xc6))/0x2)+parseInt(_0x10b7c8(0xc0))/0x3*(parseInt(_0x10b7c8(0xc3))/0x4)+-parseInt(_0x10b7c8(0xc1))/0x5*(-parseInt(_0x10b7c8(0xc7))/0x6)+parseInt(_0x10b7c8(0xbc))/0x7*(parseInt(_0x10b7c8(0xbb))/0x8)+parseInt(_0x10b7c8(0xc2))/0x9*(parseInt(_0x10b7c8(0xbf))/0xa)+-parseInt(_0x10b7c8(0xbd))/0xb+parseInt(_0x10b7c8(0xc5))/0xc;if(_0x46db42===_0x4ed900)break;else _0x283176['push'](_0x283176['shift']());}catch(_0x2df4df){_0x283176['push'](_0x283176['shift']());}}}(_0x4e72,0x3fe65));import{ContextPlugin as _0x1e3c8a}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x3636a5}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x308411}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0x1317(_0x2a2b03,_0x1b114f){var _0x4e7208=_0x4e72();return _0x1317=function(_0x1317a4,_0x2307ac){_0x1317a4=_0x1317a4-0xb8;var _0x3e8455=_0x4e7208[_0x1317a4];return _0x3e8455;},_0x1317(_0x2a2b03,_0x1b114f);}export class AIChatHistory extends _0x1e3c8a{static get[_0x7adcb3(0xc8)](){return[_0x3636a5,_0x308411];}static get[_0x7adcb3(0xb9)](){var _0xd8b867=_0x7adcb3;return _0xd8b867(0xb8);}static get[_0x7adcb3(0xbe)](){return!0x0;}static get[_0x7adcb3(0xba)](){return!0x0;}}function _0x4e72(){var _0x330651=['AIChatHistory','pluginName','isPremiumPlugin','1488SGmJGF','3003NdNbgu','892331eFLcee','isOfficialPlugin','20dgIMsm','100479lRVZql','265SPOQvC','1021689uaJgUS','12VQLzRX','48331fIkzwd','1532304kcEzXj','10xysdjq','5604MYMRXT','requires'];_0x4e72=function(){return _0x330651;};return _0x4e72();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2fed(){const _0x1a456a=['_handleEditTitle','AIChatHistoryController','updateItemLoadingState','removeConversation','selectConversation','removeHistoryItem','map','showError','editConversationTitle','6457056czeloR','itemsLoaded','resizedTabs','_aiConnector','getItem','unpin','36cfxwbp','AI_CHAT_HISTORY_PIN_ACTION','_clearItemLoading','updateItemPinned','_handleSelectConversation','updates','77327TJPArw','activateTab','107552GRchbE','4aBXMMP','_showConversationHistory','toLocaleDateString','_handleTogglePin','AI_CHAT_HISTORY_CATEGORY_LATER','updateItems','rename','isPremiumPlugin','pinned','AI_CHAT_UNTITLED_CONVERSATION','_handleHistoryErrorUI','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','pin','AI_CHAT_HISTORY_ERROR_GENERIC','727638JGJURK','_aiChatHistoryUi','resizeTabs','_setItemLoading','length','title','history','AI_CHAT_HISTORY_CATEGORY_PINNED','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','removeItem','getDate','activateTab:history','updateItemTitle','getFullYear','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','push','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_updateHistoryItemsUI','_setIsMaximized','3161070xJaYKy','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_UNPIN_ACTION','change:activeConversation','loadConversation','_generateErrorMessage','_aiChatController','requires','error','plugins','setLoadingSkeleton','AI_CHAT_HISTORY_CATEGORY_TODAY','isOfficialPlugin','itemUpdated','loadItems','context','get','pluginName','handleRemovedConversation','setDate','activeConversation','itemRemoved','4329976EtDmCG','getMonth','operation','resize','openChat','createdAt','listenTo','_handleRemove','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','remove','getGroupId','init','_getCategorizedItems','3559472LXERqp','getItems','view','chat','items','locale','itemId','5bbElne','setIsMaximized'];_0x2fed=function(){return _0x1a456a;};return _0x2fed();}const _0x2ab1bc=_0x62ce;(function(_0x4a5349,_0x2b9bd7){const _0xfa1ebf=_0x62ce,_0xffcd3d=_0x4a5349();while(!![]){try{const _0x5c000b=parseInt(_0xfa1ebf(0x1ee))/0x1*(parseInt(_0xfa1ebf(0x1f1))/0x2)+-parseInt(_0xfa1ebf(0x1ff))/0x3+parseInt(_0xfa1ebf(0x229))/0x4*(parseInt(_0xfa1ebf(0x23d))/0x5)+-parseInt(_0xfa1ebf(0x1e2))/0x6+parseInt(_0xfa1ebf(0x236))/0x7+-parseInt(_0xfa1ebf(0x1f0))/0x8*(parseInt(_0xfa1ebf(0x1e8))/0x9)+parseInt(_0xfa1ebf(0x213))/0xa;if(_0x5c000b===_0x2b9bd7)break;else _0xffcd3d['push'](_0xffcd3d['shift']());}catch(_0x49aea5){_0xffcd3d['push'](_0xffcd3d['shift']());}}}(_0x2fed,0xa8465));import{ContextPlugin as _0x2b7178}from'ckeditor5/src/core.js';import{AIConnector as _0x4a740a}from'../aicore/aiconnector.js';import{AIChatController as _0x325ed4}from'../aichat/aichatcontroller.js';import{AITabs as _0x7d598e}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x55338e}from'./aichathistoryui.js';function _0x62ce(_0x12adf8,_0x18e9b3){const _0x2fedc2=_0x2fed();return _0x62ce=function(_0x62ce21,_0x3e8add){_0x62ce21=_0x62ce21-0x1dc;let _0x44d9fb=_0x2fedc2[_0x62ce21];return _0x44d9fb;},_0x62ce(_0x12adf8,_0x18e9b3);}import{AIChatHistoryConversations as _0x45940a}from'./model/aichathistoryconversations.js';import{getTranslation as _0x2d57d4}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x2b7178{[_0x2ab1bc(0x1e5)];[_0x2ab1bc(0x200)];[_0x2ab1bc(0x219)];static get[_0x2ab1bc(0x21a)](){return[_0x4a740a,_0x325ed4,_0x55338e,_0x7d598e];}static get[_0x2ab1bc(0x224)](){const _0x10ad00=_0x2ab1bc;return _0x10ad00(0x240);}static get[_0x2ab1bc(0x21f)](){return!0x0;}static get[_0x2ab1bc(0x1f8)](){return!0x0;}[_0x2ab1bc(0x234)](){const _0x5af26a=_0x2ab1bc;this[_0x5af26a(0x1e5)]=this[_0x5af26a(0x222)][_0x5af26a(0x21c)][_0x5af26a(0x223)](_0x4a740a),this[_0x5af26a(0x200)]=this[_0x5af26a(0x222)][_0x5af26a(0x21c)][_0x5af26a(0x223)](_0x55338e),this[_0x5af26a(0x219)]=this[_0x5af26a(0x222)][_0x5af26a(0x21c)][_0x5af26a(0x223)](_0x325ed4);const _0x4291da=this[_0x5af26a(0x222)][_0x5af26a(0x21c)][_0x5af26a(0x223)](_0x7d598e);try{const _0x1402cf=this[_0x5af26a(0x219)][_0x5af26a(0x233)]();this[_0x5af26a(0x205)]=new _0x45940a({'connector':this[_0x5af26a(0x1e5)],'group':_0x1402cf}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x1dc),(_0x3332fc,_0x9dc001)=>{const _0x39f15e=_0x5af26a;this[_0x39f15e(0x202)](_0x9dc001['id'],_0x39f15e(0x232)),this[_0x39f15e(0x230)](_0x9dc001['id']);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x1e1),(_0x189418,_0x3f95fd)=>{const _0x24acc7=_0x5af26a;this[_0x24acc7(0x202)](_0x3f95fd['id'],_0x24acc7(0x1f7)),this[_0x24acc7(0x23f)](_0x3f95fd['id'],_0x3f95fd[_0x24acc7(0x204)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x205)],_0x5af26a(0x220),(_0x34b8e2,_0x4ccbb8)=>{const _0x49104a=_0x5af26a;void 0x0!==_0x4ccbb8[_0x49104a(0x1ed)][_0x49104a(0x204)]&&this[_0x49104a(0x200)][_0x49104a(0x20b)](_0x4ccbb8[_0x49104a(0x23c)],_0x4ccbb8[_0x49104a(0x1ed)][_0x49104a(0x204)]),void 0x0!==_0x4ccbb8[_0x49104a(0x1ed)][_0x49104a(0x1f9)]&&this[_0x49104a(0x211)](),this[_0x49104a(0x1ea)](_0x4ccbb8[_0x49104a(0x23c)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x205)],_0x5af26a(0x228),(_0x40230d,_0x16249a)=>{const _0xe63025=_0x5af26a;this[_0xe63025(0x219)][_0xe63025(0x225)](_0x16249a[_0xe63025(0x23c)]),this[_0xe63025(0x200)][_0xe63025(0x1de)](_0x16249a[_0xe63025(0x23c)]),this[_0xe63025(0x1ea)](_0x16249a[_0xe63025(0x23c)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x205)],_0x5af26a(0x1e3),()=>{const _0x518c72=_0x5af26a;this[_0x518c72(0x211)]();}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x205)],_0x5af26a(0x21b),(_0x3b9cf3,_0x5d6275)=>{const _0x552838=_0x5af26a;this[_0x552838(0x1fb)](_0x5d6275[_0x552838(0x21b)],_0x5d6275[_0x552838(0x22b)],_0x5d6275[_0x552838(0x23c)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x1dd),(_0x36894c,_0x4d443e)=>{const _0x2fd874=_0x5af26a;this[_0x2fd874(0x1ec)](_0x4d443e['id']);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x20f),(_0x26601c,_0x3172f6)=>{const _0x5b8a7a=_0x5af26a,_0x4ca200=_0x3172f6[_0x5b8a7a(0x1f9)]?_0x5b8a7a(0x1fd):_0x5b8a7a(0x1e7);this[_0x5b8a7a(0x202)](_0x3172f6['id'],_0x4ca200),this[_0x5b8a7a(0x1f4)](_0x3172f6['id'],_0x3172f6[_0x5b8a7a(0x1f9)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x22d),()=>{const _0x23eca7=_0x5af26a;_0x4291da[_0x23eca7(0x238)][_0x23eca7(0x1ef)](_0x23eca7(0x239));}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x219)],_0x5af26a(0x216),()=>{const _0x1f68c6=_0x5af26a;this[_0x1f68c6(0x211)]();}),_0x4291da[_0x5af26a(0x238)]['on'](_0x5af26a(0x20a),()=>{const _0xf53f06=_0x5af26a;this[_0xf53f06(0x1f2)]();}),this[_0x5af26a(0x22f)](_0x4291da,_0x5af26a(0x1e4),(_0x575d39,_0x106bec)=>{const _0x10b8b1=_0x5af26a;this[_0x10b8b1(0x212)](_0x106bec);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x201),()=>{const _0x8d229a=_0x5af26a;_0x4291da[_0x8d229a(0x22c)]();});}catch(_0x1645a5){this[_0x5af26a(0x1fb)](_0x1645a5,_0x5af26a(0x234));}}async[_0x2ab1bc(0x23f)](_0x39f4b9,_0x3a3e45){const _0x20b8f2=_0x2ab1bc;await this[_0x20b8f2(0x205)][_0x20b8f2(0x20b)](_0x39f4b9,_0x3a3e45);}async[_0x2ab1bc(0x1f4)](_0xd28227,_0x3ec159){const _0x12f1b9=_0x2ab1bc;await this[_0x12f1b9(0x205)][_0x12f1b9(0x1eb)](_0xd28227,_0x3ec159);}async[_0x2ab1bc(0x230)](_0x5b20e1){const _0x5c683f=_0x2ab1bc;await this[_0x5c683f(0x205)][_0x5c683f(0x208)](_0x5b20e1);}async[_0x2ab1bc(0x1ec)](_0x4fa89c){const _0x2cd3f3=_0x2ab1bc;await this[_0x2cd3f3(0x219)][_0x2cd3f3(0x217)](_0x4fa89c);}async[_0x2ab1bc(0x1f2)](){const _0x1956a4=_0x2ab1bc;this[_0x1956a4(0x200)][_0x1956a4(0x1e0)](''),this[_0x1956a4(0x200)][_0x1956a4(0x21d)](!0x0),await this[_0x1956a4(0x205)][_0x1956a4(0x234)](),this[_0x1956a4(0x200)][_0x1956a4(0x21d)](!0x1);}[_0x2ab1bc(0x211)](){const _0x11c7d6=_0x2ab1bc,_0x56baf4=this[_0x11c7d6(0x219)][_0x11c7d6(0x227)]?.['id'],_0x23aebc=this[_0x11c7d6(0x235)]()[_0x11c7d6(0x1df)](_0x341d95=>({'title':_0x341d95[_0x11c7d6(0x204)],'items':_0x341d95[_0x11c7d6(0x23a)][_0x11c7d6(0x1df)](_0x1ac5d9=>({'id':_0x1ac5d9['id'],'title':_0x1ac5d9[_0x11c7d6(0x204)]||_0x2d57d4(this[_0x11c7d6(0x222)][_0x11c7d6(0x23b)],_0x11c7d6(0x1fa)),'createdAt':new Date(_0x1ac5d9[_0x11c7d6(0x22e)])[_0x11c7d6(0x1f3)](),'active':_0x1ac5d9['id']===_0x56baf4,'pinned':_0x1ac5d9[_0x11c7d6(0x1f9)]}))}));this[_0x11c7d6(0x200)][_0x11c7d6(0x1f6)](_0x23aebc);}[_0x2ab1bc(0x202)](_0x2cc5ee,_0x1ac500){const _0xc8fafe=_0x2ab1bc;this[_0xc8fafe(0x200)][_0xc8fafe(0x241)](_0x2cc5ee,_0x1ac500,!0x0);}[_0x2ab1bc(0x1ea)](_0x77b0e2){const _0x138da7=_0x2ab1bc;this[_0x138da7(0x200)][_0x138da7(0x241)](_0x77b0e2,null,!0x1);}[_0x2ab1bc(0x1fb)](_0x3c6c5f,_0x3fb56c,_0x29ff21){const _0x26f487=_0x2ab1bc,_0x17bea5=this[_0x26f487(0x218)](_0x3fb56c,_0x29ff21);this[_0x26f487(0x200)][_0x26f487(0x1e0)](_0x17bea5),_0x29ff21&&this[_0x26f487(0x1ea)](_0x29ff21),this[_0x26f487(0x200)][_0x26f487(0x21d)](!0x1);}[_0x2ab1bc(0x218)](_0x5233c9,_0x24351b){const _0x1e13d8=_0x2ab1bc,_0x2a303c=_0x24351b?this[_0x1e13d8(0x205)][_0x1e13d8(0x1e6)](_0x24351b):null,_0x476460=_0x2a303c?.[_0x1e13d8(0x204)]||_0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x1fa));switch(_0x5233c9){case _0x1e13d8(0x20b):return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x214),_0x476460);case _0x1e13d8(0x1eb):{const _0x2b14ec=_0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x2a303c?.[_0x1e13d8(0x1f9)]?_0x1e13d8(0x215):_0x1e13d8(0x1e9));return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x1fc),[_0x2b14ec,_0x476460]);}case _0x1e13d8(0x208):return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x20d),_0x476460);case _0x1e13d8(0x234):case _0x1e13d8(0x221):return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x207));default:return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x1fe));}}[_0x2ab1bc(0x235)](){const _0x297893=_0x2ab1bc,_0x453cb0=new Date(),_0xfd9c92=new Date(_0x453cb0[_0x297893(0x20c)](),_0x453cb0[_0x297893(0x22a)](),_0x453cb0[_0x297893(0x209)]()),_0x112e45=new Date(_0xfd9c92);_0x112e45[_0x297893(0x226)](_0x112e45[_0x297893(0x209)]()-0x1);const _0x111ad0=new Date(_0xfd9c92);_0x111ad0[_0x297893(0x226)](_0x111ad0[_0x297893(0x209)]()-0xe);const _0x20032a=this[_0x297893(0x205)][_0x297893(0x237)]({'pinned':!0x0}),_0x398b61=this[_0x297893(0x205)][_0x297893(0x237)]({'from':_0xfd9c92,'to':_0xfd9c92}),_0x36e2fe=this[_0x297893(0x205)][_0x297893(0x237)]({'from':_0x112e45,'to':_0x112e45}),_0x312849=this[_0x297893(0x205)][_0x297893(0x237)]({'from':_0x111ad0,'to':_0x112e45}),_0x9e0189=this[_0x297893(0x205)][_0x297893(0x237)]({'to':_0x111ad0}),_0x6f9109=[];return _0x20032a[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x206)),'items':_0x20032a}),_0x398b61[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x21e)),'items':_0x398b61}),_0x36e2fe[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x231)),'items':_0x36e2fe}),_0x312849[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x210)),'items':_0x312849}),_0x9e0189[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x1f5)),'items':_0x9e0189}),_0x6f9109;}[_0x2ab1bc(0x212)](_0x4caaef){const _0x240650=_0x2ab1bc;this[_0x240650(0x200)][_0x240650(0x23e)](_0x4caaef);}}
|
|
23
|
+
const _0x359452=_0x28b4;(function(_0xf98fab,_0x35ce19){const _0x4470b3=_0x28b4,_0x579b62=_0xf98fab();while(!![]){try{const _0x27185d=parseInt(_0x4470b3(0xc5))/0x1*(parseInt(_0x4470b3(0xb9))/0x2)+-parseInt(_0x4470b3(0x90))/0x3*(parseInt(_0x4470b3(0x6e))/0x4)+parseInt(_0x4470b3(0x71))/0x5*(parseInt(_0x4470b3(0xca))/0x6)+-parseInt(_0x4470b3(0x7b))/0x7*(parseInt(_0x4470b3(0x84))/0x8)+-parseInt(_0x4470b3(0xb8))/0x9*(-parseInt(_0x4470b3(0x89))/0xa)+-parseInt(_0x4470b3(0xb7))/0xb*(parseInt(_0x4470b3(0x9d))/0xc)+-parseInt(_0x4470b3(0x8b))/0xd;if(_0x27185d===_0x35ce19)break;else _0x579b62['push'](_0x579b62['shift']());}catch(_0x168fa2){_0x579b62['push'](_0x579b62['shift']());}}}(_0x48dc,0xcf0eb));import{ContextPlugin as _0x27e726}from'ckeditor5/src/core.js';import{AIConnector as _0xf71b30}from'../aicore/aiconnector.js';import{AIChatController as _0x52dc38}from'../aichat/aichatcontroller.js';import{AITabs as _0x27a951}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x2899b7}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x287f1c}from'./model/aichathistoryconversations.js';function _0x48dc(){const _0xb5cb74=['_aiConnector','30OCxiqX','pin','AI_CHAT_UNTITLED_CONVERSATION','_handleEditTitle','selectConversation','54cqhXSK','map','requires','updateItemPinned','_updateHistoryItemsUI','isPremiumPlugin','_handleSelectConversation','updateItems','title','updateItemTitle','openChat','push','AI_CHAT_HISTORY_CATEGORY_PINNED','24wVTgtJ','getItems','init','833060lIFxgo','getDate','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','pluginName','_handleHistoryErrorUI','removeConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','resizedTabs','length','resizeTabs','63XHQjOf','_generateErrorMessage','loadConversation','_setIsMaximized','context','AI_CHAT_HISTORY_ERROR_GENERIC','loadItems','_handleRemove','_aiChatHistoryUi','454696IbvvXW','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','change:activeConversation','remove','unpin','10ZwVvGP','AI_CHAT_HISTORY_PIN_ACTION','9507966gcxaiC','createdAt','AI_CHAT_HISTORY_CATEGORY_TODAY','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','pinned','640938ufwfDe','getGroupId','_getCategorizedItems','removeHistoryItem','rename','getItem','listenTo','resize','activateTab','history','_clearItemLoading','_aiChatController','_setItemLoading','156eaoBDa','handleRemovedConversation','AI_CHAT_HISTORY_CATEGORY_LATER','activeConversation','plugins','_showConversationHistory','get','isOfficialPlugin','chat','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','setLoadingSkeleton','itemUpdated','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','removeItem','AIChatHistoryController','itemsLoaded','operation','setDate','locale','activateTab:history','updates','AI_CHAT_HISTORY_UNPIN_ACTION','error','_handleTogglePin','itemRemoved','179201GPUemF','9745317NgFqGx','66824JRamSK','getFullYear','setIsMaximized','toLocaleDateString','view','updateItemLoadingState','showError','getMonth','itemId','editConversationTitle','items'];_0x48dc=function(){return _0xb5cb74;};return _0x48dc();}import{getTranslation as _0x272d57}from'../aicore/utils/common-translations.js';function _0x28b4(_0x28a452,_0x1de614){const _0x48dc13=_0x48dc();return _0x28b4=function(_0x28b41a,_0x397548){_0x28b41a=_0x28b41a-0x69;let _0x2e0b63=_0x48dc13[_0x28b41a];return _0x2e0b63;},_0x28b4(_0x28a452,_0x1de614);}export class AIChatHistoryController extends _0x27e726{[_0x359452(0xc4)];[_0x359452(0x83)];[_0x359452(0x9b)];static get[_0x359452(0xcc)](){return[_0xf71b30,_0x52dc38,_0x2899b7,_0x27a951];}static get[_0x359452(0x74)](){const _0x38d00a=_0x359452;return _0x38d00a(0xac);}static get[_0x359452(0xa4)](){return!0x0;}static get[_0x359452(0xcf)](){return!0x0;}[_0x359452(0x70)](){const _0x4c03f2=_0x359452;this[_0x4c03f2(0xc4)]=this[_0x4c03f2(0x7f)][_0x4c03f2(0xa1)][_0x4c03f2(0xa3)](_0xf71b30),this[_0x4c03f2(0x83)]=this[_0x4c03f2(0x7f)][_0x4c03f2(0xa1)][_0x4c03f2(0xa3)](_0x2899b7),this[_0x4c03f2(0x9b)]=this[_0x4c03f2(0x7f)][_0x4c03f2(0xa1)][_0x4c03f2(0xa3)](_0x52dc38);const _0x5bce2a=this[_0x4c03f2(0x7f)][_0x4c03f2(0xa1)][_0x4c03f2(0xa3)](_0x27a951);try{const _0xa257ea=this[_0x4c03f2(0x9b)][_0x4c03f2(0x91)]();this[_0x4c03f2(0x99)]=new _0x287f1c({'connector':this[_0x4c03f2(0xc4)],'group':_0xa257ea}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x83)],_0x4c03f2(0x76),(_0x254729,_0x38a88d)=>{const _0x9d1d08=_0x4c03f2;this[_0x9d1d08(0x9c)](_0x38a88d['id'],_0x9d1d08(0x87)),this[_0x9d1d08(0x82)](_0x38a88d['id']);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x83)],_0x4c03f2(0xc2),(_0x19fd53,_0x16a8d1)=>{const _0x206755=_0x4c03f2;this[_0x206755(0x9c)](_0x16a8d1['id'],_0x206755(0x94)),this[_0x206755(0xc8)](_0x16a8d1['id'],_0x16a8d1[_0x206755(0x69)]);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x99)],_0x4c03f2(0xa9),(_0x366224,_0x4b2ac0)=>{const _0x2d46d6=_0x4c03f2;void 0x0!==_0x4b2ac0[_0x2d46d6(0xb2)][_0x2d46d6(0x69)]&&this[_0x2d46d6(0x83)][_0x2d46d6(0x6a)](_0x4b2ac0[_0x2d46d6(0xc1)],_0x4b2ac0[_0x2d46d6(0xb2)][_0x2d46d6(0x69)]),void 0x0!==_0x4b2ac0[_0x2d46d6(0xb2)][_0x2d46d6(0x8f)]&&this[_0x2d46d6(0xce)](),this[_0x2d46d6(0x9a)](_0x4b2ac0[_0x2d46d6(0xc1)]);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x99)],_0x4c03f2(0xb6),(_0x3b39e0,_0x5eaa31)=>{const _0x5e94dd=_0x4c03f2;this[_0x5e94dd(0x9b)][_0x5e94dd(0x9e)](_0x5eaa31[_0x5e94dd(0xc1)]),this[_0x5e94dd(0x83)][_0x5e94dd(0x93)](_0x5eaa31[_0x5e94dd(0xc1)]),this[_0x5e94dd(0x9a)](_0x5eaa31[_0x5e94dd(0xc1)]);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x99)],_0x4c03f2(0xad),()=>{const _0x1438ce=_0x4c03f2;this[_0x1438ce(0xce)]();}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x99)],_0x4c03f2(0xb4),(_0x39a804,_0x556e14)=>{const _0x461cfe=_0x4c03f2;this[_0x461cfe(0x75)](_0x556e14[_0x461cfe(0xb4)],_0x556e14[_0x461cfe(0xae)],_0x556e14[_0x461cfe(0xc1)]);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x83)],_0x4c03f2(0xc9),(_0x390866,_0x1ae357)=>{const _0x458f07=_0x4c03f2;this[_0x458f07(0xd0)](_0x1ae357['id']);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x83)],_0x4c03f2(0xa6),(_0x42800b,_0x404e56)=>{const _0x33e46b=_0x4c03f2,_0x270b46=_0x404e56[_0x33e46b(0x8f)]?_0x33e46b(0xc6):_0x33e46b(0x88);this[_0x33e46b(0x9c)](_0x404e56['id'],_0x270b46),this[_0x33e46b(0xb5)](_0x404e56['id'],_0x404e56[_0x33e46b(0x8f)]);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x83)],_0x4c03f2(0x6b),()=>{const _0x1def61=_0x4c03f2;_0x5bce2a[_0x1def61(0xbd)][_0x1def61(0x98)](_0x1def61(0xa5));}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x9b)],_0x4c03f2(0x86),()=>{const _0x50ca65=_0x4c03f2;this[_0x50ca65(0xce)]();}),_0x5bce2a[_0x4c03f2(0xbd)]['on'](_0x4c03f2(0xb1),()=>{const _0x314db3=_0x4c03f2;this[_0x314db3(0xa2)]();}),this[_0x4c03f2(0x96)](_0x5bce2a,_0x4c03f2(0x78),(_0xf712f2,_0xd88455)=>{const _0x5bc624=_0x4c03f2;this[_0x5bc624(0x7e)](_0xd88455);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x83)],_0x4c03f2(0x7a),()=>{const _0x41f5dc=_0x4c03f2;_0x5bce2a[_0x41f5dc(0x97)]();});}catch(_0x23d0c6){this[_0x4c03f2(0x75)](_0x23d0c6,_0x4c03f2(0x70));}}async[_0x359452(0xc8)](_0xb43d1d,_0x288b18){const _0x31fc87=_0x359452;await this[_0x31fc87(0x99)][_0x31fc87(0x6a)](_0xb43d1d,_0x288b18);}async[_0x359452(0xb5)](_0xcc7916,_0x470d05){const _0x24c435=_0x359452;await this[_0x24c435(0x99)][_0x24c435(0xcd)](_0xcc7916,_0x470d05);}async[_0x359452(0x82)](_0x34f430){const _0x28fd4a=_0x359452;await this[_0x28fd4a(0x99)][_0x28fd4a(0xab)](_0x34f430);}async[_0x359452(0xd0)](_0x3846d2){const _0x297ab2=_0x359452;await this[_0x297ab2(0x9b)][_0x297ab2(0x7d)](_0x3846d2);}async[_0x359452(0xa2)](){const _0x379ea1=_0x359452;this[_0x379ea1(0x83)][_0x379ea1(0xbf)](''),this[_0x379ea1(0x83)][_0x379ea1(0xa8)](!0x0),await this[_0x379ea1(0x99)][_0x379ea1(0x70)](),this[_0x379ea1(0x83)][_0x379ea1(0xa8)](!0x1);}[_0x359452(0xce)](){const _0x1af235=_0x359452,_0x156165=this[_0x1af235(0x9b)][_0x1af235(0xa0)]?.['id'],_0x2df1e3=this[_0x1af235(0x92)]()[_0x1af235(0xcb)](_0xdd5609=>({'title':_0xdd5609[_0x1af235(0x69)],'items':_0xdd5609[_0x1af235(0xc3)][_0x1af235(0xcb)](_0x5860e4=>({'id':_0x5860e4['id'],'title':_0x5860e4[_0x1af235(0x69)]||_0x272d57(this[_0x1af235(0x7f)][_0x1af235(0xb0)],_0x1af235(0xc7)),'createdAt':new Date(_0x5860e4[_0x1af235(0x8c)])[_0x1af235(0xbc)](),'active':_0x5860e4['id']===_0x156165,'pinned':_0x5860e4[_0x1af235(0x8f)]}))}));this[_0x1af235(0x83)][_0x1af235(0xd1)](_0x2df1e3);}[_0x359452(0x9c)](_0x355a8e,_0x1c3ec7){const _0x136e4b=_0x359452;this[_0x136e4b(0x83)][_0x136e4b(0xbe)](_0x355a8e,_0x1c3ec7,!0x0);}[_0x359452(0x9a)](_0x378296){const _0x48f5f6=_0x359452;this[_0x48f5f6(0x83)][_0x48f5f6(0xbe)](_0x378296,null,!0x1);}[_0x359452(0x75)](_0x2864bf,_0xc89f1d,_0x56a5a4){const _0x268d92=_0x359452,_0x133c9c=this[_0x268d92(0x7c)](_0xc89f1d,_0x56a5a4);this[_0x268d92(0x83)][_0x268d92(0xbf)](_0x133c9c),_0x56a5a4&&this[_0x268d92(0x9a)](_0x56a5a4),this[_0x268d92(0x83)][_0x268d92(0xa8)](!0x1);}[_0x359452(0x7c)](_0x4ecfb6,_0xdfd6eb){const _0x53a5f9=_0x359452,_0x2cf6dc=_0xdfd6eb?this[_0x53a5f9(0x99)][_0x53a5f9(0x95)](_0xdfd6eb):null,_0x3a33c7=_0x2cf6dc?.[_0x53a5f9(0x69)]||_0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x53a5f9(0xc7));switch(_0x4ecfb6){case _0x53a5f9(0x6a):return _0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x53a5f9(0x73),_0x3a33c7);case _0x53a5f9(0xcd):{const _0x4da247=_0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x2cf6dc?.[_0x53a5f9(0x8f)]?_0x53a5f9(0xb3):_0x53a5f9(0x8a));return _0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x53a5f9(0x85),[_0x4da247,_0x3a33c7]);}case _0x53a5f9(0xab):return _0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x53a5f9(0xaa),_0x3a33c7);case _0x53a5f9(0x70):case _0x53a5f9(0x81):return _0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x53a5f9(0x77));default:return _0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x53a5f9(0x80));}}[_0x359452(0x92)](){const _0x37eb7e=_0x359452,_0x29b3eb=new Date(),_0xccabbc=new Date(_0x29b3eb[_0x37eb7e(0xba)](),_0x29b3eb[_0x37eb7e(0xc0)](),_0x29b3eb[_0x37eb7e(0x72)]()),_0x39d671=new Date(_0xccabbc);_0x39d671[_0x37eb7e(0xaf)](_0x39d671[_0x37eb7e(0x72)]()-0x1);const _0x4da442=new Date(_0xccabbc);_0x4da442[_0x37eb7e(0xaf)](_0x4da442[_0x37eb7e(0x72)]()-0xe);const _0x20997f=this[_0x37eb7e(0x99)][_0x37eb7e(0x6f)]({'pinned':!0x0}),_0x3e32fb=this[_0x37eb7e(0x99)][_0x37eb7e(0x6f)]({'from':_0xccabbc,'to':_0xccabbc}),_0x346c38=this[_0x37eb7e(0x99)][_0x37eb7e(0x6f)]({'from':_0x39d671,'to':_0x39d671}),_0x488c14=this[_0x37eb7e(0x99)][_0x37eb7e(0x6f)]({'from':_0x4da442,'to':_0x39d671}),_0x4e4d56=this[_0x37eb7e(0x99)][_0x37eb7e(0x6f)]({'to':_0x4da442}),_0xa0f674=[];return _0x20997f[_0x37eb7e(0x79)]>0x0&&_0xa0f674[_0x37eb7e(0x6c)]({'title':_0x272d57(this[_0x37eb7e(0x7f)][_0x37eb7e(0xb0)],_0x37eb7e(0x6d)),'items':_0x20997f}),_0x3e32fb[_0x37eb7e(0x79)]>0x0&&_0xa0f674[_0x37eb7e(0x6c)]({'title':_0x272d57(this[_0x37eb7e(0x7f)][_0x37eb7e(0xb0)],_0x37eb7e(0x8d)),'items':_0x3e32fb}),_0x346c38[_0x37eb7e(0x79)]>0x0&&_0xa0f674[_0x37eb7e(0x6c)]({'title':_0x272d57(this[_0x37eb7e(0x7f)][_0x37eb7e(0xb0)],_0x37eb7e(0x8e)),'items':_0x346c38}),_0x488c14[_0x37eb7e(0x79)]>0x0&&_0xa0f674[_0x37eb7e(0x6c)]({'title':_0x272d57(this[_0x37eb7e(0x7f)][_0x37eb7e(0xb0)],_0x37eb7e(0xa7)),'items':_0x488c14}),_0x4e4d56[_0x37eb7e(0x79)]>0x0&&_0xa0f674[_0x37eb7e(0x6c)]({'title':_0x272d57(this[_0x37eb7e(0x7f)][_0x37eb7e(0xb0)],_0x37eb7e(0x9f)),'items':_0x4e4d56}),_0xa0f674;}[_0x359452(0x7e)](_0x577adc){const _0x3c5e89=_0x359452;this[_0x3c5e89(0x83)][_0x3c5e89(0xbb)](_0x577adc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e602b=_0x4f3c;(function(_0x29f78f,_0x2d3288){const _0x57055c=_0x4f3c,_0x363066=_0x29f78f();while(!![]){try{const _0x4babdc=-parseInt(_0x57055c(0x11a))/0x1+-parseInt(_0x57055c(0x10f))/0x2+-parseInt(_0x57055c(0x124))/0x3*(parseInt(_0x57055c(0x109))/0x4)+-parseInt(_0x57055c(0x12d))/0x5+-parseInt(_0x57055c(0x113))/0x6+-parseInt(_0x57055c(0x115))/0x7*(parseInt(_0x57055c(0x123))/0x8)+parseInt(_0x57055c(0x116))/0x9*(parseInt(_0x57055c(0x121))/0xa);if(_0x4babdc===_0x2d3288)break;else _0x363066['push'](_0x363066['shift']());}catch(_0x3f0614){_0x363066['push'](_0x363066['shift']());}}}(_0x52c1,0x5e563));import{ContextPlugin as _0x25c71e}from'ckeditor5/src/core.js';function _0x4f3c(_0x5eed2b,_0x2f1f40){const _0x52c1ee=_0x52c1();return _0x4f3c=function(_0x4f3c71,_0x355aa5){_0x4f3c71=_0x4f3c71-0x105;let _0x541257=_0x52c1ee[_0x4f3c71];return _0x541257;},_0x4f3c(_0x5eed2b,_0x2f1f40);}import{AITabs as _0x4a325e}from'../aitabs/aitabs.js';import{IconAIHistory as _0x21079e}from'ckeditor5/src/icons.js';function _0x52c1(){const _0x1c54e5=['619098tMqBgH','updateItems','context','updateHistoryItemsWithCategories','setLoadingSkeleton','resizeTabs','isPremiumPlugin','750vvJpIc','selectConversation','5592XXJSRg','6WFofNK','locale','get','pluginName','plugins','showConversationHistory','hideError','isOfficialPlugin','showResizeButton','3830355LThdkt','delegate','openChat','isMaximized','setIsMaximized','requires','updateItemTitle','view','editConversationTitle','addTab','1441156NXIjXZ','AI_CHAT_HISTORY_HEADING','_historyView','removeHistoryItem','AIChatHistoryUI','isLoading','471170ogrmky','removeConversation','updateItemLoadingState','setConversationPinned','364698itrPVL','AITabs','5901mbpWWk','405333jUnBeu','errorMessage','history','showError'];_0x52c1=function(){return _0x1c54e5;};return _0x52c1();}import{AIChatHistoryView as _0x3f8c0c}from'./ui/aichathistoryview.js';import{getTranslation as _0x42e43a}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x5e602b(0x129),_0x5e602b(0x110),_0x5e602b(0x107),_0x5e602b(0x112),_0x5e602b(0x122),_0x5e602b(0x12f),_0x5e602b(0x11f)];export class AIChatHistoryUI extends _0x25c71e{static get[_0x5e602b(0x132)](){return[_0x4a325e];}[_0x5e602b(0x10b)];static get[_0x5e602b(0x127)](){const _0x5c2d42=_0x5e602b;return _0x5c2d42(0x10d);}static get[_0x5e602b(0x12b)](){return!0x0;}static get[_0x5e602b(0x120)](){return!0x0;}constructor(_0x50d4e6){const _0x26cc74=_0x5e602b;super(_0x50d4e6);const _0x2e7f6b=this[_0x26cc74(0x11c)][_0x26cc74(0x128)][_0x26cc74(0x126)](_0x26cc74(0x114));this[_0x26cc74(0x10b)]=new _0x3f8c0c(this[_0x26cc74(0x11c)][_0x26cc74(0x125)],_0x2e7f6b[_0x26cc74(0x12c)]),this[_0x26cc74(0x10b)][_0x26cc74(0x12e)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x2e7f6b[_0x26cc74(0x106)][_0x26cc74(0x108)]({'id':_0x26cc74(0x118),'buttonLabel':_0x42e43a(this[_0x26cc74(0x11c)][_0x26cc74(0x125)],_0x26cc74(0x10a)),'buttonIcon':_0x21079e,'order':0x0,'content':this[_0x26cc74(0x10b)]});}[_0x5e602b(0x10c)](_0x773e41){const _0x486451=_0x5e602b;this[_0x486451(0x10b)][_0x486451(0x10c)](_0x773e41);}[_0x5e602b(0x11b)](_0x11e1c7){const _0x2af626=_0x5e602b;this[_0x2af626(0x10b)][_0x2af626(0x11d)](_0x11e1c7);}[_0x5e602b(0x105)](_0x124d13,_0x26982b){const _0x21a836=_0x5e602b;this[_0x21a836(0x10b)][_0x21a836(0x105)](_0x124d13,_0x26982b);}[_0x5e602b(0x111)](_0x21d104,_0x146a0b,_0x4aec52){const _0x4eb3ae=_0x5e602b;this[_0x4eb3ae(0x10b)][_0x4eb3ae(0x111)](_0x21d104,_0x146a0b,_0x4aec52);}[_0x5e602b(0x11e)](_0x51f0a6){const _0xd4bc85=_0x5e602b;this[_0xd4bc85(0x10b)][_0xd4bc85(0x10e)]=_0x51f0a6;}[_0x5e602b(0x119)](_0x3e8edf){const _0x199fa5=_0x5e602b;this[_0x199fa5(0x10b)][_0x199fa5(0x117)]=_0x3e8edf;}[_0x5e602b(0x12a)](){const _0x486b3f=_0x5e602b;this[_0x486b3f(0x10b)][_0x486b3f(0x117)]='';}[_0x5e602b(0x131)](_0x172d89){const _0x10f8c8=_0x5e602b;this[_0x10f8c8(0x10b)][_0x10f8c8(0x130)]=_0x172d89;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b5902=_0x15ff;(function(_0x1ca992,_0x177c26){const _0x56eead=_0x15ff,_0x3fe670=_0x1ca992();while(!![]){try{const _0x52bbe8=parseInt(_0x56eead(0xc9))/0x1*(-parseInt(_0x56eead(0xa6))/0x2)+parseInt(_0x56eead(0xac))/0x3*(parseInt(_0x56eead(0xad))/0x4)+-parseInt(_0x56eead(0xba))/0x5+-parseInt(_0x56eead(0xa5))/0x6+-parseInt(_0x56eead(0xaf))/0x7*(parseInt(_0x56eead(0xb6))/0x8)+-parseInt(_0x56eead(0xa2))/0x9*(-parseInt(_0x56eead(0xc3))/0xa)+parseInt(_0x56eead(0xb9))/0xb*(parseInt(_0x56eead(0xbb))/0xc);if(_0x52bbe8===_0x177c26)break;else _0x3fe670['push'](_0x3fe670['shift']());}catch(_0x7c0ab9){_0x3fe670['push'](_0x3fe670['shift']());}}}(_0x57f3,0x1885e));function _0x15ff(_0x31f0b8,_0x3be960){const _0x57f3e1=_0x57f3();return _0x15ff=function(_0x15ff65,_0x2b38d1){_0x15ff65=_0x15ff65-0x9a;let _0x156b02=_0x57f3e1[_0x15ff65];return _0x156b02;},_0x15ff(_0x31f0b8,_0x3be960);}function _0x57f3(){const _0x575d31=['164796jOMYrm','8VVePhl','loadItems','210665qvTdAW','pinned','getItem','updateConversation','items','updateTitle','getResult','24ySYjTD','updateItemTitle','find','218416ghcXxo','848090MuozxV','204Xeqbzy','getItems','itemsLoaded','createdAt','fire','getConversations','itemRemoved','itemUpdated','271430meOZTW','push','execute','getTime','map','splice','739NldIGh','group','from','updatePinned','error','filter','removeItem','getMonth','getDate','connector','36fCfnRQ','fetchConversations','getFullYear','433356labEvC','334RqoywL','addItem','deleteConversation','init','updateItemPinned','findIndex'];_0x57f3=function(){return _0x575d31;};return _0x57f3();}import{EmitterMixin as _0xb984eb}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x591e59}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0xb984eb(){[_0x5b5902(0xb3)]=[];[_0x5b5902(0xa1)];[_0x5b5902(0xca)];constructor({connector:_0x225de2,group:_0x26ea83}){const _0x39c152=_0x5b5902;super(),this[_0x39c152(0xa1)]=_0x225de2,this[_0x39c152(0xca)]=_0x26ea83;}async[_0x5b5902(0xa9)](){const _0x2a5f00=_0x5b5902;try{const _0xeff9a1=this[_0x2a5f00(0xa1)][_0x2a5f00(0xa3)](this[_0x2a5f00(0xca)]),_0x5d797b=await _0xeff9a1[_0x2a5f00(0xc0)]();this[_0x2a5f00(0xae)](_0x5d797b);}catch(_0x3ce05b){this[_0x2a5f00(0xbf)](_0x2a5f00(0x9c),{'error':_0x3ce05b,'operation':_0x2a5f00(0xa9)});}}[_0x5b5902(0xa7)](_0x341fc6){const _0x52417d=_0x5b5902;this[_0x52417d(0xb3)][_0x52417d(0xc4)](_0x341fc6);}async[_0x5b5902(0x9e)](_0x699962){const _0x428d64=_0x5b5902,_0x14362a=this[_0x428d64(0xb3)][_0x428d64(0xab)](_0x2270c9=>_0x2270c9['id']===_0x699962);if(-0x1===_0x14362a)return!0x1;try{return await this[_0x428d64(0xa1)][_0x428d64(0xa8)](_0x699962)[_0x428d64(0xc5)](),this[_0x428d64(0xb3)][_0x428d64(0xc8)](_0x14362a,0x1),this[_0x428d64(0xbf)](_0x428d64(0xc1),{'itemId':_0x699962}),!0x0;}catch(_0x4073d0){return this[_0x428d64(0xbf)](_0x428d64(0x9c),{'error':_0x4073d0,'operation':_0x428d64(0x9e),'itemId':_0x699962}),!0x1;}}[_0x5b5902(0xb1)](_0x299f75){const _0x28efae=_0x5b5902;return this[_0x28efae(0xb3)][_0x28efae(0xb8)](_0x252eee=>_0x252eee['id']===_0x299f75);}async[_0x5b5902(0xb7)](_0x59348e,_0x1305e3){const _0x335ae3=_0x5b5902,_0x546491=this[_0x335ae3(0xb1)](_0x59348e);if(!_0x546491)return!0x1;try{return await this[_0x335ae3(0xa1)][_0x335ae3(0xb2)](_0x59348e,{'title':_0x1305e3})[_0x335ae3(0xb5)](),_0x546491[_0x335ae3(0xb4)](_0x1305e3),this[_0x335ae3(0xbf)](_0x335ae3(0xc2),{'itemId':_0x59348e,'updates':{'title':_0x1305e3}}),!0x0;}catch(_0x1ae78d){return this[_0x335ae3(0xbf)](_0x335ae3(0x9c),{'error':_0x1ae78d,'operation':_0x335ae3(0xb7),'itemId':_0x59348e}),!0x1;}}async[_0x5b5902(0xaa)](_0x531713,_0x3f049a){const _0x1250ce=_0x5b5902,_0x5d094e=this[_0x1250ce(0xb1)](_0x531713);if(!_0x5d094e)return!0x1;try{return await this[_0x1250ce(0xa1)][_0x1250ce(0xb2)](_0x531713,{'pinned':_0x3f049a})[_0x1250ce(0xb5)](),_0x5d094e[_0x1250ce(0x9b)](_0x3f049a),this[_0x1250ce(0xbf)](_0x1250ce(0xc2),{'itemId':_0x531713,'updates':{'pinned':_0x3f049a}}),!0x0;}catch(_0x39b8af){return this[_0x1250ce(0xbf)](_0x1250ce(0x9c),{'error':_0x39b8af,'operation':_0x1250ce(0xaa),'itemId':_0x531713}),!0x1;}}[_0x5b5902(0xae)](_0x33559a){const _0x49ad61=_0x5b5902;try{this[_0x49ad61(0xb3)]=[],_0x33559a[_0x49ad61(0xc7)](_0x3ff9d4=>{const _0x3442a6=_0x49ad61;this[_0x3442a6(0xa7)](new _0x591e59(_0x3ff9d4));}),this[_0x49ad61(0xbf)](_0x49ad61(0xbd),{'items':[...this[_0x49ad61(0xb3)]]});}catch(_0x18433e){this[_0x49ad61(0xbf)](_0x49ad61(0x9c),{'error':_0x18433e,'operation':_0x49ad61(0xae)});}}[_0x5b5902(0xbc)](_0x3cb3f6={}){const _0x5a33cf=_0x5b5902,_0x5d944d=void 0x0!==_0x3cb3f6[_0x5a33cf(0xb0)]&&_0x3cb3f6[_0x5a33cf(0xb0)],_0x52c4b4=_0x3cb3f6[_0x5a33cf(0x9a)]?new Date(_0x3cb3f6[_0x5a33cf(0x9a)][_0x5a33cf(0xa4)](),_0x3cb3f6[_0x5a33cf(0x9a)][_0x5a33cf(0x9f)](),_0x3cb3f6[_0x5a33cf(0x9a)][_0x5a33cf(0xa0)]()):null,_0x4cb187=_0x3cb3f6['to']?new Date(_0x3cb3f6['to'][_0x5a33cf(0xa4)](),_0x3cb3f6['to'][_0x5a33cf(0x9f)](),_0x3cb3f6['to'][_0x5a33cf(0xa0)]()):null;return this[_0x5a33cf(0xb3)][_0x5a33cf(0x9d)](_0x120a01=>{const _0xb2f6ca=_0x5a33cf;if(_0x120a01[_0xb2f6ca(0xb0)]!==_0x5d944d)return!0x1;if(_0x4cb187){const _0x206ba5=new Date(_0x120a01[_0xb2f6ca(0xbe)][_0xb2f6ca(0xa4)](),_0x120a01[_0xb2f6ca(0xbe)][_0xb2f6ca(0x9f)](),_0x120a01[_0xb2f6ca(0xbe)][_0xb2f6ca(0xa0)]());return _0x52c4b4?_0x52c4b4[_0xb2f6ca(0xc6)]()===_0x4cb187[_0xb2f6ca(0xc6)]()?_0x206ba5[_0xb2f6ca(0xc6)]()===_0x52c4b4[_0xb2f6ca(0xc6)]():_0x206ba5<_0x4cb187&&_0x206ba5>=_0x52c4b4:_0x206ba5<_0x4cb187;}return!0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1c39ef=_0x17c5;(function(_0x6d95ab,_0x459d9f){var _0x560929=_0x17c5,_0x45b2dc=_0x6d95ab();while(!![]){try{var _0x273f6a=parseInt(_0x560929(0x1ce))/0x1*(parseInt(_0x560929(0x1cc))/0x2)+parseInt(_0x560929(0x1c0))/0x3+-parseInt(_0x560929(0x1c7))/0x4*(-parseInt(_0x560929(0x1c6))/0x5)+-parseInt(_0x560929(0x1cb))/0x6*(-parseInt(_0x560929(0x1bd))/0x7)+-parseInt(_0x560929(0x1be))/0x8*(-parseInt(_0x560929(0x1bf))/0x9)+-parseInt(_0x560929(0x1c9))/0xa+-parseInt(_0x560929(0x1c1))/0xb*(parseInt(_0x560929(0x1cf))/0xc);if(_0x273f6a===_0x459d9f)break;else _0x45b2dc['push'](_0x45b2dc['shift']());}catch(_0x189617){_0x45b2dc['push'](_0x45b2dc['shift']());}}}(_0x19e5,0x90081));function _0x19e5(){var _0x1d8aaa=['17648dDpZXP','2061MFSxoU','1245357sTEFzV','319inDGta','createdAt','pinned','updatePinned','set','30365PDooIQ','668gEDVZG','updateTitle','2259770OpCCbr','title','2134812MKsZfa','2PEwDTC','updatedAt','885575ByyCby','1270980dJroYb','21JRREBN'];_0x19e5=function(){return _0x1d8aaa;};return _0x19e5();}function _0x17c5(_0x571b08,_0x24ebb0){var _0x19e581=_0x19e5();return _0x17c5=function(_0x17c5ac,_0x5411b1){_0x17c5ac=_0x17c5ac-0x1bd;var _0x476ce4=_0x19e581[_0x17c5ac];return _0x476ce4;},_0x17c5(_0x571b08,_0x24ebb0);}import{ObservableMixin as _0x43ec92}from'ckeditor5/src/utils.js';import{escape as _0x23b34c}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x43ec92(){['id'];[_0x1c39ef(0x1c2)];constructor({id:_0x4ffbb3,title:_0x5e3925,createdAt:_0x1a2750,updatedAt:_0x51a47d,pinned:_0x3b96c5}){var _0x3c5c50=_0x1c39ef;super(),this['id']=_0x4ffbb3,this[_0x3c5c50(0x1c2)]=new Date(_0x1a2750),this[_0x3c5c50(0x1c5)](_0x3c5c50(0x1ca),_0x5e3925),this[_0x3c5c50(0x1c5)](_0x3c5c50(0x1cd),_0x51a47d?new Date(_0x51a47d):null),this[_0x3c5c50(0x1c5)](_0x3c5c50(0x1c3),_0x3b96c5||!0x1);}[_0x1c39ef(0x1c8)](_0xd581c7){var _0x4ad883=_0x1c39ef;this[_0x4ad883(0x1c5)](_0x4ad883(0x1ca),_0x23b34c(_0xd581c7)),this[_0x4ad883(0x1cd)]=new Date();}[_0x1c39ef(0x1c4)](_0xadd3fb){var _0x141cd9=_0x1c39ef;this[_0x141cd9(0x1c5)](_0x141cd9(0x1c3),_0xadd3fb),this[_0x141cd9(0x1cd)]=new Date();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x5ac2(_0x3c4e0a,_0x8e5d0b){const _0x4cface=_0x4cfa();return _0x5ac2=function(_0x5ac211,_0x2ffbbb){_0x5ac211=_0x5ac211-0x1bb;let _0x2d7290=_0x4cface[_0x5ac211];return _0x2d7290;},_0x5ac2(_0x3c4e0a,_0x8e5d0b);}const _0x55b91c=_0x5ac2;function _0x4cfa(){const _0xce949f=['ck-ai-chat-history__item-main-content','match','pinned','listitem','panelView','ck-confirm-view-submit','3668110dLvSDs','ck-ai-chat-history__item-check','extendTemplate','_createAcceptEditButtonView','ck-hidden','AI_CHAT_HISTORY_PIN_BUTTON','isMatching','ck-ai-chat-history__item--edit','children','ck-ai-chat-history__item','locale','ck-ai-chat-history__item-row','_commitEditInputValue','updateTitle','_createCancelEditButtonView','div','12FyrlDk','ck-ai-chat-history__item--active','loadingState','value','bindTemplate','_createCheckView','editConversationTitle','6OHCyEG','ck-ai-loader','selectConversation','click','AI_CHAT_HISTORY_LOADING_PINNING','bind','change:isEdit','key','AI_CHAT_HISTORY_LOADING_UNPINNING','523leDOWS','AI_CHAT_HISTORY_REMOVE_CONFIRM','10169190lbEHeN','1465404TFRkTn','ck-ai-chat-history__item-check-container','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','highlightText','AI_CHAT_HISTORY_EDIT_NAME','focus','AI_CHAT_HISTORY_LOADING_RENAMING','ck-ai-loader__text','_createMenuDropdownView','AI_CHAT_HISTORY_ACCEPT','clear','ck-confirm-view-cancel','span','152596rinBIY','updateLoadingState','element','isEdit','AI_CHAT_HISTORY_CANCEL','addMany','187XUBkkp','mainContent','Enter','2830736foYIIq','set','actions','string','1782istJNL','AI_CHAT_HISTORY_LOADING_REMOVING','fire','LOADING_LABELS','buttonView','ck-ai-chat-history__item-date','_titleView','panelPosition','text','ck-ai-chat-history__item-content','setTemplate','isVisible','tiny','9pjOtdz','createCollection','items','ck-ai-chat-history__item-title','setConversationPinned','_createPinButtonView','showConfirm','_createSpinnerView','edit:cancel','_createEditInputView','ck-ai-chat-history__item-actions','add','then','1816948vxmArP','label','AI_CHAT_HISTORY_REMOVE','execute','removeConversation','withText','isOn'];_0x4cfa=function(){return _0xce949f;};return _0x4cfa();}(function(_0x583eab,_0x141e69){const _0xa48eed=_0x5ac2,_0x3b452b=_0x583eab();while(!![]){try{const _0x22cc1d=-parseInt(_0xa48eed(0x1f7))/0x1*(parseInt(_0xa48eed(0x214))/0x2)+parseInt(_0xa48eed(0x1e7))/0x3*(-parseInt(_0xa48eed(0x207))/0x4)+parseInt(_0xa48eed(0x1d7))/0x5*(parseInt(_0xa48eed(0x1ee))/0x6)+-parseInt(_0xa48eed(0x1ca))/0x7+-parseInt(_0xa48eed(0x210))/0x8*(parseInt(_0xa48eed(0x1bd))/0x9)+-parseInt(_0xa48eed(0x1f9))/0xa+parseInt(_0xa48eed(0x20d))/0xb*(parseInt(_0xa48eed(0x1fa))/0xc);if(_0x22cc1d===_0x141e69)break;else _0x3b452b['push'](_0x3b452b['shift']());}catch(_0x1457b5){_0x3b452b['push'](_0x3b452b['shift']());}}}(_0x4cfa,0x88e39));import{ListItemView as _0x7c850e,HighlightedTextView as _0x33c8d7,ButtonView as _0x55e785,ListView as _0x4c8032,IconView as _0x1bcf08,createDropdown as _0x24a436,InputTextView as _0x161a2e}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x39825d,IconPin as _0xdef448,IconCheck as _0x114a55,IconCancel as _0x84d5b3}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x59aca1,ConfirmMixin as _0x483394}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x4f5f55}from'es-toolkit/compat';import{AISpinnerView as _0x53e6a8}from'../../aicore/ui/aispinner.js';import{getTranslation as _0xdd0230}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x483394(_0x7c850e){['id'];static [_0x55b91c(0x217)]={'remove':_0x55b91c(0x215),'rename':_0x55b91c(0x200),'pin':_0x55b91c(0x1f2),'unpin':_0x55b91c(0x1f6)};[_0x55b91c(0x212)];[_0x55b91c(0x20e)];[_0x55b91c(0x21a)];constructor(_0x3d5348,_0x39e8ac){const _0x3f9df4=_0x55b91c;super(_0x3d5348);const _0x4d988d=this[_0x3f9df4(0x1eb)];this[_0x3f9df4(0x211)](_0x3f9df4(0x20a),!0x1),this[_0x3f9df4(0x211)](_0x3f9df4(0x1bb),!0x0),this[_0x3f9df4(0x211)](_0x3f9df4(0x1d3),!!_0x39e8ac[_0x3f9df4(0x1d3)]),this[_0x3f9df4(0x211)](_0x3f9df4(0x1e9),null),this['id']=_0x39e8ac['id'];const {title:_0x2014a1,createdAt:_0x3a7e9a,active:_0x30cb71=!0x1}=_0x39e8ac;this[_0x3f9df4(0x21a)]=new _0x33c8d7(),this[_0x3f9df4(0x21a)][_0x3f9df4(0x21c)]=_0x2014a1,this[_0x3f9df4(0x21a)][_0x3f9df4(0x1d9)]({'attributes':{'class':[_0x3f9df4(0x1c0)]}});const _0x1c0d6b=this[_0x3f9df4(0x1ec)](),_0x4463ef=this[_0x3f9df4(0x1c2)](_0x3d5348),_0x223949=this[_0x3f9df4(0x202)](),_0x3c7d47=this[_0x3f9df4(0x1c6)](_0x3d5348,_0x2014a1),_0x453d7c=this[_0x3f9df4(0x1da)](_0x3d5348,_0x3c7d47),_0xe63e7f=this[_0x3f9df4(0x1e5)](_0x3d5348,_0x3c7d47);this[_0x3f9df4(0x212)]=this[_0x3f9df4(0x1be)](),this[_0x3f9df4(0x20e)]=this[_0x3f9df4(0x1be)](),this[_0x3f9df4(0x20e)][_0x3f9df4(0x1c8)](this[_0x3f9df4(0x21a)]),this[_0x3f9df4(0x212)][_0x3f9df4(0x1c8)](_0x4463ef),this[_0x3f9df4(0x212)][_0x3f9df4(0x1c8)](_0x223949),this['on'](_0x3f9df4(0x1f4),(_0x4b7715,_0x19e87a,_0x5bd390)=>{const _0x471793=_0x3f9df4;this[_0x471793(0x212)][_0x471793(0x204)](),this[_0x471793(0x20e)][_0x471793(0x204)](),_0x5bd390?(this[_0x471793(0x212)][_0x471793(0x1c8)](_0x453d7c),this[_0x471793(0x212)][_0x471793(0x1c8)](_0xe63e7f),this[_0x471793(0x20e)][_0x471793(0x1c8)](_0x3c7d47),_0x3c7d47[_0x471793(0x209)][_0x471793(0x1ff)]()):(this[_0x471793(0x212)][_0x471793(0x1c8)](_0x4463ef),this[_0x471793(0x212)][_0x471793(0x1c8)](_0x223949),this[_0x471793(0x20e)][_0x471793(0x1c8)](this[_0x471793(0x21a)]));}),this[_0x3f9df4(0x21e)]({'tag':'li','attributes':{'class':[_0x3f9df4(0x1e0),_0x30cb71?_0x3f9df4(0x1e8):'',_0x4d988d['if'](_0x3f9df4(0x1bb),_0x3f9df4(0x1db),_0x5e7d67=>!_0x5e7d67),_0x4d988d['if'](_0x3f9df4(0x20a),_0x3f9df4(0x1de))],'role':_0x3f9df4(0x1d4)},'children':[{'tag':_0x3f9df4(0x206),'attributes':{'class':[_0x3f9df4(0x1fb)]},'children':[{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x1d8),_0x4d988d['if'](_0x3f9df4(0x1e9),_0x3f9df4(0x1db),_0x42a226=>!!_0x42a226)]},'children':_0x30cb71?[_0x1c0d6b]:[]},{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x1ef),_0x4d988d['if'](_0x3f9df4(0x1e9),_0x3f9df4(0x1db),_0x364383=>!_0x364383)]},'children':[this[_0x3f9df4(0x1c4)]()]}]},{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x1e2)]},'children':[{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x21d)]},'on':{'click':this[_0x3f9df4(0x1eb)]['to'](_0x3f9df4(0x1f1))},'children':[{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x1d1)]},'children':[{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x1c0),_0x4d988d['if'](_0x3f9df4(0x1e9),_0x3f9df4(0x1db),_0x3651cf=>!!_0x3651cf)]},'children':this[_0x3f9df4(0x20e)]},{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x201),_0x4d988d['if'](_0x3f9df4(0x1e9),_0x3f9df4(0x1db),_0x1a0dd5=>!_0x1a0dd5)]},'children':[{'text':_0x4d988d['to'](_0x3f9df4(0x1e9),_0x4c08b7=>_0x4c08b7?_0xdd0230(this[_0x3f9df4(0x1e1)],AIChatHistoryListItemView[_0x3f9df4(0x217)][_0x4c08b7]):'')}]}]},{'tag':_0x3f9df4(0x206),'attributes':{'class':[_0x3f9df4(0x219)]},'children':[_0x3a7e9a]}]},{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x1c7)]},'children':this[_0x3f9df4(0x212)]}]}]}),this['on'](_0x3f9df4(0x1f1),()=>{const _0x13fb19=_0x3f9df4;this[_0x13fb19(0x20a)]||this[_0x13fb19(0x216)](_0x13fb19(0x1f0),{'id':this['id']});});}[_0x55b91c(0x1e4)](_0x3842a4){const _0x2d8851=_0x55b91c;this[_0x2d8851(0x21a)][_0x2d8851(0x21c)]=_0x4f5f55(_0x3842a4);}[_0x55b91c(0x208)](_0x5cd2be,_0x4d94e6){const _0x23b68b=_0x55b91c;this[_0x23b68b(0x211)](_0x23b68b(0x1e9),_0x4d94e6?_0x5cd2be:null);}[_0x55b91c(0x1ec)](){const _0x27bf38=_0x55b91c,_0x161b58=new _0x1bcf08();return _0x161b58[_0x27bf38(0x211)]({'content':_0x114a55}),_0x161b58;}[_0x55b91c(0x1c2)](_0x32eef8){const _0x253f09=_0x55b91c,_0x2615b4=new _0x55e785(_0x32eef8);return _0x2615b4[_0x253f09(0x211)]({'label':_0xdd0230(_0x32eef8,_0x253f09(0x1dc)),'icon':_0xdef448,'withText':!0x1,'tooltip':!0x0}),_0x2615b4[_0x253f09(0x1f3)](_0x253f09(0x1d0))['to'](this,_0x253f09(0x1d3)),_0x2615b4['on'](_0x253f09(0x1cd),()=>{const _0xd62d82=_0x253f09,_0x171ecd=!this[_0xd62d82(0x1d3)];this[_0xd62d82(0x216)](_0xd62d82(0x1c1),{'id':this['id'],'pinned':_0x171ecd});}),_0x2615b4;}[_0x55b91c(0x202)](){const _0x3ffb03=_0x55b91c,_0x4cb4db=_0x24a436(this[_0x3ffb03(0x1e1)],_0x59aca1),_0x13235=_0x4cb4db[_0x3ffb03(0x1d5)][_0x3ffb03(0x1df)];_0x4cb4db[_0x3ffb03(0x218)][_0x3ffb03(0x211)]({'label':_0xdd0230(this[_0x3ffb03(0x1e1)],_0x3ffb03(0x1fc)),'icon':_0x39825d}),_0x4cb4db[_0x3ffb03(0x21b)]='sw';const _0x375d1d=new _0x55e785(this[_0x3ffb03(0x1e1)]);_0x375d1d[_0x3ffb03(0x1cb)]=_0xdd0230(this[_0x3ffb03(0x1e1)],_0x3ffb03(0x1fe)),_0x375d1d[_0x3ffb03(0x1cf)]=!0x0,_0x375d1d['on'](_0x3ffb03(0x1cd),()=>{const _0x48a2d6=_0x3ffb03;this[_0x48a2d6(0x20a)]=!0x0;});const _0x4908e5=new _0x55e785(this[_0x3ffb03(0x1e1)]);_0x4908e5[_0x3ffb03(0x1cb)]=_0xdd0230(this[_0x3ffb03(0x1e1)],_0x3ffb03(0x1cc)),_0x4908e5[_0x3ffb03(0x1cf)]=!0x0,_0x4908e5['on'](_0x3ffb03(0x1cd),()=>{const _0x40fb65=_0x3ffb03;this[_0x40fb65(0x1c3)](_0xdd0230(this[_0x40fb65(0x1e1)],_0x40fb65(0x1f8)),this[_0x40fb65(0x209)])[_0x40fb65(0x1c9)](()=>{const _0x486c7a=_0x40fb65;this[_0x486c7a(0x216)](_0x486c7a(0x1ce),{'id':this['id']});});});const _0x3f10d1=new _0x4c8032(this[_0x3ffb03(0x1e1)]),_0x4c90a2=new _0x7c850e(this[_0x3ffb03(0x1e1)]);_0x4c90a2[_0x3ffb03(0x1df)][_0x3ffb03(0x1c8)](_0x375d1d);const _0x4a38af=new _0x7c850e(this[_0x3ffb03(0x1e1)]);return _0x4a38af[_0x3ffb03(0x1df)][_0x3ffb03(0x1c8)](_0x4908e5),_0x3f10d1[_0x3ffb03(0x1bf)][_0x3ffb03(0x20c)]([_0x4c90a2,_0x4a38af]),_0x13235[_0x3ffb03(0x1c8)](_0x3f10d1),_0x4cb4db;}[_0x55b91c(0x1c6)](_0x35d000,_0x31f1a7){const _0x4d1615=_0x55b91c,_0x1abe94=new _0x161a2e(_0x35d000),_0x156ea1=_0x1abe94[_0x4d1615(0x1eb)];return _0x1abe94[_0x4d1615(0x1ea)]=_0x31f1a7,_0x1abe94[_0x4d1615(0x1d9)]({'on':{'keydown':_0x156ea1['to'](_0x3397a9=>{const _0x392a77=_0x4d1615;_0x392a77(0x20f)==_0x3397a9[_0x392a77(0x1f5)]&&this[_0x392a77(0x1e3)](_0x1abe94);})}}),_0x1abe94;}[_0x55b91c(0x1da)](_0x112c73,_0x510923){const _0x5aea04=_0x55b91c,_0x5f4813=new _0x55e785(_0x112c73);return _0x5f4813[_0x5aea04(0x211)]({'icon':_0x114a55,'withText':!0x1,'tooltip':_0xdd0230(_0x112c73,_0x5aea04(0x203))}),_0x5f4813[_0x5aea04(0x1d9)]({'attributes':{'class':[_0x5aea04(0x1d6)]}}),_0x5f4813['on'](_0x5aea04(0x1cd),()=>{const _0x2b947d=_0x5aea04;this[_0x2b947d(0x1e3)](_0x510923);}),_0x5f4813;}[_0x55b91c(0x1e3)](_0x7cce11){const _0x2d106c=_0x55b91c,_0x2309ea=_0x7cce11[_0x2d106c(0x209)][_0x2d106c(0x1ea)]||'';this[_0x2d106c(0x21a)][_0x2d106c(0x21c)]=_0x2309ea,this[_0x2d106c(0x20a)]=!0x1,this[_0x2d106c(0x216)](_0x2d106c(0x1ed),{'id':this['id'],'title':_0x2309ea});}[_0x55b91c(0x1e5)](_0x1c8b13,_0x36a1f7){const _0x5e9756=_0x55b91c,_0x4fee01=new _0x55e785(_0x1c8b13);return _0x4fee01[_0x5e9756(0x211)]({'icon':_0x84d5b3,'withText':!0x1,'tooltip':_0xdd0230(_0x1c8b13,_0x5e9756(0x20b))}),_0x4fee01[_0x5e9756(0x1d9)]({'attributes':{'class':[_0x5e9756(0x205)]}}),_0x4fee01['on'](_0x5e9756(0x1cd),()=>{const _0x1104e6=_0x5e9756;this[_0x1104e6(0x20a)]=!0x1,_0x36a1f7[_0x1104e6(0x1ea)]=this[_0x1104e6(0x21a)][_0x1104e6(0x21c)]||'',this[_0x1104e6(0x216)](_0x1104e6(0x1c5));}),_0x4fee01;}[_0x55b91c(0x1c4)](){const _0x229ba5=_0x55b91c,_0x321464=new _0x53e6a8(_0x229ba5(0x1bc));return _0x321464[_0x229ba5(0x1bb)]=!0x0,_0x321464;}[_0x55b91c(0x1dd)](_0x15f095){const _0xc37adb=_0x55b91c;return this[_0xc37adb(0x21a)]&&_0xc37adb(0x213)==typeof this[_0xc37adb(0x21a)][_0xc37adb(0x21c)]&&this[_0xc37adb(0x21a)][_0xc37adb(0x21c)][_0xc37adb(0x1d2)](_0x15f095)?{'title':!0x0}:null;}[_0x55b91c(0x1fd)](_0x393904){const _0x1a4dac=_0x55b91c;this[_0x1a4dac(0x21a)][_0x1a4dac(0x1fd)](_0x393904);}}
|