@ckeditor/ckeditor5-ai 47.2.0-alpha.4 → 47.2.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  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/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/model/aichatmodels.js +1 -1
  35. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  36. package/src/aichat/ui/aichatfeedview.js +1 -1
  37. package/src/aichat/ui/aichatheaderview.js +1 -1
  38. package/src/aichat/ui/aichatview.js +1 -1
  39. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  43. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  46. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  51. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  58. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  59. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  60. package/src/aichat/utils/eventnames.js +1 -1
  61. package/src/aichat/utils/promisequeue.js +1 -1
  62. package/src/aichat/utils/scrollmanager.js +1 -1
  63. package/src/aichathistory/aichathistory.js +1 -1
  64. package/src/aichathistory/aichathistorycontroller.js +1 -1
  65. package/src/aichathistory/aichathistoryui.js +1 -1
  66. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  67. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  68. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  69. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  70. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  71. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  72. package/src/aicore/aiconnector.js +1 -1
  73. package/src/aicore/aiediting.js +1 -1
  74. package/src/aicore/model/aicapabilities.js +1 -1
  75. package/src/aicore/model/aiinteraction.js +1 -1
  76. package/src/aicore/model/aimodels.js +1 -1
  77. package/src/aicore/model/aireply.js +1 -1
  78. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  79. package/src/aicore/pipeline/airesponseparser.js +2 -2
  80. package/src/aicore/ui/aidisclaimerview.js +1 -1
  81. package/src/aicore/ui/aiskeleton.js +1 -1
  82. package/src/aicore/ui/aispinner.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  87. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  88. package/src/aicore/utils/createresizebutton.js +1 -1
  89. package/src/aicore/utils/documentrange.js +1 -1
  90. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  91. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  92. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  93. package/src/aicore/utils/htmlparser.js +1 -1
  94. package/src/aicore/utils/htmlstreamer.js +1 -1
  95. package/src/aieditorintegration/aieditorintegration.js +1 -1
  96. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  97. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  98. package/src/aiquickactions/aiquickactions.js +1 -1
  99. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  100. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  101. package/src/aiquickactions/aiquickactionsui.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  103. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  104. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  105. package/src/aireviewmode/aireviewmode.js +1 -1
  106. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  107. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  108. package/src/aireviewmode/aireviewmodeui.js +1 -1
  109. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  110. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  112. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  113. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  123. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  124. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  125. package/src/aitabs/aitabs.js +1 -1
  126. package/src/aitabs/tabs/aitabsview.js +1 -1
  127. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  128. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14f0dc=_0x1cd9;(function(_0x349330,_0x3a3bf8){const _0x2c2f4a=_0x1cd9,_0x166720=_0x349330();while(!![]){try{const _0x13e209=parseInt(_0x2c2f4a(0x1bd))/0x1+-parseInt(_0x2c2f4a(0x1d8))/0x2*(-parseInt(_0x2c2f4a(0x1dd))/0x3)+-parseInt(_0x2c2f4a(0x199))/0x4*(-parseInt(_0x2c2f4a(0x1ae))/0x5)+parseInt(_0x2c2f4a(0x1e1))/0x6*(parseInt(_0x2c2f4a(0x1e3))/0x7)+-parseInt(_0x2c2f4a(0x1db))/0x8*(-parseInt(_0x2c2f4a(0x1ad))/0x9)+-parseInt(_0x2c2f4a(0x1ee))/0xa*(-parseInt(_0x2c2f4a(0x1aa))/0xb)+parseInt(_0x2c2f4a(0x1e8))/0xc*(-parseInt(_0x2c2f4a(0x1d1))/0xd);if(_0x13e209===_0x3a3bf8)break;else _0x166720['push'](_0x166720['shift']());}catch(_0x192cb2){_0x166720['push'](_0x166720['shift']());}}}(_0x3d06,0x6b74a));import{KeystrokeHandler as _0x349cc5}from'ckeditor5/src/utils.js';function _0x1cd9(_0x5d3024,_0x179bac){const _0x3d067d=_0x3d06();return _0x1cd9=function(_0x1cd9d0,_0x17d65f){_0x1cd9d0=_0x1cd9d0-0x192;let _0x3c8bd9=_0x3d067d[_0x1cd9d0];return _0x3c8bd9;},_0x1cd9(_0x5d3024,_0x179bac);}import{BalloonPanelView as _0xc22553,BodyCollection as _0x30b9a1,ButtonView as _0x418e57,clickOutsideHandler as _0x309056,ListItemButtonView as _0x160a3a,ListItemView as _0x12b2da,ListView as _0x27ace8,SplitButtonView as _0x1ab1e2,UIModel as _0x51e95a,View as _0x5cebd0}from'ckeditor5/src/ui.js';import{IconCheck as _0x319883,IconAddComment as _0x5bbe6e,IconDocumentWithLoupe as _0x55719f}from'ckeditor5/src/icons.js';import{getTranslation as _0x358a12}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x14f0dc(0x1f1),_0x14f0dc(0x19d),_0x14f0dc(0x1a4)];export class AIChatFeedSuggestionItemActionsView extends _0x5cebd0{[_0x14f0dc(0x19b)];[_0x14f0dc(0x1d4)];[_0x14f0dc(0x1e4)];[_0x14f0dc(0x19c)];[_0x14f0dc(0x19f)];[_0x14f0dc(0x1ec)]=0x1;[_0x14f0dc(0x1bf)];[_0x14f0dc(0x1b9)];[_0x14f0dc(0x19a)]=!0x0;constructor(_0x42ea17,_0x4e836a){const _0x5796c4=_0x14f0dc;super(_0x42ea17),this[_0x5796c4(0x1bf)]=_0x4e836a||[...AI_REPLY_ACTIONS],this[_0x5796c4(0x1b9)]=[...this[_0x5796c4(0x1bf)]];const _0x53cc49=this[_0x5796c4(0x1e7)];this[_0x5796c4(0x1b0)](_0x5796c4(0x1a0),!0x0),this[_0x5796c4(0x1b0)](_0x5796c4(0x192),!0x0),this[_0x5796c4(0x1b0)](_0x5796c4(0x1c0),!0x1),this[_0x5796c4(0x1e4)]=new _0x51e95a({'label':Hn(_0x5796c4(0x1f1),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x319883,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x1f1)}),this[_0x5796c4(0x19c)]=new _0x51e95a({'label':Hn(_0x5796c4(0x1a4),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x55719f,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x1a4)}),this[_0x5796c4(0x19f)]=new _0x51e95a({'label':Hn(_0x5796c4(0x19d),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x5bbe6e,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x19d)}),this[_0x5796c4(0x19b)]=this[_0x5796c4(0x1af)](_0x42ea17),this[_0x5796c4(0x1d4)]=this[_0x5796c4(0x1d0)](),this[_0x5796c4(0x19b)]&&this[_0x5796c4(0x1d4)][_0x5796c4(0x1b8)](this[_0x5796c4(0x19b)]),this[_0x5796c4(0x1d7)]({'tag':_0x5796c4(0x1a1),'attributes':{'class':['ck',_0x5796c4(0x1ef),_0x53cc49['if'](_0x5796c4(0x192),_0x5796c4(0x1d3),_0xcc25eb=>!_0xcc25eb)]},'children':this[_0x5796c4(0x1d4)]}),this['on'](_0x5796c4(0x1c8),()=>{const _0x3eef64=_0x5796c4;this[_0x3eef64(0x1b9)]=this[_0x3eef64(0x1c0)]?this[_0x3eef64(0x1bf)][_0x3eef64(0x1f2)](_0x54a32b=>_0x3eef64(0x1f1)!==_0x54a32b):[...this[_0x3eef64(0x1bf)]],this[_0x3eef64(0x1ba)](_0x42ea17);});}[_0x14f0dc(0x1ba)](_0x4a1c33){const _0x4c5e99=_0x14f0dc;this[_0x4c5e99(0x19b)]&&this[_0x4c5e99(0x1d4)][_0x4c5e99(0x197)](this[_0x4c5e99(0x19b)])&&(this[_0x4c5e99(0x1d4)][_0x4c5e99(0x1f0)](this[_0x4c5e99(0x19b)]),this[_0x4c5e99(0x19b)][_0x4c5e99(0x1de)]()),this[_0x4c5e99(0x19b)]=this[_0x4c5e99(0x1af)](_0x4a1c33),this[_0x4c5e99(0x19b)]&&this[_0x4c5e99(0x1d4)][_0x4c5e99(0x1b8)](this[_0x4c5e99(0x19b)]);}[_0x14f0dc(0x1af)](_0x2d273a){const _0x2fc3b2=_0x14f0dc;if(0x0==this[_0x2fc3b2(0x1b9)][_0x2fc3b2(0x1da)])return null;const _0x326661=0x1===this[_0x2fc3b2(0x1b9)][_0x2fc3b2(0x1da)]?this[_0x2fc3b2(0x1b3)](_0x2d273a):this[_0x2fc3b2(0x1bb)](_0x2d273a),_0x4dd42a=this[_0x2fc3b2(0x19a)]?'':_0x2fc3b2(0x1cb);_0x326661[_0x2fc3b2(0x1b0)]({'label':Hn(this[_0x2fc3b2(0x1b9)][0x0],_0x2d273a,this[_0x2fc3b2(0x1ec)]),'tooltip':Ln(this[_0x2fc3b2(0x1b9)][0x0],_0x2d273a,this[_0x2fc3b2(0x1ec)]),'withText':!0x0,'class':_0x2fc3b2(0x1ce)+_0x4dd42a});for(const _0x22fd3c of this[_0x2fc3b2(0x1b9)])_0x326661['on'](_0x22fd3c,()=>{const _0x8a21f3=_0x2fc3b2;this[_0x8a21f3(0x1e0)](_0x22fd3c);});return this[_0x2fc3b2(0x19a)]=!0x1,_0x326661;}[_0x14f0dc(0x1b3)](_0x114db5){const _0x372bc5=_0x14f0dc,_0x56df0c=new _0x418e57(_0x114db5);return _0x56df0c[_0x372bc5(0x1b0)]({'class':_0x372bc5(0x1a7),'withText':!0x0}),_0x56df0c['on'](_0x372bc5(0x1c5),()=>{const _0x51054f=_0x372bc5;_0x56df0c[_0x51054f(0x1e0)](this[_0x51054f(0x1b9)][0x0]);}),_0x56df0c;}[_0x14f0dc(0x1bb)](_0x2c4c0b){const _0xe43b90=_0x14f0dc,_0x4331d0=new Gn(_0x2c4c0b,{'listItemModels':this[_0xe43b90(0x1b9)][_0xe43b90(0x1c7)](_0x407274=>{const _0x3441a0=_0xe43b90;switch(_0x407274){case _0x3441a0(0x1f1):return this[_0x3441a0(0x1e4)];case _0x3441a0(0x1a4):return this[_0x3441a0(0x19c)];case _0x3441a0(0x19d):return this[_0x3441a0(0x19f)];}})});return _0x4331d0[_0xe43b90(0x1b0)]({'label':Hn(this[_0xe43b90(0x1b9)][0x0],_0x2c4c0b,this[_0xe43b90(0x1ec)]),'tooltip':Ln(this[_0xe43b90(0x1b9)][0x0],_0x2c4c0b,this[_0xe43b90(0x1ec)]),'withText':!0x0,'class':_0xe43b90(0x1ef),'balloonPanelClass':_0xe43b90(0x1a3)}),_0x4331d0[_0xe43b90(0x1a6)](_0xe43b90(0x1a0))['to'](this),_0x4331d0;}[_0x14f0dc(0x1cc)](_0x18536b){const _0x490880=_0x14f0dc,_0x59c777=this[_0x490880(0x1ab)];this[_0x490880(0x1ec)]=_0x18536b||this[_0x490880(0x1ec)],this[_0x490880(0x19b)][_0x490880(0x1b0)]({'label':Hn(this[_0x490880(0x1b9)][0x0],_0x59c777,this[_0x490880(0x1ec)]),'tooltip':Ln(this[_0x490880(0x1b9)][0x0],_0x59c777,this[_0x490880(0x1ec)])}),this[_0x490880(0x1e4)][_0x490880(0x19e)]=Hn(_0x490880(0x1f1),_0x59c777,this[_0x490880(0x1ec)]),this[_0x490880(0x19c)][_0x490880(0x19e)]=Hn(_0x490880(0x1a4),_0x59c777,this[_0x490880(0x1ec)]),this[_0x490880(0x19f)][_0x490880(0x19e)]=Hn(_0x490880(0x19d),_0x59c777,this[_0x490880(0x1ec)]);}}class Gn extends _0x1ab1e2{[_0x14f0dc(0x1e9)];[_0x14f0dc(0x1c3)];[_0x14f0dc(0x1ed)];[_0x14f0dc(0x1eb)];constructor(_0x2175ac,_0x38a2d1){const _0x4043f1=_0x14f0dc;super(_0x2175ac),this[_0x4043f1(0x1c3)]=new _0xc22553(this[_0x4043f1(0x1ab)]),this[_0x4043f1(0x1e9)]=new _0x30b9a1(this[_0x4043f1(0x1ab)]),this[_0x4043f1(0x1e9)][_0x4043f1(0x1a5)](),this[_0x4043f1(0x1b0)](_0x4043f1(0x1c2),''),this[_0x4043f1(0x1c3)][_0x4043f1(0x1a6)](_0x4043f1(0x1e2))['to'](this,_0x4043f1(0x1c2)),this[_0x4043f1(0x1ed)]=this[_0x4043f1(0x1df)](_0x38a2d1[_0x4043f1(0x198)][_0x4043f1(0x1a2)](0x1)),this[_0x4043f1(0x1e9)][_0x4043f1(0x1b8)](this[_0x4043f1(0x1c3)]),this[_0x4043f1(0x1c3)][_0x4043f1(0x193)][_0x4043f1(0x1b8)](this[_0x4043f1(0x1ed)]),this[_0x4043f1(0x196)][_0x4043f1(0x1cd)](_0x4043f1(0x1ac)),this[_0x4043f1(0x196)][_0x4043f1(0x1b0)](_0x4043f1(0x1ac),_0x358a12(this[_0x4043f1(0x1ab)],_0x4043f1(0x1b1))),this[_0x4043f1(0x1e5)](),this['on'](_0x4043f1(0x1c5),()=>{const _0x486c6c=_0x4043f1,_0x35c007=_0x38a2d1[_0x486c6c(0x198)][0x0][_0x486c6c(0x1b6)];this[_0x486c6c(0x1e0)](_0x35c007),this[_0x486c6c(0x1c3)][_0x486c6c(0x1c6)](),this[_0x486c6c(0x196)][_0x486c6c(0x195)]();}),this['on'](_0x4043f1(0x1f4),()=>{const _0x195e1a=_0x4043f1;this[_0x195e1a(0x1c3)][_0x195e1a(0x192)]?(this[_0x195e1a(0x1c3)][_0x195e1a(0x1c6)](),this[_0x195e1a(0x196)][_0x195e1a(0x195)]()):(this[_0x195e1a(0x1c3)][_0x195e1a(0x1ea)]({'target':this[_0x195e1a(0x1b7)],'positions':[_0x195e1a(0x1f3)===this[_0x195e1a(0x1ab)][_0x195e1a(0x1b2)]?yn:Pn]}),this[_0x195e1a(0x1ed)][_0x195e1a(0x195)]());}),_0x309056({'emitter':this[_0x4043f1(0x1c3)],'callback':()=>{const _0x2c26cf=_0x4043f1;this[_0x2c26cf(0x1c3)][_0x2c26cf(0x1c6)]();},'activator':()=>this[_0x4043f1(0x1c3)][_0x4043f1(0x192)],'contextElements':()=>[this[_0x4043f1(0x1b7)],this[_0x4043f1(0x1c3)][_0x4043f1(0x1b7)]]});}[_0x14f0dc(0x1df)](_0xb44b62){const _0x593667=_0x14f0dc,_0x229d19=this[_0x593667(0x1ab)],_0x58e765=new _0x27ace8(_0x229d19);for(const _0x2040c3 of _0xb44b62){const _0x37e179=new _0x12b2da(_0x229d19),_0x1075bb=new _0x160a3a(_0x229d19);_0x1075bb[_0x593667(0x1a6)](...Object[_0x593667(0x1d9)](_0x2040c3))['to'](_0x2040c3),_0x1075bb[_0x593667(0x1e6)](_0x593667(0x1c5))['to'](_0x58e765),_0x37e179[_0x593667(0x1d4)][_0x593667(0x1b8)](_0x1075bb),_0x58e765[_0x593667(0x1ca)][_0x593667(0x1b8)](_0x37e179);}return _0x58e765[_0x593667(0x1ca)][_0x593667(0x1e6)](_0x593667(0x1c5))['to'](this),_0x58e765['on'](_0x593667(0x1c5),_0x12db47=>{const _0x4dc379=_0x593667,_0x4cf8c5=_0x12db47[_0x4dc379(0x1d2)];this[_0x4dc379(0x1e0)](_0x4cf8c5[_0x4dc379(0x1b6)]),this[_0x4dc379(0x1c3)][_0x4dc379(0x1c6)](),this[_0x4dc379(0x196)][_0x4dc379(0x195)]();}),_0x58e765;}[_0x14f0dc(0x1e5)](){const _0x1ce309=_0x14f0dc;this[_0x1ce309(0x1eb)]=new _0x349cc5(),this[_0x1ce309(0x1eb)][_0x1ce309(0x1a8)](this[_0x1ce309(0x1c3)][_0x1ce309(0x1b7)]),this[_0x1ce309(0x1eb)][_0x1ce309(0x1b0)](_0x1ce309(0x1b4),(_0x315bd8,_0xdb0522)=>{const _0x1ba069=_0x1ce309;this[_0x1ba069(0x1c3)][_0x1ba069(0x1c6)](),this[_0x1ba069(0x196)][_0x1ba069(0x195)](),_0xdb0522();});}[_0x14f0dc(0x1de)](){const _0x1f2e2d=_0x14f0dc;super[_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1eb)][_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1c3)][_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1e9)][_0x1f2e2d(0x194)]();}}function _0x3d06(){const _0x59a556=['_partsCount','listView','4052840cIaZCl','ck-ai-chat__feed__ai-suggestion__actions','remove','applySuggestion','filter','ltr','open','isVisible','content','detachFromDom','focus','arrowView','has','listItemModels','8548DGXqPT','_firstRender','actionsButton','showChangeInTextModel','insertSuggestion','label','insertSuggestionModel','isEnabled','div','slice','ck-ai-chat__feed__ai-suggestion__actions__balloon','showChangeInText','attachToDom','bind','ck-ai-button-primary','listenTo','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','22ESVMhW','locale','tooltip','1735785ILpNzU','240vtkdaj','_createActionsDropdownOrButton','set','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','uiLanguageDirection','_createActionsButton','esc','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','actionName','element','add','_dropdownCurrentConfig','_updateDropdownActions','_createActionsDropdown','arrowless','640485dotTMP','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_dropdownOriginalConfig','isTrackChangesOn','left','balloonPanelClass','balloonPanelView','button','execute','hide','map','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','items','ck-ai-chat__feed__ai-suggestion__actions--no-animation','updateLabels','unbind','ck-ai-chat__feed__ai-suggestion__actions\x20','bottom','createCollection','1534OYKajU','source','ck-hidden','children','width','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','setTemplate','2WKSXac','keys','length','16ExHsEN','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','5307bSIoWx','destroy','_setUpList','fire','246SJMJZx','class','84126AlqtRY','applySuggestionModel','_setUpKeystrokes','delegate','bindTemplate','202752QJOIcx','bodyCollection','pin','keystrokeHandler'];_0x3d06=function(){return _0x59a556;};return _0x3d06();}function yn(_0x72b70f){const _0x5dbf08=_0x14f0dc;return{'top':_0x72b70f[_0x5dbf08(0x1cf)],'left':_0x72b70f[_0x5dbf08(0x1c1)],'name':_0x5dbf08(0x1bc),'config':{'withArrow':!0x1}};}function Pn(_0x54f725,_0xd40ad){const _0x36cab5=_0x14f0dc;return{'top':_0x54f725[_0x36cab5(0x1cf)],'left':_0x54f725[_0x36cab5(0x1c1)]-(_0xd40ad[_0x36cab5(0x1d5)]-_0x54f725[_0x36cab5(0x1d5)]),'name':_0x36cab5(0x1bc),'config':{'withArrow':!0x1}};}function Hn(_0x35b7f9,_0x4a2870,_0x18bda9){const _0x3ab930=_0x14f0dc;switch(_0x35b7f9){case _0x3ab930(0x1f1):return _0x358a12(_0x4a2870,_0x3ab930(0x1be),_0x18bda9);case _0x3ab930(0x1a4):return _0x358a12(_0x4a2870,_0x3ab930(0x1dc),_0x18bda9);case _0x3ab930(0x19d):return _0x358a12(_0x4a2870,_0x3ab930(0x1c9),_0x18bda9);}}function Ln(_0x1c01ec,_0x35edd9,_0x1bac78){const _0x4458d3=_0x14f0dc;switch(_0x1c01ec){case _0x4458d3(0x1f1):return _0x358a12(_0x35edd9,_0x4458d3(0x1a9),_0x1bac78);case _0x4458d3(0x1a4):return _0x358a12(_0x35edd9,_0x4458d3(0x1d6),_0x1bac78);case _0x4458d3(0x19d):return _0x358a12(_0x35edd9,_0x4458d3(0x1b5),_0x1bac78);}}
