@ckeditor/ckeditor5-ai 47.1.0-alpha.0 → 47.1.0-alpha.1

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 (122) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  15. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  16. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformview.js +1 -1
  19. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  21. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  22. package/src/aiballoon/aiballoon.js +1 -1
  23. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  24. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  25. package/src/aiballoon/ui/aiballoonview.js +1 -1
  26. package/src/aichat/aichat.js +1 -1
  27. package/src/aichat/aichatcontroller.js +1 -1
  28. package/src/aichat/aichatui.js +1 -1
  29. package/src/aichat/model/aichatcontext.js +1 -1
  30. package/src/aichat/model/aichatconversation.js +1 -1
  31. package/src/aichat/model/aichatinteraction.js +1 -1
  32. package/src/aichat/model/aichatmodels.js +1 -1
  33. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  34. package/src/aichat/ui/aichatfeedview.js +1 -1
  35. package/src/aichat/ui/aichatheaderview.js +1 -1
  36. package/src/aichat/ui/aichatview.js +1 -1
  37. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  38. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  42. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  57. package/src/aichat/utils/eventnames.js +1 -1
  58. package/src/aichat/utils/promisequeue.js +1 -1
  59. package/src/aichat/utils/scrollmanager.js +1 -1
  60. package/src/aichathistory/aichathistory.js +1 -1
  61. package/src/aichathistory/aichathistorycontroller.js +1 -1
  62. package/src/aichathistory/aichathistoryui.js +1 -1
  63. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  64. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  65. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  66. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  68. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  69. package/src/aicore/aiconnector.js +1 -1
  70. package/src/aicore/aiediting.js +1 -1
  71. package/src/aicore/model/aicapabilities.js +1 -1
  72. package/src/aicore/model/aiinteraction.js +1 -1
  73. package/src/aicore/model/aireply.js +1 -1
  74. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  75. package/src/aicore/pipeline/airesponseparser.js +2 -2
  76. package/src/aicore/ui/aidisclaimerview.js +1 -1
  77. package/src/aicore/ui/aiskeleton.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  80. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  83. package/src/aicore/utils/createresizebutton.js +1 -1
  84. package/src/aicore/utils/documentposition.js +1 -1
  85. package/src/aicore/utils/documentrange.js +1 -1
  86. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  87. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  88. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  89. package/src/aicore/utils/htmlparser.js +1 -1
  90. package/src/aicore/utils/htmlstreamer.js +1 -1
  91. package/src/aieditorintegration/aieditorintegration.js +1 -1
  92. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  93. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  94. package/src/aiquickactions/aiquickactions.js +1 -1
  95. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  96. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  97. package/src/aiquickactions/aiquickactionsui.js +1 -1
  98. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  99. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  100. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  101. package/src/aireviewmode/aireviewmode.js +1 -1
  102. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  103. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  104. package/src/aireviewmode/aireviewmodeui.js +1 -1
  105. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  106. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  107. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  108. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  109. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  110. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  111. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  112. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  117. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  118. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  119. package/src/aitabs/aitabs.js +1 -1
  120. package/src/aitabs/tabs/aitabsview.js +1 -1
  121. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  122. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c7c94=_0x3470;(function(_0x57aafb,_0x5a6aa2){const _0x26fcb7=_0x3470,_0x55d7ff=_0x57aafb();while(!![]){try{const _0x33b263=parseInt(_0x26fcb7(0x184))/0x1*(parseInt(_0x26fcb7(0x185))/0x2)+-parseInt(_0x26fcb7(0x17a))/0x3+parseInt(_0x26fcb7(0x186))/0x4+parseInt(_0x26fcb7(0x16d))/0x5*(-parseInt(_0x26fcb7(0x17c))/0x6)+-parseInt(_0x26fcb7(0x170))/0x7+-parseInt(_0x26fcb7(0x176))/0x8*(parseInt(_0x26fcb7(0x16b))/0x9)+parseInt(_0x26fcb7(0x16a))/0xa;if(_0x33b263===_0x5a6aa2)break;else _0x55d7ff['push'](_0x55d7ff['shift']());}catch(_0x1530e5){_0x55d7ff['push'](_0x55d7ff['shift']());}}}(_0x144f,0xa1b5c));import{View as _0x87aaca,ViewCollection as _0x34aa72}from'ckeditor5/src/ui.js';import{uid as _0xdd1f6a}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x59992f}from'./aichatresourceslistview.js';function _0x144f(){const _0x16115f=['_createSearchView','_source','setTemplate','3882453Iarski','search','318JbsxWN','delegate','bindTemplate','highlightText','_resourcesListView','isLoading','setResources','_createResourcesListView','1279eUpxOH','206qvKhBl','2142248mqdagR','_createSkeletonView','locale','_skeletonLoader','getQuery','_latestLoadResourcesUid','loadResources','div','extendTemplate','ck-hidden','updateResourceState','aiChatResources','children','useDefaultFiltering','render','44992200MRvFUm','7542yuGFzQ','ck-ai-chat-resources','94945TYHZKH','loadSourceResources','addResourceToContext','8960777AFgnco','fire','set','ck\x20ck-search','_searchView','_createSearchSection','8816sLNVKZ'];_0x144f=function(){return _0x16115f;};return _0x144f();}import{AIChatContextResourcesSearchInputView as _0x48035f}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x33c63b,SKELETON_DEFINITIONS as _0xd76ff7}from'../../../../aicore/ui/aiskeleton.js';function _0x3470(_0x535a3e,_0x37187e){const _0x144fc3=_0x144f();return _0x3470=function(_0x34702d,_0x564515){_0x34702d=_0x34702d-0x16a;let _0x2e3e8e=_0x144fc3[_0x34702d];return _0x2e3e8e;},_0x3470(_0x535a3e,_0x37187e);}export class AIChatContextResourcesView extends _0x87aaca{[_0x4c7c94(0x174)];[_0x4c7c94(0x180)];[_0x4c7c94(0x189)];[_0x4c7c94(0x178)];[_0x4c7c94(0x192)];[_0x4c7c94(0x18b)]=null;constructor(_0x368d83,_0x477a33){const _0xb451cd=_0x4c7c94;super(_0x368d83),this[_0xb451cd(0x178)]=_0x477a33,this[_0xb451cd(0x172)](_0xb451cd(0x181),!0x0),this[_0xb451cd(0x174)]=this[_0xb451cd(0x177)]();const _0x586e92=this[_0xb451cd(0x175)]();this[_0xb451cd(0x180)]=this[_0xb451cd(0x183)](),this[_0xb451cd(0x189)]=this[_0xb451cd(0x187)](),this[_0xb451cd(0x192)]=new _0x34aa72([_0x586e92,this[_0xb451cd(0x189)],this[_0xb451cd(0x180)]]),this[_0xb451cd(0x179)]({'tag':_0xb451cd(0x18d),'attributes':{'class':_0xb451cd(0x16c)},'children':this[_0xb451cd(0x192)]});}[_0x4c7c94(0x177)](){const _0x4a01e3=_0x4c7c94;return new _0x48035f(this[_0x4a01e3(0x188)]);}[_0x4c7c94(0x175)](){const _0x149f3b=_0x4c7c94,_0x5d988b=new _0x87aaca(this[_0x149f3b(0x188)]);return _0x5d988b[_0x149f3b(0x179)]({'tag':_0x149f3b(0x18d),'attributes':{'class':_0x149f3b(0x173)},'children':[this[_0x149f3b(0x174)]]}),this[_0x149f3b(0x174)]['on'](_0x149f3b(0x17b),(_0x1bbad1,_0x611d5c)=>{const _0x71b64f=_0x149f3b;this[_0x71b64f(0x18c)](_0x611d5c),this[_0x71b64f(0x178)][_0x71b64f(0x193)]&&this[_0x71b64f(0x180)][_0x71b64f(0x17f)](_0x611d5c);}),_0x5d988b;}[_0x4c7c94(0x183)](){const _0x450545=_0x4c7c94,_0x5cae18=new _0x59992f(this[_0x450545(0x188)],this[_0x450545(0x178)]);return _0x5cae18[_0x450545(0x17d)](_0x450545(0x16f))['to'](this),_0x5cae18[_0x450545(0x18e)]({'attributes':{'class':this[_0x450545(0x17e)]['if'](_0x450545(0x181),_0x450545(0x18f))}}),_0x5cae18;}[_0x4c7c94(0x187)](){const _0x3d0ab0=_0x4c7c94,_0x2341b4=new _0x33c63b(this[_0x3d0ab0(0x188)],_0xd76ff7[_0x3d0ab0(0x191)]);return _0x2341b4[_0x3d0ab0(0x18e)]({'attributes':{'class':[this[_0x3d0ab0(0x17e)]['if'](_0x3d0ab0(0x181),_0x3d0ab0(0x18f),_0x1ae95c=>!_0x1ae95c)]}}),_0x2341b4;}[_0x4c7c94(0x194)](){const _0x3ff3a8=_0x4c7c94;super[_0x3ff3a8(0x194)](),this[_0x3ff3a8(0x18c)]('');}[_0x4c7c94(0x18c)](_0x33fb6a){const _0x59ae55=_0x4c7c94,_0x3213b9=_0xdd1f6a();this[_0x59ae55(0x18b)]=_0x3213b9,this[_0x59ae55(0x171)](_0x59ae55(0x16e),{'sourceId':this[_0x59ae55(0x178)]['id'],'query':_0x33fb6a,'uid':_0x3213b9}),this[_0x59ae55(0x181)]=!0x0;}[_0x4c7c94(0x182)](_0x122d57,_0x348eee){const _0x1a57e2=_0x4c7c94;if(_0x348eee&&_0x348eee!==this[_0x1a57e2(0x18b)])return;const _0x28cc33=this[_0x1a57e2(0x178)][_0x1a57e2(0x193)]?this[_0x1a57e2(0x174)][_0x1a57e2(0x18a)]():'';this[_0x1a57e2(0x180)][_0x1a57e2(0x182)](_0x122d57,_0x28cc33),requestAnimationFrame(()=>{const _0x33c001=_0x1a57e2;this[_0x33c001(0x181)]=!0x1;});}[_0x4c7c94(0x190)](_0x2e4c40,_0x3ac779){const _0x2c5d33=_0x4c7c94;this[_0x2c5d33(0x180)][_0x2c5d33(0x190)](_0x2e4c40,_0x3ac779);}}
