@ckeditor/ckeditor5-ai 47.7.1-alpha.0 → 47.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) 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/aiactionsreply.js +1 -1
  6. package/src/aiassistant/adapters/awstextadapter.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/aihistorylistview.js +1 -1
  14. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  15. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  16. package/src/aiballoon/aiballoon.js +1 -1
  17. package/src/aichat/aichat.js +1 -1
  18. package/src/aichat/aichatballoon.js +1 -1
  19. package/src/aichat/aichatcontroller.js +1 -1
  20. package/src/aichat/aichatui.js +1 -1
  21. package/src/aichat/model/aichatcontext.js +1 -1
  22. package/src/aichat/model/aichatconversation.js +1 -1
  23. package/src/aichat/ui/aichatballoonview.js +1 -1
  24. package/src/aichat/ui/aichatfeedview.js +1 -1
  25. package/src/aichat/ui/aichatheaderview.js +1 -1
  26. package/src/aichat/ui/aichatview.js +1 -1
  27. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  28. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  29. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  30. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  31. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  32. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  33. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  34. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  35. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  36. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  37. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  38. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  39. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  40. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  41. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  42. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  43. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  44. package/src/aichat/utils/eventnames.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/aichathistoryconversations.js +1 -1
  49. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  50. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  51. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  52. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  53. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  54. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  55. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  56. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  57. package/src/aicore/aiconnector.js +1 -1
  58. package/src/aicore/aiediting.js +1 -1
  59. package/src/aicore/model/aimodels.js +1 -1
  60. package/src/aicore/model/aireply.js +1 -1
  61. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  62. package/src/aicore/pipeline/airesponseparser.js +2 -2
  63. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  64. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  65. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  66. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  67. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  68. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  69. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  70. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  71. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  72. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  73. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  74. package/src/aicore/utils/documentrange.js +1 -1
  75. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  76. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  77. package/src/aicore/utils/htmlparser.js +1 -1
  78. package/src/aicore/utils/htmlstreamer.js +1 -1
  79. package/src/aicore/utils/scrollmanager.js +1 -1
  80. package/src/aieditorintegration/aieditorintegration.js +1 -1
  81. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  82. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  83. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  84. package/src/aiquickactions/aiquickactionsui.js +1 -1
  85. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  86. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  87. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  88. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  89. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  90. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  91. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  92. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  93. package/src/aireviewcore/aireviewcoreui.js +1 -1
  94. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  95. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  96. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  97. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  98. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  99. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  100. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  101. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  102. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  103. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  104. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  105. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  106. package/src/aireviewmode/aireviewmode.js +1 -1
  107. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  108. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  110. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  111. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  112. package/src/aitabs/aitabs.js +1 -1
  113. package/src/aitranslate/aitranslate.js +1 -1
  114. package/src/aitranslate/model/aitranslatecheck.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fd439=_0x19a2;(function(_0x25aa01,_0x434cd2){const _0x38f0f7=_0x19a2,_0x580fba=_0x25aa01();while(!![]){try{const _0x4b7a12=parseInt(_0x38f0f7(0xa8))/0x1*(parseInt(_0x38f0f7(0xcf))/0x2)+parseInt(_0x38f0f7(0xd1))/0x3+parseInt(_0x38f0f7(0xeb))/0x4*(-parseInt(_0x38f0f7(0xc7))/0x5)+-parseInt(_0x38f0f7(0xc5))/0x6+parseInt(_0x38f0f7(0xac))/0x7+-parseInt(_0x38f0f7(0x95))/0x8+parseInt(_0x38f0f7(0xc3))/0x9;if(_0x4b7a12===_0x434cd2)break;else _0x580fba['push'](_0x580fba['shift']());}catch(_0x1f2f32){_0x580fba['push'](_0x580fba['shift']());}}}(_0x17d2,0x5534c));import{Collection as _0xb15c77}from'ckeditor5/src/utils.js';import{IconAI as _0x54ec4a,IconBulb as _0x1a02c7,IconWeb as _0x5764e0}from'@ckeditor/ckeditor5-icons';function _0x17d2(){const _0x3897be=['1341357QDUmpQ','Commands\x20are\x20not\x20implemented\x20yet.','AI_CHAT_CAPABILITIES_NO','clear','disableModelSelector','locale','selectModel','AI_CHAT_ENABLE_WEB_SEARCH','fire','bind','description','reasoningActive','add','bindTemplate','ck-ai-chat-controls__model-selection__item-name','enableModelSelector','_createCommandsButton','_createModelSelectionDropdown','setTemplate','ck-ai-chat-controls__model-selection__item-description','button','ck-ai-chat__prompt-capabilities','text','capabilities','extendTemplate','_webSearchButton','708qSPSPy','ck-ai-chat-controls__model-selection','_modelSelectionDropdownItems','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','toggleReasoning','log','webSearch','_createWebSearchButton','ck-hidden','_modelNameView','tooltip','2224112nTvqBD','label','modelSelectorEnabled','span','reasoning','_commandsButton','enabled','_reasoningButton','isOn','listenTo','setModel','setModelList','ck-ai-chat-controls__model-name','_getCapabilityParts','activeModelId','setReasoning','source','webSearchActive','setWebSearch','508903eKZskT','ck-button__label','_createReasoningButton','ck-ai-button-tertiary','555114rBDqbQ','AI_CHAT_SEARCH_WEB','createCollection','name','addMany','hidden','toggleWebSearch','buttonView','AI_CHAT_DISABLE_WEB_SEARCH','execute','modelDisplayMode','model','_modelSelectionDropdown','AI_CHAT_CAPABILITIES_YES','ck-ai-chat-controls-button--commands','isEnabled','content','length','AI_CHAT_REASONING','set','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','style','ck-ai-chat-controls-button','6598890EzKanz','ck-ai-chat-controls__model-selection__item-capabilities','3305202sCEJrO','activeModelName','16685agsAWq','isVisible','AI_CHAT_COMMANDS','selector','menuitemradio','div','AI_CHAT_ENABLE_REASONING','_createModelNameView','2HOSxsP','AI_CHAT_DISABLE_REASONING'];_0x17d2=function(){return _0x3897be;};return _0x17d2();}import{addListToDropdown as _0x3e316d,ButtonLabelView as _0x192d48,ButtonView as _0x4b7642,createDropdown as _0x1b6c66,IconView as _0x343b5b,UIModel as _0x32e5ec,View as _0x36431d}from'ckeditor5/src/ui.js';import{getTranslation as _0xc77509}from'../../../aicore/utils/common-translations.js';function _0x19a2(_0x2d1583,_0xff7d4a){const _0x17d25d=_0x17d2();return _0x19a2=function(_0x19a2a8,_0x4e21c6){_0x19a2a8=_0x19a2a8-0x92;let _0x2ff451=_0x17d25d[_0x19a2a8];return _0x2ff451;},_0x19a2(_0x2d1583,_0xff7d4a);}const zo=_0x1fd439(0xe6),Fo=_0x1fd439(0xc2),Jo=_0x1fd439(0xba),Ko=_0x1fd439(0xab),Qo=_0x1fd439(0xec),Zo=_0x1fd439(0xdf),tl=_0x1fd439(0xe4),el=_0x1fd439(0xc4),il='n';export class AIChatPromptCapabilitiesView extends _0x36431d{[_0x1fd439(0xea)];[_0x1fd439(0x9c)];[_0x1fd439(0x9a)];[_0x1fd439(0xb8)];[_0x1fd439(0xed)];[_0x1fd439(0x93)];constructor(_0x30abb6){const _0x2b76bd=_0x1fd439;super(_0x30abb6),this[_0x2b76bd(0xbf)](_0x2b76bd(0xa6),!0x1),this[_0x2b76bd(0xbf)](_0x2b76bd(0xdc),!0x1),this[_0x2b76bd(0xbf)](_0x2b76bd(0xb6),_0x2b76bd(0xca)),this[_0x2b76bd(0xbf)](_0x2b76bd(0x97),!0x0),this[_0x2b76bd(0xbf)](_0x2b76bd(0xa3),null),this[_0x2b76bd(0xbf)](_0x2b76bd(0xc6),null),this[_0x2b76bd(0xb8)]=this[_0x2b76bd(0xe2)](),this[_0x2b76bd(0x93)]=this[_0x2b76bd(0xce)](),this[_0x2b76bd(0xea)]=this[_0x2b76bd(0xf2)](),this[_0x2b76bd(0x9c)]=this[_0x2b76bd(0xaa)](),this[_0x2b76bd(0x9a)]=this[_0x2b76bd(0xe1)](),this[_0x2b76bd(0xb8)][_0x2b76bd(0xb3)][_0x2b76bd(0xda)](_0x2b76bd(0xc8))['to'](this,_0x2b76bd(0xb6),_0x5748a6=>_0x2b76bd(0xca)===_0x5748a6),this[_0x2b76bd(0xb8)][_0x2b76bd(0xb3)][_0x2b76bd(0xda)](_0x2b76bd(0x94))['to'](this,_0x2b76bd(0x97),_0x3676c7=>_0x3676c7?this[_0x2b76bd(0xb8)][_0x2b76bd(0xb3)][_0x2b76bd(0x96)]:_0xc77509(this[_0x2b76bd(0xd6)],_0x2b76bd(0xee))),this[_0x2b76bd(0xb8)][_0x2b76bd(0xda)](_0x2b76bd(0xbb))['to'](this,_0x2b76bd(0x97),_0x549cd8=>_0x549cd8),this[_0x2b76bd(0xea)][_0x2b76bd(0xda)](_0x2b76bd(0x9d))['to'](this,_0x2b76bd(0xa6),_0x2a1b3f=>_0x2a1b3f),this[_0x2b76bd(0xea)][_0x2b76bd(0xda)](_0x2b76bd(0x94))['to'](this,_0x2b76bd(0xa6),_0x355f76=>_0xc77509(this[_0x2b76bd(0xd6)],_0x355f76?_0x2b76bd(0xb4):_0x2b76bd(0xd8))),this[_0x2b76bd(0x9c)][_0x2b76bd(0xda)](_0x2b76bd(0x9d))['to'](this,_0x2b76bd(0xdc),_0x454013=>_0x454013),this[_0x2b76bd(0x9c)][_0x2b76bd(0xda)](_0x2b76bd(0x94))['to'](this,_0x2b76bd(0xdc),_0x2df07b=>_0xc77509(this[_0x2b76bd(0xd6)],_0x2df07b?_0x2b76bd(0xd0):_0x2b76bd(0xcd))),this[_0x2b76bd(0xe3)]({'tag':_0x2b76bd(0xcc),'attributes':{'class':[zo]},'children':[this[_0x2b76bd(0xb8)],this[_0x2b76bd(0x93)],this[_0x2b76bd(0xea)],this[_0x2b76bd(0x9c)],this[_0x2b76bd(0x9a)]]}),this[_0x2b76bd(0xed)]=new _0xb15c77(),_0x3e316d(this[_0x2b76bd(0xb8)],this[_0x2b76bd(0xed)]);}[_0x1fd439(0xa0)](_0x3d07c2,_0x3916d9){const _0x13338e=_0x1fd439;if(_0x3916d9)this[_0x13338e(0xbf)](_0x13338e(0xb6),_0x13338e(0xb1));else{const _0x46e2cd=0x1===_0x3d07c2[_0x13338e(0xbd)];this[_0x13338e(0xbf)](_0x13338e(0xb6),_0x46e2cd?_0x13338e(0xaf):_0x13338e(0xca));}if(this[_0x13338e(0xed)][_0x13338e(0xd4)](),_0x3d07c2?.[_0x13338e(0xbd)])for(const _0x5f4f01 of _0x3d07c2){const _0x3d2592=new _0x32e5ec({'label':_0x5f4f01[_0x13338e(0xaf)],'withText':!0x0,'role':_0x13338e(0xcb),'id':_0x5f4f01['id'],'model':_0x5f4f01});_0x3d2592[_0x13338e(0xda)](_0x13338e(0x9d))['to'](this,_0x13338e(0xa3),_0x40608a=>_0x40608a===_0x5f4f01['id']),this[_0x13338e(0xed)][_0x13338e(0xdd)]({'type':_0x13338e(0xe5),'model':_0x3d2592,'labelView':new po(this[_0x13338e(0xd6)],_0x5f4f01)});}}[_0x1fd439(0xa7)](_0x3734b3){const _0x57c5c2=_0x1fd439;this[_0x57c5c2(0xbf)](_0x57c5c2(0xa6),_0x3734b3);}[_0x1fd439(0xa4)](_0x1554a3){const _0x59ed5c=_0x1fd439;this[_0x59ed5c(0xbf)](_0x59ed5c(0xdc),_0x1554a3);}[_0x1fd439(0x9f)](_0x24730f){const _0x2db21c=_0x1fd439;if(!_0x24730f)return;this[_0x2db21c(0xa3)]=_0x24730f['id'],this[_0x2db21c(0xc6)]=_0x24730f[_0x2db21c(0xaf)]||_0x24730f['id'],this[_0x2db21c(0xb8)][_0x2db21c(0xb3)][_0x2db21c(0xbf)](_0x2db21c(0x96),_0x24730f[_0x2db21c(0xaf)]),this[_0x2db21c(0xb8)][_0x2db21c(0xb3)][_0x2db21c(0xbf)](_0x2db21c(0x94),_0x24730f[_0x2db21c(0xaf)]);const _0x274eb6=_0x24730f[_0x2db21c(0xe8)][_0x2db21c(0xf1)]?.[_0x2db21c(0x9b)]??!0x1;this[_0x2db21c(0xbf)](_0x2db21c(0xa6),!0x1),this[_0x2db21c(0xea)][_0x2db21c(0xbf)](_0x2db21c(0x9d),!0x1),this[_0x2db21c(0xea)][_0x2db21c(0xbf)](_0x2db21c(0xbb),_0x274eb6),this[_0x2db21c(0xea)][_0x2db21c(0xbf)](_0x2db21c(0xc8),_0x274eb6);const _0x469aa4=_0x24730f[_0x2db21c(0xe8)][_0x2db21c(0x99)]?.[_0x2db21c(0x9b)]??!0x1;this[_0x2db21c(0xbf)](_0x2db21c(0xdc),!0x1),this[_0x2db21c(0x9c)][_0x2db21c(0xbf)](_0x2db21c(0x9d),!0x1),this[_0x2db21c(0x9c)][_0x2db21c(0xbf)](_0x2db21c(0xbb),_0x469aa4),this[_0x2db21c(0x9c)][_0x2db21c(0xbf)](_0x2db21c(0xc8),_0x469aa4);}[_0x1fd439(0xe0)](){const _0x1de899=_0x1fd439;this[_0x1de899(0xbf)](_0x1de899(0x97),!0x0);}[_0x1fd439(0xd5)](_0xdce832){const _0xe8f32f=_0x1fd439;this[_0xe8f32f(0xbf)](_0xe8f32f(0x97),!0x1),_0xdce832&&this[_0xe8f32f(0xbf)](_0xe8f32f(0xb6),_0xe8f32f(0xb1));}[_0x1fd439(0xf2)](){const _0x3a8acc=_0x1fd439,_0x4e4617=new _0x4b7642();return _0x4e4617[_0x3a8acc(0xbf)]({'label':_0xc77509(this[_0x3a8acc(0xd6)],_0x3a8acc(0xad)),'icon':_0x5764e0,'class':Fo,'isToggleable':!0x0,'tooltipPosition':il}),_0x4e4617['on'](_0x3a8acc(0xb5),()=>{const _0x2430a6=_0x3a8acc;this[_0x2430a6(0xd9)](_0x2430a6(0xb2));}),_0x4e4617;}[_0x1fd439(0xaa)](){const _0x360f08=_0x1fd439,_0x2f4d03=new _0x4b7642();return _0x2f4d03[_0x360f08(0xbf)]({'label':_0xc77509(this[_0x360f08(0xd6)],_0x360f08(0xbe)),'icon':_0x1a02c7,'class':Fo,'isToggleable':!0x0,'tooltipPosition':il}),_0x2f4d03['on'](_0x360f08(0xb5),()=>{const _0x5f5847=_0x360f08;this[_0x5f5847(0xd9)](_0x5f5847(0xef));}),_0x2f4d03;}[_0x1fd439(0xe1)](){const _0x4ef363=_0x1fd439,_0x160e88=new _0x4b7642();return _0x160e88[_0x4ef363(0xbf)]({'label':_0xc77509(this[_0x4ef363(0xd6)],_0x4ef363(0xc9)),'icon':_0x54ec4a,'withText':!0x0,'class':Fo,'isToggleable':!0x0,'tooltip':_0xc77509(this[_0x4ef363(0xd6)],_0x4ef363(0xc9)),'tooltipPosition':il}),_0x160e88[_0x4ef363(0xe9)]({'attributes':{'class':[Jo]}}),_0x160e88['on'](_0x4ef363(0xb5),()=>{const _0x28fd74=_0x4ef363;console[_0x28fd74(0xf0)](_0x28fd74(0xd2)),alert(_0x28fd74(0xd2));}),_0x160e88;}[_0x1fd439(0xe2)](){const _0x402965=_0x1fd439,_0x4b16aa=_0x1b6c66(this[_0x402965(0xd6)]);return _0x4b16aa[_0x402965(0xbf)]({'panelPosition':'ne','class':[Qo]}),_0x4b16aa[_0x402965(0xb3)][_0x402965(0xbf)]({'label':_0xc77509(this[_0x402965(0xd6)],_0x402965(0xc0)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':il,'class':Ko}),this[_0x402965(0x9e)](_0x4b16aa,_0x402965(0xb5),_0x22c3b7=>{const _0x2ea6df=_0x402965;this[_0x2ea6df(0xd9)](_0x2ea6df(0xd7),_0x22c3b7[_0x2ea6df(0xa5)][_0x2ea6df(0xb7)]);}),_0x4b16aa;}[_0x1fd439(0xce)](){const _0x41cb67=_0x1fd439,_0x46bb0c=new wo(this[_0x41cb67(0xd6)]);return _0x46bb0c[_0x41cb67(0xda)](_0x41cb67(0xe7))['to'](this,_0x41cb67(0xc6),_0x3f84d2=>_0x3f84d2??''),_0x46bb0c[_0x41cb67(0xda)](_0x41cb67(0xc8))['to'](this,_0x41cb67(0xb6),_0x1a4e8d=>_0x41cb67(0xaf)===_0x1a4e8d),_0x46bb0c;}}class po extends _0x192d48{constructor(_0x3af381,_0x12317f){const _0x7a585d=_0x1fd439;super();const _0x43dd4f=this[_0x7a585d(0xde)],_0x134072=this[_0x7a585d(0xae)]();this[_0x7a585d(0xe3)]({'tag':_0x7a585d(0xcc),'attributes':{'class':['ck',_0x7a585d(0xa9)],'style':_0x43dd4f['to'](_0x7a585d(0xc1)),'id':_0x43dd4f['to']('id')},'children':[{'tag':_0x7a585d(0xcc),'attributes':{'class':[Zo]},'children':[{'text':_0x43dd4f['to'](_0x7a585d(0xe7))}]},{'tag':_0x7a585d(0xcc),'attributes':{'class':[tl]},'children':[{'tag':_0x7a585d(0x98),'children':[{'text':_0x12317f[_0x7a585d(0xdb)]}]}]},{'tag':_0x7a585d(0xcc),'attributes':{'class':[el]},'children':_0x134072}]}),_0x134072[_0x7a585d(0xb0)](this[_0x7a585d(0xa2)](_0x3af381,_0x5764e0,_0x7a585d(0xad),_0x12317f[_0x7a585d(0xe8)][_0x7a585d(0xf1)]?.[_0x7a585d(0x9b)]??!0x1)),_0x134072[_0x7a585d(0xb0)](this[_0x7a585d(0xa2)](_0x3af381,_0x1a02c7,_0x7a585d(0xbe),_0x12317f[_0x7a585d(0xe8)][_0x7a585d(0x99)]?.[_0x7a585d(0x9b)]??!0x1));}[_0x1fd439(0xa2)](_0x3026d0,_0x3a44bf,_0x18605b,_0x5d0b05){const _0x21d7a1=_0x1fd439,_0x2cdea8=new _0x343b5b();_0x2cdea8[_0x21d7a1(0xbc)]=_0x3a44bf;const _0x1b8d79=new _0x36431d(_0x3026d0);_0x1b8d79[_0x21d7a1(0xe3)]({'tag':_0x21d7a1(0x98),'children':[{'text':_0xc77509(_0x3026d0,_0x18605b)+':\x20'}]});const _0x1c2dfd=new _0x36431d(_0x3026d0);return _0x1c2dfd[_0x21d7a1(0xe3)]({'tag':_0x21d7a1(0x98),'children':[{'text':_0xc77509(_0x3026d0,_0x5d0b05?_0x21d7a1(0xb9):_0x21d7a1(0xd3))}]}),[_0x2cdea8,_0x1b8d79,_0x1c2dfd];}}class wo extends _0x36431d{constructor(_0x440f1d){const _0x4861f5=_0x1fd439;super(_0x440f1d),this[_0x4861f5(0xbf)](_0x4861f5(0xe7),void 0x0),this[_0x4861f5(0xbf)](_0x4861f5(0xc8),!0x0);const _0x19d8aa=this[_0x4861f5(0xde)];this[_0x4861f5(0xe3)]({'tag':_0x4861f5(0x98),'attributes':{'class':['ck',_0x4861f5(0xa1),_0x19d8aa['if'](_0x4861f5(0xc8),_0x4861f5(0x92),_0x323986=>!_0x323986)]},'children':[{'text':_0x19d8aa['to'](_0x4861f5(0xe7))}]});}}
23
+ const _0x57a0e7=_0x2998;(function(_0x16c105,_0xc668f1){const _0x4fcd6f=_0x2998,_0x270397=_0x16c105();while(!![]){try{const _0x3a78af=parseInt(_0x4fcd6f(0x15c))/0x1*(parseInt(_0x4fcd6f(0x143))/0x2)+-parseInt(_0x4fcd6f(0x11d))/0x3+parseInt(_0x4fcd6f(0x161))/0x4*(parseInt(_0x4fcd6f(0x150))/0x5)+parseInt(_0x4fcd6f(0x140))/0x6*(parseInt(_0x4fcd6f(0x126))/0x7)+-parseInt(_0x4fcd6f(0x17b))/0x8*(parseInt(_0x4fcd6f(0x131))/0x9)+-parseInt(_0x4fcd6f(0x14c))/0xa+-parseInt(_0x4fcd6f(0x163))/0xb*(-parseInt(_0x4fcd6f(0x169))/0xc);if(_0x3a78af===_0xc668f1)break;else _0x270397['push'](_0x270397['shift']());}catch(_0xe222ac){_0x270397['push'](_0x270397['shift']());}}}(_0x5852,0x20bef));import{Collection as _0x4ebc23}from'ckeditor5/src/utils.js';import{IconAI as _0x393d86,IconBulb as _0x18ad37,IconWeb as _0x3a4867}from'@ckeditor/ckeditor5-icons';function _0x5852(){const _0x3940da=['set','1491090XZLbLS','model','_commandsButton','_modelNameView','135AQhSMm','webSearchActive','AI_CHAT_COMMANDS','_createCommandsButton','listenTo','_createReasoningButton','bindTemplate','ck-hidden','reasoning','toggleWebSearch','label','name','42IyCaTy','selector','selectModel','setWebSearch','Commands\x20are\x20not\x20implemented\x20yet.','316jOHnSC','source','184228idFeBL','setTemplate','modelSelectorEnabled','content','activeModelId','ck-ai-chat-controls__model-selection__item-capabilities','192emyscG','locale','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','activeModelName','webSearch','addMany','AI_CHAT_SEARCH_WEB','capabilities','AI_CHAT_ENABLE_WEB_SEARCH','style','execute','_reasoningButton','ck-ai-chat-controls__model-selection__item-name','enabled','AI_CHAT_DISABLE_REASONING','ck-ai-chat-controls-button--commands','add','enableModelSelector','1688JBoNcl','_createModelNameView','length','_createModelSelectionDropdown','button','description','629721DrLQCM','setModel','fire','ck-ai-button-tertiary','_createWebSearchButton','ck-ai-chat__prompt-capabilities','span','createCollection','tooltip','7yQSVOZ','AI_CHAT_DISABLE_WEB_SEARCH','ck-ai-chat-controls__model-selection','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','AI_CHAT_CAPABILITIES_NO','toggleReasoning','reasoningActive','setModelList','_getCapabilityParts','bind','ck-button__label','981qbTDgB','menuitemradio','isOn','hidden','AI_CHAT_CAPABILITIES_YES','extendTemplate','disableModelSelector','isVisible','_modelSelectionDropdownItems','AI_CHAT_ENABLE_REASONING','ck-ai-chat-controls-button','modelDisplayMode','setReasoning','_webSearchButton','div','1455834flkRpm','log','ck-ai-chat-controls__model-name','162cTPcxD','_modelSelectionDropdown','clear','buttonView','AI_CHAT_REASONING','isEnabled','ck-ai-chat-controls__model-selection__item-description','text'];_0x5852=function(){return _0x3940da;};return _0x5852();}import{addListToDropdown as _0x3d06fe,ButtonLabelView as _0x27060e,ButtonView as _0xa153a2,createDropdown as _0x5b1368,IconView as _0x2bef33,UIModel as _0x20596e,View as _0x22fc22}from'ckeditor5/src/ui.js';function _0x2998(_0x2958b8,_0x1bca55){const _0x58526f=_0x5852();return _0x2998=function(_0x299804,_0x3a2ba7){_0x299804=_0x299804-0x11d;let _0x47023f=_0x58526f[_0x299804];return _0x47023f;},_0x2998(_0x2958b8,_0x1bca55);}import{getTranslation as _0x2d0c58}from'../../../aicore/utils/common-translations.js';const Ko=_0x57a0e7(0x122),Xo=_0x57a0e7(0x13b),Qo=_0x57a0e7(0x178),Zo=_0x57a0e7(0x120),tl=_0x57a0e7(0x128),el=_0x57a0e7(0x175),il=_0x57a0e7(0x149),sl=_0x57a0e7(0x168),ol='n';export class AIChatPromptCapabilitiesView extends _0x22fc22{[_0x57a0e7(0x13e)];[_0x57a0e7(0x174)];[_0x57a0e7(0x14e)];[_0x57a0e7(0x144)];[_0x57a0e7(0x139)];[_0x57a0e7(0x14f)];constructor(_0x471373){const _0x5a8a60=_0x57a0e7;super(_0x471373),this[_0x5a8a60(0x14b)](_0x5a8a60(0x151),!0x1),this[_0x5a8a60(0x14b)](_0x5a8a60(0x12c),!0x1),this[_0x5a8a60(0x14b)](_0x5a8a60(0x13c),_0x5a8a60(0x15d)),this[_0x5a8a60(0x14b)](_0x5a8a60(0x165),!0x0),this[_0x5a8a60(0x14b)](_0x5a8a60(0x167),null),this[_0x5a8a60(0x14b)](_0x5a8a60(0x16c),null),this[_0x5a8a60(0x144)]=this[_0x5a8a60(0x17e)](),this[_0x5a8a60(0x14f)]=this[_0x5a8a60(0x17c)](),this[_0x5a8a60(0x13e)]=this[_0x5a8a60(0x121)](),this[_0x5a8a60(0x174)]=this[_0x5a8a60(0x155)](),this[_0x5a8a60(0x14e)]=this[_0x5a8a60(0x153)](),this[_0x5a8a60(0x144)][_0x5a8a60(0x146)][_0x5a8a60(0x12f)](_0x5a8a60(0x138))['to'](this,_0x5a8a60(0x13c),_0x31b403=>_0x5a8a60(0x15d)===_0x31b403),this[_0x5a8a60(0x144)][_0x5a8a60(0x146)][_0x5a8a60(0x12f)](_0x5a8a60(0x125))['to'](this,_0x5a8a60(0x165),_0x266818=>_0x266818?this[_0x5a8a60(0x144)][_0x5a8a60(0x146)][_0x5a8a60(0x15a)]:_0x2d0c58(this[_0x5a8a60(0x16a)],_0x5a8a60(0x129))),this[_0x5a8a60(0x144)][_0x5a8a60(0x12f)](_0x5a8a60(0x148))['to'](this,_0x5a8a60(0x165),_0x3b5edd=>_0x3b5edd),this[_0x5a8a60(0x13e)][_0x5a8a60(0x12f)](_0x5a8a60(0x133))['to'](this,_0x5a8a60(0x151),_0xb0ec2a=>_0xb0ec2a),this[_0x5a8a60(0x13e)][_0x5a8a60(0x12f)](_0x5a8a60(0x125))['to'](this,_0x5a8a60(0x151),_0x49f9eb=>_0x2d0c58(this[_0x5a8a60(0x16a)],_0x49f9eb?_0x5a8a60(0x127):_0x5a8a60(0x171))),this[_0x5a8a60(0x174)][_0x5a8a60(0x12f)](_0x5a8a60(0x133))['to'](this,_0x5a8a60(0x12c),_0x43e3fc=>_0x43e3fc),this[_0x5a8a60(0x174)][_0x5a8a60(0x12f)](_0x5a8a60(0x125))['to'](this,_0x5a8a60(0x12c),_0x4ac49e=>_0x2d0c58(this[_0x5a8a60(0x16a)],_0x4ac49e?_0x5a8a60(0x177):_0x5a8a60(0x13a))),this[_0x5a8a60(0x164)]({'tag':_0x5a8a60(0x13f),'attributes':{'class':[Ko]},'children':[this[_0x5a8a60(0x144)],this[_0x5a8a60(0x14f)],this[_0x5a8a60(0x13e)],this[_0x5a8a60(0x174)],this[_0x5a8a60(0x14e)]]}),this[_0x5a8a60(0x139)]=new _0x4ebc23(),_0x3d06fe(this[_0x5a8a60(0x144)],this[_0x5a8a60(0x139)]);}[_0x57a0e7(0x12d)](_0x164383,_0x1daf4e){const _0x402ab2=_0x57a0e7;if(_0x1daf4e)this[_0x402ab2(0x14b)](_0x402ab2(0x13c),_0x402ab2(0x134));else{const _0x46fa10=0x1===_0x164383[_0x402ab2(0x17d)];this[_0x402ab2(0x14b)](_0x402ab2(0x13c),_0x46fa10?_0x402ab2(0x15b):_0x402ab2(0x15d));}if(this[_0x402ab2(0x139)][_0x402ab2(0x145)](),_0x164383?.[_0x402ab2(0x17d)])for(const _0x4e7017 of _0x164383){const _0x53b919=new _0x20596e({'label':_0x4e7017[_0x402ab2(0x15b)],'withText':!0x0,'role':_0x402ab2(0x132),'id':_0x4e7017['id'],'model':_0x4e7017});_0x53b919[_0x402ab2(0x12f)](_0x402ab2(0x133))['to'](this,_0x402ab2(0x167),_0x4e7340=>_0x4e7340===_0x4e7017['id']),this[_0x402ab2(0x139)][_0x402ab2(0x179)]({'type':_0x402ab2(0x17f),'model':_0x53b919,'labelView':new ko(this[_0x402ab2(0x16a)],_0x4e7017)});}}[_0x57a0e7(0x15f)](_0x184889){const _0x8736c2=_0x57a0e7;this[_0x8736c2(0x14b)](_0x8736c2(0x151),_0x184889);}[_0x57a0e7(0x13d)](_0x3dc178){const _0x5a01da=_0x57a0e7;this[_0x5a01da(0x14b)](_0x5a01da(0x12c),_0x3dc178);}[_0x57a0e7(0x11e)](_0x374bd3){const _0x58d33e=_0x57a0e7;if(!_0x374bd3)return;this[_0x58d33e(0x167)]=_0x374bd3['id'],this[_0x58d33e(0x16c)]=_0x374bd3[_0x58d33e(0x15b)]||_0x374bd3['id'],this[_0x58d33e(0x144)][_0x58d33e(0x146)][_0x58d33e(0x14b)](_0x58d33e(0x15a),_0x374bd3[_0x58d33e(0x15b)]),this[_0x58d33e(0x144)][_0x58d33e(0x146)][_0x58d33e(0x14b)](_0x58d33e(0x125),_0x374bd3[_0x58d33e(0x15b)]);const _0x1d8ab3=_0x374bd3[_0x58d33e(0x170)][_0x58d33e(0x16d)]?.[_0x58d33e(0x176)]??!0x1;this[_0x58d33e(0x14b)](_0x58d33e(0x151),!0x1),this[_0x58d33e(0x13e)][_0x58d33e(0x14b)](_0x58d33e(0x133),!0x1),this[_0x58d33e(0x13e)][_0x58d33e(0x14b)](_0x58d33e(0x148),_0x1d8ab3),this[_0x58d33e(0x13e)][_0x58d33e(0x14b)](_0x58d33e(0x138),_0x1d8ab3);const _0x4a2076=_0x374bd3[_0x58d33e(0x170)][_0x58d33e(0x158)]?.[_0x58d33e(0x176)]??!0x1;this[_0x58d33e(0x14b)](_0x58d33e(0x12c),!0x1),this[_0x58d33e(0x174)][_0x58d33e(0x14b)](_0x58d33e(0x133),!0x1),this[_0x58d33e(0x174)][_0x58d33e(0x14b)](_0x58d33e(0x148),_0x4a2076),this[_0x58d33e(0x174)][_0x58d33e(0x14b)](_0x58d33e(0x138),_0x4a2076);}[_0x57a0e7(0x17a)](){const _0x46237d=_0x57a0e7;this[_0x46237d(0x14b)](_0x46237d(0x165),!0x0);}[_0x57a0e7(0x137)](_0x453627){const _0x528ef1=_0x57a0e7;this[_0x528ef1(0x14b)](_0x528ef1(0x165),!0x1),_0x453627&&this[_0x528ef1(0x14b)](_0x528ef1(0x13c),_0x528ef1(0x134));}[_0x57a0e7(0x121)](){const _0x1564c2=_0x57a0e7,_0x486d50=new _0xa153a2();return _0x486d50[_0x1564c2(0x14b)]({'label':_0x2d0c58(this[_0x1564c2(0x16a)],_0x1564c2(0x16f)),'icon':_0x3a4867,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x486d50['on'](_0x1564c2(0x173),()=>{const _0x584719=_0x1564c2;this[_0x584719(0x11f)](_0x584719(0x159));}),_0x486d50;}[_0x57a0e7(0x155)](){const _0x35fc00=_0x57a0e7,_0x3da69e=new _0xa153a2();return _0x3da69e[_0x35fc00(0x14b)]({'label':_0x2d0c58(this[_0x35fc00(0x16a)],_0x35fc00(0x147)),'icon':_0x18ad37,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x3da69e['on'](_0x35fc00(0x173),()=>{const _0x3e07d7=_0x35fc00;this[_0x3e07d7(0x11f)](_0x3e07d7(0x12b));}),_0x3da69e;}[_0x57a0e7(0x153)](){const _0x588e7c=_0x57a0e7,_0x5b86aa=new _0xa153a2();return _0x5b86aa[_0x588e7c(0x14b)]({'label':_0x2d0c58(this[_0x588e7c(0x16a)],_0x588e7c(0x152)),'icon':_0x393d86,'withText':!0x0,'class':Xo,'isToggleable':!0x0,'tooltip':_0x2d0c58(this[_0x588e7c(0x16a)],_0x588e7c(0x152)),'tooltipPosition':ol}),_0x5b86aa[_0x588e7c(0x136)]({'attributes':{'class':[Qo]}}),_0x5b86aa['on'](_0x588e7c(0x173),()=>{const _0x44e244=_0x588e7c;console[_0x44e244(0x141)](_0x44e244(0x160)),alert(_0x44e244(0x160));}),_0x5b86aa;}[_0x57a0e7(0x17e)](){const _0x3fbdc1=_0x57a0e7,_0x5eb812=_0x5b1368(this[_0x3fbdc1(0x16a)]);return _0x5eb812[_0x3fbdc1(0x14b)]({'panelPosition':'ne','class':[tl]}),_0x5eb812[_0x3fbdc1(0x146)][_0x3fbdc1(0x14b)]({'label':_0x2d0c58(this[_0x3fbdc1(0x16a)],_0x3fbdc1(0x16b)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':ol,'class':Zo}),this[_0x3fbdc1(0x154)](_0x5eb812,_0x3fbdc1(0x173),_0x5a5b15=>{const _0x4bddc3=_0x3fbdc1;this[_0x4bddc3(0x11f)](_0x4bddc3(0x15e),_0x5a5b15[_0x4bddc3(0x162)][_0x4bddc3(0x14d)]);}),_0x5eb812;}[_0x57a0e7(0x17c)](){const _0x2f7f9f=_0x57a0e7,_0x456da0=new _o(this[_0x2f7f9f(0x16a)]);return _0x456da0[_0x2f7f9f(0x12f)](_0x2f7f9f(0x14a))['to'](this,_0x2f7f9f(0x16c),_0x41f453=>_0x41f453??''),_0x456da0[_0x2f7f9f(0x12f)](_0x2f7f9f(0x138))['to'](this,_0x2f7f9f(0x13c),_0x50dbf4=>_0x2f7f9f(0x15b)===_0x50dbf4),_0x456da0;}}class ko extends _0x27060e{constructor(_0x341868,_0x33b778){const _0x4cf397=_0x57a0e7;super();const _0x51a41b=this[_0x4cf397(0x156)],_0x160d0e=this[_0x4cf397(0x124)]();this[_0x4cf397(0x164)]({'tag':_0x4cf397(0x13f),'attributes':{'class':['ck',_0x4cf397(0x130)],'style':_0x51a41b['to'](_0x4cf397(0x172)),'id':_0x51a41b['to']('id')},'children':[{'tag':_0x4cf397(0x13f),'attributes':{'class':[el]},'children':[{'text':_0x51a41b['to'](_0x4cf397(0x14a))}]},{'tag':_0x4cf397(0x13f),'attributes':{'class':[il]},'children':[{'tag':_0x4cf397(0x123),'children':[{'text':_0x33b778[_0x4cf397(0x180)]}]}]},{'tag':_0x4cf397(0x13f),'attributes':{'class':[sl]},'children':_0x160d0e}]}),_0x160d0e[_0x4cf397(0x16e)](this[_0x4cf397(0x12e)](_0x341868,_0x3a4867,_0x4cf397(0x16f),_0x33b778[_0x4cf397(0x170)][_0x4cf397(0x16d)]?.[_0x4cf397(0x176)]??!0x1)),_0x160d0e[_0x4cf397(0x16e)](this[_0x4cf397(0x12e)](_0x341868,_0x18ad37,_0x4cf397(0x147),_0x33b778[_0x4cf397(0x170)][_0x4cf397(0x158)]?.[_0x4cf397(0x176)]??!0x1));}[_0x57a0e7(0x12e)](_0x4575df,_0x339f8a,_0x25cbdf,_0x5247fa){const _0x352db5=_0x57a0e7,_0xb26f9b=new _0x2bef33();_0xb26f9b[_0x352db5(0x166)]=_0x339f8a;const _0x293c42=new _0x22fc22(_0x4575df);_0x293c42[_0x352db5(0x164)]({'tag':_0x352db5(0x123),'children':[{'text':_0x2d0c58(_0x4575df,_0x25cbdf)+':\x20'}]});const _0x3d4572=new _0x22fc22(_0x4575df);return _0x3d4572[_0x352db5(0x164)]({'tag':_0x352db5(0x123),'children':[{'text':_0x2d0c58(_0x4575df,_0x5247fa?_0x352db5(0x135):_0x352db5(0x12a))}]}),[_0xb26f9b,_0x293c42,_0x3d4572];}}class _o extends _0x22fc22{constructor(_0x359450){const _0x3efb91=_0x57a0e7;super(_0x359450),this[_0x3efb91(0x14b)](_0x3efb91(0x14a),void 0x0),this[_0x3efb91(0x14b)](_0x3efb91(0x138),!0x0);const _0x1fa7b2=this[_0x3efb91(0x156)];this[_0x3efb91(0x164)]({'tag':_0x3efb91(0x123),'attributes':{'class':['ck',_0x3efb91(0x142),_0x1fa7b2['if'](_0x3efb91(0x138),_0x3efb91(0x157),_0x438205=>!_0x438205)]},'children':[{'text':_0x1fa7b2['to'](_0x3efb91(0x14a))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x544218=_0x1b57;(function(_0x399635,_0x429d34){const _0xdc9ea2=_0x1b57,_0x24b01a=_0x399635();while(!![]){try{const _0x4ecbed=-parseInt(_0xdc9ea2(0xd9))/0x1*(-parseInt(_0xdc9ea2(0xcc))/0x2)+-parseInt(_0xdc9ea2(0xea))/0x3*(-parseInt(_0xdc9ea2(0xb9))/0x4)+parseInt(_0xdc9ea2(0xcd))/0x5+parseInt(_0xdc9ea2(0xce))/0x6+parseInt(_0xdc9ea2(0xba))/0x7+parseInt(_0xdc9ea2(0xd5))/0x8+-parseInt(_0xdc9ea2(0xc3))/0x9;if(_0x4ecbed===_0x429d34)break;else _0x24b01a['push'](_0x24b01a['shift']());}catch(_0x322072){_0x24b01a['push'](_0x24b01a['shift']());}}}(_0x251a,0xe8905));import{IconSubmit as _0x378df6}from'ckeditor5/src/icons.js';import{ButtonView as _0xfa6e9b,AutocompleteView as _0x395422,createLabeledTextarea as _0x436bc5}from'ckeditor5/src/ui.js';import{global as _0x23d7fb,isVisible as _0x59a27f,Rect as _0x5e05bd,ResizeObserver as _0x59a006}from'ckeditor5/src/utils.js';import{getTranslation as _0x4eb476}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x33ad12}from'./aichatpromptsuggestionslistview.js';import{escape as _0x21c631}from'es-toolkit/compat';function _0x1b57(_0x3531d3,_0x5f0cc2){const _0x251a62=_0x251a();return _0x1b57=function(_0x1b5752,_0x18a08d){_0x1b5752=_0x1b5752-0xb5;let _0xf48b3b=_0x251a62[_0x1b5752];return _0xf48b3b;},_0x1b57(_0x3531d3,_0x5f0cc2);}const ah=_0x544218(0xc6);function _0x251a(){const _0x214886=['width','bind','enter','setIsUploadInProgress','AI_CHAT_LABEL_SUBMIT','maxRows','add','target','12QGTSYu','5497947iwmcCh','placeholder','requestAnimationFrame','destroy','fieldWrapperChildren','render','uiLanguageDirection','submitButtonView','element','42458796tjhcIg','MAX_ROWS','window','ck-ai-chat__prompt-input_highlighted','minRows','isUploadInProgress','errorText','_setUpAddContextButtonPositioning','hasError','1931338yMWxqI','6057175sEJxmz','7908630wOsIvm','left','_addContextButtonView','setPlaceholderText','isEmpty','focus','isEnabled','294320MtuKzx','focusableChildren','locale','sendUserMessage','1jlGbhG','_createSubmitButton','fieldView','keystrokes','queryView','AI_CHAT_PROMPT_EMPTY_ERROR','px\x20-\x20var(--ck-spacing-tiny))','excludeScrollbarsAndBorders','remove','reset','ck-ai-chat__prompt-submit-button','extendTemplate','style','execute','calc(','set','fire','1352805vtIWty','ck-ai-chat__prompt-input','trim','classList','_queryViewResizeObserver','value','right','MIN_ROWS','contains','submit','update','rtl'];_0x251a=function(){return _0x214886;};return _0x251a();}export class AIChatPromptInputView extends _0x395422{[_0x544218(0xc1)];static [_0x544218(0xf1)]=0x1;static [_0x544218(0xc4)]=0xc;[_0x544218(0xd0)];[_0x544218(0xee)];constructor(_0x488b17,_0x4fa0eb){const _0x52c464=_0x544218;super(_0x488b17,{'queryView':{'label':'','creator':_0x436bc5,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x33ad12(_0x488b17),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x52c464(0xe8)](_0x52c464(0xd2),!0x0),this[_0x52c464(0xe8)](_0x52c464(0xc8),!0x1),this[_0x52c464(0xd0)]=_0x4fa0eb,this[_0x52c464(0xee)]=null,this[_0x52c464(0xdd)][_0x52c464(0xdb)][_0x52c464(0xc7)]=AIChatPromptInputView[_0x52c464(0xf1)],this[_0x52c464(0xdd)][_0x52c464(0xdb)][_0x52c464(0xb6)]=AIChatPromptInputView[_0x52c464(0xc4)],this[_0x52c464(0xdd)][_0x52c464(0xbe)][_0x52c464(0xb7)](this[_0x52c464(0xd0)]),this[_0x52c464(0xca)](),this[_0x52c464(0xe4)]({'attributes':{'class':['ck',_0x52c464(0xeb)]}}),this[_0x52c464(0xc1)]=this[_0x52c464(0xda)](),this[_0x52c464(0xc1)][_0x52c464(0xf7)](_0x52c464(0xd4))['to'](this,_0x52c464(0xd2),this,_0x52c464(0xc8),(_0x5b120a,_0xad97c3)=>!_0x5b120a&&!_0xad97c3),this[_0x52c464(0xd6)][_0x52c464(0xb7)](this[_0x52c464(0xc1)]);}[_0x544218(0xbf)](){const _0xbffc72=_0x544218;super[_0xbffc72(0xbf)](),this[_0xbffc72(0xdd)][_0xbffc72(0xbe)][_0xbffc72(0xb7)](this[_0xbffc72(0xc1)]),this[_0xbffc72(0xdc)][_0xbffc72(0xe8)](_0xbffc72(0xf8),(_0x304e7d,_0x1f2c6f)=>{const _0x510a4c=_0xbffc72;this[_0x510a4c(0xc8)]||this[_0x510a4c(0xd2)]||_0x304e7d[_0x510a4c(0xb8)]==this[_0x510a4c(0xdd)][_0x510a4c(0xdb)][_0x510a4c(0xc2)]&&(this[_0x510a4c(0xf3)](),_0x1f2c6f());}),this[_0xbffc72(0xdd)][_0xbffc72(0xdb)]['on'](_0xbffc72(0xf4),()=>{const _0x3ea4ed=_0xbffc72;this[_0x3ea4ed(0xd2)]=''===this[_0x3ea4ed(0xdd)][_0x3ea4ed(0xdb)][_0x3ea4ed(0xc2)][_0x3ea4ed(0xef)]?.[_0x3ea4ed(0xec)]();});}[_0x544218(0xbd)](){const _0x585f89=_0x544218;super[_0x585f89(0xbd)](),this[_0x585f89(0xee)]&&this[_0x585f89(0xee)][_0x585f89(0xbd)]();}[_0x544218(0xf3)](){const _0x498bd8=_0x544218,_0x76173f=this[_0x498bd8(0xdd)][_0x498bd8(0xdb)][_0x498bd8(0xc2)][_0x498bd8(0xef)]?.[_0x498bd8(0xec)]();if(!_0x76173f)return this[_0x498bd8(0xdd)][_0x498bd8(0xc9)]=_0x4eb476(this[_0x498bd8(0xd7)],_0x498bd8(0xde)),void(this[_0x498bd8(0xdd)][_0x498bd8(0xdb)][_0x498bd8(0xcb)]=!0x0);this[_0x498bd8(0xdd)][_0x498bd8(0xdb)][_0x498bd8(0xcb)]=!0x1;const _0x1c74bd=_0x21c631(_0x76173f);this[_0x498bd8(0xe9)](_0x498bd8(0xd8),_0x1c74bd),this[_0x498bd8(0xdd)][_0x498bd8(0xdb)][_0x498bd8(0xe2)]();}[_0x544218(0xd1)](_0x120f67){const _0x1bdc2f=_0x544218;this[_0x1bdc2f(0xdd)][_0x1bdc2f(0xdb)][_0x1bdc2f(0xe8)](_0x1bdc2f(0xbb),_0x120f67);}[_0x544218(0xd3)](_0x4dbd90=!0x1){const _0x4cbe9e=_0x544218;super[_0x4cbe9e(0xd3)](),_0x4dbd90&&(this[_0x4cbe9e(0xc2)][_0x4cbe9e(0xed)][_0x4cbe9e(0xf2)](ah)||(this[_0x4cbe9e(0xc2)][_0x4cbe9e(0xed)][_0x4cbe9e(0xb7)](ah),setTimeout(()=>{const _0x141754=_0x4cbe9e;this[_0x141754(0xc2)][_0x141754(0xed)][_0x141754(0xe1)](ah);},0x320)));}[_0x544218(0xda)](){const _0xb71167=_0x544218,_0x82d214=new _0xfa6e9b(this[_0xb71167(0xd7)]);return _0x82d214[_0xb71167(0xe8)]({'icon':_0x378df6,'label':_0x4eb476(this[_0xb71167(0xd7)],_0xb71167(0xb5)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xb71167(0xe3),'isEnabled':!0x1}),_0x82d214['on'](_0xb71167(0xe6),()=>{const _0x3d1364=_0xb71167;this[_0x3d1364(0xf3)]();}),_0x82d214;}[_0x544218(0xf9)](_0x5c7316){const _0x11ef13=_0x544218;this[_0x11ef13(0xc8)]=_0x5c7316;}[_0x544218(0xca)](){const _0x42fef7=_0x544218,_0x5f0924=this[_0x42fef7(0xd7)],_0x1e57a4=()=>{const _0x4b8056=_0x42fef7;_0x23d7fb[_0x4b8056(0xc5)][_0x4b8056(0xbc)](()=>{const _0x204efb=_0x4b8056;if(_0x59a27f(this[_0x204efb(0xc2)])){const _0x51a538=new _0x5e05bd(this[_0x204efb(0xdd)][_0x204efb(0xdb)][_0x204efb(0xc2)]),_0x181e74=new _0x5e05bd(this[_0x204efb(0xd0)][_0x204efb(0xc2)]),_0x570646=_0x51a538[_0x204efb(0xf6)],_0x1aa082=_0x204efb(0xf5)===_0x5f0924[_0x204efb(0xc0)]?_0x204efb(0xf0):_0x204efb(0xcf);_0x51a538[_0x204efb(0xe0)]();const _0x5044b6=_0x570646-_0x51a538[_0x204efb(0xf6)]+0x1;this[_0x204efb(0xd0)][_0x204efb(0xc2)][_0x204efb(0xe5)][_0x1aa082]=_0x204efb(0xe7)+(_0x570646-_0x181e74[_0x204efb(0xf6)]-_0x5044b6)+_0x204efb(0xdf);}});};this[_0x42fef7(0xdd)][_0x42fef7(0xdb)]['on'](_0x42fef7(0xf4),_0x1e57a4),this['on'](_0x42fef7(0xbf),()=>{const _0x10c816=_0x42fef7;_0x1e57a4(),this[_0x10c816(0xee)]=new _0x59a006(this[_0x10c816(0xdd)][_0x10c816(0xdb)][_0x10c816(0xc2)],()=>{_0x1e57a4();});});}}
23
+ function _0x1e3d(_0x1c8a04,_0x2be8fc){const _0x5a3554=_0x5a35();return _0x1e3d=function(_0x1e3d26,_0x43cd0d){_0x1e3d26=_0x1e3d26-0x16f;let _0x560a36=_0x5a3554[_0x1e3d26];return _0x560a36;},_0x1e3d(_0x1c8a04,_0x2be8fc);}const _0x15a7a0=_0x1e3d;(function(_0x33a7e1,_0x2b9274){const _0x5f1d4f=_0x1e3d,_0x381af4=_0x33a7e1();while(!![]){try{const _0x413f0a=-parseInt(_0x5f1d4f(0x194))/0x1+-parseInt(_0x5f1d4f(0x1aa))/0x2*(-parseInt(_0x5f1d4f(0x18a))/0x3)+-parseInt(_0x5f1d4f(0x1a0))/0x4*(-parseInt(_0x5f1d4f(0x18d))/0x5)+-parseInt(_0x5f1d4f(0x18c))/0x6+-parseInt(_0x5f1d4f(0x178))/0x7*(parseInt(_0x5f1d4f(0x18e))/0x8)+parseInt(_0x5f1d4f(0x19f))/0x9*(parseInt(_0x5f1d4f(0x1a1))/0xa)+parseInt(_0x5f1d4f(0x19a))/0xb*(parseInt(_0x5f1d4f(0x1a2))/0xc);if(_0x413f0a===_0x2b9274)break;else _0x381af4['push'](_0x381af4['shift']());}catch(_0xf953fc){_0x381af4['push'](_0x381af4['shift']());}}}(_0x5a35,0xd6e04));import{IconSubmit as _0x23300b}from'ckeditor5/src/icons.js';import{ButtonView as _0x5727eb,AutocompleteView as _0xad772f,createLabeledTextarea as _0x42e91d}from'ckeditor5/src/ui.js';function _0x5a35(){const _0x15534c=['calc(','placeholder','style','ck-ai-chat__prompt-input','right','reset','classList','sendUserMessage','uiLanguageDirection','locale','_createSubmitButton','_queryViewResizeObserver','remove','contains','destroy','1924554tdOFML','MIN_ROWS','3628944mRXHEv','25VnsAFa','8TKtrND','px\x20-\x20var(--ck-spacing-tiny))','ck-ai-chat__prompt-submit-button','focus','excludeScrollbarsAndBorders','bind','1269102DqVlyF','_addContextButtonView','submit','add','left','isEmpty','697323yXSyEq','queryView','isEnabled','MAX_ROWS','focusableChildren','18saSuwc','804772hqbhNR','3318480QEfmOx','264IzxbZu','requestAnimationFrame','rtl','window','keystrokes','setPlaceholderText','AI_CHAT_PROMPT_EMPTY_ERROR','maxRows','4xHFekx','update','target','errorText','fieldView','extendTemplate','width','fieldWrapperChildren','AI_CHAT_LABEL_SUBMIT','isUploadInProgress','submitButtonView','trim','element','setIsUploadInProgress','hasError','enter','execute','_setUpAddContextButtonPositioning','fire','minRows','value','render','11152995TzgsNr','ck-ai-chat__prompt-input_highlighted','set'];_0x5a35=function(){return _0x15534c;};return _0x5a35();}import{global as _0x2b8b97,isVisible as _0x306720,Rect as _0x51c6a3,ResizeObserver as _0x5e5f8f}from'ckeditor5/src/utils.js';import{getTranslation as _0x24fcc0}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x4c9009}from'./aichatpromptsuggestionslistview.js';import{escape as _0x55a051}from'es-toolkit/compat';const ah=_0x15a7a0(0x179);export class AIChatPromptInputView extends _0xad772f{[_0x15a7a0(0x1b4)];static [_0x15a7a0(0x18b)]=0x1;static [_0x15a7a0(0x19d)]=0xc;[_0x15a7a0(0x195)];[_0x15a7a0(0x186)];constructor(_0x5e68be,_0x3768a5){const _0x2325a3=_0x15a7a0;super(_0x5e68be,{'queryView':{'label':'','creator':_0x42e91d,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x4c9009(_0x5e68be),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x2325a3(0x17a)](_0x2325a3(0x199),!0x0),this[_0x2325a3(0x17a)](_0x2325a3(0x1b3),!0x1),this[_0x2325a3(0x195)]=_0x3768a5,this[_0x2325a3(0x186)]=null,this[_0x2325a3(0x19b)][_0x2325a3(0x1ae)][_0x2325a3(0x175)]=AIChatPromptInputView[_0x2325a3(0x18b)],this[_0x2325a3(0x19b)][_0x2325a3(0x1ae)][_0x2325a3(0x1a9)]=AIChatPromptInputView[_0x2325a3(0x19d)],this[_0x2325a3(0x19b)][_0x2325a3(0x1b1)][_0x2325a3(0x197)](this[_0x2325a3(0x195)]),this[_0x2325a3(0x173)](),this[_0x2325a3(0x1af)]({'attributes':{'class':['ck',_0x2325a3(0x17e)]}}),this[_0x2325a3(0x1b4)]=this[_0x2325a3(0x185)](),this[_0x2325a3(0x1b4)][_0x2325a3(0x193)](_0x2325a3(0x19c))['to'](this,_0x2325a3(0x199),this,_0x2325a3(0x1b3),(_0x42b851,_0x6f540)=>!_0x42b851&&!_0x6f540),this[_0x2325a3(0x19e)][_0x2325a3(0x197)](this[_0x2325a3(0x1b4)]);}[_0x15a7a0(0x177)](){const _0x3d3aa=_0x15a7a0;super[_0x3d3aa(0x177)](),this[_0x3d3aa(0x19b)][_0x3d3aa(0x1b1)][_0x3d3aa(0x197)](this[_0x3d3aa(0x1b4)]),this[_0x3d3aa(0x1a6)][_0x3d3aa(0x17a)](_0x3d3aa(0x171),(_0x170c07,_0x32f91b)=>{const _0x475b25=_0x3d3aa;this[_0x475b25(0x1b3)]||this[_0x475b25(0x199)]||_0x170c07[_0x475b25(0x1ac)]==this[_0x475b25(0x19b)][_0x475b25(0x1ae)][_0x475b25(0x1b6)]&&(this[_0x475b25(0x196)](),_0x32f91b());}),this[_0x3d3aa(0x19b)][_0x3d3aa(0x1ae)]['on'](_0x3d3aa(0x1ab),()=>{const _0x2dde9e=_0x3d3aa;this[_0x2dde9e(0x199)]=''===this[_0x2dde9e(0x19b)][_0x2dde9e(0x1ae)][_0x2dde9e(0x1b6)][_0x2dde9e(0x176)]?.[_0x2dde9e(0x1b5)]();});}[_0x15a7a0(0x189)](){const _0x271bbd=_0x15a7a0;super[_0x271bbd(0x189)](),this[_0x271bbd(0x186)]&&this[_0x271bbd(0x186)][_0x271bbd(0x189)]();}[_0x15a7a0(0x196)](){const _0x31f280=_0x15a7a0,_0x332ed1=this[_0x31f280(0x19b)][_0x31f280(0x1ae)][_0x31f280(0x1b6)][_0x31f280(0x176)]?.[_0x31f280(0x1b5)]();if(!_0x332ed1)return this[_0x31f280(0x19b)][_0x31f280(0x1ad)]=_0x24fcc0(this[_0x31f280(0x184)],_0x31f280(0x1a8)),void(this[_0x31f280(0x19b)][_0x31f280(0x1ae)][_0x31f280(0x170)]=!0x0);this[_0x31f280(0x19b)][_0x31f280(0x1ae)][_0x31f280(0x170)]=!0x1;const _0x366e27=_0x55a051(_0x332ed1);this[_0x31f280(0x174)](_0x31f280(0x182),_0x366e27),this[_0x31f280(0x19b)][_0x31f280(0x1ae)][_0x31f280(0x180)]();}[_0x15a7a0(0x1a7)](_0x2c8fd8){const _0x29f755=_0x15a7a0;this[_0x29f755(0x19b)][_0x29f755(0x1ae)][_0x29f755(0x17a)](_0x29f755(0x17c),_0x2c8fd8);}[_0x15a7a0(0x191)](_0x58bf12=!0x1){const _0x50ef78=_0x15a7a0;super[_0x50ef78(0x191)](),_0x58bf12&&(this[_0x50ef78(0x1b6)][_0x50ef78(0x181)][_0x50ef78(0x188)](ah)||(this[_0x50ef78(0x1b6)][_0x50ef78(0x181)][_0x50ef78(0x197)](ah),setTimeout(()=>{const _0x251187=_0x50ef78;this[_0x251187(0x1b6)][_0x251187(0x181)][_0x251187(0x187)](ah);},0x320)));}[_0x15a7a0(0x185)](){const _0x5be46c=_0x15a7a0,_0x50ac64=new _0x5727eb(this[_0x5be46c(0x184)]);return _0x50ac64[_0x5be46c(0x17a)]({'icon':_0x23300b,'label':_0x24fcc0(this[_0x5be46c(0x184)],_0x5be46c(0x1b2)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5be46c(0x190),'isEnabled':!0x1}),_0x50ac64['on'](_0x5be46c(0x172),()=>{const _0x4555aa=_0x5be46c;this[_0x4555aa(0x196)]();}),_0x50ac64;}[_0x15a7a0(0x16f)](_0x23fbc2){const _0x3a97a2=_0x15a7a0;this[_0x3a97a2(0x1b3)]=_0x23fbc2;}[_0x15a7a0(0x173)](){const _0x2508fe=_0x15a7a0,_0x5b0b0f=this[_0x2508fe(0x184)],_0x2f785a=()=>{const _0xcee503=_0x2508fe;_0x2b8b97[_0xcee503(0x1a5)][_0xcee503(0x1a3)](()=>{const _0x5ea9fa=_0xcee503;if(_0x306720(this[_0x5ea9fa(0x1b6)])){const _0x310323=new _0x51c6a3(this[_0x5ea9fa(0x19b)][_0x5ea9fa(0x1ae)][_0x5ea9fa(0x1b6)]),_0x59d62f=new _0x51c6a3(this[_0x5ea9fa(0x195)][_0x5ea9fa(0x1b6)]),_0x4bd00f=_0x310323[_0x5ea9fa(0x1b0)],_0x160785=_0x5ea9fa(0x1a4)===_0x5b0b0f[_0x5ea9fa(0x183)]?_0x5ea9fa(0x17f):_0x5ea9fa(0x198);_0x310323[_0x5ea9fa(0x192)]();const _0x2d6140=_0x4bd00f-_0x310323[_0x5ea9fa(0x1b0)]+0x1;this[_0x5ea9fa(0x195)][_0x5ea9fa(0x1b6)][_0x5ea9fa(0x17d)][_0x160785]=_0x5ea9fa(0x17b)+(_0x4bd00f-_0x59d62f[_0x5ea9fa(0x1b0)]-_0x2d6140)+_0x5ea9fa(0x18f);}});};this[_0x2508fe(0x19b)][_0x2508fe(0x1ae)]['on'](_0x2508fe(0x1ab),_0x2f785a),this['on'](_0x2508fe(0x177),()=>{const _0x32e97c=_0x2508fe;_0x2f785a(),this[_0x32e97c(0x186)]=new _0x5e5f8f(this[_0x32e97c(0x19b)][_0x32e97c(0x1ae)][_0x32e97c(0x1b6)],()=>{_0x2f785a();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x185876=_0x4cb3;function _0xe0f4(){const _0x98ecc7=['4662153PIzNIW','92267oRnImw','186uJzDFZ','3351520KmnXTQ','16FYRCnA','items','1755700uyymdh','length','2093248mTmmNR','filter','39sHkdBq','798549Awmkpw','30250yhomSe'];_0xe0f4=function(){return _0x98ecc7;};return _0xe0f4();}function _0x4cb3(_0x3a7b2c,_0x433806){const _0xe0f4ad=_0xe0f4();return _0x4cb3=function(_0x4cb34a,_0x5ce62f){_0x4cb34a=_0x4cb34a-0x1af;let _0x31c910=_0xe0f4ad[_0x4cb34a];return _0x31c910;},_0x4cb3(_0x3a7b2c,_0x433806);}(function(_0x208136,_0x140819){const _0x10a335=_0x4cb3,_0x4e7094=_0x208136();while(!![]){try{const _0x27104f=parseInt(_0x10a335(0x1b3))/0x1+parseInt(_0x10a335(0x1b4))/0x2*(parseInt(_0x10a335(0x1b2))/0x3)+-parseInt(_0x10a335(0x1b0))/0x4+parseInt(_0x10a335(0x1bb))/0x5+parseInt(_0x10a335(0x1b7))/0x6*(parseInt(_0x10a335(0x1b6))/0x7)+parseInt(_0x10a335(0x1b9))/0x8*(-parseInt(_0x10a335(0x1b5))/0x9)+parseInt(_0x10a335(0x1b8))/0xa;if(_0x27104f===_0x140819)break;else _0x4e7094['push'](_0x4e7094['shift']());}catch(_0x46c49e){_0x4e7094['push'](_0x4e7094['shift']());}}}(_0xe0f4,0x8192b));import{ListView as _0xc83f51}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0xc83f51{[_0x185876(0x1b1)](){const _0x2a51a4=_0x185876;let _0x507d51=0x0;for(const _0x5dabaa of this[_0x2a51a4(0x1ba)])_0x507d51+=_0x5dabaa[_0x2a51a4(0x1ba)][_0x2a51a4(0x1af)];return{'resultsCount':_0x507d51,'totalItemsCount':_0x507d51};}}
23
+ const _0x44c4e7=_0x2c01;(function(_0x3d5599,_0x34aeb6){const _0x2ac5f1=_0x2c01,_0x4ceb4b=_0x3d5599();while(!![]){try{const _0x5ef34f=-parseInt(_0x2ac5f1(0x16a))/0x1+parseInt(_0x2ac5f1(0x171))/0x2+parseInt(_0x2ac5f1(0x16b))/0x3+parseInt(_0x2ac5f1(0x168))/0x4*(-parseInt(_0x2ac5f1(0x167))/0x5)+-parseInt(_0x2ac5f1(0x169))/0x6+-parseInt(_0x2ac5f1(0x172))/0x7*(-parseInt(_0x2ac5f1(0x16d))/0x8)+-parseInt(_0x2ac5f1(0x166))/0x9*(-parseInt(_0x2ac5f1(0x16c))/0xa);if(_0x5ef34f===_0x34aeb6)break;else _0x4ceb4b['push'](_0x4ceb4b['shift']());}catch(_0x446df4){_0x4ceb4b['push'](_0x4ceb4b['shift']());}}}(_0x15c6,0xb9560));function _0x15c6(){const _0x449155=['416735AyMdYl','3554886hxQpML','20jDKDOG','286768LxvIPE','items','length','filter','2191988KGlVrI','42tqIHPZ','1804248wJbBvP','39700qFkVhL','204xZsyAi','7896990enYfrO'];_0x15c6=function(){return _0x449155;};return _0x15c6();}function _0x2c01(_0x474673,_0x47a97c){const _0x15c626=_0x15c6();return _0x2c01=function(_0x2c013b,_0x432390){_0x2c013b=_0x2c013b-0x166;let _0x41439a=_0x15c626[_0x2c013b];return _0x41439a;},_0x2c01(_0x474673,_0x47a97c);}import{ListView as _0xf5640d}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0xf5640d{[_0x44c4e7(0x170)](){const _0x5272ca=_0x44c4e7;let _0x33cc90=0x0;for(const _0x43a7d4 of this[_0x5272ca(0x16e)])_0x33cc90+=_0x43a7d4[_0x5272ca(0x16e)][_0x5272ca(0x16f)];return{'resultsCount':_0x33cc90,'totalItemsCount':_0x33cc90};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x73c635=_0x6c85;(function(_0x33eb29,_0x3310e3){const _0x433806=_0x6c85,_0x5b7a8e=_0x33eb29();while(!![]){try{const _0x1e3e13=-parseInt(_0x433806(0x184))/0x1+-parseInt(_0x433806(0x17c))/0x2+parseInt(_0x433806(0x17e))/0x3+parseInt(_0x433806(0x189))/0x4+-parseInt(_0x433806(0x187))/0x5+parseInt(_0x433806(0x17d))/0x6*(parseInt(_0x433806(0x194))/0x7)+parseInt(_0x433806(0x185))/0x8*(parseInt(_0x433806(0x190))/0x9);if(_0x1e3e13===_0x3310e3)break;else _0x5b7a8e['push'](_0x5b7a8e['shift']());}catch(_0x87bc59){_0x5b7a8e['push'](_0x5b7a8e['shift']());}}}(_0x2071,0x8e8e8));import{ListView as _0x541ffe}from'ckeditor5/src/ui.js';function _0x2071(){const _0x1f888f=['trim','add','highlightText','36CZdLLC','extendTemplate','fire','\x5c$&','628089gWtbMq','locale','useDefaultFiltering','setResources','ck-ai-chat-resources__list','filter','clear','forEach','908578tmdHtO','42QhHfxK','2873091XmmBVS','test','resource','label','addResourceToContext','_source','855460Yoterl','879008jcjwOb','execute','1466280IURuqe','replace','646508dXrOes','items','_handleResourceSelection','updateResourceState'];_0x2071=function(){return _0x1f888f;};return _0x2071();}import{AIChatResourceListItemView as _0x19e5cc}from'./aichatresourcelistitemview.js';const uc=_0x73c635(0x178);function _0x6c85(_0x5bb1fb,_0x3076b4){const _0x2071df=_0x2071();return _0x6c85=function(_0x6c8563,_0x4c5697){_0x6c8563=_0x6c8563-0x175;let _0x493cf7=_0x2071df[_0x6c8563];return _0x493cf7;},_0x6c85(_0x5bb1fb,_0x3076b4);}export class AIChatContextResourcesListView extends _0x541ffe{[_0x73c635(0x183)];constructor(_0x1b0068,_0x9cb2e9){const _0x2c5427=_0x73c635;super(_0x1b0068),this[_0x2c5427(0x183)]=_0x9cb2e9,this[_0x2c5427(0x191)]({'attributes':{'class':[uc]}});}[_0x73c635(0x177)](_0x4a7102,_0x58136d){const _0x579170=_0x73c635;this[_0x579170(0x18a)][_0x579170(0x17a)]();let _0x96fb84=_0x4a7102;if(this[_0x579170(0x183)][_0x579170(0x176)]&&_0x58136d&&''!==_0x58136d[_0x579170(0x18d)]()){const _0x5f49f2=new RegExp(_0x58136d[_0x579170(0x188)](/[.*+?^${}()|[\]\\]/g,_0x579170(0x193)),'gi');_0x96fb84=_0x4a7102[_0x579170(0x179)](_0x9d7598=>_0x5f49f2[_0x579170(0x17f)](_0x9d7598[_0x579170(0x181)]));}for(const _0x44d159 of _0x96fb84){const _0xfde32a=new _0x19e5cc(this[_0x579170(0x175)],_0x44d159);_0xfde32a['on'](_0x579170(0x186),()=>{const _0x36b1aa=_0x579170;this[_0x36b1aa(0x18b)](this[_0x36b1aa(0x183)],_0x44d159);}),this[_0x579170(0x18a)][_0x579170(0x18e)](_0xfde32a);}this[_0x579170(0x183)][_0x579170(0x176)]&&this[_0x579170(0x18f)](_0x58136d);}[_0x73c635(0x18f)](_0x4c7710){const _0x229158=_0x73c635;this[_0x229158(0x183)][_0x229158(0x176)]&&this[_0x229158(0x18a)][_0x229158(0x17b)](_0x47788a=>{const _0x203377=_0x229158;_0x47788a[_0x203377(0x18f)](_0x4c7710);});}[_0x73c635(0x18c)](_0xc3e45c,_0x534e9c){const _0x1c5991=_0x73c635;for(const _0x49631b of this[_0x1c5991(0x18a)]){const _0x59dd39=_0x49631b;_0x59dd39[_0x1c5991(0x180)]['id']===_0xc3e45c&&_0x59dd39[_0x1c5991(0x18c)](_0x534e9c);}}[_0x73c635(0x18b)](_0x14a652,_0x2da578){const _0xcf3f7f=_0x73c635;this[_0xcf3f7f(0x192)](_0xcf3f7f(0x182),{'source':_0x14a652,'resource':_0x2da578});}}
23
+ const _0x26c75f=_0x7ac9;function _0x5b4f(){const _0xcf62a7=['execute','4466430KlpSPT','updateResourceState','13747464AHnRwy','11KcJoKV','useDefaultFiltering','setResources','add','\x5c$&','11291KYuSHV','2444538qCzexV','items','5CPmyMJ','replace','_handleResourceSelection','filter','resource','_source','4XvoprH','ck-ai-chat-resources__list','562tDrpQB','highlightText','2168LayNAx','test','1003sQGmuF','addResourceToContext','7877286ZfnKtF','trim','extendTemplate','fire','forEach','locale','clear','label','13087570pTuzlU'];_0x5b4f=function(){return _0xcf62a7;};return _0x5b4f();}(function(_0x54111a,_0x5f58c6){const _0x54c21b=_0x7ac9,_0x5936ba=_0x54111a();while(!![]){try{const _0x445594=parseInt(_0x54c21b(0x14e))/0x1*(parseInt(_0x54c21b(0x14a))/0x2)+-parseInt(_0x54c21b(0x140))/0x3*(-parseInt(_0x54c21b(0x148))/0x4)+parseInt(_0x54c21b(0x142))/0x5*(parseInt(_0x54c21b(0x15a))/0x6)+-parseInt(_0x54c21b(0x13f))/0x7*(parseInt(_0x54c21b(0x14c))/0x8)+-parseInt(_0x54c21b(0x150))/0x9+parseInt(_0x54c21b(0x158))/0xa*(parseInt(_0x54c21b(0x15d))/0xb)+-parseInt(_0x54c21b(0x15c))/0xc;if(_0x445594===_0x5f58c6)break;else _0x5936ba['push'](_0x5936ba['shift']());}catch(_0x427320){_0x5936ba['push'](_0x5936ba['shift']());}}}(_0x5b4f,0xa8e8c));function _0x7ac9(_0x48eea6,_0x470449){const _0x5b4f15=_0x5b4f();return _0x7ac9=function(_0x7ac9c8,_0x5a49c9){_0x7ac9c8=_0x7ac9c8-0x13c;let _0x1ac15a=_0x5b4f15[_0x7ac9c8];return _0x1ac15a;},_0x7ac9(_0x48eea6,_0x470449);}import{ListView as _0x120800}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x1c10d0}from'./aichatresourcelistitemview.js';const uc=_0x26c75f(0x149);export class AIChatContextResourcesListView extends _0x120800{[_0x26c75f(0x147)];constructor(_0x1f9c86,_0x138389){const _0x446154=_0x26c75f;super(_0x1f9c86),this[_0x446154(0x147)]=_0x138389,this[_0x446154(0x152)]({'attributes':{'class':[uc]}});}[_0x26c75f(0x13c)](_0x12a776,_0x59dcd7){const _0x16d677=_0x26c75f;this[_0x16d677(0x141)][_0x16d677(0x156)]();let _0x50383c=_0x12a776;if(this[_0x16d677(0x147)][_0x16d677(0x15e)]&&_0x59dcd7&&''!==_0x59dcd7[_0x16d677(0x151)]()){const _0x32a5d5=new RegExp(_0x59dcd7[_0x16d677(0x143)](/[.*+?^${}()|[\]\\]/g,_0x16d677(0x13e)),'gi');_0x50383c=_0x12a776[_0x16d677(0x145)](_0xdc7dfa=>_0x32a5d5[_0x16d677(0x14d)](_0xdc7dfa[_0x16d677(0x157)]));}for(const _0x536f83 of _0x50383c){const _0x62f8cb=new _0x1c10d0(this[_0x16d677(0x155)],_0x536f83);_0x62f8cb['on'](_0x16d677(0x159),()=>{const _0x5955ec=_0x16d677;this[_0x5955ec(0x144)](this[_0x5955ec(0x147)],_0x536f83);}),this[_0x16d677(0x141)][_0x16d677(0x13d)](_0x62f8cb);}this[_0x16d677(0x147)][_0x16d677(0x15e)]&&this[_0x16d677(0x14b)](_0x59dcd7);}[_0x26c75f(0x14b)](_0x39530f){const _0x107c43=_0x26c75f;this[_0x107c43(0x147)][_0x107c43(0x15e)]&&this[_0x107c43(0x141)][_0x107c43(0x154)](_0x528ebb=>{const _0x5764b0=_0x107c43;_0x528ebb[_0x5764b0(0x14b)](_0x39530f);});}[_0x26c75f(0x15b)](_0x1a9f1c,_0x527de9){const _0x3d698a=_0x26c75f;for(const _0x4b5349 of this[_0x3d698a(0x141)]){const _0x49f097=_0x4b5349;_0x49f097[_0x3d698a(0x146)]['id']===_0x1a9f1c&&_0x49f097[_0x3d698a(0x15b)](_0x527de9);}}[_0x26c75f(0x144)](_0x5f8627,_0x1bf296){const _0x2079ae=_0x26c75f;this[_0x2079ae(0x153)](_0x2079ae(0x14f),{'source':_0x5f8627,'resource':_0x1bf296});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2e1d(){const _0x1b2759=['delegate','_searchInputVisibleFrom','updateResourceState','8eElgMP','1828806XgNlZr','_skeletonLoader','_resourcesListView','children','source','setResources','locale','setTemplate','getQuery','addResourceToContext','highlightText','length','add','div','_createSearchSection','22170906FlDZrZ','aiChatResources','search','isLoading','255138PaiNQQ','ck-ai-chat-resources','loadSourceResources','88045rRJJoE','_createResourcesListView','bindTemplate','2493688xhzZtL','ck-hidden','loadResources','_searchSection','_createSearchView','_latestLoadResourcesUid','extendTemplate','fire','render','ck\x20ck-search','_source','294IQDzrc','_searchView','297864HwUUue','set','searchInputVisibleFrom','useDefaultFiltering','has','_createSkeletonView','140912aanbOT'];_0x2e1d=function(){return _0x1b2759;};return _0x2e1d();}const _0x10bc32=_0x2342;function _0x2342(_0x34ffc6,_0x312c7c){const _0x2e1d29=_0x2e1d();return _0x2342=function(_0x23422e,_0x590795){_0x23422e=_0x23422e-0x1f2;let _0x884fba=_0x2e1d29[_0x23422e];return _0x884fba;},_0x2342(_0x34ffc6,_0x312c7c);}(function(_0x36fb01,_0x1ee85b){const _0x4743c1=_0x2342,_0x404b2a=_0x36fb01();while(!![]){try{const _0x20b580=-parseInt(_0x4743c1(0x201))/0x1+parseInt(_0x4743c1(0x21a))/0x2+-parseInt(_0x4743c1(0x214))/0x3+-parseInt(_0x4743c1(0x207))/0x4+parseInt(_0x4743c1(0x204))/0x5*(-parseInt(_0x4743c1(0x212))/0x6)+-parseInt(_0x4743c1(0x21f))/0x7*(parseInt(_0x4743c1(0x21e))/0x8)+parseInt(_0x4743c1(0x1fd))/0x9;if(_0x20b580===_0x1ee85b)break;else _0x404b2a['push'](_0x404b2a['shift']());}catch(_0x3b9545){_0x404b2a['push'](_0x404b2a['shift']());}}}(_0x2e1d,0x69747));import{View as _0x399cc9,ViewCollection as _0x42ee0d}from'ckeditor5/src/ui.js';import{uid as _0x3dacf8}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x28dc24}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x2d86e3}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x4d6424,SKELETON_DEFINITIONS as _0x3cfdcd}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x399cc9{[_0x10bc32(0x213)];[_0x10bc32(0x20a)];[_0x10bc32(0x21c)];[_0x10bc32(0x221)];[_0x10bc32(0x220)];[_0x10bc32(0x211)];[_0x10bc32(0x222)];[_0x10bc32(0x20c)]=null;constructor(_0x2a2ddf,_0x11d6c3){const _0x38aacb=_0x10bc32;super(_0x2a2ddf),this[_0x38aacb(0x211)]=_0x11d6c3[_0x38aacb(0x1f2)],this[_0x38aacb(0x21c)]=_0x11d6c3[_0x38aacb(0x216)]??0x7,this[_0x38aacb(0x215)](_0x38aacb(0x200),!0x0),this[_0x38aacb(0x213)]=this[_0x38aacb(0x20b)](),this[_0x38aacb(0x20a)]=this[_0x38aacb(0x1fc)](),this[_0x38aacb(0x221)]=this[_0x38aacb(0x205)](),this[_0x38aacb(0x220)]=this[_0x38aacb(0x219)](),this[_0x38aacb(0x222)]=new _0x42ee0d([this[_0x38aacb(0x220)],this[_0x38aacb(0x221)]]),this[_0x38aacb(0x1f5)]({'tag':_0x38aacb(0x1fb),'attributes':{'class':_0x38aacb(0x202)},'children':this[_0x38aacb(0x222)]});}[_0x10bc32(0x20b)](){const _0x27001d=_0x10bc32;return new _0x2d86e3(this[_0x27001d(0x1f4)]);}[_0x10bc32(0x1fc)](){const _0x1b1e7f=_0x10bc32,_0x501835=new _0x399cc9(this[_0x1b1e7f(0x1f4)]);return _0x501835[_0x1b1e7f(0x1f5)]({'tag':_0x1b1e7f(0x1fb),'attributes':{'class':_0x1b1e7f(0x210)},'children':[this[_0x1b1e7f(0x213)]]}),this[_0x1b1e7f(0x213)]['on'](_0x1b1e7f(0x1ff),(_0x1fd743,_0x3ed559)=>{const _0x2f3e14=_0x1b1e7f;this[_0x2f3e14(0x209)](_0x3ed559),this[_0x2f3e14(0x211)][_0x2f3e14(0x217)]&&this[_0x2f3e14(0x221)][_0x2f3e14(0x1f8)](_0x3ed559);}),_0x501835;}[_0x10bc32(0x205)](){const _0x3f362d=_0x10bc32,_0x59cb27=new _0x28dc24(this[_0x3f362d(0x1f4)],this[_0x3f362d(0x211)]);return _0x59cb27[_0x3f362d(0x21b)](_0x3f362d(0x1f7))['to'](this),_0x59cb27[_0x3f362d(0x20d)]({'attributes':{'class':this[_0x3f362d(0x206)]['if'](_0x3f362d(0x200),_0x3f362d(0x208))}}),_0x59cb27;}[_0x10bc32(0x219)](){const _0x372d37=_0x10bc32,_0x16ea38=new _0x4d6424(this[_0x372d37(0x1f4)],_0x3cfdcd[_0x372d37(0x1fe)]);return _0x16ea38[_0x372d37(0x20d)]({'attributes':{'class':[this[_0x372d37(0x206)]['if'](_0x372d37(0x200),_0x372d37(0x208),_0x5a7cf8=>!_0x5a7cf8)]}}),_0x16ea38;}[_0x10bc32(0x20f)](){const _0x3fc05f=_0x10bc32;super[_0x3fc05f(0x20f)](),this[_0x3fc05f(0x209)]('');}[_0x10bc32(0x209)](_0x57f34e){const _0x4091db=_0x10bc32,_0x3edc57=_0x3dacf8();this[_0x4091db(0x20c)]=_0x3edc57,this[_0x4091db(0x20e)](_0x4091db(0x203),{'sourceId':this[_0x4091db(0x211)]['id'],'query':_0x57f34e,'uid':_0x3edc57}),this[_0x4091db(0x200)]=!0x0;}[_0x10bc32(0x1f3)](_0x2f7aba,_0x284f9b){const _0x3672d7=_0x10bc32;if(_0x284f9b&&_0x284f9b!==this[_0x3672d7(0x20c)])return;const _0x104fb9=this[_0x3672d7(0x211)][_0x3672d7(0x217)]?this[_0x3672d7(0x213)][_0x3672d7(0x1f6)]():'';this[_0x3672d7(0x221)][_0x3672d7(0x1f3)](_0x2f7aba,_0x104fb9),_0x2f7aba[_0x3672d7(0x1f9)]>=this[_0x3672d7(0x21c)]&&!this[_0x3672d7(0x222)][_0x3672d7(0x218)](this[_0x3672d7(0x20a)])&&this[_0x3672d7(0x222)][_0x3672d7(0x1fa)](this[_0x3672d7(0x20a)],0x0),requestAnimationFrame(()=>{const _0x41cdff=_0x3672d7;this[_0x41cdff(0x200)]=!0x1;});}[_0x10bc32(0x21d)](_0x3061cf,_0x379a54){const _0x5aeae5=_0x10bc32;this[_0x5aeae5(0x221)][_0x5aeae5(0x21d)](_0x3061cf,_0x379a54);}}
23
+ function _0x2895(){const _0x2fbb0c=['addResourceToContext','3132248uLhumY','ck-ai-chat-resources','fire','highlightText','_searchSection','searchInputVisibleFrom','search','children','_resourcesListView','has','40fpbfPm','add','ck\x20ck-search','source','ck-hidden','292SeWgKk','22HyVAUB','delegate','12aqgnsn','_searchView','useDefaultFiltering','setResources','aiChatResources','_source','render','_createResourcesListView','loadResources','25407aihBfz','18011772mNtGrJ','170599qRlILg','length','_skeletonLoader','div','loadSourceResources','bindTemplate','isLoading','setTemplate','_searchInputVisibleFrom','_latestLoadResourcesUid','getQuery','15837aWqFNB','4332865TZGtMM','updateResourceState','set','extendTemplate','2424GTTBiV','locale','_createSkeletonView','94912wfgsdc','_createSearchSection','_createSearchView'];_0x2895=function(){return _0x2fbb0c;};return _0x2895();}const _0x269e6e=_0xac12;(function(_0x1e3722,_0x91b0a6){const _0x5e69f7=_0xac12,_0x2ab4ef=_0x1e3722();while(!![]){try{const _0x20d198=-parseInt(_0x5e69f7(0xb1))/0x1*(-parseInt(_0x5e69f7(0x9d))/0x2)+-parseInt(_0x5e69f7(0x95))/0x3*(-parseInt(_0x5e69f7(0xb0))/0x4)+-parseInt(_0x5e69f7(0x96))/0x5+parseInt(_0x5e69f7(0xb3))/0x6*(parseInt(_0x5e69f7(0xa1))/0x7)+parseInt(_0x5e69f7(0x9a))/0x8*(parseInt(_0x5e69f7(0x88))/0x9)+-parseInt(_0x5e69f7(0xab))/0xa*(parseInt(_0x5e69f7(0x8a))/0xb)+-parseInt(_0x5e69f7(0x89))/0xc;if(_0x20d198===_0x91b0a6)break;else _0x2ab4ef['push'](_0x2ab4ef['shift']());}catch(_0x3624f2){_0x2ab4ef['push'](_0x2ab4ef['shift']());}}}(_0x2895,0xb721a));import{View as _0x44ce4e,ViewCollection as _0x1e6704}from'ckeditor5/src/ui.js';import{uid as _0x5a2f90}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x42a632}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x5065fa}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x9955fd,SKELETON_DEFINITIONS as _0x57480c}from'../../../../aicore/ui/aiskeleton.js';function _0xac12(_0x5a213b,_0x4b9520){const _0x28958e=_0x2895();return _0xac12=function(_0xac1244,_0x2fe202){_0xac1244=_0xac1244-0x85;let _0x138670=_0x28958e[_0xac1244];return _0x138670;},_0xac12(_0x5a213b,_0x4b9520);}export class AIChatContextResourcesView extends _0x44ce4e{[_0x269e6e(0xb4)];[_0x269e6e(0xa5)];[_0x269e6e(0x92)];[_0x269e6e(0xa9)];[_0x269e6e(0x8c)];[_0x269e6e(0xb8)];[_0x269e6e(0xa8)];[_0x269e6e(0x93)]=null;constructor(_0xf6dfaf,_0x5286a2){const _0x1557b7=_0x269e6e;super(_0xf6dfaf),this[_0x1557b7(0xb8)]=_0x5286a2[_0x1557b7(0xae)],this[_0x1557b7(0x92)]=_0x5286a2[_0x1557b7(0xa6)]??0x7,this[_0x1557b7(0x98)](_0x1557b7(0x90),!0x0),this[_0x1557b7(0xb4)]=this[_0x1557b7(0x9f)](),this[_0x1557b7(0xa5)]=this[_0x1557b7(0x9e)](),this[_0x1557b7(0xa9)]=this[_0x1557b7(0x86)](),this[_0x1557b7(0x8c)]=this[_0x1557b7(0x9c)](),this[_0x1557b7(0xa8)]=new _0x1e6704([this[_0x1557b7(0x8c)],this[_0x1557b7(0xa9)]]),this[_0x1557b7(0x91)]({'tag':_0x1557b7(0x8d),'attributes':{'class':_0x1557b7(0xa2)},'children':this[_0x1557b7(0xa8)]});}[_0x269e6e(0x9f)](){const _0x127142=_0x269e6e;return new _0x5065fa(this[_0x127142(0x9b)]);}[_0x269e6e(0x9e)](){const _0x227933=_0x269e6e,_0x1d72f6=new _0x44ce4e(this[_0x227933(0x9b)]);return _0x1d72f6[_0x227933(0x91)]({'tag':_0x227933(0x8d),'attributes':{'class':_0x227933(0xad)},'children':[this[_0x227933(0xb4)]]}),this[_0x227933(0xb4)]['on'](_0x227933(0xa7),(_0x229770,_0xb30ae6)=>{const _0xc4df9c=_0x227933;this[_0xc4df9c(0x87)](_0xb30ae6),this[_0xc4df9c(0xb8)][_0xc4df9c(0xb5)]&&this[_0xc4df9c(0xa9)][_0xc4df9c(0xa4)](_0xb30ae6);}),_0x1d72f6;}[_0x269e6e(0x86)](){const _0x119555=_0x269e6e,_0x3e1d15=new _0x42a632(this[_0x119555(0x9b)],this[_0x119555(0xb8)]);return _0x3e1d15[_0x119555(0xb2)](_0x119555(0xa0))['to'](this),_0x3e1d15[_0x119555(0x99)]({'attributes':{'class':this[_0x119555(0x8f)]['if'](_0x119555(0x90),_0x119555(0xaf))}}),_0x3e1d15;}[_0x269e6e(0x9c)](){const _0xb4990c=_0x269e6e,_0x1a8c76=new _0x9955fd(this[_0xb4990c(0x9b)],_0x57480c[_0xb4990c(0xb7)]);return _0x1a8c76[_0xb4990c(0x99)]({'attributes':{'class':[this[_0xb4990c(0x8f)]['if'](_0xb4990c(0x90),_0xb4990c(0xaf),_0x4c344f=>!_0x4c344f)]}}),_0x1a8c76;}[_0x269e6e(0x85)](){const _0x43a728=_0x269e6e;super[_0x43a728(0x85)](),this[_0x43a728(0x87)]('');}[_0x269e6e(0x87)](_0x386a64){const _0x5231ad=_0x269e6e,_0x24fdae=_0x5a2f90();this[_0x5231ad(0x93)]=_0x24fdae,this[_0x5231ad(0xa3)](_0x5231ad(0x8e),{'sourceId':this[_0x5231ad(0xb8)]['id'],'query':_0x386a64,'uid':_0x24fdae}),this[_0x5231ad(0x90)]=!0x0;}[_0x269e6e(0xb6)](_0x21daec,_0xabb168){const _0x412b4d=_0x269e6e;if(_0xabb168&&_0xabb168!==this[_0x412b4d(0x93)])return;const _0x844ec7=this[_0x412b4d(0xb8)][_0x412b4d(0xb5)]?this[_0x412b4d(0xb4)][_0x412b4d(0x94)]():'';this[_0x412b4d(0xa9)][_0x412b4d(0xb6)](_0x21daec,_0x844ec7),_0x21daec[_0x412b4d(0x8b)]>=this[_0x412b4d(0x92)]&&!this[_0x412b4d(0xa8)][_0x412b4d(0xaa)](this[_0x412b4d(0xa5)])&&this[_0x412b4d(0xa8)][_0x412b4d(0xac)](this[_0x412b4d(0xa5)],0x0),requestAnimationFrame(()=>{const _0xc726b4=_0x412b4d;this[_0xc726b4(0x90)]=!0x1;});}[_0x269e6e(0x97)](_0x34b301,_0x57d061){const _0x191d71=_0x269e6e;this[_0x191d71(0xa9)][_0x191d71(0x97)](_0x34b301,_0x57d061);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3af986=_0x571e;(function(_0x5b88b4,_0x21cbe2){const _0x3230dc=_0x571e,_0x4bd782=_0x5b88b4();while(!![]){try{const _0x27b020=-parseInt(_0x3230dc(0xb3))/0x1+-parseInt(_0x3230dc(0xc6))/0x2*(parseInt(_0x3230dc(0xc3))/0x3)+-parseInt(_0x3230dc(0xce))/0x4*(parseInt(_0x3230dc(0xb2))/0x5)+-parseInt(_0x3230dc(0xbb))/0x6*(parseInt(_0x3230dc(0xbd))/0x7)+-parseInt(_0x3230dc(0xc5))/0x8*(parseInt(_0x3230dc(0xb9))/0x9)+parseInt(_0x3230dc(0xd6))/0xa*(parseInt(_0x3230dc(0xca))/0xb)+parseInt(_0x3230dc(0xd9))/0xc;if(_0x27b020===_0x21cbe2)break;else _0x4bd782['push'](_0x4bd782['shift']());}catch(_0x8ce5cb){_0x4bd782['push'](_0x4bd782['shift']());}}}(_0x3455,0x616b5));import{HighlightedTextView as _0xad0afe,IconView as _0x3faced,ListItemView as _0x338006}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x1d9928}from'es-toolkit/compat';function _0x571e(_0x595dc3,_0x649e46){const _0x3455ca=_0x3455();return _0x571e=function(_0x571efc,_0x4975e5){_0x571efc=_0x571efc-0xb2;let _0x34a0b0=_0x3455ca[_0x571efc];return _0x34a0b0;},_0x571e(_0x595dc3,_0x649e46);}function _0x3455(){const _0x1b85b1=['_createIconView','1070rDTAkw','span','_setupTemplate','32715132oeDleS','set','_createTitleView','ck-ai-chat-resources__item','ck-ai-chat-resources__item__icon','render','ck-ai-chat-resources__item-title','180FaydJR','87837afFpMa','isInContext','text','resource','FILE','_iconView','522036szfKqB','isVisible','18sOGakF','ck-ai-chat-resources__item--in-context','1295539NzBuSQ','ck-hidden','getResourceIcon','DOCUMENT','TEXT','_updateIcon','1877433dJneKx','extendTemplate','80wXafXI','2xEpbUY','bindTemplate','div','updateResourceState','28699MGrzAf','trim','highlightText','URL','84164GfOZhU','execute','setTemplate','type','label','_titleView','content'];_0x3455=function(){return _0x1b85b1;};return _0x3455();}import{AIContextItemType as _0x4c3a7b}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x3d9ee4,IconCheck as _0x440e75,IconDocument as _0x3db0d1,IconDocumentOutline as _0x5d7c6b,IconLink as _0x568005}from'@ckeditor/ckeditor5-icons';const zr=_0x3af986(0xdc),Jr=_0x3af986(0xbc),Kr=_0x3af986(0xdf),Mr=_0x3af986(0xdd);export class AIChatResourceListItemView extends _0x338006{[_0x3af986(0xb6)];[_0x3af986(0xd3)];[_0x3af986(0xb8)];constructor(_0x5571fc,_0x28f374){const _0x15e4df=_0x3af986;super(_0x5571fc),this[_0x15e4df(0xb6)]=_0x28f374,this[_0x15e4df(0xda)](_0x15e4df(0xb4),!!_0x28f374[_0x15e4df(0xb4)]),this[_0x15e4df(0xd3)]=this[_0x15e4df(0xdb)](),this[_0x15e4df(0xb8)]=this[_0x15e4df(0xd5)](),this[_0x15e4df(0xd8)]();}[_0x3af986(0xde)](){const _0x42660a=_0x3af986;super[_0x42660a(0xde)]();}[_0x3af986(0xbf)](_0x2909dd){const _0x267073=_0x3af986;if(_0x2909dd[_0x267073(0xb4)])return _0x440e75;switch(_0x2909dd[_0x267073(0xd1)]){case _0x4c3a7b[_0x267073(0xc0)]:return _0x3db0d1;case _0x4c3a7b[_0x267073(0xcd)]:return _0x568005;case _0x4c3a7b[_0x267073(0xb7)]:case _0x4c3a7b[_0x267073(0xc1)]:return _0x3d9ee4;default:return _0x5d7c6b;}}[_0x3af986(0xcc)](_0x37e6d0){const _0x14edd9=_0x3af986;if(!_0x37e6d0||''===_0x37e6d0[_0x14edd9(0xcb)]())return void this[_0x14edd9(0xd3)][_0x14edd9(0xcc)](null);const _0x50eda0=new RegExp(_0x1d9928(_0x37e6d0),'gi');this[_0x14edd9(0xd3)][_0x14edd9(0xcc)](_0x50eda0);}[_0x3af986(0xc9)](_0x1e8aa2){const _0x20126f=_0x3af986;this[_0x20126f(0xb6)][_0x20126f(0xb4)]=_0x1e8aa2,this[_0x20126f(0xb4)]=_0x1e8aa2,this[_0x20126f(0xc2)]();}[_0x3af986(0xdb)](){const _0x3b4f90=_0x3af986,_0xefc5f9=new _0xad0afe();return _0xefc5f9[_0x3b4f90(0xb5)]=this[_0x3b4f90(0xb6)][_0x3b4f90(0xd2)],_0xefc5f9[_0x3b4f90(0xc4)]({'tag':_0x3b4f90(0xd7),'attributes':{'class':[Kr]}}),_0xefc5f9;}[_0x3af986(0xd5)](){const _0x1df720=_0x3af986,_0x5ecd40=new _0x3faced();return _0x5ecd40[_0x1df720(0xd4)]=this[_0x1df720(0xbf)](this[_0x1df720(0xb6)]),_0x5ecd40;}[_0x3af986(0xd8)](){const _0x594709=_0x3af986,_0x42882a=this[_0x594709(0xc7)];this[_0x594709(0xd0)]({'tag':_0x594709(0xc8),'attributes':{'class':[zr,_0x42882a['if'](_0x594709(0xba),_0x594709(0xbe),_0x138385=>!_0x138385),_0x42882a['if'](_0x594709(0xb4),Jr)]},'children':[{'tag':_0x594709(0xc8),'attributes':{'class':[Mr]},'children':[this[_0x594709(0xb8)]]},this[_0x594709(0xd3)]],'on':{'click':_0x42882a['to'](_0x594709(0xcf))}});}[_0x3af986(0xc2)](){const _0x24b0d9=_0x3af986;this[_0x24b0d9(0xb8)][_0x24b0d9(0xd4)]=this[_0x24b0d9(0xbf)](this[_0x24b0d9(0xb6)]);}}
23
+ const _0x43c8aa=_0x18fa;function _0x145e(){const _0x4fdb0c=['2641616dLCzWx','8196EUHhFr','ck-ai-chat-resources__item-title','set','execute','isInContext','_setupTemplate','label','URL','_iconView','type','1056588AltOnS','DOCUMENT','ck-ai-chat-resources__item','text','setTemplate','_titleView','277950kdzqIC','126WZeqLd','updateResourceState','_createIconView','trim','content','ck-ai-chat-resources__item--in-context','FILE','55594PwVXEu','resource','_createTitleView','span','div','getResourceIcon','138FPfWmm','298803JlrggT','bindTemplate','highlightText','isVisible','extendTemplate','TEXT','render','9OoXEhQ','1986030mFaygh','_updateIcon','ck-hidden','ck-ai-chat-resources__item__icon'];_0x145e=function(){return _0x4fdb0c;};return _0x145e();}(function(_0x28eccc,_0x9b3e72){const _0x1dc2cb=_0x18fa,_0x3c81f1=_0x28eccc();while(!![]){try{const _0x14545f=-parseInt(_0x1dc2cb(0x143))/0x1+parseInt(_0x1dc2cb(0x142))/0x2*(-parseInt(_0x1dc2cb(0x124))/0x3)+parseInt(_0x1dc2cb(0x12e))/0x4+parseInt(_0x1dc2cb(0x134))/0x5+-parseInt(_0x1dc2cb(0x135))/0x6*(parseInt(_0x1dc2cb(0x13c))/0x7)+parseInt(_0x1dc2cb(0x123))/0x8+parseInt(_0x1dc2cb(0x14a))/0x9*(parseInt(_0x1dc2cb(0x14b))/0xa);if(_0x14545f===_0x9b3e72)break;else _0x3c81f1['push'](_0x3c81f1['shift']());}catch(_0x2f04a8){_0x3c81f1['push'](_0x3c81f1['shift']());}}}(_0x145e,0x2f791));function _0x18fa(_0x3a9ff9,_0x50b535){const _0x145e61=_0x145e();return _0x18fa=function(_0x18faf6,_0x30f41a){_0x18faf6=_0x18faf6-0x120;let _0x5e5819=_0x145e61[_0x18faf6];return _0x5e5819;},_0x18fa(_0x3a9ff9,_0x50b535);}import{HighlightedTextView as _0x69f242,IconView as _0x28d040,ListItemView as _0x1ac6f3}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x579a47}from'es-toolkit/compat';import{AIContextItemType as _0x2cb5b4}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x57e199,IconCheck as _0xa5e2b4,IconDocument as _0x4efb61,IconDocumentOutline as _0x374918,IconLink as _0x5ba42a}from'@ckeditor/ckeditor5-icons';const zr=_0x43c8aa(0x130),Jr=_0x43c8aa(0x13a),Kr=_0x43c8aa(0x125),Mr=_0x43c8aa(0x122);export class AIChatResourceListItemView extends _0x1ac6f3{[_0x43c8aa(0x13d)];[_0x43c8aa(0x133)];[_0x43c8aa(0x12c)];constructor(_0x46b9cf,_0x445bff){const _0x248a81=_0x43c8aa;super(_0x46b9cf),this[_0x248a81(0x13d)]=_0x445bff,this[_0x248a81(0x126)](_0x248a81(0x128),!!_0x445bff[_0x248a81(0x128)]),this[_0x248a81(0x133)]=this[_0x248a81(0x13e)](),this[_0x248a81(0x12c)]=this[_0x248a81(0x137)](),this[_0x248a81(0x129)]();}[_0x43c8aa(0x149)](){const _0x2bd6d6=_0x43c8aa;super[_0x2bd6d6(0x149)]();}[_0x43c8aa(0x141)](_0x445819){const _0x49e84a=_0x43c8aa;if(_0x445819[_0x49e84a(0x128)])return _0xa5e2b4;switch(_0x445819[_0x49e84a(0x12d)]){case _0x2cb5b4[_0x49e84a(0x12f)]:return _0x4efb61;case _0x2cb5b4[_0x49e84a(0x12b)]:return _0x5ba42a;case _0x2cb5b4[_0x49e84a(0x13b)]:case _0x2cb5b4[_0x49e84a(0x148)]:return _0x57e199;default:return _0x374918;}}[_0x43c8aa(0x145)](_0x5c28b0){const _0x33b6d1=_0x43c8aa;if(!_0x5c28b0||''===_0x5c28b0[_0x33b6d1(0x138)]())return void this[_0x33b6d1(0x133)][_0x33b6d1(0x145)](null);const _0x4fe936=new RegExp(_0x579a47(_0x5c28b0),'gi');this[_0x33b6d1(0x133)][_0x33b6d1(0x145)](_0x4fe936);}[_0x43c8aa(0x136)](_0x1c5faf){const _0x4de4c6=_0x43c8aa;this[_0x4de4c6(0x13d)][_0x4de4c6(0x128)]=_0x1c5faf,this[_0x4de4c6(0x128)]=_0x1c5faf,this[_0x4de4c6(0x120)]();}[_0x43c8aa(0x13e)](){const _0x1e3cd6=_0x43c8aa,_0x5151d6=new _0x69f242();return _0x5151d6[_0x1e3cd6(0x131)]=this[_0x1e3cd6(0x13d)][_0x1e3cd6(0x12a)],_0x5151d6[_0x1e3cd6(0x147)]({'tag':_0x1e3cd6(0x13f),'attributes':{'class':[Kr]}}),_0x5151d6;}[_0x43c8aa(0x137)](){const _0x56fc7d=_0x43c8aa,_0xb6cf4e=new _0x28d040();return _0xb6cf4e[_0x56fc7d(0x139)]=this[_0x56fc7d(0x141)](this[_0x56fc7d(0x13d)]),_0xb6cf4e;}[_0x43c8aa(0x129)](){const _0x36a9e1=_0x43c8aa,_0x103550=this[_0x36a9e1(0x144)];this[_0x36a9e1(0x132)]({'tag':_0x36a9e1(0x140),'attributes':{'class':[zr,_0x103550['if'](_0x36a9e1(0x146),_0x36a9e1(0x121),_0x3b163f=>!_0x3b163f),_0x103550['if'](_0x36a9e1(0x128),Jr)]},'children':[{'tag':_0x36a9e1(0x140),'attributes':{'class':[Mr]},'children':[this[_0x36a9e1(0x12c)]]},this[_0x36a9e1(0x133)]],'on':{'click':_0x103550['to'](_0x36a9e1(0x127))}});}[_0x43c8aa(0x120)](){const _0x46c9ac=_0x43c8aa;this[_0x46c9ac(0x12c)][_0x46c9ac(0x139)]=this[_0x46c9ac(0x141)](this[_0x46c9ac(0x13d)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x457897=_0x156f;(function(_0x5b6173,_0x45796d){const _0x4397c0=_0x156f,_0x15077c=_0x5b6173();while(!![]){try{const _0x5ce28a=-parseInt(_0x4397c0(0x1b9))/0x1*(-parseInt(_0x4397c0(0x1c9))/0x2)+parseInt(_0x4397c0(0x1b1))/0x3*(-parseInt(_0x4397c0(0x1cb))/0x4)+parseInt(_0x4397c0(0x1c5))/0x5*(parseInt(_0x4397c0(0x19e))/0x6)+-parseInt(_0x4397c0(0x1ca))/0x7*(-parseInt(_0x4397c0(0x1c8))/0x8)+parseInt(_0x4397c0(0x1b6))/0x9+-parseInt(_0x4397c0(0x1b5))/0xa*(-parseInt(_0x4397c0(0x1c0))/0xb)+-parseInt(_0x4397c0(0x1b4))/0xc;if(_0x5ce28a===_0x45796d)break;else _0x15077c['push'](_0x15077c['shift']());}catch(_0x2b5b0a){_0x15077c['push'](_0x15077c['shift']());}}}(_0x5d31,0x75af6));import{BalloonPanelView as _0x5a9abc,ButtonView as _0x20416e,clickOutsideHandler as _0x5c7d90,FormHeaderView as _0x13baf2}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x4f7013}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5a6a3c}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x564979}from'./aichatcontextresourcesview.js';function _0x5d31(){const _0x1c8cb9=['14843592pNTcml','1125280lfNXgP','832338sChuwl','closeSourceResourceBalloon','_bodyCollection','3KLaDzy','_createBalloonResourcesView','source','onBackToContext','ck-button-icon\x20ck-button-back','_createSourceResourceBalloonPanel','clear','44cCNZVw','hide','_locale','extendTemplate','content','445FIdJOq','execute','values','2418720MBTANk','403768aAIiRw','14hQBBLe','4nzaJTf','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','onBalloonClosed','label','_config','delete','searchInputVisibleFrom','showSourceResourcesBalloon','_sourceResourceBalloons','getTargetElement','updateResourceState','element','_addSourceResourceContent','show','addResourceToContext','once','children','change:isLoading','12174RmEkWv','getLimiterElement','_createBackButton','_getResourcesViewFromBalloon','_setupSingleResourceBalloonClickOutsideHandler','add','resource','set','setResources','destroy','loadSourceResources','isAnyResourceBalloonVisible','onResourceSelected','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','_createBalloonHeader','get','populateSourceResourceBalloon','ck-ai-chat-context-controls__source-balloon-panel','pin','643509MzeKlF','isVisible','onLoadSourceResources'];_0x5d31=function(){return _0x1c8cb9;};return _0x5d31();}const Bc=_0x457897(0x1af),mc=_0x457897(0x1bd),dc=_0x457897(0x1cc);function _0x156f(_0x2342f9,_0x2c014e){const _0x5d3160=_0x5d31();return _0x156f=function(_0x156f5e,_0x58d4ce){_0x156f5e=_0x156f5e-0x19c;let _0xaf5cd2=_0x5d3160[_0x156f5e];return _0xaf5cd2;},_0x156f(_0x2342f9,_0x2c014e);}export class AIChatResourcesBalloonView{[_0x457897(0x1d3)]=new Map();[_0x457897(0x1b8)];[_0x457897(0x1c2)];[_0x457897(0x1cf)];constructor(_0x37667d,_0x35aa32,_0x24c3bf){const _0x20df5a=_0x457897;this[_0x20df5a(0x1c2)]=_0x37667d,this[_0x20df5a(0x1b8)]=_0x35aa32,this[_0x20df5a(0x1cf)]=_0x24c3bf;}[_0x457897(0x1d2)]({source:_0x5e51de,withBackButton:_0x5d6b1e}){const _0x25d78b=_0x457897;let _0x1eeba7=this[_0x25d78b(0x1d3)][_0x25d78b(0x1ad)](_0x5e51de['id']);_0x1eeba7||(_0x1eeba7=this[_0x25d78b(0x1be)](),this[_0x25d78b(0x1d3)][_0x25d78b(0x1a5)](_0x5e51de['id'],_0x1eeba7),this[_0x25d78b(0x1a2)](_0x1eeba7)),this[_0x25d78b(0x1d7)]({'balloonPanel':_0x1eeba7,'source':_0x5e51de,'withBackButton':_0x5d6b1e}),_0x1eeba7[_0x25d78b(0x1d8)]();const _0x530d7f=this[_0x25d78b(0x1cf)][_0x25d78b(0x1d4)]();_0x530d7f&&_0x1eeba7[_0x25d78b(0x1b0)]({'target':_0x530d7f,'limiter':this[_0x25d78b(0x1cf)][_0x25d78b(0x19f)]()});}[_0x457897(0x1ae)](_0x4c91af,_0x17ec8b,_0x383160){const _0x25a570=_0x457897,_0x24d05c=this[_0x25a570(0x1d3)][_0x25a570(0x1ad)](_0x4c91af);if(!_0x24d05c)return;const _0x93b6e9=this[_0x25a570(0x1a1)](_0x24d05c);_0x93b6e9&&(_0x93b6e9[_0x25a570(0x1a6)](_0x17ec8b,_0x383160),_0x93b6e9[_0x25a570(0x1da)](_0x25a570(0x19d),()=>{const _0x7d5c83=_0x25a570;_0x24d05c[_0x7d5c83(0x1b0)]({'target':this[_0x7d5c83(0x1cf)][_0x7d5c83(0x1d4)](),'limiter':this[_0x7d5c83(0x1cf)][_0x7d5c83(0x19f)]()});}));}[_0x457897(0x1b7)](_0x4d67f8){const _0x4d016c=_0x457897,_0x436c97=this[_0x4d016c(0x1d3)][_0x4d016c(0x1ad)](_0x4d67f8);_0x436c97&&requestAnimationFrame(()=>{const _0x3043ee=_0x4d016c;_0x436c97[_0x3043ee(0x1c1)](),this[_0x3043ee(0x1d3)][_0x3043ee(0x1d0)](_0x4d67f8),this[_0x3043ee(0x1cf)][_0x3043ee(0x1cd)]();});}[_0x457897(0x1a9)](){const _0xfef9f9=_0x457897;for(const _0x18d5c4 of this[_0xfef9f9(0x1d3)][_0xfef9f9(0x1c7)]())if(_0x18d5c4[_0xfef9f9(0x1b2)])return!0x0;return!0x1;}[_0x457897(0x1d5)](_0xbdb463,_0x2f181a,_0x2e418c){const _0x2ea14c=_0x457897,_0x229c12=this[_0x2ea14c(0x1d3)][_0x2ea14c(0x1ad)](_0xbdb463);if(!_0x229c12||!_0x229c12[_0x2ea14c(0x1b2)])return;const _0x53b2e6=this[_0x2ea14c(0x1cf)][_0x2ea14c(0x1d4)]();if(!_0x53b2e6)return;_0x229c12[_0x2ea14c(0x1b0)]({'target':_0x53b2e6,'limiter':this[_0x2ea14c(0x1cf)][_0x2ea14c(0x19f)]()});const _0x99cd54=this[_0x2ea14c(0x1a1)](_0x229c12);_0x99cd54&&_0x99cd54[_0x2ea14c(0x1d5)](_0x2f181a,_0x2e418c);}[_0x457897(0x1a7)](){const _0x205799=_0x457897;for(const _0x492e77 of this[_0x205799(0x1d3)][_0x205799(0x1c7)]())_0x492e77[_0x205799(0x1a7)]();this[_0x205799(0x1d3)][_0x205799(0x1bf)]();}[_0x457897(0x1be)](){const _0x20d429=_0x457897,_0x4b2cf0=new _0x5a9abc(this[_0x20d429(0x1c2)]);return _0x4b2cf0[_0x20d429(0x1c3)]({'attributes':{'class':Bc}}),this[_0x20d429(0x1b8)][_0x20d429(0x1a3)](_0x4b2cf0),_0x4b2cf0;}[_0x457897(0x1d7)]({balloonPanel:_0x358d22,source:_0x370c10,withBackButton:_0x3a6301}){const _0x41650c=_0x457897;_0x358d22[_0x41650c(0x1c4)][_0x41650c(0x1bf)]();const _0x22e8cb=this[_0x41650c(0x1ac)]({'balloonPanel':_0x358d22,'source':_0x370c10,'withBackButton':_0x3a6301});_0x358d22[_0x41650c(0x1c4)][_0x41650c(0x1a3)](_0x22e8cb);const _0x3eb94b=this[_0x41650c(0x1ba)](_0x370c10);_0x358d22[_0x41650c(0x1c4)][_0x41650c(0x1a3)](_0x3eb94b);}[_0x457897(0x1ac)]({balloonPanel:_0x4437d0,source:_0x31f294,withBackButton:_0x3b8c64}){const _0x5aa606=_0x457897,_0x419523=new _0x13baf2(this[_0x5aa606(0x1c2)],{'label':_0x31f294[_0x5aa606(0x1ce)],'class':dc});return _0x3b8c64&&_0x419523[_0x5aa606(0x19c)][_0x5aa606(0x1a3)](this[_0x5aa606(0x1a0)](_0x4437d0),0x0),_0x419523;}[_0x457897(0x1a0)](_0xf9a390){const _0x216dec=_0x457897,_0x5564f3=new _0x20416e(this[_0x216dec(0x1c2)]);return _0x5564f3[_0x216dec(0x1a5)]({'icon':_0x4f7013,'tooltip':_0x5a6a3c(this[_0x216dec(0x1c2)],_0x216dec(0x1ab)),'tooltipPosition':'n','class':mc}),_0x5564f3['on'](_0x216dec(0x1c6),()=>{const _0x49edef=_0x216dec;_0xf9a390[_0x49edef(0x1c1)](),this[_0x49edef(0x1cf)][_0x49edef(0x1bc)]();}),_0x5564f3;}[_0x457897(0x1ba)](_0x3e8926){const _0x1f199a=_0x457897,_0x3de009=new _0x564979(this[_0x1f199a(0x1c2)],{'source':_0x3e8926,'searchInputVisibleFrom':this[_0x1f199a(0x1cf)][_0x1f199a(0x1d1)]});return _0x3de009['on'](_0x1f199a(0x1a8),(_0x5e3798,_0x4d0770)=>{const _0x3a6977=_0x1f199a;this[_0x3a6977(0x1cf)][_0x3a6977(0x1b3)](_0x4d0770);}),_0x3de009['on'](_0x1f199a(0x1d9),(_0x3d1a0a,_0x9f4272)=>{const _0x4d8488=_0x1f199a;this[_0x4d8488(0x1cf)][_0x4d8488(0x1aa)](_0x9f4272[_0x4d8488(0x1bb)],_0x9f4272[_0x4d8488(0x1a4)]),this[_0x4d8488(0x1b7)](_0x3e8926['id']);}),_0x3de009;}[_0x457897(0x1a1)](_0x62a57a){const _0x378c72=_0x457897,_0x5e832c=_0x62a57a[_0x378c72(0x1c4)][_0x378c72(0x1ad)](0x1);return _0x5e832c instanceof _0x564979?_0x5e832c:null;}[_0x457897(0x1a2)](_0x5eb8af){const _0x1a5e5c=_0x457897;_0x5c7d90({'emitter':_0x5eb8af,'contextElements':[_0x5eb8af[_0x1a5e5c(0x1d6)]],'callback':()=>{const _0x4eaac5=_0x1a5e5c;_0x5eb8af[_0x4eaac5(0x1c1)](),this[_0x4eaac5(0x1cf)][_0x4eaac5(0x1cd)]();},'activator':()=>_0x5eb8af[_0x1a5e5c(0x1b2)]});}}
23
+ const _0x47c63f=_0x3bd7;(function(_0x4689f9,_0x2145c0){const _0x446cce=_0x3bd7,_0x307827=_0x4689f9();while(!![]){try{const _0x50cd72=-parseInt(_0x446cce(0x211))/0x1*(parseInt(_0x446cce(0x201))/0x2)+parseInt(_0x446cce(0x21e))/0x3+-parseInt(_0x446cce(0x1fc))/0x4*(-parseInt(_0x446cce(0x213))/0x5)+parseInt(_0x446cce(0x1f5))/0x6*(parseInt(_0x446cce(0x21c))/0x7)+parseInt(_0x446cce(0x20e))/0x8+-parseInt(_0x446cce(0x1f7))/0x9+-parseInt(_0x446cce(0x20d))/0xa*(parseInt(_0x446cce(0x229))/0xb);if(_0x50cd72===_0x2145c0)break;else _0x307827['push'](_0x307827['shift']());}catch(_0x56caf8){_0x307827['push'](_0x307827['shift']());}}}(_0xcbc2,0x26be7));import{BalloonPanelView as _0x3ed24e,ButtonView as _0x3f49b9,clickOutsideHandler as _0x3f66b2,FormHeaderView as _0x3b926c}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x5e6fb0}from'@ckeditor/ckeditor5-icons';function _0xcbc2(){const _0x43c4b2=['_bodyCollection','getLimiterElement','_sourceResourceBalloons','show','getTargetElement','_addSourceResourceContent','once','destroy','get','6ontUfg','_createBalloonHeader','762714nvFbfe','updateResourceState','label','loadSourceResources','onBackToContext','4932PeGjxG','isAnyResourceBalloonVisible','onLoadSourceResources','populateSourceResourceBalloon','onResourceSelected','4532bWPWNv','_createSourceResourceBalloonPanel','addResourceToContext','children','extendTemplate','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','element','_locale','hide','source','resource','_config','10PvxwJp','1901896SNudQC','delete','set','121BntUDh','pin','335kSSVkZ','onBalloonClosed','_createBalloonResourcesView','clear','searchInputVisibleFrom','add','ck-button-icon\x20ck-button-back','setResources','execute','2178239lvqFVw','content','145941ANtkUX','_createBackButton','values','closeSourceResourceBalloon','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-ai-chat-context-controls__source-balloon-panel','change:isLoading','_setupSingleResourceBalloonClickOutsideHandler','isVisible','_getResourcesViewFromBalloon','showSourceResourcesBalloon','1787995UxQjox'];_0xcbc2=function(){return _0x43c4b2;};return _0xcbc2();}import{getTranslation as _0x36ace9}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x5d035d}from'./aichatcontextresourcesview.js';function _0x3bd7(_0x46da1c,_0x36c9e2){const _0xcbc2c=_0xcbc2();return _0x3bd7=function(_0x3bd706,_0xf52a1){_0x3bd706=_0x3bd706-0x1f3;let _0x2a0c8f=_0xcbc2c[_0x3bd706];return _0x2a0c8f;},_0x3bd7(_0x46da1c,_0x36c9e2);}const Bc=_0x47c63f(0x223),mc=_0x47c63f(0x219),dc=_0x47c63f(0x206);export class AIChatResourcesBalloonView{[_0x47c63f(0x22c)]=new Map();[_0x47c63f(0x22a)];[_0x47c63f(0x208)];[_0x47c63f(0x20c)];constructor(_0x50e274,_0x10599a,_0x20a623){const _0x4bbcad=_0x47c63f;this[_0x4bbcad(0x208)]=_0x50e274,this[_0x4bbcad(0x22a)]=_0x10599a,this[_0x4bbcad(0x20c)]=_0x20a623;}[_0x47c63f(0x228)]({source:_0x97cd1a,withBackButton:_0x336b20}){const _0x3b6eac=_0x47c63f;let _0x49e9d6=this[_0x3b6eac(0x22c)][_0x3b6eac(0x1f4)](_0x97cd1a['id']);_0x49e9d6||(_0x49e9d6=this[_0x3b6eac(0x202)](),this[_0x3b6eac(0x22c)][_0x3b6eac(0x210)](_0x97cd1a['id'],_0x49e9d6),this[_0x3b6eac(0x225)](_0x49e9d6)),this[_0x3b6eac(0x22f)]({'balloonPanel':_0x49e9d6,'source':_0x97cd1a,'withBackButton':_0x336b20}),_0x49e9d6[_0x3b6eac(0x22d)]();const _0x30cf06=this[_0x3b6eac(0x20c)][_0x3b6eac(0x22e)]();_0x30cf06&&_0x49e9d6[_0x3b6eac(0x212)]({'target':_0x30cf06,'limiter':this[_0x3b6eac(0x20c)][_0x3b6eac(0x22b)]()});}[_0x47c63f(0x1ff)](_0x2e3d3d,_0x1d9e4c,_0x1232a8){const _0x284dcf=_0x47c63f,_0x32539d=this[_0x284dcf(0x22c)][_0x284dcf(0x1f4)](_0x2e3d3d);if(!_0x32539d)return;const _0x2872a0=this[_0x284dcf(0x227)](_0x32539d);_0x2872a0&&(_0x2872a0[_0x284dcf(0x21a)](_0x1d9e4c,_0x1232a8),_0x2872a0[_0x284dcf(0x230)](_0x284dcf(0x224),()=>{const _0x57e9ec=_0x284dcf;_0x32539d[_0x57e9ec(0x212)]({'target':this[_0x57e9ec(0x20c)][_0x57e9ec(0x22e)](),'limiter':this[_0x57e9ec(0x20c)][_0x57e9ec(0x22b)]()});}));}[_0x47c63f(0x221)](_0x4bfc20){const _0x58e79e=_0x47c63f,_0x3a1b03=this[_0x58e79e(0x22c)][_0x58e79e(0x1f4)](_0x4bfc20);_0x3a1b03&&requestAnimationFrame(()=>{const _0x3641c9=_0x58e79e;_0x3a1b03[_0x3641c9(0x209)](),this[_0x3641c9(0x22c)][_0x3641c9(0x20f)](_0x4bfc20),this[_0x3641c9(0x20c)][_0x3641c9(0x214)]();});}[_0x47c63f(0x1fd)](){const _0x471813=_0x47c63f;for(const _0x1bd4e1 of this[_0x471813(0x22c)][_0x471813(0x220)]())if(_0x1bd4e1[_0x471813(0x226)])return!0x0;return!0x1;}[_0x47c63f(0x1f8)](_0x4b8de5,_0x154ea6,_0x3369ca){const _0x5b2123=_0x47c63f,_0x532b64=this[_0x5b2123(0x22c)][_0x5b2123(0x1f4)](_0x4b8de5);if(!_0x532b64||!_0x532b64[_0x5b2123(0x226)])return;const _0x386a50=this[_0x5b2123(0x20c)][_0x5b2123(0x22e)]();if(!_0x386a50)return;_0x532b64[_0x5b2123(0x212)]({'target':_0x386a50,'limiter':this[_0x5b2123(0x20c)][_0x5b2123(0x22b)]()});const _0x4585ce=this[_0x5b2123(0x227)](_0x532b64);_0x4585ce&&_0x4585ce[_0x5b2123(0x1f8)](_0x154ea6,_0x3369ca);}[_0x47c63f(0x1f3)](){const _0x3f7102=_0x47c63f;for(const _0x12fee8 of this[_0x3f7102(0x22c)][_0x3f7102(0x220)]())_0x12fee8[_0x3f7102(0x1f3)]();this[_0x3f7102(0x22c)][_0x3f7102(0x216)]();}[_0x47c63f(0x202)](){const _0x46218b=_0x47c63f,_0x4ce55c=new _0x3ed24e(this[_0x46218b(0x208)]);return _0x4ce55c[_0x46218b(0x205)]({'attributes':{'class':Bc}}),this[_0x46218b(0x22a)][_0x46218b(0x218)](_0x4ce55c),_0x4ce55c;}[_0x47c63f(0x22f)]({balloonPanel:_0x3eafaa,source:_0x522638,withBackButton:_0x789cad}){const _0x3cb12e=_0x47c63f;_0x3eafaa[_0x3cb12e(0x21d)][_0x3cb12e(0x216)]();const _0x14d21d=this[_0x3cb12e(0x1f6)]({'balloonPanel':_0x3eafaa,'source':_0x522638,'withBackButton':_0x789cad});_0x3eafaa[_0x3cb12e(0x21d)][_0x3cb12e(0x218)](_0x14d21d);const _0x5d6501=this[_0x3cb12e(0x215)](_0x522638);_0x3eafaa[_0x3cb12e(0x21d)][_0x3cb12e(0x218)](_0x5d6501);}[_0x47c63f(0x1f6)]({balloonPanel:_0x585b42,source:_0x4ac12f,withBackButton:_0x326f69}){const _0x59e82=_0x47c63f,_0x20cfaf=new _0x3b926c(this[_0x59e82(0x208)],{'label':_0x4ac12f[_0x59e82(0x1f9)],'class':dc});return _0x326f69&&_0x20cfaf[_0x59e82(0x204)][_0x59e82(0x218)](this[_0x59e82(0x21f)](_0x585b42),0x0),_0x20cfaf;}[_0x47c63f(0x21f)](_0x4bb0b9){const _0x51ec0c=_0x47c63f,_0x1a79c9=new _0x3f49b9(this[_0x51ec0c(0x208)]);return _0x1a79c9[_0x51ec0c(0x210)]({'icon':_0x5e6fb0,'tooltip':_0x36ace9(this[_0x51ec0c(0x208)],_0x51ec0c(0x222)),'tooltipPosition':'n','class':mc}),_0x1a79c9['on'](_0x51ec0c(0x21b),()=>{const _0x24f730=_0x51ec0c;_0x4bb0b9[_0x24f730(0x209)](),this[_0x24f730(0x20c)][_0x24f730(0x1fb)]();}),_0x1a79c9;}[_0x47c63f(0x215)](_0x130926){const _0x23794a=_0x47c63f,_0x2dbfb2=new _0x5d035d(this[_0x23794a(0x208)],{'source':_0x130926,'searchInputVisibleFrom':this[_0x23794a(0x20c)][_0x23794a(0x217)]});return _0x2dbfb2['on'](_0x23794a(0x1fa),(_0x5b6140,_0x1a51cc)=>{const _0xeee7cc=_0x23794a;this[_0xeee7cc(0x20c)][_0xeee7cc(0x1fe)](_0x1a51cc);}),_0x2dbfb2['on'](_0x23794a(0x203),(_0x4d9960,_0x1ccfbb)=>{const _0x562b09=_0x23794a;this[_0x562b09(0x20c)][_0x562b09(0x200)](_0x1ccfbb[_0x562b09(0x20a)],_0x1ccfbb[_0x562b09(0x20b)]),this[_0x562b09(0x221)](_0x130926['id']);}),_0x2dbfb2;}[_0x47c63f(0x227)](_0x1d910f){const _0x372933=_0x47c63f,_0xf408d3=_0x1d910f[_0x372933(0x21d)][_0x372933(0x1f4)](0x1);return _0xf408d3 instanceof _0x5d035d?_0xf408d3:null;}[_0x47c63f(0x225)](_0x4295e5){const _0x4dd4f7=_0x47c63f;_0x3f66b2({'emitter':_0x4295e5,'contextElements':[_0x4295e5[_0x4dd4f7(0x207)]],'callback':()=>{const _0x2465ff=_0x4dd4f7;_0x4295e5[_0x2465ff(0x209)](),this[_0x2465ff(0x20c)][_0x2465ff(0x214)]();},'activator':()=>_0x4295e5[_0x4dd4f7(0x226)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x14aca1,IconView as _0x52d3b0,LabeledFieldView as _0x4ec45,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x514a48,IconCancel as _0x5f0300}from'ckeditor5/src/icons.js';import{getTranslation as _0x22c23c}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x4ec45{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x225ecc){const t=_0x225ecc['t'],_0xba5785={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x22c23c(_0x225ecc,'AI_CHAT_SEARCH_RESOURCES')};super(_0x225ecc,_0xba5785['creator']),this['label']=_0xba5785['label'],this['_viewConfig']=_0xba5785,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x225ecc,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x1125cc){this['fire']('search',_0x1125cc);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x52d3b0(),this['iconView']['content']=_0x514a48,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x4f4c6e,t){this['resetButtonView']=new _0x14aca1(_0x4f4c6e),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x5f0300,'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',_0x320251=>!_0x320251),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 _0x50666c,IconView as _0x2cbfb1,LabeledFieldView as _0x472e41,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x9c370f,IconCancel as _0x4c7e4c}from'ckeditor5/src/icons.js';import{getTranslation as _0x5d5903}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x472e41{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x18310e){const t=_0x18310e['t'],_0x2ada03={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x5d5903(_0x18310e,'AI_CHAT_SEARCH_RESOURCES')};super(_0x18310e,_0x2ada03['creator']),this['label']=_0x2ada03['label'],this['_viewConfig']=_0x2ada03,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x18310e,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x59c616){this['fire']('search',_0x59c616);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x2cbfb1(),this['iconView']['content']=_0x9c370f,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x51913b,t){this['resetButtonView']=new _0x50666c(_0x51913b),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x4c7e4c,'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',_0xfe2cae=>!_0xfe2cae),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 _0x2420a8=_0x4cb2;function _0x4041(){const _0x5515dd=['225272YlHCxL','72396NikoFR','535846AHOBrc','element','5pwQJpu','1000510wYYEEm','ck-ai-chat-controls-button','destroy','reorganizeChips','_contextChips','ck-ai-chat-context-controls__show-more-balloon-panel','locale','_bodyCollection','ck-ai-chat-context-chips-wrapper','querySelector','render','createCollection','ck-ai-chat-controls_context_show-more-button','setTemplate','add','ck-ai-chat-context-chips-wrapper-balloon','ck-ai-chat__feed__context-chips','273RjLDHU','_createContextChips','3488710jdmpkQ','1139967SRFGDn','_overflowManager','189HTyJiU','11ZoVFHS','div','setContainerElement','2296100kNrLse','ck-reset_all'];_0x4041=function(){return _0x5515dd;};return _0x4041();}function _0x4cb2(_0x4d32f4,_0x89b7e8){const _0x4041fb=_0x4041();return _0x4cb2=function(_0x4cb216,_0xebc493){_0x4cb216=_0x4cb216-0x153;let _0x5ed0f4=_0x4041fb[_0x4cb216];return _0x5ed0f4;},_0x4cb2(_0x4d32f4,_0x89b7e8);}(function(_0x5f0dd4,_0x1226fa){const _0x1c10e0=_0x4cb2,_0x3d928b=_0x5f0dd4();while(!![]){try{const _0x2b9ca8=parseInt(_0x1c10e0(0x168))/0x1+-parseInt(_0x1c10e0(0x16b))/0x2+parseInt(_0x1c10e0(0x15e))/0x3+parseInt(_0x1c10e0(0x164))/0x4*(-parseInt(_0x1c10e0(0x16a))/0x5)+parseInt(_0x1c10e0(0x167))/0x6*(-parseInt(_0x1c10e0(0x15b))/0x7)+parseInt(_0x1c10e0(0x166))/0x8*(parseInt(_0x1c10e0(0x160))/0x9)+parseInt(_0x1c10e0(0x15d))/0xa*(parseInt(_0x1c10e0(0x161))/0xb);if(_0x2b9ca8===_0x1226fa)break;else _0x3d928b['push'](_0x3d928b['shift']());}catch(_0x4d7827){_0x3d928b['push'](_0x3d928b['shift']());}}}(_0x4041,0x4bf97));import{View as _0x2c4f50}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x1f3007}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x36cec1}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x2420a8(0x15a),nc=_0x2420a8(0x173),ac=_0x2420a8(0x159),Fo=_0x2420a8(0x16c),yo=_0x2420a8(0x156),Do=_0x2420a8(0x170);export class AIChatFeedContextChipsView extends _0x2c4f50{[_0x2420a8(0x16f)]=this[_0x2420a8(0x155)]();[_0x2420a8(0x15f)];[_0x2420a8(0x172)];constructor(_0xbdf10c,_0x379ef1,_0x9bcc3a){const _0x174cee=_0x2420a8;super(_0xbdf10c),this[_0x174cee(0x172)]=_0x9bcc3a,this[_0x174cee(0x15c)](_0x379ef1);const _0x13f128={'cssClasses':{'showMoreButton':yo,'showMoreBalloon':Do,'overflowContainer':ac,'controlsButton':Fo}};this[_0x174cee(0x15f)]=new _0x36cec1(_0xbdf10c,this[_0x174cee(0x16f)],_0x13f128,this[_0x174cee(0x172)],this),this[_0x174cee(0x157)]({'tag':_0x174cee(0x162),'attributes':{'class':[oc,'ck',_0x174cee(0x165)]},'children':[{'tag':_0x174cee(0x162),'attributes':{'class':nc},'children':this[_0x174cee(0x16f)]}]});}[_0x2420a8(0x154)](){const _0x110079=_0x2420a8;super[_0x110079(0x154)]();const _0x4ebf31=this[_0x110079(0x169)][_0x110079(0x153)]('.'+nc);_0x4ebf31&&(this[_0x110079(0x15f)][_0x110079(0x163)](_0x4ebf31),this[_0x110079(0x15f)][_0x110079(0x16e)]());}[_0x2420a8(0x16d)](){const _0x28ae28=_0x2420a8;super[_0x28ae28(0x16d)](),this[_0x28ae28(0x15f)][_0x28ae28(0x16d)]();}[_0x2420a8(0x15c)](_0x44c44d){const _0xf0e569=_0x2420a8;for(const _0x5510d6 of _0x44c44d){const _0x44f23b=new _0x1f3007(this[_0xf0e569(0x171)],_0x5510d6,!0x0,!0x1);this[_0xf0e569(0x16f)][_0xf0e569(0x158)](_0x44f23b);}}}
23
+ function _0xd429(){const _0xaee083=['locale','createCollection','_overflowManager','ck-ai-chat-context-chips-wrapper','element','2753631VtIUcW','1076754MITbne','ck-reset_all','2155608ClhDgY','_contextChips','5kjpHpj','render','_createContextChips','div','ck-ai-chat-context-chips-wrapper-balloon','querySelector','528577VpYOhe','2845870ykmGJZ','ck-ai-chat__feed__context-chips','189456WEIfkF','_bodyCollection','reorganizeChips','ck-ai-chat-controls-button','8uYpWzb','ck-ai-chat-context-controls__show-more-balloon-panel','535476swBaFJ','6NNDlXc','setTemplate','add','ck-ai-chat-controls_context_show-more-button','setContainerElement','destroy'];_0xd429=function(){return _0xaee083;};return _0xd429();}const _0x11507b=_0x2e46;(function(_0x39b7f2,_0x292067){const _0x16416b=_0x2e46,_0x240e58=_0x39b7f2();while(!![]){try{const _0x100fd6=-parseInt(_0x16416b(0x142))/0x1+-parseInt(_0x16416b(0x12c))/0x2*(-parseInt(_0x16416b(0x125))/0x3)+parseInt(_0x16416b(0x12b))/0x4*(-parseInt(_0x16416b(0x13c))/0x5)+parseInt(_0x16416b(0x13a))/0x6+-parseInt(_0x16416b(0x138))/0x7*(parseInt(_0x16416b(0x129))/0x8)+parseInt(_0x16416b(0x137))/0x9+parseInt(_0x16416b(0x143))/0xa;if(_0x100fd6===_0x292067)break;else _0x240e58['push'](_0x240e58['shift']());}catch(_0x2d429b){_0x240e58['push'](_0x240e58['shift']());}}}(_0xd429,0x4edba));import{View as _0x32909e}from'ckeditor5/src/ui.js';function _0x2e46(_0x2c6391,_0x2787c2){const _0xd4290c=_0xd429();return _0x2e46=function(_0x2e466f,_0x33f5c9){_0x2e466f=_0x2e466f-0x125;let _0x48b011=_0xd4290c[_0x2e466f];return _0x48b011;},_0x2e46(_0x2c6391,_0x2787c2);}import{AIChatContextItemButtonView as _0x40b933}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x1ddbad}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x11507b(0x144),rc=_0x11507b(0x135),nc=_0x11507b(0x140),Xo=_0x11507b(0x128),$o=_0x11507b(0x12f),Wo=_0x11507b(0x12a);export class AIChatFeedContextChipsView extends _0x32909e{[_0x11507b(0x13b)]=this[_0x11507b(0x133)]();[_0x11507b(0x134)];[_0x11507b(0x126)];constructor(_0x2a141a,_0x521891,_0x3b80fb){const _0x2b5abe=_0x11507b;super(_0x2a141a),this[_0x2b5abe(0x126)]=_0x3b80fb,this[_0x2b5abe(0x13e)](_0x521891);const _0x317c26={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':nc,'controlsButton':Xo}};this[_0x2b5abe(0x134)]=new _0x1ddbad(_0x2a141a,this[_0x2b5abe(0x13b)],_0x317c26,this[_0x2b5abe(0x126)],this),this[_0x2b5abe(0x12d)]({'tag':_0x2b5abe(0x13f),'attributes':{'class':[oc,'ck',_0x2b5abe(0x139)]},'children':[{'tag':_0x2b5abe(0x13f),'attributes':{'class':rc},'children':this[_0x2b5abe(0x13b)]}]});}[_0x11507b(0x13d)](){const _0x25a3cb=_0x11507b;super[_0x25a3cb(0x13d)]();const _0x34b87c=this[_0x25a3cb(0x136)][_0x25a3cb(0x141)]('.'+rc);_0x34b87c&&(this[_0x25a3cb(0x134)][_0x25a3cb(0x130)](_0x34b87c),this[_0x25a3cb(0x134)][_0x25a3cb(0x127)]());}[_0x11507b(0x131)](){const _0x3508c7=_0x11507b;super[_0x3508c7(0x131)](),this[_0x3508c7(0x134)][_0x3508c7(0x131)]();}[_0x11507b(0x13e)](_0x47d754){const _0x17e7ac=_0x11507b;for(const _0x3faa17 of _0x47d754){const _0x5c063a=new _0x40b933(this[_0x17e7ac(0x132)],_0x3faa17,!0x0,!0x1);this[_0x17e7ac(0x13b)][_0x17e7ac(0x12e)](_0x5c063a);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a58b0=_0x509b;(function(_0x17b14f,_0x197bb3){const _0x2f7b62=_0x509b,_0x4081f1=_0x17b14f();while(!![]){try{const _0x311dbc=-parseInt(_0x2f7b62(0xaf))/0x1*(-parseInt(_0x2f7b62(0xba))/0x2)+parseInt(_0x2f7b62(0xb0))/0x3*(-parseInt(_0x2f7b62(0xc8))/0x4)+-parseInt(_0x2f7b62(0xbe))/0x5+-parseInt(_0x2f7b62(0xb7))/0x6*(-parseInt(_0x2f7b62(0xbf))/0x7)+-parseInt(_0x2f7b62(0xb5))/0x8*(-parseInt(_0x2f7b62(0xb2))/0x9)+-parseInt(_0x2f7b62(0xc6))/0xa+-parseInt(_0x2f7b62(0xb3))/0xb;if(_0x311dbc===_0x197bb3)break;else _0x4081f1['push'](_0x4081f1['shift']());}catch(_0x1ffd42){_0x4081f1['push'](_0x4081f1['shift']());}}}(_0x10ac,0xd0261));import{IconBulb as _0x162629,IconWeb as _0xe49750}from'@ckeditor/ckeditor5-icons';import{IconView as _0x2ad6de,View as _0x2620c1}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x3b6743}from'./aichatfeeditemview.js';function _0x509b(_0x355288,_0x1e6e5e){const _0x10ac52=_0x10ac();return _0x509b=function(_0x509b22,_0x1f858f){_0x509b22=_0x509b22-0xae;let _0x6b0a99=_0x10ac52[_0x509b22];return _0x6b0a99;},_0x509b(_0x355288,_0x1e6e5e);}import{getTranslation as _0x4a61e0}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x3b6743{[_0x1a58b0(0xae)];constructor(_0x179591,_0x595a85){const _0x10a990=_0x1a58b0;super(_0x595a85);const {isWebSearchEnabled:_0x582ad1,isReasoningEnabled:_0x5100c9}=_0x595a85[_0x10a990(0xae)],_0x4b6b3c=[];let _0x3e44d3='';_0x582ad1&&_0x5100c9?(_0x3e44d3=_0x4a61e0(_0x179591,_0x10a990(0xc2)),_0x4b6b3c[_0x10a990(0xb4)](aa(_0xe49750)),_0x4b6b3c[_0x10a990(0xb4)](aa(_0x162629))):_0x582ad1?(_0x3e44d3=_0x4a61e0(_0x179591,_0x10a990(0xc7)),_0x4b6b3c[_0x10a990(0xb4)](aa(_0xe49750))):_0x5100c9&&(_0x3e44d3=_0x4a61e0(_0x179591,_0x10a990(0xbb)),_0x4b6b3c[_0x10a990(0xb4)](aa(_0x162629))),this[_0x10a990(0xc5)]({'attributes':{'class':[_0x10a990(0xc1),_0x3e44d3?'':_0x10a990(0xb6)]}});const _0x511a6a=new _0x2620c1();_0x511a6a[_0x10a990(0xb1)]({'tag':_0x10a990(0xc4),'attributes':{'class':['ck',_0x10a990(0xbc)]},'children':[..._0x4b6b3c,{'tag':_0x10a990(0xb8),'attributes':{'class':[_0x10a990(0xb9)]},'children':[_0x3e44d3]}]}),this[_0x10a990(0xc3)][_0x10a990(0xbd)](_0x511a6a),this[_0x10a990(0xae)]=_0x595a85[_0x10a990(0xae)];}}function _0x10ac(){const _0x51ece3=['content','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','children','div','extendTemplate','1223180Oneprl','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','277472tfCsFt','capabilities','14242FrxCAZ','33JHtVej','setTemplate','45ApYWud','12237962qSImYO','push','2654872bqtHcm','ck-hidden','6845838euvqrt','span','ck-ai-chat__feed__interaction-header__capabilities__text','218QZBBNZ','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities','add','7510805vlJppB','7lWCWOJ'];_0x10ac=function(){return _0x51ece3;};return _0x10ac();}function aa(_0x57f913){const _0x82399c=_0x1a58b0,_0xdb17b6=new _0x2ad6de();return _0xdb17b6[_0x82399c(0xc0)]=_0x57f913,_0xdb17b6;}
23
+ const _0x355bcd=_0x40bb;(function(_0xd1635f,_0x284610){const _0x2b3acb=_0x40bb,_0x1fef8f=_0xd1635f();while(!![]){try{const _0x2eef09=parseInt(_0x2b3acb(0x150))/0x1*(parseInt(_0x2b3acb(0x13a))/0x2)+parseInt(_0x2b3acb(0x14c))/0x3+parseInt(_0x2b3acb(0x149))/0x4+parseInt(_0x2b3acb(0x14f))/0x5+-parseInt(_0x2b3acb(0x14e))/0x6+-parseInt(_0x2b3acb(0x13d))/0x7*(parseInt(_0x2b3acb(0x151))/0x8)+-parseInt(_0x2b3acb(0x142))/0x9;if(_0x2eef09===_0x284610)break;else _0x1fef8f['push'](_0x1fef8f['shift']());}catch(_0x127d82){_0x1fef8f['push'](_0x1fef8f['shift']());}}}(_0x4d16,0x464ed));import{IconBulb as _0x5db62f,IconWeb as _0x397ea7}from'@ckeditor/ckeditor5-icons';import{IconView as _0x422e87,View as _0x9bccb0}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x13e7e3}from'./aichatfeeditemview.js';function _0x40bb(_0x2d2a61,_0x1f8d53){const _0x4d1662=_0x4d16();return _0x40bb=function(_0x40bb8f,_0x4dce8d){_0x40bb8f=_0x40bb8f-0x139;let _0x32ae49=_0x4d1662[_0x40bb8f];return _0x32ae49;},_0x40bb(_0x2d2a61,_0x1f8d53);}import{getTranslation as _0x459b6c}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x13e7e3{[_0x355bcd(0x13f)];constructor(_0x16b714,_0xd0754a){const _0x398cc6=_0x355bcd;super(_0xd0754a);const {isWebSearchEnabled:_0x2115e2,isReasoningEnabled:_0x321e02}=_0xd0754a[_0x398cc6(0x13f)],_0x163891=[];let _0x535850='';_0x2115e2&&_0x321e02?(_0x535850=_0x459b6c(_0x16b714,_0x398cc6(0x146)),_0x163891[_0x398cc6(0x14b)](aa(_0x397ea7)),_0x163891[_0x398cc6(0x14b)](aa(_0x5db62f))):_0x2115e2?(_0x535850=_0x459b6c(_0x16b714,_0x398cc6(0x147)),_0x163891[_0x398cc6(0x14b)](aa(_0x397ea7))):_0x321e02&&(_0x535850=_0x459b6c(_0x16b714,_0x398cc6(0x141)),_0x163891[_0x398cc6(0x14b)](aa(_0x5db62f))),this[_0x398cc6(0x13b)]({'attributes':{'class':[_0x398cc6(0x145),_0x535850?'':_0x398cc6(0x144)]}});const _0x207a82=new _0x9bccb0();_0x207a82[_0x398cc6(0x140)]({'tag':_0x398cc6(0x14a),'attributes':{'class':['ck',_0x398cc6(0x139)]},'children':[..._0x163891,{'tag':_0x398cc6(0x13e),'attributes':{'class':[_0x398cc6(0x148)]},'children':[_0x535850]}]}),this[_0x398cc6(0x13c)][_0x398cc6(0x143)](_0x207a82),this[_0x398cc6(0x13f)]=_0xd0754a[_0x398cc6(0x13f)];}}function aa(_0xf5747){const _0x5afc1d=_0x355bcd,_0x28c963=new _0x422e87();return _0x28c963[_0x5afc1d(0x14d)]=_0xf5747,_0x28c963;}function _0x4d16(){const _0x421209=['setTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','5051709JtTaPZ','add','ck-hidden','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-ai-chat__feed__interaction-header__capabilities__text','1070180TboDga','div','push','1426914kdXJNz','content','1062078eLUSjm','1419275ogjYQd','1yPUocw','37752jVntfP','ck-ai-chat__feed__interaction-header__capabilities','998942kOzRbM','extendTemplate','children','742ojAASw','span','capabilities'];_0x4d16=function(){return _0x421209;};return _0x4d16();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1cd8(_0x1a40d4,_0x41f22a){const _0x4f0c84=_0x4f0c();return _0x1cd8=function(_0x1cd83e,_0x241708){_0x1cd83e=_0x1cd83e-0x150;let _0x5f3beb=_0x4f0c84[_0x1cd83e];return _0x5f3beb;},_0x1cd8(_0x1a40d4,_0x41f22a);}const _0x4a81fe=_0x1cd8;(function(_0x1a2e8f,_0x456eb1){const _0xfb756=_0x1cd8,_0x59d125=_0x1a2e8f();while(!![]){try{const _0x1935f1=parseInt(_0xfb756(0x174))/0x1+parseInt(_0xfb756(0x160))/0x2*(parseInt(_0xfb756(0x15f))/0x3)+parseInt(_0xfb756(0x156))/0x4*(parseInt(_0xfb756(0x16b))/0x5)+-parseInt(_0xfb756(0x161))/0x6*(parseInt(_0xfb756(0x158))/0x7)+parseInt(_0xfb756(0x159))/0x8*(-parseInt(_0xfb756(0x164))/0x9)+-parseInt(_0xfb756(0x170))/0xa+-parseInt(_0xfb756(0x16f))/0xb*(-parseInt(_0xfb756(0x16d))/0xc);if(_0x1935f1===_0x456eb1)break;else _0x59d125['push'](_0x59d125['shift']());}catch(_0x33c567){_0x59d125['push'](_0x59d125['shift']());}}}(_0x4f0c,0xbe4f6));function _0x4f0c(){const _0x5a0c3c=['render','div','element','86834DUUxuM','ck-ai-chat__feed__ai-reply-container','initialContent','setTemplate','extendTemplate','ck-reset_all-excluded','_bodyCollection','updateContent','4KxYTMn','updateSources','7McNDXA','1000VXMTDO','ck-ai-chat__feed__ai-reply','streamIntoElement','markAsDone','locale','options','54624bEWclh','128WlQTNH','8446824qhIZsF','streaming','balloonPanelView','25497evEEGh','addMany','static','replyContainer','map','children','add','6761185Grklzp','isVisible','132Tylfrt','innerHTML','1435885VITgNP','14988290pAgpsN'];_0x4f0c=function(){return _0x5a0c3c;};return _0x4f0c();}import{AIChatFeedItemView as _0x514d0d}from'./aichatfeeditemview.js';import{parse as _0x6e52df,render as _0x3a5c32}from'../../../aicore/utils/htmlparser.js';import{View as _0x36bd55}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x447865,AIWebSourceView as _0x34bdf2}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x514d0d{[_0x4a81fe(0x167)];[_0x4a81fe(0x154)];constructor(_0x2c82f2,_0x4f2da1,_0x57569d){const _0x867d19=_0x4a81fe;super(_0x4f2da1),this[_0x867d19(0x154)]=_0x57569d,this[_0x867d19(0x15d)]=_0x2c82f2,this[_0x867d19(0x152)]({'attributes':{'class':[_0x867d19(0x15a)]}}),this[_0x867d19(0x167)]=new _0x36bd55(),this[_0x867d19(0x167)][_0x867d19(0x151)]({'tag':_0x867d19(0x172),'attributes':{'class':['ck',_0x867d19(0x153),_0x867d19(0x175)]}}),this[_0x867d19(0x169)][_0x867d19(0x16a)](this[_0x867d19(0x167)]);}async[_0x4a81fe(0x171)](){const _0x496d0d=_0x4a81fe;super[_0x496d0d(0x171)](),this[_0x496d0d(0x15e)][_0x496d0d(0x150)]&&(await this[_0x496d0d(0x155)]({'parsedContent':_0x6e52df(this[_0x496d0d(0x15e)][_0x496d0d(0x150)]),'renderingStrategy':_0x496d0d(0x166)}),this[_0x496d0d(0x15c)]());}async[_0x4a81fe(0x155)]({parsedContent:_0x19536d,renderingStrategy:_0x682d3e,abortSignal:_0x3564d8}){const _0x100582=_0x4a81fe;_0x100582(0x162)===_0x682d3e?await this[_0x100582(0x15b)](_0x19536d,this[_0x100582(0x167)][_0x100582(0x173)],_0x3564d8):this[_0x100582(0x167)][_0x100582(0x173)][_0x100582(0x16e)]=_0x3a5c32(_0x19536d);}[_0x4a81fe(0x157)](_0x368149){const _0x4a65a5=_0x4a81fe,_0x4b3124=new _0x447865(this[_0x4a65a5(0x15d)],this[_0x4a65a5(0x154)]);_0x4b3124[_0x4a65a5(0x169)][_0x4a65a5(0x165)](_0x368149[_0x4a65a5(0x168)](_0x20aeba=>new _0x34bdf2(this[_0x4a65a5(0x15d)],_0x20aeba,_0x4b3124[_0x4a65a5(0x163)]))),_0x4b3124[_0x4a65a5(0x16c)]=!0x0,this[_0x4a65a5(0x169)][_0x4a65a5(0x16a)](_0x4b3124);}}
23
+ const _0x4597d8=_0x4e14;function _0x34b8(){const _0x508a7d=['replyContainer','markAsDone','balloonPanelView','add','isVisible','updateSources','extendTemplate','updateContent','ck-reset_all-excluded','streaming','innerHTML','addMany','2972064ufDrFh','ck-ai-chat__feed__ai-reply-container','5947184BOlByf','1493611XHpVsR','6IswpVt','4239095ggByRf','element','div','setTemplate','render','559404SpXvHk','_bodyCollection','map','locale','1835676OZixoq','static','streamIntoElement','options','initialContent','425438RaUlif','children','ck-ai-chat__feed__ai-reply'];_0x34b8=function(){return _0x508a7d;};return _0x34b8();}(function(_0x2920d3,_0x256f73){const _0x324fe8=_0x4e14,_0xe68f9b=_0x2920d3();while(!![]){try{const _0x51c0e0=parseInt(_0x324fe8(0x1fb))/0x1+parseInt(_0x324fe8(0x1f6))/0x2+parseInt(_0x324fe8(0x1f2))/0x3+-parseInt(_0x324fe8(0x1e8))/0x4+parseInt(_0x324fe8(0x1ed))/0x5*(-parseInt(_0x324fe8(0x1ec))/0x6)+-parseInt(_0x324fe8(0x1eb))/0x7+parseInt(_0x324fe8(0x1ea))/0x8;if(_0x51c0e0===_0x256f73)break;else _0xe68f9b['push'](_0xe68f9b['shift']());}catch(_0x243a88){_0xe68f9b['push'](_0xe68f9b['shift']());}}}(_0x34b8,0x727c6));import{AIChatFeedItemView as _0x34947e}from'./aichatfeeditemview.js';function _0x4e14(_0x257978,_0x30cc3d){const _0x34b876=_0x34b8();return _0x4e14=function(_0x4e14da,_0x2830e8){_0x4e14da=_0x4e14da-0x1da;let _0x3ad7f6=_0x34b876[_0x4e14da];return _0x3ad7f6;},_0x4e14(_0x257978,_0x30cc3d);}import{parse as _0x30f771,render as _0x445e2c}from'../../../aicore/utils/htmlparser.js';import{View as _0x4d774c}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x51dbc4,AIWebSourceView as _0x5e6ce9}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x34947e{[_0x4597d8(0x1dc)];[_0x4597d8(0x1f3)];constructor(_0x168efa,_0x1a20ac,_0x4df47b){const _0x555bd3=_0x4597d8;super(_0x1a20ac),this[_0x555bd3(0x1f3)]=_0x4df47b,this[_0x555bd3(0x1f5)]=_0x168efa,this[_0x555bd3(0x1e2)]({'attributes':{'class':[_0x555bd3(0x1db)]}}),this[_0x555bd3(0x1dc)]=new _0x4d774c(),this[_0x555bd3(0x1dc)][_0x555bd3(0x1f0)]({'tag':_0x555bd3(0x1ef),'attributes':{'class':['ck',_0x555bd3(0x1e4),_0x555bd3(0x1e9)]}}),this[_0x555bd3(0x1da)][_0x555bd3(0x1df)](this[_0x555bd3(0x1dc)]);}async[_0x4597d8(0x1f1)](){const _0x5f1f37=_0x4597d8;super[_0x5f1f37(0x1f1)](),this[_0x5f1f37(0x1f9)][_0x5f1f37(0x1fa)]&&(await this[_0x5f1f37(0x1e3)]({'parsedContent':_0x30f771(this[_0x5f1f37(0x1f9)][_0x5f1f37(0x1fa)]),'renderingStrategy':_0x5f1f37(0x1f7)}),this[_0x5f1f37(0x1dd)]());}async[_0x4597d8(0x1e3)]({parsedContent:_0x3893b7,renderingStrategy:_0x16fa4f,abortSignal:_0x13e72b}){const _0x48b872=_0x4597d8;_0x48b872(0x1e5)===_0x16fa4f?await this[_0x48b872(0x1f8)](_0x3893b7,this[_0x48b872(0x1dc)][_0x48b872(0x1ee)],_0x13e72b):this[_0x48b872(0x1dc)][_0x48b872(0x1ee)][_0x48b872(0x1e6)]=_0x445e2c(_0x3893b7);}[_0x4597d8(0x1e1)](_0x102a7f){const _0x49b78d=_0x4597d8,_0x1164ea=new _0x51dbc4(this[_0x49b78d(0x1f5)],this[_0x49b78d(0x1f3)]);_0x1164ea[_0x49b78d(0x1da)][_0x49b78d(0x1e7)](_0x102a7f[_0x49b78d(0x1f4)](_0x41a68a=>new _0x5e6ce9(this[_0x49b78d(0x1f5)],_0x41a68a,_0x1164ea[_0x49b78d(0x1de)]))),_0x1164ea[_0x49b78d(0x1e0)]=!0x0,this[_0x49b78d(0x1da)][_0x49b78d(0x1df)](_0x1164ea);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44bd79=_0x3ca3;(function(_0x46927d,_0x290d3f){const _0x47e768=_0x3ca3,_0x3b16c3=_0x46927d();while(!![]){try{const _0xfb440b=parseInt(_0x47e768(0x1d9))/0x1+-parseInt(_0x47e768(0x1bb))/0x2*(parseInt(_0x47e768(0x1dd))/0x3)+-parseInt(_0x47e768(0x1ca))/0x4+-parseInt(_0x47e768(0x1c5))/0x5*(-parseInt(_0x47e768(0x1c2))/0x6)+parseInt(_0x47e768(0x1db))/0x7+parseInt(_0x47e768(0x1e2))/0x8*(-parseInt(_0x47e768(0x1cf))/0x9)+parseInt(_0x47e768(0x1e3))/0xa;if(_0xfb440b===_0x290d3f)break;else _0x3b16c3['push'](_0x3b16c3['shift']());}catch(_0x29f1a0){_0x3b16c3['push'](_0x3b16c3['shift']());}}}(_0x4eb0,0xbdfa0));function _0x3ca3(_0xd2e39e,_0x34505f){const _0x4eb09c=_0x4eb0();return _0x3ca3=function(_0x3ca37c,_0x32f455){_0x3ca37c=_0x3ca37c-0x1b5;let _0x2dd045=_0x4eb09c[_0x3ca37c];return _0x2dd045;},_0x3ca3(_0xd2e39e,_0x34505f);}function _0x4eb0(){const _0x260b6b=['applySuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','_switchButtonLabelsPlurality','3473024KwBroC','19760690TxJBNk','ck-ai-chat__feed__ai-suggestion__actions','isEnabled','add','fire','locale','button','7262khFsTZ','forEach','setTemplate','ck-ai-button-primary','ck-hidden','children','set','6dvIPoD','_insertSuggestionsButton','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','5616935eJSOis','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','bindTemplate','isVisible','AI_SUGGESTION_DISABLED_FEED_MESSAGE','5444388GCAyxJ','bind','AI_CHAT_SUGGESTION_ACTION_SUGGEST','div','change:isTrackChangesOn','18JdyaDA','updateVisibility','_applyChangesButton','ck-ai-button-secondary','execute','createCollection','AI_CHAT_SUGGESTION_ACTION_APPLY','insertSuggestion','includes','isTrackChangesOn','1139791nMtauT','addMany','858291MbGbHO','label','1119uTLYJv','ck-ai-chat__feed__suggestion__actions__info'];_0x4eb0=function(){return _0x260b6b;};return _0x4eb0();}import{ButtonView as _0x51e617,View as _0x3fcc07}from'ckeditor5/src/ui.js';import{getTranslation as _0x1c8369}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x58b463}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x44bd79(0x1df),_0x44bd79(0x1d6)];export class AIChatFeedSuggestionItemActionsView extends _0x3fcc07{[_0x44bd79(0x1d1)];[_0x44bd79(0x1c3)];[_0x44bd79(0x1c0)];constructor(_0x5dcb6e,_0x2b3a4a=[...AI_REPLY_ACTIONS],_0x13d8a0){const _0x11446a=_0x44bd79;super(_0x5dcb6e);const _0x53fadc=this[_0x11446a(0x1c7)],_0x3d30c2=Boolean(_0x13d8a0);if(this[_0x11446a(0x1c1)](_0x11446a(0x1b6),!_0x3d30c2),this[_0x11446a(0x1c1)](_0x11446a(0x1c8),!0x1),this[_0x11446a(0x1c1)](_0x11446a(0x1d8),!0x1),this[_0x11446a(0x1c0)]=this[_0x11446a(0x1d4)](),_0x3d30c2){const _0x1d9d71=new _0x51e617(_0x5dcb6e);_0x1d9d71[_0x11446a(0x1c1)]({'label':_0x1c8369(_0x5dcb6e,_0x11446a(0x1c4)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x58b463});const _0x25b832=new _0x3fcc07(_0x5dcb6e);_0x25b832[_0x11446a(0x1bd)]({'tag':_0x11446a(0x1cd),'attributes':{'class':_0x11446a(0x1de)},'children':[{'tag':'p','children':[_0x1c8369(_0x5dcb6e,_0x11446a(0x1c9)),_0x1d9d71]}]}),this[_0x11446a(0x1c0)][_0x11446a(0x1b7)](_0x25b832);}else this[_0x11446a(0x1d1)]=new _0x51e617(_0x5dcb6e),this[_0x11446a(0x1d1)][_0x11446a(0x1c1)]({'label':_0x1c8369(_0x5dcb6e,_0x11446a(0x1e0)),'withText':!0x0,'type':_0x11446a(0x1ba),'isVisible':_0x2b3a4a[_0x11446a(0x1d7)](_0x11446a(0x1df)),'class':_0x11446a(0x1be)}),this[_0x11446a(0x1c3)]=new _0x51e617(_0x5dcb6e),this[_0x11446a(0x1c3)][_0x11446a(0x1c1)]({'label':_0x1c8369(_0x5dcb6e,_0x11446a(0x1c6)),'withText':!0x0,'type':_0x11446a(0x1ba),'isVisible':_0x2b3a4a[_0x11446a(0x1d7)](_0x11446a(0x1d6)),'class':_0x11446a(0x1d2)}),this[_0x11446a(0x1c3)]['on'](_0x11446a(0x1d3),()=>{const _0x958ebf=_0x11446a;this[_0x958ebf(0x1b8)](_0x958ebf(0x1d6));}),this[_0x11446a(0x1d1)]['on'](_0x11446a(0x1d3),()=>{const _0x2a6be8=_0x11446a;this[_0x2a6be8(0x1b8)](_0x2a6be8(0x1df));}),[this[_0x11446a(0x1d1)],this[_0x11446a(0x1c3)]][_0x11446a(0x1bc)](_0x47de19=>{const _0x57c79e=_0x11446a;_0x47de19[_0x57c79e(0x1cb)](_0x57c79e(0x1b6))['to'](this);}),this[_0x11446a(0x1c0)][_0x11446a(0x1da)]([this[_0x11446a(0x1d1)],this[_0x11446a(0x1c3)]]);this[_0x11446a(0x1bd)]({'tag':_0x11446a(0x1cd),'attributes':{'class':['ck',_0x11446a(0x1b5),_0x53fadc['if'](_0x11446a(0x1c8),_0x11446a(0x1bf),_0x24e6f6=>!_0x24e6f6)]},'children':this[_0x11446a(0x1c0)]}),this['on'](_0x11446a(0x1ce),()=>{const _0x885033=_0x11446a;this[_0x885033(0x1d1)]&&(this[_0x885033(0x1d1)][_0x885033(0x1c8)]=!this[_0x885033(0x1d8)]);});}[_0x44bd79(0x1d0)](_0x3c0d85){const _0x5eb64a=_0x44bd79;this[_0x5eb64a(0x1c8)]=_0x3c0d85;}[_0x44bd79(0x1e1)](_0x503475){const _0x56e578=_0x44bd79;this[_0x56e578(0x1d1)]&&this[_0x56e578(0x1c3)]&&(_0x503475?(this[_0x56e578(0x1d1)][_0x56e578(0x1dc)]=_0x1c8369(this[_0x56e578(0x1b9)],_0x56e578(0x1e0)),this[_0x56e578(0x1c3)][_0x56e578(0x1dc)]=_0x1c8369(this[_0x56e578(0x1b9)],_0x56e578(0x1c6))):(this[_0x56e578(0x1d1)][_0x56e578(0x1dc)]=_0x1c8369(this[_0x56e578(0x1b9)],_0x56e578(0x1d5)),this[_0x56e578(0x1c3)][_0x56e578(0x1dc)]=_0x1c8369(this[_0x56e578(0x1b9)],_0x56e578(0x1cc))));}}
23
+ function _0x5e00(){const _0x49d9a6=['set','163650UnbMYv','isTrackChangesOn','add','button','ck-ai-chat__feed__ai-suggestion__actions','bindTemplate','children','forEach','AI_CHAT_SUGGESTION_ACTION_APPLY','_switchButtonLabelsPlurality','363965oqMqcH','1515060bQQNDx','div','ck-ai-chat__feed__suggestion__actions__info','isEnabled','label','locale','execute','updateVisibility','addMany','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','fire','ck-ai-button-primary','AI_CHAT_SUGGESTION_ACTION_SUGGEST','40CBNtCh','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','376396mrhTQh','1HPVLcI','includes','createCollection','ck-hidden','ck-ai-button-secondary','AI_SUGGESTION_DISABLED_FEED_MESSAGE','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','bind','_applyChangesButton','1632WRtkZg','1116jAvTvw','isVisible','436608sZoOGc','setTemplate','_insertSuggestionsButton','72480EEvgsG','insertSuggestion','applySuggestion'];_0x5e00=function(){return _0x49d9a6;};return _0x5e00();}function _0xd7dc(_0x581ff0,_0x2e8ef7){const _0x5e0078=_0x5e00();return _0xd7dc=function(_0xd7dc96,_0x5b7e7d){_0xd7dc96=_0xd7dc96-0x9e;let _0x3a7da3=_0x5e0078[_0xd7dc96];return _0x3a7da3;},_0xd7dc(_0x581ff0,_0x2e8ef7);}const _0x2e65b5=_0xd7dc;(function(_0x24ae5a,_0x552893){const _0x23ca00=_0xd7dc,_0x825aac=_0x24ae5a();while(!![]){try{const _0x36d2fd=-parseInt(_0x23ca00(0xcb))/0x1*(parseInt(_0x23ca00(0xca))/0x2)+-parseInt(_0x23ca00(0xab))/0x3+-parseInt(_0x23ca00(0xa8))/0x4+parseInt(_0x23ca00(0xc8))/0x5*(parseInt(_0x23ca00(0xaf))/0x6)+parseInt(_0x23ca00(0xb9))/0x7+-parseInt(_0x23ca00(0xa5))/0x8*(-parseInt(_0x23ca00(0xa6))/0x9)+parseInt(_0x23ca00(0xba))/0xa;if(_0x36d2fd===_0x552893)break;else _0x825aac['push'](_0x825aac['shift']());}catch(_0x59889d){_0x825aac['push'](_0x825aac['shift']());}}}(_0x5e00,0x1ea2f));import{ButtonView as _0x54c166,View as _0x4144b9}from'ckeditor5/src/ui.js';import{getTranslation as _0x337a7b}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x14ac43}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x2e65b5(0xad),_0x2e65b5(0xac)];export class AIChatFeedSuggestionItemActionsView extends _0x4144b9{[_0x2e65b5(0xa4)];[_0x2e65b5(0xaa)];[_0x2e65b5(0xb5)];constructor(_0xba84ab,_0x57f337=[...AI_REPLY_ACTIONS],_0x4ce056){const _0x5c3443=_0x2e65b5;super(_0xba84ab);const _0x132b61=this[_0x5c3443(0xb4)],_0x39c2de=Boolean(_0x4ce056);if(this[_0x5c3443(0xae)](_0x5c3443(0xbd),!_0x39c2de),this[_0x5c3443(0xae)](_0x5c3443(0xa7),!0x1),this[_0x5c3443(0xae)](_0x5c3443(0xb0),!0x1),this[_0x5c3443(0xb5)]=this[_0x5c3443(0x9e)](),_0x39c2de){const _0x2a2a56=new _0x54c166(_0xba84ab);_0x2a2a56[_0x5c3443(0xae)]({'label':_0x337a7b(_0xba84ab,_0x5c3443(0xc9)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x14ac43});const _0xcd6511=new _0x4144b9(_0xba84ab);_0xcd6511[_0x5c3443(0xa9)]({'tag':_0x5c3443(0xbb),'attributes':{'class':_0x5c3443(0xbc)},'children':[{'tag':'p','children':[_0x337a7b(_0xba84ab,_0x5c3443(0xa1)),_0x2a2a56]}]}),this[_0x5c3443(0xb5)][_0x5c3443(0xb1)](_0xcd6511);}else this[_0x5c3443(0xa4)]=new _0x54c166(_0xba84ab),this[_0x5c3443(0xa4)][_0x5c3443(0xae)]({'label':_0x337a7b(_0xba84ab,_0x5c3443(0xa2)),'withText':!0x0,'type':_0x5c3443(0xb2),'isVisible':_0x57f337[_0x5c3443(0xcc)](_0x5c3443(0xad)),'class':_0x5c3443(0xc6)}),this[_0x5c3443(0xaa)]=new _0x54c166(_0xba84ab),this[_0x5c3443(0xaa)][_0x5c3443(0xae)]({'label':_0x337a7b(_0xba84ab,_0x5c3443(0xc4)),'withText':!0x0,'type':_0x5c3443(0xb2),'isVisible':_0x57f337[_0x5c3443(0xcc)](_0x5c3443(0xac)),'class':_0x5c3443(0xa0)}),this[_0x5c3443(0xaa)]['on'](_0x5c3443(0xc0),()=>{const _0x190426=_0x5c3443;this[_0x190426(0xc5)](_0x190426(0xac));}),this[_0x5c3443(0xa4)]['on'](_0x5c3443(0xc0),()=>{const _0x6c252f=_0x5c3443;this[_0x6c252f(0xc5)](_0x6c252f(0xad));}),[this[_0x5c3443(0xa4)],this[_0x5c3443(0xaa)]][_0x5c3443(0xb6)](_0x4517fe=>{const _0x4c09c2=_0x5c3443;_0x4517fe[_0x4c09c2(0xa3)](_0x4c09c2(0xbd))['to'](this);}),this[_0x5c3443(0xb5)][_0x5c3443(0xc2)]([this[_0x5c3443(0xa4)],this[_0x5c3443(0xaa)]]);this[_0x5c3443(0xa9)]({'tag':_0x5c3443(0xbb),'attributes':{'class':['ck',_0x5c3443(0xb3),_0x132b61['if'](_0x5c3443(0xa7),_0x5c3443(0x9f),_0x32e84c=>!_0x32e84c)]},'children':this[_0x5c3443(0xb5)]}),this['on'](_0x5c3443(0xc3),()=>{const _0x5ec6e0=_0x5c3443;this[_0x5ec6e0(0xa4)]&&(this[_0x5ec6e0(0xa4)][_0x5ec6e0(0xa7)]=!this[_0x5ec6e0(0xb0)]);});}[_0x2e65b5(0xc1)](_0x18db21){const _0x24ff17=_0x2e65b5;this[_0x24ff17(0xa7)]=_0x18db21;}[_0x2e65b5(0xb8)](_0x8efa68){const _0x1596b0=_0x2e65b5;this[_0x1596b0(0xa4)]&&this[_0x1596b0(0xaa)]&&(_0x8efa68?(this[_0x1596b0(0xa4)][_0x1596b0(0xbe)]=_0x337a7b(this[_0x1596b0(0xbf)],_0x1596b0(0xa2)),this[_0x1596b0(0xaa)][_0x1596b0(0xbe)]=_0x337a7b(this[_0x1596b0(0xbf)],_0x1596b0(0xc4))):(this[_0x1596b0(0xa4)][_0x1596b0(0xbe)]=_0x337a7b(this[_0x1596b0(0xbf)],_0x1596b0(0xb7)),this[_0x1596b0(0xaa)][_0x1596b0(0xbe)]=_0x337a7b(this[_0x1596b0(0xbf)],_0x1596b0(0xc7))));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d45(_0x5efcbd,_0x1c8967){const _0x353760=_0x3537();return _0x4d45=function(_0x4d459c,_0x5eaf95){_0x4d459c=_0x4d459c-0xc7;let _0x288a8e=_0x353760[_0x4d459c];return _0x288a8e;},_0x4d45(_0x5efcbd,_0x1c8967);}function _0x3537(){const _0x1e1cda=['loadSourceResources','resizeTabs','1508913wqzzxs','8524180opHCYI','sendUserMessage','4357904yRJqpm','108ZqjjKZ','selectModel','273870NOUZGD','removeContextItem','abortPromptStream','151026UyhCTH','addUrlToContext','1416465wNqWNi','startConversation','addDocumentToContext','toggleWebSearch','2175068BobgJm','8UAAHWX','2DiJmAF','addResourceToContext','executeCustomItemCallback','addFileToContext','toggleReasoning'];_0x3537=function(){return _0x1e1cda;};return _0x3537();}const _0x413437=_0x4d45;(function(_0x3ec6b8,_0x42b616){const _0x1824d8=_0x4d45,_0x41e120=_0x3ec6b8();while(!![]){try{const _0x208f19=parseInt(_0x1824d8(0xd0))/0x1+parseInt(_0x1824d8(0xd8))/0x2*(-parseInt(_0x1824d8(0xd2))/0x3)+-parseInt(_0x1824d8(0xca))/0x4+-parseInt(_0x1824d8(0xcd))/0x5*(-parseInt(_0x1824d8(0xcb))/0x6)+parseInt(_0x1824d8(0xd6))/0x7+parseInt(_0x1824d8(0xd7))/0x8*(-parseInt(_0x1824d8(0xc7))/0x9)+parseInt(_0x1824d8(0xc8))/0xa;if(_0x208f19===_0x42b616)break;else _0x41e120['push'](_0x41e120['shift']());}catch(_0x502dd2){_0x41e120['push'](_0x41e120['shift']());}}}(_0x3537,0x8b5bc));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x169b52}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x169b52,_0x413437(0xd3),_0x413437(0xde),_0x413437(0xc9),_0x413437(0xcf),_0x413437(0xd4),_0x413437(0xdb),_0x413437(0xd1),_0x413437(0xda),_0x413437(0xd9),_0x413437(0xce),_0x413437(0xdd),_0x413437(0xd5),_0x413437(0xdc),_0x413437(0xcc)];
23
+ const _0x2d1f93=_0x29f7;(function(_0x50bf05,_0x520cec){const _0x3e1373=_0x29f7,_0x4eee1c=_0x50bf05();while(!![]){try{const _0xa2387b=-parseInt(_0x3e1373(0x92))/0x1*(parseInt(_0x3e1373(0x9c))/0x2)+parseInt(_0x3e1373(0xa2))/0x3+-parseInt(_0x3e1373(0x91))/0x4*(parseInt(_0x3e1373(0xa3))/0x5)+parseInt(_0x3e1373(0x98))/0x6*(-parseInt(_0x3e1373(0x93))/0x7)+parseInt(_0x3e1373(0x8e))/0x8+parseInt(_0x3e1373(0x95))/0x9+parseInt(_0x3e1373(0x8f))/0xa;if(_0xa2387b===_0x520cec)break;else _0x4eee1c['push'](_0x4eee1c['shift']());}catch(_0x4fa8a1){_0x4eee1c['push'](_0x4eee1c['shift']());}}}(_0x36d4,0xa0729));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x194a93}from'../../aicore/utils/eventnames.js';function _0x36d4(){const _0x5b2d6e=['12AWjxFJ','144821ooGHSq','8715154xPUiTv','sendUserMessage','8138619rUsUDX','resizeTabs','addResourceToContext','6gJtSPv','addDocumentToContext','addFileToContext','toggleReasoning','18RrzVar','executeCustomItemCallback','loadSourceResources','startConversation','toggleWebSearch','removeContextItem','800859sNXZKE','806710bgpSWQ','addUrlToContext','abortPromptStream','10342120MXmVMC','12256210xBoqTe','selectModel'];_0x36d4=function(){return _0x5b2d6e;};return _0x36d4();}function _0x29f7(_0x31bcff,_0x11b01d){const _0x36d49d=_0x36d4();return _0x29f7=function(_0x29f70c,_0x92cd98){_0x29f70c=_0x29f70c-0x8e;let _0x16766c=_0x36d49d[_0x29f70c];return _0x16766c;},_0x29f7(_0x31bcff,_0x11b01d);}export const AI_CHAT_UI_EVENT_NAMES=[..._0x194a93,_0x2d1f93(0x9f),_0x2d1f93(0x96),_0x2d1f93(0x94),_0x2d1f93(0xa5),_0x2d1f93(0x99),_0x2d1f93(0x9a),_0x2d1f93(0xa4),_0x2d1f93(0x9d),_0x2d1f93(0x97),_0x2d1f93(0xa1),_0x2d1f93(0x9e),_0x2d1f93(0xa0),_0x2d1f93(0x9b),_0x2d1f93(0x90)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4a3e1c=_0x415f;(function(_0x219268,_0x328cd4){var _0x380edc=_0x415f,_0x458da9=_0x219268();while(!![]){try{var _0x1f935a=parseInt(_0x380edc(0x12a))/0x1+parseInt(_0x380edc(0x12c))/0x2+-parseInt(_0x380edc(0x129))/0x3+-parseInt(_0x380edc(0x12d))/0x4+-parseInt(_0x380edc(0x128))/0x5+parseInt(_0x380edc(0x131))/0x6+parseInt(_0x380edc(0x12e))/0x7;if(_0x1f935a===_0x328cd4)break;else _0x458da9['push'](_0x458da9['shift']());}catch(_0x3d6eab){_0x458da9['push'](_0x458da9['shift']());}}}(_0x5606,0x907a4));import{ContextPlugin as _0x443d86}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0xaafa40}from'./aichathistorycontroller.js';function _0x415f(_0x49e938,_0x5baf62){var _0x5606ff=_0x5606();return _0x415f=function(_0x415f77,_0x319807){_0x415f77=_0x415f77-0x126;var _0x345f27=_0x5606ff[_0x415f77];return _0x345f27;},_0x415f(_0x49e938,_0x5baf62);}function _0x5606(){var _0x3a6535=['83796zNbnWf','pluginName','1283462bzDBrm','750856IhIlXU','1211364XJhBfk','isPremiumPlugin','requires','6727662dDdJhy','AIChatHistory','isOfficialPlugin','605150FEVhFh','3357996WpqxJO'];_0x5606=function(){return _0x3a6535;};return _0x5606();}import{AIChatHistoryUI as _0x199ee4}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x443d86{static get[_0x4a3e1c(0x130)](){return[_0xaafa40,_0x199ee4];}static get[_0x4a3e1c(0x12b)](){var _0xe644e3=_0x4a3e1c;return _0xe644e3(0x126);}static get[_0x4a3e1c(0x127)](){return!0x0;}static get[_0x4a3e1c(0x12f)](){return!0x0;}}
23
+ var _0x4d63d4=_0x1156;function _0x5370(){var _0x14889f=['8008epWPNm','28339DIrdlb','550qxOtnV','21213JBxbGn','pluginName','isPremiumPlugin','287940urYOEH','1256JtsBsu','isOfficialPlugin','requires','3615582zQeIQr','AIChatHistory','26QuXMWr','2466780zmGGuI','2326900iFwWUs'];_0x5370=function(){return _0x14889f;};return _0x5370();}(function(_0x38d2c8,_0x15615a){var _0x4ec8a9=_0x1156,_0x171048=_0x38d2c8();while(!![]){try{var _0x16dcfb=-parseInt(_0x4ec8a9(0x1e3))/0x1*(-parseInt(_0x4ec8a9(0x1df))/0x2)+parseInt(_0x4ec8a9(0x1e8))/0x3+parseInt(_0x4ec8a9(0x1e0))/0x4+-parseInt(_0x4ec8a9(0x1e1))/0x5+-parseInt(_0x4ec8a9(0x1dd))/0x6+-parseInt(_0x4ec8a9(0x1e2))/0x7*(-parseInt(_0x4ec8a9(0x1e9))/0x8)+-parseInt(_0x4ec8a9(0x1e5))/0x9*(-parseInt(_0x4ec8a9(0x1e4))/0xa);if(_0x16dcfb===_0x15615a)break;else _0x171048['push'](_0x171048['shift']());}catch(_0x184cfe){_0x171048['push'](_0x171048['shift']());}}}(_0x5370,0x4eb2c));import{ContextPlugin as _0x43b25e}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x50b4b9}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x59c38c}from'./aichathistoryui.js';function _0x1156(_0x124bbe,_0x16794c){var _0x53707c=_0x5370();return _0x1156=function(_0x115602,_0x32bfe5){_0x115602=_0x115602-0x1dd;var _0x4f87fd=_0x53707c[_0x115602];return _0x4f87fd;},_0x1156(_0x124bbe,_0x16794c);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x43b25e{static get[_0x4d63d4(0x1eb)](){return[_0x50b4b9,_0x59c38c];}static get[_0x4d63d4(0x1e6)](){var _0x21c07a=_0x4d63d4;return _0x21c07a(0x1de);}static get[_0x4d63d4(0x1ea)](){return!0x0;}static get[_0x4d63d4(0x1e7)](){return!0x0;}}