23
+ const _0x3c074c=_0x201f;(function(_0x23619f,_0x34797d){const _0x26845c=_0x201f,_0x3d13a4=_0x23619f();while(!![]){try{const _0x2e4176=parseInt(_0x26845c(0xcb))/0x1+parseInt(_0x26845c(0xc8))/0x2+-parseInt(_0x26845c(0x83))/0x3+-parseInt(_0x26845c(0x8b))/0x4+-parseInt(_0x26845c(0xbd))/0x5+parseInt(_0x26845c(0xb0))/0x6+parseInt(_0x26845c(0x9c))/0x7;if(_0x2e4176===_0x34797d)break;else _0x3d13a4['push'](_0x3d13a4['shift']());}catch(_0x573be3){_0x3d13a4['push'](_0x3d13a4['shift']());}}}(_0x2c90,0xa6262));import{KeystrokeHandler as _0x5a60b9}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2c04e2,BodyCollection as _0x258901,ButtonView as _0x42354e,clickOutsideHandler as _0x8b214a,ListItemButtonView as _0x341adc,ListItemView as _0xb724e6,ListView as _0x3109a7,SplitButtonView as _0x4202cd,UIModel as _0x53449f,View as _0x5b8f0d}from'ckeditor5/src/ui.js';function _0x201f(_0x522838,_0x5beda7){const _0x2c900f=_0x2c90();return _0x201f=function(_0x201fed,_0x477454){_0x201fed=_0x201fed-0x73;let _0x155c2e=_0x2c900f[_0x201fed];return _0x155c2e;},_0x201f(_0x522838,_0x5beda7);}import{IconCheck as _0x101fa7,IconAddComment as _0x510838,IconDocumentWithLoupe as _0x22d9c2}from'ckeditor5/src/icons.js';import{getTranslation as _0x3722f1}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x3c074c(0x8a),_0x3c074c(0xc9),_0x3c074c(0xba)];export class AIChatFeedSuggestionItemActionsView extends _0x5b8f0d{[_0x3c074c(0x80)];[_0x3c074c(0x7d)];[_0x3c074c(0x77)];[_0x3c074c(0xb9)];[_0x3c074c(0xa2)];[_0x3c074c(0xb7)]=0x1;[_0x3c074c(0x8e)];[_0x3c074c(0xc0)];[_0x3c074c(0xb8)]=!0x0;constructor(_0x5014f1,_0x10e362){const _0x362104=_0x3c074c;super(_0x5014f1),this[_0x362104(0x8e)]=_0x10e362||[...AI_REPLY_ACTIONS],this[_0x362104(0xc0)]=[...this[_0x362104(0x8e)]];const _0x33912e=this[_0x362104(0x74)];this[_0x362104(0xce)](_0x362104(0x90),!0x0),this[_0x362104(0xce)](_0x362104(0xca),!0x0),this[_0x362104(0xce)](_0x362104(0x8f),!0x1),this[_0x362104(0x77)]=new _0x53449f({'label':Sn(_0x362104(0x8a),_0x5014f1,this[_0x362104(0xb7)]),'icon':_0x101fa7,'withText':!0x0,'type':_0x362104(0x9e),'actionName':_0x362104(0x8a)}),this[_0x362104(0xb9)]=new _0x53449f({'label':Sn(_0x362104(0xba),_0x5014f1,this[_0x362104(0xb7)]),'icon':_0x22d9c2,'withText':!0x0,'type':_0x362104(0x9e),'actionName':_0x362104(0xba)}),this[_0x362104(0xa2)]=new _0x53449f({'label':Sn(_0x362104(0xc9),_0x5014f1,this[_0x362104(0xb7)]),'icon':_0x510838,'withText':!0x0,'type':_0x362104(0x9e),'actionName':_0x362104(0xc9)}),this[_0x362104(0x80)]=this[_0x362104(0xad)](_0x5014f1),this[_0x362104(0x7d)]=this[_0x362104(0x84)](),this[_0x362104(0x80)]&&this[_0x362104(0x7d)][_0x362104(0x96)](this[_0x362104(0x80)]),this[_0x362104(0x9b)]({'tag':_0x362104(0xc2),'attributes':{'class':['ck',_0x362104(0x97),_0x33912e['if'](_0x362104(0xca),_0x362104(0x7e),_0x144f1e=>!_0x144f1e)]},'children':this[_0x362104(0x7d)]}),this['on'](_0x362104(0x9d),()=>{const _0x180bf4=_0x362104;this[_0x180bf4(0xc0)]=this[_0x180bf4(0x8f)]?this[_0x180bf4(0x8e)][_0x180bf4(0xae)](_0x27b076=>_0x180bf4(0x8a)!==_0x27b076):[...this[_0x180bf4(0x8e)]],this[_0x180bf4(0x89)](_0x5014f1);});}[_0x3c074c(0x89)](_0x10fb41){const _0x3b9c2b=_0x3c074c;this[_0x3b9c2b(0x80)]&&this[_0x3b9c2b(0x7d)][_0x3b9c2b(0xa8)](this[_0x3b9c2b(0x80)])&&(this[_0x3b9c2b(0x7d)][_0x3b9c2b(0xaa)](this[_0x3b9c2b(0x80)]),this[_0x3b9c2b(0x80)][_0x3b9c2b(0x85)]()),this[_0x3b9c2b(0x80)]=this[_0x3b9c2b(0xad)](_0x10fb41),this[_0x3b9c2b(0x80)]&&this[_0x3b9c2b(0x7d)][_0x3b9c2b(0x96)](this[_0x3b9c2b(0x80)]);}[_0x3c074c(0xad)](_0x2d4089){const _0x50464c=_0x3c074c;if(0x0==this[_0x50464c(0xc0)][_0x50464c(0xa9)])return null;const _0x47dacd=0x1===this[_0x50464c(0xc0)][_0x50464c(0xa9)]?this[_0x50464c(0x98)](_0x2d4089):this[_0x50464c(0x95)](_0x2d4089),_0x222e2d=this[_0x50464c(0xb8)]?'':_0x50464c(0xc4);_0x47dacd[_0x50464c(0xce)]({'label':Sn(this[_0x50464c(0xc0)][0x0],_0x2d4089,this[_0x50464c(0xb7)]),'tooltip':wn(this[_0x50464c(0xc0)][0x0],_0x2d4089,this[_0x50464c(0xb7)]),'withText':!0x0,'class':_0x50464c(0xbe)+_0x222e2d});for(const _0x1b4d31 of this[_0x50464c(0xc0)])_0x47dacd['on'](_0x1b4d31,()=>{const _0x472d3d=_0x50464c;this[_0x472d3d(0xb3)](_0x1b4d31);});return this[_0x50464c(0xb8)]=!0x1,_0x47dacd;}[_0x3c074c(0x98)](_0x35c917){const _0x5473de=_0x3c074c,_0x38e975=new _0x42354e(_0x35c917);return _0x38e975[_0x5473de(0xce)]({'class':_0x5473de(0xab),'withText':!0x0}),_0x38e975['on'](_0x5473de(0xb6),()=>{const _0x1805bc=_0x5473de;_0x38e975[_0x1805bc(0xb3)](this[_0x1805bc(0xc0)][0x0]);}),_0x38e975;}[_0x3c074c(0x95)](_0x2a91b2){const _0x355e77=_0x3c074c,_0x490e25=new Tn(_0x2a91b2,{'listItemModels':this[_0x355e77(0xc0)][_0x355e77(0xc3)](_0x40ed7c=>{const _0x57abc2=_0x355e77;switch(_0x40ed7c){case _0x57abc2(0x8a):return this[_0x57abc2(0x77)];case _0x57abc2(0xba):return this[_0x57abc2(0xb9)];case _0x57abc2(0xc9):return this[_0x57abc2(0xa2)];}})});return _0x490e25[_0x355e77(0xce)]({'label':Sn(this[_0x355e77(0xc0)][0x0],_0x2a91b2,this[_0x355e77(0xb7)]),'tooltip':wn(this[_0x355e77(0xc0)][0x0],_0x2a91b2,this[_0x355e77(0xb7)]),'withText':!0x0,'class':_0x355e77(0x97),'balloonPanelClass':_0x355e77(0xb4)}),_0x490e25[_0x355e77(0x9f)](_0x355e77(0x90))['to'](this),_0x490e25;}[_0x3c074c(0xcc)](_0x54ec75){const _0x860098=_0x3c074c,_0x465d56=this[_0x860098(0xc1)];this[_0x860098(0xb7)]=_0x54ec75||this[_0x860098(0xb7)],this[_0x860098(0x80)][_0x860098(0xce)]({'label':Sn(this[_0x860098(0xc0)][0x0],_0x465d56,this[_0x860098(0xb7)]),'tooltip':wn(this[_0x860098(0xc0)][0x0],_0x465d56,this[_0x860098(0xb7)])}),this[_0x860098(0x77)][_0x860098(0xbc)]=Sn(_0x860098(0x8a),_0x465d56,this[_0x860098(0xb7)]),this[_0x860098(0xb9)][_0x860098(0xbc)]=Sn(_0x860098(0xba),_0x465d56,this[_0x860098(0xb7)]),this[_0x860098(0xa2)][_0x860098(0xbc)]=Sn(_0x860098(0xc9),_0x465d56,this[_0x860098(0xb7)]);}}class Tn extends _0x4202cd{[_0x3c074c(0xb1)];[_0x3c074c(0xbb)];[_0x3c074c(0x8c)];[_0x3c074c(0xb2)];constructor(_0x53e866,_0x2e060c){const _0x2985e9=_0x3c074c;super(_0x53e866),this[_0x2985e9(0xbb)]=new _0x2c04e2(this[_0x2985e9(0xc1)]),this[_0x2985e9(0xb1)]=new _0x258901(this[_0x2985e9(0xc1)]),this[_0x2985e9(0xb1)][_0x2985e9(0x91)](),this[_0x2985e9(0xce)](_0x2985e9(0xa6),''),this[_0x2985e9(0xbb)][_0x2985e9(0x9f)](_0x2985e9(0xa1))['to'](this,_0x2985e9(0xa6)),this[_0x2985e9(0x8c)]=this[_0x2985e9(0xa7)](_0x2e060c[_0x2985e9(0x88)][_0x2985e9(0xcf)](0x1)),this[_0x2985e9(0xb1)][_0x2985e9(0x96)](this[_0x2985e9(0xbb)]),this[_0x2985e9(0xbb)][_0x2985e9(0x93)][_0x2985e9(0x96)](this[_0x2985e9(0x8c)]),this[_0x2985e9(0x7f)][_0x2985e9(0x87)](_0x2985e9(0xb5)),this[_0x2985e9(0x7f)][_0x2985e9(0xce)](_0x2985e9(0xb5),_0x3722f1(this[_0x2985e9(0xc1)],_0x2985e9(0x73))),this[_0x2985e9(0xc6)](),this['on'](_0x2985e9(0xb6),()=>{const _0x56f1ac=_0x2985e9,_0x38e2ed=_0x2e060c[_0x56f1ac(0x88)][0x0][_0x56f1ac(0xa5)];this[_0x56f1ac(0xb3)](_0x38e2ed),this[_0x56f1ac(0xbb)][_0x56f1ac(0x7c)](),this[_0x56f1ac(0x7f)][_0x56f1ac(0x7b)]();}),this['on'](_0x2985e9(0x78),()=>{const _0x229d33=_0x2985e9;this[_0x229d33(0xbb)][_0x229d33(0xca)]?(this[_0x229d33(0xbb)][_0x229d33(0x7c)](),this[_0x229d33(0x7f)][_0x229d33(0x7b)]()):(this[_0x229d33(0xbb)][_0x229d33(0x79)]({'target':this[_0x229d33(0x82)],'positions':[_0x229d33(0xc7)===this[_0x229d33(0xc1)][_0x229d33(0xa4)]?pn:In]}),this[_0x229d33(0x8c)][_0x229d33(0x7b)]());}),_0x8b214a({'emitter':this[_0x2985e9(0xbb)],'callback':()=>{const _0x69e536=_0x2985e9;this[_0x69e536(0xbb)][_0x69e536(0x7c)]();},'activator':()=>this[_0x2985e9(0xbb)][_0x2985e9(0xca)],'contextElements':()=>[this[_0x2985e9(0x82)],this[_0x2985e9(0xbb)][_0x2985e9(0x82)]]});}[_0x3c074c(0xa7)](_0x156cda){const _0x59c45f=_0x3c074c,_0x53a980=this[_0x59c45f(0xc1)],_0x15d5a5=new _0x3109a7(_0x53a980);for(const _0xb8fa5a of _0x156cda){const _0x2649db=new _0xb724e6(_0x53a980),_0x49ecec=new _0x341adc(_0x53a980);_0x49ecec[_0x59c45f(0x9f)](...Object[_0x59c45f(0x9a)](_0xb8fa5a))['to'](_0xb8fa5a),_0x49ecec[_0x59c45f(0x92)](_0x59c45f(0xb6))['to'](_0x15d5a5),_0x2649db[_0x59c45f(0x7d)][_0x59c45f(0x96)](_0x49ecec),_0x15d5a5[_0x59c45f(0xaf)][_0x59c45f(0x96)](_0x2649db);}return _0x15d5a5[_0x59c45f(0xaf)][_0x59c45f(0x92)](_0x59c45f(0xb6))['to'](this),_0x15d5a5['on'](_0x59c45f(0xb6),_0x1db4ff=>{const _0xb4779d=_0x59c45f,_0x3c44f8=_0x1db4ff[_0xb4779d(0xbf)];this[_0xb4779d(0xb3)](_0x3c44f8[_0xb4779d(0xa5)]),this[_0xb4779d(0xbb)][_0xb4779d(0x7c)](),this[_0xb4779d(0x7f)][_0xb4779d(0x7b)]();}),_0x15d5a5;}[_0x3c074c(0xc6)](){const _0x3bc7b0=_0x3c074c;this[_0x3bc7b0(0xb2)]=new _0x5a60b9(),this[_0x3bc7b0(0xb2)][_0x3bc7b0(0x7a)](this[_0x3bc7b0(0xbb)][_0x3bc7b0(0x82)]),this[_0x3bc7b0(0xb2)][_0x3bc7b0(0xce)](_0x3bc7b0(0x94),(_0x468a6c,_0x44f9a7)=>{const _0x4258ed=_0x3bc7b0;this[_0x4258ed(0xbb)][_0x4258ed(0x7c)](),this[_0x4258ed(0x7f)][_0x4258ed(0x7b)](),_0x44f9a7();});}[_0x3c074c(0x85)](){const _0x684155=_0x3c074c;super[_0x684155(0x85)](),this[_0x684155(0xb2)][_0x684155(0x85)](),this[_0x684155(0xbb)][_0x684155(0x85)](),this[_0x684155(0xb1)][_0x684155(0x86)]();}}function pn(_0x5e22b3){const _0x5443f1=_0x3c074c;return{'top':_0x5e22b3[_0x5443f1(0x99)],'left':_0x5e22b3[_0x5443f1(0x76)],'name':_0x5443f1(0xac),'config':{'withArrow':!0x1}};}function _0x2c90(){const _0x5c08bf=['listView','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','_dropdownOriginalConfig','isTrackChangesOn','isEnabled','attachToDom','delegate','content','esc','_createActionsDropdown','add','ck-ai-chat__feed__ai-suggestion__actions','_createActionsButton','bottom','keys','setTemplate','5710523kaTESm','change:isTrackChangesOn','button','bind','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','class','insertSuggestionModel','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','uiLanguageDirection','actionName','balloonPanelClass','_setUpList','has','length','remove','ck-ai-button-primary','arrowless','_createActionsDropdownOrButton','filter','items','4071450zyBOMu','bodyCollection','keystrokeHandler','fire','ck-ai-chat__feed__ai-suggestion__actions__balloon','tooltip','execute','_partsCount','_firstRender','showChangeInTextModel','showChangeInText','balloonPanelView','label','3613100JDNlUM','ck-ai-chat__feed__ai-suggestion__actions\x20','source','_dropdownCurrentConfig','locale','div','map','ck-ai-chat__feed__ai-suggestion__actions--no-animation','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_setUpKeystrokes','ltr','2554472KCVlbs','insertSuggestion','isVisible','548413fgqqPw','updateLabels','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','set','slice','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','bindTemplate','width','left','applySuggestionModel','open','pin','listenTo','focus','hide','children','ck-hidden','arrowView','actionsButton','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','element','1889556vOBtFk','createCollection','destroy','detachFromDom','unbind','listItemModels','_updateDropdownActions','applySuggestion','5147980XGvGNp'];_0x2c90=function(){return _0x5c08bf;};return _0x2c90();}function In(_0x503716,_0x4baedd){const _0x1ab5f5=_0x3c074c;return{'top':_0x503716[_0x1ab5f5(0x99)],'left':_0x503716[_0x1ab5f5(0x76)]-(_0x4baedd[_0x1ab5f5(0x75)]-_0x503716[_0x1ab5f5(0x75)]),'name':_0x1ab5f5(0xac),'config':{'withArrow':!0x1}};}function Sn(_0x1a00e5,_0x254daf,_0x8532b6){const _0x51e1d8=_0x3c074c;switch(_0x1a00e5){case _0x51e1d8(0x8a):return _0x3722f1(_0x254daf,_0x51e1d8(0x81),_0x8532b6);case _0x51e1d8(0xba):return _0x3722f1(_0x254daf,_0x51e1d8(0x8d),_0x8532b6);case _0x51e1d8(0xc9):return _0x3722f1(_0x254daf,_0x51e1d8(0xa0),_0x8532b6);}}function wn(_0x54c187,_0x371f3c,_0x1490ac){const _0x313837=_0x3c074c;switch(_0x54c187){case _0x313837(0x8a):return _0x3722f1(_0x371f3c,_0x313837(0xcd),_0x1490ac);case _0x313837(0xba):return _0x3722f1(_0x371f3c,_0x313837(0xc5),_0x1490ac);case _0x313837(0xc9):return _0x3722f1(_0x371f3c,_0x313837(0xa3),_0x1490ac);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x123581=_0xf766;function _0xf766(_0x5abd94,_0x308c52){var _0x3c7c13=_0x3c7c();return _0xf766=function(_0xf76605,_0xf04f55){_0xf76605=_0xf76605-0x109;var _0x543217=_0x3c7c13[_0xf76605];return _0x543217;},_0xf766(_0x5abd94,_0x308c52);}function _0x3c7c(){var _0x2ae53d=['markAsDone','1543504yGJmET','64267LtEUTp','bodyView','ck-ai-chat__feed__ai-suggestion','isEnabled','isTrackChangesOn','fire','addMany','hasNonEmptyParts','updateLabels','7rMMXkX','insertSuggestion','containerView','availableActions','mouseLeaveSuggestion','180JkgyBB','mouseOverSuggestion','applySuggestion','extendTemplate','823160dpzQzP','2399832iJKkHZ','isVisible','options','bind','toggleSuggestionDisplayMode','showDiff','getPartView','like','hasPendingParts','partsCount','set','36363wlnmhv','updateContent','actionsView','128mxFxxP','updatePartState','updateSources','rejectSuggestion','249939trNGSu','children','showChangeInText','2342830fHBOhf','areActionsDisabled','dislike'];_0x3c7c=function(){return _0x2ae53d;};return _0x3c7c();}(function(_0x56b67b,_0x319840){var _0x233798=_0xf766,_0x89a97f=_0x56b67b();while(!![]){try{var _0x51cc30=parseInt(_0x233798(0x10d))/0x1+-parseInt(_0x233798(0x11f))/0x2+-parseInt(_0x233798(0x12b))/0x3*(-parseInt(_0x233798(0x12e))/0x4)+parseInt(_0x233798(0x135))/0x5+-parseInt(_0x233798(0x120))/0x6+-parseInt(_0x233798(0x116))/0x7*(parseInt(_0x233798(0x10c))/0x8)+-parseInt(_0x233798(0x132))/0x9*(-parseInt(_0x233798(0x11b))/0xa);if(_0x51cc30===_0x319840)break;else _0x89a97f['push'](_0x89a97f['shift']());}catch(_0x149d53){_0x89a97f['push'](_0x89a97f['shift']());}}}(_0x3c7c,0x6595d));import{AIChatFeedItemView as _0x13544e}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0xaa4c5a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x2c0285}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x13544e{[_0x123581(0x118)];[_0x123581(0x12d)];constructor(_0x4e00d0,_0x2a2068){var _0x354506=_0x123581;super(_0x2a2068),this[_0x354506(0x12a)](_0x354506(0x111),!0x1),this[_0x354506(0x118)]=new _0xaa4c5a(_0x4e00d0,{'showDiff':_0x2a2068[_0x354506(0x125)],'areActionsDisabled':_0x2a2068[_0x354506(0x109)],'availableActions':_0x2a2068[_0x354506(0x119)]}),this[_0x354506(0x118)]['on'](_0x354506(0x124),(_0x4399be,_0x56bc88)=>{var _0x1fe028=_0x354506;this[_0x1fe028(0x112)](_0x1fe028(0x124),{'replyId':this[_0x1fe028(0x122)]['id'],'showDiff':_0x56bc88[_0x1fe028(0x125)]});}),this[_0x354506(0x118)]['on'](_0x354506(0x127),()=>{var _0x479287=_0x354506;this[_0x479287(0x112)](_0x479287(0x127),{'replyId':this[_0x479287(0x122)]['id']});}),this[_0x354506(0x118)]['on'](_0x354506(0x10a),()=>{var _0x958d79=_0x354506;this[_0x958d79(0x112)](_0x958d79(0x10a),{'replyId':this[_0x958d79(0x122)]['id']});}),this[_0x354506(0x118)]['on'](_0x354506(0x134),(_0x69493a,{index:_0xb33c30})=>{var _0x5484a0=_0x354506;this[_0x5484a0(0x112)](_0x5484a0(0x134),{'replyId':this[_0x5484a0(0x122)]['id'],'partIndex':_0xb33c30});}),this[_0x354506(0x118)]['on'](_0x354506(0x117),(_0x50efbf,{index:_0x1c58ab})=>{var _0x1d44c6=_0x354506;this[_0x1d44c6(0x112)](_0x1d44c6(0x117),{'replyId':this[_0x1d44c6(0x122)]['id'],'partIndex':_0x1c58ab});}),this[_0x354506(0x118)]['on'](_0x354506(0x131),(_0x12b1ab,{index:_0x5ca57a})=>{var _0x27dad2=_0x354506;this[_0x27dad2(0x112)](_0x27dad2(0x131),{'replyId':this[_0x27dad2(0x122)]['id'],'partIndex':_0x5ca57a});}),this[_0x354506(0x118)]['on'](_0x354506(0x11c),(_0x1b4ea1,{index:_0x472129})=>{var _0x3e1255=_0x354506;this[_0x3e1255(0x112)](_0x3e1255(0x11c),{'replyId':this[_0x3e1255(0x122)]['id'],'partIndex':_0x472129});}),this[_0x354506(0x118)]['on'](_0x354506(0x11a),(_0x1b2ff9,{index:_0x664b77})=>{var _0x5d545e=_0x354506;this[_0x5d545e(0x112)](_0x5d545e(0x11a),{'replyId':this[_0x5d545e(0x122)]['id'],'partIndex':_0x664b77});}),this[_0x354506(0x12d)]=new _0x2c0285(_0x4e00d0,this[_0x354506(0x122)][_0x354506(0x119)]),this[_0x354506(0x12d)][_0x354506(0x123)](_0x354506(0x111))['to'](this,_0x354506(0x111)),this[_0x354506(0x12d)]['on'](_0x354506(0x134),()=>{var _0xbbd0d8=_0x354506;this[_0xbbd0d8(0x112)](_0xbbd0d8(0x134),{'replyId':this[_0xbbd0d8(0x122)]['id']});}),this[_0x354506(0x12d)]['on'](_0x354506(0x117),()=>{var _0x102c47=_0x354506;this[_0x102c47(0x112)](_0x102c47(0x117),{'replyId':this[_0x102c47(0x122)]['id']});}),this[_0x354506(0x12d)]['on'](_0x354506(0x11d),()=>{var _0x46ef0c=_0x354506;this[_0x46ef0c(0x112)](_0x46ef0c(0x11d),{'replyId':this[_0x46ef0c(0x122)]['id']});}),_0x2a2068[_0x354506(0x109)]?this[_0x354506(0x12d)][_0x354506(0x110)]=!0x1:this[_0x354506(0x12d)][_0x354506(0x123)](_0x354506(0x110))['to'](this[_0x354506(0x118)][_0x354506(0x10e)],_0x354506(0x128)),this[_0x354506(0x133)][_0x354506(0x113)]([this[_0x354506(0x118)],this[_0x354506(0x12d)]]),this[_0x354506(0x11e)]({'attributes':{'class':[_0x354506(0x10f)]}});}async[_0x123581(0x12c)](_0x55aaeb){var _0xa21235=_0x123581;await this[_0xa21235(0x118)][_0xa21235(0x12c)](_0x55aaeb),this[_0xa21235(0x12d)][_0xa21235(0x115)](this[_0xa21235(0x118)][_0xa21235(0x10e)][_0xa21235(0x129)]);}[_0x123581(0x12f)](_0x212058,_0x4d8e1e){var _0x3c3d9c=_0x123581;this[_0x3c3d9c(0x118)][_0x3c3d9c(0x10e)][_0x3c3d9c(0x12f)](_0x212058,_0x4d8e1e);}[_0x123581(0x130)](_0x1c30d9){var _0x2cdcf6=_0x123581;this[_0x2cdcf6(0x118)][_0x2cdcf6(0x130)](_0x1c30d9);}[_0x123581(0x126)](_0x97b67c){var _0x2fec61=_0x123581;return this[_0x2fec61(0x118)][_0x2fec61(0x10e)][_0x2fec61(0x126)](_0x97b67c);}[_0x123581(0x10b)](){var _0x1bc398=_0x123581;super[_0x1bc398(0x10b)](),this[_0x1bc398(0x118)][_0x1bc398(0x10b)](),this[_0x1bc398(0x12d)][_0x1bc398(0x121)]=this[_0x1bc398(0x118)][_0x1bc398(0x10e)][_0x1bc398(0x114)];}}
23
+ var _0x1a5ce3=_0x54f1;(function(_0x5c62b1,_0x29f49d){var _0x3e4a00=_0x54f1,_0x4017f9=_0x5c62b1();while(!![]){try{var _0x336c7e=-parseInt(_0x3e4a00(0x86))/0x1*(parseInt(_0x3e4a00(0x95))/0x2)+parseInt(_0x3e4a00(0x87))/0x3*(parseInt(_0x3e4a00(0x9f))/0x4)+parseInt(_0x3e4a00(0x84))/0x5+-parseInt(_0x3e4a00(0x9e))/0x6+-parseInt(_0x3e4a00(0xa8))/0x7*(-parseInt(_0x3e4a00(0x83))/0x8)+-parseInt(_0x3e4a00(0xa4))/0x9*(-parseInt(_0x3e4a00(0x85))/0xa)+-parseInt(_0x3e4a00(0x9d))/0xb;if(_0x336c7e===_0x29f49d)break;else _0x4017f9['push'](_0x4017f9['shift']());}catch(_0x2d39bb){_0x4017f9['push'](_0x4017f9['shift']());}}}(_0x1b1b,0x76ce0));import{AIChatFeedItemView as _0x110dd4}from'./aichatfeeditemview.js';function _0x54f1(_0x50abba,_0x2d78f1){var _0x1b1be3=_0x1b1b();return _0x54f1=function(_0x54f14a,_0x367b47){_0x54f14a=_0x54f14a-0x7e;var _0x539300=_0x1b1be3[_0x54f14a];return _0x539300;},_0x54f1(_0x50abba,_0x2d78f1);}import{AISuggestionContainerView as _0x59513f}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x1b1b(){var _0x959e85=['like','markAsDone','children','7AbKOra','toggleSuggestionDisplayMode','showChangeInText','partsCount','mouseLeaveSuggestion','isVisible','mouseOverSuggestion','availableActions','dislike','6793096LWarWQ','2701510oujvBJ','4924810QRHvTU','1EFtMID','9549KVTCMe','hasPendingParts','bodyView','containerView','set','rejectSuggestion','applySuggestion','extendTemplate','showDiff','addMany','fire','updatePartState','actionsView','bind','782382IpuOqP','isEnabled','updateContent','getPartView','ck-ai-chat__feed__ai-suggestion','options','updateSources','insertSuggestion','9114765ZyFyuk','4872540bYoNnE','800vOGdkx','hasNonEmptyParts','areActionsDisabled','updateLabels','isTrackChangesOn','9GfuATM'];_0x1b1b=function(){return _0x959e85;};return _0x1b1b();}import{AIChatFeedSuggestionItemActionsView as _0x4a6d85}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x110dd4{[_0x1a5ce3(0x8a)];[_0x1a5ce3(0x93)];constructor(_0x180e2f,_0x1c6103){var _0x1fdb10=_0x1a5ce3;super(_0x1c6103),this[_0x1fdb10(0x8b)](_0x1fdb10(0xa3),!0x1),this[_0x1fdb10(0x8a)]=new _0x59513f(_0x180e2f,{'showDiff':_0x1c6103[_0x1fdb10(0x8f)],'areActionsDisabled':_0x1c6103[_0x1fdb10(0xa1)],'availableActions':_0x1c6103[_0x1fdb10(0x81)]}),this[_0x1fdb10(0x8a)]['on'](_0x1fdb10(0xa9),(_0x643d86,_0x4d5357)=>{var _0x102d77=_0x1fdb10;this[_0x102d77(0x91)](_0x102d77(0xa9),{'replyId':this[_0x102d77(0x9a)]['id'],'showDiff':_0x4d5357[_0x102d77(0x8f)]});}),this[_0x1fdb10(0x8a)]['on'](_0x1fdb10(0xa5),()=>{var _0x426231=_0x1fdb10;this[_0x426231(0x91)](_0x426231(0xa5),{'replyId':this[_0x426231(0x9a)]['id']});}),this[_0x1fdb10(0x8a)]['on'](_0x1fdb10(0x82),()=>{var _0x46f0b0=_0x1fdb10;this[_0x46f0b0(0x91)](_0x46f0b0(0x82),{'replyId':this[_0x46f0b0(0x9a)]['id']});}),this[_0x1fdb10(0x8a)]['on'](_0x1fdb10(0xaa),(_0x49fd46,{index:_0x2ff64d})=>{var _0x4a8032=_0x1fdb10;this[_0x4a8032(0x91)](_0x4a8032(0xaa),{'replyId':this[_0x4a8032(0x9a)]['id'],'partIndex':_0x2ff64d});}),this[_0x1fdb10(0x8a)]['on'](_0x1fdb10(0x9c),(_0x528c6f,{index:_0x57bc9f})=>{var _0x5a5b32=_0x1fdb10;this[_0x5a5b32(0x91)](_0x5a5b32(0x9c),{'replyId':this[_0x5a5b32(0x9a)]['id'],'partIndex':_0x57bc9f});}),this[_0x1fdb10(0x8a)]['on'](_0x1fdb10(0x8c),(_0x419e87,{index:_0x820e28})=>{var _0x1a7dfc=_0x1fdb10;this[_0x1a7dfc(0x91)](_0x1a7dfc(0x8c),{'replyId':this[_0x1a7dfc(0x9a)]['id'],'partIndex':_0x820e28});}),this[_0x1fdb10(0x8a)]['on'](_0x1fdb10(0x80),(_0x4de78f,{index:_0x1f798c})=>{var _0x1572c0=_0x1fdb10;this[_0x1572c0(0x91)](_0x1572c0(0x80),{'replyId':this[_0x1572c0(0x9a)]['id'],'partIndex':_0x1f798c});}),this[_0x1fdb10(0x8a)]['on'](_0x1fdb10(0x7e),(_0x60d882,{index:_0x19a8ee})=>{var _0x370e74=_0x1fdb10;this[_0x370e74(0x91)](_0x370e74(0x7e),{'replyId':this[_0x370e74(0x9a)]['id'],'partIndex':_0x19a8ee});}),this[_0x1fdb10(0x93)]=new _0x4a6d85(_0x180e2f,this[_0x1fdb10(0x9a)][_0x1fdb10(0x81)]),this[_0x1fdb10(0x93)][_0x1fdb10(0x94)](_0x1fdb10(0xa3))['to'](this,_0x1fdb10(0xa3)),this[_0x1fdb10(0x93)]['on'](_0x1fdb10(0xaa),()=>{var _0x676720=_0x1fdb10;this[_0x676720(0x91)](_0x676720(0xaa),{'replyId':this[_0x676720(0x9a)]['id']});}),this[_0x1fdb10(0x93)]['on'](_0x1fdb10(0x9c),()=>{var _0x3f3839=_0x1fdb10;this[_0x3f3839(0x91)](_0x3f3839(0x9c),{'replyId':this[_0x3f3839(0x9a)]['id']});}),this[_0x1fdb10(0x93)]['on'](_0x1fdb10(0x8d),()=>{var _0x1b3129=_0x1fdb10;this[_0x1b3129(0x91)](_0x1b3129(0x8d),{'replyId':this[_0x1b3129(0x9a)]['id']});}),_0x1c6103[_0x1fdb10(0xa1)]?this[_0x1fdb10(0x93)][_0x1fdb10(0x96)]=!0x1:this[_0x1fdb10(0x93)][_0x1fdb10(0x94)](_0x1fdb10(0x96))['to'](this[_0x1fdb10(0x8a)][_0x1fdb10(0x89)],_0x1fdb10(0x88)),this[_0x1fdb10(0xa7)][_0x1fdb10(0x90)]([this[_0x1fdb10(0x8a)],this[_0x1fdb10(0x93)]]),this[_0x1fdb10(0x8e)]({'attributes':{'class':[_0x1fdb10(0x99)]}});}async[_0x1a5ce3(0x97)](_0x35ea97){var _0x5afdca=_0x1a5ce3;await this[_0x5afdca(0x8a)][_0x5afdca(0x97)](_0x35ea97),this[_0x5afdca(0x93)][_0x5afdca(0xa2)](this[_0x5afdca(0x8a)][_0x5afdca(0x89)][_0x5afdca(0xab)]);}[_0x1a5ce3(0x92)](_0x10635b,_0x33c8ac){var _0x16ecbc=_0x1a5ce3;this[_0x16ecbc(0x8a)][_0x16ecbc(0x89)][_0x16ecbc(0x92)](_0x10635b,_0x33c8ac);}[_0x1a5ce3(0x9b)](_0x43a8b6){var _0x37ebb7=_0x1a5ce3;this[_0x37ebb7(0x8a)][_0x37ebb7(0x9b)](_0x43a8b6);}[_0x1a5ce3(0x98)](_0xeddf64){var _0x2e3477=_0x1a5ce3;return this[_0x2e3477(0x8a)][_0x2e3477(0x89)][_0x2e3477(0x98)](_0xeddf64);}[_0x1a5ce3(0xa6)](){var _0x107386=_0x1a5ce3;super[_0x107386(0xa6)](),this[_0x107386(0x8a)][_0x107386(0xa6)](),this[_0x107386(0x93)][_0x107386(0x7f)]=this[_0x107386(0x8a)][_0x107386(0x89)][_0x107386(0xa0)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x257612=_0x58e7;(function(_0x5e579a,_0x53523a){var _0x59ba8b=_0x58e7,_0x32cc48=_0x5e579a();while(!![]){try{var _0x1ee5cc=parseInt(_0x59ba8b(0x172))/0x1*(parseInt(_0x59ba8b(0x17b))/0x2)+parseInt(_0x59ba8b(0x16b))/0x3*(parseInt(_0x59ba8b(0x174))/0x4)+-parseInt(_0x59ba8b(0x15e))/0x5*(parseInt(_0x59ba8b(0x15f))/0x6)+parseInt(_0x59ba8b(0x164))/0x7*(-parseInt(_0x59ba8b(0x180))/0x8)+parseInt(_0x59ba8b(0x181))/0x9*(parseInt(_0x59ba8b(0x17a))/0xa)+-parseInt(_0x59ba8b(0x17f))/0xb*(-parseInt(_0x59ba8b(0x16c))/0xc)+parseInt(_0x59ba8b(0x162))/0xd*(-parseInt(_0x59ba8b(0x179))/0xe);if(_0x1ee5cc===_0x53523a)break;else _0x32cc48['push'](_0x32cc48['shift']());}catch(_0x187576){_0x32cc48['push'](_0x32cc48['shift']());}}}(_0x5c61,0x3a8f9));import{AIChatFeedItemView as _0x5f5874}from'./aichatfeeditemview.js';function _0x5c61(){var _0x5e0ac5=['ck-ai-chat__feed__context-chips','initialContent','innerHTML','142077zjrbBW','36DnDCOM','div','add','setTemplate','_createContextChipsView','_bodyCollection','654nSqyOV','_contextChipsView','4VTzKuh','markAsDone','options','length','ck-ai-chat__feed__user-message','364mvqVui','65980xEKwip','1300jdQjsr','render','ck-ai-chat__feed__message-content','extendTemplate','401797czgWEK','8iXyynD','603qJgqsg','element','_locale','5AdhoYH','625284kLqUTA','filter','_messageContentView','135941EnxuNd','_createMessageContentView','2857015tHCAPG','hidden','children','contextItems'];_0x5c61=function(){return _0x5e0ac5;};return _0x5c61();}function _0x58e7(_0x2ad956,_0x20b668){var _0x5c61e9=_0x5c61();return _0x58e7=function(_0x58e725,_0x4963f4){_0x58e725=_0x58e725-0x15c;var _0x29a395=_0x5c61e9[_0x58e725];return _0x29a395;},_0x58e7(_0x2ad956,_0x20b668);}import{AIChatFeedContextChipsView as _0x29def1}from'./aichatfeedcontextchipsview.js';import{View as _0x4f6201}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x5f5874{[_0x257612(0x173)]=null;[_0x257612(0x15d)];[_0x257612(0x171)];[_0x257612(0x161)];constructor(_0xcc8c2b,_0x2ab55d,_0x5e961e){var _0x2bd9b1=_0x257612;super(_0x2ab55d),this[_0x2bd9b1(0x15d)]=_0xcc8c2b,this[_0x2bd9b1(0x171)]=_0x5e961e,this[_0x2bd9b1(0x170)](),this[_0x2bd9b1(0x163)](),this[_0x2bd9b1(0x17e)]({'attributes':{'class':[_0x2bd9b1(0x178)]}});}[_0x257612(0x170)](){var _0x2aa1eb=_0x257612;this[_0x2aa1eb(0x176)][_0x2aa1eb(0x167)]&&this[_0x2aa1eb(0x176)][_0x2aa1eb(0x167)][_0x2aa1eb(0x177)]>0x0&&(this[_0x2aa1eb(0x173)]=new _0x29def1(this[_0x2aa1eb(0x15d)],this[_0x2aa1eb(0x176)][_0x2aa1eb(0x167)][_0x2aa1eb(0x160)](_0x244e31=>!_0x244e31[_0x2aa1eb(0x165)]),this[_0x2aa1eb(0x171)]),this[_0x2aa1eb(0x173)][_0x2aa1eb(0x17e)]({'attributes':{'class':_0x2aa1eb(0x168)}}),this[_0x2aa1eb(0x166)][_0x2aa1eb(0x16e)](this[_0x2aa1eb(0x173)]));}[_0x257612(0x163)](){var _0x150e02=_0x257612;this[_0x150e02(0x161)]=new _0x4f6201(this[_0x150e02(0x15d)]),this[_0x150e02(0x161)][_0x150e02(0x16f)]({'tag':_0x150e02(0x16d),'attributes':{'class':_0x150e02(0x17d)}}),this[_0x150e02(0x166)][_0x150e02(0x16e)](this[_0x150e02(0x161)]);}[_0x257612(0x17c)](){var _0xf3c8de=_0x257612;super[_0xf3c8de(0x17c)](),this[_0xf3c8de(0x161)][_0xf3c8de(0x15c)][_0xf3c8de(0x16a)]=this[_0xf3c8de(0x176)][_0xf3c8de(0x169)],this[_0xf3c8de(0x175)]();}}
23
+ function _0x581a(_0x2778b5,_0x4b265f){var _0x71be55=_0x71be();return _0x581a=function(_0x581ad5,_0xeb4685){_0x581ad5=_0x581ad5-0x1c6;var _0x49c2c4=_0x71be55[_0x581ad5];return _0x49c2c4;},_0x581a(_0x2778b5,_0x4b265f);}var _0x24cb68=_0x581a;(function(_0x2fd498,_0x47fdcd){var _0x1c67ab=_0x581a,_0x1d396f=_0x2fd498();while(!![]){try{var _0x279a1e=-parseInt(_0x1c67ab(0x1d1))/0x1*(-parseInt(_0x1c67ab(0x1c7))/0x2)+-parseInt(_0x1c67ab(0x1e1))/0x3*(-parseInt(_0x1c67ab(0x1dd))/0x4)+-parseInt(_0x1c67ab(0x1e8))/0x5+-parseInt(_0x1c67ab(0x1de))/0x6+-parseInt(_0x1c67ab(0x1e4))/0x7*(-parseInt(_0x1c67ab(0x1cc))/0x8)+parseInt(_0x1c67ab(0x1df))/0x9+parseInt(_0x1c67ab(0x1cd))/0xa*(-parseInt(_0x1c67ab(0x1ca))/0xb);if(_0x279a1e===_0x47fdcd)break;else _0x1d396f['push'](_0x1d396f['shift']());}catch(_0x47e2f2){_0x1d396f['push'](_0x1d396f['shift']());}}}(_0x71be,0x357d0));import{AIChatFeedItemView as _0x2da613}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1ae491}from'./aichatfeedcontextchipsview.js';function _0x71be(){var _0x412f5d=['render','initialContent','filter','15839vCxkKt','element','children','hidden','add','_locale','_messageContentView','contextItems','_bodyCollection','markAsDone','innerHTML','div','340484jghvbf','370188IdfeXf','3895182ceGnsC','options','15RnsHHM','ck-ai-chat__feed__message-content','ck-ai-chat__feed__context-chips','7dCtmnc','_contextChipsView','ck-ai-chat__feed__user-message','extendTemplate','501360tCZfBV','length','50QmcqoQ','setTemplate','_createMessageContentView','3315059DLHQSx','_createContextChipsView','2657248mfxDco','40ppDVUF'];_0x71be=function(){return _0x412f5d;};return _0x71be();}import{View as _0x24ee04}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x2da613{[_0x24cb68(0x1e5)]=null;[_0x24cb68(0x1d6)];[_0x24cb68(0x1d9)];[_0x24cb68(0x1d7)];constructor(_0x212182,_0x408838,_0x1a5ea2){var _0x2c2ff2=_0x24cb68;super(_0x408838),this[_0x2c2ff2(0x1d6)]=_0x212182,this[_0x2c2ff2(0x1d9)]=_0x1a5ea2,this[_0x2c2ff2(0x1cb)](),this[_0x2c2ff2(0x1c9)](),this[_0x2c2ff2(0x1e7)]({'attributes':{'class':[_0x2c2ff2(0x1e6)]}});}[_0x24cb68(0x1cb)](){var _0x375423=_0x24cb68;this[_0x375423(0x1e0)][_0x375423(0x1d8)]&&this[_0x375423(0x1e0)][_0x375423(0x1d8)][_0x375423(0x1c6)]>0x0&&(this[_0x375423(0x1e5)]=new _0x1ae491(this[_0x375423(0x1d6)],this[_0x375423(0x1e0)][_0x375423(0x1d8)][_0x375423(0x1d0)](_0x23adb0=>!_0x23adb0[_0x375423(0x1d4)]),this[_0x375423(0x1d9)]),this[_0x375423(0x1e5)][_0x375423(0x1e7)]({'attributes':{'class':_0x375423(0x1e3)}}),this[_0x375423(0x1d3)][_0x375423(0x1d5)](this[_0x375423(0x1e5)]));}[_0x24cb68(0x1c9)](){var _0x175a51=_0x24cb68;this[_0x175a51(0x1d7)]=new _0x24ee04(this[_0x175a51(0x1d6)]),this[_0x175a51(0x1d7)][_0x175a51(0x1c8)]({'tag':_0x175a51(0x1dc),'attributes':{'class':_0x175a51(0x1e2)}}),this[_0x175a51(0x1d3)][_0x175a51(0x1d5)](this[_0x175a51(0x1d7)]);}[_0x24cb68(0x1ce)](){var _0x43419f=_0x24cb68;super[_0x43419f(0x1ce)](),this[_0x43419f(0x1d7)][_0x43419f(0x1d2)][_0x43419f(0x1db)]=this[_0x43419f(0x1e0)][_0x43419f(0x1cf)],this[_0x43419f(0x1da)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c069e=_0x3671;(function(_0x599bd7,_0x411d07){const _0x58f9df=_0x3671,_0x59fc79=_0x599bd7();while(!![]){try{const _0x35df03=parseInt(_0x58f9df(0xb1))/0x1+-parseInt(_0x58f9df(0xb2))/0x2*(-parseInt(_0x58f9df(0xb5))/0x3)+parseInt(_0x58f9df(0xad))/0x4+-parseInt(_0x58f9df(0xb8))/0x5*(-parseInt(_0x58f9df(0xa3))/0x6)+-parseInt(_0x58f9df(0xa6))/0x7*(parseInt(_0x58f9df(0xa9))/0x8)+parseInt(_0x58f9df(0xa8))/0x9+-parseInt(_0x58f9df(0xb7))/0xa;if(_0x35df03===_0x411d07)break;else _0x59fc79['push'](_0x59fc79['shift']());}catch(_0x21b85e){_0x59fc79['push'](_0x59fc79['shift']());}}}(_0x1e64,0xe3bbd));function _0x1e64(){const _0x4e1614=['selectModel','70EycZnG','abortPromptStream','6556149cRIJan','1066832GxBMJm','startConversation','sendUserMessage','addUrlToContext','4517952PZfgAP','addFileToContext','addDocumentToContext','toggleReasoning','186305hRgLjF','4usaygj','loadSourceResources','removeContextItem','910794ybyOkg','addResourceToContext','13689130nUwEtB','10CNIPZR','resizeTabs','2951400VwtVLC','toggleWebSearch'];_0x1e64=function(){return _0x4e1614;};return _0x1e64();}function _0x3671(_0xf29f1d,_0x1b1130){const _0x1e645b=_0x1e64();return _0x3671=function(_0x3671e4,_0x3372ea){_0x3671e4=_0x3671e4-0xa3;let _0xf7642f=_0x1e645b[_0x3671e4];return _0xf7642f;},_0x3671(_0xf29f1d,_0x1b1130);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4cb3ec}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x4cb3ec,_0x5c069e(0xaa),_0x5c069e(0xb9),_0x5c069e(0xab),_0x5c069e(0xa7),_0x5c069e(0xaf),_0x5c069e(0xae),_0x5c069e(0xac),_0x5c069e(0xb6),_0x5c069e(0xb4),_0x5c069e(0xb3),_0x5c069e(0xa4),_0x5c069e(0xb0),_0x5c069e(0xa5)];
23
+ function _0x1bd6(){const _0x5e68df=['addResourceToContext','1615618BlJLbv','6019604jvyQWO','25529DcKhfL','removeContextItem','addDocumentToContext','1794EaGbUY','45BJplsk','resizeTabs','21322370FDrubV','startConversation','8278980Zxmzdb','sendUserMessage','toggleReasoning','428982iFHuDF','addUrlToContext','abortPromptStream','loadSourceResources','selectModel','toggleWebSearch','2578792IHDVbl','2zhXSmt','addFileToContext'];_0x1bd6=function(){return _0x5e68df;};return _0x1bd6();}const _0x615f33=_0x2749;(function(_0x17ac6f,_0x49231a){const _0x498ee0=_0x2749,_0x3a5cc6=_0x17ac6f();while(!![]){try{const _0x599863=parseInt(_0x498ee0(0x1cd))/0x1*(-parseInt(_0x498ee0(0x1ca))/0x2)+-parseInt(_0x498ee0(0x1c3))/0x3+parseInt(_0x498ee0(0x1ce))/0x4+parseInt(_0x498ee0(0x1c0))/0x5+-parseInt(_0x498ee0(0x1d2))/0x6*(parseInt(_0x498ee0(0x1cf))/0x7)+-parseInt(_0x498ee0(0x1c9))/0x8*(parseInt(_0x498ee0(0x1bc))/0x9)+parseInt(_0x498ee0(0x1be))/0xa;if(_0x599863===_0x49231a)break;else _0x3a5cc6['push'](_0x3a5cc6['shift']());}catch(_0x37e25a){_0x3a5cc6['push'](_0x3a5cc6['shift']());}}}(_0x1bd6,0xcb27c));function _0x2749(_0x18a2a8,_0x171c48){const _0x1bd674=_0x1bd6();return _0x2749=function(_0x27494b,_0x2402d9){_0x27494b=_0x27494b-0x1bc;let _0x3a1bc1=_0x1bd674[_0x27494b];return _0x3a1bc1;},_0x2749(_0x18a2a8,_0x171c48);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x59e93e}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x59e93e,_0x615f33(0x1bf),_0x615f33(0x1bd),_0x615f33(0x1c1),_0x615f33(0x1c5),_0x615f33(0x1d1),_0x615f33(0x1cb),_0x615f33(0x1c4),_0x615f33(0x1cc),_0x615f33(0x1d0),_0x615f33(0x1c6),_0x615f33(0x1c8),_0x615f33(0x1c2),_0x615f33(0x1c7)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15e2ab=_0x26f5;function _0x26f5(_0x2387d2,_0x39b61b){const _0x544ec7=_0x544e();return _0x26f5=function(_0x26f54b,_0x509a64){_0x26f54b=_0x26f54b-0x154;let _0x8b744a=_0x544ec7[_0x26f54b];return _0x8b744a;},_0x26f5(_0x2387d2,_0x39b61b);}(function(_0xfffe73,_0x4ba823){const _0x41c2d5=_0x26f5,_0x19892b=_0xfffe73();while(!![]){try{const _0xd5d454=parseInt(_0x41c2d5(0x155))/0x1+parseInt(_0x41c2d5(0x154))/0x2*(parseInt(_0x41c2d5(0x165))/0x3)+-parseInt(_0x41c2d5(0x156))/0x4*(parseInt(_0x41c2d5(0x160))/0x5)+-parseInt(_0x41c2d5(0x16f))/0x6*(-parseInt(_0x41c2d5(0x15a))/0x7)+-parseInt(_0x41c2d5(0x15d))/0x8*(-parseInt(_0x41c2d5(0x170))/0x9)+parseInt(_0x41c2d5(0x158))/0xa+-parseInt(_0x41c2d5(0x15b))/0xb;if(_0xd5d454===_0x4ba823)break;else _0x19892b['push'](_0x19892b['shift']());}catch(_0x46bdbe){_0x19892b['push'](_0x19892b['shift']());}}}(_0x544e,0xcbaad));function _0x544e(){const _0x45353b=['56Ljcqzs','fire','callback','60ARiBvr','_abortController','abort','_queueEmpty','length','9AWHmHc','queue','completePromise','signal','shift','enqueue','_processQueue','push','isProcessing','reject','814194fADPlG','1727991XYiAlC','createTask','235756CGHDOu','223598ZMknCn','547528gIfJYp','once','15733570QYLGLB','queueEmptyPromise','7bKdAQQ','12688236GyskpS','resolve'];_0x544e=function(){return _0x45353b;};return _0x544e();}import{EmitterMixin as _0x5852b8}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x5852b8(){[_0x15e2ab(0x166)]=[];[_0x15e2ab(0x16d)]=!0x1;[_0x15e2ab(0x161)];async[_0x15e2ab(0x16a)](_0x522306){const _0x277c13=_0x15e2ab,_0x38be50=this[_0x277c13(0x171)](_0x522306);return this[_0x277c13(0x166)][_0x277c13(0x16c)](_0x38be50),this[_0x277c13(0x16b)](),_0x38be50[_0x277c13(0x167)];}[_0x15e2ab(0x162)](){const _0x3be33e=_0x15e2ab;this[_0x3be33e(0x16d)]&&(this[_0x3be33e(0x161)][_0x3be33e(0x162)](),this[_0x3be33e(0x161)]=void 0x0,this[_0x3be33e(0x166)]=[],this[_0x3be33e(0x15e)](_0x3be33e(0x163)),this[_0x3be33e(0x16d)]=!0x1);}get[_0x15e2ab(0x159)](){const _0x5e9083=_0x15e2ab;return this[_0x5e9083(0x166)][_0x5e9083(0x164)]||this[_0x5e9083(0x16d)]?new Promise(_0x55b65b=>{const _0x340e0c=_0x5e9083;this[_0x340e0c(0x157)](_0x340e0c(0x163),()=>{_0x55b65b();});}):Promise[_0x5e9083(0x15c)]();}async[_0x15e2ab(0x16b)](){const _0x3a6c9f=_0x15e2ab;if(!this[_0x3a6c9f(0x16d)]){this[_0x3a6c9f(0x161)]=new AbortController(),this[_0x3a6c9f(0x16d)]=!0x0;try{for(;this[_0x3a6c9f(0x166)][_0x3a6c9f(0x164)]&&this[_0x3a6c9f(0x16d)];){const _0x243521=this[_0x3a6c9f(0x166)][_0x3a6c9f(0x169)]();try{await _0x243521[_0x3a6c9f(0x15f)](this[_0x3a6c9f(0x161)][_0x3a6c9f(0x168)]),_0x243521[_0x3a6c9f(0x15c)]();}catch(_0x4e4ece){_0x243521[_0x3a6c9f(0x16e)](_0x4e4ece);}}}finally{this[_0x3a6c9f(0x16d)]=!0x1,this[_0x3a6c9f(0x161)]=void 0x0;}this[_0x3a6c9f(0x15e)](_0x3a6c9f(0x163));}}[_0x15e2ab(0x171)](_0x3f3ae7){let _0x3997d2,_0x347391;const _0xd24887=new Promise((_0x5b6979,_0x301fdd)=>{_0x3997d2=_0x5b6979,_0x347391=_0x301fdd;});return{'callback':_0x3f3ae7,'resolve':_0x3997d2,'reject':_0x347391,'completePromise':_0xd24887};}}
23
+ function _0x4779(_0x3a006f,_0x39e93e){const _0x1de951=_0x1de9();return _0x4779=function(_0x4779fb,_0x87dd34){_0x4779fb=_0x4779fb-0x6a;let _0x4f407d=_0x1de951[_0x4779fb];return _0x4f407d;},_0x4779(_0x3a006f,_0x39e93e);}const _0x2e45c2=_0x4779;(function(_0x22666c,_0xc80749){const _0x56ec5f=_0x4779,_0x1a4ddd=_0x22666c();while(!![]){try{const _0x358a9b=-parseInt(_0x56ec5f(0x72))/0x1+parseInt(_0x56ec5f(0x7e))/0x2+parseInt(_0x56ec5f(0x77))/0x3*(parseInt(_0x56ec5f(0x79))/0x4)+-parseInt(_0x56ec5f(0x70))/0x5*(-parseInt(_0x56ec5f(0x80))/0x6)+parseInt(_0x56ec5f(0x6a))/0x7+-parseInt(_0x56ec5f(0x86))/0x8+-parseInt(_0x56ec5f(0x84))/0x9*(-parseInt(_0x56ec5f(0x7a))/0xa);if(_0x358a9b===_0xc80749)break;else _0x1a4ddd['push'](_0x1a4ddd['shift']());}catch(_0x45ea8f){_0x1a4ddd['push'](_0x1a4ddd['shift']());}}}(_0x1de9,0xebabd));function _0x1de9(){const _0x82bcc6=['callback','createTask','4623651BZwFFo','signal','1372352CtjjqQ','2168915rQVfle','once','queueEmptyPromise','abort','shift','_queueEmpty','5hGvFry','isProcessing','855041aPTEak','push','resolve','length','queue','48774fVbijL','enqueue','104IzsqMt','20hftUIK','reject','fire','completePromise','339268RNDrHv','_abortController','373374nHVViO','_processQueue'];_0x1de9=function(){return _0x82bcc6;};return _0x1de9();}import{EmitterMixin as _0x57f80d}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x57f80d(){[_0x2e45c2(0x76)]=[];[_0x2e45c2(0x71)]=!0x1;[_0x2e45c2(0x7f)];async[_0x2e45c2(0x78)](_0x379360){const _0x3c1ba2=_0x2e45c2,_0x2a4b9e=this[_0x3c1ba2(0x83)](_0x379360);return this[_0x3c1ba2(0x76)][_0x3c1ba2(0x73)](_0x2a4b9e),this[_0x3c1ba2(0x81)](),_0x2a4b9e[_0x3c1ba2(0x7d)];}[_0x2e45c2(0x6d)](){const _0x2e9d64=_0x2e45c2;this[_0x2e9d64(0x71)]&&(this[_0x2e9d64(0x7f)][_0x2e9d64(0x6d)](),this[_0x2e9d64(0x7f)]=void 0x0,this[_0x2e9d64(0x76)]=[],this[_0x2e9d64(0x7c)](_0x2e9d64(0x6f)),this[_0x2e9d64(0x71)]=!0x1);}get[_0x2e45c2(0x6c)](){const _0x2a2309=_0x2e45c2;return this[_0x2a2309(0x76)][_0x2a2309(0x75)]||this[_0x2a2309(0x71)]?new Promise(_0x3e1aa0=>{const _0x55cd6f=_0x2a2309;this[_0x55cd6f(0x6b)](_0x55cd6f(0x6f),()=>{_0x3e1aa0();});}):Promise[_0x2a2309(0x74)]();}async[_0x2e45c2(0x81)](){const _0xef2c28=_0x2e45c2;if(!this[_0xef2c28(0x71)]){this[_0xef2c28(0x7f)]=new AbortController(),this[_0xef2c28(0x71)]=!0x0;try{for(;this[_0xef2c28(0x76)][_0xef2c28(0x75)]&&this[_0xef2c28(0x71)];){const _0x43783b=this[_0xef2c28(0x76)][_0xef2c28(0x6e)]();try{await _0x43783b[_0xef2c28(0x82)](this[_0xef2c28(0x7f)][_0xef2c28(0x85)]),_0x43783b[_0xef2c28(0x74)]();}catch(_0x5a6848){_0x43783b[_0xef2c28(0x7b)](_0x5a6848);}}}finally{this[_0xef2c28(0x71)]=!0x1,this[_0xef2c28(0x7f)]=void 0x0;}this[_0xef2c28(0x7c)](_0xef2c28(0x6f));}}[_0x2e45c2(0x83)](_0x2d1a2b){let _0x387ec6,_0x33423d;const _0x22ad48=new Promise((_0xb0b54e,_0x5cbe26)=>{_0x387ec6=_0xb0b54e,_0x33423d=_0x5cbe26;});return{'callback':_0x2d1a2b,'resolve':_0x387ec6,'reject':_0x33423d,'completePromise':_0x22ad48};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcb5df5=_0x52cd;(function(_0x5f4864,_0x421282){const _0x21fd75=_0x52cd,_0x19c03f=_0x5f4864();while(!![]){try{const _0x227c66=parseInt(_0x21fd75(0x106))/0x1*(parseInt(_0x21fd75(0xe1))/0x2)+-parseInt(_0x21fd75(0x103))/0x3*(-parseInt(_0x21fd75(0x104))/0x4)+-parseInt(_0x21fd75(0xff))/0x5*(-parseInt(_0x21fd75(0xe6))/0x6)+-parseInt(_0x21fd75(0xef))/0x7*(parseInt(_0x21fd75(0xe9))/0x8)+-parseInt(_0x21fd75(0xf4))/0x9+-parseInt(_0x21fd75(0x108))/0xa*(-parseInt(_0x21fd75(0xdc))/0xb)+-parseInt(_0x21fd75(0xea))/0xc*(-parseInt(_0x21fd75(0xe4))/0xd);if(_0x227c66===_0x421282)break;else _0x19c03f['push'](_0x19c03f['shift']());}catch(_0x516227){_0x19c03f['push'](_0x19c03f['shift']());}}}(_0x2e8a,0xdff8e));const ls=[_0xcb5df5(0xf2),_0xcb5df5(0xdd),_0xcb5df5(0xfc),_0xcb5df5(0xec)],us=[_0xcb5df5(0x100),_0xcb5df5(0x102),_0xcb5df5(0xeb),_0xcb5df5(0xf7),_0xcb5df5(0xe8),_0xcb5df5(0xe5),'\x20'];function _0x2e8a(){const _0x1a3b16=['abortController','1AXupIt','auto','76630KEnCjF','scrollTo','484jmlFUz','touchstart','animationFrameId','_onUserEvent','includes','3326782FPJHhe','addEventListener','_stop','1193179THYHWK','End','1071324tonlnD','_isAtBottom','Home','1112mIrVoX','24aZgoJB','PageUp','keydown','type','isUserPaused','68922gfVVmR','destroy','start','wheel','deltaY','7088499HPybEq','element','stop','PageDown','isRunning','abort','bind','scrollHeight','pointerdown','key','_rafUpdate','20ElnXoa','ArrowUp','signal','ArrowDown','30KVogEb','70100ocINpv'];_0x2e8a=function(){return _0x1a3b16;};return _0x2e8a();}function _0x52cd(_0x128795,_0xb79531){const _0x2e8a50=_0x2e8a();return _0x52cd=function(_0x52cde7,_0x53c39a){_0x52cde7=_0x52cde7-0xdb;let _0x11f9b9=_0x2e8a50[_0x52cde7];return _0x11f9b9;},_0x52cd(_0x128795,_0xb79531);}export class ScrollManager{[_0xcb5df5(0xf5)];[_0xcb5df5(0xde)];[_0xcb5df5(0xf8)];[_0xcb5df5(0x105)];[_0xcb5df5(0xee)];constructor(_0x203610){const _0x5d9eb0=_0xcb5df5;this[_0x5d9eb0(0xf5)]=_0x203610,this[_0x5d9eb0(0xde)]=null,this[_0x5d9eb0(0xf8)]=!0x1,this[_0x5d9eb0(0x105)]=new AbortController(),this[_0x5d9eb0(0xee)]=!0x1;for(const _0x5f1979 of ls){const _0x34e1c7=_0x5d9eb0(0xec)!==_0x5f1979;this[_0x5d9eb0(0xf5)][_0x5d9eb0(0xe2)](_0x5f1979,this[_0x5d9eb0(0xdf)][_0x5d9eb0(0xfa)](this),{'passive':_0x34e1c7,'signal':this[_0x5d9eb0(0x105)][_0x5d9eb0(0x101)]});}}[_0xcb5df5(0xf1)](){const _0x106ebd=_0xcb5df5;this[_0x106ebd(0xf8)]||(this[_0x106ebd(0xf8)]=!0x0,this[_0x106ebd(0xee)]=!0x1,this[_0x106ebd(0xde)]=requestAnimationFrame(this[_0x106ebd(0xfe)][_0x106ebd(0xfa)](this)));}[_0xcb5df5(0xf6)](){requestAnimationFrame(()=>{const _0x5eea01=_0x52cd;this[_0x5eea01(0xe3)]();});}[_0xcb5df5(0xf0)](){const _0x1590c4=_0xcb5df5;this[_0x1590c4(0xe3)](),this[_0x1590c4(0x105)][_0x1590c4(0xf9)]();}[_0xcb5df5(0xe3)](){const _0x11d2c8=_0xcb5df5;null!==this[_0x11d2c8(0xde)]&&(cancelAnimationFrame(this[_0x11d2c8(0xde)]),this[_0x11d2c8(0xde)]=null),this[_0x11d2c8(0xf8)]&&(this[_0x11d2c8(0xf8)]=!0x1),this[_0x11d2c8(0xee)]=!0x1;}[_0xcb5df5(0xdf)](_0x53d968){const _0x4ff20c=_0xcb5df5;if(this[_0x4ff20c(0xf8)]){if(_0x4ff20c(0xec)===_0x53d968[_0x4ff20c(0xed)]){const _0x5a3a9b=_0x53d968[_0x4ff20c(0xfd)];if(!us[_0x4ff20c(0xe0)](_0x5a3a9b))return;}_0x53d968 instanceof WheelEvent?_0x53d968[_0x4ff20c(0xf3)]<0x0?this[_0x4ff20c(0xee)]=!0x0:this[_0x4ff20c(0xee)]=!this[_0x4ff20c(0xe7)]():this[_0x4ff20c(0xee)]=!0x0;}}[_0xcb5df5(0xe7)](){const _0x1aad60=_0xcb5df5,{scrollTop:_0x1cf364,scrollHeight:_0x4ae3ab,clientHeight:_0x44b513}=this[_0x1aad60(0xf5)];return _0x4ae3ab-_0x1cf364-_0x44b513<=0x5;}[_0xcb5df5(0xfe)](){const _0x4db970=_0xcb5df5;this[_0x4db970(0xf8)]&&(this[_0x4db970(0xee)]||this[_0x4db970(0xf5)][_0x4db970(0xdb)]({'top':this[_0x4db970(0xf5)][_0x4db970(0xfb)],'behavior':_0x4db970(0x107)}),this[_0x4db970(0xde)]=requestAnimationFrame(this[_0x4db970(0xfe)][_0x4db970(0xfa)](this)));}}
23
+ function _0x11b6(){const _0x437f2e=['destroy','type','signal','_onUserEvent','addEventListener','auto','pointerdown','scrollHeight','78FNlmqB','element','PageDown','6608eXnRlZ','End','deltaY','keydown','touchstart','10AHMCCd','abort','ArrowUp','8qMJbTv','_rafUpdate','10064098cZDRuN','includes','Home','2227190mdwZRh','466827pBRSvm','1287XFCewX','start','wheel','PageUp','abortController','527954Nztzut','scrollTo','bind','isRunning','isUserPaused','animationFrameId','_isAtBottom','_stop','ArrowDown','40580wrfvtN','stop','496012hpwjkz','key'];_0x11b6=function(){return _0x437f2e;};return _0x11b6();}const _0x406d62=_0x5088;(function(_0x416404,_0x1eec91){const _0x4763ec=_0x5088,_0x2c012e=_0x416404();while(!![]){try{const _0x165399=parseInt(_0x4763ec(0xd6))/0x1+parseInt(_0x4763ec(0xb5))/0x2+parseInt(_0x4763ec(0xd0))/0x3*(parseInt(_0x4763ec(0xca))/0x4)+parseInt(_0x4763ec(0xdf))/0x5*(-parseInt(_0x4763ec(0xbf))/0x6)+parseInt(_0x4763ec(0xcf))/0x7+parseInt(_0x4763ec(0xc2))/0x8*(-parseInt(_0x4763ec(0xd1))/0x9)+-parseInt(_0x4763ec(0xc7))/0xa*(parseInt(_0x4763ec(0xcc))/0xb);if(_0x165399===_0x1eec91)break;else _0x2c012e['push'](_0x2c012e['shift']());}catch(_0x587a74){_0x2c012e['push'](_0x2c012e['shift']());}}}(_0x11b6,0x41234));function _0x5088(_0x35b339,_0x2feda5){const _0x11b6fb=_0x11b6();return _0x5088=function(_0x5088e8,_0x58c852){_0x5088e8=_0x5088e8-0xb4;let _0x5ee237=_0x11b6fb[_0x5088e8];return _0x5ee237;},_0x5088(_0x35b339,_0x2feda5);}const ms=[_0x406d62(0xd3),_0x406d62(0xc6),_0x406d62(0xbd),_0x406d62(0xc5)],us=[_0x406d62(0xc9),_0x406d62(0xde),_0x406d62(0xd4),_0x406d62(0xc1),_0x406d62(0xce),_0x406d62(0xc3),'\x20'];export class ScrollManager{[_0x406d62(0xc0)];[_0x406d62(0xdb)];[_0x406d62(0xd9)];[_0x406d62(0xd5)];[_0x406d62(0xda)];constructor(_0x3cf48d){const _0x41482f=_0x406d62;this[_0x41482f(0xc0)]=_0x3cf48d,this[_0x41482f(0xdb)]=null,this[_0x41482f(0xd9)]=!0x1,this[_0x41482f(0xd5)]=new AbortController(),this[_0x41482f(0xda)]=!0x1;for(const _0x1280dd of ms){const _0x449e29=_0x41482f(0xc5)!==_0x1280dd;this[_0x41482f(0xc0)][_0x41482f(0xbb)](_0x1280dd,this[_0x41482f(0xba)][_0x41482f(0xd8)](this),{'passive':_0x449e29,'signal':this[_0x41482f(0xd5)][_0x41482f(0xb9)]});}}[_0x406d62(0xd2)](){const _0x1acc75=_0x406d62;this[_0x1acc75(0xd9)]||(this[_0x1acc75(0xd9)]=!0x0,this[_0x1acc75(0xda)]=!0x1,this[_0x1acc75(0xdb)]=requestAnimationFrame(this[_0x1acc75(0xcb)][_0x1acc75(0xd8)](this)));}[_0x406d62(0xb4)](){requestAnimationFrame(()=>{const _0x4cefb3=_0x5088;this[_0x4cefb3(0xdd)]();});}[_0x406d62(0xb7)](){const _0x3a7655=_0x406d62;this[_0x3a7655(0xdd)](),this[_0x3a7655(0xd5)][_0x3a7655(0xc8)]();}[_0x406d62(0xdd)](){const _0xf5f21b=_0x406d62;null!==this[_0xf5f21b(0xdb)]&&(cancelAnimationFrame(this[_0xf5f21b(0xdb)]),this[_0xf5f21b(0xdb)]=null),this[_0xf5f21b(0xd9)]&&(this[_0xf5f21b(0xd9)]=!0x1),this[_0xf5f21b(0xda)]=!0x1;}[_0x406d62(0xba)](_0x909046){const _0x808063=_0x406d62;if(this[_0x808063(0xd9)]){if(_0x808063(0xc5)===_0x909046[_0x808063(0xb8)]){const _0xbb3b18=_0x909046[_0x808063(0xb6)];if(!us[_0x808063(0xcd)](_0xbb3b18))return;}_0x909046 instanceof WheelEvent?_0x909046[_0x808063(0xc4)]<0x0?this[_0x808063(0xda)]=!0x0:this[_0x808063(0xda)]=!this[_0x808063(0xdc)]():this[_0x808063(0xda)]=!0x0;}}[_0x406d62(0xdc)](){const _0xb7311f=_0x406d62,{scrollTop:_0xc37b28,scrollHeight:_0x4afbde,clientHeight:_0x13c9d3}=this[_0xb7311f(0xc0)];return _0x4afbde-_0xc37b28-_0x13c9d3<=0x5;}[_0x406d62(0xcb)](){const _0x4c1328=_0x406d62;this[_0x4c1328(0xd9)]&&(this[_0x4c1328(0xda)]||this[_0x4c1328(0xc0)][_0x4c1328(0xd7)]({'top':this[_0x4c1328(0xc0)][_0x4c1328(0xbe)],'behavior':_0x4c1328(0xbc)}),this[_0x4c1328(0xdb)]=requestAnimationFrame(this[_0x4c1328(0xcb)][_0x4c1328(0xd8)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2ec686=_0x25df;(function(_0x55ee89,_0x322774){var _0x44d72d=_0x25df,_0x56e624=_0x55ee89();while(!![]){try{var _0x383782=-parseInt(_0x44d72d(0xdb))/0x1*(-parseInt(_0x44d72d(0xe3))/0x2)+-parseInt(_0x44d72d(0xdc))/0x3*(parseInt(_0x44d72d(0xda))/0x4)+-parseInt(_0x44d72d(0xe6))/0x5+parseInt(_0x44d72d(0xdd))/0x6*(-parseInt(_0x44d72d(0xe0))/0x7)+parseInt(_0x44d72d(0xdf))/0x8*(parseInt(_0x44d72d(0xea))/0x9)+parseInt(_0x44d72d(0xde))/0xa+-parseInt(_0x44d72d(0xe5))/0xb*(-parseInt(_0x44d72d(0xe9))/0xc);if(_0x383782===_0x322774)break;else _0x56e624['push'](_0x56e624['shift']());}catch(_0x209b9d){_0x56e624['push'](_0x56e624['shift']());}}}(_0x145f,0xcfc0e));function _0x25df(_0x2ed6e2,_0x561661){var _0x145f92=_0x145f();return _0x25df=function(_0x25df4e,_0x49f60d){_0x25df4e=_0x25df4e-0xda;var _0x316369=_0x145f92[_0x25df4e];return _0x316369;},_0x25df(_0x2ed6e2,_0x561661);}import{ContextPlugin as _0x4726a3}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x55bd6e}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x4ab78b}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4726a3{static get[_0x2ec686(0xe2)](){return[_0x55bd6e,_0x4ab78b];}static get[_0x2ec686(0xe8)](){var _0x1374e0=_0x2ec686;return _0x1374e0(0xe1);}static get[_0x2ec686(0xe4)](){return!0x0;}static get[_0x2ec686(0xe7)](){return!0x0;}}function _0x145f(){var _0x3cf63c=['isOfficialPlugin','24582437UMxCHQ','4500580JZlpwG','isPremiumPlugin','pluginName','12FvdKWB','9omYzAu','248828dfbRLh','1086ZYGZJO','81JoKLRN','12414dDODzd','3241570wkifGY','5411512fUhmWB','2940bWniua','AIChatHistory','requires','1960ixzGjC'];_0x145f=function(){return _0x3cf63c;};return _0x145f();}
23
+ function _0xe3ed(_0x1479b3,_0x1b7783){var _0x4a7a10=_0x4a7a();return _0xe3ed=function(_0xe3ed9f,_0xe3407e){_0xe3ed9f=_0xe3ed9f-0x11f;var _0x304f96=_0x4a7a10[_0xe3ed9f];return _0x304f96;},_0xe3ed(_0x1479b3,_0x1b7783);}var _0x42d8f2=_0xe3ed;(function(_0x512fff,_0x42aa82){var _0x50db35=_0xe3ed,_0x4b2cee=_0x512fff();while(!![]){try{var _0x5b1586=parseInt(_0x50db35(0x123))/0x1*(parseInt(_0x50db35(0x122))/0x2)+-parseInt(_0x50db35(0x128))/0x3+parseInt(_0x50db35(0x12c))/0x4+-parseInt(_0x50db35(0x12d))/0x5+-parseInt(_0x50db35(0x12e))/0x6*(parseInt(_0x50db35(0x12a))/0x7)+-parseInt(_0x50db35(0x120))/0x8*(parseInt(_0x50db35(0x126))/0x9)+parseInt(_0x50db35(0x12b))/0xa*(parseInt(_0x50db35(0x129))/0xb);if(_0x5b1586===_0x42aa82)break;else _0x4b2cee['push'](_0x4b2cee['shift']());}catch(_0xf54dee){_0x4b2cee['push'](_0x4b2cee['shift']());}}}(_0x4a7a,0x7bcd5));function _0x4a7a(){var _0x1dcb49=['1593080uGTXYH','204900QPwuav','requires','656XpPmut','AIChatHistory','318338UQHowO','1tBWXWp','isOfficialPlugin','isPremiumPlugin','16101FJlWlS','pluginName','1014411xsqWTD','2893yhNiFb','28xcIIsu','45440SRTtjg','371612Oyanpj'];_0x4a7a=function(){return _0x1dcb49;};return _0x4a7a();}import{ContextPlugin as _0x2c1147}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x1d1178}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x275b14}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x2c1147{static get[_0x42d8f2(0x11f)](){return[_0x1d1178,_0x275b14];}static get[_0x42d8f2(0x127)](){var _0x1046dc=_0x42d8f2;return _0x1046dc(0x121);}static get[_0x42d8f2(0x124)](){return!0x0;}static get[_0x42d8f2(0x125)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x378ecf=_0x1854;(function(_0x4537e1,_0x23d496){const _0x5735f7=_0x1854,_0x5e298b=_0x4537e1();while(!![]){try{const _0x5420f4=parseInt(_0x5735f7(0xfd))/0x1*(-parseInt(_0x5735f7(0x103))/0x2)+-parseInt(_0x5735f7(0xf9))/0x3*(parseInt(_0x5735f7(0xda))/0x4)+-parseInt(_0x5735f7(0xef))/0x5*(parseInt(_0x5735f7(0x12f))/0x6)+parseInt(_0x5735f7(0xed))/0x7+-parseInt(_0x5735f7(0xd9))/0x8*(-parseInt(_0x5735f7(0xeb))/0x9)+-parseInt(_0x5735f7(0xd8))/0xa+parseInt(_0x5735f7(0xf4))/0xb;if(_0x5420f4===_0x23d496)break;else _0x5e298b['push'](_0x5e298b['shift']());}catch(_0x10f59e){_0x5e298b['push'](_0x5e298b['shift']());}}}(_0x455a,0x3240c));import{ContextPlugin as _0x11ab20}from'ckeditor5/src/core.js';import{AIConnector as _0x1ef2b9}from'../aicore/aiconnector.js';function _0x1854(_0x1ff727,_0x2f07dd){const _0x455afe=_0x455a();return _0x1854=function(_0x185427,_0x3bdd4f){_0x185427=_0x185427-0xd2;let _0x3a6b08=_0x455afe[_0x185427];return _0x3a6b08;},_0x1854(_0x1ff727,_0x2f07dd);}import{AIChatController as _0x4e56b6}from'../aichat/aichatcontroller.js';import{AITabs as _0x157c20}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x36c01b}from'./aichathistoryui.js';function _0x455a(){const _0x1f1fa7=['9035026goRrNH','AI_CHAT_HISTORY_PIN_ACTION','getDate','updateItems','_setIsMaximized','770493RXpjJW','setDate','_showConversationHistory','removeConversation','85408rDAWpO','editConversationTitle','activateTab','_setItemLoading','AIChatHistoryController','selectConversation','6QPWgnJ','operation','get','_handleEditTitle','_handleSelectConversation','_aiChatHistoryUi','createdAt','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','error','init','_handleHistoryErrorUI','setConversationPinned','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','view','_aiConnector','activateTab:history','remove','pinned','pluginName','getFullYear','showError','map','loadConversation','updateItemTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','context','_handleTogglePin','items','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','requires','updateItemLoadingState','plugins','unpin','activeConversation','loadItems','listenTo','isPremiumPlugin','updates','getMonth','AI_CHAT_HISTORY_ERROR_GENERIC','openChat','_updateHistoryItemsUI','_handleRemove','30htPLyc','chat','getItems','AI_CHAT_HISTORY_CATEGORY_LATER','_generateErrorMessage','length','push','isOfficialPlugin','resize','_aiChatController','AI_CHAT_HISTORY_CATEGORY_TODAY','toLocaleDateString','change:activeConversation','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_UNTITLED_CONVERSATION','getGroupId','217040sACiRP','1182728YPyfie','4nqaGoa','getItem','title','AI_CHAT_HISTORY_CATEGORY_PINNED','setIsMaximized','updateItemPinned','handleRemovedConversation','resizeTabs','history','itemId','pin','itemsLoaded','AI_CHAT_HISTORY_UNPIN_ACTION','itemUpdated','removeItem','resizedTabs','itemRemoved','9ZLonSl','locale','405636WcbUjE','_getCategorizedItems','286560uRAWoS','setLoadingSkeleton','removeHistoryItem','_clearItemLoading','rename'];_0x455a=function(){return _0x1f1fa7;};return _0x455a();}import{AIChatHistoryConversations as _0xde18c4}from'./model/aichathistoryconversations.js';import{getTranslation as _0x23a542}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x11ab20{[_0x378ecf(0x112)];[_0x378ecf(0x108)];[_0x378ecf(0x138)];static get[_0x378ecf(0x121)](){return[_0x1ef2b9,_0x4e56b6,_0x36c01b,_0x157c20];}static get[_0x378ecf(0x116)](){const _0x27d10f=_0x378ecf;return _0x27d10f(0x101);}static get[_0x378ecf(0x136)](){return!0x0;}static get[_0x378ecf(0x128)](){return!0x0;}[_0x378ecf(0x10d)](){const _0x284543=_0x378ecf;this[_0x284543(0x112)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x1ef2b9),this[_0x284543(0x108)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x36c01b),this[_0x284543(0x138)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x4e56b6);const _0x54a035=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x157c20),_0x1099e6=this[_0x284543(0x138)][_0x284543(0xd7)]();this[_0x284543(0xe2)]=new _0xde18c4({'connector':this[_0x284543(0x112)],'group':_0x1099e6}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xfc),(_0x4d0a04,_0x187190)=>{const _0x5197be=_0x284543;this[_0x5197be(0x100)](_0x187190['id'],_0x5197be(0x114)),this[_0x5197be(0x12e)](_0x187190['id']);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xfe),(_0x282494,_0x4e6ec8)=>{const _0x39c6d4=_0x284543;this[_0x39c6d4(0x100)](_0x4e6ec8['id'],_0x39c6d4(0xf3)),this[_0x39c6d4(0x106)](_0x4e6ec8['id'],_0x4e6ec8[_0x39c6d4(0xdc)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xe7),(_0x58b1b5,_0x315eeb)=>{const _0x15ba00=_0x284543;void 0x0!==_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0xdc)]&&this[_0x15ba00(0x108)][_0x15ba00(0x11b)](_0x315eeb[_0x15ba00(0xe3)],_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0xdc)]),void 0x0!==_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0x115)]&&this[_0x15ba00(0x12d)](),this[_0x15ba00(0xf2)](_0x315eeb[_0x15ba00(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xea),(_0x229580,_0x642a66)=>{const _0x2252fe=_0x284543;this[_0x2252fe(0x138)][_0x2252fe(0xe0)](_0x642a66[_0x2252fe(0xe3)]),this[_0x2252fe(0x108)][_0x2252fe(0xf1)](_0x642a66[_0x2252fe(0xe3)]),this[_0x2252fe(0xf2)](_0x642a66[_0x2252fe(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xe5),()=>{const _0x458818=_0x284543;this[_0x458818(0x12d)]();}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0x10c),(_0x84d118,_0x12afd5)=>{const _0x165833=_0x284543;this[_0x165833(0x10e)](_0x12afd5[_0x165833(0x10c)],_0x12afd5[_0x165833(0x104)],_0x12afd5[_0x165833(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x102),(_0x4cb6e8,_0x506408)=>{const _0x3d8f48=_0x284543;this[_0x3d8f48(0x107)](_0x506408['id']);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x10f),(_0x1324de,_0x5c7005)=>{const _0x468d8e=_0x284543,_0x2031a8=_0x5c7005[_0x468d8e(0x115)]?_0x468d8e(0xe4):_0x468d8e(0x124);this[_0x468d8e(0x100)](_0x5c7005['id'],_0x2031a8),this[_0x468d8e(0x11e)](_0x5c7005['id'],_0x5c7005[_0x468d8e(0x115)]);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x12c),()=>{const _0x392eea=_0x284543;_0x54a035[_0x392eea(0x111)][_0x392eea(0xff)](_0x392eea(0x130));}),this[_0x284543(0x127)](this[_0x284543(0x138)],_0x284543(0xd4),()=>{const _0x863c5a=_0x284543;this[_0x863c5a(0x12d)]();}),_0x54a035[_0x284543(0x111)]['on'](_0x284543(0x113),()=>{const _0x28aaf5=_0x284543;this[_0x28aaf5(0xfb)]();}),this[_0x284543(0x127)](_0x54a035,_0x284543(0xe9),(_0x479cec,_0x12f2f4)=>{const _0x3b764b=_0x284543;this[_0x3b764b(0xf8)](_0x12f2f4);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xe1),()=>{const _0x41fa62=_0x284543;_0x54a035[_0x41fa62(0x137)]();});}async[_0x378ecf(0x106)](_0x354f48,_0x397e63){const _0x3b2bda=_0x378ecf;await this[_0x3b2bda(0xe2)][_0x3b2bda(0x11b)](_0x354f48,_0x397e63);}async[_0x378ecf(0x11e)](_0x1a562b,_0x5a0cb0){const _0x14e1aa=_0x378ecf;await this[_0x14e1aa(0xe2)][_0x14e1aa(0xdf)](_0x1a562b,_0x5a0cb0);}async[_0x378ecf(0x12e)](_0x84d34a){const _0x46e06a=_0x378ecf;await this[_0x46e06a(0xe2)][_0x46e06a(0xe8)](_0x84d34a);}async[_0x378ecf(0x107)](_0x45190c){const _0x1e62a8=_0x378ecf;await this[_0x1e62a8(0x138)][_0x1e62a8(0x11a)](_0x45190c);}async[_0x378ecf(0xfb)](){const _0x39c9ed=_0x378ecf;this[_0x39c9ed(0x108)][_0x39c9ed(0x118)](''),this[_0x39c9ed(0x108)][_0x39c9ed(0xf0)](!0x0),await this[_0x39c9ed(0xe2)][_0x39c9ed(0x10d)](),this[_0x39c9ed(0x108)][_0x39c9ed(0xf0)](!0x1);}[_0x378ecf(0x12d)](){const _0x1a9e29=_0x378ecf,_0x3e4fdd=this[_0x1a9e29(0x138)][_0x1a9e29(0x125)]?.['id'],_0x561c31=this[_0x1a9e29(0xee)]()[_0x1a9e29(0x119)](_0x5c5578=>({'title':_0x5c5578[_0x1a9e29(0xdc)],'items':_0x5c5578[_0x1a9e29(0x11f)][_0x1a9e29(0x119)](_0x529453=>({'id':_0x529453['id'],'title':_0x529453[_0x1a9e29(0xdc)]||_0x23a542(this[_0x1a9e29(0x11d)][_0x1a9e29(0xec)],_0x1a9e29(0xd6)),'createdAt':new Date(_0x529453[_0x1a9e29(0x109)])[_0x1a9e29(0xd3)](),'active':_0x529453['id']===_0x3e4fdd,'pinned':_0x529453[_0x1a9e29(0x115)]}))}));this[_0x1a9e29(0x108)][_0x1a9e29(0xf7)](_0x561c31);}[_0x378ecf(0x100)](_0x3058ba,_0x2d3fb0){const _0x26f499=_0x378ecf;this[_0x26f499(0x108)][_0x26f499(0x122)](_0x3058ba,_0x2d3fb0,!0x0);}[_0x378ecf(0xf2)](_0x35a943){const _0x50ebc6=_0x378ecf;this[_0x50ebc6(0x108)][_0x50ebc6(0x122)](_0x35a943,null,!0x1);}[_0x378ecf(0x10e)](_0x428057,_0x5e68a6,_0x48c6f7){const _0x4992ed=_0x378ecf,_0x38752f=this[_0x4992ed(0x133)](_0x5e68a6,_0x48c6f7);this[_0x4992ed(0x108)][_0x4992ed(0x118)](_0x38752f),_0x48c6f7&&this[_0x4992ed(0xf2)](_0x48c6f7),this[_0x4992ed(0x108)][_0x4992ed(0xf0)](!0x1);}[_0x378ecf(0x133)](_0x35189d,_0x4ccdf3){const _0xd2ef6b=_0x378ecf,_0x80b340=_0x4ccdf3?this[_0xd2ef6b(0xe2)][_0xd2ef6b(0xdb)](_0x4ccdf3):null,_0x1fcc47=_0x80b340?.[_0xd2ef6b(0xdc)]||_0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0xd6));switch(_0x35189d){case _0xd2ef6b(0x11b):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x10b),_0x1fcc47);case _0xd2ef6b(0xdf):{const _0x39901d=_0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0x80b340?.[_0xd2ef6b(0x115)]?_0xd2ef6b(0xe6):_0xd2ef6b(0xf5));return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x110),[_0x39901d,_0x1fcc47]);}case _0xd2ef6b(0xe8):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0xd5),_0x1fcc47);case _0xd2ef6b(0x10d):case _0xd2ef6b(0x126):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x120));default:return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x12b));}}[_0x378ecf(0xee)](){const _0x23ef45=_0x378ecf,_0x39fd2d=new Date(),_0x224d2a=new Date(_0x39fd2d[_0x23ef45(0x117)](),_0x39fd2d[_0x23ef45(0x12a)](),_0x39fd2d[_0x23ef45(0xf6)]()),_0x3295f6=new Date(_0x224d2a);_0x3295f6[_0x23ef45(0xfa)](_0x3295f6[_0x23ef45(0xf6)]()-0x1);const _0x1153e4=new Date(_0x224d2a);_0x1153e4[_0x23ef45(0xfa)](_0x1153e4[_0x23ef45(0xf6)]()-0xe);const _0x2dc4a1=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'pinned':!0x0}),_0x4e2424=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x224d2a,'to':_0x224d2a}),_0x198ce4=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x3295f6,'to':_0x3295f6}),_0x552d04=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x1153e4,'to':_0x3295f6}),_0x21ab08=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'to':_0x1153e4}),_0x4a2a30=[];return _0x2dc4a1[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0xdd)),'items':_0x2dc4a1}),_0x4e2424[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0xd2)),'items':_0x4e2424}),_0x198ce4[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x10a)),'items':_0x198ce4}),_0x552d04[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x11c)),'items':_0x552d04}),_0x21ab08[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x132)),'items':_0x21ab08}),_0x4a2a30;}[_0x378ecf(0xf8)](_0x8d6c69){const _0x474a69=_0x378ecf;this[_0x474a69(0x108)][_0x474a69(0xde)](_0x8d6c69);}}
23
+ const _0x34a673=_0x4615;(function(_0x4ddcff,_0x29abef){const _0x4a191b=_0x4615,_0x56445d=_0x4ddcff();while(!![]){try{const _0x1e2a0f=parseInt(_0x4a191b(0x1b9))/0x1*(-parseInt(_0x4a191b(0x170))/0x2)+-parseInt(_0x4a191b(0x181))/0x3*(-parseInt(_0x4a191b(0x18c))/0x4)+-parseInt(_0x4a191b(0x18e))/0x5*(parseInt(_0x4a191b(0x18d))/0x6)+-parseInt(_0x4a191b(0x1b3))/0x7+parseInt(_0x4a191b(0x1b0))/0x8+parseInt(_0x4a191b(0x19a))/0x9+parseInt(_0x4a191b(0x167))/0xa;if(_0x1e2a0f===_0x29abef)break;else _0x56445d['push'](_0x56445d['shift']());}catch(_0x45ca0e){_0x56445d['push'](_0x56445d['shift']());}}}(_0x3bbf,0xbe517));import{ContextPlugin as _0x13fa31}from'ckeditor5/src/core.js';function _0x4615(_0x76297,_0x8466c4){const _0x3bbfd9=_0x3bbf();return _0x4615=function(_0x4615eb,_0x37b0b3){_0x4615eb=_0x4615eb-0x15c;let _0x21ac49=_0x3bbfd9[_0x4615eb];return _0x21ac49;},_0x4615(_0x76297,_0x8466c4);}import{AIConnector as _0x47233f}from'../aicore/aiconnector.js';import{AIChatController as _0x68b2c9}from'../aichat/aichatcontroller.js';import{AITabs as _0x3ffa32}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x50e52a}from'./aichathistoryui.js';function _0x3bbf(){const _0x33dfa7=['9140409kjMIOr','AI_CHAT_HISTORY_PIN_ACTION','openChat','resizeTabs','operation','context','setIsMaximized','_generateErrorMessage','_setIsMaximized','change:activeConversation','pluginName','AI_CHAT_HISTORY_CATEGORY_LATER','remove','updateItemPinned','length','setLoadingSkeleton','itemId','activateTab:history','rename','_clearItemLoading','unpin','map','8906224ILzKqn','updateItems','resize','8419768yPdaRr','_handleHistoryErrorUI','itemsLoaded','AI_CHAT_UNTITLED_CONVERSATION','createdAt','_aiChatController','1GEqyOs','updateItemLoadingState','isPremiumPlugin','_handleSelectConversation','_getCategorizedItems','AI_CHAT_HISTORY_UNPIN_ACTION','history','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','_aiConnector','showError','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','chat','_showConversationHistory','get','getItem','push','init','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','plugins','updates','7266490hDoimv','getDate','AI_CHAT_HISTORY_CATEGORY_TODAY','selectConversation','toLocaleDateString','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_GENERIC','error','itemRemoved','2127788gPvVZb','activeConversation','loadItems','_setItemLoading','setDate','getMonth','_handleRemove','setConversationPinned','requires','_updateHistoryItemsUI','_handleEditTitle','AI_CHAT_HISTORY_CATEGORY_PINNED','removeConversation','updateItemTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','editConversationTitle','itemUpdated','4068483BPbZhe','pinned','removeHistoryItem','resizedTabs','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','isOfficialPlugin','locale','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','_aiChatHistoryUi','getFullYear','loadConversation','4wTFJFR','2616uNdZpn','13365OVOOpx','removeItem','activateTab','items','pin','title','view','getGroupId','AIChatHistoryController','getItems','_handleTogglePin','listenTo'];_0x3bbf=function(){return _0x33dfa7;};return _0x3bbf();}import{AIChatHistoryConversations as _0x36f54e}from'./model/aichathistoryconversations.js';import{getTranslation as _0x5914c8}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x13fa31{[_0x34a673(0x1c1)];[_0x34a673(0x189)];[_0x34a673(0x1b8)];static get[_0x34a673(0x178)](){return[_0x47233f,_0x68b2c9,_0x50e52a,_0x3ffa32];}static get[_0x34a673(0x1a4)](){const _0x220b9f=_0x34a673;return _0x220b9f(0x196);}static get[_0x34a673(0x186)](){return!0x0;}static get[_0x34a673(0x1bb)](){return!0x0;}[_0x34a673(0x163)](){const _0x304864=_0x34a673;this[_0x304864(0x1c1)]=this[_0x304864(0x19f)][_0x304864(0x165)][_0x304864(0x160)](_0x47233f),this[_0x304864(0x189)]=this[_0x304864(0x19f)][_0x304864(0x165)][_0x304864(0x160)](_0x50e52a),this[_0x304864(0x1b8)]=this[_0x304864(0x19f)][_0x304864(0x165)][_0x304864(0x160)](_0x68b2c9);const _0x5397b0=this[_0x304864(0x19f)][_0x304864(0x165)][_0x304864(0x160)](_0x3ffa32),_0x527123=this[_0x304864(0x1b8)][_0x304864(0x195)]();this[_0x304864(0x1bf)]=new _0x36f54e({'connector':this[_0x304864(0x1c1)],'group':_0x527123}),this[_0x304864(0x199)](this[_0x304864(0x189)],_0x304864(0x17c),(_0x40a32,_0xf2522f)=>{const _0x4e65d9=_0x304864;this[_0x4e65d9(0x173)](_0xf2522f['id'],_0x4e65d9(0x1a6)),this[_0x4e65d9(0x176)](_0xf2522f['id']);}),this[_0x304864(0x199)](this[_0x304864(0x189)],_0x304864(0x17f),(_0x1ebe4b,_0xf80b6a)=>{const _0x1db5b4=_0x304864;this[_0x1db5b4(0x173)](_0xf80b6a['id'],_0x1db5b4(0x1ac)),this[_0x1db5b4(0x17a)](_0xf80b6a['id'],_0xf80b6a[_0x1db5b4(0x193)]);}),this[_0x304864(0x199)](this[_0x304864(0x1bf)],_0x304864(0x180),(_0x570cbb,_0x255b28)=>{const _0x21b205=_0x304864;void 0x0!==_0x255b28[_0x21b205(0x166)][_0x21b205(0x193)]&&this[_0x21b205(0x189)][_0x21b205(0x17d)](_0x255b28[_0x21b205(0x1aa)],_0x255b28[_0x21b205(0x166)][_0x21b205(0x193)]),void 0x0!==_0x255b28[_0x21b205(0x166)][_0x21b205(0x182)]&&this[_0x21b205(0x179)](),this[_0x21b205(0x1ad)](_0x255b28[_0x21b205(0x1aa)]);}),this[_0x304864(0x199)](this[_0x304864(0x1bf)],_0x304864(0x16f),(_0x561b1a,_0x454da6)=>{const _0x56abbb=_0x304864;this[_0x56abbb(0x1b8)][_0x56abbb(0x16c)](_0x454da6[_0x56abbb(0x1aa)]),this[_0x56abbb(0x189)][_0x56abbb(0x183)](_0x454da6[_0x56abbb(0x1aa)]),this[_0x56abbb(0x1ad)](_0x454da6[_0x56abbb(0x1aa)]);}),this[_0x304864(0x199)](this[_0x304864(0x1bf)],_0x304864(0x1b5),()=>{const _0x54cbb5=_0x304864;this[_0x54cbb5(0x179)]();}),this[_0x304864(0x199)](this[_0x304864(0x1bf)],_0x304864(0x16e),(_0x92e89a,_0x52e29e)=>{const _0x3daae0=_0x304864;this[_0x3daae0(0x1b4)](_0x52e29e[_0x3daae0(0x16e)],_0x52e29e[_0x3daae0(0x19e)],_0x52e29e[_0x3daae0(0x1aa)]);}),this[_0x304864(0x199)](this[_0x304864(0x189)],_0x304864(0x16a),(_0x439575,_0x59dcc1)=>{const _0x4a89c2=_0x304864;this[_0x4a89c2(0x1bc)](_0x59dcc1['id']);}),this[_0x304864(0x199)](this[_0x304864(0x189)],_0x304864(0x177),(_0x4c70f6,_0x1dc6f2)=>{const _0x51b6a7=_0x304864,_0x247b15=_0x1dc6f2[_0x51b6a7(0x182)]?_0x51b6a7(0x192):_0x51b6a7(0x1ae);this[_0x51b6a7(0x173)](_0x1dc6f2['id'],_0x247b15),this[_0x51b6a7(0x198)](_0x1dc6f2['id'],_0x1dc6f2[_0x51b6a7(0x182)]);}),this[_0x304864(0x199)](this[_0x304864(0x189)],_0x304864(0x19c),()=>{const _0x318026=_0x304864;_0x5397b0[_0x318026(0x194)][_0x318026(0x190)](_0x318026(0x15e));}),this[_0x304864(0x199)](this[_0x304864(0x1b8)],_0x304864(0x1a3),()=>{const _0x279742=_0x304864;this[_0x279742(0x179)]();}),_0x5397b0[_0x304864(0x194)]['on'](_0x304864(0x1ab),()=>{const _0x5f641b=_0x304864;this[_0x5f641b(0x15f)]();}),this[_0x304864(0x199)](_0x5397b0,_0x304864(0x184),(_0x284c80,_0x47f4d5)=>{const _0x23c491=_0x304864;this[_0x23c491(0x1a2)](_0x47f4d5);}),this[_0x304864(0x199)](this[_0x304864(0x189)],_0x304864(0x19d),()=>{const _0x19bd57=_0x304864;_0x5397b0[_0x19bd57(0x1b2)]();});}async[_0x34a673(0x17a)](_0x6ca395,_0x490f16){const _0x37aa18=_0x34a673;await this[_0x37aa18(0x1bf)][_0x37aa18(0x17d)](_0x6ca395,_0x490f16);}async[_0x34a673(0x198)](_0x57bde2,_0x3fd178){const _0x2ba8f7=_0x34a673;await this[_0x2ba8f7(0x1bf)][_0x2ba8f7(0x1a7)](_0x57bde2,_0x3fd178);}async[_0x34a673(0x176)](_0x5dc9c5){const _0x2aaa6=_0x34a673;await this[_0x2aaa6(0x1bf)][_0x2aaa6(0x18f)](_0x5dc9c5);}async[_0x34a673(0x1bc)](_0x276aec){const _0x3a9632=_0x34a673;await this[_0x3a9632(0x1b8)][_0x3a9632(0x18b)](_0x276aec);}async[_0x34a673(0x15f)](){const _0x1926fb=_0x34a673;this[_0x1926fb(0x189)][_0x1926fb(0x15c)](''),this[_0x1926fb(0x189)][_0x1926fb(0x1a9)](!0x0),await this[_0x1926fb(0x1bf)][_0x1926fb(0x163)](),this[_0x1926fb(0x189)][_0x1926fb(0x1a9)](!0x1);}[_0x34a673(0x179)](){const _0x13962c=_0x34a673,_0x5098b5=this[_0x13962c(0x1b8)][_0x13962c(0x171)]?.['id'],_0x54abde=this[_0x13962c(0x1bd)]()[_0x13962c(0x1af)](_0x13f67f=>({'title':_0x13f67f[_0x13962c(0x193)],'items':_0x13f67f[_0x13962c(0x191)][_0x13962c(0x1af)](_0x4869a1=>({'id':_0x4869a1['id'],'title':_0x4869a1[_0x13962c(0x193)]||_0x5914c8(this[_0x13962c(0x19f)][_0x13962c(0x187)],_0x13962c(0x1b6)),'createdAt':new Date(_0x4869a1[_0x13962c(0x1b7)])[_0x13962c(0x16b)](),'active':_0x4869a1['id']===_0x5098b5,'pinned':_0x4869a1[_0x13962c(0x182)]}))}));this[_0x13962c(0x189)][_0x13962c(0x1b1)](_0x54abde);}[_0x34a673(0x173)](_0x565fb4,_0x12c3b7){const _0x3a8da8=_0x34a673;this[_0x3a8da8(0x189)][_0x3a8da8(0x1ba)](_0x565fb4,_0x12c3b7,!0x0);}[_0x34a673(0x1ad)](_0x469585){const _0x7687e0=_0x34a673;this[_0x7687e0(0x189)][_0x7687e0(0x1ba)](_0x469585,null,!0x1);}[_0x34a673(0x1b4)](_0x21c9a3,_0x1e3be2,_0x5a8d05){const _0x356ba0=_0x34a673,_0x3e55a6=this[_0x356ba0(0x1a1)](_0x1e3be2,_0x5a8d05);this[_0x356ba0(0x189)][_0x356ba0(0x15c)](_0x3e55a6),_0x5a8d05&&this[_0x356ba0(0x1ad)](_0x5a8d05),this[_0x356ba0(0x189)][_0x356ba0(0x1a9)](!0x1);}[_0x34a673(0x1a1)](_0x2ffe01,_0x3b4562){const _0x1f160f=_0x34a673,_0x420b36=_0x3b4562?this[_0x1f160f(0x1bf)][_0x1f160f(0x161)](_0x3b4562):null,_0x33a403=_0x420b36?.[_0x1f160f(0x193)]||_0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x1f160f(0x1b6));switch(_0x2ffe01){case _0x1f160f(0x17d):return _0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x1f160f(0x164),_0x33a403);case _0x1f160f(0x1a7):{const _0x455428=_0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x420b36?.[_0x1f160f(0x182)]?_0x1f160f(0x1be):_0x1f160f(0x19b));return _0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x1f160f(0x185),[_0x455428,_0x33a403]);}case _0x1f160f(0x18f):return _0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x1f160f(0x1c0),_0x33a403);case _0x1f160f(0x163):case _0x1f160f(0x172):return _0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x1f160f(0x15d));default:return _0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x1f160f(0x16d));}}[_0x34a673(0x1bd)](){const _0x99d7fd=_0x34a673,_0x1b2e69=new Date(),_0x414b14=new Date(_0x1b2e69[_0x99d7fd(0x18a)](),_0x1b2e69[_0x99d7fd(0x175)](),_0x1b2e69[_0x99d7fd(0x168)]()),_0x1400da=new Date(_0x414b14);_0x1400da[_0x99d7fd(0x174)](_0x1400da[_0x99d7fd(0x168)]()-0x1);const _0x144dba=new Date(_0x414b14);_0x144dba[_0x99d7fd(0x174)](_0x144dba[_0x99d7fd(0x168)]()-0xe);const _0xd99fb=this[_0x99d7fd(0x1bf)][_0x99d7fd(0x197)]({'pinned':!0x0}),_0x481f82=this[_0x99d7fd(0x1bf)][_0x99d7fd(0x197)]({'from':_0x414b14,'to':_0x414b14}),_0x41f397=this[_0x99d7fd(0x1bf)][_0x99d7fd(0x197)]({'from':_0x1400da,'to':_0x1400da}),_0x478a2c=this[_0x99d7fd(0x1bf)][_0x99d7fd(0x197)]({'from':_0x144dba,'to':_0x1400da}),_0x3ed0bf=this[_0x99d7fd(0x1bf)][_0x99d7fd(0x197)]({'to':_0x144dba}),_0x254e76=[];return _0xd99fb[_0x99d7fd(0x1a8)]>0x0&&_0x254e76[_0x99d7fd(0x162)]({'title':_0x5914c8(this[_0x99d7fd(0x19f)][_0x99d7fd(0x187)],_0x99d7fd(0x17b)),'items':_0xd99fb}),_0x481f82[_0x99d7fd(0x1a8)]>0x0&&_0x254e76[_0x99d7fd(0x162)]({'title':_0x5914c8(this[_0x99d7fd(0x19f)][_0x99d7fd(0x187)],_0x99d7fd(0x169)),'items':_0x481f82}),_0x41f397[_0x99d7fd(0x1a8)]>0x0&&_0x254e76[_0x99d7fd(0x162)]({'title':_0x5914c8(this[_0x99d7fd(0x19f)][_0x99d7fd(0x187)],_0x99d7fd(0x188)),'items':_0x41f397}),_0x478a2c[_0x99d7fd(0x1a8)]>0x0&&_0x254e76[_0x99d7fd(0x162)]({'title':_0x5914c8(this[_0x99d7fd(0x19f)][_0x99d7fd(0x187)],_0x99d7fd(0x17e)),'items':_0x478a2c}),_0x3ed0bf[_0x99d7fd(0x1a8)]>0x0&&_0x254e76[_0x99d7fd(0x162)]({'title':_0x5914c8(this[_0x99d7fd(0x19f)][_0x99d7fd(0x187)],_0x99d7fd(0x1a5)),'items':_0x3ed0bf}),_0x254e76;}[_0x34a673(0x1a2)](_0x71cd9d){const _0x1c4170=_0x34a673;this[_0x1c4170(0x189)][_0x1c4170(0x1a0)](_0x71cd9d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22d1df=_0x35a2;(function(_0x33e644,_0x5ee0bd){const _0x1dd3cc=_0x35a2,_0x343d95=_0x33e644();while(!![]){try{const _0x53b28c=-parseInt(_0x1dd3cc(0xd9))/0x1*(-parseInt(_0x1dd3cc(0xee))/0x2)+-parseInt(_0x1dd3cc(0xd6))/0x3+parseInt(_0x1dd3cc(0xde))/0x4*(parseInt(_0x1dd3cc(0xf2))/0x5)+-parseInt(_0x1dd3cc(0xe9))/0x6*(-parseInt(_0x1dd3cc(0xfd))/0x7)+-parseInt(_0x1dd3cc(0xd3))/0x8+-parseInt(_0x1dd3cc(0xf4))/0x9*(parseInt(_0x1dd3cc(0xff))/0xa)+parseInt(_0x1dd3cc(0xed))/0xb*(parseInt(_0x1dd3cc(0xf1))/0xc);if(_0x53b28c===_0x5ee0bd)break;else _0x343d95['push'](_0x343d95['shift']());}catch(_0x2c18a8){_0x343d95['push'](_0x343d95['shift']());}}}(_0x352e,0x92d18));import{ContextPlugin as _0x18b6ea}from'ckeditor5/src/core.js';import{AITabs as _0x314b2d}from'../aitabs/aitabs.js';function _0x352e(){const _0x46ee15=['14LLvOCY','view','470GPydVW','get','history','setLoadingSkeleton','9060280dhFXjv','errorMessage','isLoading','2997180ogUulh','selectConversation','updateItems','229vOOxHo','_historyView','plugins','isOfficialPlugin','removeHistoryItem','1164HTJCLx','updateHistoryItemsWithCategories','hideError','locale','requires','updateItemLoadingState','isMaximized','AI_CHAT_HISTORY_HEADING','editConversationTitle','resizeTabs','AIChatHistoryUI','648426xLrPha','setConversationPinned','showResizeButton','isPremiumPlugin','11jacxXU','2338eeIPUP','pluginName','removeConversation','14080092xlBExd','19555tkTmkJ','showError','11934YivIZb','setIsMaximized','AITabs','openChat','addTab','showConversationHistory','updateItemTitle','delegate','context'];_0x352e=function(){return _0x46ee15;};return _0x352e();}import{IconAIHistory as _0x50e2a4}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x53b930}from'./ui/aichathistoryview.js';import{getTranslation as _0x16cc9d}from'../aicore/utils/common-translations.js';function _0x35a2(_0x49d9b9,_0x1bcea7){const _0x352eed=_0x352e();return _0x35a2=function(_0x35a2c7,_0x457c34){_0x35a2c7=_0x35a2c7-0xd0;let _0x18240b=_0x352eed[_0x35a2c7];return _0x18240b;},_0x35a2(_0x49d9b9,_0x1bcea7);}import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x22d1df(0xf9),_0x22d1df(0xf0),_0x22d1df(0xe6),_0x22d1df(0xea),_0x22d1df(0xd7),_0x22d1df(0xf7),_0x22d1df(0xe7)];export class AIChatHistoryUI extends _0x18b6ea{static get[_0x22d1df(0xe2)](){return[_0x314b2d];}[_0x22d1df(0xda)];static get[_0x22d1df(0xef)](){const _0x50e0d0=_0x22d1df;return _0x50e0d0(0xe8);}static get[_0x22d1df(0xdc)](){return!0x0;}static get[_0x22d1df(0xec)](){return!0x0;}constructor(_0x2176cf){const _0x452264=_0x22d1df;super(_0x2176cf);const _0x4b907f=this[_0x452264(0xfc)][_0x452264(0xdb)][_0x452264(0xd0)](_0x452264(0xf6));this[_0x452264(0xda)]=new _0x53b930(this[_0x452264(0xfc)][_0x452264(0xe1)],_0x4b907f[_0x452264(0xeb)]),this[_0x452264(0xda)][_0x452264(0xfb)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4b907f[_0x452264(0xfe)][_0x452264(0xf8)]({'id':_0x452264(0xd1),'buttonLabel':_0x16cc9d(this[_0x452264(0xfc)][_0x452264(0xe1)],_0x452264(0xe5)),'buttonIcon':_0x50e2a4,'order':0x0,'content':this[_0x452264(0xda)]});}[_0x22d1df(0xdd)](_0x48d61e){const _0x21822a=_0x22d1df;this[_0x21822a(0xda)][_0x21822a(0xdd)](_0x48d61e);}[_0x22d1df(0xd8)](_0xbe6cf8){const _0x2edcbd=_0x22d1df;this[_0x2edcbd(0xda)][_0x2edcbd(0xdf)](_0xbe6cf8);}[_0x22d1df(0xfa)](_0x5c5bab,_0x192971){const _0x109986=_0x22d1df;this[_0x109986(0xda)][_0x109986(0xfa)](_0x5c5bab,_0x192971);}[_0x22d1df(0xe3)](_0x109ddf,_0x828c50,_0x45e8b5){const _0x42792e=_0x22d1df;this[_0x42792e(0xda)][_0x42792e(0xe3)](_0x109ddf,_0x828c50,_0x45e8b5);}[_0x22d1df(0xd2)](_0x2f5483){const _0x569dea=_0x22d1df;this[_0x569dea(0xda)][_0x569dea(0xd5)]=_0x2f5483;}[_0x22d1df(0xf3)](_0x12d637){const _0x54f60f=_0x22d1df;this[_0x54f60f(0xda)][_0x54f60f(0xd4)]=_0x12d637;}[_0x22d1df(0xe0)](){const _0x43b52d=_0x22d1df;this[_0x43b52d(0xda)][_0x43b52d(0xd4)]='';}[_0x22d1df(0xf5)](_0x2e5219){const _0x14cb4d=_0x22d1df;this[_0x14cb4d(0xda)][_0x14cb4d(0xe4)]=_0x2e5219;}}
23
+ const _0x328cb8=_0x2b1e;(function(_0x164df7,_0x1cda9a){const _0x281cbf=_0x2b1e,_0x198665=_0x164df7();while(!![]){try{const _0x11af76=parseInt(_0x281cbf(0x16a))/0x1*(parseInt(_0x281cbf(0x166))/0x2)+parseInt(_0x281cbf(0x184))/0x3+-parseInt(_0x281cbf(0x168))/0x4+-parseInt(_0x281cbf(0x15f))/0x5*(-parseInt(_0x281cbf(0x187))/0x6)+-parseInt(_0x281cbf(0x172))/0x7*(parseInt(_0x281cbf(0x183))/0x8)+parseInt(_0x281cbf(0x182))/0x9*(-parseInt(_0x281cbf(0x177))/0xa)+parseInt(_0x281cbf(0x18a))/0xb*(parseInt(_0x281cbf(0x15d))/0xc);if(_0x11af76===_0x1cda9a)break;else _0x198665['push'](_0x198665['shift']());}catch(_0x46200b){_0x198665['push'](_0x198665['shift']());}}}(_0x22de,0xa4ec7));import{ContextPlugin as _0x583bc9}from'ckeditor5/src/core.js';import{AITabs as _0x15e772}from'../aitabs/aitabs.js';function _0x22de(){const _0x47c132=['showError','errorMessage','removeHistoryItem','3962bOncQF','updateItemTitle','showConversationHistory','openChat','addTab','14300zlFoPN','resizeTabs','updateHistoryItemsWithCategories','setConversationPinned','_historyView','isLoading','isOfficialPlugin','isMaximized','showResizeButton','get','AIChatHistoryUI','1008UyjUsJ','5200jeYqCk','2001705tzPSgc','history','pluginName','49764RQnEJc','AI_CHAT_HISTORY_HEADING','locale','11ZmttOh','hideError','isPremiumPlugin','2589876uyiYeh','selectConversation','355vuKJUC','view','editConversationTitle','AITabs','setLoadingSkeleton','context','plugins','32MsECaI','removeConversation','2197220LIGBHK','delegate','17560iPoSBY','requires','setIsMaximized','updateItems','updateItemLoadingState'];_0x22de=function(){return _0x47c132;};return _0x22de();}import{IconAIHistory as _0x4718df}from'ckeditor5/src/icons.js';function _0x2b1e(_0x298321,_0xd5c2d2){const _0x22de7b=_0x22de();return _0x2b1e=function(_0x2b1e96,_0x34f433){_0x2b1e96=_0x2b1e96-0x15b;let _0x587aa2=_0x22de7b[_0x2b1e96];return _0x587aa2;},_0x2b1e(_0x298321,_0xd5c2d2);}import{AIChatHistoryView as _0x4e11b5}from'./ui/aichathistoryview.js';import{getTranslation as _0x4e6986}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x328cb8(0x174),_0x328cb8(0x167),_0x328cb8(0x161),_0x328cb8(0x17a),_0x328cb8(0x15e),_0x328cb8(0x175),_0x328cb8(0x178)];export class AIChatHistoryUI extends _0x583bc9{static get[_0x328cb8(0x16b)](){return[_0x15e772];}[_0x328cb8(0x17b)];static get[_0x328cb8(0x186)](){const _0x7e21b0=_0x328cb8;return _0x7e21b0(0x181);}static get[_0x328cb8(0x17d)](){return!0x0;}static get[_0x328cb8(0x15c)](){return!0x0;}constructor(_0x1ee768){const _0x134c00=_0x328cb8;super(_0x1ee768);const _0x3d5f06=this[_0x134c00(0x164)][_0x134c00(0x165)][_0x134c00(0x180)](_0x134c00(0x162));this[_0x134c00(0x17b)]=new _0x4e11b5(this[_0x134c00(0x164)][_0x134c00(0x189)],_0x3d5f06[_0x134c00(0x17f)]),this[_0x134c00(0x17b)][_0x134c00(0x169)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x3d5f06[_0x134c00(0x160)][_0x134c00(0x176)]({'id':_0x134c00(0x185),'buttonLabel':_0x4e6986(this[_0x134c00(0x164)][_0x134c00(0x189)],_0x134c00(0x188)),'buttonIcon':_0x4718df,'order':0x0,'content':this[_0x134c00(0x17b)]});}[_0x328cb8(0x171)](_0x24a68f){const _0x3b9a61=_0x328cb8;this[_0x3b9a61(0x17b)][_0x3b9a61(0x171)](_0x24a68f);}[_0x328cb8(0x16d)](_0x21394d){const _0x4dc782=_0x328cb8;this[_0x4dc782(0x17b)][_0x4dc782(0x179)](_0x21394d);}[_0x328cb8(0x173)](_0x1f21ab,_0xf21750){const _0x21d62f=_0x328cb8;this[_0x21d62f(0x17b)][_0x21d62f(0x173)](_0x1f21ab,_0xf21750);}[_0x328cb8(0x16e)](_0x321ce7,_0x66fd8d,_0x528a29){const _0x5340cd=_0x328cb8;this[_0x5340cd(0x17b)][_0x5340cd(0x16e)](_0x321ce7,_0x66fd8d,_0x528a29);}[_0x328cb8(0x163)](_0x7c2e9d){const _0x2ee736=_0x328cb8;this[_0x2ee736(0x17b)][_0x2ee736(0x17c)]=_0x7c2e9d;}[_0x328cb8(0x16f)](_0x229cc6){const _0x373256=_0x328cb8;this[_0x373256(0x17b)][_0x373256(0x170)]=_0x229cc6;}[_0x328cb8(0x15b)](){const _0x41a94f=_0x328cb8;this[_0x41a94f(0x17b)][_0x41a94f(0x170)]='';}[_0x328cb8(0x16c)](_0x4e02f9){const _0x2f1073=_0x328cb8;this[_0x2f1073(0x17b)][_0x2f1073(0x17e)]=_0x4e02f9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x221f(_0x6d33d9,_0x517af8){const _0x1a05e8=_0x1a05();return _0x221f=function(_0x221fa9,_0x39f010){_0x221fa9=_0x221fa9-0xa1;let _0x203cd5=_0x1a05e8[_0x221fa9];return _0x203cd5;},_0x221f(_0x6d33d9,_0x517af8);}const _0xb9e7cd=_0x221f;function _0x1a05(){const _0x53ef30=['getItem','3145648kjnrAu','createdAt','fire','filter','getMonth','getDate','fetchConversations','itemRemoved','getFullYear','1715931yCAlrI','map','updateConversation','splice','updateItemPinned','updateItemTitle','2236199LESqeX','items','itemsLoaded','getItems','1875269qWYfVj','getResult','84hZyErf','itemUpdated','findIndex','error','545995QkKgoh','init','group','updatePinned','30416560SXfSNC','from','loadItems','connector','pinned','removeItem','find','execute','getConversations','addItem','950062tlfPZr','getTime','deleteConversation','updateTitle','push'];_0x1a05=function(){return _0x53ef30;};return _0x1a05();}(function(_0x46c0e1,_0x1990a8){const _0xef0f9f=_0x221f,_0x5a1eff=_0x46c0e1();while(!![]){try{const _0x217d40=-parseInt(_0xef0f9f(0xa9))/0x1+parseInt(_0xef0f9f(0xbd))/0x2+parseInt(_0xef0f9f(0xcc))/0x3+-parseInt(_0xef0f9f(0xc3))/0x4+-parseInt(_0xef0f9f(0xaf))/0x5*(parseInt(_0xef0f9f(0xab))/0x6)+parseInt(_0xef0f9f(0xa5))/0x7+parseInt(_0xef0f9f(0xb3))/0x8;if(_0x217d40===_0x1990a8)break;else _0x5a1eff['push'](_0x5a1eff['shift']());}catch(_0x2db3ce){_0x5a1eff['push'](_0x5a1eff['shift']());}}}(_0x1a05,0xeec94));import{EmitterMixin as _0xb9b9d0}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x17e9d3}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0xb9b9d0(){[_0xb9e7cd(0xa6)]=[];[_0xb9e7cd(0xb6)];[_0xb9e7cd(0xb1)];constructor({connector:_0x460bb2,group:_0x46efb7}){const _0x1e3e6c=_0xb9e7cd;super(),this[_0x1e3e6c(0xb6)]=_0x460bb2,this[_0x1e3e6c(0xb1)]=_0x46efb7;}async[_0xb9e7cd(0xb0)](){const _0x4d2c0f=_0xb9e7cd;try{const _0x171292=this[_0x4d2c0f(0xb6)][_0x4d2c0f(0xc9)](this[_0x4d2c0f(0xb1)]),_0xdf9ce6=await _0x171292[_0x4d2c0f(0xbb)]();this[_0x4d2c0f(0xb5)](_0xdf9ce6);}catch(_0x132955){this[_0x4d2c0f(0xc5)](_0x4d2c0f(0xae),{'error':_0x132955,'operation':_0x4d2c0f(0xb0)});}}[_0xb9e7cd(0xbc)](_0x4285ff){const _0x29975d=_0xb9e7cd;this[_0x29975d(0xa6)][_0x29975d(0xc1)](_0x4285ff);}async[_0xb9e7cd(0xb8)](_0x228d1b){const _0x52b6ba=_0xb9e7cd,_0x5bad0a=this[_0x52b6ba(0xa6)][_0x52b6ba(0xad)](_0x34361e=>_0x34361e['id']===_0x228d1b);if(-0x1===_0x5bad0a)return!0x1;try{return await this[_0x52b6ba(0xb6)][_0x52b6ba(0xbf)](_0x228d1b)[_0x52b6ba(0xba)](),this[_0x52b6ba(0xa6)][_0x52b6ba(0xa2)](_0x5bad0a,0x1),this[_0x52b6ba(0xc5)](_0x52b6ba(0xca),{'itemId':_0x228d1b}),!0x0;}catch(_0x311a01){return this[_0x52b6ba(0xc5)](_0x52b6ba(0xae),{'error':_0x311a01,'operation':_0x52b6ba(0xb8),'itemId':_0x228d1b}),!0x1;}}[_0xb9e7cd(0xc2)](_0x4d179d){const _0x1097aa=_0xb9e7cd;return this[_0x1097aa(0xa6)][_0x1097aa(0xb9)](_0x473638=>_0x473638['id']===_0x4d179d);}async[_0xb9e7cd(0xa4)](_0x3bd758,_0x466114){const _0x1f6e0d=_0xb9e7cd,_0x5a81ab=this[_0x1f6e0d(0xc2)](_0x3bd758);if(!_0x5a81ab)return!0x1;try{return await this[_0x1f6e0d(0xb6)][_0x1f6e0d(0xa1)](_0x3bd758,{'title':_0x466114})[_0x1f6e0d(0xaa)](),_0x5a81ab[_0x1f6e0d(0xc0)](_0x466114),this[_0x1f6e0d(0xc5)](_0x1f6e0d(0xac),{'itemId':_0x3bd758,'updates':{'title':_0x466114}}),!0x0;}catch(_0x3359dc){return this[_0x1f6e0d(0xc5)](_0x1f6e0d(0xae),{'error':_0x3359dc,'operation':_0x1f6e0d(0xa4),'itemId':_0x3bd758}),!0x1;}}async[_0xb9e7cd(0xa3)](_0x3825e6,_0x44e318){const _0x4eca3d=_0xb9e7cd,_0x41a6dd=this[_0x4eca3d(0xc2)](_0x3825e6);if(!_0x41a6dd)return!0x1;try{return await this[_0x4eca3d(0xb6)][_0x4eca3d(0xa1)](_0x3825e6,{'pinned':_0x44e318})[_0x4eca3d(0xaa)](),_0x41a6dd[_0x4eca3d(0xb2)](_0x44e318),this[_0x4eca3d(0xc5)](_0x4eca3d(0xac),{'itemId':_0x3825e6,'updates':{'pinned':_0x44e318}}),!0x0;}catch(_0x4bddf0){return this[_0x4eca3d(0xc5)](_0x4eca3d(0xae),{'error':_0x4bddf0,'operation':_0x4eca3d(0xa3),'itemId':_0x3825e6}),!0x1;}}[_0xb9e7cd(0xb5)](_0x486833){const _0x3e840c=_0xb9e7cd;try{this[_0x3e840c(0xa6)]=[],_0x486833[_0x3e840c(0xcd)](_0x55c8b9=>{const _0x4732b4=_0x3e840c;this[_0x4732b4(0xbc)](new _0x17e9d3(_0x55c8b9));}),this[_0x3e840c(0xc5)](_0x3e840c(0xa7),{'items':[...this[_0x3e840c(0xa6)]]});}catch(_0x3c9600){this[_0x3e840c(0xc5)](_0x3e840c(0xae),{'error':_0x3c9600,'operation':_0x3e840c(0xb5)});}}[_0xb9e7cd(0xa8)](_0x2b7a27={}){const _0x1ee965=_0xb9e7cd,_0x4bbae7=void 0x0!==_0x2b7a27[_0x1ee965(0xb7)]&&_0x2b7a27[_0x1ee965(0xb7)],_0x5216ec=_0x2b7a27[_0x1ee965(0xb4)]?new Date(_0x2b7a27[_0x1ee965(0xb4)][_0x1ee965(0xcb)](),_0x2b7a27[_0x1ee965(0xb4)][_0x1ee965(0xc7)](),_0x2b7a27[_0x1ee965(0xb4)][_0x1ee965(0xc8)]()):null,_0x2a6ab3=_0x2b7a27['to']?new Date(_0x2b7a27['to'][_0x1ee965(0xcb)](),_0x2b7a27['to'][_0x1ee965(0xc7)](),_0x2b7a27['to'][_0x1ee965(0xc8)]()):null;return this[_0x1ee965(0xa6)][_0x1ee965(0xc6)](_0x237bf3=>{const _0x53d966=_0x1ee965;if(_0x237bf3[_0x53d966(0xb7)]!==_0x4bbae7)return!0x1;if(_0x2a6ab3){const _0x3a930e=new Date(_0x237bf3[_0x53d966(0xc4)][_0x53d966(0xcb)](),_0x237bf3[_0x53d966(0xc4)][_0x53d966(0xc7)](),_0x237bf3[_0x53d966(0xc4)][_0x53d966(0xc8)]());return _0x5216ec?_0x5216ec[_0x53d966(0xbe)]()===_0x2a6ab3[_0x53d966(0xbe)]()?_0x3a930e[_0x53d966(0xbe)]()===_0x5216ec[_0x53d966(0xbe)]():_0x3a930e<_0x2a6ab3&&_0x3a930e>=_0x5216ec:_0x3a930e<_0x2a6ab3;}return!0x0;});}}
23
+ const _0x47293d=_0x1a71;(function(_0x2a5a6e,_0x329250){const _0x5c4d17=_0x1a71,_0x5d9aab=_0x2a5a6e();while(!![]){try{const _0x51c594=parseInt(_0x5c4d17(0xa9))/0x1+-parseInt(_0x5c4d17(0xb6))/0x2+-parseInt(_0x5c4d17(0xa6))/0x3+-parseInt(_0x5c4d17(0xc9))/0x4+-parseInt(_0x5c4d17(0xcb))/0x5+-parseInt(_0x5c4d17(0xb8))/0x6*(-parseInt(_0x5c4d17(0xcc))/0x7)+-parseInt(_0x5c4d17(0xc1))/0x8*(-parseInt(_0x5c4d17(0xb0))/0x9);if(_0x51c594===_0x329250)break;else _0x5d9aab['push'](_0x5d9aab['shift']());}catch(_0x56cd06){_0x5d9aab['push'](_0x5d9aab['shift']());}}}(_0x18c3,0x54f2e));import{EmitterMixin as _0xcd538a}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x3fc915}from'./aichathistoryitem.js';function _0x1a71(_0x1802db,_0x27c217){const _0x18c389=_0x18c3();return _0x1a71=function(_0x1a717e,_0x4602de){_0x1a717e=_0x1a717e-0xa2;let _0x139d16=_0x18c389[_0x1a717e];return _0x139d16;},_0x1a71(_0x1802db,_0x27c217);}function _0x18c3(){const _0x5076e8=['init','error','updateItemTitle','1208280cQgPwT','updatePinned','3241900UXcZNL','263249awqhYU','map','removeItem','updateItemPinned','itemUpdated','getTime','getMonth','group','777561hgetfl','pinned','loadItems','400961VMaHcY','getFullYear','push','getItem','findIndex','deleteConversation','from','18gVeGaf','splice','updateTitle','itemsLoaded','addItem','fetchConversations','1291458inLFMj','items','42btrRZp','getItems','createdAt','fire','getConversations','getDate','itemRemoved','find','updateConversation','6156424mjfLMO','filter','execute','connector','getResult'];_0x18c3=function(){return _0x5076e8;};return _0x18c3();}export class AIChatHistoryConversations extends _0xcd538a(){[_0x47293d(0xb7)]=[];[_0x47293d(0xc4)];[_0x47293d(0xa5)];constructor({connector:_0x4957a2,group:_0x3528c3}){const _0x1aa085=_0x47293d;super(),this[_0x1aa085(0xc4)]=_0x4957a2,this[_0x1aa085(0xa5)]=_0x3528c3;}async[_0x47293d(0xc6)](){const _0xc950c2=_0x47293d;try{const _0x28419d=this[_0xc950c2(0xc4)][_0xc950c2(0xb5)](this[_0xc950c2(0xa5)]),_0x38af3a=await _0x28419d[_0xc950c2(0xbc)]();this[_0xc950c2(0xa8)](_0x38af3a);}catch(_0x4f5da3){this[_0xc950c2(0xbb)](_0xc950c2(0xc7),{'error':_0x4f5da3,'operation':_0xc950c2(0xc6)});}}[_0x47293d(0xb4)](_0x246e0c){const _0x1c68b3=_0x47293d;this[_0x1c68b3(0xb7)][_0x1c68b3(0xab)](_0x246e0c);}async[_0x47293d(0xce)](_0x3726a2){const _0x456383=_0x47293d,_0x21af42=this[_0x456383(0xb7)][_0x456383(0xad)](_0x2aaaaa=>_0x2aaaaa['id']===_0x3726a2);if(-0x1===_0x21af42)return!0x1;try{return await this[_0x456383(0xc4)][_0x456383(0xae)](_0x3726a2)[_0x456383(0xc3)](),this[_0x456383(0xb7)][_0x456383(0xb1)](_0x21af42,0x1),this[_0x456383(0xbb)](_0x456383(0xbe),{'itemId':_0x3726a2}),!0x0;}catch(_0x2f1972){return this[_0x456383(0xbb)](_0x456383(0xc7),{'error':_0x2f1972,'operation':_0x456383(0xce),'itemId':_0x3726a2}),!0x1;}}[_0x47293d(0xac)](_0x3011db){const _0x554800=_0x47293d;return this[_0x554800(0xb7)][_0x554800(0xbf)](_0x1994b5=>_0x1994b5['id']===_0x3011db);}async[_0x47293d(0xc8)](_0x3b9092,_0x3a4742){const _0xce8808=_0x47293d,_0x2868aa=this[_0xce8808(0xac)](_0x3b9092);if(!_0x2868aa)return!0x1;try{return await this[_0xce8808(0xc4)][_0xce8808(0xc0)](_0x3b9092,{'title':_0x3a4742})[_0xce8808(0xc5)](),_0x2868aa[_0xce8808(0xb2)](_0x3a4742),this[_0xce8808(0xbb)](_0xce8808(0xa2),{'itemId':_0x3b9092,'updates':{'title':_0x3a4742}}),!0x0;}catch(_0x27f3a9){return this[_0xce8808(0xbb)](_0xce8808(0xc7),{'error':_0x27f3a9,'operation':_0xce8808(0xc8),'itemId':_0x3b9092}),!0x1;}}async[_0x47293d(0xcf)](_0x2ff25b,_0x2cf52e){const _0x5795f5=_0x47293d,_0x59da57=this[_0x5795f5(0xac)](_0x2ff25b);if(!_0x59da57)return!0x1;try{return await this[_0x5795f5(0xc4)][_0x5795f5(0xc0)](_0x2ff25b,{'pinned':_0x2cf52e})[_0x5795f5(0xc5)](),_0x59da57[_0x5795f5(0xca)](_0x2cf52e),this[_0x5795f5(0xbb)](_0x5795f5(0xa2),{'itemId':_0x2ff25b,'updates':{'pinned':_0x2cf52e}}),!0x0;}catch(_0x3efdc6){return this[_0x5795f5(0xbb)](_0x5795f5(0xc7),{'error':_0x3efdc6,'operation':_0x5795f5(0xcf),'itemId':_0x2ff25b}),!0x1;}}[_0x47293d(0xa8)](_0x37d76d){const _0x45311c=_0x47293d;try{this[_0x45311c(0xb7)]=[],_0x37d76d[_0x45311c(0xcd)](_0x51ebff=>{const _0x50a641=_0x45311c;this[_0x50a641(0xb4)](new _0x3fc915(_0x51ebff));}),this[_0x45311c(0xbb)](_0x45311c(0xb3),{'items':[...this[_0x45311c(0xb7)]]});}catch(_0xdeab00){this[_0x45311c(0xbb)](_0x45311c(0xc7),{'error':_0xdeab00,'operation':_0x45311c(0xa8)});}}[_0x47293d(0xb9)](_0x5bc9b6={}){const _0x4539d3=_0x47293d,_0x464887=void 0x0!==_0x5bc9b6[_0x4539d3(0xa7)]&&_0x5bc9b6[_0x4539d3(0xa7)],_0x362c81=_0x5bc9b6[_0x4539d3(0xaf)]?new Date(_0x5bc9b6[_0x4539d3(0xaf)][_0x4539d3(0xaa)](),_0x5bc9b6[_0x4539d3(0xaf)][_0x4539d3(0xa4)](),_0x5bc9b6[_0x4539d3(0xaf)][_0x4539d3(0xbd)]()):null,_0x106b1c=_0x5bc9b6['to']?new Date(_0x5bc9b6['to'][_0x4539d3(0xaa)](),_0x5bc9b6['to'][_0x4539d3(0xa4)](),_0x5bc9b6['to'][_0x4539d3(0xbd)]()):null;return this[_0x4539d3(0xb7)][_0x4539d3(0xc2)](_0x95923c=>{const _0x61593f=_0x4539d3;if(_0x95923c[_0x61593f(0xa7)]!==_0x464887)return!0x1;if(_0x106b1c){const _0x5a94f4=new Date(_0x95923c[_0x61593f(0xba)][_0x61593f(0xaa)](),_0x95923c[_0x61593f(0xba)][_0x61593f(0xa4)](),_0x95923c[_0x61593f(0xba)][_0x61593f(0xbd)]());return _0x362c81?_0x362c81[_0x61593f(0xa3)]()===_0x106b1c[_0x61593f(0xa3)]()?_0x5a94f4[_0x61593f(0xa3)]()===_0x362c81[_0x61593f(0xa3)]():_0x5a94f4<_0x106b1c&&_0x5a94f4>=_0x362c81:_0x5a94f4<_0x106b1c;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x42beca=_0x2c27;(function(_0x5b65cc,_0x552be4){var _0x2488ed=_0x2c27,_0x20bc84=_0x5b65cc();while(!![]){try{var _0x4fced8=parseInt(_0x2488ed(0x19b))/0x1*(parseInt(_0x2488ed(0x1a6))/0x2)+-parseInt(_0x2488ed(0x1a5))/0x3*(parseInt(_0x2488ed(0x1a1))/0x4)+-parseInt(_0x2488ed(0x1a3))/0x5*(-parseInt(_0x2488ed(0x19f))/0x6)+parseInt(_0x2488ed(0x1a7))/0x7+parseInt(_0x2488ed(0x1a2))/0x8+parseInt(_0x2488ed(0x199))/0x9*(-parseInt(_0x2488ed(0x1a8))/0xa)+-parseInt(_0x2488ed(0x1aa))/0xb;if(_0x4fced8===_0x552be4)break;else _0x20bc84['push'](_0x20bc84['shift']());}catch(_0x86b69b){_0x20bc84['push'](_0x20bc84['shift']());}}}(_0x104b,0xaa29f));import{ObservableMixin as _0x1010ba}from'ckeditor5/src/utils.js';function _0x2c27(_0xd90de5,_0x3ac3f1){var _0x104b31=_0x104b();return _0x2c27=function(_0x2c278b,_0x351411){_0x2c278b=_0x2c278b-0x199;var _0x5dca5c=_0x104b31[_0x2c278b];return _0x5dca5c;},_0x2c27(_0xd90de5,_0x3ac3f1);}function _0x104b(){var _0x14fe25=['526842ZxuIDX','title','735409ZoRQoL','updatePinned','set','createdAt','12SQxNIn','updateTitle','28wmrgQT','5272824hgSTbV','575325ctWbuK','pinned','479421aZHpQu','2gwPlhS','8599087udDDXb','10PPgIIV','updatedAt','10767955ezljVR'];_0x104b=function(){return _0x14fe25;};return _0x104b();}import{escape as _0x2328b0}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x1010ba(){['id'];[_0x42beca(0x19e)];constructor({id:_0x526dea,title:_0x2078a3,createdAt:_0x34d513,updatedAt:_0x3e4adb,pinned:_0x54c135}){var _0x54d154=_0x42beca;super(),this['id']=_0x526dea,this[_0x54d154(0x19e)]=new Date(_0x34d513),this[_0x54d154(0x19d)](_0x54d154(0x19a),_0x2078a3),this[_0x54d154(0x19d)](_0x54d154(0x1a9),_0x3e4adb?new Date(_0x3e4adb):null),this[_0x54d154(0x19d)](_0x54d154(0x1a4),_0x54c135||!0x1);}[_0x42beca(0x1a0)](_0x3222c5){var _0x4911b5=_0x42beca;this[_0x4911b5(0x19d)](_0x4911b5(0x19a),_0x2328b0(_0x3222c5)),this[_0x4911b5(0x1a9)]=new Date();}[_0x42beca(0x19c)](_0x3e90fe){var _0x4ec78f=_0x42beca;this[_0x4ec78f(0x19d)](_0x4ec78f(0x1a4),_0x3e90fe),this[_0x4ec78f(0x1a9)]=new Date();}}
23
+ var _0x2838b1=_0x51c4;(function(_0x55f992,_0x2981c6){var _0x16e990=_0x51c4,_0x4d857d=_0x55f992();while(!![]){try{var _0x5e6d29=parseInt(_0x16e990(0x1dc))/0x1+parseInt(_0x16e990(0x1e2))/0x2*(parseInt(_0x16e990(0x1e6))/0x3)+-parseInt(_0x16e990(0x1e4))/0x4+-parseInt(_0x16e990(0x1e0))/0x5+parseInt(_0x16e990(0x1e8))/0x6+-parseInt(_0x16e990(0x1eb))/0x7+-parseInt(_0x16e990(0x1e3))/0x8*(-parseInt(_0x16e990(0x1e7))/0x9);if(_0x5e6d29===_0x2981c6)break;else _0x4d857d['push'](_0x4d857d['shift']());}catch(_0x35c203){_0x4d857d['push'](_0x4d857d['shift']());}}}(_0x9461,0xc2ea6));import{ObservableMixin as _0x13c6f4}from'ckeditor5/src/utils.js';function _0x51c4(_0x20c263,_0xbf4e7a){var _0x9461b3=_0x9461();return _0x51c4=function(_0x51c4a5,_0x40f3f1){_0x51c4a5=_0x51c4a5-0x1dc;var _0x59685e=_0x9461b3[_0x51c4a5];return _0x59685e;},_0x51c4(_0x20c263,_0xbf4e7a);}import{escape as _0x30b065}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x13c6f4(){['id'];[_0x2838b1(0x1e5)];constructor({id:_0x56e219,title:_0x5b0802,createdAt:_0x207ff3,updatedAt:_0x2e52f5,pinned:_0xfcf16e}){var _0x3d8bd4=_0x2838b1;super(),this['id']=_0x56e219,this[_0x3d8bd4(0x1e5)]=new Date(_0x207ff3),this[_0x3d8bd4(0x1dd)](_0x3d8bd4(0x1e1),_0x5b0802),this[_0x3d8bd4(0x1dd)](_0x3d8bd4(0x1df),_0x2e52f5?new Date(_0x2e52f5):null),this[_0x3d8bd4(0x1dd)](_0x3d8bd4(0x1ea),_0xfcf16e||!0x1);}[_0x2838b1(0x1e9)](_0x2c0cb2){var _0x461d6f=_0x2838b1;this[_0x461d6f(0x1dd)](_0x461d6f(0x1e1),_0x30b065(_0x2c0cb2)),this[_0x461d6f(0x1df)]=new Date();}[_0x2838b1(0x1de)](_0x301f67){var _0x15db17=_0x2838b1;this[_0x15db17(0x1dd)](_0x15db17(0x1ea),_0x301f67),this[_0x15db17(0x1df)]=new Date();}}function _0x9461(){var _0x130054=['title','229828xvrHNy','118896TQkrqY','1272244BIDUth','createdAt','3oOmxig','54FJRwVO','1760706ZLMYTx','updateTitle','pinned','1089473JmhfZj','986605OsrsJF','set','updatePinned','updatedAt','1060340qLlPMf'];_0x9461=function(){return _0x130054;};return _0x9461();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ee751=_0x39c2;(function(_0x2efe26,_0x9a33e7){const _0x54e30d=_0x39c2,_0x2d67f2=_0x2efe26();while(!![]){try{const _0x346ef5=parseInt(_0x54e30d(0x13b))/0x1+-parseInt(_0x54e30d(0xf6))/0x2*(parseInt(_0x54e30d(0x121))/0x3)+-parseInt(_0x54e30d(0x13e))/0x4+-parseInt(_0x54e30d(0x110))/0x5+parseInt(_0x54e30d(0x111))/0x6*(-parseInt(_0x54e30d(0xf8))/0x7)+-parseInt(_0x54e30d(0x12b))/0x8*(parseInt(_0x54e30d(0x10d))/0x9)+parseInt(_0x54e30d(0x114))/0xa;if(_0x346ef5===_0x9a33e7)break;else _0x2d67f2['push'](_0x2d67f2['shift']());}catch(_0x430650){_0x2d67f2['push'](_0x2d67f2['shift']());}}}(_0x2413,0x27110));function _0x39c2(_0x352c13,_0xca47bd){const _0x241354=_0x2413();return _0x39c2=function(_0x39c2d5,_0x17085c){_0x39c2d5=_0x39c2d5-0xe1;let _0x8ba6d=_0x241354[_0x39c2d5];return _0x8ba6d;},_0x39c2(_0x352c13,_0xca47bd);}import{ListItemView as _0x249edb,HighlightedTextView as _0x2ecfc4,ButtonView as _0x1c8378,ListView as _0x596afd,IconView as _0x1a655f,createDropdown as _0x440d9c,InputTextView as _0x5082bb}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x26482b,IconPin as _0x468eef,IconCheck as _0x57e9bc,IconCancel as _0x5c5e8a}from'ckeditor5/src/icons.js';function _0x2413(){const _0x4721c3=['value','_createMenuDropdownView','211722hvsvcW','_createCancelEditButtonView','isMatching','1145880RiZoUl','clear','ck-ai-loader','extendTemplate','AI_CHAT_HISTORY_ACCEPT','setTemplate','tiny','_createSpinnerView','pinned','_commitEditInputValue','ck-ai-chat-history__item-content','AI_CHAT_HISTORY_LOADING_REMOVING','AI_CHAT_HISTORY_PIN_BUTTON','ck-ai-chat-history__item-check-container','listitem','edit:cancel','isVisible','_createAcceptEditButtonView','set','add','removeConversation','actions','AI_CHAT_HISTORY_CANCEL','AI_CHAT_HISTORY_LOADING_RENAMING','ck-ai-chat-history__item-row','showConfirm','13730upOHut','AI_CHAT_HISTORY_REMOVE_CONFIRM','35GLLoHP','updateTitle','addMany','_titleView','highlightText','createCollection','label','ck-ai-chat-history__item-main-content','setConversationPinned','ck-ai-chat-history__item-date','buttonView','AI_CHAT_HISTORY_LOADING_UNPINNING','AI_CHAT_HISTORY_LOADING_PINNING','focus','isEdit','isOn','locale','_createEditInputView','ck-confirm-view-cancel','_createPinButtonView','updateLoadingState','9kkOCwd','match','_createCheckView','1029125KbTxcY','289290VvMmuN','ck-ai-loader__text','string','9540020BklwWl','element','bindTemplate','loadingState','selectConversation','ck-hidden','fire','bind','execute','ck-ai-chat-history__item','change:isEdit','ck-ai-chat-history__item-actions','children','63MtZogn','text','Enter','then','span','AI_CHAT_HISTORY_EDIT_NAME','panelPosition','ck-ai-chat-history__item-check','click','mainContent','1025384ZGknGX','key','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','ck-ai-chat-history__item--edit','items','ck-ai-chat-history__item--active','div','LOADING_LABELS','panelView','ck-confirm-view-submit','editConversationTitle','ck-ai-chat-history__item-title','withText','AI_CHAT_HISTORY_REMOVE'];_0x2413=function(){return _0x4721c3;};return _0x2413();}import{LateFocusDropdownButtonView as _0x2e248c,ConfirmMixin as _0x39a86b}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x25c8e1}from'es-toolkit/compat';import{AISpinnerView as _0xaa6bb1}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x544254}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x39a86b(_0x249edb){['id'];static [_0x1ee751(0x132)]={'remove':_0x1ee751(0xe7),'rename':_0x1ee751(0xf3),'pin':_0x1ee751(0x104),'unpin':_0x1ee751(0x103)};[_0x1ee751(0xf1)];[_0x1ee751(0x12a)];[_0x1ee751(0xfb)];constructor(_0x105a89,_0x137ca1){const _0x3a60f6=_0x1ee751;super(_0x105a89);const _0x4e3170=this[_0x3a60f6(0x116)];this[_0x3a60f6(0xee)](_0x3a60f6(0x106),!0x1),this[_0x3a60f6(0xee)](_0x3a60f6(0xec),!0x0),this[_0x3a60f6(0xee)](_0x3a60f6(0xe4),!!_0x137ca1[_0x3a60f6(0xe4)]),this[_0x3a60f6(0xee)](_0x3a60f6(0x117),null),this['id']=_0x137ca1['id'];const {title:_0x549b0e,createdAt:_0x597a32,active:_0x443794=!0x1}=_0x137ca1;this[_0x3a60f6(0xfb)]=new _0x2ecfc4(),this[_0x3a60f6(0xfb)][_0x3a60f6(0x122)]=_0x549b0e,this[_0x3a60f6(0xfb)][_0x3a60f6(0x141)]({'attributes':{'class':[_0x3a60f6(0x136)]}});const _0x2fb941=this[_0x3a60f6(0x10f)](),_0x3b0f0d=this[_0x3a60f6(0x10b)](_0x105a89),_0x534ec5=this[_0x3a60f6(0x13a)](),_0xd2d4d9=this[_0x3a60f6(0x109)](_0x105a89,_0x549b0e),_0x30bde5=this[_0x3a60f6(0xed)](_0x105a89,_0xd2d4d9),_0x3d79ee=this[_0x3a60f6(0x13c)](_0x105a89,_0xd2d4d9);this[_0x3a60f6(0xf1)]=this[_0x3a60f6(0xfd)](),this[_0x3a60f6(0x12a)]=this[_0x3a60f6(0xfd)](),this[_0x3a60f6(0x12a)][_0x3a60f6(0xef)](this[_0x3a60f6(0xfb)]),this[_0x3a60f6(0xf1)][_0x3a60f6(0xef)](_0x3b0f0d),this[_0x3a60f6(0xf1)][_0x3a60f6(0xef)](_0x534ec5),this['on'](_0x3a60f6(0x11e),(_0x3468cb,_0x4b394f,_0x48b9f9)=>{const _0x3ac689=_0x3a60f6;this[_0x3ac689(0xf1)][_0x3ac689(0x13f)](),this[_0x3ac689(0x12a)][_0x3ac689(0x13f)](),_0x48b9f9?(this[_0x3ac689(0xf1)][_0x3ac689(0xef)](_0x30bde5),this[_0x3ac689(0xf1)][_0x3ac689(0xef)](_0x3d79ee),this[_0x3ac689(0x12a)][_0x3ac689(0xef)](_0xd2d4d9),_0xd2d4d9[_0x3ac689(0x115)][_0x3ac689(0x105)]()):(this[_0x3ac689(0xf1)][_0x3ac689(0xef)](_0x3b0f0d),this[_0x3ac689(0xf1)][_0x3ac689(0xef)](_0x534ec5),this[_0x3ac689(0x12a)][_0x3ac689(0xef)](this[_0x3ac689(0xfb)]));}),this[_0x3a60f6(0xe1)]({'tag':'li','attributes':{'class':[_0x3a60f6(0x11d),_0x443794?_0x3a60f6(0x130):'',_0x4e3170['if'](_0x3a60f6(0xec),_0x3a60f6(0x119),_0x4a9d0c=>!_0x4a9d0c),_0x4e3170['if'](_0x3a60f6(0x106),_0x3a60f6(0x12e))],'role':_0x3a60f6(0xea)},'children':[{'tag':_0x3a60f6(0x125),'attributes':{'class':[_0x3a60f6(0xe9)]},'children':[{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x128),_0x4e3170['if'](_0x3a60f6(0x117),_0x3a60f6(0x119),_0x442057=>!!_0x442057)]},'children':_0x443794?[_0x2fb941]:[]},{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x140),_0x4e3170['if'](_0x3a60f6(0x117),_0x3a60f6(0x119),_0x2b2c61=>!_0x2b2c61)]},'children':[this[_0x3a60f6(0xe3)]()]}]},{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0xf4)]},'children':[{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0xe6)]},'on':{'click':this[_0x3a60f6(0x116)]['to'](_0x3a60f6(0x129))},'children':[{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0xff)]},'children':[{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x136),_0x4e3170['if'](_0x3a60f6(0x117),_0x3a60f6(0x119),_0x188af2=>!!_0x188af2)]},'children':this[_0x3a60f6(0x12a)]},{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x112),_0x4e3170['if'](_0x3a60f6(0x117),_0x3a60f6(0x119),_0x17925f=>!_0x17925f)]},'children':[{'text':_0x4e3170['to'](_0x3a60f6(0x117),_0x21fb19=>_0x21fb19?_0x544254(this[_0x3a60f6(0x108)],AIChatHistoryListItemView[_0x3a60f6(0x132)][_0x21fb19]):'')}]}]},{'tag':_0x3a60f6(0x125),'attributes':{'class':[_0x3a60f6(0x101)]},'children':[_0x597a32]}]},{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x11f)]},'children':this[_0x3a60f6(0xf1)]}]}]}),this['on'](_0x3a60f6(0x129),()=>{const _0x2145ee=_0x3a60f6;this[_0x2145ee(0x106)]||this[_0x2145ee(0x11a)](_0x2145ee(0x118),{'id':this['id']});});}[_0x1ee751(0xf9)](_0x363d99){const _0x36c696=_0x1ee751;this[_0x36c696(0xfb)][_0x36c696(0x122)]=_0x25c8e1(_0x363d99);}[_0x1ee751(0x10c)](_0x3491bd,_0x2e8e1b){const _0x15cb74=_0x1ee751;this[_0x15cb74(0xee)](_0x15cb74(0x117),_0x2e8e1b?_0x3491bd:null);}[_0x1ee751(0x10f)](){const _0x37a5e1=_0x1ee751,_0x9f1a6f=new _0x1a655f();return _0x9f1a6f[_0x37a5e1(0xee)]({'content':_0x57e9bc}),_0x9f1a6f;}[_0x1ee751(0x10b)](_0x9e5f6f){const _0x4bd316=_0x1ee751,_0x21032a=new _0x1c8378(_0x9e5f6f);return _0x21032a[_0x4bd316(0xee)]({'label':_0x544254(_0x9e5f6f,_0x4bd316(0xe8)),'icon':_0x468eef,'withText':!0x1,'tooltip':!0x0}),_0x21032a[_0x4bd316(0x11b)](_0x4bd316(0x107))['to'](this,_0x4bd316(0xe4)),_0x21032a['on'](_0x4bd316(0x11c),()=>{const _0x28cf68=_0x4bd316,_0x125120=!this[_0x28cf68(0xe4)];this[_0x28cf68(0x11a)](_0x28cf68(0x100),{'id':this['id'],'pinned':_0x125120});}),_0x21032a;}[_0x1ee751(0x13a)](){const _0x4359d3=_0x1ee751,_0x1a1728=_0x440d9c(this[_0x4359d3(0x108)],_0x2e248c),_0x269a85=_0x1a1728[_0x4359d3(0x133)][_0x4359d3(0x120)];_0x1a1728[_0x4359d3(0x102)][_0x4359d3(0xee)]({'label':_0x544254(this[_0x4359d3(0x108)],_0x4359d3(0x12d)),'icon':_0x26482b}),_0x1a1728[_0x4359d3(0x127)]='sw';const _0x58dadb=new _0x1c8378(this[_0x4359d3(0x108)]);_0x58dadb[_0x4359d3(0xfe)]=_0x544254(this[_0x4359d3(0x108)],_0x4359d3(0x126)),_0x58dadb[_0x4359d3(0x137)]=!0x0,_0x58dadb['on'](_0x4359d3(0x11c),()=>{const _0x1db1f4=_0x4359d3;this[_0x1db1f4(0x106)]=!0x0;});const _0x5134ad=new _0x1c8378(this[_0x4359d3(0x108)]);_0x5134ad[_0x4359d3(0xfe)]=_0x544254(this[_0x4359d3(0x108)],_0x4359d3(0x138)),_0x5134ad[_0x4359d3(0x137)]=!0x0,_0x5134ad['on'](_0x4359d3(0x11c),()=>{const _0x1b335f=_0x4359d3;this[_0x1b335f(0xf5)](_0x544254(this[_0x1b335f(0x108)],_0x1b335f(0xf7)),this[_0x1b335f(0x115)])[_0x1b335f(0x124)](()=>{const _0x5ae3ec=_0x1b335f;this[_0x5ae3ec(0x11a)](_0x5ae3ec(0xf0),{'id':this['id']});});});const _0x443572=new _0x596afd(this[_0x4359d3(0x108)]),_0x18285f=new _0x249edb(this[_0x4359d3(0x108)]);_0x18285f[_0x4359d3(0x120)][_0x4359d3(0xef)](_0x58dadb);const _0xe40128=new _0x249edb(this[_0x4359d3(0x108)]);return _0xe40128[_0x4359d3(0x120)][_0x4359d3(0xef)](_0x5134ad),_0x443572[_0x4359d3(0x12f)][_0x4359d3(0xfa)]([_0x18285f,_0xe40128]),_0x269a85[_0x4359d3(0xef)](_0x443572),_0x1a1728;}[_0x1ee751(0x109)](_0x3993f9,_0x2f91b5){const _0x5e616f=_0x1ee751,_0x5a8255=new _0x5082bb(_0x3993f9),_0x34f281=_0x5a8255[_0x5e616f(0x116)];return _0x5a8255[_0x5e616f(0x139)]=_0x2f91b5,_0x5a8255[_0x5e616f(0x141)]({'on':{'keydown':_0x34f281['to'](_0x371822=>{const _0x3608bc=_0x5e616f;_0x3608bc(0x123)==_0x371822[_0x3608bc(0x12c)]&&this[_0x3608bc(0xe5)](_0x5a8255);})}}),_0x5a8255;}[_0x1ee751(0xed)](_0x329912,_0x2463f9){const _0x480eb4=_0x1ee751,_0x23b5cd=new _0x1c8378(_0x329912);return _0x23b5cd[_0x480eb4(0xee)]({'icon':_0x57e9bc,'withText':!0x1,'tooltip':_0x544254(_0x329912,_0x480eb4(0x142))}),_0x23b5cd[_0x480eb4(0x141)]({'attributes':{'class':[_0x480eb4(0x134)]}}),_0x23b5cd['on'](_0x480eb4(0x11c),()=>{const _0x59d4f3=_0x480eb4;this[_0x59d4f3(0xe5)](_0x2463f9);}),_0x23b5cd;}[_0x1ee751(0xe5)](_0x14430c){const _0x174d3c=_0x1ee751,_0x44a279=_0x14430c[_0x174d3c(0x115)][_0x174d3c(0x139)]||'';this[_0x174d3c(0xfb)][_0x174d3c(0x122)]=_0x44a279,this[_0x174d3c(0x106)]=!0x1,this[_0x174d3c(0x11a)](_0x174d3c(0x135),{'id':this['id'],'title':_0x44a279});}[_0x1ee751(0x13c)](_0x43c594,_0x3e0295){const _0xae3a60=_0x1ee751,_0xcf3a01=new _0x1c8378(_0x43c594);return _0xcf3a01[_0xae3a60(0xee)]({'icon':_0x5c5e8a,'withText':!0x1,'tooltip':_0x544254(_0x43c594,_0xae3a60(0xf2))}),_0xcf3a01[_0xae3a60(0x141)]({'attributes':{'class':[_0xae3a60(0x10a)]}}),_0xcf3a01['on'](_0xae3a60(0x11c),()=>{const _0x3305eb=_0xae3a60;this[_0x3305eb(0x106)]=!0x1,_0x3e0295[_0x3305eb(0x139)]=this[_0x3305eb(0xfb)][_0x3305eb(0x122)]||'',this[_0x3305eb(0x11a)](_0x3305eb(0xeb));}),_0xcf3a01;}[_0x1ee751(0xe3)](){const _0x38c11f=_0x1ee751,_0x4d2ddd=new _0xaa6bb1(_0x38c11f(0xe2));return _0x4d2ddd[_0x38c11f(0xec)]=!0x0,_0x4d2ddd;}[_0x1ee751(0x13d)](_0x5882ea){const _0xb54bbb=_0x1ee751;return this[_0xb54bbb(0xfb)]&&_0xb54bbb(0x113)==typeof this[_0xb54bbb(0xfb)][_0xb54bbb(0x122)]&&this[_0xb54bbb(0xfb)][_0xb54bbb(0x122)][_0xb54bbb(0x10e)](_0x5882ea)?{'title':!0x0}:null;}[_0x1ee751(0xfc)](_0xf05e2c){const _0x5b84b3=_0x1ee751;this[_0x5b84b3(0xfb)][_0x5b84b3(0xfc)](_0xf05e2c);}}
23
+ const _0x508e3d=_0x5beb;(function(_0x28852e,_0x3a1186){const _0x267fa1=_0x5beb,_0x47afbb=_0x28852e();while(!![]){try{const _0x4a442b=-parseInt(_0x267fa1(0x201))/0x1+-parseInt(_0x267fa1(0x218))/0x2*(-parseInt(_0x267fa1(0x1fb))/0x3)+parseInt(_0x267fa1(0x1ef))/0x4+-parseInt(_0x267fa1(0x1f8))/0x5*(parseInt(_0x267fa1(0x203))/0x6)+-parseInt(_0x267fa1(0x1e0))/0x7+-parseInt(_0x267fa1(0x236))/0x8+parseInt(_0x267fa1(0x202))/0x9;if(_0x4a442b===_0x3a1186)break;else _0x47afbb['push'](_0x47afbb['shift']());}catch(_0x3c85e9){_0x47afbb['push'](_0x47afbb['shift']());}}}(_0x1673,0x1c59e));import{ListItemView as _0x7c2839,HighlightedTextView as _0x1df187,ButtonView as _0x3ed759,ListView as _0x43122c,IconView as _0x5bb128,createDropdown as _0x460a5f,InputTextView as _0x33ed81}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x335767,IconPin as _0x261367,IconCheck as _0x17f4d0,IconCancel as _0x2f9c51}from'ckeditor5/src/icons.js';function _0x5beb(_0x28b8a5,_0x49f438){const _0x167316=_0x1673();return _0x5beb=function(_0x5bebc0,_0x181ca2){_0x5bebc0=_0x5bebc0-0x1dd;let _0x31acfc=_0x167316[_0x5bebc0];return _0x31acfc;},_0x5beb(_0x28b8a5,_0x49f438);}import{LateFocusDropdownButtonView as _0x1582e3,ConfirmMixin as _0x28bfd6}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x49e16d}from'es-toolkit/compat';import{AISpinnerView as _0x1b499f}from'../../aicore/ui/aispinner.js';function _0x1673(){const _0x4c5eee=['AI_CHAT_HISTORY_PIN_BUTTON','add','bind','highlightText','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','buttonView','AI_CHAT_HISTORY_EDIT_NAME','AI_CHAT_HISTORY_LOADING_PINNING','179910btXXjx','items','isMatching','447BsterW','_createSpinnerView','value','ck-ai-chat-history__item--active','ck-ai-loader__text','updateTitle','51525nkFUPA','1505277ltIbrZ','6eZulrG','isOn','ck-ai-chat-history__item-date','createCollection','AI_CHAT_HISTORY_CANCEL','ck-ai-chat-history__item-check-container','addMany','_createPinButtonView','AI_CHAT_HISTORY_LOADING_UNPINNING','panelPosition','click','string','children','AI_CHAT_HISTORY_LOADING_REMOVING','isEdit','setTemplate','_createEditInputView','ck-ai-chat-history__item-actions','isVisible','ck-ai-chat-history__item--edit','fire','2072yWmBfw','AI_CHAT_HISTORY_REMOVE','Enter','focus','panelView','mainContent','ck-ai-chat-history__item-check','setConversationPinned','bindTemplate','_titleView','ck-ai-loader','edit:cancel','match','extendTemplate','ck-ai-chat-history__item','AI_CHAT_HISTORY_REMOVE_CONFIRM','change:isEdit','_createMenuDropdownView','removeConversation','_createCancelEditButtonView','editConversationTitle','span','ck-ai-chat-history__item-content','ck-confirm-view-submit','locale','loadingState','ck-hidden','ck-ai-chat-history__item-row','ck-ai-chat-history__item-main-content','text','488568uXBIjH','actions','label','AI_CHAT_HISTORY_ACCEPT','listitem','showConfirm','tiny','updateLoadingState','selectConversation','set','execute','1406328EkxcTB','div','AI_CHAT_HISTORY_LOADING_RENAMING','element','withText','clear','_createAcceptEditButtonView','ck-confirm-view-cancel','ck-ai-chat-history__item-title','_commitEditInputValue','pinned','LOADING_LABELS','key','then','_createCheckView','575964kwkVkV'];_0x1673=function(){return _0x4c5eee;};return _0x1673();}import{getTranslation as _0x110b39}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x28bfd6(_0x7c2839){['id'];static [_0x508e3d(0x1eb)]={'remove':_0x508e3d(0x210),'rename':_0x508e3d(0x1e2),'pin':_0x508e3d(0x1f7),'unpin':_0x508e3d(0x20b)};[_0x508e3d(0x237)];[_0x508e3d(0x21d)];[_0x508e3d(0x221)];constructor(_0x3a53e6,_0x1f9c6a){const _0x3a5b6b=_0x508e3d;super(_0x3a53e6);const _0x10217b=this[_0x3a5b6b(0x220)];this[_0x3a5b6b(0x1de)](_0x3a5b6b(0x211),!0x1),this[_0x3a5b6b(0x1de)](_0x3a5b6b(0x215),!0x0),this[_0x3a5b6b(0x1de)](_0x3a5b6b(0x1ea),!!_0x1f9c6a[_0x3a5b6b(0x1ea)]),this[_0x3a5b6b(0x1de)](_0x3a5b6b(0x231),null),this['id']=_0x1f9c6a['id'];const {title:_0x5b5190,createdAt:_0x58dd0f,active:_0x383df8=!0x1}=_0x1f9c6a;this[_0x3a5b6b(0x221)]=new _0x1df187(),this[_0x3a5b6b(0x221)][_0x3a5b6b(0x235)]=_0x5b5190,this[_0x3a5b6b(0x221)][_0x3a5b6b(0x225)]({'attributes':{'class':[_0x3a5b6b(0x1e8)]}});const _0x22631b=this[_0x3a5b6b(0x1ee)](),_0x109e42=this[_0x3a5b6b(0x20a)](_0x3a53e6),_0x3f6615=this[_0x3a5b6b(0x229)](),_0x17583e=this[_0x3a5b6b(0x213)](_0x3a53e6,_0x5b5190),_0x13c4e9=this[_0x3a5b6b(0x1e6)](_0x3a53e6,_0x17583e),_0x1e80d4=this[_0x3a5b6b(0x22b)](_0x3a53e6,_0x17583e);this[_0x3a5b6b(0x237)]=this[_0x3a5b6b(0x206)](),this[_0x3a5b6b(0x21d)]=this[_0x3a5b6b(0x206)](),this[_0x3a5b6b(0x21d)][_0x3a5b6b(0x1f1)](this[_0x3a5b6b(0x221)]),this[_0x3a5b6b(0x237)][_0x3a5b6b(0x1f1)](_0x109e42),this[_0x3a5b6b(0x237)][_0x3a5b6b(0x1f1)](_0x3f6615),this['on'](_0x3a5b6b(0x228),(_0x510def,_0x2b75d7,_0xf06a50)=>{const _0x1926dd=_0x3a5b6b;this[_0x1926dd(0x237)][_0x1926dd(0x1e5)](),this[_0x1926dd(0x21d)][_0x1926dd(0x1e5)](),_0xf06a50?(this[_0x1926dd(0x237)][_0x1926dd(0x1f1)](_0x13c4e9),this[_0x1926dd(0x237)][_0x1926dd(0x1f1)](_0x1e80d4),this[_0x1926dd(0x21d)][_0x1926dd(0x1f1)](_0x17583e),_0x17583e[_0x1926dd(0x1e3)][_0x1926dd(0x21b)]()):(this[_0x1926dd(0x237)][_0x1926dd(0x1f1)](_0x109e42),this[_0x1926dd(0x237)][_0x1926dd(0x1f1)](_0x3f6615),this[_0x1926dd(0x21d)][_0x1926dd(0x1f1)](this[_0x1926dd(0x221)]));}),this[_0x3a5b6b(0x212)]({'tag':'li','attributes':{'class':[_0x3a5b6b(0x226),_0x383df8?_0x3a5b6b(0x1fe):'',_0x10217b['if'](_0x3a5b6b(0x215),_0x3a5b6b(0x232),_0x1d7634=>!_0x1d7634),_0x10217b['if'](_0x3a5b6b(0x211),_0x3a5b6b(0x216))],'role':_0x3a5b6b(0x23a)},'children':[{'tag':_0x3a5b6b(0x22d),'attributes':{'class':[_0x3a5b6b(0x208)]},'children':[{'tag':_0x3a5b6b(0x1e1),'attributes':{'class':[_0x3a5b6b(0x21e),_0x10217b['if'](_0x3a5b6b(0x231),_0x3a5b6b(0x232),_0x17b160=>!!_0x17b160)]},'children':_0x383df8?[_0x22631b]:[]},{'tag':_0x3a5b6b(0x1e1),'attributes':{'class':[_0x3a5b6b(0x222),_0x10217b['if'](_0x3a5b6b(0x231),_0x3a5b6b(0x232),_0x212341=>!_0x212341)]},'children':[this[_0x3a5b6b(0x1fc)]()]}]},{'tag':_0x3a5b6b(0x1e1),'attributes':{'class':[_0x3a5b6b(0x233)]},'children':[{'tag':_0x3a5b6b(0x1e1),'attributes':{'class':[_0x3a5b6b(0x22e)]},'on':{'click':this[_0x3a5b6b(0x220)]['to'](_0x3a5b6b(0x20d))},'children':[{'tag':_0x3a5b6b(0x1e1),'attributes':{'class':[_0x3a5b6b(0x234)]},'children':[{'tag':_0x3a5b6b(0x1e1),'attributes':{'class':[_0x3a5b6b(0x1e8),_0x10217b['if'](_0x3a5b6b(0x231),_0x3a5b6b(0x232),_0x508118=>!!_0x508118)]},'children':this[_0x3a5b6b(0x21d)]},{'tag':_0x3a5b6b(0x1e1),'attributes':{'class':[_0x3a5b6b(0x1ff),_0x10217b['if'](_0x3a5b6b(0x231),_0x3a5b6b(0x232),_0x26e536=>!_0x26e536)]},'children':[{'text':_0x10217b['to'](_0x3a5b6b(0x231),_0x1ca88f=>_0x1ca88f?_0x110b39(this[_0x3a5b6b(0x230)],AIChatHistoryListItemView[_0x3a5b6b(0x1eb)][_0x1ca88f]):'')}]}]},{'tag':_0x3a5b6b(0x22d),'attributes':{'class':[_0x3a5b6b(0x205)]},'children':[_0x58dd0f]}]},{'tag':_0x3a5b6b(0x1e1),'attributes':{'class':[_0x3a5b6b(0x214)]},'children':this[_0x3a5b6b(0x237)]}]}]}),this['on'](_0x3a5b6b(0x20d),()=>{const _0x51f389=_0x3a5b6b;this[_0x51f389(0x211)]||this[_0x51f389(0x217)](_0x51f389(0x1dd),{'id':this['id']});});}[_0x508e3d(0x200)](_0x2b4f40){const _0x4ca61f=_0x508e3d;this[_0x4ca61f(0x221)][_0x4ca61f(0x235)]=_0x49e16d(_0x2b4f40);}[_0x508e3d(0x23d)](_0x3f5678,_0x54eaf){const _0x4f6eee=_0x508e3d;this[_0x4f6eee(0x1de)](_0x4f6eee(0x231),_0x54eaf?_0x3f5678:null);}[_0x508e3d(0x1ee)](){const _0x1003e8=_0x508e3d,_0x23a51e=new _0x5bb128();return _0x23a51e[_0x1003e8(0x1de)]({'content':_0x17f4d0}),_0x23a51e;}[_0x508e3d(0x20a)](_0x593407){const _0x48619e=_0x508e3d,_0x2d555d=new _0x3ed759(_0x593407);return _0x2d555d[_0x48619e(0x1de)]({'label':_0x110b39(_0x593407,_0x48619e(0x1f0)),'icon':_0x261367,'withText':!0x1,'tooltip':!0x0}),_0x2d555d[_0x48619e(0x1f2)](_0x48619e(0x204))['to'](this,_0x48619e(0x1ea)),_0x2d555d['on'](_0x48619e(0x1df),()=>{const _0x1e8010=_0x48619e,_0x6dc16a=!this[_0x1e8010(0x1ea)];this[_0x1e8010(0x217)](_0x1e8010(0x21f),{'id':this['id'],'pinned':_0x6dc16a});}),_0x2d555d;}[_0x508e3d(0x229)](){const _0x39cad9=_0x508e3d,_0x44e15d=_0x460a5f(this[_0x39cad9(0x230)],_0x1582e3),_0x201232=_0x44e15d[_0x39cad9(0x21c)][_0x39cad9(0x20f)];_0x44e15d[_0x39cad9(0x1f5)][_0x39cad9(0x1de)]({'label':_0x110b39(this[_0x39cad9(0x230)],_0x39cad9(0x1f4)),'icon':_0x335767}),_0x44e15d[_0x39cad9(0x20c)]='sw';const _0x1e1c5f=new _0x3ed759(this[_0x39cad9(0x230)]);_0x1e1c5f[_0x39cad9(0x238)]=_0x110b39(this[_0x39cad9(0x230)],_0x39cad9(0x1f6)),_0x1e1c5f[_0x39cad9(0x1e4)]=!0x0,_0x1e1c5f['on'](_0x39cad9(0x1df),()=>{const _0x1a04c2=_0x39cad9;this[_0x1a04c2(0x211)]=!0x0;});const _0x1aab8d=new _0x3ed759(this[_0x39cad9(0x230)]);_0x1aab8d[_0x39cad9(0x238)]=_0x110b39(this[_0x39cad9(0x230)],_0x39cad9(0x219)),_0x1aab8d[_0x39cad9(0x1e4)]=!0x0,_0x1aab8d['on'](_0x39cad9(0x1df),()=>{const _0x214937=_0x39cad9;this[_0x214937(0x23b)](_0x110b39(this[_0x214937(0x230)],_0x214937(0x227)),this[_0x214937(0x1e3)])[_0x214937(0x1ed)](()=>{const _0x7960a7=_0x214937;this[_0x7960a7(0x217)](_0x7960a7(0x22a),{'id':this['id']});});});const _0x592773=new _0x43122c(this[_0x39cad9(0x230)]),_0x3bc0d6=new _0x7c2839(this[_0x39cad9(0x230)]);_0x3bc0d6[_0x39cad9(0x20f)][_0x39cad9(0x1f1)](_0x1e1c5f);const _0x549695=new _0x7c2839(this[_0x39cad9(0x230)]);return _0x549695[_0x39cad9(0x20f)][_0x39cad9(0x1f1)](_0x1aab8d),_0x592773[_0x39cad9(0x1f9)][_0x39cad9(0x209)]([_0x3bc0d6,_0x549695]),_0x201232[_0x39cad9(0x1f1)](_0x592773),_0x44e15d;}[_0x508e3d(0x213)](_0x3a6ca3,_0x26bc9c){const _0x55ad24=_0x508e3d,_0x342823=new _0x33ed81(_0x3a6ca3),_0x274fd0=_0x342823[_0x55ad24(0x220)];return _0x342823[_0x55ad24(0x1fd)]=_0x26bc9c,_0x342823[_0x55ad24(0x225)]({'on':{'keydown':_0x274fd0['to'](_0x48488f=>{const _0x5e197e=_0x55ad24;_0x5e197e(0x21a)==_0x48488f[_0x5e197e(0x1ec)]&&this[_0x5e197e(0x1e9)](_0x342823);})}}),_0x342823;}[_0x508e3d(0x1e6)](_0x47852f,_0x1a9135){const _0x98ab59=_0x508e3d,_0x497f02=new _0x3ed759(_0x47852f);return _0x497f02[_0x98ab59(0x1de)]({'icon':_0x17f4d0,'withText':!0x1,'tooltip':_0x110b39(_0x47852f,_0x98ab59(0x239))}),_0x497f02[_0x98ab59(0x225)]({'attributes':{'class':[_0x98ab59(0x22f)]}}),_0x497f02['on'](_0x98ab59(0x1df),()=>{const _0x34a4d1=_0x98ab59;this[_0x34a4d1(0x1e9)](_0x1a9135);}),_0x497f02;}[_0x508e3d(0x1e9)](_0x491730){const _0x24bde6=_0x508e3d,_0x2ecb5d=_0x491730[_0x24bde6(0x1e3)][_0x24bde6(0x1fd)]||'';this[_0x24bde6(0x221)][_0x24bde6(0x235)]=_0x2ecb5d,this[_0x24bde6(0x211)]=!0x1,this[_0x24bde6(0x217)](_0x24bde6(0x22c),{'id':this['id'],'title':_0x2ecb5d});}[_0x508e3d(0x22b)](_0x13d07f,_0x1f7f1a){const _0x3f5736=_0x508e3d,_0x3f31c2=new _0x3ed759(_0x13d07f);return _0x3f31c2[_0x3f5736(0x1de)]({'icon':_0x2f9c51,'withText':!0x1,'tooltip':_0x110b39(_0x13d07f,_0x3f5736(0x207))}),_0x3f31c2[_0x3f5736(0x225)]({'attributes':{'class':[_0x3f5736(0x1e7)]}}),_0x3f31c2['on'](_0x3f5736(0x1df),()=>{const _0x477ea6=_0x3f5736;this[_0x477ea6(0x211)]=!0x1,_0x1f7f1a[_0x477ea6(0x1fd)]=this[_0x477ea6(0x221)][_0x477ea6(0x235)]||'',this[_0x477ea6(0x217)](_0x477ea6(0x223));}),_0x3f31c2;}[_0x508e3d(0x1fc)](){const _0x15f9eb=_0x508e3d,_0x5cc9f2=new _0x1b499f(_0x15f9eb(0x23c));return _0x5cc9f2[_0x15f9eb(0x215)]=!0x0,_0x5cc9f2;}[_0x508e3d(0x1fa)](_0x48d388){const _0x52a766=_0x508e3d;return this[_0x52a766(0x221)]&&_0x52a766(0x20e)==typeof this[_0x52a766(0x221)][_0x52a766(0x235)]&&this[_0x52a766(0x221)][_0x52a766(0x235)][_0x52a766(0x224)](_0x48d388)?{'title':!0x0}:null;}[_0x508e3d(0x1f3)](_0x9339e8){const _0x29d381=_0x508e3d;this[_0x29d381(0x221)][_0x29d381(0x1f3)](_0x9339e8);}}