@ckeditor/ckeditor5-ai 47.2.0-alpha.3 → 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 (129) 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/aireviewcheckcustom.js +1 -1
  110. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  112. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  113. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  114. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  123. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  124. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  125. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  126. package/src/aitabs/aitabs.js +1 -1
  127. package/src/aitabs/tabs/aitabsview.js +1 -1
  128. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  129. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4dbc(_0x509155,_0x3a9f37){const _0x657f87=_0x657f();return _0x4dbc=function(_0x4dbcb2,_0x55caf5){_0x4dbcb2=_0x4dbcb2-0xc6;let _0x33144e=_0x657f87[_0x4dbcb2];return _0x33144e;},_0x4dbc(_0x509155,_0x3a9f37);}const _0xca73ca=_0x4dbc;(function(_0x34ce56,_0x1ad7a9){const _0x48b209=_0x4dbc,_0x246fe4=_0x34ce56();while(!![]){try{const _0x2bc21b=parseInt(_0x48b209(0xd5))/0x1*(-parseInt(_0x48b209(0xfe))/0x2)+parseInt(_0x48b209(0x121))/0x3*(parseInt(_0x48b209(0xe4))/0x4)+parseInt(_0x48b209(0x10a))/0x5+-parseInt(_0x48b209(0xc7))/0x6+parseInt(_0x48b209(0xd9))/0x7+-parseInt(_0x48b209(0xe1))/0x8+-parseInt(_0x48b209(0x111))/0x9;if(_0x2bc21b===_0x1ad7a9)break;else _0x246fe4['push'](_0x246fe4['shift']());}catch(_0x2097ed){_0x246fe4['push'](_0x246fe4['shift']());}}}(_0x657f,0xd305b));import{KeystrokeHandler as _0x423d75}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2272ad,BodyCollection as _0x323ab5,ButtonView as _0x5aa251,clickOutsideHandler as _0x22b060,ListItemButtonView as _0x4258ed,ListItemView as _0x57735f,ListView as _0x5b61cb,SplitButtonView as _0x27d063,UIModel as _0x26da5d,View as _0x475ef8}from'ckeditor5/src/ui.js';import{IconCheck as _0x4a23c1,IconAddComment as _0x43ef1e,IconDocumentWithLoupe as _0x5e5ddf}from'ckeditor5/src/icons.js';import{getTranslation as _0x3fe1c5}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0xca73ca(0xcc),_0xca73ca(0xd7),_0xca73ca(0xe8)];export class AIChatFeedSuggestionItemActionsView extends _0x475ef8{[_0xca73ca(0xf1)];[_0xca73ca(0xdc)];[_0xca73ca(0x11c)];[_0xca73ca(0xeb)];[_0xca73ca(0x118)];[_0xca73ca(0x11e)]=0x1;[_0xca73ca(0xe9)];[_0xca73ca(0xe3)];[_0xca73ca(0xed)]=!0x0;constructor(_0x44a822,_0xed4d3){const _0x3a8845=_0xca73ca;super(_0x44a822),this[_0x3a8845(0xe9)]=_0xed4d3||[...AI_REPLY_ACTIONS],this[_0x3a8845(0xe3)]=[...this[_0x3a8845(0xe9)]];const _0x503abd=this[_0x3a8845(0xca)];this[_0x3a8845(0xd8)](_0x3a8845(0x101),!0x0),this[_0x3a8845(0xd8)](_0x3a8845(0xc8),!0x0),this[_0x3a8845(0xd8)](_0x3a8845(0xd0),!0x1),this[_0x3a8845(0x11c)]=new _0x26da5d({'label':Hn(_0x3a8845(0xcc),_0x44a822,this[_0x3a8845(0x11e)]),'icon':_0x4a23c1,'withText':!0x0,'type':_0x3a8845(0xe5),'actionName':_0x3a8845(0xcc)}),this[_0x3a8845(0xeb)]=new _0x26da5d({'label':Hn(_0x3a8845(0xe8),_0x44a822,this[_0x3a8845(0x11e)]),'icon':_0x5e5ddf,'withText':!0x0,'type':_0x3a8845(0xe5),'actionName':_0x3a8845(0xe8)}),this[_0x3a8845(0x118)]=new _0x26da5d({'label':Hn(_0x3a8845(0xd7),_0x44a822,this[_0x3a8845(0x11e)]),'icon':_0x43ef1e,'withText':!0x0,'type':_0x3a8845(0xe5),'actionName':_0x3a8845(0xd7)}),this[_0x3a8845(0xf1)]=this[_0x3a8845(0x10b)](_0x44a822),this[_0x3a8845(0xdc)]=this[_0x3a8845(0xc6)](),this[_0x3a8845(0xf1)]&&this[_0x3a8845(0xdc)][_0x3a8845(0xd1)](this[_0x3a8845(0xf1)]),this[_0x3a8845(0xcb)]({'tag':_0x3a8845(0x106),'attributes':{'class':['ck',_0x3a8845(0x104),_0x503abd['if'](_0x3a8845(0xc8),_0x3a8845(0x109),_0x20cc0f=>!_0x20cc0f)]},'children':this[_0x3a8845(0xdc)]}),this['on'](_0x3a8845(0xe0),()=>{const _0x192b7a=_0x3a8845;this[_0x192b7a(0xe3)]=this[_0x192b7a(0xd0)]?this[_0x192b7a(0xe9)][_0x192b7a(0x102)](_0x4f5ef1=>_0x192b7a(0xcc)!==_0x4f5ef1):[...this[_0x192b7a(0xe9)]],this[_0x192b7a(0x11f)](_0x44a822);});}[_0xca73ca(0x11f)](_0x37ffe5){const _0x3f37de=_0xca73ca;this[_0x3f37de(0xf1)]&&this[_0x3f37de(0xdc)][_0x3f37de(0xd3)](this[_0x3f37de(0xf1)])&&(this[_0x3f37de(0xdc)][_0x3f37de(0xcf)](this[_0x3f37de(0xf1)]),this[_0x3f37de(0xf1)][_0x3f37de(0xd4)]()),this[_0x3f37de(0xf1)]=this[_0x3f37de(0x10b)](_0x37ffe5),this[_0x3f37de(0xf1)]&&this[_0x3f37de(0xdc)][_0x3f37de(0xd1)](this[_0x3f37de(0xf1)]);}[_0xca73ca(0x10b)](_0x47670d){const _0x51e881=_0xca73ca;if(0x0==this[_0x51e881(0xe3)][_0x51e881(0x115)])return null;const _0x50efc6=0x1===this[_0x51e881(0xe3)][_0x51e881(0x115)]?this[_0x51e881(0xce)](_0x47670d):this[_0x51e881(0x10e)](_0x47670d),_0x1d4d61=this[_0x51e881(0xed)]?'':_0x51e881(0x110);_0x50efc6[_0x51e881(0xd8)]({'label':Hn(this[_0x51e881(0xe3)][0x0],_0x47670d,this[_0x51e881(0x11e)]),'tooltip':Ln(this[_0x51e881(0xe3)][0x0],_0x47670d,this[_0x51e881(0x11e)]),'withText':!0x0,'class':_0x51e881(0xea)+_0x1d4d61});for(const _0x3ba810 of this[_0x51e881(0xe3)])_0x50efc6['on'](_0x3ba810,()=>{const _0x61b37b=_0x51e881;this[_0x61b37b(0x114)](_0x3ba810);});return this[_0x51e881(0xed)]=!0x1,_0x50efc6;}[_0xca73ca(0xce)](_0x15272d){const _0x23f299=_0xca73ca,_0x1cc357=new _0x5aa251(_0x15272d);return _0x1cc357[_0x23f299(0xd8)]({'class':_0x23f299(0x113),'withText':!0x0}),_0x1cc357['on'](_0x23f299(0xc9),()=>{const _0x17c478=_0x23f299;_0x1cc357[_0x17c478(0x114)](this[_0x17c478(0xe3)][0x0]);}),_0x1cc357;}[_0xca73ca(0x10e)](_0x36bd19){const _0x1d781a=_0xca73ca,_0x5c53e=new Gn(_0x36bd19,{'listItemModels':this[_0x1d781a(0xe3)][_0x1d781a(0xf9)](_0x38ae72=>{const _0x1286e6=_0x1d781a;switch(_0x38ae72){case _0x1286e6(0xcc):return this[_0x1286e6(0x11c)];case _0x1286e6(0xe8):return this[_0x1286e6(0xeb)];case _0x1286e6(0xd7):return this[_0x1286e6(0x118)];}})});return _0x5c53e[_0x1d781a(0xd8)]({'label':Hn(this[_0x1d781a(0xe3)][0x0],_0x36bd19,this[_0x1d781a(0x11e)]),'tooltip':Ln(this[_0x1d781a(0xe3)][0x0],_0x36bd19,this[_0x1d781a(0x11e)]),'withText':!0x0,'class':_0x1d781a(0x104),'balloonPanelClass':_0x1d781a(0xde)}),_0x5c53e[_0x1d781a(0xee)](_0x1d781a(0x101))['to'](this),_0x5c53e;}[_0xca73ca(0xe2)](_0x8d5d10){const _0x333859=_0xca73ca,_0x320c03=this[_0x333859(0xe7)];this[_0x333859(0x11e)]=_0x8d5d10||this[_0x333859(0x11e)],this[_0x333859(0xf1)][_0x333859(0xd8)]({'label':Hn(this[_0x333859(0xe3)][0x0],_0x320c03,this[_0x333859(0x11e)]),'tooltip':Ln(this[_0x333859(0xe3)][0x0],_0x320c03,this[_0x333859(0x11e)])}),this[_0x333859(0x11c)][_0x333859(0xfd)]=Hn(_0x333859(0xcc),_0x320c03,this[_0x333859(0x11e)]),this[_0x333859(0xeb)][_0x333859(0xfd)]=Hn(_0x333859(0xe8),_0x320c03,this[_0x333859(0x11e)]),this[_0x333859(0x118)][_0x333859(0xfd)]=Hn(_0x333859(0xd7),_0x320c03,this[_0x333859(0x11e)]);}}class Gn extends _0x27d063{[_0xca73ca(0xfc)];[_0xca73ca(0xf4)];[_0xca73ca(0xcd)];[_0xca73ca(0x11a)];constructor(_0x59074d,_0xe55a61){const _0x216e20=_0xca73ca;super(_0x59074d),this[_0x216e20(0xf4)]=new _0x2272ad(this[_0x216e20(0xe7)]),this[_0x216e20(0xfc)]=new _0x323ab5(this[_0x216e20(0xe7)]),this[_0x216e20(0xfc)][_0x216e20(0xff)](),this[_0x216e20(0xd8)](_0x216e20(0xf7),''),this[_0x216e20(0xf4)][_0x216e20(0xee)](_0x216e20(0x124))['to'](this,_0x216e20(0xf7)),this[_0x216e20(0xcd)]=this[_0x216e20(0xda)](_0xe55a61[_0x216e20(0x11d)][_0x216e20(0xf8)](0x1)),this[_0x216e20(0xfc)][_0x216e20(0xd1)](this[_0x216e20(0xf4)]),this[_0x216e20(0xf4)][_0x216e20(0xf5)][_0x216e20(0xd1)](this[_0x216e20(0xcd)]),this[_0x216e20(0xec)][_0x216e20(0x100)](_0x216e20(0x107)),this[_0x216e20(0xec)][_0x216e20(0xd8)](_0x216e20(0x107),_0x3fe1c5(this[_0x216e20(0xe7)],_0x216e20(0xe6))),this[_0x216e20(0x112)](),this['on'](_0x216e20(0xc9),()=>{const _0x2d534b=_0x216e20,_0x21b35e=_0xe55a61[_0x2d534b(0x11d)][0x0][_0x2d534b(0xef)];this[_0x2d534b(0x114)](_0x21b35e),this[_0x2d534b(0xf4)][_0x2d534b(0xf2)](),this[_0x2d534b(0xec)][_0x2d534b(0x122)]();}),this['on'](_0x216e20(0x108),()=>{const _0x46039b=_0x216e20;this[_0x46039b(0xf4)][_0x46039b(0xc8)]?(this[_0x46039b(0xf4)][_0x46039b(0xf2)](),this[_0x46039b(0xec)][_0x46039b(0x122)]()):(this[_0x46039b(0xf4)][_0x46039b(0xfb)]({'target':this[_0x46039b(0x103)],'positions':[_0x46039b(0xf0)===this[_0x46039b(0xe7)][_0x46039b(0x105)]?yn:Pn]}),this[_0x46039b(0xcd)][_0x46039b(0x122)]());}),_0x22b060({'emitter':this[_0x216e20(0xf4)],'callback':()=>{const _0x3263d4=_0x216e20;this[_0x3263d4(0xf4)][_0x3263d4(0xf2)]();},'activator':()=>this[_0x216e20(0xf4)][_0x216e20(0xc8)],'contextElements':()=>[this[_0x216e20(0x103)],this[_0x216e20(0xf4)][_0x216e20(0x103)]]});}[_0xca73ca(0xda)](_0x3ad97c){const _0x3a7b4a=_0xca73ca,_0x22a56f=this[_0x3a7b4a(0xe7)],_0x23bf26=new _0x5b61cb(_0x22a56f);for(const _0x29401e of _0x3ad97c){const _0x4e2aaa=new _0x57735f(_0x22a56f),_0x4b5128=new _0x4258ed(_0x22a56f);_0x4b5128[_0x3a7b4a(0xee)](...Object[_0x3a7b4a(0xd2)](_0x29401e))['to'](_0x29401e),_0x4b5128[_0x3a7b4a(0xf6)](_0x3a7b4a(0xc9))['to'](_0x23bf26),_0x4e2aaa[_0x3a7b4a(0xdc)][_0x3a7b4a(0xd1)](_0x4b5128),_0x23bf26[_0x3a7b4a(0xf3)][_0x3a7b4a(0xd1)](_0x4e2aaa);}return _0x23bf26[_0x3a7b4a(0xf3)][_0x3a7b4a(0xf6)](_0x3a7b4a(0xc9))['to'](this),_0x23bf26['on'](_0x3a7b4a(0xc9),_0x37802c=>{const _0x6b0aec=_0x3a7b4a,_0x25586f=_0x37802c[_0x6b0aec(0xfa)];this[_0x6b0aec(0x114)](_0x25586f[_0x6b0aec(0xef)]),this[_0x6b0aec(0xf4)][_0x6b0aec(0xf2)](),this[_0x6b0aec(0xec)][_0x6b0aec(0x122)]();}),_0x23bf26;}[_0xca73ca(0x112)](){const _0x3912e6=_0xca73ca;this[_0x3912e6(0x11a)]=new _0x423d75(),this[_0x3912e6(0x11a)][_0x3912e6(0x11b)](this[_0x3912e6(0xf4)][_0x3912e6(0x103)]),this[_0x3912e6(0x11a)][_0x3912e6(0xd8)](_0x3912e6(0x10f),(_0x32972c,_0x1afbe8)=>{const _0x1b128d=_0x3912e6;this[_0x1b128d(0xf4)][_0x1b128d(0xf2)](),this[_0x1b128d(0xec)][_0x1b128d(0x122)](),_0x1afbe8();});}[_0xca73ca(0xd4)](){const _0x3445c1=_0xca73ca;super[_0x3445c1(0xd4)](),this[_0x3445c1(0x11a)][_0x3445c1(0xd4)](),this[_0x3445c1(0xf4)][_0x3445c1(0xd4)](),this[_0x3445c1(0xfc)][_0x3445c1(0xdb)]();}}function _0x657f(){const _0x241120=['AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','class','createCollection','4715778uigfuC','isVisible','execute','bindTemplate','setTemplate','applySuggestion','listView','_createActionsButton','remove','isTrackChangesOn','add','keys','has','destroy','1jjfFSQ','bottom','insertSuggestion','set','2114672dCfesG','_setUpList','detachFromDom','children','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions__balloon','width','change:isTrackChangesOn','2362816OEPjdK','updateLabels','_dropdownCurrentConfig','4kSIqjr','button','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','locale','showChangeInText','_dropdownOriginalConfig','ck-ai-chat__feed__ai-suggestion__actions\x20','showChangeInTextModel','arrowView','_firstRender','bind','actionName','ltr','actionsButton','hide','items','balloonPanelView','content','delegate','balloonPanelClass','slice','map','source','pin','bodyCollection','label','77854dmOYrk','attachToDom','unbind','isEnabled','filter','element','ck-ai-chat__feed__ai-suggestion__actions','uiLanguageDirection','div','tooltip','open','ck-hidden','5250370qNklOv','_createActionsDropdownOrButton','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','left','_createActionsDropdown','esc','ck-ai-chat__feed__ai-suggestion__actions--no-animation','9695871bVyKXc','_setUpKeystrokes','ck-ai-button-primary','fire','length','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','arrowless','insertSuggestionModel','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','keystrokeHandler','listenTo','applySuggestionModel','listItemModels','_partsCount','_updateDropdownActions','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','5129214rOhBdo','focus'];_0x657f=function(){return _0x241120;};return _0x657f();}function yn(_0x399440){const _0x176270=_0xca73ca;return{'top':_0x399440[_0x176270(0xd6)],'left':_0x399440[_0x176270(0x10d)],'name':_0x176270(0x117),'config':{'withArrow':!0x1}};}function Pn(_0x4ab3df,_0x49cf87){const _0x3bfcd2=_0xca73ca;return{'top':_0x4ab3df[_0x3bfcd2(0xd6)],'left':_0x4ab3df[_0x3bfcd2(0x10d)]-(_0x49cf87[_0x3bfcd2(0xdf)]-_0x4ab3df[_0x3bfcd2(0xdf)]),'name':_0x3bfcd2(0x117),'config':{'withArrow':!0x1}};}function Hn(_0xee851d,_0x162ff7,_0x38820f){const _0x18b628=_0xca73ca;switch(_0xee851d){case _0x18b628(0xcc):return _0x3fe1c5(_0x162ff7,_0x18b628(0x10c),_0x38820f);case _0x18b628(0xe8):return _0x3fe1c5(_0x162ff7,_0x18b628(0x116),_0x38820f);case _0x18b628(0xd7):return _0x3fe1c5(_0x162ff7,_0x18b628(0x119),_0x38820f);}}function Ln(_0x18571b,_0x5eaf8e,_0x37afb1){const _0x3b9879=_0xca73ca;switch(_0x18571b){case _0x3b9879(0xcc):return _0x3fe1c5(_0x5eaf8e,_0x3b9879(0x120),_0x37afb1);case _0x3b9879(0xe8):return _0x3fe1c5(_0x5eaf8e,_0x3b9879(0xdd),_0x37afb1);case _0x3b9879(0xd7):return _0x3fe1c5(_0x5eaf8e,_0x3b9879(0x123),_0x37afb1);}}
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
- function _0x44d8(){var _0x6cb891=['areActionsDisabled','isVisible','48Aqlffv','availableActions','extendTemplate','updateLabels','toggleSuggestionDisplayMode','812319reUJrP','bind','markAsDone','952bmqEhL','set','rejectSuggestion','1720122cDWOwK','showDiff','addMany','1gvasfW','mouseOverSuggestion','actionsView','16107620aPSZWo','374490wAJQDg','20874436xmcGZa','838220XrTNgj','containerView','bodyView','7sMbWRy','isTrackChangesOn','children','hasPendingParts','hasNonEmptyParts','options','updateContent','showChangeInText','updateSources','isEnabled','like','insertSuggestion','getPartView','ck-ai-chat__feed__ai-suggestion','mouseLeaveSuggestion','fire','updatePartState','partsCount','7731FoeDBA','applySuggestion','dislike'];_0x44d8=function(){return _0x6cb891;};return _0x44d8();}function _0x4084(_0x257374,_0x3fe55c){var _0x44d872=_0x44d8();return _0x4084=function(_0x408420,_0x4c0ea5){_0x408420=_0x408420-0x7a;var _0x33f834=_0x44d872[_0x408420];return _0x33f834;},_0x4084(_0x257374,_0x3fe55c);}var _0x7b043=_0x4084;(function(_0x420346,_0x53d6e2){var _0x564474=_0x4084,_0x3e16c6=_0x420346();while(!![]){try{var _0x228819=-parseInt(_0x564474(0x8f))/0x1*(parseInt(_0x564474(0x95))/0x2)+parseInt(_0x564474(0x86))/0x3+parseInt(_0x564474(0x81))/0x4*(parseInt(_0x564474(0x93))/0x5)+-parseInt(_0x564474(0x8c))/0x6*(parseInt(_0x564474(0x98))/0x7)+-parseInt(_0x564474(0x89))/0x8*(-parseInt(_0x564474(0x7c))/0x9)+-parseInt(_0x564474(0x92))/0xa+parseInt(_0x564474(0x94))/0xb;if(_0x228819===_0x53d6e2)break;else _0x3e16c6['push'](_0x3e16c6['shift']());}catch(_0x3564cc){_0x3e16c6['push'](_0x3e16c6['shift']());}}}(_0x44d8,0xd0397));import{AIChatFeedItemView as _0x188a31}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3d0b1d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x5d1635}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x188a31{[_0x7b043(0x96)];[_0x7b043(0x91)];constructor(_0x5b059c,_0x13e07b){var _0x465bc3=_0x7b043;super(_0x13e07b),this[_0x465bc3(0x8a)](_0x465bc3(0x99),!0x1),this[_0x465bc3(0x96)]=new _0x3d0b1d(_0x5b059c,{'showDiff':_0x13e07b[_0x465bc3(0x8d)],'areActionsDisabled':_0x13e07b[_0x465bc3(0x7f)],'availableActions':_0x13e07b[_0x465bc3(0x82)]}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x85),(_0x758113,_0x1d205c)=>{var _0x4c45f2=_0x465bc3;this[_0x4c45f2(0xa7)](_0x4c45f2(0x85),{'replyId':this[_0x4c45f2(0x9d)]['id'],'showDiff':_0x1d205c[_0x4c45f2(0x8d)]});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0xa2),()=>{var _0x15d58f=_0x465bc3;this[_0x15d58f(0xa7)](_0x15d58f(0xa2),{'replyId':this[_0x15d58f(0x9d)]['id']});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x7e),()=>{var _0x412c69=_0x465bc3;this[_0x412c69(0xa7)](_0x412c69(0x7e),{'replyId':this[_0x412c69(0x9d)]['id']});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x9f),(_0xe75d3a,{index:_0x303de7})=>{var _0xa0b47a=_0x465bc3;this[_0xa0b47a(0xa7)](_0xa0b47a(0x9f),{'replyId':this[_0xa0b47a(0x9d)]['id'],'partIndex':_0x303de7});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0xa3),(_0x3f5afa,{index:_0x1215b2})=>{var _0x698c59=_0x465bc3;this[_0x698c59(0xa7)](_0x698c59(0xa3),{'replyId':this[_0x698c59(0x9d)]['id'],'partIndex':_0x1215b2});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x8b),(_0x2fdf7a,{index:_0x2a6b07})=>{var _0x1230d0=_0x465bc3;this[_0x1230d0(0xa7)](_0x1230d0(0x8b),{'replyId':this[_0x1230d0(0x9d)]['id'],'partIndex':_0x2a6b07});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x90),(_0x57d6fd,{index:_0x3463fc})=>{var _0x465693=_0x465bc3;this[_0x465693(0xa7)](_0x465693(0x90),{'replyId':this[_0x465693(0x9d)]['id'],'partIndex':_0x3463fc});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0xa6),(_0x50c920,{index:_0x204ae2})=>{var _0x5d951d=_0x465bc3;this[_0x5d951d(0xa7)](_0x5d951d(0xa6),{'replyId':this[_0x5d951d(0x9d)]['id'],'partIndex':_0x204ae2});}),this[_0x465bc3(0x91)]=new _0x5d1635(_0x5b059c,this[_0x465bc3(0x9d)][_0x465bc3(0x82)]),this[_0x465bc3(0x91)][_0x465bc3(0x87)](_0x465bc3(0x99))['to'](this,_0x465bc3(0x99)),this[_0x465bc3(0x91)]['on'](_0x465bc3(0x9f),()=>{var _0xaf737d=_0x465bc3;this[_0xaf737d(0xa7)](_0xaf737d(0x9f),{'replyId':this[_0xaf737d(0x9d)]['id']});}),this[_0x465bc3(0x91)]['on'](_0x465bc3(0xa3),()=>{var _0x5c4149=_0x465bc3;this[_0x5c4149(0xa7)](_0x5c4149(0xa3),{'replyId':this[_0x5c4149(0x9d)]['id']});}),this[_0x465bc3(0x91)]['on'](_0x465bc3(0x7d),()=>{var _0xe738c9=_0x465bc3;this[_0xe738c9(0xa7)](_0xe738c9(0x7d),{'replyId':this[_0xe738c9(0x9d)]['id']});}),_0x13e07b[_0x465bc3(0x7f)]?this[_0x465bc3(0x91)][_0x465bc3(0xa1)]=!0x1:this[_0x465bc3(0x91)][_0x465bc3(0x87)](_0x465bc3(0xa1))['to'](this[_0x465bc3(0x96)][_0x465bc3(0x97)],_0x465bc3(0x9b)),this[_0x465bc3(0x9a)][_0x465bc3(0x8e)]([this[_0x465bc3(0x96)],this[_0x465bc3(0x91)]]),this[_0x465bc3(0x83)]({'attributes':{'class':[_0x465bc3(0xa5)]}});}async[_0x7b043(0x9e)](_0x4ca01e){var _0x272550=_0x7b043;await this[_0x272550(0x96)][_0x272550(0x9e)](_0x4ca01e),this[_0x272550(0x91)][_0x272550(0x84)](this[_0x272550(0x96)][_0x272550(0x97)][_0x272550(0x7b)]);}[_0x7b043(0x7a)](_0x546568,_0x12a553){var _0x3ebb24=_0x7b043;this[_0x3ebb24(0x96)][_0x3ebb24(0x97)][_0x3ebb24(0x7a)](_0x546568,_0x12a553);}[_0x7b043(0xa0)](_0x23d843){var _0x199aa2=_0x7b043;this[_0x199aa2(0x96)][_0x199aa2(0xa0)](_0x23d843);}[_0x7b043(0xa4)](_0x44093a){var _0x360831=_0x7b043;return this[_0x360831(0x96)][_0x360831(0x97)][_0x360831(0xa4)](_0x44093a);}[_0x7b043(0x88)](){var _0x4178ee=_0x7b043;super[_0x4178ee(0x88)](),this[_0x4178ee(0x96)][_0x4178ee(0x88)](),this[_0x4178ee(0x91)][_0x4178ee(0x80)]=this[_0x4178ee(0x96)][_0x4178ee(0x97)][_0x4178ee(0x9c)];}}
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 _0x47024c=_0xe00b;(function(_0x2c05d9,_0x34d8d0){var _0xed7559=_0xe00b,_0x4589cd=_0x2c05d9();while(!![]){try{var _0x127b93=parseInt(_0xed7559(0x1cf))/0x1*(-parseInt(_0xed7559(0x1c3))/0x2)+parseInt(_0xed7559(0x1d5))/0x3*(parseInt(_0xed7559(0x1db))/0x4)+parseInt(_0xed7559(0x1e3))/0x5*(-parseInt(_0xed7559(0x1da))/0x6)+-parseInt(_0xed7559(0x1c7))/0x7+-parseInt(_0xed7559(0x1c5))/0x8*(-parseInt(_0xed7559(0x1d2))/0x9)+parseInt(_0xed7559(0x1d1))/0xa+-parseInt(_0xed7559(0x1e0))/0xb*(parseInt(_0xed7559(0x1e2))/0xc);if(_0x127b93===_0x34d8d0)break;else _0x4589cd['push'](_0x4589cd['shift']());}catch(_0x34f2a7){_0x4589cd['push'](_0x4589cd['shift']());}}}(_0x38e8,0x6f211));function _0x38e8(){var _0xb1634d=['initialContent','render','add','402721KkoEEl','_contextChipsView','72bBtTLc','5IfWECN','hidden','length','_createMessageContentView','809194KuZKOc','filter','1960VfTcVz','ck-ai-chat__feed__user-message','85232dXkuGz','_createContextChipsView','markAsDone','ck-ai-chat__feed__context-chips','_bodyCollection','contextItems','_locale','div','2UfnrZh','extendTemplate','7514300tnPNCN','3006yHNrTx','children','options','2066652rKxZuP','element','innerHTML','ck-ai-chat__feed__message-content','_messageContentView','155538xAuCec','4fyPGRO','setTemplate'];_0x38e8=function(){return _0xb1634d;};return _0x38e8();}import{AIChatFeedItemView as _0x468160}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x11eb4d}from'./aichatfeedcontextchipsview.js';import{View as _0xfc53b6}from'ckeditor5/src/ui.js';function _0xe00b(_0x659de6,_0x48ab7b){var _0x38e824=_0x38e8();return _0xe00b=function(_0xe00bd0,_0x59d0e4){_0xe00bd0=_0xe00bd0-0x1c2;var _0xe6c8b7=_0x38e824[_0xe00bd0];return _0xe6c8b7;},_0xe00b(_0x659de6,_0x48ab7b);}export class AIChatFeedUserMessageItemView extends _0x468160{[_0x47024c(0x1e1)]=null;[_0x47024c(0x1cd)];[_0x47024c(0x1cb)];[_0x47024c(0x1d9)];constructor(_0x399ea7,_0xefdd47,_0x2ce771){var _0x731c74=_0x47024c;super(_0xefdd47),this[_0x731c74(0x1cd)]=_0x399ea7,this[_0x731c74(0x1cb)]=_0x2ce771,this[_0x731c74(0x1c8)](),this[_0x731c74(0x1c2)](),this[_0x731c74(0x1d0)]({'attributes':{'class':[_0x731c74(0x1c6)]}});}[_0x47024c(0x1c8)](){var _0x3db8fb=_0x47024c;this[_0x3db8fb(0x1d4)][_0x3db8fb(0x1cc)]&&this[_0x3db8fb(0x1d4)][_0x3db8fb(0x1cc)][_0x3db8fb(0x1e5)]>0x0&&(this[_0x3db8fb(0x1e1)]=new _0x11eb4d(this[_0x3db8fb(0x1cd)],this[_0x3db8fb(0x1d4)][_0x3db8fb(0x1cc)][_0x3db8fb(0x1c4)](_0x1723a6=>!_0x1723a6[_0x3db8fb(0x1e4)]),this[_0x3db8fb(0x1cb)]),this[_0x3db8fb(0x1e1)][_0x3db8fb(0x1d0)]({'attributes':{'class':_0x3db8fb(0x1ca)}}),this[_0x3db8fb(0x1d3)][_0x3db8fb(0x1df)](this[_0x3db8fb(0x1e1)]));}[_0x47024c(0x1c2)](){var _0x56dd9d=_0x47024c;this[_0x56dd9d(0x1d9)]=new _0xfc53b6(this[_0x56dd9d(0x1cd)]),this[_0x56dd9d(0x1d9)][_0x56dd9d(0x1dc)]({'tag':_0x56dd9d(0x1ce),'attributes':{'class':_0x56dd9d(0x1d8)}}),this[_0x56dd9d(0x1d3)][_0x56dd9d(0x1df)](this[_0x56dd9d(0x1d9)]);}[_0x47024c(0x1de)](){var _0x32c923=_0x47024c;super[_0x32c923(0x1de)](),this[_0x32c923(0x1d9)][_0x32c923(0x1d6)][_0x32c923(0x1d7)]=this[_0x32c923(0x1d4)][_0x32c923(0x1dd)],this[_0x32c923(0x1c9)]();}}
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 _0xc3cfd5=_0x5939;(function(_0x5ec77f,_0x2e2f39){const _0x5e4507=_0x5939,_0x152825=_0x5ec77f();while(!![]){try{const _0x21a163=-parseInt(_0x5e4507(0x96))/0x1+parseInt(_0x5e4507(0xa6))/0x2*(parseInt(_0x5e4507(0x9f))/0x3)+parseInt(_0x5e4507(0xa0))/0x4*(-parseInt(_0x5e4507(0x93))/0x5)+-parseInt(_0x5e4507(0xa3))/0x6+-parseInt(_0x5e4507(0xa8))/0x7*(parseInt(_0x5e4507(0x9b))/0x8)+-parseInt(_0x5e4507(0xa9))/0x9+parseInt(_0x5e4507(0x9d))/0xa;if(_0x21a163===_0x2e2f39)break;else _0x152825['push'](_0x152825['shift']());}catch(_0x2e717e){_0x152825['push'](_0x152825['shift']());}}}(_0x3908,0x31446));function _0x3908(){const _0x2ae3c6=['40780ZCszpG','addDocumentToContext','resizeTabs','45188awLpvi','selectModel','toggleWebSearch','startConversation','sendUserMessage','8RKpeVI','addFileToContext','3957640QhCNBT','addResourceToContext','916863RXylLk','8VnnxpM','addUrlToContext','loadSourceResources','219894rrEHjy','removeContextItem','toggleReasoning','2BlTBeU','abortPromptStream','2104193tLWUjd','907551ikabJv'];_0x3908=function(){return _0x2ae3c6;};return _0x3908();}function _0x5939(_0x5afb11,_0x27a0a3){const _0x3908f9=_0x3908();return _0x5939=function(_0x5939d9,_0x3e57d9){_0x5939d9=_0x5939d9-0x93;let _0x3d8bc6=_0x3908f9[_0x5939d9];return _0x3d8bc6;},_0x5939(_0x5afb11,_0x27a0a3);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2852e4}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x2852e4,_0xc3cfd5(0x99),_0xc3cfd5(0x95),_0xc3cfd5(0x9a),_0xc3cfd5(0xa7),_0xc3cfd5(0x94),_0xc3cfd5(0x9c),_0xc3cfd5(0xa1),_0xc3cfd5(0x9e),_0xc3cfd5(0xa4),_0xc3cfd5(0xa2),_0xc3cfd5(0x98),_0xc3cfd5(0xa5),_0xc3cfd5(0x97)];
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
- function _0x10a7(){const _0x4ca992=['11bJOrnu','push','resolve','423766KAPmdF','4jiatys','5308920rvRhAC','4278064WiMQjX','54irjUnF','1760175AFVPVF','448178jUtYsi','once','6oZYgYD','queueEmptyPromise','abort','enqueue','signal','_processQueue','reject','_queueEmpty','callback','queue','_abortController','createTask','isProcessing','fire','581768LgDwYm','shift','length','completePromise','166233sURnFO'];_0x10a7=function(){return _0x4ca992;};return _0x10a7();}const _0x275e8f=_0x2d69;(function(_0x3227c2,_0x1f6d16){const _0x1995fc=_0x2d69,_0x5292a0=_0x3227c2();while(!![]){try{const _0x3cf0e3=parseInt(_0x1995fc(0x18e))/0x1+parseInt(_0x1995fc(0x188))/0x2+parseInt(_0x1995fc(0x184))/0x3*(parseInt(_0x1995fc(0x189))/0x4)+parseInt(_0x1995fc(0x18d))/0x5*(parseInt(_0x1995fc(0x190))/0x6)+-parseInt(_0x1995fc(0x18b))/0x7+-parseInt(_0x1995fc(0x180))/0x8*(-parseInt(_0x1995fc(0x18c))/0x9)+parseInt(_0x1995fc(0x18a))/0xa*(-parseInt(_0x1995fc(0x185))/0xb);if(_0x3cf0e3===_0x1f6d16)break;else _0x5292a0['push'](_0x5292a0['shift']());}catch(_0x4ea527){_0x5292a0['push'](_0x5292a0['shift']());}}}(_0x10a7,0x5853d));import{EmitterMixin as _0x12c881}from'ckeditor5/src/utils.js';function _0x2d69(_0x1fbed4,_0x400d67){const _0x10a7ea=_0x10a7();return _0x2d69=function(_0x2d6999,_0x12fbb6){_0x2d6999=_0x2d6999-0x17a;let _0x52c9a7=_0x10a7ea[_0x2d6999];return _0x52c9a7;},_0x2d69(_0x1fbed4,_0x400d67);}export class PromiseQueue extends _0x12c881(){[_0x275e8f(0x17b)]=[];[_0x275e8f(0x17e)]=!0x1;[_0x275e8f(0x17c)];async[_0x275e8f(0x193)](_0x2ea75d){const _0x1621b1=_0x275e8f,_0x453b3c=this[_0x1621b1(0x17d)](_0x2ea75d);return this[_0x1621b1(0x17b)][_0x1621b1(0x186)](_0x453b3c),this[_0x1621b1(0x195)](),_0x453b3c[_0x1621b1(0x183)];}[_0x275e8f(0x192)](){const _0x1ea2ed=_0x275e8f;this[_0x1ea2ed(0x17e)]&&(this[_0x1ea2ed(0x17c)][_0x1ea2ed(0x192)](),this[_0x1ea2ed(0x17c)]=void 0x0,this[_0x1ea2ed(0x17b)]=[],this[_0x1ea2ed(0x17f)](_0x1ea2ed(0x197)),this[_0x1ea2ed(0x17e)]=!0x1);}get[_0x275e8f(0x191)](){const _0x2b321f=_0x275e8f;return this[_0x2b321f(0x17b)][_0x2b321f(0x182)]||this[_0x2b321f(0x17e)]?new Promise(_0x1d0e4a=>{const _0xacb10c=_0x2b321f;this[_0xacb10c(0x18f)](_0xacb10c(0x197),()=>{_0x1d0e4a();});}):Promise[_0x2b321f(0x187)]();}async[_0x275e8f(0x195)](){const _0x5e2655=_0x275e8f;if(!this[_0x5e2655(0x17e)]){this[_0x5e2655(0x17c)]=new AbortController(),this[_0x5e2655(0x17e)]=!0x0;try{for(;this[_0x5e2655(0x17b)][_0x5e2655(0x182)]&&this[_0x5e2655(0x17e)];){const _0x3e68e6=this[_0x5e2655(0x17b)][_0x5e2655(0x181)]();try{await _0x3e68e6[_0x5e2655(0x17a)](this[_0x5e2655(0x17c)][_0x5e2655(0x194)]),_0x3e68e6[_0x5e2655(0x187)]();}catch(_0x24a739){_0x3e68e6[_0x5e2655(0x196)](_0x24a739);}}}finally{this[_0x5e2655(0x17e)]=!0x1,this[_0x5e2655(0x17c)]=void 0x0;}this[_0x5e2655(0x17f)](_0x5e2655(0x197));}}[_0x275e8f(0x17d)](_0x1bdf40){let _0x567683,_0x2a3962;const _0x9cfeab=new Promise((_0x5572ba,_0x27061e)=>{_0x567683=_0x5572ba,_0x2a3962=_0x27061e;});return{'callback':_0x1bdf40,'resolve':_0x567683,'reject':_0x2a3962,'completePromise':_0x9cfeab};}}
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
- function _0x29c2(_0x370a8a,_0x125bcb){const _0x50e86c=_0x50e8();return _0x29c2=function(_0x29c224,_0x4aa64c){_0x29c224=_0x29c224-0x79;let _0x295fb0=_0x50e86c[_0x29c224];return _0x295fb0;},_0x29c2(_0x370a8a,_0x125bcb);}function _0x50e8(){const _0x8a0c72=['isRunning','522LHZpSO','207477gfDXIM','pointerdown','1914054MGvbfo','deltaY','_rafUpdate','_onUserEvent','1771552yXgxBH','scrollTo','scrollHeight','4032384fudXuW','key','44eWyvYE','_stop','End','37720uLmObe','isUserPaused','104247sqpPCf','Home','auto','destroy','3141296yQFqUl','2PGinMx','addEventListener','stop','5NLPiQQ','ArrowDown','PageDown','includes','signal','ArrowUp','wheel','type','touchstart','abortController','PageUp','abort','keydown','element','start','animationFrameId','7JDeQgt','_isAtBottom','bind'];_0x50e8=function(){return _0x8a0c72;};return _0x50e8();}const _0x5547d7=_0x29c2;(function(_0xe8e4ee,_0xb3976b){const _0x56aea8=_0x29c2,_0x219e1b=_0xe8e4ee();while(!![]){try{const _0xef8d0d=-parseInt(_0x56aea8(0x86))/0x1+-parseInt(_0x56aea8(0x9b))/0x2*(-parseInt(_0x56aea8(0x96))/0x3)+-parseInt(_0x56aea8(0x8c))/0x4+parseInt(_0x56aea8(0x9e))/0x5*(-parseInt(_0x56aea8(0x88))/0x6)+parseInt(_0x56aea8(0x81))/0x7*(-parseInt(_0x56aea8(0x9a))/0x8)+parseInt(_0x56aea8(0x85))/0x9*(parseInt(_0x56aea8(0x94))/0xa)+parseInt(_0x56aea8(0x91))/0xb*(parseInt(_0x56aea8(0x8f))/0xc);if(_0xef8d0d===_0xb3976b)break;else _0x219e1b['push'](_0x219e1b['shift']());}catch(_0x468721){_0x219e1b['push'](_0x219e1b['shift']());}}}(_0x50e8,0x39861));const ws=[_0x5547d7(0xa4),_0x5547d7(0x79),_0x5547d7(0x87),_0x5547d7(0x7d)],fs=[_0x5547d7(0xa3),_0x5547d7(0x9f),_0x5547d7(0x7b),_0x5547d7(0xa0),_0x5547d7(0x97),_0x5547d7(0x93),'\x20'];export class ScrollManager{[_0x5547d7(0x7e)];[_0x5547d7(0x80)];[_0x5547d7(0x84)];[_0x5547d7(0x7a)];[_0x5547d7(0x95)];constructor(_0x1e7c22){const _0x51b0ad=_0x5547d7;this[_0x51b0ad(0x7e)]=_0x1e7c22,this[_0x51b0ad(0x80)]=null,this[_0x51b0ad(0x84)]=!0x1,this[_0x51b0ad(0x7a)]=new AbortController(),this[_0x51b0ad(0x95)]=!0x1;for(const _0x409e73 of ws){const _0x5d15b6=_0x51b0ad(0x7d)!==_0x409e73;this[_0x51b0ad(0x7e)][_0x51b0ad(0x9c)](_0x409e73,this[_0x51b0ad(0x8b)][_0x51b0ad(0x83)](this),{'passive':_0x5d15b6,'signal':this[_0x51b0ad(0x7a)][_0x51b0ad(0xa2)]});}}[_0x5547d7(0x7f)](){const _0xb468bc=_0x5547d7;this[_0xb468bc(0x84)]||(this[_0xb468bc(0x84)]=!0x0,this[_0xb468bc(0x95)]=!0x1,this[_0xb468bc(0x80)]=requestAnimationFrame(this[_0xb468bc(0x8a)][_0xb468bc(0x83)](this)));}[_0x5547d7(0x9d)](){requestAnimationFrame(()=>{const _0x5b785c=_0x29c2;this[_0x5b785c(0x92)]();});}[_0x5547d7(0x99)](){const _0x450a29=_0x5547d7;this[_0x450a29(0x92)](),this[_0x450a29(0x7a)][_0x450a29(0x7c)]();}[_0x5547d7(0x92)](){const _0x4f6e89=_0x5547d7;null!==this[_0x4f6e89(0x80)]&&(cancelAnimationFrame(this[_0x4f6e89(0x80)]),this[_0x4f6e89(0x80)]=null),this[_0x4f6e89(0x84)]&&(this[_0x4f6e89(0x84)]=!0x1),this[_0x4f6e89(0x95)]=!0x1;}[_0x5547d7(0x8b)](_0x2ff3f1){const _0x1823c0=_0x5547d7;if(this[_0x1823c0(0x84)]){if(_0x1823c0(0x7d)===_0x2ff3f1[_0x1823c0(0xa5)]){const _0x576fde=_0x2ff3f1[_0x1823c0(0x90)];if(!fs[_0x1823c0(0xa1)](_0x576fde))return;}_0x2ff3f1 instanceof WheelEvent?_0x2ff3f1[_0x1823c0(0x89)]<0x0?this[_0x1823c0(0x95)]=!0x0:this[_0x1823c0(0x95)]=!this[_0x1823c0(0x82)]():this[_0x1823c0(0x95)]=!0x0;}}[_0x5547d7(0x82)](){const _0x5d16f0=_0x5547d7,{scrollTop:_0x41fd2d,scrollHeight:_0x38371d,clientHeight:_0x4e9159}=this[_0x5d16f0(0x7e)];return _0x38371d-_0x41fd2d-_0x4e9159<=0x5;}[_0x5547d7(0x8a)](){const _0x5c9391=_0x5547d7;this[_0x5c9391(0x84)]&&(this[_0x5c9391(0x95)]||this[_0x5c9391(0x7e)][_0x5c9391(0x8d)]({'top':this[_0x5c9391(0x7e)][_0x5c9391(0x8e)],'behavior':_0x5c9391(0x98)}),this[_0x5c9391(0x80)]=requestAnimationFrame(this[_0x5c9391(0x8a)][_0x5c9391(0x83)](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 _0x427b2c=_0x4020;(function(_0x493659,_0x201ef2){var _0x35a89a=_0x4020,_0x1afda0=_0x493659();while(!![]){try{var _0x3f79cc=parseInt(_0x35a89a(0x12c))/0x1+parseInt(_0x35a89a(0x125))/0x2*(-parseInt(_0x35a89a(0x127))/0x3)+parseInt(_0x35a89a(0x12e))/0x4*(-parseInt(_0x35a89a(0x128))/0x5)+parseInt(_0x35a89a(0x129))/0x6+-parseInt(_0x35a89a(0x123))/0x7+-parseInt(_0x35a89a(0x121))/0x8+parseInt(_0x35a89a(0x126))/0x9;if(_0x3f79cc===_0x201ef2)break;else _0x1afda0['push'](_0x1afda0['shift']());}catch(_0x493ffa){_0x1afda0['push'](_0x1afda0['shift']());}}}(_0x3efe,0x27a68));import{ContextPlugin as _0x4b803c}from'ckeditor5/src/core.js';function _0x4020(_0x540068,_0x21c81a){var _0x3efe00=_0x3efe();return _0x4020=function(_0x40204d,_0x1214ce){_0x40204d=_0x40204d-0x121;var _0x31658f=_0x3efe00[_0x40204d];return _0x31658f;},_0x4020(_0x540068,_0x21c81a);}import{AIChatHistoryController as _0x314dc8}from'./aichathistorycontroller.js';function _0x3efe(){var _0x185e06=['27KfXnvc','331380mbIVnu','1187736mShEfJ','pluginName','isPremiumPlugin','44157QpfWvt','requires','16wnEDfT','1631280LYCIbe','AIChatHistory','77217jKoTMB','isOfficialPlugin','30686ZaLxvr','4845843bgxdAB'];_0x3efe=function(){return _0x185e06;};return _0x3efe();}import{AIChatHistoryUI as _0x575a0b}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4b803c{static get[_0x427b2c(0x12d)](){return[_0x314dc8,_0x575a0b];}static get[_0x427b2c(0x12a)](){var _0x152aa6=_0x427b2c;return _0x152aa6(0x122);}static get[_0x427b2c(0x124)](){return!0x0;}static get[_0x427b2c(0x12b)](){return!0x0;}}
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 _0x1c4157=_0x148c;(function(_0x471da4,_0x99678b){const _0x505342=_0x148c,_0x5cba71=_0x471da4();while(!![]){try{const _0x4b69f1=-parseInt(_0x505342(0x130))/0x1+-parseInt(_0x505342(0x157))/0x2+parseInt(_0x505342(0x15d))/0x3+parseInt(_0x505342(0x184))/0x4+-parseInt(_0x505342(0x15e))/0x5+-parseInt(_0x505342(0x12d))/0x6+parseInt(_0x505342(0x16a))/0x7;if(_0x4b69f1===_0x99678b)break;else _0x5cba71['push'](_0x5cba71['shift']());}catch(_0x7275ba){_0x5cba71['push'](_0x5cba71['shift']());}}}(_0x4a8f,0x94c1c));function _0x4a8f(){const _0x42f586=['getMonth','_aiChatHistoryUi','chat','updateItemTitle','getGroupId','removeItem','_handleEditTitle','setDate','loadItems','itemRemoved','_setItemLoading','getFullYear','AI_CHAT_HISTORY_CATEGORY_LATER','setConversationPinned','_generateErrorMessage','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','2957808SrKMBR','map','_clearItemLoading','init','openChat','_handleHistoryErrorUI','getItems','updateItemLoadingState','updates','pluginName','listenTo','locale','1773438iOnQCJ','activeConversation','pinned','822525fhputL','itemId','_aiConnector','_aiChatController','isOfficialPlugin','plugins','_getCategorizedItems','operation','AI_CHAT_HISTORY_ERROR_GENERIC','loadConversation','AIChatHistoryController','_handleTogglePin','requires','isPremiumPlugin','AI_CHAT_UNTITLED_CONVERSATION','activateTab','itemUpdated','AI_CHAT_HISTORY_PIN_ACTION','pin','showError','_setIsMaximized','change:activeConversation','unpin','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','push','activateTab:history','view','_handleRemove','getItem','rename','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_UNPIN_ACTION','getDate','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','setIsMaximized','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','setLoadingSkeleton','resize','toLocaleDateString','1128546XKFoAw','resizedTabs','selectConversation','createdAt','history','itemsLoaded','2739900uAEZSu','2260565HEJpgQ','editConversationTitle','remove','removeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','items','removeHistoryItem','_showConversationHistory','context','get','title','updateItemPinned','7637280LHXLei','updateItems','_updateHistoryItemsUI','length','error','handleRemovedConversation','_handleSelectConversation','resizeTabs','AI_CHAT_HISTORY_CATEGORY_PINNED'];_0x4a8f=function(){return _0x42f586;};return _0x4a8f();}import{ContextPlugin as _0x5976de}from'ckeditor5/src/core.js';import{AIConnector as _0x5c5cbb}from'../aicore/aiconnector.js';import{AIChatController as _0x341313}from'../aichat/aichatcontroller.js';import{AITabs as _0x5514c9}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x55d885}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x43ac67}from'./model/aichathistoryconversations.js';function _0x148c(_0x7e0b38,_0x195796){const _0x4a8f16=_0x4a8f();return _0x148c=function(_0x148cb9,_0x40d21d){_0x148cb9=_0x148cb9-0x128;let _0x3eb048=_0x4a8f16[_0x148cb9];return _0x3eb048;},_0x148c(_0x7e0b38,_0x195796);}import{getTranslation as _0x1d7466}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x5976de{[_0x1c4157(0x132)];[_0x1c4157(0x174)];[_0x1c4157(0x133)];static get[_0x1c4157(0x13c)](){return[_0x5c5cbb,_0x341313,_0x55d885,_0x5514c9];}static get[_0x1c4157(0x12a)](){const _0x327d12=_0x1c4157;return _0x327d12(0x13a);}static get[_0x1c4157(0x134)](){return!0x0;}static get[_0x1c4157(0x13d)](){return!0x0;}[_0x1c4157(0x187)](){const _0x2f56ac=_0x1c4157;this[_0x2f56ac(0x132)]=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x5c5cbb),this[_0x2f56ac(0x174)]=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x55d885),this[_0x2f56ac(0x133)]=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x341313);const _0x30cf50=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x5514c9),_0x89d2f2=this[_0x2f56ac(0x133)][_0x2f56ac(0x177)]();this[_0x2f56ac(0x15b)]=new _0x43ac67({'connector':this[_0x2f56ac(0x132)],'group':_0x89d2f2}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x161),(_0x1630aa,_0x509cd3)=>{const _0x2f9962=_0x2f56ac;this[_0x2f9962(0x17d)](_0x509cd3['id'],_0x2f9962(0x160)),this[_0x2f9962(0x14b)](_0x509cd3['id']);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x15f),(_0x1cf586,_0x88647b)=>{const _0x210cf2=_0x2f56ac;this[_0x210cf2(0x17d)](_0x88647b['id'],_0x210cf2(0x14d)),this[_0x210cf2(0x179)](_0x88647b['id'],_0x88647b[_0x210cf2(0x168)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x140),(_0x13acc0,_0x5cdce8)=>{const _0xcbc43e=_0x2f56ac;void 0x0!==_0x5cdce8[_0xcbc43e(0x129)][_0xcbc43e(0x168)]&&this[_0xcbc43e(0x174)][_0xcbc43e(0x176)](_0x5cdce8[_0xcbc43e(0x131)],_0x5cdce8[_0xcbc43e(0x129)][_0xcbc43e(0x168)]),void 0x0!==_0x5cdce8[_0xcbc43e(0x129)][_0xcbc43e(0x12f)]&&this[_0xcbc43e(0x16c)](),this[_0xcbc43e(0x186)](_0x5cdce8[_0xcbc43e(0x131)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x17c),(_0xaee52a,_0x588331)=>{const _0x1f77eb=_0x2f56ac;this[_0x1f77eb(0x133)][_0x1f77eb(0x16f)](_0x588331[_0x1f77eb(0x131)]),this[_0x1f77eb(0x174)][_0x1f77eb(0x164)](_0x588331[_0x1f77eb(0x131)]),this[_0x1f77eb(0x186)](_0x588331[_0x1f77eb(0x131)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x15c),()=>{const _0x520afd=_0x2f56ac;this[_0x520afd(0x16c)]();}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x16e),(_0x21dc7b,_0x4a0e54)=>{const _0x5ac98c=_0x2f56ac;this[_0x5ac98c(0x189)](_0x4a0e54[_0x5ac98c(0x16e)],_0x4a0e54[_0x5ac98c(0x137)],_0x4a0e54[_0x5ac98c(0x131)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x159),(_0x5eb3cc,_0x4cf9ff)=>{const _0x15389d=_0x2f56ac;this[_0x15389d(0x170)](_0x4cf9ff['id']);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x180),(_0x22b4c1,_0x11c5ce)=>{const _0x3bb453=_0x2f56ac,_0x2ba4a9=_0x11c5ce[_0x3bb453(0x12f)]?_0x3bb453(0x142):_0x3bb453(0x146);this[_0x3bb453(0x17d)](_0x11c5ce['id'],_0x2ba4a9),this[_0x3bb453(0x13b)](_0x11c5ce['id'],_0x11c5ce[_0x3bb453(0x12f)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x188),()=>{const _0x1f6bbf=_0x2f56ac;_0x30cf50[_0x1f6bbf(0x14a)][_0x1f6bbf(0x13f)](_0x1f6bbf(0x175));}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x133)],_0x2f56ac(0x145),()=>{const _0xec48fe=_0x2f56ac;this[_0xec48fe(0x16c)]();}),_0x30cf50[_0x2f56ac(0x14a)]['on'](_0x2f56ac(0x149),()=>{const _0x32da4f=_0x2f56ac;this[_0x32da4f(0x165)]();}),this[_0x2f56ac(0x12b)](_0x30cf50,_0x2f56ac(0x158),(_0x12f24d,_0x5a8afc)=>{const _0x3f39e1=_0x2f56ac;this[_0x3f39e1(0x144)](_0x5a8afc);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x171),()=>{const _0x2146c1=_0x2f56ac;_0x30cf50[_0x2146c1(0x155)]();});}async[_0x1c4157(0x179)](_0x42590c,_0x112ef1){const _0xf26b28=_0x1c4157;await this[_0xf26b28(0x15b)][_0xf26b28(0x176)](_0x42590c,_0x112ef1);}async[_0x1c4157(0x13b)](_0x5889bd,_0x2b10cc){const _0x450fa9=_0x1c4157;await this[_0x450fa9(0x15b)][_0x450fa9(0x169)](_0x5889bd,_0x2b10cc);}async[_0x1c4157(0x14b)](_0x56db43){const _0x4d5678=_0x1c4157;await this[_0x4d5678(0x15b)][_0x4d5678(0x178)](_0x56db43);}async[_0x1c4157(0x170)](_0x2c3e63){const _0x3dbe5e=_0x1c4157;await this[_0x3dbe5e(0x133)][_0x3dbe5e(0x139)](_0x2c3e63);}async[_0x1c4157(0x165)](){const _0x557489=_0x1c4157;this[_0x557489(0x174)][_0x557489(0x143)](''),this[_0x557489(0x174)][_0x557489(0x154)](!0x0),await this[_0x557489(0x15b)][_0x557489(0x187)](),this[_0x557489(0x174)][_0x557489(0x154)](!0x1);}[_0x1c4157(0x16c)](){const _0x1ea031=_0x1c4157,_0x1e065e=this[_0x1ea031(0x133)][_0x1ea031(0x12e)]?.['id'],_0x57afad=this[_0x1ea031(0x136)]()[_0x1ea031(0x185)](_0x2063bf=>({'title':_0x2063bf[_0x1ea031(0x168)],'items':_0x2063bf[_0x1ea031(0x163)][_0x1ea031(0x185)](_0x41b9a1=>({'id':_0x41b9a1['id'],'title':_0x41b9a1[_0x1ea031(0x168)]||_0x1d7466(this[_0x1ea031(0x166)][_0x1ea031(0x12c)],_0x1ea031(0x13e)),'createdAt':new Date(_0x41b9a1[_0x1ea031(0x15a)])[_0x1ea031(0x156)](),'active':_0x41b9a1['id']===_0x1e065e,'pinned':_0x41b9a1[_0x1ea031(0x12f)]}))}));this[_0x1ea031(0x174)][_0x1ea031(0x16b)](_0x57afad);}[_0x1c4157(0x17d)](_0x424a3b,_0x4adf6b){const _0x20b4b9=_0x1c4157;this[_0x20b4b9(0x174)][_0x20b4b9(0x128)](_0x424a3b,_0x4adf6b,!0x0);}[_0x1c4157(0x186)](_0x292cec){const _0x250ed0=_0x1c4157;this[_0x250ed0(0x174)][_0x250ed0(0x128)](_0x292cec,null,!0x1);}[_0x1c4157(0x189)](_0x3f2704,_0x2693ad,_0x5d3a07){const _0x2d5705=_0x1c4157,_0x49c807=this[_0x2d5705(0x181)](_0x2693ad,_0x5d3a07);this[_0x2d5705(0x174)][_0x2d5705(0x143)](_0x49c807),_0x5d3a07&&this[_0x2d5705(0x186)](_0x5d3a07),this[_0x2d5705(0x174)][_0x2d5705(0x154)](!0x1);}[_0x1c4157(0x181)](_0x5ea4c,_0x46e23c){const _0x75a413=_0x1c4157,_0x1bf60e=_0x46e23c?this[_0x75a413(0x15b)][_0x75a413(0x14c)](_0x46e23c):null,_0x21aafa=_0x1bf60e?.[_0x75a413(0x168)]||_0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x13e));switch(_0x5ea4c){case _0x75a413(0x176):return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x182),_0x21aafa);case _0x75a413(0x169):{const _0x2f5d92=_0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x1bf60e?.[_0x75a413(0x12f)]?_0x75a413(0x14f):_0x75a413(0x141));return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x147),[_0x2f5d92,_0x21aafa]);}case _0x75a413(0x178):return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x14e),_0x21aafa);case _0x75a413(0x187):case _0x75a413(0x17b):return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x183));default:return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x138));}}[_0x1c4157(0x136)](){const _0x37bd64=_0x1c4157,_0x267406=new Date(),_0x452a2d=new Date(_0x267406[_0x37bd64(0x17e)](),_0x267406[_0x37bd64(0x173)](),_0x267406[_0x37bd64(0x150)]()),_0x17279a=new Date(_0x452a2d);_0x17279a[_0x37bd64(0x17a)](_0x17279a[_0x37bd64(0x150)]()-0x1);const _0x1685b3=new Date(_0x452a2d);_0x1685b3[_0x37bd64(0x17a)](_0x1685b3[_0x37bd64(0x150)]()-0xe);const _0x42f800=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'pinned':!0x0}),_0x4416de=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'from':_0x452a2d,'to':_0x452a2d}),_0x2c3a5e=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'from':_0x17279a,'to':_0x17279a}),_0x389409=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'from':_0x1685b3,'to':_0x17279a}),_0x12bc29=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'to':_0x1685b3}),_0x4aada5=[];return _0x42f800[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x172)),'items':_0x42f800}),_0x4416de[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x162)),'items':_0x4416de}),_0x2c3a5e[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x151)),'items':_0x2c3a5e}),_0x389409[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x153)),'items':_0x389409}),_0x12bc29[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x17f)),'items':_0x12bc29}),_0x4aada5;}[_0x1c4157(0x144)](_0x215b25){const _0x26da6d=_0x1c4157;this[_0x26da6d(0x174)][_0x26da6d(0x152)](_0x215b25);}}
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 _0x17c45f=_0x2354;(function(_0x4973e9,_0x359c40){const _0x5279dc=_0x2354,_0x5f2b5d=_0x4973e9();while(!![]){try{const _0x322ada=parseInt(_0x5279dc(0x1d6))/0x1*(-parseInt(_0x5279dc(0x1ea))/0x2)+parseInt(_0x5279dc(0x1cb))/0x3+-parseInt(_0x5279dc(0x1eb))/0x4+-parseInt(_0x5279dc(0x1e5))/0x5*(parseInt(_0x5279dc(0x1cc))/0x6)+parseInt(_0x5279dc(0x1ef))/0x7+-parseInt(_0x5279dc(0x1d0))/0x8*(parseInt(_0x5279dc(0x1c7))/0x9)+parseInt(_0x5279dc(0x1df))/0xa;if(_0x322ada===_0x359c40)break;else _0x5f2b5d['push'](_0x5f2b5d['shift']());}catch(_0x220188){_0x5f2b5d['push'](_0x5f2b5d['shift']());}}}(_0x243d,0x647e6));import{ContextPlugin as _0x7f068b}from'ckeditor5/src/core.js';import{AITabs as _0x3006fe}from'../aitabs/aitabs.js';import{IconAIHistory as _0x3772ff}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x489fe4}from'./ui/aichathistoryview.js';import{getTranslation as _0x24c8dc}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';function _0x243d(){const _0x39f381=['updateItemLoadingState','showResizeButton','updateItemTitle','delegate','hideError','errorMessage','removeConversation','_historyView','11369920roZtFK','resizeTabs','setLoadingSkeleton','removeHistoryItem','isMaximized','isPremiumPlugin','30KVDOtJ','get','history','updateHistoryItemsWithCategories','selectConversation','1009846eoGMae','749376QhrscU','AITabs','pluginName','AI_CHAT_HISTORY_HEADING','989191zqPpYb','requires','updateItems','addTab','locale','AIChatHistoryUI','18pPSxKQ','isLoading','openChat','context','1049070YSCVDU','482286TKYpzw','plugins','isOfficialPlugin','editConversationTitle','167280SPXatY','setIsMaximized','view','setConversationPinned','showError','showConversationHistory','1mZaFmF'];_0x243d=function(){return _0x39f381;};return _0x243d();}function _0x2354(_0xadf7de,_0x4f9ed0){const _0x243d18=_0x243d();return _0x2354=function(_0x2354a8,_0x4b319f){_0x2354a8=_0x2354a8-0x1c6;let _0x32a66b=_0x243d18[_0x2354a8];return _0x32a66b;},_0x2354(_0xadf7de,_0x4f9ed0);}export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x17c45f(0x1d5),_0x17c45f(0x1dd),_0x17c45f(0x1cf),_0x17c45f(0x1d3),_0x17c45f(0x1e9),_0x17c45f(0x1c9),_0x17c45f(0x1e0)];export class AIChatHistoryUI extends _0x7f068b{static get[_0x17c45f(0x1f0)](){return[_0x3006fe];}[_0x17c45f(0x1de)];static get[_0x17c45f(0x1ed)](){const _0x189c42=_0x17c45f;return _0x189c42(0x1c6);}static get[_0x17c45f(0x1ce)](){return!0x0;}static get[_0x17c45f(0x1e4)](){return!0x0;}constructor(_0x5a58d){const _0x250692=_0x17c45f;super(_0x5a58d);const _0x25ed66=this[_0x250692(0x1ca)][_0x250692(0x1cd)][_0x250692(0x1e6)](_0x250692(0x1ec));this[_0x250692(0x1de)]=new _0x489fe4(this[_0x250692(0x1ca)][_0x250692(0x1f3)],_0x25ed66[_0x250692(0x1d8)]),this[_0x250692(0x1de)][_0x250692(0x1da)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x25ed66[_0x250692(0x1d2)][_0x250692(0x1f2)]({'id':_0x250692(0x1e7),'buttonLabel':_0x24c8dc(this[_0x250692(0x1ca)][_0x250692(0x1f3)],_0x250692(0x1ee)),'buttonIcon':_0x3772ff,'order':0x0,'content':this[_0x250692(0x1de)]});}[_0x17c45f(0x1e2)](_0x2bda5d){const _0xafdb08=_0x17c45f;this[_0xafdb08(0x1de)][_0xafdb08(0x1e2)](_0x2bda5d);}[_0x17c45f(0x1f1)](_0x1b694c){const _0x14e5da=_0x17c45f;this[_0x14e5da(0x1de)][_0x14e5da(0x1e8)](_0x1b694c);}[_0x17c45f(0x1d9)](_0x129e17,_0x1049c0){const _0x20a6e2=_0x17c45f;this[_0x20a6e2(0x1de)][_0x20a6e2(0x1d9)](_0x129e17,_0x1049c0);}[_0x17c45f(0x1d7)](_0x48a7d0,_0x3ec844,_0x381c89){const _0x30fafe=_0x17c45f;this[_0x30fafe(0x1de)][_0x30fafe(0x1d7)](_0x48a7d0,_0x3ec844,_0x381c89);}[_0x17c45f(0x1e1)](_0x3acbb8){const _0x349b13=_0x17c45f;this[_0x349b13(0x1de)][_0x349b13(0x1c8)]=_0x3acbb8;}[_0x17c45f(0x1d4)](_0x4f3d63){const _0x1abbd3=_0x17c45f;this[_0x1abbd3(0x1de)][_0x1abbd3(0x1dc)]=_0x4f3d63;}[_0x17c45f(0x1db)](){const _0x32f3a4=_0x17c45f;this[_0x32f3a4(0x1de)][_0x32f3a4(0x1dc)]='';}[_0x17c45f(0x1d1)](_0x4a9619){const _0x3ac13f=_0x17c45f;this[_0x3ac13f(0x1de)][_0x3ac13f(0x1e3)]=_0x4a9619;}}
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 _0x4ece(_0x5ff4d,_0x5701de){const _0x18bd9d=_0x18bd();return _0x4ece=function(_0x4ece90,_0xa58355){_0x4ece90=_0x4ece90-0xf9;let _0x116592=_0x18bd9d[_0x4ece90];return _0x116592;},_0x4ece(_0x5ff4d,_0x5701de);}const _0x44d68c=_0x4ece;(function(_0xf93f3c,_0x33128e){const _0x4a6dca=_0x4ece,_0x180c5d=_0xf93f3c();while(!![]){try{const _0x44aa48=-parseInt(_0x4a6dca(0x126))/0x1*(-parseInt(_0x4a6dca(0x103))/0x2)+parseInt(_0x4a6dca(0x123))/0x3*(-parseInt(_0x4a6dca(0xfa))/0x4)+-parseInt(_0x4a6dca(0x125))/0x5+-parseInt(_0x4a6dca(0x11e))/0x6*(-parseInt(_0x4a6dca(0x124))/0x7)+parseInt(_0x4a6dca(0x108))/0x8*(parseInt(_0x4a6dca(0x127))/0x9)+parseInt(_0x4a6dca(0x111))/0xa+-parseInt(_0x4a6dca(0xfe))/0xb*(parseInt(_0x4a6dca(0x10f))/0xc);if(_0x44aa48===_0x33128e)break;else _0x180c5d['push'](_0x180c5d['shift']());}catch(_0xfa7e73){_0x180c5d['push'](_0x180c5d['shift']());}}}(_0x18bd,0x32241));import{EmitterMixin as _0x420a76}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x3bdcbf}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x420a76(){[_0x44d68c(0xff)]=[];[_0x44d68c(0x105)];[_0x44d68c(0x109)];constructor({connector:_0xc48e6c,group:_0x3bb75a}){const _0x3ab1d3=_0x44d68c;super(),this[_0x3ab1d3(0x105)]=_0xc48e6c,this[_0x3ab1d3(0x109)]=_0x3bb75a;}async[_0x44d68c(0xfb)](){const _0xfeae71=_0x44d68c;try{const _0xc1056f=this[_0xfeae71(0x105)][_0xfeae71(0x110)](this[_0xfeae71(0x109)]),_0x57422b=await _0xc1056f[_0xfeae71(0x128)]();this[_0xfeae71(0x121)](_0x57422b);}catch(_0xff0fb3){this[_0xfeae71(0x119)](_0xfeae71(0x116),{'error':_0xff0fb3,'operation':_0xfeae71(0xfb)});}}[_0x44d68c(0x117)](_0x4ed9f6){const _0x1de96f=_0x44d68c;this[_0x1de96f(0xff)][_0x1de96f(0x113)](_0x4ed9f6);}async[_0x44d68c(0xfc)](_0x3b8be0){const _0xb493e2=_0x44d68c,_0x9ab7a7=this[_0xb493e2(0xff)][_0xb493e2(0x120)](_0x675b83=>_0x675b83['id']===_0x3b8be0);if(-0x1===_0x9ab7a7)return!0x1;try{return await this[_0xb493e2(0x105)][_0xb493e2(0x101)](_0x3b8be0)[_0xb493e2(0x100)](),this[_0xb493e2(0xff)][_0xb493e2(0x11d)](_0x9ab7a7,0x1),this[_0xb493e2(0x119)](_0xb493e2(0x10d),{'itemId':_0x3b8be0}),!0x0;}catch(_0x16bf6e){return this[_0xb493e2(0x119)](_0xb493e2(0x116),{'error':_0x16bf6e,'operation':_0xb493e2(0xfc),'itemId':_0x3b8be0}),!0x1;}}[_0x44d68c(0x10c)](_0x3c85a7){const _0x357492=_0x44d68c;return this[_0x357492(0xff)][_0x357492(0x11f)](_0x196129=>_0x196129['id']===_0x3c85a7);}async[_0x44d68c(0x118)](_0x6038a2,_0x187d03){const _0x15701a=_0x44d68c,_0x4d4545=this[_0x15701a(0x10c)](_0x6038a2);if(!_0x4d4545)return!0x1;try{return await this[_0x15701a(0x105)][_0x15701a(0x10e)](_0x6038a2,{'title':_0x187d03})[_0x15701a(0x10b)](),_0x4d4545[_0x15701a(0x11c)](_0x187d03),this[_0x15701a(0x119)](_0x15701a(0x122),{'itemId':_0x6038a2,'updates':{'title':_0x187d03}}),!0x0;}catch(_0x2bebc5){return this[_0x15701a(0x119)](_0x15701a(0x116),{'error':_0x2bebc5,'operation':_0x15701a(0x118),'itemId':_0x6038a2}),!0x1;}}async[_0x44d68c(0x11a)](_0x29c6d9,_0x2333b4){const _0xb00a53=_0x44d68c,_0xc87df6=this[_0xb00a53(0x10c)](_0x29c6d9);if(!_0xc87df6)return!0x1;try{return await this[_0xb00a53(0x105)][_0xb00a53(0x10e)](_0x29c6d9,{'pinned':_0x2333b4})[_0xb00a53(0x10b)](),_0xc87df6[_0xb00a53(0x11b)](_0x2333b4),this[_0xb00a53(0x119)](_0xb00a53(0x122),{'itemId':_0x29c6d9,'updates':{'pinned':_0x2333b4}}),!0x0;}catch(_0x1b27f1){return this[_0xb00a53(0x119)](_0xb00a53(0x116),{'error':_0x1b27f1,'operation':_0xb00a53(0x11a),'itemId':_0x29c6d9}),!0x1;}}[_0x44d68c(0x121)](_0x284265){const _0x4b87ae=_0x44d68c;try{this[_0x4b87ae(0xff)]=[],_0x284265[_0x4b87ae(0x104)](_0x13ad9d=>{const _0x261697=_0x4b87ae;this[_0x261697(0x117)](new _0x3bdcbf(_0x13ad9d));}),this[_0x4b87ae(0x119)](_0x4b87ae(0xfd),{'items':[...this[_0x4b87ae(0xff)]]});}catch(_0x501a88){this[_0x4b87ae(0x119)](_0x4b87ae(0x116),{'error':_0x501a88,'operation':_0x4b87ae(0x121)});}}[_0x44d68c(0x102)](_0x447d73={}){const _0x24d493=_0x44d68c,_0x3da162=void 0x0!==_0x447d73[_0x24d493(0x115)]&&_0x447d73[_0x24d493(0x115)],_0xd8b672=_0x447d73[_0x24d493(0x114)]?new Date(_0x447d73[_0x24d493(0x114)][_0x24d493(0x129)](),_0x447d73[_0x24d493(0x114)][_0x24d493(0xf9)](),_0x447d73[_0x24d493(0x114)][_0x24d493(0x10a)]()):null,_0xd0411d=_0x447d73['to']?new Date(_0x447d73['to'][_0x24d493(0x129)](),_0x447d73['to'][_0x24d493(0xf9)](),_0x447d73['to'][_0x24d493(0x10a)]()):null;return this[_0x24d493(0xff)][_0x24d493(0x112)](_0x52af4e=>{const _0x3b19e5=_0x24d493;if(_0x52af4e[_0x3b19e5(0x115)]!==_0x3da162)return!0x1;if(_0xd0411d){const _0x5c62df=new Date(_0x52af4e[_0x3b19e5(0x107)][_0x3b19e5(0x129)](),_0x52af4e[_0x3b19e5(0x107)][_0x3b19e5(0xf9)](),_0x52af4e[_0x3b19e5(0x107)][_0x3b19e5(0x10a)]());return _0xd8b672?_0xd8b672[_0x3b19e5(0x106)]()===_0xd0411d[_0x3b19e5(0x106)]()?_0x5c62df[_0x3b19e5(0x106)]()===_0xd8b672[_0x3b19e5(0x106)]():_0x5c62df<_0xd0411d&&_0x5c62df>=_0xd8b672:_0x5c62df<_0xd0411d;}return!0x0;});}}function _0x18bd(){const _0xc3ac34=['getItem','itemRemoved','updateConversation','12ACrSBC','fetchConversations','2184090sNHKYa','filter','push','from','pinned','error','addItem','updateItemTitle','fire','updateItemPinned','updatePinned','updateTitle','splice','6dBClsi','find','findIndex','loadItems','itemUpdated','3pniNbz','1121771vPOYfX','1497025tljUIO','107OqkKbP','126783UXpjOQ','getConversations','getFullYear','getMonth','125456JNEuJt','init','removeItem','itemsLoaded','2688037tsFoYB','items','execute','deleteConversation','getItems','6458gdDabt','map','connector','getTime','createdAt','32evNPyd','group','getDate','getResult'];_0x18bd=function(){return _0xc3ac34;};return _0x18bd();}
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 _0x2053a8=_0x3ace;function _0x3ace(_0x19a21e,_0x3c9d42){var _0x54a55b=_0x54a5();return _0x3ace=function(_0x3ace5a,_0x450419){_0x3ace5a=_0x3ace5a-0xf2;var _0x3b7e0c=_0x54a55b[_0x3ace5a];return _0x3b7e0c;},_0x3ace(_0x19a21e,_0x3c9d42);}(function(_0x24c672,_0x668e9d){var _0x212149=_0x3ace,_0x14c2d2=_0x24c672();while(!![]){try{var _0x32a620=-parseInt(_0x212149(0xfc))/0x1*(-parseInt(_0x212149(0x102))/0x2)+-parseInt(_0x212149(0xff))/0x3*(-parseInt(_0x212149(0xf8))/0x4)+parseInt(_0x212149(0xfe))/0x5+-parseInt(_0x212149(0xf4))/0x6+-parseInt(_0x212149(0x101))/0x7*(parseInt(_0x212149(0xf6))/0x8)+parseInt(_0x212149(0xf9))/0x9+-parseInt(_0x212149(0xf7))/0xa;if(_0x32a620===_0x668e9d)break;else _0x14c2d2['push'](_0x14c2d2['shift']());}catch(_0x423092){_0x14c2d2['push'](_0x14c2d2['shift']());}}}(_0x54a5,0x3cd59));import{ObservableMixin as _0x4c5e14}from'ckeditor5/src/utils.js';function _0x54a5(){var _0x31bec2=['2BOGFXG','updatePinned','createdAt','2062302Xzhjlm','title','8424AxniVY','4879050toikqe','1864684pQqKfq','1874736yfnKUw','updateTitle','set','443249GJFhOq','updatedAt','978940LpyyfL','3JajPVX','pinned','1547oboZAD'];_0x54a5=function(){return _0x31bec2;};return _0x54a5();}import{escape as _0x1b5d2f}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x4c5e14(){['id'];[_0x2053a8(0xf3)];constructor({id:_0x569e7b,title:_0x3f0d54,createdAt:_0x1b520f,updatedAt:_0x366b0c,pinned:_0x5dd220}){var _0x19850d=_0x2053a8;super(),this['id']=_0x569e7b,this[_0x19850d(0xf3)]=new Date(_0x1b520f),this[_0x19850d(0xfb)](_0x19850d(0xf5),_0x3f0d54),this[_0x19850d(0xfb)](_0x19850d(0xfd),_0x366b0c?new Date(_0x366b0c):null),this[_0x19850d(0xfb)](_0x19850d(0x100),_0x5dd220||!0x1);}[_0x2053a8(0xfa)](_0x3365b9){var _0x358214=_0x2053a8;this[_0x358214(0xfb)](_0x358214(0xf5),_0x1b5d2f(_0x3365b9)),this[_0x358214(0xfd)]=new Date();}[_0x2053a8(0xf2)](_0x2a106d){var _0x58b37b=_0x2053a8;this[_0x58b37b(0xfb)](_0x58b37b(0x100),_0x2a106d),this[_0x58b37b(0xfd)]=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 _0x158bb8=_0x4b38;(function(_0x2dd537,_0x4f1273){const _0x45ac06=_0x4b38,_0xf27410=_0x2dd537();while(!![]){try{const _0x207b95=-parseInt(_0x45ac06(0x16d))/0x1+parseInt(_0x45ac06(0x12d))/0x2+-parseInt(_0x45ac06(0x11f))/0x3*(-parseInt(_0x45ac06(0x11a))/0x4)+-parseInt(_0x45ac06(0x129))/0x5*(-parseInt(_0x45ac06(0x13b))/0x6)+parseInt(_0x45ac06(0x14d))/0x7+-parseInt(_0x45ac06(0x136))/0x8+-parseInt(_0x45ac06(0x114))/0x9;if(_0x207b95===_0x4f1273)break;else _0xf27410['push'](_0xf27410['shift']());}catch(_0x25fff2){_0xf27410['push'](_0xf27410['shift']());}}}(_0x227a,0x4ce4e));import{ListItemView as _0x1a1800,HighlightedTextView as _0x24405f,ButtonView as _0x208e23,ListView as _0x3e7a48,IconView as _0x501852,createDropdown as _0x1a0779,InputTextView as _0x1b9a4c}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0xa3ed46,IconPin as _0x5f4df5,IconCheck as _0x2e8f8e,IconCancel as _0x23393c}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x377c7c,ConfirmMixin as _0x557f3c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4b38(_0x569372,_0x52f20b){const _0x227ac9=_0x227a();return _0x4b38=function(_0x4b3899,_0x27c757){_0x4b3899=_0x4b3899-0x112;let _0x429d33=_0x227ac9[_0x4b3899];return _0x429d33;},_0x4b38(_0x569372,_0x52f20b);}function _0x227a(){const _0x597d63=['ck-confirm-view-cancel','set','listitem','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','extendTemplate','addMany','buttonView','ck-confirm-view-submit','234005GfhhiA','edit:cancel','actions','setConversationPinned','571810WExkTv','_createPinButtonView','clear','_titleView','locale','label','isEdit','value','AI_CHAT_HISTORY_EDIT_NAME','219320tZcMWr','updateTitle','pinned','mainContent','showConfirm','12PhEEBb','AI_CHAT_HISTORY_LOADING_UNPINNING','text','loadingState','_createAcceptEditButtonView','change:isEdit','ck-ai-chat-history__item','then','AI_CHAT_HISTORY_REMOVE_CONFIRM','click','AI_CHAT_HISTORY_ACCEPT','updateLoadingState','match','removeConversation','isMatching','panelPosition','AI_CHAT_HISTORY_PIN_BUTTON','bindTemplate','3319547DSORwN','panelView','fire','key','ck-ai-chat-history__item-check-container','_createCheckView','createCollection','span','ck-ai-chat-history__item-content','ck-ai-chat-history__item-check','tiny','execute','children','AI_CHAT_HISTORY_LOADING_PINNING','element','ck-ai-chat-history__item-main-content','ck-ai-loader__text','ck-ai-chat-history__item--edit','AI_CHAT_HISTORY_LOADING_RENAMING','selectConversation','AI_CHAT_HISTORY_LOADING_REMOVING','AI_CHAT_HISTORY_CANCEL','_createCancelEditButtonView','add','items','focus','bind','AI_CHAT_HISTORY_REMOVE','ck-ai-chat-history__item--active','setTemplate','editConversationTitle','withText','186294oKhBQe','ck-ai-chat-history__item-title','highlightText','string','isOn','ck-ai-loader','ck-ai-chat-history__item-actions','isVisible','4725918AuwvEJ','_createSpinnerView','Enter','_createMenuDropdownView','ck-ai-chat-history__item-row','LOADING_LABELS','800164qluUAp','_commitEditInputValue','div','ck-hidden','_createEditInputView','3xsWjfm','ck-ai-chat-history__item-date'];_0x227a=function(){return _0x597d63;};return _0x227a();}import{escape as _0x52d70d}from'es-toolkit/compat';import{AISpinnerView as _0x48fc87}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x46776e}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x557f3c(_0x1a1800){['id'];static [_0x158bb8(0x119)]={'remove':_0x158bb8(0x161),'rename':_0x158bb8(0x15f),'pin':_0x158bb8(0x15a),'unpin':_0x158bb8(0x13c)};[_0x158bb8(0x12b)];[_0x158bb8(0x139)];[_0x158bb8(0x130)];constructor(_0x4c7157,_0x2e91eb){const _0x1e9676=_0x158bb8;super(_0x4c7157);const _0xaa3b05=this[_0x1e9676(0x14c)];this[_0x1e9676(0x122)](_0x1e9676(0x133),!0x1),this[_0x1e9676(0x122)](_0x1e9676(0x113),!0x0),this[_0x1e9676(0x122)](_0x1e9676(0x138),!!_0x2e91eb[_0x1e9676(0x138)]),this[_0x1e9676(0x122)](_0x1e9676(0x13e),null),this['id']=_0x2e91eb['id'];const {title:_0x4102a3,createdAt:_0x3fe370,active:_0x4118d3=!0x1}=_0x2e91eb;this[_0x1e9676(0x130)]=new _0x24405f(),this[_0x1e9676(0x130)][_0x1e9676(0x13d)]=_0x4102a3,this[_0x1e9676(0x130)][_0x1e9676(0x125)]({'attributes':{'class':[_0x1e9676(0x16e)]}});const _0x5913b5=this[_0x1e9676(0x152)](),_0x15deba=this[_0x1e9676(0x12e)](_0x4c7157),_0x2c0808=this[_0x1e9676(0x117)](),_0x732e69=this[_0x1e9676(0x11e)](_0x4c7157,_0x4102a3),_0x4e147f=this[_0x1e9676(0x13f)](_0x4c7157,_0x732e69),_0x59c437=this[_0x1e9676(0x163)](_0x4c7157,_0x732e69);this[_0x1e9676(0x12b)]=this[_0x1e9676(0x153)](),this[_0x1e9676(0x139)]=this[_0x1e9676(0x153)](),this[_0x1e9676(0x139)][_0x1e9676(0x164)](this[_0x1e9676(0x130)]),this[_0x1e9676(0x12b)][_0x1e9676(0x164)](_0x15deba),this[_0x1e9676(0x12b)][_0x1e9676(0x164)](_0x2c0808),this['on'](_0x1e9676(0x140),(_0x38c041,_0x19e81e,_0x3b1562)=>{const _0x26cc4c=_0x1e9676;this[_0x26cc4c(0x12b)][_0x26cc4c(0x12f)](),this[_0x26cc4c(0x139)][_0x26cc4c(0x12f)](),_0x3b1562?(this[_0x26cc4c(0x12b)][_0x26cc4c(0x164)](_0x4e147f),this[_0x26cc4c(0x12b)][_0x26cc4c(0x164)](_0x59c437),this[_0x26cc4c(0x139)][_0x26cc4c(0x164)](_0x732e69),_0x732e69[_0x26cc4c(0x15b)][_0x26cc4c(0x166)]()):(this[_0x26cc4c(0x12b)][_0x26cc4c(0x164)](_0x15deba),this[_0x26cc4c(0x12b)][_0x26cc4c(0x164)](_0x2c0808),this[_0x26cc4c(0x139)][_0x26cc4c(0x164)](this[_0x26cc4c(0x130)]));}),this[_0x1e9676(0x16a)]({'tag':'li','attributes':{'class':[_0x1e9676(0x141),_0x4118d3?_0x1e9676(0x169):'',_0xaa3b05['if'](_0x1e9676(0x113),_0x1e9676(0x11d),_0x21608f=>!_0x21608f),_0xaa3b05['if'](_0x1e9676(0x133),_0x1e9676(0x15e))],'role':_0x1e9676(0x123)},'children':[{'tag':_0x1e9676(0x154),'attributes':{'class':[_0x1e9676(0x151)]},'children':[{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x156),_0xaa3b05['if'](_0x1e9676(0x13e),_0x1e9676(0x11d),_0x1c9fbd=>!!_0x1c9fbd)]},'children':_0x4118d3?[_0x5913b5]:[]},{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x172),_0xaa3b05['if'](_0x1e9676(0x13e),_0x1e9676(0x11d),_0x16e689=>!_0x16e689)]},'children':[this[_0x1e9676(0x115)]()]}]},{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x118)]},'children':[{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x155)]},'on':{'click':this[_0x1e9676(0x14c)]['to'](_0x1e9676(0x144))},'children':[{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x15c)]},'children':[{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x16e),_0xaa3b05['if'](_0x1e9676(0x13e),_0x1e9676(0x11d),_0x108c6d=>!!_0x108c6d)]},'children':this[_0x1e9676(0x139)]},{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x15d),_0xaa3b05['if'](_0x1e9676(0x13e),_0x1e9676(0x11d),_0x3a24d9=>!_0x3a24d9)]},'children':[{'text':_0xaa3b05['to'](_0x1e9676(0x13e),_0x2229ce=>_0x2229ce?_0x46776e(this[_0x1e9676(0x131)],AIChatHistoryListItemView[_0x1e9676(0x119)][_0x2229ce]):'')}]}]},{'tag':_0x1e9676(0x154),'attributes':{'class':[_0x1e9676(0x120)]},'children':[_0x3fe370]}]},{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x112)]},'children':this[_0x1e9676(0x12b)]}]}]}),this['on'](_0x1e9676(0x144),()=>{const _0x504634=_0x1e9676;this[_0x504634(0x133)]||this[_0x504634(0x14f)](_0x504634(0x160),{'id':this['id']});});}[_0x158bb8(0x137)](_0x2691c0){const _0x5cc3a9=_0x158bb8;this[_0x5cc3a9(0x130)][_0x5cc3a9(0x13d)]=_0x52d70d(_0x2691c0);}[_0x158bb8(0x146)](_0x29c3b6,_0x2be0ff){const _0x56eaed=_0x158bb8;this[_0x56eaed(0x122)](_0x56eaed(0x13e),_0x2be0ff?_0x29c3b6:null);}[_0x158bb8(0x152)](){const _0x197b35=_0x158bb8,_0x51036c=new _0x501852();return _0x51036c[_0x197b35(0x122)]({'content':_0x2e8f8e}),_0x51036c;}[_0x158bb8(0x12e)](_0x1f41bb){const _0x4af001=_0x158bb8,_0x9b3f24=new _0x208e23(_0x1f41bb);return _0x9b3f24[_0x4af001(0x122)]({'label':_0x46776e(_0x1f41bb,_0x4af001(0x14b)),'icon':_0x5f4df5,'withText':!0x1,'tooltip':!0x0}),_0x9b3f24[_0x4af001(0x167)](_0x4af001(0x171))['to'](this,_0x4af001(0x138)),_0x9b3f24['on'](_0x4af001(0x158),()=>{const _0x5473f9=_0x4af001,_0x20b143=!this[_0x5473f9(0x138)];this[_0x5473f9(0x14f)](_0x5473f9(0x12c),{'id':this['id'],'pinned':_0x20b143});}),_0x9b3f24;}[_0x158bb8(0x117)](){const _0x4c0272=_0x158bb8,_0x112491=_0x1a0779(this[_0x4c0272(0x131)],_0x377c7c),_0x1b3ed4=_0x112491[_0x4c0272(0x14e)][_0x4c0272(0x159)];_0x112491[_0x4c0272(0x127)][_0x4c0272(0x122)]({'label':_0x46776e(this[_0x4c0272(0x131)],_0x4c0272(0x124)),'icon':_0xa3ed46}),_0x112491[_0x4c0272(0x14a)]='sw';const _0x4b3ded=new _0x208e23(this[_0x4c0272(0x131)]);_0x4b3ded[_0x4c0272(0x132)]=_0x46776e(this[_0x4c0272(0x131)],_0x4c0272(0x135)),_0x4b3ded[_0x4c0272(0x16c)]=!0x0,_0x4b3ded['on'](_0x4c0272(0x158),()=>{const _0x5e8bd7=_0x4c0272;this[_0x5e8bd7(0x133)]=!0x0;});const _0x8abc64=new _0x208e23(this[_0x4c0272(0x131)]);_0x8abc64[_0x4c0272(0x132)]=_0x46776e(this[_0x4c0272(0x131)],_0x4c0272(0x168)),_0x8abc64[_0x4c0272(0x16c)]=!0x0,_0x8abc64['on'](_0x4c0272(0x158),()=>{const _0x407462=_0x4c0272;this[_0x407462(0x13a)](_0x46776e(this[_0x407462(0x131)],_0x407462(0x143)),this[_0x407462(0x15b)])[_0x407462(0x142)](()=>{const _0x23688b=_0x407462;this[_0x23688b(0x14f)](_0x23688b(0x148),{'id':this['id']});});});const _0xf801b8=new _0x3e7a48(this[_0x4c0272(0x131)]),_0x4d3c6a=new _0x1a1800(this[_0x4c0272(0x131)]);_0x4d3c6a[_0x4c0272(0x159)][_0x4c0272(0x164)](_0x4b3ded);const _0x4cb516=new _0x1a1800(this[_0x4c0272(0x131)]);return _0x4cb516[_0x4c0272(0x159)][_0x4c0272(0x164)](_0x8abc64),_0xf801b8[_0x4c0272(0x165)][_0x4c0272(0x126)]([_0x4d3c6a,_0x4cb516]),_0x1b3ed4[_0x4c0272(0x164)](_0xf801b8),_0x112491;}[_0x158bb8(0x11e)](_0x2e4c83,_0x12821e){const _0x4ba200=_0x158bb8,_0x444344=new _0x1b9a4c(_0x2e4c83),_0x3014df=_0x444344[_0x4ba200(0x14c)];return _0x444344[_0x4ba200(0x134)]=_0x12821e,_0x444344[_0x4ba200(0x125)]({'on':{'keydown':_0x3014df['to'](_0x1ac703=>{const _0x3ab2a1=_0x4ba200;_0x3ab2a1(0x116)==_0x1ac703[_0x3ab2a1(0x150)]&&this[_0x3ab2a1(0x11b)](_0x444344);})}}),_0x444344;}[_0x158bb8(0x13f)](_0x165831,_0x1885df){const _0x2d903c=_0x158bb8,_0x68ce23=new _0x208e23(_0x165831);return _0x68ce23[_0x2d903c(0x122)]({'icon':_0x2e8f8e,'withText':!0x1,'tooltip':_0x46776e(_0x165831,_0x2d903c(0x145))}),_0x68ce23[_0x2d903c(0x125)]({'attributes':{'class':[_0x2d903c(0x128)]}}),_0x68ce23['on'](_0x2d903c(0x158),()=>{const _0x4d285e=_0x2d903c;this[_0x4d285e(0x11b)](_0x1885df);}),_0x68ce23;}[_0x158bb8(0x11b)](_0x168c08){const _0x459a48=_0x158bb8,_0x5c9e70=_0x168c08[_0x459a48(0x15b)][_0x459a48(0x134)]||'';this[_0x459a48(0x130)][_0x459a48(0x13d)]=_0x5c9e70,this[_0x459a48(0x133)]=!0x1,this[_0x459a48(0x14f)](_0x459a48(0x16b),{'id':this['id'],'title':_0x5c9e70});}[_0x158bb8(0x163)](_0x1f4aba,_0x3a2916){const _0x1e4ab3=_0x158bb8,_0x1c0f1d=new _0x208e23(_0x1f4aba);return _0x1c0f1d[_0x1e4ab3(0x122)]({'icon':_0x23393c,'withText':!0x1,'tooltip':_0x46776e(_0x1f4aba,_0x1e4ab3(0x162))}),_0x1c0f1d[_0x1e4ab3(0x125)]({'attributes':{'class':[_0x1e4ab3(0x121)]}}),_0x1c0f1d['on'](_0x1e4ab3(0x158),()=>{const _0xd3cd14=_0x1e4ab3;this[_0xd3cd14(0x133)]=!0x1,_0x3a2916[_0xd3cd14(0x134)]=this[_0xd3cd14(0x130)][_0xd3cd14(0x13d)]||'',this[_0xd3cd14(0x14f)](_0xd3cd14(0x12a));}),_0x1c0f1d;}[_0x158bb8(0x115)](){const _0x33e7e4=_0x158bb8,_0x57f074=new _0x48fc87(_0x33e7e4(0x157));return _0x57f074[_0x33e7e4(0x113)]=!0x0,_0x57f074;}[_0x158bb8(0x149)](_0x2dac56){const _0x2a010b=_0x158bb8;return this[_0x2a010b(0x130)]&&_0x2a010b(0x170)==typeof this[_0x2a010b(0x130)][_0x2a010b(0x13d)]&&this[_0x2a010b(0x130)][_0x2a010b(0x13d)][_0x2a010b(0x147)](_0x2dac56)?{'title':!0x0}:null;}[_0x158bb8(0x16f)](_0x56bbef){const _0x1e6a6e=_0x158bb8;this[_0x1e6a6e(0x130)][_0x1e6a6e(0x16f)](_0x56bbef);}}
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);}}