@ckeditor/ckeditor5-ai 47.3.0-alpha.3 → 47.3.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/aiassistantediting.js +1 -1
  8. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  9. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  10. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  11. package/src/aiassistant/ui/form/aiformview.js +1 -1
  12. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  13. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  14. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  15. package/src/aiballoon/ui/aiballoonview.js +1 -1
  16. package/src/aichat/aichat.js +1 -1
  17. package/src/aichat/aichatcontroller.js +1 -1
  18. package/src/aichat/aichatui.js +1 -1
  19. package/src/aichat/model/aichatcontext.js +1 -1
  20. package/src/aichat/model/aichatconversation.js +1 -1
  21. package/src/aichat/model/aichatinteraction.js +1 -1
  22. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  23. package/src/aichat/ui/aichatfeedview.js +1 -1
  24. package/src/aichat/ui/aichatheaderview.js +1 -1
  25. package/src/aichat/ui/aichatview.js +1 -1
  26. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  27. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  28. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  29. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  30. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  31. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  32. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  33. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  34. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  35. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  36. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  37. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  38. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  39. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  40. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  41. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  42. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  43. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  44. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  45. package/src/aichathistory/aichathistory.js +1 -1
  46. package/src/aichathistory/aichathistorycontroller.js +1 -1
  47. package/src/aichathistory/aichathistoryui.js +1 -1
  48. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  49. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  50. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  51. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  52. package/src/aicore/aiediting.js +1 -1
  53. package/src/aicore/model/aiinteraction.js +1 -1
  54. package/src/aicore/model/aimodels.js +1 -1
  55. package/src/aicore/model/aireply.js +1 -1
  56. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  57. package/src/aicore/pipeline/airesponseparser.js +2 -2
  58. package/src/aicore/ui/aidisclaimerview.js +1 -1
  59. package/src/aicore/ui/aiskeleton.js +1 -1
  60. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  61. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  62. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  63. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  64. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  65. package/src/aicore/utils/documentrange.js +1 -1
  66. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  67. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  68. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  69. package/src/aicore/utils/htmlparser.js +1 -1
  70. package/src/aicore/utils/htmlstreamer.js +1 -1
  71. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  72. package/src/aiquickactions/aiquickactionsui.js +1 -1
  73. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  74. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  75. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  76. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  77. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  78. package/src/aireviewmode/aireviewmodeui.js +1 -1
  79. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  80. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  81. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  82. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  83. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  84. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  85. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  86. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  87. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  88. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  89. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  90. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  91. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  92. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  93. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  94. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  95. package/src/aitabs/aitabs.js +1 -1
  96. package/src/aitabs/tabs/aitabsview.js +1 -1
  97. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3955c5=_0x2b49;(function(_0x23a772,_0x476f2c){const _0x96674f=_0x2b49,_0x19f99d=_0x23a772();while(!![]){try{const _0x5d2a9c=parseInt(_0x96674f(0x19f))/0x1+-parseInt(_0x96674f(0x177))/0x2*(parseInt(_0x96674f(0x18b))/0x3)+-parseInt(_0x96674f(0x198))/0x4*(parseInt(_0x96674f(0x17f))/0x5)+-parseInt(_0x96674f(0x192))/0x6*(-parseInt(_0x96674f(0x17e))/0x7)+parseInt(_0x96674f(0x181))/0x8+-parseInt(_0x96674f(0x197))/0x9*(parseInt(_0x96674f(0x182))/0xa)+parseInt(_0x96674f(0x17b))/0xb;if(_0x5d2a9c===_0x476f2c)break;else _0x19f99d['push'](_0x19f99d['shift']());}catch(_0x1634a6){_0x19f99d['push'](_0x19f99d['shift']());}}}(_0x4c61,0x43ef5));function _0x4c61(){const _0x87ccb6=['text','isVisible','extendTemplate','_createIconView','set','39036OteyOv','ck-hidden','render','_updateIcon','span','1773KYoGIv','472uhJsEA','_setupTemplate','execute','URL','setTemplate','DOCUMENT','FILE','112551Sykqoh','updateResourceState','resource','label','ck-ai-chat-resources__item-title','4AEYnTI','content','highlightText','isInContext','7251046ZqGEck','_titleView','type','266fUCncU','10310DbJDva','TEXT','3409600ODFSuU','22380UsnGaI','bindTemplate','ck-ai-chat-resources__item','ck-ai-chat-resources__item__icon','_createTitleView','_iconView','trim','div','getResourceIcon','724053geAgPS','ck-ai-chat-resources__item--in-context'];_0x4c61=function(){return _0x87ccb6;};return _0x4c61();}import{HighlightedTextView as _0x3db9e6,IconView as _0x1b6e87,ListItemView as _0x13f409}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x13864a}from'es-toolkit/compat';import{AIContextItemType as _0x4789cc}from'../../../../aicore/model/aicontext.js';function _0x2b49(_0xc60378,_0x100969){const _0x4c61d4=_0x4c61();return _0x2b49=function(_0x2b493b,_0x8b104d){_0x2b493b=_0x2b493b-0x174;let _0x2ca8b4=_0x4c61d4[_0x2b493b];return _0x2ca8b4;},_0x2b49(_0xc60378,_0x100969);}import{IconFileUpload as _0x3a4ab6,IconCheck as _0x557643,IconDocument as _0x19c747,IconDocumentOutline as _0x577d9c,IconLink as _0x2c7b92}from'@ckeditor/ckeditor5-icons';const Gr=_0x3955c5(0x184),Hr=_0x3955c5(0x18c),Jr=_0x3955c5(0x176),Kr=_0x3955c5(0x185);export class AIChatResourceListItemView extends _0x13f409{[_0x3955c5(0x174)];[_0x3955c5(0x17c)];[_0x3955c5(0x187)];constructor(_0xff60b1,_0x1dcc4a){const _0x434d7b=_0x3955c5;super(_0xff60b1),this[_0x434d7b(0x174)]=_0x1dcc4a,this[_0x434d7b(0x191)](_0x434d7b(0x17a),!!_0x1dcc4a[_0x434d7b(0x17a)]),this[_0x434d7b(0x17c)]=this[_0x434d7b(0x186)](),this[_0x434d7b(0x187)]=this[_0x434d7b(0x190)](),this[_0x434d7b(0x199)]();}[_0x3955c5(0x194)](){const _0x1933bd=_0x3955c5;super[_0x1933bd(0x194)]();}[_0x3955c5(0x18a)](_0x7a5288){const _0x4acce0=_0x3955c5;if(_0x7a5288[_0x4acce0(0x17a)])return _0x557643;switch(_0x7a5288[_0x4acce0(0x17d)]){case _0x4789cc[_0x4acce0(0x19d)]:return _0x19c747;case _0x4789cc[_0x4acce0(0x19b)]:return _0x2c7b92;case _0x4789cc[_0x4acce0(0x19e)]:case _0x4789cc[_0x4acce0(0x180)]:return _0x3a4ab6;default:return _0x577d9c;}}[_0x3955c5(0x179)](_0x6e1661){const _0xb877e6=_0x3955c5;if(!_0x6e1661||''===_0x6e1661[_0xb877e6(0x188)]())return void this[_0xb877e6(0x17c)][_0xb877e6(0x179)](null);const _0x4db165=new RegExp(_0x13864a(_0x6e1661),'gi');this[_0xb877e6(0x17c)][_0xb877e6(0x179)](_0x4db165);}[_0x3955c5(0x1a0)](_0xea51dc){const _0x103f11=_0x3955c5;this[_0x103f11(0x174)][_0x103f11(0x17a)]=_0xea51dc,this[_0x103f11(0x17a)]=_0xea51dc,this[_0x103f11(0x195)]();}[_0x3955c5(0x186)](){const _0x33a7af=_0x3955c5,_0x3af2fa=new _0x3db9e6();return _0x3af2fa[_0x33a7af(0x18d)]=this[_0x33a7af(0x174)][_0x33a7af(0x175)],_0x3af2fa[_0x33a7af(0x18f)]({'tag':_0x33a7af(0x196),'attributes':{'class':[Jr]}}),_0x3af2fa;}[_0x3955c5(0x190)](){const _0x1fcebe=_0x3955c5,_0x7cbbca=new _0x1b6e87();return _0x7cbbca[_0x1fcebe(0x178)]=this[_0x1fcebe(0x18a)](this[_0x1fcebe(0x174)]),_0x7cbbca;}[_0x3955c5(0x199)](){const _0x3080ea=_0x3955c5,_0x2dd97c=this[_0x3080ea(0x183)];this[_0x3080ea(0x19c)]({'tag':_0x3080ea(0x189),'attributes':{'class':[Gr,_0x2dd97c['if'](_0x3080ea(0x18e),_0x3080ea(0x193),_0x54f0b9=>!_0x54f0b9),_0x2dd97c['if'](_0x3080ea(0x17a),Hr)]},'children':[{'tag':_0x3080ea(0x189),'attributes':{'class':[Kr]},'children':[this[_0x3080ea(0x187)]]},this[_0x3080ea(0x17c)]],'on':{'click':_0x2dd97c['to'](_0x3080ea(0x19a))}});}[_0x3955c5(0x195)](){const _0x1b8535=_0x3955c5;this[_0x1b8535(0x187)][_0x1b8535(0x178)]=this[_0x1b8535(0x18a)](this[_0x1b8535(0x174)]);}}
