@ckeditor/ckeditor5-ai 47.4.0-alpha.3 → 47.4.0-alpha.4
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/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/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/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/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/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/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/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/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.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/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3742(_0x3c1c85,_0x489ae4){const _0x4922f1=_0x4922();return _0x3742=function(_0x37422e,_0x445cfa){_0x37422e=_0x37422e-0xc0;let _0x203175=_0x4922f1[_0x37422e];return _0x203175;},_0x3742(_0x3c1c85,_0x489ae4);}const _0x58c736=_0x3742;(function(_0x4a3212,_0x52783e){const _0x2effe3=_0x3742,_0x18e3c9=_0x4a3212();while(!![]){try{const _0x5187c3=-parseInt(_0x2effe3(0xd8))/0x1*(parseInt(_0x2effe3(0xe6))/0x2)+-parseInt(_0x2effe3(0xe8))/0x3*(parseInt(_0x2effe3(0xeb))/0x4)+parseInt(_0x2effe3(0xdc))/0x5+-parseInt(_0x2effe3(0xe0))/0x6+parseInt(_0x2effe3(0xc1))/0x7*(parseInt(_0x2effe3(0xd1))/0x8)+-parseInt(_0x2effe3(0xe1))/0x9+parseInt(_0x2effe3(0xe3))/0xa*(parseInt(_0x2effe3(0xdf))/0xb);if(_0x5187c3===_0x52783e)break;else _0x18e3c9['push'](_0x18e3c9['shift']());}catch(_0x32c386){_0x18e3c9['push'](_0x18e3c9['shift']());}}}(_0x4922,0x66ad1));import{View as _0x56155f,ViewCollection as _0x3b6364}from'ckeditor5/src/ui.js';import{uid as _0x19647f}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x2fe15b}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x5d18ae}from'./aichatresourcessearchinputview.js';function _0x4922(){const _0xcd5b59=['extendTemplate','div','length','children','loadSourceResources','3856KRVraH','delegate','useDefaultFiltering','add','set','_skeletonLoader','aiChatResources','1nvlgbj','search','ck-hidden','updateResourceState','3146795miuMAK','_source','_latestLoadResourcesUid','209WvHlVe','2345292smkbRv','5684688nFhlPg','_searchView','1279970spQdHO','has','loadResources','1654262qPkPrh','setTemplate','831102rbOIFK','addResourceToContext','source','12KIBrvW','locale','fire','render','ck\x20ck-search','isLoading','highlightText','_searchInputVisibleFrom','_createSearchSection','581CVBxpn','setResources','_createSkeletonView','_createSearchView','_resourcesListView','bindTemplate','_createResourcesListView','ck-ai-chat-resources','searchInputVisibleFrom','getQuery','_searchSection'];_0x4922=function(){return _0xcd5b59;};return _0x4922();}import{AISkeletonView as _0x372882,SKELETON_DEFINITIONS as _0x437f6e}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x56155f{[_0x58c736(0xe2)];[_0x58c736(0xcb)];[_0x58c736(0xf2)];[_0x58c736(0xc5)];[_0x58c736(0xd6)];[_0x58c736(0xdd)];[_0x58c736(0xcf)];[_0x58c736(0xde)]=null;constructor(_0x54860c,_0x4aafd1){const _0x3f043b=_0x58c736;super(_0x54860c),this[_0x3f043b(0xdd)]=_0x4aafd1[_0x3f043b(0xea)],this[_0x3f043b(0xf2)]=_0x4aafd1[_0x3f043b(0xc9)]??0x7,this[_0x3f043b(0xd5)](_0x3f043b(0xf0),!0x0),this[_0x3f043b(0xe2)]=this[_0x3f043b(0xc4)](),this[_0x3f043b(0xcb)]=this[_0x3f043b(0xc0)](),this[_0x3f043b(0xc5)]=this[_0x3f043b(0xc7)](),this[_0x3f043b(0xd6)]=this[_0x3f043b(0xc3)](),this[_0x3f043b(0xcf)]=new _0x3b6364([this[_0x3f043b(0xd6)],this[_0x3f043b(0xc5)]]),this[_0x3f043b(0xe7)]({'tag':_0x3f043b(0xcd),'attributes':{'class':_0x3f043b(0xc8)},'children':this[_0x3f043b(0xcf)]});}[_0x58c736(0xc4)](){const _0x4bb248=_0x58c736;return new _0x5d18ae(this[_0x4bb248(0xec)]);}[_0x58c736(0xc0)](){const _0x134b33=_0x58c736,_0x4b8a73=new _0x56155f(this[_0x134b33(0xec)]);return _0x4b8a73[_0x134b33(0xe7)]({'tag':_0x134b33(0xcd),'attributes':{'class':_0x134b33(0xef)},'children':[this[_0x134b33(0xe2)]]}),this[_0x134b33(0xe2)]['on'](_0x134b33(0xd9),(_0x4fc127,_0x283f74)=>{const _0xfcdbf4=_0x134b33;this[_0xfcdbf4(0xe5)](_0x283f74),this[_0xfcdbf4(0xdd)][_0xfcdbf4(0xd3)]&&this[_0xfcdbf4(0xc5)][_0xfcdbf4(0xf1)](_0x283f74);}),_0x4b8a73;}[_0x58c736(0xc7)](){const _0xb463a0=_0x58c736,_0x1d8a06=new _0x2fe15b(this[_0xb463a0(0xec)],this[_0xb463a0(0xdd)]);return _0x1d8a06[_0xb463a0(0xd2)](_0xb463a0(0xe9))['to'](this),_0x1d8a06[_0xb463a0(0xcc)]({'attributes':{'class':this[_0xb463a0(0xc6)]['if'](_0xb463a0(0xf0),_0xb463a0(0xda))}}),_0x1d8a06;}[_0x58c736(0xc3)](){const _0x3f0919=_0x58c736,_0x3a5c30=new _0x372882(this[_0x3f0919(0xec)],_0x437f6e[_0x3f0919(0xd7)]);return _0x3a5c30[_0x3f0919(0xcc)]({'attributes':{'class':[this[_0x3f0919(0xc6)]['if'](_0x3f0919(0xf0),_0x3f0919(0xda),_0x283524=>!_0x283524)]}}),_0x3a5c30;}[_0x58c736(0xee)](){const _0x4d7439=_0x58c736;super[_0x4d7439(0xee)](),this[_0x4d7439(0xe5)]('');}[_0x58c736(0xe5)](_0x50ea29){const _0x36e740=_0x58c736,_0x126aac=_0x19647f();this[_0x36e740(0xde)]=_0x126aac,this[_0x36e740(0xed)](_0x36e740(0xd0),{'sourceId':this[_0x36e740(0xdd)]['id'],'query':_0x50ea29,'uid':_0x126aac}),this[_0x36e740(0xf0)]=!0x0;}[_0x58c736(0xc2)](_0x4f61ee,_0x36cc49){const _0xd0ebd9=_0x58c736;if(_0x36cc49&&_0x36cc49!==this[_0xd0ebd9(0xde)])return;const _0x555f78=this[_0xd0ebd9(0xdd)][_0xd0ebd9(0xd3)]?this[_0xd0ebd9(0xe2)][_0xd0ebd9(0xca)]():'';this[_0xd0ebd9(0xc5)][_0xd0ebd9(0xc2)](_0x4f61ee,_0x555f78),_0x4f61ee[_0xd0ebd9(0xce)]>=this[_0xd0ebd9(0xf2)]&&!this[_0xd0ebd9(0xcf)][_0xd0ebd9(0xe4)](this[_0xd0ebd9(0xcb)])&&this[_0xd0ebd9(0xcf)][_0xd0ebd9(0xd4)](this[_0xd0ebd9(0xcb)],0x0),requestAnimationFrame(()=>{const _0x3b600d=_0xd0ebd9;this[_0x3b600d(0xf0)]=!0x1;});}[_0x58c736(0xdb)](_0x3c824a,_0x4175cc){const _0x447f89=_0x58c736;this[_0x447f89(0xc5)][_0x447f89(0xdb)](_0x3c824a,_0x4175cc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2328d6=_0x2a09;(function(_0x51c686,_0x274024){const _0x579f74=_0x2a09,_0x474201=_0x51c686();while(!![]){try{const _0x2bdd2a=parseInt(_0x579f74(0xa3))/0x1+parseInt(_0x579f74(0xa9))/0x2+-parseInt(_0x579f74(0xa5))/0x3+parseInt(_0x579f74(0x93))/0x4*(-parseInt(_0x579f74(0x8d))/0x5)+parseInt(_0x579f74(0xa7))/0x6+parseInt(_0x579f74(0x8e))/0x7*(parseInt(_0x579f74(0x96))/0x8)+-parseInt(_0x579f74(0x95))/0x9;if(_0x2bdd2a===_0x274024)break;else _0x474201['push'](_0x474201['shift']());}catch(_0xea05ab){_0x474201['push'](_0x474201['shift']());}}}(_0x1f9f,0x36212));function _0x1f9f(){const _0x579b97=['DOCUMENT','_iconView','updateResourceState','_setupTemplate','ck-ai-chat-resources__item','338917XwZXEu','render','18459YCaSuX','type','2561106CcIGoK','set','753254OOOBmA','text','_titleView','span','div','getResourceIcon','ck-ai-chat-resources__item--in-context','isInContext','trim','setTemplate','_updateIcon','isVisible','ck-ai-chat-resources__item-title','content','URL','1285TsjrLN','154IHAfYB','_createIconView','extendTemplate','ck-hidden','execute','1924ZOZJCD','label','8256105msHVug','45976XuGScQ','TEXT','_createTitleView','highlightText','FILE','resource','ck-ai-chat-resources__item__icon','bindTemplate'];_0x1f9f=function(){return _0x579b97;};return _0x1f9f();}import{HighlightedTextView as _0x5ef791,IconView as _0x4e0c84,ListItemView as _0x21003b}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3b806f}from'es-toolkit/compat';function _0x2a09(_0x4560e5,_0x441781){const _0x1f9f3e=_0x1f9f();return _0x2a09=function(_0x2a09df,_0x4d91b1){_0x2a09df=_0x2a09df-0x8b;let _0x45ecb0=_0x1f9f3e[_0x2a09df];return _0x45ecb0;},_0x2a09(_0x4560e5,_0x441781);}import{AIContextItemType as _0x36340d}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x330473,IconCheck as _0x5313a8,IconDocument as _0x43c29f,IconDocumentOutline as _0x266783,IconLink as _0x1e953b}from'@ckeditor/ckeditor5-icons';const zr=_0x2328d6(0xa2),Br=_0x2328d6(0xaf),Gr=_0x2328d6(0xb5),Hr=_0x2328d6(0x9c);export class AIChatResourceListItemView extends _0x21003b{[_0x2328d6(0x9b)];[_0x2328d6(0xab)];[_0x2328d6(0x9f)];constructor(_0x48bdb0,_0x3b5814){const _0x34e7c1=_0x2328d6;super(_0x48bdb0),this[_0x34e7c1(0x9b)]=_0x3b5814,this[_0x34e7c1(0xa8)](_0x34e7c1(0xb0),!!_0x3b5814[_0x34e7c1(0xb0)]),this[_0x34e7c1(0xab)]=this[_0x34e7c1(0x98)](),this[_0x34e7c1(0x9f)]=this[_0x34e7c1(0x8f)](),this[_0x34e7c1(0xa1)]();}[_0x2328d6(0xa4)](){const _0x7a839c=_0x2328d6;super[_0x7a839c(0xa4)]();}[_0x2328d6(0xae)](_0x2b7cd1){const _0x3f1714=_0x2328d6;if(_0x2b7cd1[_0x3f1714(0xb0)])return _0x5313a8;switch(_0x2b7cd1[_0x3f1714(0xa6)]){case _0x36340d[_0x3f1714(0x9e)]:return _0x43c29f;case _0x36340d[_0x3f1714(0x8c)]:return _0x1e953b;case _0x36340d[_0x3f1714(0x9a)]:case _0x36340d[_0x3f1714(0x97)]:return _0x330473;default:return _0x266783;}}[_0x2328d6(0x99)](_0x8787ff){const _0x3f603a=_0x2328d6;if(!_0x8787ff||''===_0x8787ff[_0x3f603a(0xb1)]())return void this[_0x3f603a(0xab)][_0x3f603a(0x99)](null);const _0x558c36=new RegExp(_0x3b806f(_0x8787ff),'gi');this[_0x3f603a(0xab)][_0x3f603a(0x99)](_0x558c36);}[_0x2328d6(0xa0)](_0x41a515){const _0x30dcb4=_0x2328d6;this[_0x30dcb4(0x9b)][_0x30dcb4(0xb0)]=_0x41a515,this[_0x30dcb4(0xb0)]=_0x41a515,this[_0x30dcb4(0xb3)]();}[_0x2328d6(0x98)](){const _0x1b8e64=_0x2328d6,_0x2cfd65=new _0x5ef791();return _0x2cfd65[_0x1b8e64(0xaa)]=this[_0x1b8e64(0x9b)][_0x1b8e64(0x94)],_0x2cfd65[_0x1b8e64(0x90)]({'tag':_0x1b8e64(0xac),'attributes':{'class':[Gr]}}),_0x2cfd65;}[_0x2328d6(0x8f)](){const _0x7f073f=_0x2328d6,_0x46cf3e=new _0x4e0c84();return _0x46cf3e[_0x7f073f(0x8b)]=this[_0x7f073f(0xae)](this[_0x7f073f(0x9b)]),_0x46cf3e;}[_0x2328d6(0xa1)](){const _0x21c9a3=_0x2328d6,_0xd0861f=this[_0x21c9a3(0x9d)];this[_0x21c9a3(0xb2)]({'tag':_0x21c9a3(0xad),'attributes':{'class':[zr,_0xd0861f['if'](_0x21c9a3(0xb4),_0x21c9a3(0x91),_0x55824c=>!_0x55824c),_0xd0861f['if'](_0x21c9a3(0xb0),Br)]},'children':[{'tag':_0x21c9a3(0xad),'attributes':{'class':[Hr]},'children':[this[_0x21c9a3(0x9f)]]},this[_0x21c9a3(0xab)]],'on':{'click':_0xd0861f['to'](_0x21c9a3(0x92))}});}[_0x2328d6(0xb3)](){const _0x387eae=_0x2328d6;this[_0x387eae(0x9f)][_0x387eae(0x8b)]=this[_0x387eae(0xae)](this[_0x387eae(0x9b)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1090b2=_0x294e;(function(_0xbcee7c,_0x2dfdf4){const _0xc4bb04=_0x294e,_0x2478ad=_0xbcee7c();while(!![]){try{const _0x566314=parseInt(_0xc4bb04(0x173))/0x1+parseInt(_0xc4bb04(0x167))/0x2*(parseInt(_0xc4bb04(0x14b))/0x3)+parseInt(_0xc4bb04(0x16e))/0x4*(-parseInt(_0xc4bb04(0x15b))/0x5)+parseInt(_0xc4bb04(0x17f))/0x6+parseInt(_0xc4bb04(0x155))/0x7*(parseInt(_0xc4bb04(0x149))/0x8)+parseInt(_0xc4bb04(0x174))/0x9+parseInt(_0xc4bb04(0x154))/0xa*(-parseInt(_0xc4bb04(0x180))/0xb);if(_0x566314===_0x2dfdf4)break;else _0x2478ad['push'](_0x2478ad['shift']());}catch(_0x33488b){_0x2478ad['push'](_0x2478ad['shift']());}}}(_0x3a5b,0x302fc));import{BalloonPanelView as _0x4c7eb7,ButtonView as _0x30be56,clickOutsideHandler as _0x23e168,FormHeaderView as _0x35b3e7}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x3188a7}from'@ckeditor/ckeditor5-icons';function _0x294e(_0x11c3ff,_0x3724d9){const _0x3a5b51=_0x3a5b();return _0x294e=function(_0x294e6b,_0x514137){_0x294e6b=_0x294e6b-0x143;let _0x32d8d3=_0x3a5b51[_0x294e6b];return _0x32d8d3;},_0x294e(_0x11c3ff,_0x3724d9);}import{getTranslation as _0x8da239}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x66baeb}from'./aichatcontextresourcesview.js';const Nr=_0x1090b2(0x170),Xr=_0x1090b2(0x16d),Kr=_0x1090b2(0x179);export class AIChatResourcesBalloonView{[_0x1090b2(0x165)]=new Map();[_0x1090b2(0x175)];[_0x1090b2(0x158)];[_0x1090b2(0x160)];constructor(_0x38d3d2,_0x6478c6,_0x121c2a){const _0x5240aa=_0x1090b2;this[_0x5240aa(0x158)]=_0x38d3d2,this[_0x5240aa(0x175)]=_0x6478c6,this[_0x5240aa(0x160)]=_0x121c2a;}[_0x1090b2(0x148)](_0x200a63){const _0x2a5d33=_0x1090b2;let _0x460685=this[_0x2a5d33(0x165)][_0x2a5d33(0x16a)](_0x200a63['id']);_0x460685||(_0x460685=this[_0x2a5d33(0x150)](),this[_0x2a5d33(0x165)][_0x2a5d33(0x14e)](_0x200a63['id'],_0x460685),this[_0x2a5d33(0x145)](_0x460685)),this[_0x2a5d33(0x17c)](_0x460685,_0x200a63),_0x460685[_0x2a5d33(0x157)]();const _0x101c75=this[_0x2a5d33(0x160)][_0x2a5d33(0x14c)]();_0x101c75&&_0x460685[_0x2a5d33(0x17d)]({'target':_0x101c75,'limiter':this[_0x2a5d33(0x160)][_0x2a5d33(0x14d)]()});}[_0x1090b2(0x16c)](_0x55390c,_0x99c352,_0x102cf9){const _0x289bf3=_0x1090b2,_0x2da3ac=this[_0x289bf3(0x165)][_0x289bf3(0x16a)](_0x55390c);if(!_0x2da3ac)return;const _0xaea594=this[_0x289bf3(0x17a)](_0x2da3ac);_0xaea594&&(_0xaea594[_0x289bf3(0x15d)](_0x99c352,_0x102cf9),_0xaea594[_0x289bf3(0x14f)](_0x289bf3(0x156),()=>{const _0x5c56e5=_0x289bf3;_0x2da3ac[_0x5c56e5(0x17d)]({'target':this[_0x5c56e5(0x160)][_0x5c56e5(0x14c)](),'limiter':this[_0x5c56e5(0x160)][_0x5c56e5(0x14d)]()});}));}[_0x1090b2(0x17e)](_0x825e3c){const _0x467dcf=_0x1090b2,_0x89506f=this[_0x467dcf(0x165)][_0x467dcf(0x16a)](_0x825e3c);_0x89506f&&requestAnimationFrame(()=>{const _0x7f4057=_0x467dcf;_0x89506f[_0x7f4057(0x178)](),this[_0x7f4057(0x165)][_0x7f4057(0x162)](_0x825e3c),this[_0x7f4057(0x160)][_0x7f4057(0x171)]();});}[_0x1090b2(0x16b)](){const _0x2fa35a=_0x1090b2;for(const _0x48b71e of this[_0x2fa35a(0x165)][_0x2fa35a(0x152)]())if(_0x48b71e[_0x2fa35a(0x166)])return!0x0;return!0x1;}[_0x1090b2(0x164)](_0xa9006f,_0x5c6921,_0x2065c6){const _0x4621c3=_0x1090b2,_0x53a13b=this[_0x4621c3(0x165)][_0x4621c3(0x16a)](_0xa9006f);if(!_0x53a13b||!_0x53a13b[_0x4621c3(0x166)])return;const _0x187285=this[_0x4621c3(0x160)][_0x4621c3(0x14c)]();if(!_0x187285)return;_0x53a13b[_0x4621c3(0x17d)]({'target':_0x187285,'limiter':this[_0x4621c3(0x160)][_0x4621c3(0x14d)]()});const _0x260fee=this[_0x4621c3(0x17a)](_0x53a13b);_0x260fee&&_0x260fee[_0x4621c3(0x164)](_0x5c6921,_0x2065c6);}[_0x1090b2(0x15c)](){const _0x4485d8=_0x1090b2;for(const _0x4e86a0 of this[_0x4485d8(0x165)][_0x4485d8(0x152)]())_0x4e86a0[_0x4485d8(0x15c)]();this[_0x4485d8(0x165)][_0x4485d8(0x161)]();}[_0x1090b2(0x150)](){const _0x1534b2=_0x1090b2,_0x41da0c=new _0x4c7eb7(this[_0x1534b2(0x158)]);return _0x41da0c[_0x1534b2(0x17b)]({'attributes':{'class':Nr}}),this[_0x1534b2(0x175)][_0x1534b2(0x14a)](_0x41da0c),_0x41da0c;}[_0x1090b2(0x17c)](_0x25ca09,_0x42ecef){const _0x586076=_0x1090b2;_0x25ca09[_0x586076(0x168)][_0x586076(0x161)]();const _0x59d2c2=this[_0x586076(0x172)](_0x25ca09,_0x42ecef);_0x25ca09[_0x586076(0x168)][_0x586076(0x14a)](_0x59d2c2);const _0x3cf081=this[_0x586076(0x159)](_0x42ecef);_0x25ca09[_0x586076(0x168)][_0x586076(0x14a)](_0x3cf081);}[_0x1090b2(0x172)](_0x5b91f4,_0x119d46){const _0x235838=_0x1090b2,_0x2e6a61=this[_0x235838(0x176)](_0x5b91f4),_0x3d4241=new _0x35b3e7(this[_0x235838(0x158)],{'label':_0x119d46[_0x235838(0x147)],'class':Kr});return _0x3d4241[_0x235838(0x177)][_0x235838(0x14a)](_0x2e6a61,0x0),_0x3d4241;}[_0x1090b2(0x176)](_0x3bc546){const _0xe86aed=_0x1090b2,_0x1c1502=new _0x30be56(this[_0xe86aed(0x158)]);return _0x1c1502[_0xe86aed(0x14e)]({'icon':_0x3188a7,'tooltip':_0x8da239(this[_0xe86aed(0x158)],_0xe86aed(0x15e)),'tooltipPosition':'n','class':Xr}),_0x1c1502['on'](_0xe86aed(0x143),()=>{const _0x39426b=_0xe86aed;_0x3bc546[_0x39426b(0x178)](),this[_0x39426b(0x160)][_0x39426b(0x15a)]();}),_0x1c1502;}[_0x1090b2(0x159)](_0x41d3ea){const _0x55bfaf=_0x1090b2,_0x10aada=new _0x66baeb(this[_0x55bfaf(0x158)],{'source':_0x41d3ea,'searchInputVisibleFrom':this[_0x55bfaf(0x160)][_0x55bfaf(0x16f)]});return _0x10aada['on'](_0x55bfaf(0x153),(_0x528826,_0x38bbe8)=>{const _0x4e0574=_0x55bfaf;this[_0x4e0574(0x160)][_0x4e0574(0x146)](_0x38bbe8);}),_0x10aada['on'](_0x55bfaf(0x15f),(_0x31f2a8,_0x43c0bf)=>{const _0x3a0c29=_0x55bfaf;this[_0x3a0c29(0x160)][_0x3a0c29(0x169)](_0x43c0bf[_0x3a0c29(0x151)],_0x43c0bf[_0x3a0c29(0x163)]),this[_0x3a0c29(0x17e)](_0x41d3ea['id']);}),_0x10aada;}[_0x1090b2(0x17a)](_0x24e3d9){const _0x47928c=_0x1090b2,_0x2fd943=_0x24e3d9[_0x47928c(0x168)][_0x47928c(0x16a)](0x1);return _0x2fd943 instanceof _0x66baeb?_0x2fd943:null;}[_0x1090b2(0x145)](_0x143005){const _0x5c8c56=_0x1090b2;_0x23e168({'emitter':_0x143005,'contextElements':[_0x143005[_0x5c8c56(0x144)]],'callback':()=>{const _0x52917e=_0x5c8c56;_0x143005[_0x52917e(0x178)](),this[_0x52917e(0x160)][_0x52917e(0x171)]();},'activator':()=>_0x143005[_0x5c8c56(0x166)]});}}function _0x3a5b(){const _0x327ab0=['change:isLoading','show','_locale','_createBalloonResourcesView','onBackToContext','155FiSeYf','destroy','setResources','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','addResourceToContext','_config','clear','delete','resource','updateResourceState','_sourceResourceBalloons','isVisible','360408zaNKcc','content','onResourceSelected','get','isAnyResourceBalloonVisible','populateSourceResourceBalloon','ck-button-icon\x20ck-button-back','1544eDppTv','searchInputVisibleFrom','ck-ai-chat-context-controls__source-balloon-panel','onBalloonClosed','_createBalloonHeader','278964JZUeiC','1421145yzUAcs','_bodyCollection','_createBackButton','children','hide','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_getResourcesViewFromBalloon','extendTemplate','_addSourceResourceContent','pin','closeSourceResourceBalloon','158778QwPlfc','11Ustozm','execute','element','_setupSingleResourceBalloonClickOutsideHandler','onLoadSourceResources','label','showSourceResourcesBalloon','60136DDIuLv','add','6UxQPDA','getTargetElement','getLimiterElement','set','once','_createSourceResourceBalloonPanel','source','values','loadSourceResources','9150820WdwlaE','280CdoJrz'];_0x3a5b=function(){return _0x327ab0;};return _0x3a5b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x3bb23e,IconView as _0x5d279c,LabeledFieldView as _0x98592b,createLabeledInputText as _0x596adc}from'ckeditor5/src/ui.js';import{IconLoupe as _0x3f97e8,IconCancel as _0x3f467b}from'ckeditor5/src/icons.js';import{getTranslation as _0x247081}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x98592b{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x145051){const t=_0x145051['t'],_0x3fc48b={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x596adc,'label':_0x247081(_0x145051,'AI_CHAT_SEARCH_RESOURCES')};super(_0x145051,_0x3fc48b['creator']),this['label']=_0x3fc48b['label'],this['_viewConfig']=_0x3fc48b,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x145051,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x2ff8a5){this['fire']('search',_0x2ff8a5);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x5d279c(),this['iconView']['content']=_0x3f97e8,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x3e9e46,t){this['resetButtonView']=new _0x3bb23e(_0x3e9e46),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3f467b,'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',_0x88536d=>!_0x88536d),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
|
-
|
|
23
|
+
const _0xeaf6f1=_0x1e32;(function(_0x225c99,_0x2d715d){const _0x5b0984=_0x1e32,_0x1a90d2=_0x225c99();while(!![]){try{const _0x33c051=-parseInt(_0x5b0984(0xf2))/0x1+parseInt(_0x5b0984(0x100))/0x2+parseInt(_0x5b0984(0xfd))/0x3*(parseInt(_0x5b0984(0xe7))/0x4)+-parseInt(_0x5b0984(0x106))/0x5*(-parseInt(_0x5b0984(0xf4))/0x6)+parseInt(_0x5b0984(0xff))/0x7*(-parseInt(_0x5b0984(0xed))/0x8)+parseInt(_0x5b0984(0x105))/0x9+-parseInt(_0x5b0984(0xf9))/0xa;if(_0x33c051===_0x2d715d)break;else _0x1a90d2['push'](_0x1a90d2['shift']());}catch(_0x385246){_0x1a90d2['push'](_0x1a90d2['shift']());}}}(_0x2be2,0x8f890));function _0x1e32(_0x4edac7,_0x5090a0){const _0x2be2af=_0x2be2();return _0x1e32=function(_0x1e32dc,_0x1ec3ad){_0x1e32dc=_0x1e32dc-0xe7;let _0x2aa32a=_0x2be2af[_0x1e32dc];return _0x2aa32a;},_0x1e32(_0x4edac7,_0x5090a0);}import{View as _0x3a8aaa}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4fa30c}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2fc0fb}from'../controls/aichatchipsoverflowmanager.js';const $o=_0xeaf6f1(0xec),Ko=_0xeaf6f1(0xfa),Qo=_0xeaf6f1(0xf5),Uo=_0xeaf6f1(0xfb),No=_0xeaf6f1(0xe9),Oo=_0xeaf6f1(0xf7);function _0x2be2(){const _0x542ffc=['115MCSagh','737972lNwgCZ','_bodyCollection','ck-ai-chat-controls_context_show-more-button','_createContextChips','render','ck-ai-chat__feed__context-chips','2087024mkUvBM','querySelector','ck-reset_all','element','_contextChips','364423hpQEVq','locale','195960vuUzGo','ck-ai-chat-context-chips-wrapper-balloon','createCollection','ck-ai-chat-context-controls__show-more-balloon-panel','reorganizeChips','5991210hWYDEV','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls-button','setTemplate','9PEvQaE','_overflowManager','7nEuVBu','746650jjpIig','div','add','destroy','setContainerElement','1209222ZBvWXN'];_0x2be2=function(){return _0x542ffc;};return _0x2be2();}export class AIChatFeedContextChipsView extends _0x3a8aaa{[_0xeaf6f1(0xf1)]=this[_0xeaf6f1(0xf6)]();[_0xeaf6f1(0xfe)];[_0xeaf6f1(0xe8)];constructor(_0x27cd4c,_0x2ddb22,_0x4258d3){const _0x135b96=_0xeaf6f1;super(_0x27cd4c),this[_0x135b96(0xe8)]=_0x4258d3,this[_0x135b96(0xea)](_0x2ddb22);const _0x35a3ef={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x135b96(0xfe)]=new _0x2fc0fb(_0x27cd4c,this[_0x135b96(0xf1)],_0x35a3ef,this[_0x135b96(0xe8)],this),this[_0x135b96(0xfc)]({'tag':_0x135b96(0x101),'attributes':{'class':[$o,'ck',_0x135b96(0xef)]},'children':[{'tag':_0x135b96(0x101),'attributes':{'class':Ko},'children':this[_0x135b96(0xf1)]}]});}[_0xeaf6f1(0xeb)](){const _0x59575e=_0xeaf6f1;super[_0x59575e(0xeb)]();const _0x23e74c=this[_0x59575e(0xf0)][_0x59575e(0xee)]('.'+Ko);_0x23e74c&&(this[_0x59575e(0xfe)][_0x59575e(0x104)](_0x23e74c),this[_0x59575e(0xfe)][_0x59575e(0xf8)]());}[_0xeaf6f1(0x103)](){const _0x5b65fd=_0xeaf6f1;super[_0x5b65fd(0x103)](),this[_0x5b65fd(0xfe)][_0x5b65fd(0x103)]();}[_0xeaf6f1(0xea)](_0x11933b){const _0x20e111=_0xeaf6f1;for(const _0x26eedd of _0x11933b){const _0x2a8c44=new _0x4fa30c(this[_0x20e111(0xf3)],_0x26eedd,!0x0,!0x1);this[_0x20e111(0xf1)][_0x20e111(0x102)](_0x2a8c44);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15a767=_0xa4e5;function _0xa4e5(_0x3157b7,_0x5a6c5b){const _0x2d07e0=_0x2d07();return _0xa4e5=function(_0xa4e598,_0x2e6b0){_0xa4e598=_0xa4e598-0x17f;let _0x14a453=_0x2d07e0[_0xa4e598];return _0x14a453;},_0xa4e5(_0x3157b7,_0x5a6c5b);}(function(_0x1e21b0,_0x58ec30){const _0x5db618=_0xa4e5,_0x3eff98=_0x1e21b0();while(!![]){try{const _0x57dc8a=-parseInt(_0x5db618(0x190))/0x1*(-parseInt(_0x5db618(0x191))/0x2)+parseInt(_0x5db618(0x183))/0x3*(parseInt(_0x5db618(0x18e))/0x4)+-parseInt(_0x5db618(0x180))/0x5+parseInt(_0x5db618(0x196))/0x6*(-parseInt(_0x5db618(0x195))/0x7)+-parseInt(_0x5db618(0x186))/0x8+-parseInt(_0x5db618(0x18b))/0x9+parseInt(_0x5db618(0x193))/0xa;if(_0x57dc8a===_0x58ec30)break;else _0x3eff98['push'](_0x3eff98['shift']());}catch(_0x3ea307){_0x3eff98['push'](_0x3eff98['shift']());}}}(_0x2d07,0xebb12));import{IconBulb as _0x2bde51,IconWeb as _0x295721}from'@ckeditor/ckeditor5-icons';import{IconView as _0x53586f,View as _0x2a1e77}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0xe691cd}from'./aichatfeeditemview.js';function _0x2d07(){const _0x271dfc=['ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','13946850lhqZgk','children','ck-ai-chat__feed__interaction-header__capabilities__text','12LqTUvu','add','674051YCpnkV','2MnDGfs','setTemplate','68500000IsaNrH','extendTemplate','168JYdoaq','371370eaPZgx','push','ck-ai-chat__feed__interaction-header__capabilities','content','9252070OGFjWk','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','span','187974FlhPkV','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','14888696hhQnoS','div','ck-hidden'];_0x2d07=function(){return _0x271dfc;};return _0x2d07();}import{getTranslation as _0x2ed44f}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0xe691cd{[_0x15a767(0x184)];constructor(_0xdac9ca,_0x585202){const _0x86dece=_0x15a767;super(_0x585202);const {isWebSearchEnabled:_0x32912e,isReasoningEnabled:_0x3e2f15}=_0x585202[_0x86dece(0x184)],_0x3d2923=[];let _0x18c91b='';_0x32912e&&_0x3e2f15?(_0x18c91b=_0x2ed44f(_0xdac9ca,_0x86dece(0x18a)),_0x3d2923[_0x86dece(0x197)](aa(_0x295721)),_0x3d2923[_0x86dece(0x197)](aa(_0x2bde51))):_0x32912e?(_0x18c91b=_0x2ed44f(_0xdac9ca,_0x86dece(0x185)),_0x3d2923[_0x86dece(0x197)](aa(_0x295721))):_0x3e2f15&&(_0x18c91b=_0x2ed44f(_0xdac9ca,_0x86dece(0x181)),_0x3d2923[_0x86dece(0x197)](aa(_0x2bde51))),this[_0x86dece(0x194)]({'attributes':{'class':[_0x86dece(0x189),_0x18c91b?'':_0x86dece(0x188)]}});const _0xe11510=new _0x2a1e77();_0xe11510[_0x86dece(0x192)]({'tag':_0x86dece(0x187),'attributes':{'class':['ck',_0x86dece(0x198)]},'children':[..._0x3d2923,{'tag':_0x86dece(0x182),'attributes':{'class':[_0x86dece(0x18d)]},'children':[_0x18c91b]}]}),this[_0x86dece(0x18c)][_0x86dece(0x18f)](_0xe11510),this[_0x86dece(0x184)]=_0x585202[_0x86dece(0x184)];}}function aa(_0x33d497){const _0x62a89d=_0x15a767,_0x56eeea=new _0x53586f();return _0x56eeea[_0x62a89d(0x17f)]=_0x33d497,_0x56eeea;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2e6273=_0x597c;function _0x37d5(){const _0x10171b=['set','260scpztd','ck-ai-chat__feed__item_done','bindTemplate','ck-ai-chat__feed__text-item','276111wVHtLf','666644lHnTsC','children','ck-hidden','options','isDone','2570005Wftdhu','animation:\x20ck-html-streamer-fade-in\x20.5s','setTemplate','div','element','streamIntoElement','[data-id]','ck-ai-chat__feed__item','6573eeySvr','content','706237ASjvGh','querySelectorAll','createCollection','markAsDone','1686ZORnFS','2066336Nnzjdp','data-id','isVisible','forEach','removeAttribute','1014wYsbzJ','cleanUpAnimations','stream','htmlStreamer','9LgJSvY','3428OtmKjN'];_0x37d5=function(){return _0x10171b;};return _0x37d5();}(function(_0x26e5d6,_0x30c1d4){const _0x20ab62=_0x597c,_0x57e0b3=_0x26e5d6();while(!![]){try{const _0x2dad32=parseInt(_0x20ab62(0x125))/0x1+parseInt(_0x20ab62(0x134))/0x2*(-parseInt(_0x20ab62(0x12f))/0x3)+-parseInt(_0x20ab62(0x116))/0x4+-parseInt(_0x20ab62(0x11b))/0x5+-parseInt(_0x20ab62(0x129))/0x6*(-parseInt(_0x20ab62(0x123))/0x7)+parseInt(_0x20ab62(0x12a))/0x8*(parseInt(_0x20ab62(0x133))/0x9)+-parseInt(_0x20ab62(0x136))/0xa*(-parseInt(_0x20ab62(0x115))/0xb);if(_0x2dad32===_0x30c1d4)break;else _0x57e0b3['push'](_0x57e0b3['shift']());}catch(_0x528529){_0x57e0b3['push'](_0x57e0b3['shift']());}}}(_0x37d5,0x979dc));function _0x597c(_0x1d47f5,_0x202315){const _0x37d5a1=_0x37d5();return _0x597c=function(_0x597c45,_0x3582e9){_0x597c45=_0x597c45-0x114;let _0x44953e=_0x37d5a1[_0x597c45];return _0x44953e;},_0x597c(_0x1d47f5,_0x202315);}import{View as _0x2c9ccc}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1d0ec1}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x2c9ccc{[_0x2e6273(0x119)];[_0x2e6273(0x124)]='';[_0x2e6273(0x132)];[_0x2e6273(0x117)];constructor(_0xecce60){const _0x1f22c6=_0x2e6273;super();const _0x15de7e=this[_0x1f22c6(0x138)];this[_0x1f22c6(0x135)](_0x1f22c6(0x11a),!0x1),this[_0x1f22c6(0x135)](_0x1f22c6(0x12c),!0x0),this[_0x1f22c6(0x132)]=new _0x1d0ec1({'textNodeStyle':_0x1f22c6(0x11c),'delay':0x14}),this[_0x1f22c6(0x119)]=_0xecce60,this[_0x1f22c6(0x117)]=this[_0x1f22c6(0x127)](),this[_0x1f22c6(0x11d)]({'tag':_0x1f22c6(0x11e),'attributes':{'class':['ck',_0x1f22c6(0x122),_0x15de7e['if'](_0x1f22c6(0x11a),_0x1f22c6(0x137)),_0x15de7e['if'](_0x1f22c6(0x12c),_0x1f22c6(0x118),_0x1e8e51=>!_0x1e8e51),_0x1f22c6(0x114)],'data-cke-ai-id':this[_0x1f22c6(0x119)]['id']},'children':this[_0x1f22c6(0x117)]});}[_0x2e6273(0x128)](){const _0x269170=_0x2e6273;this[_0x269170(0x132)][_0x269170(0x130)]({'targetElement':this[_0x269170(0x11f)]}),this[_0x269170(0x11f)][_0x269170(0x126)](_0x269170(0x121))[_0x269170(0x12d)](_0x368274=>{const _0x492e9d=_0x269170;_0x368274[_0x492e9d(0x12e)](_0x492e9d(0x12b));}),this[_0x269170(0x11a)]=!0x0;}async[_0x2e6273(0x120)](_0xf5a8db,_0x41af4d,_0x4dbf75){const _0x2fce72=_0x2e6273;await this[_0x2fce72(0x132)][_0x2fce72(0x131)]({'document':_0xf5a8db,'targetElement':_0x41af4d,'abortSignal':_0x4dbf75});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x21a4(_0x25f350,_0x24d85a){const _0x56c866=_0x56c8();return _0x21a4=function(_0x21a430,_0x1b2bb8){_0x21a430=_0x21a430-0x11c;let _0xdea60d=_0x56c866[_0x21a430];return _0xdea60d;},_0x21a4(_0x25f350,_0x24d85a);}const _0x3729de=_0x21a4;(function(_0x5f2a18,_0x51118b){const _0x5d94b5=_0x21a4,_0x38f6a6=_0x5f2a18();while(!![]){try{const _0x438c29=-parseInt(_0x5d94b5(0x137))/0x1+-parseInt(_0x5d94b5(0x120))/0x2+-parseInt(_0x5d94b5(0x121))/0x3+-parseInt(_0x5d94b5(0x11d))/0x4+-parseInt(_0x5d94b5(0x130))/0x5*(-parseInt(_0x5d94b5(0x12f))/0x6)+parseInt(_0x5d94b5(0x12b))/0x7*(parseInt(_0x5d94b5(0x13c))/0x8)+-parseInt(_0x5d94b5(0x12d))/0x9*(-parseInt(_0x5d94b5(0x134))/0xa);if(_0x438c29===_0x51118b)break;else _0x38f6a6['push'](_0x38f6a6['shift']());}catch(_0x557024){_0x38f6a6['push'](_0x38f6a6['shift']());}}}(_0x56c8,0x9f4fb));function _0x56c8(){const _0x3f859c=['ck-ai-chat__feed__ai-reply','_bodyCollection','1229720KgeqoY','isVisible','children','streaming','locale','8XFnxpS','options','map','setTemplate','updateSources','854496gPOhcl','replyContainer','markAsDone','666376WRBfCH','3086340RatWSK','ck-ai-chat__feed__ai-reply-container','updateContent','addMany','streamIntoElement','balloonPanelView','add','ck-reset_all-excluded','innerHTML','element','3846962SUTvJk','static','24706557sLzBrD','div','122334ldcQZv','40JTFnpS','render','extendTemplate','initialContent','10PPJAqa'];_0x56c8=function(){return _0x3f859c;};return _0x56c8();}import{AIChatFeedItemView as _0x8163bd}from'./aichatfeeditemview.js';import{parse as _0x2bbb38,render as _0x29ba0d}from'../../../aicore/utils/htmlparser.js';import{View as _0x52cb2a}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x3a4f4f,AIWebSourceView as _0x26cb67}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x8163bd{[_0x3729de(0x11e)];[_0x3729de(0x136)];constructor(_0x3c2a96,_0x36dd91,_0x597e5c){const _0x1bdd0b=_0x3729de;super(_0x36dd91),this[_0x1bdd0b(0x136)]=_0x597e5c,this[_0x1bdd0b(0x13b)]=_0x3c2a96,this[_0x1bdd0b(0x132)]({'attributes':{'class':[_0x1bdd0b(0x135)]}}),this[_0x1bdd0b(0x11e)]=new _0x52cb2a(),this[_0x1bdd0b(0x11e)][_0x1bdd0b(0x13f)]({'tag':_0x1bdd0b(0x12e),'attributes':{'class':['ck',_0x1bdd0b(0x128),_0x1bdd0b(0x122)]}}),this[_0x1bdd0b(0x139)][_0x1bdd0b(0x127)](this[_0x1bdd0b(0x11e)]);}async[_0x3729de(0x131)](){const _0x4496d8=_0x3729de;super[_0x4496d8(0x131)](),this[_0x4496d8(0x13d)][_0x4496d8(0x133)]&&(await this[_0x4496d8(0x123)]({'parsedContent':_0x2bbb38(this[_0x4496d8(0x13d)][_0x4496d8(0x133)]),'renderingStrategy':_0x4496d8(0x12c)}),this[_0x4496d8(0x11f)]());}async[_0x3729de(0x123)]({parsedContent:_0x2b11e4,renderingStrategy:_0x347fa2,abortSignal:_0x5f01de}){const _0x57cd1c=_0x3729de;_0x57cd1c(0x13a)===_0x347fa2?await this[_0x57cd1c(0x125)](_0x2b11e4,this[_0x57cd1c(0x11e)][_0x57cd1c(0x12a)],_0x5f01de):this[_0x57cd1c(0x11e)][_0x57cd1c(0x12a)][_0x57cd1c(0x129)]=_0x29ba0d(_0x2b11e4);}[_0x3729de(0x11c)](_0x4a3e67){const _0x2f4ac9=_0x3729de,_0x59feae=new _0x3a4f4f(this[_0x2f4ac9(0x13b)],this[_0x2f4ac9(0x136)]);_0x59feae[_0x2f4ac9(0x139)][_0x2f4ac9(0x124)](_0x4a3e67[_0x2f4ac9(0x13e)](_0x3eca0d=>new _0x26cb67(this[_0x2f4ac9(0x13b)],_0x3eca0d,_0x59feae[_0x2f4ac9(0x126)]))),_0x59feae[_0x2f4ac9(0x138)]=!0x0,this[_0x2f4ac9(0x139)][_0x2f4ac9(0x127)](_0x59feae);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xe590(_0x129d62,_0x4f9b86){const _0x3d64da=_0x3d64();return _0xe590=function(_0xe5903c,_0x3ed1a7){_0xe5903c=_0xe5903c-0x75;let _0x4ce856=_0x3d64da[_0xe5903c];return _0x4ce856;},_0xe590(_0x129d62,_0x4f9b86);}const _0x2fcef1=_0xe590;(function(_0x40185a,_0x4cbd28){const _0x2c9c35=_0xe590,_0x1afde8=_0x40185a();while(!![]){try{const _0x2e0b85=parseInt(_0x2c9c35(0x7c))/0x1+parseInt(_0x2c9c35(0x92))/0x2*(parseInt(_0x2c9c35(0xbe))/0x3)+parseInt(_0x2c9c35(0x9a))/0x4*(-parseInt(_0x2c9c35(0xca))/0x5)+-parseInt(_0x2c9c35(0xb5))/0x6*(-parseInt(_0x2c9c35(0xc3))/0x7)+-parseInt(_0x2c9c35(0xcf))/0x8*(-parseInt(_0x2c9c35(0x8d))/0x9)+parseInt(_0x2c9c35(0xb6))/0xa+-parseInt(_0x2c9c35(0xb4))/0xb;if(_0x2e0b85===_0x4cbd28)break;else _0x1afde8['push'](_0x1afde8['shift']());}catch(_0x4dd762){_0x1afde8['push'](_0x1afde8['shift']());}}}(_0x3d64,0x86937));import{KeystrokeHandler as _0x56aeb5}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x10502c,BodyCollection as _0x235d08,ButtonView as _0x5da394,clickOutsideHandler as _0x2e9253,ListItemButtonView as _0x373e47,ListItemView as _0x3b9677,ListView as _0x4a9eac,SplitButtonView as _0x238f53,UIModel as _0x1993b3,View as _0x1d0723}from'ckeditor5/src/ui.js';import{IconCheck as _0x5c186d,IconAddComment as _0x2f76b4,IconDocumentWithLoupe as _0x40c1e6}from'ckeditor5/src/icons.js';import{getTranslation as _0x5ad4d2}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x2fcef1(0xb0),_0x2fcef1(0x98),_0x2fcef1(0x8b)];export class AIChatFeedSuggestionItemActionsView extends _0x1d0723{[_0x2fcef1(0xb3)];[_0x2fcef1(0x78)];[_0x2fcef1(0x86)];[_0x2fcef1(0x7a)];[_0x2fcef1(0xc0)];[_0x2fcef1(0x83)]=0x1;[_0x2fcef1(0xba)];[_0x2fcef1(0xd0)];[_0x2fcef1(0x8f)]=!0x0;constructor(_0x311067,_0x32988f){const _0x1712cd=_0x2fcef1;super(_0x311067),this[_0x1712cd(0xba)]=_0x32988f||[...AI_REPLY_ACTIONS],this[_0x1712cd(0xd0)]=[...this[_0x1712cd(0xba)]];const _0x4c212e=this[_0x1712cd(0x94)];this[_0x1712cd(0x93)](_0x1712cd(0x77),!0x0),this[_0x1712cd(0x93)](_0x1712cd(0xb7),!0x0),this[_0x1712cd(0x93)](_0x1712cd(0x76),!0x1),this[_0x1712cd(0x86)]=new _0x1993b3({'label':Pn(_0x1712cd(0xb0),_0x311067,this[_0x1712cd(0x83)]),'icon':_0x5c186d,'withText':!0x0,'type':_0x1712cd(0xcc),'actionName':_0x1712cd(0xb0)}),this[_0x1712cd(0x7a)]=new _0x1993b3({'label':Pn(_0x1712cd(0x8b),_0x311067,this[_0x1712cd(0x83)]),'icon':_0x40c1e6,'withText':!0x0,'type':_0x1712cd(0xcc),'actionName':_0x1712cd(0x8b)}),this[_0x1712cd(0xc0)]=new _0x1993b3({'label':Pn(_0x1712cd(0x98),_0x311067,this[_0x1712cd(0x83)]),'icon':_0x2f76b4,'withText':!0x0,'type':_0x1712cd(0xcc),'actionName':_0x1712cd(0x98)}),this[_0x1712cd(0xb3)]=this[_0x1712cd(0xa4)](_0x311067),this[_0x1712cd(0x78)]=this[_0x1712cd(0x85)](),this[_0x1712cd(0xb3)]&&this[_0x1712cd(0x78)][_0x1712cd(0xc5)](this[_0x1712cd(0xb3)]),this[_0x1712cd(0x79)]({'tag':_0x1712cd(0xc1),'attributes':{'class':['ck',_0x1712cd(0xd5),_0x4c212e['if'](_0x1712cd(0xb7),_0x1712cd(0xa5),_0x246a5d=>!_0x246a5d)]},'children':this[_0x1712cd(0x78)]}),this['on'](_0x1712cd(0xce),()=>{const _0x31b4bc=_0x1712cd;this[_0x31b4bc(0xd0)]=this[_0x31b4bc(0x76)]?this[_0x31b4bc(0xba)][_0x31b4bc(0x80)](_0x2e3a9b=>_0x31b4bc(0xb0)!==_0x2e3a9b):[...this[_0x31b4bc(0xba)]],this[_0x31b4bc(0xc4)](_0x311067);});}[_0x2fcef1(0xc4)](_0x1783b7){const _0x5d8c85=_0x2fcef1;this[_0x5d8c85(0xb3)]&&this[_0x5d8c85(0x78)][_0x5d8c85(0xc9)](this[_0x5d8c85(0xb3)])&&(this[_0x5d8c85(0x78)][_0x5d8c85(0x81)](this[_0x5d8c85(0xb3)]),this[_0x5d8c85(0xb3)][_0x5d8c85(0xc6)]()),this[_0x5d8c85(0xb3)]=this[_0x5d8c85(0xa4)](_0x1783b7),this[_0x5d8c85(0xb3)]&&this[_0x5d8c85(0x78)][_0x5d8c85(0xc5)](this[_0x5d8c85(0xb3)]);}[_0x2fcef1(0xa4)](_0x5b225c){const _0x2c15d4=_0x2fcef1;if(0x0==this[_0x2c15d4(0xd0)][_0x2c15d4(0xb8)])return null;const _0x439c12=0x1===this[_0x2c15d4(0xd0)][_0x2c15d4(0xb8)]?this[_0x2c15d4(0x7e)](_0x5b225c):this[_0x2c15d4(0xb2)](_0x5b225c),_0x22b72d=this[_0x2c15d4(0x8f)]?'':_0x2c15d4(0xbf);_0x439c12[_0x2c15d4(0x93)]({'label':Pn(this[_0x2c15d4(0xd0)][0x0],_0x5b225c,this[_0x2c15d4(0x83)]),'tooltip':Hn(this[_0x2c15d4(0xd0)][0x0],_0x5b225c,this[_0x2c15d4(0x83)]),'withText':!0x0,'class':_0x2c15d4(0xd3)+_0x22b72d});for(const _0x24485e of this[_0x2c15d4(0xd0)])_0x439c12['on'](_0x24485e,()=>{const _0x1e91b0=_0x2c15d4;this[_0x1e91b0(0xd1)](_0x24485e);});return this[_0x2c15d4(0x8f)]=!0x1,_0x439c12;}[_0x2fcef1(0x7e)](_0x3b4127){const _0x3a674a=_0x2fcef1,_0x484c2a=new _0x5da394(_0x3b4127);return _0x484c2a[_0x3a674a(0x93)]({'class':_0x3a674a(0xbd),'withText':!0x0}),_0x484c2a['on'](_0x3a674a(0x89),()=>{const _0x2aadbc=_0x3a674a;_0x484c2a[_0x2aadbc(0xd1)](this[_0x2aadbc(0xd0)][0x0]);}),_0x484c2a;}[_0x2fcef1(0xb2)](_0x310a3a){const _0x172dd6=_0x2fcef1,_0x47d0a3=new Nn(_0x310a3a,{'listItemModels':this[_0x172dd6(0xd0)][_0x172dd6(0x87)](_0x59d76a=>{const _0x376ca9=_0x172dd6;switch(_0x59d76a){case _0x376ca9(0xb0):return this[_0x376ca9(0x86)];case _0x376ca9(0x8b):return this[_0x376ca9(0x7a)];case _0x376ca9(0x98):return this[_0x376ca9(0xc0)];}})});return _0x47d0a3[_0x172dd6(0x93)]({'label':Pn(this[_0x172dd6(0xd0)][0x0],_0x310a3a,this[_0x172dd6(0x83)]),'tooltip':Hn(this[_0x172dd6(0xd0)][0x0],_0x310a3a,this[_0x172dd6(0x83)]),'withText':!0x0,'class':_0x172dd6(0xd5),'balloonPanelClass':_0x172dd6(0x75)}),_0x47d0a3[_0x172dd6(0xc8)](_0x172dd6(0x77))['to'](this),_0x47d0a3;}[_0x2fcef1(0x95)](_0x41265d){const _0x308b02=_0x2fcef1,_0x231c64=this[_0x308b02(0x7f)];this[_0x308b02(0x83)]=_0x41265d||this[_0x308b02(0x83)],this[_0x308b02(0xb3)][_0x308b02(0x93)]({'label':Pn(this[_0x308b02(0xd0)][0x0],_0x231c64,this[_0x308b02(0x83)]),'tooltip':Hn(this[_0x308b02(0xd0)][0x0],_0x231c64,this[_0x308b02(0x83)])}),this[_0x308b02(0x86)][_0x308b02(0xad)]=Pn(_0x308b02(0xb0),_0x231c64,this[_0x308b02(0x83)]),this[_0x308b02(0x7a)][_0x308b02(0xad)]=Pn(_0x308b02(0x8b),_0x231c64,this[_0x308b02(0x83)]),this[_0x308b02(0xc0)][_0x308b02(0xad)]=Pn(_0x308b02(0x98),_0x231c64,this[_0x308b02(0x83)]);}}class Nn extends _0x238f53{[_0x2fcef1(0xc2)];[_0x2fcef1(0x82)];[_0x2fcef1(0xa7)];[_0x2fcef1(0x9c)];constructor(_0x2b3fff,_0x1ad6bc){const _0x35ab5e=_0x2fcef1;super(_0x2b3fff),this[_0x35ab5e(0x82)]=new _0x10502c(this[_0x35ab5e(0x7f)]),this[_0x35ab5e(0xc2)]=new _0x235d08(this[_0x35ab5e(0x7f)]),this[_0x35ab5e(0xc2)][_0x35ab5e(0xa3)](),this[_0x35ab5e(0x93)](_0x35ab5e(0x90),''),this[_0x35ab5e(0x82)][_0x35ab5e(0xc8)](_0x35ab5e(0x88))['to'](this,_0x35ab5e(0x90)),this[_0x35ab5e(0xa7)]=this[_0x35ab5e(0x97)](_0x1ad6bc[_0x35ab5e(0x99)][_0x35ab5e(0x7d)](0x1)),this[_0x35ab5e(0xc2)][_0x35ab5e(0xc5)](this[_0x35ab5e(0x82)]),this[_0x35ab5e(0x82)][_0x35ab5e(0xaf)][_0x35ab5e(0xc5)](this[_0x35ab5e(0xa7)]),this[_0x35ab5e(0xcb)][_0x35ab5e(0x9d)](_0x35ab5e(0x7b)),this[_0x35ab5e(0xcb)][_0x35ab5e(0x93)](_0x35ab5e(0x7b),_0x5ad4d2(this[_0x35ab5e(0x7f)],_0x35ab5e(0xac))),this[_0x35ab5e(0xa2)](),this['on'](_0x35ab5e(0x89),()=>{const _0x28566f=_0x35ab5e,_0x51787c=_0x1ad6bc[_0x28566f(0x99)][0x0][_0x28566f(0xbb)];this[_0x28566f(0xd1)](_0x51787c),this[_0x28566f(0x82)][_0x28566f(0xa1)](),this[_0x28566f(0xcb)][_0x28566f(0x84)]();}),this['on'](_0x35ab5e(0x9f),()=>{const _0x2cd375=_0x35ab5e;this[_0x2cd375(0x82)][_0x2cd375(0xb7)]?(this[_0x2cd375(0x82)][_0x2cd375(0xa1)](),this[_0x2cd375(0xcb)][_0x2cd375(0x84)]()):(this[_0x2cd375(0x82)][_0x2cd375(0xae)]({'target':this[_0x2cd375(0xbc)],'positions':[_0x2cd375(0xb1)===this[_0x2cd375(0x7f)][_0x2cd375(0xab)]?Gn:yn]}),this[_0x2cd375(0xa7)][_0x2cd375(0x84)]());}),_0x2e9253({'emitter':this[_0x35ab5e(0x82)],'callback':()=>{const _0x1fc5bc=_0x35ab5e;this[_0x1fc5bc(0x82)][_0x1fc5bc(0xa1)]();},'activator':()=>this[_0x35ab5e(0x82)][_0x35ab5e(0xb7)],'contextElements':()=>[this[_0x35ab5e(0xbc)],this[_0x35ab5e(0x82)][_0x35ab5e(0xbc)]]});}[_0x2fcef1(0x97)](_0x631a61){const _0x2af874=_0x2fcef1,_0x58e0b9=this[_0x2af874(0x7f)],_0x359286=new _0x4a9eac(_0x58e0b9);for(const _0x31eacc of _0x631a61){const _0x3ecbf1=new _0x3b9677(_0x58e0b9),_0x25fa07=new _0x373e47(_0x58e0b9);_0x25fa07[_0x2af874(0xc8)](...Object[_0x2af874(0xa9)](_0x31eacc))['to'](_0x31eacc),_0x25fa07[_0x2af874(0x9b)](_0x2af874(0x89))['to'](_0x359286),_0x3ecbf1[_0x2af874(0x78)][_0x2af874(0xc5)](_0x25fa07),_0x359286[_0x2af874(0xa6)][_0x2af874(0xc5)](_0x3ecbf1);}return _0x359286[_0x2af874(0xa6)][_0x2af874(0x9b)](_0x2af874(0x89))['to'](this),_0x359286['on'](_0x2af874(0x89),_0xfa8636=>{const _0x2a21bf=_0x2af874,_0x1236e6=_0xfa8636[_0x2a21bf(0x8c)];this[_0x2a21bf(0xd1)](_0x1236e6[_0x2a21bf(0xbb)]),this[_0x2a21bf(0x82)][_0x2a21bf(0xa1)](),this[_0x2a21bf(0xcb)][_0x2a21bf(0x84)]();}),_0x359286;}[_0x2fcef1(0xa2)](){const _0x1f186f=_0x2fcef1;this[_0x1f186f(0x9c)]=new _0x56aeb5(),this[_0x1f186f(0x9c)][_0x1f186f(0xa8)](this[_0x1f186f(0x82)][_0x1f186f(0xbc)]),this[_0x1f186f(0x9c)][_0x1f186f(0x93)](_0x1f186f(0xcd),(_0x159c9b,_0x51ba1f)=>{const _0x1beb93=_0x1f186f;this[_0x1beb93(0x82)][_0x1beb93(0xa1)](),this[_0x1beb93(0xcb)][_0x1beb93(0x84)](),_0x51ba1f();});}[_0x2fcef1(0xc6)](){const _0x4f2d75=_0x2fcef1;super[_0x4f2d75(0xc6)](),this[_0x4f2d75(0x9c)][_0x4f2d75(0xc6)](),this[_0x4f2d75(0x82)][_0x4f2d75(0xc6)](),this[_0x4f2d75(0xc2)][_0x4f2d75(0xb9)]();}}function Gn(_0x3820db){const _0x45c568=_0x2fcef1;return{'top':_0x3820db[_0x45c568(0xa0)],'left':_0x3820db[_0x45c568(0x9e)],'name':_0x45c568(0x8e),'config':{'withArrow':!0x1}};}function yn(_0x271a42,_0x50c318){const _0x57ad35=_0x2fcef1;return{'top':_0x271a42[_0x57ad35(0xa0)],'left':_0x271a42[_0x57ad35(0x9e)]-(_0x50c318[_0x57ad35(0xd2)]-_0x271a42[_0x57ad35(0xd2)]),'name':_0x57ad35(0x8e),'config':{'withArrow':!0x1}};}function _0x3d64(){const _0x37de76=['remove','balloonPanelView','_partsCount','focus','createCollection','applySuggestionModel','map','class','execute','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','showChangeInText','source','3645lpKXqd','arrowless','_firstRender','balloonPanelClass','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','650EzsNOX','set','bindTemplate','updateLabels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','_setUpList','insertSuggestion','listItemModels','2292060URgvkO','delegate','keystrokeHandler','unbind','left','open','bottom','hide','_setUpKeystrokes','attachToDom','_createActionsDropdownOrButton','ck-hidden','items','listView','listenTo','keys','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','uiLanguageDirection','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','label','pin','content','applySuggestion','ltr','_createActionsDropdown','actionsButton','35961706kICNlW','4018722sWdmKH','8317680rQeNED','isVisible','length','detachFromDom','_dropdownOriginalConfig','actionName','element','ck-ai-button-primary','9102XXzMxK','ck-ai-chat__feed__ai-suggestion__actions--no-animation','insertSuggestionModel','div','bodyCollection','7AolJqD','_updateDropdownActions','add','destroy','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','bind','has','5ChRMwR','arrowView','button','esc','change:isTrackChangesOn','21576eWGtBw','_dropdownCurrentConfig','fire','width','ck-ai-chat__feed__ai-suggestion__actions\x20','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','ck-ai-chat__feed__ai-suggestion__actions','ck-ai-chat__feed__ai-suggestion__actions__balloon','isTrackChangesOn','isEnabled','children','setTemplate','showChangeInTextModel','tooltip','813594FFpiCO','slice','_createActionsButton','locale','filter'];_0x3d64=function(){return _0x37de76;};return _0x3d64();}function Pn(_0xc17ff2,_0xdd58d7,_0x94a841){const _0x68b568=_0x2fcef1;switch(_0xc17ff2){case _0x68b568(0xb0):return _0x5ad4d2(_0xdd58d7,_0x68b568(0x91),_0x94a841);case _0x68b568(0x8b):return _0x5ad4d2(_0xdd58d7,_0x68b568(0xd4),_0x94a841);case _0x68b568(0x98):return _0x5ad4d2(_0xdd58d7,_0x68b568(0xaa),_0x94a841);}}function Hn(_0x55c97d,_0x2c8309,_0x3f1ad0){const _0x14d43f=_0x2fcef1;switch(_0x55c97d){case _0x14d43f(0xb0):return _0x5ad4d2(_0x2c8309,_0x14d43f(0x8a),_0x3f1ad0);case _0x14d43f(0x8b):return _0x5ad4d2(_0x2c8309,_0x14d43f(0xc7),_0x3f1ad0);case _0x14d43f(0x98):return _0x5ad4d2(_0x2c8309,_0x14d43f(0x96),_0x3f1ad0);}}
|
|
23
|
+
const _0x6f3060=_0xe98c;(function(_0x33e3dd,_0x3c5823){const _0x445054=_0xe98c,_0x57ac5c=_0x33e3dd();while(!![]){try{const _0x7c585d=-parseInt(_0x445054(0x159))/0x1+-parseInt(_0x445054(0x11b))/0x2+parseInt(_0x445054(0x155))/0x3+parseInt(_0x445054(0x131))/0x4*(-parseInt(_0x445054(0x13f))/0x5)+parseInt(_0x445054(0x156))/0x6+parseInt(_0x445054(0x16a))/0x7+-parseInt(_0x445054(0x174))/0x8*(-parseInt(_0x445054(0x14e))/0x9);if(_0x7c585d===_0x3c5823)break;else _0x57ac5c['push'](_0x57ac5c['shift']());}catch(_0x418d35){_0x57ac5c['push'](_0x57ac5c['shift']());}}}(_0x2add,0x7a00c));import{KeystrokeHandler as _0x14eb9c}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x224c25,BodyCollection as _0x1d93bb,ButtonView as _0x28b589,clickOutsideHandler as _0x59c890,ListItemButtonView as _0x1f62cc,ListItemView as _0x576e98,ListView as _0x57096a,SplitButtonView as _0x3eaecc,UIModel as _0x522489,View as _0x3e50ed}from'ckeditor5/src/ui.js';import{IconCheck as _0x4c91f3,IconAddComment as _0x9f56c8,IconDocumentWithLoupe as _0x4271e0}from'ckeditor5/src/icons.js';import{getTranslation as _0x11ab61}from'../../../aicore/utils/common-translations.js';function _0x2add(){const _0x437405=['_setUpList','listItemModels','ck-ai-chat__feed__ai-suggestion__actions\x20','destroy','ck-ai-chat__feed__ai-suggestion__actions--no-animation','140418vDGGjG','ck-ai-chat__feed__ai-suggestion__actions__balloon','ck-ai-chat__feed__ai-suggestion__actions','isVisible','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','keys','balloonPanelClass','actionsButton','arrowless','open','esc','isEnabled','ck-ai-button-primary','insertSuggestionModel','_dropdownOriginalConfig','unbind','applySuggestion','filter','bottom','class','showChangeInText','4frGoKg','insertSuggestion','pin','map','label','_createActionsDropdown','set','listView','ltr','_createActionsButton','content','element','isTrackChangesOn','setTemplate','1485635SMYlGr','fire','delegate','updateLabels','button','locale','_setUpKeystrokes','focus','ck-hidden','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','uiLanguageDirection','keystrokeHandler','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','actionName','bodyCollection','252xFizRJ','listenTo','slice','hide','left','_createActionsDropdownOrButton','showChangeInTextModel','191769MyAUOL','656934ZbFzmU','_partsCount','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','671709osqRKU','createCollection','length','_dropdownCurrentConfig','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','children','items','_updateDropdownActions','has','div','attachToDom','_firstRender','add','execute','tooltip','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','applySuggestionModel','1587747DaOvcO','source','balloonPanelView','arrowView','bindTemplate','bind','width','remove','change:isTrackChangesOn','detachFromDom','325296WXMwyY'];_0x2add=function(){return _0x437405;};return _0x2add();}export const AI_REPLY_ACTIONS=[_0x6f3060(0x12c),_0x6f3060(0x132),_0x6f3060(0x130)];function _0xe98c(_0x40f44e,_0x1b08f4){const _0x2add6a=_0x2add();return _0xe98c=function(_0xe98c64,_0x497e4a){_0xe98c64=_0xe98c64-0x116;let _0x4e1b67=_0x2add6a[_0xe98c64];return _0x4e1b67;},_0xe98c(_0x40f44e,_0x1b08f4);}export class AIChatFeedSuggestionItemActionsView extends _0x3e50ed{[_0x6f3060(0x123)];[_0x6f3060(0x15e)];[_0x6f3060(0x169)];[_0x6f3060(0x154)];[_0x6f3060(0x129)];[_0x6f3060(0x157)]=0x1;[_0x6f3060(0x12a)];[_0x6f3060(0x15c)];[_0x6f3060(0x164)]=!0x0;constructor(_0x3c5d91,_0x3c5a1a){const _0xe4a02e=_0x6f3060;super(_0x3c5d91),this[_0xe4a02e(0x12a)]=_0x3c5a1a||[...AI_REPLY_ACTIONS],this[_0xe4a02e(0x15c)]=[...this[_0xe4a02e(0x12a)]];const _0x6a5e07=this[_0xe4a02e(0x16e)];this[_0xe4a02e(0x137)](_0xe4a02e(0x127),!0x0),this[_0xe4a02e(0x137)](_0xe4a02e(0x11e),!0x0),this[_0xe4a02e(0x137)](_0xe4a02e(0x13d),!0x1),this[_0xe4a02e(0x169)]=new _0x522489({'label':Ln(_0xe4a02e(0x12c),_0x3c5d91,this[_0xe4a02e(0x157)]),'icon':_0x4c91f3,'withText':!0x0,'type':_0xe4a02e(0x143),'actionName':_0xe4a02e(0x12c)}),this[_0xe4a02e(0x154)]=new _0x522489({'label':Ln(_0xe4a02e(0x130),_0x3c5d91,this[_0xe4a02e(0x157)]),'icon':_0x4271e0,'withText':!0x0,'type':_0xe4a02e(0x143),'actionName':_0xe4a02e(0x130)}),this[_0xe4a02e(0x129)]=new _0x522489({'label':Ln(_0xe4a02e(0x132),_0x3c5d91,this[_0xe4a02e(0x157)]),'icon':_0x9f56c8,'withText':!0x0,'type':_0xe4a02e(0x143),'actionName':_0xe4a02e(0x132)}),this[_0xe4a02e(0x123)]=this[_0xe4a02e(0x153)](_0x3c5d91),this[_0xe4a02e(0x15e)]=this[_0xe4a02e(0x15a)](),this[_0xe4a02e(0x123)]&&this[_0xe4a02e(0x15e)][_0xe4a02e(0x165)](this[_0xe4a02e(0x123)]),this[_0xe4a02e(0x13e)]({'tag':_0xe4a02e(0x162),'attributes':{'class':['ck',_0xe4a02e(0x11d),_0x6a5e07['if'](_0xe4a02e(0x11e),_0xe4a02e(0x147),_0x2c8059=>!_0x2c8059)]},'children':this[_0xe4a02e(0x15e)]}),this['on'](_0xe4a02e(0x172),()=>{const _0x430041=_0xe4a02e;this[_0x430041(0x15c)]=this[_0x430041(0x13d)]?this[_0x430041(0x12a)][_0x430041(0x12d)](_0x287be0=>_0x430041(0x12c)!==_0x287be0):[...this[_0x430041(0x12a)]],this[_0x430041(0x160)](_0x3c5d91);});}[_0x6f3060(0x160)](_0x24b5a0){const _0x29a027=_0x6f3060;this[_0x29a027(0x123)]&&this[_0x29a027(0x15e)][_0x29a027(0x161)](this[_0x29a027(0x123)])&&(this[_0x29a027(0x15e)][_0x29a027(0x171)](this[_0x29a027(0x123)]),this[_0x29a027(0x123)][_0x29a027(0x119)]()),this[_0x29a027(0x123)]=this[_0x29a027(0x153)](_0x24b5a0),this[_0x29a027(0x123)]&&this[_0x29a027(0x15e)][_0x29a027(0x165)](this[_0x29a027(0x123)]);}[_0x6f3060(0x153)](_0x33b78c){const _0x43b150=_0x6f3060;if(0x0==this[_0x43b150(0x15c)][_0x43b150(0x15b)])return null;const _0xafa5af=0x1===this[_0x43b150(0x15c)][_0x43b150(0x15b)]?this[_0x43b150(0x13a)](_0x33b78c):this[_0x43b150(0x136)](_0x33b78c),_0x33b5d5=this[_0x43b150(0x164)]?'':_0x43b150(0x11a);_0xafa5af[_0x43b150(0x137)]({'label':Ln(this[_0x43b150(0x15c)][0x0],_0x33b78c,this[_0x43b150(0x157)]),'tooltip':Un(this[_0x43b150(0x15c)][0x0],_0x33b78c,this[_0x43b150(0x157)]),'withText':!0x0,'class':_0x43b150(0x118)+_0x33b5d5});for(const _0x37fd6f of this[_0x43b150(0x15c)])_0xafa5af['on'](_0x37fd6f,()=>{const _0x5bb19d=_0x43b150;this[_0x5bb19d(0x140)](_0x37fd6f);});return this[_0x43b150(0x164)]=!0x1,_0xafa5af;}[_0x6f3060(0x13a)](_0x5456bb){const _0x59be82=_0x6f3060,_0x156a04=new _0x28b589(_0x5456bb);return _0x156a04[_0x59be82(0x137)]({'class':_0x59be82(0x128),'withText':!0x0}),_0x156a04['on'](_0x59be82(0x166),()=>{const _0x261c9b=_0x59be82;_0x156a04[_0x261c9b(0x140)](this[_0x261c9b(0x15c)][0x0]);}),_0x156a04;}[_0x6f3060(0x136)](_0x4c2c7e){const _0x4c0c3e=_0x6f3060,_0x1f4a3d=new yn(_0x4c2c7e,{'listItemModels':this[_0x4c0c3e(0x15c)][_0x4c0c3e(0x134)](_0x42f51e=>{const _0x13d550=_0x4c0c3e;switch(_0x42f51e){case _0x13d550(0x12c):return this[_0x13d550(0x169)];case _0x13d550(0x130):return this[_0x13d550(0x154)];case _0x13d550(0x132):return this[_0x13d550(0x129)];}})});return _0x1f4a3d[_0x4c0c3e(0x137)]({'label':Ln(this[_0x4c0c3e(0x15c)][0x0],_0x4c2c7e,this[_0x4c0c3e(0x157)]),'tooltip':Un(this[_0x4c0c3e(0x15c)][0x0],_0x4c2c7e,this[_0x4c0c3e(0x157)]),'withText':!0x0,'class':_0x4c0c3e(0x11d),'balloonPanelClass':_0x4c0c3e(0x11c)}),_0x1f4a3d[_0x4c0c3e(0x16f)](_0x4c0c3e(0x127))['to'](this),_0x1f4a3d;}[_0x6f3060(0x142)](_0x32b3bb){const _0x167864=_0x6f3060,_0x2bf87a=this[_0x167864(0x144)];this[_0x167864(0x157)]=_0x32b3bb||this[_0x167864(0x157)],this[_0x167864(0x123)][_0x167864(0x137)]({'label':Ln(this[_0x167864(0x15c)][0x0],_0x2bf87a,this[_0x167864(0x157)]),'tooltip':Un(this[_0x167864(0x15c)][0x0],_0x2bf87a,this[_0x167864(0x157)])}),this[_0x167864(0x169)][_0x167864(0x135)]=Ln(_0x167864(0x12c),_0x2bf87a,this[_0x167864(0x157)]),this[_0x167864(0x154)][_0x167864(0x135)]=Ln(_0x167864(0x130),_0x2bf87a,this[_0x167864(0x157)]),this[_0x167864(0x129)][_0x167864(0x135)]=Ln(_0x167864(0x132),_0x2bf87a,this[_0x167864(0x157)]);}}class yn extends _0x3eaecc{[_0x6f3060(0x14d)];[_0x6f3060(0x16c)];[_0x6f3060(0x138)];[_0x6f3060(0x14a)];constructor(_0x59680e,_0x5a6361){const _0x131ee8=_0x6f3060;super(_0x59680e),this[_0x131ee8(0x16c)]=new _0x224c25(this[_0x131ee8(0x144)]),this[_0x131ee8(0x14d)]=new _0x1d93bb(this[_0x131ee8(0x144)]),this[_0x131ee8(0x14d)][_0x131ee8(0x163)](),this[_0x131ee8(0x137)](_0x131ee8(0x122),''),this[_0x131ee8(0x16c)][_0x131ee8(0x16f)](_0x131ee8(0x12f))['to'](this,_0x131ee8(0x122)),this[_0x131ee8(0x138)]=this[_0x131ee8(0x116)](_0x5a6361[_0x131ee8(0x117)][_0x131ee8(0x150)](0x1)),this[_0x131ee8(0x14d)][_0x131ee8(0x165)](this[_0x131ee8(0x16c)]),this[_0x131ee8(0x16c)][_0x131ee8(0x13b)][_0x131ee8(0x165)](this[_0x131ee8(0x138)]),this[_0x131ee8(0x16d)][_0x131ee8(0x12b)](_0x131ee8(0x167)),this[_0x131ee8(0x16d)][_0x131ee8(0x137)](_0x131ee8(0x167),_0x11ab61(this[_0x131ee8(0x144)],_0x131ee8(0x15d))),this[_0x131ee8(0x145)](),this['on'](_0x131ee8(0x166),()=>{const _0x4cfba4=_0x131ee8,_0x1a5cf0=_0x5a6361[_0x4cfba4(0x117)][0x0][_0x4cfba4(0x14c)];this[_0x4cfba4(0x140)](_0x1a5cf0),this[_0x4cfba4(0x16c)][_0x4cfba4(0x151)](),this[_0x4cfba4(0x16d)][_0x4cfba4(0x146)]();}),this['on'](_0x131ee8(0x125),()=>{const _0x55d225=_0x131ee8;this[_0x55d225(0x16c)][_0x55d225(0x11e)]?(this[_0x55d225(0x16c)][_0x55d225(0x151)](),this[_0x55d225(0x16d)][_0x55d225(0x146)]()):(this[_0x55d225(0x16c)][_0x55d225(0x133)]({'target':this[_0x55d225(0x13c)],'positions':[_0x55d225(0x139)===this[_0x55d225(0x144)][_0x55d225(0x149)]?Pn:Hn]}),this[_0x55d225(0x138)][_0x55d225(0x146)]());}),_0x59c890({'emitter':this[_0x131ee8(0x16c)],'callback':()=>{const _0x482783=_0x131ee8;this[_0x482783(0x16c)][_0x482783(0x151)]();},'activator':()=>this[_0x131ee8(0x16c)][_0x131ee8(0x11e)],'contextElements':()=>[this[_0x131ee8(0x13c)],this[_0x131ee8(0x16c)][_0x131ee8(0x13c)]]});}[_0x6f3060(0x116)](_0x14e329){const _0x51d90c=_0x6f3060,_0x525b12=this[_0x51d90c(0x144)],_0x46d291=new _0x57096a(_0x525b12);for(const _0x1cec2f of _0x14e329){const _0x739ce0=new _0x576e98(_0x525b12),_0x431b03=new _0x1f62cc(_0x525b12);_0x431b03[_0x51d90c(0x16f)](...Object[_0x51d90c(0x121)](_0x1cec2f))['to'](_0x1cec2f),_0x431b03[_0x51d90c(0x141)](_0x51d90c(0x166))['to'](_0x46d291),_0x739ce0[_0x51d90c(0x15e)][_0x51d90c(0x165)](_0x431b03),_0x46d291[_0x51d90c(0x15f)][_0x51d90c(0x165)](_0x739ce0);}return _0x46d291[_0x51d90c(0x15f)][_0x51d90c(0x141)](_0x51d90c(0x166))['to'](this),_0x46d291['on'](_0x51d90c(0x166),_0x30707e=>{const _0x1cdbdb=_0x51d90c,_0xeca95c=_0x30707e[_0x1cdbdb(0x16b)];this[_0x1cdbdb(0x140)](_0xeca95c[_0x1cdbdb(0x14c)]),this[_0x1cdbdb(0x16c)][_0x1cdbdb(0x151)](),this[_0x1cdbdb(0x16d)][_0x1cdbdb(0x146)]();}),_0x46d291;}[_0x6f3060(0x145)](){const _0x58712e=_0x6f3060;this[_0x58712e(0x14a)]=new _0x14eb9c(),this[_0x58712e(0x14a)][_0x58712e(0x14f)](this[_0x58712e(0x16c)][_0x58712e(0x13c)]),this[_0x58712e(0x14a)][_0x58712e(0x137)](_0x58712e(0x126),(_0x419738,_0x3f9aee)=>{const _0x29b611=_0x58712e;this[_0x29b611(0x16c)][_0x29b611(0x151)](),this[_0x29b611(0x16d)][_0x29b611(0x146)](),_0x3f9aee();});}[_0x6f3060(0x119)](){const _0x31dc29=_0x6f3060;super[_0x31dc29(0x119)](),this[_0x31dc29(0x14a)][_0x31dc29(0x119)](),this[_0x31dc29(0x16c)][_0x31dc29(0x119)](),this[_0x31dc29(0x14d)][_0x31dc29(0x173)]();}}function Pn(_0x29bd9f){const _0x58a9df=_0x6f3060;return{'top':_0x29bd9f[_0x58a9df(0x12e)],'left':_0x29bd9f[_0x58a9df(0x152)],'name':_0x58a9df(0x124),'config':{'withArrow':!0x1}};}function Hn(_0x1e83fe,_0x461d5){const _0x615059=_0x6f3060;return{'top':_0x1e83fe[_0x615059(0x12e)],'left':_0x1e83fe[_0x615059(0x152)]-(_0x461d5[_0x615059(0x170)]-_0x1e83fe[_0x615059(0x170)]),'name':_0x615059(0x124),'config':{'withArrow':!0x1}};}function Ln(_0x2607e7,_0x4816c3,_0x3092cf){const _0x3fafd3=_0x6f3060;switch(_0x2607e7){case _0x3fafd3(0x12c):return _0x11ab61(_0x4816c3,_0x3fafd3(0x158),_0x3092cf);case _0x3fafd3(0x130):return _0x11ab61(_0x4816c3,_0x3fafd3(0x120),_0x3092cf);case _0x3fafd3(0x132):return _0x11ab61(_0x4816c3,_0x3fafd3(0x11f),_0x3092cf);}}function Un(_0x27420f,_0x43b6b1,_0x5a502f){const _0x2847d4=_0x6f3060;switch(_0x27420f){case _0x2847d4(0x12c):return _0x11ab61(_0x43b6b1,_0x2847d4(0x14b),_0x5a502f);case _0x2847d4(0x130):return _0x11ab61(_0x43b6b1,_0x2847d4(0x148),_0x5a502f);case _0x2847d4(0x132):return _0x11ab61(_0x43b6b1,_0x2847d4(0x168),_0x5a502f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x387a24=_0xd041;function _0xd041(_0xfc41a7,_0xac4ed7){var _0x3a6616=_0x3a66();return _0xd041=function(_0xd041bc,_0x1f8471){_0xd041bc=_0xd041bc-0x13b;var _0x501e1c=_0x3a6616[_0xd041bc];return _0x501e1c;},_0xd041(_0xfc41a7,_0xac4ed7);}(function(_0x5e2bed,_0x5eff6d){var _0x53a114=_0xd041,_0xbd8d05=_0x5e2bed();while(!![]){try{var _0x5e3361=parseInt(_0x53a114(0x147))/0x1*(-parseInt(_0x53a114(0x159))/0x2)+parseInt(_0x53a114(0x144))/0x3*(-parseInt(_0x53a114(0x146))/0x4)+-parseInt(_0x53a114(0x143))/0x5*(-parseInt(_0x53a114(0x14e))/0x6)+parseInt(_0x53a114(0x158))/0x7+-parseInt(_0x53a114(0x145))/0x8+parseInt(_0x53a114(0x162))/0x9+-parseInt(_0x53a114(0x15d))/0xa*(-parseInt(_0x53a114(0x14d))/0xb);if(_0x5e3361===_0x5eff6d)break;else _0xbd8d05['push'](_0xbd8d05['shift']());}catch(_0x4c4b0c){_0xbd8d05['push'](_0xbd8d05['shift']());}}}(_0x3a66,0xf3b01));import{AIChatFeedItemView as _0x52c5e9}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x56b08a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x3a66(){var _0x7e6a6d=['945812BxdZUX','28CxWQaY','bind','showDiff','isEnabled','27751120tWcUIs','insertSuggestion','dislike','updatePartState','bodyView','5408649tnOjKE','like','options','updateSources','mouseLeaveSuggestion','hasNonEmptyParts','updateLabels','containerView','rejectSuggestion','toggleSuggestionDisplayMode','areActionsDisabled','partsCount','isVisible','updateContent','fire','8130815eRSQYn','1201224ciBgir','15269736ifbSSj','12CcNMOK','73519zmsKHW','hasPendingParts','showChangeInText','isTrackChangesOn','applySuggestion','children','11ykeXWP','6cBSJjk','set','actionsView','extendTemplate','markAsDone','getPartView','mouseOverSuggestion','ck-ai-chat__feed__ai-suggestion','availableActions','addMany'];_0x3a66=function(){return _0x7e6a6d;};return _0x3a66();}import{AIChatFeedSuggestionItemActionsView as _0x2ae2e9}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x52c5e9{[_0x387a24(0x13b)];[_0x387a24(0x150)];constructor(_0x2cf398,_0xf198,_0x2b84aa){var _0x4ae8a5=_0x387a24;super(_0xf198),this[_0x4ae8a5(0x14f)](_0x4ae8a5(0x14a),!0x1),this[_0x4ae8a5(0x13b)]=new _0x56b08a(_0x2cf398,{'showDiff':_0xf198[_0x4ae8a5(0x15b)],'areActionsDisabled':_0xf198[_0x4ae8a5(0x13e)],'availableActions':_0xf198[_0x4ae8a5(0x156)]},_0x2b84aa),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x13d),(_0x1ca974,_0x268c01)=>{var _0x1be12c=_0x4ae8a5;this[_0x1be12c(0x142)](_0x1be12c(0x13d),{'replyId':this[_0x1be12c(0x164)]['id'],'showDiff':_0x268c01[_0x1be12c(0x15b)]});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x163),()=>{var _0x4f3b0b=_0x4ae8a5;this[_0x4f3b0b(0x142)](_0x4f3b0b(0x163),{'replyId':this[_0x4f3b0b(0x164)]['id']});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x15f),()=>{var _0x4cdb4d=_0x4ae8a5;this[_0x4cdb4d(0x142)](_0x4cdb4d(0x15f),{'replyId':this[_0x4cdb4d(0x164)]['id']});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x149),(_0x27f9f9,{index:_0xb04021})=>{var _0x49b513=_0x4ae8a5;this[_0x49b513(0x142)](_0x49b513(0x149),{'replyId':this[_0x49b513(0x164)]['id'],'partIndex':_0xb04021});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x15e),(_0x1d391d,{index:_0x39ad23})=>{var _0x121ac9=_0x4ae8a5;this[_0x121ac9(0x142)](_0x121ac9(0x15e),{'replyId':this[_0x121ac9(0x164)]['id'],'partIndex':_0x39ad23});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x13c),(_0x5f53ec,{index:_0xd6eea6})=>{var _0x603c28=_0x4ae8a5;this[_0x603c28(0x142)](_0x603c28(0x13c),{'replyId':this[_0x603c28(0x164)]['id'],'partIndex':_0xd6eea6});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x154),(_0x8dff10,{index:_0x464f3d})=>{var _0x377186=_0x4ae8a5;this[_0x377186(0x142)](_0x377186(0x154),{'replyId':this[_0x377186(0x164)]['id'],'partIndex':_0x464f3d});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x166),(_0x4c3dd5,{index:_0x1a096f})=>{var _0x413629=_0x4ae8a5;this[_0x413629(0x142)](_0x413629(0x166),{'replyId':this[_0x413629(0x164)]['id'],'partIndex':_0x1a096f});}),this[_0x4ae8a5(0x150)]=new _0x2ae2e9(_0x2cf398,this[_0x4ae8a5(0x164)][_0x4ae8a5(0x156)]),this[_0x4ae8a5(0x150)][_0x4ae8a5(0x15a)](_0x4ae8a5(0x14a))['to'](this,_0x4ae8a5(0x14a)),this[_0x4ae8a5(0x150)]['on'](_0x4ae8a5(0x149),()=>{var _0x2240ca=_0x4ae8a5;this[_0x2240ca(0x142)](_0x2240ca(0x149),{'replyId':this[_0x2240ca(0x164)]['id']});}),this[_0x4ae8a5(0x150)]['on'](_0x4ae8a5(0x15e),()=>{var _0x731797=_0x4ae8a5;this[_0x731797(0x142)](_0x731797(0x15e),{'replyId':this[_0x731797(0x164)]['id']});}),this[_0x4ae8a5(0x150)]['on'](_0x4ae8a5(0x14b),()=>{var _0x5ba302=_0x4ae8a5;this[_0x5ba302(0x142)](_0x5ba302(0x14b),{'replyId':this[_0x5ba302(0x164)]['id']});}),_0xf198[_0x4ae8a5(0x13e)]?this[_0x4ae8a5(0x150)][_0x4ae8a5(0x15c)]=!0x1:this[_0x4ae8a5(0x150)][_0x4ae8a5(0x15a)](_0x4ae8a5(0x15c))['to'](this[_0x4ae8a5(0x13b)][_0x4ae8a5(0x161)],_0x4ae8a5(0x148)),this[_0x4ae8a5(0x14c)][_0x4ae8a5(0x157)]([this[_0x4ae8a5(0x13b)],this[_0x4ae8a5(0x150)]]),this[_0x4ae8a5(0x151)]({'attributes':{'class':[_0x4ae8a5(0x155)]}});}async[_0x387a24(0x141)](_0x3d0602){var _0x171cf2=_0x387a24;await this[_0x171cf2(0x13b)][_0x171cf2(0x141)](_0x3d0602),this[_0x171cf2(0x150)][_0x171cf2(0x168)](this[_0x171cf2(0x13b)][_0x171cf2(0x161)][_0x171cf2(0x13f)]);}[_0x387a24(0x160)](_0x1954c5,_0x721c62){var _0x58509a=_0x387a24;this[_0x58509a(0x13b)][_0x58509a(0x161)][_0x58509a(0x160)](_0x1954c5,_0x721c62);}[_0x387a24(0x165)](_0x45b044){var _0x43ab27=_0x387a24;this[_0x43ab27(0x13b)][_0x43ab27(0x165)](_0x45b044);}[_0x387a24(0x153)](_0x466783){var _0x1dc7b5=_0x387a24;return this[_0x1dc7b5(0x13b)][_0x1dc7b5(0x161)][_0x1dc7b5(0x153)](_0x466783);}[_0x387a24(0x152)](){var _0xe78ed=_0x387a24;super[_0xe78ed(0x152)](),this[_0xe78ed(0x13b)][_0xe78ed(0x152)](),this[_0xe78ed(0x150)][_0xe78ed(0x140)]=this[_0xe78ed(0x13b)][_0xe78ed(0x161)][_0xe78ed(0x167)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x280cf7=_0x3e97;(function(_0x482902,_0x14d570){var _0x452ab=_0x3e97,_0x3edbba=_0x482902();while(!![]){try{var _0x4b7d63=-parseInt(_0x452ab(0x1f8))/0x1+-parseInt(_0x452ab(0x1f1))/0x2+parseInt(_0x452ab(0x1df))/0x3*(-parseInt(_0x452ab(0x1f0))/0x4)+-parseInt(_0x452ab(0x1ff))/0x5*(-parseInt(_0x452ab(0x1fc))/0x6)+parseInt(_0x452ab(0x1e7))/0x7*(parseInt(_0x452ab(0x1ef))/0x8)+parseInt(_0x452ab(0x1f6))/0x9*(parseInt(_0x452ab(0x1f7))/0xa)+-parseInt(_0x452ab(0x1e0))/0xb*(-parseInt(_0x452ab(0x1e5))/0xc);if(_0x4b7d63===_0x14d570)break;else _0x3edbba['push'](_0x3edbba['shift']());}catch(_0x505018){_0x3edbba['push'](_0x3edbba['shift']());}}}(_0x250b,0x66113));function _0x3e97(_0x274bf0,_0x1d3e30){var _0x250ba6=_0x250b();return _0x3e97=function(_0x3e9759,_0x3c3c38){_0x3e9759=_0x3e9759-0x1dd;var _0x2b5edf=_0x250ba6[_0x3e9759];return _0x2b5edf;},_0x3e97(_0x274bf0,_0x1d3e30);}import{AIChatFeedItemView as _0x24e5ea}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x5c52c9}from'./aichatfeedcontextchipsview.js';import{View as _0x14710b}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x24e5ea{[_0x280cf7(0x1fb)]=null;[_0x280cf7(0x1ed)];[_0x280cf7(0x1e9)];[_0x280cf7(0x1fe)];constructor(_0x5cf929,_0x530a81,_0x5cf583){var _0x36c9b8=_0x280cf7;super(_0x530a81),this[_0x36c9b8(0x1ed)]=_0x5cf929,this[_0x36c9b8(0x1e9)]=_0x5cf583,this[_0x36c9b8(0x1f4)](),this[_0x36c9b8(0x1ea)](),this[_0x36c9b8(0x1ec)]({'attributes':{'class':[_0x36c9b8(0x1e3)]}});}[_0x280cf7(0x1f4)](){var _0x22d474=_0x280cf7;this[_0x22d474(0x1f2)][_0x22d474(0x1fd)]&&this[_0x22d474(0x1f2)][_0x22d474(0x1fd)][_0x22d474(0x1e4)]>0x0&&(this[_0x22d474(0x1fb)]=new _0x5c52c9(this[_0x22d474(0x1ed)],this[_0x22d474(0x1f2)][_0x22d474(0x1fd)][_0x22d474(0x1f9)](_0x1d255b=>!_0x1d255b[_0x22d474(0x1e2)]),this[_0x22d474(0x1e9)]),this[_0x22d474(0x1fb)][_0x22d474(0x1ec)]({'attributes':{'class':_0x22d474(0x1eb)}}),this[_0x22d474(0x1e1)][_0x22d474(0x200)](this[_0x22d474(0x1fb)]));}[_0x280cf7(0x1ea)](){var _0x2c4d22=_0x280cf7;this[_0x2c4d22(0x1fe)]=new _0x14710b(this[_0x2c4d22(0x1ed)]),this[_0x2c4d22(0x1fe)][_0x2c4d22(0x1dd)]({'tag':_0x2c4d22(0x1e8),'attributes':{'class':_0x2c4d22(0x1fa)}}),this[_0x2c4d22(0x1e1)][_0x2c4d22(0x200)](this[_0x2c4d22(0x1fe)]);}[_0x280cf7(0x1e6)](){var _0x1c85ce=_0x280cf7;super[_0x1c85ce(0x1e6)](),this[_0x1c85ce(0x1fe)][_0x1c85ce(0x1ee)][_0x1c85ce(0x1f5)]=this[_0x1c85ce(0x1f2)][_0x1c85ce(0x1f3)],this[_0x1c85ce(0x1de)]();}}function _0x250b(){var _0x5f1570=['885348DPZewX','contextItems','_messageContentView','5hDppAz','add','setTemplate','markAsDone','3cEGJOT','37653BEjQfx','children','hidden','ck-ai-chat__feed__user-message','length','1476zmUnER','render','7nTuuJD','div','_bodyCollection','_createMessageContentView','ck-ai-chat__feed__context-chips','extendTemplate','_locale','element','182008BfnMUS','723516dpcEuN','221456JfvBqW','options','initialContent','_createContextChipsView','innerHTML','297tENSDo','111710QgeqZg','250307ygfaHN','filter','ck-ai-chat__feed__message-content','_contextChipsView'];_0x250b=function(){return _0x5f1570;};return _0x250b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x29ccae=_0x3323;(function(_0x25413e,_0x131072){var _0x262de8=_0x3323,_0x579ead=_0x25413e();while(!![]){try{var _0x56c7b2=-parseInt(_0x262de8(0x158))/0x1*(-parseInt(_0x262de8(0x159))/0x2)+parseInt(_0x262de8(0x153))/0x3*(parseInt(_0x262de8(0x151))/0x4)+-parseInt(_0x262de8(0x156))/0x5+-parseInt(_0x262de8(0x14f))/0x6+parseInt(_0x262de8(0x150))/0x7+-parseInt(_0x262de8(0x14c))/0x8+parseInt(_0x262de8(0x157))/0x9;if(_0x56c7b2===_0x131072)break;else _0x579ead['push'](_0x579ead['shift']());}catch(_0x2dc5a8){_0x579ead['push'](_0x579ead['shift']());}}}(_0x86a1,0x43fc2));import{ContextPlugin as _0xd20aeb}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x153f41}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x420e42}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0x3323(_0x54680e,_0x29e055){var _0x86a13f=_0x86a1();return _0x3323=function(_0x3323e3,_0x248cdc){_0x3323e3=_0x3323e3-0x14c;var _0xbc7c02=_0x86a13f[_0x3323e3];return _0xbc7c02;},_0x3323(_0x54680e,_0x29e055);}export class AIChatHistory extends _0xd20aeb{static get[_0x29ccae(0x154)](){return[_0x153f41,_0x420e42];}static get[_0x29ccae(0x14e)](){var _0x352200=_0x29ccae;return _0x352200(0x14d);}static get[_0x29ccae(0x155)](){return!0x0;}static get[_0x29ccae(0x152)](){return!0x0;}}function _0x86a1(){var _0x14d1c7=['4jyouMl','isPremiumPlugin','956517DfeHPZ','requires','isOfficialPlugin','1703835OUufYS','6092235pdbGmK','429OonzTc','716vXxvfO','2666824rdwcQr','AIChatHistory','pluginName','1619244Jcwkze','511868DHekoU'];_0x86a1=function(){return _0x14d1c7;};return _0x86a1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1b4b58=_0x1a81;(function(_0x768b8e,_0x1e0f84){const _0x30886c=_0x1a81,_0x385701=_0x768b8e();while(!![]){try{const _0x1ba07b=parseInt(_0x30886c(0xf3))/0x1*(parseInt(_0x30886c(0xed))/0x2)+-parseInt(_0x30886c(0x93))/0x3*(-parseInt(_0x30886c(0xb7))/0x4)+-parseInt(_0x30886c(0xa0))/0x5+-parseInt(_0x30886c(0xa3))/0x6+parseInt(_0x30886c(0xbf))/0x7*(parseInt(_0x30886c(0xa6))/0x8)+parseInt(_0x30886c(0xc7))/0x9*(-parseInt(_0x30886c(0xe2))/0xa)+parseInt(_0x30886c(0xc4))/0xb*(parseInt(_0x30886c(0xd3))/0xc);if(_0x1ba07b===_0x1e0f84)break;else _0x385701['push'](_0x385701['shift']());}catch(_0x5795d7){_0x385701['push'](_0x385701['shift']());}}}(_0x52bc,0x2ce10));import{ContextPlugin as _0x24312d}from'ckeditor5/src/core.js';function _0x52bc(){const _0x59f9ce=['_aiConnector','_setIsMaximized','116832TeolmM','get','createdAt','24ZoYogv','updateItemPinned','selectConversation','change:activeConversation','setIsMaximized','AI_CHAT_HISTORY_CATEGORY_TODAY','updateItemTitle','operation','toLocaleDateString','_handleRemove','_handleHistoryErrorUI','pin','map','loadItems','resizeTabs','resizedTabs','_getCategorizedItems','36vOZKmM','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','_setItemLoading','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','locale','getMonth','_generateErrorMessage','407050WOzTtV','error','getGroupId','listenTo','activateTab:history','1595iYOlkq','context','init','9STMxPh','AI_CHAT_HISTORY_PIN_ACTION','isPremiumPlugin','_clearItemLoading','loadConversation','requires','AI_CHAT_HISTORY_ERROR_GENERIC','setLoadingSkeleton','remove','getItems','openChat','getItem','11700VWinyo','_aiChatHistoryUi','pinned','_handleEditTitle','activateTab','removeItem','showError','setDate','removeConversation','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','getFullYear','chat','plugins','itemUpdated','1162690tRgIuM','pluginName','updateItems','_aiChatController','isOfficialPlugin','editConversationTitle','itemRemoved','AIChatHistoryController','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_CATEGORY_LATER','itemsLoaded','2bYeLNB','itemId','removeHistoryItem','items','updateItemLoadingState','resize','164354TNaHwH','handleRemovedConversation','rename','view','length','unpin','_handleSelectConversation','AI_CHAT_UNTITLED_CONVERSATION','30909rJArta','getDate','history','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_handleTogglePin','activeConversation','_showConversationHistory','AI_CHAT_HISTORY_UNPIN_ACTION','AI_CHAT_HISTORY_CATEGORY_PINNED','title','updates','_updateHistoryItemsUI','push','1266705SfnYfj'];_0x52bc=function(){return _0x59f9ce;};return _0x52bc();}import{AIConnector as _0x6b0dd7}from'../aicore/aiconnector.js';import{AIChatController as _0x55f9e0}from'../aichat/aichatcontroller.js';import{AITabs as _0x24a0bf}from'../aitabs/aitabs.js';function _0x1a81(_0x3e1633,_0x5dd960){const _0x52bc63=_0x52bc();return _0x1a81=function(_0x1a81d1,_0x5cc1df){_0x1a81d1=_0x1a81d1-0x8d;let _0x12b34b=_0x52bc63[_0x1a81d1];return _0x12b34b;},_0x1a81(_0x3e1633,_0x5dd960);}import{AIChatHistoryUI as _0x1c8105}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x453187}from'./model/aichathistoryconversations.js';import{getTranslation as _0x599af0}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x24312d{[_0x1b4b58(0xa1)];[_0x1b4b58(0xd4)];[_0x1b4b58(0xe5)];static get[_0x1b4b58(0xcc)](){return[_0x6b0dd7,_0x55f9e0,_0x1c8105,_0x24a0bf];}static get[_0x1b4b58(0xe3)](){const _0x1209d1=_0x1b4b58;return _0x1209d1(0xe9);}static get[_0x1b4b58(0xe6)](){return!0x0;}static get[_0x1b4b58(0xc9)](){return!0x0;}[_0x1b4b58(0xc6)](){const _0x53bc3a=_0x1b4b58;this[_0x53bc3a(0xa1)]=this[_0x53bc3a(0xc5)][_0x53bc3a(0xe0)][_0x53bc3a(0xa4)](_0x6b0dd7),this[_0x53bc3a(0xd4)]=this[_0x53bc3a(0xc5)][_0x53bc3a(0xe0)][_0x53bc3a(0xa4)](_0x1c8105),this[_0x53bc3a(0xe5)]=this[_0x53bc3a(0xc5)][_0x53bc3a(0xe0)][_0x53bc3a(0xa4)](_0x55f9e0);const _0x411655=this[_0x53bc3a(0xc5)][_0x53bc3a(0xe0)][_0x53bc3a(0xa4)](_0x24a0bf);try{const _0x57152d=this[_0x53bc3a(0xe5)][_0x53bc3a(0xc1)]();this[_0x53bc3a(0x95)]=new _0x453187({'connector':this[_0x53bc3a(0xa1)],'group':_0x57152d}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xdb),(_0xc32579,_0x5d0c96)=>{const _0x468edb=_0x53bc3a;this[_0x468edb(0xb9)](_0x5d0c96['id'],_0x468edb(0xcf)),this[_0x468edb(0xaf)](_0x5d0c96['id']);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xe7),(_0x50b2e1,_0xd2ac64)=>{const _0x1db107=_0x53bc3a;this[_0x1db107(0xb9)](_0xd2ac64['id'],_0x1db107(0x8d)),this[_0x1db107(0xd6)](_0xd2ac64['id'],_0xd2ac64[_0x1db107(0x9c)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0x95)],_0x53bc3a(0xe1),(_0x4c1df3,_0x42eab1)=>{const _0x523a1d=_0x53bc3a;void 0x0!==_0x42eab1[_0x523a1d(0x9d)][_0x523a1d(0x9c)]&&this[_0x523a1d(0xd4)][_0x523a1d(0xac)](_0x42eab1[_0x523a1d(0xee)],_0x42eab1[_0x523a1d(0x9d)][_0x523a1d(0x9c)]),void 0x0!==_0x42eab1[_0x523a1d(0x9d)][_0x523a1d(0xd5)]&&this[_0x523a1d(0x9e)](),this[_0x523a1d(0xca)](_0x42eab1[_0x523a1d(0xee)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0x95)],_0x53bc3a(0xe8),(_0x3563bc,_0x1d251b)=>{const _0x10654a=_0x53bc3a;this[_0x10654a(0xe5)][_0x10654a(0xf4)](_0x1d251b[_0x10654a(0xee)]),this[_0x10654a(0xd4)][_0x10654a(0xef)](_0x1d251b[_0x10654a(0xee)]),this[_0x10654a(0xca)](_0x1d251b[_0x10654a(0xee)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0x95)],_0x53bc3a(0xec),()=>{const _0x33c90f=_0x53bc3a;this[_0x33c90f(0x9e)]();}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0x95)],_0x53bc3a(0xc0),(_0x1a0a30,_0x270be6)=>{const _0x40630c=_0x53bc3a;this[_0x40630c(0xb0)](_0x270be6[_0x40630c(0xc0)],_0x270be6[_0x40630c(0xad)],_0x270be6[_0x40630c(0xee)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xa8),(_0x21d34f,_0x1e5945)=>{const _0x1960de=_0x53bc3a;this[_0x1960de(0x91)](_0x1e5945['id']);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xba),(_0x301101,_0x16562e)=>{const _0x2c3b7c=_0x53bc3a,_0x5698ca=_0x16562e[_0x2c3b7c(0xd5)]?_0x2c3b7c(0xb1):_0x2c3b7c(0x90);this[_0x2c3b7c(0xb9)](_0x16562e['id'],_0x5698ca),this[_0x2c3b7c(0x97)](_0x16562e['id'],_0x16562e[_0x2c3b7c(0xd5)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xd1),()=>{const _0x3b2c42=_0x53bc3a;_0x411655[_0x3b2c42(0x8e)][_0x3b2c42(0xd7)](_0x3b2c42(0xdf));}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xe5)],_0x53bc3a(0xa9),()=>{const _0x5c5bd0=_0x53bc3a;this[_0x5c5bd0(0x9e)]();}),_0x411655[_0x53bc3a(0x8e)]['on'](_0x53bc3a(0xc3),()=>{const _0xa1256d=_0x53bc3a;this[_0xa1256d(0x99)]();}),this[_0x53bc3a(0xc2)](_0x411655,_0x53bc3a(0xb5),(_0x16f53f,_0x2acb49)=>{const _0x1307d6=_0x53bc3a;this[_0x1307d6(0xa2)](_0x2acb49);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xb4),()=>{const _0x27b4ad=_0x53bc3a;_0x411655[_0x27b4ad(0xf2)]();});}catch(_0x209481){this[_0x53bc3a(0xb0)](_0x209481,_0x53bc3a(0xc6));}}async[_0x1b4b58(0xd6)](_0x4b39f3,_0x43759e){const _0x5d5c3b=_0x1b4b58;await this[_0x5d5c3b(0x95)][_0x5d5c3b(0xac)](_0x4b39f3,_0x43759e);}async[_0x1b4b58(0x97)](_0x45c2d9,_0x55452c){const _0x23b9cf=_0x1b4b58;await this[_0x23b9cf(0x95)][_0x23b9cf(0xa7)](_0x45c2d9,_0x55452c);}async[_0x1b4b58(0xaf)](_0x1bd7cc){const _0x47ae46=_0x1b4b58;await this[_0x47ae46(0x95)][_0x47ae46(0xd8)](_0x1bd7cc);}async[_0x1b4b58(0x91)](_0x105e6a){const _0x2ec04f=_0x1b4b58;await this[_0x2ec04f(0xe5)][_0x2ec04f(0xcb)](_0x105e6a);}async[_0x1b4b58(0x99)](){const _0x31d30e=_0x1b4b58;this[_0x31d30e(0xd4)][_0x31d30e(0xd9)](''),this[_0x31d30e(0xd4)][_0x31d30e(0xce)](!0x0),await this[_0x31d30e(0x95)][_0x31d30e(0xc6)](),this[_0x31d30e(0xd4)][_0x31d30e(0xce)](!0x1);}[_0x1b4b58(0x9e)](){const _0x2d9130=_0x1b4b58,_0x57f379=this[_0x2d9130(0xe5)][_0x2d9130(0x98)]?.['id'],_0x328d61=this[_0x2d9130(0xb6)]()[_0x2d9130(0xb2)](_0x47f883=>({'title':_0x47f883[_0x2d9130(0x9c)],'items':_0x47f883[_0x2d9130(0xf0)][_0x2d9130(0xb2)](_0x53deb4=>({'id':_0x53deb4['id'],'title':_0x53deb4[_0x2d9130(0x9c)]||_0x599af0(this[_0x2d9130(0xc5)][_0x2d9130(0xbc)],_0x2d9130(0x92)),'createdAt':new Date(_0x53deb4[_0x2d9130(0xa5)])[_0x2d9130(0xae)](),'active':_0x53deb4['id']===_0x57f379,'pinned':_0x53deb4[_0x2d9130(0xd5)]}))}));this[_0x2d9130(0xd4)][_0x2d9130(0xe4)](_0x328d61);}[_0x1b4b58(0xb9)](_0x2be2d8,_0x4fa28f){const _0x32565a=_0x1b4b58;this[_0x32565a(0xd4)][_0x32565a(0xf1)](_0x2be2d8,_0x4fa28f,!0x0);}[_0x1b4b58(0xca)](_0x492ca7){const _0x385952=_0x1b4b58;this[_0x385952(0xd4)][_0x385952(0xf1)](_0x492ca7,null,!0x1);}[_0x1b4b58(0xb0)](_0x2fda00,_0x3dd4ea,_0xf7db5f){const _0x3d51f3=_0x1b4b58,_0x1f576f=this[_0x3d51f3(0xbe)](_0x3dd4ea,_0xf7db5f);this[_0x3d51f3(0xd4)][_0x3d51f3(0xd9)](_0x1f576f),_0xf7db5f&&this[_0x3d51f3(0xca)](_0xf7db5f),this[_0x3d51f3(0xd4)][_0x3d51f3(0xce)](!0x1);}[_0x1b4b58(0xbe)](_0x42dfb3,_0x12cb51){const _0x437328=_0x1b4b58,_0x25a156=_0x12cb51?this[_0x437328(0x95)][_0x437328(0xd2)](_0x12cb51):null,_0x144c97=_0x25a156?.[_0x437328(0x9c)]||_0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0x92));switch(_0x42dfb3){case _0x437328(0xac):return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0x96),_0x144c97);case _0x437328(0xa7):{const _0x4a2f5d=_0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x25a156?.[_0x437328(0xd5)]?_0x437328(0x9a):_0x437328(0xc8));return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0xea),[_0x4a2f5d,_0x144c97]);}case _0x437328(0xd8):return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0xdc),_0x144c97);case _0x437328(0xc6):case _0x437328(0xb3):return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0xb8));default:return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0xcd));}}[_0x1b4b58(0xb6)](){const _0x182152=_0x1b4b58,_0x58e80a=new Date(),_0x3455c4=new Date(_0x58e80a[_0x182152(0xde)](),_0x58e80a[_0x182152(0xbd)](),_0x58e80a[_0x182152(0x94)]()),_0x4a594d=new Date(_0x3455c4);_0x4a594d[_0x182152(0xda)](_0x4a594d[_0x182152(0x94)]()-0x1);const _0x5cc4a7=new Date(_0x3455c4);_0x5cc4a7[_0x182152(0xda)](_0x5cc4a7[_0x182152(0x94)]()-0xe);const _0xf8d95c=this[_0x182152(0x95)][_0x182152(0xd0)]({'pinned':!0x0}),_0x17c1b3=this[_0x182152(0x95)][_0x182152(0xd0)]({'from':_0x3455c4,'to':_0x3455c4}),_0x11f50c=this[_0x182152(0x95)][_0x182152(0xd0)]({'from':_0x4a594d,'to':_0x4a594d}),_0x38170b=this[_0x182152(0x95)][_0x182152(0xd0)]({'from':_0x5cc4a7,'to':_0x4a594d}),_0x16aee3=this[_0x182152(0x95)][_0x182152(0xd0)]({'to':_0x5cc4a7}),_0x25ed9a=[];return _0xf8d95c[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0x9b)),'items':_0xf8d95c}),_0x17c1b3[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0xab)),'items':_0x17c1b3}),_0x11f50c[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0xbb)),'items':_0x11f50c}),_0x38170b[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0xdd)),'items':_0x38170b}),_0x16aee3[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0xeb)),'items':_0x16aee3}),_0x25ed9a;}[_0x1b4b58(0xa2)](_0x5453d2){const _0x27b46f=_0x1b4b58;this[_0x27b46f(0xd4)][_0x27b46f(0xaa)](_0x5453d2);}}
|
|
23
|
+
const _0x5f40ef=_0x4530;(function(_0x4b380a,_0x56f1e0){const _0x16bddf=_0x4530,_0x3cc685=_0x4b380a();while(!![]){try{const _0x379d0d=parseInt(_0x16bddf(0x113))/0x1+-parseInt(_0x16bddf(0xec))/0x2+-parseInt(_0x16bddf(0xfd))/0x3+parseInt(_0x16bddf(0xdc))/0x4*(-parseInt(_0x16bddf(0x10a))/0x5)+-parseInt(_0x16bddf(0xdf))/0x6*(-parseInt(_0x16bddf(0x11b))/0x7)+-parseInt(_0x16bddf(0x11c))/0x8+-parseInt(_0x16bddf(0x11a))/0x9*(-parseInt(_0x16bddf(0xed))/0xa);if(_0x379d0d===_0x56f1e0)break;else _0x3cc685['push'](_0x3cc685['shift']());}catch(_0x1d6226){_0x3cc685['push'](_0x3cc685['shift']());}}}(_0x1165,0x6c371));import{ContextPlugin as _0x48f314}from'ckeditor5/src/core.js';import{AIConnector as _0x1b3cc0}from'../aicore/aiconnector.js';import{AIChatController as _0x3d9c8b}from'../aichat/aichatcontroller.js';function _0x4530(_0x45b0b2,_0x51c605){const _0x116557=_0x1165();return _0x4530=function(_0x4530c1,_0x3f56b3){_0x4530c1=_0x4530c1-0xcc;let _0x52e88f=_0x116557[_0x4530c1];return _0x52e88f;},_0x4530(_0x45b0b2,_0x51c605);}import{AITabs as _0x5d559b}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x14f3ee}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x5a4371}from'./model/aichathistoryconversations.js';function _0x1165(){const _0x41bc04=['isPremiumPlugin','get','getFullYear','resize','pin','loadItems','title','getGroupId','410084HcvvRY','selectConversation','plugins','6gZGHwq','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','updateItemTitle','_setIsMaximized','unpin','listenTo','AI_CHAT_HISTORY_UNPIN_ACTION','getDate','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','itemUpdated','AI_CHAT_HISTORY_CATEGORY_LATER','toLocaleDateString','handleRemovedConversation','899692AjMQCI','40MPNUVo','setDate','_handleSelectConversation','operation','createdAt','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_PIN_ACTION','removeItem','itemRemoved','_aiChatHistoryUi','AI_CHAT_HISTORY_ERROR_GENERIC','setLoadingSkeleton','_handleEditTitle','resizedTabs','error','removeConversation','1416423RpZKhr','_handleTogglePin','init','items','activateTab','AI_CHAT_HISTORY_CATEGORY_PINNED','requires','getItem','itemId','_handleHistoryErrorUI','pluginName','change:activeConversation','rename','30VYQfBM','editConversationTitle','openChat','pinned','_handleRemove','resizeTabs','updates','locale','removeHistoryItem','195337nDnWfH','AIChatHistoryController','AI_CHAT_UNTITLED_CONVERSATION','map','setConversationPinned','push','loadConversation','3895362zUzxkm','5903058MUjJNT','6316328OfmiXd','itemsLoaded','updateItemPinned','showError','_aiConnector','history','updateItemLoadingState','setIsMaximized','chat','_updateHistoryItemsUI','length','getItems','AI_CHAT_HISTORY_CATEGORY_TODAY','activateTab:history','updateItems','_setItemLoading','_showConversationHistory','activeConversation','view','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','isOfficialPlugin','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','_generateErrorMessage','_aiChatController','_getCategorizedItems','remove','_clearItemLoading','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','getMonth','context'];_0x1165=function(){return _0x41bc04;};return _0x1165();}import{getTranslation as _0x31b109}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x48f314{[_0x5f40ef(0x120)];[_0x5f40ef(0xf6)];[_0x5f40ef(0xcd)];static get[_0x5f40ef(0x103)](){return[_0x1b3cc0,_0x3d9c8b,_0x14f3ee,_0x5d559b];}static get[_0x5f40ef(0x107)](){const _0x49c545=_0x5f40ef;return _0x49c545(0x114);}static get[_0x5f40ef(0x130)](){return!0x0;}static get[_0x5f40ef(0xd4)](){return!0x0;}[_0x5f40ef(0xff)](){const _0x14d66c=_0x5f40ef;this[_0x14d66c(0x120)]=this[_0x14d66c(0xd3)][_0x14d66c(0xde)][_0x14d66c(0xd5)](_0x1b3cc0),this[_0x14d66c(0xf6)]=this[_0x14d66c(0xd3)][_0x14d66c(0xde)][_0x14d66c(0xd5)](_0x14f3ee),this[_0x14d66c(0xcd)]=this[_0x14d66c(0xd3)][_0x14d66c(0xde)][_0x14d66c(0xd5)](_0x3d9c8b);const _0x2f67d2=this[_0x14d66c(0xd3)][_0x14d66c(0xde)][_0x14d66c(0xd5)](_0x5d559b);try{const _0x19da29=this[_0x14d66c(0xcd)][_0x14d66c(0xdb)]();this[_0x14d66c(0x121)]=new _0x5a4371({'connector':this[_0x14d66c(0x120)],'group':_0x19da29}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xf6)],_0x14d66c(0xfc),(_0x5e7d2c,_0x7dc8d9)=>{const _0x3afcc3=_0x14d66c;this[_0x3afcc3(0x12b)](_0x7dc8d9['id'],_0x3afcc3(0xcf)),this[_0x3afcc3(0x10e)](_0x7dc8d9['id']);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xf6)],_0x14d66c(0x10b),(_0x1aed10,_0x3a6584)=>{const _0x55b3be=_0x14d66c;this[_0x55b3be(0x12b)](_0x3a6584['id'],_0x55b3be(0x109)),this[_0x55b3be(0xf9)](_0x3a6584['id'],_0x3a6584[_0x55b3be(0xda)]);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0x121)],_0x14d66c(0xe8),(_0xb190ac,_0x485878)=>{const _0x232c07=_0x14d66c;void 0x0!==_0x485878[_0x232c07(0x110)][_0x232c07(0xda)]&&this[_0x232c07(0xf6)][_0x232c07(0xe1)](_0x485878[_0x232c07(0x105)],_0x485878[_0x232c07(0x110)][_0x232c07(0xda)]),void 0x0!==_0x485878[_0x232c07(0x110)][_0x232c07(0x10d)]&&this[_0x232c07(0x125)](),this[_0x232c07(0xd0)](_0x485878[_0x232c07(0x105)]);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0x121)],_0x14d66c(0xf5),(_0x3f2bca,_0x366450)=>{const _0x34ddf8=_0x14d66c;this[_0x34ddf8(0xcd)][_0x34ddf8(0xeb)](_0x366450[_0x34ddf8(0x105)]),this[_0x34ddf8(0xf6)][_0x34ddf8(0x112)](_0x366450[_0x34ddf8(0x105)]),this[_0x34ddf8(0xd0)](_0x366450[_0x34ddf8(0x105)]);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0x121)],_0x14d66c(0x11d),()=>{const _0x4d654e=_0x14d66c;this[_0x4d654e(0x125)]();}),this[_0x14d66c(0xe4)](this[_0x14d66c(0x121)],_0x14d66c(0xfb),(_0x241c1f,_0x553805)=>{const _0x2006d6=_0x14d66c;this[_0x2006d6(0x106)](_0x553805[_0x2006d6(0xfb)],_0x553805[_0x2006d6(0xf0)],_0x553805[_0x2006d6(0x105)]);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xf6)],_0x14d66c(0xdd),(_0x222c1e,_0xd4ed2a)=>{const _0x17cecf=_0x14d66c;this[_0x17cecf(0xef)](_0xd4ed2a['id']);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xf6)],_0x14d66c(0x117),(_0x542ac,_0x22e454)=>{const _0x4f600c=_0x14d66c,_0x366b4b=_0x22e454[_0x4f600c(0x10d)]?_0x4f600c(0xd8):_0x4f600c(0xe3);this[_0x4f600c(0x12b)](_0x22e454['id'],_0x366b4b),this[_0x4f600c(0xfe)](_0x22e454['id'],_0x22e454[_0x4f600c(0x10d)]);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xf6)],_0x14d66c(0x10c),()=>{const _0x53fe5e=_0x14d66c;_0x2f67d2[_0x53fe5e(0x12e)][_0x53fe5e(0x101)](_0x53fe5e(0x124));}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xcd)],_0x14d66c(0x108),()=>{const _0xb946cd=_0x14d66c;this[_0xb946cd(0x125)]();}),_0x2f67d2[_0x14d66c(0x12e)]['on'](_0x14d66c(0x129),()=>{const _0x36bc4c=_0x14d66c;this[_0x36bc4c(0x12c)]();}),this[_0x14d66c(0xe4)](_0x2f67d2,_0x14d66c(0xfa),(_0x123f28,_0x1e892e)=>{const _0x2c5669=_0x14d66c;this[_0x2c5669(0xe2)](_0x1e892e);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xf6)],_0x14d66c(0x10f),()=>{const _0x108aac=_0x14d66c;_0x2f67d2[_0x108aac(0xd7)]();});}catch(_0x10d567){this[_0x14d66c(0x106)](_0x10d567,_0x14d66c(0xff));}}async[_0x5f40ef(0xf9)](_0x1b572b,_0x4a6f2a){const _0x404121=_0x5f40ef;await this[_0x404121(0x121)][_0x404121(0xe1)](_0x1b572b,_0x4a6f2a);}async[_0x5f40ef(0xfe)](_0x42b36b,_0x27144d){const _0x7cab07=_0x5f40ef;await this[_0x7cab07(0x121)][_0x7cab07(0x11e)](_0x42b36b,_0x27144d);}async[_0x5f40ef(0x10e)](_0x21ef97){const _0x3587f5=_0x5f40ef;await this[_0x3587f5(0x121)][_0x3587f5(0xf4)](_0x21ef97);}async[_0x5f40ef(0xef)](_0x3ce186){const _0x4587af=_0x5f40ef;await this[_0x4587af(0xcd)][_0x4587af(0x119)](_0x3ce186);}async[_0x5f40ef(0x12c)](){const _0x52749a=_0x5f40ef;this[_0x52749a(0xf6)][_0x52749a(0x11f)](''),this[_0x52749a(0xf6)][_0x52749a(0xf8)](!0x0),await this[_0x52749a(0x121)][_0x52749a(0xff)](),this[_0x52749a(0xf6)][_0x52749a(0xf8)](!0x1);}[_0x5f40ef(0x125)](){const _0x16c464=_0x5f40ef,_0xede06e=this[_0x16c464(0xcd)][_0x16c464(0x12d)]?.['id'],_0x5f3b70=this[_0x16c464(0xce)]()[_0x16c464(0x116)](_0x54e48d=>({'title':_0x54e48d[_0x16c464(0xda)],'items':_0x54e48d[_0x16c464(0x100)][_0x16c464(0x116)](_0x48035e=>({'id':_0x48035e['id'],'title':_0x48035e[_0x16c464(0xda)]||_0x31b109(this[_0x16c464(0xd3)][_0x16c464(0x111)],_0x16c464(0x115)),'createdAt':new Date(_0x48035e[_0x16c464(0xf1)])[_0x16c464(0xea)](),'active':_0x48035e['id']===_0xede06e,'pinned':_0x48035e[_0x16c464(0x10d)]}))}));this[_0x16c464(0xf6)][_0x16c464(0x12a)](_0x5f3b70);}[_0x5f40ef(0x12b)](_0x362913,_0x1f8f6d){const _0x1dee00=_0x5f40ef;this[_0x1dee00(0xf6)][_0x1dee00(0x122)](_0x362913,_0x1f8f6d,!0x0);}[_0x5f40ef(0xd0)](_0x24bab0){const _0x545a13=_0x5f40ef;this[_0x545a13(0xf6)][_0x545a13(0x122)](_0x24bab0,null,!0x1);}[_0x5f40ef(0x106)](_0x3dbd97,_0x43d247,_0x476576){const _0x4bb331=_0x5f40ef,_0xe1528a=this[_0x4bb331(0xcc)](_0x43d247,_0x476576);this[_0x4bb331(0xf6)][_0x4bb331(0x11f)](_0xe1528a),_0x476576&&this[_0x4bb331(0xd0)](_0x476576),this[_0x4bb331(0xf6)][_0x4bb331(0xf8)](!0x1);}[_0x5f40ef(0xcc)](_0x2751f8,_0x4ac84b){const _0x33d6bb=_0x5f40ef,_0x1d1c6f=_0x4ac84b?this[_0x33d6bb(0x121)][_0x33d6bb(0x104)](_0x4ac84b):null,_0x3652b9=_0x1d1c6f?.[_0x33d6bb(0xda)]||_0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x33d6bb(0x115));switch(_0x2751f8){case _0x33d6bb(0xe1):return _0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x33d6bb(0xf2),_0x3652b9);case _0x33d6bb(0x11e):{const _0x2f7b0a=_0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x1d1c6f?.[_0x33d6bb(0x10d)]?_0x33d6bb(0xe5):_0x33d6bb(0xf3));return _0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x33d6bb(0x131),[_0x2f7b0a,_0x3652b9]);}case _0x33d6bb(0xf4):return _0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x33d6bb(0xe0),_0x3652b9);case _0x33d6bb(0xff):case _0x33d6bb(0xd9):return _0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x33d6bb(0x12f));default:return _0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x33d6bb(0xf7));}}[_0x5f40ef(0xce)](){const _0x6bc9b=_0x5f40ef,_0x1a36c7=new Date(),_0x522989=new Date(_0x1a36c7[_0x6bc9b(0xd6)](),_0x1a36c7[_0x6bc9b(0xd2)](),_0x1a36c7[_0x6bc9b(0xe6)]()),_0x21c57d=new Date(_0x522989);_0x21c57d[_0x6bc9b(0xee)](_0x21c57d[_0x6bc9b(0xe6)]()-0x1);const _0x179ba3=new Date(_0x522989);_0x179ba3[_0x6bc9b(0xee)](_0x179ba3[_0x6bc9b(0xe6)]()-0xe);const _0x3c0071=this[_0x6bc9b(0x121)][_0x6bc9b(0x127)]({'pinned':!0x0}),_0x1e29d1=this[_0x6bc9b(0x121)][_0x6bc9b(0x127)]({'from':_0x522989,'to':_0x522989}),_0x46fd75=this[_0x6bc9b(0x121)][_0x6bc9b(0x127)]({'from':_0x21c57d,'to':_0x21c57d}),_0x480724=this[_0x6bc9b(0x121)][_0x6bc9b(0x127)]({'from':_0x179ba3,'to':_0x21c57d}),_0x178670=this[_0x6bc9b(0x121)][_0x6bc9b(0x127)]({'to':_0x179ba3}),_0x46dd32=[];return _0x3c0071[_0x6bc9b(0x126)]>0x0&&_0x46dd32[_0x6bc9b(0x118)]({'title':_0x31b109(this[_0x6bc9b(0xd3)][_0x6bc9b(0x111)],_0x6bc9b(0x102)),'items':_0x3c0071}),_0x1e29d1[_0x6bc9b(0x126)]>0x0&&_0x46dd32[_0x6bc9b(0x118)]({'title':_0x31b109(this[_0x6bc9b(0xd3)][_0x6bc9b(0x111)],_0x6bc9b(0x128)),'items':_0x1e29d1}),_0x46fd75[_0x6bc9b(0x126)]>0x0&&_0x46dd32[_0x6bc9b(0x118)]({'title':_0x31b109(this[_0x6bc9b(0xd3)][_0x6bc9b(0x111)],_0x6bc9b(0xd1)),'items':_0x46fd75}),_0x480724[_0x6bc9b(0x126)]>0x0&&_0x46dd32[_0x6bc9b(0x118)]({'title':_0x31b109(this[_0x6bc9b(0xd3)][_0x6bc9b(0x111)],_0x6bc9b(0xe7)),'items':_0x480724}),_0x178670[_0x6bc9b(0x126)]>0x0&&_0x46dd32[_0x6bc9b(0x118)]({'title':_0x31b109(this[_0x6bc9b(0xd3)][_0x6bc9b(0x111)],_0x6bc9b(0xe9)),'items':_0x178670}),_0x46dd32;}[_0x5f40ef(0xe2)](_0x383c31){const _0xc818f9=_0x5f40ef;this[_0xc818f9(0xf6)][_0xc818f9(0x123)](_0x383c31);}}
|