@ckeditor/ckeditor5-ai 47.3.0-alpha.3 → 47.3.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/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/resources/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/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3636b9=_0x1eda;function _0x1eda(_0x55660f,_0x4b2c75){const _0x4211a5=_0x4211();return _0x1eda=function(_0x1eda9c,_0x419005){_0x1eda9c=_0x1eda9c-0x1e6;let _0x4a983f=_0x4211a5[_0x1eda9c];return _0x4a983f;},_0x1eda(_0x55660f,_0x4b2c75);}(function(_0x6a613b,_0x1b5d3e){const _0x33e051=_0x1eda,_0x48a81d=_0x6a613b();while(!![]){try{const _0x5b35ea=-parseInt(_0x33e051(0x1f6))/0x1+parseInt(_0x33e051(0x1ef))/0x2+-parseInt(_0x33e051(0x1f7))/0x3+-parseInt(_0x33e051(0x209))/0x4+parseInt(_0x33e051(0x1ed))/0x5*(-parseInt(_0x33e051(0x1f5))/0x6)+-parseInt(_0x33e051(0x1f2))/0x7*(-parseInt(_0x33e051(0x1f3))/0x8)+parseInt(_0x33e051(0x20c))/0x9;if(_0x5b35ea===_0x1b5d3e)break;else _0x48a81d['push'](_0x48a81d['shift']());}catch(_0x1b1e51){_0x48a81d['push'](_0x48a81d['shift']());}}}(_0x4211,0x96f12));function _0x4211(){const _0x58f05b=['resource','899844SpwQPK','text','isInContext','20950416EjGUPB','ck-hidden','_setupTemplate','type','_iconView','isVisible','URL','_createIconView','ck-ai-chat-resources__item-title','highlightText','DOCUMENT','execute','639235apEoJt','_titleView','1232074BsgxDg','FILE','div','1008721VDlpfr','8MFjgWP','getResourceIcon','54FWfyOF','52461hzCpPM','3124983CgGbTQ','extendTemplate','TEXT','set','ck-ai-chat-resources__item','trim','_createTitleView','_updateIcon','bindTemplate','content','setTemplate','render','span','updateResourceState','ck-ai-chat-resources__item__icon','label','ck-ai-chat-resources__item--in-context'];_0x4211=function(){return _0x58f05b;};return _0x4211();}import{HighlightedTextView as _0x23573c,IconView as _0x6b3f72,ListItemView as _0x4c53e5}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x1841e6}from'es-toolkit/compat';import{AIContextItemType as _0x47176c}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x2a3292,IconCheck as _0x59aede,IconDocument as _0x1cb130,IconDocumentOutline as _0x4ef506,IconLink as _0xbaeecd}from'@ckeditor/ckeditor5-icons';const Br=_0x3636b9(0x1fb),Gr=_0x3636b9(0x207),Hr=_0x3636b9(0x1e9),Jr=_0x3636b9(0x205);export class AIChatResourceListItemView extends _0x4c53e5{[_0x3636b9(0x208)];[_0x3636b9(0x1ee)];[_0x3636b9(0x210)];constructor(_0x10c674,_0x44599a){const _0x1c36d8=_0x3636b9;super(_0x10c674),this[_0x1c36d8(0x208)]=_0x44599a,this[_0x1c36d8(0x1fa)](_0x1c36d8(0x20b),!!_0x44599a[_0x1c36d8(0x20b)]),this[_0x1c36d8(0x1ee)]=this[_0x1c36d8(0x1fd)](),this[_0x1c36d8(0x210)]=this[_0x1c36d8(0x1e8)](),this[_0x1c36d8(0x20e)]();}[_0x3636b9(0x202)](){const _0x8acaa0=_0x3636b9;super[_0x8acaa0(0x202)]();}[_0x3636b9(0x1f4)](_0x327664){const _0x3cfc10=_0x3636b9;if(_0x327664[_0x3cfc10(0x20b)])return _0x59aede;switch(_0x327664[_0x3cfc10(0x20f)]){case _0x47176c[_0x3cfc10(0x1eb)]:return _0x1cb130;case _0x47176c[_0x3cfc10(0x1e7)]:return _0xbaeecd;case _0x47176c[_0x3cfc10(0x1f0)]:case _0x47176c[_0x3cfc10(0x1f9)]:return _0x2a3292;default:return _0x4ef506;}}[_0x3636b9(0x1ea)](_0x12e37f){const _0xe01266=_0x3636b9;if(!_0x12e37f||''===_0x12e37f[_0xe01266(0x1fc)]())return void this[_0xe01266(0x1ee)][_0xe01266(0x1ea)](null);const _0x11984c=new RegExp(_0x1841e6(_0x12e37f),'gi');this[_0xe01266(0x1ee)][_0xe01266(0x1ea)](_0x11984c);}[_0x3636b9(0x204)](_0x3cbda3){const _0xac26f5=_0x3636b9;this[_0xac26f5(0x208)][_0xac26f5(0x20b)]=_0x3cbda3,this[_0xac26f5(0x20b)]=_0x3cbda3,this[_0xac26f5(0x1fe)]();}[_0x3636b9(0x1fd)](){const _0x552a32=_0x3636b9,_0x20706a=new _0x23573c();return _0x20706a[_0x552a32(0x20a)]=this[_0x552a32(0x208)][_0x552a32(0x206)],_0x20706a[_0x552a32(0x1f8)]({'tag':_0x552a32(0x203),'attributes':{'class':[Hr]}}),_0x20706a;}[_0x3636b9(0x1e8)](){const _0x464b9e=_0x3636b9,_0x413373=new _0x6b3f72();return _0x413373[_0x464b9e(0x200)]=this[_0x464b9e(0x1f4)](this[_0x464b9e(0x208)]),_0x413373;}[_0x3636b9(0x20e)](){const _0x44e750=_0x3636b9,_0x27c195=this[_0x44e750(0x1ff)];this[_0x44e750(0x201)]({'tag':_0x44e750(0x1f1),'attributes':{'class':[Br,_0x27c195['if'](_0x44e750(0x1e6),_0x44e750(0x20d),_0x24b673=>!_0x24b673),_0x27c195['if'](_0x44e750(0x20b),Gr)]},'children':[{'tag':_0x44e750(0x1f1),'attributes':{'class':[Jr]},'children':[this[_0x44e750(0x210)]]},this[_0x44e750(0x1ee)]],'on':{'click':_0x27c195['to'](_0x44e750(0x1ec))}});}[_0x3636b9(0x1fe)](){const _0x3de725=_0x3636b9;this[_0x3de725(0x210)][_0x3de725(0x200)]=this[_0x3de725(0x1f4)](this[_0x3de725(0x208)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x502189=_0x40f6;(function(_0x5219a4,_0x170030){const _0x35beba=_0x40f6,_0x1c5062=_0x5219a4();while(!![]){try{const _0x112e4f=parseInt(_0x35beba(0x1bc))/0x1+-parseInt(_0x35beba(0x1b5))/0x2+-parseInt(_0x35beba(0x188))/0x3*(-parseInt(_0x35beba(0x1b4))/0x4)+parseInt(_0x35beba(0x189))/0x5*(parseInt(_0x35beba(0x1a0))/0x6)+parseInt(_0x35beba(0x1a9))/0x7+parseInt(_0x35beba(0x1bf))/0x8+parseInt(_0x35beba(0x186))/0x9*(-parseInt(_0x35beba(0x1af))/0xa);if(_0x112e4f===_0x170030)break;else _0x1c5062['push'](_0x1c5062['shift']());}catch(_0x16063e){_0x1c5062['push'](_0x1c5062['shift']());}}}(_0x2b83,0xb6091));function _0x2b83(){const _0x5b96b9=['populateSourceResourceBalloon','_config','onResourceSelected','onBackToContext','getTargetElement','805700sjeBiA','_locale','change:isLoading','execute','loadSourceResources','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','70bqyFdZ','_createBalloonHeader','addResourceToContext','delete','element','12232zfwmLB','1851384TSckNN','destroy','_addSourceResourceContent','_bodyCollection','_getResourcesViewFromBalloon','once','set','996601KYPJXN','children','_setupSingleResourceBalloonClickOutsideHandler','7459088xDAzvS','onBalloonClosed','getLimiterElement','isVisible','2736225OtVdXq','get','348jKKmHk','5ctAVss','searchInputVisibleFrom','hide','values','setResources','resource','extendTemplate','_sourceResourceBalloons','_createSourceResourceBalloonPanel','pin','isAnyResourceBalloonVisible','_createBackButton','ck-ai-chat-context-controls__source-balloon-panel','source','updateResourceState','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','onLoadSourceResources','showSourceResourcesBalloon','ck-button-icon\x20ck-button-back','closeSourceResourceBalloon','_createBalloonResourcesView','clear','label','8404014GFBtRd','content','add','show'];_0x2b83=function(){return _0x5b96b9;};return _0x2b83();}import{BalloonPanelView as _0x292c7b,ButtonView as _0x139a9c,clickOutsideHandler as _0x4cce64,FormHeaderView as _0x4560ee}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x4babc6}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0xcc227f}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x3d5c58}from'./aichatcontextresourcesview.js';const Nr=_0x502189(0x195),Xr=_0x502189(0x19b),Kr=_0x502189(0x1ae);function _0x40f6(_0x32309f,_0xa300c1){const _0x2b8372=_0x2b83();return _0x40f6=function(_0x40f601,_0x320d8a){_0x40f601=_0x40f601-0x183;let _0x335d98=_0x2b8372[_0x40f601];return _0x335d98;},_0x40f6(_0x32309f,_0xa300c1);}export class AIChatResourcesBalloonView{[_0x502189(0x190)]=new Map();[_0x502189(0x1b8)];[_0x502189(0x1aa)];[_0x502189(0x1a5)];constructor(_0x2ef2f7,_0x3bed02,_0x1bddcb){const _0x253396=_0x502189;this[_0x253396(0x1aa)]=_0x2ef2f7,this[_0x253396(0x1b8)]=_0x3bed02,this[_0x253396(0x1a5)]=_0x1bddcb;}[_0x502189(0x19a)](_0x18b369){const _0x20666b=_0x502189;let _0x45a0f1=this[_0x20666b(0x190)][_0x20666b(0x187)](_0x18b369['id']);_0x45a0f1||(_0x45a0f1=this[_0x20666b(0x191)](),this[_0x20666b(0x190)][_0x20666b(0x1bb)](_0x18b369['id'],_0x45a0f1),this[_0x20666b(0x1be)](_0x45a0f1)),this[_0x20666b(0x1b7)](_0x45a0f1,_0x18b369),_0x45a0f1[_0x20666b(0x1a3)]();const _0x283c91=this[_0x20666b(0x1a5)][_0x20666b(0x1a8)]();_0x283c91&&_0x45a0f1[_0x20666b(0x192)]({'target':_0x283c91,'limiter':this[_0x20666b(0x1a5)][_0x20666b(0x184)]()});}[_0x502189(0x1a4)](_0x590cbc,_0x11fdf1,_0x2d9ca0){const _0x954f85=_0x502189,_0x44156d=this[_0x954f85(0x190)][_0x954f85(0x187)](_0x590cbc);if(!_0x44156d)return;const _0x49328b=this[_0x954f85(0x1b9)](_0x44156d);_0x49328b&&(_0x49328b[_0x954f85(0x18d)](_0x11fdf1,_0x2d9ca0),_0x49328b[_0x954f85(0x1ba)](_0x954f85(0x1ab),()=>{const _0x154baa=_0x954f85;_0x44156d[_0x154baa(0x192)]({'target':this[_0x154baa(0x1a5)][_0x154baa(0x1a8)](),'limiter':this[_0x154baa(0x1a5)][_0x154baa(0x184)]()});}));}[_0x502189(0x19c)](_0x51d854){const _0x45fc67=_0x502189,_0x83bdf0=this[_0x45fc67(0x190)][_0x45fc67(0x187)](_0x51d854);_0x83bdf0&&requestAnimationFrame(()=>{const _0x58eb33=_0x45fc67;_0x83bdf0[_0x58eb33(0x18b)](),this[_0x58eb33(0x190)][_0x58eb33(0x1b2)](_0x51d854),this[_0x58eb33(0x1a5)][_0x58eb33(0x183)]();});}[_0x502189(0x193)](){const _0x477029=_0x502189;for(const _0x4c98b6 of this[_0x477029(0x190)][_0x477029(0x18c)]())if(_0x4c98b6[_0x477029(0x185)])return!0x0;return!0x1;}[_0x502189(0x197)](_0x528504,_0x47ad68,_0x11439e){const _0x5dd7ca=_0x502189,_0x174e0d=this[_0x5dd7ca(0x190)][_0x5dd7ca(0x187)](_0x528504);if(!_0x174e0d||!_0x174e0d[_0x5dd7ca(0x185)])return;const _0x11247b=this[_0x5dd7ca(0x1a5)][_0x5dd7ca(0x1a8)]();if(!_0x11247b)return;_0x174e0d[_0x5dd7ca(0x192)]({'target':_0x11247b,'limiter':this[_0x5dd7ca(0x1a5)][_0x5dd7ca(0x184)]()});const _0x5912bd=this[_0x5dd7ca(0x1b9)](_0x174e0d);_0x5912bd&&_0x5912bd[_0x5dd7ca(0x197)](_0x47ad68,_0x11439e);}[_0x502189(0x1b6)](){const _0x39f4ba=_0x502189;for(const _0x3e9504 of this[_0x39f4ba(0x190)][_0x39f4ba(0x18c)]())_0x3e9504[_0x39f4ba(0x1b6)]();this[_0x39f4ba(0x190)][_0x39f4ba(0x19e)]();}[_0x502189(0x191)](){const _0x3be636=_0x502189,_0x576331=new _0x292c7b(this[_0x3be636(0x1aa)]);return _0x576331[_0x3be636(0x18f)]({'attributes':{'class':Nr}}),this[_0x3be636(0x1b8)][_0x3be636(0x1a2)](_0x576331),_0x576331;}[_0x502189(0x1b7)](_0x1a90a7,_0x25485a){const _0x18805e=_0x502189;_0x1a90a7[_0x18805e(0x1a1)][_0x18805e(0x19e)]();const _0x377bc8=this[_0x18805e(0x1b0)](_0x1a90a7,_0x25485a);_0x1a90a7[_0x18805e(0x1a1)][_0x18805e(0x1a2)](_0x377bc8);const _0x52d445=this[_0x18805e(0x19d)](_0x25485a);_0x1a90a7[_0x18805e(0x1a1)][_0x18805e(0x1a2)](_0x52d445);}[_0x502189(0x1b0)](_0x2ecb99,_0x4d3388){const _0x25e49b=_0x502189,_0x4283b4=this[_0x25e49b(0x194)](_0x2ecb99),_0x4aa1fb=new _0x4560ee(this[_0x25e49b(0x1aa)],{'label':_0x4d3388[_0x25e49b(0x19f)],'class':Kr});return _0x4aa1fb[_0x25e49b(0x1bd)][_0x25e49b(0x1a2)](_0x4283b4,0x0),_0x4aa1fb;}[_0x502189(0x194)](_0x2bcf06){const _0xdc3882=_0x502189,_0x37c21d=new _0x139a9c(this[_0xdc3882(0x1aa)]);return _0x37c21d[_0xdc3882(0x1bb)]({'icon':_0x4babc6,'tooltip':_0xcc227f(this[_0xdc3882(0x1aa)],_0xdc3882(0x198)),'tooltipPosition':'n','class':Xr}),_0x37c21d['on'](_0xdc3882(0x1ac),()=>{const _0x25cf28=_0xdc3882;_0x2bcf06[_0x25cf28(0x18b)](),this[_0x25cf28(0x1a5)][_0x25cf28(0x1a7)]();}),_0x37c21d;}[_0x502189(0x19d)](_0x4fc19e){const _0x591492=_0x502189,_0x37bf86=new _0x3d5c58(this[_0x591492(0x1aa)],{'source':_0x4fc19e,'searchInputVisibleFrom':this[_0x591492(0x1a5)][_0x591492(0x18a)]});return _0x37bf86['on'](_0x591492(0x1ad),(_0x32271c,_0x3392ef)=>{const _0x1fc7da=_0x591492;this[_0x1fc7da(0x1a5)][_0x1fc7da(0x199)](_0x3392ef);}),_0x37bf86['on'](_0x591492(0x1b1),(_0x40d65b,_0x839539)=>{const _0x5160aa=_0x591492;this[_0x5160aa(0x1a5)][_0x5160aa(0x1a6)](_0x839539[_0x5160aa(0x196)],_0x839539[_0x5160aa(0x18e)]),this[_0x5160aa(0x19c)](_0x4fc19e['id']);}),_0x37bf86;}[_0x502189(0x1b9)](_0x12503b){const _0x5f362e=_0x502189,_0x2e50ad=_0x12503b[_0x5f362e(0x1a1)][_0x5f362e(0x187)](0x1);return _0x2e50ad instanceof _0x3d5c58?_0x2e50ad:null;}[_0x502189(0x1be)](_0x229eaa){const _0x1f8032=_0x502189;_0x4cce64({'emitter':_0x229eaa,'contextElements':[_0x229eaa[_0x1f8032(0x1b3)]],'callback':()=>{const _0x28b7da=_0x1f8032;_0x229eaa[_0x28b7da(0x18b)](),this[_0x28b7da(0x1a5)][_0x28b7da(0x183)]();},'activator':()=>_0x229eaa[_0x1f8032(0x185)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x4d8c3a,IconView as _0x10c657,LabeledFieldView as _0x1eee8,createLabeledInputText as _0x10806f}from'ckeditor5/src/ui.js';import{IconLoupe as _0x673375,IconCancel as _0x36b030}from'ckeditor5/src/icons.js';import{getTranslation as _0xe90aa7}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x1eee8{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x35f014){const t=_0x35f014['t'],_0x1da6d1={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x10806f,'label':_0xe90aa7(_0x35f014,'AI_CHAT_SEARCH_RESOURCES')};super(_0x35f014,_0x1da6d1['creator']),this['label']=_0x1da6d1['label'],this['_viewConfig']=_0x1da6d1,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x35f014,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x45333d){this['fire']('search',_0x45333d);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x10c657(),this['iconView']['content']=_0x673375,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x16078c,t){this['resetButtonView']=new _0x4d8c3a(_0x16078c),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x36b030,'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',_0x379ba4=>!_0x379ba4),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bbb82=_0x2aa9;(function(_0x10ecc4,_0x46a97d){const _0x33b7fb=_0x2aa9,_0x415238=_0x10ecc4();while(!![]){try{const _0x3002cb=parseInt(_0x33b7fb(0x16e))/0x1*(parseInt(_0x33b7fb(0x15d))/0x2)+parseInt(_0x33b7fb(0x161))/0x3*(-parseInt(_0x33b7fb(0x16d))/0x4)+parseInt(_0x33b7fb(0x155))/0x5*(-parseInt(_0x33b7fb(0x16f))/0x6)+-parseInt(_0x33b7fb(0x15c))/0x7*(-parseInt(_0x33b7fb(0x164))/0x8)+-parseInt(_0x33b7fb(0x174))/0x9+parseInt(_0x33b7fb(0x168))/0xa*(-parseInt(_0x33b7fb(0x176))/0xb)+parseInt(_0x33b7fb(0x160))/0xc;if(_0x3002cb===_0x46a97d)break;else _0x415238['push'](_0x415238['shift']());}catch(_0x5696c2){_0x415238['push'](_0x415238['shift']());}}}(_0x55de,0x279e9));import{View as _0x4f5a7c}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x1bbc5}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2f4218}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x1bbb82(0x167),Qo=_0x1bbb82(0x16c),Xo=_0x1bbb82(0x166),Lo=_0x1bbb82(0x170),Oo=_0x1bbb82(0x173),Mo=_0x1bbb82(0x171);function _0x55de(){const _0x2edf02=['div','locale','7WvQyTS','4106ZQKShe','_createContextChips','createCollection','5697180ayAYUm','39iVkLMs','_bodyCollection','add','897256EtkMic','_overflowManager','ck-ai-chat-context-chips-wrapper-balloon','ck-ai-chat__feed__context-chips','10cpQQsc','reorganizeChips','render','setContainerElement','ck-ai-chat-context-chips-wrapper','37624YuqIcY','11BkxAxw','42TrIfzI','ck-ai-chat-controls-button','ck-ai-chat-context-controls__show-more-balloon-panel','setTemplate','ck-ai-chat-controls_context_show-more-button','1163232ikJMvm','ck-reset_all','279730yEVqre','121620arpwXn','element','querySelector','destroy','_contextChips'];_0x55de=function(){return _0x2edf02;};return _0x55de();}function _0x2aa9(_0x2f257c,_0x3912ac){const _0x55de83=_0x55de();return _0x2aa9=function(_0x2aa94c,_0x47c1e2){_0x2aa94c=_0x2aa94c-0x155;let _0x59deee=_0x55de83[_0x2aa94c];return _0x59deee;},_0x2aa9(_0x2f257c,_0x3912ac);}export class AIChatFeedContextChipsView extends _0x4f5a7c{[_0x1bbb82(0x159)]=this[_0x1bbb82(0x15f)]();[_0x1bbb82(0x165)];[_0x1bbb82(0x162)];constructor(_0x32e514,_0x41f70b,_0x14c4fe){const _0xb49b05=_0x1bbb82;super(_0x32e514),this[_0xb49b05(0x162)]=_0x14c4fe,this[_0xb49b05(0x15e)](_0x41f70b);const _0x47cb00={'cssClasses':{'showMoreButton':Oo,'showMoreBalloon':Mo,'overflowContainer':Xo,'controlsButton':Lo}};this[_0xb49b05(0x165)]=new _0x2f4218(_0x32e514,this[_0xb49b05(0x159)],_0x47cb00,this[_0xb49b05(0x162)],this),this[_0xb49b05(0x172)]({'tag':_0xb49b05(0x15a),'attributes':{'class':[$o,'ck',_0xb49b05(0x175)]},'children':[{'tag':_0xb49b05(0x15a),'attributes':{'class':Qo},'children':this[_0xb49b05(0x159)]}]});}[_0x1bbb82(0x16a)](){const _0x528fb0=_0x1bbb82;super[_0x528fb0(0x16a)]();const _0x309eaf=this[_0x528fb0(0x156)][_0x528fb0(0x157)]('.'+Qo);_0x309eaf&&(this[_0x528fb0(0x165)][_0x528fb0(0x16b)](_0x309eaf),this[_0x528fb0(0x165)][_0x528fb0(0x169)]());}[_0x1bbb82(0x158)](){const _0x3e104d=_0x1bbb82;super[_0x3e104d(0x158)](),this[_0x3e104d(0x165)][_0x3e104d(0x158)]();}[_0x1bbb82(0x15e)](_0x206da1){const _0x4e67ce=_0x1bbb82;for(const _0x300b13 of _0x206da1){const _0x18cd0a=new _0x1bbc5(this[_0x4e67ce(0x15b)],_0x300b13,!0x0,!0x1);this[_0x4e67ce(0x159)][_0x4e67ce(0x163)](_0x18cd0a);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x45c8(){const _0x1a775f=['25717626jBUvBI','774QpsQgz','ck-ai-chat__feed__interaction-header','ck-hidden','3298869BTygDr','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','905AhDnEs','children','capabilities','2556htLHkl','21596PdhDuY','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','setTemplate','content','add','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-ai-chat__feed__interaction-header__capabilities','extendTemplate','3782172agWusg','push','div','span','9426472eYmHBa','567023eCcZth'];_0x45c8=function(){return _0x1a775f;};return _0x45c8();}const _0x47e59f=_0x1f51;(function(_0x33d50c,_0x5ee9cf){const _0x32fcce=_0x1f51,_0x3106f7=_0x33d50c();while(!![]){try{const _0x4da824=parseInt(_0x32fcce(0x1dd))/0x1+-parseInt(_0x32fcce(0x1df))/0x2*(parseInt(_0x32fcce(0x1e7))/0x3)+parseInt(_0x32fcce(0x1e8))/0x4*(-parseInt(_0x32fcce(0x1e4))/0x5)+-parseInt(_0x32fcce(0x1f1))/0x6+parseInt(_0x32fcce(0x1e2))/0x7+-parseInt(_0x32fcce(0x1f5))/0x8+parseInt(_0x32fcce(0x1de))/0x9;if(_0x4da824===_0x5ee9cf)break;else _0x3106f7['push'](_0x3106f7['shift']());}catch(_0xe2e6a6){_0x3106f7['push'](_0x3106f7['shift']());}}}(_0x45c8,0xbe79e));import{IconBulb as _0x1a731b,IconWeb as _0x56d5ad}from'@ckeditor/ckeditor5-icons';import{IconView as _0xb8a6fa,View as _0x13e159}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x26b1cc}from'./aichatfeeditemview.js';import{getTranslation as _0x31bb93}from'../../../aicore/utils/common-translations.js';function _0x1f51(_0x43e2c3,_0x457594){const _0x45c8fe=_0x45c8();return _0x1f51=function(_0x1f5114,_0x105254){_0x1f5114=_0x1f5114-0x1dd;let _0x1e6cbd=_0x45c8fe[_0x1f5114];return _0x1e6cbd;},_0x1f51(_0x43e2c3,_0x457594);}export class AIChatFeedInteractionHeaderView extends _0x26b1cc{[_0x47e59f(0x1e6)];constructor(_0x3fe255,_0x4c4a69){const _0x3ec9a5=_0x47e59f;super(_0x4c4a69);const {isWebSearchEnabled:_0x3cc89f,isReasoningEnabled:_0x1e84a5}=_0x4c4a69[_0x3ec9a5(0x1e6)],_0x38261e=[];let _0x102b92='';_0x3cc89f&&_0x1e84a5?(_0x102b92=_0x31bb93(_0x3fe255,_0x3ec9a5(0x1e3)),_0x38261e[_0x3ec9a5(0x1f2)](aa(_0x56d5ad)),_0x38261e[_0x3ec9a5(0x1f2)](aa(_0x1a731b))):_0x3cc89f?(_0x102b92=_0x31bb93(_0x3fe255,_0x3ec9a5(0x1ee)),_0x38261e[_0x3ec9a5(0x1f2)](aa(_0x56d5ad))):_0x1e84a5&&(_0x102b92=_0x31bb93(_0x3fe255,_0x3ec9a5(0x1e9)),_0x38261e[_0x3ec9a5(0x1f2)](aa(_0x1a731b))),this[_0x3ec9a5(0x1f0)]({'attributes':{'class':[_0x3ec9a5(0x1e0),_0x102b92?'':_0x3ec9a5(0x1e1)]}});const _0x4ec6e9=new _0x13e159();_0x4ec6e9[_0x3ec9a5(0x1ea)]({'tag':_0x3ec9a5(0x1f3),'attributes':{'class':['ck',_0x3ec9a5(0x1ef)]},'children':[..._0x38261e,{'tag':_0x3ec9a5(0x1f4),'attributes':{'class':[_0x3ec9a5(0x1ed)]},'children':[_0x102b92]}]}),this[_0x3ec9a5(0x1e5)][_0x3ec9a5(0x1ec)](_0x4ec6e9),this[_0x3ec9a5(0x1e6)]=_0x4c4a69[_0x3ec9a5(0x1e6)];}}function aa(_0x4e414d){const _0x58c567=_0x47e59f,_0xa87432=new _0xb8a6fa();return _0xa87432[_0x58c567(0x1eb)]=_0x4e414d,_0xa87432;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4ef9(){const _0x19d510=['setTemplate','removeAttribute','forEach','30bDtCoR','stream','387220ALzmVC','options','content','markAsDone','isVisible','ck-ai-chat__feed__item','isDone','ck-ai-chat__feed__text-item','data-id','508890bNWLYi','8770EsLVzu','[data-id]','1187200iKerYz','3210630PCCRhh','cleanUpAnimations','children','ck-ai-chat__feed__item_done','animation:\x20ck-html-streamer-fade-in\x20.5s','createCollection','streamIntoElement','ck-hidden','271866wevsAH','603558bJbCCw','querySelectorAll','div','3VQZsHo','bindTemplate','element','htmlStreamer','25kbMPOA','set'];_0x4ef9=function(){return _0x19d510;};return _0x4ef9();}function _0x522e(_0x429859,_0x7fed7c){const _0x4ef90f=_0x4ef9();return _0x522e=function(_0x522ed9,_0x48cf56){_0x522ed9=_0x522ed9-0x145;let _0x3cdb9f=_0x4ef90f[_0x522ed9];return _0x3cdb9f;},_0x522e(_0x429859,_0x7fed7c);}const _0x15434c=_0x522e;(function(_0x4bbc2f,_0x3d71fb){const _0x4f9e41=_0x522e,_0x4bc674=_0x4bbc2f();while(!![]){try{const _0x235211=parseInt(_0x4f9e41(0x146))/0x1*(-parseInt(_0x4f9e41(0x157))/0x2)+parseInt(_0x4f9e41(0x166))/0x3*(-parseInt(_0x4f9e41(0x14d))/0x4)+parseInt(_0x4f9e41(0x156))/0x5+-parseInt(_0x4f9e41(0x14b))/0x6*(-parseInt(_0x4f9e41(0x162))/0x7)+-parseInt(_0x4f9e41(0x159))/0x8+-parseInt(_0x4f9e41(0x163))/0x9+parseInt(_0x4f9e41(0x15a))/0xa;if(_0x235211===_0x3d71fb)break;else _0x4bc674['push'](_0x4bc674['shift']());}catch(_0x55b5da){_0x4bc674['push'](_0x4bc674['shift']());}}}(_0x4ef9,0x2fa43));import{View as _0x2e035d}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x30af44}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x2e035d{[_0x15434c(0x14e)];[_0x15434c(0x14f)]='';[_0x15434c(0x145)];[_0x15434c(0x15c)];constructor(_0x570ad2){const _0x390ada=_0x15434c;super();const _0x22c860=this[_0x390ada(0x167)];this[_0x390ada(0x147)](_0x390ada(0x153),!0x1),this[_0x390ada(0x147)](_0x390ada(0x151),!0x0),this[_0x390ada(0x145)]=new _0x30af44({'textNodeStyle':_0x390ada(0x15e),'delay':0x14}),this[_0x390ada(0x14e)]=_0x570ad2,this[_0x390ada(0x15c)]=this[_0x390ada(0x15f)](),this[_0x390ada(0x148)]({'tag':_0x390ada(0x165),'attributes':{'class':['ck',_0x390ada(0x152),_0x22c860['if'](_0x390ada(0x153),_0x390ada(0x15d)),_0x22c860['if'](_0x390ada(0x151),_0x390ada(0x161),_0xf28e60=>!_0xf28e60),_0x390ada(0x154)],'data-cke-ai-id':this[_0x390ada(0x14e)]['id']},'children':this[_0x390ada(0x15c)]});}[_0x15434c(0x150)](){const _0x1d928a=_0x15434c;this[_0x1d928a(0x145)][_0x1d928a(0x15b)]({'targetElement':this[_0x1d928a(0x168)]}),this[_0x1d928a(0x168)][_0x1d928a(0x164)](_0x1d928a(0x158))[_0x1d928a(0x14a)](_0x590c55=>{const _0x29b003=_0x1d928a;_0x590c55[_0x29b003(0x149)](_0x29b003(0x155));}),this[_0x1d928a(0x153)]=!0x0;}async[_0x15434c(0x160)](_0x58c7df,_0x336cd1,_0xf09847){const _0x261392=_0x15434c;await this[_0x261392(0x145)][_0x261392(0x14c)]({'document':_0x58c7df,'targetElement':_0x336cd1,'abortSignal':_0xf09847});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50d2ac=_0xcfcf;(function(_0x3c8a9a,_0x18b867){const _0x3f5f98=_0xcfcf,_0x191d85=_0x3c8a9a();while(!![]){try{const _0x497b77=-parseInt(_0x3f5f98(0x14c))/0x1+-parseInt(_0x3f5f98(0x165))/0x2*(-parseInt(_0x3f5f98(0x14b))/0x3)+-parseInt(_0x3f5f98(0x15e))/0x4*(-parseInt(_0x3f5f98(0x152))/0x5)+parseInt(_0x3f5f98(0x144))/0x6*(-parseInt(_0x3f5f98(0x147))/0x7)+parseInt(_0x3f5f98(0x14a))/0x8+-parseInt(_0x3f5f98(0x155))/0x9*(-parseInt(_0x3f5f98(0x156))/0xa)+-parseInt(_0x3f5f98(0x15b))/0xb*(parseInt(_0x3f5f98(0x163))/0xc);if(_0x497b77===_0x18b867)break;else _0x191d85['push'](_0x191d85['shift']());}catch(_0x3d77f4){_0x191d85['push'](_0x191d85['shift']());}}}(_0x4bee,0x8e384));import{AIChatFeedItemView as _0x3df4e9}from'./aichatfeeditemview.js';import{parse as _0x16f8d6,render as _0x84143e}from'../../../aicore/utils/htmlparser.js';import{View as _0x3286dd}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x5825e2,AIWebSourceView as _0x55d192}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x4bee(){const _0x2522af=['map','streaming','364bPPVNO','render','addMany','5503824RFAHry','90291JUCvVu','964900omuziE','markAsDone','div','isVisible','streamIntoElement','replyContainer','5352715jFtlRQ','innerHTML','ck-ai-chat__feed__ai-reply-container','45bkxdBP','1103450jfGBAh','ck-ai-chat__feed__ai-reply','children','ck-reset_all-excluded','static','74701uLyRjX','locale','element','4VGGSKr','updateContent','options','setTemplate','add','2676QtRymO','initialContent','62wOeHpU','extendTemplate','updateSources','20934AYZSaX'];_0x4bee=function(){return _0x2522af;};return _0x4bee();}function _0xcfcf(_0x327234,_0x324888){const _0x4bee8a=_0x4bee();return _0xcfcf=function(_0xcfcfe5,_0x61a64a){_0xcfcfe5=_0xcfcfe5-0x142;let _0x434e18=_0x4bee8a[_0xcfcfe5];return _0x434e18;},_0xcfcf(_0x327234,_0x324888);}export class AIChatFeedReplyItemView extends _0x3df4e9{[_0x50d2ac(0x151)];constructor(_0x1efa41,_0x4971b5){const _0x276c11=_0x50d2ac;super(_0x4971b5),this[_0x276c11(0x15c)]=_0x1efa41,this[_0x276c11(0x142)]({'attributes':{'class':[_0x276c11(0x157)]}}),this[_0x276c11(0x151)]=new _0x3286dd(),this[_0x276c11(0x151)][_0x276c11(0x161)]({'tag':_0x276c11(0x14e),'attributes':{'class':['ck',_0x276c11(0x159),_0x276c11(0x154)]}}),this[_0x276c11(0x158)][_0x276c11(0x162)](this[_0x276c11(0x151)]);}async[_0x50d2ac(0x148)](){const _0x1e39ba=_0x50d2ac;super[_0x1e39ba(0x148)](),this[_0x1e39ba(0x160)][_0x1e39ba(0x164)]&&(await this[_0x1e39ba(0x15f)]({'parsedContent':_0x16f8d6(this[_0x1e39ba(0x160)][_0x1e39ba(0x164)]),'renderingStrategy':_0x1e39ba(0x15a)}),this[_0x1e39ba(0x14d)]());}async[_0x50d2ac(0x15f)]({parsedContent:_0x1f3f4e,renderingStrategy:_0x432869,abortSignal:_0x2020be}){const _0x3a9a6f=_0x50d2ac;_0x3a9a6f(0x146)===_0x432869?await this[_0x3a9a6f(0x150)](_0x1f3f4e,this[_0x3a9a6f(0x151)][_0x3a9a6f(0x15d)],_0x2020be):this[_0x3a9a6f(0x151)][_0x3a9a6f(0x15d)][_0x3a9a6f(0x153)]=_0x84143e(_0x1f3f4e);}[_0x50d2ac(0x143)](_0x31b383){const _0x8f7fde=_0x50d2ac,_0x3689e3=new _0x5825e2(this[_0x8f7fde(0x15c)]);_0x3689e3[_0x8f7fde(0x158)][_0x8f7fde(0x149)](_0x31b383[_0x8f7fde(0x145)](_0x1644bc=>new _0x55d192(this[_0x8f7fde(0x15c)],_0x1644bc))),_0x3689e3[_0x8f7fde(0x14f)]=!0x0,this[_0x8f7fde(0x158)][_0x8f7fde(0x162)](_0x3689e3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xdaca80=_0x23aa;(function(_0x2e08e9,_0x116a33){const _0x497e9a=_0x23aa,_0x27641f=_0x2e08e9();while(!![]){try{const _0xa1a58c=parseInt(_0x497e9a(0x194))/0x1*(parseInt(_0x497e9a(0x196))/0x2)+parseInt(_0x497e9a(0x1c7))/0x3+-parseInt(_0x497e9a(0x1a8))/0x4*(parseInt(_0x497e9a(0x1a3))/0x5)+parseInt(_0x497e9a(0x1a2))/0x6*(-parseInt(_0x497e9a(0x1b7))/0x7)+-parseInt(_0x497e9a(0x1df))/0x8+parseInt(_0x497e9a(0x1a9))/0x9*(-parseInt(_0x497e9a(0x1cd))/0xa)+parseInt(_0x497e9a(0x1d7))/0xb*(parseInt(_0x497e9a(0x1de))/0xc);if(_0xa1a58c===_0x116a33)break;else _0x27641f['push'](_0x27641f['shift']());}catch(_0x1cee38){_0x27641f['push'](_0x27641f['shift']());}}}(_0x5f49,0x55039));import{KeystrokeHandler as _0x228a2e}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x622373,BodyCollection as _0x25eaef,ButtonView as _0x423369,clickOutsideHandler as _0x4db55c,ListItemButtonView as _0x2bc0a5,ListItemView as _0x49fac1,ListView as _0x3e2bdd,SplitButtonView as _0x49116a,UIModel as _0x8f5186,View as _0x36c386}from'ckeditor5/src/ui.js';import{IconCheck as _0x2dbfb8,IconAddComment as _0x44132d,IconDocumentWithLoupe as _0x2d6111}from'ckeditor5/src/icons.js';import{getTranslation as _0x2bdf2b}from'../../../aicore/utils/common-translations.js';function _0x23aa(_0x8e2a0c,_0x34ef7e){const _0x5f497c=_0x5f49();return _0x23aa=function(_0x23aaa8,_0x45a826){_0x23aaa8=_0x23aaa8-0x187;let _0x445c44=_0x5f497c[_0x23aaa8];return _0x445c44;},_0x23aa(_0x8e2a0c,_0x34ef7e);}export const AI_REPLY_ACTIONS=[_0xdaca80(0x1ad),_0xdaca80(0x1d4),_0xdaca80(0x1aa)];export class AIChatFeedSuggestionItemActionsView extends _0x36c386{[_0xdaca80(0x1a4)];[_0xdaca80(0x1a5)];[_0xdaca80(0x1dd)];[_0xdaca80(0x1c9)];[_0xdaca80(0x1a1)];[_0xdaca80(0x1d6)]=0x1;[_0xdaca80(0x1d9)];[_0xdaca80(0x1c5)];[_0xdaca80(0x1af)]=!0x0;constructor(_0x2c9133,_0x4cdb37){const _0x25a30f=_0xdaca80;super(_0x2c9133),this[_0x25a30f(0x1d9)]=_0x4cdb37||[...AI_REPLY_ACTIONS],this[_0x25a30f(0x1c5)]=[...this[_0x25a30f(0x1d9)]];const _0x301c65=this[_0x25a30f(0x1e0)];this[_0x25a30f(0x1bd)](_0x25a30f(0x1c2),!0x0),this[_0x25a30f(0x1bd)](_0x25a30f(0x1ca),!0x0),this[_0x25a30f(0x1bd)](_0x25a30f(0x1a7),!0x1),this[_0x25a30f(0x1dd)]=new _0x8f5186({'label':Pn(_0x25a30f(0x1ad),_0x2c9133,this[_0x25a30f(0x1d6)]),'icon':_0x2dbfb8,'withText':!0x0,'type':_0x25a30f(0x190),'actionName':_0x25a30f(0x1ad)}),this[_0x25a30f(0x1c9)]=new _0x8f5186({'label':Pn(_0x25a30f(0x1aa),_0x2c9133,this[_0x25a30f(0x1d6)]),'icon':_0x2d6111,'withText':!0x0,'type':_0x25a30f(0x190),'actionName':_0x25a30f(0x1aa)}),this[_0x25a30f(0x1a1)]=new _0x8f5186({'label':Pn(_0x25a30f(0x1d4),_0x2c9133,this[_0x25a30f(0x1d6)]),'icon':_0x44132d,'withText':!0x0,'type':_0x25a30f(0x190),'actionName':_0x25a30f(0x1d4)}),this[_0x25a30f(0x1a4)]=this[_0x25a30f(0x1cf)](_0x2c9133),this[_0x25a30f(0x1a5)]=this[_0x25a30f(0x1c4)](),this[_0x25a30f(0x1a4)]&&this[_0x25a30f(0x1a5)][_0x25a30f(0x199)](this[_0x25a30f(0x1a4)]),this[_0x25a30f(0x1a0)]({'tag':_0x25a30f(0x1b2),'attributes':{'class':['ck',_0x25a30f(0x18f),_0x301c65['if'](_0x25a30f(0x1ca),_0x25a30f(0x19b),_0x1eb256=>!_0x1eb256)]},'children':this[_0x25a30f(0x1a5)]}),this['on'](_0x25a30f(0x1c1),()=>{const _0x1249bd=_0x25a30f;this[_0x1249bd(0x1c5)]=this[_0x1249bd(0x1a7)]?this[_0x1249bd(0x1d9)][_0x1249bd(0x1e4)](_0x185bb5=>_0x1249bd(0x1ad)!==_0x185bb5):[...this[_0x1249bd(0x1d9)]],this[_0x1249bd(0x1e3)](_0x2c9133);});}[_0xdaca80(0x1e3)](_0x32787c){const _0x1b96f6=_0xdaca80;this[_0x1b96f6(0x1a4)]&&this[_0x1b96f6(0x1a5)][_0x1b96f6(0x192)](this[_0x1b96f6(0x1a4)])&&(this[_0x1b96f6(0x1a5)][_0x1b96f6(0x1ae)](this[_0x1b96f6(0x1a4)]),this[_0x1b96f6(0x1a4)][_0x1b96f6(0x1db)]()),this[_0x1b96f6(0x1a4)]=this[_0x1b96f6(0x1cf)](_0x32787c),this[_0x1b96f6(0x1a4)]&&this[_0x1b96f6(0x1a5)][_0x1b96f6(0x199)](this[_0x1b96f6(0x1a4)]);}[_0xdaca80(0x1cf)](_0x28981b){const _0x511e7a=_0xdaca80;if(0x0==this[_0x511e7a(0x1c5)][_0x511e7a(0x189)])return null;const _0xbb95e0=0x1===this[_0x511e7a(0x1c5)][_0x511e7a(0x189)]?this[_0x511e7a(0x191)](_0x28981b):this[_0x511e7a(0x1bf)](_0x28981b),_0x3091d6=this[_0x511e7a(0x1af)]?'':_0x511e7a(0x1b4);_0xbb95e0[_0x511e7a(0x1bd)]({'label':Pn(this[_0x511e7a(0x1c5)][0x0],_0x28981b,this[_0x511e7a(0x1d6)]),'tooltip':Hn(this[_0x511e7a(0x1c5)][0x0],_0x28981b,this[_0x511e7a(0x1d6)]),'withText':!0x0,'class':_0x511e7a(0x19a)+_0x3091d6});for(const _0x2db284 of this[_0x511e7a(0x1c5)])_0xbb95e0['on'](_0x2db284,()=>{const _0x1475c6=_0x511e7a;this[_0x1475c6(0x1e6)](_0x2db284);});return this[_0x511e7a(0x1af)]=!0x1,_0xbb95e0;}[_0xdaca80(0x191)](_0x4c9d6c){const _0x2973a6=_0xdaca80,_0x524c33=new _0x423369(_0x4c9d6c);return _0x524c33[_0x2973a6(0x1bd)]({'class':_0x2973a6(0x1d3),'withText':!0x0}),_0x524c33['on'](_0x2973a6(0x187),()=>{const _0x23bd9c=_0x2973a6;_0x524c33[_0x23bd9c(0x1e6)](this[_0x23bd9c(0x1c5)][0x0]);}),_0x524c33;}[_0xdaca80(0x1bf)](_0x1b426a){const _0x701e2c=_0xdaca80,_0x3c9739=new Nn(_0x1b426a,{'listItemModels':this[_0x701e2c(0x1c5)][_0x701e2c(0x1b1)](_0x394085=>{const _0x4ca0f6=_0x701e2c;switch(_0x394085){case _0x4ca0f6(0x1ad):return this[_0x4ca0f6(0x1dd)];case _0x4ca0f6(0x1aa):return this[_0x4ca0f6(0x1c9)];case _0x4ca0f6(0x1d4):return this[_0x4ca0f6(0x1a1)];}})});return _0x3c9739[_0x701e2c(0x1bd)]({'label':Pn(this[_0x701e2c(0x1c5)][0x0],_0x1b426a,this[_0x701e2c(0x1d6)]),'tooltip':Hn(this[_0x701e2c(0x1c5)][0x0],_0x1b426a,this[_0x701e2c(0x1d6)]),'withText':!0x0,'class':_0x701e2c(0x18f),'balloonPanelClass':_0x701e2c(0x19d)}),_0x3c9739[_0x701e2c(0x193)](_0x701e2c(0x1c2))['to'](this),_0x3c9739;}[_0xdaca80(0x1e2)](_0x295225){const _0x38855c=_0xdaca80,_0x5af2a0=this[_0x38855c(0x195)];this[_0x38855c(0x1d6)]=_0x295225||this[_0x38855c(0x1d6)],this[_0x38855c(0x1a4)][_0x38855c(0x1bd)]({'label':Pn(this[_0x38855c(0x1c5)][0x0],_0x5af2a0,this[_0x38855c(0x1d6)]),'tooltip':Hn(this[_0x38855c(0x1c5)][0x0],_0x5af2a0,this[_0x38855c(0x1d6)])}),this[_0x38855c(0x1dd)][_0x38855c(0x19f)]=Pn(_0x38855c(0x1ad),_0x5af2a0,this[_0x38855c(0x1d6)]),this[_0x38855c(0x1c9)][_0x38855c(0x19f)]=Pn(_0x38855c(0x1aa),_0x5af2a0,this[_0x38855c(0x1d6)]),this[_0x38855c(0x1a1)][_0x38855c(0x19f)]=Pn(_0x38855c(0x1d4),_0x5af2a0,this[_0x38855c(0x1d6)]);}}class Nn extends _0x49116a{[_0xdaca80(0x1b8)];[_0xdaca80(0x1d0)];[_0xdaca80(0x1c0)];[_0xdaca80(0x1ba)];constructor(_0x160ff3,_0x2ae954){const _0x42185e=_0xdaca80;super(_0x160ff3),this[_0x42185e(0x1d0)]=new _0x622373(this[_0x42185e(0x195)]),this[_0x42185e(0x1b8)]=new _0x25eaef(this[_0x42185e(0x195)]),this[_0x42185e(0x1b8)][_0x42185e(0x19c)](),this[_0x42185e(0x1bd)](_0x42185e(0x197),''),this[_0x42185e(0x1d0)][_0x42185e(0x193)](_0x42185e(0x1ac))['to'](this,_0x42185e(0x197)),this[_0x42185e(0x1c0)]=this[_0x42185e(0x18a)](_0x2ae954[_0x42185e(0x1c3)][_0x42185e(0x1bb)](0x1)),this[_0x42185e(0x1b8)][_0x42185e(0x199)](this[_0x42185e(0x1d0)]),this[_0x42185e(0x1d0)][_0x42185e(0x18d)][_0x42185e(0x199)](this[_0x42185e(0x1c0)]),this[_0x42185e(0x19e)][_0x42185e(0x1bc)](_0x42185e(0x1cc)),this[_0x42185e(0x19e)][_0x42185e(0x1bd)](_0x42185e(0x1cc),_0x2bdf2b(this[_0x42185e(0x195)],_0x42185e(0x1d2))),this[_0x42185e(0x1dc)](),this['on'](_0x42185e(0x187),()=>{const _0x23c115=_0x42185e,_0x131a41=_0x2ae954[_0x23c115(0x1c3)][0x0][_0x23c115(0x1b3)];this[_0x23c115(0x1e6)](_0x131a41),this[_0x23c115(0x1d0)][_0x23c115(0x1b5)](),this[_0x23c115(0x19e)][_0x23c115(0x1ce)]();}),this['on'](_0x42185e(0x198),()=>{const _0x5c2a1a=_0x42185e;this[_0x5c2a1a(0x1d0)][_0x5c2a1a(0x1ca)]?(this[_0x5c2a1a(0x1d0)][_0x5c2a1a(0x1b5)](),this[_0x5c2a1a(0x19e)][_0x5c2a1a(0x1ce)]()):(this[_0x5c2a1a(0x1d0)][_0x5c2a1a(0x1d5)]({'target':this[_0x5c2a1a(0x1e8)],'positions':[_0x5c2a1a(0x1cb)===this[_0x5c2a1a(0x195)][_0x5c2a1a(0x1b0)]?Gn:yn]}),this[_0x5c2a1a(0x1c0)][_0x5c2a1a(0x1ce)]());}),_0x4db55c({'emitter':this[_0x42185e(0x1d0)],'callback':()=>{const _0x3c8b24=_0x42185e;this[_0x3c8b24(0x1d0)][_0x3c8b24(0x1b5)]();},'activator':()=>this[_0x42185e(0x1d0)][_0x42185e(0x1ca)],'contextElements':()=>[this[_0x42185e(0x1e8)],this[_0x42185e(0x1d0)][_0x42185e(0x1e8)]]});}[_0xdaca80(0x18a)](_0x192245){const _0x163521=_0xdaca80,_0x310fd0=this[_0x163521(0x195)],_0x9802f5=new _0x3e2bdd(_0x310fd0);for(const _0x5bdb12 of _0x192245){const _0x54972e=new _0x49fac1(_0x310fd0),_0x691b1a=new _0x2bc0a5(_0x310fd0);_0x691b1a[_0x163521(0x193)](...Object[_0x163521(0x18b)](_0x5bdb12))['to'](_0x5bdb12),_0x691b1a[_0x163521(0x1b6)](_0x163521(0x187))['to'](_0x9802f5),_0x54972e[_0x163521(0x1a5)][_0x163521(0x199)](_0x691b1a),_0x9802f5[_0x163521(0x1da)][_0x163521(0x199)](_0x54972e);}return _0x9802f5[_0x163521(0x1da)][_0x163521(0x1b6)](_0x163521(0x187))['to'](this),_0x9802f5['on'](_0x163521(0x187),_0x9bb878=>{const _0x2bd37c=_0x163521,_0x140a6b=_0x9bb878[_0x2bd37c(0x1e1)];this[_0x2bd37c(0x1e6)](_0x140a6b[_0x2bd37c(0x1b3)]),this[_0x2bd37c(0x1d0)][_0x2bd37c(0x1b5)](),this[_0x2bd37c(0x19e)][_0x2bd37c(0x1ce)]();}),_0x9802f5;}[_0xdaca80(0x1dc)](){const _0x13ccbc=_0xdaca80;this[_0x13ccbc(0x1ba)]=new _0x228a2e(),this[_0x13ccbc(0x1ba)][_0x13ccbc(0x1ab)](this[_0x13ccbc(0x1d0)][_0x13ccbc(0x1e8)]),this[_0x13ccbc(0x1ba)][_0x13ccbc(0x1bd)](_0x13ccbc(0x1a6),(_0x17a13c,_0x44ac1b)=>{const _0x4991d8=_0x13ccbc;this[_0x4991d8(0x1d0)][_0x4991d8(0x1b5)](),this[_0x4991d8(0x19e)][_0x4991d8(0x1ce)](),_0x44ac1b();});}[_0xdaca80(0x1db)](){const _0x438b19=_0xdaca80;super[_0x438b19(0x1db)](),this[_0x438b19(0x1ba)][_0x438b19(0x1db)](),this[_0x438b19(0x1d0)][_0x438b19(0x1db)](),this[_0x438b19(0x1b8)][_0x438b19(0x18c)]();}}function Gn(_0x236f81){const _0x21f07b=_0xdaca80;return{'top':_0x236f81[_0x21f07b(0x1c8)],'left':_0x236f81[_0x21f07b(0x1b9)],'name':_0x21f07b(0x18e),'config':{'withArrow':!0x1}};}function yn(_0x524317,_0x396a68){const _0x2ed0b0=_0xdaca80;return{'top':_0x524317[_0x2ed0b0(0x1c8)],'left':_0x524317[_0x2ed0b0(0x1b9)]-(_0x396a68[_0x2ed0b0(0x1e5)]-_0x524317[_0x2ed0b0(0x1e5)]),'name':_0x2ed0b0(0x18e),'config':{'withArrow':!0x1}};}function Pn(_0x524f3c,_0x4960b4,_0x2db83a){const _0x4d3ffc=_0xdaca80;switch(_0x524f3c){case _0x4d3ffc(0x1ad):return _0x2bdf2b(_0x4960b4,_0x4d3ffc(0x1d8),_0x2db83a);case _0x4d3ffc(0x1aa):return _0x2bdf2b(_0x4960b4,_0x4d3ffc(0x1be),_0x2db83a);case _0x4d3ffc(0x1d4):return _0x2bdf2b(_0x4960b4,_0x4d3ffc(0x1d1),_0x2db83a);}}function Hn(_0x1e3388,_0x42d405,_0x11360d){const _0x7b4da=_0xdaca80;switch(_0x1e3388){case _0x7b4da(0x1ad):return _0x2bdf2b(_0x42d405,_0x7b4da(0x1e7),_0x11360d);case _0x7b4da(0x1aa):return _0x2bdf2b(_0x42d405,_0x7b4da(0x188),_0x11360d);case _0x7b4da(0x1d4):return _0x2bdf2b(_0x42d405,_0x7b4da(0x1c6),_0x11360d);}}function _0x5f49(){const _0x50d2c7=['_dropdownCurrentConfig','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','1942821WAtAOX','bottom','showChangeInTextModel','isVisible','ltr','tooltip','30bHZvwh','focus','_createActionsDropdownOrButton','balloonPanelView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','ck-ai-button-primary','insertSuggestion','pin','_partsCount','319ClxfVb','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_dropdownOriginalConfig','items','destroy','_setUpKeystrokes','applySuggestionModel','361668tGtFYl','4124896xjTUhU','bindTemplate','source','updateLabels','_updateDropdownActions','filter','width','fire','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','element','execute','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','length','_setUpList','keys','detachFromDom','content','arrowless','ck-ai-chat__feed__ai-suggestion__actions','button','_createActionsButton','has','bind','1jWhOjb','locale','926434KMOXip','balloonPanelClass','open','add','ck-ai-chat__feed__ai-suggestion__actions\x20','ck-hidden','attachToDom','ck-ai-chat__feed__ai-suggestion__actions__balloon','arrowView','label','setTemplate','insertSuggestionModel','102oGPYyB','25TZGAKY','actionsButton','children','esc','isTrackChangesOn','159564sfmjNP','879651dewdlL','showChangeInText','listenTo','class','applySuggestion','remove','_firstRender','uiLanguageDirection','map','div','actionName','ck-ai-chat__feed__ai-suggestion__actions--no-animation','hide','delegate','258734mzuSRG','bodyCollection','left','keystrokeHandler','slice','unbind','set','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','_createActionsDropdown','listView','change:isTrackChangesOn','isEnabled','listItemModels','createCollection'];_0x5f49=function(){return _0x50d2c7;};return _0x5f49();}
|
|
23
|
+
const _0x1c10d8=_0x58a2;(function(_0x2a84a2,_0x1c6fa9){const _0x5d6217=_0x58a2,_0x4386c3=_0x2a84a2();while(!![]){try{const _0x173d01=-parseInt(_0x5d6217(0xdb))/0x1+parseInt(_0x5d6217(0x123))/0x2+-parseInt(_0x5d6217(0xd2))/0x3*(parseInt(_0x5d6217(0x101))/0x4)+-parseInt(_0x5d6217(0x113))/0x5*(-parseInt(_0x5d6217(0x126))/0x6)+parseInt(_0x5d6217(0xfb))/0x7+-parseInt(_0x5d6217(0xe9))/0x8*(parseInt(_0x5d6217(0x11b))/0x9)+-parseInt(_0x5d6217(0xd1))/0xa*(-parseInt(_0x5d6217(0xc8))/0xb);if(_0x173d01===_0x1c6fa9)break;else _0x4386c3['push'](_0x4386c3['shift']());}catch(_0xe0cbdb){_0x4386c3['push'](_0x4386c3['shift']());}}}(_0x5192,0x2de09));import{KeystrokeHandler as _0x286552}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2aec5b,BodyCollection as _0x26d380,ButtonView as _0x35695e,clickOutsideHandler as _0x50afb9,ListItemButtonView as _0x19f196,ListItemView as _0x2b04d3,ListView as _0x5120ff,SplitButtonView as _0x541d2f,UIModel as _0x9e1030,View as _0x421d78}from'ckeditor5/src/ui.js';import{IconCheck as _0x24f62b,IconAddComment as _0x245c7d,IconDocumentWithLoupe as _0x447f77}from'ckeditor5/src/icons.js';import{getTranslation as _0x29bda1}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x1c10d8(0xfc),_0x1c10d8(0xd5),_0x1c10d8(0x122)];export class AIChatFeedSuggestionItemActionsView extends _0x421d78{[_0x1c10d8(0xe7)];[_0x1c10d8(0xda)];[_0x1c10d8(0x10d)];[_0x1c10d8(0xce)];[_0x1c10d8(0xf2)];[_0x1c10d8(0x117)]=0x1;[_0x1c10d8(0xf1)];[_0x1c10d8(0xdd)];[_0x1c10d8(0xde)]=!0x0;constructor(_0x573f36,_0x10104d){const _0x21412f=_0x1c10d8;super(_0x573f36),this[_0x21412f(0xf1)]=_0x10104d||[...AI_REPLY_ACTIONS],this[_0x21412f(0xdd)]=[...this[_0x21412f(0xf1)]];const _0x2a8d45=this[_0x21412f(0x114)];this[_0x21412f(0xfd)](_0x21412f(0xd3),!0x0),this[_0x21412f(0xfd)](_0x21412f(0xee),!0x0),this[_0x21412f(0xfd)](_0x21412f(0xf5),!0x1),this[_0x21412f(0x10d)]=new _0x9e1030({'label':Ln(_0x21412f(0xfc),_0x573f36,this[_0x21412f(0x117)]),'icon':_0x24f62b,'withText':!0x0,'type':_0x21412f(0xea),'actionName':_0x21412f(0xfc)}),this[_0x21412f(0xce)]=new _0x9e1030({'label':Ln(_0x21412f(0x122),_0x573f36,this[_0x21412f(0x117)]),'icon':_0x447f77,'withText':!0x0,'type':_0x21412f(0xea),'actionName':_0x21412f(0x122)}),this[_0x21412f(0xf2)]=new _0x9e1030({'label':Ln(_0x21412f(0xd5),_0x573f36,this[_0x21412f(0x117)]),'icon':_0x245c7d,'withText':!0x0,'type':_0x21412f(0xea),'actionName':_0x21412f(0xd5)}),this[_0x21412f(0xe7)]=this[_0x21412f(0x121)](_0x573f36),this[_0x21412f(0xda)]=this[_0x21412f(0x128)](),this[_0x21412f(0xe7)]&&this[_0x21412f(0xda)][_0x21412f(0xf9)](this[_0x21412f(0xe7)]),this[_0x21412f(0xed)]({'tag':_0x21412f(0xd6),'attributes':{'class':['ck',_0x21412f(0xf6),_0x2a8d45['if'](_0x21412f(0xee),_0x21412f(0xc9),_0x14b1f9=>!_0x14b1f9)]},'children':this[_0x21412f(0xda)]}),this['on'](_0x21412f(0x103),()=>{const _0x1fe489=_0x21412f;this[_0x1fe489(0xdd)]=this[_0x1fe489(0xf5)]?this[_0x1fe489(0xf1)][_0x1fe489(0xe0)](_0x304359=>_0x1fe489(0xfc)!==_0x304359):[...this[_0x1fe489(0xf1)]],this[_0x1fe489(0xe5)](_0x573f36);});}[_0x1c10d8(0xe5)](_0x31c11b){const _0x502116=_0x1c10d8;this[_0x502116(0xe7)]&&this[_0x502116(0xda)][_0x502116(0xe1)](this[_0x502116(0xe7)])&&(this[_0x502116(0xda)][_0x502116(0x111)](this[_0x502116(0xe7)]),this[_0x502116(0xe7)][_0x502116(0xd9)]()),this[_0x502116(0xe7)]=this[_0x502116(0x121)](_0x31c11b),this[_0x502116(0xe7)]&&this[_0x502116(0xda)][_0x502116(0xf9)](this[_0x502116(0xe7)]);}[_0x1c10d8(0x121)](_0x1ac687){const _0x487311=_0x1c10d8;if(0x0==this[_0x487311(0xdd)][_0x487311(0xec)])return null;const _0x3a87d3=0x1===this[_0x487311(0xdd)][_0x487311(0xec)]?this[_0x487311(0xd7)](_0x1ac687):this[_0x487311(0x108)](_0x1ac687),_0x586728=this[_0x487311(0xde)]?'':_0x487311(0xe4);_0x3a87d3[_0x487311(0xfd)]({'label':Ln(this[_0x487311(0xdd)][0x0],_0x1ac687,this[_0x487311(0x117)]),'tooltip':Un(this[_0x487311(0xdd)][0x0],_0x1ac687,this[_0x487311(0x117)]),'withText':!0x0,'class':_0x487311(0xcf)+_0x586728});for(const _0x304628 of this[_0x487311(0xdd)])_0x3a87d3['on'](_0x304628,()=>{const _0x4713b0=_0x487311;this[_0x4713b0(0xf8)](_0x304628);});return this[_0x487311(0xde)]=!0x1,_0x3a87d3;}[_0x1c10d8(0xd7)](_0x45345c){const _0x36e64a=_0x1c10d8,_0x27484c=new _0x35695e(_0x45345c);return _0x27484c[_0x36e64a(0xfd)]({'class':_0x36e64a(0xe8),'withText':!0x0}),_0x27484c['on'](_0x36e64a(0xfa),()=>{const _0x2e7fb5=_0x36e64a;_0x27484c[_0x2e7fb5(0xf8)](this[_0x2e7fb5(0xdd)][0x0]);}),_0x27484c;}[_0x1c10d8(0x108)](_0x19d3f3){const _0x554a2d=_0x1c10d8,_0x19fa0b=new yn(_0x19d3f3,{'listItemModels':this[_0x554a2d(0xdd)][_0x554a2d(0x10e)](_0x269558=>{const _0x3f520b=_0x554a2d;switch(_0x269558){case _0x3f520b(0xfc):return this[_0x3f520b(0x10d)];case _0x3f520b(0x122):return this[_0x3f520b(0xce)];case _0x3f520b(0xd5):return this[_0x3f520b(0xf2)];}})});return _0x19fa0b[_0x554a2d(0xfd)]({'label':Ln(this[_0x554a2d(0xdd)][0x0],_0x19d3f3,this[_0x554a2d(0x117)]),'tooltip':Un(this[_0x554a2d(0xdd)][0x0],_0x19d3f3,this[_0x554a2d(0x117)]),'withText':!0x0,'class':_0x554a2d(0xf6),'balloonPanelClass':_0x554a2d(0x106)}),_0x19fa0b[_0x554a2d(0x11e)](_0x554a2d(0xd3))['to'](this),_0x19fa0b;}[_0x1c10d8(0x127)](_0x1afd20){const _0xe33ab0=_0x1c10d8,_0x3131cf=this[_0xe33ab0(0x107)];this[_0xe33ab0(0x117)]=_0x1afd20||this[_0xe33ab0(0x117)],this[_0xe33ab0(0xe7)][_0xe33ab0(0xfd)]({'label':Ln(this[_0xe33ab0(0xdd)][0x0],_0x3131cf,this[_0xe33ab0(0x117)]),'tooltip':Un(this[_0xe33ab0(0xdd)][0x0],_0x3131cf,this[_0xe33ab0(0x117)])}),this[_0xe33ab0(0x10d)][_0xe33ab0(0xf0)]=Ln(_0xe33ab0(0xfc),_0x3131cf,this[_0xe33ab0(0x117)]),this[_0xe33ab0(0xce)][_0xe33ab0(0xf0)]=Ln(_0xe33ab0(0x122),_0x3131cf,this[_0xe33ab0(0x117)]),this[_0xe33ab0(0xf2)][_0xe33ab0(0xf0)]=Ln(_0xe33ab0(0xd5),_0x3131cf,this[_0xe33ab0(0x117)]);}}class yn extends _0x541d2f{[_0x1c10d8(0x100)];[_0x1c10d8(0xca)];[_0x1c10d8(0xdf)];[_0x1c10d8(0x115)];constructor(_0x21507d,_0x820bb8){const _0x1dc25f=_0x1c10d8;super(_0x21507d),this[_0x1dc25f(0xca)]=new _0x2aec5b(this[_0x1dc25f(0x107)]),this[_0x1dc25f(0x100)]=new _0x26d380(this[_0x1dc25f(0x107)]),this[_0x1dc25f(0x100)][_0x1dc25f(0xcc)](),this[_0x1dc25f(0xfd)](_0x1dc25f(0x10b),''),this[_0x1dc25f(0xca)][_0x1dc25f(0x11e)](_0x1dc25f(0xd4))['to'](this,_0x1dc25f(0x10b)),this[_0x1dc25f(0xdf)]=this[_0x1dc25f(0x118)](_0x820bb8[_0x1dc25f(0xeb)][_0x1dc25f(0xe3)](0x1)),this[_0x1dc25f(0x100)][_0x1dc25f(0xf9)](this[_0x1dc25f(0xca)]),this[_0x1dc25f(0xca)][_0x1dc25f(0xf4)][_0x1dc25f(0xf9)](this[_0x1dc25f(0xdf)]),this[_0x1dc25f(0x125)][_0x1dc25f(0xd0)](_0x1dc25f(0x109)),this[_0x1dc25f(0x125)][_0x1dc25f(0xfd)](_0x1dc25f(0x109),_0x29bda1(this[_0x1dc25f(0x107)],_0x1dc25f(0xff))),this[_0x1dc25f(0xf3)](),this['on'](_0x1dc25f(0xfa),()=>{const _0x484cc9=_0x1dc25f,_0x37b304=_0x820bb8[_0x484cc9(0xeb)][0x0][_0x484cc9(0x124)];this[_0x484cc9(0xf8)](_0x37b304),this[_0x484cc9(0xca)][_0x484cc9(0xef)](),this[_0x484cc9(0x125)][_0x484cc9(0xe2)]();}),this['on'](_0x1dc25f(0xf7),()=>{const _0x5a9343=_0x1dc25f;this[_0x5a9343(0xca)][_0x5a9343(0xee)]?(this[_0x5a9343(0xca)][_0x5a9343(0xef)](),this[_0x5a9343(0x125)][_0x5a9343(0xe2)]()):(this[_0x5a9343(0xca)][_0x5a9343(0x120)]({'target':this[_0x5a9343(0x11d)],'positions':[_0x5a9343(0x104)===this[_0x5a9343(0x107)][_0x5a9343(0x11f)]?Pn:Hn]}),this[_0x5a9343(0xdf)][_0x5a9343(0xe2)]());}),_0x50afb9({'emitter':this[_0x1dc25f(0xca)],'callback':()=>{const _0x4664d5=_0x1dc25f;this[_0x4664d5(0xca)][_0x4664d5(0xef)]();},'activator':()=>this[_0x1dc25f(0xca)][_0x1dc25f(0xee)],'contextElements':()=>[this[_0x1dc25f(0x11d)],this[_0x1dc25f(0xca)][_0x1dc25f(0x11d)]]});}[_0x1c10d8(0x118)](_0xf7718a){const _0x3aab03=_0x1c10d8,_0x5c9e3b=this[_0x3aab03(0x107)],_0x4b7d6d=new _0x5120ff(_0x5c9e3b);for(const _0x5d0abc of _0xf7718a){const _0x344390=new _0x2b04d3(_0x5c9e3b),_0x210bc7=new _0x19f196(_0x5c9e3b);_0x210bc7[_0x3aab03(0x11e)](...Object[_0x3aab03(0x116)](_0x5d0abc))['to'](_0x5d0abc),_0x210bc7[_0x3aab03(0x11a)](_0x3aab03(0xfa))['to'](_0x4b7d6d),_0x344390[_0x3aab03(0xda)][_0x3aab03(0xf9)](_0x210bc7),_0x4b7d6d[_0x3aab03(0x10c)][_0x3aab03(0xf9)](_0x344390);}return _0x4b7d6d[_0x3aab03(0x10c)][_0x3aab03(0x11a)](_0x3aab03(0xfa))['to'](this),_0x4b7d6d['on'](_0x3aab03(0xfa),_0x41eaf6=>{const _0x2d44ac=_0x3aab03,_0x4a6054=_0x41eaf6[_0x2d44ac(0x102)];this[_0x2d44ac(0xf8)](_0x4a6054[_0x2d44ac(0x124)]),this[_0x2d44ac(0xca)][_0x2d44ac(0xef)](),this[_0x2d44ac(0x125)][_0x2d44ac(0xe2)]();}),_0x4b7d6d;}[_0x1c10d8(0xf3)](){const _0x297fae=_0x1c10d8;this[_0x297fae(0x115)]=new _0x286552(),this[_0x297fae(0x115)][_0x297fae(0x110)](this[_0x297fae(0xca)][_0x297fae(0x11d)]),this[_0x297fae(0x115)][_0x297fae(0xfd)](_0x297fae(0xdc),(_0x51219c,_0x579ff3)=>{const _0x3ca4ca=_0x297fae;this[_0x3ca4ca(0xca)][_0x3ca4ca(0xef)](),this[_0x3ca4ca(0x125)][_0x3ca4ca(0xe2)](),_0x579ff3();});}[_0x1c10d8(0xd9)](){const _0x4dcfbe=_0x1c10d8;super[_0x4dcfbe(0xd9)](),this[_0x4dcfbe(0x115)][_0x4dcfbe(0xd9)](),this[_0x4dcfbe(0xca)][_0x4dcfbe(0xd9)](),this[_0x4dcfbe(0x100)][_0x4dcfbe(0xcb)]();}}function Pn(_0x3dcd3d){const _0x518ef2=_0x1c10d8;return{'top':_0x3dcd3d[_0x518ef2(0x10a)],'left':_0x3dcd3d[_0x518ef2(0xe6)],'name':_0x518ef2(0x119),'config':{'withArrow':!0x1}};}function Hn(_0x10a27c,_0x55024f){const _0x2bb9b2=_0x1c10d8;return{'top':_0x10a27c[_0x2bb9b2(0x10a)],'left':_0x10a27c[_0x2bb9b2(0xe6)]-(_0x55024f[_0x2bb9b2(0x112)]-_0x10a27c[_0x2bb9b2(0x112)]),'name':_0x2bb9b2(0x119),'config':{'withArrow':!0x1}};}function Ln(_0x5b77ca,_0x5b410a,_0x4871b0){const _0x2425d2=_0x1c10d8;switch(_0x5b77ca){case _0x2425d2(0xfc):return _0x29bda1(_0x5b410a,_0x2425d2(0x10f),_0x4871b0);case _0x2425d2(0x122):return _0x29bda1(_0x5b410a,_0x2425d2(0x105),_0x4871b0);case _0x2425d2(0xd5):return _0x29bda1(_0x5b410a,_0x2425d2(0xfe),_0x4871b0);}}function _0x58a2(_0x36a957,_0x32ec6a){const _0x5192c0=_0x5192();return _0x58a2=function(_0x58a2a4,_0x45cb08){_0x58a2a4=_0x58a2a4-0xc8;let _0x489ee3=_0x5192c0[_0x58a2a4];return _0x489ee3;},_0x58a2(_0x36a957,_0x32ec6a);}function Un(_0x3f6449,_0x2be635,_0x1cae8f){const _0x54b510=_0x1c10d8;switch(_0x3f6449){case _0x54b510(0xfc):return _0x29bda1(_0x2be635,_0x54b510(0x11c),_0x1cae8f);case _0x54b510(0x122):return _0x29bda1(_0x2be635,_0x54b510(0xcd),_0x1cae8f);case _0x54b510(0xd5):return _0x29bda1(_0x2be635,_0x54b510(0xd8),_0x1cae8f);}}function _0x5192(){const _0x277e96=['_createActionsDropdown','tooltip','bottom','balloonPanelClass','items','applySuggestionModel','map','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','listenTo','remove','width','20HeUKKc','bindTemplate','keystrokeHandler','keys','_partsCount','_setUpList','arrowless','delegate','45ciGttL','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','element','bind','uiLanguageDirection','pin','_createActionsDropdownOrButton','showChangeInText','155548HbFxMG','actionName','arrowView','213018EgatdQ','updateLabels','createCollection','11wPCcde','ck-hidden','balloonPanelView','detachFromDom','attachToDom','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','showChangeInTextModel','ck-ai-chat__feed__ai-suggestion__actions\x20','unbind','5181780oYjAkw','6WeLtRk','isEnabled','class','insertSuggestion','div','_createActionsButton','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','destroy','children','135609IIZNRr','esc','_dropdownCurrentConfig','_firstRender','listView','filter','has','focus','slice','ck-ai-chat__feed__ai-suggestion__actions--no-animation','_updateDropdownActions','left','actionsButton','ck-ai-button-primary','244296qaiddz','button','listItemModels','length','setTemplate','isVisible','hide','label','_dropdownOriginalConfig','insertSuggestionModel','_setUpKeystrokes','content','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion__actions','open','fire','add','execute','473725UIsKlr','applySuggestion','set','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','bodyCollection','658864GBjnxK','source','change:isTrackChangesOn','ltr','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','ck-ai-chat__feed__ai-suggestion__actions__balloon','locale'];_0x5192=function(){return _0x277e96;};return _0x5192();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xdf28e1=_0x177d;(function(_0xd8a9c9,_0x21c63b){var _0x7d6804=_0x177d,_0x2ed248=_0xd8a9c9();while(!![]){try{var _0x5a443e=-parseInt(_0x7d6804(0x155))/0x1*(-parseInt(_0x7d6804(0x171))/0x2)+-parseInt(_0x7d6804(0x16c))/0x3*(-parseInt(_0x7d6804(0x173))/0x4)+-parseInt(_0x7d6804(0x172))/0x5*(parseInt(_0x7d6804(0x14c))/0x6)+parseInt(_0x7d6804(0x154))/0x7*(-parseInt(_0x7d6804(0x15b))/0x8)+-parseInt(_0x7d6804(0x175))/0x9*(parseInt(_0x7d6804(0x150))/0xa)+-parseInt(_0x7d6804(0x151))/0xb+parseInt(_0x7d6804(0x161))/0xc*(parseInt(_0x7d6804(0x14b))/0xd);if(_0x5a443e===_0x21c63b)break;else _0x2ed248['push'](_0x2ed248['shift']());}catch(_0x1c5382){_0x2ed248['push'](_0x2ed248['shift']());}}}(_0x3a3f,0xb7ac8));import{AIChatFeedItemView as _0x468003}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x94f713}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x3a3f(){var _0x2b5290=['showDiff','isEnabled','extendTemplate','updateContent','availableActions','containerView','mouseLeaveSuggestion','453ylBGAS','set','isVisible','mouseOverSuggestion','toggleSuggestionDisplayMode','148076BZlNwm','64385OmfCKK','18840wYweXc','ck-ai-chat__feed__ai-suggestion','9mdGubz','like','actionsView','hasNonEmptyParts','applySuggestion','options','1744496bZHAzO','402YuIbZa','isTrackChangesOn','bodyView','dislike','8607010AMBBbO','10311169dcRoIn','updateSources','hasPendingParts','35231ErtbFd','13bpGviq','insertSuggestion','areActionsDisabled','rejectSuggestion','addMany','updatePartState','8TVrNBd','markAsDone','showChangeInText','bind','updateLabels','fire','156sLNyul','getPartView','children','partsCount'];_0x3a3f=function(){return _0x2b5290;};return _0x3a3f();}function _0x177d(_0x588b55,_0x2ee788){var _0x3a3fa5=_0x3a3f();return _0x177d=function(_0x177db9,_0x20bba2){_0x177db9=_0x177db9-0x146;var _0x45eb9e=_0x3a3fa5[_0x177db9];return _0x45eb9e;},_0x177d(_0x588b55,_0x2ee788);}import{AIChatFeedSuggestionItemActionsView as _0x57296e}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x468003{[_0xdf28e1(0x16a)];[_0xdf28e1(0x147)];constructor(_0x9fa3c2,_0x13bde8){var _0x131486=_0xdf28e1;super(_0x13bde8),this[_0x131486(0x16d)](_0x131486(0x14d),!0x1),this[_0x131486(0x16a)]=new _0x94f713(_0x9fa3c2,{'showDiff':_0x13bde8[_0x131486(0x165)],'areActionsDisabled':_0x13bde8[_0x131486(0x157)],'availableActions':_0x13bde8[_0x131486(0x169)]}),this[_0x131486(0x16a)]['on'](_0x131486(0x170),(_0x3e919c,_0x23c046)=>{var _0x46f811=_0x131486;this[_0x46f811(0x160)](_0x46f811(0x170),{'replyId':this[_0x46f811(0x14a)]['id'],'showDiff':_0x23c046[_0x46f811(0x165)]});}),this[_0x131486(0x16a)]['on'](_0x131486(0x146),()=>{var _0x7947fc=_0x131486;this[_0x7947fc(0x160)](_0x7947fc(0x146),{'replyId':this[_0x7947fc(0x14a)]['id']});}),this[_0x131486(0x16a)]['on'](_0x131486(0x14f),()=>{var _0x40af43=_0x131486;this[_0x40af43(0x160)](_0x40af43(0x14f),{'replyId':this[_0x40af43(0x14a)]['id']});}),this[_0x131486(0x16a)]['on'](_0x131486(0x15d),(_0xbddc90,{index:_0x3b3f8d})=>{var _0x1cf579=_0x131486;this[_0x1cf579(0x160)](_0x1cf579(0x15d),{'replyId':this[_0x1cf579(0x14a)]['id'],'partIndex':_0x3b3f8d});}),this[_0x131486(0x16a)]['on'](_0x131486(0x156),(_0x4b9888,{index:_0x2bafd9})=>{var _0x402e10=_0x131486;this[_0x402e10(0x160)](_0x402e10(0x156),{'replyId':this[_0x402e10(0x14a)]['id'],'partIndex':_0x2bafd9});}),this[_0x131486(0x16a)]['on'](_0x131486(0x158),(_0x5123fa,{index:_0x643cdd})=>{var _0x1b69a4=_0x131486;this[_0x1b69a4(0x160)](_0x1b69a4(0x158),{'replyId':this[_0x1b69a4(0x14a)]['id'],'partIndex':_0x643cdd});}),this[_0x131486(0x16a)]['on'](_0x131486(0x16f),(_0x10a3f9,{index:_0x575d34})=>{var _0x5bdfdd=_0x131486;this[_0x5bdfdd(0x160)](_0x5bdfdd(0x16f),{'replyId':this[_0x5bdfdd(0x14a)]['id'],'partIndex':_0x575d34});}),this[_0x131486(0x16a)]['on'](_0x131486(0x16b),(_0x3929cd,{index:_0x1e62e8})=>{var _0x1b3a95=_0x131486;this[_0x1b3a95(0x160)](_0x1b3a95(0x16b),{'replyId':this[_0x1b3a95(0x14a)]['id'],'partIndex':_0x1e62e8});}),this[_0x131486(0x147)]=new _0x57296e(_0x9fa3c2,this[_0x131486(0x14a)][_0x131486(0x169)]),this[_0x131486(0x147)][_0x131486(0x15e)](_0x131486(0x14d))['to'](this,_0x131486(0x14d)),this[_0x131486(0x147)]['on'](_0x131486(0x15d),()=>{var _0x23a6aa=_0x131486;this[_0x23a6aa(0x160)](_0x23a6aa(0x15d),{'replyId':this[_0x23a6aa(0x14a)]['id']});}),this[_0x131486(0x147)]['on'](_0x131486(0x156),()=>{var _0x47017b=_0x131486;this[_0x47017b(0x160)](_0x47017b(0x156),{'replyId':this[_0x47017b(0x14a)]['id']});}),this[_0x131486(0x147)]['on'](_0x131486(0x149),()=>{var _0x52298a=_0x131486;this[_0x52298a(0x160)](_0x52298a(0x149),{'replyId':this[_0x52298a(0x14a)]['id']});}),_0x13bde8[_0x131486(0x157)]?this[_0x131486(0x147)][_0x131486(0x166)]=!0x1:this[_0x131486(0x147)][_0x131486(0x15e)](_0x131486(0x166))['to'](this[_0x131486(0x16a)][_0x131486(0x14e)],_0x131486(0x153)),this[_0x131486(0x163)][_0x131486(0x159)]([this[_0x131486(0x16a)],this[_0x131486(0x147)]]),this[_0x131486(0x167)]({'attributes':{'class':[_0x131486(0x174)]}});}async[_0xdf28e1(0x168)](_0x4aeb69){var _0x59c54f=_0xdf28e1;await this[_0x59c54f(0x16a)][_0x59c54f(0x168)](_0x4aeb69),this[_0x59c54f(0x147)][_0x59c54f(0x15f)](this[_0x59c54f(0x16a)][_0x59c54f(0x14e)][_0x59c54f(0x164)]);}[_0xdf28e1(0x15a)](_0x1d5e75,_0x108a9a){var _0x2e0b1a=_0xdf28e1;this[_0x2e0b1a(0x16a)][_0x2e0b1a(0x14e)][_0x2e0b1a(0x15a)](_0x1d5e75,_0x108a9a);}[_0xdf28e1(0x152)](_0x226edb){var _0x521cbc=_0xdf28e1;this[_0x521cbc(0x16a)][_0x521cbc(0x152)](_0x226edb);}[_0xdf28e1(0x162)](_0x1d4a47){var _0x3852f3=_0xdf28e1;return this[_0x3852f3(0x16a)][_0x3852f3(0x14e)][_0x3852f3(0x162)](_0x1d4a47);}[_0xdf28e1(0x15c)](){var _0x155c76=_0xdf28e1;super[_0x155c76(0x15c)](),this[_0x155c76(0x16a)][_0x155c76(0x15c)](),this[_0x155c76(0x147)][_0x155c76(0x16e)]=this[_0x155c76(0x16a)][_0x155c76(0x14e)][_0x155c76(0x148)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x54e2e8=_0x3022;(function(_0x584eb2,_0x56ef64){var _0x19e4b1=_0x3022,_0xe7e30b=_0x584eb2();while(!![]){try{var _0x101521=-parseInt(_0x19e4b1(0xa6))/0x1*(-parseInt(_0x19e4b1(0x86))/0x2)+-parseInt(_0x19e4b1(0xa4))/0x3*(-parseInt(_0x19e4b1(0x8f))/0x4)+parseInt(_0x19e4b1(0x91))/0x5+parseInt(_0x19e4b1(0x96))/0x6*(parseInt(_0x19e4b1(0xa2))/0x7)+-parseInt(_0x19e4b1(0x85))/0x8*(-parseInt(_0x19e4b1(0xa1))/0x9)+parseInt(_0x19e4b1(0xa3))/0xa*(-parseInt(_0x19e4b1(0x99))/0xb)+-parseInt(_0x19e4b1(0x89))/0xc*(parseInt(_0x19e4b1(0x87))/0xd);if(_0x101521===_0x56ef64)break;else _0xe7e30b['push'](_0xe7e30b['shift']());}catch(_0x2b227c){_0xe7e30b['push'](_0xe7e30b['shift']());}}}(_0x38be,0x4e9fb));import{AIChatFeedItemView as _0x3132c1}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x5316d6}from'./aichatfeedcontextchipsview.js';import{View as _0x2502a3}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x3132c1{[_0x54e2e8(0x8d)]=null;[_0x54e2e8(0x9a)];[_0x54e2e8(0x92)];[_0x54e2e8(0x8a)];constructor(_0x5d49a3,_0x50a121,_0x3d0a53){var _0x1b29f6=_0x54e2e8;super(_0x50a121),this[_0x1b29f6(0x9a)]=_0x5d49a3,this[_0x1b29f6(0x92)]=_0x3d0a53,this[_0x1b29f6(0x8e)](),this[_0x1b29f6(0x93)](),this[_0x1b29f6(0xa8)]({'attributes':{'class':[_0x1b29f6(0x88)]}});}[_0x54e2e8(0x8e)](){var _0x29191b=_0x54e2e8;this[_0x29191b(0x9c)][_0x29191b(0x95)]&&this[_0x29191b(0x9c)][_0x29191b(0x95)][_0x29191b(0xa7)]>0x0&&(this[_0x29191b(0x8d)]=new _0x5316d6(this[_0x29191b(0x9a)],this[_0x29191b(0x9c)][_0x29191b(0x95)][_0x29191b(0x94)](_0x22a2e1=>!_0x22a2e1[_0x29191b(0x9d)]),this[_0x29191b(0x92)]),this[_0x29191b(0x8d)][_0x29191b(0xa8)]({'attributes':{'class':_0x29191b(0x9e)}}),this[_0x29191b(0x9b)][_0x29191b(0x97)](this[_0x29191b(0x8d)]));}[_0x54e2e8(0x93)](){var _0x3e2ea8=_0x54e2e8;this[_0x3e2ea8(0x8a)]=new _0x2502a3(this[_0x3e2ea8(0x9a)]),this[_0x3e2ea8(0x8a)][_0x3e2ea8(0x8c)]({'tag':_0x3e2ea8(0x84),'attributes':{'class':_0x3e2ea8(0xa5)}}),this[_0x3e2ea8(0x9b)][_0x3e2ea8(0x97)](this[_0x3e2ea8(0x8a)]);}[_0x54e2e8(0x9f)](){var _0x426ab2=_0x54e2e8;super[_0x426ab2(0x9f)](),this[_0x426ab2(0x8a)][_0x426ab2(0x8b)][_0x426ab2(0x90)]=this[_0x426ab2(0x9c)][_0x426ab2(0xa0)],this[_0x426ab2(0x98)]();}}function _0x3022(_0x3c783d,_0x38a307){var _0x38be7f=_0x38be();return _0x3022=function(_0x30229d,_0x5af8d6){_0x30229d=_0x30229d-0x84;var _0x1c1dcd=_0x38be7f[_0x30229d];return _0x1c1dcd;},_0x3022(_0x3c783d,_0x38a307);}function _0x38be(){var _0x51b516=['_locale','children','options','hidden','ck-ai-chat__feed__context-chips','render','initialContent','9ljfOxd','624659rnPmSd','4717590lViIyB','4803JgThQX','ck-ai-chat__feed__message-content','465769lzFxcY','length','extendTemplate','div','2402552YoVuYK','2bPWJbZ','13GnvMPg','ck-ai-chat__feed__user-message','7812060QLfFYW','_messageContentView','element','setTemplate','_contextChipsView','_createContextChipsView','680vKOkPD','innerHTML','1586560dbhrDC','_bodyCollection','_createMessageContentView','filter','contextItems','6UCCGhg','add','markAsDone','11dYZBtB'];_0x38be=function(){return _0x51b516;};return _0x38be();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x544ea3=_0x928f;(function(_0x1f197f,_0x5101f2){var _0x460264=_0x928f,_0x23b480=_0x1f197f();while(!![]){try{var _0x589128=parseInt(_0x460264(0x1da))/0x1*(parseInt(_0x460264(0x1d2))/0x2)+parseInt(_0x460264(0x1db))/0x3+-parseInt(_0x460264(0x1de))/0x4+parseInt(_0x460264(0x1d8))/0x5+-parseInt(_0x460264(0x1d5))/0x6*(-parseInt(_0x460264(0x1dc))/0x7)+-parseInt(_0x460264(0x1d4))/0x8+parseInt(_0x460264(0x1d3))/0x9;if(_0x589128===_0x5101f2)break;else _0x23b480['push'](_0x23b480['shift']());}catch(_0x4016c6){_0x23b480['push'](_0x23b480['shift']());}}}(_0x236f,0x85feb));function _0x928f(_0x6814b0,_0x4c6ec3){var _0x236fd0=_0x236f();return _0x928f=function(_0x928ffe,_0x139136){_0x928ffe=_0x928ffe-0x1d1;var _0x3e0d35=_0x236fd0[_0x928ffe];return _0x3e0d35;},_0x928f(_0x6814b0,_0x4c6ec3);}function _0x236f(){var _0x34befd=['isPremiumPlugin','2072992qPQNAz','pluginName','4GWxXFs','1132128VdOvBc','6401792jRriFm','6aEddhj','isOfficialPlugin','AIChatHistory','4786060UKHEkc','requires','165379FJDccw','161394NgHwyK','2798285pbSDpP'];_0x236f=function(){return _0x34befd;};return _0x236f();}import{ContextPlugin as _0x288aa1}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x625c34}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x308791}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x288aa1{static get[_0x544ea3(0x1d9)](){return[_0x625c34,_0x308791];}static get[_0x544ea3(0x1d1)](){var _0x41e55c=_0x544ea3;return _0x41e55c(0x1d7);}static get[_0x544ea3(0x1d6)](){return!0x0;}static get[_0x544ea3(0x1dd)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5c0f(){const _0x428da1=['AI_CHAT_HISTORY_CATEGORY_TODAY','unpin','loadItems','getItems','1503433IoyMwU','editConversationTitle','requires','getFullYear','rename','chat','_handleRemove','locale','pin','updateItemLoadingState','_aiConnector','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','error','pinned','4616502vsjeli','_showConversationHistory','54IFAFQi','2215540ZhrxBO','resizeTabs','_handleHistoryErrorUI','AI_CHAT_HISTORY_UNPIN_ACTION','5icWcSb','setConversationPinned','updateItems','AI_CHAT_HISTORY_CATEGORY_LATER','resize','_updateHistoryItemsUI','pluginName','activateTab','resizedTabs','getDate','2AIUglV','title','_handleTogglePin','operation','map','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','isOfficialPlugin','itemUpdated','view','_aiChatHistoryUi','_handleEditTitle','getItem','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','3826221FcadHX','init','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','get','_setIsMaximized','push','_getCategorizedItems','items','getMonth','openChat','history','createdAt','AIChatHistoryController','activeConversation','14184910ITAouG','AI_CHAT_HISTORY_PIN_ACTION','updateItemTitle','change:activeConversation','plugins','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','removeConversation','activateTab:history','getGroupId','_generateErrorMessage','AI_CHAT_HISTORY_ERROR_GENERIC','handleRemovedConversation','itemRemoved','listenTo','updateItemPinned','_aiChatController','1042792eZpQrw','setIsMaximized','removeItem','_clearItemLoading','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','setLoadingSkeleton','itemId','AI_CHAT_UNTITLED_CONVERSATION','setDate','_setItemLoading','remove','selectConversation','length','_handleSelectConversation','toLocaleDateString','context','itemsLoaded','loadConversation','showError','AI_CHAT_HISTORY_CATEGORY_PINNED','removeHistoryItem','updates','isPremiumPlugin','47538zmFcvr'];_0x5c0f=function(){return _0x428da1;};return _0x5c0f();}const _0x54a666=_0x5588;(function(_0x2671f3,_0x56be26){const _0x5a12e5=_0x5588,_0x34b990=_0x2671f3();while(!![]){try{const _0x38bb1f=-parseInt(_0x5a12e5(0x1f3))/0x1*(-parseInt(_0x5a12e5(0x212))/0x2)+parseInt(_0x5a12e5(0x201))/0x3+parseInt(_0x5a12e5(0x204))/0x4+-parseInt(_0x5a12e5(0x208))/0x5*(-parseInt(_0x5a12e5(0x1ee))/0x6)+-parseInt(_0x5a12e5(0x21f))/0x7+parseInt(_0x5a12e5(0x1d7))/0x8*(-parseInt(_0x5a12e5(0x203))/0x9)+-parseInt(_0x5a12e5(0x22d))/0xa;if(_0x38bb1f===_0x56be26)break;else _0x34b990['push'](_0x34b990['shift']());}catch(_0x5287b6){_0x34b990['push'](_0x34b990['shift']());}}}(_0x5c0f,0xd1337));import{ContextPlugin as _0x276097}from'ckeditor5/src/core.js';import{AIConnector as _0x53998e}from'../aicore/aiconnector.js';import{AIChatController as _0x575752}from'../aichat/aichatcontroller.js';import{AITabs as _0x2f2f17}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x5c69b8}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x487c00}from'./model/aichathistoryconversations.js';function _0x5588(_0x578d31,_0x1fa813){const _0x5c0f35=_0x5c0f();return _0x5588=function(_0x5588c3,_0x19ec09){_0x5588c3=_0x5588c3-0x1d0;let _0x1ec811=_0x5c0f35[_0x5588c3];return _0x1ec811;},_0x5588(_0x578d31,_0x1fa813);}import{getTranslation as _0xaf882f}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x276097{[_0x54a666(0x1fd)];[_0x54a666(0x21b)];[_0x54a666(0x1d6)];static get[_0x54a666(0x1f5)](){return[_0x53998e,_0x575752,_0x5c69b8,_0x2f2f17];}static get[_0x54a666(0x20e)](){const _0x496c1a=_0x54a666;return _0x496c1a(0x22b);}static get[_0x54a666(0x218)](){return!0x0;}static get[_0x54a666(0x1ed)](){return!0x0;}[_0x54a666(0x220)](){const _0xbfe057=_0x54a666;this[_0xbfe057(0x1fd)]=this[_0xbfe057(0x1e6)][_0xbfe057(0x231)][_0xbfe057(0x222)](_0x53998e),this[_0xbfe057(0x21b)]=this[_0xbfe057(0x1e6)][_0xbfe057(0x231)][_0xbfe057(0x222)](_0x5c69b8),this[_0xbfe057(0x1d6)]=this[_0xbfe057(0x1e6)][_0xbfe057(0x231)][_0xbfe057(0x222)](_0x575752);const _0x3ff16b=this[_0xbfe057(0x1e6)][_0xbfe057(0x231)][_0xbfe057(0x222)](_0x2f2f17);try{const _0x6790b4=this[_0xbfe057(0x1d6)][_0xbfe057(0x235)]();this[_0xbfe057(0x229)]=new _0x487c00({'connector':this[_0xbfe057(0x1fd)],'group':_0x6790b4}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x233),(_0x1fcea3,_0x3557e8)=>{const _0x48a6a0=_0xbfe057;this[_0x48a6a0(0x1e0)](_0x3557e8['id'],_0x48a6a0(0x1e1)),this[_0x48a6a0(0x1f9)](_0x3557e8['id']);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x1f4),(_0x4ade7a,_0x22f131)=>{const _0x3c281d=_0xbfe057;this[_0x3c281d(0x1e0)](_0x22f131['id'],_0x3c281d(0x1f7)),this[_0x3c281d(0x21c)](_0x22f131['id'],_0x22f131[_0x3c281d(0x213)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x229)],_0xbfe057(0x219),(_0x23244f,_0x364922)=>{const _0x20ed07=_0xbfe057;void 0x0!==_0x364922[_0x20ed07(0x1ec)][_0x20ed07(0x213)]&&this[_0x20ed07(0x21b)][_0x20ed07(0x22f)](_0x364922[_0x20ed07(0x1dd)],_0x364922[_0x20ed07(0x1ec)][_0x20ed07(0x213)]),void 0x0!==_0x364922[_0x20ed07(0x1ec)][_0x20ed07(0x200)]&&this[_0x20ed07(0x20d)](),this[_0x20ed07(0x1da)](_0x364922[_0x20ed07(0x1dd)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x229)],_0xbfe057(0x1d3),(_0x564cd4,_0x1b5f68)=>{const _0x4849d8=_0xbfe057;this[_0x4849d8(0x1d6)][_0x4849d8(0x1d2)](_0x1b5f68[_0x4849d8(0x1dd)]),this[_0x4849d8(0x21b)][_0x4849d8(0x1eb)](_0x1b5f68[_0x4849d8(0x1dd)]),this[_0x4849d8(0x1da)](_0x1b5f68[_0x4849d8(0x1dd)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x229)],_0xbfe057(0x1e7),()=>{const _0x1197fe=_0xbfe057;this[_0x1197fe(0x20d)]();}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x229)],_0xbfe057(0x1ff),(_0x1bdf69,_0x12e279)=>{const _0x3eb6e1=_0xbfe057;this[_0x3eb6e1(0x206)](_0x12e279[_0x3eb6e1(0x1ff)],_0x12e279[_0x3eb6e1(0x215)],_0x12e279[_0x3eb6e1(0x1dd)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x1e2),(_0x2b3cfa,_0xab4191)=>{const _0x197370=_0xbfe057;this[_0x197370(0x1e4)](_0xab4191['id']);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x209),(_0x1fed8f,_0x475dbb)=>{const _0x3a8468=_0xbfe057,_0x2aeb0e=_0x475dbb[_0x3a8468(0x200)]?_0x3a8468(0x1fb):_0x3a8468(0x1f0);this[_0x3a8468(0x1e0)](_0x475dbb['id'],_0x2aeb0e),this[_0x3a8468(0x214)](_0x475dbb['id'],_0x475dbb[_0x3a8468(0x200)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x228),()=>{const _0x3d4c0d=_0xbfe057;_0x3ff16b[_0x3d4c0d(0x21a)][_0x3d4c0d(0x20f)](_0x3d4c0d(0x1f8));}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x1d6)],_0xbfe057(0x230),()=>{const _0x397ef4=_0xbfe057;this[_0x397ef4(0x20d)]();}),_0x3ff16b[_0xbfe057(0x21a)]['on'](_0xbfe057(0x234),()=>{const _0x32434e=_0xbfe057;this[_0x32434e(0x202)]();}),this[_0xbfe057(0x1d4)](_0x3ff16b,_0xbfe057(0x210),(_0x16d079,_0x304242)=>{const _0x542a1b=_0xbfe057;this[_0x542a1b(0x223)](_0x304242);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x205),()=>{const _0x365698=_0xbfe057;_0x3ff16b[_0x365698(0x20c)]();});}catch(_0x16057d){this[_0xbfe057(0x206)](_0x16057d,_0xbfe057(0x220));}}async[_0x54a666(0x21c)](_0x2984e0,_0x27bcb5){const _0x56c847=_0x54a666;await this[_0x56c847(0x229)][_0x56c847(0x22f)](_0x2984e0,_0x27bcb5);}async[_0x54a666(0x214)](_0x499007,_0x27f1c7){const _0x1695f9=_0x54a666;await this[_0x1695f9(0x229)][_0x1695f9(0x1d5)](_0x499007,_0x27f1c7);}async[_0x54a666(0x1f9)](_0x26f4d0){const _0x3f9909=_0x54a666;await this[_0x3f9909(0x229)][_0x3f9909(0x1d9)](_0x26f4d0);}async[_0x54a666(0x1e4)](_0x44ee44){const _0x3c5d30=_0x54a666;await this[_0x3c5d30(0x1d6)][_0x3c5d30(0x1e8)](_0x44ee44);}async[_0x54a666(0x202)](){const _0x269411=_0x54a666;this[_0x269411(0x21b)][_0x269411(0x1e9)](''),this[_0x269411(0x21b)][_0x269411(0x1dc)](!0x0),await this[_0x269411(0x229)][_0x269411(0x220)](),this[_0x269411(0x21b)][_0x269411(0x1dc)](!0x1);}[_0x54a666(0x20d)](){const _0x1aea98=_0x54a666,_0x48401b=this[_0x1aea98(0x1d6)][_0x1aea98(0x22c)]?.['id'],_0xafe090=this[_0x1aea98(0x225)]()[_0x1aea98(0x216)](_0x103bf9=>({'title':_0x103bf9[_0x1aea98(0x213)],'items':_0x103bf9[_0x1aea98(0x226)][_0x1aea98(0x216)](_0x4d964e=>({'id':_0x4d964e['id'],'title':_0x4d964e[_0x1aea98(0x213)]||_0xaf882f(this[_0x1aea98(0x1e6)][_0x1aea98(0x1fa)],_0x1aea98(0x1de)),'createdAt':new Date(_0x4d964e[_0x1aea98(0x22a)])[_0x1aea98(0x1e5)](),'active':_0x4d964e['id']===_0x48401b,'pinned':_0x4d964e[_0x1aea98(0x200)]}))}));this[_0x1aea98(0x21b)][_0x1aea98(0x20a)](_0xafe090);}[_0x54a666(0x1e0)](_0x250b38,_0x3deb75){const _0x409d11=_0x54a666;this[_0x409d11(0x21b)][_0x409d11(0x1fc)](_0x250b38,_0x3deb75,!0x0);}[_0x54a666(0x1da)](_0x5609d){const _0x166b0d=_0x54a666;this[_0x166b0d(0x21b)][_0x166b0d(0x1fc)](_0x5609d,null,!0x1);}[_0x54a666(0x206)](_0x5643d6,_0x4de934,_0x4828b1){const _0x338d80=_0x54a666,_0xfbc519=this[_0x338d80(0x1d0)](_0x4de934,_0x4828b1);this[_0x338d80(0x21b)][_0x338d80(0x1e9)](_0xfbc519),_0x4828b1&&this[_0x338d80(0x1da)](_0x4828b1),this[_0x338d80(0x21b)][_0x338d80(0x1dc)](!0x1);}[_0x54a666(0x1d0)](_0x4d9357,_0x358e9a){const _0x39a91c=_0x54a666,_0xb8c0bd=_0x358e9a?this[_0x39a91c(0x229)][_0x39a91c(0x21d)](_0x358e9a):null,_0x432598=_0xb8c0bd?.[_0x39a91c(0x213)]||_0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x1de));switch(_0x4d9357){case _0x39a91c(0x22f):return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x1db),_0x432598);case _0x39a91c(0x1d5):{const _0x9bd29b=_0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0xb8c0bd?.[_0x39a91c(0x200)]?_0x39a91c(0x207):_0x39a91c(0x22e));return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x217),[_0x9bd29b,_0x432598]);}case _0x39a91c(0x1d9):return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x232),_0x432598);case _0x39a91c(0x220):case _0x39a91c(0x1f1):return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x221));default:return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x1d1));}}[_0x54a666(0x225)](){const _0x529022=_0x54a666,_0x43e0bd=new Date(),_0x7f18f1=new Date(_0x43e0bd[_0x529022(0x1f6)](),_0x43e0bd[_0x529022(0x227)](),_0x43e0bd[_0x529022(0x211)]()),_0xb7c2b7=new Date(_0x7f18f1);_0xb7c2b7[_0x529022(0x1df)](_0xb7c2b7[_0x529022(0x211)]()-0x1);const _0xb270f1=new Date(_0x7f18f1);_0xb270f1[_0x529022(0x1df)](_0xb270f1[_0x529022(0x211)]()-0xe);const _0x2d11b8=this[_0x529022(0x229)][_0x529022(0x1f2)]({'pinned':!0x0}),_0x191127=this[_0x529022(0x229)][_0x529022(0x1f2)]({'from':_0x7f18f1,'to':_0x7f18f1}),_0x4396fa=this[_0x529022(0x229)][_0x529022(0x1f2)]({'from':_0xb7c2b7,'to':_0xb7c2b7}),_0x2c4ada=this[_0x529022(0x229)][_0x529022(0x1f2)]({'from':_0xb270f1,'to':_0xb7c2b7}),_0x58339a=this[_0x529022(0x229)][_0x529022(0x1f2)]({'to':_0xb270f1}),_0x4512cb=[];return _0x2d11b8[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x1ea)),'items':_0x2d11b8}),_0x191127[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x1ef)),'items':_0x191127}),_0x4396fa[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x1fe)),'items':_0x4396fa}),_0x2c4ada[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x21e)),'items':_0x2c4ada}),_0x58339a[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x20b)),'items':_0x58339a}),_0x4512cb;}[_0x54a666(0x223)](_0x2d0f08){const _0x2e0c6c=_0x54a666;this[_0x2e0c6c(0x21b)][_0x2e0c6c(0x1d8)](_0x2d0f08);}}
|
|
23
|
+
function _0x2fed(){const _0x1a456a=['_handleEditTitle','AIChatHistoryController','updateItemLoadingState','removeConversation','selectConversation','removeHistoryItem','map','showError','editConversationTitle','6457056czeloR','itemsLoaded','resizedTabs','_aiConnector','getItem','unpin','36cfxwbp','AI_CHAT_HISTORY_PIN_ACTION','_clearItemLoading','updateItemPinned','_handleSelectConversation','updates','77327TJPArw','activateTab','107552GRchbE','4aBXMMP','_showConversationHistory','toLocaleDateString','_handleTogglePin','AI_CHAT_HISTORY_CATEGORY_LATER','updateItems','rename','isPremiumPlugin','pinned','AI_CHAT_UNTITLED_CONVERSATION','_handleHistoryErrorUI','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','pin','AI_CHAT_HISTORY_ERROR_GENERIC','727638JGJURK','_aiChatHistoryUi','resizeTabs','_setItemLoading','length','title','history','AI_CHAT_HISTORY_CATEGORY_PINNED','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','removeItem','getDate','activateTab:history','updateItemTitle','getFullYear','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','push','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_updateHistoryItemsUI','_setIsMaximized','3161070xJaYKy','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_UNPIN_ACTION','change:activeConversation','loadConversation','_generateErrorMessage','_aiChatController','requires','error','plugins','setLoadingSkeleton','AI_CHAT_HISTORY_CATEGORY_TODAY','isOfficialPlugin','itemUpdated','loadItems','context','get','pluginName','handleRemovedConversation','setDate','activeConversation','itemRemoved','4329976EtDmCG','getMonth','operation','resize','openChat','createdAt','listenTo','_handleRemove','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','remove','getGroupId','init','_getCategorizedItems','3559472LXERqp','getItems','view','chat','items','locale','itemId','5bbElne','setIsMaximized'];_0x2fed=function(){return _0x1a456a;};return _0x2fed();}const _0x2ab1bc=_0x62ce;(function(_0x4a5349,_0x2b9bd7){const _0xfa1ebf=_0x62ce,_0xffcd3d=_0x4a5349();while(!![]){try{const _0x5c000b=parseInt(_0xfa1ebf(0x1ee))/0x1*(parseInt(_0xfa1ebf(0x1f1))/0x2)+-parseInt(_0xfa1ebf(0x1ff))/0x3+parseInt(_0xfa1ebf(0x229))/0x4*(parseInt(_0xfa1ebf(0x23d))/0x5)+-parseInt(_0xfa1ebf(0x1e2))/0x6+parseInt(_0xfa1ebf(0x236))/0x7+-parseInt(_0xfa1ebf(0x1f0))/0x8*(parseInt(_0xfa1ebf(0x1e8))/0x9)+parseInt(_0xfa1ebf(0x213))/0xa;if(_0x5c000b===_0x2b9bd7)break;else _0xffcd3d['push'](_0xffcd3d['shift']());}catch(_0x49aea5){_0xffcd3d['push'](_0xffcd3d['shift']());}}}(_0x2fed,0xa8465));import{ContextPlugin as _0x2b7178}from'ckeditor5/src/core.js';import{AIConnector as _0x4a740a}from'../aicore/aiconnector.js';import{AIChatController as _0x325ed4}from'../aichat/aichatcontroller.js';import{AITabs as _0x7d598e}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x55338e}from'./aichathistoryui.js';function _0x62ce(_0x12adf8,_0x18e9b3){const _0x2fedc2=_0x2fed();return _0x62ce=function(_0x62ce21,_0x3e8add){_0x62ce21=_0x62ce21-0x1dc;let _0x44d9fb=_0x2fedc2[_0x62ce21];return _0x44d9fb;},_0x62ce(_0x12adf8,_0x18e9b3);}import{AIChatHistoryConversations as _0x45940a}from'./model/aichathistoryconversations.js';import{getTranslation as _0x2d57d4}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x2b7178{[_0x2ab1bc(0x1e5)];[_0x2ab1bc(0x200)];[_0x2ab1bc(0x219)];static get[_0x2ab1bc(0x21a)](){return[_0x4a740a,_0x325ed4,_0x55338e,_0x7d598e];}static get[_0x2ab1bc(0x224)](){const _0x10ad00=_0x2ab1bc;return _0x10ad00(0x240);}static get[_0x2ab1bc(0x21f)](){return!0x0;}static get[_0x2ab1bc(0x1f8)](){return!0x0;}[_0x2ab1bc(0x234)](){const _0x5af26a=_0x2ab1bc;this[_0x5af26a(0x1e5)]=this[_0x5af26a(0x222)][_0x5af26a(0x21c)][_0x5af26a(0x223)](_0x4a740a),this[_0x5af26a(0x200)]=this[_0x5af26a(0x222)][_0x5af26a(0x21c)][_0x5af26a(0x223)](_0x55338e),this[_0x5af26a(0x219)]=this[_0x5af26a(0x222)][_0x5af26a(0x21c)][_0x5af26a(0x223)](_0x325ed4);const _0x4291da=this[_0x5af26a(0x222)][_0x5af26a(0x21c)][_0x5af26a(0x223)](_0x7d598e);try{const _0x1402cf=this[_0x5af26a(0x219)][_0x5af26a(0x233)]();this[_0x5af26a(0x205)]=new _0x45940a({'connector':this[_0x5af26a(0x1e5)],'group':_0x1402cf}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x1dc),(_0x3332fc,_0x9dc001)=>{const _0x39f15e=_0x5af26a;this[_0x39f15e(0x202)](_0x9dc001['id'],_0x39f15e(0x232)),this[_0x39f15e(0x230)](_0x9dc001['id']);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x1e1),(_0x189418,_0x3f95fd)=>{const _0x24acc7=_0x5af26a;this[_0x24acc7(0x202)](_0x3f95fd['id'],_0x24acc7(0x1f7)),this[_0x24acc7(0x23f)](_0x3f95fd['id'],_0x3f95fd[_0x24acc7(0x204)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x205)],_0x5af26a(0x220),(_0x34b8e2,_0x4ccbb8)=>{const _0x49104a=_0x5af26a;void 0x0!==_0x4ccbb8[_0x49104a(0x1ed)][_0x49104a(0x204)]&&this[_0x49104a(0x200)][_0x49104a(0x20b)](_0x4ccbb8[_0x49104a(0x23c)],_0x4ccbb8[_0x49104a(0x1ed)][_0x49104a(0x204)]),void 0x0!==_0x4ccbb8[_0x49104a(0x1ed)][_0x49104a(0x1f9)]&&this[_0x49104a(0x211)](),this[_0x49104a(0x1ea)](_0x4ccbb8[_0x49104a(0x23c)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x205)],_0x5af26a(0x228),(_0x40230d,_0x16249a)=>{const _0xe63025=_0x5af26a;this[_0xe63025(0x219)][_0xe63025(0x225)](_0x16249a[_0xe63025(0x23c)]),this[_0xe63025(0x200)][_0xe63025(0x1de)](_0x16249a[_0xe63025(0x23c)]),this[_0xe63025(0x1ea)](_0x16249a[_0xe63025(0x23c)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x205)],_0x5af26a(0x1e3),()=>{const _0x518c72=_0x5af26a;this[_0x518c72(0x211)]();}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x205)],_0x5af26a(0x21b),(_0x3b9cf3,_0x5d6275)=>{const _0x552838=_0x5af26a;this[_0x552838(0x1fb)](_0x5d6275[_0x552838(0x21b)],_0x5d6275[_0x552838(0x22b)],_0x5d6275[_0x552838(0x23c)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x1dd),(_0x36894c,_0x4d443e)=>{const _0x2fd874=_0x5af26a;this[_0x2fd874(0x1ec)](_0x4d443e['id']);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x20f),(_0x26601c,_0x3172f6)=>{const _0x5b8a7a=_0x5af26a,_0x4ca200=_0x3172f6[_0x5b8a7a(0x1f9)]?_0x5b8a7a(0x1fd):_0x5b8a7a(0x1e7);this[_0x5b8a7a(0x202)](_0x3172f6['id'],_0x4ca200),this[_0x5b8a7a(0x1f4)](_0x3172f6['id'],_0x3172f6[_0x5b8a7a(0x1f9)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x22d),()=>{const _0x23eca7=_0x5af26a;_0x4291da[_0x23eca7(0x238)][_0x23eca7(0x1ef)](_0x23eca7(0x239));}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x219)],_0x5af26a(0x216),()=>{const _0x1f68c6=_0x5af26a;this[_0x1f68c6(0x211)]();}),_0x4291da[_0x5af26a(0x238)]['on'](_0x5af26a(0x20a),()=>{const _0xf53f06=_0x5af26a;this[_0xf53f06(0x1f2)]();}),this[_0x5af26a(0x22f)](_0x4291da,_0x5af26a(0x1e4),(_0x575d39,_0x106bec)=>{const _0x10b8b1=_0x5af26a;this[_0x10b8b1(0x212)](_0x106bec);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x201),()=>{const _0x8d229a=_0x5af26a;_0x4291da[_0x8d229a(0x22c)]();});}catch(_0x1645a5){this[_0x5af26a(0x1fb)](_0x1645a5,_0x5af26a(0x234));}}async[_0x2ab1bc(0x23f)](_0x39f4b9,_0x3a3e45){const _0x20b8f2=_0x2ab1bc;await this[_0x20b8f2(0x205)][_0x20b8f2(0x20b)](_0x39f4b9,_0x3a3e45);}async[_0x2ab1bc(0x1f4)](_0xd28227,_0x3ec159){const _0x12f1b9=_0x2ab1bc;await this[_0x12f1b9(0x205)][_0x12f1b9(0x1eb)](_0xd28227,_0x3ec159);}async[_0x2ab1bc(0x230)](_0x5b20e1){const _0x5c683f=_0x2ab1bc;await this[_0x5c683f(0x205)][_0x5c683f(0x208)](_0x5b20e1);}async[_0x2ab1bc(0x1ec)](_0x4fa89c){const _0x2cd3f3=_0x2ab1bc;await this[_0x2cd3f3(0x219)][_0x2cd3f3(0x217)](_0x4fa89c);}async[_0x2ab1bc(0x1f2)](){const _0x1956a4=_0x2ab1bc;this[_0x1956a4(0x200)][_0x1956a4(0x1e0)](''),this[_0x1956a4(0x200)][_0x1956a4(0x21d)](!0x0),await this[_0x1956a4(0x205)][_0x1956a4(0x234)](),this[_0x1956a4(0x200)][_0x1956a4(0x21d)](!0x1);}[_0x2ab1bc(0x211)](){const _0x11c7d6=_0x2ab1bc,_0x56baf4=this[_0x11c7d6(0x219)][_0x11c7d6(0x227)]?.['id'],_0x23aebc=this[_0x11c7d6(0x235)]()[_0x11c7d6(0x1df)](_0x341d95=>({'title':_0x341d95[_0x11c7d6(0x204)],'items':_0x341d95[_0x11c7d6(0x23a)][_0x11c7d6(0x1df)](_0x1ac5d9=>({'id':_0x1ac5d9['id'],'title':_0x1ac5d9[_0x11c7d6(0x204)]||_0x2d57d4(this[_0x11c7d6(0x222)][_0x11c7d6(0x23b)],_0x11c7d6(0x1fa)),'createdAt':new Date(_0x1ac5d9[_0x11c7d6(0x22e)])[_0x11c7d6(0x1f3)](),'active':_0x1ac5d9['id']===_0x56baf4,'pinned':_0x1ac5d9[_0x11c7d6(0x1f9)]}))}));this[_0x11c7d6(0x200)][_0x11c7d6(0x1f6)](_0x23aebc);}[_0x2ab1bc(0x202)](_0x2cc5ee,_0x1ac500){const _0xc8fafe=_0x2ab1bc;this[_0xc8fafe(0x200)][_0xc8fafe(0x241)](_0x2cc5ee,_0x1ac500,!0x0);}[_0x2ab1bc(0x1ea)](_0x77b0e2){const _0x138da7=_0x2ab1bc;this[_0x138da7(0x200)][_0x138da7(0x241)](_0x77b0e2,null,!0x1);}[_0x2ab1bc(0x1fb)](_0x3c6c5f,_0x3fb56c,_0x29ff21){const _0x26f487=_0x2ab1bc,_0x17bea5=this[_0x26f487(0x218)](_0x3fb56c,_0x29ff21);this[_0x26f487(0x200)][_0x26f487(0x1e0)](_0x17bea5),_0x29ff21&&this[_0x26f487(0x1ea)](_0x29ff21),this[_0x26f487(0x200)][_0x26f487(0x21d)](!0x1);}[_0x2ab1bc(0x218)](_0x5233c9,_0x24351b){const _0x1e13d8=_0x2ab1bc,_0x2a303c=_0x24351b?this[_0x1e13d8(0x205)][_0x1e13d8(0x1e6)](_0x24351b):null,_0x476460=_0x2a303c?.[_0x1e13d8(0x204)]||_0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x1fa));switch(_0x5233c9){case _0x1e13d8(0x20b):return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x214),_0x476460);case _0x1e13d8(0x1eb):{const _0x2b14ec=_0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x2a303c?.[_0x1e13d8(0x1f9)]?_0x1e13d8(0x215):_0x1e13d8(0x1e9));return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x1fc),[_0x2b14ec,_0x476460]);}case _0x1e13d8(0x208):return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x20d),_0x476460);case _0x1e13d8(0x234):case _0x1e13d8(0x221):return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x207));default:return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x1fe));}}[_0x2ab1bc(0x235)](){const _0x297893=_0x2ab1bc,_0x453cb0=new Date(),_0xfd9c92=new Date(_0x453cb0[_0x297893(0x20c)](),_0x453cb0[_0x297893(0x22a)](),_0x453cb0[_0x297893(0x209)]()),_0x112e45=new Date(_0xfd9c92);_0x112e45[_0x297893(0x226)](_0x112e45[_0x297893(0x209)]()-0x1);const _0x111ad0=new Date(_0xfd9c92);_0x111ad0[_0x297893(0x226)](_0x111ad0[_0x297893(0x209)]()-0xe);const _0x20032a=this[_0x297893(0x205)][_0x297893(0x237)]({'pinned':!0x0}),_0x398b61=this[_0x297893(0x205)][_0x297893(0x237)]({'from':_0xfd9c92,'to':_0xfd9c92}),_0x36e2fe=this[_0x297893(0x205)][_0x297893(0x237)]({'from':_0x112e45,'to':_0x112e45}),_0x312849=this[_0x297893(0x205)][_0x297893(0x237)]({'from':_0x111ad0,'to':_0x112e45}),_0x9e0189=this[_0x297893(0x205)][_0x297893(0x237)]({'to':_0x111ad0}),_0x6f9109=[];return _0x20032a[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x206)),'items':_0x20032a}),_0x398b61[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x21e)),'items':_0x398b61}),_0x36e2fe[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x231)),'items':_0x36e2fe}),_0x312849[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x210)),'items':_0x312849}),_0x9e0189[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x1f5)),'items':_0x9e0189}),_0x6f9109;}[_0x2ab1bc(0x212)](_0x4caaef){const _0x240650=_0x2ab1bc;this[_0x240650(0x200)][_0x240650(0x23e)](_0x4caaef);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x371fc4=_0x5e23;(function(_0x14ea87,_0x3c3df8){const _0x2c560e=_0x5e23,_0x2afe5d=_0x14ea87();while(!![]){try{const _0xdd1c13=-parseInt(_0x2c560e(0x1f6))/0x1*(parseInt(_0x2c560e(0x1cf))/0x2)+parseInt(_0x2c560e(0x1f3))/0x3*(parseInt(_0x2c560e(0x1ca))/0x4)+-parseInt(_0x2c560e(0x1ed))/0x5*(-parseInt(_0x2c560e(0x1d1))/0x6)+-parseInt(_0x2c560e(0x1cb))/0x7+parseInt(_0x2c560e(0x1e4))/0x8*(-parseInt(_0x2c560e(0x1f0))/0x9)+parseInt(_0x2c560e(0x1c9))/0xa*(parseInt(_0x2c560e(0x1ec))/0xb)+parseInt(_0x2c560e(0x1e9))/0xc*(parseInt(_0x2c560e(0x1ce))/0xd);if(_0xdd1c13===_0x3c3df8)break;else _0x2afe5d['push'](_0x2afe5d['shift']());}catch(_0x44e123){_0x2afe5d['push'](_0x2afe5d['shift']());}}}(_0x316a,0x8677c));import{ContextPlugin as _0x1fa25f}from'ckeditor5/src/core.js';import{AITabs as _0x1fd463}from'../aitabs/aitabs.js';function _0x5e23(_0x2558cb,_0x43c5c1){const _0x316a0d=_0x316a();return _0x5e23=function(_0x5e2301,_0x59220b){_0x5e2301=_0x5e2301-0x1c6;let _0x40c7d6=_0x316a0d[_0x5e2301];return _0x40c7d6;},_0x5e23(_0x2558cb,_0x43c5c1);}import{IconAIHistory as _0x50d2cf}from'ckeditor5/src/icons.js';function _0x316a(){const _0xcc6c21=['removeConversation','context','pluginName','history','30704qyuueJ','editConversationTitle','updateHistoryItemsWithCategories','updateItemLoadingState','AI_CHAT_HISTORY_HEADING','773028ZoEdBa','hideError','resizeTabs','971773rUgjoJ','2650RVXIXc','openChat','showResizeButton','2097xoIyvx','view','updateItems','9cUSpnm','requires','removeHistoryItem','1002669EVxiUP','isPremiumPlugin','errorMessage','isLoading','110LPAIMR','1223744sVRIJp','3602858cXTlLA','showConversationHistory','selectConversation','52EDbCXV','2KoOFcp','delegate','9228jocgFq','plugins','isOfficialPlugin','AITabs','setConversationPinned','setLoadingSkeleton','get','_historyView','locale','isMaximized','AIChatHistoryUI','setIsMaximized','updateItemTitle','showError','addTab'];_0x316a=function(){return _0xcc6c21;};return _0x316a();}import{AIChatHistoryView as _0x5cb5dd}from'./ui/aichathistoryview.js';import{getTranslation as _0xaa1ffe}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x371fc4(0x1cc),_0x371fc4(0x1e0),_0x371fc4(0x1e5),_0x371fc4(0x1d5),_0x371fc4(0x1cd),_0x371fc4(0x1ee),_0x371fc4(0x1eb)];export class AIChatHistoryUI extends _0x1fa25f{static get[_0x371fc4(0x1f4)](){return[_0x1fd463];}[_0x371fc4(0x1d8)];static get[_0x371fc4(0x1e2)](){const _0x5917f5=_0x371fc4;return _0x5917f5(0x1db);}static get[_0x371fc4(0x1d3)](){return!0x0;}static get[_0x371fc4(0x1c6)](){return!0x0;}constructor(_0x2b7928){const _0x3bf0e3=_0x371fc4;super(_0x2b7928);const _0x130f6f=this[_0x3bf0e3(0x1e1)][_0x3bf0e3(0x1d2)][_0x3bf0e3(0x1d7)](_0x3bf0e3(0x1d4));this[_0x3bf0e3(0x1d8)]=new _0x5cb5dd(this[_0x3bf0e3(0x1e1)][_0x3bf0e3(0x1d9)],_0x130f6f[_0x3bf0e3(0x1ef)]),this[_0x3bf0e3(0x1d8)][_0x3bf0e3(0x1d0)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x130f6f[_0x3bf0e3(0x1f1)][_0x3bf0e3(0x1df)]({'id':_0x3bf0e3(0x1e3),'buttonLabel':_0xaa1ffe(this[_0x3bf0e3(0x1e1)][_0x3bf0e3(0x1d9)],_0x3bf0e3(0x1e8)),'buttonIcon':_0x50d2cf,'order':0x0,'content':this[_0x3bf0e3(0x1d8)]});}[_0x371fc4(0x1f5)](_0x4eb627){const _0x51df08=_0x371fc4;this[_0x51df08(0x1d8)][_0x51df08(0x1f5)](_0x4eb627);}[_0x371fc4(0x1f2)](_0x291d74){const _0x2162df=_0x371fc4;this[_0x2162df(0x1d8)][_0x2162df(0x1e6)](_0x291d74);}[_0x371fc4(0x1dd)](_0x422f17,_0x21dfe9){const _0x37d272=_0x371fc4;this[_0x37d272(0x1d8)][_0x37d272(0x1dd)](_0x422f17,_0x21dfe9);}[_0x371fc4(0x1e7)](_0x39e261,_0x590c7e,_0x1f888e){const _0x2edb33=_0x371fc4;this[_0x2edb33(0x1d8)][_0x2edb33(0x1e7)](_0x39e261,_0x590c7e,_0x1f888e);}[_0x371fc4(0x1d6)](_0xd0b9ff){const _0x24a9b7=_0x371fc4;this[_0x24a9b7(0x1d8)][_0x24a9b7(0x1c8)]=_0xd0b9ff;}[_0x371fc4(0x1de)](_0x2470be){const _0x46562e=_0x371fc4;this[_0x46562e(0x1d8)][_0x46562e(0x1c7)]=_0x2470be;}[_0x371fc4(0x1ea)](){const _0x32d938=_0x371fc4;this[_0x32d938(0x1d8)][_0x32d938(0x1c7)]='';}[_0x371fc4(0x1dc)](_0x39659a){const _0x3d7945=_0x371fc4;this[_0x3d7945(0x1d8)][_0x3d7945(0x1da)]=_0x39659a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x11ac5e=_0x3f42;(function(_0x875bac,_0x5ec506){var _0x43950a=_0x3f42,_0x41059a=_0x875bac();while(!![]){try{var _0x22c6d6=-parseInt(_0x43950a(0x6f))/0x1*(parseInt(_0x43950a(0x74))/0x2)+-parseInt(_0x43950a(0x68))/0x3+parseInt(_0x43950a(0x71))/0x4+parseInt(_0x43950a(0x6e))/0x5*(-parseInt(_0x43950a(0x6b))/0x6)+-parseInt(_0x43950a(0x6a))/0x7+-parseInt(_0x43950a(0x6d))/0x8*(-parseInt(_0x43950a(0x6c))/0x9)+parseInt(_0x43950a(0x73))/0xa;if(_0x22c6d6===_0x5ec506)break;else _0x41059a['push'](_0x41059a['shift']());}catch(_0x11eef2){_0x41059a['push'](_0x41059a['shift']());}}}(_0x18b4,0xd993f));function _0x3f42(_0x54d96b,_0x4c5179){var _0x18b43d=_0x18b4();return _0x3f42=function(_0x3f42c5,_0x40abfd){_0x3f42c5=_0x3f42c5-0x68;var _0x16c961=_0x18b43d[_0x3f42c5];return _0x16c961;},_0x3f42(_0x54d96b,_0x4c5179);}function _0x18b4(){var _0x229276=['8QyvClG','5GNWIMh','176iuNJaL','updatePinned','4872140TiqjFX','set','14441950ZPOvsX','19610QjpoKq','title','pinned','createdAt','updateTitle','314736LzvWTM','updatedAt','5550181KfJHLF','4007418kjGLtb','13683123rSYgkN'];_0x18b4=function(){return _0x229276;};return _0x18b4();}import{ObservableMixin as _0x5cb155}from'ckeditor5/src/utils.js';import{escape as _0x7e0aab}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x5cb155(){['id'];[_0x11ac5e(0x77)];constructor({id:_0x27b547,title:_0x4c9b49,createdAt:_0x4dbc23,updatedAt:_0x8ef2c4,pinned:_0xd9dca2}){var _0x28fb5e=_0x11ac5e;super(),this['id']=_0x27b547,this[_0x28fb5e(0x77)]=new Date(_0x4dbc23),this[_0x28fb5e(0x72)](_0x28fb5e(0x75),_0x4c9b49),this[_0x28fb5e(0x72)](_0x28fb5e(0x69),_0x8ef2c4?new Date(_0x8ef2c4):null),this[_0x28fb5e(0x72)](_0x28fb5e(0x76),_0xd9dca2||!0x1);}[_0x11ac5e(0x78)](_0x45bbbf){var _0x2eeb9e=_0x11ac5e;this[_0x2eeb9e(0x72)](_0x2eeb9e(0x75),_0x7e0aab(_0x45bbbf)),this[_0x2eeb9e(0x69)]=new Date();}[_0x11ac5e(0x70)](_0x4aab57){var _0x284b2c=_0x11ac5e;this[_0x284b2c(0x72)](_0x284b2c(0x76),_0x4aab57),this[_0x284b2c(0x69)]=new Date();}}
|