@ckeditor/ckeditor5-ai 47.0.0-alpha.3 → 47.0.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.
Files changed (107) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/legacyerrors.js +1 -1
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformview.js +1 -1
  19. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  21. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  22. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  23. package/src/aiballoon/aiballoon.js +1 -1
  24. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  25. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  26. package/src/aiballoon/ui/aiballoonview.js +1 -1
  27. package/src/aichat/aichat.js +1 -1
  28. package/src/aichat/aichatcontroller.js +1 -1
  29. package/src/aichat/aichatui.js +1 -1
  30. package/src/aichat/model/aichatcontext.js +1 -1
  31. package/src/aichat/model/aichatconversation.js +1 -1
  32. package/src/aichat/model/aichatinteraction.js +1 -1
  33. package/src/aichat/model/aichatmodels.js +1 -1
  34. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  35. package/src/aichat/ui/aichatfeedview.js +1 -1
  36. package/src/aichat/ui/aichatheaderview.js +1 -1
  37. package/src/aichat/ui/aichatview.js +1 -1
  38. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  49. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  55. package/src/aichat/utils/promisequeue.js +1 -1
  56. package/src/aichathistory/aichathistory.js +1 -1
  57. package/src/aichathistory/aichathistorycontroller.js +1 -1
  58. package/src/aichathistory/aichathistoryui.js +1 -1
  59. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  60. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  61. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  62. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  63. package/src/aicore/aiconnector.js +1 -1
  64. package/src/aicore/aiediting.js +1 -1
  65. package/src/aicore/model/aicapabilities.js +1 -1
  66. package/src/aicore/model/aiinteraction.js +1 -1
  67. package/src/aicore/model/aireply.js +1 -1
  68. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  69. package/src/aicore/ui/aidisclaimerview.js +1 -1
  70. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  71. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  72. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  73. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  74. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  75. package/src/aicore/utils/createresizebutton.js +1 -1
  76. package/src/aicore/utils/documentposition.js +1 -1
  77. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  78. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  79. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  80. package/src/aiquickactions/aiquickactions.js +1 -1
  81. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  82. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  83. package/src/aiquickactions/aiquickactionsui.js +1 -1
  84. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  85. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  86. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  87. package/src/aireviewmode/aireviewmode.js +1 -1
  88. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  89. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  90. package/src/aireviewmode/aireviewmodeui.js +1 -1
  91. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  92. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  93. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  94. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  95. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  96. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  97. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  98. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  99. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  100. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  101. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  102. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  103. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  104. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  105. package/src/aitabs/aitabs.js +1 -1
  106. package/src/aitabs/tabs/aitabsview.js +1 -1
  107. package/src/aitabs/tabs/tabbuttonview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43c334=_0x26de;function _0x26de(_0x5c6e77,_0x44e6d3){const _0x5cea0d=_0x5cea();return _0x26de=function(_0x26def4,_0x452ac8){_0x26def4=_0x26def4-0x12b;let _0x2562ae=_0x5cea0d[_0x26def4];return _0x2562ae;},_0x26de(_0x5c6e77,_0x44e6d3);}(function(_0x5c48ef,_0x195933){const _0x3a8af9=_0x26de,_0x356b73=_0x5c48ef();while(!![]){try{const _0x171be3=-parseInt(_0x3a8af9(0x133))/0x1+parseInt(_0x3a8af9(0x148))/0x2*(parseInt(_0x3a8af9(0x130))/0x3)+parseInt(_0x3a8af9(0x138))/0x4+parseInt(_0x3a8af9(0x149))/0x5+parseInt(_0x3a8af9(0x12d))/0x6*(parseInt(_0x3a8af9(0x12e))/0x7)+parseInt(_0x3a8af9(0x141))/0x8+parseInt(_0x3a8af9(0x12c))/0x9*(parseInt(_0x3a8af9(0x144))/0xa);if(_0x171be3===_0x195933)break;else _0x356b73['push'](_0x356b73['shift']());}catch(_0x3abe87){_0x356b73['push'](_0x356b73['shift']());}}}(_0x5cea,0xecf60));function _0x5cea(){const _0x1acbe5=['div','element','1873520zyRtfH','ck-ai-chat__feed__context-chips','_contextChips','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls-button','2020928RiDaop','querySelector','_overflowManager','_bodyCollection','locale','reorganizeChips','_createContextChips','setContainerElement','setTemplate','3063000yXdiwZ','createCollection','ck-ai-chat-context-chips-wrapper-balloon','100680lrrgPN','render','ck-ai-chat-context-controls__show-more-balloon-panel','add','41546gHAllw','3941220mKOgPj','ck-ai-chat-controls_context_show-more-button','ck-reset_all','531EbgQNw','451182BNCrbM','7BwSfyj','destroy','72EsBEos'];_0x5cea=function(){return _0x1acbe5;};return _0x5cea();}import{View as _0xdf101a}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4e7a27}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x14e145}from'../controls/aichatchipsoverflowmanager.js';const po=_0x43c334(0x134),wo=_0x43c334(0x136),_o=_0x43c334(0x143),uo=_0x43c334(0x137),xo=_0x43c334(0x14a),mo=_0x43c334(0x146);export class AIChatFeedContextChipsView extends _0xdf101a{[_0x43c334(0x135)]=this[_0x43c334(0x142)]();[_0x43c334(0x13a)];[_0x43c334(0x13b)];constructor(_0x3bbf10,_0xe37f91,_0x568b81){const _0x66b731=_0x43c334;super(_0x3bbf10),this[_0x66b731(0x13b)]=_0x568b81,this[_0x66b731(0x13e)](_0xe37f91);const _0x4c8ead={'cssClasses':{'showMoreButton':xo,'showMoreBalloon':mo,'overflowContainer':_o,'controlsButton':uo}};this[_0x66b731(0x13a)]=new _0x14e145(_0x3bbf10,this[_0x66b731(0x135)],_0x4c8ead,this[_0x66b731(0x13b)],this),this[_0x66b731(0x140)]({'tag':_0x66b731(0x131),'attributes':{'class':[po,'ck',_0x66b731(0x12b)]},'children':[{'tag':_0x66b731(0x131),'attributes':{'class':wo},'children':this[_0x66b731(0x135)]}]});}[_0x43c334(0x145)](){const _0x55e3fb=_0x43c334;super[_0x55e3fb(0x145)]();const _0x4bd673=this[_0x55e3fb(0x132)][_0x55e3fb(0x139)]('.'+wo);_0x4bd673&&(this[_0x55e3fb(0x13a)][_0x55e3fb(0x13f)](_0x4bd673),this[_0x55e3fb(0x13a)][_0x55e3fb(0x13d)]());}[_0x43c334(0x12f)](){const _0x2bc29c=_0x43c334;super[_0x2bc29c(0x12f)](),this[_0x2bc29c(0x13a)][_0x2bc29c(0x12f)]();}[_0x43c334(0x13e)](_0x2edba5){const _0x4f2731=_0x43c334;for(const _0x4cd6f9 of _0x2edba5){const _0x32352d=new _0x4e7a27(this[_0x4f2731(0x13c)],_0x4cd6f9,!0x0,!0x1);this[_0x4f2731(0x135)][_0x4f2731(0x147)](_0x32352d);}}}
