@ckeditor/ckeditor5-ai 47.3.0-alpha.3 → 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/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.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/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/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/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/aiinteraction.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/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.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/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/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e8678=_0x192e;(function(_0x63fd16,_0x57589b){const _0x389733=_0x192e,_0x5312ef=_0x63fd16();while(!![]){try{const _0x216e26=parseInt(_0x389733(0xac))/0x1*(-parseInt(_0x389733(0x9f))/0x2)+parseInt(_0x389733(0x9c))/0x3+parseInt(_0x389733(0xa0))/0x4*(-parseInt(_0x389733(0xa2))/0x5)+parseInt(_0x389733(0xb4))/0x6*(-parseInt(_0x389733(0x9b))/0x7)+parseInt(_0x389733(0xb5))/0x8+-parseInt(_0x389733(0xb9))/0x9*(-parseInt(_0x389733(0xbc))/0xa)+parseInt(_0x389733(0x99))/0xb;if(_0x216e26===_0x57589b)break;else _0x5312ef['push'](_0x5312ef['shift']());}catch(_0x42f0a4){_0x5312ef['push'](_0x5312ef['shift']());}}}(_0x2a6d,0xb7dd0));function _0x192e(_0x5abead,_0x30b218){const _0x2a6da6=_0x2a6d();return _0x192e=function(_0x192e58,_0x469add){_0x192e58=_0x192e58-0x98;let _0x19f974=_0x2a6da6[_0x192e58];return _0x19f974;},_0x192e(_0x5abead,_0x30b218);}import{HighlightedTextView as _0x22cd1b,IconView as _0x3bf59b,ListItemView as _0x44b6ab}from'ckeditor5/src/ui.js';function _0x2a6d(){const _0x3023f3=['updateResourceState','9RNZIrb','isInContext','_iconView','361970AxPKNF','type','ck-ai-chat-resources__item--in-context','getResourceIcon','_updateIcon','_createTitleView','DOCUMENT','_setupTemplate','isVisible','trim','12193863CVIvBv','ck-ai-chat-resources__item__icon','672lZRbvE','3287028iwZqNf','setTemplate','label','2346trfBlL','232924iXjamj','render','85teTDog','TEXT','set','_createIconView','URL','ck-hidden','_titleView','resource','content','ck-ai-chat-resources__item','395RbJsxD','span','bindTemplate','execute','FILE','div','text','highlightText','6558YxYcis','567104XNnBvu','ck-ai-chat-resources__item-title','extendTemplate'];_0x2a6d=function(){return _0x3023f3;};return _0x2a6d();}import{escapeRegExp as _0x283d24}from'es-toolkit/compat';import{AIContextItemType as _0x3e4333}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0xd94fc7,IconCheck as _0x127421,IconDocument as _0x5736c5,IconDocumentOutline as _0x12d377,IconLink as _0x464c62}from'@ckeditor/ckeditor5-icons';const Gr=_0x2e8678(0xab),Hr=_0x2e8678(0xbe),Jr=_0x2e8678(0xb6),Kr=_0x2e8678(0x9a);export class AIChatResourceListItemView extends _0x44b6ab{[_0x2e8678(0xa9)];[_0x2e8678(0xa8)];[_0x2e8678(0xbb)];constructor(_0x50047a,_0x293c5a){const _0x4db5f5=_0x2e8678;super(_0x50047a),this[_0x4db5f5(0xa9)]=_0x293c5a,this[_0x4db5f5(0xa4)](_0x4db5f5(0xba),!!_0x293c5a[_0x4db5f5(0xba)]),this[_0x4db5f5(0xa8)]=this[_0x4db5f5(0xc1)](),this[_0x4db5f5(0xbb)]=this[_0x4db5f5(0xa5)](),this[_0x4db5f5(0xc3)]();}[_0x2e8678(0xa1)](){const _0x24f3c2=_0x2e8678;super[_0x24f3c2(0xa1)]();}[_0x2e8678(0xbf)](_0x25944b){const _0x1bc3e9=_0x2e8678;if(_0x25944b[_0x1bc3e9(0xba)])return _0x127421;switch(_0x25944b[_0x1bc3e9(0xbd)]){case _0x3e4333[_0x1bc3e9(0xc2)]:return _0x5736c5;case _0x3e4333[_0x1bc3e9(0xa6)]:return _0x464c62;case _0x3e4333[_0x1bc3e9(0xb0)]:case _0x3e4333[_0x1bc3e9(0xa3)]:return _0xd94fc7;default:return _0x12d377;}}[_0x2e8678(0xb3)](_0x24541f){const _0x15a4e=_0x2e8678;if(!_0x24541f||''===_0x24541f[_0x15a4e(0x98)]())return void this[_0x15a4e(0xa8)][_0x15a4e(0xb3)](null);const _0x18b80a=new RegExp(_0x283d24(_0x24541f),'gi');this[_0x15a4e(0xa8)][_0x15a4e(0xb3)](_0x18b80a);}[_0x2e8678(0xb8)](_0x2f389c){const _0x1667ab=_0x2e8678;this[_0x1667ab(0xa9)][_0x1667ab(0xba)]=_0x2f389c,this[_0x1667ab(0xba)]=_0x2f389c,this[_0x1667ab(0xc0)]();}[_0x2e8678(0xc1)](){const _0x132811=_0x2e8678,_0xc0a0b8=new _0x22cd1b();return _0xc0a0b8[_0x132811(0xb2)]=this[_0x132811(0xa9)][_0x132811(0x9e)],_0xc0a0b8[_0x132811(0xb7)]({'tag':_0x132811(0xad),'attributes':{'class':[Jr]}}),_0xc0a0b8;}[_0x2e8678(0xa5)](){const _0x5bbb84=_0x2e8678,_0x26a5a5=new _0x3bf59b();return _0x26a5a5[_0x5bbb84(0xaa)]=this[_0x5bbb84(0xbf)](this[_0x5bbb84(0xa9)]),_0x26a5a5;}[_0x2e8678(0xc3)](){const _0x11d3d8=_0x2e8678,_0x1c7df3=this[_0x11d3d8(0xae)];this[_0x11d3d8(0x9d)]({'tag':_0x11d3d8(0xb1),'attributes':{'class':[Gr,_0x1c7df3['if'](_0x11d3d8(0xc4),_0x11d3d8(0xa7),_0x5f1d87=>!_0x5f1d87),_0x1c7df3['if'](_0x11d3d8(0xba),Hr)]},'children':[{'tag':_0x11d3d8(0xb1),'attributes':{'class':[Kr]},'children':[this[_0x11d3d8(0xbb)]]},this[_0x11d3d8(0xa8)]],'on':{'click':_0x1c7df3['to'](_0x11d3d8(0xaf))}});}[_0x2e8678(0xc0)](){const _0x58041b=_0x2e8678;this[_0x58041b(0xbb)][_0x58041b(0xaa)]=this[_0x58041b(0xbf)](this[_0x58041b(0xa9)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16160c=_0x36f2;(function(_0x3f3f12,_0x5c47f3){const _0x4f6179=_0x36f2,_0x14147c=_0x3f3f12();while(!![]){try{const _0x2ca3aa=parseInt(_0x4f6179(0x19c))/0x1*(parseInt(_0x4f6179(0x17b))/0x2)+parseInt(_0x4f6179(0x1a4))/0x3*(parseInt(_0x4f6179(0x1b4))/0x4)+-parseInt(_0x4f6179(0x18c))/0x5+-parseInt(_0x4f6179(0x179))/0x6*(-parseInt(_0x4f6179(0x17d))/0x7)+-parseInt(_0x4f6179(0x1a9))/0x8*(parseInt(_0x4f6179(0x1b1))/0x9)+parseInt(_0x4f6179(0x1a7))/0xa+parseInt(_0x4f6179(0x199))/0xb*(-parseInt(_0x4f6179(0x19b))/0xc);if(_0x2ca3aa===_0x5c47f3)break;else _0x14147c['push'](_0x14147c['shift']());}catch(_0x2f6920){_0x14147c['push'](_0x14147c['shift']());}}}(_0x52a1,0xd0056));import{BalloonPanelView as _0x59b842,ButtonView as _0x4e8dd6,clickOutsideHandler as _0x120f8d,FormHeaderView as _0x4c942d}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x1b453c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1df291}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x5c2b9b}from'./aichatcontextresourcesview.js';const Nr=_0x16160c(0x17f),Xr=_0x16160c(0x18e),Qr=_0x16160c(0x18f);function _0x36f2(_0x500e22,_0x143652){const _0x52a194=_0x52a1();return _0x36f2=function(_0x36f226,_0x2470fd){_0x36f226=_0x36f226-0x179;let _0x43a328=_0x52a194[_0x36f226];return _0x43a328;},_0x36f2(_0x500e22,_0x143652);}export class AIChatResourcesBalloonView{[_0x16160c(0x1b6)]=new Map();[_0x16160c(0x180)];[_0x16160c(0x1a8)];[_0x16160c(0x18b)];constructor(_0x2c11bb,_0x1973e2,_0x20c1de){const _0x1d409d=_0x16160c;this[_0x1d409d(0x1a8)]=_0x2c11bb,this[_0x1d409d(0x180)]=_0x1973e2,this[_0x1d409d(0x18b)]=_0x20c1de;}[_0x16160c(0x191)](_0x542a56){const _0x3b888a=_0x16160c;let _0x2253ae=this[_0x3b888a(0x1b6)][_0x3b888a(0x188)](_0x542a56['id']);_0x2253ae||(_0x2253ae=this[_0x3b888a(0x185)](),this[_0x3b888a(0x1b6)][_0x3b888a(0x192)](_0x542a56['id'],_0x2253ae),this[_0x3b888a(0x1b2)](_0x2253ae)),this[_0x3b888a(0x1ad)](_0x2253ae,_0x542a56),_0x2253ae[_0x3b888a(0x1a3)]();const _0x2001e6=this[_0x3b888a(0x18b)][_0x3b888a(0x1b7)]();_0x2001e6&&_0x2253ae[_0x3b888a(0x17e)]({'target':_0x2001e6,'limiter':this[_0x3b888a(0x18b)][_0x3b888a(0x1ac)]()});}[_0x16160c(0x198)](_0x202641,_0x490bff,_0x2d1b07){const _0x27335e=_0x16160c,_0x51539c=this[_0x27335e(0x1b6)][_0x27335e(0x188)](_0x202641);if(!_0x51539c)return;const _0xbf88f3=this[_0x27335e(0x189)](_0x51539c);_0xbf88f3&&(_0xbf88f3[_0x27335e(0x195)](_0x490bff,_0x2d1b07),_0xbf88f3[_0x27335e(0x183)](_0x27335e(0x17c),()=>{const _0x24e774=_0x27335e;_0x51539c[_0x24e774(0x17e)]({'target':this[_0x24e774(0x18b)][_0x24e774(0x1b7)](),'limiter':this[_0x24e774(0x18b)][_0x24e774(0x1ac)]()});}));}[_0x16160c(0x17a)](_0x39e5e5){const _0x18cfa5=_0x16160c,_0x223a8d=this[_0x18cfa5(0x1b6)][_0x18cfa5(0x188)](_0x39e5e5);_0x223a8d&&requestAnimationFrame(()=>{const _0x3ca214=_0x18cfa5;_0x223a8d[_0x3ca214(0x19f)](),this[_0x3ca214(0x1b6)][_0x3ca214(0x182)](_0x39e5e5),this[_0x3ca214(0x18b)][_0x3ca214(0x18a)]();});}[_0x16160c(0x18d)](){const _0x46b7b7=_0x16160c;for(const _0x6a425f of this[_0x46b7b7(0x1b6)][_0x46b7b7(0x184)]())if(_0x6a425f[_0x46b7b7(0x1aa)])return!0x0;return!0x1;}[_0x16160c(0x1b5)](_0x52f17d,_0x532f8a,_0xf58b4b){const _0x39570f=_0x16160c,_0x4be910=this[_0x39570f(0x1b6)][_0x39570f(0x188)](_0x52f17d);if(!_0x4be910||!_0x4be910[_0x39570f(0x1aa)])return;const _0x3dd391=this[_0x39570f(0x18b)][_0x39570f(0x1b7)]();if(!_0x3dd391)return;_0x4be910[_0x39570f(0x17e)]({'target':_0x3dd391,'limiter':this[_0x39570f(0x18b)][_0x39570f(0x1ac)]()});const _0x35b2bb=this[_0x39570f(0x189)](_0x4be910);_0x35b2bb&&_0x35b2bb[_0x39570f(0x1b5)](_0x532f8a,_0xf58b4b);}[_0x16160c(0x19d)](){const _0x5d6f7b=_0x16160c;for(const _0x213803 of this[_0x5d6f7b(0x1b6)][_0x5d6f7b(0x184)]())_0x213803[_0x5d6f7b(0x19d)]();this[_0x5d6f7b(0x1b6)][_0x5d6f7b(0x187)]();}[_0x16160c(0x185)](){const _0x24eeec=_0x16160c,_0x3f9db2=new _0x59b842(this[_0x24eeec(0x1a8)]);return _0x3f9db2[_0x24eeec(0x1a5)]({'attributes':{'class':Nr}}),this[_0x24eeec(0x180)][_0x24eeec(0x1af)](_0x3f9db2),_0x3f9db2;}[_0x16160c(0x1ad)](_0x1ac114,_0x319713){const _0x32dc3f=_0x16160c;_0x1ac114[_0x32dc3f(0x19e)][_0x32dc3f(0x187)]();const _0x9d532d=this[_0x32dc3f(0x186)](_0x1ac114,_0x319713);_0x1ac114[_0x32dc3f(0x19e)][_0x32dc3f(0x1af)](_0x9d532d);const _0x5f40f2=this[_0x32dc3f(0x1a0)](_0x319713);_0x1ac114[_0x32dc3f(0x19e)][_0x32dc3f(0x1af)](_0x5f40f2);}[_0x16160c(0x186)](_0x1bcd4f,_0x24b941){const _0x34acc9=_0x16160c,_0x2bf4ce=this[_0x34acc9(0x190)](_0x1bcd4f),_0x2c8a0a=new _0x4c942d(this[_0x34acc9(0x1a8)],{'label':_0x24b941[_0x34acc9(0x181)],'class':Qr});return _0x2c8a0a[_0x34acc9(0x1a6)][_0x34acc9(0x1af)](_0x2bf4ce,0x0),_0x2c8a0a;}[_0x16160c(0x190)](_0x11f75e){const _0x3c1816=_0x16160c,_0x1d0075=new _0x4e8dd6(this[_0x3c1816(0x1a8)]);return _0x1d0075[_0x3c1816(0x192)]({'icon':_0x1b453c,'tooltip':_0x1df291(this[_0x3c1816(0x1a8)],_0x3c1816(0x1ab)),'tooltipPosition':'n','class':Xr}),_0x1d0075['on'](_0x3c1816(0x1b3),()=>{const _0xda7dcd=_0x3c1816;_0x11f75e[_0xda7dcd(0x19f)](),this[_0xda7dcd(0x18b)][_0xda7dcd(0x196)]();}),_0x1d0075;}[_0x16160c(0x1a0)](_0x17c013){const _0x4c62d1=_0x16160c,_0x41d4a1=new _0x5c2b9b(this[_0x4c62d1(0x1a8)],{'source':_0x17c013,'searchInputVisibleFrom':this[_0x4c62d1(0x18b)][_0x4c62d1(0x1a2)]});return _0x41d4a1['on'](_0x4c62d1(0x193),(_0x22f32b,_0x2da860)=>{const _0x1f67ce=_0x4c62d1;this[_0x1f67ce(0x18b)][_0x1f67ce(0x197)](_0x2da860);}),_0x41d4a1['on'](_0x4c62d1(0x194),(_0xa1ede3,_0x2166d1)=>{const _0x22f2c1=_0x4c62d1;this[_0x22f2c1(0x18b)][_0x22f2c1(0x1ae)](_0x2166d1[_0x22f2c1(0x1b0)],_0x2166d1[_0x22f2c1(0x1a1)]),this[_0x22f2c1(0x17a)](_0x17c013['id']);}),_0x41d4a1;}[_0x16160c(0x189)](_0x4afd71){const _0x466538=_0x16160c,_0x4b428f=_0x4afd71[_0x466538(0x19e)][_0x466538(0x188)](0x1);return _0x4b428f instanceof _0x5c2b9b?_0x4b428f:null;}[_0x16160c(0x1b2)](_0x35de77){const _0x2b6827=_0x16160c;_0x120f8d({'emitter':_0x35de77,'contextElements':[_0x35de77[_0x2b6827(0x19a)]],'callback':()=>{const _0x599fdd=_0x2b6827;_0x35de77[_0x599fdd(0x19f)](),this[_0x599fdd(0x18b)][_0x599fdd(0x18a)]();},'activator':()=>_0x35de77[_0x2b6827(0x1aa)]});}}function _0x52a1(){const _0x17dfd9=['618ItfKcr','closeSourceResourceBalloon','2QAUWTq','change:isLoading','89915RUukKP','pin','ck-ai-chat-context-controls__source-balloon-panel','_bodyCollection','label','delete','once','values','_createSourceResourceBalloonPanel','_createBalloonHeader','clear','get','_getResourcesViewFromBalloon','onBalloonClosed','_config','4469290woKEfx','isAnyResourceBalloonVisible','ck-button-icon\x20ck-button-back','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_createBackButton','showSourceResourcesBalloon','set','loadSourceResources','addResourceToContext','setResources','onBackToContext','onLoadSourceResources','populateSourceResourceBalloon','165dcqayj','element','1368804yWSCar','1562753HFcPms','destroy','content','hide','_createBalloonResourcesView','resource','searchInputVisibleFrom','show','450966etvMbi','extendTemplate','children','12162140iMmzPP','_locale','56312FffxZf','isVisible','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','getLimiterElement','_addSourceResourceContent','onResourceSelected','add','source','1017lIXTsJ','_setupSingleResourceBalloonClickOutsideHandler','execute','4TcNFnd','updateResourceState','_sourceResourceBalloons','getTargetElement'];_0x52a1=function(){return _0x17dfd9;};return _0x52a1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x4cfcb2,IconView as _0x26c9af,LabeledFieldView as _0x10a676,createLabeledInputText as _0x9d1114}from'ckeditor5/src/ui.js';import{IconLoupe as _0x50b37d,IconCancel as _0x1dd793}from'ckeditor5/src/icons.js';import{getTranslation as _0x2d3023}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x10a676{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x329922){const t=_0x329922['t'],_0x76e9de={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x9d1114,'label':_0x2d3023(_0x329922,'AI_CHAT_SEARCH_RESOURCES')};super(_0x329922,_0x76e9de['creator']),this['label']=_0x76e9de['label'],this['_viewConfig']=_0x76e9de,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x329922,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x173174){this['fire']('search',_0x173174);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x26c9af(),this['iconView']['content']=_0x50b37d,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x19dbde,t){this['resetButtonView']=new _0x4cfcb2(_0x19dbde),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x1dd793,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0xcd5648=>!_0xcd5648),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf82198=_0x5713;function _0x2acb(){const _0x17fce3=['_createContextChips','querySelector','createCollection','20FPsKey','reorganizeChips','setContainerElement','add','1368867yDLtKj','1950504sCJicA','_overflowManager','ck-ai-chat__feed__context-chips','ck-ai-chat-context-chips-wrapper-balloon','locale','div','5382894eUKnsb','ck-ai-chat-context-controls__show-more-balloon-panel','setTemplate','5emsYfj','16812000wicnMn','ck-ai-chat-controls-button','_contextChips','element','destroy','4824015AjAYlX','ck-ai-chat-context-chips-wrapper','370485sexqZG','4642032hmaSPA','ck-ai-chat-controls_context_show-more-button','_bodyCollection','ck-reset_all','render'];_0x2acb=function(){return _0x17fce3;};return _0x2acb();}(function(_0x1e0117,_0x375b79){const _0x45725e=_0x5713,_0x47e645=_0x1e0117();while(!![]){try{const _0x45978b=-parseInt(_0x45725e(0x157))/0x1+parseInt(_0x45725e(0x153))/0x2*(-parseInt(_0x45725e(0x14a))/0x3)+parseInt(_0x45725e(0x158))/0x4+-parseInt(_0x45725e(0x161))/0x5*(-parseInt(_0x45725e(0x15e))/0x6)+parseInt(_0x45725e(0x148))/0x7+-parseInt(_0x45725e(0x14b))/0x8+parseInt(_0x45725e(0x162))/0x9;if(_0x45978b===_0x375b79)break;else _0x47e645['push'](_0x47e645['shift']());}catch(_0x1e84ad){_0x47e645['push'](_0x47e645['shift']());}}}(_0x2acb,0xb9059));import{View as _0x18c81d}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4a7d27}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x52f046}from'../controls/aichatchipsoverflowmanager.js';const $o=_0xf82198(0x15a),Ko=_0xf82198(0x149),Qo=_0xf82198(0x15b),Uo=_0xf82198(0x144),No=_0xf82198(0x14c),Oo=_0xf82198(0x15f);function _0x5713(_0xd42c8c,_0x55e556){const _0x2acb37=_0x2acb();return _0x5713=function(_0x57136c,_0x2b2674){_0x57136c=_0x57136c-0x144;let _0x285606=_0x2acb37[_0x57136c];return _0x285606;},_0x5713(_0xd42c8c,_0x55e556);}export class AIChatFeedContextChipsView extends _0x18c81d{[_0xf82198(0x145)]=this[_0xf82198(0x152)]();[_0xf82198(0x159)];[_0xf82198(0x14d)];constructor(_0x59e904,_0x1f6b86,_0xbe23f8){const _0x6c513c=_0xf82198;super(_0x59e904),this[_0x6c513c(0x14d)]=_0xbe23f8,this[_0x6c513c(0x150)](_0x1f6b86);const _0x975012={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x6c513c(0x159)]=new _0x52f046(_0x59e904,this[_0x6c513c(0x145)],_0x975012,this[_0x6c513c(0x14d)],this),this[_0x6c513c(0x160)]({'tag':_0x6c513c(0x15d),'attributes':{'class':[$o,'ck',_0x6c513c(0x14e)]},'children':[{'tag':_0x6c513c(0x15d),'attributes':{'class':Ko},'children':this[_0x6c513c(0x145)]}]});}[_0xf82198(0x14f)](){const _0x289869=_0xf82198;super[_0x289869(0x14f)]();const _0x31e619=this[_0x289869(0x146)][_0x289869(0x151)]('.'+Ko);_0x31e619&&(this[_0x289869(0x159)][_0x289869(0x155)](_0x31e619),this[_0x289869(0x159)][_0x289869(0x154)]());}[_0xf82198(0x147)](){const _0x22767=_0xf82198;super[_0x22767(0x147)](),this[_0x22767(0x159)][_0x22767(0x147)]();}[_0xf82198(0x150)](_0x622a19){const _0xaa674=_0xf82198;for(const _0x2d67ab of _0x622a19){const _0x4585d6=new _0x4a7d27(this[_0xaa674(0x15c)],_0x2d67ab,!0x0,!0x1);this[_0xaa674(0x145)][_0xaa674(0x156)](_0x4585d6);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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
|
-
function
|
|
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 _0xdaca80=_0x23aa;(function(_0x2e08e9,_0x116a33){const _0x497e9a=_0x23aa,_0x27641f=_0x2e08e9();while(!![]){try{const _0xa1a58c=parseInt(_0x497e9a(0x194))/0x1*(parseInt(_0x497e9a(0x196))/0x2)+parseInt(_0x497e9a(0x1c7))/0x3+-parseInt(_0x497e9a(0x1a8))/0x4*(parseInt(_0x497e9a(0x1a3))/0x5)+parseInt(_0x497e9a(0x1a2))/0x6*(-parseInt(_0x497e9a(0x1b7))/0x7)+-parseInt(_0x497e9a(0x1df))/0x8+parseInt(_0x497e9a(0x1a9))/0x9*(-parseInt(_0x497e9a(0x1cd))/0xa)+parseInt(_0x497e9a(0x1d7))/0xb*(parseInt(_0x497e9a(0x1de))/0xc);if(_0xa1a58c===_0x116a33)break;else _0x27641f['push'](_0x27641f['shift']());}catch(_0x1cee38){_0x27641f['push'](_0x27641f['shift']());}}}(_0x5f49,0x55039));import{KeystrokeHandler as _0x228a2e}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x622373,BodyCollection as _0x25eaef,ButtonView as _0x423369,clickOutsideHandler as _0x4db55c,ListItemButtonView as _0x2bc0a5,ListItemView as _0x49fac1,ListView as _0x3e2bdd,SplitButtonView as _0x49116a,UIModel as _0x8f5186,View as _0x36c386}from'ckeditor5/src/ui.js';import{IconCheck as _0x2dbfb8,IconAddComment as _0x44132d,IconDocumentWithLoupe as _0x2d6111}from'ckeditor5/src/icons.js';import{getTranslation as _0x2bdf2b}from'../../../aicore/utils/common-translations.js';function _0x23aa(_0x8e2a0c,_0x34ef7e){const _0x5f497c=_0x5f49();return _0x23aa=function(_0x23aaa8,_0x45a826){_0x23aaa8=_0x23aaa8-0x187;let _0x445c44=_0x5f497c[_0x23aaa8];return _0x445c44;},_0x23aa(_0x8e2a0c,_0x34ef7e);}export const AI_REPLY_ACTIONS=[_0xdaca80(0x1ad),_0xdaca80(0x1d4),_0xdaca80(0x1aa)];export class AIChatFeedSuggestionItemActionsView extends _0x36c386{[_0xdaca80(0x1a4)];[_0xdaca80(0x1a5)];[_0xdaca80(0x1dd)];[_0xdaca80(0x1c9)];[_0xdaca80(0x1a1)];[_0xdaca80(0x1d6)]=0x1;[_0xdaca80(0x1d9)];[_0xdaca80(0x1c5)];[_0xdaca80(0x1af)]=!0x0;constructor(_0x2c9133,_0x4cdb37){const _0x25a30f=_0xdaca80;super(_0x2c9133),this[_0x25a30f(0x1d9)]=_0x4cdb37||[...AI_REPLY_ACTIONS],this[_0x25a30f(0x1c5)]=[...this[_0x25a30f(0x1d9)]];const _0x301c65=this[_0x25a30f(0x1e0)];this[_0x25a30f(0x1bd)](_0x25a30f(0x1c2),!0x0),this[_0x25a30f(0x1bd)](_0x25a30f(0x1ca),!0x0),this[_0x25a30f(0x1bd)](_0x25a30f(0x1a7),!0x1),this[_0x25a30f(0x1dd)]=new _0x8f5186({'label':Pn(_0x25a30f(0x1ad),_0x2c9133,this[_0x25a30f(0x1d6)]),'icon':_0x2dbfb8,'withText':!0x0,'type':_0x25a30f(0x190),'actionName':_0x25a30f(0x1ad)}),this[_0x25a30f(0x1c9)]=new _0x8f5186({'label':Pn(_0x25a30f(0x1aa),_0x2c9133,this[_0x25a30f(0x1d6)]),'icon':_0x2d6111,'withText':!0x0,'type':_0x25a30f(0x190),'actionName':_0x25a30f(0x1aa)}),this[_0x25a30f(0x1a1)]=new _0x8f5186({'label':Pn(_0x25a30f(0x1d4),_0x2c9133,this[_0x25a30f(0x1d6)]),'icon':_0x44132d,'withText':!0x0,'type':_0x25a30f(0x190),'actionName':_0x25a30f(0x1d4)}),this[_0x25a30f(0x1a4)]=this[_0x25a30f(0x1cf)](_0x2c9133),this[_0x25a30f(0x1a5)]=this[_0x25a30f(0x1c4)](),this[_0x25a30f(0x1a4)]&&this[_0x25a30f(0x1a5)][_0x25a30f(0x199)](this[_0x25a30f(0x1a4)]),this[_0x25a30f(0x1a0)]({'tag':_0x25a30f(0x1b2),'attributes':{'class':['ck',_0x25a30f(0x18f),_0x301c65['if'](_0x25a30f(0x1ca),_0x25a30f(0x19b),_0x1eb256=>!_0x1eb256)]},'children':this[_0x25a30f(0x1a5)]}),this['on'](_0x25a30f(0x1c1),()=>{const _0x1249bd=_0x25a30f;this[_0x1249bd(0x1c5)]=this[_0x1249bd(0x1a7)]?this[_0x1249bd(0x1d9)][_0x1249bd(0x1e4)](_0x185bb5=>_0x1249bd(0x1ad)!==_0x185bb5):[...this[_0x1249bd(0x1d9)]],this[_0x1249bd(0x1e3)](_0x2c9133);});}[_0xdaca80(0x1e3)](_0x32787c){const _0x1b96f6=_0xdaca80;this[_0x1b96f6(0x1a4)]&&this[_0x1b96f6(0x1a5)][_0x1b96f6(0x192)](this[_0x1b96f6(0x1a4)])&&(this[_0x1b96f6(0x1a5)][_0x1b96f6(0x1ae)](this[_0x1b96f6(0x1a4)]),this[_0x1b96f6(0x1a4)][_0x1b96f6(0x1db)]()),this[_0x1b96f6(0x1a4)]=this[_0x1b96f6(0x1cf)](_0x32787c),this[_0x1b96f6(0x1a4)]&&this[_0x1b96f6(0x1a5)][_0x1b96f6(0x199)](this[_0x1b96f6(0x1a4)]);}[_0xdaca80(0x1cf)](_0x28981b){const _0x511e7a=_0xdaca80;if(0x0==this[_0x511e7a(0x1c5)][_0x511e7a(0x189)])return null;const _0xbb95e0=0x1===this[_0x511e7a(0x1c5)][_0x511e7a(0x189)]?this[_0x511e7a(0x191)](_0x28981b):this[_0x511e7a(0x1bf)](_0x28981b),_0x3091d6=this[_0x511e7a(0x1af)]?'':_0x511e7a(0x1b4);_0xbb95e0[_0x511e7a(0x1bd)]({'label':Pn(this[_0x511e7a(0x1c5)][0x0],_0x28981b,this[_0x511e7a(0x1d6)]),'tooltip':Hn(this[_0x511e7a(0x1c5)][0x0],_0x28981b,this[_0x511e7a(0x1d6)]),'withText':!0x0,'class':_0x511e7a(0x19a)+_0x3091d6});for(const _0x2db284 of this[_0x511e7a(0x1c5)])_0xbb95e0['on'](_0x2db284,()=>{const _0x1475c6=_0x511e7a;this[_0x1475c6(0x1e6)](_0x2db284);});return this[_0x511e7a(0x1af)]=!0x1,_0xbb95e0;}[_0xdaca80(0x191)](_0x4c9d6c){const _0x2973a6=_0xdaca80,_0x524c33=new _0x423369(_0x4c9d6c);return _0x524c33[_0x2973a6(0x1bd)]({'class':_0x2973a6(0x1d3),'withText':!0x0}),_0x524c33['on'](_0x2973a6(0x187),()=>{const _0x23bd9c=_0x2973a6;_0x524c33[_0x23bd9c(0x1e6)](this[_0x23bd9c(0x1c5)][0x0]);}),_0x524c33;}[_0xdaca80(0x1bf)](_0x1b426a){const _0x701e2c=_0xdaca80,_0x3c9739=new Nn(_0x1b426a,{'listItemModels':this[_0x701e2c(0x1c5)][_0x701e2c(0x1b1)](_0x394085=>{const _0x4ca0f6=_0x701e2c;switch(_0x394085){case _0x4ca0f6(0x1ad):return this[_0x4ca0f6(0x1dd)];case _0x4ca0f6(0x1aa):return this[_0x4ca0f6(0x1c9)];case _0x4ca0f6(0x1d4):return this[_0x4ca0f6(0x1a1)];}})});return _0x3c9739[_0x701e2c(0x1bd)]({'label':Pn(this[_0x701e2c(0x1c5)][0x0],_0x1b426a,this[_0x701e2c(0x1d6)]),'tooltip':Hn(this[_0x701e2c(0x1c5)][0x0],_0x1b426a,this[_0x701e2c(0x1d6)]),'withText':!0x0,'class':_0x701e2c(0x18f),'balloonPanelClass':_0x701e2c(0x19d)}),_0x3c9739[_0x701e2c(0x193)](_0x701e2c(0x1c2))['to'](this),_0x3c9739;}[_0xdaca80(0x1e2)](_0x295225){const _0x38855c=_0xdaca80,_0x5af2a0=this[_0x38855c(0x195)];this[_0x38855c(0x1d6)]=_0x295225||this[_0x38855c(0x1d6)],this[_0x38855c(0x1a4)][_0x38855c(0x1bd)]({'label':Pn(this[_0x38855c(0x1c5)][0x0],_0x5af2a0,this[_0x38855c(0x1d6)]),'tooltip':Hn(this[_0x38855c(0x1c5)][0x0],_0x5af2a0,this[_0x38855c(0x1d6)])}),this[_0x38855c(0x1dd)][_0x38855c(0x19f)]=Pn(_0x38855c(0x1ad),_0x5af2a0,this[_0x38855c(0x1d6)]),this[_0x38855c(0x1c9)][_0x38855c(0x19f)]=Pn(_0x38855c(0x1aa),_0x5af2a0,this[_0x38855c(0x1d6)]),this[_0x38855c(0x1a1)][_0x38855c(0x19f)]=Pn(_0x38855c(0x1d4),_0x5af2a0,this[_0x38855c(0x1d6)]);}}class Nn extends _0x49116a{[_0xdaca80(0x1b8)];[_0xdaca80(0x1d0)];[_0xdaca80(0x1c0)];[_0xdaca80(0x1ba)];constructor(_0x160ff3,_0x2ae954){const _0x42185e=_0xdaca80;super(_0x160ff3),this[_0x42185e(0x1d0)]=new _0x622373(this[_0x42185e(0x195)]),this[_0x42185e(0x1b8)]=new _0x25eaef(this[_0x42185e(0x195)]),this[_0x42185e(0x1b8)][_0x42185e(0x19c)](),this[_0x42185e(0x1bd)](_0x42185e(0x197),''),this[_0x42185e(0x1d0)][_0x42185e(0x193)](_0x42185e(0x1ac))['to'](this,_0x42185e(0x197)),this[_0x42185e(0x1c0)]=this[_0x42185e(0x18a)](_0x2ae954[_0x42185e(0x1c3)][_0x42185e(0x1bb)](0x1)),this[_0x42185e(0x1b8)][_0x42185e(0x199)](this[_0x42185e(0x1d0)]),this[_0x42185e(0x1d0)][_0x42185e(0x18d)][_0x42185e(0x199)](this[_0x42185e(0x1c0)]),this[_0x42185e(0x19e)][_0x42185e(0x1bc)](_0x42185e(0x1cc)),this[_0x42185e(0x19e)][_0x42185e(0x1bd)](_0x42185e(0x1cc),_0x2bdf2b(this[_0x42185e(0x195)],_0x42185e(0x1d2))),this[_0x42185e(0x1dc)](),this['on'](_0x42185e(0x187),()=>{const _0x23c115=_0x42185e,_0x131a41=_0x2ae954[_0x23c115(0x1c3)][0x0][_0x23c115(0x1b3)];this[_0x23c115(0x1e6)](_0x131a41),this[_0x23c115(0x1d0)][_0x23c115(0x1b5)](),this[_0x23c115(0x19e)][_0x23c115(0x1ce)]();}),this['on'](_0x42185e(0x198),()=>{const _0x5c2a1a=_0x42185e;this[_0x5c2a1a(0x1d0)][_0x5c2a1a(0x1ca)]?(this[_0x5c2a1a(0x1d0)][_0x5c2a1a(0x1b5)](),this[_0x5c2a1a(0x19e)][_0x5c2a1a(0x1ce)]()):(this[_0x5c2a1a(0x1d0)][_0x5c2a1a(0x1d5)]({'target':this[_0x5c2a1a(0x1e8)],'positions':[_0x5c2a1a(0x1cb)===this[_0x5c2a1a(0x195)][_0x5c2a1a(0x1b0)]?Gn:yn]}),this[_0x5c2a1a(0x1c0)][_0x5c2a1a(0x1ce)]());}),_0x4db55c({'emitter':this[_0x42185e(0x1d0)],'callback':()=>{const _0x3c8b24=_0x42185e;this[_0x3c8b24(0x1d0)][_0x3c8b24(0x1b5)]();},'activator':()=>this[_0x42185e(0x1d0)][_0x42185e(0x1ca)],'contextElements':()=>[this[_0x42185e(0x1e8)],this[_0x42185e(0x1d0)][_0x42185e(0x1e8)]]});}[_0xdaca80(0x18a)](_0x192245){const _0x163521=_0xdaca80,_0x310fd0=this[_0x163521(0x195)],_0x9802f5=new _0x3e2bdd(_0x310fd0);for(const _0x5bdb12 of _0x192245){const _0x54972e=new _0x49fac1(_0x310fd0),_0x691b1a=new _0x2bc0a5(_0x310fd0);_0x691b1a[_0x163521(0x193)](...Object[_0x163521(0x18b)](_0x5bdb12))['to'](_0x5bdb12),_0x691b1a[_0x163521(0x1b6)](_0x163521(0x187))['to'](_0x9802f5),_0x54972e[_0x163521(0x1a5)][_0x163521(0x199)](_0x691b1a),_0x9802f5[_0x163521(0x1da)][_0x163521(0x199)](_0x54972e);}return _0x9802f5[_0x163521(0x1da)][_0x163521(0x1b6)](_0x163521(0x187))['to'](this),_0x9802f5['on'](_0x163521(0x187),_0x9bb878=>{const _0x2bd37c=_0x163521,_0x140a6b=_0x9bb878[_0x2bd37c(0x1e1)];this[_0x2bd37c(0x1e6)](_0x140a6b[_0x2bd37c(0x1b3)]),this[_0x2bd37c(0x1d0)][_0x2bd37c(0x1b5)](),this[_0x2bd37c(0x19e)][_0x2bd37c(0x1ce)]();}),_0x9802f5;}[_0xdaca80(0x1dc)](){const _0x13ccbc=_0xdaca80;this[_0x13ccbc(0x1ba)]=new _0x228a2e(),this[_0x13ccbc(0x1ba)][_0x13ccbc(0x1ab)](this[_0x13ccbc(0x1d0)][_0x13ccbc(0x1e8)]),this[_0x13ccbc(0x1ba)][_0x13ccbc(0x1bd)](_0x13ccbc(0x1a6),(_0x17a13c,_0x44ac1b)=>{const _0x4991d8=_0x13ccbc;this[_0x4991d8(0x1d0)][_0x4991d8(0x1b5)](),this[_0x4991d8(0x19e)][_0x4991d8(0x1ce)](),_0x44ac1b();});}[_0xdaca80(0x1db)](){const _0x438b19=_0xdaca80;super[_0x438b19(0x1db)](),this[_0x438b19(0x1ba)][_0x438b19(0x1db)](),this[_0x438b19(0x1d0)][_0x438b19(0x1db)](),this[_0x438b19(0x1b8)][_0x438b19(0x18c)]();}}function Gn(_0x236f81){const _0x21f07b=_0xdaca80;return{'top':_0x236f81[_0x21f07b(0x1c8)],'left':_0x236f81[_0x21f07b(0x1b9)],'name':_0x21f07b(0x18e),'config':{'withArrow':!0x1}};}function yn(_0x524317,_0x396a68){const _0x2ed0b0=_0xdaca80;return{'top':_0x524317[_0x2ed0b0(0x1c8)],'left':_0x524317[_0x2ed0b0(0x1b9)]-(_0x396a68[_0x2ed0b0(0x1e5)]-_0x524317[_0x2ed0b0(0x1e5)]),'name':_0x2ed0b0(0x18e),'config':{'withArrow':!0x1}};}function Pn(_0x524f3c,_0x4960b4,_0x2db83a){const _0x4d3ffc=_0xdaca80;switch(_0x524f3c){case _0x4d3ffc(0x1ad):return _0x2bdf2b(_0x4960b4,_0x4d3ffc(0x1d8),_0x2db83a);case _0x4d3ffc(0x1aa):return _0x2bdf2b(_0x4960b4,_0x4d3ffc(0x1be),_0x2db83a);case _0x4d3ffc(0x1d4):return _0x2bdf2b(_0x4960b4,_0x4d3ffc(0x1d1),_0x2db83a);}}function Hn(_0x1e3388,_0x42d405,_0x11360d){const _0x7b4da=_0xdaca80;switch(_0x1e3388){case _0x7b4da(0x1ad):return _0x2bdf2b(_0x42d405,_0x7b4da(0x1e7),_0x11360d);case _0x7b4da(0x1aa):return _0x2bdf2b(_0x42d405,_0x7b4da(0x188),_0x11360d);case _0x7b4da(0x1d4):return _0x2bdf2b(_0x42d405,_0x7b4da(0x1c6),_0x11360d);}}function _0x5f49(){const _0x50d2c7=['_dropdownCurrentConfig','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','1942821WAtAOX','bottom','showChangeInTextModel','isVisible','ltr','tooltip','30bHZvwh','focus','_createActionsDropdownOrButton','balloonPanelView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','ck-ai-button-primary','insertSuggestion','pin','_partsCount','319ClxfVb','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_dropdownOriginalConfig','items','destroy','_setUpKeystrokes','applySuggestionModel','361668tGtFYl','4124896xjTUhU','bindTemplate','source','updateLabels','_updateDropdownActions','filter','width','fire','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','element','execute','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','length','_setUpList','keys','detachFromDom','content','arrowless','ck-ai-chat__feed__ai-suggestion__actions','button','_createActionsButton','has','bind','1jWhOjb','locale','926434KMOXip','balloonPanelClass','open','add','ck-ai-chat__feed__ai-suggestion__actions\x20','ck-hidden','attachToDom','ck-ai-chat__feed__ai-suggestion__actions__balloon','arrowView','label','setTemplate','insertSuggestionModel','102oGPYyB','25TZGAKY','actionsButton','children','esc','isTrackChangesOn','159564sfmjNP','879651dewdlL','showChangeInText','listenTo','class','applySuggestion','remove','_firstRender','uiLanguageDirection','map','div','actionName','ck-ai-chat__feed__ai-suggestion__actions--no-animation','hide','delegate','258734mzuSRG','bodyCollection','left','keystrokeHandler','slice','unbind','set','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','_createActionsDropdown','listView','change:isTrackChangesOn','isEnabled','listItemModels','createCollection'];_0x5f49=function(){return _0x50d2c7;};return _0x5f49();}
|
|
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 _0x5c0f(){const _0x428da1=['AI_CHAT_HISTORY_CATEGORY_TODAY','unpin','loadItems','getItems','1503433IoyMwU','editConversationTitle','requires','getFullYear','rename','chat','_handleRemove','locale','pin','updateItemLoadingState','_aiConnector','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','error','pinned','4616502vsjeli','_showConversationHistory','54IFAFQi','2215540ZhrxBO','resizeTabs','_handleHistoryErrorUI','AI_CHAT_HISTORY_UNPIN_ACTION','5icWcSb','setConversationPinned','updateItems','AI_CHAT_HISTORY_CATEGORY_LATER','resize','_updateHistoryItemsUI','pluginName','activateTab','resizedTabs','getDate','2AIUglV','title','_handleTogglePin','operation','map','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','isOfficialPlugin','itemUpdated','view','_aiChatHistoryUi','_handleEditTitle','getItem','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','3826221FcadHX','init','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','get','_setIsMaximized','push','_getCategorizedItems','items','getMonth','openChat','history','createdAt','AIChatHistoryController','activeConversation','14184910ITAouG','AI_CHAT_HISTORY_PIN_ACTION','updateItemTitle','change:activeConversation','plugins','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','removeConversation','activateTab:history','getGroupId','_generateErrorMessage','AI_CHAT_HISTORY_ERROR_GENERIC','handleRemovedConversation','itemRemoved','listenTo','updateItemPinned','_aiChatController','1042792eZpQrw','setIsMaximized','removeItem','_clearItemLoading','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','setLoadingSkeleton','itemId','AI_CHAT_UNTITLED_CONVERSATION','setDate','_setItemLoading','remove','selectConversation','length','_handleSelectConversation','toLocaleDateString','context','itemsLoaded','loadConversation','showError','AI_CHAT_HISTORY_CATEGORY_PINNED','removeHistoryItem','updates','isPremiumPlugin','47538zmFcvr'];_0x5c0f=function(){return _0x428da1;};return _0x5c0f();}const _0x54a666=_0x5588;(function(_0x2671f3,_0x56be26){const _0x5a12e5=_0x5588,_0x34b990=_0x2671f3();while(!![]){try{const _0x38bb1f=-parseInt(_0x5a12e5(0x1f3))/0x1*(-parseInt(_0x5a12e5(0x212))/0x2)+parseInt(_0x5a12e5(0x201))/0x3+parseInt(_0x5a12e5(0x204))/0x4+-parseInt(_0x5a12e5(0x208))/0x5*(-parseInt(_0x5a12e5(0x1ee))/0x6)+-parseInt(_0x5a12e5(0x21f))/0x7+parseInt(_0x5a12e5(0x1d7))/0x8*(-parseInt(_0x5a12e5(0x203))/0x9)+-parseInt(_0x5a12e5(0x22d))/0xa;if(_0x38bb1f===_0x56be26)break;else _0x34b990['push'](_0x34b990['shift']());}catch(_0x5287b6){_0x34b990['push'](_0x34b990['shift']());}}}(_0x5c0f,0xd1337));import{ContextPlugin as _0x276097}from'ckeditor5/src/core.js';import{AIConnector as _0x53998e}from'../aicore/aiconnector.js';import{AIChatController as _0x575752}from'../aichat/aichatcontroller.js';import{AITabs as _0x2f2f17}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x5c69b8}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x487c00}from'./model/aichathistoryconversations.js';function _0x5588(_0x578d31,_0x1fa813){const _0x5c0f35=_0x5c0f();return _0x5588=function(_0x5588c3,_0x19ec09){_0x5588c3=_0x5588c3-0x1d0;let _0x1ec811=_0x5c0f35[_0x5588c3];return _0x1ec811;},_0x5588(_0x578d31,_0x1fa813);}import{getTranslation as _0xaf882f}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x276097{[_0x54a666(0x1fd)];[_0x54a666(0x21b)];[_0x54a666(0x1d6)];static get[_0x54a666(0x1f5)](){return[_0x53998e,_0x575752,_0x5c69b8,_0x2f2f17];}static get[_0x54a666(0x20e)](){const _0x496c1a=_0x54a666;return _0x496c1a(0x22b);}static get[_0x54a666(0x218)](){return!0x0;}static get[_0x54a666(0x1ed)](){return!0x0;}[_0x54a666(0x220)](){const _0xbfe057=_0x54a666;this[_0xbfe057(0x1fd)]=this[_0xbfe057(0x1e6)][_0xbfe057(0x231)][_0xbfe057(0x222)](_0x53998e),this[_0xbfe057(0x21b)]=this[_0xbfe057(0x1e6)][_0xbfe057(0x231)][_0xbfe057(0x222)](_0x5c69b8),this[_0xbfe057(0x1d6)]=this[_0xbfe057(0x1e6)][_0xbfe057(0x231)][_0xbfe057(0x222)](_0x575752);const _0x3ff16b=this[_0xbfe057(0x1e6)][_0xbfe057(0x231)][_0xbfe057(0x222)](_0x2f2f17);try{const _0x6790b4=this[_0xbfe057(0x1d6)][_0xbfe057(0x235)]();this[_0xbfe057(0x229)]=new _0x487c00({'connector':this[_0xbfe057(0x1fd)],'group':_0x6790b4}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x233),(_0x1fcea3,_0x3557e8)=>{const _0x48a6a0=_0xbfe057;this[_0x48a6a0(0x1e0)](_0x3557e8['id'],_0x48a6a0(0x1e1)),this[_0x48a6a0(0x1f9)](_0x3557e8['id']);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x1f4),(_0x4ade7a,_0x22f131)=>{const _0x3c281d=_0xbfe057;this[_0x3c281d(0x1e0)](_0x22f131['id'],_0x3c281d(0x1f7)),this[_0x3c281d(0x21c)](_0x22f131['id'],_0x22f131[_0x3c281d(0x213)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x229)],_0xbfe057(0x219),(_0x23244f,_0x364922)=>{const _0x20ed07=_0xbfe057;void 0x0!==_0x364922[_0x20ed07(0x1ec)][_0x20ed07(0x213)]&&this[_0x20ed07(0x21b)][_0x20ed07(0x22f)](_0x364922[_0x20ed07(0x1dd)],_0x364922[_0x20ed07(0x1ec)][_0x20ed07(0x213)]),void 0x0!==_0x364922[_0x20ed07(0x1ec)][_0x20ed07(0x200)]&&this[_0x20ed07(0x20d)](),this[_0x20ed07(0x1da)](_0x364922[_0x20ed07(0x1dd)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x229)],_0xbfe057(0x1d3),(_0x564cd4,_0x1b5f68)=>{const _0x4849d8=_0xbfe057;this[_0x4849d8(0x1d6)][_0x4849d8(0x1d2)](_0x1b5f68[_0x4849d8(0x1dd)]),this[_0x4849d8(0x21b)][_0x4849d8(0x1eb)](_0x1b5f68[_0x4849d8(0x1dd)]),this[_0x4849d8(0x1da)](_0x1b5f68[_0x4849d8(0x1dd)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x229)],_0xbfe057(0x1e7),()=>{const _0x1197fe=_0xbfe057;this[_0x1197fe(0x20d)]();}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x229)],_0xbfe057(0x1ff),(_0x1bdf69,_0x12e279)=>{const _0x3eb6e1=_0xbfe057;this[_0x3eb6e1(0x206)](_0x12e279[_0x3eb6e1(0x1ff)],_0x12e279[_0x3eb6e1(0x215)],_0x12e279[_0x3eb6e1(0x1dd)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x1e2),(_0x2b3cfa,_0xab4191)=>{const _0x197370=_0xbfe057;this[_0x197370(0x1e4)](_0xab4191['id']);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x209),(_0x1fed8f,_0x475dbb)=>{const _0x3a8468=_0xbfe057,_0x2aeb0e=_0x475dbb[_0x3a8468(0x200)]?_0x3a8468(0x1fb):_0x3a8468(0x1f0);this[_0x3a8468(0x1e0)](_0x475dbb['id'],_0x2aeb0e),this[_0x3a8468(0x214)](_0x475dbb['id'],_0x475dbb[_0x3a8468(0x200)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x228),()=>{const _0x3d4c0d=_0xbfe057;_0x3ff16b[_0x3d4c0d(0x21a)][_0x3d4c0d(0x20f)](_0x3d4c0d(0x1f8));}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x1d6)],_0xbfe057(0x230),()=>{const _0x397ef4=_0xbfe057;this[_0x397ef4(0x20d)]();}),_0x3ff16b[_0xbfe057(0x21a)]['on'](_0xbfe057(0x234),()=>{const _0x32434e=_0xbfe057;this[_0x32434e(0x202)]();}),this[_0xbfe057(0x1d4)](_0x3ff16b,_0xbfe057(0x210),(_0x16d079,_0x304242)=>{const _0x542a1b=_0xbfe057;this[_0x542a1b(0x223)](_0x304242);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x205),()=>{const _0x365698=_0xbfe057;_0x3ff16b[_0x365698(0x20c)]();});}catch(_0x16057d){this[_0xbfe057(0x206)](_0x16057d,_0xbfe057(0x220));}}async[_0x54a666(0x21c)](_0x2984e0,_0x27bcb5){const _0x56c847=_0x54a666;await this[_0x56c847(0x229)][_0x56c847(0x22f)](_0x2984e0,_0x27bcb5);}async[_0x54a666(0x214)](_0x499007,_0x27f1c7){const _0x1695f9=_0x54a666;await this[_0x1695f9(0x229)][_0x1695f9(0x1d5)](_0x499007,_0x27f1c7);}async[_0x54a666(0x1f9)](_0x26f4d0){const _0x3f9909=_0x54a666;await this[_0x3f9909(0x229)][_0x3f9909(0x1d9)](_0x26f4d0);}async[_0x54a666(0x1e4)](_0x44ee44){const _0x3c5d30=_0x54a666;await this[_0x3c5d30(0x1d6)][_0x3c5d30(0x1e8)](_0x44ee44);}async[_0x54a666(0x202)](){const _0x269411=_0x54a666;this[_0x269411(0x21b)][_0x269411(0x1e9)](''),this[_0x269411(0x21b)][_0x269411(0x1dc)](!0x0),await this[_0x269411(0x229)][_0x269411(0x220)](),this[_0x269411(0x21b)][_0x269411(0x1dc)](!0x1);}[_0x54a666(0x20d)](){const _0x1aea98=_0x54a666,_0x48401b=this[_0x1aea98(0x1d6)][_0x1aea98(0x22c)]?.['id'],_0xafe090=this[_0x1aea98(0x225)]()[_0x1aea98(0x216)](_0x103bf9=>({'title':_0x103bf9[_0x1aea98(0x213)],'items':_0x103bf9[_0x1aea98(0x226)][_0x1aea98(0x216)](_0x4d964e=>({'id':_0x4d964e['id'],'title':_0x4d964e[_0x1aea98(0x213)]||_0xaf882f(this[_0x1aea98(0x1e6)][_0x1aea98(0x1fa)],_0x1aea98(0x1de)),'createdAt':new Date(_0x4d964e[_0x1aea98(0x22a)])[_0x1aea98(0x1e5)](),'active':_0x4d964e['id']===_0x48401b,'pinned':_0x4d964e[_0x1aea98(0x200)]}))}));this[_0x1aea98(0x21b)][_0x1aea98(0x20a)](_0xafe090);}[_0x54a666(0x1e0)](_0x250b38,_0x3deb75){const _0x409d11=_0x54a666;this[_0x409d11(0x21b)][_0x409d11(0x1fc)](_0x250b38,_0x3deb75,!0x0);}[_0x54a666(0x1da)](_0x5609d){const _0x166b0d=_0x54a666;this[_0x166b0d(0x21b)][_0x166b0d(0x1fc)](_0x5609d,null,!0x1);}[_0x54a666(0x206)](_0x5643d6,_0x4de934,_0x4828b1){const _0x338d80=_0x54a666,_0xfbc519=this[_0x338d80(0x1d0)](_0x4de934,_0x4828b1);this[_0x338d80(0x21b)][_0x338d80(0x1e9)](_0xfbc519),_0x4828b1&&this[_0x338d80(0x1da)](_0x4828b1),this[_0x338d80(0x21b)][_0x338d80(0x1dc)](!0x1);}[_0x54a666(0x1d0)](_0x4d9357,_0x358e9a){const _0x39a91c=_0x54a666,_0xb8c0bd=_0x358e9a?this[_0x39a91c(0x229)][_0x39a91c(0x21d)](_0x358e9a):null,_0x432598=_0xb8c0bd?.[_0x39a91c(0x213)]||_0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x1de));switch(_0x4d9357){case _0x39a91c(0x22f):return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x1db),_0x432598);case _0x39a91c(0x1d5):{const _0x9bd29b=_0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0xb8c0bd?.[_0x39a91c(0x200)]?_0x39a91c(0x207):_0x39a91c(0x22e));return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x217),[_0x9bd29b,_0x432598]);}case _0x39a91c(0x1d9):return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x232),_0x432598);case _0x39a91c(0x220):case _0x39a91c(0x1f1):return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x221));default:return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x1d1));}}[_0x54a666(0x225)](){const _0x529022=_0x54a666,_0x43e0bd=new Date(),_0x7f18f1=new Date(_0x43e0bd[_0x529022(0x1f6)](),_0x43e0bd[_0x529022(0x227)](),_0x43e0bd[_0x529022(0x211)]()),_0xb7c2b7=new Date(_0x7f18f1);_0xb7c2b7[_0x529022(0x1df)](_0xb7c2b7[_0x529022(0x211)]()-0x1);const _0xb270f1=new Date(_0x7f18f1);_0xb270f1[_0x529022(0x1df)](_0xb270f1[_0x529022(0x211)]()-0xe);const _0x2d11b8=this[_0x529022(0x229)][_0x529022(0x1f2)]({'pinned':!0x0}),_0x191127=this[_0x529022(0x229)][_0x529022(0x1f2)]({'from':_0x7f18f1,'to':_0x7f18f1}),_0x4396fa=this[_0x529022(0x229)][_0x529022(0x1f2)]({'from':_0xb7c2b7,'to':_0xb7c2b7}),_0x2c4ada=this[_0x529022(0x229)][_0x529022(0x1f2)]({'from':_0xb270f1,'to':_0xb7c2b7}),_0x58339a=this[_0x529022(0x229)][_0x529022(0x1f2)]({'to':_0xb270f1}),_0x4512cb=[];return _0x2d11b8[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x1ea)),'items':_0x2d11b8}),_0x191127[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x1ef)),'items':_0x191127}),_0x4396fa[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x1fe)),'items':_0x4396fa}),_0x2c4ada[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x21e)),'items':_0x2c4ada}),_0x58339a[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x20b)),'items':_0x58339a}),_0x4512cb;}[_0x54a666(0x223)](_0x2d0f08){const _0x2e0c6c=_0x54a666;this[_0x2e0c6c(0x21b)][_0x2e0c6c(0x1d8)](_0x2d0f08);}}
|
|
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;}}
|