23
+ function _0x439e(_0x27210a,_0x3e629e){const _0x3eea97=_0x3eea();return _0x439e=function(_0x439e28,_0x50b46c){_0x439e28=_0x439e28-0x121;let _0x59a64a=_0x3eea97[_0x439e28];return _0x59a64a;},_0x439e(_0x27210a,_0x3e629e);}const _0x260956=_0x439e;(function(_0x5abe8e,_0x476cae){const _0x2dd07c=_0x439e,_0x17817b=_0x5abe8e();while(!![]){try{const _0x151259=parseInt(_0x2dd07c(0x125))/0x1+parseInt(_0x2dd07c(0x137))/0x2*(parseInt(_0x2dd07c(0x13e))/0x3)+-parseInt(_0x2dd07c(0x13c))/0x4+-parseInt(_0x2dd07c(0x141))/0x5*(parseInt(_0x2dd07c(0x145))/0x6)+parseInt(_0x2dd07c(0x13a))/0x7*(-parseInt(_0x2dd07c(0x13b))/0x8)+parseInt(_0x2dd07c(0x147))/0x9+-parseInt(_0x2dd07c(0x12d))/0xa*(-parseInt(_0x2dd07c(0x12f))/0xb);if(_0x151259===_0x476cae)break;else _0x17817b['push'](_0x17817b['shift']());}catch(_0x2a3e5e){_0x17817b['push'](_0x17817b['shift']());}}}(_0x3eea,0x916a6));function _0x3eea(){const _0x15f243=['render','1542RtkvPS','ck-hidden','7929963UqKfCm','ck\x20ck-search','extendTemplate','div','_createSkeletonView','addResourceToContext','aiChatResources','_latestLoadResourcesUid','_createSearchView','_source','212051FNcGFm','locale','search','setResources','loadSourceResources','updateResourceState','set','_createSearchSection','20AuBLEt','isLoading','6322778YpmjwW','highlightText','setTemplate','ck-ai-chat-resources','_searchView','_createResourcesListView','loadResources','useDefaultFiltering','2KrTprV','_skeletonLoader','fire','7cEtdOA','8372776kJkKqg','1989412oousyP','bindTemplate','1739001kxzUZO','children','getQuery','13285cQFFrX','delegate','_resourcesListView'];_0x3eea=function(){return _0x15f243;};return _0x3eea();}import{View as _0x577451,ViewCollection as _0x17122d}from'ckeditor5/src/ui.js';import{uid as _0x291c44}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x3871d0}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x1454fb}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x555626,SKELETON_DEFINITIONS as _0x3f6f1c}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x577451{[_0x260956(0x133)];[_0x260956(0x143)];[_0x260956(0x138)];[_0x260956(0x124)];[_0x260956(0x13f)];[_0x260956(0x122)]=null;constructor(_0x1b1111,_0x20a309){const _0x4d20b7=_0x260956;super(_0x1b1111),this[_0x4d20b7(0x124)]=_0x20a309,this[_0x4d20b7(0x12b)](_0x4d20b7(0x12e),!0x0),this[_0x4d20b7(0x133)]=this[_0x4d20b7(0x123)]();const _0x253c78=this[_0x4d20b7(0x12c)]();this[_0x4d20b7(0x143)]=this[_0x4d20b7(0x134)](),this[_0x4d20b7(0x138)]=this[_0x4d20b7(0x14b)](),this[_0x4d20b7(0x13f)]=new _0x17122d([_0x253c78,this[_0x4d20b7(0x138)],this[_0x4d20b7(0x143)]]),this[_0x4d20b7(0x131)]({'tag':_0x4d20b7(0x14a),'attributes':{'class':_0x4d20b7(0x132)},'children':this[_0x4d20b7(0x13f)]});}[_0x260956(0x123)](){const _0x5092e3=_0x260956;return new _0x1454fb(this[_0x5092e3(0x126)]);}[_0x260956(0x12c)](){const _0x5e39b5=_0x260956,_0x41b7b3=new _0x577451(this[_0x5e39b5(0x126)]);return _0x41b7b3[_0x5e39b5(0x131)]({'tag':_0x5e39b5(0x14a),'attributes':{'class':_0x5e39b5(0x148)},'children':[this[_0x5e39b5(0x133)]]}),this[_0x5e39b5(0x133)]['on'](_0x5e39b5(0x127),(_0x3c271e,_0x19fb45)=>{const _0x36438e=_0x5e39b5;this[_0x36438e(0x135)](_0x19fb45),this[_0x36438e(0x124)][_0x36438e(0x136)]&&this[_0x36438e(0x143)][_0x36438e(0x130)](_0x19fb45);}),_0x41b7b3;}[_0x260956(0x134)](){const _0x3382b0=_0x260956,_0x2a7650=new _0x3871d0(this[_0x3382b0(0x126)],this[_0x3382b0(0x124)]);return _0x2a7650[_0x3382b0(0x142)](_0x3382b0(0x14c))['to'](this),_0x2a7650[_0x3382b0(0x149)]({'attributes':{'class':this[_0x3382b0(0x13d)]['if'](_0x3382b0(0x12e),_0x3382b0(0x146))}}),_0x2a7650;}[_0x260956(0x14b)](){const _0x525352=_0x260956,_0x27a935=new _0x555626(this[_0x525352(0x126)],_0x3f6f1c[_0x525352(0x121)]);return _0x27a935[_0x525352(0x149)]({'attributes':{'class':[this[_0x525352(0x13d)]['if'](_0x525352(0x12e),_0x525352(0x146),_0x4fb1f0=>!_0x4fb1f0)]}}),_0x27a935;}[_0x260956(0x144)](){const _0x372eee=_0x260956;super[_0x372eee(0x144)](),this[_0x372eee(0x135)]('');}[_0x260956(0x135)](_0xf866ee){const _0x20a871=_0x260956,_0x226f32=_0x291c44();this[_0x20a871(0x122)]=_0x226f32,this[_0x20a871(0x139)](_0x20a871(0x129),{'sourceId':this[_0x20a871(0x124)]['id'],'query':_0xf866ee,'uid':_0x226f32}),this[_0x20a871(0x12e)]=!0x0;}[_0x260956(0x128)](_0x449522,_0x573fda){const _0x9515f6=_0x260956;if(_0x573fda&&_0x573fda!==this[_0x9515f6(0x122)])return;const _0x35e7bc=this[_0x9515f6(0x124)][_0x9515f6(0x136)]?this[_0x9515f6(0x133)][_0x9515f6(0x140)]():'';this[_0x9515f6(0x143)][_0x9515f6(0x128)](_0x449522,_0x35e7bc),requestAnimationFrame(()=>{const _0x199ffc=_0x9515f6;this[_0x199ffc(0x12e)]=!0x1;});}[_0x260956(0x12a)](_0xe1ad03,_0x10c44e){const _0x19efb9=_0x260956;this[_0x19efb9(0x143)][_0x19efb9(0x12a)](_0xe1ad03,_0x10c44e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5da4a4=_0x3ce3;(function(_0x2e40e1,_0x4d0b75){const _0x2ca004=_0x3ce3,_0x2b99f2=_0x2e40e1();while(!![]){try{const _0x30c8eb=parseInt(_0x2ca004(0xdb))/0x1+parseInt(_0x2ca004(0xdc))/0x2*(parseInt(_0x2ca004(0xdf))/0x3)+parseInt(_0x2ca004(0xe7))/0x4*(parseInt(_0x2ca004(0xd8))/0x5)+-parseInt(_0x2ca004(0xce))/0x6+-parseInt(_0x2ca004(0xd9))/0x7+-parseInt(_0x2ca004(0xde))/0x8+-parseInt(_0x2ca004(0xd4))/0x9;if(_0x30c8eb===_0x4d0b75)break;else _0x2b99f2['push'](_0x2b99f2['shift']());}catch(_0x3cbd1d){_0x2b99f2['push'](_0x2b99f2['shift']());}}}(_0xad63,0x5fed6));function _0xad63(){const _0x5c5d3c=['add','ck-reset_all','createCollection','_createContextChips','1497796VubLYF','render','reorganizeChips','ck-ai-chat-controls_context_show-more-button','destroy','ck-ai-chat-context-controls__show-more-balloon-panel','518946rSACiw','querySelector','_bodyCollection','ck-ai-chat-context-chips-wrapper','_overflowManager','ck-ai-chat__feed__context-chips','602883UTeAyf','setTemplate','div','ck-ai-chat-context-chips-wrapper-balloon','5uksLLf','2550408jZBtmD','element','557933jfRBZB','2yDrUHh','ck-ai-chat-controls-button','5475800uscIta','1988499hHiUWk','_contextChips','setContainerElement','locale'];_0xad63=function(){return _0x5c5d3c;};return _0xad63();}import{View as _0x1a3669}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x1a400f}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x45baca}from'../controls/aichatchipsoverflowmanager.js';function _0x3ce3(_0x5821c2,_0x594d30){const _0xad637e=_0xad63();return _0x3ce3=function(_0x3ce33a,_0xbd96d5){_0x3ce33a=_0x3ce33a-0xce;let _0x189e19=_0xad637e[_0x3ce33a];return _0x189e19;},_0x3ce3(_0x5821c2,_0x594d30);}const Fo=_0x5da4a4(0xd3),$o=_0x5da4a4(0xd1),qo=_0x5da4a4(0xd7),fo=_0x5da4a4(0xdd),Po=_0x5da4a4(0xea),Ro=_0x5da4a4(0xec);export class AIChatFeedContextChipsView extends _0x1a3669{[_0x5da4a4(0xe0)]=this[_0x5da4a4(0xe5)]();[_0x5da4a4(0xd2)];[_0x5da4a4(0xd0)];constructor(_0x166a70,_0x3e77e5,_0x340740){const _0x5ae417=_0x5da4a4;super(_0x166a70),this[_0x5ae417(0xd0)]=_0x340740,this[_0x5ae417(0xe6)](_0x3e77e5);const _0x33948a={'cssClasses':{'showMoreButton':Po,'showMoreBalloon':Ro,'overflowContainer':qo,'controlsButton':fo}};this[_0x5ae417(0xd2)]=new _0x45baca(_0x166a70,this[_0x5ae417(0xe0)],_0x33948a,this[_0x5ae417(0xd0)],this),this[_0x5ae417(0xd5)]({'tag':_0x5ae417(0xd6),'attributes':{'class':[Fo,'ck',_0x5ae417(0xe4)]},'children':[{'tag':_0x5ae417(0xd6),'attributes':{'class':$o},'children':this[_0x5ae417(0xe0)]}]});}[_0x5da4a4(0xe8)](){const _0x4cb49c=_0x5da4a4;super[_0x4cb49c(0xe8)]();const _0x4dffed=this[_0x4cb49c(0xda)][_0x4cb49c(0xcf)]('.'+$o);_0x4dffed&&(this[_0x4cb49c(0xd2)][_0x4cb49c(0xe1)](_0x4dffed),this[_0x4cb49c(0xd2)][_0x4cb49c(0xe9)]());}[_0x5da4a4(0xeb)](){const _0x24618f=_0x5da4a4;super[_0x24618f(0xeb)](),this[_0x24618f(0xd2)][_0x24618f(0xeb)]();}[_0x5da4a4(0xe6)](_0x159623){const _0x48b5ae=_0x5da4a4;for(const _0x4419e7 of _0x159623){const _0x5cfc59=new _0x1a400f(this[_0x48b5ae(0xe2)],_0x4419e7,!0x0,!0x1);this[_0x48b5ae(0xe0)][_0x48b5ae(0xe3)](_0x5cfc59);}}}
23
+ const _0x507ee7=_0x3451;function _0x5e40(){const _0x5dabe9=['setTemplate','destroy','setContainerElement','render','add','ck-ai-chat-controls_context_show-more-button','ck-ai-chat-context-controls__show-more-balloon-panel','30CXpQGo','element','802221WUcZYR','createCollection','locale','4gNRgAW','6675120XyyDcJ','806047Yaoqdb','ck-ai-chat-controls-button','ck-ai-chat-context-chips-wrapper','712656NyBvPk','281100XPvTfj','_createContextChips','querySelector','ck-ai-chat__feed__context-chips','reorganizeChips','350365QCKmYE','1ANNpgt','490822GRZaER','_bodyCollection','div','8JQipFa','ck-ai-chat-context-chips-wrapper-balloon','_contextChips','_overflowManager','ck-reset_all'];_0x5e40=function(){return _0x5dabe9;};return _0x5e40();}function _0x3451(_0x43a2bb,_0x8f6804){const _0x5e401b=_0x5e40();return _0x3451=function(_0x3451c1,_0x19ef1c){_0x3451c1=_0x3451c1-0x1b7;let _0x52dcb0=_0x5e401b[_0x3451c1];return _0x52dcb0;},_0x3451(_0x43a2bb,_0x8f6804);}(function(_0x4d9f7c,_0x2363af){const _0x3ffcef=_0x3451,_0x3139ba=_0x4d9f7c();while(!![]){try{const _0x1ee405=-parseInt(_0x3ffcef(0x1ba))/0x1*(parseInt(_0x3ffcef(0x1bb))/0x2)+-parseInt(_0x3ffcef(0x1d4))/0x3+parseInt(_0x3ffcef(0x1cf))/0x4*(parseInt(_0x3ffcef(0x1b9))/0x5)+parseInt(_0x3ffcef(0x1d5))/0x6+-parseInt(_0x3ffcef(0x1cc))/0x7*(parseInt(_0x3ffcef(0x1be))/0x8)+parseInt(_0x3ffcef(0x1d0))/0x9+parseInt(_0x3ffcef(0x1ca))/0xa*(parseInt(_0x3ffcef(0x1d1))/0xb);if(_0x1ee405===_0x2363af)break;else _0x3139ba['push'](_0x3139ba['shift']());}catch(_0x5b430e){_0x3139ba['push'](_0x3139ba['shift']());}}}(_0x5e40,0x75664));import{View as _0x5e63e4}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x43c892}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x52eae7}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x507ee7(0x1b7),$o=_0x507ee7(0x1d3),zo=_0x507ee7(0x1bf),Io=_0x507ee7(0x1d2),Ro=_0x507ee7(0x1c8),Uo=_0x507ee7(0x1c9);export class AIChatFeedContextChipsView extends _0x5e63e4{[_0x507ee7(0x1c0)]=this[_0x507ee7(0x1cd)]();[_0x507ee7(0x1c1)];[_0x507ee7(0x1bc)];constructor(_0x59b6a4,_0x159fb5,_0x1a5f2e){const _0x1a6f29=_0x507ee7;super(_0x59b6a4),this[_0x1a6f29(0x1bc)]=_0x1a5f2e,this[_0x1a6f29(0x1d6)](_0x159fb5);const _0x49e172={'cssClasses':{'showMoreButton':Ro,'showMoreBalloon':Uo,'overflowContainer':zo,'controlsButton':Io}};this[_0x1a6f29(0x1c1)]=new _0x52eae7(_0x59b6a4,this[_0x1a6f29(0x1c0)],_0x49e172,this[_0x1a6f29(0x1bc)],this),this[_0x1a6f29(0x1c3)]({'tag':_0x1a6f29(0x1bd),'attributes':{'class':[Fo,'ck',_0x1a6f29(0x1c2)]},'children':[{'tag':_0x1a6f29(0x1bd),'attributes':{'class':$o},'children':this[_0x1a6f29(0x1c0)]}]});}[_0x507ee7(0x1c6)](){const _0x548ad2=_0x507ee7;super[_0x548ad2(0x1c6)]();const _0x7eb81=this[_0x548ad2(0x1cb)][_0x548ad2(0x1d7)]('.'+$o);_0x7eb81&&(this[_0x548ad2(0x1c1)][_0x548ad2(0x1c5)](_0x7eb81),this[_0x548ad2(0x1c1)][_0x548ad2(0x1b8)]());}[_0x507ee7(0x1c4)](){const _0xa326ce=_0x507ee7;super[_0xa326ce(0x1c4)](),this[_0xa326ce(0x1c1)][_0xa326ce(0x1c4)]();}[_0x507ee7(0x1d6)](_0x187563){const _0x2f1419=_0x507ee7;for(const _0x139c9b of _0x187563){const _0x53c11b=new _0x43c892(this[_0x2f1419(0x1ce)],_0x139c9b,!0x0,!0x1);this[_0x2f1419(0x1c0)][_0x2f1419(0x1c7)](_0x53c11b);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4aeb32=_0x33ce;function _0x16cc(){const _0x901027=['11109928gRbYBS','setTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-ai-chat__feed__interaction-header__capabilities','extendTemplate','17432RkCRnH','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities__text','3829872wmkoDy','8009526xOlJDb','86iUevYq','ck-hidden','children','content','50bhcLyD','3864520taQOJb','5omiNHV','push','span','div','4205540tDXstP','ck-ai-chat__feed__interaction-header','add','9SeUpBa','6BcPtds','capabilities','734103PUnVHP'];_0x16cc=function(){return _0x901027;};return _0x16cc();}(function(_0x37a717,_0x408756){const _0x56ab04=_0x33ce,_0x13f1e8=_0x37a717();while(!![]){try{const _0xfba876=parseInt(_0x56ab04(0xd8))/0x1*(parseInt(_0x56ab04(0xdd))/0x2)+parseInt(_0x56ab04(0xd1))/0x3+-parseInt(_0x56ab04(0xcb))/0x4*(-parseInt(_0x56ab04(0xc7))/0x5)+parseInt(_0x56ab04(0xcf))/0x6*(-parseInt(_0x56ab04(0xdc))/0x7)+-parseInt(_0x56ab04(0xd2))/0x8*(parseInt(_0x56ab04(0xce))/0x9)+parseInt(_0x56ab04(0xe1))/0xa*(parseInt(_0x56ab04(0xe2))/0xb)+-parseInt(_0x56ab04(0xdb))/0xc;if(_0xfba876===_0x408756)break;else _0x13f1e8['push'](_0x13f1e8['shift']());}catch(_0xb2bc6b){_0x13f1e8['push'](_0x13f1e8['shift']());}}}(_0x16cc,0xe7f83));import{IconBulb as _0x529dfb,IconWeb as _0x404107}from'@ckeditor/ckeditor5-icons';import{IconView as _0x27c07c,View as _0x49d869}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x5cbb1d}from'./aichatfeeditemview.js';import{getTranslation as _0x1ba63b}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x5cbb1d{[_0x4aeb32(0xd0)];constructor(_0x4d5828,_0x943dd6){const _0x49946f=_0x4aeb32;super(_0x943dd6);const {isWebSearchEnabled:_0x3d5ecb,isReasoningEnabled:_0x129146}=_0x943dd6[_0x49946f(0xd0)],_0x17c061=[];let _0x4f6af7='';_0x3d5ecb&&_0x129146?(_0x4f6af7=_0x1ba63b(_0x4d5828,_0x49946f(0xd4)),_0x17c061[_0x49946f(0xc8)](ea(_0x404107)),_0x17c061[_0x49946f(0xc8)](ea(_0x529dfb))):_0x3d5ecb?(_0x4f6af7=_0x1ba63b(_0x4d5828,_0x49946f(0xd5)),_0x17c061[_0x49946f(0xc8)](ea(_0x404107))):_0x129146&&(_0x4f6af7=_0x1ba63b(_0x4d5828,_0x49946f(0xd9)),_0x17c061[_0x49946f(0xc8)](ea(_0x529dfb))),this[_0x49946f(0xd7)]({'attributes':{'class':[_0x49946f(0xcc),_0x4f6af7?'':_0x49946f(0xde)]}});const _0x384efe=new _0x49d869();_0x384efe[_0x49946f(0xd3)]({'tag':_0x49946f(0xca),'attributes':{'class':['ck',_0x49946f(0xd6)]},'children':[..._0x17c061,{'tag':_0x49946f(0xc9),'attributes':{'class':[_0x49946f(0xda)]},'children':[_0x4f6af7]}]}),this[_0x49946f(0xdf)][_0x49946f(0xcd)](_0x384efe),this[_0x49946f(0xd0)]=_0x943dd6[_0x49946f(0xd0)];}}function _0x33ce(_0x1c5aad,_0x923b71){const _0x16ccbc=_0x16cc();return _0x33ce=function(_0x33cec6,_0x272310){_0x33cec6=_0x33cec6-0xc7;let _0x52ccde=_0x16ccbc[_0x33cec6];return _0x52ccde;},_0x33ce(_0x1c5aad,_0x923b71);}function ea(_0x1f2bd2){const _0xeb90e2=_0x4aeb32,_0x324a21=new _0x27c07c();return _0x324a21[_0xeb90e2(0xe0)]=_0x1f2bd2,_0x324a21;}
23
+ const _0x394807=_0x2c51;(function(_0x2be39c,_0x33c2ec){const _0xadc939=_0x2c51,_0x422dd7=_0x2be39c();while(!![]){try{const _0x41cc47=parseInt(_0xadc939(0x171))/0x1*(-parseInt(_0xadc939(0x187))/0x2)+-parseInt(_0xadc939(0x173))/0x3+-parseInt(_0xadc939(0x17a))/0x4*(parseInt(_0xadc939(0x17b))/0x5)+-parseInt(_0xadc939(0x175))/0x6*(-parseInt(_0xadc939(0x180))/0x7)+-parseInt(_0xadc939(0x183))/0x8+-parseInt(_0xadc939(0x186))/0x9*(parseInt(_0xadc939(0x182))/0xa)+-parseInt(_0xadc939(0x17e))/0xb*(-parseInt(_0xadc939(0x185))/0xc);if(_0x41cc47===_0x33c2ec)break;else _0x422dd7['push'](_0x422dd7['shift']());}catch(_0xa8912f){_0x422dd7['push'](_0x422dd7['shift']());}}}(_0x329f,0x82e5d));import{IconBulb as _0x115d1c,IconWeb as _0xae64f}from'@ckeditor/ckeditor5-icons';import{IconView as _0x5d4b67,View as _0x2073f2}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x375be7}from'./aichatfeeditemview.js';import{getTranslation as _0x59ab10}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x375be7{[_0x394807(0x189)];constructor(_0x5bb659,_0xa8863c){const _0x369195=_0x394807;super(_0xa8863c);const {isWebSearchEnabled:_0x2b81af,isReasoningEnabled:_0x31ff0a}=_0xa8863c[_0x369195(0x189)],_0x8f6681=[];let _0xad7f9d='';_0x2b81af&&_0x31ff0a?(_0xad7f9d=_0x59ab10(_0x5bb659,_0x369195(0x188)),_0x8f6681[_0x369195(0x17d)](ea(_0xae64f)),_0x8f6681[_0x369195(0x17d)](ea(_0x115d1c))):_0x2b81af?(_0xad7f9d=_0x59ab10(_0x5bb659,_0x369195(0x18a)),_0x8f6681[_0x369195(0x17d)](ea(_0xae64f))):_0x31ff0a&&(_0xad7f9d=_0x59ab10(_0x5bb659,_0x369195(0x17c)),_0x8f6681[_0x369195(0x17d)](ea(_0x115d1c))),this[_0x369195(0x17f)]({'attributes':{'class':[_0x369195(0x174),_0xad7f9d?'':_0x369195(0x179)]}});const _0x298eff=new _0x2073f2();_0x298eff[_0x369195(0x170)]({'tag':_0x369195(0x178),'attributes':{'class':['ck',_0x369195(0x184)]},'children':[..._0x8f6681,{'tag':_0x369195(0x172),'attributes':{'class':[_0x369195(0x176)]},'children':[_0xad7f9d]}]}),this[_0x369195(0x181)][_0x369195(0x16f)](_0x298eff),this[_0x369195(0x189)]=_0xa8863c[_0x369195(0x189)];}}function _0x329f(){const _0x237b41=['add','setTemplate','2175LnMZyl','span','1204536cxGbFA','ck-ai-chat__feed__interaction-header','6TQsMHs','ck-ai-chat__feed__interaction-header__capabilities__text','content','div','ck-hidden','1569704Eowizf','5PFbmaW','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','push','44ReXNwM','extendTemplate','4415173xGtHWS','children','574660oHplRI','3765672viKgnD','ck-ai-chat__feed__interaction-header__capabilities','7472940WKbGfm','135qjhHdt','422qoirwr','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'];_0x329f=function(){return _0x237b41;};return _0x329f();}function _0x2c51(_0x52fc8d,_0x443af7){const _0x329f12=_0x329f();return _0x2c51=function(_0x2c51e0,_0xa766f){_0x2c51e0=_0x2c51e0-0x16f;let _0x14c117=_0x329f12[_0x2c51e0];return _0x14c117;},_0x2c51(_0x52fc8d,_0x443af7);}function ea(_0xcac95c){const _0x3f2ce7=_0x394807,_0x42d9af=new _0x5d4b67();return _0x42d9af[_0x3f2ce7(0x177)]=_0xcac95c,_0x42d9af;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f5d60=_0x46dd;(function(_0x51d919,_0x4d244e){const _0x48f69a=_0x46dd,_0xde0494=_0x51d919();while(!![]){try{const _0x5bddb1=-parseInt(_0x48f69a(0x9d))/0x1+parseInt(_0x48f69a(0xa3))/0x2*(parseInt(_0x48f69a(0x91))/0x3)+-parseInt(_0x48f69a(0x95))/0x4*(parseInt(_0x48f69a(0xa6))/0x5)+parseInt(_0x48f69a(0xad))/0x6+parseInt(_0x48f69a(0x99))/0x7*(-parseInt(_0x48f69a(0xaf))/0x8)+parseInt(_0x48f69a(0xab))/0x9*(parseInt(_0x48f69a(0xa8))/0xa)+parseInt(_0x48f69a(0xa2))/0xb;if(_0x5bddb1===_0x4d244e)break;else _0xde0494['push'](_0xde0494['shift']());}catch(_0x2ec889){_0xde0494['push'](_0xde0494['shift']());}}}(_0x315d,0xba061));import{View as _0xe97038}from'ckeditor5/src/ui.js';function _0x46dd(_0x208054,_0x5d144d){const _0x315dbf=_0x315d();return _0x46dd=function(_0x46dd7a,_0x368a1d){_0x46dd7a=_0x46dd7a-0x8b;let _0x4c4ed1=_0x315dbf[_0x46dd7a];return _0x4c4ed1;},_0x46dd(_0x208054,_0x5d144d);}function _0x315d(){const _0x3ec3eb=['data-id','3693BHDLNd','bindTemplate','ck-hidden','removeAttribute','4585144PRejdc','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__item_done','querySelectorAll','2068535FbyzTg','isVisible','markAsDone','forEach','1151152fcPWCx','htmlStreamer','set','[data-id]','div','31552851mEwuHj','66IupCJj','isDone','cleanUpAnimations','5aNoMxo','options','8413090PLLOtP','ck-ai-chat__feed__text-item','ck-ai-chat__feed__item','9zwgXne','content','2946228JUUybF','createCollection','32xisPvU','stream','streamIntoElement','children','setTemplate','element'];_0x315d=function(){return _0x3ec3eb;};return _0x315d();}import{HTMLStreamer as _0x2a379f}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0xe97038{[_0x2f5d60(0xa7)];[_0x2f5d60(0xac)]='';[_0x2f5d60(0x9e)];[_0x2f5d60(0x8d)];constructor(_0x513e88){const _0x235b5f=_0x2f5d60;super();const _0x4caaba=this[_0x235b5f(0x92)];this[_0x235b5f(0x9f)](_0x235b5f(0xa4),!0x1),this[_0x235b5f(0x9f)](_0x235b5f(0x9a),!0x0),this[_0x235b5f(0x9e)]=new _0x2a379f({'textNodeStyle':_0x235b5f(0x96),'delay':0x14}),this[_0x235b5f(0xa7)]=_0x513e88,this[_0x235b5f(0x8d)]=this[_0x235b5f(0xae)](),this[_0x235b5f(0x8e)]({'tag':_0x235b5f(0xa1),'attributes':{'class':['ck',_0x235b5f(0xaa),_0x4caaba['if'](_0x235b5f(0xa4),_0x235b5f(0x97)),_0x4caaba['if'](_0x235b5f(0x9a),_0x235b5f(0x93),_0x4a839e=>!_0x4a839e),_0x235b5f(0xa9)],'data-cke-ai-id':this[_0x235b5f(0xa7)]['id']},'children':this[_0x235b5f(0x8d)]});}[_0x2f5d60(0x9b)](){const _0x13b195=_0x2f5d60;this[_0x13b195(0x9e)][_0x13b195(0xa5)]({'targetElement':this[_0x13b195(0x8f)]}),this[_0x13b195(0x8f)][_0x13b195(0x98)](_0x13b195(0xa0))[_0x13b195(0x9c)](_0x4ea740=>{const _0x1cc0d2=_0x13b195;_0x4ea740[_0x1cc0d2(0x94)](_0x1cc0d2(0x90));}),this[_0x13b195(0xa4)]=!0x0;}async[_0x2f5d60(0x8c)](_0x4e2a3b,_0x4b05de,_0x2169a0){const _0x5f49ef=_0x2f5d60;await this[_0x5f49ef(0x9e)][_0x5f49ef(0x8b)]({'document':_0x4e2a3b,'targetElement':_0x4b05de,'abortSignal':_0x2169a0});}}
23
+ const _0x5a0a51=_0x5679;(function(_0x4c024a,_0x418a12){const _0x1d2e10=_0x5679,_0xa4b38e=_0x4c024a();while(!![]){try{const _0x264262=parseInt(_0x1d2e10(0x184))/0x1+-parseInt(_0x1d2e10(0x191))/0x2+-parseInt(_0x1d2e10(0x192))/0x3*(parseInt(_0x1d2e10(0x187))/0x4)+-parseInt(_0x1d2e10(0x18a))/0x5+-parseInt(_0x1d2e10(0x186))/0x6+-parseInt(_0x1d2e10(0x190))/0x7+-parseInt(_0x1d2e10(0x1a2))/0x8*(-parseInt(_0x1d2e10(0x19a))/0x9);if(_0x264262===_0x418a12)break;else _0xa4b38e['push'](_0xa4b38e['shift']());}catch(_0x393046){_0xa4b38e['push'](_0xa4b38e['shift']());}}}(_0x2809,0x6c41b));function _0x5679(_0xf9f22e,_0x2b28a4){const _0x280904=_0x2809();return _0x5679=function(_0x567934,_0x576c5c){_0x567934=_0x567934-0x180;let _0x26d8d1=_0x280904[_0x567934];return _0x26d8d1;},_0x5679(_0xf9f22e,_0x2b28a4);}import{View as _0x55e954}from'ckeditor5/src/ui.js';function _0x2809(){const _0x4e8dcc=['content','[data-id]','data-id','setTemplate','stream','60956LpYtJw','1467570QIMrho','3zkrzuQ','cleanUpAnimations','set','htmlStreamer','element','ck-ai-chat__feed__text-item','removeAttribute','streamIntoElement','9dgzuMs','bindTemplate','isDone','querySelectorAll','children','isVisible','animation:\x20ck-html-streamer-fade-in\x20.5s','options','19332200umBGBk','div','ck-hidden','forEach','ck-ai-chat__feed__item_done','482350xYJxYZ','createCollection','2644566sDoNiI','2114092RZqaLI','markAsDone','ck-ai-chat__feed__item','3718395ZFBUVL'];_0x2809=function(){return _0x4e8dcc;};return _0x2809();}import{HTMLStreamer as _0x4ab392}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x55e954{[_0x5a0a51(0x1a1)];[_0x5a0a51(0x18b)]='';[_0x5a0a51(0x195)];[_0x5a0a51(0x19e)];constructor(_0xe3d463){const _0x409a2a=_0x5a0a51;super();const _0x45bcb=this[_0x409a2a(0x19b)];this[_0x409a2a(0x194)](_0x409a2a(0x19c),!0x1),this[_0x409a2a(0x194)](_0x409a2a(0x19f),!0x0),this[_0x409a2a(0x195)]=new _0x4ab392({'textNodeStyle':_0x409a2a(0x1a0),'delay':0x14}),this[_0x409a2a(0x1a1)]=_0xe3d463,this[_0x409a2a(0x19e)]=this[_0x409a2a(0x185)](),this[_0x409a2a(0x18e)]({'tag':_0x409a2a(0x180),'attributes':{'class':['ck',_0x409a2a(0x189),_0x45bcb['if'](_0x409a2a(0x19c),_0x409a2a(0x183)),_0x45bcb['if'](_0x409a2a(0x19f),_0x409a2a(0x181),_0x336c66=>!_0x336c66),_0x409a2a(0x197)],'data-cke-ai-id':this[_0x409a2a(0x1a1)]['id']},'children':this[_0x409a2a(0x19e)]});}[_0x5a0a51(0x188)](){const _0x23315f=_0x5a0a51;this[_0x23315f(0x195)][_0x23315f(0x193)]({'targetElement':this[_0x23315f(0x196)]}),this[_0x23315f(0x196)][_0x23315f(0x19d)](_0x23315f(0x18c))[_0x23315f(0x182)](_0x380406=>{const _0x44ea8d=_0x23315f;_0x380406[_0x44ea8d(0x198)](_0x44ea8d(0x18d));}),this[_0x23315f(0x19c)]=!0x0;}async[_0x5a0a51(0x199)](_0x499e8a,_0x215d43,_0x16ccd7){const _0x2cdaa7=_0x5a0a51;await this[_0x2cdaa7(0x195)][_0x2cdaa7(0x18f)]({'document':_0x499e8a,'targetElement':_0x215d43,'abortSignal':_0x16ccd7});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1823ec=_0x5a58;(function(_0x2a4d3d,_0x30d644){const _0x151843=_0x5a58,_0x5882a8=_0x2a4d3d();while(!![]){try{const _0x322f10=-parseInt(_0x151843(0x149))/0x1*(-parseInt(_0x151843(0x156))/0x2)+-parseInt(_0x151843(0x14c))/0x3+parseInt(_0x151843(0x14f))/0x4+parseInt(_0x151843(0x13a))/0x5+parseInt(_0x151843(0x138))/0x6*(-parseInt(_0x151843(0x151))/0x7)+parseInt(_0x151843(0x145))/0x8+-parseInt(_0x151843(0x142))/0x9*(parseInt(_0x151843(0x153))/0xa);if(_0x322f10===_0x30d644)break;else _0x5882a8['push'](_0x5882a8['shift']());}catch(_0x1424e3){_0x5882a8['push'](_0x5882a8['shift']());}}}(_0xca0d,0xacfed));import{AIChatFeedItemView as _0xca63f3}from'./aichatfeeditemview.js';import{parse as _0x2637a4,render as _0x42450d}from'../../../aicore/utils/htmlparser.js';import{View as _0x32a7c7}from'ckeditor5/src/ui.js';function _0xca0d(){const _0x3163f2=['701248sTSWIS','setTemplate','14Cofkes','ck-reset_all-excluded','10MQdlOp','add','innerHTML','1390Xinmpf','streamIntoElement','replyContainer','div','1233786QxpMjS','markAsDone','1119415mcXLrX','updateContent','isVisible','extendTemplate','ck-ai-chat__feed__ai-reply-container','initialContent','streaming','updateSources','8889966NWqoiE','render','options','9467544kzKFWm','children','ck-ai-chat__feed__ai-reply','element','1277yYJrBH','addMany','locale','1087584QCgWGu','map','static'];_0xca0d=function(){return _0x3163f2;};return _0xca0d();}function _0x5a58(_0x2abbc2,_0x4579b5){const _0x5a583b=_0xca0d();return _0x5a58=function(_0x5b69a8,_0x23d178){_0x5b69a8=_0x5b69a8-0x138;let _0x58626f=_0x5a583b[_0x5b69a8];return _0x58626f;},_0x5a58(_0x2abbc2,_0x4579b5);}import{AIWebSourcesView as _0x457e09,AIWebSourceView as _0x5e83bc}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0xca63f3{[_0x1823ec(0x158)];constructor(_0x14dc69,_0x3f3b27){const _0x2310f0=_0x1823ec;super(_0x3f3b27),this[_0x2310f0(0x14b)]=_0x14dc69,this[_0x2310f0(0x13d)]({'attributes':{'class':[_0x2310f0(0x147)]}}),this[_0x2310f0(0x158)]=new _0x32a7c7(),this[_0x2310f0(0x158)][_0x2310f0(0x150)]({'tag':_0x2310f0(0x159),'attributes':{'class':['ck',_0x2310f0(0x152),_0x2310f0(0x13e)]}}),this[_0x2310f0(0x146)][_0x2310f0(0x154)](this[_0x2310f0(0x158)]);}async[_0x1823ec(0x143)](){const _0x171280=_0x1823ec;super[_0x171280(0x143)](),this[_0x171280(0x144)][_0x171280(0x13f)]&&(await this[_0x171280(0x13b)]({'parsedContent':_0x2637a4(this[_0x171280(0x144)][_0x171280(0x13f)]),'renderingStrategy':_0x171280(0x14e)}),this[_0x171280(0x139)]());}async[_0x1823ec(0x13b)]({parsedContent:_0x2d7c27,renderingStrategy:_0xd30ce1,abortSignal:_0x27f637}){const _0x741824=_0x1823ec;_0x741824(0x140)===_0xd30ce1?await this[_0x741824(0x157)](_0x2d7c27,this[_0x741824(0x158)][_0x741824(0x148)],_0x27f637):this[_0x741824(0x158)][_0x741824(0x148)][_0x741824(0x155)]=_0x42450d(_0x2d7c27);}[_0x1823ec(0x141)](_0x18911b){const _0x190fd1=_0x1823ec,_0x1f6032=new _0x457e09(this[_0x190fd1(0x14b)]);_0x1f6032[_0x190fd1(0x146)][_0x190fd1(0x14a)](_0x18911b[_0x190fd1(0x14d)](_0x55881b=>new _0x5e83bc(this[_0x190fd1(0x14b)],_0x55881b))),_0x1f6032[_0x190fd1(0x13c)]=!0x0,this[_0x190fd1(0x146)][_0x190fd1(0x154)](_0x1f6032);}}
23
+ function _0x18b0(_0x5eebff,_0x2fb209){const _0x8cf4c6=_0x8cf4();return _0x18b0=function(_0x18b003,_0x41e18a){_0x18b003=_0x18b003-0x1bd;let _0x1f0b2b=_0x8cf4c6[_0x18b003];return _0x1f0b2b;},_0x18b0(_0x5eebff,_0x2fb209);}const _0x2b87db=_0x18b0;(function(_0x395352,_0x31b3b3){const _0x155d37=_0x18b0,_0x55de0f=_0x395352();while(!![]){try{const _0x5094df=-parseInt(_0x155d37(0x1d5))/0x1+-parseInt(_0x155d37(0x1d0))/0x2+parseInt(_0x155d37(0x1c5))/0x3+parseInt(_0x155d37(0x1c8))/0x4+-parseInt(_0x155d37(0x1c7))/0x5*(-parseInt(_0x155d37(0x1cd))/0x6)+-parseInt(_0x155d37(0x1d2))/0x7+-parseInt(_0x155d37(0x1c0))/0x8*(-parseInt(_0x155d37(0x1d7))/0x9);if(_0x5094df===_0x31b3b3)break;else _0x55de0f['push'](_0x55de0f['shift']());}catch(_0x18d5e0){_0x55de0f['push'](_0x55de0f['shift']());}}}(_0x8cf4,0xa50a5));import{AIChatFeedItemView as _0x3362e7}from'./aichatfeeditemview.js';import{parse as _0x2dd196,render as _0x1ec76b}from'../../../aicore/utils/htmlparser.js';import{View as _0x2097af}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2a16cd,AIWebSourceView as _0x3d22f3}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x8cf4(){const _0x55f4ef=['3148488xFvhYW','render','updateContent','ck-reset_all-excluded','isVisible','16224nxMlJo','streaming','setTemplate','1282444gmUQMK','map','9110955ogtPvh','updateSources','addMany','620100UORxDQ','div','9NNMNyh','replyContainer','initialContent','children','streamIntoElement','innerHTML','extendTemplate','ck-ai-chat__feed__ai-reply-container','element','options','10839736REVJaB','static','locale','markAsDone','add','1538217EQZFgb','ck-ai-chat__feed__ai-reply','1080XFtUMo'];_0x8cf4=function(){return _0x55f4ef;};return _0x8cf4();}export class AIChatFeedReplyItemView extends _0x3362e7{[_0x2b87db(0x1d8)];constructor(_0xdda4fe,_0x3fe2b4){const _0x3c24c6=_0x2b87db;super(_0x3fe2b4),this[_0x3c24c6(0x1c2)]=_0xdda4fe,this[_0x3c24c6(0x1dd)]({'attributes':{'class':[_0x3c24c6(0x1c6)]}}),this[_0x3c24c6(0x1d8)]=new _0x2097af(),this[_0x3c24c6(0x1d8)][_0x3c24c6(0x1cf)]({'tag':_0x3c24c6(0x1d6),'attributes':{'class':['ck',_0x3c24c6(0x1cb),_0x3c24c6(0x1bd)]}}),this[_0x3c24c6(0x1da)][_0x3c24c6(0x1c4)](this[_0x3c24c6(0x1d8)]);}async[_0x2b87db(0x1c9)](){const _0x50ba35=_0x2b87db;super[_0x50ba35(0x1c9)](),this[_0x50ba35(0x1bf)][_0x50ba35(0x1d9)]&&(await this[_0x50ba35(0x1ca)]({'parsedContent':_0x2dd196(this[_0x50ba35(0x1bf)][_0x50ba35(0x1d9)]),'renderingStrategy':_0x50ba35(0x1c1)}),this[_0x50ba35(0x1c3)]());}async[_0x2b87db(0x1ca)]({parsedContent:_0x1bc2cc,renderingStrategy:_0x7410c7,abortSignal:_0x43005b}){const _0xb05d2b=_0x2b87db;_0xb05d2b(0x1ce)===_0x7410c7?await this[_0xb05d2b(0x1db)](_0x1bc2cc,this[_0xb05d2b(0x1d8)][_0xb05d2b(0x1be)],_0x43005b):this[_0xb05d2b(0x1d8)][_0xb05d2b(0x1be)][_0xb05d2b(0x1dc)]=_0x1ec76b(_0x1bc2cc);}[_0x2b87db(0x1d3)](_0x251cc6){const _0x1373a5=_0x2b87db,_0x5de84d=new _0x2a16cd(this[_0x1373a5(0x1c2)]);_0x5de84d[_0x1373a5(0x1da)][_0x1373a5(0x1d4)](_0x251cc6[_0x1373a5(0x1d1)](_0x3c2f59=>new _0x3d22f3(this[_0x1373a5(0x1c2)],_0x3c2f59))),_0x5de84d[_0x1373a5(0x1cc)]=!0x0,this[_0x1373a5(0x1da)][_0x1373a5(0x1c4)](_0x5de84d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x45f6(){const _0x6d0fef=['open','keys','class','showChangeInText','24984XTSajT','applySuggestionModel','insertSuggestion','579030pqEuef','filter','listenTo','_createActionsDropdown','ck-ai-chat__feed__ai-suggestion__actions\x20','unbind','destroy','bodyCollection','showChangeInTextModel','execute','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','4Bdapzl','applySuggestion','bindTemplate','actionName','element','3142256nPIfhg','items','hide','detachFromDom','ck-ai-button-primary','setTemplate','_updateDropdownActions','has','_firstRender','remove','add','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','3vtxggt','esc','focus','arrowView','186764EyBKYN','_setUpKeystrokes','updateLabels','attachToDom','isTrackChangesOn','balloonPanelClass','1505019lSWsRC','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','locale','_createActionsDropdownOrButton','281890CAcUaN','balloonPanelView','insertSuggestionModel','isVisible','_setUpList','_createActionsButton','ck-ai-chat__feed__ai-suggestion__actions','createCollection','tooltip','map','length','pin','source','_dropdownOriginalConfig','left','listItemModels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','label','ck-hidden','ck-ai-chat__feed__ai-suggestion__actions__balloon','_dropdownCurrentConfig','ck-ai-chat__feed__ai-suggestion__actions--no-animation','content','div','set','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','isEnabled','uiLanguageDirection','fire','listView','bind','arrowless','children','slice','bottom','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','width','2956655bIRsmH','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','54jOpxNb','_partsCount','keystrokeHandler','delegate','button','ltr','change:isTrackChangesOn','actionsButton'];_0x45f6=function(){return _0x6d0fef;};return _0x45f6();}const _0x471f74=_0x2f91;(function(_0x5646e9,_0x1dfe53){const _0xb8c79=_0x2f91,_0x1aea38=_0x5646e9();while(!![]){try{const _0x276ac7=-parseInt(_0xb8c79(0xeb))/0x1*(-parseInt(_0xb8c79(0xef))/0x2)+parseInt(_0xb8c79(0x95))/0x3*(-parseInt(_0xb8c79(0xda))/0x4)+parseInt(_0xb8c79(0xbe))/0x5+-parseInt(_0xb8c79(0xcc))/0x6+-parseInt(_0xb8c79(0x99))/0x7+parseInt(_0xb8c79(0xdf))/0x8+-parseInt(_0xb8c79(0xc0))/0x9*(parseInt(_0xb8c79(0xcf))/0xa);if(_0x276ac7===_0x1dfe53)break;else _0x1aea38['push'](_0x1aea38['shift']());}catch(_0x311c13){_0x1aea38['push'](_0x1aea38['shift']());}}}(_0x45f6,0x5a82e));import{KeystrokeHandler as _0x8b8402}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x265226,BodyCollection as _0x1eb74d,ButtonView as _0x4a0cb3,clickOutsideHandler as _0x4a3f7d,ListItemButtonView as _0x3ea928,ListItemView as _0x27a438,ListView as _0xdbbe0d,SplitButtonView as _0x496a23,UIModel as _0x2e5304,View as _0x213425}from'ckeditor5/src/ui.js';import{IconCheck as _0x4d2557,IconAddComment as _0x4bc811,IconDocumentWithLoupe as _0x432969}from'ckeditor5/src/icons.js';import{getTranslation as _0x27c079}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x471f74(0xdb),_0x471f74(0xce),_0x471f74(0xcb)];export class AIChatFeedSuggestionItemActionsView extends _0x213425{[_0x471f74(0xc7)];[_0x471f74(0xb9)];[_0x471f74(0xcd)];[_0x471f74(0xd7)];[_0x471f74(0x9b)];[_0x471f74(0xc1)]=0x1;[_0x471f74(0xa6)];[_0x471f74(0xad)];[_0x471f74(0xe7)]=!0x0;constructor(_0x2bdfb7,_0x24e04f){const _0x33c67c=_0x471f74;super(_0x2bdfb7),this[_0x33c67c(0xa6)]=_0x24e04f||[...ACTIONS],this[_0x33c67c(0xad)]=[...this[_0x33c67c(0xa6)]];const _0x2b3940=this[_0x33c67c(0xdc)];this[_0x33c67c(0xb1)](_0x33c67c(0xb3),!0x0),this[_0x33c67c(0xb1)](_0x33c67c(0x9c),!0x0),this[_0x33c67c(0xcd)]=new _0x2e5304({'label':Un(_0x33c67c(0xdb),_0x2bdfb7,this[_0x33c67c(0xc1)]),'icon':_0x4d2557,'withText':!0x0,'type':_0x33c67c(0xc4),'actionName':_0x33c67c(0xdb)}),this[_0x33c67c(0xd7)]=new _0x2e5304({'label':Un(_0x33c67c(0xcb),_0x2bdfb7,this[_0x33c67c(0xc1)]),'icon':_0x432969,'withText':!0x0,'type':_0x33c67c(0xc4),'actionName':_0x33c67c(0xcb)}),this[_0x33c67c(0x9b)]=new _0x2e5304({'label':Un(_0x33c67c(0xce),_0x2bdfb7,this[_0x33c67c(0xc1)]),'icon':_0x4bc811,'withText':!0x0,'type':_0x33c67c(0xc4),'actionName':_0x33c67c(0xce)}),this[_0x33c67c(0xc7)]=this[_0x33c67c(0x98)](_0x2bdfb7),this[_0x33c67c(0xb9)]=this[_0x33c67c(0xa0)]([this[_0x33c67c(0xc7)]]),this[_0x33c67c(0xe4)]({'tag':_0x33c67c(0xb0),'attributes':{'class':['ck',_0x33c67c(0x9f),_0x2b3940['if'](_0x33c67c(0x9c),_0x33c67c(0xab),_0x3c57c0=>!_0x3c57c0)]},'children':this[_0x33c67c(0xb9)]}),this[_0x33c67c(0xd1)](this,_0x33c67c(0xc6),()=>{const _0x17c100=_0x33c67c;this[_0x17c100(0xad)]=this[_0x17c100(0xf3)]?this[_0x17c100(0xa6)][_0x17c100(0xd0)](_0x3b4aef=>_0x17c100(0xdb)!==_0x3b4aef):[...this[_0x17c100(0xa6)]],this[_0x17c100(0xe5)](_0x2bdfb7);});}[_0x471f74(0xe5)](_0x245a99){const _0x144673=_0x471f74;this[_0x144673(0xb9)][_0x144673(0xe6)](this[_0x144673(0xc7)])&&(this[_0x144673(0xb9)][_0x144673(0xe8)](this[_0x144673(0xc7)]),this[_0x144673(0xc7)][_0x144673(0xd5)]()),0x0!=this[_0x144673(0xad)][_0x144673(0xa3)]&&(this[_0x144673(0xc7)]=this[_0x144673(0x98)](_0x245a99),this[_0x144673(0xb9)][_0x144673(0xe9)](this[_0x144673(0xc7)]));}[_0x471f74(0x98)](_0x56bda9){const _0x37ac3b=_0x471f74,_0x5c44ba=0x1===this[_0x37ac3b(0xad)][_0x37ac3b(0xa3)]?this[_0x37ac3b(0x9e)](_0x56bda9):this[_0x37ac3b(0xd2)](_0x56bda9),_0x71313e=this[_0x37ac3b(0xe7)]?'':_0x37ac3b(0xae);_0x5c44ba[_0x37ac3b(0xb1)]({'label':Un(this[_0x37ac3b(0xad)][0x0],_0x56bda9,this[_0x37ac3b(0xc1)]),'tooltip':Ln(this[_0x37ac3b(0xad)][0x0],_0x56bda9,this[_0x37ac3b(0xc1)]),'withText':!0x0,'class':_0x37ac3b(0xd3)+_0x71313e});for(const _0x5364fa of this[_0x37ac3b(0xad)])_0x5c44ba['on'](_0x5364fa,()=>{const _0x5cd48e=_0x37ac3b;this[_0x5cd48e(0xb5)](_0x5364fa);});return this[_0x37ac3b(0xe7)]=!0x1,_0x5c44ba;}[_0x471f74(0x9e)](_0x2025dd){const _0x1f94bc=_0x471f74,_0x2534a1=new _0x4a0cb3(_0x2025dd);return _0x2534a1[_0x1f94bc(0xb1)]({'class':_0x1f94bc(0xe3),'withText':!0x0}),_0x2534a1['on'](_0x1f94bc(0xd8),()=>{const _0x28d526=_0x1f94bc;_0x2534a1[_0x28d526(0xb5)](this[_0x28d526(0xad)][0x0]);}),_0x2534a1;}[_0x471f74(0xd2)](_0x5e366a){const _0x288e4f=_0x471f74,_0x130840=new yn(_0x5e366a,{'listItemModels':this[_0x288e4f(0xad)][_0x288e4f(0xa2)](_0x1f7b30=>{const _0x399f9d=_0x288e4f;switch(_0x1f7b30){case _0x399f9d(0xdb):return this[_0x399f9d(0xcd)];case _0x399f9d(0xcb):return this[_0x399f9d(0xd7)];case _0x399f9d(0xce):return this[_0x399f9d(0x9b)];}})});return _0x130840[_0x288e4f(0xb1)]({'label':Un(this[_0x288e4f(0xad)][0x0],_0x5e366a,this[_0x288e4f(0xc1)]),'tooltip':Ln(this[_0x288e4f(0xad)][0x0],_0x5e366a,this[_0x288e4f(0xc1)]),'withText':!0x0,'class':_0x288e4f(0x9f),'balloonPanelClass':_0x288e4f(0xac)}),_0x130840[_0x288e4f(0xb7)](_0x288e4f(0xb3))['to'](this),_0x130840;}[_0x471f74(0xf1)](_0x170cf3){const _0x2c914a=_0x471f74,_0x5f2f66=this[_0x2c914a(0x97)];this[_0x2c914a(0xc1)]=_0x170cf3||this[_0x2c914a(0xc1)],this[_0x2c914a(0xc7)][_0x2c914a(0xb1)]({'label':Un(this[_0x2c914a(0xad)][0x0],_0x5f2f66,this[_0x2c914a(0xc1)]),'tooltip':Ln(this[_0x2c914a(0xad)][0x0],_0x5f2f66,this[_0x2c914a(0xc1)])}),this[_0x2c914a(0xcd)][_0x2c914a(0xaa)]=Un(_0x2c914a(0xdb),_0x5f2f66,this[_0x2c914a(0xc1)]),this[_0x2c914a(0xd7)][_0x2c914a(0xaa)]=Un(_0x2c914a(0xcb),_0x5f2f66,this[_0x2c914a(0xc1)]),this[_0x2c914a(0x9b)][_0x2c914a(0xaa)]=Un(_0x2c914a(0xce),_0x5f2f66,this[_0x2c914a(0xc1)]);}}class yn extends _0x496a23{[_0x471f74(0xd6)];[_0x471f74(0x9a)];[_0x471f74(0xb6)];[_0x471f74(0xc2)];constructor(_0x2636ec,_0x2cac93){const _0x146ad2=_0x471f74;super(_0x2636ec),this[_0x146ad2(0x9a)]=new _0x265226(this[_0x146ad2(0x97)]),this[_0x146ad2(0xd6)]=new _0x1eb74d(this[_0x146ad2(0x97)]),this[_0x146ad2(0xd6)][_0x146ad2(0xf2)](),this[_0x146ad2(0xb1)](_0x146ad2(0x94),''),this[_0x146ad2(0x9a)][_0x146ad2(0xb7)](_0x146ad2(0xca))['to'](this,_0x146ad2(0x94)),this[_0x146ad2(0xb6)]=this[_0x146ad2(0x9d)](_0x2cac93[_0x146ad2(0xa8)][_0x146ad2(0xba)](0x1)),this[_0x146ad2(0xd6)][_0x146ad2(0xe9)](this[_0x146ad2(0x9a)]),this[_0x146ad2(0x9a)][_0x146ad2(0xaf)][_0x146ad2(0xe9)](this[_0x146ad2(0xb6)]),this[_0x146ad2(0xee)][_0x146ad2(0xd4)](_0x146ad2(0xa1)),this[_0x146ad2(0xee)][_0x146ad2(0xb1)](_0x146ad2(0xa1),_0x27c079(this[_0x146ad2(0x97)],_0x146ad2(0xbc))),this[_0x146ad2(0xf0)](),this['on'](_0x146ad2(0xd8),()=>{const _0x420647=_0x146ad2,_0x4776f2=_0x2cac93[_0x420647(0xa8)][0x0][_0x420647(0xdd)];this[_0x420647(0xb5)](_0x4776f2),this[_0x420647(0x9a)][_0x420647(0xe1)](),this[_0x420647(0xee)][_0x420647(0xed)]();}),this['on'](_0x146ad2(0xc8),()=>{const _0x4a7fe7=_0x146ad2;this[_0x4a7fe7(0x9a)][_0x4a7fe7(0x9c)]?(this[_0x4a7fe7(0x9a)][_0x4a7fe7(0xe1)](),this[_0x4a7fe7(0xee)][_0x4a7fe7(0xed)]()):(this[_0x4a7fe7(0x9a)][_0x4a7fe7(0xa4)]({'target':this[_0x4a7fe7(0xde)],'positions':[_0x4a7fe7(0xc5)===this[_0x4a7fe7(0x97)][_0x4a7fe7(0xb4)]?Pn:Hn]}),this[_0x4a7fe7(0xb6)][_0x4a7fe7(0xed)]());}),_0x4a3f7d({'emitter':this[_0x146ad2(0x9a)],'callback':()=>{const _0x4f6df8=_0x146ad2;this[_0x4f6df8(0x9a)][_0x4f6df8(0xe1)]();},'activator':()=>this[_0x146ad2(0x9a)][_0x146ad2(0x9c)],'contextElements':()=>[this[_0x146ad2(0xde)],this[_0x146ad2(0x9a)][_0x146ad2(0xde)]]});}[_0x471f74(0x9d)](_0xa03043){const _0x238239=_0x471f74,_0x28c40d=this[_0x238239(0x97)],_0x19354c=new _0xdbbe0d(_0x28c40d);for(const _0x2dd77b of _0xa03043){const _0x826c1=new _0x27a438(_0x28c40d),_0x13945c=new _0x3ea928(_0x28c40d);_0x13945c[_0x238239(0xb7)](...Object[_0x238239(0xc9)](_0x2dd77b))['to'](_0x2dd77b),_0x13945c[_0x238239(0xc3)](_0x238239(0xd8))['to'](_0x19354c),_0x826c1[_0x238239(0xb9)][_0x238239(0xe9)](_0x13945c),_0x19354c[_0x238239(0xe0)][_0x238239(0xe9)](_0x826c1);}return _0x19354c[_0x238239(0xe0)][_0x238239(0xc3)](_0x238239(0xd8))['to'](this),_0x19354c['on'](_0x238239(0xd8),_0x3d56bb=>{const _0x2e4693=_0x238239,_0x5e2de5=_0x3d56bb[_0x2e4693(0xa5)];this[_0x2e4693(0xb5)](_0x5e2de5[_0x2e4693(0xdd)]),this[_0x2e4693(0x9a)][_0x2e4693(0xe1)](),this[_0x2e4693(0xee)][_0x2e4693(0xed)]();}),_0x19354c;}[_0x471f74(0xf0)](){const _0x2c5ca5=_0x471f74;this[_0x2c5ca5(0xc2)]=new _0x8b8402(),this[_0x2c5ca5(0xc2)][_0x2c5ca5(0xd1)](this[_0x2c5ca5(0x9a)][_0x2c5ca5(0xde)]),this[_0x2c5ca5(0xc2)][_0x2c5ca5(0xb1)](_0x2c5ca5(0xec),(_0x2594a5,_0x223a6a)=>{const _0x16f64a=_0x2c5ca5;this[_0x16f64a(0x9a)][_0x16f64a(0xe1)](),this[_0x16f64a(0xee)][_0x16f64a(0xed)](),_0x223a6a();});}[_0x471f74(0xd5)](){const _0x2a9c2c=_0x471f74;super[_0x2a9c2c(0xd5)](),this[_0x2a9c2c(0xc2)][_0x2a9c2c(0xd5)](),this[_0x2a9c2c(0x9a)][_0x2a9c2c(0xd5)](),this[_0x2a9c2c(0xd6)][_0x2a9c2c(0xe2)]();}}function Pn(_0x1f4de6){const _0x40be10=_0x471f74;return{'top':_0x1f4de6[_0x40be10(0xbb)],'left':_0x1f4de6[_0x40be10(0xa7)],'name':_0x40be10(0xb8),'config':{'withArrow':!0x1}};}function Hn(_0x5eabd4,_0x5aec1a){const _0x4700cb=_0x471f74;return{'top':_0x5eabd4[_0x4700cb(0xbb)],'left':_0x5eabd4[_0x4700cb(0xa7)]-(_0x5aec1a[_0x4700cb(0xbd)]-_0x5eabd4[_0x4700cb(0xbd)]),'name':_0x4700cb(0xb8),'config':{'withArrow':!0x1}};}function _0x2f91(_0x37463d,_0x3131f6){const _0x45f61f=_0x45f6();return _0x2f91=function(_0x2f91ab,_0x3b932f){_0x2f91ab=_0x2f91ab-0x94;let _0x2154b8=_0x45f61f[_0x2f91ab];return _0x2154b8;},_0x2f91(_0x37463d,_0x3131f6);}function Un(_0x3bdcc0,_0x28728a,_0x36d67e){const _0x1930c1=_0x471f74;switch(_0x3bdcc0){case _0x1930c1(0xdb):return _0x27c079(_0x28728a,_0x1930c1(0xd9),_0x36d67e);case _0x1930c1(0xcb):return _0x27c079(_0x28728a,_0x1930c1(0x96),_0x36d67e);case _0x1930c1(0xce):return _0x27c079(_0x28728a,_0x1930c1(0xbf),_0x36d67e);}}function Ln(_0x55e69d,_0x38d501,_0x39b2d2){const _0x320d66=_0x471f74;switch(_0x55e69d){case _0x320d66(0xdb):return _0x27c079(_0x38d501,_0x320d66(0xb2),_0x39b2d2);case _0x320d66(0xcb):return _0x27c079(_0x38d501,_0x320d66(0xea),_0x39b2d2);case _0x320d66(0xce):return _0x27c079(_0x38d501,_0x320d66(0xa9),_0x39b2d2);}}
23
+ const _0xfe841e=_0x21b7;(function(_0xcfa4c3,_0x339a79){const _0x500d2f=_0x21b7,_0x53f5d5=_0xcfa4c3();while(!![]){try{const _0x459dea=parseInt(_0x500d2f(0x188))/0x1*(-parseInt(_0x500d2f(0x1bd))/0x2)+-parseInt(_0x500d2f(0x196))/0x3+-parseInt(_0x500d2f(0x1bc))/0x4*(-parseInt(_0x500d2f(0x195))/0x5)+-parseInt(_0x500d2f(0x1d6))/0x6*(parseInt(_0x500d2f(0x197))/0x7)+-parseInt(_0x500d2f(0x1d9))/0x8*(parseInt(_0x500d2f(0x1a5))/0x9)+-parseInt(_0x500d2f(0x1a2))/0xa+-parseInt(_0x500d2f(0x1c2))/0xb*(-parseInt(_0x500d2f(0x187))/0xc);if(_0x459dea===_0x339a79)break;else _0x53f5d5['push'](_0x53f5d5['shift']());}catch(_0x2cdd67){_0x53f5d5['push'](_0x53f5d5['shift']());}}}(_0x29df,0xe0a46));import{KeystrokeHandler as _0x511bfd}from'ckeditor5/src/utils.js';function _0x21b7(_0x4411a6,_0x5e58b3){const _0x29dfe1=_0x29df();return _0x21b7=function(_0x21b78c,_0x43eadc){_0x21b78c=_0x21b78c-0x185;let _0x42216b=_0x29dfe1[_0x21b78c];return _0x42216b;},_0x21b7(_0x4411a6,_0x5e58b3);}import{BalloonPanelView as _0x22c92c,BodyCollection as _0x1b05ad,ButtonView as _0x49abbd,clickOutsideHandler as _0x3dd6d9,ListItemButtonView as _0x393caf,ListItemView as _0x1047e2,ListView as _0x487f65,SplitButtonView as _0x3caf8a,UIModel as _0x9af8c4,View as _0x8f7ca1}from'ckeditor5/src/ui.js';import{IconCheck as _0x3ee3a7,IconAddComment as _0x4eace6,IconDocumentWithLoupe as _0x3326dd}from'ckeditor5/src/icons.js';import{getTranslation as _0x5e429a}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0xfe841e(0x186),_0xfe841e(0x18b),_0xfe841e(0x1da)];export class AIChatFeedSuggestionItemActionsView extends _0x8f7ca1{[_0xfe841e(0x193)];[_0xfe841e(0x190)];[_0xfe841e(0x1c6)];[_0xfe841e(0x1bf)];[_0xfe841e(0x1d8)];[_0xfe841e(0x1b9)]=0x1;[_0xfe841e(0x19f)];[_0xfe841e(0x1d5)];[_0xfe841e(0x1b3)]=!0x0;constructor(_0x2d8f32,_0x4d8122){const _0x171030=_0xfe841e;super(_0x2d8f32),this[_0x171030(0x19f)]=_0x4d8122||[...ACTIONS],this[_0x171030(0x1d5)]=[...this[_0x171030(0x19f)]];const _0xb1c213=this[_0x171030(0x18a)];this[_0x171030(0x1cc)](_0x171030(0x185),!0x0),this[_0x171030(0x1cc)](_0x171030(0x1a0),!0x0),this[_0x171030(0x1c6)]=new _0x9af8c4({'label':Hn(_0x171030(0x186),_0x2d8f32,this[_0x171030(0x1b9)]),'icon':_0x3ee3a7,'withText':!0x0,'type':_0x171030(0x1ca),'actionName':_0x171030(0x186)}),this[_0x171030(0x1bf)]=new _0x9af8c4({'label':Hn(_0x171030(0x1da),_0x2d8f32,this[_0x171030(0x1b9)]),'icon':_0x3326dd,'withText':!0x0,'type':_0x171030(0x1ca),'actionName':_0x171030(0x1da)}),this[_0x171030(0x1d8)]=new _0x9af8c4({'label':Hn(_0x171030(0x18b),_0x2d8f32,this[_0x171030(0x1b9)]),'icon':_0x4eace6,'withText':!0x0,'type':_0x171030(0x1ca),'actionName':_0x171030(0x18b)}),this[_0x171030(0x193)]=this[_0x171030(0x1be)](_0x2d8f32),this[_0x171030(0x190)]=this[_0x171030(0x1d1)]([this[_0x171030(0x193)]]),this[_0x171030(0x1b5)]({'tag':_0x171030(0x18f),'attributes':{'class':['ck',_0x171030(0x1d4),_0xb1c213['if'](_0x171030(0x1a0),_0x171030(0x18d),_0x3e8c0b=>!_0x3e8c0b)]},'children':this[_0x171030(0x190)]}),this[_0x171030(0x1cf)](this,_0x171030(0x1e4),()=>{const _0x4f854d=_0x171030;this[_0x4f854d(0x1d5)]=this[_0x4f854d(0x19b)]?this[_0x4f854d(0x19f)][_0x4f854d(0x1db)](_0x434b13=>_0x4f854d(0x186)!==_0x434b13):[...this[_0x4f854d(0x19f)]],this[_0x4f854d(0x1bb)](_0x2d8f32);});}[_0xfe841e(0x1bb)](_0x18c9c1){const _0x57cb11=_0xfe841e;this[_0x57cb11(0x190)][_0x57cb11(0x1a1)](this[_0x57cb11(0x193)])&&(this[_0x57cb11(0x190)][_0x57cb11(0x1c0)](this[_0x57cb11(0x193)]),this[_0x57cb11(0x193)][_0x57cb11(0x1b2)]()),0x0!=this[_0x57cb11(0x1d5)][_0x57cb11(0x1b6)]&&(this[_0x57cb11(0x193)]=this[_0x57cb11(0x1be)](_0x18c9c1),this[_0x57cb11(0x190)][_0x57cb11(0x1e5)](this[_0x57cb11(0x193)]));}[_0xfe841e(0x1be)](_0x6fbc19){const _0x105568=_0xfe841e,_0x25744c=0x1===this[_0x105568(0x1d5)][_0x105568(0x1b6)]?this[_0x105568(0x1b0)](_0x6fbc19):this[_0x105568(0x1cd)](_0x6fbc19),_0xd2d154=this[_0x105568(0x1b3)]?'':_0x105568(0x1c3);_0x25744c[_0x105568(0x1cc)]({'label':Hn(this[_0x105568(0x1d5)][0x0],_0x6fbc19,this[_0x105568(0x1b9)]),'tooltip':Un(this[_0x105568(0x1d5)][0x0],_0x6fbc19,this[_0x105568(0x1b9)]),'withText':!0x0,'class':_0x105568(0x198)+_0xd2d154});for(const _0x4eeae5 of this[_0x105568(0x1d5)])_0x25744c['on'](_0x4eeae5,()=>{const _0x585873=_0x105568;this[_0x585873(0x1ab)](_0x4eeae5);});return this[_0x105568(0x1b3)]=!0x1,_0x25744c;}[_0xfe841e(0x1b0)](_0x57d985){const _0x5508e5=_0xfe841e,_0xa023af=new _0x49abbd(_0x57d985);return _0xa023af[_0x5508e5(0x1cc)]({'class':_0x5508e5(0x19c),'withText':!0x0}),_0xa023af['on'](_0x5508e5(0x191),()=>{const _0x221ed3=_0x5508e5;_0xa023af[_0x221ed3(0x1ab)](this[_0x221ed3(0x1d5)][0x0]);}),_0xa023af;}[_0xfe841e(0x1cd)](_0x45b4e9){const _0x4df0c9=_0xfe841e,_0x2d1257=new Gn(_0x45b4e9,{'listItemModels':this[_0x4df0c9(0x1d5)][_0x4df0c9(0x1de)](_0x1674ea=>{const _0x3525c8=_0x4df0c9;switch(_0x1674ea){case _0x3525c8(0x186):return this[_0x3525c8(0x1c6)];case _0x3525c8(0x1da):return this[_0x3525c8(0x1bf)];case _0x3525c8(0x18b):return this[_0x3525c8(0x1d8)];}})});return _0x2d1257[_0x4df0c9(0x1cc)]({'label':Hn(this[_0x4df0c9(0x1d5)][0x0],_0x45b4e9,this[_0x4df0c9(0x1b9)]),'tooltip':Un(this[_0x4df0c9(0x1d5)][0x0],_0x45b4e9,this[_0x4df0c9(0x1b9)]),'withText':!0x0,'class':_0x4df0c9(0x1d4),'balloonPanelClass':_0x4df0c9(0x1a3)}),_0x2d1257[_0x4df0c9(0x1b4)](_0x4df0c9(0x185))['to'](this),_0x2d1257;}[_0xfe841e(0x1c8)](_0x3285ac){const _0x59e1c5=_0xfe841e,_0x1751eb=this[_0x59e1c5(0x19e)];this[_0x59e1c5(0x1b9)]=_0x3285ac||this[_0x59e1c5(0x1b9)],this[_0x59e1c5(0x193)][_0x59e1c5(0x1cc)]({'label':Hn(this[_0x59e1c5(0x1d5)][0x0],_0x1751eb,this[_0x59e1c5(0x1b9)]),'tooltip':Un(this[_0x59e1c5(0x1d5)][0x0],_0x1751eb,this[_0x59e1c5(0x1b9)])}),this[_0x59e1c5(0x1c6)][_0x59e1c5(0x1ad)]=Hn(_0x59e1c5(0x186),_0x1751eb,this[_0x59e1c5(0x1b9)]),this[_0x59e1c5(0x1bf)][_0x59e1c5(0x1ad)]=Hn(_0x59e1c5(0x1da),_0x1751eb,this[_0x59e1c5(0x1b9)]),this[_0x59e1c5(0x1d8)][_0x59e1c5(0x1ad)]=Hn(_0x59e1c5(0x18b),_0x1751eb,this[_0x59e1c5(0x1b9)]);}}class Gn extends _0x3caf8a{[_0xfe841e(0x1d0)];[_0xfe841e(0x19d)];[_0xfe841e(0x1c4)];[_0xfe841e(0x1e2)];constructor(_0x4cacb5,_0x394b30){const _0x3b283c=_0xfe841e;super(_0x4cacb5),this[_0x3b283c(0x19d)]=new _0x22c92c(this[_0x3b283c(0x19e)]),this[_0x3b283c(0x1d0)]=new _0x1b05ad(this[_0x3b283c(0x19e)]),this[_0x3b283c(0x1d0)][_0x3b283c(0x192)](),this[_0x3b283c(0x1cc)](_0x3b283c(0x189),''),this[_0x3b283c(0x19d)][_0x3b283c(0x1b4)](_0x3b283c(0x1cb))['to'](this,_0x3b283c(0x189)),this[_0x3b283c(0x1c4)]=this[_0x3b283c(0x18e)](_0x394b30[_0x3b283c(0x1a8)][_0x3b283c(0x1dd)](0x1)),this[_0x3b283c(0x1d0)][_0x3b283c(0x1e5)](this[_0x3b283c(0x19d)]),this[_0x3b283c(0x19d)][_0x3b283c(0x1df)][_0x3b283c(0x1e5)](this[_0x3b283c(0x1c4)]),this[_0x3b283c(0x1dc)][_0x3b283c(0x1ce)](_0x3b283c(0x1e3)),this[_0x3b283c(0x1dc)][_0x3b283c(0x1cc)](_0x3b283c(0x1e3),_0x5e429a(this[_0x3b283c(0x19e)],_0x3b283c(0x1b8))),this[_0x3b283c(0x1ba)](),this['on'](_0x3b283c(0x191),()=>{const _0x1f3a06=_0x3b283c,_0x5a5032=_0x394b30[_0x1f3a06(0x1a8)][0x0][_0x1f3a06(0x1d3)];this[_0x1f3a06(0x1ab)](_0x5a5032),this[_0x1f3a06(0x19d)][_0x1f3a06(0x199)](),this[_0x1f3a06(0x1dc)][_0x1f3a06(0x1af)]();}),this['on'](_0x3b283c(0x1a4),()=>{const _0x54a91c=_0x3b283c;this[_0x54a91c(0x19d)][_0x54a91c(0x1a0)]?(this[_0x54a91c(0x19d)][_0x54a91c(0x199)](),this[_0x54a91c(0x1dc)][_0x54a91c(0x1af)]()):(this[_0x54a91c(0x19d)][_0x54a91c(0x1d2)]({'target':this[_0x54a91c(0x1a9)],'positions':[_0x54a91c(0x1c1)===this[_0x54a91c(0x19e)][_0x54a91c(0x1e6)]?yn:Pn]}),this[_0x54a91c(0x1c4)][_0x54a91c(0x1af)]());}),_0x3dd6d9({'emitter':this[_0x3b283c(0x19d)],'callback':()=>{const _0x4cc622=_0x3b283c;this[_0x4cc622(0x19d)][_0x4cc622(0x199)]();},'activator':()=>this[_0x3b283c(0x19d)][_0x3b283c(0x1a0)],'contextElements':()=>[this[_0x3b283c(0x1a9)],this[_0x3b283c(0x19d)][_0x3b283c(0x1a9)]]});}[_0xfe841e(0x18e)](_0x58f70b){const _0x278221=_0xfe841e,_0x57e2e9=this[_0x278221(0x19e)],_0x8fcb4a=new _0x487f65(_0x57e2e9);for(const _0x38efec of _0x58f70b){const _0x4c5a21=new _0x1047e2(_0x57e2e9),_0x35fe72=new _0x393caf(_0x57e2e9);_0x35fe72[_0x278221(0x1b4)](...Object[_0x278221(0x1b7)](_0x38efec))['to'](_0x38efec),_0x35fe72[_0x278221(0x1e0)](_0x278221(0x191))['to'](_0x8fcb4a),_0x4c5a21[_0x278221(0x190)][_0x278221(0x1e5)](_0x35fe72),_0x8fcb4a[_0x278221(0x19a)][_0x278221(0x1e5)](_0x4c5a21);}return _0x8fcb4a[_0x278221(0x19a)][_0x278221(0x1e0)](_0x278221(0x191))['to'](this),_0x8fcb4a['on'](_0x278221(0x191),_0x3e6c17=>{const _0x18bd68=_0x278221,_0x5ef09a=_0x3e6c17[_0x18bd68(0x1aa)];this[_0x18bd68(0x1ab)](_0x5ef09a[_0x18bd68(0x1d3)]),this[_0x18bd68(0x19d)][_0x18bd68(0x199)](),this[_0x18bd68(0x1dc)][_0x18bd68(0x1af)]();}),_0x8fcb4a;}[_0xfe841e(0x1ba)](){const _0x3d12de=_0xfe841e;this[_0x3d12de(0x1e2)]=new _0x511bfd(),this[_0x3d12de(0x1e2)][_0x3d12de(0x1cf)](this[_0x3d12de(0x19d)][_0x3d12de(0x1a9)]),this[_0x3d12de(0x1e2)][_0x3d12de(0x1cc)](_0x3d12de(0x1b1),(_0x4aac6f,_0x4e8a70)=>{const _0x365a67=_0x3d12de;this[_0x365a67(0x19d)][_0x365a67(0x199)](),this[_0x365a67(0x1dc)][_0x365a67(0x1af)](),_0x4e8a70();});}[_0xfe841e(0x1b2)](){const _0x25b392=_0xfe841e;super[_0x25b392(0x1b2)](),this[_0x25b392(0x1e2)][_0x25b392(0x1b2)](),this[_0x25b392(0x19d)][_0x25b392(0x1b2)](),this[_0x25b392(0x1d0)][_0x25b392(0x1d7)]();}}function yn(_0x4ba18b){const _0x338992=_0xfe841e;return{'top':_0x4ba18b[_0x338992(0x1a6)],'left':_0x4ba18b[_0x338992(0x1c9)],'name':_0x338992(0x1ac),'config':{'withArrow':!0x1}};}function _0x29df(){const _0x3d4dbc=['balloonPanelView','locale','_dropdownOriginalConfig','isVisible','has','11492460zNPxdi','ck-ai-chat__feed__ai-suggestion__actions__balloon','open','259020BrsZaB','bottom','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','listItemModels','element','source','fire','arrowless','label','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','focus','_createActionsButton','esc','destroy','_firstRender','bind','setTemplate','length','keys','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','_partsCount','_setUpKeystrokes','_updateDropdownActions','4JTUMxP','234MuUPok','_createActionsDropdownOrButton','showChangeInTextModel','remove','ltr','57874157LEZsuZ','ck-ai-chat__feed__ai-suggestion__actions--no-animation','listView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','applySuggestionModel','width','updateLabels','left','button','class','set','_createActionsDropdown','unbind','listenTo','bodyCollection','createCollection','pin','actionName','ck-ai-chat__feed__ai-suggestion__actions','_dropdownCurrentConfig','83958wJcWdJ','detachFromDom','insertSuggestionModel','128EHAppy','showChangeInText','filter','arrowView','slice','map','content','delegate','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','keystrokeHandler','tooltip','change:isTrackChangesOn','add','uiLanguageDirection','isEnabled','applySuggestion','12DcUbqg','7895JpWVHF','balloonPanelClass','bindTemplate','insertSuggestion','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','ck-hidden','_setUpList','div','children','execute','attachToDom','actionsButton','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','1575745FQpxsh','3975780NwdzbF','399kqDFBH','ck-ai-chat__feed__ai-suggestion__actions\x20','hide','items','isTrackChangesOn','ck-ai-button-primary'];_0x29df=function(){return _0x3d4dbc;};return _0x29df();}function Pn(_0x1ac5f4,_0x368a22){const _0x7a1f4e=_0xfe841e;return{'top':_0x1ac5f4[_0x7a1f4e(0x1a6)],'left':_0x1ac5f4[_0x7a1f4e(0x1c9)]-(_0x368a22[_0x7a1f4e(0x1c7)]-_0x1ac5f4[_0x7a1f4e(0x1c7)]),'name':_0x7a1f4e(0x1ac),'config':{'withArrow':!0x1}};}function Hn(_0x46959e,_0x5efa44,_0x22ab5d){const _0x19e940=_0xfe841e;switch(_0x46959e){case _0x19e940(0x186):return _0x5e429a(_0x5efa44,_0x19e940(0x1e1),_0x22ab5d);case _0x19e940(0x1da):return _0x5e429a(_0x5efa44,_0x19e940(0x1a7),_0x22ab5d);case _0x19e940(0x18b):return _0x5e429a(_0x5efa44,_0x19e940(0x1c5),_0x22ab5d);}}function Un(_0x50a2d3,_0x32a6b2,_0x87c703){const _0x5f3a47=_0xfe841e;switch(_0x50a2d3){case _0x5f3a47(0x186):return _0x5e429a(_0x32a6b2,_0x5f3a47(0x194),_0x87c703);case _0x5f3a47(0x1da):return _0x5e429a(_0x32a6b2,_0x5f3a47(0x18c),_0x87c703);case _0x5f3a47(0x18b):return _0x5e429a(_0x32a6b2,_0x5f3a47(0x1ae),_0x87c703);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5876(_0x160b30,_0x1c99bb){var _0x460f8d=_0x460f();return _0x5876=function(_0x58762a,_0x137580){_0x58762a=_0x58762a-0xc9;var _0x1fbeba=_0x460f8d[_0x58762a];return _0x1fbeba;},_0x5876(_0x160b30,_0x1c99bb);}var _0x2fb74f=_0x5876;(function(_0x201115,_0x45ad26){var _0x1ac054=_0x5876,_0x75543b=_0x201115();while(!![]){try{var _0x583630=-parseInt(_0x1ac054(0xed))/0x1+-parseInt(_0x1ac054(0xcb))/0x2+-parseInt(_0x1ac054(0xe8))/0x3+-parseInt(_0x1ac054(0xd0))/0x4+parseInt(_0x1ac054(0xd6))/0x5*(-parseInt(_0x1ac054(0xec))/0x6)+-parseInt(_0x1ac054(0xd3))/0x7+parseInt(_0x1ac054(0xd9))/0x8*(parseInt(_0x1ac054(0xdc))/0x9);if(_0x583630===_0x45ad26)break;else _0x75543b['push'](_0x75543b['shift']());}catch(_0x3649c9){_0x75543b['push'](_0x75543b['shift']());}}}(_0x460f,0xec821));import{AIChatFeedItemView as _0xd1537}from'./aichatfeeditemview.js';function _0x460f(){var _0x840d7a=['like','20WUFcJY','addMany','hasPendingParts','676960HpeYtj','showDiff','fire','684Szydlz','rejectSuggestion','dislike','toggleSuggestionDisplayMode','insertSuggestion','mouseOverSuggestion','partsCount','bodyView','getPartView','markAsDone','actionsView','applySuggestion','1084584sSuQGi','containerView','isVisible','updateLabels','593436HRSpkB','1468469DHHbxU','options','bind','dropdownConfig','updateContent','updatePartState','isEnabled','extendTemplate','updateSources','1360648NCWvKb','showChangeInText','children','hasNonEmptyParts','ck-ai-chat__feed__ai-suggestion','6934156djrIxX','areActionsDisabled','mouseLeaveSuggestion','5760293WFzHDD','isTrackChangesOn'];_0x460f=function(){return _0x840d7a;};return _0x460f();}import{AISuggestionContainerView as _0x325482}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x20afef}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0xd1537{[_0x2fb74f(0xe9)];[_0x2fb74f(0xe6)];constructor(_0x2b9417,_0xce8b5d){var _0x5101a8=_0x2fb74f;super(_0xce8b5d),this[_0x5101a8(0xe9)]=new _0x325482(_0x2b9417,{'showDiff':_0xce8b5d[_0x5101a8(0xda)],'areActionsDisabled':_0xce8b5d[_0x5101a8(0xd1)]}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xdf),(_0x26eeb9,_0x5e2f8f)=>{var _0xa224f9=_0x5101a8;this[_0xa224f9(0xdb)](_0xa224f9(0xdf),{'replyId':this[_0xa224f9(0xee)]['id'],'showDiff':_0x5e2f8f[_0xa224f9(0xda)]});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xd5),()=>{var _0x3cd7c0=_0x5101a8;this[_0x3cd7c0(0xdb)](_0x3cd7c0(0xd5),{'replyId':this[_0x3cd7c0(0xee)]['id']});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xde),()=>{var _0x58863b=_0x5101a8;this[_0x58863b(0xdb)](_0x58863b(0xde),{'replyId':this[_0x58863b(0xee)]['id']});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xcc),(_0xa972d4,{index:_0x285d8a})=>{var _0x2d9e09=_0x5101a8;this[_0x2d9e09(0xdb)](_0x2d9e09(0xcc),{'replyId':this[_0x2d9e09(0xee)]['id'],'partIndex':_0x285d8a});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xe0),(_0x4bcf24,{index:_0x3d6acd})=>{var _0x1187c3=_0x5101a8;this[_0x1187c3(0xdb)](_0x1187c3(0xe0),{'replyId':this[_0x1187c3(0xee)]['id'],'partIndex':_0x3d6acd});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xdd),(_0x4e0c2f,{index:_0x1f189b})=>{var _0x3d8adc=_0x5101a8;this[_0x3d8adc(0xdb)](_0x3d8adc(0xdd),{'replyId':this[_0x3d8adc(0xee)]['id'],'partIndex':_0x1f189b});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xe1),(_0x4f08bf,{index:_0x34f7c8})=>{var _0x575fae=_0x5101a8;this[_0x575fae(0xdb)](_0x575fae(0xe1),{'replyId':this[_0x575fae(0xee)]['id'],'partIndex':_0x34f7c8});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xd2),(_0x4def0e,{index:_0x458ddb})=>{var _0x304b59=_0x5101a8;this[_0x304b59(0xdb)](_0x304b59(0xd2),{'replyId':this[_0x304b59(0xee)]['id'],'partIndex':_0x458ddb});}),this[_0x5101a8(0xe6)]=new _0x20afef(_0x2b9417,this[_0x5101a8(0xee)][_0x5101a8(0xf0)]),this[_0x5101a8(0xe6)][_0x5101a8(0xef)](_0x5101a8(0xd4))['to'](this,_0x5101a8(0xd4)),this[_0x5101a8(0xe6)]['on'](_0x5101a8(0xcc),()=>{var _0x14f660=_0x5101a8;this[_0x14f660(0xdb)](_0x14f660(0xcc),{'replyId':this[_0x14f660(0xee)]['id']});}),this[_0x5101a8(0xe6)]['on'](_0x5101a8(0xe0),()=>{var _0x16190a=_0x5101a8;this[_0x16190a(0xdb)](_0x16190a(0xe0),{'replyId':this[_0x16190a(0xee)]['id']});}),this[_0x5101a8(0xe6)]['on'](_0x5101a8(0xe7),()=>{var _0x29bf9b=_0x5101a8;this[_0x29bf9b(0xdb)](_0x29bf9b(0xe7),{'replyId':this[_0x29bf9b(0xee)]['id']});}),_0xce8b5d[_0x5101a8(0xd1)]?this[_0x5101a8(0xe6)][_0x5101a8(0xf3)]=!0x1:this[_0x5101a8(0xe6)][_0x5101a8(0xef)](_0x5101a8(0xf3))['to'](this[_0x5101a8(0xe9)][_0x5101a8(0xe3)],_0x5101a8(0xd8)),this[_0x5101a8(0xcd)][_0x5101a8(0xd7)]([this[_0x5101a8(0xe9)],this[_0x5101a8(0xe6)]]),this[_0x5101a8(0xc9)]({'attributes':{'class':[_0x5101a8(0xcf)]}});}async[_0x2fb74f(0xf1)](_0x343406){var _0xbd4359=_0x2fb74f;await this[_0xbd4359(0xe9)][_0xbd4359(0xf1)](_0x343406),this[_0xbd4359(0xe6)][_0xbd4359(0xeb)](this[_0xbd4359(0xe9)][_0xbd4359(0xe3)][_0xbd4359(0xe2)]);}[_0x2fb74f(0xf2)](_0x1e81ec,_0x6e31a3){var _0x41acc4=_0x2fb74f;this[_0x41acc4(0xe9)][_0x41acc4(0xe3)][_0x41acc4(0xf2)](_0x1e81ec,_0x6e31a3);}[_0x2fb74f(0xca)](_0x41c0e4){var _0x4eec0=_0x2fb74f;this[_0x4eec0(0xe9)][_0x4eec0(0xca)](_0x41c0e4);}[_0x2fb74f(0xe4)](_0x47cf2f){var _0x1a129f=_0x2fb74f;return this[_0x1a129f(0xe9)][_0x1a129f(0xe3)][_0x1a129f(0xe4)](_0x47cf2f);}[_0x2fb74f(0xe5)](){var _0x2f95ed=_0x2fb74f;super[_0x2f95ed(0xe5)](),this[_0x2f95ed(0xe9)][_0x2f95ed(0xe5)](),this[_0x2f95ed(0xe6)][_0x2f95ed(0xea)]=this[_0x2f95ed(0xe9)][_0x2f95ed(0xe3)][_0x2f95ed(0xce)];}}
23
+ var _0x2b8fcf=_0x334b;(function(_0xb18d21,_0x5be954){var _0x2af20c=_0x334b,_0x41f517=_0xb18d21();while(!![]){try{var _0x4ba3fb=-parseInt(_0x2af20c(0x1ad))/0x1+parseInt(_0x2af20c(0x1a9))/0x2+parseInt(_0x2af20c(0x1a5))/0x3+parseInt(_0x2af20c(0x1c4))/0x4+-parseInt(_0x2af20c(0x1c5))/0x5*(parseInt(_0x2af20c(0x1b2))/0x6)+-parseInt(_0x2af20c(0x1c9))/0x7*(-parseInt(_0x2af20c(0x1a8))/0x8)+parseInt(_0x2af20c(0x1b6))/0x9;if(_0x4ba3fb===_0x5be954)break;else _0x41f517['push'](_0x41f517['shift']());}catch(_0x2548b7){_0x41f517['push'](_0x41f517['shift']());}}}(_0x327a,0x8f243));function _0x334b(_0x4229c5,_0x4d96cc){var _0x327af6=_0x327a();return _0x334b=function(_0x334b58,_0x513fba){_0x334b58=_0x334b58-0x1a5;var _0x21b2e8=_0x327af6[_0x334b58];return _0x21b2e8;},_0x334b(_0x4229c5,_0x4d96cc);}import{AIChatFeedItemView as _0x3869bf}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x23639a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x5321cc}from'./aichatfeedsuggestionitemactionsview.js';function _0x327a(){var _0x5b2451=['hasPendingParts','897219FQmQWO','toggleSuggestionDisplayMode','rejectSuggestion','dropdownConfig','like','areActionsDisabled','ck-ai-chat__feed__ai-suggestion','containerView','hasNonEmptyParts','mouseLeaveSuggestion','updatePartState','addMany','children','mouseOverSuggestion','4553320aZBzfQ','2675jYRtCn','insertSuggestion','bind','updateSources','77ZzEdSD','bodyView','showDiff','isVisible','dislike','updateLabels','isEnabled','2258838tjFtsH','getPartView','applySuggestion','47704PtEObs','480088tGlEvX','options','showChangeInText','fire','817917whMtVQ','isTrackChangesOn','extendTemplate','updateContent','actionsView','10008OczJIp','partsCount','markAsDone'];_0x327a=function(){return _0x5b2451;};return _0x327a();}export class AIChatFeedSuggestionItemView extends _0x3869bf{[_0x2b8fcf(0x1bd)];[_0x2b8fcf(0x1b1)];constructor(_0x3ad8dc,_0x37a39f){var _0x28a95b=_0x2b8fcf;super(_0x37a39f),this[_0x28a95b(0x1bd)]=new _0x23639a(_0x3ad8dc,{'showDiff':_0x37a39f[_0x28a95b(0x1cb)],'areActionsDisabled':_0x37a39f[_0x28a95b(0x1bb)]}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1b7),(_0x3bbcaa,_0x354473)=>{var _0x39fbf8=_0x28a95b;this[_0x39fbf8(0x1ac)](_0x39fbf8(0x1b7),{'replyId':this[_0x39fbf8(0x1aa)]['id'],'showDiff':_0x354473[_0x39fbf8(0x1cb)]});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1ba),()=>{var _0xafeb2a=_0x28a95b;this[_0xafeb2a(0x1ac)](_0xafeb2a(0x1ba),{'replyId':this[_0xafeb2a(0x1aa)]['id']});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1cd),()=>{var _0x2dc202=_0x28a95b;this[_0x2dc202(0x1ac)](_0x2dc202(0x1cd),{'replyId':this[_0x2dc202(0x1aa)]['id']});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1ab),(_0x24bff9,{index:_0x2b7e0f})=>{var _0x2c4c82=_0x28a95b;this[_0x2c4c82(0x1ac)](_0x2c4c82(0x1ab),{'replyId':this[_0x2c4c82(0x1aa)]['id'],'partIndex':_0x2b7e0f});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1c6),(_0x4c74eb,{index:_0x345193})=>{var _0x39719c=_0x28a95b;this[_0x39719c(0x1ac)](_0x39719c(0x1c6),{'replyId':this[_0x39719c(0x1aa)]['id'],'partIndex':_0x345193});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1b8),(_0xc01033,{index:_0x59c176})=>{var _0x150ebe=_0x28a95b;this[_0x150ebe(0x1ac)](_0x150ebe(0x1b8),{'replyId':this[_0x150ebe(0x1aa)]['id'],'partIndex':_0x59c176});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1c3),(_0x353219,{index:_0x1ca844})=>{var _0x5e8c57=_0x28a95b;this[_0x5e8c57(0x1ac)](_0x5e8c57(0x1c3),{'replyId':this[_0x5e8c57(0x1aa)]['id'],'partIndex':_0x1ca844});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1bf),(_0xacb498,{index:_0x50046e})=>{var _0x20a9f1=_0x28a95b;this[_0x20a9f1(0x1ac)](_0x20a9f1(0x1bf),{'replyId':this[_0x20a9f1(0x1aa)]['id'],'partIndex':_0x50046e});}),this[_0x28a95b(0x1b1)]=new _0x5321cc(_0x3ad8dc,this[_0x28a95b(0x1aa)][_0x28a95b(0x1b9)]),this[_0x28a95b(0x1b1)][_0x28a95b(0x1c7)](_0x28a95b(0x1ae))['to'](this,_0x28a95b(0x1ae)),this[_0x28a95b(0x1b1)]['on'](_0x28a95b(0x1ab),()=>{var _0x31d928=_0x28a95b;this[_0x31d928(0x1ac)](_0x31d928(0x1ab),{'replyId':this[_0x31d928(0x1aa)]['id']});}),this[_0x28a95b(0x1b1)]['on'](_0x28a95b(0x1c6),()=>{var _0x1c78fd=_0x28a95b;this[_0x1c78fd(0x1ac)](_0x1c78fd(0x1c6),{'replyId':this[_0x1c78fd(0x1aa)]['id']});}),this[_0x28a95b(0x1b1)]['on'](_0x28a95b(0x1a7),()=>{var _0x47aba4=_0x28a95b;this[_0x47aba4(0x1ac)](_0x47aba4(0x1a7),{'replyId':this[_0x47aba4(0x1aa)]['id']});}),_0x37a39f[_0x28a95b(0x1bb)]?this[_0x28a95b(0x1b1)][_0x28a95b(0x1cf)]=!0x1:this[_0x28a95b(0x1b1)][_0x28a95b(0x1c7)](_0x28a95b(0x1cf))['to'](this[_0x28a95b(0x1bd)][_0x28a95b(0x1ca)],_0x28a95b(0x1b5)),this[_0x28a95b(0x1c2)][_0x28a95b(0x1c1)]([this[_0x28a95b(0x1bd)],this[_0x28a95b(0x1b1)]]),this[_0x28a95b(0x1af)]({'attributes':{'class':[_0x28a95b(0x1bc)]}});}async[_0x2b8fcf(0x1b0)](_0x28b04e){var _0x4db50c=_0x2b8fcf;await this[_0x4db50c(0x1bd)][_0x4db50c(0x1b0)](_0x28b04e),this[_0x4db50c(0x1b1)][_0x4db50c(0x1ce)](this[_0x4db50c(0x1bd)][_0x4db50c(0x1ca)][_0x4db50c(0x1b3)]);}[_0x2b8fcf(0x1c0)](_0x3fd0c4,_0x3a5233){var _0x540cbb=_0x2b8fcf;this[_0x540cbb(0x1bd)][_0x540cbb(0x1ca)][_0x540cbb(0x1c0)](_0x3fd0c4,_0x3a5233);}[_0x2b8fcf(0x1c8)](_0x281a81){var _0x591601=_0x2b8fcf;this[_0x591601(0x1bd)][_0x591601(0x1c8)](_0x281a81);}[_0x2b8fcf(0x1a6)](_0x3a9f4c){var _0x1a89f3=_0x2b8fcf;return this[_0x1a89f3(0x1bd)][_0x1a89f3(0x1ca)][_0x1a89f3(0x1a6)](_0x3a9f4c);}[_0x2b8fcf(0x1b4)](){var _0x1aa52b=_0x2b8fcf;super[_0x1aa52b(0x1b4)](),this[_0x1aa52b(0x1bd)][_0x1aa52b(0x1b4)](),this[_0x1aa52b(0x1b1)][_0x1aa52b(0x1cc)]=this[_0x1aa52b(0x1bd)][_0x1aa52b(0x1ca)][_0x1aa52b(0x1be)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x305066=_0x9b8e;function _0x175e(){var _0x565f36=['children','52OmTsHN','filter','24PqVvgz','ck-ai-chat__feed__user-message','1911990HxjeHk','innerHTML','ck-ai-chat__feed__message-content','element','render','ck-ai-chat__feed__context-chips','962469WizBaZ','2667721omQPdu','_bodyCollection','options','6825570KJQxil','extendTemplate','133505gcLkeZ','_createContextChipsView','markAsDone','length','_contextChipsView','div','initialContent','10XBKAFs','_messageContentView','15519447ZdtnNq','setTemplate','contextItems','3569361xvxpfs','_createMessageContentView','_locale','add','hidden'];_0x175e=function(){return _0x565f36;};return _0x175e();}(function(_0xdee67a,_0x3bfcc2){var _0x45c330=_0x9b8e,_0x1145b1=_0xdee67a();while(!![]){try{var _0x38d353=-parseInt(_0x45c330(0x1e0))/0x1+parseInt(_0x45c330(0x1da))/0x2+-parseInt(_0x45c330(0x1d0))/0x3+-parseInt(_0x45c330(0x1d6))/0x4*(-parseInt(_0x45c330(0x1c4))/0x5)+parseInt(_0x45c330(0x1e4))/0x6+parseInt(_0x45c330(0x1e1))/0x7*(-parseInt(_0x45c330(0x1d8))/0x8)+parseInt(_0x45c330(0x1cd))/0x9*(parseInt(_0x45c330(0x1cb))/0xa);if(_0x38d353===_0x3bfcc2)break;else _0x1145b1['push'](_0x1145b1['shift']());}catch(_0x2ac638){_0x1145b1['push'](_0x1145b1['shift']());}}}(_0x175e,0xd4491));function _0x9b8e(_0x40a8cb,_0xdff807){var _0x175ecb=_0x175e();return _0x9b8e=function(_0x9b8ee7,_0x4fcad0){_0x9b8ee7=_0x9b8ee7-0x1c3;var _0x3c131d=_0x175ecb[_0x9b8ee7];return _0x3c131d;},_0x9b8e(_0x40a8cb,_0xdff807);}import{AIChatFeedItemView as _0x1ea297}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x47bd8f}from'./aichatfeedcontextchipsview.js';import{View as _0x117c6f}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x1ea297{[_0x305066(0x1c8)]=null;[_0x305066(0x1d2)];[_0x305066(0x1e2)];[_0x305066(0x1cc)];constructor(_0xf69005,_0x1b8441,_0x2b19e9){var _0x43ab75=_0x305066;super(_0x1b8441),this[_0x43ab75(0x1d2)]=_0xf69005,this[_0x43ab75(0x1e2)]=_0x2b19e9,this[_0x43ab75(0x1c5)](),this[_0x43ab75(0x1d1)](),this[_0x43ab75(0x1c3)]({'attributes':{'class':[_0x43ab75(0x1d9)]}});}[_0x305066(0x1c5)](){var _0x1f0099=_0x305066;this[_0x1f0099(0x1e3)][_0x1f0099(0x1cf)]&&this[_0x1f0099(0x1e3)][_0x1f0099(0x1cf)][_0x1f0099(0x1c7)]>0x0&&(this[_0x1f0099(0x1c8)]=new _0x47bd8f(this[_0x1f0099(0x1d2)],this[_0x1f0099(0x1e3)][_0x1f0099(0x1cf)][_0x1f0099(0x1d7)](_0x8a5ec5=>!_0x8a5ec5[_0x1f0099(0x1d4)]),this[_0x1f0099(0x1e2)]),this[_0x1f0099(0x1c8)][_0x1f0099(0x1c3)]({'attributes':{'class':_0x1f0099(0x1df)}}),this[_0x1f0099(0x1d5)][_0x1f0099(0x1d3)](this[_0x1f0099(0x1c8)]));}[_0x305066(0x1d1)](){var _0x17887b=_0x305066;this[_0x17887b(0x1cc)]=new _0x117c6f(this[_0x17887b(0x1d2)]),this[_0x17887b(0x1cc)][_0x17887b(0x1ce)]({'tag':_0x17887b(0x1c9),'attributes':{'class':_0x17887b(0x1dc)}}),this[_0x17887b(0x1d5)][_0x17887b(0x1d3)](this[_0x17887b(0x1cc)]);}[_0x305066(0x1de)](){var _0x589682=_0x305066;super[_0x589682(0x1de)](),this[_0x589682(0x1cc)][_0x589682(0x1dd)][_0x589682(0x1db)]=this[_0x589682(0x1e3)][_0x589682(0x1ca)],this[_0x589682(0x1c6)]();}}
23
+ function _0x5ee9(_0x388a9a,_0x29025e){var _0x44f5dc=_0x44f5();return _0x5ee9=function(_0x5ee991,_0x15e06b){_0x5ee991=_0x5ee991-0x1e9;var _0x1b67f4=_0x44f5dc[_0x5ee991];return _0x1b67f4;},_0x5ee9(_0x388a9a,_0x29025e);}var _0x3965c6=_0x5ee9;(function(_0x1b1e36,_0x2edca6){var _0x54678b=_0x5ee9,_0xa9db4c=_0x1b1e36();while(!![]){try{var _0x3f5517=-parseInt(_0x54678b(0x1ea))/0x1*(-parseInt(_0x54678b(0x209))/0x2)+-parseInt(_0x54678b(0x1f4))/0x3*(parseInt(_0x54678b(0x1f3))/0x4)+-parseInt(_0x54678b(0x20a))/0x5*(parseInt(_0x54678b(0x1f5))/0x6)+-parseInt(_0x54678b(0x1fd))/0x7+-parseInt(_0x54678b(0x1fa))/0x8+parseInt(_0x54678b(0x1f6))/0x9*(parseInt(_0x54678b(0x201))/0xa)+-parseInt(_0x54678b(0x203))/0xb*(-parseInt(_0x54678b(0x1f8))/0xc);if(_0x3f5517===_0x2edca6)break;else _0xa9db4c['push'](_0xa9db4c['shift']());}catch(_0x25da93){_0xa9db4c['push'](_0xa9db4c['shift']());}}}(_0x44f5,0x5f206));import{AIChatFeedItemView as _0x3b0e5f}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x3b2a94}from'./aichatfeedcontextchipsview.js';import{View as _0x59297d}from'ckeditor5/src/ui.js';function _0x44f5(){var _0x34a3f4=['extendTemplate','markAsDone','div','children','ck-ai-chat__feed__context-chips','24HcHkIq','45903vKWjde','4648362XZEqqn','267939iXSJhJ','setTemplate','108xvulzy','ck-ai-chat__feed__user-message','2343936iKNbkF','innerHTML','contextItems','4614659hNTESP','add','_locale','render','40MMdJhV','_createMessageContentView','2488959bWCZdt','element','_messageContentView','options','initialContent','_contextChipsView','298lcVkGZ','5tngbqZ','_bodyCollection','filter','_createContextChipsView','355pHWgUX','length','ck-ai-chat__feed__message-content','hidden'];_0x44f5=function(){return _0x34a3f4;};return _0x44f5();}export class AIChatFeedUserMessageItemView extends _0x3b0e5f{[_0x3965c6(0x208)]=null;[_0x3965c6(0x1ff)];[_0x3965c6(0x20b)];[_0x3965c6(0x205)];constructor(_0x201e75,_0x316eee,_0x58954f){var _0x5acf37=_0x3965c6;super(_0x316eee),this[_0x5acf37(0x1ff)]=_0x201e75,this[_0x5acf37(0x20b)]=_0x58954f,this[_0x5acf37(0x1e9)](),this[_0x5acf37(0x202)](),this[_0x5acf37(0x1ee)]({'attributes':{'class':[_0x5acf37(0x1f9)]}});}[_0x3965c6(0x1e9)](){var _0x430d4f=_0x3965c6;this[_0x430d4f(0x206)][_0x430d4f(0x1fc)]&&this[_0x430d4f(0x206)][_0x430d4f(0x1fc)][_0x430d4f(0x1eb)]>0x0&&(this[_0x430d4f(0x208)]=new _0x3b2a94(this[_0x430d4f(0x1ff)],this[_0x430d4f(0x206)][_0x430d4f(0x1fc)][_0x430d4f(0x20c)](_0x26a1d3=>!_0x26a1d3[_0x430d4f(0x1ed)]),this[_0x430d4f(0x20b)]),this[_0x430d4f(0x208)][_0x430d4f(0x1ee)]({'attributes':{'class':_0x430d4f(0x1f2)}}),this[_0x430d4f(0x1f1)][_0x430d4f(0x1fe)](this[_0x430d4f(0x208)]));}[_0x3965c6(0x202)](){var _0x5981ae=_0x3965c6;this[_0x5981ae(0x205)]=new _0x59297d(this[_0x5981ae(0x1ff)]),this[_0x5981ae(0x205)][_0x5981ae(0x1f7)]({'tag':_0x5981ae(0x1f0),'attributes':{'class':_0x5981ae(0x1ec)}}),this[_0x5981ae(0x1f1)][_0x5981ae(0x1fe)](this[_0x5981ae(0x205)]);}[_0x3965c6(0x200)](){var _0x364e7a=_0x3965c6;super[_0x364e7a(0x200)](),this[_0x364e7a(0x205)][_0x364e7a(0x204)][_0x364e7a(0x1fb)]=this[_0x364e7a(0x206)][_0x364e7a(0x207)],this[_0x364e7a(0x1ef)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cd551=_0x2b0c;function _0xc08e(){const _0x25ce34=['1043682OYfFWP','addFileToContext','toggleReasoning','addUrlToContext','loadSourceResources','selectModel','removeContextItem','601974rzjDsh','toggleWebSearch','1365164sfFBVu','8344345xFZARO','resizeTabs','startConversation','sendUserMessage','37156392eUWwmm','abortPromptStream','1665047nRgncR','addDocumentToContext','1598152TjGwGl','addResourceToContext'];_0xc08e=function(){return _0x25ce34;};return _0xc08e();}(function(_0x4904f9,_0x2c0ce7){const _0x1672c4=_0x2b0c,_0x574275=_0x4904f9();while(!![]){try{const _0x394056=-parseInt(_0x1672c4(0x15c))/0x1+-parseInt(_0x1672c4(0x155))/0x2+parseInt(_0x1672c4(0x153))/0x3+-parseInt(_0x1672c4(0x15e))/0x4+-parseInt(_0x1672c4(0x156))/0x5+-parseInt(_0x1672c4(0x160))/0x6+parseInt(_0x1672c4(0x15a))/0x7;if(_0x394056===_0x2c0ce7)break;else _0x574275['push'](_0x574275['shift']());}catch(_0xe1ac0){_0x574275['push'](_0x574275['shift']());}}}(_0xc08e,0xe04cb));function _0x2b0c(_0x157f54,_0x4520be){const _0xc08ee5=_0xc08e();return _0x2b0c=function(_0x2b0c81,_0x1d62a2){_0x2b0c81=_0x2b0c81-0x14e;let _0x28f622=_0xc08ee5[_0x2b0c81];return _0x28f622;},_0x2b0c(_0x157f54,_0x4520be);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x377b7e}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x377b7e,_0x4cd551(0x158),_0x4cd551(0x157),_0x4cd551(0x159),_0x4cd551(0x15b),_0x4cd551(0x15d),_0x4cd551(0x161),_0x4cd551(0x14f),_0x4cd551(0x15f),_0x4cd551(0x152),_0x4cd551(0x150),_0x4cd551(0x154),_0x4cd551(0x14e),_0x4cd551(0x151)];
23
+ const _0x53ef44=_0x4618;(function(_0x4ca38c,_0x13ef77){const _0x55fdce=_0x4618,_0x1d0dda=_0x4ca38c();while(!![]){try{const _0x3494ca=-parseInt(_0x55fdce(0x108))/0x1+parseInt(_0x55fdce(0x116))/0x2*(-parseInt(_0x55fdce(0x11a))/0x3)+-parseInt(_0x55fdce(0x117))/0x4*(parseInt(_0x55fdce(0x10f))/0x5)+parseInt(_0x55fdce(0x10c))/0x6+parseInt(_0x55fdce(0x107))/0x7*(parseInt(_0x55fdce(0x110))/0x8)+parseInt(_0x55fdce(0x10e))/0x9*(-parseInt(_0x55fdce(0x104))/0xa)+parseInt(_0x55fdce(0x10d))/0xb;if(_0x3494ca===_0x13ef77)break;else _0x1d0dda['push'](_0x1d0dda['shift']());}catch(_0x1b799f){_0x1d0dda['push'](_0x1d0dda['shift']());}}}(_0x52fa,0xace52));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x55ea57}from'../../aicore/utils/eventnames.js';function _0x4618(_0x98ba2,_0x5688e8){const _0x52fa29=_0x52fa();return _0x4618=function(_0x4618bf,_0xd22043){_0x4618bf=_0x4618bf-0x104;let _0x411f35=_0x52fa29[_0x4618bf];return _0x411f35;},_0x4618(_0x98ba2,_0x5688e8);}function _0x52fa(){const _0x2b7134=['resizeTabs','addResourceToContext','abortPromptStream','7235712OyxoqL','37902920aiREBG','82197BvqYwm','5eDdqeQ','2526216WnlUsB','removeContextItem','startConversation','selectModel','addFileToContext','toggleReasoning','1116230DqFpUo','5612668LHGttx','addUrlToContext','toggleWebSearch','3RfsMnJ','addDocumentToContext','1310vMQlrB','loadSourceResources','sendUserMessage','7cWCCIT','1101566QCLOsx'];_0x52fa=function(){return _0x2b7134;};return _0x52fa();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x55ea57,_0x53ef44(0x112),_0x53ef44(0x109),_0x53ef44(0x106),_0x53ef44(0x10b),_0x53ef44(0x11b),_0x53ef44(0x114),_0x53ef44(0x118),_0x53ef44(0x10a),_0x53ef44(0x111),_0x53ef44(0x105),_0x53ef44(0x119),_0x53ef44(0x115),_0x53ef44(0x113)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdc19a=_0x48c0;(function(_0x40a783,_0x4e99a0){const _0x535f81=_0x48c0,_0x4833bf=_0x40a783();while(!![]){try{const _0x13a366=-parseInt(_0x535f81(0x1e1))/0x1+-parseInt(_0x535f81(0x1db))/0x2*(parseInt(_0x535f81(0x1d8))/0x3)+parseInt(_0x535f81(0x1e8))/0x4*(-parseInt(_0x535f81(0x1e9))/0x5)+parseInt(_0x535f81(0x1d6))/0x6*(-parseInt(_0x535f81(0x1ea))/0x7)+-parseInt(_0x535f81(0x1d2))/0x8+-parseInt(_0x535f81(0x1e0))/0x9*(-parseInt(_0x535f81(0x1e4))/0xa)+parseInt(_0x535f81(0x1d3))/0xb*(parseInt(_0x535f81(0x1e3))/0xc);if(_0x13a366===_0x4e99a0)break;else _0x4833bf['push'](_0x4833bf['shift']());}catch(_0x488076){_0x4833bf['push'](_0x4833bf['shift']());}}}(_0x14a0,0x7cd21));function _0x48c0(_0x4bb995,_0x3dc948){const _0x14a07b=_0x14a0();return _0x48c0=function(_0x48c0c6,_0xd80d58){_0x48c0c6=_0x48c0c6-0x1d0;let _0xe422b3=_0x14a07b[_0x48c0c6];return _0xe422b3;},_0x48c0(_0x4bb995,_0x3dc948);}import{EmitterMixin as _0x33340a}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x33340a(){[_0xdc19a(0x1d1)]=[];[_0xdc19a(0x1d0)]=!0x1;[_0xdc19a(0x1dd)];async[_0xdc19a(0x1ed)](_0x1ba557){const _0x5f286a=_0xdc19a,_0x527ef8=this[_0x5f286a(0x1d7)](_0x1ba557);return this[_0x5f286a(0x1d1)][_0x5f286a(0x1e6)](_0x527ef8),this[_0x5f286a(0x1de)](),_0x527ef8[_0x5f286a(0x1d4)];}[_0xdc19a(0x1da)](){const _0x33a559=_0xdc19a;this[_0x33a559(0x1d0)]&&(this[_0x33a559(0x1dd)][_0x33a559(0x1da)](),this[_0x33a559(0x1dd)]=void 0x0,this[_0x33a559(0x1d1)]=[],this[_0x33a559(0x1ee)](_0x33a559(0x1d9)),this[_0x33a559(0x1d0)]=!0x1);}get[_0xdc19a(0x1dc)](){const _0x1685aa=_0xdc19a;return this[_0x1685aa(0x1d1)][_0x1685aa(0x1ec)]||this[_0x1685aa(0x1d0)]?new Promise(_0x544c0b=>{const _0x1d9c77=_0x1685aa;this[_0x1d9c77(0x1df)](_0x1d9c77(0x1d9),()=>{_0x544c0b();});}):Promise[_0x1685aa(0x1e5)]();}async[_0xdc19a(0x1de)](){const _0x1c4062=_0xdc19a;if(!this[_0x1c4062(0x1d0)]){this[_0x1c4062(0x1dd)]=new AbortController(),this[_0x1c4062(0x1d0)]=!0x0;try{for(;this[_0x1c4062(0x1d1)][_0x1c4062(0x1ec)]&&this[_0x1c4062(0x1d0)];){const _0x1d8cfb=this[_0x1c4062(0x1d1)][_0x1c4062(0x1eb)]();try{await _0x1d8cfb[_0x1c4062(0x1d5)](this[_0x1c4062(0x1dd)][_0x1c4062(0x1e2)]),_0x1d8cfb[_0x1c4062(0x1e5)]();}catch(_0x374dcc){_0x1d8cfb[_0x1c4062(0x1e7)](_0x374dcc);}}}finally{this[_0x1c4062(0x1d0)]=!0x1,this[_0x1c4062(0x1dd)]=void 0x0;}this[_0x1c4062(0x1ee)](_0x1c4062(0x1d9));}}[_0xdc19a(0x1d7)](_0x4e4e49){let _0x1591b5,_0x186ed9;const _0x5f4f4f=new Promise((_0x605b15,_0x198769)=>{_0x1591b5=_0x605b15,_0x186ed9=_0x198769;});return{'callback':_0x4e4e49,'resolve':_0x1591b5,'reject':_0x186ed9,'completePromise':_0x5f4f4f};}}function _0x14a0(){const _0x1cfca0=['once','81ZMuBKR','944170bgWgoM','signal','21490416PMVLZW','466660HgEJHM','resolve','push','reject','14844coVbEe','430eCkVCY','245nzcqYV','shift','length','enqueue','fire','isProcessing','queue','7600720YCRXAD','22fpdesV','completePromise','callback','134838kqtjUm','createTask','38724ZQzKWJ','_queueEmpty','abort','76WidznZ','queueEmptyPromise','_abortController','_processQueue'];_0x14a0=function(){return _0x1cfca0;};return _0x14a0();}
23
+ function _0x348b(_0x3917c6,_0x39ee1d){const _0x14a9b3=_0x14a9();return _0x348b=function(_0x348b2e,_0xf5aa8){_0x348b2e=_0x348b2e-0x1b0;let _0x51ee67=_0x14a9b3[_0x348b2e];return _0x51ee67;},_0x348b(_0x3917c6,_0x39ee1d);}const _0x49d92c=_0x348b;(function(_0x38913b,_0x2141ec){const _0x1cf09b=_0x348b,_0x42d4da=_0x38913b();while(!![]){try{const _0x4e3aae=-parseInt(_0x1cf09b(0x1bf))/0x1*(parseInt(_0x1cf09b(0x1c0))/0x2)+-parseInt(_0x1cf09b(0x1b8))/0x3+-parseInt(_0x1cf09b(0x1cd))/0x4+-parseInt(_0x1cf09b(0x1b5))/0x5*(parseInt(_0x1cf09b(0x1c2))/0x6)+parseInt(_0x1cf09b(0x1b2))/0x7*(parseInt(_0x1cf09b(0x1c5))/0x8)+parseInt(_0x1cf09b(0x1b9))/0x9*(-parseInt(_0x1cf09b(0x1ca))/0xa)+parseInt(_0x1cf09b(0x1b0))/0xb;if(_0x4e3aae===_0x2141ec)break;else _0x42d4da['push'](_0x42d4da['shift']());}catch(_0x44c666){_0x42d4da['push'](_0x42d4da['shift']());}}}(_0x14a9,0x663e0));import{EmitterMixin as _0x5cc79e}from'ckeditor5/src/utils.js';function _0x14a9(){const _0x1e36b0=['50632tnAsJx','completePromise','fire','length','once','250ZUFqMT','_processQueue','isProcessing','1539688ybwHgn','27162432RTNQMv','_abortController','763RsGjJg','_queueEmpty','reject','985tLgMFo','abort','resolve','2159514GWRjiE','163764VyyRDt','callback','push','queue','enqueue','signal','132214OTGOQS','8vFOdFf','queueEmptyPromise','19854xMIMhO','shift','createTask'];_0x14a9=function(){return _0x1e36b0;};return _0x14a9();}export class PromiseQueue extends _0x5cc79e(){[_0x49d92c(0x1bc)]=[];[_0x49d92c(0x1cc)]=!0x1;[_0x49d92c(0x1b1)];async[_0x49d92c(0x1bd)](_0xdfe883){const _0x1512cf=_0x49d92c,_0x36a1cc=this[_0x1512cf(0x1c4)](_0xdfe883);return this[_0x1512cf(0x1bc)][_0x1512cf(0x1bb)](_0x36a1cc),this[_0x1512cf(0x1cb)](),_0x36a1cc[_0x1512cf(0x1c6)];}[_0x49d92c(0x1b6)](){const _0x158dae=_0x49d92c;this[_0x158dae(0x1cc)]&&(this[_0x158dae(0x1b1)][_0x158dae(0x1b6)](),this[_0x158dae(0x1b1)]=void 0x0,this[_0x158dae(0x1bc)]=[],this[_0x158dae(0x1c7)](_0x158dae(0x1b3)),this[_0x158dae(0x1cc)]=!0x1);}get[_0x49d92c(0x1c1)](){const _0x2ee11b=_0x49d92c;return this[_0x2ee11b(0x1bc)][_0x2ee11b(0x1c8)]||this[_0x2ee11b(0x1cc)]?new Promise(_0x216425=>{const _0x3eb87b=_0x2ee11b;this[_0x3eb87b(0x1c9)](_0x3eb87b(0x1b3),()=>{_0x216425();});}):Promise[_0x2ee11b(0x1b7)]();}async[_0x49d92c(0x1cb)](){const _0x176efc=_0x49d92c;if(!this[_0x176efc(0x1cc)]){this[_0x176efc(0x1b1)]=new AbortController(),this[_0x176efc(0x1cc)]=!0x0;try{for(;this[_0x176efc(0x1bc)][_0x176efc(0x1c8)]&&this[_0x176efc(0x1cc)];){const _0x1e7f98=this[_0x176efc(0x1bc)][_0x176efc(0x1c3)]();try{await _0x1e7f98[_0x176efc(0x1ba)](this[_0x176efc(0x1b1)][_0x176efc(0x1be)]),_0x1e7f98[_0x176efc(0x1b7)]();}catch(_0x28c91f){_0x1e7f98[_0x176efc(0x1b4)](_0x28c91f);}}}finally{this[_0x176efc(0x1cc)]=!0x1,this[_0x176efc(0x1b1)]=void 0x0;}this[_0x176efc(0x1c7)](_0x176efc(0x1b3));}}[_0x49d92c(0x1c4)](_0x185ecb){let _0x2d0e43,_0x5362e6;const _0xcbcfb4=new Promise((_0x572124,_0x117f0b)=>{_0x2d0e43=_0x572124,_0x5362e6=_0x117f0b;});return{'callback':_0x185ecb,'resolve':_0x2d0e43,'reject':_0x5362e6,'completePromise':_0xcbcfb4};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43c3b2=_0x18b0;function _0x221b(){const _0x46087e=['isRunning','PageDown','start','ArrowUp','1957730aNsQFs','74943IGmMCC','touchstart','isUserPaused','addEventListener','type','scrollTo','436612miMhJu','auto','82114ELxlpZ','key','PageUp','_stop','signal','wheel','animationFrameId','pointerdown','_rafUpdate','keydown','abort','destroy','scrollHeight','abortController','Home','4557445iKYiHC','deltaY','includes','60ASqIRk','End','156hUedZs','7104qmRbnf','11wcgQlp','ArrowDown','bind','521164fDlegb','486qcfJCq','48ZIYRJD','_onUserEvent','element','_isAtBottom','stop'];_0x221b=function(){return _0x46087e;};return _0x221b();}(function(_0x45780a,_0x380deb){const _0x3f96a4=_0x18b0,_0x4c2ad2=_0x45780a();while(!![]){try{const _0x22a7be=-parseInt(_0x3f96a4(0xb8))/0x1*(parseInt(_0x3f96a4(0xcf))/0x2)+-parseInt(_0x3f96a4(0xc7))/0x3*(parseInt(_0x3f96a4(0xe3))/0x4)+parseInt(_0x3f96a4(0xde))/0x5+parseInt(_0x3f96a4(0xbd))/0x6*(parseInt(_0x3f96a4(0xbb))/0x7)+-parseInt(_0x3f96a4(0xb7))/0x8*(-parseInt(_0x3f96a4(0xbc))/0x9)+parseInt(_0x3f96a4(0xc6))/0xa+parseInt(_0x3f96a4(0xcd))/0xb*(parseInt(_0x3f96a4(0xe1))/0xc);if(_0x22a7be===_0x380deb)break;else _0x4c2ad2['push'](_0x4c2ad2['shift']());}catch(_0x26d2ff){_0x4c2ad2['push'](_0x4c2ad2['shift']());}}}(_0x221b,0x7fc8c));const os=[_0x43c3b2(0xd4),_0x43c3b2(0xc8),_0x43c3b2(0xd6),_0x43c3b2(0xd8)],rs=[_0x43c3b2(0xc5),_0x43c3b2(0xb9),_0x43c3b2(0xd1),_0x43c3b2(0xc3),_0x43c3b2(0xdd),_0x43c3b2(0xe2),'\x20'];function _0x18b0(_0xf568c6,_0x3e5eb8){const _0x221b89=_0x221b();return _0x18b0=function(_0x18b09c,_0x7ba1ab){_0x18b09c=_0x18b09c-0xb7;let _0xa37af1=_0x221b89[_0x18b09c];return _0xa37af1;},_0x18b0(_0xf568c6,_0x3e5eb8);}export class ScrollManager{[_0x43c3b2(0xbf)];[_0x43c3b2(0xd5)];[_0x43c3b2(0xc2)];[_0x43c3b2(0xdc)];[_0x43c3b2(0xc9)];constructor(_0x68acc7){const _0x32eb03=_0x43c3b2;this[_0x32eb03(0xbf)]=_0x68acc7,this[_0x32eb03(0xd5)]=null,this[_0x32eb03(0xc2)]=!0x1,this[_0x32eb03(0xdc)]=new AbortController(),this[_0x32eb03(0xc9)]=!0x1;for(const _0x393a21 of os){const _0x1c6453=_0x32eb03(0xd8)!==_0x393a21;this[_0x32eb03(0xbf)][_0x32eb03(0xca)](_0x393a21,this[_0x32eb03(0xbe)][_0x32eb03(0xba)](this),{'passive':_0x1c6453,'signal':this[_0x32eb03(0xdc)][_0x32eb03(0xd3)]});}}[_0x43c3b2(0xc4)](){const _0x176afe=_0x43c3b2;this[_0x176afe(0xc2)]||(this[_0x176afe(0xc2)]=!0x0,this[_0x176afe(0xc9)]=!0x1,this[_0x176afe(0xd5)]=requestAnimationFrame(this[_0x176afe(0xd7)][_0x176afe(0xba)](this)));}[_0x43c3b2(0xc1)](){requestAnimationFrame(()=>{const _0x1bca9f=_0x18b0;this[_0x1bca9f(0xd2)]();});}[_0x43c3b2(0xda)](){const _0x157c8f=_0x43c3b2;this[_0x157c8f(0xd2)](),this[_0x157c8f(0xdc)][_0x157c8f(0xd9)]();}[_0x43c3b2(0xd2)](){const _0x5b8edc=_0x43c3b2;null!==this[_0x5b8edc(0xd5)]&&(cancelAnimationFrame(this[_0x5b8edc(0xd5)]),this[_0x5b8edc(0xd5)]=null),this[_0x5b8edc(0xc2)]&&(this[_0x5b8edc(0xc2)]=!0x1),this[_0x5b8edc(0xc9)]=!0x1;}[_0x43c3b2(0xbe)](_0x2a2557){const _0x577cff=_0x43c3b2;if(this[_0x577cff(0xc2)]){if(_0x577cff(0xd8)===_0x2a2557[_0x577cff(0xcb)]){const _0x1ca3de=_0x2a2557[_0x577cff(0xd0)];if(!rs[_0x577cff(0xe0)](_0x1ca3de))return;}_0x2a2557 instanceof WheelEvent?_0x2a2557[_0x577cff(0xdf)]<0x0?this[_0x577cff(0xc9)]=!0x0:this[_0x577cff(0xc9)]=!this[_0x577cff(0xc0)]():this[_0x577cff(0xc9)]=!0x0;}}[_0x43c3b2(0xc0)](){const _0x4eb840=_0x43c3b2,{scrollTop:_0x529d0a,scrollHeight:_0x272252,clientHeight:_0x6c2dbf}=this[_0x4eb840(0xbf)];return _0x272252-_0x529d0a-_0x6c2dbf<=0x5;}[_0x43c3b2(0xd7)](){const _0x10b217=_0x43c3b2;this[_0x10b217(0xc2)]&&(this[_0x10b217(0xc9)]||this[_0x10b217(0xbf)][_0x10b217(0xcc)]({'top':this[_0x10b217(0xbf)][_0x10b217(0xdb)],'behavior':_0x10b217(0xce)}),this[_0x10b217(0xd5)]=requestAnimationFrame(this[_0x10b217(0xd7)][_0x10b217(0xba)](this)));}}
23
+ const _0x46c645=_0xe663;(function(_0x41350e,_0x3c9f2b){const _0x417e5a=_0xe663,_0x36e328=_0x41350e();while(!![]){try{const _0x194f8b=-parseInt(_0x417e5a(0x101))/0x1+parseInt(_0x417e5a(0xe8))/0x2+-parseInt(_0x417e5a(0x100))/0x3+-parseInt(_0x417e5a(0xfe))/0x4*(parseInt(_0x417e5a(0xe0))/0x5)+-parseInt(_0x417e5a(0xf6))/0x6*(parseInt(_0x417e5a(0xf8))/0x7)+parseInt(_0x417e5a(0xfa))/0x8*(parseInt(_0x417e5a(0xdb))/0x9)+parseInt(_0x417e5a(0xdf))/0xa*(parseInt(_0x417e5a(0xde))/0xb);if(_0x194f8b===_0x3c9f2b)break;else _0x36e328['push'](_0x36e328['shift']());}catch(_0x4186c0){_0x36e328['push'](_0x36e328['shift']());}}}(_0x4214,0x42b1b));function _0x4214(){const _0x16e104=['abortController','End','234434MogAqB','isUserPaused','auto','ArrowUp','ArrowDown','includes','animationFrameId','destroy','touchstart','_onUserEvent','Home','deltaY','start','_isAtBottom','933924piCvOM','signal','14BfVzZo','abort','8epCRLR','pointerdown','keydown','addEventListener','1408228DMCFFh','wheel','400689extOKP','115283cCDSXg','PageDown','scrollTo','scrollHeight','bind','stop','61686UwViOu','key','_stop','11OtFIqb','10613190ouZwoD','5RvyPME','element','isRunning','_rafUpdate','PageUp','type'];_0x4214=function(){return _0x16e104;};return _0x4214();}function _0xe663(_0x2486df,_0x1d4f1d){const _0x4214e6=_0x4214();return _0xe663=function(_0xe663df,_0x3f5df3){_0xe663df=_0xe663df-0xd6;let _0x6edcba=_0x4214e6[_0xe663df];return _0x6edcba;},_0xe663(_0x2486df,_0x1d4f1d);}const ws=[_0x46c645(0xff),_0x46c645(0xf0),_0x46c645(0xfb),_0x46c645(0xfc)],fs=[_0x46c645(0xeb),_0x46c645(0xec),_0x46c645(0xe4),_0x46c645(0xd6),_0x46c645(0xf2),_0x46c645(0xe7),'\x20'];export class ScrollManager{[_0x46c645(0xe1)];[_0x46c645(0xee)];[_0x46c645(0xe2)];[_0x46c645(0xe6)];[_0x46c645(0xe9)];constructor(_0x23945a){const _0x5c2019=_0x46c645;this[_0x5c2019(0xe1)]=_0x23945a,this[_0x5c2019(0xee)]=null,this[_0x5c2019(0xe2)]=!0x1,this[_0x5c2019(0xe6)]=new AbortController(),this[_0x5c2019(0xe9)]=!0x1;for(const _0x20b1e7 of ws){const _0x1e75bc=_0x5c2019(0xfc)!==_0x20b1e7;this[_0x5c2019(0xe1)][_0x5c2019(0xfd)](_0x20b1e7,this[_0x5c2019(0xf1)][_0x5c2019(0xd9)](this),{'passive':_0x1e75bc,'signal':this[_0x5c2019(0xe6)][_0x5c2019(0xf7)]});}}[_0x46c645(0xf4)](){const _0x489f6a=_0x46c645;this[_0x489f6a(0xe2)]||(this[_0x489f6a(0xe2)]=!0x0,this[_0x489f6a(0xe9)]=!0x1,this[_0x489f6a(0xee)]=requestAnimationFrame(this[_0x489f6a(0xe3)][_0x489f6a(0xd9)](this)));}[_0x46c645(0xda)](){requestAnimationFrame(()=>{const _0x38db5e=_0xe663;this[_0x38db5e(0xdd)]();});}[_0x46c645(0xef)](){const _0xc276b7=_0x46c645;this[_0xc276b7(0xdd)](),this[_0xc276b7(0xe6)][_0xc276b7(0xf9)]();}[_0x46c645(0xdd)](){const _0x1d04b9=_0x46c645;null!==this[_0x1d04b9(0xee)]&&(cancelAnimationFrame(this[_0x1d04b9(0xee)]),this[_0x1d04b9(0xee)]=null),this[_0x1d04b9(0xe2)]&&(this[_0x1d04b9(0xe2)]=!0x1),this[_0x1d04b9(0xe9)]=!0x1;}[_0x46c645(0xf1)](_0x1eee19){const _0x1e1197=_0x46c645;if(this[_0x1e1197(0xe2)]){if(_0x1e1197(0xfc)===_0x1eee19[_0x1e1197(0xe5)]){const _0x44b214=_0x1eee19[_0x1e1197(0xdc)];if(!fs[_0x1e1197(0xed)](_0x44b214))return;}_0x1eee19 instanceof WheelEvent?_0x1eee19[_0x1e1197(0xf3)]<0x0?this[_0x1e1197(0xe9)]=!0x0:this[_0x1e1197(0xe9)]=!this[_0x1e1197(0xf5)]():this[_0x1e1197(0xe9)]=!0x0;}}[_0x46c645(0xf5)](){const _0x18b4ba=_0x46c645,{scrollTop:_0x2ec0f8,scrollHeight:_0x438062,clientHeight:_0x2ba478}=this[_0x18b4ba(0xe1)];return _0x438062-_0x2ec0f8-_0x2ba478<=0x5;}[_0x46c645(0xe3)](){const _0x3bfbfd=_0x46c645;this[_0x3bfbfd(0xe2)]&&(this[_0x3bfbfd(0xe9)]||this[_0x3bfbfd(0xe1)][_0x3bfbfd(0xd7)]({'top':this[_0x3bfbfd(0xe1)][_0x3bfbfd(0xd8)],'behavior':_0x3bfbfd(0xea)}),this[_0x3bfbfd(0xee)]=requestAnimationFrame(this[_0x3bfbfd(0xe3)][_0x3bfbfd(0xd9)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5c495f=_0x10c9;function _0x10c9(_0x2e3f83,_0xa91257){var _0x3693d3=_0x3693();return _0x10c9=function(_0x10c986,_0x2fffa5){_0x10c986=_0x10c986-0xb7;var _0x24046a=_0x3693d3[_0x10c986];return _0x24046a;},_0x10c9(_0x2e3f83,_0xa91257);}(function(_0x2aec39,_0x4ea670){var _0x2ef8db=_0x10c9,_0x2da501=_0x2aec39();while(!![]){try{var _0x24b848=-parseInt(_0x2ef8db(0xbf))/0x1*(parseInt(_0x2ef8db(0xb8))/0x2)+parseInt(_0x2ef8db(0xc5))/0x3+parseInt(_0x2ef8db(0xbd))/0x4*(parseInt(_0x2ef8db(0xb7))/0x5)+-parseInt(_0x2ef8db(0xb9))/0x6+parseInt(_0x2ef8db(0xba))/0x7+-parseInt(_0x2ef8db(0xbb))/0x8+-parseInt(_0x2ef8db(0xc2))/0x9*(-parseInt(_0x2ef8db(0xc3))/0xa);if(_0x24b848===_0x4ea670)break;else _0x2da501['push'](_0x2da501['shift']());}catch(_0x112ff0){_0x2da501['push'](_0x2da501['shift']());}}}(_0x3693,0xb7a20));import{ContextPlugin as _0x486123}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x57280b}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x2a77c3}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x486123{static get[_0x5c495f(0xbe)](){return[_0x57280b,_0x2a77c3];}static get[_0x5c495f(0xc0)](){var _0x1c4e34=_0x5c495f;return _0x1c4e34(0xc1);}static get[_0x5c495f(0xbc)](){return!0x0;}static get[_0x5c495f(0xc4)](){return!0x0;}}function _0x3693(){var _0x77d8ca=['1270944BBfnTS','isOfficialPlugin','20ZcyZkx','requires','812459zrobpS','pluginName','AIChatHistory','27uEsXaD','3091640TEalHm','isPremiumPlugin','3250530SzKZoZ','408635gGaddF','2gCwGrb','7963380DnXnpl','4417560SXhGCo'];_0x3693=function(){return _0x77d8ca;};return _0x3693();}
23
+ var _0x368abe=_0x2e8b;(function(_0x5261e9,_0x315d28){var _0x5682cf=_0x2e8b,_0x1d3c7c=_0x5261e9();while(!![]){try{var _0x34b34f=parseInt(_0x5682cf(0xc5))/0x1+-parseInt(_0x5682cf(0xba))/0x2+-parseInt(_0x5682cf(0xb9))/0x3+parseInt(_0x5682cf(0xc4))/0x4+parseInt(_0x5682cf(0xbe))/0x5*(parseInt(_0x5682cf(0xbf))/0x6)+-parseInt(_0x5682cf(0xc3))/0x7+-parseInt(_0x5682cf(0xbc))/0x8*(parseInt(_0x5682cf(0xc1))/0x9);if(_0x34b34f===_0x315d28)break;else _0x1d3c7c['push'](_0x1d3c7c['shift']());}catch(_0x51cef5){_0x1d3c7c['push'](_0x1d3c7c['shift']());}}}(_0x9e0c,0xb7363));function _0x9e0c(){var _0x4dd04e=['50864edEsDj','isOfficialPlugin','271015jVlVoP','114ThJuAz','AIChatHistory','486EHSAQy','pluginName','3772909hzdctD','1988412OoOguA','837541ablCPy','isPremiumPlugin','1303839cqLBrJ','594268rHdAfI','requires'];_0x9e0c=function(){return _0x4dd04e;};return _0x9e0c();}import{ContextPlugin as _0x4b34d1}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x145617}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x148e24}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0x2e8b(_0x2b790f,_0x5929d8){var _0x9e0c31=_0x9e0c();return _0x2e8b=function(_0x2e8b26,_0x2889a3){_0x2e8b26=_0x2e8b26-0xb9;var _0x44e55e=_0x9e0c31[_0x2e8b26];return _0x44e55e;},_0x2e8b(_0x2b790f,_0x5929d8);}export class AIChatHistory extends _0x4b34d1{static get[_0x368abe(0xbb)](){return[_0x145617,_0x148e24];}static get[_0x368abe(0xc2)](){var _0x5f2459=_0x368abe;return _0x5f2459(0xc0);}static get[_0x368abe(0xbd)](){return!0x0;}static get[_0x368abe(0xc6)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1dcb41=_0x77e5;(function(_0x28ef01,_0x4d5c8a){const _0x1a4e48=_0x77e5,_0x2fbd4a=_0x28ef01();while(!![]){try{const _0x337e6e=-parseInt(_0x1a4e48(0x9d))/0x1+-parseInt(_0x1a4e48(0xc5))/0x2+-parseInt(_0x1a4e48(0x9c))/0x3*(-parseInt(_0x1a4e48(0xab))/0x4)+parseInt(_0x1a4e48(0xa9))/0x5*(parseInt(_0x1a4e48(0x9a))/0x6)+-parseInt(_0x1a4e48(0xbe))/0x7+parseInt(_0x1a4e48(0xb4))/0x8*(-parseInt(_0x1a4e48(0x9f))/0x9)+parseInt(_0x1a4e48(0xae))/0xa;if(_0x337e6e===_0x4d5c8a)break;else _0x2fbd4a['push'](_0x2fbd4a['shift']());}catch(_0x11c7ce){_0x2fbd4a['push'](_0x2fbd4a['shift']());}}}(_0x3bde,0x6c384));import{ContextPlugin as _0x1e5935}from'ckeditor5/src/core.js';import{AIConnector as _0x4f6d4c}from'../aicore/aiconnector.js';import{AIChatController as _0xda986e}from'../aichat/aichatcontroller.js';import{AITabs as _0x506d86}from'../aitabs/aitabs.js';function _0x77e5(_0x43838f,_0x2ceb6b){const _0x3bde61=_0x3bde();return _0x77e5=function(_0x77e500,_0x46d6f9){_0x77e500=_0x77e500-0x64;let _0x54950e=_0x3bde61[_0x77e500];return _0x54950e;},_0x77e5(_0x43838f,_0x2ceb6b);}import{AIChatHistoryUI as _0x596bd3}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x560d00}from'./model/aichathistoryconversations.js';import{getTranslation as _0x4de554}from'../aicore/utils/common-translations.js';function _0x3bde(){const _0x35c72b=['_handleTogglePin','toLocaleDateString','getItems','context','unpin','8DMppeG','getItem','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','get','AI_CHAT_HISTORY_CATEGORY_LATER','init','itemId','removeItem','showError','5752817mmkLpN','pin','title','itemsLoaded','items','updateItemTitle','change:activeConversation','791976PuubWa','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_setIsMaximized','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','openChat','getMonth','updateItemPinned','setDate','_setItemLoading','_generateErrorMessage','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','remove','AI_CHAT_HISTORY_CATEGORY_PINNED','loadConversation','_aiConnector','activateTab:history','push','requires','chat','length','AI_CHAT_UNTITLED_CONVERSATION','activateTab','isPremiumPlugin','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','locale','setIsMaximized','resize','createdAt','removeConversation','getFullYear','_handleSelectConversation','itemRemoved','updateItems','pinned','rename','itemUpdated','pluginName','_showConversationHistory','view','_aiChatController','getDate','updates','setLoadingSkeleton','loadItems','operation','AI_CHAT_HISTORY_ERROR_GENERIC','map','_getCategorizedItems','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','selectConversation','listenTo','AIChatHistoryController','_aiChatHistoryUi','editConversationTitle','_updateHistoryItemsUI','history','plugins','removeHistoryItem','resizedTabs','6bbsCFP','activeConversation','226080sdgXrI','445917FouWEq','_handleRemove','4426479QMjOev','isOfficialPlugin','AI_CHAT_HISTORY_PIN_ACTION','resizeTabs','_handleHistoryErrorUI','AI_CHAT_HISTORY_UNPIN_ACTION','setConversationPinned','getGroupId','AI_CHAT_HISTORY_CATEGORY_TODAY','updateItemLoadingState','3648860xhFkBn','_clearItemLoading','36sXkZBr','_handleEditTitle','error','11908230ZXMsWT'];_0x3bde=function(){return _0x35c72b;};return _0x3bde();}export class AIChatHistoryController extends _0x1e5935{[_0x1dcb41(0x6d)];[_0x1dcb41(0x93)];[_0x1dcb41(0x86)];static get[_0x1dcb41(0x70)](){return[_0x4f6d4c,_0xda986e,_0x596bd3,_0x506d86];}static get[_0x1dcb41(0x83)](){const _0x31999e=_0x1dcb41;return _0x31999e(0x92);}static get[_0x1dcb41(0xa0)](){return!0x0;}static get[_0x1dcb41(0x75)](){return!0x0;}[_0x1dcb41(0xba)](){const _0x255065=_0x1dcb41;this[_0x255065(0x6d)]=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0x4f6d4c),this[_0x255065(0x93)]=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0x596bd3),this[_0x255065(0x86)]=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0xda986e);const _0x595d8a=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0x506d86),_0x379d80=this[_0x255065(0x86)][_0x255065(0xa6)]();this[_0x255065(0x96)]=new _0x560d00({'connector':this[_0x255065(0x6d)],'group':_0x379d80}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0x7b),(_0x3ca76d,_0x1139b1)=>{const _0x52a7ef=_0x255065;this[_0x52a7ef(0x67)](_0x1139b1['id'],_0x52a7ef(0x6a)),this[_0x52a7ef(0x9e)](_0x1139b1['id']);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0x94),(_0x40f7a5,_0x38aca0)=>{const _0x393f23=_0x255065;this[_0x393f23(0x67)](_0x38aca0['id'],_0x393f23(0x81)),this[_0x393f23(0xac)](_0x38aca0['id'],_0x38aca0[_0x393f23(0xc0)]);}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0x82),(_0x525dcd,_0x13f656)=>{const _0x55f188=_0x255065;void 0x0!==_0x13f656[_0x55f188(0x88)][_0x55f188(0xc0)]&&this[_0x55f188(0x93)][_0x55f188(0xc3)](_0x13f656[_0x55f188(0xbb)],_0x13f656[_0x55f188(0x88)][_0x55f188(0xc0)]),void 0x0!==_0x13f656[_0x55f188(0x88)][_0x55f188(0x80)]&&this[_0x55f188(0x95)](),this[_0x55f188(0xaa)](_0x13f656[_0x55f188(0xbb)]);}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0x7e),(_0x53ec68,_0x77f5d8)=>{const _0x3623c1=_0x255065;this[_0x3623c1(0x86)][_0x3623c1(0xb6)](_0x77f5d8[_0x3623c1(0xbb)]),this[_0x3623c1(0x93)][_0x3623c1(0x98)](_0x77f5d8[_0x3623c1(0xbb)]),this[_0x3623c1(0xaa)](_0x77f5d8[_0x3623c1(0xbb)]);}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0xc1),()=>{const _0x1df753=_0x255065;this[_0x1df753(0x95)]();}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0xad),(_0x440e3e,_0x5c5c78)=>{const _0xf2384e=_0x255065;this[_0xf2384e(0xa3)](_0x5c5c78[_0xf2384e(0xad)],_0x5c5c78[_0xf2384e(0x8b)],_0x5c5c78[_0xf2384e(0xbb)]);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0x90),(_0x11ae5a,_0x65996d)=>{const _0x187855=_0x255065;this[_0x187855(0x7d)](_0x65996d['id']);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0xa5),(_0x2d501a,_0x4fb523)=>{const _0x28057b=_0x255065,_0xa379da=_0x4fb523[_0x28057b(0x80)]?_0x28057b(0xbf):_0x28057b(0xb3);this[_0x28057b(0x67)](_0x4fb523['id'],_0xa379da),this[_0x28057b(0xaf)](_0x4fb523['id'],_0x4fb523[_0x28057b(0x80)]);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0xc9),()=>{const _0x8af3ba=_0x255065;_0x595d8a[_0x8af3ba(0x85)][_0x8af3ba(0x74)](_0x8af3ba(0x71));}),this[_0x255065(0x91)](this[_0x255065(0x86)],_0x255065(0xc4),()=>{const _0x4d2174=_0x255065;this[_0x4d2174(0x95)]();}),_0x595d8a[_0x255065(0x85)]['on'](_0x255065(0x6e),()=>{const _0x1bab0f=_0x255065;this[_0x1bab0f(0x84)]();}),this[_0x255065(0x91)](_0x595d8a,_0x255065(0x99),(_0x51911f,_0x4fa005)=>{const _0x5498f1=_0x255065;this[_0x5498f1(0xc7)](_0x4fa005);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0xa2),()=>{const _0x67da47=_0x255065;_0x595d8a[_0x67da47(0x79)]();});}async[_0x1dcb41(0xac)](_0x270add,_0x499891){const _0x22f041=_0x1dcb41;await this[_0x22f041(0x96)][_0x22f041(0xc3)](_0x270add,_0x499891);}async[_0x1dcb41(0xaf)](_0x46e7a0,_0x24aa1e){const _0x5b4fa6=_0x1dcb41;await this[_0x5b4fa6(0x96)][_0x5b4fa6(0x65)](_0x46e7a0,_0x24aa1e);}async[_0x1dcb41(0x9e)](_0x4d7941){const _0x2b3874=_0x1dcb41;await this[_0x2b3874(0x96)][_0x2b3874(0xbc)](_0x4d7941);}async[_0x1dcb41(0x7d)](_0x4b74ec){const _0x2983cd=_0x1dcb41;await this[_0x2983cd(0x86)][_0x2983cd(0x6c)](_0x4b74ec);}async[_0x1dcb41(0x84)](){const _0x5d79d6=_0x1dcb41;this[_0x5d79d6(0x93)][_0x5d79d6(0xbd)](''),this[_0x5d79d6(0x93)][_0x5d79d6(0x89)](!0x0),await this[_0x5d79d6(0x96)][_0x5d79d6(0xba)](),this[_0x5d79d6(0x93)][_0x5d79d6(0x89)](!0x1);}[_0x1dcb41(0x95)](){const _0x28d8fb=_0x1dcb41,_0x40c5c5=this[_0x28d8fb(0x86)][_0x28d8fb(0x9b)]?.['id'],_0x42b255=this[_0x28d8fb(0x8e)]()[_0x28d8fb(0x8d)](_0x1de72e=>({'title':_0x1de72e[_0x28d8fb(0xc0)],'items':_0x1de72e[_0x28d8fb(0xc2)][_0x28d8fb(0x8d)](_0x56a2e7=>({'id':_0x56a2e7['id'],'title':_0x56a2e7[_0x28d8fb(0xc0)]||_0x4de554(this[_0x28d8fb(0xb2)][_0x28d8fb(0x77)],_0x28d8fb(0x73)),'createdAt':new Date(_0x56a2e7[_0x28d8fb(0x7a)])[_0x28d8fb(0xb0)](),'active':_0x56a2e7['id']===_0x40c5c5,'pinned':_0x56a2e7[_0x28d8fb(0x80)]}))}));this[_0x28d8fb(0x93)][_0x28d8fb(0x7f)](_0x42b255);}[_0x1dcb41(0x67)](_0x2a8517,_0x58d5f6){const _0x12b0dc=_0x1dcb41;this[_0x12b0dc(0x93)][_0x12b0dc(0xa8)](_0x2a8517,_0x58d5f6,!0x0);}[_0x1dcb41(0xaa)](_0x535df4){const _0x201658=_0x1dcb41;this[_0x201658(0x93)][_0x201658(0xa8)](_0x535df4,null,!0x1);}[_0x1dcb41(0xa3)](_0x4b2818,_0x58f44f,_0x418a64){const _0xc94259=_0x1dcb41,_0x385cca=this[_0xc94259(0x68)](_0x58f44f,_0x418a64);this[_0xc94259(0x93)][_0xc94259(0xbd)](_0x385cca),_0x418a64&&this[_0xc94259(0xaa)](_0x418a64),this[_0xc94259(0x93)][_0xc94259(0x89)](!0x1);}[_0x1dcb41(0x68)](_0x306d82,_0xa0e2df){const _0x5bf0ff=_0x1dcb41,_0x47eb20=_0xa0e2df?this[_0x5bf0ff(0x96)][_0x5bf0ff(0xb5)](_0xa0e2df):null,_0x33f532=_0x47eb20?.[_0x5bf0ff(0xc0)]||_0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x73));switch(_0x306d82){case _0x5bf0ff(0xc3):return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0xb7),_0x33f532);case _0x5bf0ff(0x65):{const _0x34c684=_0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x47eb20?.[_0x5bf0ff(0x80)]?_0x5bf0ff(0xa4):_0x5bf0ff(0xa1));return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x8f),[_0x34c684,_0x33f532]);}case _0x5bf0ff(0xbc):return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x76),_0x33f532);case _0x5bf0ff(0xba):case _0x5bf0ff(0x8a):return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0xc8));default:return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x8c));}}[_0x1dcb41(0x8e)](){const _0x1c6907=_0x1dcb41,_0x18e3a7=new Date(),_0x3aea96=new Date(_0x18e3a7[_0x1c6907(0x7c)](),_0x18e3a7[_0x1c6907(0x64)](),_0x18e3a7[_0x1c6907(0x87)]()),_0x43d0ff=new Date(_0x3aea96);_0x43d0ff[_0x1c6907(0x66)](_0x43d0ff[_0x1c6907(0x87)]()-0x1);const _0x2ffe3b=new Date(_0x3aea96);_0x2ffe3b[_0x1c6907(0x66)](_0x2ffe3b[_0x1c6907(0x87)]()-0xe);const _0x441345=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'pinned':!0x0}),_0x25ffcd=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'from':_0x3aea96,'to':_0x3aea96}),_0x56b115=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'from':_0x43d0ff,'to':_0x43d0ff}),_0x202c51=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'from':_0x2ffe3b,'to':_0x43d0ff}),_0x3c9772=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'to':_0x2ffe3b}),_0x510d7e=[];return _0x441345[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0x6b)),'items':_0x441345}),_0x25ffcd[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0xa7)),'items':_0x25ffcd}),_0x56b115[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0x69)),'items':_0x56b115}),_0x202c51[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0xc6)),'items':_0x202c51}),_0x3c9772[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0xb9)),'items':_0x3c9772}),_0x510d7e;}[_0x1dcb41(0xc7)](_0x5abef9){const _0x105f25=_0x1dcb41;this[_0x105f25(0x93)][_0x105f25(0x78)](_0x5abef9);}}
23
+ function _0x2379(_0x48175e,_0x26eb4e){const _0x223842=_0x2238();return _0x2379=function(_0x23799c,_0x4d6877){_0x23799c=_0x23799c-0x177;let _0x3ea5c9=_0x223842[_0x23799c];return _0x3ea5c9;},_0x2379(_0x48175e,_0x26eb4e);}function _0x2238(){const _0x2b50f7=['_clearItemLoading','9PNAnqA','history','AI_CHAT_HISTORY_CATEGORY_LATER','_setIsMaximized','152317qCrBXT','title','setDate','length','pin','_handleSelectConversation','updateItemTitle','isPremiumPlugin','showError','AI_CHAT_HISTORY_PIN_ACTION','isOfficialPlugin','getItem','2886HiyLvK','init','resizeTabs','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','unpin','357KHXxBi','7884PqhdzU','toLocaleDateString','setLoadingSkeleton','478559xVEdch','pluginName','getMonth','resizedTabs','pinned','AIChatHistoryController','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_setItemLoading','2QjSsMe','loadConversation','push','getDate','itemUpdated','itemId','removeConversation','AI_CHAT_HISTORY_ERROR_GENERIC','view','itemsLoaded','loadItems','error','AI_CHAT_UNTITLED_CONVERSATION','401355LXCnzp','activateTab:history','_handleHistoryErrorUI','remove','20THvtVh','get','_handleRemove','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','change:activeConversation','items','_handleEditTitle','getItems','activateTab','3650744kzTlbs','requires','_updateHistoryItemsUI','260IZzVfF','removeHistoryItem','createdAt','_showConversationHistory','_getCategorizedItems','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','AI_CHAT_HISTORY_CATEGORY_TODAY','_aiChatController','removeItem','_generateErrorMessage','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','updateItemLoadingState','activeConversation','setConversationPinned','map','selectConversation','_handleTogglePin','chat','getFullYear','editConversationTitle','resize','setIsMaximized','91005BbjmeC','context','updateItemPinned','openChat','updateItems','itemRemoved','getGroupId','locale','operation','rename','AI_CHAT_HISTORY_CATEGORY_PINNED','67590cJsDyx','AI_CHAT_HISTORY_UNPIN_ACTION','_aiConnector','_aiChatHistoryUi','listenTo','plugins','updates'];_0x2238=function(){return _0x2b50f7;};return _0x2238();}const _0x5c5520=_0x2379;(function(_0x38a3c1,_0x5e8cd4){const _0x4fce3f=_0x2379,_0x447532=_0x38a3c1();while(!![]){try{const _0x19482f=parseInt(_0x4fce3f(0x1cc))/0x1+-parseInt(_0x4fce3f(0x1d4))/0x2*(parseInt(_0x4fce3f(0x178))/0x3)+parseInt(_0x4fce3f(0x17c))/0x4*(parseInt(_0x4fce3f(0x19f))/0x5)+parseInt(_0x4fce3f(0x1aa))/0x6*(parseInt(_0x4fce3f(0x1c8))/0x7)+-parseInt(_0x4fce3f(0x186))/0x8*(parseInt(_0x4fce3f(0x1b2))/0x9)+-parseInt(_0x4fce3f(0x189))/0xa*(parseInt(_0x4fce3f(0x1b6))/0xb)+-parseInt(_0x4fce3f(0x1c9))/0xc*(-parseInt(_0x4fce3f(0x1c2))/0xd);if(_0x19482f===_0x5e8cd4)break;else _0x447532['push'](_0x447532['shift']());}catch(_0x320242){_0x447532['push'](_0x447532['shift']());}}}(_0x2238,0x52f47));import{ContextPlugin as _0x21c9ba}from'ckeditor5/src/core.js';import{AIConnector as _0x3d4e69}from'../aicore/aiconnector.js';import{AIChatController as _0x384e4a}from'../aichat/aichatcontroller.js';import{AITabs as _0x40c05d}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x507a82}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x5542f8}from'./model/aichathistoryconversations.js';import{getTranslation as _0x53bf4e}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x21c9ba{[_0x5c5520(0x1ac)];[_0x5c5520(0x1ad)];[_0x5c5520(0x190)];static get[_0x5c5520(0x187)](){return[_0x3d4e69,_0x384e4a,_0x507a82,_0x40c05d];}static get[_0x5c5520(0x1cd)](){const _0x524939=_0x5c5520;return _0x524939(0x1d1);}static get[_0x5c5520(0x1c0)](){return!0x0;}static get[_0x5c5520(0x1bd)](){return!0x0;}[_0x5c5520(0x1c3)](){const _0x51f921=_0x5c5520;this[_0x51f921(0x1ac)]=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x3d4e69),this[_0x51f921(0x1ad)]=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x507a82),this[_0x51f921(0x190)]=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x384e4a);const _0x1c7e83=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x40c05d),_0x3456b8=this[_0x51f921(0x190)][_0x51f921(0x1a5)]();this[_0x51f921(0x1b3)]=new _0x5542f8({'connector':this[_0x51f921(0x1ac)],'group':_0x3456b8}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x1da),(_0x4673f5,_0x582e21)=>{const _0x5dfeba=_0x51f921;this[_0x5dfeba(0x1d3)](_0x582e21['id'],_0x5dfeba(0x17b)),this[_0x5dfeba(0x17e)](_0x582e21['id']);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x19c),(_0x2a3708,_0x15fb8f)=>{const _0x13623d=_0x51f921;this[_0x13623d(0x1d3)](_0x15fb8f['id'],_0x13623d(0x1a8)),this[_0x13623d(0x183)](_0x15fb8f['id'],_0x15fb8f[_0x13623d(0x1b7)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1d8),(_0x381ec8,_0x1a5997)=>{const _0x41e19e=_0x51f921;void 0x0!==_0x1a5997[_0x41e19e(0x1b0)][_0x41e19e(0x1b7)]&&this[_0x41e19e(0x1ad)][_0x41e19e(0x1bc)](_0x1a5997[_0x41e19e(0x1d9)],_0x1a5997[_0x41e19e(0x1b0)][_0x41e19e(0x1b7)]),void 0x0!==_0x1a5997[_0x41e19e(0x1b0)][_0x41e19e(0x1d0)]&&this[_0x41e19e(0x188)](),this[_0x41e19e(0x1b1)](_0x1a5997[_0x41e19e(0x1d9)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1a4),(_0x4793e9,_0x1bd84b)=>{const _0x230998=_0x51f921;this[_0x230998(0x190)][_0x230998(0x17f)](_0x1bd84b[_0x230998(0x1d9)]),this[_0x230998(0x1ad)][_0x230998(0x18a)](_0x1bd84b[_0x230998(0x1d9)]),this[_0x230998(0x1b1)](_0x1bd84b[_0x230998(0x1d9)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1dd),()=>{const _0x11e96b=_0x51f921;this[_0x11e96b(0x188)]();}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1df),(_0x4d9167,_0x19f32b)=>{const _0xe27ce5=_0x51f921;this[_0xe27ce5(0x17a)](_0x19f32b[_0xe27ce5(0x1df)],_0x19f32b[_0xe27ce5(0x1a7)],_0x19f32b[_0xe27ce5(0x1d9)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x198),(_0x597c2b,_0x1c24d0)=>{const _0x1251df=_0x51f921;this[_0x1251df(0x1bb)](_0x1c24d0['id']);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x196),(_0x335500,_0x36dbe6)=>{const _0x250d83=_0x51f921,_0x5a4b57=_0x36dbe6[_0x250d83(0x1d0)]?_0x250d83(0x1ba):_0x250d83(0x1c7);this[_0x250d83(0x1d3)](_0x36dbe6['id'],_0x5a4b57),this[_0x250d83(0x199)](_0x36dbe6['id'],_0x36dbe6[_0x250d83(0x1d0)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x1a2),()=>{const _0x1134f8=_0x51f921;_0x1c7e83[_0x1134f8(0x1dc)][_0x1134f8(0x185)](_0x1134f8(0x19a));}),this[_0x51f921(0x1ae)](this[_0x51f921(0x190)],_0x51f921(0x181),()=>{const _0x378222=_0x51f921;this[_0x378222(0x188)]();}),_0x1c7e83[_0x51f921(0x1dc)]['on'](_0x51f921(0x179),()=>{const _0x79ff4d=_0x51f921;this[_0x79ff4d(0x18c)]();}),this[_0x51f921(0x1ae)](_0x1c7e83,_0x51f921(0x1cf),(_0x2c29b6,_0x2f7179)=>{const _0x504a2b=_0x51f921;this[_0x504a2b(0x1b5)](_0x2f7179);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x1c4),()=>{const _0x3466c8=_0x51f921;_0x1c7e83[_0x3466c8(0x19d)]();});}async[_0x5c5520(0x183)](_0x3ee246,_0x2547b0){const _0x470214=_0x5c5520;await this[_0x470214(0x1b3)][_0x470214(0x1bc)](_0x3ee246,_0x2547b0);}async[_0x5c5520(0x199)](_0x19e596,_0x20443c){const _0x46deed=_0x5c5520;await this[_0x46deed(0x1b3)][_0x46deed(0x1a1)](_0x19e596,_0x20443c);}async[_0x5c5520(0x17e)](_0x4913d1){const _0x318a11=_0x5c5520;await this[_0x318a11(0x1b3)][_0x318a11(0x191)](_0x4913d1);}async[_0x5c5520(0x1bb)](_0x2869e5){const _0x39a156=_0x5c5520;await this[_0x39a156(0x190)][_0x39a156(0x1d5)](_0x2869e5);}async[_0x5c5520(0x18c)](){const _0x505644=_0x5c5520;this[_0x505644(0x1ad)][_0x505644(0x1be)](''),this[_0x505644(0x1ad)][_0x505644(0x1cb)](!0x0),await this[_0x505644(0x1b3)][_0x505644(0x1c3)](),this[_0x505644(0x1ad)][_0x505644(0x1cb)](!0x1);}[_0x5c5520(0x188)](){const _0x17cdbd=_0x5c5520,_0x298939=this[_0x17cdbd(0x190)][_0x17cdbd(0x195)]?.['id'],_0x3ec532=this[_0x17cdbd(0x18d)]()[_0x17cdbd(0x197)](_0x51043d=>({'title':_0x51043d[_0x17cdbd(0x1b7)],'items':_0x51043d[_0x17cdbd(0x182)][_0x17cdbd(0x197)](_0x12f508=>({'id':_0x12f508['id'],'title':_0x12f508[_0x17cdbd(0x1b7)]||_0x53bf4e(this[_0x17cdbd(0x1a0)][_0x17cdbd(0x1a6)],_0x17cdbd(0x177)),'createdAt':new Date(_0x12f508[_0x17cdbd(0x18b)])[_0x17cdbd(0x1ca)](),'active':_0x12f508['id']===_0x298939,'pinned':_0x12f508[_0x17cdbd(0x1d0)]}))}));this[_0x17cdbd(0x1ad)][_0x17cdbd(0x1a3)](_0x3ec532);}[_0x5c5520(0x1d3)](_0x1a9274,_0xa6a0ef){const _0x34abca=_0x5c5520;this[_0x34abca(0x1ad)][_0x34abca(0x194)](_0x1a9274,_0xa6a0ef,!0x0);}[_0x5c5520(0x1b1)](_0x3394c3){const _0x32dcaf=_0x5c5520;this[_0x32dcaf(0x1ad)][_0x32dcaf(0x194)](_0x3394c3,null,!0x1);}[_0x5c5520(0x17a)](_0x693f18,_0x3a86ad,_0x5831f2){const _0x48e767=_0x5c5520,_0x2acbcc=this[_0x48e767(0x192)](_0x3a86ad,_0x5831f2);this[_0x48e767(0x1ad)][_0x48e767(0x1be)](_0x2acbcc),_0x5831f2&&this[_0x48e767(0x1b1)](_0x5831f2),this[_0x48e767(0x1ad)][_0x48e767(0x1cb)](!0x1);}[_0x5c5520(0x192)](_0x593c88,_0x769965){const _0x402895=_0x5c5520,_0x21980c=_0x769965?this[_0x402895(0x1b3)][_0x402895(0x1c1)](_0x769965):null,_0x23c188=_0x21980c?.[_0x402895(0x1b7)]||_0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x177));switch(_0x593c88){case _0x402895(0x1bc):return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x193),_0x23c188);case _0x402895(0x1a1):{const _0x1c2aa5=_0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x21980c?.[_0x402895(0x1d0)]?_0x402895(0x1ab):_0x402895(0x1bf));return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x1c6),[_0x1c2aa5,_0x23c188]);}case _0x402895(0x191):return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x1c5),_0x23c188);case _0x402895(0x1c3):case _0x402895(0x1de):return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x180));default:return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x1db));}}[_0x5c5520(0x18d)](){const _0x96ab80=_0x5c5520,_0x3a70bd=new Date(),_0x247f89=new Date(_0x3a70bd[_0x96ab80(0x19b)](),_0x3a70bd[_0x96ab80(0x1ce)](),_0x3a70bd[_0x96ab80(0x1d7)]()),_0x3b510b=new Date(_0x247f89);_0x3b510b[_0x96ab80(0x1b8)](_0x3b510b[_0x96ab80(0x1d7)]()-0x1);const _0x3135df=new Date(_0x247f89);_0x3135df[_0x96ab80(0x1b8)](_0x3135df[_0x96ab80(0x1d7)]()-0xe);const _0x219d01=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'pinned':!0x0}),_0x3d477a=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'from':_0x247f89,'to':_0x247f89}),_0x157a49=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'from':_0x3b510b,'to':_0x3b510b}),_0x36bd30=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'from':_0x3135df,'to':_0x3b510b}),_0x2a448c=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'to':_0x3135df}),_0x2d0099=[];return _0x219d01[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x1a9)),'items':_0x219d01}),_0x3d477a[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x18f)),'items':_0x3d477a}),_0x157a49[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x18e)),'items':_0x157a49}),_0x36bd30[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x1d2)),'items':_0x36bd30}),_0x2a448c[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x1b4)),'items':_0x2a448c}),_0x2d0099;}[_0x5c5520(0x1b5)](_0x4dcaaf){const _0x318103=_0x5c5520;this[_0x318103(0x1ad)][_0x318103(0x19e)](_0x4dcaaf);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d28ac=_0x3bf2;(function(_0x54516a,_0x4da318){const _0x1264ab=_0x3bf2,_0x3cc644=_0x54516a();while(!![]){try{const _0x3a7578=-parseInt(_0x1264ab(0x8e))/0x1*(-parseInt(_0x1264ab(0x86))/0x2)+parseInt(_0x1264ab(0x77))/0x3*(-parseInt(_0x1264ab(0x99))/0x4)+parseInt(_0x1264ab(0x81))/0x5*(parseInt(_0x1264ab(0x7c))/0x6)+-parseInt(_0x1264ab(0x76))/0x7*(-parseInt(_0x1264ab(0x7d))/0x8)+-parseInt(_0x1264ab(0x94))/0x9*(parseInt(_0x1264ab(0x9b))/0xa)+-parseInt(_0x1264ab(0x90))/0xb+parseInt(_0x1264ab(0x7b))/0xc*(parseInt(_0x1264ab(0xa2))/0xd);if(_0x3a7578===_0x4da318)break;else _0x3cc644['push'](_0x3cc644['shift']());}catch(_0x5212bc){_0x3cc644['push'](_0x3cc644['shift']());}}}(_0x2dd8,0x82713));import{ContextPlugin as _0x5edbc5}from'ckeditor5/src/core.js';import{AITabs as _0x3fc1a2}from'../aitabs/aitabs.js';import{IconAIHistory as _0x1bda54}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x89a72f}from'./ui/aichathistoryview.js';function _0x3bf2(_0x77caa3,_0x535057){const _0x2dd8a4=_0x2dd8();return _0x3bf2=function(_0x3bf287,_0x5d2cb3){_0x3bf287=_0x3bf287-0x75;let _0x428dc3=_0x2dd8a4[_0x3bf287];return _0x428dc3;},_0x3bf2(_0x77caa3,_0x535057);}function _0x2dd8(){const _0xfd0e82=['openChat','showConversationHistory','resizeTabs','requires','52787WQZTvw','315GbqRQk','get','delegate','errorMessage','12XlwfsX','1092PsQNpR','728JCiVct','pluginName','updateHistoryItemsWithCategories','setConversationPinned','17215Dgieoi','setLoadingSkeleton','locale','hideError','plugins','6dFrhpQ','editConversationTitle','removeHistoryItem','isPremiumPlugin','updateItemTitle','updateItemLoadingState','setIsMaximized','AITabs','104767HVnbSR','showError','9877351VhSinL','updateItems','removeConversation','isOfficialPlugin','165213LVstRJ','_historyView','isLoading','context','view','11820HGjSIb','addTab','270sOvBxp','isMaximized','selectConversation','history','AIChatHistoryUI','AI_CHAT_HISTORY_HEADING','showResizeButton','7942844BCzQIb'];_0x2dd8=function(){return _0xfd0e82;};return _0x2dd8();}import{getTranslation as _0x510a65}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x5d28ac(0xa4),_0x5d28ac(0x92),_0x5d28ac(0x87),_0x5d28ac(0x80),_0x5d28ac(0x9d),_0x5d28ac(0xa3),_0x5d28ac(0xa5)];export class AIChatHistoryUI extends _0x5edbc5{static get[_0x5d28ac(0x75)](){return[_0x3fc1a2];}[_0x5d28ac(0x95)];static get[_0x5d28ac(0x7e)](){const _0x1fca27=_0x5d28ac;return _0x1fca27(0x9f);}static get[_0x5d28ac(0x93)](){return!0x0;}static get[_0x5d28ac(0x89)](){return!0x0;}constructor(_0x287eba){const _0x2ddf72=_0x5d28ac;super(_0x287eba);const _0x1eade2=this[_0x2ddf72(0x97)][_0x2ddf72(0x85)][_0x2ddf72(0x78)](_0x2ddf72(0x8d));this[_0x2ddf72(0x95)]=new _0x89a72f(this[_0x2ddf72(0x97)][_0x2ddf72(0x83)],_0x1eade2[_0x2ddf72(0xa1)]),this[_0x2ddf72(0x95)][_0x2ddf72(0x79)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x1eade2[_0x2ddf72(0x98)][_0x2ddf72(0x9a)]({'id':_0x2ddf72(0x9e),'buttonLabel':_0x510a65(this[_0x2ddf72(0x97)][_0x2ddf72(0x83)],_0x2ddf72(0xa0)),'buttonIcon':_0x1bda54,'order':0x0,'content':this[_0x2ddf72(0x95)]});}[_0x5d28ac(0x88)](_0x8f483f){const _0x5c5885=_0x5d28ac;this[_0x5c5885(0x95)][_0x5c5885(0x88)](_0x8f483f);}[_0x5d28ac(0x91)](_0x15d17f){const _0x3ef6f0=_0x5d28ac;this[_0x3ef6f0(0x95)][_0x3ef6f0(0x7f)](_0x15d17f);}[_0x5d28ac(0x8a)](_0x1dc700,_0x1e47b6){const _0x40005a=_0x5d28ac;this[_0x40005a(0x95)][_0x40005a(0x8a)](_0x1dc700,_0x1e47b6);}[_0x5d28ac(0x8b)](_0x50b237,_0x3a75bb,_0xc1d6dd){const _0x3668ea=_0x5d28ac;this[_0x3668ea(0x95)][_0x3668ea(0x8b)](_0x50b237,_0x3a75bb,_0xc1d6dd);}[_0x5d28ac(0x82)](_0x2090e9){const _0x34399c=_0x5d28ac;this[_0x34399c(0x95)][_0x34399c(0x96)]=_0x2090e9;}[_0x5d28ac(0x8f)](_0x3944a6){const _0x8a2d46=_0x5d28ac;this[_0x8a2d46(0x95)][_0x8a2d46(0x7a)]=_0x3944a6;}[_0x5d28ac(0x84)](){const _0x5e287f=_0x5d28ac;this[_0x5e287f(0x95)][_0x5e287f(0x7a)]='';}[_0x5d28ac(0x8c)](_0x45b653){const _0xa94624=_0x5d28ac;this[_0xa94624(0x95)][_0xa94624(0x9c)]=_0x45b653;}}
23
+ const _0x2e4a41=_0x301c;(function(_0x113805,_0xe6f7f8){const _0x4f2d9b=_0x301c,_0x12811e=_0x113805();while(!![]){try{const _0xe54f79=parseInt(_0x4f2d9b(0xfb))/0x1*(parseInt(_0x4f2d9b(0xf9))/0x2)+parseInt(_0x4f2d9b(0xfe))/0x3*(-parseInt(_0x4f2d9b(0xeb))/0x4)+parseInt(_0x4f2d9b(0xff))/0x5+-parseInt(_0x4f2d9b(0xf7))/0x6*(-parseInt(_0x4f2d9b(0xf5))/0x7)+parseInt(_0x4f2d9b(0xfc))/0x8+-parseInt(_0x4f2d9b(0xfd))/0x9+-parseInt(_0x4f2d9b(0x100))/0xa;if(_0xe54f79===_0xe6f7f8)break;else _0x12811e['push'](_0x12811e['shift']());}catch(_0x24eb0b){_0x12811e['push'](_0x12811e['shift']());}}}(_0x38b0,0x2e608));import{ContextPlugin as _0x36cac9}from'ckeditor5/src/core.js';import{AITabs as _0xfc746}from'../aitabs/aitabs.js';import{IconAIHistory as _0x5a691c}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x2c7e96}from'./ui/aichathistoryview.js';import{getTranslation as _0x5bf469}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x2e4a41(0xed),_0x2e4a41(0xe3),_0x2e4a41(0xef),_0x2e4a41(0xe4),_0x2e4a41(0xf3),_0x2e4a41(0xe9),_0x2e4a41(0xf4)];export class AIChatHistoryUI extends _0x36cac9{static get[_0x2e4a41(0xe0)](){return[_0xfc746];}[_0x2e4a41(0xe2)];static get[_0x2e4a41(0xdd)](){const _0x181efc=_0x2e4a41;return _0x181efc(0xf1);}static get[_0x2e4a41(0xf6)](){return!0x0;}static get[_0x2e4a41(0x101)](){return!0x0;}constructor(_0x4a38cd){const _0x5a98ea=_0x2e4a41;super(_0x4a38cd);const _0x4ed8aa=this[_0x5a98ea(0xd7)][_0x5a98ea(0xde)][_0x5a98ea(0xdf)](_0x5a98ea(0xf2));this[_0x5a98ea(0xe2)]=new _0x2c7e96(this[_0x5a98ea(0xd7)][_0x5a98ea(0x103)],_0x4ed8aa[_0x5a98ea(0xf8)]),this[_0x5a98ea(0xe2)][_0x5a98ea(0xdb)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4ed8aa[_0x5a98ea(0xe8)][_0x5a98ea(0xee)]({'id':_0x5a98ea(0xe7),'buttonLabel':_0x5bf469(this[_0x5a98ea(0xd7)][_0x5a98ea(0x103)],_0x5a98ea(0xf0)),'buttonIcon':_0x5a691c,'order':0x0,'content':this[_0x5a98ea(0xe2)]});}[_0x2e4a41(0xe1)](_0x3efd13){const _0x544b85=_0x2e4a41;this[_0x544b85(0xe2)][_0x544b85(0xe1)](_0x3efd13);}[_0x2e4a41(0xda)](_0x75b61d){const _0x4d408a=_0x2e4a41;this[_0x4d408a(0xe2)][_0x4d408a(0xea)](_0x75b61d);}[_0x2e4a41(0xdc)](_0x33c766,_0x4bc258){const _0x55fed5=_0x2e4a41;this[_0x55fed5(0xe2)][_0x55fed5(0xdc)](_0x33c766,_0x4bc258);}[_0x2e4a41(0xe5)](_0x11f4ea,_0x17b9a2,_0x21bcfa){const _0x277953=_0x2e4a41;this[_0x277953(0xe2)][_0x277953(0xe5)](_0x11f4ea,_0x17b9a2,_0x21bcfa);}[_0x2e4a41(0x102)](_0x232fbb){const _0x2f25a9=_0x2e4a41;this[_0x2f25a9(0xe2)][_0x2f25a9(0xe6)]=_0x232fbb;}[_0x2e4a41(0xfa)](_0xa2b565){const _0x2cfc46=_0x2e4a41;this[_0x2cfc46(0xe2)][_0x2cfc46(0xd8)]=_0xa2b565;}[_0x2e4a41(0xec)](){const _0x1dd64b=_0x2e4a41;this[_0x1dd64b(0xe2)][_0x1dd64b(0xd8)]='';}[_0x2e4a41(0xd6)](_0x31fff9){const _0x445dde=_0x2e4a41;this[_0x445dde(0xe2)][_0x445dde(0xd9)]=_0x31fff9;}}function _0x301c(_0x3ba431,_0x5b1668){const _0x38b062=_0x38b0();return _0x301c=function(_0x301c9a,_0x45b23d){_0x301c9a=_0x301c9a-0xd6;let _0x581e8a=_0x38b062[_0x301c9a];return _0x581e8a;},_0x301c(_0x3ba431,_0x5b1668);}function _0x38b0(){const _0x17b353=['showConversationHistory','addTab','editConversationTitle','AI_CHAT_HISTORY_HEADING','AIChatHistoryUI','AITabs','selectConversation','resizeTabs','139503GIChTE','isOfficialPlugin','72jbITyr','showResizeButton','185214KbLQsR','showError','1igZnjr','2816112JviMPV','1651941qeubcE','96ArBNoO','701090wcqjWd','2329420yITfxN','isPremiumPlugin','setLoadingSkeleton','locale','setIsMaximized','context','errorMessage','isMaximized','updateItems','delegate','updateItemTitle','pluginName','plugins','get','requires','removeHistoryItem','_historyView','removeConversation','setConversationPinned','updateItemLoadingState','isLoading','history','view','openChat','updateHistoryItemsWithCategories','27192WjUznU','hideError'];_0x38b0=function(){return _0x17b353;};return _0x38b0();}