23
+ function _0x1eaa(){const _0x5549a0=['172904EuaVMM','render','ck-ai-chat-context-chips-wrapper','locale','ck-ai-chat-controls-button','ck-ai-chat__feed__context-chips','5848931ruTATw','div','reorganizeChips','_contextChips','317500sKnfTG','ck-ai-chat-controls_context_show-more-button','_createContextChips','_bodyCollection','setContainerElement','10VJwMQG','destroy','65560QLgKjq','setTemplate','querySelector','126oCfxpB','327EWLWZt','3566iQGCsJ','ck-reset_all','element','_overflowManager','156627MymeKx','add','2584752huUVdC','ck-ai-chat-context-controls__show-more-balloon-panel','createCollection','4AmQWcJ','ck-ai-chat-context-chips-wrapper-balloon'];_0x1eaa=function(){return _0x5549a0;};return _0x1eaa();}const _0x313a75=_0x2d9a;function _0x2d9a(_0x458460,_0x3e3256){const _0x1eaac0=_0x1eaa();return _0x2d9a=function(_0x2d9ab1,_0x2171a5){_0x2d9ab1=_0x2d9ab1-0x1ae;let _0x1f5590=_0x1eaac0[_0x2d9ab1];return _0x1f5590;},_0x2d9a(_0x458460,_0x3e3256);}(function(_0x59d6e6,_0x35ef49){const _0x48531b=_0x2d9a,_0x39a604=_0x59d6e6();while(!![]){try{const _0x1c654b=parseInt(_0x48531b(0x1c0))/0x1+parseInt(_0x48531b(0x1cc))/0x2*(parseInt(_0x48531b(0x1cb))/0x3)+parseInt(_0x48531b(0x1b4))/0x4*(-parseInt(_0x48531b(0x1c7))/0x5)+-parseInt(_0x48531b(0x1b1))/0x6+parseInt(_0x48531b(0x1ca))/0x7*(-parseInt(_0x48531b(0x1b6))/0x8)+parseInt(_0x48531b(0x1af))/0x9+parseInt(_0x48531b(0x1c5))/0xa*(parseInt(_0x48531b(0x1bc))/0xb);if(_0x1c654b===_0x35ef49)break;else _0x39a604['push'](_0x39a604['shift']());}catch(_0x24a22e){_0x39a604['push'](_0x39a604['shift']());}}}(_0x1eaa,0x37ac1));import{View as _0x4eb492}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x5d813c}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x3bb496}from'../controls/aichatchipsoverflowmanager.js';const jo=_0x313a75(0x1bb),Fo=_0x313a75(0x1b8),$o=_0x313a75(0x1b5),go=_0x313a75(0x1ba),fo=_0x313a75(0x1c1),Io=_0x313a75(0x1b2);export class AIChatFeedContextChipsView extends _0x4eb492{[_0x313a75(0x1bf)]=this[_0x313a75(0x1b3)]();[_0x313a75(0x1ae)];[_0x313a75(0x1c3)];constructor(_0x348415,_0x169d23,_0x2f529d){const _0x192931=_0x313a75;super(_0x348415),this[_0x192931(0x1c3)]=_0x2f529d,this[_0x192931(0x1c2)](_0x169d23);const _0x3822bd={'cssClasses':{'showMoreButton':fo,'showMoreBalloon':Io,'overflowContainer':$o,'controlsButton':go}};this[_0x192931(0x1ae)]=new _0x3bb496(_0x348415,this[_0x192931(0x1bf)],_0x3822bd,this[_0x192931(0x1c3)],this),this[_0x192931(0x1c8)]({'tag':_0x192931(0x1bd),'attributes':{'class':[jo,'ck',_0x192931(0x1cd)]},'children':[{'tag':_0x192931(0x1bd),'attributes':{'class':Fo},'children':this[_0x192931(0x1bf)]}]});}[_0x313a75(0x1b7)](){const _0x2aa3d8=_0x313a75;super[_0x2aa3d8(0x1b7)]();const _0x100d91=this[_0x2aa3d8(0x1ce)][_0x2aa3d8(0x1c9)]('.'+Fo);_0x100d91&&(this[_0x2aa3d8(0x1ae)][_0x2aa3d8(0x1c4)](_0x100d91),this[_0x2aa3d8(0x1ae)][_0x2aa3d8(0x1be)]());}[_0x313a75(0x1c6)](){const _0x47a730=_0x313a75;super[_0x47a730(0x1c6)](),this[_0x47a730(0x1ae)][_0x47a730(0x1c6)]();}[_0x313a75(0x1c2)](_0x48dcdd){const _0xd417e4=_0x313a75;for(const _0x1a0447 of _0x48dcdd){const _0x22ae88=new _0x5d813c(this[_0xd417e4(0x1b9)],_0x1a0447,!0x0,!0x1);this[_0xd417e4(0x1bf)][_0xd417e4(0x1b0)](_0x22ae88);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x41b557,_0x4f456d){const _0xd7cf24=_0x1b7d,_0xef1751=_0x41b557();while(!![]){try{const _0x18a430=-parseInt(_0xd7cf24(0xf8))/0x1*(parseInt(_0xd7cf24(0x103))/0x2)+parseInt(_0xd7cf24(0x102))/0x3+parseInt(_0xd7cf24(0xf9))/0x4*(-parseInt(_0xd7cf24(0xf4))/0x5)+-parseInt(_0xd7cf24(0x10a))/0x6*(parseInt(_0xd7cf24(0xfe))/0x7)+-parseInt(_0xd7cf24(0xfc))/0x8+parseInt(_0xd7cf24(0x10c))/0x9+parseInt(_0xd7cf24(0xff))/0xa;if(_0x18a430===_0x4f456d)break;else _0xef1751['push'](_0xef1751['shift']());}catch(_0x39296d){_0xef1751['push'](_0xef1751['shift']());}}}(_0x5237,0x36e8f));import{IconBulb as _0x2d7cee,IconWeb as _0x3a3d81}from'@ckeditor/ckeditor5-icons';import{IconView as _0x6fecb2,View as _0x4e5177}from'ckeditor5/src/ui.js';function _0x1b7d(_0x322cb6,_0x558db9){const _0x523798=_0x5237();return _0x1b7d=function(_0x1b7d69,_0x26a4ce){_0x1b7d69=_0x1b7d69-0xf3;let _0x18f16d=_0x523798[_0x1b7d69];return _0x18f16d;},_0x1b7d(_0x322cb6,_0x558db9);}import{AIChatFeedItemView as _0x2e0a2b}from'./aichatfeeditemview.js';import{getTranslation as _0x3e3bea}from'../../../aicore/utils/common-translations.js';function _0x5237(){const _0x1db267=['11921730fgIICz','ck-hidden','extendTemplate','145794yAYoqY','2470FTPXXe','ck-ai-chat__feed__interaction-header','setTemplate','ck-ai-chat__feed__interaction-header__capabilities__text','div','content','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','123252LHXOcE','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','668709icmijS','add','76205JxSwtd','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','children','push','65mCudiz','116enozeS','span','ck-ai-chat__feed__interaction-header__capabilities','2571144TZtUYP','capabilities','84KxtvSh'];_0x5237=function(){return _0x1db267;};return _0x5237();}export class AIChatFeedInteractionHeaderView extends _0x2e0a2b{constructor(_0x2f7698,_0x5e8b5){const _0x450a57=_0x1b7d;super(_0x5e8b5);const {isWebSearchEnabled:_0x207616,isReasoningEnabled:_0x2725db}=_0x5e8b5[_0x450a57(0xfd)],_0x6d32ff=[];let _0x309942='';_0x207616&&_0x2725db?(_0x309942=_0x3e3bea(_0x2f7698,_0x450a57(0x109)),_0x6d32ff[_0x450a57(0xf7)](i_(_0x3a3d81)),_0x6d32ff[_0x450a57(0xf7)](i_(_0x2d7cee))):_0x207616?(_0x309942=_0x3e3bea(_0x2f7698,_0x450a57(0xf5)),_0x6d32ff[_0x450a57(0xf7)](i_(_0x3a3d81))):_0x2725db&&(_0x309942=_0x3e3bea(_0x2f7698,_0x450a57(0x10b)),_0x6d32ff[_0x450a57(0xf7)](i_(_0x2d7cee))),this[_0x450a57(0x101)]({'attributes':{'class':[_0x450a57(0x104),_0x309942?'':_0x450a57(0x100)]}});const _0x1cac4e=new _0x4e5177();_0x1cac4e[_0x450a57(0x105)]({'tag':_0x450a57(0x107),'attributes':{'class':['ck',_0x450a57(0xfb)]},'children':[..._0x6d32ff,{'tag':_0x450a57(0xfa),'attributes':{'class':[_0x450a57(0x106)]},'children':[_0x309942]}]}),this[_0x450a57(0xf6)][_0x450a57(0xf3)](_0x1cac4e);}}function i_(_0x27005f){const _0x2f2623=_0x1b7d,_0x3aaf89=new _0x6fecb2();return _0x3aaf89[_0x2f2623(0x108)]=_0x27005f,_0x3aaf89;}
23
+ (function(_0x3de859,_0x5ce590){const _0x38bd3a=_0x4a9f,_0x260403=_0x3de859();while(!![]){try{const _0x60d223=-parseInt(_0x38bd3a(0xc3))/0x1*(-parseInt(_0x38bd3a(0xb2))/0x2)+-parseInt(_0x38bd3a(0xb9))/0x3*(parseInt(_0x38bd3a(0xc2))/0x4)+-parseInt(_0x38bd3a(0xaf))/0x5*(parseInt(_0x38bd3a(0xb3))/0x6)+parseInt(_0x38bd3a(0xb5))/0x7+parseInt(_0x38bd3a(0xc0))/0x8*(-parseInt(_0x38bd3a(0xb4))/0x9)+-parseInt(_0x38bd3a(0xbf))/0xa+parseInt(_0x38bd3a(0xb6))/0xb;if(_0x60d223===_0x5ce590)break;else _0x260403['push'](_0x260403['shift']());}catch(_0x57873c){_0x260403['push'](_0x260403['shift']());}}}(_0x3dac,0x45855));import{IconBulb as _0x4a7706,IconWeb as _0x31b799}from'@ckeditor/ckeditor5-icons';import{IconView as _0x2a3303,View as _0x4f4fc6}from'ckeditor5/src/ui.js';function _0x4a9f(_0x56dbf3,_0x48758f){const _0x3dac3c=_0x3dac();return _0x4a9f=function(_0x4a9fe4,_0x4430b8){_0x4a9fe4=_0x4a9fe4-0xac;let _0x4bd724=_0x3dac3c[_0x4a9fe4];return _0x4bd724;},_0x4a9f(_0x56dbf3,_0x48758f);}import{AIChatFeedItemView as _0x1eda5e}from'./aichatfeeditemview.js';import{getTranslation as _0x4dbad0}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x1eda5e{constructor(_0x2dd095,_0x1f4379){const _0x15fc77=_0x4a9f;super(_0x1f4379);const {isWebSearchEnabled:_0x2ff5f1,isReasoningEnabled:_0x162352}=_0x1f4379[_0x15fc77(0xc4)],_0x50430c=[];let _0x3065e9='';_0x2ff5f1&&_0x162352?(_0x3065e9=_0x4dbad0(_0x2dd095,_0x15fc77(0xbb)),_0x50430c[_0x15fc77(0xb8)](e_(_0x31b799)),_0x50430c[_0x15fc77(0xb8)](e_(_0x4a7706))):_0x2ff5f1?(_0x3065e9=_0x4dbad0(_0x2dd095,_0x15fc77(0xb0)),_0x50430c[_0x15fc77(0xb8)](e_(_0x31b799))):_0x162352&&(_0x3065e9=_0x4dbad0(_0x2dd095,_0x15fc77(0xbd)),_0x50430c[_0x15fc77(0xb8)](e_(_0x4a7706))),this[_0x15fc77(0xbe)]({'attributes':{'class':[_0x15fc77(0xc5),_0x3065e9?'':_0x15fc77(0xad)]}});const _0x4b83ee=new _0x4f4fc6();_0x4b83ee[_0x15fc77(0xb7)]({'tag':_0x15fc77(0xb1),'attributes':{'class':['ck',_0x15fc77(0xbc)]},'children':[..._0x50430c,{'tag':_0x15fc77(0xac),'attributes':{'class':[_0x15fc77(0xc6)]},'children':[_0x3065e9]}]}),this[_0x15fc77(0xba)][_0x15fc77(0xae)](_0x4b83ee);}}function e_(_0x5a3f75){const _0x3484bb=_0x4a9f,_0x5c6e90=new _0x2a3303();return _0x5c6e90[_0x3484bb(0xc1)]=_0x5a3f75,_0x5c6e90;}function _0x3dac(){const _0x43bc2a=['12349513VZKLex','setTemplate','push','10749qxwgLo','children','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','extendTemplate','5317770ffBnpQ','825464FDWDWv','content','548rAJfpu','131305aFukHI','capabilities','ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities__text','span','ck-hidden','add','760xxCSQL','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','div','6rPMrYu','17364VdvwXW','9JZUCxB','2337146rwPFPy'];_0x3dac=function(){return _0x43bc2a;};return _0x3dac();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5640c3=_0x5aa8;(function(_0x2818d1,_0x3ddede){const _0x386f02=_0x5aa8,_0x552419=_0x2818d1();while(!![]){try{const _0x11c4ea=parseInt(_0x386f02(0x1ad))/0x1*(parseInt(_0x386f02(0x1b9))/0x2)+parseInt(_0x386f02(0x1bc))/0x3*(-parseInt(_0x386f02(0x1c4))/0x4)+parseInt(_0x386f02(0x1b0))/0x5*(parseInt(_0x386f02(0x1b3))/0x6)+parseInt(_0x386f02(0x1ae))/0x7*(-parseInt(_0x386f02(0x1a9))/0x8)+-parseInt(_0x386f02(0x1ac))/0x9+-parseInt(_0x386f02(0x1b6))/0xa+-parseInt(_0x386f02(0x1a8))/0xb*(-parseInt(_0x386f02(0x1be))/0xc);if(_0x11c4ea===_0x3ddede)break;else _0x552419['push'](_0x552419['shift']());}catch(_0x506c30){_0x552419['push'](_0x552419['shift']());}}}(_0xfcab,0xf17d9));function _0xfcab(){const _0x34449a=['initialContent','streaming','3880035PuKoQQ','5zFIgtq','8353779TcYkPD','ck-reset_all-excluded','1749680lqnyGa','extendTemplate','map','18MJodKw','isVisible','locale','4268550VgClmA','updateSources','render','615354Eucoyy','children','replyContainer','237AvtSiC','element','536856DrNTEx','add','markAsDone','ck-ai-chat__feed__ai-reply','div','innerHTML','11076JEbdTT','updateContent','options','streamIntoElement','ck-ai-chat__feed__ai-reply-container','static','setTemplate','addMany','165bwxiuU','8MMSaHi'];_0xfcab=function(){return _0x34449a;};return _0xfcab();}import{AIChatFeedItemView as _0x545d92}from'./aichatfeeditemview.js';import{parse as _0xf2826e,render as _0x755d9e}from'../../../aicore/utils/htmlparser.js';function _0x5aa8(_0x4ac0e2,_0x3735f3){const _0xfcab07=_0xfcab();return _0x5aa8=function(_0x5aa877,_0x3ea093){_0x5aa877=_0x5aa877-0x1a2;let _0x59f6dc=_0xfcab07[_0x5aa877];return _0x59f6dc;},_0x5aa8(_0x4ac0e2,_0x3735f3);}import{View as _0x192859}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2fe4ad,AIWebSourceView as _0x4a728b}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x545d92{[_0x5640c3(0x1bb)];constructor(_0x92fd2f,_0x4261ae){const _0x302b4b=_0x5640c3;super(_0x4261ae),this[_0x302b4b(0x1b5)]=_0x92fd2f,this[_0x302b4b(0x1b1)]({'attributes':{'class':[_0x302b4b(0x1c1)]}}),this[_0x302b4b(0x1bb)]=new _0x192859(),this[_0x302b4b(0x1bb)][_0x302b4b(0x1a6)]({'tag':_0x302b4b(0x1c2),'attributes':{'class':['ck',_0x302b4b(0x1af),_0x302b4b(0x1a4)]}}),this[_0x302b4b(0x1ba)][_0x302b4b(0x1bf)](this[_0x302b4b(0x1bb)]);}async[_0x5640c3(0x1b8)](){const _0x310135=_0x5640c3;super[_0x310135(0x1b8)](),this[_0x310135(0x1a2)][_0x310135(0x1aa)]&&(await this[_0x310135(0x1c5)]({'parsedContent':_0xf2826e(this[_0x310135(0x1a2)][_0x310135(0x1aa)]),'renderingStrategy':_0x310135(0x1a5)}),this[_0x310135(0x1c0)]());}async[_0x5640c3(0x1c5)]({parsedContent:_0x58b7aa,renderingStrategy:_0x37f931,abortSignal:_0x556770}){const _0x35e1b2=_0x5640c3;_0x35e1b2(0x1ab)===_0x37f931?await this[_0x35e1b2(0x1a3)](_0x58b7aa,this[_0x35e1b2(0x1bb)][_0x35e1b2(0x1bd)],_0x556770):this[_0x35e1b2(0x1bb)][_0x35e1b2(0x1bd)][_0x35e1b2(0x1c3)]=_0x755d9e(_0x58b7aa);}[_0x5640c3(0x1b7)](_0xd2994){const _0x411f7a=_0x5640c3,_0x3796b3=new _0x2fe4ad(this[_0x411f7a(0x1b5)]);_0x3796b3[_0x411f7a(0x1ba)][_0x411f7a(0x1a7)](_0xd2994[_0x411f7a(0x1b2)](_0xaa5cd=>new _0x4a728b(this[_0x411f7a(0x1b5)],_0xaa5cd))),_0x3796b3[_0x411f7a(0x1b4)]=!0x0,this[_0x411f7a(0x1ba)][_0x411f7a(0x1bf)](_0x3796b3);}}
23
+ const _0x49c3a0=_0x1ff1;(function(_0x127dc4,_0x3c1a58){const _0x1a6b7d=_0x1ff1,_0x195f31=_0x127dc4();while(!![]){try{const _0x6c6fdd=-parseInt(_0x1a6b7d(0x19c))/0x1+-parseInt(_0x1a6b7d(0x199))/0x2+parseInt(_0x1a6b7d(0x185))/0x3+parseInt(_0x1a6b7d(0x19d))/0x4*(-parseInt(_0x1a6b7d(0x197))/0x5)+-parseInt(_0x1a6b7d(0x19e))/0x6+-parseInt(_0x1a6b7d(0x18f))/0x7+parseInt(_0x1a6b7d(0x18c))/0x8;if(_0x6c6fdd===_0x3c1a58)break;else _0x195f31['push'](_0x195f31['shift']());}catch(_0x2df54e){_0x195f31['push'](_0x195f31['shift']());}}}(_0x7330,0xb2506));import{AIChatFeedItemView as _0x357347}from'./aichatfeeditemview.js';import{parse as _0x132eda,render as _0x182439}from'../../../aicore/utils/htmlparser.js';function _0x1ff1(_0xe5bd01,_0x336957){const _0x7330e9=_0x7330();return _0x1ff1=function(_0x1ff179,_0x2c8314){_0x1ff179=_0x1ff179-0x185;let _0x13b881=_0x7330e9[_0x1ff179];return _0x13b881;},_0x1ff1(_0xe5bd01,_0x336957);}function _0x7330(){const _0x3929fd=['options','streamIntoElement','innerHTML','515HyhPHM','children','868130JZfoWe','markAsDone','add','1378620OZliqp','7516CzLdpQ','600384TDnlZv','locale','streaming','ck-reset_all-excluded','initialContent','ck-ai-chat__feed__ai-reply','map','2359392wvhBAY','element','addMany','replyContainer','isVisible','updateSources','updateContent','25316608ZSucKC','setTemplate','extendTemplate','7800660pFmppd','render','ck-ai-chat__feed__ai-reply-container','div','static'];_0x7330=function(){return _0x3929fd;};return _0x7330();}import{View as _0x16d206}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0xeb009,AIWebSourceView as _0x5a135a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x357347{[_0x49c3a0(0x188)];constructor(_0x525510,_0x4a7575){const _0x19dd8a=_0x49c3a0;super(_0x4a7575),this[_0x19dd8a(0x19f)]=_0x525510,this[_0x19dd8a(0x18e)]({'attributes':{'class':[_0x19dd8a(0x1a3)]}}),this[_0x19dd8a(0x188)]=new _0x16d206(),this[_0x19dd8a(0x188)][_0x19dd8a(0x18d)]({'tag':_0x19dd8a(0x192),'attributes':{'class':['ck',_0x19dd8a(0x1a1),_0x19dd8a(0x191)]}}),this[_0x19dd8a(0x198)][_0x19dd8a(0x19b)](this[_0x19dd8a(0x188)]);}async[_0x49c3a0(0x190)](){const _0x19d090=_0x49c3a0;super[_0x19d090(0x190)](),this[_0x19d090(0x194)][_0x19d090(0x1a2)]&&(await this[_0x19d090(0x18b)]({'parsedContent':_0x132eda(this[_0x19d090(0x194)][_0x19d090(0x1a2)]),'renderingStrategy':_0x19d090(0x193)}),this[_0x19d090(0x19a)]());}async[_0x49c3a0(0x18b)]({parsedContent:_0x2e7a8a,renderingStrategy:_0x1e596f,abortSignal:_0x4093b6}){const _0x109e7f=_0x49c3a0;_0x109e7f(0x1a0)===_0x1e596f?await this[_0x109e7f(0x195)](_0x2e7a8a,this[_0x109e7f(0x188)][_0x109e7f(0x186)],_0x4093b6):this[_0x109e7f(0x188)][_0x109e7f(0x186)][_0x109e7f(0x196)]=_0x182439(_0x2e7a8a);}[_0x49c3a0(0x18a)](_0x28cfd4){const _0x1ae2c9=_0x49c3a0,_0x4e748c=new _0xeb009(this[_0x1ae2c9(0x19f)]);_0x4e748c[_0x1ae2c9(0x198)][_0x1ae2c9(0x187)](_0x28cfd4[_0x1ae2c9(0x1a4)](_0x5f4606=>new _0x5a135a(this[_0x1ae2c9(0x19f)],_0x5f4606))),_0x4e748c[_0x1ae2c9(0x189)]=!0x0,this[_0x1ae2c9(0x198)][_0x1ae2c9(0x19b)](_0x4e748c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22dc22=_0x1505;(function(_0x1ede67,_0x3e0d6a){const _0x24b6ac=_0x1505,_0x42d7ae=_0x1ede67();while(!![]){try{const _0xdcc1a3=-parseInt(_0x24b6ac(0x128))/0x1+parseInt(_0x24b6ac(0x12e))/0x2+-parseInt(_0x24b6ac(0x140))/0x3+parseInt(_0x24b6ac(0x152))/0x4*(parseInt(_0x24b6ac(0x141))/0x5)+parseInt(_0x24b6ac(0x12b))/0x6*(-parseInt(_0x24b6ac(0x120))/0x7)+-parseInt(_0x24b6ac(0x155))/0x8+parseInt(_0x24b6ac(0x15f))/0x9;if(_0xdcc1a3===_0x3e0d6a)break;else _0x42d7ae['push'](_0x42d7ae['shift']());}catch(_0x5a8da0){_0x42d7ae['push'](_0x42d7ae['shift']());}}}(_0x251d,0x87d9b));import{KeystrokeHandler as _0x5f0530}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x419a0e,BodyCollection as _0x5b2f64,clickOutsideHandler as _0x4deb30,ListItemButtonView as _0x1b232a,ListItemView as _0x182215,ListView as _0x7e2715,SplitButtonView as _0x61ff04,UIModel as _0x57d308,View as _0x3f1e9d}from'ckeditor5/src/ui.js';import{IconAddComment as _0x5ad74b,IconDocumentWithLoupe as _0x52ab83}from'ckeditor5/src/icons.js';import{getTranslation as _0x4dcb9f}from'../../../aicore/utils/common-translations.js';export class AIChatFeedSuggestionItemActionsView extends _0x3f1e9d{[_0x22dc22(0x13b)];[_0x22dc22(0x13e)];[_0x22dc22(0x126)];[_0x22dc22(0x168)];constructor(_0x264ede){const _0x23a0e8=_0x22dc22;super(_0x264ede);const _0x469b9d=this[_0x23a0e8(0x12f)];this[_0x23a0e8(0x158)](_0x23a0e8(0x125),!0x0),this[_0x23a0e8(0x158)](_0x23a0e8(0x14f),!0x0),this[_0x23a0e8(0x126)]=new _0x57d308({'label':_0x4dcb9f(_0x264ede,_0x23a0e8(0x156)),'icon':_0x52ab83,'withText':!0x0,'type':_0x23a0e8(0x167),'actionName':_0x23a0e8(0x162)}),this[_0x23a0e8(0x168)]=new _0x57d308({'label':_0x4dcb9f(_0x264ede,_0x23a0e8(0x143)),'icon':_0x5ad74b,'withText':!0x0,'type':_0x23a0e8(0x167),'actionName':_0x23a0e8(0x136)}),this[_0x23a0e8(0x13b)]=new Oo(_0x264ede,{'listItemModels':[this[_0x23a0e8(0x126)],this[_0x23a0e8(0x168)]]}),this[_0x23a0e8(0x13b)]['on'](_0x23a0e8(0x164),()=>{const _0x2d5d0a=_0x23a0e8;this[_0x2d5d0a(0x15e)](_0x2d5d0a(0x133));}),this[_0x23a0e8(0x13b)]['on'](_0x23a0e8(0x162),()=>{const _0x2becf9=_0x23a0e8;this[_0x2becf9(0x15e)](_0x2becf9(0x162));}),this[_0x23a0e8(0x13b)]['on'](_0x23a0e8(0x136),()=>{const _0x15dc69=_0x23a0e8;this[_0x15dc69(0x15e)](_0x15dc69(0x136));}),this[_0x23a0e8(0x13b)][_0x23a0e8(0x158)]({'label':_0x23a0e8(0x160),'tooltip':_0x4dcb9f(this[_0x23a0e8(0x166)],_0x23a0e8(0x123)),'withText':!0x0,'class':_0x23a0e8(0x11f),'balloonPanelClass':_0x23a0e8(0x13c)}),this[_0x23a0e8(0x13b)][_0x23a0e8(0x139)](_0x23a0e8(0x125))['to'](this),this[_0x23a0e8(0x13e)]=this[_0x23a0e8(0x14e)]([this[_0x23a0e8(0x13b)]]),this[_0x23a0e8(0x154)]({'tag':_0x23a0e8(0x150),'attributes':{'class':['ck',_0x23a0e8(0x11f),_0x469b9d['if'](_0x23a0e8(0x14f),_0x23a0e8(0x121),_0x58470f=>!_0x58470f)]},'children':[this[_0x23a0e8(0x13b)]]});}[_0x22dc22(0x13d)](_0x52304f){const _0x102aca=_0x22dc22,_0x12c45c=this[_0x102aca(0x166)];this[_0x102aca(0x13b)][_0x102aca(0x158)]({'label':_0x4dcb9f(_0x12c45c,_0x102aca(0x142),_0x52304f),'tooltip':_0x4dcb9f(_0x12c45c,_0x102aca(0x123),_0x52304f)}),this[_0x102aca(0x126)][_0x102aca(0x130)]=_0x4dcb9f(_0x12c45c,_0x102aca(0x156),_0x52304f),this[_0x102aca(0x168)][_0x102aca(0x130)]=_0x4dcb9f(_0x12c45c,_0x102aca(0x143),_0x52304f);}}class Oo extends _0x61ff04{[_0x22dc22(0x134)];[_0x22dc22(0x15a)];[_0x22dc22(0x161)];[_0x22dc22(0x165)];constructor(_0x11b903,_0x1d4afa){const _0x20c97f=_0x22dc22;super(_0x11b903),this[_0x20c97f(0x15a)]=new _0x419a0e(this[_0x20c97f(0x166)]),this[_0x20c97f(0x134)]=new _0x5b2f64(this[_0x20c97f(0x166)]),this[_0x20c97f(0x134)][_0x20c97f(0x147)](),this[_0x20c97f(0x158)](_0x20c97f(0x135),''),this[_0x20c97f(0x15a)][_0x20c97f(0x139)](_0x20c97f(0x137))['to'](this,_0x20c97f(0x135)),this[_0x20c97f(0x161)]=this[_0x20c97f(0x13f)](_0x1d4afa[_0x20c97f(0x124)]),this[_0x20c97f(0x134)][_0x20c97f(0x163)](this[_0x20c97f(0x15a)]),this[_0x20c97f(0x15a)][_0x20c97f(0x14a)][_0x20c97f(0x163)](this[_0x20c97f(0x161)]),this[_0x20c97f(0x127)][_0x20c97f(0x131)](_0x20c97f(0x15b)),this[_0x20c97f(0x127)][_0x20c97f(0x158)](_0x20c97f(0x15b),_0x4dcb9f(this[_0x20c97f(0x166)],_0x20c97f(0x13a))),this[_0x20c97f(0x148)](),this['on'](_0x20c97f(0x164),()=>{const _0x65d85d=_0x20c97f;this[_0x65d85d(0x15a)][_0x65d85d(0x149)](),this[_0x65d85d(0x127)][_0x65d85d(0x12a)]();}),this['on'](_0x20c97f(0x146),()=>{const _0x52977b=_0x20c97f;this[_0x52977b(0x15a)][_0x52977b(0x14f)]?(this[_0x52977b(0x15a)][_0x52977b(0x149)](),this[_0x52977b(0x127)][_0x52977b(0x12a)]()):(this[_0x52977b(0x15a)][_0x52977b(0x12d)]({'target':this[_0x52977b(0x145)],'positions':[_0x52977b(0x159)===this[_0x52977b(0x166)][_0x52977b(0x15c)]?go:Co]}),this[_0x52977b(0x161)][_0x52977b(0x12a)]());}),_0x4deb30({'emitter':this[_0x20c97f(0x15a)],'callback':()=>{const _0x31ce44=_0x20c97f;this[_0x31ce44(0x15a)][_0x31ce44(0x149)]();},'activator':()=>this[_0x20c97f(0x15a)][_0x20c97f(0x14f)],'contextElements':()=>[this[_0x20c97f(0x145)],this[_0x20c97f(0x15a)][_0x20c97f(0x145)]]});}[_0x22dc22(0x13f)](_0x572dfd){const _0xb9995d=_0x22dc22,_0x106646=this[_0xb9995d(0x166)],_0x59b0da=new _0x7e2715(_0x106646);for(const _0xa428e3 of _0x572dfd){const _0x2ac080=new _0x182215(_0x106646),_0x4d9e06=new _0x1b232a(_0x106646);_0x4d9e06[_0xb9995d(0x139)](...Object[_0xb9995d(0x14c)](_0xa428e3))['to'](_0xa428e3),_0x4d9e06[_0xb9995d(0x12c)](_0xb9995d(0x164))['to'](_0x59b0da),_0x2ac080[_0xb9995d(0x13e)][_0xb9995d(0x163)](_0x4d9e06),_0x59b0da[_0xb9995d(0x144)][_0xb9995d(0x163)](_0x2ac080);}return _0x59b0da[_0xb9995d(0x144)][_0xb9995d(0x12c)](_0xb9995d(0x164))['to'](this),_0x59b0da['on'](_0xb9995d(0x164),_0x32bf4a=>{const _0x3d1af1=_0xb9995d,_0x24fbb9=_0x32bf4a[_0x3d1af1(0x14d)];this[_0x3d1af1(0x15e)](_0x24fbb9[_0x3d1af1(0x14b)]),this[_0x3d1af1(0x15a)][_0x3d1af1(0x149)](),this[_0x3d1af1(0x127)][_0x3d1af1(0x12a)]();}),_0x59b0da;}[_0x22dc22(0x148)](){const _0xf7262a=_0x22dc22;this[_0xf7262a(0x165)]=new _0x5f0530(),this[_0xf7262a(0x165)][_0xf7262a(0x132)](this[_0xf7262a(0x15a)][_0xf7262a(0x145)]),this[_0xf7262a(0x165)][_0xf7262a(0x158)](_0xf7262a(0x122),(_0x349e64,_0x1a0107)=>{const _0x1eedee=_0xf7262a;this[_0x1eedee(0x15a)][_0x1eedee(0x149)](),this[_0x1eedee(0x127)][_0x1eedee(0x12a)](),_0x1a0107();});}[_0x22dc22(0x129)](){const _0x359c7f=_0x22dc22;super[_0x359c7f(0x129)](),this[_0x359c7f(0x165)][_0x359c7f(0x129)](),this[_0x359c7f(0x15a)][_0x359c7f(0x129)](),this[_0x359c7f(0x134)][_0x359c7f(0x151)]();}}function go(_0x3d17ed){const _0x1950ab=_0x22dc22;return{'top':_0x3d17ed[_0x1950ab(0x157)],'left':_0x3d17ed[_0x1950ab(0x138)],'name':_0x1950ab(0x15d),'config':{'withArrow':!0x1}};}function Co(_0x18570d,_0x4ac4bf){const _0x25553c=_0x22dc22;return{'top':_0x18570d[_0x25553c(0x157)],'left':_0x18570d[_0x25553c(0x138)]-(_0x4ac4bf[_0x25553c(0x153)]-_0x18570d[_0x25553c(0x153)]),'name':_0x25553c(0x15d),'config':{'withArrow':!0x1}};}function _0x1505(_0x46064e,_0x4a7403){const _0x251dbf=_0x251d();return _0x1505=function(_0x15056e,_0x3ddae6){_0x15056e=_0x15056e-0x11f;let _0x321e8e=_0x251dbf[_0x15056e];return _0x321e8e;},_0x1505(_0x46064e,_0x4a7403);}function _0x251d(){const _0x2f84eb=['AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','bottom','set','ltr','balloonPanelView','tooltip','uiLanguageDirection','arrowless','fire','20362644zHLbxb','Apply','listView','showChangeInText','add','execute','keystrokeHandler','locale','button','insertSuggestionModel','ck-ai-chat__feed__ai-suggestion__actions','133WthjfK','ck-hidden','esc','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','listItemModels','isEnabled','showChangeInTextModel','arrowView','151661UVkXxZ','destroy','focus','307398dOEPZJ','delegate','pin','588338afQWhS','bindTemplate','label','unbind','listenTo','applySuggestion','bodyCollection','balloonPanelClass','insertSuggestion','class','left','bind','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','actionsDropdown','ck-ai-chat__feed__ai-suggestion__actions__balloon','updateLabels','children','_setUpList','334704dQDNeW','975JFLpzC','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','items','element','open','attachToDom','_setUpKeystrokes','hide','content','actionName','keys','source','createCollection','isVisible','div','detachFromDom','4420McevbF','width','setTemplate','7832488KGbQkt'];_0x251d=function(){return _0x2f84eb;};return _0x251d();}
23
+ const _0x3bcad3=_0x32ea;(function(_0x48acd3,_0x4bc1dc){const _0x2c9e74=_0x32ea,_0x55ce5d=_0x48acd3();while(!![]){try{const _0x28cc0e=parseInt(_0x2c9e74(0x1b8))/0x1+-parseInt(_0x2c9e74(0x1c1))/0x2*(-parseInt(_0x2c9e74(0x1dc))/0x3)+-parseInt(_0x2c9e74(0x1b5))/0x4*(-parseInt(_0x2c9e74(0x1b1))/0x5)+-parseInt(_0x2c9e74(0x1ce))/0x6+parseInt(_0x2c9e74(0x1c9))/0x7*(parseInt(_0x2c9e74(0x1cc))/0x8)+parseInt(_0x2c9e74(0x1e1))/0x9*(-parseInt(_0x2c9e74(0x1cb))/0xa)+-parseInt(_0x2c9e74(0x1e7))/0xb;if(_0x28cc0e===_0x4bc1dc)break;else _0x55ce5d['push'](_0x55ce5d['shift']());}catch(_0x5d99ce){_0x55ce5d['push'](_0x55ce5d['shift']());}}}(_0x120c,0x63cb0));function _0x32ea(_0x45a8a0,_0x51faf0){const _0x120c52=_0x120c();return _0x32ea=function(_0x32ea4a,_0x539841){_0x32ea4a=_0x32ea4a-0x1a0;let _0x42ec47=_0x120c52[_0x32ea4a];return _0x42ec47;},_0x32ea(_0x45a8a0,_0x51faf0);}import{KeystrokeHandler as _0x1023bd}from'ckeditor5/src/utils.js';function _0x120c(){const _0x4b1ef7=['30rSvHmm','8CMOksA','listView','231624wYZcaS','children','set','esc','actionsDropdown','isVisible','showChangeInTextModel','fire','isEnabled','ltr','left','label','insertSuggestionModel','destroy','11727CGBRXq','listItemModels','keystrokeHandler','open','bindTemplate','2006793sadTNs','arrowless','execute','ck-ai-chat__feed__ai-suggestion__actions','class','listenTo','11321563FldYDO','bottom','ck-ai-chat__feed__ai-suggestion__actions__balloon','button','bind','bodyCollection','delegate','setTemplate','updateLabels','unbind','actionName','Apply','add','pin','balloonPanelView','content','focus','attachToDom','createCollection','keys','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','2755LaOsYB','applySuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','uiLanguageDirection','5596QnZEfC','insertSuggestion','_setUpKeystrokes','620938XXqJWZ','tooltip','div','locale','arrowView','detachFromDom','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','element','balloonPanelClass','236pssQDJ','showChangeInText','source','items','hide','ck-hidden','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','width','2047297NahzAw','_setUpList'];_0x120c=function(){return _0x4b1ef7;};return _0x120c();}import{BalloonPanelView as _0x4bf1f1,BodyCollection as _0xc728fe,clickOutsideHandler as _0x5b0c85,ListItemButtonView as _0x291445,ListItemView as _0x28c64b,ListView as _0x2be85d,SplitButtonView as _0x2d16fc,UIModel as _0x1c7dec,View as _0x39b3c4}from'ckeditor5/src/ui.js';import{IconAddComment as _0x270dc3,IconDocumentWithLoupe as _0xfa0f43}from'ckeditor5/src/icons.js';import{getTranslation as _0x4eac91}from'../../../aicore/utils/common-translations.js';export class AIChatFeedSuggestionItemActionsView extends _0x39b3c4{[_0x3bcad3(0x1d2)];[_0x3bcad3(0x1cf)];[_0x3bcad3(0x1d4)];[_0x3bcad3(0x1da)];constructor(_0x25ff3c){const _0xba7e00=_0x3bcad3;super(_0x25ff3c);const _0x5acf2d=this[_0xba7e00(0x1e0)];this[_0xba7e00(0x1d0)](_0xba7e00(0x1d6),!0x0),this[_0xba7e00(0x1d0)](_0xba7e00(0x1d3),!0x0),this[_0xba7e00(0x1d4)]=new _0x1c7dec({'label':_0x4eac91(_0x25ff3c,_0xba7e00(0x1c7)),'icon':_0xfa0f43,'withText':!0x0,'type':_0xba7e00(0x1ea),'actionName':_0xba7e00(0x1c2)}),this[_0xba7e00(0x1da)]=new _0x1c7dec({'label':_0x4eac91(_0x25ff3c,_0xba7e00(0x1b0)),'icon':_0x270dc3,'withText':!0x0,'type':_0xba7e00(0x1ea),'actionName':_0xba7e00(0x1b6)}),this[_0xba7e00(0x1d2)]=new qo(_0x25ff3c,{'listItemModels':[this[_0xba7e00(0x1d4)],this[_0xba7e00(0x1da)]]}),this[_0xba7e00(0x1d2)]['on'](_0xba7e00(0x1e3),()=>{const _0x12856f=_0xba7e00;this[_0x12856f(0x1d5)](_0x12856f(0x1b2));}),this[_0xba7e00(0x1d2)]['on'](_0xba7e00(0x1c2),()=>{const _0x211037=_0xba7e00;this[_0x211037(0x1d5)](_0x211037(0x1c2));}),this[_0xba7e00(0x1d2)]['on'](_0xba7e00(0x1b6),()=>{const _0x4dd9af=_0xba7e00;this[_0x4dd9af(0x1d5)](_0x4dd9af(0x1b6));}),this[_0xba7e00(0x1d2)][_0xba7e00(0x1d0)]({'label':_0xba7e00(0x1a6),'tooltip':_0x4eac91(this[_0xba7e00(0x1bb)],_0xba7e00(0x1b3)),'withText':!0x0,'class':_0xba7e00(0x1e4),'balloonPanelClass':_0xba7e00(0x1e9)}),this[_0xba7e00(0x1d2)][_0xba7e00(0x1eb)](_0xba7e00(0x1d6))['to'](this),this[_0xba7e00(0x1cf)]=this[_0xba7e00(0x1ad)]([this[_0xba7e00(0x1d2)]]),this[_0xba7e00(0x1a2)]({'tag':_0xba7e00(0x1ba),'attributes':{'class':['ck',_0xba7e00(0x1e4),_0x5acf2d['if'](_0xba7e00(0x1d3),_0xba7e00(0x1c6),_0x26d899=>!_0x26d899)]},'children':[this[_0xba7e00(0x1d2)]]});}[_0x3bcad3(0x1a3)](_0x2b8b40){const _0x5b9ef6=_0x3bcad3,_0x7fe675=this[_0x5b9ef6(0x1bb)];this[_0x5b9ef6(0x1d2)][_0x5b9ef6(0x1d0)]({'label':_0x4eac91(_0x7fe675,_0x5b9ef6(0x1be),_0x2b8b40),'tooltip':_0x4eac91(_0x7fe675,_0x5b9ef6(0x1b3),_0x2b8b40)}),this[_0x5b9ef6(0x1d4)][_0x5b9ef6(0x1d9)]=_0x4eac91(_0x7fe675,_0x5b9ef6(0x1c7),_0x2b8b40),this[_0x5b9ef6(0x1da)][_0x5b9ef6(0x1d9)]=_0x4eac91(_0x7fe675,_0x5b9ef6(0x1b0),_0x2b8b40);}}class qo extends _0x2d16fc{[_0x3bcad3(0x1a0)];[_0x3bcad3(0x1a9)];[_0x3bcad3(0x1cd)];[_0x3bcad3(0x1de)];constructor(_0x3719f3,_0x25f2c4){const _0x2b1700=_0x3bcad3;super(_0x3719f3),this[_0x2b1700(0x1a9)]=new _0x4bf1f1(this[_0x2b1700(0x1bb)]),this[_0x2b1700(0x1a0)]=new _0xc728fe(this[_0x2b1700(0x1bb)]),this[_0x2b1700(0x1a0)][_0x2b1700(0x1ac)](),this[_0x2b1700(0x1d0)](_0x2b1700(0x1c0),''),this[_0x2b1700(0x1a9)][_0x2b1700(0x1eb)](_0x2b1700(0x1e5))['to'](this,_0x2b1700(0x1c0)),this[_0x2b1700(0x1cd)]=this[_0x2b1700(0x1ca)](_0x25f2c4[_0x2b1700(0x1dd)]),this[_0x2b1700(0x1a0)][_0x2b1700(0x1a7)](this[_0x2b1700(0x1a9)]),this[_0x2b1700(0x1a9)][_0x2b1700(0x1aa)][_0x2b1700(0x1a7)](this[_0x2b1700(0x1cd)]),this[_0x2b1700(0x1bc)][_0x2b1700(0x1a4)](_0x2b1700(0x1b9)),this[_0x2b1700(0x1bc)][_0x2b1700(0x1d0)](_0x2b1700(0x1b9),_0x4eac91(this[_0x2b1700(0x1bb)],_0x2b1700(0x1af))),this[_0x2b1700(0x1b7)](),this['on'](_0x2b1700(0x1e3),()=>{const _0x2cc4a8=_0x2b1700;this[_0x2cc4a8(0x1a9)][_0x2cc4a8(0x1c5)](),this[_0x2cc4a8(0x1bc)][_0x2cc4a8(0x1ab)]();}),this['on'](_0x2b1700(0x1df),()=>{const _0x3199be=_0x2b1700;this[_0x3199be(0x1a9)][_0x3199be(0x1d3)]?(this[_0x3199be(0x1a9)][_0x3199be(0x1c5)](),this[_0x3199be(0x1bc)][_0x3199be(0x1ab)]()):(this[_0x3199be(0x1a9)][_0x3199be(0x1a8)]({'target':this[_0x3199be(0x1bf)],'positions':[_0x3199be(0x1d7)===this[_0x3199be(0x1bb)][_0x3199be(0x1b4)]?zo:Jo]}),this[_0x3199be(0x1cd)][_0x3199be(0x1ab)]());}),_0x5b0c85({'emitter':this[_0x2b1700(0x1a9)],'callback':()=>{const _0x38359c=_0x2b1700;this[_0x38359c(0x1a9)][_0x38359c(0x1c5)]();},'activator':()=>this[_0x2b1700(0x1a9)][_0x2b1700(0x1d3)],'contextElements':()=>[this[_0x2b1700(0x1bf)],this[_0x2b1700(0x1a9)][_0x2b1700(0x1bf)]]});}[_0x3bcad3(0x1ca)](_0x3bf401){const _0x169cf5=_0x3bcad3,_0x2e1ac7=this[_0x169cf5(0x1bb)],_0x43a5af=new _0x2be85d(_0x2e1ac7);for(const _0x44d576 of _0x3bf401){const _0x400272=new _0x28c64b(_0x2e1ac7),_0x38c9c3=new _0x291445(_0x2e1ac7);_0x38c9c3[_0x169cf5(0x1eb)](...Object[_0x169cf5(0x1ae)](_0x44d576))['to'](_0x44d576),_0x38c9c3[_0x169cf5(0x1a1)](_0x169cf5(0x1e3))['to'](_0x43a5af),_0x400272[_0x169cf5(0x1cf)][_0x169cf5(0x1a7)](_0x38c9c3),_0x43a5af[_0x169cf5(0x1c4)][_0x169cf5(0x1a7)](_0x400272);}return _0x43a5af[_0x169cf5(0x1c4)][_0x169cf5(0x1a1)](_0x169cf5(0x1e3))['to'](this),_0x43a5af['on'](_0x169cf5(0x1e3),_0x40cd85=>{const _0x583887=_0x169cf5,_0x3ef4ca=_0x40cd85[_0x583887(0x1c3)];this[_0x583887(0x1d5)](_0x3ef4ca[_0x583887(0x1a5)]),this[_0x583887(0x1a9)][_0x583887(0x1c5)](),this[_0x583887(0x1bc)][_0x583887(0x1ab)]();}),_0x43a5af;}[_0x3bcad3(0x1b7)](){const _0x2b163d=_0x3bcad3;this[_0x2b163d(0x1de)]=new _0x1023bd(),this[_0x2b163d(0x1de)][_0x2b163d(0x1e6)](this[_0x2b163d(0x1a9)][_0x2b163d(0x1bf)]),this[_0x2b163d(0x1de)][_0x2b163d(0x1d0)](_0x2b163d(0x1d1),(_0x4e11ae,_0xe5e50)=>{const _0xd59d21=_0x2b163d;this[_0xd59d21(0x1a9)][_0xd59d21(0x1c5)](),this[_0xd59d21(0x1bc)][_0xd59d21(0x1ab)](),_0xe5e50();});}[_0x3bcad3(0x1db)](){const _0xde4360=_0x3bcad3;super[_0xde4360(0x1db)](),this[_0xde4360(0x1de)][_0xde4360(0x1db)](),this[_0xde4360(0x1a9)][_0xde4360(0x1db)](),this[_0xde4360(0x1a0)][_0xde4360(0x1bd)]();}}function zo(_0x1c18d4){const _0x156aa2=_0x3bcad3;return{'top':_0x1c18d4[_0x156aa2(0x1e8)],'left':_0x1c18d4[_0x156aa2(0x1d8)],'name':_0x156aa2(0x1e2),'config':{'withArrow':!0x1}};}function Jo(_0x22d60e,_0x9f9ee5){const _0x48ad60=_0x3bcad3;return{'top':_0x22d60e[_0x48ad60(0x1e8)],'left':_0x22d60e[_0x48ad60(0x1d8)]-(_0x9f9ee5[_0x48ad60(0x1c8)]-_0x22d60e[_0x48ad60(0x1c8)]),'name':_0x48ad60(0x1e2),'config':{'withArrow':!0x1}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c47(){var _0xcd168d=['areActionsDisabled','containerView','applySuggestion','6TnAfVj','hasNonEmptyParts','updateSources','insertSuggestion','hasPendingParts','getPartView','bodyView','partsCount','updateContent','1083260AbMSeN','342888IUIZrE','5413950bgChjl','updateLabels','420192JUqBBY','children','actionsView','isVisible','addMany','1mAlDrr','fire','toggleSuggestionDisplayMode','showChangeInText','rejectSuggestion','277676WHPqBE','mouseLeaveSuggestion','mouseOverSuggestion','updatePartState','529858xzPRgO','markAsDone','extendTemplate','options','isEnabled','bind','showDiff','938511WgxbGs','dislike','ck-ai-chat__feed__ai-suggestion','like'];_0x2c47=function(){return _0xcd168d;};return _0x2c47();}var _0x556a59=_0x39d9;(function(_0xc4cfa7,_0x1796df){var _0xab3229=_0x39d9,_0x473468=_0xc4cfa7();while(!![]){try{var _0x4ac4c0=-parseInt(_0xab3229(0x185))/0x1*(-parseInt(_0xab3229(0x18e))/0x2)+-parseInt(_0xab3229(0x19c))/0x3*(-parseInt(_0xab3229(0x18a))/0x4)+parseInt(_0xab3229(0x1a5))/0x5+-parseInt(_0xab3229(0x1a6))/0x6+parseInt(_0xab3229(0x195))/0x7+parseInt(_0xab3229(0x1a9))/0x8+-parseInt(_0xab3229(0x1a7))/0x9;if(_0x4ac4c0===_0x1796df)break;else _0x473468['push'](_0x473468['shift']());}catch(_0x804482){_0x473468['push'](_0x473468['shift']());}}}(_0x2c47,0x2435e));function _0x39d9(_0x6ef1c5,_0x36389a){var _0x2c4723=_0x2c47();return _0x39d9=function(_0x39d9d7,_0x3f25b5){_0x39d9d7=_0x39d9d7-0x181;var _0xd01909=_0x2c4723[_0x39d9d7];return _0xd01909;},_0x39d9(_0x6ef1c5,_0x36389a);}import{AIChatFeedItemView as _0x1f4062}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x31f681}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x11abe8}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x1f4062{[_0x556a59(0x19a)];[_0x556a59(0x182)];constructor(_0xee55f,_0x21c938){var _0x396f19=_0x556a59;super(_0x21c938),this[_0x396f19(0x19a)]=new _0x31f681(_0xee55f,{'showDiff':_0x21c938[_0x396f19(0x194)],'areActionsDisabled':_0x21c938[_0x396f19(0x199)]}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x187),(_0x503b00,_0x5a9b9b)=>{var _0xee63af=_0x396f19;this[_0xee63af(0x186)](_0xee63af(0x187),{'replyId':this[_0xee63af(0x191)]['id'],'showDiff':_0x5a9b9b[_0xee63af(0x194)]});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x198),()=>{var _0x32508c=_0x396f19;this[_0x32508c(0x186)](_0x32508c(0x198),{'replyId':this[_0x32508c(0x191)]['id']});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x196),()=>{var _0x5bc19d=_0x396f19;this[_0x5bc19d(0x186)](_0x5bc19d(0x196),{'replyId':this[_0x5bc19d(0x191)]['id']});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x188),(_0x13eef3,{index:_0x39ebd6})=>{var _0xd2dd37=_0x396f19;this[_0xd2dd37(0x186)](_0xd2dd37(0x188),{'replyId':this[_0xd2dd37(0x191)]['id'],'partIndex':_0x39ebd6});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x19f),(_0x3034eb,{index:_0x23f9ec})=>{var _0x1da88b=_0x396f19;this[_0x1da88b(0x186)](_0x1da88b(0x19f),{'replyId':this[_0x1da88b(0x191)]['id'],'partIndex':_0x23f9ec});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x189),(_0x5890d1,{index:_0x186596})=>{var _0x2b65f4=_0x396f19;this[_0x2b65f4(0x186)](_0x2b65f4(0x189),{'replyId':this[_0x2b65f4(0x191)]['id'],'partIndex':_0x186596});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x18c),(_0x247155,{index:_0x37ccd5})=>{var _0x547bdc=_0x396f19;this[_0x547bdc(0x186)](_0x547bdc(0x18c),{'replyId':this[_0x547bdc(0x191)]['id'],'partIndex':_0x37ccd5});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x18b),(_0x2b24e4,{index:_0x2e3ab1})=>{var _0x424d89=_0x396f19;this[_0x424d89(0x186)](_0x424d89(0x18b),{'replyId':this[_0x424d89(0x191)]['id'],'partIndex':_0x2e3ab1});}),this[_0x396f19(0x182)]=new _0x11abe8(_0xee55f),this[_0x396f19(0x182)]['on'](_0x396f19(0x188),()=>{var _0x589492=_0x396f19;this[_0x589492(0x186)](_0x589492(0x188),{'replyId':this[_0x589492(0x191)]['id']});}),this[_0x396f19(0x182)]['on'](_0x396f19(0x19f),()=>{var _0x1be767=_0x396f19;this[_0x1be767(0x186)](_0x1be767(0x19f),{'replyId':this[_0x1be767(0x191)]['id']});}),this[_0x396f19(0x182)]['on'](_0x396f19(0x19b),()=>{var _0x5c2d23=_0x396f19;this[_0x5c2d23(0x186)](_0x5c2d23(0x19b),{'replyId':this[_0x5c2d23(0x191)]['id']});}),_0x21c938[_0x396f19(0x199)]?this[_0x396f19(0x182)][_0x396f19(0x192)]=!0x1:this[_0x396f19(0x182)][_0x396f19(0x193)](_0x396f19(0x192))['to'](this[_0x396f19(0x19a)][_0x396f19(0x1a2)],_0x396f19(0x1a0)),this[_0x396f19(0x181)][_0x396f19(0x184)]([this[_0x396f19(0x19a)],this[_0x396f19(0x182)]]),this[_0x396f19(0x190)]({'attributes':{'class':[_0x396f19(0x197)]}});}async[_0x556a59(0x1a4)](_0xc203c1){var _0x28bbd5=_0x556a59;await this[_0x28bbd5(0x19a)][_0x28bbd5(0x1a4)](_0xc203c1),this[_0x28bbd5(0x182)][_0x28bbd5(0x1a8)](this[_0x28bbd5(0x19a)][_0x28bbd5(0x1a2)][_0x28bbd5(0x1a3)]);}[_0x556a59(0x18d)](_0x32a911,_0x3bacef){var _0x4815b6=_0x556a59;this[_0x4815b6(0x19a)][_0x4815b6(0x1a2)][_0x4815b6(0x18d)](_0x32a911,_0x3bacef);}[_0x556a59(0x19e)](_0x9569c4){var _0xeb853f=_0x556a59;this[_0xeb853f(0x19a)][_0xeb853f(0x19e)](_0x9569c4);}[_0x556a59(0x1a1)](_0x370f91){var _0x111b4b=_0x556a59;return this[_0x111b4b(0x19a)][_0x111b4b(0x1a2)][_0x111b4b(0x1a1)](_0x370f91);}[_0x556a59(0x18f)](){var _0x5e6ec4=_0x556a59;super[_0x5e6ec4(0x18f)](),this[_0x5e6ec4(0x19a)][_0x5e6ec4(0x18f)](),this[_0x5e6ec4(0x182)][_0x5e6ec4(0x183)]=this[_0x5e6ec4(0x19a)][_0x5e6ec4(0x1a2)][_0x5e6ec4(0x19d)];}}
23
+ function _0x3f6b(){var _0x509673=['insertSuggestion','mouseOverSuggestion','containerView','children','addMany','updateContent','applySuggestion','areActionsDisabled','showChangeInText','5203675kxTjtu','getPartView','3005628zsqoiw','like','40372947gzxPdH','7eIUibk','hasPendingParts','3EtCmcW','toggleSuggestionDisplayMode','587914uEeCPy','hasNonEmptyParts','bodyView','ck-ai-chat__feed__ai-suggestion','showDiff','rejectSuggestion','fire','options','2792046BfPUra','actionsView','12343904XuAoYi','updateSources','dislike','updateLabels','4029444VkynMR','mouseLeaveSuggestion','isVisible','isEnabled','partsCount','markAsDone','bind','updatePartState','extendTemplate','10VXUeoW'];_0x3f6b=function(){return _0x509673;};return _0x3f6b();}var _0x102a69=_0x5332;(function(_0x286d98,_0x35c473){var _0x1ebec0=_0x5332,_0x53c115=_0x286d98();while(!![]){try{var _0x50f436=-parseInt(_0x1ebec0(0x11b))/0x1*(parseInt(_0x1ebec0(0x11d))/0x2)+-parseInt(_0x1ebec0(0x101))/0x3+parseInt(_0x1ebec0(0x116))/0x4+-parseInt(_0x1ebec0(0x114))/0x5+-parseInt(_0x1ebec0(0xfb))/0x6*(-parseInt(_0x1ebec0(0x119))/0x7)+-parseInt(_0x1ebec0(0xfd))/0x8+-parseInt(_0x1ebec0(0x118))/0x9*(-parseInt(_0x1ebec0(0x10a))/0xa);if(_0x50f436===_0x35c473)break;else _0x53c115['push'](_0x53c115['shift']());}catch(_0x3b2d3f){_0x53c115['push'](_0x53c115['shift']());}}}(_0x3f6b,0xda3c1));import{AIChatFeedItemView as _0x48103a}from'./aichatfeeditemview.js';function _0x5332(_0x4faec8,_0xce7412){var _0x3f6b2b=_0x3f6b();return _0x5332=function(_0x53325a,_0x426ae2){_0x53325a=_0x53325a-0xf6;var _0x12e936=_0x3f6b2b[_0x53325a];return _0x12e936;},_0x5332(_0x4faec8,_0xce7412);}import{AISuggestionContainerView as _0x5b2a52}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x55db68}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x48103a{[_0x102a69(0x10d)];[_0x102a69(0xfc)];constructor(_0x4e3691,_0xd39a0d){var _0x3144fa=_0x102a69;super(_0xd39a0d),this[_0x3144fa(0x10d)]=new _0x5b2a52(_0x4e3691,{'showDiff':_0xd39a0d[_0x3144fa(0xf7)],'areActionsDisabled':_0xd39a0d[_0x3144fa(0x112)]}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0x11c),(_0x10d71e,_0x188ffe)=>{var _0x371c4d=_0x3144fa;this[_0x371c4d(0xf9)](_0x371c4d(0x11c),{'replyId':this[_0x371c4d(0xfa)]['id'],'showDiff':_0x188ffe[_0x371c4d(0xf7)]});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0x117),()=>{var _0x2fc5f3=_0x3144fa;this[_0x2fc5f3(0xf9)](_0x2fc5f3(0x117),{'replyId':this[_0x2fc5f3(0xfa)]['id']});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0xff),()=>{var _0x1777b0=_0x3144fa;this[_0x1777b0(0xf9)](_0x1777b0(0xff),{'replyId':this[_0x1777b0(0xfa)]['id']});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0x113),(_0x11f563,{index:_0x2a634d})=>{var _0x303dbe=_0x3144fa;this[_0x303dbe(0xf9)](_0x303dbe(0x113),{'replyId':this[_0x303dbe(0xfa)]['id'],'partIndex':_0x2a634d});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0x10b),(_0x4f1f09,{index:_0x2e544})=>{var _0x3b5953=_0x3144fa;this[_0x3b5953(0xf9)](_0x3b5953(0x10b),{'replyId':this[_0x3b5953(0xfa)]['id'],'partIndex':_0x2e544});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0xf8),(_0x1a2633,{index:_0x3b2fea})=>{var _0x49f18f=_0x3144fa;this[_0x49f18f(0xf9)](_0x49f18f(0xf8),{'replyId':this[_0x49f18f(0xfa)]['id'],'partIndex':_0x3b2fea});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0x10c),(_0xd3b28a,{index:_0x2cd83e})=>{var _0x1c57a6=_0x3144fa;this[_0x1c57a6(0xf9)](_0x1c57a6(0x10c),{'replyId':this[_0x1c57a6(0xfa)]['id'],'partIndex':_0x2cd83e});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0x102),(_0x3093ac,{index:_0x131321})=>{var _0x4d3883=_0x3144fa;this[_0x4d3883(0xf9)](_0x4d3883(0x102),{'replyId':this[_0x4d3883(0xfa)]['id'],'partIndex':_0x131321});}),this[_0x3144fa(0xfc)]=new _0x55db68(_0x4e3691),this[_0x3144fa(0xfc)]['on'](_0x3144fa(0x113),()=>{var _0x40fcb5=_0x3144fa;this[_0x40fcb5(0xf9)](_0x40fcb5(0x113),{'replyId':this[_0x40fcb5(0xfa)]['id']});}),this[_0x3144fa(0xfc)]['on'](_0x3144fa(0x10b),()=>{var _0xeb29cd=_0x3144fa;this[_0xeb29cd(0xf9)](_0xeb29cd(0x10b),{'replyId':this[_0xeb29cd(0xfa)]['id']});}),this[_0x3144fa(0xfc)]['on'](_0x3144fa(0x111),()=>{var _0x311b54=_0x3144fa;this[_0x311b54(0xf9)](_0x311b54(0x111),{'replyId':this[_0x311b54(0xfa)]['id']});}),_0xd39a0d[_0x3144fa(0x112)]?this[_0x3144fa(0xfc)][_0x3144fa(0x104)]=!0x1:this[_0x3144fa(0xfc)][_0x3144fa(0x107)](_0x3144fa(0x104))['to'](this[_0x3144fa(0x10d)][_0x3144fa(0x11f)],_0x3144fa(0x11a)),this[_0x3144fa(0x10e)][_0x3144fa(0x10f)]([this[_0x3144fa(0x10d)],this[_0x3144fa(0xfc)]]),this[_0x3144fa(0x109)]({'attributes':{'class':[_0x3144fa(0xf6)]}});}async[_0x102a69(0x110)](_0x5b24be){var _0x51b490=_0x102a69;await this[_0x51b490(0x10d)][_0x51b490(0x110)](_0x5b24be),this[_0x51b490(0xfc)][_0x51b490(0x100)](this[_0x51b490(0x10d)][_0x51b490(0x11f)][_0x51b490(0x105)]);}[_0x102a69(0x108)](_0x371c16,_0x378e71){var _0x4894fc=_0x102a69;this[_0x4894fc(0x10d)][_0x4894fc(0x11f)][_0x4894fc(0x108)](_0x371c16,_0x378e71);}[_0x102a69(0xfe)](_0x558555){var _0x517415=_0x102a69;this[_0x517415(0x10d)][_0x517415(0xfe)](_0x558555);}[_0x102a69(0x115)](_0x37f6cd){var _0xebe209=_0x102a69;return this[_0xebe209(0x10d)][_0xebe209(0x11f)][_0xebe209(0x115)](_0x37f6cd);}[_0x102a69(0x106)](){var _0x22e9f8=_0x102a69;super[_0x22e9f8(0x106)](),this[_0x22e9f8(0x10d)][_0x22e9f8(0x106)](),this[_0x22e9f8(0xfc)][_0x22e9f8(0x103)]=this[_0x22e9f8(0x10d)][_0x22e9f8(0x11f)][_0x22e9f8(0x11e)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2fe3(_0x3b3320,_0x2cc4fe){var _0x27225f=_0x2722();return _0x2fe3=function(_0x2fe30c,_0x1e8f79){_0x2fe30c=_0x2fe30c-0xcd;var _0x2fd862=_0x27225f[_0x2fe30c];return _0x2fd862;},_0x2fe3(_0x3b3320,_0x2cc4fe);}function _0x2722(){var _0x44a828=['extendTemplate','_createMessageContentView','setTemplate','options','1310790Yespnf','143PsAkpH','_messageContentView','filter','8CkRJFC','add','ck-ai-chat__feed__user-message','contextItems','128352zgShAz','element','children','innerHTML','_bodyCollection','7hOcyQf','div','hidden','_contextChipsView','length','markAsDone','114pGFwxd','5470435AftDjR','8734446DhjuMY','ck-ai-chat__feed__context-chips','3906450UsajIE','257825JEtzGO','_createContextChipsView','render','ck-ai-chat__feed__message-content','7673672MSNDwq','initialContent','_locale'];_0x2722=function(){return _0x44a828;};return _0x2722();}var _0x41ffe3=_0x2fe3;(function(_0x4e29d2,_0xa94f79){var _0x1fec63=_0x2fe3,_0x4737a1=_0x4e29d2();while(!![]){try{var _0x47a3b9=parseInt(_0x1fec63(0xd6))/0x1*(-parseInt(_0x1fec63(0xe5))/0x2)+-parseInt(_0x1fec63(0xd1))/0x3*(-parseInt(_0x1fec63(0xe9))/0x4)+-parseInt(_0x1fec63(0xd2))/0x5+-parseInt(_0x1fec63(0xd3))/0x6+parseInt(_0x1fec63(0xee))/0x7*(parseInt(_0x1fec63(0xda))/0x8)+parseInt(_0x1fec63(0xd5))/0x9+parseInt(_0x1fec63(0xe1))/0xa*(parseInt(_0x1fec63(0xe2))/0xb);if(_0x47a3b9===_0xa94f79)break;else _0x4737a1['push'](_0x4737a1['shift']());}catch(_0x5613d1){_0x4737a1['push'](_0x4737a1['shift']());}}}(_0x2722,0xb390e));import{AIChatFeedItemView as _0x45f0e9}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0xbf48e5}from'./aichatfeedcontextchipsview.js';import{View as _0x1e387b}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x45f0e9{[_0x41ffe3(0xce)]=null;[_0x41ffe3(0xdc)];[_0x41ffe3(0xed)];[_0x41ffe3(0xe3)];constructor(_0x22b00d,_0x206587,_0x4b418f){var _0x419874=_0x41ffe3;super(_0x206587),this[_0x419874(0xdc)]=_0x22b00d,this[_0x419874(0xed)]=_0x4b418f,this[_0x419874(0xd7)](),this[_0x419874(0xde)](),this[_0x419874(0xdd)]({'attributes':{'class':[_0x419874(0xe7)]}});}[_0x41ffe3(0xd7)](){var _0x19bcff=_0x41ffe3;this[_0x19bcff(0xe0)][_0x19bcff(0xe8)]&&this[_0x19bcff(0xe0)][_0x19bcff(0xe8)][_0x19bcff(0xcf)]>0x0&&(this[_0x19bcff(0xce)]=new _0xbf48e5(this[_0x19bcff(0xdc)],this[_0x19bcff(0xe0)][_0x19bcff(0xe8)][_0x19bcff(0xe4)](_0x4f2587=>!_0x4f2587[_0x19bcff(0xcd)]),this[_0x19bcff(0xed)]),this[_0x19bcff(0xce)][_0x19bcff(0xdd)]({'attributes':{'class':_0x19bcff(0xd4)}}),this[_0x19bcff(0xeb)][_0x19bcff(0xe6)](this[_0x19bcff(0xce)]));}[_0x41ffe3(0xde)](){var _0x166fa5=_0x41ffe3;this[_0x166fa5(0xe3)]=new _0x1e387b(this[_0x166fa5(0xdc)]),this[_0x166fa5(0xe3)][_0x166fa5(0xdf)]({'tag':_0x166fa5(0xef),'attributes':{'class':_0x166fa5(0xd9)}}),this[_0x166fa5(0xeb)][_0x166fa5(0xe6)](this[_0x166fa5(0xe3)]);}[_0x41ffe3(0xd8)](){var _0xc88ecc=_0x41ffe3;super[_0xc88ecc(0xd8)](),this[_0xc88ecc(0xe3)][_0xc88ecc(0xea)][_0xc88ecc(0xec)]=this[_0xc88ecc(0xe0)][_0xc88ecc(0xdb)],this[_0xc88ecc(0xd0)]();}}
23
+ var _0x204e2f=_0xbba5;function _0x2534(){var _0x3aad09=['options','8qIKRZz','setTemplate','add','innerHTML','element','contextItems','_createContextChipsView','2pLGmwM','349314yphUmZ','ck-ai-chat__feed__user-message','_createMessageContentView','_bodyCollection','3143805DorcZX','_contextChipsView','132MslkBn','367524uYWMxX','markAsDone','ck-ai-chat__feed__message-content','hidden','1181403syzQKM','9232220ejHEUf','ck-ai-chat__feed__context-chips','2489391zWvbgy','_locale','children','filter','extendTemplate','_messageContentView','376690XWoHSk','initialContent','div','length','render'];_0x2534=function(){return _0x3aad09;};return _0x2534();}(function(_0x2182d9,_0x488ac9){var _0x498215=_0xbba5,_0xf12fd2=_0x2182d9();while(!![]){try{var _0x177f20=parseInt(_0x498215(0x148))/0x1+parseInt(_0x498215(0x155))/0x2*(-parseInt(_0x498215(0x161))/0x3)+-parseInt(_0x498215(0x15d))/0x4+parseInt(_0x498215(0x15a))/0x5+parseInt(_0x498215(0x15c))/0x6*(-parseInt(_0x498215(0x156))/0x7)+parseInt(_0x498215(0x14e))/0x8*(parseInt(_0x498215(0x164))/0x9)+parseInt(_0x498215(0x162))/0xa;if(_0x177f20===_0x488ac9)break;else _0xf12fd2['push'](_0xf12fd2['shift']());}catch(_0x354df1){_0xf12fd2['push'](_0xf12fd2['shift']());}}}(_0x2534,0x97cb2));import{AIChatFeedItemView as _0x3e043b}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x56a140}from'./aichatfeedcontextchipsview.js';function _0xbba5(_0x4c8167,_0x30c7d1){var _0x25349f=_0x2534();return _0xbba5=function(_0xbba57,_0x1ec99b){_0xbba57=_0xbba57-0x143;var _0x424868=_0x25349f[_0xbba57];return _0x424868;},_0xbba5(_0x4c8167,_0x30c7d1);}import{View as _0xc2b3df}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x3e043b{[_0x204e2f(0x15b)]=null;[_0x204e2f(0x143)];[_0x204e2f(0x159)];[_0x204e2f(0x147)];constructor(_0x1589df,_0xdc8e1c,_0x34f0f4){var _0xae0848=_0x204e2f;super(_0xdc8e1c),this[_0xae0848(0x143)]=_0x1589df,this[_0xae0848(0x159)]=_0x34f0f4,this[_0xae0848(0x154)](),this[_0xae0848(0x158)](),this[_0xae0848(0x146)]({'attributes':{'class':[_0xae0848(0x157)]}});}[_0x204e2f(0x154)](){var _0x1e174f=_0x204e2f;this[_0x1e174f(0x14d)][_0x1e174f(0x153)]&&this[_0x1e174f(0x14d)][_0x1e174f(0x153)][_0x1e174f(0x14b)]>0x0&&(this[_0x1e174f(0x15b)]=new _0x56a140(this[_0x1e174f(0x143)],this[_0x1e174f(0x14d)][_0x1e174f(0x153)][_0x1e174f(0x145)](_0x23feab=>!_0x23feab[_0x1e174f(0x160)]),this[_0x1e174f(0x159)]),this[_0x1e174f(0x15b)][_0x1e174f(0x146)]({'attributes':{'class':_0x1e174f(0x163)}}),this[_0x1e174f(0x144)][_0x1e174f(0x150)](this[_0x1e174f(0x15b)]));}[_0x204e2f(0x158)](){var _0x794654=_0x204e2f;this[_0x794654(0x147)]=new _0xc2b3df(this[_0x794654(0x143)]),this[_0x794654(0x147)][_0x794654(0x14f)]({'tag':_0x794654(0x14a),'attributes':{'class':_0x794654(0x15f)}}),this[_0x794654(0x144)][_0x794654(0x150)](this[_0x794654(0x147)]);}[_0x204e2f(0x14c)](){var _0x44835c=_0x204e2f;super[_0x44835c(0x14c)](),this[_0x44835c(0x147)][_0x44835c(0x152)][_0x44835c(0x151)]=this[_0x44835c(0x14d)][_0x44835c(0x149)],this[_0x44835c(0x15e)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ec972=_0x756a;(function(_0x8700ac,_0x2156c9){const _0x546e2c=_0x756a,_0x3a0715=_0x8700ac();while(!![]){try{const _0x5de179=-parseInt(_0x546e2c(0x18e))/0x1+parseInt(_0x546e2c(0x18c))/0x2+-parseInt(_0x546e2c(0x18b))/0x3*(-parseInt(_0x546e2c(0x1a3))/0x4)+-parseInt(_0x546e2c(0x18a))/0x5*(parseInt(_0x546e2c(0x199))/0x6)+-parseInt(_0x546e2c(0x19d))/0x7*(parseInt(_0x546e2c(0x19e))/0x8)+parseInt(_0x546e2c(0x19c))/0x9+-parseInt(_0x546e2c(0x198))/0xa;if(_0x5de179===_0x2156c9)break;else _0x3a0715['push'](_0x3a0715['shift']());}catch(_0x82497a){_0x3a0715['push'](_0x3a0715['shift']());}}}(_0x382f,0x45d1f));import{EmitterMixin as _0x46e175}from'ckeditor5/src/utils.js';function _0x756a(_0x5d00f8,_0x29427e){const _0x382f6e=_0x382f();return _0x756a=function(_0x756afb,_0x5bf208){_0x756afb=_0x756afb-0x188;let _0x3a4abe=_0x382f6e[_0x756afb];return _0x3a4abe;},_0x756a(_0x5d00f8,_0x29427e);}export class PromiseQueue extends _0x46e175(){[_0x4ec972(0x197)]=[];[_0x4ec972(0x19b)]=!0x1;[_0x4ec972(0x192)];async[_0x4ec972(0x196)](_0x264dc7){const _0x200b98=_0x4ec972,_0x11e22d=this[_0x200b98(0x191)](_0x264dc7);return this[_0x200b98(0x197)][_0x200b98(0x18f)](_0x11e22d),this[_0x200b98(0x19a)](),_0x11e22d[_0x200b98(0x1a4)];}[_0x4ec972(0x1a0)](){const _0x25f11c=_0x4ec972;this[_0x25f11c(0x19b)]&&(this[_0x25f11c(0x192)][_0x25f11c(0x1a0)](),this[_0x25f11c(0x192)]=void 0x0,this[_0x25f11c(0x197)]=[],this[_0x25f11c(0x195)](_0x25f11c(0x19f)),this[_0x25f11c(0x19b)]=!0x1);}get[_0x4ec972(0x194)](){const _0x24cdc5=_0x4ec972;return this[_0x24cdc5(0x197)][_0x24cdc5(0x18d)]||this[_0x24cdc5(0x19b)]?new Promise(_0xb65f8=>{const _0x1f8380=_0x24cdc5;this[_0x1f8380(0x1a2)](_0x1f8380(0x19f),()=>{_0xb65f8();});}):Promise[_0x24cdc5(0x190)]();}async[_0x4ec972(0x19a)](){const _0x276b3d=_0x4ec972;if(!this[_0x276b3d(0x19b)]){this[_0x276b3d(0x192)]=new AbortController(),this[_0x276b3d(0x19b)]=!0x0;try{for(;this[_0x276b3d(0x197)][_0x276b3d(0x18d)]&&this[_0x276b3d(0x19b)];){const _0x1e39fb=this[_0x276b3d(0x197)][_0x276b3d(0x1a1)]();try{await _0x1e39fb[_0x276b3d(0x189)](this[_0x276b3d(0x192)][_0x276b3d(0x188)]),_0x1e39fb[_0x276b3d(0x190)]();}catch(_0x3fdd4f){_0x1e39fb[_0x276b3d(0x193)](_0x3fdd4f);}}}finally{this[_0x276b3d(0x19b)]=!0x1,this[_0x276b3d(0x192)]=void 0x0;}this[_0x276b3d(0x195)](_0x276b3d(0x19f));}}[_0x4ec972(0x191)](_0x3e9b2b){let _0x3395f3,_0xde675a;const _0x449992=new Promise((_0x5e316d,_0x27a51f)=>{_0x3395f3=_0x5e316d,_0xde675a=_0x27a51f;});return{'callback':_0x3e9b2b,'resolve':_0x3395f3,'reject':_0xde675a,'completePromise':_0x449992};}}function _0x382f(){const _0x4cad18=['isProcessing','3604131KyGueh','4438CjkXwx','2488uWvNgq','_queueEmpty','abort','shift','once','4wZMoti','completePromise','signal','callback','5azeRMF','960813dWkGOJ','768620fypkrw','length','283021zbTOsu','push','resolve','createTask','_abortController','reject','queueEmptyPromise','fire','enqueue','queue','159240GOrmLt','1937628nrrmIb','_processQueue'];_0x382f=function(){return _0x4cad18;};return _0x382f();}
23
+ function _0x331b(){const _0x12e87a=['3619232FYEQNt','completePromise','3351798Yhoxds','length','enqueue','reject','204483omcELy','once','resolve','abort','277769swWlnz','347170oUdqHp','2107dYnKEO','7458mEbGvB','fire','_processQueue','_queueEmpty','signal','181395addkHJ','createTask','_abortController','queueEmptyPromise','push','isProcessing','callback','queue','shift','12GmwEGG'];_0x331b=function(){return _0x12e87a;};return _0x331b();}const _0x512286=_0x3ec1;function _0x3ec1(_0x3cf7c3,_0xcac563){const _0x331b27=_0x331b();return _0x3ec1=function(_0x3ec1d1,_0x28130b){_0x3ec1d1=_0x3ec1d1-0x84;let _0x323bc8=_0x331b27[_0x3ec1d1];return _0x323bc8;},_0x3ec1(_0x3cf7c3,_0xcac563);}(function(_0x3b82b3,_0x51a680){const _0x4d135f=_0x3ec1,_0x2e4bed=_0x3b82b3();while(!![]){try{const _0x4664e6=parseInt(_0x4d135f(0x87))/0x1+-parseInt(_0x4d135f(0x88))/0x2+-parseInt(_0x4d135f(0x9f))/0x3*(parseInt(_0x4d135f(0x98))/0x4)+parseInt(_0x4d135f(0x8f))/0x5+parseInt(_0x4d135f(0x8a))/0x6*(parseInt(_0x4d135f(0x89))/0x7)+-parseInt(_0x4d135f(0x99))/0x8+parseInt(_0x4d135f(0x9b))/0x9;if(_0x4664e6===_0x51a680)break;else _0x2e4bed['push'](_0x2e4bed['shift']());}catch(_0x546a84){_0x2e4bed['push'](_0x2e4bed['shift']());}}}(_0x331b,0x382fd));import{EmitterMixin as _0x2f3a9c}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x2f3a9c(){[_0x512286(0x96)]=[];[_0x512286(0x94)]=!0x1;[_0x512286(0x91)];async[_0x512286(0x9d)](_0x311e3d){const _0x32c8ba=_0x512286,_0x25e15c=this[_0x32c8ba(0x90)](_0x311e3d);return this[_0x32c8ba(0x96)][_0x32c8ba(0x93)](_0x25e15c),this[_0x32c8ba(0x8c)](),_0x25e15c[_0x32c8ba(0x9a)];}[_0x512286(0x86)](){const _0x4bbb13=_0x512286;this[_0x4bbb13(0x94)]&&(this[_0x4bbb13(0x91)][_0x4bbb13(0x86)](),this[_0x4bbb13(0x91)]=void 0x0,this[_0x4bbb13(0x96)]=[],this[_0x4bbb13(0x8b)](_0x4bbb13(0x8d)),this[_0x4bbb13(0x94)]=!0x1);}get[_0x512286(0x92)](){const _0x148d2a=_0x512286;return this[_0x148d2a(0x96)][_0x148d2a(0x9c)]||this[_0x148d2a(0x94)]?new Promise(_0x4c4c6d=>{const _0x4b3966=_0x148d2a;this[_0x4b3966(0x84)](_0x4b3966(0x8d),()=>{_0x4c4c6d();});}):Promise[_0x148d2a(0x85)]();}async[_0x512286(0x8c)](){const _0x16199e=_0x512286;if(!this[_0x16199e(0x94)]){this[_0x16199e(0x91)]=new AbortController(),this[_0x16199e(0x94)]=!0x0;try{for(;this[_0x16199e(0x96)][_0x16199e(0x9c)]&&this[_0x16199e(0x94)];){const _0x4f8cca=this[_0x16199e(0x96)][_0x16199e(0x97)]();try{await _0x4f8cca[_0x16199e(0x95)](this[_0x16199e(0x91)][_0x16199e(0x8e)]),_0x4f8cca[_0x16199e(0x85)]();}catch(_0x25a857){_0x4f8cca[_0x16199e(0x9e)](_0x25a857);}}}finally{this[_0x16199e(0x94)]=!0x1,this[_0x16199e(0x91)]=void 0x0;}this[_0x16199e(0x8b)](_0x16199e(0x8d));}}[_0x512286(0x90)](_0x5be2b6){let _0x2e5dfd,_0x392a9f;const _0x46ec46=new Promise((_0x5a4257,_0x5abb99)=>{_0x2e5dfd=_0x5a4257,_0x392a9f=_0x5abb99;});return{'callback':_0x5be2b6,'resolve':_0x2e5dfd,'reject':_0x392a9f,'completePromise':_0x46ec46};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x535378=_0x3e24;(function(_0x290dbb,_0x29cacc){var _0x55fe05=_0x3e24,_0x4bf838=_0x290dbb();while(!![]){try{var _0x4f2e00=-parseInt(_0x55fe05(0x148))/0x1*(parseInt(_0x55fe05(0x143))/0x2)+parseInt(_0x55fe05(0x14d))/0x3+-parseInt(_0x55fe05(0x145))/0x4+-parseInt(_0x55fe05(0x144))/0x5*(-parseInt(_0x55fe05(0x142))/0x6)+parseInt(_0x55fe05(0x146))/0x7*(-parseInt(_0x55fe05(0x14e))/0x8)+parseInt(_0x55fe05(0x14b))/0x9+parseInt(_0x55fe05(0x149))/0xa;if(_0x4f2e00===_0x29cacc)break;else _0x4bf838['push'](_0x4bf838['shift']());}catch(_0x446f5d){_0x4bf838['push'](_0x4bf838['shift']());}}}(_0x2e77,0x476ea));function _0x3e24(_0x56a84b,_0x260a98){var _0x2e777f=_0x2e77();return _0x3e24=function(_0x3e2403,_0x39a4bf){_0x3e2403=_0x3e2403-0x141;var _0x1f3373=_0x2e777f[_0x3e2403];return _0x1f3373;},_0x3e24(_0x56a84b,_0x260a98);}import{ContextPlugin as _0x3146a5}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x8c6d0e}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x6b18a5}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3146a5{static get[_0x535378(0x14c)](){return[_0x8c6d0e,_0x6b18a5];}static get[_0x535378(0x14f)](){var _0xeceffb=_0x535378;return _0xeceffb(0x14a);}static get[_0x535378(0x147)](){return!0x0;}static get[_0x535378(0x141)](){return!0x0;}}function _0x2e77(){var _0x5ed566=['AIChatHistory','1715382OpDztW','requires','1117128OUantD','291944DmZdie','pluginName','isPremiumPlugin','18CJwJrb','562sGNZRN','737155HsvpWx','463388MDZOGb','91WrGfHm','isOfficialPlugin','1070tTcOYc','1782450swRsqk'];_0x2e77=function(){return _0x5ed566;};return _0x2e77();}
23
+ var _0x3cb310=_0x2151;(function(_0x474c2f,_0x55a623){var _0x43b5ae=_0x2151,_0xe75090=_0x474c2f();while(!![]){try{var _0x283708=-parseInt(_0x43b5ae(0x17d))/0x1+parseInt(_0x43b5ae(0x17b))/0x2+parseInt(_0x43b5ae(0x178))/0x3+-parseInt(_0x43b5ae(0x175))/0x4+-parseInt(_0x43b5ae(0x172))/0x5+-parseInt(_0x43b5ae(0x174))/0x6+parseInt(_0x43b5ae(0x17a))/0x7*(parseInt(_0x43b5ae(0x173))/0x8);if(_0x283708===_0x55a623)break;else _0xe75090['push'](_0xe75090['shift']());}catch(_0x1461bd){_0xe75090['push'](_0xe75090['shift']());}}}(_0xa01d,0x9150c));function _0xa01d(){var _0x92022d=['946569VmGNMW','isOfficialPlugin','2951125FWpjtD','494048AscVsd','3947622oFXaqG','4217900TLCQwI','isPremiumPlugin','pluginName','2078985ABEGNF','AIChatHistory','336WjbbqP','374270iAPYgP','requires'];_0xa01d=function(){return _0x92022d;};return _0xa01d();}import{ContextPlugin as _0x196e22}from'ckeditor5/src/core.js';function _0x2151(_0x21102b,_0xf5ec27){var _0xa01dc3=_0xa01d();return _0x2151=function(_0x215133,_0x3c8081){_0x215133=_0x215133-0x172;var _0x34bd86=_0xa01dc3[_0x215133];return _0x34bd86;},_0x2151(_0x21102b,_0xf5ec27);}import{AIChatHistoryController as _0x56e1b0}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x521e8a}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x196e22{static get[_0x3cb310(0x17c)](){return[_0x56e1b0,_0x521e8a];}static get[_0x3cb310(0x177)](){var _0x4c46b9=_0x3cb310;return _0x4c46b9(0x179);}static get[_0x3cb310(0x17e)](){return!0x0;}static get[_0x3cb310(0x176)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa9c90e=_0x1244;(function(_0x5c7c9b,_0x3ba61f){const _0x346fb3=_0x1244,_0x114c3d=_0x5c7c9b();while(!![]){try{const _0x2999ab=-parseInt(_0x346fb3(0x1d9))/0x1+parseInt(_0x346fb3(0x214))/0x2*(-parseInt(_0x346fb3(0x1d4))/0x3)+-parseInt(_0x346fb3(0x1da))/0x4*(-parseInt(_0x346fb3(0x20d))/0x5)+-parseInt(_0x346fb3(0x1c9))/0x6+parseInt(_0x346fb3(0x1bf))/0x7*(-parseInt(_0x346fb3(0x20b))/0x8)+-parseInt(_0x346fb3(0x1d8))/0x9*(parseInt(_0x346fb3(0x1ff))/0xa)+parseInt(_0x346fb3(0x203))/0xb*(parseInt(_0x346fb3(0x21a))/0xc);if(_0x2999ab===_0x3ba61f)break;else _0x114c3d['push'](_0x114c3d['shift']());}catch(_0x1015ac){_0x114c3d['push'](_0x114c3d['shift']());}}}(_0x2921,0xab01f));import{ContextPlugin as _0x37f415}from'ckeditor5/src/core.js';import{AIConnector as _0x96e38c}from'../aicore/aiconnector.js';import{AIChatController as _0x349bc4}from'../aichat/aichatcontroller.js';function _0x1244(_0x573447,_0x328ded){const _0x292197=_0x2921();return _0x1244=function(_0x124448,_0x3a888b){_0x124448=_0x124448-0x1b7;let _0x239e3a=_0x292197[_0x124448];return _0x239e3a;},_0x1244(_0x573447,_0x328ded);}import{AITabs as _0x35e4bb}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0xd48f2e}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x32f488}from'./model/aichathistoryconversations.js';import{getTranslation as _0x390741}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x37f415{[_0xa9c90e(0x1ca)];[_0xa9c90e(0x1ba)];[_0xa9c90e(0x1c0)];static get[_0xa9c90e(0x1f3)](){return[_0x96e38c,_0x349bc4,_0xd48f2e,_0x35e4bb];}static get[_0xa9c90e(0x1e3)](){const _0x5bc551=_0xa9c90e;return _0x5bc551(0x1fa);}static get[_0xa9c90e(0x1c5)](){return!0x0;}static get[_0xa9c90e(0x1be)](){return!0x0;}[_0xa9c90e(0x1bc)](){const _0x5d0909=_0xa9c90e;this[_0x5d0909(0x1ca)]=this[_0x5d0909(0x213)][_0x5d0909(0x1f4)][_0x5d0909(0x1d0)](_0x96e38c),this[_0x5d0909(0x1ba)]=this[_0x5d0909(0x213)][_0x5d0909(0x1f4)][_0x5d0909(0x1d0)](_0xd48f2e),this[_0x5d0909(0x1c0)]=this[_0x5d0909(0x213)][_0x5d0909(0x1f4)][_0x5d0909(0x1d0)](_0x349bc4);const _0x433573=this[_0x5d0909(0x213)][_0x5d0909(0x1f4)][_0x5d0909(0x1d0)](_0x35e4bb),_0x5928c2=this[_0x5d0909(0x1c0)][_0x5d0909(0x1d6)]();this[_0x5d0909(0x1eb)]=new _0x32f488({'connector':this[_0x5d0909(0x1ca)],'group':_0x5928c2}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1d5),(_0x36c4be,_0x56480f)=>{const _0x1f2666=_0x5d0909;this[_0x1f2666(0x1bb)](_0x56480f['id'],_0x1f2666(0x1e6)),this[_0x1f2666(0x1cf)](_0x56480f['id']);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1b7),(_0x3d22ea,_0x3527e7)=>{const _0x13e833=_0x5d0909;this[_0x13e833(0x1bb)](_0x3527e7['id'],_0x13e833(0x200)),this[_0x13e833(0x20e)](_0x3527e7['id'],_0x3527e7[_0x13e833(0x1dc)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1eb)],_0x5d0909(0x1fd),(_0x48c7ca,_0x1b81c7)=>{const _0x57ef0c=_0x5d0909;void 0x0!==_0x1b81c7[_0x57ef0c(0x1dd)][_0x57ef0c(0x1dc)]&&this[_0x57ef0c(0x1ba)][_0x57ef0c(0x218)](_0x1b81c7[_0x57ef0c(0x1f8)],_0x1b81c7[_0x57ef0c(0x1dd)][_0x57ef0c(0x1dc)]),void 0x0!==_0x1b81c7[_0x57ef0c(0x1dd)][_0x57ef0c(0x1ce)]&&this[_0x57ef0c(0x1c3)](),this[_0x57ef0c(0x1d1)](_0x1b81c7[_0x57ef0c(0x1f8)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1eb)],_0x5d0909(0x215),(_0xfb4b73,_0x108962)=>{const _0x263bed=_0x5d0909;this[_0x263bed(0x1c0)][_0x263bed(0x20a)](_0x108962[_0x263bed(0x1f8)]),this[_0x263bed(0x1ba)][_0x263bed(0x208)](_0x108962[_0x263bed(0x1f8)]),this[_0x263bed(0x1d1)](_0x108962[_0x263bed(0x1f8)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1eb)],_0x5d0909(0x1b9),()=>{const _0xb9361a=_0x5d0909;this[_0xb9361a(0x1c3)]();}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1eb)],_0x5d0909(0x1d7),(_0x585e47,_0x2bce18)=>{const _0x3502de=_0x5d0909;this[_0x3502de(0x1bd)](_0x2bce18[_0x3502de(0x1d7)],_0x2bce18[_0x3502de(0x1e8)],_0x2bce18[_0x3502de(0x1f8)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1e5),(_0x53f244,_0x551f83)=>{const _0x49f5c2=_0x5d0909;this[_0x49f5c2(0x1ee)](_0x551f83['id']);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x21d),(_0x2f13a2,_0x581253)=>{const _0x159131=_0x5d0909,_0x27164e=_0x581253[_0x159131(0x1ce)]?_0x159131(0x20f):_0x159131(0x1e4);this[_0x159131(0x1bb)](_0x581253['id'],_0x27164e),this[_0x159131(0x1fe)](_0x581253['id'],_0x581253[_0x159131(0x1ce)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1e7),()=>{const _0x86cb2=_0x5d0909;_0x433573[_0x86cb2(0x1de)][_0x86cb2(0x1e0)](_0x86cb2(0x1e2));}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1c0)],_0x5d0909(0x204),()=>{const _0x1ff3a6=_0x5d0909;this[_0x1ff3a6(0x1c3)]();}),_0x433573[_0x5d0909(0x1de)]['on'](_0x5d0909(0x1f9),()=>{const _0x4c6023=_0x5d0909;this[_0x4c6023(0x1ea)]();}),this[_0x5d0909(0x20c)](_0x433573,_0x5d0909(0x1ef),(_0x2766ea,_0x904c1c)=>{const _0x55d41c=_0x5d0909;this[_0x55d41c(0x1d2)](_0x904c1c);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1c7),()=>{const _0x41ac07=_0x5d0909;_0x433573[_0x41ac07(0x1f1)]();});}async[_0xa9c90e(0x20e)](_0x416c6b,_0x352d7d){const _0x27777e=_0xa9c90e;await this[_0x27777e(0x1eb)][_0x27777e(0x218)](_0x416c6b,_0x352d7d);}async[_0xa9c90e(0x1fe)](_0x2b6c83,_0x2ae1dc){const _0x4caac2=_0xa9c90e;await this[_0x4caac2(0x1eb)][_0x4caac2(0x219)](_0x2b6c83,_0x2ae1dc);}async[_0xa9c90e(0x1cf)](_0x582619){const _0x32b742=_0xa9c90e;await this[_0x32b742(0x1eb)][_0x32b742(0x21c)](_0x582619);}async[_0xa9c90e(0x1ee)](_0x91e25e){const _0x2f579f=_0xa9c90e;await this[_0x2f579f(0x1c0)][_0x2f579f(0x1db)](_0x91e25e);}async[_0xa9c90e(0x1ea)](){const _0x8173bf=_0xa9c90e;this[_0x8173bf(0x1ba)][_0x8173bf(0x212)](''),this[_0x8173bf(0x1ba)][_0x8173bf(0x1fc)](!0x0),await this[_0x8173bf(0x1eb)][_0x8173bf(0x1bc)](),this[_0x8173bf(0x1ba)][_0x8173bf(0x1fc)](!0x1);}[_0xa9c90e(0x1c3)](){const _0x70610=_0xa9c90e,_0x1d82a8=this[_0x70610(0x1c0)][_0x70610(0x217)]?.['id'],_0x23501a=this[_0x70610(0x216)]()[_0x70610(0x1c2)](_0x276e42=>({'title':_0x276e42[_0x70610(0x1dc)],'items':_0x276e42[_0x70610(0x1c6)][_0x70610(0x1c2)](_0x68a61=>({'id':_0x68a61['id'],'title':_0x68a61[_0x70610(0x1dc)]||_0x390741(this[_0x70610(0x213)][_0x70610(0x1e9)],_0x70610(0x1c4)),'createdAt':new Date(_0x68a61[_0x70610(0x1e1)])[_0x70610(0x1f7)](),'active':_0x68a61['id']===_0x1d82a8,'pinned':_0x68a61[_0x70610(0x1ce)]}))}));this[_0x70610(0x1ba)][_0x70610(0x1ec)](_0x23501a);}[_0xa9c90e(0x1bb)](_0x1d11a0,_0x1efaea){const _0x33ee19=_0xa9c90e;this[_0x33ee19(0x1ba)][_0x33ee19(0x1f6)](_0x1d11a0,_0x1efaea,!0x0);}[_0xa9c90e(0x1d1)](_0x1a0d54){const _0x371cd0=_0xa9c90e;this[_0x371cd0(0x1ba)][_0x371cd0(0x1f6)](_0x1a0d54,null,!0x1);}[_0xa9c90e(0x1bd)](_0x558ace,_0x548ccf,_0x2943b7){const _0x404053=_0xa9c90e,_0x5f2f74=this[_0x404053(0x201)](_0x548ccf,_0x2943b7);this[_0x404053(0x1ba)][_0x404053(0x212)](_0x5f2f74),_0x2943b7&&this[_0x404053(0x1d1)](_0x2943b7),this[_0x404053(0x1ba)][_0x404053(0x1fc)](!0x1);}[_0xa9c90e(0x201)](_0x44d21b,_0xa39568){const _0x3de3dd=_0xa9c90e,_0xa7e170=_0xa39568?this[_0x3de3dd(0x1eb)][_0x3de3dd(0x1cd)](_0xa39568):null,_0x2b7cc9=_0xa7e170?.[_0x3de3dd(0x1dc)]||_0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x1c4));switch(_0x44d21b){case _0x3de3dd(0x218):return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x1fb),_0x2b7cc9);case _0x3de3dd(0x219):{const _0x45f34a=_0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0xa7e170?.[_0x3de3dd(0x1ce)]?_0x3de3dd(0x1cc):_0x3de3dd(0x21e));return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x205),[_0x45f34a,_0x2b7cc9]);}case _0x3de3dd(0x21c):return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x1cb),_0x2b7cc9);case _0x3de3dd(0x1bc):case _0x3de3dd(0x1df):return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x210));default:return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x1c1));}}[_0xa9c90e(0x216)](){const _0x3b64e2=_0xa9c90e,_0x119f06=new Date(),_0x3ce1d7=new Date(_0x119f06[_0x3b64e2(0x1f5)](),_0x119f06[_0x3b64e2(0x202)](),_0x119f06[_0x3b64e2(0x206)]()),_0x1a648a=new Date(_0x3ce1d7);_0x1a648a[_0x3b64e2(0x21b)](_0x1a648a[_0x3b64e2(0x206)]()-0x1);const _0x3b53d2=new Date(_0x3ce1d7);_0x3b53d2[_0x3b64e2(0x21b)](_0x3b53d2[_0x3b64e2(0x206)]()-0xe);const _0x51bd1=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'pinned':!0x0}),_0x3573ff=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'from':_0x3ce1d7,'to':_0x3ce1d7}),_0x5d118b=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'from':_0x1a648a,'to':_0x1a648a}),_0x2bd4fd=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'from':_0x3b53d2,'to':_0x1a648a}),_0x18ba9d=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'to':_0x3b53d2}),_0x1c288a=[];return _0x51bd1[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x1f0)),'items':_0x51bd1}),_0x3573ff[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x1f2)),'items':_0x3573ff}),_0x5d118b[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x207)),'items':_0x5d118b}),_0x2bd4fd[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x1b8)),'items':_0x2bd4fd}),_0x18ba9d[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x1c8)),'items':_0x18ba9d}),_0x1c288a;}[_0xa9c90e(0x1d2)](_0x55e859){const _0x1145f0=_0xa9c90e;this[_0x1145f0(0x1ba)][_0x1145f0(0x1ed)](_0x55e859);}}function _0x2921(){const _0x160886=['832531XsuuWy','563132oMVaJC','loadConversation','title','updates','view','loadItems','activateTab','createdAt','chat','pluginName','unpin','selectConversation','remove','openChat','operation','locale','_showConversationHistory','history','updateItems','setIsMaximized','_handleSelectConversation','resizedTabs','AI_CHAT_HISTORY_CATEGORY_PINNED','resize','AI_CHAT_HISTORY_CATEGORY_TODAY','requires','plugins','getFullYear','updateItemLoadingState','toLocaleDateString','itemId','activateTab:history','AIChatHistoryController','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','setLoadingSkeleton','itemUpdated','_handleTogglePin','460GQOcJb','rename','_generateErrorMessage','getMonth','11KSjOlB','change:activeConversation','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','getDate','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','removeHistoryItem','getItems','handleRemovedConversation','216jZmEgV','listenTo','40YIMbMv','_handleEditTitle','pin','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','length','showError','context','2Lmfwaq','itemRemoved','_getCategorizedItems','activeConversation','updateItemTitle','updateItemPinned','33385524vsLuGT','setDate','removeItem','setConversationPinned','AI_CHAT_HISTORY_PIN_ACTION','editConversationTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','itemsLoaded','_aiChatHistoryUi','_setItemLoading','init','_handleHistoryErrorUI','isPremiumPlugin','137277FLwPPW','_aiChatController','AI_CHAT_HISTORY_ERROR_GENERIC','map','_updateHistoryItemsUI','AI_CHAT_UNTITLED_CONVERSATION','isOfficialPlugin','items','resizeTabs','AI_CHAT_HISTORY_CATEGORY_LATER','5346282VdzBhe','_aiConnector','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_UNPIN_ACTION','getItem','pinned','_handleRemove','get','_clearItemLoading','_setIsMaximized','push','487833AyVuKI','removeConversation','getGroupId','error','155007lcXezO'];_0x2921=function(){return _0x160886;};return _0x2921();}
23
+ const _0x59119e=_0x4648;(function(_0x463ce1,_0x2940da){const _0x543e57=_0x4648,_0x5d8a84=_0x463ce1();while(!![]){try{const _0x2eb25c=parseInt(_0x543e57(0x11f))/0x1*(-parseInt(_0x543e57(0x13e))/0x2)+-parseInt(_0x543e57(0x143))/0x3+-parseInt(_0x543e57(0x118))/0x4*(parseInt(_0x543e57(0x138))/0x5)+parseInt(_0x543e57(0xf0))/0x6*(parseInt(_0x543e57(0x126))/0x7)+parseInt(_0x543e57(0x136))/0x8*(-parseInt(_0x543e57(0x130))/0x9)+parseInt(_0x543e57(0xf8))/0xa*(-parseInt(_0x543e57(0x105))/0xb)+parseInt(_0x543e57(0x103))/0xc*(parseInt(_0x543e57(0xee))/0xd);if(_0x2eb25c===_0x2940da)break;else _0x5d8a84['push'](_0x5d8a84['shift']());}catch(_0x2b0e09){_0x5d8a84['push'](_0x5d8a84['shift']());}}}(_0x5f16,0xd4dba));import{ContextPlugin as _0x112dd8}from'ckeditor5/src/core.js';import{AIConnector as _0x2dc6df}from'../aicore/aiconnector.js';import{AIChatController as _0x2773ec}from'../aichat/aichatcontroller.js';import{AITabs as _0x5165a2}from'../aitabs/aitabs.js';function _0x4648(_0x3fe762,_0x35d57a){const _0x5f1613=_0x5f16();return _0x4648=function(_0x4648ad,_0xb65bad){_0x4648ad=_0x4648ad-0xdf;let _0x2142f7=_0x5f1613[_0x4648ad];return _0x2142f7;},_0x4648(_0x3fe762,_0x35d57a);}import{AIChatHistoryUI as _0x5b2e76}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x56c957}from'./model/aichathistoryconversations.js';import{getTranslation as _0x342e73}from'../aicore/utils/common-translations.js';function _0x5f16(){const _0x2a303f=['36eKRVvZ','rename','5955367jtevOy','operation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','editConversationTitle','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_updateHistoryItemsUI','_handleEditTitle','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','updateItemPinned','context','history','toLocaleDateString','change:activeConversation','itemId','unpin','getFullYear','itemsLoaded','_clearItemLoading','getItem','357668dfuHoL','removeHistoryItem','locale','getItems','_handleRemove','items','updateItems','1345bQijlL','activeConversation','remove','length','_setItemLoading','selectConversation','error','8511419IKrIqa','loadConversation','listenTo','handleRemovedConversation','_generateErrorMessage','resize','resizedTabs','AIChatHistoryController','_setIsMaximized','get','54heiRQt','requires','_handleTogglePin','activateTab:history','itemUpdated','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','2226008tjsUcv','setDate','20RiOsUq','isOfficialPlugin','setLoadingSkeleton','getDate','AI_CHAT_HISTORY_CATEGORY_LATER','_handleHistoryErrorUI','2114VevSze','_handleSelectConversation','_showConversationHistory','activateTab','AI_CHAT_HISTORY_ERROR_GENERIC','430305ggZgBv','AI_CHAT_HISTORY_PIN_ACTION','_aiConnector','AI_CHAT_HISTORY_CATEGORY_TODAY','showError','map','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','removeItem','_getCategorizedItems','removeConversation','updateItemLoadingState','_aiChatController','itemRemoved','updateItemTitle','push','AI_CHAT_HISTORY_UNPIN_ACTION','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_PINNED','openChat','isPremiumPlugin','21113794ulHJNG','pinned','6SxQBFf','title','getGroupId','AI_CHAT_UNTITLED_CONVERSATION','pin','resizeTabs','pluginName','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','30pmVHbA','view','setIsMaximized','plugins','createdAt','loadItems','chat','_aiChatHistoryUi','init','updates','getMonth'];_0x5f16=function(){return _0x2a303f;};return _0x5f16();}export class AIChatHistoryController extends _0x112dd8{[_0x59119e(0x145)];[_0x59119e(0xff)];[_0x59119e(0xe5)];static get[_0x59119e(0x131)](){return[_0x2dc6df,_0x2773ec,_0x5b2e76,_0x5165a2];}static get[_0x59119e(0xf6)](){const _0x3868f0=_0x59119e;return _0x3868f0(0x12d);}static get[_0x59119e(0x139)](){return!0x0;}static get[_0x59119e(0xed)](){return!0x0;}[_0x59119e(0x100)](){const _0x276ce8=_0x59119e;this[_0x276ce8(0x145)]=this[_0x276ce8(0x10e)][_0x276ce8(0xfb)][_0x276ce8(0x12f)](_0x2dc6df),this[_0x276ce8(0xff)]=this[_0x276ce8(0x10e)][_0x276ce8(0xfb)][_0x276ce8(0x12f)](_0x5b2e76),this[_0x276ce8(0xe5)]=this[_0x276ce8(0x10e)][_0x276ce8(0xfb)][_0x276ce8(0x12f)](_0x2773ec);const _0x322206=this[_0x276ce8(0x10e)][_0x276ce8(0xfb)][_0x276ce8(0x12f)](_0x5165a2),_0xb1ae4=this[_0x276ce8(0xe5)][_0x276ce8(0xf2)]();this[_0x276ce8(0x10f)]=new _0x56c957({'connector':this[_0x276ce8(0x145)],'group':_0xb1ae4}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0xe3),(_0x1794e0,_0x1a74ca)=>{const _0x598b34=_0x276ce8;this[_0x598b34(0x123)](_0x1a74ca['id'],_0x598b34(0x121)),this[_0x598b34(0x11c)](_0x1a74ca['id']);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0x108),(_0x497492,_0x18924c)=>{const _0x2e176b=_0x276ce8;this[_0x2e176b(0x123)](_0x18924c['id'],_0x2e176b(0x104)),this[_0x2e176b(0x10b)](_0x18924c['id'],_0x18924c[_0x2e176b(0xf1)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0x10f)],_0x276ce8(0x134),(_0x1f760e,_0x41c4c8)=>{const _0x25a903=_0x276ce8;void 0x0!==_0x41c4c8[_0x25a903(0x101)][_0x25a903(0xf1)]&&this[_0x25a903(0xff)][_0x25a903(0xe7)](_0x41c4c8[_0x25a903(0x112)],_0x41c4c8[_0x25a903(0x101)][_0x25a903(0xf1)]),void 0x0!==_0x41c4c8[_0x25a903(0x101)][_0x25a903(0xef)]&&this[_0x25a903(0x10a)](),this[_0x25a903(0x116)](_0x41c4c8[_0x25a903(0x112)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0x10f)],_0x276ce8(0xe6),(_0x2dcedb,_0x11b8de)=>{const _0x26817f=_0x276ce8;this[_0x26817f(0xe5)][_0x26817f(0x129)](_0x11b8de[_0x26817f(0x112)]),this[_0x26817f(0xff)][_0x26817f(0x119)](_0x11b8de[_0x26817f(0x112)]),this[_0x26817f(0x116)](_0x11b8de[_0x26817f(0x112)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0x10f)],_0x276ce8(0x115),()=>{const _0xa85a2=_0x276ce8;this[_0xa85a2(0x10a)]();}),this[_0x276ce8(0x128)](this[_0x276ce8(0x10f)],_0x276ce8(0x125),(_0x2befe2,_0x5a5214)=>{const _0x216dc5=_0x276ce8;this[_0x216dc5(0x13d)](_0x5a5214[_0x216dc5(0x125)],_0x5a5214[_0x216dc5(0x106)],_0x5a5214[_0x216dc5(0x112)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0x124),(_0x2c8b8f,_0x21e712)=>{const _0x1a32e2=_0x276ce8;this[_0x1a32e2(0x13f)](_0x21e712['id']);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0xea),(_0x1c000c,_0x22dabd)=>{const _0x3e486e=_0x276ce8,_0x14db1c=_0x22dabd[_0x3e486e(0xef)]?_0x3e486e(0xf4):_0x3e486e(0x113);this[_0x3e486e(0x123)](_0x22dabd['id'],_0x14db1c),this[_0x3e486e(0x132)](_0x22dabd['id'],_0x22dabd[_0x3e486e(0xef)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0xec),()=>{const _0x5e970f=_0x276ce8;_0x322206[_0x5e970f(0xf9)][_0x5e970f(0x141)](_0x5e970f(0xfe));}),this[_0x276ce8(0x128)](this[_0x276ce8(0xe5)],_0x276ce8(0x111),()=>{const _0x506f60=_0x276ce8;this[_0x506f60(0x10a)]();}),_0x322206[_0x276ce8(0xf9)]['on'](_0x276ce8(0x133),()=>{const _0x11dd63=_0x276ce8;this[_0x11dd63(0x140)]();}),this[_0x276ce8(0x128)](_0x322206,_0x276ce8(0x12c),(_0x50076c,_0x3a07fa)=>{const _0x430c6c=_0x276ce8;this[_0x430c6c(0x12e)](_0x3a07fa);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0xf5),()=>{const _0x29da91=_0x276ce8;_0x322206[_0x29da91(0x12b)]();});}async[_0x59119e(0x10b)](_0x5ece5e,_0x297015){const _0x24e88d=_0x59119e;await this[_0x24e88d(0x10f)][_0x24e88d(0xe7)](_0x5ece5e,_0x297015);}async[_0x59119e(0x132)](_0x309e23,_0x2ccce9){const _0x4b4b2a=_0x59119e;await this[_0x4b4b2a(0x10f)][_0x4b4b2a(0x10d)](_0x309e23,_0x2ccce9);}async[_0x59119e(0x11c)](_0x1d3f12){const _0x236907=_0x59119e;await this[_0x236907(0x10f)][_0x236907(0xe1)](_0x1d3f12);}async[_0x59119e(0x13f)](_0x13f2df){const _0x119d50=_0x59119e;await this[_0x119d50(0xe5)][_0x119d50(0x127)](_0x13f2df);}async[_0x59119e(0x140)](){const _0x800160=_0x59119e;this[_0x800160(0xff)][_0x800160(0x147)](''),this[_0x800160(0xff)][_0x800160(0x13a)](!0x0),await this[_0x800160(0x10f)][_0x800160(0x100)](),this[_0x800160(0xff)][_0x800160(0x13a)](!0x1);}[_0x59119e(0x10a)](){const _0x2135ac=_0x59119e,_0x4a69c7=this[_0x2135ac(0xe5)][_0x2135ac(0x120)]?.['id'],_0x3d63ea=this[_0x2135ac(0xe2)]()[_0x2135ac(0xdf)](_0x5be45e=>({'title':_0x5be45e[_0x2135ac(0xf1)],'items':_0x5be45e[_0x2135ac(0x11d)][_0x2135ac(0xdf)](_0x434e46=>({'id':_0x434e46['id'],'title':_0x434e46[_0x2135ac(0xf1)]||_0x342e73(this[_0x2135ac(0x10e)][_0x2135ac(0x11a)],_0x2135ac(0xf3)),'createdAt':new Date(_0x434e46[_0x2135ac(0xfc)])[_0x2135ac(0x110)](),'active':_0x434e46['id']===_0x4a69c7,'pinned':_0x434e46[_0x2135ac(0xef)]}))}));this[_0x2135ac(0xff)][_0x2135ac(0x11e)](_0x3d63ea);}[_0x59119e(0x123)](_0x53f57f,_0xfd3fd5){const _0x5babcf=_0x59119e;this[_0x5babcf(0xff)][_0x5babcf(0xe4)](_0x53f57f,_0xfd3fd5,!0x0);}[_0x59119e(0x116)](_0x51674f){const _0x54d8be=_0x59119e;this[_0x54d8be(0xff)][_0x54d8be(0xe4)](_0x51674f,null,!0x1);}[_0x59119e(0x13d)](_0xce70cb,_0xe07d16,_0x42c661){const _0x42563d=_0x59119e,_0x4f9680=this[_0x42563d(0x12a)](_0xe07d16,_0x42c661);this[_0x42563d(0xff)][_0x42563d(0x147)](_0x4f9680),_0x42c661&&this[_0x42563d(0x116)](_0x42c661),this[_0x42563d(0xff)][_0x42563d(0x13a)](!0x1);}[_0x59119e(0x12a)](_0x732d6a,_0x4debe0){const _0x3ca394=_0x59119e,_0x3c5dc7=_0x4debe0?this[_0x3ca394(0x10f)][_0x3ca394(0x117)](_0x4debe0):null,_0x2d1b0e=_0x3c5dc7?.[_0x3ca394(0xf1)]||_0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0xf3));switch(_0x732d6a){case _0x3ca394(0xe7):return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x109),_0x2d1b0e);case _0x3ca394(0x10d):{const _0x12677d=_0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3c5dc7?.[_0x3ca394(0xef)]?_0x3ca394(0xe9):_0x3ca394(0x144));return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x10c),[_0x12677d,_0x2d1b0e]);}case _0x3ca394(0xe1):return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x135),_0x2d1b0e);case _0x3ca394(0x100):case _0x3ca394(0xfd):return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x107));default:return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x142));}}[_0x59119e(0xe2)](){const _0x146056=_0x59119e,_0x15c105=new Date(),_0x5186e6=new Date(_0x15c105[_0x146056(0x114)](),_0x15c105[_0x146056(0x102)](),_0x15c105[_0x146056(0x13b)]()),_0x30e107=new Date(_0x5186e6);_0x30e107[_0x146056(0x137)](_0x30e107[_0x146056(0x13b)]()-0x1);const _0x470bca=new Date(_0x5186e6);_0x470bca[_0x146056(0x137)](_0x470bca[_0x146056(0x13b)]()-0xe);const _0x1695d8=this[_0x146056(0x10f)][_0x146056(0x11b)]({'pinned':!0x0}),_0x264491=this[_0x146056(0x10f)][_0x146056(0x11b)]({'from':_0x5186e6,'to':_0x5186e6}),_0x215bb1=this[_0x146056(0x10f)][_0x146056(0x11b)]({'from':_0x30e107,'to':_0x30e107}),_0x28490f=this[_0x146056(0x10f)][_0x146056(0x11b)]({'from':_0x470bca,'to':_0x30e107}),_0x464a16=this[_0x146056(0x10f)][_0x146056(0x11b)]({'to':_0x470bca}),_0x4cc7dd=[];return _0x1695d8[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0xeb)),'items':_0x1695d8}),_0x264491[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0x146)),'items':_0x264491}),_0x215bb1[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0xe0)),'items':_0x215bb1}),_0x28490f[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0xf7)),'items':_0x28490f}),_0x464a16[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0x13c)),'items':_0x464a16}),_0x4cc7dd;}[_0x59119e(0x12e)](_0x192b40){const _0x4f83d9=_0x59119e;this[_0x4f83d9(0xff)][_0x4f83d9(0xfa)](_0x192b40);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c0f4b=_0x1e5e;(function(_0x42df4a,_0x1598d1){const _0x4d0424=_0x1e5e,_0x18f13=_0x42df4a();while(!![]){try{const _0x36d6b4=parseInt(_0x4d0424(0x114))/0x1*(parseInt(_0x4d0424(0x127))/0x2)+-parseInt(_0x4d0424(0x119))/0x3+-parseInt(_0x4d0424(0x134))/0x4+parseInt(_0x4d0424(0x11a))/0x5*(parseInt(_0x4d0424(0x120))/0x6)+-parseInt(_0x4d0424(0x11d))/0x7+parseInt(_0x4d0424(0x128))/0x8+-parseInt(_0x4d0424(0x124))/0x9;if(_0x36d6b4===_0x1598d1)break;else _0x18f13['push'](_0x18f13['shift']());}catch(_0x3f1e03){_0x18f13['push'](_0x18f13['shift']());}}}(_0x9a70,0xe9350));import{ContextPlugin as _0x42bbc5}from'ckeditor5/src/core.js';import{AITabs as _0xb6c94a}from'../aitabs/aitabs.js';import{IconAIHistory as _0x3905f0}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x2d268b}from'./ui/aichathistoryview.js';import{getTranslation as _0x2363df}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';function _0x9a70(){const _0x31e3a7=['resizeTabs','3677844cBTOEo','25240MViPWC','selectConversation','showResizeButton','4047953sCjPlg','removeConversation','locale','1830ePZYMI','removeHistoryItem','get','updateItems','10149813OAXHwT','AIChatHistoryUI','openChat','56pgpODB','15264224rjoVTf','showError','errorMessage','delegate','AI_CHAT_HISTORY_HEADING','_historyView','pluginName','updateItemLoadingState','isLoading','isMaximized','updateHistoryItemsWithCategories','isOfficialPlugin','2930976XMuhoT','setIsMaximized','editConversationTitle','plugins','requires','AITabs','setLoadingSkeleton','hideError','history','updateItemTitle','isPremiumPlugin','view','addTab','41867bZlLUO','setConversationPinned','context','showConversationHistory'];_0x9a70=function(){return _0x31e3a7;};return _0x9a70();}function _0x1e5e(_0x329838,_0x52e1c1){const _0x9a7020=_0x9a70();return _0x1e5e=function(_0x1e5ed4,_0x300527){_0x1e5ed4=_0x1e5ed4-0x10f;let _0x2d3273=_0x9a7020[_0x1e5ed4];return _0x2d3273;},_0x1e5e(_0x329838,_0x52e1c1);}export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x1c0f4b(0x117),_0x1c0f4b(0x11e),_0x1c0f4b(0x136),_0x1c0f4b(0x115),_0x1c0f4b(0x11b),_0x1c0f4b(0x126),_0x1c0f4b(0x118)];export class AIChatHistoryUI extends _0x42bbc5{static get[_0x1c0f4b(0x138)](){return[_0xb6c94a];}[_0x1c0f4b(0x12d)];static get[_0x1c0f4b(0x12e)](){const _0x3f1a6c=_0x1c0f4b;return _0x3f1a6c(0x125);}static get[_0x1c0f4b(0x133)](){return!0x0;}static get[_0x1c0f4b(0x111)](){return!0x0;}constructor(_0x44a502){const _0x53755c=_0x1c0f4b;super(_0x44a502);const _0x2661dd=this[_0x53755c(0x116)][_0x53755c(0x137)][_0x53755c(0x122)](_0x53755c(0x139));this[_0x53755c(0x12d)]=new _0x2d268b(this[_0x53755c(0x116)][_0x53755c(0x11f)],_0x2661dd[_0x53755c(0x11c)]),this[_0x53755c(0x12d)][_0x53755c(0x12b)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x2661dd[_0x53755c(0x112)][_0x53755c(0x113)]({'id':_0x53755c(0x10f),'buttonLabel':_0x2363df(this[_0x53755c(0x116)][_0x53755c(0x11f)],_0x53755c(0x12c)),'buttonIcon':_0x3905f0,'order':0x0,'content':this[_0x53755c(0x12d)]});}[_0x1c0f4b(0x121)](_0x2834db){const _0x2ef0ac=_0x1c0f4b;this[_0x2ef0ac(0x12d)][_0x2ef0ac(0x121)](_0x2834db);}[_0x1c0f4b(0x123)](_0x13a447){const _0xbecdb=_0x1c0f4b;this[_0xbecdb(0x12d)][_0xbecdb(0x132)](_0x13a447);}[_0x1c0f4b(0x110)](_0x59d19a,_0x583a96){const _0x639d2f=_0x1c0f4b;this[_0x639d2f(0x12d)][_0x639d2f(0x110)](_0x59d19a,_0x583a96);}[_0x1c0f4b(0x12f)](_0x59cb2c,_0x119571,_0x4e990a){const _0x4e21b9=_0x1c0f4b;this[_0x4e21b9(0x12d)][_0x4e21b9(0x12f)](_0x59cb2c,_0x119571,_0x4e990a);}[_0x1c0f4b(0x13a)](_0x1916dd){const _0x3f4651=_0x1c0f4b;this[_0x3f4651(0x12d)][_0x3f4651(0x130)]=_0x1916dd;}[_0x1c0f4b(0x129)](_0xcb94b0){const _0x13fda7=_0x1c0f4b;this[_0x13fda7(0x12d)][_0x13fda7(0x12a)]=_0xcb94b0;}[_0x1c0f4b(0x13b)](){const _0x4fa1a9=_0x1c0f4b;this[_0x4fa1a9(0x12d)][_0x4fa1a9(0x12a)]='';}[_0x1c0f4b(0x135)](_0x1e607e){const _0x5f42af=_0x1c0f4b;this[_0x5f42af(0x12d)][_0x5f42af(0x131)]=_0x1e607e;}}
23
+ const _0x481d46=_0x478e;function _0x45d9(){const _0x1a06c1=['resizeTabs','setConversationPinned','showError','564rtUIFo','plugins','isPremiumPlugin','hideError','locale','selectConversation','310lxitpp','requires','2848848nSTcbg','77022MUcsHD','delegate','showConversationHistory','141UirUKs','AIChatHistoryUI','isMaximized','updateItemTitle','updateItems','editConversationTitle','showResizeButton','removeHistoryItem','34455mtXiMg','updateItemLoadingState','updateHistoryItemsWithCategories','context','errorMessage','view','_historyView','isLoading','openChat','setLoadingSkeleton','pluginName','setIsMaximized','AITabs','4148516HegjAt','history','7iQWcyH','24479103AYDZmK','17182oTkBWc','432373zIiCmj','removeConversation','addTab','AI_CHAT_HISTORY_HEADING','get','isOfficialPlugin'];_0x45d9=function(){return _0x1a06c1;};return _0x45d9();}(function(_0x218822,_0x34655d){const _0x1c3d64=_0x478e,_0x4b78e6=_0x218822();while(!![]){try{const _0x49c7e9=-parseInt(_0x1c3d64(0x183))/0x1+parseInt(_0x1c3d64(0x182))/0x2*(parseInt(_0x1c3d64(0x198))/0x3)+-parseInt(_0x1c3d64(0x17e))/0x4+parseInt(_0x1c3d64(0x171))/0x5*(-parseInt(_0x1c3d64(0x18c))/0x6)+parseInt(_0x1c3d64(0x180))/0x7*(parseInt(_0x1c3d64(0x194))/0x8)+parseInt(_0x1c3d64(0x195))/0x9*(-parseInt(_0x1c3d64(0x192))/0xa)+parseInt(_0x1c3d64(0x181))/0xb;if(_0x49c7e9===_0x34655d)break;else _0x4b78e6['push'](_0x4b78e6['shift']());}catch(_0x12fe78){_0x4b78e6['push'](_0x4b78e6['shift']());}}}(_0x45d9,0x9324e));import{ContextPlugin as _0xbc279f}from'ckeditor5/src/core.js';import{AITabs as _0x32cedc}from'../aitabs/aitabs.js';import{IconAIHistory as _0x46844c}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x237c26}from'./ui/aichathistoryview.js';import{getTranslation as _0x2dee57}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';function _0x478e(_0x4d8f7a,_0x27a90a){const _0x45d998=_0x45d9();return _0x478e=function(_0x478e89,_0xc1b76f){_0x478e89=_0x478e89-0x171;let _0x391459=_0x45d998[_0x478e89];return _0x391459;},_0x478e(_0x4d8f7a,_0x27a90a);}export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x481d46(0x197),_0x481d46(0x184),_0x481d46(0x19d),_0x481d46(0x18a),_0x481d46(0x191),_0x481d46(0x179),_0x481d46(0x189)];export class AIChatHistoryUI extends _0xbc279f{static get[_0x481d46(0x193)](){return[_0x32cedc];}[_0x481d46(0x177)];static get[_0x481d46(0x17b)](){const _0x1739ec=_0x481d46;return _0x1739ec(0x199);}static get[_0x481d46(0x188)](){return!0x0;}static get[_0x481d46(0x18e)](){return!0x0;}constructor(_0x5e7785){const _0x4faaa0=_0x481d46;super(_0x5e7785);const _0x154d17=this[_0x4faaa0(0x174)][_0x4faaa0(0x18d)][_0x4faaa0(0x187)](_0x4faaa0(0x17d));this[_0x4faaa0(0x177)]=new _0x237c26(this[_0x4faaa0(0x174)][_0x4faaa0(0x190)],_0x154d17[_0x4faaa0(0x19e)]),this[_0x4faaa0(0x177)][_0x4faaa0(0x196)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x154d17[_0x4faaa0(0x176)][_0x4faaa0(0x185)]({'id':_0x4faaa0(0x17f),'buttonLabel':_0x2dee57(this[_0x4faaa0(0x174)][_0x4faaa0(0x190)],_0x4faaa0(0x186)),'buttonIcon':_0x46844c,'order':0x0,'content':this[_0x4faaa0(0x177)]});}[_0x481d46(0x19f)](_0x5a4464){const _0x302fa3=_0x481d46;this[_0x302fa3(0x177)][_0x302fa3(0x19f)](_0x5a4464);}[_0x481d46(0x19c)](_0x476dc4){const _0x45ea05=_0x481d46;this[_0x45ea05(0x177)][_0x45ea05(0x173)](_0x476dc4);}[_0x481d46(0x19b)](_0x4d7038,_0x366f38){const _0x4f2445=_0x481d46;this[_0x4f2445(0x177)][_0x4f2445(0x19b)](_0x4d7038,_0x366f38);}[_0x481d46(0x172)](_0x2a2937,_0x2688a0,_0x1b00d3){const _0x282606=_0x481d46;this[_0x282606(0x177)][_0x282606(0x172)](_0x2a2937,_0x2688a0,_0x1b00d3);}[_0x481d46(0x17a)](_0x1eb6b9){const _0x28699a=_0x481d46;this[_0x28699a(0x177)][_0x28699a(0x178)]=_0x1eb6b9;}[_0x481d46(0x18b)](_0x31de4b){const _0x3a80ff=_0x481d46;this[_0x3a80ff(0x177)][_0x3a80ff(0x175)]=_0x31de4b;}[_0x481d46(0x18f)](){const _0x254505=_0x481d46;this[_0x254505(0x177)][_0x254505(0x175)]='';}[_0x481d46(0x17c)](_0x5525b5){const _0x16ee37=_0x481d46;this[_0x16ee37(0x177)][_0x16ee37(0x19a)]=_0x5525b5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44a0(){const _0x447643=['210987sTmbDD','3501476hCxEQD','map','init','addItem','find','itemsLoaded','837602WNliNw','pinned','417849bztLkI','getConversations','group','getDate','getItems','444328NtiyaJ','getItem','getMonth','getResult','execute','updatePinned','updateConversation','loadItems','items','15255570WLAPlH','filter','updateTitle','getTime','removeItem','updateItemPinned','splice','connector','from','deleteConversation','fetchConversations','getFullYear','createdAt','5PpjTGu','91zABSlD','error','updateItemTitle','itemUpdated','104iXdqTI','fire','push','findIndex','itemRemoved','18570YUVqcS'];_0x44a0=function(){return _0x447643;};return _0x44a0();}const _0x4e41c3=_0x5f4b;(function(_0x24b1f7,_0x167990){const _0xf4dee6=_0x5f4b,_0x4f5a99=_0x24b1f7();while(!![]){try{const _0x7b07e7=-parseInt(_0xf4dee6(0x1c6))/0x1+parseInt(_0xf4dee6(0x1cd))/0x2+parseInt(_0xf4dee6(0x1c8))/0x3+-parseInt(_0xf4dee6(0x1c0))/0x4*(parseInt(_0xf4dee6(0x1e3))/0x5)+parseInt(_0xf4dee6(0x1be))/0x6*(-parseInt(_0xf4dee6(0x1e4))/0x7)+-parseInt(_0xf4dee6(0x1e8))/0x8*(-parseInt(_0xf4dee6(0x1bf))/0x9)+parseInt(_0xf4dee6(0x1d6))/0xa;if(_0x7b07e7===_0x167990)break;else _0x4f5a99['push'](_0x4f5a99['shift']());}catch(_0x124f4c){_0x4f5a99['push'](_0x4f5a99['shift']());}}}(_0x44a0,0x6b11d));import{EmitterMixin as _0x5eb70e}from'ckeditor5/src/utils.js';function _0x5f4b(_0x40caa4,_0x535f8a){const _0x44a04e=_0x44a0();return _0x5f4b=function(_0x5f4b7c,_0x2bedfd){_0x5f4b7c=_0x5f4b7c-0x1bc;let _0x3ddec0=_0x44a04e[_0x5f4b7c];return _0x3ddec0;},_0x5f4b(_0x40caa4,_0x535f8a);}import{AIChatHistoryItem as _0x1121a9}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x5eb70e(){[_0x4e41c3(0x1d5)]=[];[_0x4e41c3(0x1dd)];[_0x4e41c3(0x1ca)];constructor({connector:_0x5b05b7,group:_0x6ba96e}){const _0x138eee=_0x4e41c3;super(),this[_0x138eee(0x1dd)]=_0x5b05b7,this[_0x138eee(0x1ca)]=_0x6ba96e;}async[_0x4e41c3(0x1c2)](){const _0x480548=_0x4e41c3;try{const _0x53e311=this[_0x480548(0x1dd)][_0x480548(0x1e0)](this[_0x480548(0x1ca)]),_0x38d64c=await _0x53e311[_0x480548(0x1c9)]();this[_0x480548(0x1d4)](_0x38d64c);}catch(_0x1d23a3){this[_0x480548(0x1e9)](_0x480548(0x1e5),{'error':_0x1d23a3,'operation':_0x480548(0x1c2)});}}[_0x4e41c3(0x1c3)](_0x25f69b){const _0x4eec24=_0x4e41c3;this[_0x4eec24(0x1d5)][_0x4eec24(0x1ea)](_0x25f69b);}async[_0x4e41c3(0x1da)](_0x50efd6){const _0x4ffc47=_0x4e41c3,_0x2c0087=this[_0x4ffc47(0x1d5)][_0x4ffc47(0x1bc)](_0x59cb76=>_0x59cb76['id']===_0x50efd6);if(-0x1===_0x2c0087)return!0x1;try{return await this[_0x4ffc47(0x1dd)][_0x4ffc47(0x1df)](_0x50efd6)[_0x4ffc47(0x1d1)](),this[_0x4ffc47(0x1d5)][_0x4ffc47(0x1dc)](_0x2c0087,0x1),this[_0x4ffc47(0x1e9)](_0x4ffc47(0x1bd),{'itemId':_0x50efd6}),!0x0;}catch(_0x114bfe){return this[_0x4ffc47(0x1e9)](_0x4ffc47(0x1e5),{'error':_0x114bfe,'operation':_0x4ffc47(0x1da),'itemId':_0x50efd6}),!0x1;}}[_0x4e41c3(0x1ce)](_0x4b67a2){const _0xdeabd7=_0x4e41c3;return this[_0xdeabd7(0x1d5)][_0xdeabd7(0x1c4)](_0x505de8=>_0x505de8['id']===_0x4b67a2);}async[_0x4e41c3(0x1e6)](_0x23df46,_0x222164){const _0x3b0740=_0x4e41c3,_0x36c270=this[_0x3b0740(0x1ce)](_0x23df46);if(!_0x36c270)return!0x1;try{return await this[_0x3b0740(0x1dd)][_0x3b0740(0x1d3)](_0x23df46,{'title':_0x222164})[_0x3b0740(0x1d0)](),_0x36c270[_0x3b0740(0x1d8)](_0x222164),this[_0x3b0740(0x1e9)](_0x3b0740(0x1e7),{'itemId':_0x23df46,'updates':{'title':_0x222164}}),!0x0;}catch(_0x4b4a27){return this[_0x3b0740(0x1e9)](_0x3b0740(0x1e5),{'error':_0x4b4a27,'operation':_0x3b0740(0x1e6),'itemId':_0x23df46}),!0x1;}}async[_0x4e41c3(0x1db)](_0x41139f,_0x58a299){const _0x4df908=_0x4e41c3,_0x4c1dcb=this[_0x4df908(0x1ce)](_0x41139f);if(!_0x4c1dcb)return!0x1;try{return await this[_0x4df908(0x1dd)][_0x4df908(0x1d3)](_0x41139f,{'pinned':_0x58a299})[_0x4df908(0x1d0)](),_0x4c1dcb[_0x4df908(0x1d2)](_0x58a299),this[_0x4df908(0x1e9)](_0x4df908(0x1e7),{'itemId':_0x41139f,'updates':{'pinned':_0x58a299}}),!0x0;}catch(_0x26e2e8){return this[_0x4df908(0x1e9)](_0x4df908(0x1e5),{'error':_0x26e2e8,'operation':_0x4df908(0x1db),'itemId':_0x41139f}),!0x1;}}[_0x4e41c3(0x1d4)](_0x5dbd14){const _0x465ec6=_0x4e41c3;try{this[_0x465ec6(0x1d5)]=[],_0x5dbd14[_0x465ec6(0x1c1)](_0x45e76b=>{const _0x4c958a=_0x465ec6;this[_0x4c958a(0x1c3)](new _0x1121a9(_0x45e76b));}),this[_0x465ec6(0x1e9)](_0x465ec6(0x1c5),{'items':[...this[_0x465ec6(0x1d5)]]});}catch(_0x508aa2){this[_0x465ec6(0x1e9)](_0x465ec6(0x1e5),{'error':_0x508aa2,'operation':_0x465ec6(0x1d4)});}}[_0x4e41c3(0x1cc)](_0x16b30e={}){const _0x3aefbb=_0x4e41c3,_0x59afcf=void 0x0!==_0x16b30e[_0x3aefbb(0x1c7)]&&_0x16b30e[_0x3aefbb(0x1c7)],_0x1b61e7=_0x16b30e[_0x3aefbb(0x1de)]?new Date(_0x16b30e[_0x3aefbb(0x1de)][_0x3aefbb(0x1e1)](),_0x16b30e[_0x3aefbb(0x1de)][_0x3aefbb(0x1cf)](),_0x16b30e[_0x3aefbb(0x1de)][_0x3aefbb(0x1cb)]()):null,_0xe0410a=_0x16b30e['to']?new Date(_0x16b30e['to'][_0x3aefbb(0x1e1)](),_0x16b30e['to'][_0x3aefbb(0x1cf)](),_0x16b30e['to'][_0x3aefbb(0x1cb)]()):null;return this[_0x3aefbb(0x1d5)][_0x3aefbb(0x1d7)](_0x2ccf8c=>{const _0x21489c=_0x3aefbb;if(_0x2ccf8c[_0x21489c(0x1c7)]!==_0x59afcf)return!0x1;if(_0xe0410a){const _0x139ea0=new Date(_0x2ccf8c[_0x21489c(0x1e2)][_0x21489c(0x1e1)](),_0x2ccf8c[_0x21489c(0x1e2)][_0x21489c(0x1cf)](),_0x2ccf8c[_0x21489c(0x1e2)][_0x21489c(0x1cb)]());return _0x1b61e7?_0x1b61e7[_0x21489c(0x1d9)]()===_0xe0410a[_0x21489c(0x1d9)]()?_0x139ea0[_0x21489c(0x1d9)]()===_0x1b61e7[_0x21489c(0x1d9)]():_0x139ea0<_0xe0410a&&_0x139ea0>=_0x1b61e7:_0x139ea0<_0xe0410a;}return!0x0;});}}
23
+ function _0x342d(_0x3d0f52,_0x18f0ff){const _0x23013f=_0x2301();return _0x342d=function(_0x342d9c,_0x5d11f9){_0x342d9c=_0x342d9c-0x120;let _0x18b4f1=_0x23013f[_0x342d9c];return _0x18b4f1;},_0x342d(_0x3d0f52,_0x18f0ff);}const _0x477415=_0x342d;(function(_0x4d4bbc,_0x4ed117){const _0x204356=_0x342d,_0x35758d=_0x4d4bbc();while(!![]){try{const _0x2c5bb7=parseInt(_0x204356(0x12c))/0x1*(-parseInt(_0x204356(0x145))/0x2)+parseInt(_0x204356(0x12d))/0x3*(-parseInt(_0x204356(0x122))/0x4)+-parseInt(_0x204356(0x129))/0x5+-parseInt(_0x204356(0x14c))/0x6*(-parseInt(_0x204356(0x12b))/0x7)+parseInt(_0x204356(0x13a))/0x8+parseInt(_0x204356(0x130))/0x9*(parseInt(_0x204356(0x136))/0xa)+parseInt(_0x204356(0x144))/0xb;if(_0x2c5bb7===_0x4ed117)break;else _0x35758d['push'](_0x35758d['shift']());}catch(_0xc8c163){_0x35758d['push'](_0x35758d['shift']());}}}(_0x2301,0xabe52));import{EmitterMixin as _0x15820d}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x345064}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x15820d(){[_0x477415(0x134)]=[];[_0x477415(0x121)];[_0x477415(0x149)];constructor({connector:_0x2b79bd,group:_0x35bed9}){const _0xb243d3=_0x477415;super(),this[_0xb243d3(0x121)]=_0x2b79bd,this[_0xb243d3(0x149)]=_0x35bed9;}async[_0x477415(0x13f)](){const _0x4bb7d6=_0x477415;try{const _0xcdef00=this[_0x4bb7d6(0x121)][_0x4bb7d6(0x14b)](this[_0x4bb7d6(0x149)]),_0x145b6b=await _0xcdef00[_0x4bb7d6(0x123)]();this[_0x4bb7d6(0x125)](_0x145b6b);}catch(_0x17eb8c){this[_0x4bb7d6(0x131)](_0x4bb7d6(0x127),{'error':_0x17eb8c,'operation':_0x4bb7d6(0x13f)});}}[_0x477415(0x124)](_0x49f825){const _0x14b8dd=_0x477415;this[_0x14b8dd(0x134)][_0x14b8dd(0x139)](_0x49f825);}async[_0x477415(0x120)](_0x441162){const _0x4a0340=_0x477415,_0xa87394=this[_0x4a0340(0x134)][_0x4a0340(0x132)](_0x40e0eb=>_0x40e0eb['id']===_0x441162);if(-0x1===_0xa87394)return!0x1;try{return await this[_0x4a0340(0x121)][_0x4a0340(0x14a)](_0x441162)[_0x4a0340(0x12e)](),this[_0x4a0340(0x134)][_0x4a0340(0x12a)](_0xa87394,0x1),this[_0x4a0340(0x131)](_0x4a0340(0x13e),{'itemId':_0x441162}),!0x0;}catch(_0x3c946a){return this[_0x4a0340(0x131)](_0x4a0340(0x127),{'error':_0x3c946a,'operation':_0x4a0340(0x120),'itemId':_0x441162}),!0x1;}}[_0x477415(0x14e)](_0x36ecee){const _0x46e402=_0x477415;return this[_0x46e402(0x134)][_0x46e402(0x147)](_0x13b509=>_0x13b509['id']===_0x36ecee);}async[_0x477415(0x135)](_0x2366d6,_0x35b619){const _0x130211=_0x477415,_0x547633=this[_0x130211(0x14e)](_0x2366d6);if(!_0x547633)return!0x1;try{return await this[_0x130211(0x121)][_0x130211(0x14d)](_0x2366d6,{'title':_0x35b619})[_0x130211(0x126)](),_0x547633[_0x130211(0x133)](_0x35b619),this[_0x130211(0x131)](_0x130211(0x13d),{'itemId':_0x2366d6,'updates':{'title':_0x35b619}}),!0x0;}catch(_0x2cae5d){return this[_0x130211(0x131)](_0x130211(0x127),{'error':_0x2cae5d,'operation':_0x130211(0x135),'itemId':_0x2366d6}),!0x1;}}async[_0x477415(0x146)](_0x392763,_0x200883){const _0x5c9507=_0x477415,_0x241b61=this[_0x5c9507(0x14e)](_0x392763);if(!_0x241b61)return!0x1;try{return await this[_0x5c9507(0x121)][_0x5c9507(0x14d)](_0x392763,{'pinned':_0x200883})[_0x5c9507(0x126)](),_0x241b61[_0x5c9507(0x128)](_0x200883),this[_0x5c9507(0x131)](_0x5c9507(0x13d),{'itemId':_0x392763,'updates':{'pinned':_0x200883}}),!0x0;}catch(_0x382a20){return this[_0x5c9507(0x131)](_0x5c9507(0x127),{'error':_0x382a20,'operation':_0x5c9507(0x146),'itemId':_0x392763}),!0x1;}}[_0x477415(0x125)](_0x11eaf6){const _0x5ec832=_0x477415;try{this[_0x5ec832(0x134)]=[],_0x11eaf6[_0x5ec832(0x142)](_0x35c799=>{const _0x28a094=_0x5ec832;this[_0x28a094(0x124)](new _0x345064(_0x35c799));}),this[_0x5ec832(0x131)](_0x5ec832(0x143),{'items':[...this[_0x5ec832(0x134)]]});}catch(_0x3a3327){this[_0x5ec832(0x131)](_0x5ec832(0x127),{'error':_0x3a3327,'operation':_0x5ec832(0x125)});}}[_0x477415(0x13b)](_0x574e63={}){const _0x72cc7f=_0x477415,_0x3443a0=void 0x0!==_0x574e63[_0x72cc7f(0x140)]&&_0x574e63[_0x72cc7f(0x140)],_0x4773c9=_0x574e63[_0x72cc7f(0x141)]?new Date(_0x574e63[_0x72cc7f(0x141)][_0x72cc7f(0x12f)](),_0x574e63[_0x72cc7f(0x141)][_0x72cc7f(0x137)](),_0x574e63[_0x72cc7f(0x141)][_0x72cc7f(0x13c)]()):null,_0x287b7e=_0x574e63['to']?new Date(_0x574e63['to'][_0x72cc7f(0x12f)](),_0x574e63['to'][_0x72cc7f(0x137)](),_0x574e63['to'][_0x72cc7f(0x13c)]()):null;return this[_0x72cc7f(0x134)][_0x72cc7f(0x138)](_0x1412fa=>{const _0x231666=_0x72cc7f;if(_0x1412fa[_0x231666(0x140)]!==_0x3443a0)return!0x1;if(_0x287b7e){const _0x50cec2=new Date(_0x1412fa[_0x231666(0x148)][_0x231666(0x12f)](),_0x1412fa[_0x231666(0x148)][_0x231666(0x137)](),_0x1412fa[_0x231666(0x148)][_0x231666(0x13c)]());return _0x4773c9?_0x4773c9[_0x231666(0x14f)]()===_0x287b7e[_0x231666(0x14f)]()?_0x50cec2[_0x231666(0x14f)]()===_0x4773c9[_0x231666(0x14f)]():_0x50cec2<_0x287b7e&&_0x50cec2>=_0x4773c9:_0x50cec2<_0x287b7e;}return!0x0;});}}function _0x2301(){const _0x444b22=['getItem','getTime','removeItem','connector','8PnVWVa','getConversations','addItem','loadItems','getResult','error','updatePinned','6038260KQBuWC','splice','7eylydQ','122192AyLMsD','2000577CjxNnk','execute','getFullYear','1125tFHExc','fire','findIndex','updateTitle','items','updateItemTitle','94110JLVwAz','getMonth','filter','push','1943072pLCDhX','getItems','getDate','itemUpdated','itemRemoved','init','pinned','from','map','itemsLoaded','17690849hUTPSa','2RCLQdz','updateItemPinned','find','createdAt','group','deleteConversation','fetchConversations','2040756AeDdoQ','updateConversation'];_0x2301=function(){return _0x444b22;};return _0x2301();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xbfb1(){var _0x52563b=['18252wrnhqG','pinned','5615929QmkruS','21toRsGl','765uwkiCQ','20kboXoq','updateTitle','set','1963794cvsDem','198486yBClwm','createdAt','title','updatePinned','1450840mbBDkV','8712xXaMhW','updatedAt','6eMItjZ','299008qTbErF'];_0xbfb1=function(){return _0x52563b;};return _0xbfb1();}var _0x7a91b7=_0x3310;(function(_0x21bd42,_0x4fc260){var _0x7aee49=_0x3310,_0x2b473c=_0x21bd42();while(!![]){try{var _0x39410b=parseInt(_0x7aee49(0x9f))/0x1*(parseInt(_0x7aee49(0x94))/0x2)+parseInt(_0x7aee49(0x99))/0x3*(-parseInt(_0x7aee49(0x95))/0x4)+parseInt(_0x7aee49(0x9a))/0x5*(parseInt(_0x7aee49(0x96))/0x6)+parseInt(_0x7aee49(0x9e))/0x7+parseInt(_0x7aee49(0x91))/0x8+-parseInt(_0x7aee49(0x92))/0x9*(parseInt(_0x7aee49(0x9b))/0xa)+-parseInt(_0x7aee49(0x98))/0xb;if(_0x39410b===_0x4fc260)break;else _0x2b473c['push'](_0x2b473c['shift']());}catch(_0x39e0ff){_0x2b473c['push'](_0x2b473c['shift']());}}}(_0xbfb1,0x76e82));import{ObservableMixin as _0x18c297}from'ckeditor5/src/utils.js';import{escape as _0x5566a2}from'es-toolkit/compat';function _0x3310(_0x5108c9,_0x5b57d0){var _0xbfb11d=_0xbfb1();return _0x3310=function(_0x331076,_0x1475dc){_0x331076=_0x331076-0x8f;var _0x5af19a=_0xbfb11d[_0x331076];return _0x5af19a;},_0x3310(_0x5108c9,_0x5b57d0);}export class AIChatHistoryItem extends _0x18c297(){['id'];[_0x7a91b7(0xa0)];constructor({id:_0x1ae961,title:_0x546190,createdAt:_0x1a2284,updatedAt:_0x51a08a,pinned:_0x52fbcf}){var _0x261d68=_0x7a91b7;super(),this['id']=_0x1ae961,this[_0x261d68(0xa0)]=new Date(_0x1a2284),this[_0x261d68(0x9d)](_0x261d68(0x8f),_0x546190),this[_0x261d68(0x9d)](_0x261d68(0x93),_0x51a08a?new Date(_0x51a08a):null),this[_0x261d68(0x9d)](_0x261d68(0x97),_0x52fbcf||!0x1);}[_0x7a91b7(0x9c)](_0x28ab3a){var _0x62e71=_0x7a91b7;this[_0x62e71(0x9d)](_0x62e71(0x8f),_0x5566a2(_0x28ab3a)),this[_0x62e71(0x93)]=new Date();}[_0x7a91b7(0x90)](_0x854ac2){var _0x226ec9=_0x7a91b7;this[_0x226ec9(0x9d)](_0x226ec9(0x97),_0x854ac2),this[_0x226ec9(0x93)]=new Date();}}
23
+ var _0x3f3e05=_0x5e76;(function(_0x489ecb,_0x1a636d){var _0x57fe5c=_0x5e76,_0x2dc9b5=_0x489ecb();while(!![]){try{var _0xe4c569=parseInt(_0x57fe5c(0x6a))/0x1*(parseInt(_0x57fe5c(0x70))/0x2)+parseInt(_0x57fe5c(0x6e))/0x3*(parseInt(_0x57fe5c(0x6b))/0x4)+parseInt(_0x57fe5c(0x6d))/0x5+-parseInt(_0x57fe5c(0x74))/0x6+-parseInt(_0x57fe5c(0x78))/0x7+-parseInt(_0x57fe5c(0x69))/0x8*(-parseInt(_0x57fe5c(0x77))/0x9)+parseInt(_0x57fe5c(0x71))/0xa*(-parseInt(_0x57fe5c(0x67))/0xb);if(_0xe4c569===_0x1a636d)break;else _0x2dc9b5['push'](_0x2dc9b5['shift']());}catch(_0x319f66){_0x2dc9b5['push'](_0x2dc9b5['shift']());}}}(_0x24d4,0x6a958));function _0x5e76(_0x26bf82,_0x282920){var _0x24d49a=_0x24d4();return _0x5e76=function(_0x5e765a,_0x13c356){_0x5e765a=_0x5e765a-0x67;var _0xfbff22=_0x24d49a[_0x5e765a];return _0xfbff22;},_0x5e76(_0x26bf82,_0x282920);}import{ObservableMixin as _0x36c62b}from'ckeditor5/src/utils.js';import{escape as _0x2389fd}from'es-toolkit/compat';function _0x24d4(){var _0x284dd9=['pinned','2794250FCedIX','172665YakFbh','set','110bBLSZF','15280YxGbDM','createdAt','updatePinned','1035624okbwnf','updateTitle','title','592812WJTfvK','3214036QYxvAK','8591qVpJil','updatedAt','88OkOPrM','8369HUzVwN','36zUnFbO'];_0x24d4=function(){return _0x284dd9;};return _0x24d4();}export class AIChatHistoryItem extends _0x36c62b(){['id'];[_0x3f3e05(0x72)];constructor({id:_0x54267f,title:_0x551908,createdAt:_0x2c01b5,updatedAt:_0x3f4b66,pinned:_0x5cb9f5}){var _0xc15ee7=_0x3f3e05;super(),this['id']=_0x54267f,this[_0xc15ee7(0x72)]=new Date(_0x2c01b5),this[_0xc15ee7(0x6f)](_0xc15ee7(0x76),_0x551908),this[_0xc15ee7(0x6f)](_0xc15ee7(0x68),_0x3f4b66?new Date(_0x3f4b66):null),this[_0xc15ee7(0x6f)](_0xc15ee7(0x6c),_0x5cb9f5||!0x1);}[_0x3f3e05(0x75)](_0xf372ee){var _0x2ded45=_0x3f3e05;this[_0x2ded45(0x6f)](_0x2ded45(0x76),_0x2389fd(_0xf372ee)),this[_0x2ded45(0x68)]=new Date();}[_0x3f3e05(0x73)](_0x3f331e){var _0x2f0d47=_0x3f3e05;this[_0x2f0d47(0x6f)](_0x2f0d47(0x6c),_0x3f331e),this[_0x2f0d47(0x68)]=new Date();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cc4b0=_0x1915;(function(_0xc3ae13,_0x14f909){const _0x17c3a6=_0x1915,_0x329d0f=_0xc3ae13();while(!![]){try{const _0x414e24=-parseInt(_0x17c3a6(0x1a6))/0x1+parseInt(_0x17c3a6(0x1a0))/0x2+parseInt(_0x17c3a6(0x181))/0x3+parseInt(_0x17c3a6(0x1ce))/0x4*(parseInt(_0x17c3a6(0x1d9))/0x5)+-parseInt(_0x17c3a6(0x186))/0x6*(-parseInt(_0x17c3a6(0x192))/0x7)+parseInt(_0x17c3a6(0x182))/0x8*(parseInt(_0x17c3a6(0x1cd))/0x9)+-parseInt(_0x17c3a6(0x1a5))/0xa;if(_0x414e24===_0x14f909)break;else _0x329d0f['push'](_0x329d0f['shift']());}catch(_0x2dffb3){_0x329d0f['push'](_0x329d0f['shift']());}}}(_0x1e89,0x411a7));import{ListItemView as _0x5bb682,HighlightedTextView as _0x4470eb,ButtonView as _0x2ced0a,ListView as _0x33d0cf,IconView as _0x330b0a,createDropdown as _0x40d630,InputTextView as _0x1bf9fd}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x218a9f,IconPin as _0xad588d,IconCheck as _0x196609,IconCancel as _0x3687bd}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x57fdb6,ConfirmMixin as _0x24f1c8}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x96815b}from'es-toolkit/compat';function _0x1e89(){const _0x2db064=['_createPinButtonView','ck-ai-chat-history__item-row','setConversationPinned','extendTemplate','_createMenuDropdownView','withText','tiny','edit:cancel','ck-ai-chat-history__item-main-content','ck-ai-chat-history__item-check-container','pinned','2657871gHIHep','4bklEDF','AI_CHAT_HISTORY_PIN_BUTTON','panelView','AI_CHAT_HISTORY_EDIT_NAME','isMatching','AI_CHAT_HISTORY_LOADING_RENAMING','LOADING_LABELS','AI_CHAT_HISTORY_LOADING_PINNING','key','click','ck-confirm-view-cancel','1486990jpjOfk','match','_createSpinnerView','_commitEditInputValue','isOn','setTemplate','label','selectConversation','ck-ai-loader','createCollection','1044945voPOgm','8pXjpnL','value','ck-ai-chat-history__item--active','span','53142nVPWJI','ck-ai-chat-history__item-actions','AI_CHAT_HISTORY_LOADING_UNPINNING','AI_CHAT_HISTORY_ACCEPT','set','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','items','ck-hidden','_createAcceptEditButtonView','_titleView','ck-ai-chat-history__item-date','focus','7pinyXX','panelPosition','then','addMany','AI_CHAT_HISTORY_REMOVE_CONFIRM','isVisible','string','AI_CHAT_HISTORY_LOADING_REMOVING','_createCancelEditButtonView','_createCheckView','updateTitle','fire','AI_CHAT_HISTORY_REMOVE','ck-ai-loader__text','555534zvhhMo','_createEditInputView','div','ck-ai-chat-history__item--edit','change:isEdit','5527880yrBiAL','408205aOUeRk','isEdit','execute','buttonView','bind','removeConversation','ck-ai-chat-history__item-title','mainContent','actions','add','showConfirm','Enter','loadingState','highlightText','element','ck-ai-chat-history__item-check','listitem','ck-ai-chat-history__item-content','ck-ai-chat-history__item','text','ck-confirm-view-submit','updateLoadingState','locale','AI_CHAT_HISTORY_CANCEL','clear','editConversationTitle','bindTemplate','children'];_0x1e89=function(){return _0x2db064;};return _0x1e89();}import{AISpinnerView as _0x12dd92}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x1f1fb6}from'../../aicore/utils/common-translations.js';function _0x1915(_0xe0e51a,_0x26b704){const _0x1e89e7=_0x1e89();return _0x1915=function(_0x1915b4,_0x20f2b8){_0x1915b4=_0x1915b4-0x180;let _0x4e8ffc=_0x1e89e7[_0x1915b4];return _0x4e8ffc;},_0x1915(_0xe0e51a,_0x26b704);}export class AIChatHistoryListItemView extends _0x24f1c8(_0x5bb682){['id'];static [_0x3cc4b0(0x1d4)]={'remove':_0x3cc4b0(0x199),'rename':_0x3cc4b0(0x1d3),'pin':_0x3cc4b0(0x1d5),'unpin':_0x3cc4b0(0x188)};[_0x3cc4b0(0x1ae)];[_0x3cc4b0(0x1ad)];[_0x3cc4b0(0x18f)];constructor(_0x3d9631,_0x3bf261){const _0x2bd751=_0x3cc4b0;super(_0x3d9631);const _0x280e32=this[_0x2bd751(0x1c0)];this[_0x2bd751(0x18a)](_0x2bd751(0x1a7),!0x1),this[_0x2bd751(0x18a)](_0x2bd751(0x197),!0x0),this[_0x2bd751(0x18a)](_0x2bd751(0x1cc),!!_0x3bf261[_0x2bd751(0x1cc)]),this[_0x2bd751(0x18a)](_0x2bd751(0x1b2),null),this['id']=_0x3bf261['id'];const {title:_0x57c158,createdAt:_0x3bf9a3,active:_0x2e0654=!0x1}=_0x3bf261;this[_0x2bd751(0x18f)]=new _0x4470eb(),this[_0x2bd751(0x18f)][_0x2bd751(0x1b9)]=_0x57c158,this[_0x2bd751(0x18f)][_0x2bd751(0x1c5)]({'attributes':{'class':[_0x2bd751(0x1ac)]}});const _0x33e0d1=this[_0x2bd751(0x19b)](),_0x378ce5=this[_0x2bd751(0x1c2)](_0x3d9631),_0x1d2fbe=this[_0x2bd751(0x1c6)](),_0x274973=this[_0x2bd751(0x1a1)](_0x3d9631,_0x57c158),_0x5c441e=this[_0x2bd751(0x18e)](_0x3d9631,_0x274973),_0xe4049c=this[_0x2bd751(0x19a)](_0x3d9631,_0x274973);this[_0x2bd751(0x1ae)]=this[_0x2bd751(0x180)](),this[_0x2bd751(0x1ad)]=this[_0x2bd751(0x180)](),this[_0x2bd751(0x1ad)][_0x2bd751(0x1af)](this[_0x2bd751(0x18f)]),this[_0x2bd751(0x1ae)][_0x2bd751(0x1af)](_0x378ce5),this[_0x2bd751(0x1ae)][_0x2bd751(0x1af)](_0x1d2fbe),this['on'](_0x2bd751(0x1a4),(_0x438d1b,_0x22e805,_0x28d1cd)=>{const _0x31687b=_0x2bd751;this[_0x31687b(0x1ae)][_0x31687b(0x1be)](),this[_0x31687b(0x1ad)][_0x31687b(0x1be)](),_0x28d1cd?(this[_0x31687b(0x1ae)][_0x31687b(0x1af)](_0x5c441e),this[_0x31687b(0x1ae)][_0x31687b(0x1af)](_0xe4049c),this[_0x31687b(0x1ad)][_0x31687b(0x1af)](_0x274973),_0x274973[_0x31687b(0x1b4)][_0x31687b(0x191)]()):(this[_0x31687b(0x1ae)][_0x31687b(0x1af)](_0x378ce5),this[_0x31687b(0x1ae)][_0x31687b(0x1af)](_0x1d2fbe),this[_0x31687b(0x1ad)][_0x31687b(0x1af)](this[_0x31687b(0x18f)]));}),this[_0x2bd751(0x1de)]({'tag':'li','attributes':{'class':[_0x2bd751(0x1b8),_0x2e0654?_0x2bd751(0x184):'',_0x280e32['if'](_0x2bd751(0x197),_0x2bd751(0x18d),_0x1632e1=>!_0x1632e1),_0x280e32['if'](_0x2bd751(0x1a7),_0x2bd751(0x1a3))],'role':_0x2bd751(0x1b6)},'children':[{'tag':_0x2bd751(0x185),'attributes':{'class':[_0x2bd751(0x1cb)]},'children':[{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1b5),_0x280e32['if'](_0x2bd751(0x1b2),_0x2bd751(0x18d),_0x22098b=>!!_0x22098b)]},'children':_0x2e0654?[_0x33e0d1]:[]},{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1e1),_0x280e32['if'](_0x2bd751(0x1b2),_0x2bd751(0x18d),_0x32157a=>!_0x32157a)]},'children':[this[_0x2bd751(0x1db)]()]}]},{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1c3)]},'children':[{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1b7)]},'on':{'click':this[_0x2bd751(0x1c0)]['to'](_0x2bd751(0x1d7))},'children':[{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1ca)]},'children':[{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1ac),_0x280e32['if'](_0x2bd751(0x1b2),_0x2bd751(0x18d),_0x5778cf=>!!_0x5778cf)]},'children':this[_0x2bd751(0x1ad)]},{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x19f),_0x280e32['if'](_0x2bd751(0x1b2),_0x2bd751(0x18d),_0x35308c=>!_0x35308c)]},'children':[{'text':_0x280e32['to'](_0x2bd751(0x1b2),_0x5b9df2=>_0x5b9df2?_0x1f1fb6(this[_0x2bd751(0x1bc)],AIChatHistoryListItemView[_0x2bd751(0x1d4)][_0x5b9df2]):'')}]}]},{'tag':_0x2bd751(0x185),'attributes':{'class':[_0x2bd751(0x190)]},'children':[_0x3bf9a3]}]},{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x187)]},'children':this[_0x2bd751(0x1ae)]}]}]}),this['on'](_0x2bd751(0x1d7),()=>{const _0x848556=_0x2bd751;this[_0x848556(0x1a7)]||this[_0x848556(0x19d)](_0x848556(0x1e0),{'id':this['id']});});}[_0x3cc4b0(0x19c)](_0x43d690){const _0x39437a=_0x3cc4b0;this[_0x39437a(0x18f)][_0x39437a(0x1b9)]=_0x96815b(_0x43d690);}[_0x3cc4b0(0x1bb)](_0x1f7c6e,_0x1a3af6){const _0x5b426c=_0x3cc4b0;this[_0x5b426c(0x18a)](_0x5b426c(0x1b2),_0x1a3af6?_0x1f7c6e:null);}[_0x3cc4b0(0x19b)](){const _0x32c5ac=_0x3cc4b0,_0x2894ee=new _0x330b0a();return _0x2894ee[_0x32c5ac(0x18a)]({'content':_0x196609}),_0x2894ee;}[_0x3cc4b0(0x1c2)](_0x11cfe3){const _0x3263d6=_0x3cc4b0,_0x40f3fd=new _0x2ced0a(_0x11cfe3);return _0x40f3fd[_0x3263d6(0x18a)]({'label':_0x1f1fb6(_0x11cfe3,_0x3263d6(0x1cf)),'icon':_0xad588d,'withText':!0x1,'tooltip':!0x0}),_0x40f3fd[_0x3263d6(0x1aa)](_0x3263d6(0x1dd))['to'](this,_0x3263d6(0x1cc)),_0x40f3fd['on'](_0x3263d6(0x1a8),()=>{const _0x29c728=_0x3263d6,_0x96d331=!this[_0x29c728(0x1cc)];this[_0x29c728(0x19d)](_0x29c728(0x1c4),{'id':this['id'],'pinned':_0x96d331});}),_0x40f3fd;}[_0x3cc4b0(0x1c6)](){const _0x360078=_0x3cc4b0,_0x57ba26=_0x40d630(this[_0x360078(0x1bc)],_0x57fdb6),_0x1d26f6=_0x57ba26[_0x360078(0x1d0)][_0x360078(0x1c1)];_0x57ba26[_0x360078(0x1a9)][_0x360078(0x18a)]({'label':_0x1f1fb6(this[_0x360078(0x1bc)],_0x360078(0x18b)),'icon':_0x218a9f}),_0x57ba26[_0x360078(0x193)]='sw';const _0x8a076f=new _0x2ced0a(this[_0x360078(0x1bc)]);_0x8a076f[_0x360078(0x1df)]=_0x1f1fb6(this[_0x360078(0x1bc)],_0x360078(0x1d1)),_0x8a076f[_0x360078(0x1c7)]=!0x0,_0x8a076f['on'](_0x360078(0x1a8),()=>{const _0x4bb460=_0x360078;this[_0x4bb460(0x1a7)]=!0x0;});const _0xe2a6ac=new _0x2ced0a(this[_0x360078(0x1bc)]);_0xe2a6ac[_0x360078(0x1df)]=_0x1f1fb6(this[_0x360078(0x1bc)],_0x360078(0x19e)),_0xe2a6ac[_0x360078(0x1c7)]=!0x0,_0xe2a6ac['on'](_0x360078(0x1a8),()=>{const _0x221919=_0x360078;this[_0x221919(0x1b0)](_0x1f1fb6(this[_0x221919(0x1bc)],_0x221919(0x196)),this[_0x221919(0x1b4)])[_0x221919(0x194)](()=>{const _0x2185ad=_0x221919;this[_0x2185ad(0x19d)](_0x2185ad(0x1ab),{'id':this['id']});});});const _0x25d7cf=new _0x33d0cf(this[_0x360078(0x1bc)]),_0x245dcc=new _0x5bb682(this[_0x360078(0x1bc)]);_0x245dcc[_0x360078(0x1c1)][_0x360078(0x1af)](_0x8a076f);const _0x8bfa93=new _0x5bb682(this[_0x360078(0x1bc)]);return _0x8bfa93[_0x360078(0x1c1)][_0x360078(0x1af)](_0xe2a6ac),_0x25d7cf[_0x360078(0x18c)][_0x360078(0x195)]([_0x245dcc,_0x8bfa93]),_0x1d26f6[_0x360078(0x1af)](_0x25d7cf),_0x57ba26;}[_0x3cc4b0(0x1a1)](_0x3b6545,_0x2e3d6b){const _0x234947=_0x3cc4b0,_0x457bee=new _0x1bf9fd(_0x3b6545),_0x384366=_0x457bee[_0x234947(0x1c0)];return _0x457bee[_0x234947(0x183)]=_0x2e3d6b,_0x457bee[_0x234947(0x1c5)]({'on':{'keydown':_0x384366['to'](_0x3a37e9=>{const _0xa6b44d=_0x234947;_0xa6b44d(0x1b1)==_0x3a37e9[_0xa6b44d(0x1d6)]&&this[_0xa6b44d(0x1dc)](_0x457bee);})}}),_0x457bee;}[_0x3cc4b0(0x18e)](_0x120dbb,_0x1ba822){const _0x38d5d2=_0x3cc4b0,_0x5da68b=new _0x2ced0a(_0x120dbb);return _0x5da68b[_0x38d5d2(0x18a)]({'icon':_0x196609,'withText':!0x1,'tooltip':_0x1f1fb6(_0x120dbb,_0x38d5d2(0x189))}),_0x5da68b[_0x38d5d2(0x1c5)]({'attributes':{'class':[_0x38d5d2(0x1ba)]}}),_0x5da68b['on'](_0x38d5d2(0x1a8),()=>{const _0x5a4ed9=_0x38d5d2;this[_0x5a4ed9(0x1dc)](_0x1ba822);}),_0x5da68b;}[_0x3cc4b0(0x1dc)](_0x3ce4cd){const _0x2d277a=_0x3cc4b0,_0xbf4b71=_0x3ce4cd[_0x2d277a(0x1b4)][_0x2d277a(0x183)]||'';this[_0x2d277a(0x18f)][_0x2d277a(0x1b9)]=_0xbf4b71,this[_0x2d277a(0x1a7)]=!0x1,this[_0x2d277a(0x19d)](_0x2d277a(0x1bf),{'id':this['id'],'title':_0xbf4b71});}[_0x3cc4b0(0x19a)](_0x432967,_0x2d599a){const _0x327b39=_0x3cc4b0,_0xf49b9e=new _0x2ced0a(_0x432967);return _0xf49b9e[_0x327b39(0x18a)]({'icon':_0x3687bd,'withText':!0x1,'tooltip':_0x1f1fb6(_0x432967,_0x327b39(0x1bd))}),_0xf49b9e[_0x327b39(0x1c5)]({'attributes':{'class':[_0x327b39(0x1d8)]}}),_0xf49b9e['on'](_0x327b39(0x1a8),()=>{const _0x421046=_0x327b39;this[_0x421046(0x1a7)]=!0x1,_0x2d599a[_0x421046(0x183)]=this[_0x421046(0x18f)][_0x421046(0x1b9)]||'',this[_0x421046(0x19d)](_0x421046(0x1c9));}),_0xf49b9e;}[_0x3cc4b0(0x1db)](){const _0x3ca24e=_0x3cc4b0,_0x510397=new _0x12dd92(_0x3ca24e(0x1c8));return _0x510397[_0x3ca24e(0x197)]=!0x0,_0x510397;}[_0x3cc4b0(0x1d2)](_0x126e55){const _0x2f9ea1=_0x3cc4b0;return this[_0x2f9ea1(0x18f)]&&_0x2f9ea1(0x198)==typeof this[_0x2f9ea1(0x18f)][_0x2f9ea1(0x1b9)]&&this[_0x2f9ea1(0x18f)][_0x2f9ea1(0x1b9)][_0x2f9ea1(0x1da)](_0x126e55)?{'title':!0x0}:null;}[_0x3cc4b0(0x1b3)](_0x49badf){const _0x25036e=_0x3cc4b0;this[_0x25036e(0x18f)][_0x25036e(0x1b3)](_0x49badf);}}
23
+ const _0x459cf2=_0x14bc;function _0x14bc(_0x3ebc64,_0x1ffd66){const _0x2eacb4=_0x2eac();return _0x14bc=function(_0x14bccb,_0x339026){_0x14bccb=_0x14bccb-0xcd;let _0x360481=_0x2eacb4[_0x14bccb];return _0x360481;},_0x14bc(_0x3ebc64,_0x1ffd66);}(function(_0x2aefa7,_0x1206d2){const _0x24c3b0=_0x14bc,_0x5104ad=_0x2aefa7();while(!![]){try{const _0x3bcdf8=parseInt(_0x24c3b0(0xeb))/0x1+-parseInt(_0x24c3b0(0x12b))/0x2+parseInt(_0x24c3b0(0xdd))/0x3+-parseInt(_0x24c3b0(0x109))/0x4*(parseInt(_0x24c3b0(0x11b))/0x5)+parseInt(_0x24c3b0(0xe3))/0x6+parseInt(_0x24c3b0(0xcf))/0x7+parseInt(_0x24c3b0(0xea))/0x8*(-parseInt(_0x24c3b0(0x11c))/0x9);if(_0x3bcdf8===_0x1206d2)break;else _0x5104ad['push'](_0x5104ad['shift']());}catch(_0x17aab4){_0x5104ad['push'](_0x5104ad['shift']());}}}(_0x2eac,0xb34c7));import{ListItemView as _0x2bee09,HighlightedTextView as _0xe0e2b6,ButtonView as _0x4aa727,ListView as _0x14819f,IconView as _0x3652dc,createDropdown as _0x44eb30,InputTextView as _0x558406}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x251b70,IconPin as _0x24a197,IconCheck as _0x9fd076,IconCancel as _0x15a402}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x49c088,ConfirmMixin as _0x876039}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x132822}from'es-toolkit/compat';import{AISpinnerView as _0x3ad322}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x172310}from'../../aicore/utils/common-translations.js';function _0x2eac(){const _0x1b644c=['1265klIWiU','85446sbtNUJ','ck-ai-chat-history__item-title','value','setConversationPinned','removeConversation','_createPinButtonView','AI_CHAT_HISTORY_LOADING_REMOVING','AI_CHAT_HISTORY_LOADING_UNPINNING','updateTitle','label','fire','withText','click','actions','isMatching','1272010LWySAY','ck-ai-chat-history__item-check','_createCancelEditButtonView','AI_CHAT_HISTORY_REMOVE_CONFIRM','ck-ai-chat-history__item-row','10116197vCDXKH','items','AI_CHAT_HISTORY_ACCEPT','ck-ai-chat-history__item','add','AI_CHAT_HISTORY_REMOVE','ck-ai-loader','_createAcceptEditButtonView','AI_CHAT_HISTORY_LOADING_RENAMING','locale','showConfirm','bind','span','ck-ai-chat-history__item-main-content','111504rVxyNI','ck-ai-chat-history__item-check-container','AI_CHAT_HISTORY_EDIT_NAME','panelPosition','children','then','7403028oVNemg','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','_createSpinnerView','ck-confirm-view-cancel','execute','listitem','pinned','1192owRpHC','840238uQoNtV','mainContent','set','setTemplate','highlightText','ck-confirm-view-submit','text','string','_titleView','selectConversation','_createEditInputView','editConversationTitle','loadingState','ck-ai-chat-history__item-content','tiny','AI_CHAT_HISTORY_PIN_BUTTON','LOADING_LABELS','AI_CHAT_HISTORY_LOADING_PINNING','ck-ai-loader__text','AI_CHAT_HISTORY_CANCEL','Enter','div','isOn','_createCheckView','ck-ai-chat-history__item-actions','match','key','bindTemplate','ck-ai-chat-history__item-date','ck-ai-chat-history__item--active','12196tFgBzZ','extendTemplate','_commitEditInputValue','buttonView','change:isEdit','element','focus','edit:cancel','addMany','isEdit','isVisible','createCollection','ck-hidden','clear','updateLoadingState','panelView','_createMenuDropdownView','ck-ai-chat-history__item--edit'];_0x2eac=function(){return _0x1b644c;};return _0x2eac();}export class AIChatHistoryListItemView extends _0x876039(_0x2bee09){['id'];static [_0x459cf2(0xfb)]={'remove':_0x459cf2(0x122),'rename':_0x459cf2(0xd7),'pin':_0x459cf2(0xfc),'unpin':_0x459cf2(0x123)};[_0x459cf2(0x129)];[_0x459cf2(0xec)];[_0x459cf2(0xf3)];constructor(_0x20cdce,_0x1bb930){const _0x21629a=_0x459cf2;super(_0x20cdce);const _0x4d32ec=this[_0x21629a(0x106)];this[_0x21629a(0xed)](_0x21629a(0x112),!0x1),this[_0x21629a(0xed)](_0x21629a(0x113),!0x0),this[_0x21629a(0xed)](_0x21629a(0xe9),!!_0x1bb930[_0x21629a(0xe9)]),this[_0x21629a(0xed)](_0x21629a(0xf7),null),this['id']=_0x1bb930['id'];const {title:_0x1f7cb9,createdAt:_0x16491b,active:_0xc8ad13=!0x1}=_0x1bb930;this[_0x21629a(0xf3)]=new _0xe0e2b6(),this[_0x21629a(0xf3)][_0x21629a(0xf1)]=_0x1f7cb9,this[_0x21629a(0xf3)][_0x21629a(0x10a)]({'attributes':{'class':[_0x21629a(0x11d)]}});const _0x4dcf77=this[_0x21629a(0x102)](),_0x60ce50=this[_0x21629a(0x121)](_0x20cdce),_0x470a58=this[_0x21629a(0x119)](),_0xa81e4e=this[_0x21629a(0xf5)](_0x20cdce,_0x1f7cb9),_0x53e315=this[_0x21629a(0xd6)](_0x20cdce,_0xa81e4e),_0x389df3=this[_0x21629a(0x12d)](_0x20cdce,_0xa81e4e);this[_0x21629a(0x129)]=this[_0x21629a(0x114)](),this[_0x21629a(0xec)]=this[_0x21629a(0x114)](),this[_0x21629a(0xec)][_0x21629a(0xd3)](this[_0x21629a(0xf3)]),this[_0x21629a(0x129)][_0x21629a(0xd3)](_0x60ce50),this[_0x21629a(0x129)][_0x21629a(0xd3)](_0x470a58),this['on'](_0x21629a(0x10d),(_0x216403,_0x59b792,_0x3c4d07)=>{const _0x11172c=_0x21629a;this[_0x11172c(0x129)][_0x11172c(0x116)](),this[_0x11172c(0xec)][_0x11172c(0x116)](),_0x3c4d07?(this[_0x11172c(0x129)][_0x11172c(0xd3)](_0x53e315),this[_0x11172c(0x129)][_0x11172c(0xd3)](_0x389df3),this[_0x11172c(0xec)][_0x11172c(0xd3)](_0xa81e4e),_0xa81e4e[_0x11172c(0x10e)][_0x11172c(0x10f)]()):(this[_0x11172c(0x129)][_0x11172c(0xd3)](_0x60ce50),this[_0x11172c(0x129)][_0x11172c(0xd3)](_0x470a58),this[_0x11172c(0xec)][_0x11172c(0xd3)](this[_0x11172c(0xf3)]));}),this[_0x21629a(0xee)]({'tag':'li','attributes':{'class':[_0x21629a(0xd2),_0xc8ad13?_0x21629a(0x108):'',_0x4d32ec['if'](_0x21629a(0x113),_0x21629a(0x115),_0xa2a5a1=>!_0xa2a5a1),_0x4d32ec['if'](_0x21629a(0x112),_0x21629a(0x11a))],'role':_0x21629a(0xe8)},'children':[{'tag':_0x21629a(0xdb),'attributes':{'class':[_0x21629a(0xde)]},'children':[{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0x12c),_0x4d32ec['if'](_0x21629a(0xf7),_0x21629a(0x115),_0x3f4990=>!!_0x3f4990)]},'children':_0xc8ad13?[_0x4dcf77]:[]},{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0xd5),_0x4d32ec['if'](_0x21629a(0xf7),_0x21629a(0x115),_0x50faea=>!_0x50faea)]},'children':[this[_0x21629a(0xe5)]()]}]},{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0xce)]},'children':[{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0xf8)]},'on':{'click':this[_0x21629a(0x106)]['to'](_0x21629a(0x128))},'children':[{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0xdc)]},'children':[{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0x11d),_0x4d32ec['if'](_0x21629a(0xf7),_0x21629a(0x115),_0x292cea=>!!_0x292cea)]},'children':this[_0x21629a(0xec)]},{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0xfd),_0x4d32ec['if'](_0x21629a(0xf7),_0x21629a(0x115),_0x209ce2=>!_0x209ce2)]},'children':[{'text':_0x4d32ec['to'](_0x21629a(0xf7),_0x53a5a0=>_0x53a5a0?_0x172310(this[_0x21629a(0xd8)],AIChatHistoryListItemView[_0x21629a(0xfb)][_0x53a5a0]):'')}]}]},{'tag':_0x21629a(0xdb),'attributes':{'class':[_0x21629a(0x107)]},'children':[_0x16491b]}]},{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0x103)]},'children':this[_0x21629a(0x129)]}]}]}),this['on'](_0x21629a(0x128),()=>{const _0x4d7466=_0x21629a;this[_0x4d7466(0x112)]||this[_0x4d7466(0x126)](_0x4d7466(0xf4),{'id':this['id']});});}[_0x459cf2(0x124)](_0x3d38f4){const _0x3525e3=_0x459cf2;this[_0x3525e3(0xf3)][_0x3525e3(0xf1)]=_0x132822(_0x3d38f4);}[_0x459cf2(0x117)](_0x512c0c,_0x3c3aa2){const _0x3a3960=_0x459cf2;this[_0x3a3960(0xed)](_0x3a3960(0xf7),_0x3c3aa2?_0x512c0c:null);}[_0x459cf2(0x102)](){const _0xf229b4=_0x459cf2,_0x103a32=new _0x3652dc();return _0x103a32[_0xf229b4(0xed)]({'content':_0x9fd076}),_0x103a32;}[_0x459cf2(0x121)](_0x4ae615){const _0x4a6084=_0x459cf2,_0x23fff5=new _0x4aa727(_0x4ae615);return _0x23fff5[_0x4a6084(0xed)]({'label':_0x172310(_0x4ae615,_0x4a6084(0xfa)),'icon':_0x24a197,'withText':!0x1,'tooltip':!0x0}),_0x23fff5[_0x4a6084(0xda)](_0x4a6084(0x101))['to'](this,_0x4a6084(0xe9)),_0x23fff5['on'](_0x4a6084(0xe7),()=>{const _0x253e1c=_0x4a6084,_0x9946fd=!this[_0x253e1c(0xe9)];this[_0x253e1c(0x126)](_0x253e1c(0x11f),{'id':this['id'],'pinned':_0x9946fd});}),_0x23fff5;}[_0x459cf2(0x119)](){const _0x2d5cf2=_0x459cf2,_0x426a75=_0x44eb30(this[_0x2d5cf2(0xd8)],_0x49c088),_0x14abce=_0x426a75[_0x2d5cf2(0x118)][_0x2d5cf2(0xe1)];_0x426a75[_0x2d5cf2(0x10c)][_0x2d5cf2(0xed)]({'label':_0x172310(this[_0x2d5cf2(0xd8)],_0x2d5cf2(0xe4)),'icon':_0x251b70}),_0x426a75[_0x2d5cf2(0xe0)]='sw';const _0x15ef9b=new _0x4aa727(this[_0x2d5cf2(0xd8)]);_0x15ef9b[_0x2d5cf2(0x125)]=_0x172310(this[_0x2d5cf2(0xd8)],_0x2d5cf2(0xdf)),_0x15ef9b[_0x2d5cf2(0x127)]=!0x0,_0x15ef9b['on'](_0x2d5cf2(0xe7),()=>{const _0x321eb9=_0x2d5cf2;this[_0x321eb9(0x112)]=!0x0;});const _0x2b892c=new _0x4aa727(this[_0x2d5cf2(0xd8)]);_0x2b892c[_0x2d5cf2(0x125)]=_0x172310(this[_0x2d5cf2(0xd8)],_0x2d5cf2(0xd4)),_0x2b892c[_0x2d5cf2(0x127)]=!0x0,_0x2b892c['on'](_0x2d5cf2(0xe7),()=>{const _0x110765=_0x2d5cf2;this[_0x110765(0xd9)](_0x172310(this[_0x110765(0xd8)],_0x110765(0xcd)),this[_0x110765(0x10e)])[_0x110765(0xe2)](()=>{const _0x5ed92c=_0x110765;this[_0x5ed92c(0x126)](_0x5ed92c(0x120),{'id':this['id']});});});const _0x3bd7f2=new _0x14819f(this[_0x2d5cf2(0xd8)]),_0x3d1e85=new _0x2bee09(this[_0x2d5cf2(0xd8)]);_0x3d1e85[_0x2d5cf2(0xe1)][_0x2d5cf2(0xd3)](_0x15ef9b);const _0x27cace=new _0x2bee09(this[_0x2d5cf2(0xd8)]);return _0x27cace[_0x2d5cf2(0xe1)][_0x2d5cf2(0xd3)](_0x2b892c),_0x3bd7f2[_0x2d5cf2(0xd0)][_0x2d5cf2(0x111)]([_0x3d1e85,_0x27cace]),_0x14abce[_0x2d5cf2(0xd3)](_0x3bd7f2),_0x426a75;}[_0x459cf2(0xf5)](_0x364e52,_0x43f7b2){const _0x3fa8fb=_0x459cf2,_0x2e75ab=new _0x558406(_0x364e52),_0x2d1f39=_0x2e75ab[_0x3fa8fb(0x106)];return _0x2e75ab[_0x3fa8fb(0x11e)]=_0x43f7b2,_0x2e75ab[_0x3fa8fb(0x10a)]({'on':{'keydown':_0x2d1f39['to'](_0x146dbc=>{const _0x9155c7=_0x3fa8fb;_0x9155c7(0xff)==_0x146dbc[_0x9155c7(0x105)]&&this[_0x9155c7(0x10b)](_0x2e75ab);})}}),_0x2e75ab;}[_0x459cf2(0xd6)](_0x3d2b31,_0x55651c){const _0x16ebcd=_0x459cf2,_0x56e6e5=new _0x4aa727(_0x3d2b31);return _0x56e6e5[_0x16ebcd(0xed)]({'icon':_0x9fd076,'withText':!0x1,'tooltip':_0x172310(_0x3d2b31,_0x16ebcd(0xd1))}),_0x56e6e5[_0x16ebcd(0x10a)]({'attributes':{'class':[_0x16ebcd(0xf0)]}}),_0x56e6e5['on'](_0x16ebcd(0xe7),()=>{const _0x207ad8=_0x16ebcd;this[_0x207ad8(0x10b)](_0x55651c);}),_0x56e6e5;}[_0x459cf2(0x10b)](_0x40ffcf){const _0x52f4dd=_0x459cf2,_0x590c4d=_0x40ffcf[_0x52f4dd(0x10e)][_0x52f4dd(0x11e)]||'';this[_0x52f4dd(0xf3)][_0x52f4dd(0xf1)]=_0x590c4d,this[_0x52f4dd(0x112)]=!0x1,this[_0x52f4dd(0x126)](_0x52f4dd(0xf6),{'id':this['id'],'title':_0x590c4d});}[_0x459cf2(0x12d)](_0x16a33b,_0x47f4e6){const _0x574710=_0x459cf2,_0x4f9fc2=new _0x4aa727(_0x16a33b);return _0x4f9fc2[_0x574710(0xed)]({'icon':_0x15a402,'withText':!0x1,'tooltip':_0x172310(_0x16a33b,_0x574710(0xfe))}),_0x4f9fc2[_0x574710(0x10a)]({'attributes':{'class':[_0x574710(0xe6)]}}),_0x4f9fc2['on'](_0x574710(0xe7),()=>{const _0x54f449=_0x574710;this[_0x54f449(0x112)]=!0x1,_0x47f4e6[_0x54f449(0x11e)]=this[_0x54f449(0xf3)][_0x54f449(0xf1)]||'',this[_0x54f449(0x126)](_0x54f449(0x110));}),_0x4f9fc2;}[_0x459cf2(0xe5)](){const _0x46dc9d=_0x459cf2,_0x56767e=new _0x3ad322(_0x46dc9d(0xf9));return _0x56767e[_0x46dc9d(0x113)]=!0x0,_0x56767e;}[_0x459cf2(0x12a)](_0x1da7ff){const _0x21271c=_0x459cf2;return this[_0x21271c(0xf3)]&&_0x21271c(0xf2)==typeof this[_0x21271c(0xf3)][_0x21271c(0xf1)]&&this[_0x21271c(0xf3)][_0x21271c(0xf1)][_0x21271c(0x104)](_0x1da7ff)?{'title':!0x0}:null;}[_0x459cf2(0xef)](_0x2bea16){const _0xf145b0=_0x459cf2;this[_0xf145b0(0xf3)][_0xf145b0(0xef)](_0x2bea16);}}