23
+ const _0x3636b9=_0x1eda;function _0x1eda(_0x55660f,_0x4b2c75){const _0x4211a5=_0x4211();return _0x1eda=function(_0x1eda9c,_0x419005){_0x1eda9c=_0x1eda9c-0x1e6;let _0x4a983f=_0x4211a5[_0x1eda9c];return _0x4a983f;},_0x1eda(_0x55660f,_0x4b2c75);}(function(_0x6a613b,_0x1b5d3e){const _0x33e051=_0x1eda,_0x48a81d=_0x6a613b();while(!![]){try{const _0x5b35ea=-parseInt(_0x33e051(0x1f6))/0x1+parseInt(_0x33e051(0x1ef))/0x2+-parseInt(_0x33e051(0x1f7))/0x3+-parseInt(_0x33e051(0x209))/0x4+parseInt(_0x33e051(0x1ed))/0x5*(-parseInt(_0x33e051(0x1f5))/0x6)+-parseInt(_0x33e051(0x1f2))/0x7*(-parseInt(_0x33e051(0x1f3))/0x8)+parseInt(_0x33e051(0x20c))/0x9;if(_0x5b35ea===_0x1b5d3e)break;else _0x48a81d['push'](_0x48a81d['shift']());}catch(_0x1b1e51){_0x48a81d['push'](_0x48a81d['shift']());}}}(_0x4211,0x96f12));function _0x4211(){const _0x58f05b=['resource','899844SpwQPK','text','isInContext','20950416EjGUPB','ck-hidden','_setupTemplate','type','_iconView','isVisible','URL','_createIconView','ck-ai-chat-resources__item-title','highlightText','DOCUMENT','execute','639235apEoJt','_titleView','1232074BsgxDg','FILE','div','1008721VDlpfr','8MFjgWP','getResourceIcon','54FWfyOF','52461hzCpPM','3124983CgGbTQ','extendTemplate','TEXT','set','ck-ai-chat-resources__item','trim','_createTitleView','_updateIcon','bindTemplate','content','setTemplate','render','span','updateResourceState','ck-ai-chat-resources__item__icon','label','ck-ai-chat-resources__item--in-context'];_0x4211=function(){return _0x58f05b;};return _0x4211();}import{HighlightedTextView as _0x23573c,IconView as _0x6b3f72,ListItemView as _0x4c53e5}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x1841e6}from'es-toolkit/compat';import{AIContextItemType as _0x47176c}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x2a3292,IconCheck as _0x59aede,IconDocument as _0x1cb130,IconDocumentOutline as _0x4ef506,IconLink as _0xbaeecd}from'@ckeditor/ckeditor5-icons';const Br=_0x3636b9(0x1fb),Gr=_0x3636b9(0x207),Hr=_0x3636b9(0x1e9),Jr=_0x3636b9(0x205);export class AIChatResourceListItemView extends _0x4c53e5{[_0x3636b9(0x208)];[_0x3636b9(0x1ee)];[_0x3636b9(0x210)];constructor(_0x10c674,_0x44599a){const _0x1c36d8=_0x3636b9;super(_0x10c674),this[_0x1c36d8(0x208)]=_0x44599a,this[_0x1c36d8(0x1fa)](_0x1c36d8(0x20b),!!_0x44599a[_0x1c36d8(0x20b)]),this[_0x1c36d8(0x1ee)]=this[_0x1c36d8(0x1fd)](),this[_0x1c36d8(0x210)]=this[_0x1c36d8(0x1e8)](),this[_0x1c36d8(0x20e)]();}[_0x3636b9(0x202)](){const _0x8acaa0=_0x3636b9;super[_0x8acaa0(0x202)]();}[_0x3636b9(0x1f4)](_0x327664){const _0x3cfc10=_0x3636b9;if(_0x327664[_0x3cfc10(0x20b)])return _0x59aede;switch(_0x327664[_0x3cfc10(0x20f)]){case _0x47176c[_0x3cfc10(0x1eb)]:return _0x1cb130;case _0x47176c[_0x3cfc10(0x1e7)]:return _0xbaeecd;case _0x47176c[_0x3cfc10(0x1f0)]:case _0x47176c[_0x3cfc10(0x1f9)]:return _0x2a3292;default:return _0x4ef506;}}[_0x3636b9(0x1ea)](_0x12e37f){const _0xe01266=_0x3636b9;if(!_0x12e37f||''===_0x12e37f[_0xe01266(0x1fc)]())return void this[_0xe01266(0x1ee)][_0xe01266(0x1ea)](null);const _0x11984c=new RegExp(_0x1841e6(_0x12e37f),'gi');this[_0xe01266(0x1ee)][_0xe01266(0x1ea)](_0x11984c);}[_0x3636b9(0x204)](_0x3cbda3){const _0xac26f5=_0x3636b9;this[_0xac26f5(0x208)][_0xac26f5(0x20b)]=_0x3cbda3,this[_0xac26f5(0x20b)]=_0x3cbda3,this[_0xac26f5(0x1fe)]();}[_0x3636b9(0x1fd)](){const _0x552a32=_0x3636b9,_0x20706a=new _0x23573c();return _0x20706a[_0x552a32(0x20a)]=this[_0x552a32(0x208)][_0x552a32(0x206)],_0x20706a[_0x552a32(0x1f8)]({'tag':_0x552a32(0x203),'attributes':{'class':[Hr]}}),_0x20706a;}[_0x3636b9(0x1e8)](){const _0x464b9e=_0x3636b9,_0x413373=new _0x6b3f72();return _0x413373[_0x464b9e(0x200)]=this[_0x464b9e(0x1f4)](this[_0x464b9e(0x208)]),_0x413373;}[_0x3636b9(0x20e)](){const _0x44e750=_0x3636b9,_0x27c195=this[_0x44e750(0x1ff)];this[_0x44e750(0x201)]({'tag':_0x44e750(0x1f1),'attributes':{'class':[Br,_0x27c195['if'](_0x44e750(0x1e6),_0x44e750(0x20d),_0x24b673=>!_0x24b673),_0x27c195['if'](_0x44e750(0x20b),Gr)]},'children':[{'tag':_0x44e750(0x1f1),'attributes':{'class':[Jr]},'children':[this[_0x44e750(0x210)]]},this[_0x44e750(0x1ee)]],'on':{'click':_0x27c195['to'](_0x44e750(0x1ec))}});}[_0x3636b9(0x1fe)](){const _0x3de725=_0x3636b9;this[_0x3de725(0x210)][_0x3de725(0x200)]=this[_0x3de725(0x1f4)](this[_0x3de725(0x208)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x286527=_0x4768;(function(_0x5d5340,_0x5e0821){const _0x108c09=_0x4768,_0x14f85f=_0x5d5340();while(!![]){try{const _0x5f1a22=-parseInt(_0x108c09(0x1c5))/0x1*(parseInt(_0x108c09(0x1f1))/0x2)+-parseInt(_0x108c09(0x1ca))/0x3*(-parseInt(_0x108c09(0x1ea))/0x4)+-parseInt(_0x108c09(0x1b9))/0x5+parseInt(_0x108c09(0x1d5))/0x6+parseInt(_0x108c09(0x1eb))/0x7+parseInt(_0x108c09(0x1ee))/0x8*(parseInt(_0x108c09(0x1ce))/0x9)+-parseInt(_0x108c09(0x1c9))/0xa*(parseInt(_0x108c09(0x1e4))/0xb);if(_0x5f1a22===_0x5e0821)break;else _0x14f85f['push'](_0x14f85f['shift']());}catch(_0x2dc11c){_0x14f85f['push'](_0x14f85f['shift']());}}}(_0x1d6e,0x483ab));import{BalloonPanelView as _0x28fb17,ButtonView as _0x660397,clickOutsideHandler as _0x4f46bc,FormHeaderView as _0x3cec90}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x30eab1}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x654dbe}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x509115}from'./aichatcontextresourcesview.js';const Nr=_0x286527(0x1d7),Xr=_0x286527(0x1be),Qr=_0x286527(0x1c7);export class AIChatResourcesBalloonView{[_0x286527(0x1de)]=new Map();[_0x286527(0x1ba)];[_0x286527(0x1ef)];[_0x286527(0x1da)];constructor(_0x1c4b51,_0x5bd866,_0xf50a64){const _0x2abba5=_0x286527;this[_0x2abba5(0x1ef)]=_0x1c4b51,this[_0x2abba5(0x1ba)]=_0x5bd866,this[_0x2abba5(0x1da)]=_0xf50a64;}[_0x286527(0x1bd)](_0x1529ef){const _0x5d1318=_0x286527;let _0x2f4fb5=this[_0x5d1318(0x1de)][_0x5d1318(0x1df)](_0x1529ef['id']);_0x2f4fb5||(_0x2f4fb5=this[_0x5d1318(0x1d0)](),this[_0x5d1318(0x1de)][_0x5d1318(0x1b8)](_0x1529ef['id'],_0x2f4fb5),this[_0x5d1318(0x1d8)](_0x2f4fb5)),this[_0x5d1318(0x1d2)](_0x2f4fb5,_0x1529ef),_0x2f4fb5[_0x5d1318(0x1ec)]();const _0x261176=this[_0x5d1318(0x1da)][_0x5d1318(0x1c6)]();_0x261176&&_0x2f4fb5[_0x5d1318(0x1cb)]({'target':_0x261176,'limiter':this[_0x5d1318(0x1da)][_0x5d1318(0x1f3)]()});}[_0x286527(0x1f0)](_0x33ebe7,_0x3ca563,_0x2551ca){const _0x489298=_0x286527,_0x1cf82e=this[_0x489298(0x1de)][_0x489298(0x1df)](_0x33ebe7);if(!_0x1cf82e)return;const _0x331db3=this[_0x489298(0x1c2)](_0x1cf82e);_0x331db3&&(_0x331db3[_0x489298(0x1db)](_0x3ca563,_0x2551ca),_0x331db3[_0x489298(0x1b6)](_0x489298(0x1cd),()=>{const _0x76186f=_0x489298;_0x1cf82e[_0x76186f(0x1cb)]({'target':this[_0x76186f(0x1da)][_0x76186f(0x1c6)](),'limiter':this[_0x76186f(0x1da)][_0x76186f(0x1f3)]()});}));}[_0x286527(0x1d9)](_0x2cdfa3){const _0x4695c9=_0x286527,_0x24f32c=this[_0x4695c9(0x1de)][_0x4695c9(0x1df)](_0x2cdfa3);_0x24f32c&&requestAnimationFrame(()=>{const _0x20373c=_0x4695c9;_0x24f32c[_0x20373c(0x1dd)](),this[_0x20373c(0x1de)][_0x20373c(0x1bc)](_0x2cdfa3),this[_0x20373c(0x1da)][_0x20373c(0x1d6)]();});}[_0x286527(0x1c4)](){const _0x58b4ae=_0x286527;for(const _0x5ebce4 of this[_0x58b4ae(0x1de)][_0x58b4ae(0x1c0)]())if(_0x5ebce4[_0x58b4ae(0x1e8)])return!0x0;return!0x1;}[_0x286527(0x1e9)](_0x663c05,_0x83f4db,_0x1b103f){const _0x4acf63=_0x286527,_0x472ee9=this[_0x4acf63(0x1de)][_0x4acf63(0x1df)](_0x663c05);if(!_0x472ee9||!_0x472ee9[_0x4acf63(0x1e8)])return;const _0x486825=this[_0x4acf63(0x1da)][_0x4acf63(0x1c6)]();if(!_0x486825)return;_0x472ee9[_0x4acf63(0x1cb)]({'target':_0x486825,'limiter':this[_0x4acf63(0x1da)][_0x4acf63(0x1f3)]()});const _0x1ef5eb=this[_0x4acf63(0x1c2)](_0x472ee9);_0x1ef5eb&&_0x1ef5eb[_0x4acf63(0x1e9)](_0x83f4db,_0x1b103f);}[_0x286527(0x1bf)](){const _0x4bd8f2=_0x286527;for(const _0x5ecb7e of this[_0x4bd8f2(0x1de)][_0x4bd8f2(0x1c0)]())_0x5ecb7e[_0x4bd8f2(0x1bf)]();this[_0x4bd8f2(0x1de)][_0x4bd8f2(0x1c1)]();}[_0x286527(0x1d0)](){const _0x106a9a=_0x286527,_0x4ad0ce=new _0x28fb17(this[_0x106a9a(0x1ef)]);return _0x4ad0ce[_0x106a9a(0x1c3)]({'attributes':{'class':Nr}}),this[_0x106a9a(0x1ba)][_0x106a9a(0x1d1)](_0x4ad0ce),_0x4ad0ce;}[_0x286527(0x1d2)](_0x4ccfe0,_0x2996ec){const _0x45b856=_0x286527;_0x4ccfe0[_0x45b856(0x1ed)][_0x45b856(0x1c1)]();const _0x4608d1=this[_0x45b856(0x1cc)](_0x4ccfe0,_0x2996ec);_0x4ccfe0[_0x45b856(0x1ed)][_0x45b856(0x1d1)](_0x4608d1);const _0x3349a2=this[_0x45b856(0x1cf)](_0x2996ec);_0x4ccfe0[_0x45b856(0x1ed)][_0x45b856(0x1d1)](_0x3349a2);}[_0x286527(0x1cc)](_0x156ba9,_0xb4e548){const _0xcbb9da=_0x286527,_0x10c788=this[_0xcbb9da(0x1c8)](_0x156ba9),_0x25593a=new _0x3cec90(this[_0xcbb9da(0x1ef)],{'label':_0xb4e548[_0xcbb9da(0x1e0)],'class':Qr});return _0x25593a[_0xcbb9da(0x1b7)][_0xcbb9da(0x1d1)](_0x10c788,0x0),_0x25593a;}[_0x286527(0x1c8)](_0x4b2823){const _0x4536f5=_0x286527,_0x1f7e17=new _0x660397(this[_0x4536f5(0x1ef)]);return _0x1f7e17[_0x4536f5(0x1b8)]({'icon':_0x30eab1,'tooltip':_0x654dbe(this[_0x4536f5(0x1ef)],_0x4536f5(0x1bb)),'tooltipPosition':'n','class':Xr}),_0x1f7e17['on'](_0x4536f5(0x1e5),()=>{const _0x24a90c=_0x4536f5;_0x4b2823[_0x24a90c(0x1dd)](),this[_0x24a90c(0x1da)][_0x24a90c(0x1e6)]();}),_0x1f7e17;}[_0x286527(0x1cf)](_0x1d0c9f){const _0x320077=_0x286527,_0x214d63=new _0x509115(this[_0x320077(0x1ef)],{'source':_0x1d0c9f,'searchInputVisibleFrom':this[_0x320077(0x1da)][_0x320077(0x1e7)]});return _0x214d63['on'](_0x320077(0x1dc),(_0x14b1a6,_0x125744)=>{const _0x507849=_0x320077;this[_0x507849(0x1da)][_0x507849(0x1f2)](_0x125744);}),_0x214d63['on'](_0x320077(0x1e1),(_0xe6ca94,_0x3ae19d)=>{const _0x3b3b11=_0x320077;this[_0x3b3b11(0x1da)][_0x3b3b11(0x1d3)](_0x3ae19d[_0x3b3b11(0x1e3)],_0x3ae19d[_0x3b3b11(0x1e2)]),this[_0x3b3b11(0x1d9)](_0x1d0c9f['id']);}),_0x214d63;}[_0x286527(0x1c2)](_0x50e696){const _0x56f951=_0x286527,_0x2a3bba=_0x50e696[_0x56f951(0x1ed)][_0x56f951(0x1df)](0x1);return _0x2a3bba instanceof _0x509115?_0x2a3bba:null;}[_0x286527(0x1d8)](_0xf84aed){const _0x4dd89f=_0x286527;_0x4f46bc({'emitter':_0xf84aed,'contextElements':[_0xf84aed[_0x4dd89f(0x1d4)]],'callback':()=>{const _0x5919b8=_0x4dd89f;_0xf84aed[_0x5919b8(0x1dd)](),this[_0x5919b8(0x1da)][_0x5919b8(0x1d6)]();},'activator':()=>_0xf84aed[_0x4dd89f(0x1e8)]});}}function _0x4768(_0x19511b,_0x3400b9){const _0x1d6e94=_0x1d6e();return _0x4768=function(_0x476820,_0x2bd616){_0x476820=_0x476820-0x1b6;let _0x2c4a6a=_0x1d6e94[_0x476820];return _0x2c4a6a;},_0x4768(_0x19511b,_0x3400b9);}function _0x1d6e(){const _0x5ecd62=['updateResourceState','1737548VzmNHZ','1141910MwMBIs','show','content','16WGCcEE','_locale','populateSourceResourceBalloon','226mNJwFC','onLoadSourceResources','getLimiterElement','once','children','set','159850IhSfvN','_bodyCollection','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','delete','showSourceResourcesBalloon','ck-button-icon\x20ck-button-back','destroy','values','clear','_getResourcesViewFromBalloon','extendTemplate','isAnyResourceBalloonVisible','94bipAwH','getTargetElement','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_createBackButton','1670ITdVAs','3wxNNNk','pin','_createBalloonHeader','change:isLoading','1855188AVYUaQ','_createBalloonResourcesView','_createSourceResourceBalloonPanel','add','_addSourceResourceContent','onResourceSelected','element','810630yDFTtb','onBalloonClosed','ck-ai-chat-context-controls__source-balloon-panel','_setupSingleResourceBalloonClickOutsideHandler','closeSourceResourceBalloon','_config','setResources','loadSourceResources','hide','_sourceResourceBalloons','get','label','addResourceToContext','resource','source','53119ePLcZo','execute','onBackToContext','searchInputVisibleFrom','isVisible'];_0x1d6e=function(){return _0x5ecd62;};return _0x1d6e();}
23
+ const _0x502189=_0x40f6;(function(_0x5219a4,_0x170030){const _0x35beba=_0x40f6,_0x1c5062=_0x5219a4();while(!![]){try{const _0x112e4f=parseInt(_0x35beba(0x1bc))/0x1+-parseInt(_0x35beba(0x1b5))/0x2+-parseInt(_0x35beba(0x188))/0x3*(-parseInt(_0x35beba(0x1b4))/0x4)+parseInt(_0x35beba(0x189))/0x5*(parseInt(_0x35beba(0x1a0))/0x6)+parseInt(_0x35beba(0x1a9))/0x7+parseInt(_0x35beba(0x1bf))/0x8+parseInt(_0x35beba(0x186))/0x9*(-parseInt(_0x35beba(0x1af))/0xa);if(_0x112e4f===_0x170030)break;else _0x1c5062['push'](_0x1c5062['shift']());}catch(_0x16063e){_0x1c5062['push'](_0x1c5062['shift']());}}}(_0x2b83,0xb6091));function _0x2b83(){const _0x5b96b9=['populateSourceResourceBalloon','_config','onResourceSelected','onBackToContext','getTargetElement','805700sjeBiA','_locale','change:isLoading','execute','loadSourceResources','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','70bqyFdZ','_createBalloonHeader','addResourceToContext','delete','element','12232zfwmLB','1851384TSckNN','destroy','_addSourceResourceContent','_bodyCollection','_getResourcesViewFromBalloon','once','set','996601KYPJXN','children','_setupSingleResourceBalloonClickOutsideHandler','7459088xDAzvS','onBalloonClosed','getLimiterElement','isVisible','2736225OtVdXq','get','348jKKmHk','5ctAVss','searchInputVisibleFrom','hide','values','setResources','resource','extendTemplate','_sourceResourceBalloons','_createSourceResourceBalloonPanel','pin','isAnyResourceBalloonVisible','_createBackButton','ck-ai-chat-context-controls__source-balloon-panel','source','updateResourceState','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','onLoadSourceResources','showSourceResourcesBalloon','ck-button-icon\x20ck-button-back','closeSourceResourceBalloon','_createBalloonResourcesView','clear','label','8404014GFBtRd','content','add','show'];_0x2b83=function(){return _0x5b96b9;};return _0x2b83();}import{BalloonPanelView as _0x292c7b,ButtonView as _0x139a9c,clickOutsideHandler as _0x4cce64,FormHeaderView as _0x4560ee}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x4babc6}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0xcc227f}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x3d5c58}from'./aichatcontextresourcesview.js';const Nr=_0x502189(0x195),Xr=_0x502189(0x19b),Kr=_0x502189(0x1ae);function _0x40f6(_0x32309f,_0xa300c1){const _0x2b8372=_0x2b83();return _0x40f6=function(_0x40f601,_0x320d8a){_0x40f601=_0x40f601-0x183;let _0x335d98=_0x2b8372[_0x40f601];return _0x335d98;},_0x40f6(_0x32309f,_0xa300c1);}export class AIChatResourcesBalloonView{[_0x502189(0x190)]=new Map();[_0x502189(0x1b8)];[_0x502189(0x1aa)];[_0x502189(0x1a5)];constructor(_0x2ef2f7,_0x3bed02,_0x1bddcb){const _0x253396=_0x502189;this[_0x253396(0x1aa)]=_0x2ef2f7,this[_0x253396(0x1b8)]=_0x3bed02,this[_0x253396(0x1a5)]=_0x1bddcb;}[_0x502189(0x19a)](_0x18b369){const _0x20666b=_0x502189;let _0x45a0f1=this[_0x20666b(0x190)][_0x20666b(0x187)](_0x18b369['id']);_0x45a0f1||(_0x45a0f1=this[_0x20666b(0x191)](),this[_0x20666b(0x190)][_0x20666b(0x1bb)](_0x18b369['id'],_0x45a0f1),this[_0x20666b(0x1be)](_0x45a0f1)),this[_0x20666b(0x1b7)](_0x45a0f1,_0x18b369),_0x45a0f1[_0x20666b(0x1a3)]();const _0x283c91=this[_0x20666b(0x1a5)][_0x20666b(0x1a8)]();_0x283c91&&_0x45a0f1[_0x20666b(0x192)]({'target':_0x283c91,'limiter':this[_0x20666b(0x1a5)][_0x20666b(0x184)]()});}[_0x502189(0x1a4)](_0x590cbc,_0x11fdf1,_0x2d9ca0){const _0x954f85=_0x502189,_0x44156d=this[_0x954f85(0x190)][_0x954f85(0x187)](_0x590cbc);if(!_0x44156d)return;const _0x49328b=this[_0x954f85(0x1b9)](_0x44156d);_0x49328b&&(_0x49328b[_0x954f85(0x18d)](_0x11fdf1,_0x2d9ca0),_0x49328b[_0x954f85(0x1ba)](_0x954f85(0x1ab),()=>{const _0x154baa=_0x954f85;_0x44156d[_0x154baa(0x192)]({'target':this[_0x154baa(0x1a5)][_0x154baa(0x1a8)](),'limiter':this[_0x154baa(0x1a5)][_0x154baa(0x184)]()});}));}[_0x502189(0x19c)](_0x51d854){const _0x45fc67=_0x502189,_0x83bdf0=this[_0x45fc67(0x190)][_0x45fc67(0x187)](_0x51d854);_0x83bdf0&&requestAnimationFrame(()=>{const _0x58eb33=_0x45fc67;_0x83bdf0[_0x58eb33(0x18b)](),this[_0x58eb33(0x190)][_0x58eb33(0x1b2)](_0x51d854),this[_0x58eb33(0x1a5)][_0x58eb33(0x183)]();});}[_0x502189(0x193)](){const _0x477029=_0x502189;for(const _0x4c98b6 of this[_0x477029(0x190)][_0x477029(0x18c)]())if(_0x4c98b6[_0x477029(0x185)])return!0x0;return!0x1;}[_0x502189(0x197)](_0x528504,_0x47ad68,_0x11439e){const _0x5dd7ca=_0x502189,_0x174e0d=this[_0x5dd7ca(0x190)][_0x5dd7ca(0x187)](_0x528504);if(!_0x174e0d||!_0x174e0d[_0x5dd7ca(0x185)])return;const _0x11247b=this[_0x5dd7ca(0x1a5)][_0x5dd7ca(0x1a8)]();if(!_0x11247b)return;_0x174e0d[_0x5dd7ca(0x192)]({'target':_0x11247b,'limiter':this[_0x5dd7ca(0x1a5)][_0x5dd7ca(0x184)]()});const _0x5912bd=this[_0x5dd7ca(0x1b9)](_0x174e0d);_0x5912bd&&_0x5912bd[_0x5dd7ca(0x197)](_0x47ad68,_0x11439e);}[_0x502189(0x1b6)](){const _0x39f4ba=_0x502189;for(const _0x3e9504 of this[_0x39f4ba(0x190)][_0x39f4ba(0x18c)]())_0x3e9504[_0x39f4ba(0x1b6)]();this[_0x39f4ba(0x190)][_0x39f4ba(0x19e)]();}[_0x502189(0x191)](){const _0x3be636=_0x502189,_0x576331=new _0x292c7b(this[_0x3be636(0x1aa)]);return _0x576331[_0x3be636(0x18f)]({'attributes':{'class':Nr}}),this[_0x3be636(0x1b8)][_0x3be636(0x1a2)](_0x576331),_0x576331;}[_0x502189(0x1b7)](_0x1a90a7,_0x25485a){const _0x18805e=_0x502189;_0x1a90a7[_0x18805e(0x1a1)][_0x18805e(0x19e)]();const _0x377bc8=this[_0x18805e(0x1b0)](_0x1a90a7,_0x25485a);_0x1a90a7[_0x18805e(0x1a1)][_0x18805e(0x1a2)](_0x377bc8);const _0x52d445=this[_0x18805e(0x19d)](_0x25485a);_0x1a90a7[_0x18805e(0x1a1)][_0x18805e(0x1a2)](_0x52d445);}[_0x502189(0x1b0)](_0x2ecb99,_0x4d3388){const _0x25e49b=_0x502189,_0x4283b4=this[_0x25e49b(0x194)](_0x2ecb99),_0x4aa1fb=new _0x4560ee(this[_0x25e49b(0x1aa)],{'label':_0x4d3388[_0x25e49b(0x19f)],'class':Kr});return _0x4aa1fb[_0x25e49b(0x1bd)][_0x25e49b(0x1a2)](_0x4283b4,0x0),_0x4aa1fb;}[_0x502189(0x194)](_0x2bcf06){const _0xdc3882=_0x502189,_0x37c21d=new _0x139a9c(this[_0xdc3882(0x1aa)]);return _0x37c21d[_0xdc3882(0x1bb)]({'icon':_0x4babc6,'tooltip':_0xcc227f(this[_0xdc3882(0x1aa)],_0xdc3882(0x198)),'tooltipPosition':'n','class':Xr}),_0x37c21d['on'](_0xdc3882(0x1ac),()=>{const _0x25cf28=_0xdc3882;_0x2bcf06[_0x25cf28(0x18b)](),this[_0x25cf28(0x1a5)][_0x25cf28(0x1a7)]();}),_0x37c21d;}[_0x502189(0x19d)](_0x4fc19e){const _0x591492=_0x502189,_0x37bf86=new _0x3d5c58(this[_0x591492(0x1aa)],{'source':_0x4fc19e,'searchInputVisibleFrom':this[_0x591492(0x1a5)][_0x591492(0x18a)]});return _0x37bf86['on'](_0x591492(0x1ad),(_0x32271c,_0x3392ef)=>{const _0x1fc7da=_0x591492;this[_0x1fc7da(0x1a5)][_0x1fc7da(0x199)](_0x3392ef);}),_0x37bf86['on'](_0x591492(0x1b1),(_0x40d65b,_0x839539)=>{const _0x5160aa=_0x591492;this[_0x5160aa(0x1a5)][_0x5160aa(0x1a6)](_0x839539[_0x5160aa(0x196)],_0x839539[_0x5160aa(0x18e)]),this[_0x5160aa(0x19c)](_0x4fc19e['id']);}),_0x37bf86;}[_0x502189(0x1b9)](_0x12503b){const _0x5f362e=_0x502189,_0x2e50ad=_0x12503b[_0x5f362e(0x1a1)][_0x5f362e(0x187)](0x1);return _0x2e50ad instanceof _0x3d5c58?_0x2e50ad:null;}[_0x502189(0x1be)](_0x229eaa){const _0x1f8032=_0x502189;_0x4cce64({'emitter':_0x229eaa,'contextElements':[_0x229eaa[_0x1f8032(0x1b3)]],'callback':()=>{const _0x28b7da=_0x1f8032;_0x229eaa[_0x28b7da(0x18b)](),this[_0x28b7da(0x1a5)][_0x28b7da(0x183)]();},'activator':()=>_0x229eaa[_0x1f8032(0x185)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x1ece59,IconView as _0x265611,LabeledFieldView as _0x2dab4f,createLabeledInputText as _0x5a5cb7}from'ckeditor5/src/ui.js';import{IconLoupe as _0x144f3f,IconCancel as _0x25af08}from'ckeditor5/src/icons.js';import{getTranslation as _0x82dffd}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x2dab4f{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x212b52){const t=_0x212b52['t'],_0x5906a2={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x5a5cb7,'label':_0x82dffd(_0x212b52,'AI_CHAT_SEARCH_RESOURCES')};super(_0x212b52,_0x5906a2['creator']),this['label']=_0x5906a2['label'],this['_viewConfig']=_0x5906a2,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x212b52,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x1fe238){this['fire']('search',_0x1fe238);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x265611(),this['iconView']['content']=_0x144f3f,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x1153db,t){this['resetButtonView']=new _0x1ece59(_0x1153db),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x25af08,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x24c28c=>!_0x24c28c),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
23
+ import{ButtonView as _0x4d8c3a,IconView as _0x10c657,LabeledFieldView as _0x1eee8,createLabeledInputText as _0x10806f}from'ckeditor5/src/ui.js';import{IconLoupe as _0x673375,IconCancel as _0x36b030}from'ckeditor5/src/icons.js';import{getTranslation as _0xe90aa7}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x1eee8{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x35f014){const t=_0x35f014['t'],_0x1da6d1={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x10806f,'label':_0xe90aa7(_0x35f014,'AI_CHAT_SEARCH_RESOURCES')};super(_0x35f014,_0x1da6d1['creator']),this['label']=_0x1da6d1['label'],this['_viewConfig']=_0x1da6d1,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x35f014,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x45333d){this['fire']('search',_0x45333d);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x10c657(),this['iconView']['content']=_0x673375,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x16078c,t){this['resetButtonView']=new _0x4d8c3a(_0x16078c),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x36b030,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x379ba4=>!_0x379ba4),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32c4fe=_0x2f36;(function(_0x361a21,_0x134b80){const _0x547a72=_0x2f36,_0x381dad=_0x361a21();while(!![]){try{const _0x47581e=-parseInt(_0x547a72(0xda))/0x1+parseInt(_0x547a72(0xe6))/0x2*(parseInt(_0x547a72(0xf6))/0x3)+-parseInt(_0x547a72(0xee))/0x4+parseInt(_0x547a72(0xdf))/0x5*(parseInt(_0x547a72(0xf1))/0x6)+-parseInt(_0x547a72(0xf3))/0x7+parseInt(_0x547a72(0xe0))/0x8+-parseInt(_0x547a72(0xd9))/0x9*(parseInt(_0x547a72(0xe8))/0xa);if(_0x47581e===_0x134b80)break;else _0x381dad['push'](_0x381dad['shift']());}catch(_0x2142f7){_0x381dad['push'](_0x381dad['shift']());}}}(_0x2364,0xb7894));function _0x2f36(_0x29cab4,_0x13d2a7){const _0x236446=_0x2364();return _0x2f36=function(_0x2f364c,_0x4f8d4a){_0x2f364c=_0x2f364c-0xd7;let _0x45c4ca=_0x236446[_0x2f364c];return _0x45c4ca;},_0x2f36(_0x29cab4,_0x13d2a7);}import{View as _0x3bdb07}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x226025}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x57b8fa}from'../controls/aichatchipsoverflowmanager.js';function _0x2364(){const _0x314e1c=['_contextChips','querySelector','26073RvwFDh','ck-ai-chat-context-chips-wrapper-balloon','setContainerElement','90ftlhmY','519232ADeJUr','element','_createContextChips','div','locale','4285IDyFZB','11879072MKJLYT','_overflowManager','_bodyCollection','setTemplate','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls-button','202TjBEur','ck-ai-chat__feed__context-chips','561970LFdCQk','ck-ai-chat-controls_context_show-more-button','ck-reset_all','reorganizeChips','render','ck-ai-chat-context-controls__show-more-balloon-panel','4577912wQObVl','add','destroy','9084nyUKkT','createCollection','4779103hGLUUA'];_0x2364=function(){return _0x314e1c;};return _0x2364();}const $o=_0x32c4fe(0xe7),Ko=_0x32c4fe(0xe4),Qo=_0x32c4fe(0xd7),Uo=_0x32c4fe(0xe5),No=_0x32c4fe(0xe9),Oo=_0x32c4fe(0xed);export class AIChatFeedContextChipsView extends _0x3bdb07{[_0x32c4fe(0xf4)]=this[_0x32c4fe(0xf2)]();[_0x32c4fe(0xe1)];[_0x32c4fe(0xe2)];constructor(_0x4e8349,_0x3292e3,_0x2ae33a){const _0x42009b=_0x32c4fe;super(_0x4e8349),this[_0x42009b(0xe2)]=_0x2ae33a,this[_0x42009b(0xdc)](_0x3292e3);const _0x1c61b5={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x42009b(0xe1)]=new _0x57b8fa(_0x4e8349,this[_0x42009b(0xf4)],_0x1c61b5,this[_0x42009b(0xe2)],this),this[_0x42009b(0xe3)]({'tag':_0x42009b(0xdd),'attributes':{'class':[$o,'ck',_0x42009b(0xea)]},'children':[{'tag':_0x42009b(0xdd),'attributes':{'class':Ko},'children':this[_0x42009b(0xf4)]}]});}[_0x32c4fe(0xec)](){const _0x48b2cc=_0x32c4fe;super[_0x48b2cc(0xec)]();const _0xb72d3=this[_0x48b2cc(0xdb)][_0x48b2cc(0xf5)]('.'+Ko);_0xb72d3&&(this[_0x48b2cc(0xe1)][_0x48b2cc(0xd8)](_0xb72d3),this[_0x48b2cc(0xe1)][_0x48b2cc(0xeb)]());}[_0x32c4fe(0xf0)](){const _0x11a636=_0x32c4fe;super[_0x11a636(0xf0)](),this[_0x11a636(0xe1)][_0x11a636(0xf0)]();}[_0x32c4fe(0xdc)](_0xdf2415){const _0x404bbd=_0x32c4fe;for(const _0x47bbee of _0xdf2415){const _0x29adee=new _0x226025(this[_0x404bbd(0xde)],_0x47bbee,!0x0,!0x1);this[_0x404bbd(0xf4)][_0x404bbd(0xef)](_0x29adee);}}}
23
+ const _0x1bbb82=_0x2aa9;(function(_0x10ecc4,_0x46a97d){const _0x33b7fb=_0x2aa9,_0x415238=_0x10ecc4();while(!![]){try{const _0x3002cb=parseInt(_0x33b7fb(0x16e))/0x1*(parseInt(_0x33b7fb(0x15d))/0x2)+parseInt(_0x33b7fb(0x161))/0x3*(-parseInt(_0x33b7fb(0x16d))/0x4)+parseInt(_0x33b7fb(0x155))/0x5*(-parseInt(_0x33b7fb(0x16f))/0x6)+-parseInt(_0x33b7fb(0x15c))/0x7*(-parseInt(_0x33b7fb(0x164))/0x8)+-parseInt(_0x33b7fb(0x174))/0x9+parseInt(_0x33b7fb(0x168))/0xa*(-parseInt(_0x33b7fb(0x176))/0xb)+parseInt(_0x33b7fb(0x160))/0xc;if(_0x3002cb===_0x46a97d)break;else _0x415238['push'](_0x415238['shift']());}catch(_0x5696c2){_0x415238['push'](_0x415238['shift']());}}}(_0x55de,0x279e9));import{View as _0x4f5a7c}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x1bbc5}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2f4218}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x1bbb82(0x167),Qo=_0x1bbb82(0x16c),Xo=_0x1bbb82(0x166),Lo=_0x1bbb82(0x170),Oo=_0x1bbb82(0x173),Mo=_0x1bbb82(0x171);function _0x55de(){const _0x2edf02=['div','locale','7WvQyTS','4106ZQKShe','_createContextChips','createCollection','5697180ayAYUm','39iVkLMs','_bodyCollection','add','897256EtkMic','_overflowManager','ck-ai-chat-context-chips-wrapper-balloon','ck-ai-chat__feed__context-chips','10cpQQsc','reorganizeChips','render','setContainerElement','ck-ai-chat-context-chips-wrapper','37624YuqIcY','11BkxAxw','42TrIfzI','ck-ai-chat-controls-button','ck-ai-chat-context-controls__show-more-balloon-panel','setTemplate','ck-ai-chat-controls_context_show-more-button','1163232ikJMvm','ck-reset_all','279730yEVqre','121620arpwXn','element','querySelector','destroy','_contextChips'];_0x55de=function(){return _0x2edf02;};return _0x55de();}function _0x2aa9(_0x2f257c,_0x3912ac){const _0x55de83=_0x55de();return _0x2aa9=function(_0x2aa94c,_0x47c1e2){_0x2aa94c=_0x2aa94c-0x155;let _0x59deee=_0x55de83[_0x2aa94c];return _0x59deee;},_0x2aa9(_0x2f257c,_0x3912ac);}export class AIChatFeedContextChipsView extends _0x4f5a7c{[_0x1bbb82(0x159)]=this[_0x1bbb82(0x15f)]();[_0x1bbb82(0x165)];[_0x1bbb82(0x162)];constructor(_0x32e514,_0x41f70b,_0x14c4fe){const _0xb49b05=_0x1bbb82;super(_0x32e514),this[_0xb49b05(0x162)]=_0x14c4fe,this[_0xb49b05(0x15e)](_0x41f70b);const _0x47cb00={'cssClasses':{'showMoreButton':Oo,'showMoreBalloon':Mo,'overflowContainer':Xo,'controlsButton':Lo}};this[_0xb49b05(0x165)]=new _0x2f4218(_0x32e514,this[_0xb49b05(0x159)],_0x47cb00,this[_0xb49b05(0x162)],this),this[_0xb49b05(0x172)]({'tag':_0xb49b05(0x15a),'attributes':{'class':[$o,'ck',_0xb49b05(0x175)]},'children':[{'tag':_0xb49b05(0x15a),'attributes':{'class':Qo},'children':this[_0xb49b05(0x159)]}]});}[_0x1bbb82(0x16a)](){const _0x528fb0=_0x1bbb82;super[_0x528fb0(0x16a)]();const _0x309eaf=this[_0x528fb0(0x156)][_0x528fb0(0x157)]('.'+Qo);_0x309eaf&&(this[_0x528fb0(0x165)][_0x528fb0(0x16b)](_0x309eaf),this[_0x528fb0(0x165)][_0x528fb0(0x169)]());}[_0x1bbb82(0x158)](){const _0x3e104d=_0x1bbb82;super[_0x3e104d(0x158)](),this[_0x3e104d(0x165)][_0x3e104d(0x158)]();}[_0x1bbb82(0x15e)](_0x206da1){const _0x4e67ce=_0x1bbb82;for(const _0x300b13 of _0x206da1){const _0x18cd0a=new _0x1bbc5(this[_0x4e67ce(0x15b)],_0x300b13,!0x0,!0x1);this[_0x4e67ce(0x159)][_0x4e67ce(0x163)](_0x18cd0a);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c70f1=_0x57ba;(function(_0x4f71ef,_0x5e845b){const _0x318544=_0x57ba,_0x32e6cd=_0x4f71ef();while(!![]){try{const _0x2b2971=parseInt(_0x318544(0x18b))/0x1*(parseInt(_0x318544(0x18c))/0x2)+parseInt(_0x318544(0x18d))/0x3+-parseInt(_0x318544(0x180))/0x4+parseInt(_0x318544(0x182))/0x5*(parseInt(_0x318544(0x192))/0x6)+parseInt(_0x318544(0x184))/0x7*(parseInt(_0x318544(0x199))/0x8)+parseInt(_0x318544(0x194))/0x9*(parseInt(_0x318544(0x191))/0xa)+-parseInt(_0x318544(0x196))/0xb;if(_0x2b2971===_0x5e845b)break;else _0x32e6cd['push'](_0x32e6cd['shift']());}catch(_0x59596d){_0x32e6cd['push'](_0x32e6cd['shift']());}}}(_0x2bbb,0x686a3));function _0x2bbb(){const _0x2a2a9d=['1076418lYCTRf','div','10756713XlOhms','ck-hidden','children','1256iUWIyt','content','149096jaYIdd','push','5OWIgLL','capabilities','13853dNBLCt','setTemplate','span','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','2650LQjHNE','244ZiVgoI','432243xkHMYD','add','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header','50RvlNhF','400476ZAbTXm','extendTemplate'];_0x2bbb=function(){return _0x2a2a9d;};return _0x2bbb();}import{IconBulb as _0xefcdf5,IconWeb as _0x369279}from'@ckeditor/ckeditor5-icons';function _0x57ba(_0x1721e6,_0xc8b21c){const _0x2bbb3a=_0x2bbb();return _0x57ba=function(_0x57ba5d,_0x589c37){_0x57ba5d=_0x57ba5d-0x180;let _0xc3fde8=_0x2bbb3a[_0x57ba5d];return _0xc3fde8;},_0x57ba(_0x1721e6,_0xc8b21c);}import{IconView as _0x3336e3,View as _0x12304b}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x4bef83}from'./aichatfeeditemview.js';import{getTranslation as _0x18239f}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x4bef83{[_0x1c70f1(0x183)];constructor(_0x442a64,_0x287286){const _0x591c43=_0x1c70f1;super(_0x287286);const {isWebSearchEnabled:_0x47c5a0,isReasoningEnabled:_0x2433eb}=_0x287286[_0x591c43(0x183)],_0x312672=[];let _0x25aa23='';_0x47c5a0&&_0x2433eb?(_0x25aa23=_0x18239f(_0x442a64,_0x591c43(0x188)),_0x312672[_0x591c43(0x181)](aa(_0x369279)),_0x312672[_0x591c43(0x181)](aa(_0xefcdf5))):_0x47c5a0?(_0x25aa23=_0x18239f(_0x442a64,_0x591c43(0x18a)),_0x312672[_0x591c43(0x181)](aa(_0x369279))):_0x2433eb&&(_0x25aa23=_0x18239f(_0x442a64,_0x591c43(0x18f)),_0x312672[_0x591c43(0x181)](aa(_0xefcdf5))),this[_0x591c43(0x193)]({'attributes':{'class':[_0x591c43(0x190),_0x25aa23?'':_0x591c43(0x197)]}});const _0x54e516=new _0x12304b();_0x54e516[_0x591c43(0x185)]({'tag':_0x591c43(0x195),'attributes':{'class':['ck',_0x591c43(0x189)]},'children':[..._0x312672,{'tag':_0x591c43(0x186),'attributes':{'class':[_0x591c43(0x187)]},'children':[_0x25aa23]}]}),this[_0x591c43(0x198)][_0x591c43(0x18e)](_0x54e516),this[_0x591c43(0x183)]=_0x287286[_0x591c43(0x183)];}}function aa(_0x23788e){const _0x54497d=_0x1c70f1,_0x2b6d35=new _0x3336e3();return _0x2b6d35[_0x54497d(0x19a)]=_0x23788e,_0x2b6d35;}
23
+ function _0x45c8(){const _0x1a775f=['25717626jBUvBI','774QpsQgz','ck-ai-chat__feed__interaction-header','ck-hidden','3298869BTygDr','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','905AhDnEs','children','capabilities','2556htLHkl','21596PdhDuY','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','setTemplate','content','add','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-ai-chat__feed__interaction-header__capabilities','extendTemplate','3782172agWusg','push','div','span','9426472eYmHBa','567023eCcZth'];_0x45c8=function(){return _0x1a775f;};return _0x45c8();}const _0x47e59f=_0x1f51;(function(_0x33d50c,_0x5ee9cf){const _0x32fcce=_0x1f51,_0x3106f7=_0x33d50c();while(!![]){try{const _0x4da824=parseInt(_0x32fcce(0x1dd))/0x1+-parseInt(_0x32fcce(0x1df))/0x2*(parseInt(_0x32fcce(0x1e7))/0x3)+parseInt(_0x32fcce(0x1e8))/0x4*(-parseInt(_0x32fcce(0x1e4))/0x5)+-parseInt(_0x32fcce(0x1f1))/0x6+parseInt(_0x32fcce(0x1e2))/0x7+-parseInt(_0x32fcce(0x1f5))/0x8+parseInt(_0x32fcce(0x1de))/0x9;if(_0x4da824===_0x5ee9cf)break;else _0x3106f7['push'](_0x3106f7['shift']());}catch(_0xe2e6a6){_0x3106f7['push'](_0x3106f7['shift']());}}}(_0x45c8,0xbe79e));import{IconBulb as _0x1a731b,IconWeb as _0x56d5ad}from'@ckeditor/ckeditor5-icons';import{IconView as _0xb8a6fa,View as _0x13e159}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x26b1cc}from'./aichatfeeditemview.js';import{getTranslation as _0x31bb93}from'../../../aicore/utils/common-translations.js';function _0x1f51(_0x43e2c3,_0x457594){const _0x45c8fe=_0x45c8();return _0x1f51=function(_0x1f5114,_0x105254){_0x1f5114=_0x1f5114-0x1dd;let _0x1e6cbd=_0x45c8fe[_0x1f5114];return _0x1e6cbd;},_0x1f51(_0x43e2c3,_0x457594);}export class AIChatFeedInteractionHeaderView extends _0x26b1cc{[_0x47e59f(0x1e6)];constructor(_0x3fe255,_0x4c4a69){const _0x3ec9a5=_0x47e59f;super(_0x4c4a69);const {isWebSearchEnabled:_0x3cc89f,isReasoningEnabled:_0x1e84a5}=_0x4c4a69[_0x3ec9a5(0x1e6)],_0x38261e=[];let _0x102b92='';_0x3cc89f&&_0x1e84a5?(_0x102b92=_0x31bb93(_0x3fe255,_0x3ec9a5(0x1e3)),_0x38261e[_0x3ec9a5(0x1f2)](aa(_0x56d5ad)),_0x38261e[_0x3ec9a5(0x1f2)](aa(_0x1a731b))):_0x3cc89f?(_0x102b92=_0x31bb93(_0x3fe255,_0x3ec9a5(0x1ee)),_0x38261e[_0x3ec9a5(0x1f2)](aa(_0x56d5ad))):_0x1e84a5&&(_0x102b92=_0x31bb93(_0x3fe255,_0x3ec9a5(0x1e9)),_0x38261e[_0x3ec9a5(0x1f2)](aa(_0x1a731b))),this[_0x3ec9a5(0x1f0)]({'attributes':{'class':[_0x3ec9a5(0x1e0),_0x102b92?'':_0x3ec9a5(0x1e1)]}});const _0x4ec6e9=new _0x13e159();_0x4ec6e9[_0x3ec9a5(0x1ea)]({'tag':_0x3ec9a5(0x1f3),'attributes':{'class':['ck',_0x3ec9a5(0x1ef)]},'children':[..._0x38261e,{'tag':_0x3ec9a5(0x1f4),'attributes':{'class':[_0x3ec9a5(0x1ed)]},'children':[_0x102b92]}]}),this[_0x3ec9a5(0x1e5)][_0x3ec9a5(0x1ec)](_0x4ec6e9),this[_0x3ec9a5(0x1e6)]=_0x4c4a69[_0x3ec9a5(0x1e6)];}}function aa(_0x4e414d){const _0x58c567=_0x47e59f,_0xa87432=new _0xb8a6fa();return _0xa87432[_0x58c567(0x1eb)]=_0x4e414d,_0xa87432;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4aa0(_0xa22505,_0x887a16){const _0x3e2b90=_0x3e2b();return _0x4aa0=function(_0x4aa0f0,_0x2854ae){_0x4aa0f0=_0x4aa0f0-0x6c;let _0x17fd4e=_0x3e2b90[_0x4aa0f0];return _0x17fd4e;},_0x4aa0(_0xa22505,_0x887a16);}const _0x579ce5=_0x4aa0;(function(_0x3461a2,_0x5874c1){const _0x5b6432=_0x4aa0,_0x55d08a=_0x3461a2();while(!![]){try{const _0x32592a=-parseInt(_0x5b6432(0x75))/0x1+-parseInt(_0x5b6432(0x71))/0x2+parseInt(_0x5b6432(0x7f))/0x3*(-parseInt(_0x5b6432(0x77))/0x4)+-parseInt(_0x5b6432(0x84))/0x5*(parseInt(_0x5b6432(0x81))/0x6)+-parseInt(_0x5b6432(0x8a))/0x7+parseInt(_0x5b6432(0x73))/0x8+-parseInt(_0x5b6432(0x76))/0x9*(-parseInt(_0x5b6432(0x8d))/0xa);if(_0x32592a===_0x5874c1)break;else _0x55d08a['push'](_0x55d08a['shift']());}catch(_0x309c35){_0x55d08a['push'](_0x55d08a['shift']());}}}(_0x3e2b,0x99cab));function _0x3e2b(){const _0x4625b6=['markAsDone','htmlStreamer','3xILRMF','options','6xZrEnr','cleanUpAnimations','element','1997360UbLCCg','createCollection','forEach','isDone','setTemplate','ck-ai-chat__feed__text-item','1372238ImkNLV','querySelectorAll','data-id','34085110ALlGOi','ck-ai-chat__feed__item_done','streamIntoElement','content','ck-hidden','ck-ai-chat__feed__item','stream','[data-id]','1933898LbSUWm','set','102912iVsFUq','animation:\x20ck-html-streamer-fade-in\x20.5s','675332rSyKOP','9fUyKnt','2214628nOZceT','div','children','isVisible','removeAttribute','bindTemplate'];_0x3e2b=function(){return _0x4625b6;};return _0x3e2b();}import{View as _0xb9611f}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x583668}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0xb9611f{[_0x579ce5(0x80)];[_0x579ce5(0x6c)]='';[_0x579ce5(0x7e)];[_0x579ce5(0x79)];constructor(_0x163d6b){const _0x4f8563=_0x579ce5;super();const _0x504e89=this[_0x4f8563(0x7c)];this[_0x4f8563(0x72)](_0x4f8563(0x87),!0x1),this[_0x4f8563(0x72)](_0x4f8563(0x7a),!0x0),this[_0x4f8563(0x7e)]=new _0x583668({'textNodeStyle':_0x4f8563(0x74),'delay':0x14}),this[_0x4f8563(0x80)]=_0x163d6b,this[_0x4f8563(0x79)]=this[_0x4f8563(0x85)](),this[_0x4f8563(0x88)]({'tag':_0x4f8563(0x78),'attributes':{'class':['ck',_0x4f8563(0x6e),_0x504e89['if'](_0x4f8563(0x87),_0x4f8563(0x8e)),_0x504e89['if'](_0x4f8563(0x7a),_0x4f8563(0x6d),_0x30aa0b=>!_0x30aa0b),_0x4f8563(0x89)],'data-cke-ai-id':this[_0x4f8563(0x80)]['id']},'children':this[_0x4f8563(0x79)]});}[_0x579ce5(0x7d)](){const _0x4c6de8=_0x579ce5;this[_0x4c6de8(0x7e)][_0x4c6de8(0x82)]({'targetElement':this[_0x4c6de8(0x83)]}),this[_0x4c6de8(0x83)][_0x4c6de8(0x8b)](_0x4c6de8(0x70))[_0x4c6de8(0x86)](_0x4e632c=>{const _0x2e3921=_0x4c6de8;_0x4e632c[_0x2e3921(0x7b)](_0x2e3921(0x8c));}),this[_0x4c6de8(0x87)]=!0x0;}async[_0x579ce5(0x8f)](_0x7ddd61,_0x2bed1c,_0x3b85dc){const _0x41c376=_0x579ce5;await this[_0x41c376(0x7e)][_0x41c376(0x6f)]({'document':_0x7ddd61,'targetElement':_0x2bed1c,'abortSignal':_0x3b85dc});}}
23
+ function _0x4ef9(){const _0x19d510=['setTemplate','removeAttribute','forEach','30bDtCoR','stream','387220ALzmVC','options','content','markAsDone','isVisible','ck-ai-chat__feed__item','isDone','ck-ai-chat__feed__text-item','data-id','508890bNWLYi','8770EsLVzu','[data-id]','1187200iKerYz','3210630PCCRhh','cleanUpAnimations','children','ck-ai-chat__feed__item_done','animation:\x20ck-html-streamer-fade-in\x20.5s','createCollection','streamIntoElement','ck-hidden','271866wevsAH','603558bJbCCw','querySelectorAll','div','3VQZsHo','bindTemplate','element','htmlStreamer','25kbMPOA','set'];_0x4ef9=function(){return _0x19d510;};return _0x4ef9();}function _0x522e(_0x429859,_0x7fed7c){const _0x4ef90f=_0x4ef9();return _0x522e=function(_0x522ed9,_0x48cf56){_0x522ed9=_0x522ed9-0x145;let _0x3cdb9f=_0x4ef90f[_0x522ed9];return _0x3cdb9f;},_0x522e(_0x429859,_0x7fed7c);}const _0x15434c=_0x522e;(function(_0x4bbc2f,_0x3d71fb){const _0x4f9e41=_0x522e,_0x4bc674=_0x4bbc2f();while(!![]){try{const _0x235211=parseInt(_0x4f9e41(0x146))/0x1*(-parseInt(_0x4f9e41(0x157))/0x2)+parseInt(_0x4f9e41(0x166))/0x3*(-parseInt(_0x4f9e41(0x14d))/0x4)+parseInt(_0x4f9e41(0x156))/0x5+-parseInt(_0x4f9e41(0x14b))/0x6*(-parseInt(_0x4f9e41(0x162))/0x7)+-parseInt(_0x4f9e41(0x159))/0x8+-parseInt(_0x4f9e41(0x163))/0x9+parseInt(_0x4f9e41(0x15a))/0xa;if(_0x235211===_0x3d71fb)break;else _0x4bc674['push'](_0x4bc674['shift']());}catch(_0x55b5da){_0x4bc674['push'](_0x4bc674['shift']());}}}(_0x4ef9,0x2fa43));import{View as _0x2e035d}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x30af44}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x2e035d{[_0x15434c(0x14e)];[_0x15434c(0x14f)]='';[_0x15434c(0x145)];[_0x15434c(0x15c)];constructor(_0x570ad2){const _0x390ada=_0x15434c;super();const _0x22c860=this[_0x390ada(0x167)];this[_0x390ada(0x147)](_0x390ada(0x153),!0x1),this[_0x390ada(0x147)](_0x390ada(0x151),!0x0),this[_0x390ada(0x145)]=new _0x30af44({'textNodeStyle':_0x390ada(0x15e),'delay':0x14}),this[_0x390ada(0x14e)]=_0x570ad2,this[_0x390ada(0x15c)]=this[_0x390ada(0x15f)](),this[_0x390ada(0x148)]({'tag':_0x390ada(0x165),'attributes':{'class':['ck',_0x390ada(0x152),_0x22c860['if'](_0x390ada(0x153),_0x390ada(0x15d)),_0x22c860['if'](_0x390ada(0x151),_0x390ada(0x161),_0xf28e60=>!_0xf28e60),_0x390ada(0x154)],'data-cke-ai-id':this[_0x390ada(0x14e)]['id']},'children':this[_0x390ada(0x15c)]});}[_0x15434c(0x150)](){const _0x1d928a=_0x15434c;this[_0x1d928a(0x145)][_0x1d928a(0x15b)]({'targetElement':this[_0x1d928a(0x168)]}),this[_0x1d928a(0x168)][_0x1d928a(0x164)](_0x1d928a(0x158))[_0x1d928a(0x14a)](_0x590c55=>{const _0x29b003=_0x1d928a;_0x590c55[_0x29b003(0x149)](_0x29b003(0x155));}),this[_0x1d928a(0x153)]=!0x0;}async[_0x15434c(0x160)](_0x58c7df,_0x336cd1,_0xf09847){const _0x261392=_0x15434c;await this[_0x261392(0x145)][_0x261392(0x14c)]({'document':_0x58c7df,'targetElement':_0x336cd1,'abortSignal':_0xf09847});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd784cc=_0x572b;(function(_0x41a041,_0xe10b04){const _0x47a385=_0x572b,_0xb3a72b=_0x41a041();while(!![]){try{const _0x535b6f=-parseInt(_0x47a385(0x115))/0x1*(-parseInt(_0x47a385(0x104))/0x2)+parseInt(_0x47a385(0x10e))/0x3*(-parseInt(_0x47a385(0x114))/0x4)+parseInt(_0x47a385(0xfb))/0x5+parseInt(_0x47a385(0xf9))/0x6*(parseInt(_0x47a385(0x117))/0x7)+-parseInt(_0x47a385(0xfa))/0x8*(-parseInt(_0x47a385(0xff))/0x9)+-parseInt(_0x47a385(0x116))/0xa*(-parseInt(_0x47a385(0x100))/0xb)+-parseInt(_0x47a385(0x101))/0xc;if(_0x535b6f===_0xe10b04)break;else _0xb3a72b['push'](_0xb3a72b['shift']());}catch(_0x5c3c7f){_0xb3a72b['push'](_0xb3a72b['shift']());}}}(_0x426c,0x903f7));import{AIChatFeedItemView as _0x207cfa}from'./aichatfeeditemview.js';import{parse as _0x1431b,render as _0x598025}from'../../../aicore/utils/htmlparser.js';function _0x426c(){const _0x541944=['innerHTML','replyContainer','initialContent','260706WCJxnu','1224856YjQOiE','2750700BmgIQi','element','ck-ai-chat__feed__ai-reply','static','45zCtxeI','55KzptbS','30301044iKplVL','setTemplate','updateSources','422916VSHrtb','markAsDone','children','extendTemplate','add','ck-reset_all-excluded','locale','div','streaming','ck-ai-chat__feed__ai-reply-container','102183tNDCXQ','render','options','streamIntoElement','isVisible','map','20dLvVNE','5IFgTka','1739630rqEyYn','7WobMCh','addMany','updateContent'];_0x426c=function(){return _0x541944;};return _0x426c();}function _0x572b(_0x2c37c6,_0x129673){const _0x426cf3=_0x426c();return _0x572b=function(_0x572b59,_0x2065c2){_0x572b59=_0x572b59-0xf9;let _0x251655=_0x426cf3[_0x572b59];return _0x251655;},_0x572b(_0x2c37c6,_0x129673);}import{View as _0x397b35}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x49d34f,AIWebSourceView as _0x276f2e}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x207cfa{[_0xd784cc(0x11b)];constructor(_0x28e498,_0x2df670){const _0x258657=_0xd784cc;super(_0x2df670),this[_0x258657(0x10a)]=_0x28e498,this[_0x258657(0x107)]({'attributes':{'class':[_0x258657(0xfd)]}}),this[_0x258657(0x11b)]=new _0x397b35(),this[_0x258657(0x11b)][_0x258657(0x102)]({'tag':_0x258657(0x10b),'attributes':{'class':['ck',_0x258657(0x109),_0x258657(0x10d)]}}),this[_0x258657(0x106)][_0x258657(0x108)](this[_0x258657(0x11b)]);}async[_0xd784cc(0x10f)](){const _0x46f32b=_0xd784cc;super[_0x46f32b(0x10f)](),this[_0x46f32b(0x110)][_0x46f32b(0x11c)]&&(await this[_0x46f32b(0x119)]({'parsedContent':_0x1431b(this[_0x46f32b(0x110)][_0x46f32b(0x11c)]),'renderingStrategy':_0x46f32b(0xfe)}),this[_0x46f32b(0x105)]());}async[_0xd784cc(0x119)]({parsedContent:_0x4088e8,renderingStrategy:_0x3aa390,abortSignal:_0x1381da}){const _0x1b0eb2=_0xd784cc;_0x1b0eb2(0x10c)===_0x3aa390?await this[_0x1b0eb2(0x111)](_0x4088e8,this[_0x1b0eb2(0x11b)][_0x1b0eb2(0xfc)],_0x1381da):this[_0x1b0eb2(0x11b)][_0x1b0eb2(0xfc)][_0x1b0eb2(0x11a)]=_0x598025(_0x4088e8);}[_0xd784cc(0x103)](_0x26e395){const _0x162e92=_0xd784cc,_0x37e1c3=new _0x49d34f(this[_0x162e92(0x10a)]);_0x37e1c3[_0x162e92(0x106)][_0x162e92(0x118)](_0x26e395[_0x162e92(0x113)](_0x139aec=>new _0x276f2e(this[_0x162e92(0x10a)],_0x139aec))),_0x37e1c3[_0x162e92(0x112)]=!0x0,this[_0x162e92(0x106)][_0x162e92(0x108)](_0x37e1c3);}}
23
+ const _0x50d2ac=_0xcfcf;(function(_0x3c8a9a,_0x18b867){const _0x3f5f98=_0xcfcf,_0x191d85=_0x3c8a9a();while(!![]){try{const _0x497b77=-parseInt(_0x3f5f98(0x14c))/0x1+-parseInt(_0x3f5f98(0x165))/0x2*(-parseInt(_0x3f5f98(0x14b))/0x3)+-parseInt(_0x3f5f98(0x15e))/0x4*(-parseInt(_0x3f5f98(0x152))/0x5)+parseInt(_0x3f5f98(0x144))/0x6*(-parseInt(_0x3f5f98(0x147))/0x7)+parseInt(_0x3f5f98(0x14a))/0x8+-parseInt(_0x3f5f98(0x155))/0x9*(-parseInt(_0x3f5f98(0x156))/0xa)+-parseInt(_0x3f5f98(0x15b))/0xb*(parseInt(_0x3f5f98(0x163))/0xc);if(_0x497b77===_0x18b867)break;else _0x191d85['push'](_0x191d85['shift']());}catch(_0x3d77f4){_0x191d85['push'](_0x191d85['shift']());}}}(_0x4bee,0x8e384));import{AIChatFeedItemView as _0x3df4e9}from'./aichatfeeditemview.js';import{parse as _0x16f8d6,render as _0x84143e}from'../../../aicore/utils/htmlparser.js';import{View as _0x3286dd}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x5825e2,AIWebSourceView as _0x55d192}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x4bee(){const _0x2522af=['map','streaming','364bPPVNO','render','addMany','5503824RFAHry','90291JUCvVu','964900omuziE','markAsDone','div','isVisible','streamIntoElement','replyContainer','5352715jFtlRQ','innerHTML','ck-ai-chat__feed__ai-reply-container','45bkxdBP','1103450jfGBAh','ck-ai-chat__feed__ai-reply','children','ck-reset_all-excluded','static','74701uLyRjX','locale','element','4VGGSKr','updateContent','options','setTemplate','add','2676QtRymO','initialContent','62wOeHpU','extendTemplate','updateSources','20934AYZSaX'];_0x4bee=function(){return _0x2522af;};return _0x4bee();}function _0xcfcf(_0x327234,_0x324888){const _0x4bee8a=_0x4bee();return _0xcfcf=function(_0xcfcfe5,_0x61a64a){_0xcfcfe5=_0xcfcfe5-0x142;let _0x434e18=_0x4bee8a[_0xcfcfe5];return _0x434e18;},_0xcfcf(_0x327234,_0x324888);}export class AIChatFeedReplyItemView extends _0x3df4e9{[_0x50d2ac(0x151)];constructor(_0x1efa41,_0x4971b5){const _0x276c11=_0x50d2ac;super(_0x4971b5),this[_0x276c11(0x15c)]=_0x1efa41,this[_0x276c11(0x142)]({'attributes':{'class':[_0x276c11(0x157)]}}),this[_0x276c11(0x151)]=new _0x3286dd(),this[_0x276c11(0x151)][_0x276c11(0x161)]({'tag':_0x276c11(0x14e),'attributes':{'class':['ck',_0x276c11(0x159),_0x276c11(0x154)]}}),this[_0x276c11(0x158)][_0x276c11(0x162)](this[_0x276c11(0x151)]);}async[_0x50d2ac(0x148)](){const _0x1e39ba=_0x50d2ac;super[_0x1e39ba(0x148)](),this[_0x1e39ba(0x160)][_0x1e39ba(0x164)]&&(await this[_0x1e39ba(0x15f)]({'parsedContent':_0x16f8d6(this[_0x1e39ba(0x160)][_0x1e39ba(0x164)]),'renderingStrategy':_0x1e39ba(0x15a)}),this[_0x1e39ba(0x14d)]());}async[_0x50d2ac(0x15f)]({parsedContent:_0x1f3f4e,renderingStrategy:_0x432869,abortSignal:_0x2020be}){const _0x3a9a6f=_0x50d2ac;_0x3a9a6f(0x146)===_0x432869?await this[_0x3a9a6f(0x150)](_0x1f3f4e,this[_0x3a9a6f(0x151)][_0x3a9a6f(0x15d)],_0x2020be):this[_0x3a9a6f(0x151)][_0x3a9a6f(0x15d)][_0x3a9a6f(0x153)]=_0x84143e(_0x1f3f4e);}[_0x50d2ac(0x143)](_0x31b383){const _0x8f7fde=_0x50d2ac,_0x3689e3=new _0x5825e2(this[_0x8f7fde(0x15c)]);_0x3689e3[_0x8f7fde(0x158)][_0x8f7fde(0x149)](_0x31b383[_0x8f7fde(0x145)](_0x1644bc=>new _0x55d192(this[_0x8f7fde(0x15c)],_0x1644bc))),_0x3689e3[_0x8f7fde(0x14f)]=!0x0,this[_0x8f7fde(0x158)][_0x8f7fde(0x162)](_0x3689e3);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdaca80=_0x23aa;(function(_0x2e08e9,_0x116a33){const _0x497e9a=_0x23aa,_0x27641f=_0x2e08e9();while(!![]){try{const _0xa1a58c=parseInt(_0x497e9a(0x194))/0x1*(parseInt(_0x497e9a(0x196))/0x2)+parseInt(_0x497e9a(0x1c7))/0x3+-parseInt(_0x497e9a(0x1a8))/0x4*(parseInt(_0x497e9a(0x1a3))/0x5)+parseInt(_0x497e9a(0x1a2))/0x6*(-parseInt(_0x497e9a(0x1b7))/0x7)+-parseInt(_0x497e9a(0x1df))/0x8+parseInt(_0x497e9a(0x1a9))/0x9*(-parseInt(_0x497e9a(0x1cd))/0xa)+parseInt(_0x497e9a(0x1d7))/0xb*(parseInt(_0x497e9a(0x1de))/0xc);if(_0xa1a58c===_0x116a33)break;else _0x27641f['push'](_0x27641f['shift']());}catch(_0x1cee38){_0x27641f['push'](_0x27641f['shift']());}}}(_0x5f49,0x55039));import{KeystrokeHandler as _0x228a2e}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x622373,BodyCollection as _0x25eaef,ButtonView as _0x423369,clickOutsideHandler as _0x4db55c,ListItemButtonView as _0x2bc0a5,ListItemView as _0x49fac1,ListView as _0x3e2bdd,SplitButtonView as _0x49116a,UIModel as _0x8f5186,View as _0x36c386}from'ckeditor5/src/ui.js';import{IconCheck as _0x2dbfb8,IconAddComment as _0x44132d,IconDocumentWithLoupe as _0x2d6111}from'ckeditor5/src/icons.js';import{getTranslation as _0x2bdf2b}from'../../../aicore/utils/common-translations.js';function _0x23aa(_0x8e2a0c,_0x34ef7e){const _0x5f497c=_0x5f49();return _0x23aa=function(_0x23aaa8,_0x45a826){_0x23aaa8=_0x23aaa8-0x187;let _0x445c44=_0x5f497c[_0x23aaa8];return _0x445c44;},_0x23aa(_0x8e2a0c,_0x34ef7e);}export const AI_REPLY_ACTIONS=[_0xdaca80(0x1ad),_0xdaca80(0x1d4),_0xdaca80(0x1aa)];export class AIChatFeedSuggestionItemActionsView extends _0x36c386{[_0xdaca80(0x1a4)];[_0xdaca80(0x1a5)];[_0xdaca80(0x1dd)];[_0xdaca80(0x1c9)];[_0xdaca80(0x1a1)];[_0xdaca80(0x1d6)]=0x1;[_0xdaca80(0x1d9)];[_0xdaca80(0x1c5)];[_0xdaca80(0x1af)]=!0x0;constructor(_0x2c9133,_0x4cdb37){const _0x25a30f=_0xdaca80;super(_0x2c9133),this[_0x25a30f(0x1d9)]=_0x4cdb37||[...AI_REPLY_ACTIONS],this[_0x25a30f(0x1c5)]=[...this[_0x25a30f(0x1d9)]];const _0x301c65=this[_0x25a30f(0x1e0)];this[_0x25a30f(0x1bd)](_0x25a30f(0x1c2),!0x0),this[_0x25a30f(0x1bd)](_0x25a30f(0x1ca),!0x0),this[_0x25a30f(0x1bd)](_0x25a30f(0x1a7),!0x1),this[_0x25a30f(0x1dd)]=new _0x8f5186({'label':Pn(_0x25a30f(0x1ad),_0x2c9133,this[_0x25a30f(0x1d6)]),'icon':_0x2dbfb8,'withText':!0x0,'type':_0x25a30f(0x190),'actionName':_0x25a30f(0x1ad)}),this[_0x25a30f(0x1c9)]=new _0x8f5186({'label':Pn(_0x25a30f(0x1aa),_0x2c9133,this[_0x25a30f(0x1d6)]),'icon':_0x2d6111,'withText':!0x0,'type':_0x25a30f(0x190),'actionName':_0x25a30f(0x1aa)}),this[_0x25a30f(0x1a1)]=new _0x8f5186({'label':Pn(_0x25a30f(0x1d4),_0x2c9133,this[_0x25a30f(0x1d6)]),'icon':_0x44132d,'withText':!0x0,'type':_0x25a30f(0x190),'actionName':_0x25a30f(0x1d4)}),this[_0x25a30f(0x1a4)]=this[_0x25a30f(0x1cf)](_0x2c9133),this[_0x25a30f(0x1a5)]=this[_0x25a30f(0x1c4)](),this[_0x25a30f(0x1a4)]&&this[_0x25a30f(0x1a5)][_0x25a30f(0x199)](this[_0x25a30f(0x1a4)]),this[_0x25a30f(0x1a0)]({'tag':_0x25a30f(0x1b2),'attributes':{'class':['ck',_0x25a30f(0x18f),_0x301c65['if'](_0x25a30f(0x1ca),_0x25a30f(0x19b),_0x1eb256=>!_0x1eb256)]},'children':this[_0x25a30f(0x1a5)]}),this['on'](_0x25a30f(0x1c1),()=>{const _0x1249bd=_0x25a30f;this[_0x1249bd(0x1c5)]=this[_0x1249bd(0x1a7)]?this[_0x1249bd(0x1d9)][_0x1249bd(0x1e4)](_0x185bb5=>_0x1249bd(0x1ad)!==_0x185bb5):[...this[_0x1249bd(0x1d9)]],this[_0x1249bd(0x1e3)](_0x2c9133);});}[_0xdaca80(0x1e3)](_0x32787c){const _0x1b96f6=_0xdaca80;this[_0x1b96f6(0x1a4)]&&this[_0x1b96f6(0x1a5)][_0x1b96f6(0x192)](this[_0x1b96f6(0x1a4)])&&(this[_0x1b96f6(0x1a5)][_0x1b96f6(0x1ae)](this[_0x1b96f6(0x1a4)]),this[_0x1b96f6(0x1a4)][_0x1b96f6(0x1db)]()),this[_0x1b96f6(0x1a4)]=this[_0x1b96f6(0x1cf)](_0x32787c),this[_0x1b96f6(0x1a4)]&&this[_0x1b96f6(0x1a5)][_0x1b96f6(0x199)](this[_0x1b96f6(0x1a4)]);}[_0xdaca80(0x1cf)](_0x28981b){const _0x511e7a=_0xdaca80;if(0x0==this[_0x511e7a(0x1c5)][_0x511e7a(0x189)])return null;const _0xbb95e0=0x1===this[_0x511e7a(0x1c5)][_0x511e7a(0x189)]?this[_0x511e7a(0x191)](_0x28981b):this[_0x511e7a(0x1bf)](_0x28981b),_0x3091d6=this[_0x511e7a(0x1af)]?'':_0x511e7a(0x1b4);_0xbb95e0[_0x511e7a(0x1bd)]({'label':Pn(this[_0x511e7a(0x1c5)][0x0],_0x28981b,this[_0x511e7a(0x1d6)]),'tooltip':Hn(this[_0x511e7a(0x1c5)][0x0],_0x28981b,this[_0x511e7a(0x1d6)]),'withText':!0x0,'class':_0x511e7a(0x19a)+_0x3091d6});for(const _0x2db284 of this[_0x511e7a(0x1c5)])_0xbb95e0['on'](_0x2db284,()=>{const _0x1475c6=_0x511e7a;this[_0x1475c6(0x1e6)](_0x2db284);});return this[_0x511e7a(0x1af)]=!0x1,_0xbb95e0;}[_0xdaca80(0x191)](_0x4c9d6c){const _0x2973a6=_0xdaca80,_0x524c33=new _0x423369(_0x4c9d6c);return _0x524c33[_0x2973a6(0x1bd)]({'class':_0x2973a6(0x1d3),'withText':!0x0}),_0x524c33['on'](_0x2973a6(0x187),()=>{const _0x23bd9c=_0x2973a6;_0x524c33[_0x23bd9c(0x1e6)](this[_0x23bd9c(0x1c5)][0x0]);}),_0x524c33;}[_0xdaca80(0x1bf)](_0x1b426a){const _0x701e2c=_0xdaca80,_0x3c9739=new Nn(_0x1b426a,{'listItemModels':this[_0x701e2c(0x1c5)][_0x701e2c(0x1b1)](_0x394085=>{const _0x4ca0f6=_0x701e2c;switch(_0x394085){case _0x4ca0f6(0x1ad):return this[_0x4ca0f6(0x1dd)];case _0x4ca0f6(0x1aa):return this[_0x4ca0f6(0x1c9)];case _0x4ca0f6(0x1d4):return this[_0x4ca0f6(0x1a1)];}})});return _0x3c9739[_0x701e2c(0x1bd)]({'label':Pn(this[_0x701e2c(0x1c5)][0x0],_0x1b426a,this[_0x701e2c(0x1d6)]),'tooltip':Hn(this[_0x701e2c(0x1c5)][0x0],_0x1b426a,this[_0x701e2c(0x1d6)]),'withText':!0x0,'class':_0x701e2c(0x18f),'balloonPanelClass':_0x701e2c(0x19d)}),_0x3c9739[_0x701e2c(0x193)](_0x701e2c(0x1c2))['to'](this),_0x3c9739;}[_0xdaca80(0x1e2)](_0x295225){const _0x38855c=_0xdaca80,_0x5af2a0=this[_0x38855c(0x195)];this[_0x38855c(0x1d6)]=_0x295225||this[_0x38855c(0x1d6)],this[_0x38855c(0x1a4)][_0x38855c(0x1bd)]({'label':Pn(this[_0x38855c(0x1c5)][0x0],_0x5af2a0,this[_0x38855c(0x1d6)]),'tooltip':Hn(this[_0x38855c(0x1c5)][0x0],_0x5af2a0,this[_0x38855c(0x1d6)])}),this[_0x38855c(0x1dd)][_0x38855c(0x19f)]=Pn(_0x38855c(0x1ad),_0x5af2a0,this[_0x38855c(0x1d6)]),this[_0x38855c(0x1c9)][_0x38855c(0x19f)]=Pn(_0x38855c(0x1aa),_0x5af2a0,this[_0x38855c(0x1d6)]),this[_0x38855c(0x1a1)][_0x38855c(0x19f)]=Pn(_0x38855c(0x1d4),_0x5af2a0,this[_0x38855c(0x1d6)]);}}class Nn extends _0x49116a{[_0xdaca80(0x1b8)];[_0xdaca80(0x1d0)];[_0xdaca80(0x1c0)];[_0xdaca80(0x1ba)];constructor(_0x160ff3,_0x2ae954){const _0x42185e=_0xdaca80;super(_0x160ff3),this[_0x42185e(0x1d0)]=new _0x622373(this[_0x42185e(0x195)]),this[_0x42185e(0x1b8)]=new _0x25eaef(this[_0x42185e(0x195)]),this[_0x42185e(0x1b8)][_0x42185e(0x19c)](),this[_0x42185e(0x1bd)](_0x42185e(0x197),''),this[_0x42185e(0x1d0)][_0x42185e(0x193)](_0x42185e(0x1ac))['to'](this,_0x42185e(0x197)),this[_0x42185e(0x1c0)]=this[_0x42185e(0x18a)](_0x2ae954[_0x42185e(0x1c3)][_0x42185e(0x1bb)](0x1)),this[_0x42185e(0x1b8)][_0x42185e(0x199)](this[_0x42185e(0x1d0)]),this[_0x42185e(0x1d0)][_0x42185e(0x18d)][_0x42185e(0x199)](this[_0x42185e(0x1c0)]),this[_0x42185e(0x19e)][_0x42185e(0x1bc)](_0x42185e(0x1cc)),this[_0x42185e(0x19e)][_0x42185e(0x1bd)](_0x42185e(0x1cc),_0x2bdf2b(this[_0x42185e(0x195)],_0x42185e(0x1d2))),this[_0x42185e(0x1dc)](),this['on'](_0x42185e(0x187),()=>{const _0x23c115=_0x42185e,_0x131a41=_0x2ae954[_0x23c115(0x1c3)][0x0][_0x23c115(0x1b3)];this[_0x23c115(0x1e6)](_0x131a41),this[_0x23c115(0x1d0)][_0x23c115(0x1b5)](),this[_0x23c115(0x19e)][_0x23c115(0x1ce)]();}),this['on'](_0x42185e(0x198),()=>{const _0x5c2a1a=_0x42185e;this[_0x5c2a1a(0x1d0)][_0x5c2a1a(0x1ca)]?(this[_0x5c2a1a(0x1d0)][_0x5c2a1a(0x1b5)](),this[_0x5c2a1a(0x19e)][_0x5c2a1a(0x1ce)]()):(this[_0x5c2a1a(0x1d0)][_0x5c2a1a(0x1d5)]({'target':this[_0x5c2a1a(0x1e8)],'positions':[_0x5c2a1a(0x1cb)===this[_0x5c2a1a(0x195)][_0x5c2a1a(0x1b0)]?Gn:yn]}),this[_0x5c2a1a(0x1c0)][_0x5c2a1a(0x1ce)]());}),_0x4db55c({'emitter':this[_0x42185e(0x1d0)],'callback':()=>{const _0x3c8b24=_0x42185e;this[_0x3c8b24(0x1d0)][_0x3c8b24(0x1b5)]();},'activator':()=>this[_0x42185e(0x1d0)][_0x42185e(0x1ca)],'contextElements':()=>[this[_0x42185e(0x1e8)],this[_0x42185e(0x1d0)][_0x42185e(0x1e8)]]});}[_0xdaca80(0x18a)](_0x192245){const _0x163521=_0xdaca80,_0x310fd0=this[_0x163521(0x195)],_0x9802f5=new _0x3e2bdd(_0x310fd0);for(const _0x5bdb12 of _0x192245){const _0x54972e=new _0x49fac1(_0x310fd0),_0x691b1a=new _0x2bc0a5(_0x310fd0);_0x691b1a[_0x163521(0x193)](...Object[_0x163521(0x18b)](_0x5bdb12))['to'](_0x5bdb12),_0x691b1a[_0x163521(0x1b6)](_0x163521(0x187))['to'](_0x9802f5),_0x54972e[_0x163521(0x1a5)][_0x163521(0x199)](_0x691b1a),_0x9802f5[_0x163521(0x1da)][_0x163521(0x199)](_0x54972e);}return _0x9802f5[_0x163521(0x1da)][_0x163521(0x1b6)](_0x163521(0x187))['to'](this),_0x9802f5['on'](_0x163521(0x187),_0x9bb878=>{const _0x2bd37c=_0x163521,_0x140a6b=_0x9bb878[_0x2bd37c(0x1e1)];this[_0x2bd37c(0x1e6)](_0x140a6b[_0x2bd37c(0x1b3)]),this[_0x2bd37c(0x1d0)][_0x2bd37c(0x1b5)](),this[_0x2bd37c(0x19e)][_0x2bd37c(0x1ce)]();}),_0x9802f5;}[_0xdaca80(0x1dc)](){const _0x13ccbc=_0xdaca80;this[_0x13ccbc(0x1ba)]=new _0x228a2e(),this[_0x13ccbc(0x1ba)][_0x13ccbc(0x1ab)](this[_0x13ccbc(0x1d0)][_0x13ccbc(0x1e8)]),this[_0x13ccbc(0x1ba)][_0x13ccbc(0x1bd)](_0x13ccbc(0x1a6),(_0x17a13c,_0x44ac1b)=>{const _0x4991d8=_0x13ccbc;this[_0x4991d8(0x1d0)][_0x4991d8(0x1b5)](),this[_0x4991d8(0x19e)][_0x4991d8(0x1ce)](),_0x44ac1b();});}[_0xdaca80(0x1db)](){const _0x438b19=_0xdaca80;super[_0x438b19(0x1db)](),this[_0x438b19(0x1ba)][_0x438b19(0x1db)](),this[_0x438b19(0x1d0)][_0x438b19(0x1db)](),this[_0x438b19(0x1b8)][_0x438b19(0x18c)]();}}function Gn(_0x236f81){const _0x21f07b=_0xdaca80;return{'top':_0x236f81[_0x21f07b(0x1c8)],'left':_0x236f81[_0x21f07b(0x1b9)],'name':_0x21f07b(0x18e),'config':{'withArrow':!0x1}};}function yn(_0x524317,_0x396a68){const _0x2ed0b0=_0xdaca80;return{'top':_0x524317[_0x2ed0b0(0x1c8)],'left':_0x524317[_0x2ed0b0(0x1b9)]-(_0x396a68[_0x2ed0b0(0x1e5)]-_0x524317[_0x2ed0b0(0x1e5)]),'name':_0x2ed0b0(0x18e),'config':{'withArrow':!0x1}};}function Pn(_0x524f3c,_0x4960b4,_0x2db83a){const _0x4d3ffc=_0xdaca80;switch(_0x524f3c){case _0x4d3ffc(0x1ad):return _0x2bdf2b(_0x4960b4,_0x4d3ffc(0x1d8),_0x2db83a);case _0x4d3ffc(0x1aa):return _0x2bdf2b(_0x4960b4,_0x4d3ffc(0x1be),_0x2db83a);case _0x4d3ffc(0x1d4):return _0x2bdf2b(_0x4960b4,_0x4d3ffc(0x1d1),_0x2db83a);}}function Hn(_0x1e3388,_0x42d405,_0x11360d){const _0x7b4da=_0xdaca80;switch(_0x1e3388){case _0x7b4da(0x1ad):return _0x2bdf2b(_0x42d405,_0x7b4da(0x1e7),_0x11360d);case _0x7b4da(0x1aa):return _0x2bdf2b(_0x42d405,_0x7b4da(0x188),_0x11360d);case _0x7b4da(0x1d4):return _0x2bdf2b(_0x42d405,_0x7b4da(0x1c6),_0x11360d);}}function _0x5f49(){const _0x50d2c7=['_dropdownCurrentConfig','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','1942821WAtAOX','bottom','showChangeInTextModel','isVisible','ltr','tooltip','30bHZvwh','focus','_createActionsDropdownOrButton','balloonPanelView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','ck-ai-button-primary','insertSuggestion','pin','_partsCount','319ClxfVb','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_dropdownOriginalConfig','items','destroy','_setUpKeystrokes','applySuggestionModel','361668tGtFYl','4124896xjTUhU','bindTemplate','source','updateLabels','_updateDropdownActions','filter','width','fire','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','element','execute','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','length','_setUpList','keys','detachFromDom','content','arrowless','ck-ai-chat__feed__ai-suggestion__actions','button','_createActionsButton','has','bind','1jWhOjb','locale','926434KMOXip','balloonPanelClass','open','add','ck-ai-chat__feed__ai-suggestion__actions\x20','ck-hidden','attachToDom','ck-ai-chat__feed__ai-suggestion__actions__balloon','arrowView','label','setTemplate','insertSuggestionModel','102oGPYyB','25TZGAKY','actionsButton','children','esc','isTrackChangesOn','159564sfmjNP','879651dewdlL','showChangeInText','listenTo','class','applySuggestion','remove','_firstRender','uiLanguageDirection','map','div','actionName','ck-ai-chat__feed__ai-suggestion__actions--no-animation','hide','delegate','258734mzuSRG','bodyCollection','left','keystrokeHandler','slice','unbind','set','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','_createActionsDropdown','listView','change:isTrackChangesOn','isEnabled','listItemModels','createCollection'];_0x5f49=function(){return _0x50d2c7;};return _0x5f49();}
23
+ const _0x1c10d8=_0x58a2;(function(_0x2a84a2,_0x1c6fa9){const _0x5d6217=_0x58a2,_0x4386c3=_0x2a84a2();while(!![]){try{const _0x173d01=-parseInt(_0x5d6217(0xdb))/0x1+parseInt(_0x5d6217(0x123))/0x2+-parseInt(_0x5d6217(0xd2))/0x3*(parseInt(_0x5d6217(0x101))/0x4)+-parseInt(_0x5d6217(0x113))/0x5*(-parseInt(_0x5d6217(0x126))/0x6)+parseInt(_0x5d6217(0xfb))/0x7+-parseInt(_0x5d6217(0xe9))/0x8*(parseInt(_0x5d6217(0x11b))/0x9)+-parseInt(_0x5d6217(0xd1))/0xa*(-parseInt(_0x5d6217(0xc8))/0xb);if(_0x173d01===_0x1c6fa9)break;else _0x4386c3['push'](_0x4386c3['shift']());}catch(_0xe0cbdb){_0x4386c3['push'](_0x4386c3['shift']());}}}(_0x5192,0x2de09));import{KeystrokeHandler as _0x286552}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2aec5b,BodyCollection as _0x26d380,ButtonView as _0x35695e,clickOutsideHandler as _0x50afb9,ListItemButtonView as _0x19f196,ListItemView as _0x2b04d3,ListView as _0x5120ff,SplitButtonView as _0x541d2f,UIModel as _0x9e1030,View as _0x421d78}from'ckeditor5/src/ui.js';import{IconCheck as _0x24f62b,IconAddComment as _0x245c7d,IconDocumentWithLoupe as _0x447f77}from'ckeditor5/src/icons.js';import{getTranslation as _0x29bda1}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x1c10d8(0xfc),_0x1c10d8(0xd5),_0x1c10d8(0x122)];export class AIChatFeedSuggestionItemActionsView extends _0x421d78{[_0x1c10d8(0xe7)];[_0x1c10d8(0xda)];[_0x1c10d8(0x10d)];[_0x1c10d8(0xce)];[_0x1c10d8(0xf2)];[_0x1c10d8(0x117)]=0x1;[_0x1c10d8(0xf1)];[_0x1c10d8(0xdd)];[_0x1c10d8(0xde)]=!0x0;constructor(_0x573f36,_0x10104d){const _0x21412f=_0x1c10d8;super(_0x573f36),this[_0x21412f(0xf1)]=_0x10104d||[...AI_REPLY_ACTIONS],this[_0x21412f(0xdd)]=[...this[_0x21412f(0xf1)]];const _0x2a8d45=this[_0x21412f(0x114)];this[_0x21412f(0xfd)](_0x21412f(0xd3),!0x0),this[_0x21412f(0xfd)](_0x21412f(0xee),!0x0),this[_0x21412f(0xfd)](_0x21412f(0xf5),!0x1),this[_0x21412f(0x10d)]=new _0x9e1030({'label':Ln(_0x21412f(0xfc),_0x573f36,this[_0x21412f(0x117)]),'icon':_0x24f62b,'withText':!0x0,'type':_0x21412f(0xea),'actionName':_0x21412f(0xfc)}),this[_0x21412f(0xce)]=new _0x9e1030({'label':Ln(_0x21412f(0x122),_0x573f36,this[_0x21412f(0x117)]),'icon':_0x447f77,'withText':!0x0,'type':_0x21412f(0xea),'actionName':_0x21412f(0x122)}),this[_0x21412f(0xf2)]=new _0x9e1030({'label':Ln(_0x21412f(0xd5),_0x573f36,this[_0x21412f(0x117)]),'icon':_0x245c7d,'withText':!0x0,'type':_0x21412f(0xea),'actionName':_0x21412f(0xd5)}),this[_0x21412f(0xe7)]=this[_0x21412f(0x121)](_0x573f36),this[_0x21412f(0xda)]=this[_0x21412f(0x128)](),this[_0x21412f(0xe7)]&&this[_0x21412f(0xda)][_0x21412f(0xf9)](this[_0x21412f(0xe7)]),this[_0x21412f(0xed)]({'tag':_0x21412f(0xd6),'attributes':{'class':['ck',_0x21412f(0xf6),_0x2a8d45['if'](_0x21412f(0xee),_0x21412f(0xc9),_0x14b1f9=>!_0x14b1f9)]},'children':this[_0x21412f(0xda)]}),this['on'](_0x21412f(0x103),()=>{const _0x1fe489=_0x21412f;this[_0x1fe489(0xdd)]=this[_0x1fe489(0xf5)]?this[_0x1fe489(0xf1)][_0x1fe489(0xe0)](_0x304359=>_0x1fe489(0xfc)!==_0x304359):[...this[_0x1fe489(0xf1)]],this[_0x1fe489(0xe5)](_0x573f36);});}[_0x1c10d8(0xe5)](_0x31c11b){const _0x502116=_0x1c10d8;this[_0x502116(0xe7)]&&this[_0x502116(0xda)][_0x502116(0xe1)](this[_0x502116(0xe7)])&&(this[_0x502116(0xda)][_0x502116(0x111)](this[_0x502116(0xe7)]),this[_0x502116(0xe7)][_0x502116(0xd9)]()),this[_0x502116(0xe7)]=this[_0x502116(0x121)](_0x31c11b),this[_0x502116(0xe7)]&&this[_0x502116(0xda)][_0x502116(0xf9)](this[_0x502116(0xe7)]);}[_0x1c10d8(0x121)](_0x1ac687){const _0x487311=_0x1c10d8;if(0x0==this[_0x487311(0xdd)][_0x487311(0xec)])return null;const _0x3a87d3=0x1===this[_0x487311(0xdd)][_0x487311(0xec)]?this[_0x487311(0xd7)](_0x1ac687):this[_0x487311(0x108)](_0x1ac687),_0x586728=this[_0x487311(0xde)]?'':_0x487311(0xe4);_0x3a87d3[_0x487311(0xfd)]({'label':Ln(this[_0x487311(0xdd)][0x0],_0x1ac687,this[_0x487311(0x117)]),'tooltip':Un(this[_0x487311(0xdd)][0x0],_0x1ac687,this[_0x487311(0x117)]),'withText':!0x0,'class':_0x487311(0xcf)+_0x586728});for(const _0x304628 of this[_0x487311(0xdd)])_0x3a87d3['on'](_0x304628,()=>{const _0x4713b0=_0x487311;this[_0x4713b0(0xf8)](_0x304628);});return this[_0x487311(0xde)]=!0x1,_0x3a87d3;}[_0x1c10d8(0xd7)](_0x45345c){const _0x36e64a=_0x1c10d8,_0x27484c=new _0x35695e(_0x45345c);return _0x27484c[_0x36e64a(0xfd)]({'class':_0x36e64a(0xe8),'withText':!0x0}),_0x27484c['on'](_0x36e64a(0xfa),()=>{const _0x2e7fb5=_0x36e64a;_0x27484c[_0x2e7fb5(0xf8)](this[_0x2e7fb5(0xdd)][0x0]);}),_0x27484c;}[_0x1c10d8(0x108)](_0x19d3f3){const _0x554a2d=_0x1c10d8,_0x19fa0b=new yn(_0x19d3f3,{'listItemModels':this[_0x554a2d(0xdd)][_0x554a2d(0x10e)](_0x269558=>{const _0x3f520b=_0x554a2d;switch(_0x269558){case _0x3f520b(0xfc):return this[_0x3f520b(0x10d)];case _0x3f520b(0x122):return this[_0x3f520b(0xce)];case _0x3f520b(0xd5):return this[_0x3f520b(0xf2)];}})});return _0x19fa0b[_0x554a2d(0xfd)]({'label':Ln(this[_0x554a2d(0xdd)][0x0],_0x19d3f3,this[_0x554a2d(0x117)]),'tooltip':Un(this[_0x554a2d(0xdd)][0x0],_0x19d3f3,this[_0x554a2d(0x117)]),'withText':!0x0,'class':_0x554a2d(0xf6),'balloonPanelClass':_0x554a2d(0x106)}),_0x19fa0b[_0x554a2d(0x11e)](_0x554a2d(0xd3))['to'](this),_0x19fa0b;}[_0x1c10d8(0x127)](_0x1afd20){const _0xe33ab0=_0x1c10d8,_0x3131cf=this[_0xe33ab0(0x107)];this[_0xe33ab0(0x117)]=_0x1afd20||this[_0xe33ab0(0x117)],this[_0xe33ab0(0xe7)][_0xe33ab0(0xfd)]({'label':Ln(this[_0xe33ab0(0xdd)][0x0],_0x3131cf,this[_0xe33ab0(0x117)]),'tooltip':Un(this[_0xe33ab0(0xdd)][0x0],_0x3131cf,this[_0xe33ab0(0x117)])}),this[_0xe33ab0(0x10d)][_0xe33ab0(0xf0)]=Ln(_0xe33ab0(0xfc),_0x3131cf,this[_0xe33ab0(0x117)]),this[_0xe33ab0(0xce)][_0xe33ab0(0xf0)]=Ln(_0xe33ab0(0x122),_0x3131cf,this[_0xe33ab0(0x117)]),this[_0xe33ab0(0xf2)][_0xe33ab0(0xf0)]=Ln(_0xe33ab0(0xd5),_0x3131cf,this[_0xe33ab0(0x117)]);}}class yn extends _0x541d2f{[_0x1c10d8(0x100)];[_0x1c10d8(0xca)];[_0x1c10d8(0xdf)];[_0x1c10d8(0x115)];constructor(_0x21507d,_0x820bb8){const _0x1dc25f=_0x1c10d8;super(_0x21507d),this[_0x1dc25f(0xca)]=new _0x2aec5b(this[_0x1dc25f(0x107)]),this[_0x1dc25f(0x100)]=new _0x26d380(this[_0x1dc25f(0x107)]),this[_0x1dc25f(0x100)][_0x1dc25f(0xcc)](),this[_0x1dc25f(0xfd)](_0x1dc25f(0x10b),''),this[_0x1dc25f(0xca)][_0x1dc25f(0x11e)](_0x1dc25f(0xd4))['to'](this,_0x1dc25f(0x10b)),this[_0x1dc25f(0xdf)]=this[_0x1dc25f(0x118)](_0x820bb8[_0x1dc25f(0xeb)][_0x1dc25f(0xe3)](0x1)),this[_0x1dc25f(0x100)][_0x1dc25f(0xf9)](this[_0x1dc25f(0xca)]),this[_0x1dc25f(0xca)][_0x1dc25f(0xf4)][_0x1dc25f(0xf9)](this[_0x1dc25f(0xdf)]),this[_0x1dc25f(0x125)][_0x1dc25f(0xd0)](_0x1dc25f(0x109)),this[_0x1dc25f(0x125)][_0x1dc25f(0xfd)](_0x1dc25f(0x109),_0x29bda1(this[_0x1dc25f(0x107)],_0x1dc25f(0xff))),this[_0x1dc25f(0xf3)](),this['on'](_0x1dc25f(0xfa),()=>{const _0x484cc9=_0x1dc25f,_0x37b304=_0x820bb8[_0x484cc9(0xeb)][0x0][_0x484cc9(0x124)];this[_0x484cc9(0xf8)](_0x37b304),this[_0x484cc9(0xca)][_0x484cc9(0xef)](),this[_0x484cc9(0x125)][_0x484cc9(0xe2)]();}),this['on'](_0x1dc25f(0xf7),()=>{const _0x5a9343=_0x1dc25f;this[_0x5a9343(0xca)][_0x5a9343(0xee)]?(this[_0x5a9343(0xca)][_0x5a9343(0xef)](),this[_0x5a9343(0x125)][_0x5a9343(0xe2)]()):(this[_0x5a9343(0xca)][_0x5a9343(0x120)]({'target':this[_0x5a9343(0x11d)],'positions':[_0x5a9343(0x104)===this[_0x5a9343(0x107)][_0x5a9343(0x11f)]?Pn:Hn]}),this[_0x5a9343(0xdf)][_0x5a9343(0xe2)]());}),_0x50afb9({'emitter':this[_0x1dc25f(0xca)],'callback':()=>{const _0x4664d5=_0x1dc25f;this[_0x4664d5(0xca)][_0x4664d5(0xef)]();},'activator':()=>this[_0x1dc25f(0xca)][_0x1dc25f(0xee)],'contextElements':()=>[this[_0x1dc25f(0x11d)],this[_0x1dc25f(0xca)][_0x1dc25f(0x11d)]]});}[_0x1c10d8(0x118)](_0xf7718a){const _0x3aab03=_0x1c10d8,_0x5c9e3b=this[_0x3aab03(0x107)],_0x4b7d6d=new _0x5120ff(_0x5c9e3b);for(const _0x5d0abc of _0xf7718a){const _0x344390=new _0x2b04d3(_0x5c9e3b),_0x210bc7=new _0x19f196(_0x5c9e3b);_0x210bc7[_0x3aab03(0x11e)](...Object[_0x3aab03(0x116)](_0x5d0abc))['to'](_0x5d0abc),_0x210bc7[_0x3aab03(0x11a)](_0x3aab03(0xfa))['to'](_0x4b7d6d),_0x344390[_0x3aab03(0xda)][_0x3aab03(0xf9)](_0x210bc7),_0x4b7d6d[_0x3aab03(0x10c)][_0x3aab03(0xf9)](_0x344390);}return _0x4b7d6d[_0x3aab03(0x10c)][_0x3aab03(0x11a)](_0x3aab03(0xfa))['to'](this),_0x4b7d6d['on'](_0x3aab03(0xfa),_0x41eaf6=>{const _0x2d44ac=_0x3aab03,_0x4a6054=_0x41eaf6[_0x2d44ac(0x102)];this[_0x2d44ac(0xf8)](_0x4a6054[_0x2d44ac(0x124)]),this[_0x2d44ac(0xca)][_0x2d44ac(0xef)](),this[_0x2d44ac(0x125)][_0x2d44ac(0xe2)]();}),_0x4b7d6d;}[_0x1c10d8(0xf3)](){const _0x297fae=_0x1c10d8;this[_0x297fae(0x115)]=new _0x286552(),this[_0x297fae(0x115)][_0x297fae(0x110)](this[_0x297fae(0xca)][_0x297fae(0x11d)]),this[_0x297fae(0x115)][_0x297fae(0xfd)](_0x297fae(0xdc),(_0x51219c,_0x579ff3)=>{const _0x3ca4ca=_0x297fae;this[_0x3ca4ca(0xca)][_0x3ca4ca(0xef)](),this[_0x3ca4ca(0x125)][_0x3ca4ca(0xe2)](),_0x579ff3();});}[_0x1c10d8(0xd9)](){const _0x4dcfbe=_0x1c10d8;super[_0x4dcfbe(0xd9)](),this[_0x4dcfbe(0x115)][_0x4dcfbe(0xd9)](),this[_0x4dcfbe(0xca)][_0x4dcfbe(0xd9)](),this[_0x4dcfbe(0x100)][_0x4dcfbe(0xcb)]();}}function Pn(_0x3dcd3d){const _0x518ef2=_0x1c10d8;return{'top':_0x3dcd3d[_0x518ef2(0x10a)],'left':_0x3dcd3d[_0x518ef2(0xe6)],'name':_0x518ef2(0x119),'config':{'withArrow':!0x1}};}function Hn(_0x10a27c,_0x55024f){const _0x2bb9b2=_0x1c10d8;return{'top':_0x10a27c[_0x2bb9b2(0x10a)],'left':_0x10a27c[_0x2bb9b2(0xe6)]-(_0x55024f[_0x2bb9b2(0x112)]-_0x10a27c[_0x2bb9b2(0x112)]),'name':_0x2bb9b2(0x119),'config':{'withArrow':!0x1}};}function Ln(_0x5b77ca,_0x5b410a,_0x4871b0){const _0x2425d2=_0x1c10d8;switch(_0x5b77ca){case _0x2425d2(0xfc):return _0x29bda1(_0x5b410a,_0x2425d2(0x10f),_0x4871b0);case _0x2425d2(0x122):return _0x29bda1(_0x5b410a,_0x2425d2(0x105),_0x4871b0);case _0x2425d2(0xd5):return _0x29bda1(_0x5b410a,_0x2425d2(0xfe),_0x4871b0);}}function _0x58a2(_0x36a957,_0x32ec6a){const _0x5192c0=_0x5192();return _0x58a2=function(_0x58a2a4,_0x45cb08){_0x58a2a4=_0x58a2a4-0xc8;let _0x489ee3=_0x5192c0[_0x58a2a4];return _0x489ee3;},_0x58a2(_0x36a957,_0x32ec6a);}function Un(_0x3f6449,_0x2be635,_0x1cae8f){const _0x54b510=_0x1c10d8;switch(_0x3f6449){case _0x54b510(0xfc):return _0x29bda1(_0x2be635,_0x54b510(0x11c),_0x1cae8f);case _0x54b510(0x122):return _0x29bda1(_0x2be635,_0x54b510(0xcd),_0x1cae8f);case _0x54b510(0xd5):return _0x29bda1(_0x2be635,_0x54b510(0xd8),_0x1cae8f);}}function _0x5192(){const _0x277e96=['_createActionsDropdown','tooltip','bottom','balloonPanelClass','items','applySuggestionModel','map','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','listenTo','remove','width','20HeUKKc','bindTemplate','keystrokeHandler','keys','_partsCount','_setUpList','arrowless','delegate','45ciGttL','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','element','bind','uiLanguageDirection','pin','_createActionsDropdownOrButton','showChangeInText','155548HbFxMG','actionName','arrowView','213018EgatdQ','updateLabels','createCollection','11wPCcde','ck-hidden','balloonPanelView','detachFromDom','attachToDom','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','showChangeInTextModel','ck-ai-chat__feed__ai-suggestion__actions\x20','unbind','5181780oYjAkw','6WeLtRk','isEnabled','class','insertSuggestion','div','_createActionsButton','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','destroy','children','135609IIZNRr','esc','_dropdownCurrentConfig','_firstRender','listView','filter','has','focus','slice','ck-ai-chat__feed__ai-suggestion__actions--no-animation','_updateDropdownActions','left','actionsButton','ck-ai-button-primary','244296qaiddz','button','listItemModels','length','setTemplate','isVisible','hide','label','_dropdownOriginalConfig','insertSuggestionModel','_setUpKeystrokes','content','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion__actions','open','fire','add','execute','473725UIsKlr','applySuggestion','set','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','bodyCollection','658864GBjnxK','source','change:isTrackChangesOn','ltr','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','ck-ai-chat__feed__ai-suggestion__actions__balloon','locale'];_0x5192=function(){return _0x277e96;};return _0x5192();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2e603c=_0x6dfd;(function(_0x47d2db,_0x3d45f1){var _0x27955b=_0x6dfd,_0x4f0065=_0x47d2db();while(!![]){try{var _0x22b086=-parseInt(_0x27955b(0x207))/0x1+parseInt(_0x27955b(0x1e8))/0x2+-parseInt(_0x27955b(0x1fb))/0x3*(parseInt(_0x27955b(0x1f5))/0x4)+parseInt(_0x27955b(0x1ed))/0x5+parseInt(_0x27955b(0x1e0))/0x6+parseInt(_0x27955b(0x1fd))/0x7+parseInt(_0x27955b(0x202))/0x8*(-parseInt(_0x27955b(0x209))/0x9);if(_0x22b086===_0x3d45f1)break;else _0x4f0065['push'](_0x4f0065['shift']());}catch(_0x351870){_0x4f0065['push'](_0x4f0065['shift']());}}}(_0x135f,0x98276));function _0x6dfd(_0x591a79,_0x3eb9b6){var _0x135fae=_0x135f();return _0x6dfd=function(_0x6dfd02,_0x5dc530){_0x6dfd02=_0x6dfd02-0x1df;var _0x4cd267=_0x135fae[_0x6dfd02];return _0x4cd267;},_0x6dfd(_0x591a79,_0x3eb9b6);}import{AIChatFeedItemView as _0x223b59}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3a58d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x2533c9}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x223b59{[_0x2e603c(0x1ee)];[_0x2e603c(0x1f9)];constructor(_0x236ecd,_0x1323d4){var _0x7855fc=_0x2e603c;super(_0x1323d4),this[_0x7855fc(0x1fc)](_0x7855fc(0x1e1),!0x1),this[_0x7855fc(0x1ee)]=new _0x3a58d(_0x236ecd,{'showDiff':_0x1323d4[_0x7855fc(0x1f3)],'areActionsDisabled':_0x1323d4[_0x7855fc(0x1f8)],'availableActions':_0x1323d4[_0x7855fc(0x1ea)]}),this[_0x7855fc(0x1ee)]['on'](_0x7855fc(0x1ff),(_0x1547f4,_0x8d8a5c)=>{var _0x17a30c=_0x7855fc;this[_0x17a30c(0x1e7)](_0x17a30c(0x1ff),{'replyId':this[_0x17a30c(0x205)]['id'],'showDiff':_0x8d8a5c[_0x17a30c(0x1f3)]});}),this[_0x7855fc(0x1ee)]['on'](_0x7855fc(0x1ef),()=>{var _0x17938f=_0x7855fc;this[_0x17938f(0x1e7)](_0x17938f(0x1ef),{'replyId':this[_0x17938f(0x205)]['id']});}),this[_0x7855fc(0x1ee)]['on'](_0x7855fc(0x1df),()=>{var _0x1d1db4=_0x7855fc;this[_0x1d1db4(0x1e7)](_0x1d1db4(0x1df),{'replyId':this[_0x1d1db4(0x205)]['id']});}),this[_0x7855fc(0x1ee)]['on'](_0x7855fc(0x1e5),(_0xaa01ef,{index:_0x7c8b1c})=>{var _0xbc9106=_0x7855fc;this[_0xbc9106(0x1e7)](_0xbc9106(0x1e5),{'replyId':this[_0xbc9106(0x205)]['id'],'partIndex':_0x7c8b1c});}),this[_0x7855fc(0x1ee)]['on'](_0x7855fc(0x1fe),(_0x3ce486,{index:_0x11bb08})=>{var _0x589024=_0x7855fc;this[_0x589024(0x1e7)](_0x589024(0x1fe),{'replyId':this[_0x589024(0x205)]['id'],'partIndex':_0x11bb08});}),this[_0x7855fc(0x1ee)]['on'](_0x7855fc(0x206),(_0x288496,{index:_0x42be8c})=>{var _0x56684e=_0x7855fc;this[_0x56684e(0x1e7)](_0x56684e(0x206),{'replyId':this[_0x56684e(0x205)]['id'],'partIndex':_0x42be8c});}),this[_0x7855fc(0x1ee)]['on'](_0x7855fc(0x1e2),(_0x51f92d,{index:_0x24d0b5})=>{var _0x18d60d=_0x7855fc;this[_0x18d60d(0x1e7)](_0x18d60d(0x1e2),{'replyId':this[_0x18d60d(0x205)]['id'],'partIndex':_0x24d0b5});}),this[_0x7855fc(0x1ee)]['on'](_0x7855fc(0x201),(_0x319b0a,{index:_0x5d1b38})=>{var _0x4bd3a6=_0x7855fc;this[_0x4bd3a6(0x1e7)](_0x4bd3a6(0x201),{'replyId':this[_0x4bd3a6(0x205)]['id'],'partIndex':_0x5d1b38});}),this[_0x7855fc(0x1f9)]=new _0x2533c9(_0x236ecd,this[_0x7855fc(0x205)][_0x7855fc(0x1ea)]),this[_0x7855fc(0x1f9)][_0x7855fc(0x1fa)](_0x7855fc(0x1e1))['to'](this,_0x7855fc(0x1e1)),this[_0x7855fc(0x1f9)]['on'](_0x7855fc(0x1e5),()=>{var _0x14f362=_0x7855fc;this[_0x14f362(0x1e7)](_0x14f362(0x1e5),{'replyId':this[_0x14f362(0x205)]['id']});}),this[_0x7855fc(0x1f9)]['on'](_0x7855fc(0x1fe),()=>{var _0x2fb8a5=_0x7855fc;this[_0x2fb8a5(0x1e7)](_0x2fb8a5(0x1fe),{'replyId':this[_0x2fb8a5(0x205)]['id']});}),this[_0x7855fc(0x1f9)]['on'](_0x7855fc(0x208),()=>{var _0x52c62c=_0x7855fc;this[_0x52c62c(0x1e7)](_0x52c62c(0x208),{'replyId':this[_0x52c62c(0x205)]['id']});}),_0x1323d4[_0x7855fc(0x1f8)]?this[_0x7855fc(0x1f9)][_0x7855fc(0x1e6)]=!0x1:this[_0x7855fc(0x1f9)][_0x7855fc(0x1fa)](_0x7855fc(0x1e6))['to'](this[_0x7855fc(0x1ee)][_0x7855fc(0x1ec)],_0x7855fc(0x1f4)),this[_0x7855fc(0x1f0)][_0x7855fc(0x1e9)]([this[_0x7855fc(0x1ee)],this[_0x7855fc(0x1f9)]]),this[_0x7855fc(0x1e3)]({'attributes':{'class':[_0x7855fc(0x1f2)]}});}async[_0x2e603c(0x204)](_0x54b2c7){var _0x496e11=_0x2e603c;await this[_0x496e11(0x1ee)][_0x496e11(0x204)](_0x54b2c7),this[_0x496e11(0x1f9)][_0x496e11(0x1f1)](this[_0x496e11(0x1ee)][_0x496e11(0x1ec)][_0x496e11(0x200)]);}[_0x2e603c(0x1f6)](_0x2cd28b,_0x350db3){var _0x44b697=_0x2e603c;this[_0x44b697(0x1ee)][_0x44b697(0x1ec)][_0x44b697(0x1f6)](_0x2cd28b,_0x350db3);}[_0x2e603c(0x1e4)](_0x55efab){var _0x407780=_0x2e603c;this[_0x407780(0x1ee)][_0x407780(0x1e4)](_0x55efab);}[_0x2e603c(0x203)](_0x24efd0){var _0x34d36e=_0x2e603c;return this[_0x34d36e(0x1ee)][_0x34d36e(0x1ec)][_0x34d36e(0x203)](_0x24efd0);}[_0x2e603c(0x1eb)](){var _0x40d291=_0x2e603c;super[_0x40d291(0x1eb)](),this[_0x40d291(0x1ee)][_0x40d291(0x1eb)](),this[_0x40d291(0x1f9)][_0x40d291(0x20a)]=this[_0x40d291(0x1ee)][_0x40d291(0x1ec)][_0x40d291(0x1f7)];}}function _0x135f(){var _0x230242=['hasNonEmptyParts','areActionsDisabled','actionsView','bind','3fABYGN','set','8590162tpiaqa','insertSuggestion','toggleSuggestionDisplayMode','partsCount','mouseLeaveSuggestion','47896raZrCN','getPartView','updateContent','options','rejectSuggestion','1187839hXRysJ','applySuggestion','2061GciZzL','isVisible','dislike','6237870TqTibd','isTrackChangesOn','mouseOverSuggestion','extendTemplate','updateSources','showChangeInText','isEnabled','fire','992194yFXDys','addMany','availableActions','markAsDone','bodyView','4033870QgBpzz','containerView','like','children','updateLabels','ck-ai-chat__feed__ai-suggestion','showDiff','hasPendingParts','1550392oPISNo','updatePartState'];_0x135f=function(){return _0x230242;};return _0x135f();}
23
+ var _0xdf28e1=_0x177d;(function(_0xd8a9c9,_0x21c63b){var _0x7d6804=_0x177d,_0x2ed248=_0xd8a9c9();while(!![]){try{var _0x5a443e=-parseInt(_0x7d6804(0x155))/0x1*(-parseInt(_0x7d6804(0x171))/0x2)+-parseInt(_0x7d6804(0x16c))/0x3*(-parseInt(_0x7d6804(0x173))/0x4)+-parseInt(_0x7d6804(0x172))/0x5*(parseInt(_0x7d6804(0x14c))/0x6)+parseInt(_0x7d6804(0x154))/0x7*(-parseInt(_0x7d6804(0x15b))/0x8)+-parseInt(_0x7d6804(0x175))/0x9*(parseInt(_0x7d6804(0x150))/0xa)+-parseInt(_0x7d6804(0x151))/0xb+parseInt(_0x7d6804(0x161))/0xc*(parseInt(_0x7d6804(0x14b))/0xd);if(_0x5a443e===_0x21c63b)break;else _0x2ed248['push'](_0x2ed248['shift']());}catch(_0x1c5382){_0x2ed248['push'](_0x2ed248['shift']());}}}(_0x3a3f,0xb7ac8));import{AIChatFeedItemView as _0x468003}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x94f713}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x3a3f(){var _0x2b5290=['showDiff','isEnabled','extendTemplate','updateContent','availableActions','containerView','mouseLeaveSuggestion','453ylBGAS','set','isVisible','mouseOverSuggestion','toggleSuggestionDisplayMode','148076BZlNwm','64385OmfCKK','18840wYweXc','ck-ai-chat__feed__ai-suggestion','9mdGubz','like','actionsView','hasNonEmptyParts','applySuggestion','options','1744496bZHAzO','402YuIbZa','isTrackChangesOn','bodyView','dislike','8607010AMBBbO','10311169dcRoIn','updateSources','hasPendingParts','35231ErtbFd','13bpGviq','insertSuggestion','areActionsDisabled','rejectSuggestion','addMany','updatePartState','8TVrNBd','markAsDone','showChangeInText','bind','updateLabels','fire','156sLNyul','getPartView','children','partsCount'];_0x3a3f=function(){return _0x2b5290;};return _0x3a3f();}function _0x177d(_0x588b55,_0x2ee788){var _0x3a3fa5=_0x3a3f();return _0x177d=function(_0x177db9,_0x20bba2){_0x177db9=_0x177db9-0x146;var _0x45eb9e=_0x3a3fa5[_0x177db9];return _0x45eb9e;},_0x177d(_0x588b55,_0x2ee788);}import{AIChatFeedSuggestionItemActionsView as _0x57296e}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x468003{[_0xdf28e1(0x16a)];[_0xdf28e1(0x147)];constructor(_0x9fa3c2,_0x13bde8){var _0x131486=_0xdf28e1;super(_0x13bde8),this[_0x131486(0x16d)](_0x131486(0x14d),!0x1),this[_0x131486(0x16a)]=new _0x94f713(_0x9fa3c2,{'showDiff':_0x13bde8[_0x131486(0x165)],'areActionsDisabled':_0x13bde8[_0x131486(0x157)],'availableActions':_0x13bde8[_0x131486(0x169)]}),this[_0x131486(0x16a)]['on'](_0x131486(0x170),(_0x3e919c,_0x23c046)=>{var _0x46f811=_0x131486;this[_0x46f811(0x160)](_0x46f811(0x170),{'replyId':this[_0x46f811(0x14a)]['id'],'showDiff':_0x23c046[_0x46f811(0x165)]});}),this[_0x131486(0x16a)]['on'](_0x131486(0x146),()=>{var _0x7947fc=_0x131486;this[_0x7947fc(0x160)](_0x7947fc(0x146),{'replyId':this[_0x7947fc(0x14a)]['id']});}),this[_0x131486(0x16a)]['on'](_0x131486(0x14f),()=>{var _0x40af43=_0x131486;this[_0x40af43(0x160)](_0x40af43(0x14f),{'replyId':this[_0x40af43(0x14a)]['id']});}),this[_0x131486(0x16a)]['on'](_0x131486(0x15d),(_0xbddc90,{index:_0x3b3f8d})=>{var _0x1cf579=_0x131486;this[_0x1cf579(0x160)](_0x1cf579(0x15d),{'replyId':this[_0x1cf579(0x14a)]['id'],'partIndex':_0x3b3f8d});}),this[_0x131486(0x16a)]['on'](_0x131486(0x156),(_0x4b9888,{index:_0x2bafd9})=>{var _0x402e10=_0x131486;this[_0x402e10(0x160)](_0x402e10(0x156),{'replyId':this[_0x402e10(0x14a)]['id'],'partIndex':_0x2bafd9});}),this[_0x131486(0x16a)]['on'](_0x131486(0x158),(_0x5123fa,{index:_0x643cdd})=>{var _0x1b69a4=_0x131486;this[_0x1b69a4(0x160)](_0x1b69a4(0x158),{'replyId':this[_0x1b69a4(0x14a)]['id'],'partIndex':_0x643cdd});}),this[_0x131486(0x16a)]['on'](_0x131486(0x16f),(_0x10a3f9,{index:_0x575d34})=>{var _0x5bdfdd=_0x131486;this[_0x5bdfdd(0x160)](_0x5bdfdd(0x16f),{'replyId':this[_0x5bdfdd(0x14a)]['id'],'partIndex':_0x575d34});}),this[_0x131486(0x16a)]['on'](_0x131486(0x16b),(_0x3929cd,{index:_0x1e62e8})=>{var _0x1b3a95=_0x131486;this[_0x1b3a95(0x160)](_0x1b3a95(0x16b),{'replyId':this[_0x1b3a95(0x14a)]['id'],'partIndex':_0x1e62e8});}),this[_0x131486(0x147)]=new _0x57296e(_0x9fa3c2,this[_0x131486(0x14a)][_0x131486(0x169)]),this[_0x131486(0x147)][_0x131486(0x15e)](_0x131486(0x14d))['to'](this,_0x131486(0x14d)),this[_0x131486(0x147)]['on'](_0x131486(0x15d),()=>{var _0x23a6aa=_0x131486;this[_0x23a6aa(0x160)](_0x23a6aa(0x15d),{'replyId':this[_0x23a6aa(0x14a)]['id']});}),this[_0x131486(0x147)]['on'](_0x131486(0x156),()=>{var _0x47017b=_0x131486;this[_0x47017b(0x160)](_0x47017b(0x156),{'replyId':this[_0x47017b(0x14a)]['id']});}),this[_0x131486(0x147)]['on'](_0x131486(0x149),()=>{var _0x52298a=_0x131486;this[_0x52298a(0x160)](_0x52298a(0x149),{'replyId':this[_0x52298a(0x14a)]['id']});}),_0x13bde8[_0x131486(0x157)]?this[_0x131486(0x147)][_0x131486(0x166)]=!0x1:this[_0x131486(0x147)][_0x131486(0x15e)](_0x131486(0x166))['to'](this[_0x131486(0x16a)][_0x131486(0x14e)],_0x131486(0x153)),this[_0x131486(0x163)][_0x131486(0x159)]([this[_0x131486(0x16a)],this[_0x131486(0x147)]]),this[_0x131486(0x167)]({'attributes':{'class':[_0x131486(0x174)]}});}async[_0xdf28e1(0x168)](_0x4aeb69){var _0x59c54f=_0xdf28e1;await this[_0x59c54f(0x16a)][_0x59c54f(0x168)](_0x4aeb69),this[_0x59c54f(0x147)][_0x59c54f(0x15f)](this[_0x59c54f(0x16a)][_0x59c54f(0x14e)][_0x59c54f(0x164)]);}[_0xdf28e1(0x15a)](_0x1d5e75,_0x108a9a){var _0x2e0b1a=_0xdf28e1;this[_0x2e0b1a(0x16a)][_0x2e0b1a(0x14e)][_0x2e0b1a(0x15a)](_0x1d5e75,_0x108a9a);}[_0xdf28e1(0x152)](_0x226edb){var _0x521cbc=_0xdf28e1;this[_0x521cbc(0x16a)][_0x521cbc(0x152)](_0x226edb);}[_0xdf28e1(0x162)](_0x1d4a47){var _0x3852f3=_0xdf28e1;return this[_0x3852f3(0x16a)][_0x3852f3(0x14e)][_0x3852f3(0x162)](_0x1d4a47);}[_0xdf28e1(0x15c)](){var _0x155c76=_0xdf28e1;super[_0x155c76(0x15c)](),this[_0x155c76(0x16a)][_0x155c76(0x15c)](),this[_0x155c76(0x147)][_0x155c76(0x16e)]=this[_0x155c76(0x16a)][_0x155c76(0x14e)][_0x155c76(0x148)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x31d286=_0x4e58;(function(_0xc7bdca,_0xbe06af){var _0x2fd79a=_0x4e58,_0x551141=_0xc7bdca();while(!![]){try{var _0x226aeb=-parseInt(_0x2fd79a(0x171))/0x1+-parseInt(_0x2fd79a(0x180))/0x2+parseInt(_0x2fd79a(0x17e))/0x3*(-parseInt(_0x2fd79a(0x16b))/0x4)+-parseInt(_0x2fd79a(0x17c))/0x5*(parseInt(_0x2fd79a(0x168))/0x6)+-parseInt(_0x2fd79a(0x164))/0x7*(-parseInt(_0x2fd79a(0x16d))/0x8)+parseInt(_0x2fd79a(0x16e))/0x9*(-parseInt(_0x2fd79a(0x15f))/0xa)+-parseInt(_0x2fd79a(0x177))/0xb*(-parseInt(_0x2fd79a(0x161))/0xc);if(_0x226aeb===_0xbe06af)break;else _0x551141['push'](_0x551141['shift']());}catch(_0xbb9360){_0x551141['push'](_0x551141['shift']());}}}(_0x3f56,0x374a3));function _0x4e58(_0x3d773c,_0x572a17){var _0x3f56d6=_0x3f56();return _0x4e58=function(_0x4e5865,_0x55b1f4){_0x4e5865=_0x4e5865-0x15f;var _0x5b523f=_0x3f56d6[_0x4e5865];return _0x5b523f;},_0x4e58(_0x3d773c,_0x572a17);}import{AIChatFeedItemView as _0x2b9f38}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0xa7603e}from'./aichatfeedcontextchipsview.js';function _0x3f56(){var _0x4cbc15=['_createMessageContentView','_locale','10RGHEES','options','6277896kYFUjs','_messageContentView','contextItems','20118lxgupj','element','render','markAsDone','1598286jpuIet','filter','_bodyCollection','7468xYFwEg','length','968cGdLvP','105264adEBFK','extendTemplate','div','122961MlJSxy','innerHTML','ck-ai-chat__feed__context-chips','children','setTemplate','_createContextChipsView','11FHtwcR','add','hidden','_contextChipsView','initialContent','5EqVCLG','ck-ai-chat__feed__user-message','93hQVSrZ','ck-ai-chat__feed__message-content','371060JjQCsp'];_0x3f56=function(){return _0x4cbc15;};return _0x3f56();}import{View as _0x38b009}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x2b9f38{[_0x31d286(0x17a)]=null;[_0x31d286(0x182)];[_0x31d286(0x16a)];[_0x31d286(0x162)];constructor(_0x41789b,_0xa5f965,_0x4bdb12){var _0x56150f=_0x31d286;super(_0xa5f965),this[_0x56150f(0x182)]=_0x41789b,this[_0x56150f(0x16a)]=_0x4bdb12,this[_0x56150f(0x176)](),this[_0x56150f(0x181)](),this[_0x56150f(0x16f)]({'attributes':{'class':[_0x56150f(0x17d)]}});}[_0x31d286(0x176)](){var _0xfd5fee=_0x31d286;this[_0xfd5fee(0x160)][_0xfd5fee(0x163)]&&this[_0xfd5fee(0x160)][_0xfd5fee(0x163)][_0xfd5fee(0x16c)]>0x0&&(this[_0xfd5fee(0x17a)]=new _0xa7603e(this[_0xfd5fee(0x182)],this[_0xfd5fee(0x160)][_0xfd5fee(0x163)][_0xfd5fee(0x169)](_0x349598=>!_0x349598[_0xfd5fee(0x179)]),this[_0xfd5fee(0x16a)]),this[_0xfd5fee(0x17a)][_0xfd5fee(0x16f)]({'attributes':{'class':_0xfd5fee(0x173)}}),this[_0xfd5fee(0x174)][_0xfd5fee(0x178)](this[_0xfd5fee(0x17a)]));}[_0x31d286(0x181)](){var _0x2c9c30=_0x31d286;this[_0x2c9c30(0x162)]=new _0x38b009(this[_0x2c9c30(0x182)]),this[_0x2c9c30(0x162)][_0x2c9c30(0x175)]({'tag':_0x2c9c30(0x170),'attributes':{'class':_0x2c9c30(0x17f)}}),this[_0x2c9c30(0x174)][_0x2c9c30(0x178)](this[_0x2c9c30(0x162)]);}[_0x31d286(0x166)](){var _0x4f2981=_0x31d286;super[_0x4f2981(0x166)](),this[_0x4f2981(0x162)][_0x4f2981(0x165)][_0x4f2981(0x172)]=this[_0x4f2981(0x160)][_0x4f2981(0x17b)],this[_0x4f2981(0x167)]();}}
23
+ var _0x54e2e8=_0x3022;(function(_0x584eb2,_0x56ef64){var _0x19e4b1=_0x3022,_0xe7e30b=_0x584eb2();while(!![]){try{var _0x101521=-parseInt(_0x19e4b1(0xa6))/0x1*(-parseInt(_0x19e4b1(0x86))/0x2)+-parseInt(_0x19e4b1(0xa4))/0x3*(-parseInt(_0x19e4b1(0x8f))/0x4)+parseInt(_0x19e4b1(0x91))/0x5+parseInt(_0x19e4b1(0x96))/0x6*(parseInt(_0x19e4b1(0xa2))/0x7)+-parseInt(_0x19e4b1(0x85))/0x8*(-parseInt(_0x19e4b1(0xa1))/0x9)+parseInt(_0x19e4b1(0xa3))/0xa*(-parseInt(_0x19e4b1(0x99))/0xb)+-parseInt(_0x19e4b1(0x89))/0xc*(parseInt(_0x19e4b1(0x87))/0xd);if(_0x101521===_0x56ef64)break;else _0xe7e30b['push'](_0xe7e30b['shift']());}catch(_0x2b227c){_0xe7e30b['push'](_0xe7e30b['shift']());}}}(_0x38be,0x4e9fb));import{AIChatFeedItemView as _0x3132c1}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x5316d6}from'./aichatfeedcontextchipsview.js';import{View as _0x2502a3}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x3132c1{[_0x54e2e8(0x8d)]=null;[_0x54e2e8(0x9a)];[_0x54e2e8(0x92)];[_0x54e2e8(0x8a)];constructor(_0x5d49a3,_0x50a121,_0x3d0a53){var _0x1b29f6=_0x54e2e8;super(_0x50a121),this[_0x1b29f6(0x9a)]=_0x5d49a3,this[_0x1b29f6(0x92)]=_0x3d0a53,this[_0x1b29f6(0x8e)](),this[_0x1b29f6(0x93)](),this[_0x1b29f6(0xa8)]({'attributes':{'class':[_0x1b29f6(0x88)]}});}[_0x54e2e8(0x8e)](){var _0x29191b=_0x54e2e8;this[_0x29191b(0x9c)][_0x29191b(0x95)]&&this[_0x29191b(0x9c)][_0x29191b(0x95)][_0x29191b(0xa7)]>0x0&&(this[_0x29191b(0x8d)]=new _0x5316d6(this[_0x29191b(0x9a)],this[_0x29191b(0x9c)][_0x29191b(0x95)][_0x29191b(0x94)](_0x22a2e1=>!_0x22a2e1[_0x29191b(0x9d)]),this[_0x29191b(0x92)]),this[_0x29191b(0x8d)][_0x29191b(0xa8)]({'attributes':{'class':_0x29191b(0x9e)}}),this[_0x29191b(0x9b)][_0x29191b(0x97)](this[_0x29191b(0x8d)]));}[_0x54e2e8(0x93)](){var _0x3e2ea8=_0x54e2e8;this[_0x3e2ea8(0x8a)]=new _0x2502a3(this[_0x3e2ea8(0x9a)]),this[_0x3e2ea8(0x8a)][_0x3e2ea8(0x8c)]({'tag':_0x3e2ea8(0x84),'attributes':{'class':_0x3e2ea8(0xa5)}}),this[_0x3e2ea8(0x9b)][_0x3e2ea8(0x97)](this[_0x3e2ea8(0x8a)]);}[_0x54e2e8(0x9f)](){var _0x426ab2=_0x54e2e8;super[_0x426ab2(0x9f)](),this[_0x426ab2(0x8a)][_0x426ab2(0x8b)][_0x426ab2(0x90)]=this[_0x426ab2(0x9c)][_0x426ab2(0xa0)],this[_0x426ab2(0x98)]();}}function _0x3022(_0x3c783d,_0x38a307){var _0x38be7f=_0x38be();return _0x3022=function(_0x30229d,_0x5af8d6){_0x30229d=_0x30229d-0x84;var _0x1c1dcd=_0x38be7f[_0x30229d];return _0x1c1dcd;},_0x3022(_0x3c783d,_0x38a307);}function _0x38be(){var _0x51b516=['_locale','children','options','hidden','ck-ai-chat__feed__context-chips','render','initialContent','9ljfOxd','624659rnPmSd','4717590lViIyB','4803JgThQX','ck-ai-chat__feed__message-content','465769lzFxcY','length','extendTemplate','div','2402552YoVuYK','2bPWJbZ','13GnvMPg','ck-ai-chat__feed__user-message','7812060QLfFYW','_messageContentView','element','setTemplate','_contextChipsView','_createContextChipsView','680vKOkPD','innerHTML','1586560dbhrDC','_bodyCollection','_createMessageContentView','filter','contextItems','6UCCGhg','add','markAsDone','11dYZBtB'];_0x38be=function(){return _0x51b516;};return _0x38be();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xa3e311=_0x3453;function _0x3453(_0x51f4d6,_0x43ca0f){var _0x109d7b=_0x109d();return _0x3453=function(_0x34534d,_0x3a6b28){_0x34534d=_0x34534d-0xef;var _0x16ba6=_0x109d7b[_0x34534d];return _0x16ba6;},_0x3453(_0x51f4d6,_0x43ca0f);}(function(_0x4b312d,_0x2ce1d5){var _0x48467e=_0x3453,_0x24bb2b=_0x4b312d();while(!![]){try{var _0x88dfce=parseInt(_0x48467e(0xf0))/0x1*(-parseInt(_0x48467e(0xf3))/0x2)+-parseInt(_0x48467e(0xf7))/0x3*(-parseInt(_0x48467e(0x100))/0x4)+-parseInt(_0x48467e(0xf6))/0x5*(-parseInt(_0x48467e(0xfe))/0x6)+-parseInt(_0x48467e(0xfd))/0x7*(-parseInt(_0x48467e(0xef))/0x8)+parseInt(_0x48467e(0xff))/0x9+parseInt(_0x48467e(0xf8))/0xa*(parseInt(_0x48467e(0xfa))/0xb)+parseInt(_0x48467e(0xf9))/0xc*(-parseInt(_0x48467e(0xfc))/0xd);if(_0x88dfce===_0x2ce1d5)break;else _0x24bb2b['push'](_0x24bb2b['shift']());}catch(_0xecff3a){_0x24bb2b['push'](_0x24bb2b['shift']());}}}(_0x109d,0xf1939));import{ContextPlugin as _0x3ed39}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x362537}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x551d7e}from'./aichathistoryui.js';function _0x109d(){var _0x45d491=['90RbYswm','325086UrONOb','6414890dBMTEB','2000220BcCjPS','11GqZbMl','isPremiumPlugin','13hpRFLf','1160971WzYonU','258504LlfNtX','661869yiFkPA','4MPpNII','48tWJTTm','239640zuqrAa','requires','AIChatHistory','12XyUnCK','isOfficialPlugin','pluginName'];_0x109d=function(){return _0x45d491;};return _0x109d();}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3ed39{static get[_0xa3e311(0xf1)](){return[_0x362537,_0x551d7e];}static get[_0xa3e311(0xf5)](){var _0x152646=_0xa3e311;return _0x152646(0xf2);}static get[_0xa3e311(0xf4)](){return!0x0;}static get[_0xa3e311(0xfb)](){return!0x0;}}
23
+ var _0x544ea3=_0x928f;(function(_0x1f197f,_0x5101f2){var _0x460264=_0x928f,_0x23b480=_0x1f197f();while(!![]){try{var _0x589128=parseInt(_0x460264(0x1da))/0x1*(parseInt(_0x460264(0x1d2))/0x2)+parseInt(_0x460264(0x1db))/0x3+-parseInt(_0x460264(0x1de))/0x4+parseInt(_0x460264(0x1d8))/0x5+-parseInt(_0x460264(0x1d5))/0x6*(-parseInt(_0x460264(0x1dc))/0x7)+-parseInt(_0x460264(0x1d4))/0x8+parseInt(_0x460264(0x1d3))/0x9;if(_0x589128===_0x5101f2)break;else _0x23b480['push'](_0x23b480['shift']());}catch(_0x4016c6){_0x23b480['push'](_0x23b480['shift']());}}}(_0x236f,0x85feb));function _0x928f(_0x6814b0,_0x4c6ec3){var _0x236fd0=_0x236f();return _0x928f=function(_0x928ffe,_0x139136){_0x928ffe=_0x928ffe-0x1d1;var _0x3e0d35=_0x236fd0[_0x928ffe];return _0x3e0d35;},_0x928f(_0x6814b0,_0x4c6ec3);}function _0x236f(){var _0x34befd=['isPremiumPlugin','2072992qPQNAz','pluginName','4GWxXFs','1132128VdOvBc','6401792jRriFm','6aEddhj','isOfficialPlugin','AIChatHistory','4786060UKHEkc','requires','165379FJDccw','161394NgHwyK','2798285pbSDpP'];_0x236f=function(){return _0x34befd;};return _0x236f();}import{ContextPlugin as _0x288aa1}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x625c34}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x308791}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x288aa1{static get[_0x544ea3(0x1d9)](){return[_0x625c34,_0x308791];}static get[_0x544ea3(0x1d1)](){var _0x41e55c=_0x544ea3;return _0x41e55c(0x1d7);}static get[_0x544ea3(0x1d6)](){return!0x0;}static get[_0x544ea3(0x1dd)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5c0f(){const _0x428da1=['AI_CHAT_HISTORY_CATEGORY_TODAY','unpin','loadItems','getItems','1503433IoyMwU','editConversationTitle','requires','getFullYear','rename','chat','_handleRemove','locale','pin','updateItemLoadingState','_aiConnector','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','error','pinned','4616502vsjeli','_showConversationHistory','54IFAFQi','2215540ZhrxBO','resizeTabs','_handleHistoryErrorUI','AI_CHAT_HISTORY_UNPIN_ACTION','5icWcSb','setConversationPinned','updateItems','AI_CHAT_HISTORY_CATEGORY_LATER','resize','_updateHistoryItemsUI','pluginName','activateTab','resizedTabs','getDate','2AIUglV','title','_handleTogglePin','operation','map','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','isOfficialPlugin','itemUpdated','view','_aiChatHistoryUi','_handleEditTitle','getItem','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','3826221FcadHX','init','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','get','_setIsMaximized','push','_getCategorizedItems','items','getMonth','openChat','history','createdAt','AIChatHistoryController','activeConversation','14184910ITAouG','AI_CHAT_HISTORY_PIN_ACTION','updateItemTitle','change:activeConversation','plugins','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','removeConversation','activateTab:history','getGroupId','_generateErrorMessage','AI_CHAT_HISTORY_ERROR_GENERIC','handleRemovedConversation','itemRemoved','listenTo','updateItemPinned','_aiChatController','1042792eZpQrw','setIsMaximized','removeItem','_clearItemLoading','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','setLoadingSkeleton','itemId','AI_CHAT_UNTITLED_CONVERSATION','setDate','_setItemLoading','remove','selectConversation','length','_handleSelectConversation','toLocaleDateString','context','itemsLoaded','loadConversation','showError','AI_CHAT_HISTORY_CATEGORY_PINNED','removeHistoryItem','updates','isPremiumPlugin','47538zmFcvr'];_0x5c0f=function(){return _0x428da1;};return _0x5c0f();}const _0x54a666=_0x5588;(function(_0x2671f3,_0x56be26){const _0x5a12e5=_0x5588,_0x34b990=_0x2671f3();while(!![]){try{const _0x38bb1f=-parseInt(_0x5a12e5(0x1f3))/0x1*(-parseInt(_0x5a12e5(0x212))/0x2)+parseInt(_0x5a12e5(0x201))/0x3+parseInt(_0x5a12e5(0x204))/0x4+-parseInt(_0x5a12e5(0x208))/0x5*(-parseInt(_0x5a12e5(0x1ee))/0x6)+-parseInt(_0x5a12e5(0x21f))/0x7+parseInt(_0x5a12e5(0x1d7))/0x8*(-parseInt(_0x5a12e5(0x203))/0x9)+-parseInt(_0x5a12e5(0x22d))/0xa;if(_0x38bb1f===_0x56be26)break;else _0x34b990['push'](_0x34b990['shift']());}catch(_0x5287b6){_0x34b990['push'](_0x34b990['shift']());}}}(_0x5c0f,0xd1337));import{ContextPlugin as _0x276097}from'ckeditor5/src/core.js';import{AIConnector as _0x53998e}from'../aicore/aiconnector.js';import{AIChatController as _0x575752}from'../aichat/aichatcontroller.js';import{AITabs as _0x2f2f17}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x5c69b8}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x487c00}from'./model/aichathistoryconversations.js';function _0x5588(_0x578d31,_0x1fa813){const _0x5c0f35=_0x5c0f();return _0x5588=function(_0x5588c3,_0x19ec09){_0x5588c3=_0x5588c3-0x1d0;let _0x1ec811=_0x5c0f35[_0x5588c3];return _0x1ec811;},_0x5588(_0x578d31,_0x1fa813);}import{getTranslation as _0xaf882f}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x276097{[_0x54a666(0x1fd)];[_0x54a666(0x21b)];[_0x54a666(0x1d6)];static get[_0x54a666(0x1f5)](){return[_0x53998e,_0x575752,_0x5c69b8,_0x2f2f17];}static get[_0x54a666(0x20e)](){const _0x496c1a=_0x54a666;return _0x496c1a(0x22b);}static get[_0x54a666(0x218)](){return!0x0;}static get[_0x54a666(0x1ed)](){return!0x0;}[_0x54a666(0x220)](){const _0xbfe057=_0x54a666;this[_0xbfe057(0x1fd)]=this[_0xbfe057(0x1e6)][_0xbfe057(0x231)][_0xbfe057(0x222)](_0x53998e),this[_0xbfe057(0x21b)]=this[_0xbfe057(0x1e6)][_0xbfe057(0x231)][_0xbfe057(0x222)](_0x5c69b8),this[_0xbfe057(0x1d6)]=this[_0xbfe057(0x1e6)][_0xbfe057(0x231)][_0xbfe057(0x222)](_0x575752);const _0x3ff16b=this[_0xbfe057(0x1e6)][_0xbfe057(0x231)][_0xbfe057(0x222)](_0x2f2f17);try{const _0x6790b4=this[_0xbfe057(0x1d6)][_0xbfe057(0x235)]();this[_0xbfe057(0x229)]=new _0x487c00({'connector':this[_0xbfe057(0x1fd)],'group':_0x6790b4}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x233),(_0x1fcea3,_0x3557e8)=>{const _0x48a6a0=_0xbfe057;this[_0x48a6a0(0x1e0)](_0x3557e8['id'],_0x48a6a0(0x1e1)),this[_0x48a6a0(0x1f9)](_0x3557e8['id']);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x1f4),(_0x4ade7a,_0x22f131)=>{const _0x3c281d=_0xbfe057;this[_0x3c281d(0x1e0)](_0x22f131['id'],_0x3c281d(0x1f7)),this[_0x3c281d(0x21c)](_0x22f131['id'],_0x22f131[_0x3c281d(0x213)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x229)],_0xbfe057(0x219),(_0x23244f,_0x364922)=>{const _0x20ed07=_0xbfe057;void 0x0!==_0x364922[_0x20ed07(0x1ec)][_0x20ed07(0x213)]&&this[_0x20ed07(0x21b)][_0x20ed07(0x22f)](_0x364922[_0x20ed07(0x1dd)],_0x364922[_0x20ed07(0x1ec)][_0x20ed07(0x213)]),void 0x0!==_0x364922[_0x20ed07(0x1ec)][_0x20ed07(0x200)]&&this[_0x20ed07(0x20d)](),this[_0x20ed07(0x1da)](_0x364922[_0x20ed07(0x1dd)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x229)],_0xbfe057(0x1d3),(_0x564cd4,_0x1b5f68)=>{const _0x4849d8=_0xbfe057;this[_0x4849d8(0x1d6)][_0x4849d8(0x1d2)](_0x1b5f68[_0x4849d8(0x1dd)]),this[_0x4849d8(0x21b)][_0x4849d8(0x1eb)](_0x1b5f68[_0x4849d8(0x1dd)]),this[_0x4849d8(0x1da)](_0x1b5f68[_0x4849d8(0x1dd)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x229)],_0xbfe057(0x1e7),()=>{const _0x1197fe=_0xbfe057;this[_0x1197fe(0x20d)]();}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x229)],_0xbfe057(0x1ff),(_0x1bdf69,_0x12e279)=>{const _0x3eb6e1=_0xbfe057;this[_0x3eb6e1(0x206)](_0x12e279[_0x3eb6e1(0x1ff)],_0x12e279[_0x3eb6e1(0x215)],_0x12e279[_0x3eb6e1(0x1dd)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x1e2),(_0x2b3cfa,_0xab4191)=>{const _0x197370=_0xbfe057;this[_0x197370(0x1e4)](_0xab4191['id']);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x209),(_0x1fed8f,_0x475dbb)=>{const _0x3a8468=_0xbfe057,_0x2aeb0e=_0x475dbb[_0x3a8468(0x200)]?_0x3a8468(0x1fb):_0x3a8468(0x1f0);this[_0x3a8468(0x1e0)](_0x475dbb['id'],_0x2aeb0e),this[_0x3a8468(0x214)](_0x475dbb['id'],_0x475dbb[_0x3a8468(0x200)]);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x228),()=>{const _0x3d4c0d=_0xbfe057;_0x3ff16b[_0x3d4c0d(0x21a)][_0x3d4c0d(0x20f)](_0x3d4c0d(0x1f8));}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x1d6)],_0xbfe057(0x230),()=>{const _0x397ef4=_0xbfe057;this[_0x397ef4(0x20d)]();}),_0x3ff16b[_0xbfe057(0x21a)]['on'](_0xbfe057(0x234),()=>{const _0x32434e=_0xbfe057;this[_0x32434e(0x202)]();}),this[_0xbfe057(0x1d4)](_0x3ff16b,_0xbfe057(0x210),(_0x16d079,_0x304242)=>{const _0x542a1b=_0xbfe057;this[_0x542a1b(0x223)](_0x304242);}),this[_0xbfe057(0x1d4)](this[_0xbfe057(0x21b)],_0xbfe057(0x205),()=>{const _0x365698=_0xbfe057;_0x3ff16b[_0x365698(0x20c)]();});}catch(_0x16057d){this[_0xbfe057(0x206)](_0x16057d,_0xbfe057(0x220));}}async[_0x54a666(0x21c)](_0x2984e0,_0x27bcb5){const _0x56c847=_0x54a666;await this[_0x56c847(0x229)][_0x56c847(0x22f)](_0x2984e0,_0x27bcb5);}async[_0x54a666(0x214)](_0x499007,_0x27f1c7){const _0x1695f9=_0x54a666;await this[_0x1695f9(0x229)][_0x1695f9(0x1d5)](_0x499007,_0x27f1c7);}async[_0x54a666(0x1f9)](_0x26f4d0){const _0x3f9909=_0x54a666;await this[_0x3f9909(0x229)][_0x3f9909(0x1d9)](_0x26f4d0);}async[_0x54a666(0x1e4)](_0x44ee44){const _0x3c5d30=_0x54a666;await this[_0x3c5d30(0x1d6)][_0x3c5d30(0x1e8)](_0x44ee44);}async[_0x54a666(0x202)](){const _0x269411=_0x54a666;this[_0x269411(0x21b)][_0x269411(0x1e9)](''),this[_0x269411(0x21b)][_0x269411(0x1dc)](!0x0),await this[_0x269411(0x229)][_0x269411(0x220)](),this[_0x269411(0x21b)][_0x269411(0x1dc)](!0x1);}[_0x54a666(0x20d)](){const _0x1aea98=_0x54a666,_0x48401b=this[_0x1aea98(0x1d6)][_0x1aea98(0x22c)]?.['id'],_0xafe090=this[_0x1aea98(0x225)]()[_0x1aea98(0x216)](_0x103bf9=>({'title':_0x103bf9[_0x1aea98(0x213)],'items':_0x103bf9[_0x1aea98(0x226)][_0x1aea98(0x216)](_0x4d964e=>({'id':_0x4d964e['id'],'title':_0x4d964e[_0x1aea98(0x213)]||_0xaf882f(this[_0x1aea98(0x1e6)][_0x1aea98(0x1fa)],_0x1aea98(0x1de)),'createdAt':new Date(_0x4d964e[_0x1aea98(0x22a)])[_0x1aea98(0x1e5)](),'active':_0x4d964e['id']===_0x48401b,'pinned':_0x4d964e[_0x1aea98(0x200)]}))}));this[_0x1aea98(0x21b)][_0x1aea98(0x20a)](_0xafe090);}[_0x54a666(0x1e0)](_0x250b38,_0x3deb75){const _0x409d11=_0x54a666;this[_0x409d11(0x21b)][_0x409d11(0x1fc)](_0x250b38,_0x3deb75,!0x0);}[_0x54a666(0x1da)](_0x5609d){const _0x166b0d=_0x54a666;this[_0x166b0d(0x21b)][_0x166b0d(0x1fc)](_0x5609d,null,!0x1);}[_0x54a666(0x206)](_0x5643d6,_0x4de934,_0x4828b1){const _0x338d80=_0x54a666,_0xfbc519=this[_0x338d80(0x1d0)](_0x4de934,_0x4828b1);this[_0x338d80(0x21b)][_0x338d80(0x1e9)](_0xfbc519),_0x4828b1&&this[_0x338d80(0x1da)](_0x4828b1),this[_0x338d80(0x21b)][_0x338d80(0x1dc)](!0x1);}[_0x54a666(0x1d0)](_0x4d9357,_0x358e9a){const _0x39a91c=_0x54a666,_0xb8c0bd=_0x358e9a?this[_0x39a91c(0x229)][_0x39a91c(0x21d)](_0x358e9a):null,_0x432598=_0xb8c0bd?.[_0x39a91c(0x213)]||_0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x1de));switch(_0x4d9357){case _0x39a91c(0x22f):return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x1db),_0x432598);case _0x39a91c(0x1d5):{const _0x9bd29b=_0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0xb8c0bd?.[_0x39a91c(0x200)]?_0x39a91c(0x207):_0x39a91c(0x22e));return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x217),[_0x9bd29b,_0x432598]);}case _0x39a91c(0x1d9):return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x232),_0x432598);case _0x39a91c(0x220):case _0x39a91c(0x1f1):return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x221));default:return _0xaf882f(this[_0x39a91c(0x1e6)][_0x39a91c(0x1fa)],_0x39a91c(0x1d1));}}[_0x54a666(0x225)](){const _0x529022=_0x54a666,_0x43e0bd=new Date(),_0x7f18f1=new Date(_0x43e0bd[_0x529022(0x1f6)](),_0x43e0bd[_0x529022(0x227)](),_0x43e0bd[_0x529022(0x211)]()),_0xb7c2b7=new Date(_0x7f18f1);_0xb7c2b7[_0x529022(0x1df)](_0xb7c2b7[_0x529022(0x211)]()-0x1);const _0xb270f1=new Date(_0x7f18f1);_0xb270f1[_0x529022(0x1df)](_0xb270f1[_0x529022(0x211)]()-0xe);const _0x2d11b8=this[_0x529022(0x229)][_0x529022(0x1f2)]({'pinned':!0x0}),_0x191127=this[_0x529022(0x229)][_0x529022(0x1f2)]({'from':_0x7f18f1,'to':_0x7f18f1}),_0x4396fa=this[_0x529022(0x229)][_0x529022(0x1f2)]({'from':_0xb7c2b7,'to':_0xb7c2b7}),_0x2c4ada=this[_0x529022(0x229)][_0x529022(0x1f2)]({'from':_0xb270f1,'to':_0xb7c2b7}),_0x58339a=this[_0x529022(0x229)][_0x529022(0x1f2)]({'to':_0xb270f1}),_0x4512cb=[];return _0x2d11b8[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x1ea)),'items':_0x2d11b8}),_0x191127[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x1ef)),'items':_0x191127}),_0x4396fa[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x1fe)),'items':_0x4396fa}),_0x2c4ada[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x21e)),'items':_0x2c4ada}),_0x58339a[_0x529022(0x1e3)]>0x0&&_0x4512cb[_0x529022(0x224)]({'title':_0xaf882f(this[_0x529022(0x1e6)][_0x529022(0x1fa)],_0x529022(0x20b)),'items':_0x58339a}),_0x4512cb;}[_0x54a666(0x223)](_0x2d0f08){const _0x2e0c6c=_0x54a666;this[_0x2e0c6c(0x21b)][_0x2e0c6c(0x1d8)](_0x2d0f08);}}
23
+ function _0x2fed(){const _0x1a456a=['_handleEditTitle','AIChatHistoryController','updateItemLoadingState','removeConversation','selectConversation','removeHistoryItem','map','showError','editConversationTitle','6457056czeloR','itemsLoaded','resizedTabs','_aiConnector','getItem','unpin','36cfxwbp','AI_CHAT_HISTORY_PIN_ACTION','_clearItemLoading','updateItemPinned','_handleSelectConversation','updates','77327TJPArw','activateTab','107552GRchbE','4aBXMMP','_showConversationHistory','toLocaleDateString','_handleTogglePin','AI_CHAT_HISTORY_CATEGORY_LATER','updateItems','rename','isPremiumPlugin','pinned','AI_CHAT_UNTITLED_CONVERSATION','_handleHistoryErrorUI','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','pin','AI_CHAT_HISTORY_ERROR_GENERIC','727638JGJURK','_aiChatHistoryUi','resizeTabs','_setItemLoading','length','title','history','AI_CHAT_HISTORY_CATEGORY_PINNED','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','removeItem','getDate','activateTab:history','updateItemTitle','getFullYear','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','push','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_updateHistoryItemsUI','_setIsMaximized','3161070xJaYKy','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_UNPIN_ACTION','change:activeConversation','loadConversation','_generateErrorMessage','_aiChatController','requires','error','plugins','setLoadingSkeleton','AI_CHAT_HISTORY_CATEGORY_TODAY','isOfficialPlugin','itemUpdated','loadItems','context','get','pluginName','handleRemovedConversation','setDate','activeConversation','itemRemoved','4329976EtDmCG','getMonth','operation','resize','openChat','createdAt','listenTo','_handleRemove','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','remove','getGroupId','init','_getCategorizedItems','3559472LXERqp','getItems','view','chat','items','locale','itemId','5bbElne','setIsMaximized'];_0x2fed=function(){return _0x1a456a;};return _0x2fed();}const _0x2ab1bc=_0x62ce;(function(_0x4a5349,_0x2b9bd7){const _0xfa1ebf=_0x62ce,_0xffcd3d=_0x4a5349();while(!![]){try{const _0x5c000b=parseInt(_0xfa1ebf(0x1ee))/0x1*(parseInt(_0xfa1ebf(0x1f1))/0x2)+-parseInt(_0xfa1ebf(0x1ff))/0x3+parseInt(_0xfa1ebf(0x229))/0x4*(parseInt(_0xfa1ebf(0x23d))/0x5)+-parseInt(_0xfa1ebf(0x1e2))/0x6+parseInt(_0xfa1ebf(0x236))/0x7+-parseInt(_0xfa1ebf(0x1f0))/0x8*(parseInt(_0xfa1ebf(0x1e8))/0x9)+parseInt(_0xfa1ebf(0x213))/0xa;if(_0x5c000b===_0x2b9bd7)break;else _0xffcd3d['push'](_0xffcd3d['shift']());}catch(_0x49aea5){_0xffcd3d['push'](_0xffcd3d['shift']());}}}(_0x2fed,0xa8465));import{ContextPlugin as _0x2b7178}from'ckeditor5/src/core.js';import{AIConnector as _0x4a740a}from'../aicore/aiconnector.js';import{AIChatController as _0x325ed4}from'../aichat/aichatcontroller.js';import{AITabs as _0x7d598e}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x55338e}from'./aichathistoryui.js';function _0x62ce(_0x12adf8,_0x18e9b3){const _0x2fedc2=_0x2fed();return _0x62ce=function(_0x62ce21,_0x3e8add){_0x62ce21=_0x62ce21-0x1dc;let _0x44d9fb=_0x2fedc2[_0x62ce21];return _0x44d9fb;},_0x62ce(_0x12adf8,_0x18e9b3);}import{AIChatHistoryConversations as _0x45940a}from'./model/aichathistoryconversations.js';import{getTranslation as _0x2d57d4}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x2b7178{[_0x2ab1bc(0x1e5)];[_0x2ab1bc(0x200)];[_0x2ab1bc(0x219)];static get[_0x2ab1bc(0x21a)](){return[_0x4a740a,_0x325ed4,_0x55338e,_0x7d598e];}static get[_0x2ab1bc(0x224)](){const _0x10ad00=_0x2ab1bc;return _0x10ad00(0x240);}static get[_0x2ab1bc(0x21f)](){return!0x0;}static get[_0x2ab1bc(0x1f8)](){return!0x0;}[_0x2ab1bc(0x234)](){const _0x5af26a=_0x2ab1bc;this[_0x5af26a(0x1e5)]=this[_0x5af26a(0x222)][_0x5af26a(0x21c)][_0x5af26a(0x223)](_0x4a740a),this[_0x5af26a(0x200)]=this[_0x5af26a(0x222)][_0x5af26a(0x21c)][_0x5af26a(0x223)](_0x55338e),this[_0x5af26a(0x219)]=this[_0x5af26a(0x222)][_0x5af26a(0x21c)][_0x5af26a(0x223)](_0x325ed4);const _0x4291da=this[_0x5af26a(0x222)][_0x5af26a(0x21c)][_0x5af26a(0x223)](_0x7d598e);try{const _0x1402cf=this[_0x5af26a(0x219)][_0x5af26a(0x233)]();this[_0x5af26a(0x205)]=new _0x45940a({'connector':this[_0x5af26a(0x1e5)],'group':_0x1402cf}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x1dc),(_0x3332fc,_0x9dc001)=>{const _0x39f15e=_0x5af26a;this[_0x39f15e(0x202)](_0x9dc001['id'],_0x39f15e(0x232)),this[_0x39f15e(0x230)](_0x9dc001['id']);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x1e1),(_0x189418,_0x3f95fd)=>{const _0x24acc7=_0x5af26a;this[_0x24acc7(0x202)](_0x3f95fd['id'],_0x24acc7(0x1f7)),this[_0x24acc7(0x23f)](_0x3f95fd['id'],_0x3f95fd[_0x24acc7(0x204)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x205)],_0x5af26a(0x220),(_0x34b8e2,_0x4ccbb8)=>{const _0x49104a=_0x5af26a;void 0x0!==_0x4ccbb8[_0x49104a(0x1ed)][_0x49104a(0x204)]&&this[_0x49104a(0x200)][_0x49104a(0x20b)](_0x4ccbb8[_0x49104a(0x23c)],_0x4ccbb8[_0x49104a(0x1ed)][_0x49104a(0x204)]),void 0x0!==_0x4ccbb8[_0x49104a(0x1ed)][_0x49104a(0x1f9)]&&this[_0x49104a(0x211)](),this[_0x49104a(0x1ea)](_0x4ccbb8[_0x49104a(0x23c)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x205)],_0x5af26a(0x228),(_0x40230d,_0x16249a)=>{const _0xe63025=_0x5af26a;this[_0xe63025(0x219)][_0xe63025(0x225)](_0x16249a[_0xe63025(0x23c)]),this[_0xe63025(0x200)][_0xe63025(0x1de)](_0x16249a[_0xe63025(0x23c)]),this[_0xe63025(0x1ea)](_0x16249a[_0xe63025(0x23c)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x205)],_0x5af26a(0x1e3),()=>{const _0x518c72=_0x5af26a;this[_0x518c72(0x211)]();}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x205)],_0x5af26a(0x21b),(_0x3b9cf3,_0x5d6275)=>{const _0x552838=_0x5af26a;this[_0x552838(0x1fb)](_0x5d6275[_0x552838(0x21b)],_0x5d6275[_0x552838(0x22b)],_0x5d6275[_0x552838(0x23c)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x1dd),(_0x36894c,_0x4d443e)=>{const _0x2fd874=_0x5af26a;this[_0x2fd874(0x1ec)](_0x4d443e['id']);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x20f),(_0x26601c,_0x3172f6)=>{const _0x5b8a7a=_0x5af26a,_0x4ca200=_0x3172f6[_0x5b8a7a(0x1f9)]?_0x5b8a7a(0x1fd):_0x5b8a7a(0x1e7);this[_0x5b8a7a(0x202)](_0x3172f6['id'],_0x4ca200),this[_0x5b8a7a(0x1f4)](_0x3172f6['id'],_0x3172f6[_0x5b8a7a(0x1f9)]);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x22d),()=>{const _0x23eca7=_0x5af26a;_0x4291da[_0x23eca7(0x238)][_0x23eca7(0x1ef)](_0x23eca7(0x239));}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x219)],_0x5af26a(0x216),()=>{const _0x1f68c6=_0x5af26a;this[_0x1f68c6(0x211)]();}),_0x4291da[_0x5af26a(0x238)]['on'](_0x5af26a(0x20a),()=>{const _0xf53f06=_0x5af26a;this[_0xf53f06(0x1f2)]();}),this[_0x5af26a(0x22f)](_0x4291da,_0x5af26a(0x1e4),(_0x575d39,_0x106bec)=>{const _0x10b8b1=_0x5af26a;this[_0x10b8b1(0x212)](_0x106bec);}),this[_0x5af26a(0x22f)](this[_0x5af26a(0x200)],_0x5af26a(0x201),()=>{const _0x8d229a=_0x5af26a;_0x4291da[_0x8d229a(0x22c)]();});}catch(_0x1645a5){this[_0x5af26a(0x1fb)](_0x1645a5,_0x5af26a(0x234));}}async[_0x2ab1bc(0x23f)](_0x39f4b9,_0x3a3e45){const _0x20b8f2=_0x2ab1bc;await this[_0x20b8f2(0x205)][_0x20b8f2(0x20b)](_0x39f4b9,_0x3a3e45);}async[_0x2ab1bc(0x1f4)](_0xd28227,_0x3ec159){const _0x12f1b9=_0x2ab1bc;await this[_0x12f1b9(0x205)][_0x12f1b9(0x1eb)](_0xd28227,_0x3ec159);}async[_0x2ab1bc(0x230)](_0x5b20e1){const _0x5c683f=_0x2ab1bc;await this[_0x5c683f(0x205)][_0x5c683f(0x208)](_0x5b20e1);}async[_0x2ab1bc(0x1ec)](_0x4fa89c){const _0x2cd3f3=_0x2ab1bc;await this[_0x2cd3f3(0x219)][_0x2cd3f3(0x217)](_0x4fa89c);}async[_0x2ab1bc(0x1f2)](){const _0x1956a4=_0x2ab1bc;this[_0x1956a4(0x200)][_0x1956a4(0x1e0)](''),this[_0x1956a4(0x200)][_0x1956a4(0x21d)](!0x0),await this[_0x1956a4(0x205)][_0x1956a4(0x234)](),this[_0x1956a4(0x200)][_0x1956a4(0x21d)](!0x1);}[_0x2ab1bc(0x211)](){const _0x11c7d6=_0x2ab1bc,_0x56baf4=this[_0x11c7d6(0x219)][_0x11c7d6(0x227)]?.['id'],_0x23aebc=this[_0x11c7d6(0x235)]()[_0x11c7d6(0x1df)](_0x341d95=>({'title':_0x341d95[_0x11c7d6(0x204)],'items':_0x341d95[_0x11c7d6(0x23a)][_0x11c7d6(0x1df)](_0x1ac5d9=>({'id':_0x1ac5d9['id'],'title':_0x1ac5d9[_0x11c7d6(0x204)]||_0x2d57d4(this[_0x11c7d6(0x222)][_0x11c7d6(0x23b)],_0x11c7d6(0x1fa)),'createdAt':new Date(_0x1ac5d9[_0x11c7d6(0x22e)])[_0x11c7d6(0x1f3)](),'active':_0x1ac5d9['id']===_0x56baf4,'pinned':_0x1ac5d9[_0x11c7d6(0x1f9)]}))}));this[_0x11c7d6(0x200)][_0x11c7d6(0x1f6)](_0x23aebc);}[_0x2ab1bc(0x202)](_0x2cc5ee,_0x1ac500){const _0xc8fafe=_0x2ab1bc;this[_0xc8fafe(0x200)][_0xc8fafe(0x241)](_0x2cc5ee,_0x1ac500,!0x0);}[_0x2ab1bc(0x1ea)](_0x77b0e2){const _0x138da7=_0x2ab1bc;this[_0x138da7(0x200)][_0x138da7(0x241)](_0x77b0e2,null,!0x1);}[_0x2ab1bc(0x1fb)](_0x3c6c5f,_0x3fb56c,_0x29ff21){const _0x26f487=_0x2ab1bc,_0x17bea5=this[_0x26f487(0x218)](_0x3fb56c,_0x29ff21);this[_0x26f487(0x200)][_0x26f487(0x1e0)](_0x17bea5),_0x29ff21&&this[_0x26f487(0x1ea)](_0x29ff21),this[_0x26f487(0x200)][_0x26f487(0x21d)](!0x1);}[_0x2ab1bc(0x218)](_0x5233c9,_0x24351b){const _0x1e13d8=_0x2ab1bc,_0x2a303c=_0x24351b?this[_0x1e13d8(0x205)][_0x1e13d8(0x1e6)](_0x24351b):null,_0x476460=_0x2a303c?.[_0x1e13d8(0x204)]||_0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x1fa));switch(_0x5233c9){case _0x1e13d8(0x20b):return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x214),_0x476460);case _0x1e13d8(0x1eb):{const _0x2b14ec=_0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x2a303c?.[_0x1e13d8(0x1f9)]?_0x1e13d8(0x215):_0x1e13d8(0x1e9));return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x1fc),[_0x2b14ec,_0x476460]);}case _0x1e13d8(0x208):return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x20d),_0x476460);case _0x1e13d8(0x234):case _0x1e13d8(0x221):return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x207));default:return _0x2d57d4(this[_0x1e13d8(0x222)][_0x1e13d8(0x23b)],_0x1e13d8(0x1fe));}}[_0x2ab1bc(0x235)](){const _0x297893=_0x2ab1bc,_0x453cb0=new Date(),_0xfd9c92=new Date(_0x453cb0[_0x297893(0x20c)](),_0x453cb0[_0x297893(0x22a)](),_0x453cb0[_0x297893(0x209)]()),_0x112e45=new Date(_0xfd9c92);_0x112e45[_0x297893(0x226)](_0x112e45[_0x297893(0x209)]()-0x1);const _0x111ad0=new Date(_0xfd9c92);_0x111ad0[_0x297893(0x226)](_0x111ad0[_0x297893(0x209)]()-0xe);const _0x20032a=this[_0x297893(0x205)][_0x297893(0x237)]({'pinned':!0x0}),_0x398b61=this[_0x297893(0x205)][_0x297893(0x237)]({'from':_0xfd9c92,'to':_0xfd9c92}),_0x36e2fe=this[_0x297893(0x205)][_0x297893(0x237)]({'from':_0x112e45,'to':_0x112e45}),_0x312849=this[_0x297893(0x205)][_0x297893(0x237)]({'from':_0x111ad0,'to':_0x112e45}),_0x9e0189=this[_0x297893(0x205)][_0x297893(0x237)]({'to':_0x111ad0}),_0x6f9109=[];return _0x20032a[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x206)),'items':_0x20032a}),_0x398b61[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x21e)),'items':_0x398b61}),_0x36e2fe[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x231)),'items':_0x36e2fe}),_0x312849[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x210)),'items':_0x312849}),_0x9e0189[_0x297893(0x203)]>0x0&&_0x6f9109[_0x297893(0x20e)]({'title':_0x2d57d4(this[_0x297893(0x222)][_0x297893(0x23b)],_0x297893(0x1f5)),'items':_0x9e0189}),_0x6f9109;}[_0x2ab1bc(0x212)](_0x4caaef){const _0x240650=_0x2ab1bc;this[_0x240650(0x200)][_0x240650(0x23e)](_0x4caaef);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3abbb2=_0x557a;function _0x557a(_0x2b0634,_0x5a108f){const _0x3b4274=_0x3b42();return _0x557a=function(_0x557a96,_0x348b70){_0x557a96=_0x557a96-0xd9;let _0x2d9351=_0x3b4274[_0x557a96];return _0x2d9351;},_0x557a(_0x2b0634,_0x5a108f);}(function(_0x174a09,_0x3579da){const _0x3304f1=_0x557a,_0x1aed55=_0x174a09();while(!![]){try{const _0x16cd59=parseInt(_0x3304f1(0xfc))/0x1*(-parseInt(_0x3304f1(0xf3))/0x2)+parseInt(_0x3304f1(0xf6))/0x3*(parseInt(_0x3304f1(0xf4))/0x4)+-parseInt(_0x3304f1(0x107))/0x5*(parseInt(_0x3304f1(0xeb))/0x6)+-parseInt(_0x3304f1(0xdc))/0x7*(parseInt(_0x3304f1(0xf7))/0x8)+parseInt(_0x3304f1(0xe4))/0x9*(-parseInt(_0x3304f1(0xe0))/0xa)+parseInt(_0x3304f1(0xe6))/0xb*(-parseInt(_0x3304f1(0xde))/0xc)+-parseInt(_0x3304f1(0xfd))/0xd*(-parseInt(_0x3304f1(0x108))/0xe);if(_0x16cd59===_0x3579da)break;else _0x1aed55['push'](_0x1aed55['shift']());}catch(_0x331052){_0x1aed55['push'](_0x1aed55['shift']());}}}(_0x3b42,0xd72c3));function _0x3b42(){const _0x28d6fa=['updateHistoryItemsWithCategories','895yfJLYF','28YjMYoI','selectConversation','errorMessage','isOfficialPlugin','updateItemTitle','locale','19887BdWGwK','isPremiumPlugin','1716cQfMuV','openChat','635480kxnhDw','get','showError','context','234FPvwxP','editConversationTitle','23067NSOwVC','setIsMaximized','updateItems','showResizeButton','plugins','42870PQYZaR','removeConversation','hideError','isLoading','delegate','updateItemLoadingState','AIChatHistoryUI','AI_CHAT_HISTORY_HEADING','2ivekbD','17000KjLhfJ','history','27IjbAHH','320ZJLctW','_historyView','pluginName','requires','setLoadingSkeleton','1309701BgOZXj','35733828eZsKVu','AITabs','removeHistoryItem','addTab','setConversationPinned','view','isMaximized','resizeTabs','showConversationHistory'];_0x3b42=function(){return _0x28d6fa;};return _0x3b42();}import{ContextPlugin as _0x220bde}from'ckeditor5/src/core.js';import{AITabs as _0x442ec4}from'../aitabs/aitabs.js';import{IconAIHistory as _0x369a1a}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x435781}from'./ui/aichathistoryview.js';import{getTranslation as _0x5a57d4}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x3abbb2(0x105),_0x3abbb2(0xec),_0x3abbb2(0xe5),_0x3abbb2(0x101),_0x3abbb2(0x109),_0x3abbb2(0xdf),_0x3abbb2(0x104)];export class AIChatHistoryUI extends _0x220bde{static get[_0x3abbb2(0xfa)](){return[_0x442ec4];}[_0x3abbb2(0xf8)];static get[_0x3abbb2(0xf9)](){const _0x1055d0=_0x3abbb2;return _0x1055d0(0xf1);}static get[_0x3abbb2(0xd9)](){return!0x0;}static get[_0x3abbb2(0xdd)](){return!0x0;}constructor(_0x5a64aa){const _0x1fdda9=_0x3abbb2;super(_0x5a64aa);const _0x7bb06f=this[_0x1fdda9(0xe3)][_0x1fdda9(0xea)][_0x1fdda9(0xe1)](_0x1fdda9(0xfe));this[_0x1fdda9(0xf8)]=new _0x435781(this[_0x1fdda9(0xe3)][_0x1fdda9(0xdb)],_0x7bb06f[_0x1fdda9(0xe9)]),this[_0x1fdda9(0xf8)][_0x1fdda9(0xef)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x7bb06f[_0x1fdda9(0x102)][_0x1fdda9(0x100)]({'id':_0x1fdda9(0xf5),'buttonLabel':_0x5a57d4(this[_0x1fdda9(0xe3)][_0x1fdda9(0xdb)],_0x1fdda9(0xf2)),'buttonIcon':_0x369a1a,'order':0x0,'content':this[_0x1fdda9(0xf8)]});}[_0x3abbb2(0xff)](_0x225f1f){const _0x4f9c6b=_0x3abbb2;this[_0x4f9c6b(0xf8)][_0x4f9c6b(0xff)](_0x225f1f);}[_0x3abbb2(0xe8)](_0x258da9){const _0x286d01=_0x3abbb2;this[_0x286d01(0xf8)][_0x286d01(0x106)](_0x258da9);}[_0x3abbb2(0xda)](_0x6fda31,_0xb50b6e){const _0x4bf5cf=_0x3abbb2;this[_0x4bf5cf(0xf8)][_0x4bf5cf(0xda)](_0x6fda31,_0xb50b6e);}[_0x3abbb2(0xf0)](_0x545985,_0x2ae23b,_0x1d417c){const _0x102e26=_0x3abbb2;this[_0x102e26(0xf8)][_0x102e26(0xf0)](_0x545985,_0x2ae23b,_0x1d417c);}[_0x3abbb2(0xfb)](_0x4fc723){const _0x5d5794=_0x3abbb2;this[_0x5d5794(0xf8)][_0x5d5794(0xee)]=_0x4fc723;}[_0x3abbb2(0xe2)](_0x273a3f){const _0x5404b8=_0x3abbb2;this[_0x5404b8(0xf8)][_0x5404b8(0x10a)]=_0x273a3f;}[_0x3abbb2(0xed)](){const _0x16574c=_0x3abbb2;this[_0x16574c(0xf8)][_0x16574c(0x10a)]='';}[_0x3abbb2(0xe7)](_0x432a9a){const _0x2f61f8=_0x3abbb2;this[_0x2f61f8(0xf8)][_0x2f61f8(0x103)]=_0x432a9a;}}
23
+ const _0x371fc4=_0x5e23;(function(_0x14ea87,_0x3c3df8){const _0x2c560e=_0x5e23,_0x2afe5d=_0x14ea87();while(!![]){try{const _0xdd1c13=-parseInt(_0x2c560e(0x1f6))/0x1*(parseInt(_0x2c560e(0x1cf))/0x2)+parseInt(_0x2c560e(0x1f3))/0x3*(parseInt(_0x2c560e(0x1ca))/0x4)+-parseInt(_0x2c560e(0x1ed))/0x5*(-parseInt(_0x2c560e(0x1d1))/0x6)+-parseInt(_0x2c560e(0x1cb))/0x7+parseInt(_0x2c560e(0x1e4))/0x8*(-parseInt(_0x2c560e(0x1f0))/0x9)+parseInt(_0x2c560e(0x1c9))/0xa*(parseInt(_0x2c560e(0x1ec))/0xb)+parseInt(_0x2c560e(0x1e9))/0xc*(parseInt(_0x2c560e(0x1ce))/0xd);if(_0xdd1c13===_0x3c3df8)break;else _0x2afe5d['push'](_0x2afe5d['shift']());}catch(_0x44e123){_0x2afe5d['push'](_0x2afe5d['shift']());}}}(_0x316a,0x8677c));import{ContextPlugin as _0x1fa25f}from'ckeditor5/src/core.js';import{AITabs as _0x1fd463}from'../aitabs/aitabs.js';function _0x5e23(_0x2558cb,_0x43c5c1){const _0x316a0d=_0x316a();return _0x5e23=function(_0x5e2301,_0x59220b){_0x5e2301=_0x5e2301-0x1c6;let _0x40c7d6=_0x316a0d[_0x5e2301];return _0x40c7d6;},_0x5e23(_0x2558cb,_0x43c5c1);}import{IconAIHistory as _0x50d2cf}from'ckeditor5/src/icons.js';function _0x316a(){const _0xcc6c21=['removeConversation','context','pluginName','history','30704qyuueJ','editConversationTitle','updateHistoryItemsWithCategories','updateItemLoadingState','AI_CHAT_HISTORY_HEADING','773028ZoEdBa','hideError','resizeTabs','971773rUgjoJ','2650RVXIXc','openChat','showResizeButton','2097xoIyvx','view','updateItems','9cUSpnm','requires','removeHistoryItem','1002669EVxiUP','isPremiumPlugin','errorMessage','isLoading','110LPAIMR','1223744sVRIJp','3602858cXTlLA','showConversationHistory','selectConversation','52EDbCXV','2KoOFcp','delegate','9228jocgFq','plugins','isOfficialPlugin','AITabs','setConversationPinned','setLoadingSkeleton','get','_historyView','locale','isMaximized','AIChatHistoryUI','setIsMaximized','updateItemTitle','showError','addTab'];_0x316a=function(){return _0xcc6c21;};return _0x316a();}import{AIChatHistoryView as _0x5cb5dd}from'./ui/aichathistoryview.js';import{getTranslation as _0xaa1ffe}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x371fc4(0x1cc),_0x371fc4(0x1e0),_0x371fc4(0x1e5),_0x371fc4(0x1d5),_0x371fc4(0x1cd),_0x371fc4(0x1ee),_0x371fc4(0x1eb)];export class AIChatHistoryUI extends _0x1fa25f{static get[_0x371fc4(0x1f4)](){return[_0x1fd463];}[_0x371fc4(0x1d8)];static get[_0x371fc4(0x1e2)](){const _0x5917f5=_0x371fc4;return _0x5917f5(0x1db);}static get[_0x371fc4(0x1d3)](){return!0x0;}static get[_0x371fc4(0x1c6)](){return!0x0;}constructor(_0x2b7928){const _0x3bf0e3=_0x371fc4;super(_0x2b7928);const _0x130f6f=this[_0x3bf0e3(0x1e1)][_0x3bf0e3(0x1d2)][_0x3bf0e3(0x1d7)](_0x3bf0e3(0x1d4));this[_0x3bf0e3(0x1d8)]=new _0x5cb5dd(this[_0x3bf0e3(0x1e1)][_0x3bf0e3(0x1d9)],_0x130f6f[_0x3bf0e3(0x1ef)]),this[_0x3bf0e3(0x1d8)][_0x3bf0e3(0x1d0)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x130f6f[_0x3bf0e3(0x1f1)][_0x3bf0e3(0x1df)]({'id':_0x3bf0e3(0x1e3),'buttonLabel':_0xaa1ffe(this[_0x3bf0e3(0x1e1)][_0x3bf0e3(0x1d9)],_0x3bf0e3(0x1e8)),'buttonIcon':_0x50d2cf,'order':0x0,'content':this[_0x3bf0e3(0x1d8)]});}[_0x371fc4(0x1f5)](_0x4eb627){const _0x51df08=_0x371fc4;this[_0x51df08(0x1d8)][_0x51df08(0x1f5)](_0x4eb627);}[_0x371fc4(0x1f2)](_0x291d74){const _0x2162df=_0x371fc4;this[_0x2162df(0x1d8)][_0x2162df(0x1e6)](_0x291d74);}[_0x371fc4(0x1dd)](_0x422f17,_0x21dfe9){const _0x37d272=_0x371fc4;this[_0x37d272(0x1d8)][_0x37d272(0x1dd)](_0x422f17,_0x21dfe9);}[_0x371fc4(0x1e7)](_0x39e261,_0x590c7e,_0x1f888e){const _0x2edb33=_0x371fc4;this[_0x2edb33(0x1d8)][_0x2edb33(0x1e7)](_0x39e261,_0x590c7e,_0x1f888e);}[_0x371fc4(0x1d6)](_0xd0b9ff){const _0x24a9b7=_0x371fc4;this[_0x24a9b7(0x1d8)][_0x24a9b7(0x1c8)]=_0xd0b9ff;}[_0x371fc4(0x1de)](_0x2470be){const _0x46562e=_0x371fc4;this[_0x46562e(0x1d8)][_0x46562e(0x1c7)]=_0x2470be;}[_0x371fc4(0x1ea)](){const _0x32d938=_0x371fc4;this[_0x32d938(0x1d8)][_0x32d938(0x1c7)]='';}[_0x371fc4(0x1dc)](_0x39659a){const _0x3d7945=_0x371fc4;this[_0x3d7945(0x1d8)][_0x3d7945(0x1da)]=_0x39659a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x587c9c=_0x5603;(function(_0x3c351c,_0x1fb4e5){var _0x323a8c=_0x5603,_0x6771e1=_0x3c351c();while(!![]){try{var _0x50d16d=-parseInt(_0x323a8c(0x77))/0x1*(parseInt(_0x323a8c(0x76))/0x2)+parseInt(_0x323a8c(0x7f))/0x3+-parseInt(_0x323a8c(0x73))/0x4+-parseInt(_0x323a8c(0x75))/0x5+-parseInt(_0x323a8c(0x7a))/0x6+-parseInt(_0x323a8c(0x72))/0x7*(-parseInt(_0x323a8c(0x7d))/0x8)+parseInt(_0x323a8c(0x81))/0x9*(parseInt(_0x323a8c(0x79))/0xa);if(_0x50d16d===_0x1fb4e5)break;else _0x6771e1['push'](_0x6771e1['shift']());}catch(_0x31f422){_0x6771e1['push'](_0x6771e1['shift']());}}}(_0xb222,0x5a0b6));function _0xb222(){var _0x1da3c0=['createdAt','679HFUiCO','2041512qgWZIT','updatePinned','667000VRtpmK','522782cdvNle','2IHfVlz','set','17180kbXAEw','2299626dJOaOz','title','pinned','30424YnmqfD','updatedAt','546702vkeqgB','updateTitle','7164IduYsp'];_0xb222=function(){return _0x1da3c0;};return _0xb222();}function _0x5603(_0x1f3ea4,_0x357c46){var _0xb22285=_0xb222();return _0x5603=function(_0x560352,_0x350ccf){_0x560352=_0x560352-0x71;var _0x34c61f=_0xb22285[_0x560352];return _0x34c61f;},_0x5603(_0x1f3ea4,_0x357c46);}import{ObservableMixin as _0x343aa9}from'ckeditor5/src/utils.js';import{escape as _0x23add4}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x343aa9(){['id'];[_0x587c9c(0x71)];constructor({id:_0x3043c5,title:_0x1ba3c3,createdAt:_0x35052f,updatedAt:_0x357e82,pinned:_0x57cf99}){var _0x1e2aee=_0x587c9c;super(),this['id']=_0x3043c5,this[_0x1e2aee(0x71)]=new Date(_0x35052f),this[_0x1e2aee(0x78)](_0x1e2aee(0x7b),_0x1ba3c3),this[_0x1e2aee(0x78)](_0x1e2aee(0x7e),_0x357e82?new Date(_0x357e82):null),this[_0x1e2aee(0x78)](_0x1e2aee(0x7c),_0x57cf99||!0x1);}[_0x587c9c(0x80)](_0x3bbe95){var _0x52b24a=_0x587c9c;this[_0x52b24a(0x78)](_0x52b24a(0x7b),_0x23add4(_0x3bbe95)),this[_0x52b24a(0x7e)]=new Date();}[_0x587c9c(0x74)](_0x5c996c){var _0x2d4955=_0x587c9c;this[_0x2d4955(0x78)](_0x2d4955(0x7c),_0x5c996c),this[_0x2d4955(0x7e)]=new Date();}}
23
+ var _0x11ac5e=_0x3f42;(function(_0x875bac,_0x5ec506){var _0x43950a=_0x3f42,_0x41059a=_0x875bac();while(!![]){try{var _0x22c6d6=-parseInt(_0x43950a(0x6f))/0x1*(parseInt(_0x43950a(0x74))/0x2)+-parseInt(_0x43950a(0x68))/0x3+parseInt(_0x43950a(0x71))/0x4+parseInt(_0x43950a(0x6e))/0x5*(-parseInt(_0x43950a(0x6b))/0x6)+-parseInt(_0x43950a(0x6a))/0x7+-parseInt(_0x43950a(0x6d))/0x8*(-parseInt(_0x43950a(0x6c))/0x9)+parseInt(_0x43950a(0x73))/0xa;if(_0x22c6d6===_0x5ec506)break;else _0x41059a['push'](_0x41059a['shift']());}catch(_0x11eef2){_0x41059a['push'](_0x41059a['shift']());}}}(_0x18b4,0xd993f));function _0x3f42(_0x54d96b,_0x4c5179){var _0x18b43d=_0x18b4();return _0x3f42=function(_0x3f42c5,_0x40abfd){_0x3f42c5=_0x3f42c5-0x68;var _0x16c961=_0x18b43d[_0x3f42c5];return _0x16c961;},_0x3f42(_0x54d96b,_0x4c5179);}function _0x18b4(){var _0x229276=['8QyvClG','5GNWIMh','176iuNJaL','updatePinned','4872140TiqjFX','set','14441950ZPOvsX','19610QjpoKq','title','pinned','createdAt','updateTitle','314736LzvWTM','updatedAt','5550181KfJHLF','4007418kjGLtb','13683123rSYgkN'];_0x18b4=function(){return _0x229276;};return _0x18b4();}import{ObservableMixin as _0x5cb155}from'ckeditor5/src/utils.js';import{escape as _0x7e0aab}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x5cb155(){['id'];[_0x11ac5e(0x77)];constructor({id:_0x27b547,title:_0x4c9b49,createdAt:_0x4dbc23,updatedAt:_0x8ef2c4,pinned:_0xd9dca2}){var _0x28fb5e=_0x11ac5e;super(),this['id']=_0x27b547,this[_0x28fb5e(0x77)]=new Date(_0x4dbc23),this[_0x28fb5e(0x72)](_0x28fb5e(0x75),_0x4c9b49),this[_0x28fb5e(0x72)](_0x28fb5e(0x69),_0x8ef2c4?new Date(_0x8ef2c4):null),this[_0x28fb5e(0x72)](_0x28fb5e(0x76),_0xd9dca2||!0x1);}[_0x11ac5e(0x78)](_0x45bbbf){var _0x2eeb9e=_0x11ac5e;this[_0x2eeb9e(0x72)](_0x2eeb9e(0x75),_0x7e0aab(_0x45bbbf)),this[_0x2eeb9e(0x69)]=new Date();}[_0x11ac5e(0x70)](_0x4aab57){var _0x284b2c=_0x11ac5e;this[_0x284b2c(0x72)](_0x284b2c(0x76),_0x4aab57),this[_0x284b2c(0x69)]=new Date();}}