@ckeditor/ckeditor5-ai 47.0.0-alpha.9 → 47.0.0

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 (123) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/legacyerrors.js +1 -1
  15. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  16. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  17. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  20. package/src/aiassistant/ui/form/aiformview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  22. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/model/aichatmodels.js +1 -1
  35. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  36. package/src/aichat/ui/aichatfeedview.js +1 -1
  37. package/src/aichat/ui/aichatheaderview.js +1 -1
  38. package/src/aichat/ui/aichatview.js +1 -1
  39. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  43. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  58. package/src/aichat/utils/eventnames.js +1 -1
  59. package/src/aichat/utils/promisequeue.js +1 -1
  60. package/src/aichat/utils/scrollmanager.js +1 -1
  61. package/src/aichathistory/aichathistory.js +1 -1
  62. package/src/aichathistory/aichathistorycontroller.js +1 -1
  63. package/src/aichathistory/aichathistoryui.js +1 -1
  64. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  65. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  66. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  67. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  68. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  69. package/src/aicore/aiconnector.js +1 -1
  70. package/src/aicore/aiediting.js +1 -1
  71. package/src/aicore/model/aicapabilities.js +1 -1
  72. package/src/aicore/model/aiinteraction.js +1 -1
  73. package/src/aicore/model/aireply.js +1 -1
  74. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  75. package/src/aicore/pipeline/airesponseparser.js +2 -2
  76. package/src/aicore/ui/aidisclaimerview.js +1 -1
  77. package/src/aicore/ui/aiskeleton.js +1 -1
  78. package/src/aicore/ui/aispinner.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  80. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  84. package/src/aicore/utils/createresizebutton.js +1 -1
  85. package/src/aicore/utils/documentposition.js +1 -1
  86. package/src/aicore/utils/documentrange.js +1 -1
  87. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  88. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  89. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  90. package/src/aicore/utils/htmlparser.js +1 -1
  91. package/src/aicore/utils/htmlstreamer.js +1 -1
  92. package/src/aieditorintegration/aieditorintegration.js +1 -1
  93. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  94. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  95. package/src/aiquickactions/aiquickactions.js +1 -1
  96. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  97. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  98. package/src/aiquickactions/aiquickactionsui.js +1 -1
  99. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  100. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  101. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  102. package/src/aireviewmode/aireviewmode.js +1 -1
  103. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  104. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  105. package/src/aireviewmode/aireviewmodeui.js +1 -1
  106. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  107. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  108. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  110. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  111. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  112. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  119. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  120. package/src/aitabs/aitabs.js +1 -1
  121. package/src/aitabs/tabs/aitabsview.js +1 -1
  122. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  123. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1df8(){const _0x5dfc3d=['bindTemplate','tooltip','setModel','ck-ai-chat-controls-button','addMany','reasoningActive','AI_CHAT_DISABLE_REASONING','_modelNameView','_reasoningButton','_modelSelectionDropdown','AI_CHAT_REASONING','modelSelectorVisible','7388300zlYIzR','setTemplate','source','1225084DtAtfP','_createModelNameView','9150768vyFInD','model','text','enabled','execute','_modelSelectionDropdownItems','enableModelSelector','ck-ai-chat-controls__model-selection__item-capabilities','setWebSearch','10856867iiroGl','content','_createCommandsButton','clear','setReasoning','disableModelSelector','3NFsOWX','isOn','2995AVGeaW','button','13naqSEd','ck-ai-chat-controls__model-name','ck-ai-chat-controls__model-selection__item-description','ck-hidden','AI_CHAT_COMMANDS','description','span','_createWebSearchButton','_getCapabilityParts','AI_CHAT_SEARCH_WEB','style','locale','AI_CHAT_ENABLE_REASONING','activeModelId','160602mzDDwz','setModelList','11cCxKio','ck-ai-chat-controls__model-selection__item-name','ck-ai-chat-controls__model-selection','set','modelSelectorEnabled','activeModelName','toggleWebSearch','isEnabled','menuitemradio','Commands\x20are\x20not\x20implemented\x20yet.','div','capabilities','webSearchActive','toggleReasoning','ck-ai-chat__prompt-capabilities','ck-ai-chat-controls-button--commands','withText','12766728NevGpz','_commandsButton','createCollection','webSearch','extendTemplate','label','length','buttonView','bind','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','agent','AI_CHAT_CAPABILITIES_NO','_createModelSelectionDropdown','add','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','fire','listenTo','AI_CHAT_ENABLE_WEB_SEARCH','name','selectModel','AI_CHAT_DISABLE_WEB_SEARCH','_webSearchButton','1518OKxFNT','log','isVisible','toLowerCase','startsWith','reasoning','AI_CHAT_CAPABILITIES_YES','_createReasoningButton','ck-button__label'];_0x1df8=function(){return _0x5dfc3d;};return _0x1df8();}const _0x49fc10=_0x2b0c;(function(_0x5388e0,_0x1d9aa5){const _0x311277=_0x2b0c,_0x925af2=_0x5388e0();while(!![]){try{const _0x87ffb1=-parseInt(_0x311277(0x127))/0x1*(-parseInt(_0x311277(0x135))/0x2)+parseInt(_0x311277(0x123))/0x3*(parseInt(_0x311277(0x112))/0x4)+-parseInt(_0x311277(0x125))/0x5*(parseInt(_0x311277(0xfa))/0x6)+parseInt(_0x311277(0x11d))/0x7+-parseInt(_0x311277(0xe4))/0x8+-parseInt(_0x311277(0x114))/0x9+-parseInt(_0x311277(0x10f))/0xa*(-parseInt(_0x311277(0x137))/0xb);if(_0x87ffb1===_0x1d9aa5)break;else _0x925af2['push'](_0x925af2['shift']());}catch(_0x5420bc){_0x925af2['push'](_0x925af2['shift']());}}}(_0x1df8,0xd5d4f));import{Collection as _0x5246c9}from'ckeditor5/src/utils.js';import{IconAI as _0xf357d7,IconBulb as _0x2b61f7,IconWeb as _0x32b44d}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x199c62,ButtonLabelView as _0x8e4a32,ButtonView as _0x5cde7b,createDropdown as _0x4fc89d,IconView as _0x54b3f1,UIModel as _0x13118f,View as _0x36154d}from'ckeditor5/src/ui.js';function _0x2b0c(_0x383b90,_0x2a23db){const _0x1df8f8=_0x1df8();return _0x2b0c=function(_0x2b0c70,_0x121772){_0x2b0c70=_0x2b0c70-0xd4;let _0x41d0e7=_0x1df8f8[_0x2b0c70];return _0x41d0e7;},_0x2b0c(_0x383b90,_0x2a23db);}import{getTranslation as _0x339bf8}from'../../../aicore/utils/common-translations.js';const Oo=_0x49fc10(0xe1),uo=_0x49fc10(0x106),Ho=_0x49fc10(0xe2),Mo=_0x49fc10(0xd5),Do=_0x49fc10(0xd4),Wo=_0x49fc10(0x129),yo=_0x49fc10(0x11b),Go='n';export class AIChatPromptCapabilitiesView extends _0x36154d{[_0x49fc10(0xf9)];[_0x49fc10(0x10b)];[_0x49fc10(0xe5)];[_0x49fc10(0x10c)];[_0x49fc10(0x119)];[_0x49fc10(0x10a)];constructor(_0x136788){const _0x6586ba=_0x49fc10;super(_0x136788),this[_0x6586ba(0xd6)](_0x6586ba(0xdf),!0x1),this[_0x6586ba(0xd6)](_0x6586ba(0x108),!0x1),this[_0x6586ba(0xd6)](_0x6586ba(0x10e),!0x0),this[_0x6586ba(0xd6)](_0x6586ba(0xd7),!0x0),this[_0x6586ba(0xd6)](_0x6586ba(0x134),''),this[_0x6586ba(0xd6)](_0x6586ba(0xd8),''),this[_0x6586ba(0x10c)]=this[_0x6586ba(0xf0)](),this[_0x6586ba(0x10a)]=this[_0x6586ba(0x113)](),this[_0x6586ba(0xf9)]=this[_0x6586ba(0x12e)](),this[_0x6586ba(0x10b)]=this[_0x6586ba(0x101)](),this[_0x6586ba(0xe5)]=this[_0x6586ba(0x11f)](),this[_0x6586ba(0x10c)][_0x6586ba(0xeb)][_0x6586ba(0xec)](_0x6586ba(0xfc))['to'](this,_0x6586ba(0x10e),_0x1adc79=>_0x1adc79),this[_0x6586ba(0x10c)][_0x6586ba(0xeb)][_0x6586ba(0xec)](_0x6586ba(0x104))['to'](this,_0x6586ba(0xd7),_0x2b6dac=>_0x2b6dac?this[_0x6586ba(0x10c)][_0x6586ba(0xeb)][_0x6586ba(0xe9)]:_0x339bf8(this[_0x6586ba(0x132)],_0x6586ba(0xed))),this[_0x6586ba(0x10c)][_0x6586ba(0xec)](_0x6586ba(0xda))['to'](this,_0x6586ba(0xd7),_0x1e50fc=>_0x1e50fc),this[_0x6586ba(0xf9)][_0x6586ba(0xec)](_0x6586ba(0x124))['to'](this,_0x6586ba(0xdf),_0x5ac9a6=>_0x5ac9a6),this[_0x6586ba(0xf9)][_0x6586ba(0xec)](_0x6586ba(0xe3))['to'](this,_0x6586ba(0x10e),_0x1f289a=>!_0x1f289a),this[_0x6586ba(0xf9)][_0x6586ba(0xec)](_0x6586ba(0x104))['to'](this,_0x6586ba(0xdf),_0x174307=>_0x339bf8(this[_0x6586ba(0x132)],_0x174307?_0x6586ba(0xf8):_0x6586ba(0xf5))),this[_0x6586ba(0x10b)][_0x6586ba(0xec)](_0x6586ba(0x124))['to'](this,_0x6586ba(0x108),_0x32b551=>_0x32b551),this[_0x6586ba(0x10b)][_0x6586ba(0xec)](_0x6586ba(0xe3))['to'](this,_0x6586ba(0x10e),_0x135cd9=>!_0x135cd9),this[_0x6586ba(0x10b)][_0x6586ba(0xec)](_0x6586ba(0x104))['to'](this,_0x6586ba(0x108),_0x54d563=>_0x339bf8(this[_0x6586ba(0x132)],_0x54d563?_0x6586ba(0x109):_0x6586ba(0x133))),this[_0x6586ba(0x110)]({'tag':_0x6586ba(0xdd),'attributes':{'class':[Oo]},'children':[this[_0x6586ba(0x10c)],this[_0x6586ba(0x10a)],this[_0x6586ba(0xf9)],this[_0x6586ba(0x10b)],this[_0x6586ba(0xe5)]]}),this[_0x6586ba(0x119)]=new _0x5246c9(),_0x199c62(this[_0x6586ba(0x10c)],this[_0x6586ba(0x119)]);}[_0x49fc10(0x136)](_0x11e2dd,_0x55c2dd){const _0xafa205=_0x49fc10;if(this[_0xafa205(0xd6)](_0xafa205(0x10e),!(_0x55c2dd&&_0x11e2dd[_0xafa205(0xea)]<=0x1)),this[_0xafa205(0x119)][_0xafa205(0x120)](),_0x11e2dd?.[_0xafa205(0xea)])for(const _0x5e6a03 of _0x11e2dd){const _0x2cee65=new _0x13118f({'label':_0x5e6a03[_0xafa205(0xf6)],'withText':!0x0,'role':_0xafa205(0xdb),'id':_0x5e6a03['id'],'model':_0x5e6a03});_0x2cee65[_0xafa205(0xec)](_0xafa205(0x124))['to'](this,_0xafa205(0x134),_0x515b96=>_0x515b96===_0x5e6a03['id']),this[_0xafa205(0x119)][_0xafa205(0xf1)]({'type':_0xafa205(0x126),'model':_0x2cee65,'labelView':new js(this[_0xafa205(0x132)],_0x5e6a03)});}}[_0x49fc10(0x11c)](_0x29ebf6){const _0x475baf=_0x49fc10;this[_0x475baf(0xd6)](_0x475baf(0xdf),_0x29ebf6);}[_0x49fc10(0x121)](_0x596146){const _0x561006=_0x49fc10;this[_0x561006(0xd6)](_0x561006(0x108),_0x596146);}[_0x49fc10(0x105)](_0x57f18c){const _0x2ffd79=_0x49fc10;if(!_0x57f18c)return;this[_0x2ffd79(0x134)]=_0x57f18c['id'],this[_0x2ffd79(0xd8)]=_0x57f18c[_0x2ffd79(0xf6)]||_0x57f18c['id'],this[_0x2ffd79(0x10c)][_0x2ffd79(0xeb)][_0x2ffd79(0xd6)](_0x2ffd79(0xe9),_0x57f18c[_0x2ffd79(0xf6)]),this[_0x2ffd79(0x10c)][_0x2ffd79(0xeb)][_0x2ffd79(0xd6)](_0x2ffd79(0x104),_0x57f18c[_0x2ffd79(0xf6)]);const _0x3f880d=_0x57f18c[_0x2ffd79(0xde)][_0x2ffd79(0xe7)]?.[_0x2ffd79(0x117)]??!0x1;this[_0x2ffd79(0xd6)](_0x2ffd79(0xdf),!0x1),this[_0x2ffd79(0xf9)][_0x2ffd79(0xd6)](_0x2ffd79(0x124),!0x1),this[_0x2ffd79(0xf9)][_0x2ffd79(0xd6)](_0x2ffd79(0xda),_0x3f880d),this[_0x2ffd79(0xf9)][_0x2ffd79(0xd6)](_0x2ffd79(0xfc),_0x3f880d);const _0x3b9173=_0x57f18c[_0x2ffd79(0xde)][_0x2ffd79(0xff)]?.[_0x2ffd79(0x117)]??!0x1;this[_0x2ffd79(0xd6)](_0x2ffd79(0x108),!0x1),this[_0x2ffd79(0x10b)][_0x2ffd79(0xd6)](_0x2ffd79(0x124),!0x1),this[_0x2ffd79(0x10b)][_0x2ffd79(0xd6)](_0x2ffd79(0xda),_0x3b9173),this[_0x2ffd79(0x10b)][_0x2ffd79(0xd6)](_0x2ffd79(0xfc),_0x3b9173);}[_0x49fc10(0x11a)](){const _0x2cd16f=_0x49fc10;this[_0x2cd16f(0xd6)](_0x2cd16f(0xd7),!0x0),this[_0x2cd16f(0xd6)](_0x2cd16f(0x10e),!0x0);}[_0x49fc10(0x122)](_0x1ae7c8){const _0x5d37df=_0x49fc10;this[_0x5d37df(0xd6)](_0x5d37df(0xd7),!0x1),_0x1ae7c8&&this[_0x5d37df(0xd6)](_0x5d37df(0x10e),!0x1);}[_0x49fc10(0x12e)](){const _0x3bc4fe=_0x49fc10,_0xceaeb1=new _0x5cde7b();return _0xceaeb1[_0x3bc4fe(0xd6)]({'label':_0x339bf8(this[_0x3bc4fe(0x132)],_0x3bc4fe(0x130)),'icon':_0x32b44d,'class':uo,'isToggleable':!0x0,'tooltipPosition':Go}),_0xceaeb1['on'](_0x3bc4fe(0x118),()=>{const _0x1079b8=_0x3bc4fe;this[_0x1079b8(0xf3)](_0x1079b8(0xd9));}),_0xceaeb1;}[_0x49fc10(0x101)](){const _0x51f2f8=_0x49fc10,_0x541259=new _0x5cde7b();return _0x541259[_0x51f2f8(0xd6)]({'label':_0x339bf8(this[_0x51f2f8(0x132)],_0x51f2f8(0x10d)),'icon':_0x2b61f7,'class':uo,'isToggleable':!0x0,'tooltipPosition':Go}),_0x541259['on'](_0x51f2f8(0x118),()=>{const _0xf498f=_0x51f2f8;this[_0xf498f(0xf3)](_0xf498f(0xe0));}),_0x541259;}[_0x49fc10(0x11f)](){const _0x426459=_0x49fc10,_0x4466b6=new _0x5cde7b();return _0x4466b6[_0x426459(0xd6)]({'label':_0x339bf8(this[_0x426459(0x132)],_0x426459(0x12b)),'icon':_0xf357d7,'withText':!0x0,'class':uo,'isToggleable':!0x0,'tooltip':_0x339bf8(this[_0x426459(0x132)],_0x426459(0x12b)),'tooltipPosition':Go}),_0x4466b6[_0x426459(0xe8)]({'attributes':{'class':[Ho]}}),_0x4466b6['on'](_0x426459(0x118),()=>{const _0xac2550=_0x426459;console[_0xac2550(0xfb)](_0xac2550(0xdc)),alert(_0xac2550(0xdc));}),_0x4466b6;}[_0x49fc10(0xf0)](){const _0x4cb4dc=_0x49fc10,_0x16638b=_0x4fc89d(this[_0x4cb4dc(0x132)]);return _0x16638b[_0x4cb4dc(0xd6)]({'panelPosition':'ne','class':[Mo]}),_0x16638b[_0x4cb4dc(0xeb)][_0x4cb4dc(0xd6)]({'label':_0x339bf8(this[_0x4cb4dc(0x132)],_0x4cb4dc(0xf2)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Go}),this[_0x4cb4dc(0xf4)](_0x16638b,_0x4cb4dc(0x118),_0x595e5b=>{const _0x548c32=_0x4cb4dc;this[_0x548c32(0xf3)](_0x548c32(0xf7),_0x595e5b[_0x548c32(0x111)][_0x548c32(0x115)]);}),_0x16638b;}[_0x49fc10(0x113)](){const _0x185dd2=_0x49fc10,_0x156dc3=new jo(this[_0x185dd2(0x132)]);return _0x156dc3[_0x185dd2(0xec)](_0x185dd2(0x116))['to'](this,_0x185dd2(0xd8),_0x440616=>_0x440616??''),_0x156dc3[_0x185dd2(0xec)](_0x185dd2(0xfc))['to'](this,_0x185dd2(0x10e),this,_0x185dd2(0xd8),(_0x4c8f38,_0x3c9eeb)=>!_0x4c8f38&&!_0x3c9eeb?.[_0x185dd2(0xfd)]()[_0x185dd2(0xfe)](_0x185dd2(0xee))),_0x156dc3;}}class js extends _0x8e4a32{constructor(_0x133d73,_0x37e591){const _0x2e0fc3=_0x49fc10;super();const _0x4fb544=this[_0x2e0fc3(0x103)],_0x4346f7=this[_0x2e0fc3(0xe6)]();this[_0x2e0fc3(0x110)]({'tag':_0x2e0fc3(0xdd),'attributes':{'class':['ck',_0x2e0fc3(0x102)],'style':_0x4fb544['to'](_0x2e0fc3(0x131)),'id':_0x4fb544['to']('id')},'children':[{'tag':_0x2e0fc3(0xdd),'attributes':{'class':[Do]},'children':[{'text':_0x4fb544['to'](_0x2e0fc3(0x116))}]},{'tag':_0x2e0fc3(0xdd),'attributes':{'class':[Wo]},'children':[{'tag':_0x2e0fc3(0x12d),'children':[{'text':_0x37e591[_0x2e0fc3(0x12c)]}]}]},{'tag':_0x2e0fc3(0xdd),'attributes':{'class':[yo]},'children':_0x4346f7}]}),_0x4346f7[_0x2e0fc3(0x107)](this[_0x2e0fc3(0x12f)](_0x133d73,_0x32b44d,_0x2e0fc3(0x130),_0x37e591[_0x2e0fc3(0xde)][_0x2e0fc3(0xe7)]?.[_0x2e0fc3(0x117)]??!0x1)),_0x4346f7[_0x2e0fc3(0x107)](this[_0x2e0fc3(0x12f)](_0x133d73,_0x2b61f7,_0x2e0fc3(0x10d),_0x37e591[_0x2e0fc3(0xde)][_0x2e0fc3(0xff)]?.[_0x2e0fc3(0x117)]??!0x1));}[_0x49fc10(0x12f)](_0xec32,_0x16247b,_0x4d7c5c,_0x17bce6){const _0x1cf3eb=_0x49fc10,_0x587528=new _0x54b3f1();_0x587528[_0x1cf3eb(0x11e)]=_0x16247b;const _0x530b61=new _0x36154d(_0xec32);_0x530b61[_0x1cf3eb(0x110)]({'tag':_0x1cf3eb(0x12d),'children':[{'text':_0x339bf8(_0xec32,_0x4d7c5c)+':\x20'}]});const _0x574b34=new _0x36154d(_0xec32);return _0x574b34[_0x1cf3eb(0x110)]({'tag':_0x1cf3eb(0x12d),'children':[{'text':_0x339bf8(_0xec32,_0x17bce6?_0x1cf3eb(0x100):_0x1cf3eb(0xef))}]}),[_0x587528,_0x530b61,_0x574b34];}}class jo extends _0x36154d{constructor(_0xcd9885){const _0x26efb3=_0x49fc10;super(_0xcd9885),this[_0x26efb3(0xd6)](_0x26efb3(0x116),void 0x0),this[_0x26efb3(0xd6)](_0x26efb3(0xfc),!0x0);const _0x40e2fd=this[_0x26efb3(0x103)];this[_0x26efb3(0x110)]({'tag':_0x26efb3(0x12d),'attributes':{'class':['ck',_0x26efb3(0x128),_0x40e2fd['if'](_0x26efb3(0xfc),_0x26efb3(0x12a),_0x5da055=>!_0x5da055)]},'children':[{'text':_0x40e2fd['to'](_0x26efb3(0x116))}]});}}
23
+ const _0x5e100a=_0x2ddd;(function(_0x25d1ae,_0x236851){const _0x155c3c=_0x2ddd,_0x12bbe9=_0x25d1ae();while(!![]){try{const _0x1815ae=parseInt(_0x155c3c(0xf7))/0x1*(-parseInt(_0x155c3c(0xef))/0x2)+-parseInt(_0x155c3c(0xc5))/0x3*(parseInt(_0x155c3c(0xd7))/0x4)+parseInt(_0x155c3c(0xde))/0x5+parseInt(_0x155c3c(0xc0))/0x6*(parseInt(_0x155c3c(0xa8))/0x7)+parseInt(_0x155c3c(0xf1))/0x8+-parseInt(_0x155c3c(0xe7))/0x9+-parseInt(_0x155c3c(0xed))/0xa;if(_0x1815ae===_0x236851)break;else _0x12bbe9['push'](_0x12bbe9['shift']());}catch(_0x8f9063){_0x12bbe9['push'](_0x12bbe9['shift']());}}}(_0x2881,0x86d3b));import{Collection as _0xfc2991}from'ckeditor5/src/utils.js';import{IconAI as _0xa9523b,IconBulb as _0x2c3d2e,IconWeb as _0x1808c9}from'@ckeditor/ckeditor5-icons';function _0x2ddd(_0x426d76,_0x3f5fe7){const _0x288126=_0x2881();return _0x2ddd=function(_0x2dddfa,_0x42f497){_0x2dddfa=_0x2dddfa-0x97;let _0x468d84=_0x288126[_0x2dddfa];return _0x468d84;},_0x2ddd(_0x426d76,_0x3f5fe7);}import{addListToDropdown as _0x3b1778,ButtonLabelView as _0x3edc36,ButtonView as _0x5e4c81,createDropdown as _0xcbe46d,IconView as _0x3cea26,UIModel as _0x48d887,View as _0x50fe97}from'ckeditor5/src/ui.js';import{getTranslation as _0x2c93d2}from'../../../aicore/utils/common-translations.js';const Ho=_0x5e100a(0xe5),Vo=_0x5e100a(0xdc),Mo=_0x5e100a(0x9d),Lo=_0x5e100a(0xd3),Do=_0x5e100a(0x9a),Wo=_0x5e100a(0xa6),yo=_0x5e100a(0xea),Go='n';function _0x2881(){const _0x12d985=['toLowerCase','ck-ai-chat-controls__model-selection__item-description','bindTemplate','7TqCndr','listenTo','reasoningActive','AI_CHAT_COMMANDS','ck-hidden','add','modelSelectorVisible','_createCommandsButton','isEnabled','addMany','capabilities','button','activeModelId','log','_getCapabilityParts','toggleReasoning','AI_CHAT_REASONING','setWebSearch','description','fire','buttonView','extendTemplate','enabled','text','5322090QJWZBE','startsWith','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','agent','setModelList','3CxXZUq','reasoning','AI_CHAT_SEARCH_WEB','isVisible','_modelSelectionDropdownItems','_createModelSelectionDropdown','isOn','ck-button__label','setModel','_reasoningButton','AI_CHAT_DISABLE_WEB_SEARCH','tooltip','style','webSearchActive','ck-ai-chat-controls__model-selection','div','withText','AI_CHAT_ENABLE_WEB_SEARCH','2435588sruKPV','ck-ai-chat-controls__model-name','_webSearchButton','webSearch','toggleWebSearch','ck-ai-chat-controls-button','_createWebSearchButton','3609065wIcpbA','_createModelNameView','activeModelName','execute','setReasoning','_createReasoningButton','set','ck-ai-chat__prompt-capabilities','modelSelectorEnabled','1278414ORJYNe','createCollection','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','ck-ai-chat-controls__model-selection__item-capabilities','model','content','574520bkfzaH','label','6476UhYztE','Commands\x20are\x20not\x20implemented\x20yet.','242288STUGqF','selectModel','locale','AI_CHAT_CAPABILITIES_NO','span','_modelSelectionDropdown','86FIoOKt','disableModelSelector','length','setTemplate','menuitemradio','bind','ck-ai-chat-controls__model-selection__item-name','enableModelSelector','name','ck-ai-chat-controls-button--commands','AI_CHAT_DISABLE_REASONING','_commandsButton','_modelNameView','source','AI_CHAT_ENABLE_REASONING','AI_CHAT_CAPABILITIES_YES','clear'];_0x2881=function(){return _0x12d985;};return _0x2881();}export class AIChatPromptCapabilitiesView extends _0x50fe97{[_0x5e100a(0xd9)];[_0x5e100a(0xce)];[_0x5e100a(0x9f)];[_0x5e100a(0xf6)];[_0x5e100a(0xc9)];[_0x5e100a(0xa0)];constructor(_0x50aa8c){const _0x2907c5=_0x5e100a;super(_0x50aa8c),this[_0x2907c5(0xe4)](_0x2907c5(0xd2),!0x1),this[_0x2907c5(0xe4)](_0x2907c5(0xaa),!0x1),this[_0x2907c5(0xe4)](_0x2907c5(0xae),!0x0),this[_0x2907c5(0xe4)](_0x2907c5(0xe6),!0x0),this[_0x2907c5(0xe4)](_0x2907c5(0xb4),''),this[_0x2907c5(0xe4)](_0x2907c5(0xe0),''),this[_0x2907c5(0xf6)]=this[_0x2907c5(0xca)](),this[_0x2907c5(0xa0)]=this[_0x2907c5(0xdf)](),this[_0x2907c5(0xd9)]=this[_0x2907c5(0xdd)](),this[_0x2907c5(0xce)]=this[_0x2907c5(0xe3)](),this[_0x2907c5(0x9f)]=this[_0x2907c5(0xaf)](),this[_0x2907c5(0xf6)][_0x2907c5(0xbc)][_0x2907c5(0x99)](_0x2907c5(0xc8))['to'](this,_0x2907c5(0xae),_0x120e59=>_0x120e59),this[_0x2907c5(0xf6)][_0x2907c5(0xbc)][_0x2907c5(0x99)](_0x2907c5(0xd0))['to'](this,_0x2907c5(0xe6),_0x4eee06=>_0x4eee06?this[_0x2907c5(0xf6)][_0x2907c5(0xbc)][_0x2907c5(0xee)]:_0x2c93d2(this[_0x2907c5(0xf3)],_0x2907c5(0xc2))),this[_0x2907c5(0xf6)][_0x2907c5(0x99)](_0x2907c5(0xb0))['to'](this,_0x2907c5(0xe6),_0x1c2d49=>_0x1c2d49),this[_0x2907c5(0xd9)][_0x2907c5(0x99)](_0x2907c5(0xcb))['to'](this,_0x2907c5(0xd2),_0x55847b=>_0x55847b),this[_0x2907c5(0xd9)][_0x2907c5(0x99)](_0x2907c5(0xd5))['to'](this,_0x2907c5(0xae),_0x4b5502=>!_0x4b5502),this[_0x2907c5(0xd9)][_0x2907c5(0x99)](_0x2907c5(0xd0))['to'](this,_0x2907c5(0xd2),_0x3b7946=>_0x2c93d2(this[_0x2907c5(0xf3)],_0x3b7946?_0x2907c5(0xcf):_0x2907c5(0xd6))),this[_0x2907c5(0xce)][_0x2907c5(0x99)](_0x2907c5(0xcb))['to'](this,_0x2907c5(0xaa),_0x84ffea=>_0x84ffea),this[_0x2907c5(0xce)][_0x2907c5(0x99)](_0x2907c5(0xd5))['to'](this,_0x2907c5(0xae),_0x2a44b5=>!_0x2a44b5),this[_0x2907c5(0xce)][_0x2907c5(0x99)](_0x2907c5(0xd0))['to'](this,_0x2907c5(0xaa),_0x4982ad=>_0x2c93d2(this[_0x2907c5(0xf3)],_0x4982ad?_0x2907c5(0x9e):_0x2907c5(0xa2))),this[_0x2907c5(0x97)]({'tag':_0x2907c5(0xd4),'attributes':{'class':[Ho]},'children':[this[_0x2907c5(0xf6)],this[_0x2907c5(0xa0)],this[_0x2907c5(0xd9)],this[_0x2907c5(0xce)],this[_0x2907c5(0x9f)]]}),this[_0x2907c5(0xc9)]=new _0xfc2991(),_0x3b1778(this[_0x2907c5(0xf6)],this[_0x2907c5(0xc9)]);}[_0x5e100a(0xc4)](_0x7525f,_0x300fb0){const _0x14fab3=_0x5e100a;if(this[_0x14fab3(0xe4)](_0x14fab3(0xae),!(_0x300fb0&&_0x7525f[_0x14fab3(0xf9)]<=0x1)),this[_0x14fab3(0xc9)][_0x14fab3(0xa4)](),_0x7525f?.[_0x14fab3(0xf9)])for(const _0x5e33a3 of _0x7525f){const _0x30547d=new _0x48d887({'label':_0x5e33a3[_0x14fab3(0x9c)],'withText':!0x0,'role':_0x14fab3(0x98),'id':_0x5e33a3['id'],'model':_0x5e33a3});_0x30547d[_0x14fab3(0x99)](_0x14fab3(0xcb))['to'](this,_0x14fab3(0xb4),_0x41c8d8=>_0x41c8d8===_0x5e33a3['id']),this[_0x14fab3(0xc9)][_0x14fab3(0xad)]({'type':_0x14fab3(0xb3),'model':_0x30547d,'labelView':new js(this[_0x14fab3(0xf3)],_0x5e33a3)});}}[_0x5e100a(0xb9)](_0x4ebd57){const _0x1851b1=_0x5e100a;this[_0x1851b1(0xe4)](_0x1851b1(0xd2),_0x4ebd57);}[_0x5e100a(0xe2)](_0x36e27d){const _0x3b825d=_0x5e100a;this[_0x3b825d(0xe4)](_0x3b825d(0xaa),_0x36e27d);}[_0x5e100a(0xcd)](_0x6c8b8c){const _0x5dc7f4=_0x5e100a;if(!_0x6c8b8c)return;this[_0x5dc7f4(0xb4)]=_0x6c8b8c['id'],this[_0x5dc7f4(0xe0)]=_0x6c8b8c[_0x5dc7f4(0x9c)]||_0x6c8b8c['id'],this[_0x5dc7f4(0xf6)][_0x5dc7f4(0xbc)][_0x5dc7f4(0xe4)](_0x5dc7f4(0xee),_0x6c8b8c[_0x5dc7f4(0x9c)]),this[_0x5dc7f4(0xf6)][_0x5dc7f4(0xbc)][_0x5dc7f4(0xe4)](_0x5dc7f4(0xd0),_0x6c8b8c[_0x5dc7f4(0x9c)]);const _0x1f5072=_0x6c8b8c[_0x5dc7f4(0xb2)][_0x5dc7f4(0xda)]?.[_0x5dc7f4(0xbe)]??!0x1;this[_0x5dc7f4(0xe4)](_0x5dc7f4(0xd2),!0x1),this[_0x5dc7f4(0xd9)][_0x5dc7f4(0xe4)](_0x5dc7f4(0xcb),!0x1),this[_0x5dc7f4(0xd9)][_0x5dc7f4(0xe4)](_0x5dc7f4(0xb0),_0x1f5072),this[_0x5dc7f4(0xd9)][_0x5dc7f4(0xe4)](_0x5dc7f4(0xc8),_0x1f5072);const _0x126afd=_0x6c8b8c[_0x5dc7f4(0xb2)][_0x5dc7f4(0xc6)]?.[_0x5dc7f4(0xbe)]??!0x1;this[_0x5dc7f4(0xe4)](_0x5dc7f4(0xaa),!0x1),this[_0x5dc7f4(0xce)][_0x5dc7f4(0xe4)](_0x5dc7f4(0xcb),!0x1),this[_0x5dc7f4(0xce)][_0x5dc7f4(0xe4)](_0x5dc7f4(0xb0),_0x126afd),this[_0x5dc7f4(0xce)][_0x5dc7f4(0xe4)](_0x5dc7f4(0xc8),_0x126afd);}[_0x5e100a(0x9b)](){const _0x4d559f=_0x5e100a;this[_0x4d559f(0xe4)](_0x4d559f(0xe6),!0x0),this[_0x4d559f(0xe4)](_0x4d559f(0xae),!0x0);}[_0x5e100a(0xf8)](_0x4c6a73){const _0x5e0e80=_0x5e100a;this[_0x5e0e80(0xe4)](_0x5e0e80(0xe6),!0x1),_0x4c6a73&&this[_0x5e0e80(0xe4)](_0x5e0e80(0xae),!0x1);}[_0x5e100a(0xdd)](){const _0x27b78e=_0x5e100a,_0x2f6ce1=new _0x5e4c81();return _0x2f6ce1[_0x27b78e(0xe4)]({'label':_0x2c93d2(this[_0x27b78e(0xf3)],_0x27b78e(0xc7)),'icon':_0x1808c9,'class':Vo,'isToggleable':!0x0,'tooltipPosition':Go}),_0x2f6ce1['on'](_0x27b78e(0xe1),()=>{const _0x5b63b7=_0x27b78e;this[_0x5b63b7(0xbb)](_0x5b63b7(0xdb));}),_0x2f6ce1;}[_0x5e100a(0xe3)](){const _0x188af5=_0x5e100a,_0x2215f3=new _0x5e4c81();return _0x2215f3[_0x188af5(0xe4)]({'label':_0x2c93d2(this[_0x188af5(0xf3)],_0x188af5(0xb8)),'icon':_0x2c3d2e,'class':Vo,'isToggleable':!0x0,'tooltipPosition':Go}),_0x2215f3['on'](_0x188af5(0xe1),()=>{const _0x6c34f1=_0x188af5;this[_0x6c34f1(0xbb)](_0x6c34f1(0xb7));}),_0x2215f3;}[_0x5e100a(0xaf)](){const _0x2c27d6=_0x5e100a,_0x2be18f=new _0x5e4c81();return _0x2be18f[_0x2c27d6(0xe4)]({'label':_0x2c93d2(this[_0x2c27d6(0xf3)],_0x2c27d6(0xab)),'icon':_0xa9523b,'withText':!0x0,'class':Vo,'isToggleable':!0x0,'tooltip':_0x2c93d2(this[_0x2c27d6(0xf3)],_0x2c27d6(0xab)),'tooltipPosition':Go}),_0x2be18f[_0x2c27d6(0xbd)]({'attributes':{'class':[Mo]}}),_0x2be18f['on'](_0x2c27d6(0xe1),()=>{const _0x5dd426=_0x2c27d6;console[_0x5dd426(0xb5)](_0x5dd426(0xf0)),alert(_0x5dd426(0xf0));}),_0x2be18f;}[_0x5e100a(0xca)](){const _0x57afe4=_0x5e100a,_0xabfb2c=_0xcbe46d(this[_0x57afe4(0xf3)]);return _0xabfb2c[_0x57afe4(0xe4)]({'panelPosition':'ne','class':[Lo]}),_0xabfb2c[_0x57afe4(0xbc)][_0x57afe4(0xe4)]({'label':_0x2c93d2(this[_0x57afe4(0xf3)],_0x57afe4(0xe9)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Go}),this[_0x57afe4(0xa9)](_0xabfb2c,_0x57afe4(0xe1),_0x1adeb7=>{const _0x30033f=_0x57afe4;this[_0x30033f(0xbb)](_0x30033f(0xf2),_0x1adeb7[_0x30033f(0xa1)][_0x30033f(0xeb)]);}),_0xabfb2c;}[_0x5e100a(0xdf)](){const _0x58e911=_0x5e100a,_0x2ae8ae=new jo(this[_0x58e911(0xf3)]);return _0x2ae8ae[_0x58e911(0x99)](_0x58e911(0xbf))['to'](this,_0x58e911(0xe0),_0x4baee4=>_0x4baee4??''),_0x2ae8ae[_0x58e911(0x99)](_0x58e911(0xc8))['to'](this,_0x58e911(0xae),this,_0x58e911(0xe0),(_0x166d5d,_0x2d9139)=>!_0x166d5d&&!_0x2d9139?.[_0x58e911(0xa5)]()[_0x58e911(0xc1)](_0x58e911(0xc3))),_0x2ae8ae;}}class js extends _0x3edc36{constructor(_0x2c850b,_0x34dd2e){const _0x34f2a1=_0x5e100a;super();const _0x299caa=this[_0x34f2a1(0xa7)],_0x368ff3=this[_0x34f2a1(0xe8)]();this[_0x34f2a1(0x97)]({'tag':_0x34f2a1(0xd4),'attributes':{'class':['ck',_0x34f2a1(0xcc)],'style':_0x299caa['to'](_0x34f2a1(0xd1)),'id':_0x299caa['to']('id')},'children':[{'tag':_0x34f2a1(0xd4),'attributes':{'class':[Do]},'children':[{'text':_0x299caa['to'](_0x34f2a1(0xbf))}]},{'tag':_0x34f2a1(0xd4),'attributes':{'class':[Wo]},'children':[{'tag':_0x34f2a1(0xf5),'children':[{'text':_0x34dd2e[_0x34f2a1(0xba)]}]}]},{'tag':_0x34f2a1(0xd4),'attributes':{'class':[yo]},'children':_0x368ff3}]}),_0x368ff3[_0x34f2a1(0xb1)](this[_0x34f2a1(0xb6)](_0x2c850b,_0x1808c9,_0x34f2a1(0xc7),_0x34dd2e[_0x34f2a1(0xb2)][_0x34f2a1(0xda)]?.[_0x34f2a1(0xbe)]??!0x1)),_0x368ff3[_0x34f2a1(0xb1)](this[_0x34f2a1(0xb6)](_0x2c850b,_0x2c3d2e,_0x34f2a1(0xb8),_0x34dd2e[_0x34f2a1(0xb2)][_0x34f2a1(0xc6)]?.[_0x34f2a1(0xbe)]??!0x1));}[_0x5e100a(0xb6)](_0x46e31e,_0x4611b0,_0x3553c5,_0x24c922){const _0x4b9ee7=_0x5e100a,_0x506451=new _0x3cea26();_0x506451[_0x4b9ee7(0xec)]=_0x4611b0;const _0x180eec=new _0x50fe97(_0x46e31e);_0x180eec[_0x4b9ee7(0x97)]({'tag':_0x4b9ee7(0xf5),'children':[{'text':_0x2c93d2(_0x46e31e,_0x3553c5)+':\x20'}]});const _0x6544ca=new _0x50fe97(_0x46e31e);return _0x6544ca[_0x4b9ee7(0x97)]({'tag':_0x4b9ee7(0xf5),'children':[{'text':_0x2c93d2(_0x46e31e,_0x24c922?_0x4b9ee7(0xa3):_0x4b9ee7(0xf4))}]}),[_0x506451,_0x180eec,_0x6544ca];}}class jo extends _0x50fe97{constructor(_0x5c1cd6){const _0x27b9fd=_0x5e100a;super(_0x5c1cd6),this[_0x27b9fd(0xe4)](_0x27b9fd(0xbf),void 0x0),this[_0x27b9fd(0xe4)](_0x27b9fd(0xc8),!0x0);const _0x1c7e00=this[_0x27b9fd(0xa7)];this[_0x27b9fd(0x97)]({'tag':_0x27b9fd(0xf5),'attributes':{'class':['ck',_0x27b9fd(0xd8),_0x1c7e00['if'](_0x27b9fd(0xc8),_0x27b9fd(0xac),_0x422d46=>!_0x422d46)]},'children':[{'text':_0x1c7e00['to'](_0x27b9fd(0xbf))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x300748=_0x5d50;function _0x32ab(){const _0x1e6f28=['fieldView','focusableChildren','window','enter','maxRows','locale','isEnabled','element','16027398Kajnvx','MIN_ROWS','submit','ck-ai-chat__prompt-input','width','target','_setUpAddContextButtonPositioning','errorText','MAX_ROWS','41547oERVRU','set','11441442PEqEyM','extendTemplate','keystrokes','update','8NTAlTG','rtl','reset','fieldWrapperChildren','render','1097659lgFhkD','setPlaceholderText','169887ammfKb','calc(','right','5EOxBof','isEmpty','10714732mxIJAj','submitButtonView','isUploadInProgress','style','_createSubmitButton','setIsUploadInProgress','minRows','_addContextButtonView','uiLanguageDirection','placeholder','bind','left','_queryViewResizeObserver','fire','excludeScrollbarsAndBorders','queryView','hasError','1179682GueOPO','value','6270tmfJoN','trim','sendUserMessage','add','execute','56ZpZrvv','destroy','AI_CHAT_LABEL_SUBMIT','AI_CHAT_PROMPT_EMPTY_ERROR','px\x20-\x20var(--ck-spacing-tiny))','ck-ai-chat__prompt-submit-button','requestAnimationFrame'];_0x32ab=function(){return _0x1e6f28;};return _0x32ab();}(function(_0x1392ee,_0xc13190){const _0x4ee4f0=_0x5d50,_0x245840=_0x1392ee();while(!![]){try{const _0x451872=-parseInt(_0x4ee4f0(0x1e7))/0x1+parseInt(_0x4ee4f0(0x1bd))/0x2+-parseInt(_0x4ee4f0(0x1a7))/0x3*(-parseInt(_0x4ee4f0(0x1c4))/0x4)+parseInt(_0x4ee4f0(0x1aa))/0x5*(-parseInt(_0x4ee4f0(0x1de))/0x6)+-parseInt(_0x4ee4f0(0x1ac))/0x7+parseInt(_0x4ee4f0(0x1e2))/0x8*(parseInt(_0x4ee4f0(0x1d3))/0x9)+-parseInt(_0x4ee4f0(0x1bf))/0xa*(-parseInt(_0x4ee4f0(0x1dc))/0xb);if(_0x451872===_0xc13190)break;else _0x245840['push'](_0x245840['shift']());}catch(_0x1fcf79){_0x245840['push'](_0x245840['shift']());}}}(_0x32ab,0xf3436));import{IconSubmit as _0x5cdbfa}from'ckeditor5/src/icons.js';import{ButtonView as _0x28f613,AutocompleteView as _0x8565b3,createLabeledTextarea as _0x44da5c}from'ckeditor5/src/ui.js';import{global as _0x13fc72,isVisible as _0x490267,Rect as _0x1ceee0,ResizeObserver as _0x13862a}from'ckeditor5/src/utils.js';import{getTranslation as _0x11bb82}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x2d5c17}from'./aichatpromptsuggestionslistview.js';function _0x5d50(_0x48e8fa,_0x3fb852){const _0x32ab16=_0x32ab();return _0x5d50=function(_0x5d507d,_0x54bdf5){_0x5d507d=_0x5d507d-0x1a6;let _0x35a17f=_0x32ab16[_0x5d507d];return _0x35a17f;},_0x5d50(_0x48e8fa,_0x3fb852);}import{escape as _0x29b212}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x8565b3{[_0x300748(0x1ad)];static [_0x300748(0x1d4)]=0x1;static [_0x300748(0x1db)]=0xc;[_0x300748(0x1b3)];[_0x300748(0x1b8)];constructor(_0x2a7c10,_0x5f33ef){const _0x6ba08d=_0x300748;super(_0x2a7c10,{'queryView':{'label':'','creator':_0x44da5c,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x2d5c17(_0x2a7c10),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x6ba08d(0x1dd)](_0x6ba08d(0x1ab),!0x0),this[_0x6ba08d(0x1dd)](_0x6ba08d(0x1ae),!0x1),this[_0x6ba08d(0x1b3)]=_0x5f33ef,this[_0x6ba08d(0x1b8)]=null,this[_0x6ba08d(0x1bb)][_0x6ba08d(0x1cb)][_0x6ba08d(0x1b2)]=AIChatPromptInputView[_0x6ba08d(0x1d4)],this[_0x6ba08d(0x1bb)][_0x6ba08d(0x1cb)][_0x6ba08d(0x1cf)]=AIChatPromptInputView[_0x6ba08d(0x1db)],this[_0x6ba08d(0x1bb)][_0x6ba08d(0x1e5)][_0x6ba08d(0x1c2)](this[_0x6ba08d(0x1b3)]),this[_0x6ba08d(0x1d9)](),this[_0x6ba08d(0x1df)]({'attributes':{'class':['ck',_0x6ba08d(0x1d6)]}}),this[_0x6ba08d(0x1ad)]=this[_0x6ba08d(0x1b0)](),this[_0x6ba08d(0x1ad)][_0x6ba08d(0x1b6)](_0x6ba08d(0x1d1))['to'](this,_0x6ba08d(0x1ab),this,_0x6ba08d(0x1ae),(_0x329a1d,_0x20550a)=>!_0x329a1d&&!_0x20550a),this[_0x6ba08d(0x1cc)][_0x6ba08d(0x1c2)](this[_0x6ba08d(0x1ad)]);}[_0x300748(0x1e6)](){const _0xd57a16=_0x300748;super[_0xd57a16(0x1e6)](),this[_0xd57a16(0x1bb)][_0xd57a16(0x1e5)][_0xd57a16(0x1c2)](this[_0xd57a16(0x1ad)]),this[_0xd57a16(0x1e0)][_0xd57a16(0x1dd)](_0xd57a16(0x1ce),(_0x9ef584,_0x1fbdd9)=>{const _0x2081b9=_0xd57a16;this[_0x2081b9(0x1ae)]||this[_0x2081b9(0x1ab)]||_0x9ef584[_0x2081b9(0x1d8)]==this[_0x2081b9(0x1bb)][_0x2081b9(0x1cb)][_0x2081b9(0x1d2)]&&(this[_0x2081b9(0x1d5)](),_0x1fbdd9());}),this[_0xd57a16(0x1bb)][_0xd57a16(0x1cb)]['on'](_0xd57a16(0x1e1),()=>{const _0x31b7d7=_0xd57a16;this[_0x31b7d7(0x1ab)]=''===this[_0x31b7d7(0x1bb)][_0x31b7d7(0x1cb)][_0x31b7d7(0x1d2)][_0x31b7d7(0x1be)]?.[_0x31b7d7(0x1c0)]();});}[_0x300748(0x1c5)](){const _0x3e19f1=_0x300748;super[_0x3e19f1(0x1c5)](),this[_0x3e19f1(0x1b8)]&&this[_0x3e19f1(0x1b8)][_0x3e19f1(0x1c5)]();}[_0x300748(0x1d5)](){const _0x1d686b=_0x300748,_0x18a6c5=this[_0x1d686b(0x1bb)][_0x1d686b(0x1cb)][_0x1d686b(0x1d2)][_0x1d686b(0x1be)]?.[_0x1d686b(0x1c0)]();if(!_0x18a6c5)return this[_0x1d686b(0x1bb)][_0x1d686b(0x1da)]=_0x11bb82(this[_0x1d686b(0x1d0)],_0x1d686b(0x1c7)),void(this[_0x1d686b(0x1bb)][_0x1d686b(0x1cb)][_0x1d686b(0x1bc)]=!0x0);this[_0x1d686b(0x1bb)][_0x1d686b(0x1cb)][_0x1d686b(0x1bc)]=!0x1;const _0x3564b1=_0x29b212(_0x18a6c5);this[_0x1d686b(0x1b9)](_0x1d686b(0x1c1),_0x3564b1),this[_0x1d686b(0x1bb)][_0x1d686b(0x1cb)][_0x1d686b(0x1e4)]();}[_0x300748(0x1a6)](_0x28c07b){const _0xa6980a=_0x300748;this[_0xa6980a(0x1bb)][_0xa6980a(0x1cb)][_0xa6980a(0x1dd)](_0xa6980a(0x1b5),_0x28c07b);}[_0x300748(0x1b0)](){const _0x35089d=_0x300748,_0xfa363c=new _0x28f613(this[_0x35089d(0x1d0)]);return _0xfa363c[_0x35089d(0x1dd)]({'icon':_0x5cdbfa,'label':_0x11bb82(this[_0x35089d(0x1d0)],_0x35089d(0x1c6)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x35089d(0x1c9),'isEnabled':!0x1}),_0xfa363c['on'](_0x35089d(0x1c3),()=>{const _0x4d3590=_0x35089d;this[_0x4d3590(0x1d5)]();}),_0xfa363c;}[_0x300748(0x1b1)](_0x28a147){const _0xb2c7c9=_0x300748;this[_0xb2c7c9(0x1ae)]=_0x28a147;}[_0x300748(0x1d9)](){const _0x33622b=_0x300748,_0x2f36dd=this[_0x33622b(0x1d0)],_0x258b6=()=>{const _0x37481c=_0x33622b;_0x13fc72[_0x37481c(0x1cd)][_0x37481c(0x1ca)](()=>{const _0x2f7db8=_0x37481c;if(_0x490267(this[_0x2f7db8(0x1d2)])){const _0x2817fe=new _0x1ceee0(this[_0x2f7db8(0x1bb)][_0x2f7db8(0x1cb)][_0x2f7db8(0x1d2)]),_0x1ff1b6=new _0x1ceee0(this[_0x2f7db8(0x1b3)][_0x2f7db8(0x1d2)]),_0x3b5877=_0x2817fe[_0x2f7db8(0x1d7)],_0x3349ae=_0x2f7db8(0x1e3)===_0x2f36dd[_0x2f7db8(0x1b4)]?_0x2f7db8(0x1a9):_0x2f7db8(0x1b7);_0x2817fe[_0x2f7db8(0x1ba)]();const _0x347c0c=_0x3b5877-_0x2817fe[_0x2f7db8(0x1d7)]+0x1;this[_0x2f7db8(0x1b3)][_0x2f7db8(0x1d2)][_0x2f7db8(0x1af)][_0x3349ae]=_0x2f7db8(0x1a8)+(_0x3b5877-_0x1ff1b6[_0x2f7db8(0x1d7)]-_0x347c0c)+_0x2f7db8(0x1c8);}});};this[_0x33622b(0x1bb)][_0x33622b(0x1cb)]['on'](_0x33622b(0x1e1),_0x258b6),this['on'](_0x33622b(0x1e6),()=>{const _0x58ca19=_0x33622b;_0x258b6(),this[_0x58ca19(0x1b8)]=new _0x13862a(this[_0x58ca19(0x1bb)][_0x58ca19(0x1cb)][_0x58ca19(0x1d2)],()=>{_0x258b6();});});}}
23
+ const _0x3f31cc=_0x3005;function _0x4c81(){const _0xecbf50=['_addContextButtonView','add','1775901EZivXm','focusableChildren','style','keystrokes','fieldWrapperChildren','5zBayiU','fire','_setUpAddContextButtonPositioning','MIN_ROWS','errorText','MAX_ROWS','hasError','px\x20-\x20var(--ck-spacing-tiny))','right','AI_CHAT_PROMPT_EMPTY_ERROR','calc(','width','isEnabled','508lXgaOu','7185310UgRpJG','setIsUploadInProgress','14rRREnE','5158616qEseTS','1041354DdvhZO','_queryViewResizeObserver','excludeScrollbarsAndBorders','reset','bind','2705nOtGCo','submitButtonView','placeholder','value','uiLanguageDirection','ck-ai-chat__prompt-input','minRows','setPlaceholderText','isUploadInProgress','1440063yOlMUy','left','_createSubmitButton','target','ck-ai-chat__prompt-submit-button','rtl','window','update','isEmpty','40dMEqfw','render','submit','queryView','AI_CHAT_LABEL_SUBMIT','requestAnimationFrame','execute','element','extendTemplate','set','2236076LKBlDv','destroy','locale','enter','fieldView','maxRows','trim','sendUserMessage'];_0x4c81=function(){return _0xecbf50;};return _0x4c81();}(function(_0x112403,_0x29fe81){const _0x5c6e9b=_0x3005,_0x38153f=_0x112403();while(!![]){try{const _0x23117a=parseInt(_0x5c6e9b(0x1a8))/0x1*(parseInt(_0x5c6e9b(0x19e))/0x2)+parseInt(_0x5c6e9b(0x18c))/0x3+parseInt(_0x5c6e9b(0x1c4))/0x4*(parseInt(_0x5c6e9b(0x191))/0x5)+-parseInt(_0x5c6e9b(0x1a3))/0x6*(-parseInt(_0x5c6e9b(0x1a1))/0x7)+parseInt(_0x5c6e9b(0x1a2))/0x8+parseInt(_0x5c6e9b(0x1b1))/0x9+-parseInt(_0x5c6e9b(0x1ba))/0xa*(parseInt(_0x5c6e9b(0x19f))/0xb);if(_0x23117a===_0x29fe81)break;else _0x38153f['push'](_0x38153f['shift']());}catch(_0x458d13){_0x38153f['push'](_0x38153f['shift']());}}}(_0x4c81,0x5c150));import{IconSubmit as _0x14ff81}from'ckeditor5/src/icons.js';import{ButtonView as _0x5c1a30,AutocompleteView as _0x366119,createLabeledTextarea as _0x54526a}from'ckeditor5/src/ui.js';import{global as _0x2064f8,isVisible as _0x583f79,Rect as _0x306e79,ResizeObserver as _0x1b2700}from'ckeditor5/src/utils.js';import{getTranslation as _0x3bd97d}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x57b142}from'./aichatpromptsuggestionslistview.js';import{escape as _0x1baac0}from'es-toolkit/compat';function _0x3005(_0x14025b,_0x28d6a1){const _0x4c81e0=_0x4c81();return _0x3005=function(_0x3005ed,_0x316ab0){_0x3005ed=_0x3005ed-0x185;let _0x3e3ac0=_0x4c81e0[_0x3005ed];return _0x3e3ac0;},_0x3005(_0x14025b,_0x28d6a1);}export class AIChatPromptInputView extends _0x366119{[_0x3f31cc(0x1a9)];static [_0x3f31cc(0x194)]=0x1;static [_0x3f31cc(0x196)]=0xc;[_0x3f31cc(0x18a)];[_0x3f31cc(0x1a4)];constructor(_0x1da687,_0x53e3a7){const _0x5d12be=_0x3f31cc;super(_0x1da687,{'queryView':{'label':'','creator':_0x54526a,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x57b142(_0x1da687),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x5d12be(0x1c3)](_0x5d12be(0x1b9),!0x0),this[_0x5d12be(0x1c3)](_0x5d12be(0x1b0),!0x1),this[_0x5d12be(0x18a)]=_0x53e3a7,this[_0x5d12be(0x1a4)]=null,this[_0x5d12be(0x1bd)][_0x5d12be(0x186)][_0x5d12be(0x1ae)]=AIChatPromptInputView[_0x5d12be(0x194)],this[_0x5d12be(0x1bd)][_0x5d12be(0x186)][_0x5d12be(0x187)]=AIChatPromptInputView[_0x5d12be(0x196)],this[_0x5d12be(0x1bd)][_0x5d12be(0x190)][_0x5d12be(0x18b)](this[_0x5d12be(0x18a)]),this[_0x5d12be(0x193)](),this[_0x5d12be(0x1c2)]({'attributes':{'class':['ck',_0x5d12be(0x1ad)]}}),this[_0x5d12be(0x1a9)]=this[_0x5d12be(0x1b3)](),this[_0x5d12be(0x1a9)][_0x5d12be(0x1a7)](_0x5d12be(0x19d))['to'](this,_0x5d12be(0x1b9),this,_0x5d12be(0x1b0),(_0x156b0d,_0x597ae8)=>!_0x156b0d&&!_0x597ae8),this[_0x5d12be(0x18d)][_0x5d12be(0x18b)](this[_0x5d12be(0x1a9)]);}[_0x3f31cc(0x1bb)](){const _0x51218b=_0x3f31cc;super[_0x51218b(0x1bb)](),this[_0x51218b(0x1bd)][_0x51218b(0x190)][_0x51218b(0x18b)](this[_0x51218b(0x1a9)]),this[_0x51218b(0x18f)][_0x51218b(0x1c3)](_0x51218b(0x185),(_0x598d1d,_0x135467)=>{const _0x9f20af=_0x51218b;this[_0x9f20af(0x1b0)]||this[_0x9f20af(0x1b9)]||_0x598d1d[_0x9f20af(0x1b4)]==this[_0x9f20af(0x1bd)][_0x9f20af(0x186)][_0x9f20af(0x1c1)]&&(this[_0x9f20af(0x1bc)](),_0x135467());}),this[_0x51218b(0x1bd)][_0x51218b(0x186)]['on'](_0x51218b(0x1b8),()=>{const _0x161a23=_0x51218b;this[_0x161a23(0x1b9)]=''===this[_0x161a23(0x1bd)][_0x161a23(0x186)][_0x161a23(0x1c1)][_0x161a23(0x1ab)]?.[_0x161a23(0x188)]();});}[_0x3f31cc(0x1c5)](){const _0x14f33f=_0x3f31cc;super[_0x14f33f(0x1c5)](),this[_0x14f33f(0x1a4)]&&this[_0x14f33f(0x1a4)][_0x14f33f(0x1c5)]();}[_0x3f31cc(0x1bc)](){const _0x371c93=_0x3f31cc,_0x176e80=this[_0x371c93(0x1bd)][_0x371c93(0x186)][_0x371c93(0x1c1)][_0x371c93(0x1ab)]?.[_0x371c93(0x188)]();if(!_0x176e80)return this[_0x371c93(0x1bd)][_0x371c93(0x195)]=_0x3bd97d(this[_0x371c93(0x1c6)],_0x371c93(0x19a)),void(this[_0x371c93(0x1bd)][_0x371c93(0x186)][_0x371c93(0x197)]=!0x0);this[_0x371c93(0x1bd)][_0x371c93(0x186)][_0x371c93(0x197)]=!0x1;const _0x4a442a=_0x1baac0(_0x176e80);this[_0x371c93(0x192)](_0x371c93(0x189),_0x4a442a),this[_0x371c93(0x1bd)][_0x371c93(0x186)][_0x371c93(0x1a6)]();}[_0x3f31cc(0x1af)](_0x4f147b){const _0xc307cc=_0x3f31cc;this[_0xc307cc(0x1bd)][_0xc307cc(0x186)][_0xc307cc(0x1c3)](_0xc307cc(0x1aa),_0x4f147b);}[_0x3f31cc(0x1b3)](){const _0x563f1b=_0x3f31cc,_0x2e49df=new _0x5c1a30(this[_0x563f1b(0x1c6)]);return _0x2e49df[_0x563f1b(0x1c3)]({'icon':_0x14ff81,'label':_0x3bd97d(this[_0x563f1b(0x1c6)],_0x563f1b(0x1be)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x563f1b(0x1b5),'isEnabled':!0x1}),_0x2e49df['on'](_0x563f1b(0x1c0),()=>{const _0x24eb2d=_0x563f1b;this[_0x24eb2d(0x1bc)]();}),_0x2e49df;}[_0x3f31cc(0x1a0)](_0x58855e){const _0x44c600=_0x3f31cc;this[_0x44c600(0x1b0)]=_0x58855e;}[_0x3f31cc(0x193)](){const _0x57f7ff=_0x3f31cc,_0x5bb095=this[_0x57f7ff(0x1c6)],_0x3bc73f=()=>{const _0xbe31e1=_0x57f7ff;_0x2064f8[_0xbe31e1(0x1b7)][_0xbe31e1(0x1bf)](()=>{const _0x25ad0e=_0xbe31e1;if(_0x583f79(this[_0x25ad0e(0x1c1)])){const _0x5d67a1=new _0x306e79(this[_0x25ad0e(0x1bd)][_0x25ad0e(0x186)][_0x25ad0e(0x1c1)]),_0xfa7612=new _0x306e79(this[_0x25ad0e(0x18a)][_0x25ad0e(0x1c1)]),_0x5b5359=_0x5d67a1[_0x25ad0e(0x19c)],_0xa28ba5=_0x25ad0e(0x1b6)===_0x5bb095[_0x25ad0e(0x1ac)]?_0x25ad0e(0x199):_0x25ad0e(0x1b2);_0x5d67a1[_0x25ad0e(0x1a5)]();const _0x58ae9b=_0x5b5359-_0x5d67a1[_0x25ad0e(0x19c)]+0x1;this[_0x25ad0e(0x18a)][_0x25ad0e(0x1c1)][_0x25ad0e(0x18e)][_0xa28ba5]=_0x25ad0e(0x19b)+(_0x5b5359-_0xfa7612[_0x25ad0e(0x19c)]-_0x58ae9b)+_0x25ad0e(0x198);}});};this[_0x57f7ff(0x1bd)][_0x57f7ff(0x186)]['on'](_0x57f7ff(0x1b8),_0x3bc73f),this['on'](_0x57f7ff(0x1bb),()=>{const _0x1af385=_0x57f7ff;_0x3bc73f(),this[_0x1af385(0x1a4)]=new _0x1b2700(this[_0x1af385(0x1bd)][_0x1af385(0x186)][_0x1af385(0x1c1)],()=>{_0x3bc73f();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x33b4(){const _0x3f5d2b=['14019445KdDzUI','ck-ai-chat-resources__item--in-context','getResourceIcon','ck-ai-chat-resources__item-title','setTemplate','set','128346QSExep','ck-ai-chat-resources__item','ck-ai-chat-resources__item__icon','4455130syYrKB','isVisible','text','_iconView','33OiSDgp','2667933xgWqDR','2275670eYRAwx','TEXT','span','URL','label','trim','172684SOLSMX','type','resource','175PGSzUw','bindTemplate','FILE','updateResourceState','_createTitleView','render','38121zhATdp','ck-hidden','isInContext','content','_updateIcon','24ZiyypH','_setupTemplate','_createIconView','execute','_titleView','highlightText','DOCUMENT','div','10sapIfc','extendTemplate'];_0x33b4=function(){return _0x3f5d2b;};return _0x33b4();}const _0x5d4fec=_0x9fc5;(function(_0x5b37f2,_0x2e00da){const _0x495155=_0x9fc5,_0x43e2da=_0x5b37f2();while(!![]){try{const _0x4d6c73=parseInt(_0x495155(0xd2))/0x1*(parseInt(_0x495155(0xdf))/0x2)+-parseInt(_0x495155(0xee))/0x3*(parseInt(_0x495155(0xc9))/0x4)+parseInt(_0x495155(0xf0))/0x5+parseInt(_0x495155(0xe7))/0x6*(-parseInt(_0x495155(0xcc))/0x7)+-parseInt(_0x495155(0xd7))/0x8*(parseInt(_0x495155(0xef))/0x9)+parseInt(_0x495155(0xea))/0xa+parseInt(_0x495155(0xe1))/0xb;if(_0x4d6c73===_0x2e00da)break;else _0x43e2da['push'](_0x43e2da['shift']());}catch(_0x5d7171){_0x43e2da['push'](_0x43e2da['shift']());}}}(_0x33b4,0x71f5c));import{HighlightedTextView as _0x5f0fcd,IconView as _0xfa0d90,ListItemView as _0x58edda}from'ckeditor5/src/ui.js';function _0x9fc5(_0x35a5b6,_0x21018b){const _0x33b421=_0x33b4();return _0x9fc5=function(_0x9fc54b,_0x107e26){_0x9fc54b=_0x9fc54b-0xc5;let _0x116cfe=_0x33b421[_0x9fc54b];return _0x116cfe;},_0x9fc5(_0x35a5b6,_0x21018b);}import{escapeRegExp as _0x33fd79}from'es-toolkit/compat';import{AIContextItemType as _0x1362bd}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0xbce51a,IconCheck as _0x457300,IconDocument as _0x12004e,IconDocumentOutline as _0x512785,IconLink as _0x91ba4e}from'@ckeditor/ckeditor5-icons';const qr=_0x5d4fec(0xe8),zr=_0x5d4fec(0xe2),Br=_0x5d4fec(0xe4),Fr=_0x5d4fec(0xe9);export class AIChatResourceListItemView extends _0x58edda{[_0x5d4fec(0xcb)];[_0x5d4fec(0xdb)];[_0x5d4fec(0xed)];constructor(_0x58a243,_0x349ee2){const _0x4cbfb4=_0x5d4fec;super(_0x58a243),this[_0x4cbfb4(0xcb)]=_0x349ee2,this[_0x4cbfb4(0xe6)](_0x4cbfb4(0xd4),!!_0x349ee2[_0x4cbfb4(0xd4)]),this[_0x4cbfb4(0xdb)]=this[_0x4cbfb4(0xd0)](),this[_0x4cbfb4(0xed)]=this[_0x4cbfb4(0xd9)](),this[_0x4cbfb4(0xd8)]();}[_0x5d4fec(0xd1)](){const _0x57fbf3=_0x5d4fec;super[_0x57fbf3(0xd1)]();}[_0x5d4fec(0xe3)](_0x4eab68){const _0x417434=_0x5d4fec;if(_0x4eab68[_0x417434(0xd4)])return _0x457300;switch(_0x4eab68[_0x417434(0xca)]){case _0x1362bd[_0x417434(0xdd)]:return _0x12004e;case _0x1362bd[_0x417434(0xc6)]:return _0x91ba4e;case _0x1362bd[_0x417434(0xce)]:case _0x1362bd[_0x417434(0xf1)]:return _0xbce51a;default:return _0x512785;}}[_0x5d4fec(0xdc)](_0x382f24){const _0x2fc496=_0x5d4fec;if(!_0x382f24||''===_0x382f24[_0x2fc496(0xc8)]())return void this[_0x2fc496(0xdb)][_0x2fc496(0xdc)](null);const _0x3219ee=new RegExp(_0x33fd79(_0x382f24),'gi');this[_0x2fc496(0xdb)][_0x2fc496(0xdc)](_0x3219ee);}[_0x5d4fec(0xcf)](_0x24e4c6){const _0x51251b=_0x5d4fec;this[_0x51251b(0xcb)][_0x51251b(0xd4)]=_0x24e4c6,this[_0x51251b(0xd4)]=_0x24e4c6,this[_0x51251b(0xd6)]();}[_0x5d4fec(0xd0)](){const _0x1fd386=_0x5d4fec,_0x3320e6=new _0x5f0fcd();return _0x3320e6[_0x1fd386(0xec)]=this[_0x1fd386(0xcb)][_0x1fd386(0xc7)],_0x3320e6[_0x1fd386(0xe0)]({'tag':_0x1fd386(0xc5),'attributes':{'class':[Br]}}),_0x3320e6;}[_0x5d4fec(0xd9)](){const _0x149419=_0x5d4fec,_0x55b38d=new _0xfa0d90();return _0x55b38d[_0x149419(0xd5)]=this[_0x149419(0xe3)](this[_0x149419(0xcb)]),_0x55b38d;}[_0x5d4fec(0xd8)](){const _0x42cce0=_0x5d4fec,_0x403b61=this[_0x42cce0(0xcd)];this[_0x42cce0(0xe5)]({'tag':_0x42cce0(0xde),'attributes':{'class':[qr,_0x403b61['if'](_0x42cce0(0xeb),_0x42cce0(0xd3),_0x216a37=>!_0x216a37),_0x403b61['if'](_0x42cce0(0xd4),zr)]},'children':[{'tag':_0x42cce0(0xde),'attributes':{'class':[Fr]},'children':[this[_0x42cce0(0xed)]]},this[_0x42cce0(0xdb)]],'on':{'click':_0x403b61['to'](_0x42cce0(0xda))}});}[_0x5d4fec(0xd6)](){const _0x5994f4=_0x5d4fec;this[_0x5994f4(0xed)][_0x5994f4(0xd5)]=this[_0x5994f4(0xe3)](this[_0x5994f4(0xcb)]);}}
23
+ function _0xb811(){const _0x365ea6=['10DObmlq','getResourceIcon','ck-hidden','type','_iconView','trim','107996LwKwqN','content','_setupTemplate','label','798840NofpWT','ck-ai-chat-resources__item__icon','_titleView','_createIconView','76UhOmsJ','ck-ai-chat-resources__item--in-context','span','isInContext','ck-ai-chat-resources__item','7866353qyGKlL','14895ltassQ','text','_createTitleView','ck-ai-chat-resources__item-title','div','DOCUMENT','150scyRhr','resource','FILE','isVisible','extendTemplate','execute','TEXT','868448bhjhLb','20524gkxtHe','set','2042405VTXkgc','render','_updateIcon','bindTemplate','setTemplate','38GVFkaw','highlightText','updateResourceState','URL'];_0xb811=function(){return _0x365ea6;};return _0xb811();}const _0xaef749=_0x10d9;(function(_0x1bfcbc,_0x18ad1){const _0x738bbc=_0x10d9,_0x1990e1=_0x1bfcbc();while(!![]){try{const _0x2d8642=-parseInt(_0x738bbc(0x1fd))/0x1*(parseInt(_0x738bbc(0x1f6))/0x2)+parseInt(_0x738bbc(0x1e8))/0x3*(-parseInt(_0x738bbc(0x1e2))/0x4)+parseInt(_0x738bbc(0x1f8))/0x5+-parseInt(_0x738bbc(0x1ee))/0x6*(parseInt(_0x738bbc(0x207))/0x7)+parseInt(_0x738bbc(0x1f5))/0x8+-parseInt(_0x738bbc(0x1de))/0x9+parseInt(_0x738bbc(0x201))/0xa*(parseInt(_0x738bbc(0x1e7))/0xb);if(_0x2d8642===_0x18ad1)break;else _0x1990e1['push'](_0x1990e1['shift']());}catch(_0x7e72ca){_0x1990e1['push'](_0x1990e1['shift']());}}}(_0xb811,0x42c01));import{HighlightedTextView as _0x2e9de8,IconView as _0x4c1340,ListItemView as _0x19e4d3}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x5a6a7e}from'es-toolkit/compat';import{AIContextItemType as _0x4c58fb}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x7f3ef9,IconCheck as _0x1054c0,IconDocument as _0x3ab499,IconDocumentOutline as _0x1f1a0f,IconLink as _0x318ba7}from'@ckeditor/ckeditor5-icons';const Tr=_0xaef749(0x1e6),qr=_0xaef749(0x1e3),zr=_0xaef749(0x1eb),Br=_0xaef749(0x1df);function _0x10d9(_0x36620c,_0x4e93cb){const _0xb8112f=_0xb811();return _0x10d9=function(_0x10d937,_0xca6bab){_0x10d937=_0x10d937-0x1dd;let _0x525b38=_0xb8112f[_0x10d937];return _0x525b38;},_0x10d9(_0x36620c,_0x4e93cb);}export class AIChatResourceListItemView extends _0x19e4d3{[_0xaef749(0x1ef)];[_0xaef749(0x1e0)];[_0xaef749(0x205)];constructor(_0x17caf1,_0x1b52a5){const _0x231e81=_0xaef749;super(_0x17caf1),this[_0x231e81(0x1ef)]=_0x1b52a5,this[_0x231e81(0x1f7)](_0x231e81(0x1e5),!!_0x1b52a5[_0x231e81(0x1e5)]),this[_0x231e81(0x1e0)]=this[_0x231e81(0x1ea)](),this[_0x231e81(0x205)]=this[_0x231e81(0x1e1)](),this[_0x231e81(0x209)]();}[_0xaef749(0x1f9)](){const _0x2bbd73=_0xaef749;super[_0x2bbd73(0x1f9)]();}[_0xaef749(0x202)](_0x151945){const _0x1ccdda=_0xaef749;if(_0x151945[_0x1ccdda(0x1e5)])return _0x1054c0;switch(_0x151945[_0x1ccdda(0x204)]){case _0x4c58fb[_0x1ccdda(0x1ed)]:return _0x3ab499;case _0x4c58fb[_0x1ccdda(0x200)]:return _0x318ba7;case _0x4c58fb[_0x1ccdda(0x1f0)]:case _0x4c58fb[_0x1ccdda(0x1f4)]:return _0x7f3ef9;default:return _0x1f1a0f;}}[_0xaef749(0x1fe)](_0x57e045){const _0x238255=_0xaef749;if(!_0x57e045||''===_0x57e045[_0x238255(0x206)]())return void this[_0x238255(0x1e0)][_0x238255(0x1fe)](null);const _0x39a0c1=new RegExp(_0x5a6a7e(_0x57e045),'gi');this[_0x238255(0x1e0)][_0x238255(0x1fe)](_0x39a0c1);}[_0xaef749(0x1ff)](_0x596f04){const _0x4cf667=_0xaef749;this[_0x4cf667(0x1ef)][_0x4cf667(0x1e5)]=_0x596f04,this[_0x4cf667(0x1e5)]=_0x596f04,this[_0x4cf667(0x1fa)]();}[_0xaef749(0x1ea)](){const _0x7800cd=_0xaef749,_0x104be9=new _0x2e9de8();return _0x104be9[_0x7800cd(0x1e9)]=this[_0x7800cd(0x1ef)][_0x7800cd(0x1dd)],_0x104be9[_0x7800cd(0x1f2)]({'tag':_0x7800cd(0x1e4),'attributes':{'class':[zr]}}),_0x104be9;}[_0xaef749(0x1e1)](){const _0x473419=_0xaef749,_0x48f889=new _0x4c1340();return _0x48f889[_0x473419(0x208)]=this[_0x473419(0x202)](this[_0x473419(0x1ef)]),_0x48f889;}[_0xaef749(0x209)](){const _0x1abc90=_0xaef749,_0x2af801=this[_0x1abc90(0x1fb)];this[_0x1abc90(0x1fc)]({'tag':_0x1abc90(0x1ec),'attributes':{'class':[Tr,_0x2af801['if'](_0x1abc90(0x1f1),_0x1abc90(0x203),_0x593b97=>!_0x593b97),_0x2af801['if'](_0x1abc90(0x1e5),qr)]},'children':[{'tag':_0x1abc90(0x1ec),'attributes':{'class':[Br]},'children':[this[_0x1abc90(0x205)]]},this[_0x1abc90(0x1e0)]],'on':{'click':_0x2af801['to'](_0x1abc90(0x1f3))}});}[_0xaef749(0x1fa)](){const _0x4b1b9d=_0xaef749;this[_0x4b1b9d(0x205)][_0x4b1b9d(0x208)]=this[_0x4b1b9d(0x202)](this[_0x4b1b9d(0x1ef)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x78ea10=_0x4b58;function _0x4b58(_0x50baf8,_0x1e6e7e){const _0x4f61fa=_0x4f61();return _0x4b58=function(_0x4b58c8,_0x77d3dc){_0x4b58c8=_0x4b58c8-0x86;let _0x5408ce=_0x4f61fa[_0x4b58c8];return _0x5408ce;},_0x4b58(_0x50baf8,_0x1e6e7e);}(function(_0x59690c,_0x349a06){const _0xc971ed=_0x4b58,_0x5d9298=_0x59690c();while(!![]){try{const _0x1ba6dd=parseInt(_0xc971ed(0xa0))/0x1+parseInt(_0xc971ed(0xa3))/0x2+parseInt(_0xc971ed(0x95))/0x3+parseInt(_0xc971ed(0xb7))/0x4+-parseInt(_0xc971ed(0x92))/0x5+-parseInt(_0xc971ed(0xa8))/0x6+-parseInt(_0xc971ed(0x9d))/0x7;if(_0x1ba6dd===_0x349a06)break;else _0x5d9298['push'](_0x5d9298['shift']());}catch(_0x81f5ac){_0x5d9298['push'](_0x5d9298['shift']());}}}(_0x4f61,0xcab3a));import{BalloonPanelView as _0x18b586,ButtonView as _0x108d06,clickOutsideHandler as _0x678aaa,FormHeaderView as _0x15b859}from'ckeditor5/src/ui.js';function _0x4f61(){const _0x188523=['getTargetElement','set','show','_getResourcesViewFromBalloon','label','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','updateResourceState','2931308jHIMfU','_setupSingleResourceBalloonClickOutsideHandler','resource','_bodyCollection','pin','children','_createBalloonResourcesView','isAnyResourceBalloonVisible','_addSourceResourceContent','values','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-button-icon\x20ck-button-back','onBalloonClosed','onResourceSelected','_config','extendTemplate','addResourceToContext','element','1212960QMfLUM','content','showSourceResourcesBalloon','111912ZMveHC','add','closeSourceResourceBalloon','destroy','_createSourceResourceBalloonPanel','isVisible','setResources','source','6524448GwbApZ','ck-ai-chat-context-controls__source-balloon-panel','clear','725254MbxoOH','_createBackButton','getLimiterElement','2671954EJFLWx','_locale','execute','populateSourceResourceBalloon','_createBalloonHeader','4958640djqKsb','onLoadSourceResources','loadSourceResources','hide','get','onBackToContext','delete','_sourceResourceBalloons'];_0x4f61=function(){return _0x188523;};return _0x4f61();}import{IconPreviousArrow as _0x4da272}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x26788a}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x28c08d}from'./aichatresourcesview.js';const Xo=_0x78ea10(0x9e),zo=_0x78ea10(0x8b),Jo=_0x78ea10(0xb5);export class AIChatResourcesBalloonView{[_0x78ea10(0xaf)]=new Map();[_0x78ea10(0xba)];[_0x78ea10(0xa4)];[_0x78ea10(0x8e)];constructor(_0x56645b,_0x15ddbc,_0x5dfc9b){const _0x583461=_0x78ea10;this[_0x583461(0xa4)]=_0x56645b,this[_0x583461(0xba)]=_0x15ddbc,this[_0x583461(0x8e)]=_0x5dfc9b;}[_0x78ea10(0x94)](_0x6d2cb1){const _0x2c0c71=_0x78ea10;let _0x43e32a=this[_0x2c0c71(0xaf)][_0x2c0c71(0xac)](_0x6d2cb1['id']);_0x43e32a||(_0x43e32a=this[_0x2c0c71(0x99)](),this[_0x2c0c71(0xaf)][_0x2c0c71(0xb1)](_0x6d2cb1['id'],_0x43e32a),this[_0x2c0c71(0xb8)](_0x43e32a)),this[_0x2c0c71(0x88)](_0x43e32a,_0x6d2cb1),_0x43e32a[_0x2c0c71(0xb2)]();const _0x40c122=this[_0x2c0c71(0x8e)][_0x2c0c71(0xb0)]();_0x40c122&&_0x43e32a[_0x2c0c71(0xbb)]({'target':_0x40c122,'limiter':this[_0x2c0c71(0x8e)][_0x2c0c71(0xa2)]()});}[_0x78ea10(0xa6)](_0x3cb49e,_0x222b58,_0x18640f){const _0x4cbd58=_0x78ea10,_0x18de1d=this[_0x4cbd58(0xaf)][_0x4cbd58(0xac)](_0x3cb49e);if(!_0x18de1d)return;const _0x31df2c=this[_0x4cbd58(0xb3)](_0x18de1d);_0x31df2c&&_0x31df2c[_0x4cbd58(0x9b)](_0x222b58,_0x18640f);}[_0x78ea10(0x97)](_0x39b3a8){const _0x4fd02c=_0x78ea10,_0x18940d=this[_0x4fd02c(0xaf)][_0x4fd02c(0xac)](_0x39b3a8);_0x18940d&&requestAnimationFrame(()=>{const _0x309b0b=_0x4fd02c;_0x18940d[_0x309b0b(0xab)](),this[_0x309b0b(0xaf)][_0x309b0b(0xae)](_0x39b3a8),this[_0x309b0b(0x8e)][_0x309b0b(0x8c)]();});}[_0x78ea10(0x87)](){const _0x4d1a03=_0x78ea10;for(const _0x20481e of this[_0x4d1a03(0xaf)][_0x4d1a03(0x89)]())if(_0x20481e[_0x4d1a03(0x9a)])return!0x0;return!0x1;}[_0x78ea10(0xb6)](_0x1806ae,_0x366f37,_0x46257f){const _0x5708df=_0x78ea10,_0x4db11e=this[_0x5708df(0xaf)][_0x5708df(0xac)](_0x1806ae);if(!_0x4db11e||!_0x4db11e[_0x5708df(0x9a)])return;const _0x236b36=this[_0x5708df(0x8e)][_0x5708df(0xb0)]();if(!_0x236b36)return;_0x4db11e[_0x5708df(0xbb)]({'target':_0x236b36,'limiter':this[_0x5708df(0x8e)][_0x5708df(0xa2)]()});const _0x5e4427=this[_0x5708df(0xb3)](_0x4db11e);_0x5e4427&&_0x5e4427[_0x5708df(0xb6)](_0x366f37,_0x46257f);}[_0x78ea10(0x98)](){const _0x9e322e=_0x78ea10;for(const _0xa18b7 of this[_0x9e322e(0xaf)][_0x9e322e(0x89)]())_0xa18b7[_0x9e322e(0x98)]();this[_0x9e322e(0xaf)][_0x9e322e(0x9f)]();}[_0x78ea10(0x99)](){const _0x328213=_0x78ea10,_0x4e73db=new _0x18b586(this[_0x328213(0xa4)]);return _0x4e73db[_0x328213(0x8f)]({'attributes':{'class':Xo}}),this[_0x328213(0xba)][_0x328213(0x96)](_0x4e73db),_0x4e73db;}[_0x78ea10(0x88)](_0x849824,_0x3310cc){const _0x32c444=_0x78ea10;_0x849824[_0x32c444(0x93)][_0x32c444(0x9f)]();const _0x17ac84=this[_0x32c444(0xa7)](_0x849824,_0x3310cc);_0x849824[_0x32c444(0x93)][_0x32c444(0x96)](_0x17ac84);const _0x1fb97d=this[_0x32c444(0x86)](_0x3310cc);_0x849824[_0x32c444(0x93)][_0x32c444(0x96)](_0x1fb97d);}[_0x78ea10(0xa7)](_0x36b9fc,_0xdaae04){const _0x22eb53=_0x78ea10,_0x480c6c=this[_0x22eb53(0xa1)](_0x36b9fc),_0x5d4b3b=new _0x15b859(this[_0x22eb53(0xa4)],{'label':_0xdaae04[_0x22eb53(0xb4)],'class':Jo});return _0x5d4b3b[_0x22eb53(0xbc)][_0x22eb53(0x96)](_0x480c6c,0x0),_0x5d4b3b;}[_0x78ea10(0xa1)](_0x130b2d){const _0x47fcaf=_0x78ea10,_0x3de552=new _0x108d06(this[_0x47fcaf(0xa4)]);return _0x3de552[_0x47fcaf(0xb1)]({'icon':_0x4da272,'tooltip':_0x26788a(this[_0x47fcaf(0xa4)],_0x47fcaf(0x8a)),'tooltipPosition':'n','class':zo}),_0x3de552['on'](_0x47fcaf(0xa5),()=>{const _0x85095d=_0x47fcaf;_0x130b2d[_0x85095d(0xab)](),this[_0x85095d(0x8e)][_0x85095d(0xad)]();}),_0x3de552;}[_0x78ea10(0x86)](_0xed3a39){const _0x4428e4=_0x78ea10,_0x7419a2=new _0x28c08d(this[_0x4428e4(0xa4)],_0xed3a39);return _0x7419a2['on'](_0x4428e4(0xaa),(_0x23a515,_0x5a2100)=>{const _0x4bc2d9=_0x4428e4;this[_0x4bc2d9(0x8e)][_0x4bc2d9(0xa9)](_0x5a2100);}),_0x7419a2['on'](_0x4428e4(0x90),(_0x35afb7,_0x32b031)=>{const _0x467e74=_0x4428e4;this[_0x467e74(0x8e)][_0x467e74(0x8d)](_0x32b031[_0x467e74(0x9c)],_0x32b031[_0x467e74(0xb9)]),this[_0x467e74(0x97)](_0xed3a39['id']);}),_0x7419a2;}[_0x78ea10(0xb3)](_0x162cb3){const _0xd6a935=_0x78ea10,_0x48fbda=_0x162cb3[_0xd6a935(0x93)][_0xd6a935(0xac)](0x1);return _0x48fbda instanceof _0x28c08d?_0x48fbda:null;}[_0x78ea10(0xb8)](_0x3b6948){const _0x115718=_0x78ea10;_0x678aaa({'emitter':_0x3b6948,'contextElements':[_0x3b6948[_0x115718(0x91)]],'callback':()=>{const _0x3fd738=_0x115718;_0x3b6948[_0x3fd738(0xab)](),this[_0x3fd738(0x8e)][_0x3fd738(0x8c)]();},'activator':()=>_0x3b6948[_0x115718(0x9a)]});}}
23
+ const _0x4712a9=_0x413e;(function(_0x4626be,_0x2cd244){const _0x5ca67d=_0x413e,_0x1abe33=_0x4626be();while(!![]){try{const _0xfdb308=-parseInt(_0x5ca67d(0x1e5))/0x1+-parseInt(_0x5ca67d(0x1ea))/0x2*(parseInt(_0x5ca67d(0x1de))/0x3)+-parseInt(_0x5ca67d(0x1f1))/0x4+parseInt(_0x5ca67d(0x201))/0x5+parseInt(_0x5ca67d(0x1fc))/0x6+-parseInt(_0x5ca67d(0x1f3))/0x7+parseInt(_0x5ca67d(0x1e1))/0x8*(parseInt(_0x5ca67d(0x1ff))/0x9);if(_0xfdb308===_0x2cd244)break;else _0x1abe33['push'](_0x1abe33['shift']());}catch(_0x2bbfe7){_0x1abe33['push'](_0x1abe33['shift']());}}}(_0x249d,0x5f68a));import{BalloonPanelView as _0x54089b,ButtonView as _0x3f746d,clickOutsideHandler as _0x39b31a,FormHeaderView as _0x493b54}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x2e8cff}from'@ckeditor/ckeditor5-icons';function _0x413e(_0x46d704,_0x5e2852){const _0x249d30=_0x249d();return _0x413e=function(_0x413ef3,_0x214b4c){_0x413ef3=_0x413ef3-0x1d2;let _0x4bdc00=_0x249d30[_0x413ef3];return _0x4bdc00;},_0x413e(_0x46d704,_0x5e2852);}function _0x249d(){const _0x3a6cb5=['element','1359635QvmdtZ','loadSourceResources','_getResourcesViewFromBalloon','execute','isAnyResourceBalloonVisible','hide','_addSourceResourceContent','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','set','add','_createBalloonHeader','_createBackButton','destroy','showSourceResourcesBalloon','get','delete','addResourceToContext','_bodyCollection','values','updateResourceState','ck-ai-chat-context-controls__source-balloon-panel','getLimiterElement','51YFXisO','ck-button-icon\x20ck-button-back','_createBalloonResourcesView','3128kYQpbj','onBalloonClosed','pin','populateSourceResourceBalloon','390656fmMGzo','_setupSingleResourceBalloonClickOutsideHandler','_config','label','_createSourceResourceBalloonPanel','85772dXPpHR','_locale','onBackToContext','clear','resource','onLoadSourceResources','content','1582076PNRppj','extendTemplate','3881465eSjWqa','_sourceResourceBalloons','closeSourceResourceBalloon','children','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','setResources','source','show','onResourceSelected','4397436TftURS','getTargetElement','isVisible','33507AKiDVv'];_0x249d=function(){return _0x3a6cb5;};return _0x249d();}import{getTranslation as _0x41aeb2}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x48ca13}from'./aichatresourcesview.js';const zo=_0x4712a9(0x1dc),Jo=_0x4712a9(0x1df),Qo=_0x4712a9(0x1f7);export class AIChatResourcesBalloonView{[_0x4712a9(0x1f4)]=new Map();[_0x4712a9(0x1d9)];[_0x4712a9(0x1eb)];[_0x4712a9(0x1e7)];constructor(_0xf51041,_0x19d8ef,_0x108ea7){const _0x37c71d=_0x4712a9;this[_0x37c71d(0x1eb)]=_0xf51041,this[_0x37c71d(0x1d9)]=_0x19d8ef,this[_0x37c71d(0x1e7)]=_0x108ea7;}[_0x4712a9(0x1d5)](_0x4844ea){const _0x4b7c72=_0x4712a9;let _0x32479a=this[_0x4b7c72(0x1f4)][_0x4b7c72(0x1d6)](_0x4844ea['id']);_0x32479a||(_0x32479a=this[_0x4b7c72(0x1e9)](),this[_0x4b7c72(0x1f4)][_0x4b7c72(0x209)](_0x4844ea['id'],_0x32479a),this[_0x4b7c72(0x1e6)](_0x32479a)),this[_0x4b7c72(0x207)](_0x32479a,_0x4844ea),_0x32479a[_0x4b7c72(0x1fa)]();const _0x100410=this[_0x4b7c72(0x1e7)][_0x4b7c72(0x1fd)]();_0x100410&&_0x32479a[_0x4b7c72(0x1e3)]({'target':_0x100410,'limiter':this[_0x4b7c72(0x1e7)][_0x4b7c72(0x1dd)]()});}[_0x4712a9(0x1e4)](_0x1ff732,_0x384538,_0x3c66ee){const _0x118ef3=_0x4712a9,_0x76ebba=this[_0x118ef3(0x1f4)][_0x118ef3(0x1d6)](_0x1ff732);if(!_0x76ebba)return;const _0x35d19c=this[_0x118ef3(0x203)](_0x76ebba);_0x35d19c&&_0x35d19c[_0x118ef3(0x1f8)](_0x384538,_0x3c66ee);}[_0x4712a9(0x1f5)](_0x543a81){const _0x315df3=_0x4712a9,_0x1ed9b2=this[_0x315df3(0x1f4)][_0x315df3(0x1d6)](_0x543a81);_0x1ed9b2&&requestAnimationFrame(()=>{const _0x35a034=_0x315df3;_0x1ed9b2[_0x35a034(0x206)](),this[_0x35a034(0x1f4)][_0x35a034(0x1d7)](_0x543a81),this[_0x35a034(0x1e7)][_0x35a034(0x1e2)]();});}[_0x4712a9(0x205)](){const _0xf8fd3d=_0x4712a9;for(const _0x4491d4 of this[_0xf8fd3d(0x1f4)][_0xf8fd3d(0x1da)]())if(_0x4491d4[_0xf8fd3d(0x1fe)])return!0x0;return!0x1;}[_0x4712a9(0x1db)](_0xa4b156,_0x5a4caf,_0x274b53){const _0x3fff4a=_0x4712a9,_0x29f563=this[_0x3fff4a(0x1f4)][_0x3fff4a(0x1d6)](_0xa4b156);if(!_0x29f563||!_0x29f563[_0x3fff4a(0x1fe)])return;const _0x5e7b7f=this[_0x3fff4a(0x1e7)][_0x3fff4a(0x1fd)]();if(!_0x5e7b7f)return;_0x29f563[_0x3fff4a(0x1e3)]({'target':_0x5e7b7f,'limiter':this[_0x3fff4a(0x1e7)][_0x3fff4a(0x1dd)]()});const _0x206e13=this[_0x3fff4a(0x203)](_0x29f563);_0x206e13&&_0x206e13[_0x3fff4a(0x1db)](_0x5a4caf,_0x274b53);}[_0x4712a9(0x1d4)](){const _0x17111e=_0x4712a9;for(const _0x2f6ad1 of this[_0x17111e(0x1f4)][_0x17111e(0x1da)]())_0x2f6ad1[_0x17111e(0x1d4)]();this[_0x17111e(0x1f4)][_0x17111e(0x1ed)]();}[_0x4712a9(0x1e9)](){const _0x1f1965=_0x4712a9,_0x40ed17=new _0x54089b(this[_0x1f1965(0x1eb)]);return _0x40ed17[_0x1f1965(0x1f2)]({'attributes':{'class':zo}}),this[_0x1f1965(0x1d9)][_0x1f1965(0x20a)](_0x40ed17),_0x40ed17;}[_0x4712a9(0x207)](_0x30e51a,_0xb4c027){const _0x5994db=_0x4712a9;_0x30e51a[_0x5994db(0x1f0)][_0x5994db(0x1ed)]();const _0x26f711=this[_0x5994db(0x1d2)](_0x30e51a,_0xb4c027);_0x30e51a[_0x5994db(0x1f0)][_0x5994db(0x20a)](_0x26f711);const _0x59a83e=this[_0x5994db(0x1e0)](_0xb4c027);_0x30e51a[_0x5994db(0x1f0)][_0x5994db(0x20a)](_0x59a83e);}[_0x4712a9(0x1d2)](_0x255beb,_0x148550){const _0xc553e9=_0x4712a9,_0x75ab83=this[_0xc553e9(0x1d3)](_0x255beb),_0x1ec363=new _0x493b54(this[_0xc553e9(0x1eb)],{'label':_0x148550[_0xc553e9(0x1e8)],'class':Qo});return _0x1ec363[_0xc553e9(0x1f6)][_0xc553e9(0x20a)](_0x75ab83,0x0),_0x1ec363;}[_0x4712a9(0x1d3)](_0x28a1f0){const _0xedd6d4=_0x4712a9,_0x247210=new _0x3f746d(this[_0xedd6d4(0x1eb)]);return _0x247210[_0xedd6d4(0x209)]({'icon':_0x2e8cff,'tooltip':_0x41aeb2(this[_0xedd6d4(0x1eb)],_0xedd6d4(0x208)),'tooltipPosition':'n','class':Jo}),_0x247210['on'](_0xedd6d4(0x204),()=>{const _0x1f7e03=_0xedd6d4;_0x28a1f0[_0x1f7e03(0x206)](),this[_0x1f7e03(0x1e7)][_0x1f7e03(0x1ec)]();}),_0x247210;}[_0x4712a9(0x1e0)](_0x3e1a91){const _0x491986=_0x4712a9,_0x599754=new _0x48ca13(this[_0x491986(0x1eb)],_0x3e1a91);return _0x599754['on'](_0x491986(0x202),(_0x2b565e,_0x49df0a)=>{const _0x560efc=_0x491986;this[_0x560efc(0x1e7)][_0x560efc(0x1ef)](_0x49df0a);}),_0x599754['on'](_0x491986(0x1d8),(_0x25cc8d,_0x48451a)=>{const _0x486803=_0x491986;this[_0x486803(0x1e7)][_0x486803(0x1fb)](_0x48451a[_0x486803(0x1f9)],_0x48451a[_0x486803(0x1ee)]),this[_0x486803(0x1f5)](_0x3e1a91['id']);}),_0x599754;}[_0x4712a9(0x203)](_0x295ea4){const _0x3068ce=_0x4712a9,_0x1239b7=_0x295ea4[_0x3068ce(0x1f0)][_0x3068ce(0x1d6)](0x1);return _0x1239b7 instanceof _0x48ca13?_0x1239b7:null;}[_0x4712a9(0x1e6)](_0x37c683){const _0x50a0b8=_0x4712a9;_0x39b31a({'emitter':_0x37c683,'contextElements':[_0x37c683[_0x50a0b8(0x200)]],'callback':()=>{const _0x5debf3=_0x50a0b8;_0x37c683[_0x5debf3(0x206)](),this[_0x5debf3(0x1e7)][_0x5debf3(0x1e2)]();},'activator':()=>_0x37c683[_0x50a0b8(0x1fe)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x568d55=_0xc55a;(function(_0x5e6913,_0x115cd8){const _0x3e40d4=_0xc55a,_0x4c2c79=_0x5e6913();while(!![]){try{const _0xe45f58=-parseInt(_0x3e40d4(0x1fd))/0x1+parseInt(_0x3e40d4(0x1fe))/0x2+parseInt(_0x3e40d4(0x1ef))/0x3+-parseInt(_0x3e40d4(0x205))/0x4*(-parseInt(_0x3e40d4(0x1f0))/0x5)+parseInt(_0x3e40d4(0x1f8))/0x6+-parseInt(_0x3e40d4(0x204))/0x7+-parseInt(_0x3e40d4(0x201))/0x8*(parseInt(_0x3e40d4(0x1ed))/0x9);if(_0xe45f58===_0x115cd8)break;else _0x4c2c79['push'](_0x4c2c79['shift']());}catch(_0x13a68d){_0x4c2c79['push'](_0x4c2c79['shift']());}}}(_0x5540,0xede0f));function _0x5540(){const _0x38083d=['_source','locale','filter','add','setResources','test','highlightText','382437PbikUy','extendTemplate','3758172DqVJEj','10GqcLSk','_handleResourceSelection','clear','replace','trim','resource','fire','label','5801712ogtAGP','items','\x5c$&','execute','addResourceToContext','554130hlmOWj','3705818evKjhJ','ck-ai-chat-resources__list','updateResourceState','368jRpWbK','useDefaultFiltering','forEach','8292032UizwVV','1190300xtIxtT'];_0x5540=function(){return _0x38083d;};return _0x5540();}import{ListView as _0x5c607b}from'ckeditor5/src/ui.js';function _0xc55a(_0x1213dc,_0x26604e){const _0x554043=_0x5540();return _0xc55a=function(_0xc55ac0,_0x347576){_0xc55ac0=_0xc55ac0-0x1ea;let _0x10418a=_0x554043[_0xc55ac0];return _0x10418a;},_0xc55a(_0x1213dc,_0x26604e);}import{AIChatResourceListItemView as _0x592192}from'./aichatresourcelistitemview.js';const Qo=_0x568d55(0x1ff);export class AIChatContextResourcesListView extends _0x5c607b{[_0x568d55(0x206)];constructor(_0x4dbdf8,_0x3bbd46){const _0x63991e=_0x568d55;super(_0x4dbdf8),this[_0x63991e(0x206)]=_0x3bbd46,this[_0x63991e(0x1ee)]({'attributes':{'class':[Qo]}});}[_0x568d55(0x1ea)](_0x107e27,_0x5d8928){const _0x2fc499=_0x568d55;this[_0x2fc499(0x1f9)][_0x2fc499(0x1f2)]();let _0x3547bc=_0x107e27;if(this[_0x2fc499(0x206)][_0x2fc499(0x202)]&&_0x5d8928&&''!==_0x5d8928[_0x2fc499(0x1f4)]()){const _0x1cdb1a=new RegExp(_0x5d8928[_0x2fc499(0x1f3)](/[.*+?^${}()|[\]\\]/g,_0x2fc499(0x1fa)),'gi');_0x3547bc=_0x107e27[_0x2fc499(0x208)](_0x4f31ef=>_0x1cdb1a[_0x2fc499(0x1eb)](_0x4f31ef[_0x2fc499(0x1f7)]));}for(const _0x409032 of _0x3547bc){const _0x360c27=new _0x592192(this[_0x2fc499(0x207)],_0x409032);_0x360c27['on'](_0x2fc499(0x1fb),()=>{const _0x3010ae=_0x2fc499;this[_0x3010ae(0x1f1)](this[_0x3010ae(0x206)],_0x409032);}),this[_0x2fc499(0x1f9)][_0x2fc499(0x209)](_0x360c27);}this[_0x2fc499(0x206)][_0x2fc499(0x202)]&&this[_0x2fc499(0x1ec)](_0x5d8928);}[_0x568d55(0x1ec)](_0x21848d){const _0x2345da=_0x568d55;this[_0x2345da(0x206)][_0x2345da(0x202)]&&this[_0x2345da(0x1f9)][_0x2345da(0x203)](_0x2c9586=>{const _0x1536b1=_0x2345da;_0x2c9586[_0x1536b1(0x1ec)](_0x21848d);});}[_0x568d55(0x200)](_0x317c58,_0x2ca89b){const _0x3a4067=_0x568d55;for(const _0x41c0ee of this[_0x3a4067(0x1f9)]){const _0x5af1f9=_0x41c0ee;_0x5af1f9[_0x3a4067(0x1f5)]['id']===_0x317c58&&_0x5af1f9[_0x3a4067(0x200)](_0x2ca89b);}}[_0x568d55(0x1f1)](_0x5545f3,_0x4c942a){const _0x91bac5=_0x568d55;this[_0x91bac5(0x1f6)](_0x91bac5(0x1fc),{'source':_0x5545f3,'resource':_0x4c942a});}}
23
+ function _0x32cb(_0x1d3a5f,_0x233f0b){const _0x992172=_0x9921();return _0x32cb=function(_0x32cbfc,_0x118b23){_0x32cbfc=_0x32cbfc-0x90;let _0x37ca9f=_0x992172[_0x32cbfc];return _0x37ca9f;},_0x32cb(_0x1d3a5f,_0x233f0b);}const _0x46fcb4=_0x32cb;function _0x9921(){const _0xce9cad=['resource','7NzvADC','fire','filter','extendTemplate','forEach','_source','locale','execute','label','1359378YEjpkT','trim','test','418aUQBID','items','1876758ArHsKC','addResourceToContext','highlightText','1737PLLLtV','replace','useDefaultFiltering','1690040GLWjat','4fVnRWa','clear','_handleResourceSelection','439855EMvhCh','300358mccptF','1707540WbmQUb','\x5c$&','setResources','add','updateResourceState','ck-ai-chat-resources__list'];_0x9921=function(){return _0xce9cad;};return _0x9921();}(function(_0x430951,_0x4a2981){const _0x217920=_0x32cb,_0x500984=_0x430951();while(!![]){try{const _0x2f61f6=parseInt(_0x217920(0xab))/0x1+parseInt(_0x217920(0x9e))/0x2*(parseInt(_0x217920(0xa3))/0x3)+-parseInt(_0x217920(0xa7))/0x4*(parseInt(_0x217920(0xaa))/0x5)+-parseInt(_0x217920(0xa0))/0x6*(parseInt(_0x217920(0x92))/0x7)+parseInt(_0x217920(0xa6))/0x8+-parseInt(_0x217920(0x9b))/0x9+parseInt(_0x217920(0xac))/0xa;if(_0x2f61f6===_0x4a2981)break;else _0x500984['push'](_0x500984['shift']());}catch(_0x4072c2){_0x500984['push'](_0x500984['shift']());}}}(_0x9921,0x3d6b4));import{ListView as _0x11be48}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x41db81}from'./aichatresourcelistitemview.js';const tc=_0x46fcb4(0x90);export class AIChatContextResourcesListView extends _0x11be48{[_0x46fcb4(0x97)];constructor(_0x3bef91,_0x4dc93e){const _0x44326a=_0x46fcb4;super(_0x3bef91),this[_0x44326a(0x97)]=_0x4dc93e,this[_0x44326a(0x95)]({'attributes':{'class':[tc]}});}[_0x46fcb4(0xae)](_0x173de7,_0x7d932f){const _0x168c01=_0x46fcb4;this[_0x168c01(0x9f)][_0x168c01(0xa8)]();let _0x3f6bc1=_0x173de7;if(this[_0x168c01(0x97)][_0x168c01(0xa5)]&&_0x7d932f&&''!==_0x7d932f[_0x168c01(0x9c)]()){const _0x3e131e=new RegExp(_0x7d932f[_0x168c01(0xa4)](/[.*+?^${}()|[\]\\]/g,_0x168c01(0xad)),'gi');_0x3f6bc1=_0x173de7[_0x168c01(0x94)](_0x11cb3b=>_0x3e131e[_0x168c01(0x9d)](_0x11cb3b[_0x168c01(0x9a)]));}for(const _0xd21b2b of _0x3f6bc1){const _0x147947=new _0x41db81(this[_0x168c01(0x98)],_0xd21b2b);_0x147947['on'](_0x168c01(0x99),()=>{const _0x3553ea=_0x168c01;this[_0x3553ea(0xa9)](this[_0x3553ea(0x97)],_0xd21b2b);}),this[_0x168c01(0x9f)][_0x168c01(0xaf)](_0x147947);}this[_0x168c01(0x97)][_0x168c01(0xa5)]&&this[_0x168c01(0xa2)](_0x7d932f);}[_0x46fcb4(0xa2)](_0x15b32d){const _0x3a556b=_0x46fcb4;this[_0x3a556b(0x97)][_0x3a556b(0xa5)]&&this[_0x3a556b(0x9f)][_0x3a556b(0x96)](_0x24aca2=>{const _0x5153a0=_0x3a556b;_0x24aca2[_0x5153a0(0xa2)](_0x15b32d);});}[_0x46fcb4(0xb0)](_0x53bd11,_0x482f54){const _0x7eabc7=_0x46fcb4;for(const _0x5bf727 of this[_0x7eabc7(0x9f)]){const _0x1f2f29=_0x5bf727;_0x1f2f29[_0x7eabc7(0x91)]['id']===_0x53bd11&&_0x1f2f29[_0x7eabc7(0xb0)](_0x482f54);}}[_0x46fcb4(0xa9)](_0x333867,_0xdc8f00){const _0x22cff1=_0x46fcb4;this[_0x22cff1(0x93)](_0x22cff1(0xa1),{'source':_0x333867,'resource':_0xdc8f00});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x29aa4b,IconView as _0x3b0732,LabeledFieldView as _0xb87814,createLabeledInputText as _0x21a793}from'ckeditor5/src/ui.js';import{IconLoupe as _0x4b025e,IconCancel as _0x4fb583}from'ckeditor5/src/icons.js';import{getTranslation as _0x1babad}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0xb87814{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x529cad){const t=_0x529cad['t'],_0x1e7ff9={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x21a793,'label':_0x1babad(_0x529cad,'AI_CHAT_SEARCH_RESOURCES')};super(_0x529cad,_0x1e7ff9['creator']),this['label']=_0x1e7ff9['label'],this['_viewConfig']=_0x1e7ff9,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x529cad,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x49d50e){this['fire']('search',_0x49d50e);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x3b0732(),this['iconView']['content']=_0x4b025e,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x3b6aef,t){this['resetButtonView']=new _0x29aa4b(_0x3b6aef),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x4fb583,'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',_0x4be7ad=>!_0x4be7ad),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 _0x1f606e,IconView as _0x19a7da,LabeledFieldView as th,createLabeledInputText as _0x27fbf8}from'ckeditor5/src/ui.js';import{IconLoupe as _0x54e956,IconCancel as _0x301d9e}from'ckeditor5/src/icons.js';import{getTranslation as _0x7f4ac5}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends th{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x20cca5){const t=_0x20cca5['t'],_0x1aa0e1={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x27fbf8,'label':_0x7f4ac5(_0x20cca5,'AI_CHAT_SEARCH_RESOURCES')};super(_0x20cca5,_0x1aa0e1['creator']),this['label']=_0x1aa0e1['label'],this['_viewConfig']=_0x1aa0e1,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x20cca5,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x33525a){this['fire']('search',_0x33525a);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x19a7da(),this['iconView']['content']=_0x54e956,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x4a0b02,t){this['resetButtonView']=new _0x1f606e(_0x4a0b02),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x301d9e,'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',_0x4fd0e8=>!_0x4fd0e8),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 _0x346500=_0x35f9;function _0x2034(){const _0x1e63e8=['_resourcesListView','fire','_createResourcesListView','23524rWNeFu','useDefaultFiltering','updateResourceState','extendTemplate','_skeletonLoader','set','_searchView','1071193NvKyNS','div','1524616vNnvcr','3419675sYjsrX','_createSearchView','bindTemplate','loadSourceResources','429zGmUgm','_createSearchSection','79597SzUixH','render','search','ck-ai-chat-resources','_source','2908040AvcjCr','31136058fDRpIR','198qUGWFn','locale','delegate','loadResources','isLoading','children','getQuery','addResourceToContext','aiChatResources','_createSkeletonView','setTemplate','ck\x20ck-search','_latestLoadResourcesUid','highlightText','setResources','ck-hidden'];_0x2034=function(){return _0x1e63e8;};return _0x2034();}(function(_0x4cd3f0,_0x52b9d1){const _0x15cada=_0x35f9,_0x46d46b=_0x4cd3f0();while(!![]){try{const _0x4f6068=parseInt(_0x15cada(0x1b0))/0x1+parseInt(_0x15cada(0x1b2))/0x2+-parseInt(_0x15cada(0x1b7))/0x3*(-parseInt(_0x15cada(0x1a9))/0x4)+parseInt(_0x15cada(0x1b3))/0x5+parseInt(_0x15cada(0x196))/0x6*(parseInt(_0x15cada(0x1b9))/0x7)+parseInt(_0x15cada(0x1be))/0x8+-parseInt(_0x15cada(0x195))/0x9;if(_0x4f6068===_0x52b9d1)break;else _0x46d46b['push'](_0x46d46b['shift']());}catch(_0x8c1eb8){_0x46d46b['push'](_0x46d46b['shift']());}}}(_0x2034,0x9baa5));import{View as _0x545e45,ViewCollection as _0x68f4dd}from'ckeditor5/src/ui.js';function _0x35f9(_0x36bee9,_0x2ec4b7){const _0x203471=_0x2034();return _0x35f9=function(_0x35f9a7,_0x81122e){_0x35f9a7=_0x35f9a7-0x195;let _0x55147f=_0x203471[_0x35f9a7];return _0x55147f;},_0x35f9(_0x36bee9,_0x2ec4b7);}import{uid as _0x5dd13e}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x272610}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0xeefa22}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x39c801,SKELETON_DEFINITIONS as _0x2feadf}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x545e45{[_0x346500(0x1af)];[_0x346500(0x1a6)];[_0x346500(0x1ad)];[_0x346500(0x1bd)];[_0x346500(0x19b)];[_0x346500(0x1a2)]=null;constructor(_0x281756,_0x515aaf){const _0x16b425=_0x346500;super(_0x281756),this[_0x16b425(0x1bd)]=_0x515aaf,this[_0x16b425(0x1ae)](_0x16b425(0x19a),!0x0),this[_0x16b425(0x1af)]=this[_0x16b425(0x1b4)]();const _0x23c2aa=this[_0x16b425(0x1b8)]();this[_0x16b425(0x1a6)]=this[_0x16b425(0x1a8)](),this[_0x16b425(0x1ad)]=this[_0x16b425(0x19f)](),this[_0x16b425(0x19b)]=new _0x68f4dd([_0x23c2aa,this[_0x16b425(0x1ad)],this[_0x16b425(0x1a6)]]),this[_0x16b425(0x1a0)]({'tag':_0x16b425(0x1b1),'attributes':{'class':_0x16b425(0x1bc)},'children':this[_0x16b425(0x19b)]});}[_0x346500(0x1b4)](){const _0x3aa2c0=_0x346500;return new _0xeefa22(this[_0x3aa2c0(0x197)]);}[_0x346500(0x1b8)](){const _0x316851=_0x346500,_0x53aa11=new _0x545e45(this[_0x316851(0x197)]);return _0x53aa11[_0x316851(0x1a0)]({'tag':_0x316851(0x1b1),'attributes':{'class':_0x316851(0x1a1)},'children':[this[_0x316851(0x1af)]]}),this[_0x316851(0x1af)]['on'](_0x316851(0x1bb),(_0x1add6c,_0x2dab25)=>{const _0x3070e7=_0x316851;this[_0x3070e7(0x199)](_0x2dab25),this[_0x3070e7(0x1bd)][_0x3070e7(0x1aa)]&&this[_0x3070e7(0x1a6)][_0x3070e7(0x1a3)](_0x2dab25);}),_0x53aa11;}[_0x346500(0x1a8)](){const _0x2a3e99=_0x346500,_0x2a8f98=new _0x272610(this[_0x2a3e99(0x197)],this[_0x2a3e99(0x1bd)]);return _0x2a8f98[_0x2a3e99(0x198)](_0x2a3e99(0x19d))['to'](this),_0x2a8f98[_0x2a3e99(0x1ac)]({'attributes':{'class':this[_0x2a3e99(0x1b5)]['if'](_0x2a3e99(0x19a),_0x2a3e99(0x1a5))}}),_0x2a8f98;}[_0x346500(0x19f)](){const _0x3221d8=_0x346500,_0x5c89f9=new _0x39c801(this[_0x3221d8(0x197)],_0x2feadf[_0x3221d8(0x19e)]);return _0x5c89f9[_0x3221d8(0x1ac)]({'attributes':{'class':[this[_0x3221d8(0x1b5)]['if'](_0x3221d8(0x19a),_0x3221d8(0x1a5),_0xa7cf8c=>!_0xa7cf8c)]}}),_0x5c89f9;}[_0x346500(0x1ba)](){const _0x218ec5=_0x346500;super[_0x218ec5(0x1ba)](),this[_0x218ec5(0x199)]('');}[_0x346500(0x199)](_0x93f978){const _0x4074d3=_0x346500,_0x405fe0=_0x5dd13e();this[_0x4074d3(0x1a2)]=_0x405fe0,this[_0x4074d3(0x1a7)](_0x4074d3(0x1b6),{'sourceId':this[_0x4074d3(0x1bd)]['id'],'query':_0x93f978,'uid':_0x405fe0}),this[_0x4074d3(0x19a)]=!0x0;}[_0x346500(0x1a4)](_0x1d61df,_0x3f86c9){const _0x1fddd0=_0x346500;if(_0x3f86c9&&_0x3f86c9!==this[_0x1fddd0(0x1a2)])return;const _0x3fc459=this[_0x1fddd0(0x1bd)][_0x1fddd0(0x1aa)]?this[_0x1fddd0(0x1af)][_0x1fddd0(0x19c)]():'';this[_0x1fddd0(0x1a6)][_0x1fddd0(0x1a4)](_0x1d61df,_0x3fc459),requestAnimationFrame(()=>{const _0x55be26=_0x1fddd0;this[_0x55be26(0x19a)]=!0x1;});}[_0x346500(0x1ab)](_0x21d8b3,_0x3581d1){const _0x2f8501=_0x346500;this[_0x2f8501(0x1a6)][_0x2f8501(0x1ab)](_0x21d8b3,_0x3581d1);}}
23
+ const _0x1aa0fc=_0x4ff2;(function(_0x4c853a,_0x47c291){const _0x20f28a=_0x4ff2,_0x524757=_0x4c853a();while(!![]){try{const _0x4a7b95=parseInt(_0x20f28a(0xa3))/0x1*(parseInt(_0x20f28a(0xb9))/0x2)+parseInt(_0x20f28a(0xb5))/0x3+parseInt(_0x20f28a(0xa8))/0x4+parseInt(_0x20f28a(0xb0))/0x5+-parseInt(_0x20f28a(0xad))/0x6+-parseInt(_0x20f28a(0xae))/0x7*(-parseInt(_0x20f28a(0x93))/0x8)+-parseInt(_0x20f28a(0x98))/0x9*(parseInt(_0x20f28a(0xb4))/0xa);if(_0x4a7b95===_0x47c291)break;else _0x524757['push'](_0x524757['shift']());}catch(_0x3d338d){_0x524757['push'](_0x524757['shift']());}}}(_0x3463,0x43216));import{View as _0x30161e,ViewCollection as _0x116366}from'ckeditor5/src/ui.js';import{uid as _0x5c797c}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x4424ab}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x89b3cb}from'./aichatresourcessearchinputview.js';function _0x4ff2(_0x4e1bae,_0x29a4c7){const _0x346341=_0x3463();return _0x4ff2=function(_0x4ff21b,_0x3430da){_0x4ff21b=_0x4ff21b-0x92;let _0x438bac=_0x346341[_0x4ff21b];return _0x438bac;},_0x4ff2(_0x4e1bae,_0x29a4c7);}function _0x3463(){const _0x176c8e=['_resourcesListView','240788rPXJir','children','_source','_createResourcesListView','render','4042096PyZIdh','highlightText','_latestLoadResourcesUid','locale','div','368964gLIQWt','loadResources','fire','ck-ai-chat-resources','addResourceToContext','_searchView','bindTemplate','ck-hidden','_createSearchSection','updateResourceState','_skeletonLoader','4PMJAse','useDefaultFiltering','aiChatResources','ck\x20ck-search','isLoading','1549480yDNdmL','loadSourceResources','set','_createSearchView','delegate','3015018LbBrJi','7gRqBwF','getQuery','663965xroVIP','setResources','setTemplate','search','290nWldKg','1378056WchzeM','_createSkeletonView','extendTemplate'];_0x3463=function(){return _0x176c8e;};return _0x3463();}import{AISkeletonView as _0x2a454c,SKELETON_DEFINITIONS as _0x158f49}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x30161e{[_0x1aa0fc(0x9d)];[_0x1aa0fc(0xb8)];[_0x1aa0fc(0xa2)];[_0x1aa0fc(0xbb)];[_0x1aa0fc(0xba)];[_0x1aa0fc(0x95)]=null;constructor(_0x1c1e68,_0x14ef65){const _0x581a78=_0x1aa0fc;super(_0x1c1e68),this[_0x581a78(0xbb)]=_0x14ef65,this[_0x581a78(0xaa)](_0x581a78(0xa7),!0x0),this[_0x581a78(0x9d)]=this[_0x581a78(0xab)]();const _0x359a8e=this[_0x581a78(0xa0)]();this[_0x581a78(0xb8)]=this[_0x581a78(0xbc)](),this[_0x581a78(0xa2)]=this[_0x581a78(0xb6)](),this[_0x581a78(0xba)]=new _0x116366([_0x359a8e,this[_0x581a78(0xa2)],this[_0x581a78(0xb8)]]),this[_0x581a78(0xb2)]({'tag':_0x581a78(0x97),'attributes':{'class':_0x581a78(0x9b)},'children':this[_0x581a78(0xba)]});}[_0x1aa0fc(0xab)](){const _0x476eb6=_0x1aa0fc;return new _0x89b3cb(this[_0x476eb6(0x96)]);}[_0x1aa0fc(0xa0)](){const _0x8cb277=_0x1aa0fc,_0x5b8cd7=new _0x30161e(this[_0x8cb277(0x96)]);return _0x5b8cd7[_0x8cb277(0xb2)]({'tag':_0x8cb277(0x97),'attributes':{'class':_0x8cb277(0xa6)},'children':[this[_0x8cb277(0x9d)]]}),this[_0x8cb277(0x9d)]['on'](_0x8cb277(0xb3),(_0x2daf5f,_0xe26eff)=>{const _0x50f1d0=_0x8cb277;this[_0x50f1d0(0x99)](_0xe26eff),this[_0x50f1d0(0xbb)][_0x50f1d0(0xa4)]&&this[_0x50f1d0(0xb8)][_0x50f1d0(0x94)](_0xe26eff);}),_0x5b8cd7;}[_0x1aa0fc(0xbc)](){const _0x2f1c31=_0x1aa0fc,_0x254ee3=new _0x4424ab(this[_0x2f1c31(0x96)],this[_0x2f1c31(0xbb)]);return _0x254ee3[_0x2f1c31(0xac)](_0x2f1c31(0x9c))['to'](this),_0x254ee3[_0x2f1c31(0xb7)]({'attributes':{'class':this[_0x2f1c31(0x9e)]['if'](_0x2f1c31(0xa7),_0x2f1c31(0x9f))}}),_0x254ee3;}[_0x1aa0fc(0xb6)](){const _0x347c3e=_0x1aa0fc,_0x55fbaa=new _0x2a454c(this[_0x347c3e(0x96)],_0x158f49[_0x347c3e(0xa5)]);return _0x55fbaa[_0x347c3e(0xb7)]({'attributes':{'class':[this[_0x347c3e(0x9e)]['if'](_0x347c3e(0xa7),_0x347c3e(0x9f),_0x5e7d55=>!_0x5e7d55)]}}),_0x55fbaa;}[_0x1aa0fc(0x92)](){const _0x40e4e8=_0x1aa0fc;super[_0x40e4e8(0x92)](),this[_0x40e4e8(0x99)]('');}[_0x1aa0fc(0x99)](_0x3cc655){const _0x58240a=_0x1aa0fc,_0x58d155=_0x5c797c();this[_0x58240a(0x95)]=_0x58d155,this[_0x58240a(0x9a)](_0x58240a(0xa9),{'sourceId':this[_0x58240a(0xbb)]['id'],'query':_0x3cc655,'uid':_0x58d155}),this[_0x58240a(0xa7)]=!0x0;}[_0x1aa0fc(0xb1)](_0x5e420e,_0x519fff){const _0x459f38=_0x1aa0fc;if(_0x519fff&&_0x519fff!==this[_0x459f38(0x95)])return;const _0x24840d=this[_0x459f38(0xbb)][_0x459f38(0xa4)]?this[_0x459f38(0x9d)][_0x459f38(0xaf)]():'';this[_0x459f38(0xb8)][_0x459f38(0xb1)](_0x5e420e,_0x24840d),requestAnimationFrame(()=>{const _0x1dce06=_0x459f38;this[_0x1dce06(0xa7)]=!0x1;});}[_0x1aa0fc(0xa1)](_0x3781d0,_0x118828){const _0x18df2f=_0x1aa0fc;this[_0x18df2f(0xb8)][_0x18df2f(0xa1)](_0x3781d0,_0x118828);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41acb8=_0x19b8;(function(_0x4e1cfd,_0x51b0a6){const _0x4de4c7=_0x19b8,_0x1c4678=_0x4e1cfd();while(!![]){try{const _0x1e3bd8=-parseInt(_0x4de4c7(0x196))/0x1+-parseInt(_0x4de4c7(0x184))/0x2*(-parseInt(_0x4de4c7(0x18e))/0x3)+-parseInt(_0x4de4c7(0x181))/0x4*(parseInt(_0x4de4c7(0x198))/0x5)+-parseInt(_0x4de4c7(0x199))/0x6+parseInt(_0x4de4c7(0x191))/0x7+-parseInt(_0x4de4c7(0x18d))/0x8*(-parseInt(_0x4de4c7(0x18c))/0x9)+parseInt(_0x4de4c7(0x189))/0xa*(parseInt(_0x4de4c7(0x185))/0xb);if(_0x1e3bd8===_0x51b0a6)break;else _0x1c4678['push'](_0x1c4678['shift']());}catch(_0x5556d2){_0x1c4678['push'](_0x1c4678['shift']());}}}(_0x387b,0x68aed));import{View as _0x20ad52}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x328bc0}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x182b1b}from'../controls/aichatchipsoverflowmanager.js';function _0x19b8(_0x5caa8c,_0x42f76a){const _0x387be4=_0x387b();return _0x19b8=function(_0x19b880,_0x492fdc){_0x19b880=_0x19b880-0x179;let _0x466b3c=_0x387be4[_0x19b880];return _0x466b3c;},_0x19b8(_0x5caa8c,_0x42f76a);}function _0x387b(){const _0x27198c=['200610IsaRYa','div','setTemplate','261MKYNZU','157128YQSAzm','525DTNklW','_createContextChips','ck-ai-chat-controls-button','2752386oUiQwo','add','element','_bodyCollection','ck-ai-chat-context-chips-wrapper-balloon','586138QTzaxN','ck-ai-chat-context-chips-wrapper','20AyEZRl','2573544dlXBkD','ck-ai-chat-controls_context_show-more-button','ck-reset_all','setContainerElement','createCollection','ck-ai-chat__feed__context-chips','_overflowManager','destroy','querySelector','473156Pqpjis','_contextChips','ck-ai-chat-context-controls__show-more-balloon-panel','1276XvNZCv','462yVGHna','render','locale','reorganizeChips'];_0x387b=function(){return _0x27198c;};return _0x387b();}const po=_0x41acb8(0x17d),wo=_0x41acb8(0x197),_o=_0x41acb8(0x195),uo=_0x41acb8(0x190),xo=_0x41acb8(0x179),fo=_0x41acb8(0x183);export class AIChatFeedContextChipsView extends _0x20ad52{[_0x41acb8(0x182)]=this[_0x41acb8(0x17c)]();[_0x41acb8(0x17e)];[_0x41acb8(0x194)];constructor(_0x5eecf7,_0x554a83,_0x4d7188){const _0x1588f6=_0x41acb8;super(_0x5eecf7),this[_0x1588f6(0x194)]=_0x4d7188,this[_0x1588f6(0x18f)](_0x554a83);const _0x374a10={'cssClasses':{'showMoreButton':xo,'showMoreBalloon':fo,'overflowContainer':_o,'controlsButton':uo}};this[_0x1588f6(0x17e)]=new _0x182b1b(_0x5eecf7,this[_0x1588f6(0x182)],_0x374a10,this[_0x1588f6(0x194)],this),this[_0x1588f6(0x18b)]({'tag':_0x1588f6(0x18a),'attributes':{'class':[po,'ck',_0x1588f6(0x17a)]},'children':[{'tag':_0x1588f6(0x18a),'attributes':{'class':wo},'children':this[_0x1588f6(0x182)]}]});}[_0x41acb8(0x186)](){const _0xd1cea5=_0x41acb8;super[_0xd1cea5(0x186)]();const _0x551841=this[_0xd1cea5(0x193)][_0xd1cea5(0x180)]('.'+wo);_0x551841&&(this[_0xd1cea5(0x17e)][_0xd1cea5(0x17b)](_0x551841),this[_0xd1cea5(0x17e)][_0xd1cea5(0x188)]());}[_0x41acb8(0x17f)](){const _0x34eab6=_0x41acb8;super[_0x34eab6(0x17f)](),this[_0x34eab6(0x17e)][_0x34eab6(0x17f)]();}[_0x41acb8(0x18f)](_0x3c7ddb){const _0x3c5e30=_0x41acb8;for(const _0x13b596 of _0x3c7ddb){const _0x23fed4=new _0x328bc0(this[_0x3c5e30(0x187)],_0x13b596,!0x0,!0x1);this[_0x3c5e30(0x182)][_0x3c5e30(0x192)](_0x23fed4);}}}
23
+ function _0x29c8(_0x1205bd,_0x391e43){const _0x32534e=_0x3253();return _0x29c8=function(_0x29c8d4,_0xe21bf1){_0x29c8d4=_0x29c8d4-0x1b7;let _0x13bcce=_0x32534e[_0x29c8d4];return _0x13bcce;},_0x29c8(_0x1205bd,_0x391e43);}const _0x2e8907=_0x29c8;(function(_0x6860ce,_0x1c1412){const _0x26753b=_0x29c8,_0x456a3c=_0x6860ce();while(!![]){try{const _0x52e758=parseInt(_0x26753b(0x1cd))/0x1*(parseInt(_0x26753b(0x1c6))/0x2)+-parseInt(_0x26753b(0x1c3))/0x3+parseInt(_0x26753b(0x1ce))/0x4*(-parseInt(_0x26753b(0x1d0))/0x5)+-parseInt(_0x26753b(0x1d1))/0x6+-parseInt(_0x26753b(0x1be))/0x7*(-parseInt(_0x26753b(0x1d2))/0x8)+parseInt(_0x26753b(0x1d6))/0x9+-parseInt(_0x26753b(0x1b7))/0xa*(-parseInt(_0x26753b(0x1ba))/0xb);if(_0x52e758===_0x1c1412)break;else _0x456a3c['push'](_0x456a3c['shift']());}catch(_0x98905b){_0x456a3c['push'](_0x456a3c['shift']());}}}(_0x3253,0x72323));import{View as _0x1467f0}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x540ec6}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2a474c}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x2e8907(0x1cf),$o=_0x2e8907(0x1c8),qo=_0x2e8907(0x1c2),Vo=_0x2e8907(0x1bb),Io=_0x2e8907(0x1d3),Po=_0x2e8907(0x1bd);export class AIChatFeedContextChipsView extends _0x1467f0{[_0x2e8907(0x1c7)]=this[_0x2e8907(0x1bc)]();[_0x2e8907(0x1c4)];[_0x2e8907(0x1b9)];constructor(_0x3c4f0,_0x31b345,_0x3e7fff){const _0x2bb6b5=_0x2e8907;super(_0x3c4f0),this[_0x2bb6b5(0x1b9)]=_0x3e7fff,this[_0x2bb6b5(0x1ca)](_0x31b345);const _0x870a11={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Po,'overflowContainer':qo,'controlsButton':Vo}};this[_0x2bb6b5(0x1c4)]=new _0x2a474c(_0x3c4f0,this[_0x2bb6b5(0x1c7)],_0x870a11,this[_0x2bb6b5(0x1b9)],this),this[_0x2bb6b5(0x1d7)]({'tag':_0x2bb6b5(0x1c9),'attributes':{'class':[Fo,'ck',_0x2bb6b5(0x1cb)]},'children':[{'tag':_0x2bb6b5(0x1c9),'attributes':{'class':$o},'children':this[_0x2bb6b5(0x1c7)]}]});}[_0x2e8907(0x1d4)](){const _0x2129b5=_0x2e8907;super[_0x2129b5(0x1d4)]();const _0x52b8be=this[_0x2129b5(0x1cc)][_0x2129b5(0x1d5)]('.'+$o);_0x52b8be&&(this[_0x2129b5(0x1c4)][_0x2129b5(0x1bf)](_0x52b8be),this[_0x2129b5(0x1c4)][_0x2129b5(0x1b8)]());}[_0x2e8907(0x1c1)](){const _0x1dc6c1=_0x2e8907;super[_0x1dc6c1(0x1c1)](),this[_0x1dc6c1(0x1c4)][_0x1dc6c1(0x1c1)]();}[_0x2e8907(0x1ca)](_0x252b3d){const _0x4259b7=_0x2e8907;for(const _0x40a0d7 of _0x252b3d){const _0x1a30f0=new _0x540ec6(this[_0x4259b7(0x1c5)],_0x40a0d7,!0x0,!0x1);this[_0x4259b7(0x1c7)][_0x4259b7(0x1c0)](_0x1a30f0);}}}function _0x3253(){const _0x2eb560=['createCollection','ck-ai-chat-context-controls__show-more-balloon-panel','5506879EmASxb','setContainerElement','add','destroy','ck-ai-chat-context-chips-wrapper-balloon','827685VVpKtj','_overflowManager','locale','33624QbWAVy','_contextChips','ck-ai-chat-context-chips-wrapper','div','_createContextChips','ck-reset_all','element','29PWFGJl','2060PJajQd','ck-ai-chat__feed__context-chips','6775eHZDkf','1304868CsqXdg','8LxTYct','ck-ai-chat-controls_context_show-more-button','render','querySelector','952731TjbUPH','setTemplate','10EPVlvf','reorganizeChips','_bodyCollection','3067251ABrAow','ck-ai-chat-controls-button'];_0x3253=function(){return _0x2eb560;};return _0x3253();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x504402=_0x394f;function _0x394f(_0x1e463b,_0x1a292d){const _0x2f49a2=_0x2f49();return _0x394f=function(_0x394f78,_0x16e504){_0x394f78=_0x394f78-0x1ac;let _0x4b4f83=_0x2f49a2[_0x394f78];return _0x4b4f83;},_0x394f(_0x1e463b,_0x1a292d);}function _0x2f49(){const _0x4e4141=['10FUewaL','20ZYuzJX','ck-ai-chat__feed__interaction-header__capabilities','div','10zClctY','ck-ai-chat__feed__interaction-header','24rvQpfl','402996dJjkUS','content','91xVPMay','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','1131218LiBmmG','children','ck-hidden','3004918yAyLzG','span','add','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','setTemplate','push','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities__text','690328pfScvy','13GpJtXk','28344XCHZqu','extendTemplate','8519895JXJwQj','2bgMyrC','865843EMEEDQ'];_0x2f49=function(){return _0x4e4141;};return _0x2f49();}(function(_0x4eba2c,_0x1dd153){const _0x33ce64=_0x394f,_0x2b29cd=_0x4eba2c();while(!![]){try{const _0x5472e2=-parseInt(_0x33ce64(0x1b3))/0x1*(-parseInt(_0x33ce64(0x1c4))/0x2)+parseInt(_0x33ce64(0x1af))/0x3*(-parseInt(_0x33ce64(0x1c7))/0x4)+-parseInt(_0x33ce64(0x1c6))/0x5*(-parseInt(_0x33ce64(0x1c1))/0x6)+-parseInt(_0x33ce64(0x1b1))/0x7*(-parseInt(_0x33ce64(0x1bf))/0x8)+parseInt(_0x33ce64(0x1c3))/0x9*(-parseInt(_0x33ce64(0x1ac))/0xa)+parseInt(_0x33ce64(0x1c5))/0xb*(parseInt(_0x33ce64(0x1ae))/0xc)+parseInt(_0x33ce64(0x1c0))/0xd*(-parseInt(_0x33ce64(0x1b6))/0xe);if(_0x5472e2===_0x1dd153)break;else _0x2b29cd['push'](_0x2b29cd['shift']());}catch(_0xcbcd3a){_0x2b29cd['push'](_0x2b29cd['shift']());}}}(_0x2f49,0x8f4ab));import{IconBulb as _0x10a06c,IconWeb as _0x1be699}from'@ckeditor/ckeditor5-icons';import{IconView as _0x4877f3,View as _0x5e59f1}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x877df4}from'./aichatfeeditemview.js';import{getTranslation as _0x39f108}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x877df4{[_0x504402(0x1b9)];constructor(_0xe2f8c9,_0x4c39f9){const _0x5e88f3=_0x504402;super(_0x4c39f9);const {isWebSearchEnabled:_0x26ca34,isReasoningEnabled:_0x1aeb33}=_0x4c39f9[_0x5e88f3(0x1b9)],_0xb50959=[];let _0x3140dd='';_0x26ca34&&_0x1aeb33?(_0x3140dd=_0x39f108(_0xe2f8c9,_0x5e88f3(0x1ba)),_0xb50959[_0x5e88f3(0x1bc)](ia(_0x1be699)),_0xb50959[_0x5e88f3(0x1bc)](ia(_0x10a06c))):_0x26ca34?(_0x3140dd=_0x39f108(_0xe2f8c9,_0x5e88f3(0x1b2)),_0xb50959[_0x5e88f3(0x1bc)](ia(_0x1be699))):_0x1aeb33&&(_0x3140dd=_0x39f108(_0xe2f8c9,_0x5e88f3(0x1bd)),_0xb50959[_0x5e88f3(0x1bc)](ia(_0x10a06c))),this[_0x5e88f3(0x1c2)]({'attributes':{'class':[_0x5e88f3(0x1ad),_0x3140dd?'':_0x5e88f3(0x1b5)]}});const _0x552eb7=new _0x5e59f1();_0x552eb7[_0x5e88f3(0x1bb)]({'tag':_0x5e88f3(0x1c9),'attributes':{'class':['ck',_0x5e88f3(0x1c8)]},'children':[..._0xb50959,{'tag':_0x5e88f3(0x1b7),'attributes':{'class':[_0x5e88f3(0x1be)]},'children':[_0x3140dd]}]}),this[_0x5e88f3(0x1b4)][_0x5e88f3(0x1b8)](_0x552eb7),this[_0x5e88f3(0x1b9)]=_0x4c39f9[_0x5e88f3(0x1b9)];}}function ia(_0x1b1636){const _0x33157d=_0x504402,_0x43c495=new _0x4877f3();return _0x43c495[_0x33157d(0x1b0)]=_0x1b1636,_0x43c495;}
23
+ const _0x42d598=_0x519a;(function(_0x2060be,_0x1ed027){const _0x3b6018=_0x519a,_0x414e8d=_0x2060be();while(!![]){try{const _0x18f180=parseInt(_0x3b6018(0x19b))/0x1*(parseInt(_0x3b6018(0x197))/0x2)+parseInt(_0x3b6018(0x194))/0x3+-parseInt(_0x3b6018(0x188))/0x4+parseInt(_0x3b6018(0x195))/0x5*(parseInt(_0x3b6018(0x18a))/0x6)+parseInt(_0x3b6018(0x19c))/0x7*(-parseInt(_0x3b6018(0x18e))/0x8)+-parseInt(_0x3b6018(0x18b))/0x9*(parseInt(_0x3b6018(0x185))/0xa)+parseInt(_0x3b6018(0x183))/0xb;if(_0x18f180===_0x1ed027)break;else _0x414e8d['push'](_0x414e8d['shift']());}catch(_0x258ebe){_0x414e8d['push'](_0x414e8d['shift']());}}}(_0x9ad4,0xb8e57));import{IconBulb as _0x3a24e1,IconWeb as _0x3bfc01}from'@ckeditor/ckeditor5-icons';function _0x519a(_0x3baddf,_0x3af8b9){const _0x9ad478=_0x9ad4();return _0x519a=function(_0x519ada,_0x253eb3){_0x519ada=_0x519ada-0x183;let _0x2fcf5a=_0x9ad478[_0x519ada];return _0x2fcf5a;},_0x519a(_0x3baddf,_0x3af8b9);}import{IconView as _0x4e0fd6,View as _0x1a639f}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x1e3ec7}from'./aichatfeeditemview.js';import{getTranslation as _0x5b368e}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x1e3ec7{[_0x42d598(0x18f)];constructor(_0x3489ee,_0x569cf3){const _0x372cfd=_0x42d598;super(_0x569cf3);const {isWebSearchEnabled:_0x234f93,isReasoningEnabled:_0x1eb6b6}=_0x569cf3[_0x372cfd(0x18f)],_0x58e541=[];let _0x150005='';_0x234f93&&_0x1eb6b6?(_0x150005=_0x5b368e(_0x3489ee,_0x372cfd(0x196)),_0x58e541[_0x372cfd(0x190)](ta(_0x3bfc01)),_0x58e541[_0x372cfd(0x190)](ta(_0x3a24e1))):_0x234f93?(_0x150005=_0x5b368e(_0x3489ee,_0x372cfd(0x193)),_0x58e541[_0x372cfd(0x190)](ta(_0x3bfc01))):_0x1eb6b6&&(_0x150005=_0x5b368e(_0x3489ee,_0x372cfd(0x191)),_0x58e541[_0x372cfd(0x190)](ta(_0x3a24e1))),this[_0x372cfd(0x198)]({'attributes':{'class':[_0x372cfd(0x199),_0x150005?'':_0x372cfd(0x186)]}});const _0x3e8866=new _0x1a639f();_0x3e8866[_0x372cfd(0x187)]({'tag':_0x372cfd(0x19d),'attributes':{'class':['ck',_0x372cfd(0x192)]},'children':[..._0x58e541,{'tag':_0x372cfd(0x19a),'attributes':{'class':[_0x372cfd(0x184)]},'children':[_0x150005]}]}),this[_0x372cfd(0x189)][_0x372cfd(0x18d)](_0x3e8866),this[_0x372cfd(0x18f)]=_0x569cf3[_0x372cfd(0x18f)];}}function _0x9ad4(){const _0x2fdc2f=['ck-ai-chat__feed__interaction-header__capabilities__text','2303890sVFOwO','ck-hidden','setTemplate','11724QwZPjY','children','174ZuJvji','54sGPnhZ','content','add','95336aeCzAR','capabilities','push','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','3180885jvkIrb','15415hjwxTy','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','96458mKsioo','extendTemplate','ck-ai-chat__feed__interaction-header','span','16uPqXOC','91EewlrK','div','4137705mJVdhB'];_0x9ad4=function(){return _0x2fdc2f;};return _0x9ad4();}function ta(_0x49cf8b){const _0x1048f7=_0x42d598,_0x3ad36f=new _0x4e0fd6();return _0x3ad36f[_0x1048f7(0x18c)]=_0x49cf8b,_0x3ad36f;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56252b=_0x2821;(function(_0x28ddbd,_0x253c71){const _0x58cc05=_0x2821,_0x9f3307=_0x28ddbd();while(!![]){try{const _0x253dec=-parseInt(_0x58cc05(0x12e))/0x1+-parseInt(_0x58cc05(0x132))/0x2*(parseInt(_0x58cc05(0x137))/0x3)+-parseInt(_0x58cc05(0x139))/0x4*(-parseInt(_0x58cc05(0x145))/0x5)+-parseInt(_0x58cc05(0x142))/0x6*(-parseInt(_0x58cc05(0x125))/0x7)+-parseInt(_0x58cc05(0x129))/0x8+-parseInt(_0x58cc05(0x12f))/0x9*(-parseInt(_0x58cc05(0x13e))/0xa)+-parseInt(_0x58cc05(0x134))/0xb*(parseInt(_0x58cc05(0x12b))/0xc);if(_0x253dec===_0x253c71)break;else _0x9f3307['push'](_0x9f3307['shift']());}catch(_0x3917b0){_0x9f3307['push'](_0x9f3307['shift']());}}}(_0x5ec1,0x999f1));import{View as _0x4ae1fc}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1edfb4}from'../../../aicore/utils/htmlstreamer.js';function _0x2821(_0x1f81f7,_0x769a1f){const _0x5ec1bf=_0x5ec1();return _0x2821=function(_0x282114,_0x24a360){_0x282114=_0x282114-0x121;let _0x4c09bb=_0x5ec1bf[_0x282114];return _0x4c09bb;},_0x2821(_0x1f81f7,_0x769a1f);}export class AIChatFeedItemView extends _0x4ae1fc{[_0x56252b(0x127)];[_0x56252b(0x133)]='';[_0x56252b(0x12c)];[_0x56252b(0x123)];constructor(_0x1cfd95){const _0x2455ec=_0x56252b;super();const _0x269c0c=this[_0x2455ec(0x146)];this[_0x2455ec(0x13c)](_0x2455ec(0x124),!0x1),this[_0x2455ec(0x13c)](_0x2455ec(0x131),!0x0),this[_0x2455ec(0x12c)]=new _0x1edfb4({'textNodeStyle':_0x2455ec(0x135),'delay':0x14}),this[_0x2455ec(0x127)]=_0x1cfd95,this[_0x2455ec(0x123)]=this[_0x2455ec(0x130)](),this[_0x2455ec(0x138)]({'tag':_0x2455ec(0x144),'attributes':{'class':['ck',_0x2455ec(0x122),_0x269c0c['if'](_0x2455ec(0x124),_0x2455ec(0x13f)),_0x269c0c['if'](_0x2455ec(0x131),_0x2455ec(0x13b),_0x39d69c=>!_0x39d69c),_0x2455ec(0x140)],'data-cke-ai-id':this[_0x2455ec(0x127)]['id']},'children':this[_0x2455ec(0x123)]});}[_0x56252b(0x128)](){const _0x4fa551=_0x56252b;this[_0x4fa551(0x12c)][_0x4fa551(0x12d)]({'targetElement':this[_0x4fa551(0x143)]}),this[_0x4fa551(0x143)][_0x4fa551(0x136)](_0x4fa551(0x126))[_0x4fa551(0x12a)](_0x20181f=>{const _0x4b750a=_0x4fa551;_0x20181f[_0x4b750a(0x141)](_0x4b750a(0x13a));}),this[_0x4fa551(0x124)]=!0x0;}async[_0x56252b(0x13d)](_0x19557a,_0x174e66,_0x351e8b){const _0x54fa3d=_0x56252b;await this[_0x54fa3d(0x12c)][_0x54fa3d(0x121)]({'document':_0x19557a,'targetElement':_0x174e66,'abortSignal':_0x351e8b});}}function _0x5ec1(){const _0x3124aa=['removeAttribute','186JrdOlo','element','div','25DVAwyE','bindTemplate','stream','ck-ai-chat__feed__item','children','isDone','67753EuCEyt','[data-id]','options','markAsDone','4786160pAmsIR','forEach','6144xWcMca','htmlStreamer','cleanUpAnimations','685973ksehck','2703375fzNkrU','createCollection','isVisible','5882bqrhVL','content','1408nIAJwm','animation:\x20ck-html-streamer-fade-in\x20.5s','querySelectorAll','291gBEypd','setTemplate','850492OPUHfo','data-id','ck-hidden','set','streamIntoElement','30kqaEoR','ck-ai-chat__feed__item_done','ck-ai-chat__feed__text-item'];_0x5ec1=function(){return _0x3124aa;};return _0x5ec1();}
23
+ const _0x6829a9=_0x1eb3;function _0x1eb3(_0x28c42b,_0x1af455){const _0x36b367=_0x36b3();return _0x1eb3=function(_0x1eb3c3,_0x416f66){_0x1eb3c3=_0x1eb3c3-0xbc;let _0x63941d=_0x36b367[_0x1eb3c3];return _0x63941d;},_0x1eb3(_0x28c42b,_0x1af455);}(function(_0x39d037,_0x328006){const _0x11871c=_0x1eb3,_0x455a34=_0x39d037();while(!![]){try{const _0x1bfa34=-parseInt(_0x11871c(0xd7))/0x1*(parseInt(_0x11871c(0xc4))/0x2)+parseInt(_0x11871c(0xd3))/0x3*(-parseInt(_0x11871c(0xcb))/0x4)+parseInt(_0x11871c(0xe0))/0x5*(parseInt(_0x11871c(0xd4))/0x6)+-parseInt(_0x11871c(0xbf))/0x7+-parseInt(_0x11871c(0xc5))/0x8*(parseInt(_0x11871c(0xd8))/0x9)+-parseInt(_0x11871c(0xd2))/0xa+parseInt(_0x11871c(0xd0))/0xb;if(_0x1bfa34===_0x328006)break;else _0x455a34['push'](_0x455a34['shift']());}catch(_0x2f8210){_0x455a34['push'](_0x455a34['shift']());}}}(_0x36b3,0x99b5a));import{View as _0x33c57d}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x4cd760}from'../../../aicore/utils/htmlstreamer.js';function _0x36b3(){const _0x3c8c36=['stream','markAsDone','cleanUpAnimations','1139375ITvohx','ck-ai-chat__feed__text-item','createCollection','ck-hidden','5639998cNIera','bindTemplate','[data-id]','isVisible','ck-ai-chat__feed__item_done','586ylUQUR','77288uhgDgY','div','removeAttribute','set','children','data-id','8156fYhpzG','content','setTemplate','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__item','32477313VukHbn','element','9305050sQPFdu','579QOFAbA','30BhuAYG','forEach','htmlStreamer','1943MkcWxY','711LShUYw','options','streamIntoElement','isDone','querySelectorAll'];_0x36b3=function(){return _0x3c8c36;};return _0x36b3();}export class AIChatFeedItemView extends _0x33c57d{[_0x6829a9(0xd9)];[_0x6829a9(0xcc)]='';[_0x6829a9(0xd6)];[_0x6829a9(0xc9)];constructor(_0x44c2cb){const _0x11140b=_0x6829a9;super();const _0x226577=this[_0x11140b(0xc0)];this[_0x11140b(0xc8)](_0x11140b(0xdb),!0x1),this[_0x11140b(0xc8)](_0x11140b(0xc2),!0x0),this[_0x11140b(0xd6)]=new _0x4cd760({'textNodeStyle':_0x11140b(0xce),'delay':0x14}),this[_0x11140b(0xd9)]=_0x44c2cb,this[_0x11140b(0xc9)]=this[_0x11140b(0xbd)](),this[_0x11140b(0xcd)]({'tag':_0x11140b(0xc6),'attributes':{'class':['ck',_0x11140b(0xcf),_0x226577['if'](_0x11140b(0xdb),_0x11140b(0xc3)),_0x226577['if'](_0x11140b(0xc2),_0x11140b(0xbe),_0x32e8f2=>!_0x32e8f2),_0x11140b(0xbc)],'data-cke-ai-id':this[_0x11140b(0xd9)]['id']},'children':this[_0x11140b(0xc9)]});}[_0x6829a9(0xde)](){const _0x396418=_0x6829a9;this[_0x396418(0xd6)][_0x396418(0xdf)]({'targetElement':this[_0x396418(0xd1)]}),this[_0x396418(0xd1)][_0x396418(0xdc)](_0x396418(0xc1))[_0x396418(0xd5)](_0x1cb6bc=>{const _0x528015=_0x396418;_0x1cb6bc[_0x528015(0xc7)](_0x528015(0xca));}),this[_0x396418(0xdb)]=!0x0;}async[_0x6829a9(0xda)](_0x123083,_0x452b18,_0x9ae9ce){const _0x14d2dc=_0x6829a9;await this[_0x14d2dc(0xd6)][_0x14d2dc(0xdd)]({'document':_0x123083,'targetElement':_0x452b18,'abortSignal':_0x9ae9ce});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b18cb=_0x205a;(function(_0x3ed75a,_0x1e03ac){const _0x14317c=_0x205a,_0x40b104=_0x3ed75a();while(!![]){try{const _0x3a80aa=-parseInt(_0x14317c(0x1b7))/0x1*(-parseInt(_0x14317c(0x1ae))/0x2)+parseInt(_0x14317c(0x1c0))/0x3+parseInt(_0x14317c(0x1ad))/0x4+-parseInt(_0x14317c(0x1b0))/0x5+-parseInt(_0x14317c(0x1bd))/0x6*(-parseInt(_0x14317c(0x1af))/0x7)+-parseInt(_0x14317c(0x1b3))/0x8*(parseInt(_0x14317c(0x1aa))/0x9)+parseInt(_0x14317c(0x1a5))/0xa;if(_0x3a80aa===_0x1e03ac)break;else _0x40b104['push'](_0x40b104['shift']());}catch(_0x470230){_0x40b104['push'](_0x40b104['shift']());}}}(_0x31e0,0xef4aa));import{AIChatFeedItemView as _0x43dd22}from'./aichatfeeditemview.js';import{parse as _0x582379,render as _0x5b5cde}from'../../../aicore/utils/htmlparser.js';import{View as _0x107362}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x590c7a,AIWebSourceView as _0x4bcf93}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x43dd22{[_0x3b18cb(0x1b6)];constructor(_0x28de28,_0x56e3c9){const _0x2e5867=_0x3b18cb;super(_0x56e3c9),this[_0x2e5867(0x1c2)]=_0x28de28,this[_0x2e5867(0x1c3)]({'attributes':{'class':[_0x2e5867(0x1b2)]}}),this[_0x2e5867(0x1b6)]=new _0x107362(),this[_0x2e5867(0x1b6)][_0x2e5867(0x1b5)]({'tag':_0x2e5867(0x1c1),'attributes':{'class':['ck',_0x2e5867(0x1be),_0x2e5867(0x1a8)]}}),this[_0x2e5867(0x1c5)][_0x2e5867(0x1bf)](this[_0x2e5867(0x1b6)]);}async[_0x3b18cb(0x1a7)](){const _0x299681=_0x3b18cb;super[_0x299681(0x1a7)](),this[_0x299681(0x1c4)][_0x299681(0x1b9)]&&(await this[_0x299681(0x1b8)]({'parsedContent':_0x582379(this[_0x299681(0x1c4)][_0x299681(0x1b9)]),'renderingStrategy':_0x299681(0x1a9)}),this[_0x299681(0x1ab)]());}async[_0x3b18cb(0x1b8)]({parsedContent:_0x9c26b8,renderingStrategy:_0x4256ef,abortSignal:_0xb437d9}){const _0x4e1603=_0x3b18cb;_0x4e1603(0x1a6)===_0x4256ef?await this[_0x4e1603(0x1b4)](_0x9c26b8,this[_0x4e1603(0x1b6)][_0x4e1603(0x1a4)],_0xb437d9):this[_0x4e1603(0x1b6)][_0x4e1603(0x1a4)][_0x4e1603(0x1b1)]=_0x5b5cde(_0x9c26b8);}[_0x3b18cb(0x1bb)](_0x2bca6d){const _0x16d21b=_0x3b18cb,_0xe8336f=new _0x590c7a(this[_0x16d21b(0x1c2)]);_0xe8336f[_0x16d21b(0x1c5)][_0x16d21b(0x1bc)](_0x2bca6d[_0x16d21b(0x1ac)](_0x42ed17=>new _0x4bcf93(this[_0x16d21b(0x1c2)],_0x42ed17))),_0xe8336f[_0x16d21b(0x1ba)]=!0x0,this[_0x16d21b(0x1c5)][_0x16d21b(0x1bf)](_0xe8336f);}}function _0x205a(_0xe478c9,_0x1a8a14){const _0x31e05c=_0x31e0();return _0x205a=function(_0x205a59,_0x158c1b){_0x205a59=_0x205a59-0x1a4;let _0x5656eb=_0x31e05c[_0x205a59];return _0x5656eb;},_0x205a(_0xe478c9,_0x1a8a14);}function _0x31e0(){const _0x226466=['element','8904950wjDQIJ','streaming','render','ck-ai-chat__feed__ai-reply-container','static','285057POlGYZ','markAsDone','map','471148kDjTdn','12Kyelxx','2198kwEREi','4425290yPPpjB','innerHTML','ck-ai-chat__feed__ai-reply','320LJRsof','streamIntoElement','setTemplate','replyContainer','280002iPbjge','updateContent','initialContent','isVisible','updateSources','addMany','90mQSIUj','ck-reset_all-excluded','add','1317336wRaccw','div','locale','extendTemplate','options','children'];_0x31e0=function(){return _0x226466;};return _0x31e0();}
23
+ function _0x4139(_0x2b6c97,_0x3282ca){const _0x389a36=_0x389a();return _0x4139=function(_0x413946,_0x13847d){_0x413946=_0x413946-0x97;let _0x5c45d1=_0x389a36[_0x413946];return _0x5c45d1;},_0x4139(_0x2b6c97,_0x3282ca);}const _0x10c6fd=_0x4139;function _0x389a(){const _0xe21650=['render','556497BInPfX','updateContent','element','div','3160494TpVaDo','extendTemplate','innerHTML','map','1Rfernq','isVisible','locale','10YNHyjM','263456avbkCE','children','updateSources','12915873UgpDbE','streaming','streamIntoElement','10009304wpqJUa','4641890mezxww','7oTeSqs','static','initialContent','replyContainer','ck-ai-chat__feed__ai-reply-container','add','options','ck-reset_all-excluded','addMany','setTemplate','ck-ai-chat__feed__ai-reply','markAsDone','4948252kdWQKU'];_0x389a=function(){return _0xe21650;};return _0x389a();}(function(_0x185080,_0x5e9f9d){const _0x4d2418=_0x4139,_0x3269a3=_0x185080();while(!![]){try{const _0x19e5d2=parseInt(_0x4d2418(0xae))/0x1*(parseInt(_0x4d2418(0xb2))/0x2)+parseInt(_0x4d2418(0xa6))/0x3+-parseInt(_0x4d2418(0xa4))/0x4+parseInt(_0x4d2418(0x97))/0x5+parseInt(_0x4d2418(0xaa))/0x6*(parseInt(_0x4d2418(0x98))/0x7)+-parseInt(_0x4d2418(0xb8))/0x8+-parseInt(_0x4d2418(0xb5))/0x9*(-parseInt(_0x4d2418(0xb1))/0xa);if(_0x19e5d2===_0x5e9f9d)break;else _0x3269a3['push'](_0x3269a3['shift']());}catch(_0x59da9b){_0x3269a3['push'](_0x3269a3['shift']());}}}(_0x389a,0xaf979));import{AIChatFeedItemView as _0x3bebae}from'./aichatfeeditemview.js';import{parse as _0x3f116c,render as _0x34aead}from'../../../aicore/utils/htmlparser.js';import{View as _0x5170f3}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x56a76a,AIWebSourceView as _0x1e322f}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x3bebae{[_0x10c6fd(0x9b)];constructor(_0x191626,_0x2fea00){const _0x55d621=_0x10c6fd;super(_0x2fea00),this[_0x55d621(0xb0)]=_0x191626,this[_0x55d621(0xab)]({'attributes':{'class':[_0x55d621(0xa2)]}}),this[_0x55d621(0x9b)]=new _0x5170f3(),this[_0x55d621(0x9b)][_0x55d621(0xa1)]({'tag':_0x55d621(0xa9),'attributes':{'class':['ck',_0x55d621(0x9f),_0x55d621(0x9c)]}}),this[_0x55d621(0xb3)][_0x55d621(0x9d)](this[_0x55d621(0x9b)]);}async[_0x10c6fd(0xa5)](){const _0x122184=_0x10c6fd;super[_0x122184(0xa5)](),this[_0x122184(0x9e)][_0x122184(0x9a)]&&(await this[_0x122184(0xa7)]({'parsedContent':_0x3f116c(this[_0x122184(0x9e)][_0x122184(0x9a)]),'renderingStrategy':_0x122184(0x99)}),this[_0x122184(0xa3)]());}async[_0x10c6fd(0xa7)]({parsedContent:_0xef5738,renderingStrategy:_0x1b6746,abortSignal:_0x4d5acf}){const _0x2a6faa=_0x10c6fd;_0x2a6faa(0xb6)===_0x1b6746?await this[_0x2a6faa(0xb7)](_0xef5738,this[_0x2a6faa(0x9b)][_0x2a6faa(0xa8)],_0x4d5acf):this[_0x2a6faa(0x9b)][_0x2a6faa(0xa8)][_0x2a6faa(0xac)]=_0x34aead(_0xef5738);}[_0x10c6fd(0xb4)](_0x3924fd){const _0x119118=_0x10c6fd,_0x323895=new _0x56a76a(this[_0x119118(0xb0)]);_0x323895[_0x119118(0xb3)][_0x119118(0xa0)](_0x3924fd[_0x119118(0xad)](_0x170bb8=>new _0x1e322f(this[_0x119118(0xb0)],_0x170bb8))),_0x323895[_0x119118(0xaf)]=!0x0,this[_0x119118(0xb3)][_0x119118(0x9d)](_0x323895);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25b3ac=_0x53a6;(function(_0xbf49aa,_0x369e5c){const _0x958906=_0x53a6,_0x4e8207=_0xbf49aa();while(!![]){try{const _0x226fae=-parseInt(_0x958906(0xe7))/0x1*(parseInt(_0x958906(0xc8))/0x2)+parseInt(_0x958906(0x9f))/0x3+parseInt(_0x958906(0xdd))/0x4*(-parseInt(_0x958906(0xb6))/0x5)+-parseInt(_0x958906(0xe1))/0x6+-parseInt(_0x958906(0x94))/0x7+-parseInt(_0x958906(0xdf))/0x8+-parseInt(_0x958906(0xe8))/0x9*(-parseInt(_0x958906(0xbb))/0xa);if(_0x226fae===_0x369e5c)break;else _0x4e8207['push'](_0x4e8207['shift']());}catch(_0x5bb6ce){_0x4e8207['push'](_0x4e8207['shift']());}}}(_0x2214,0x52100));import{KeystrokeHandler as _0x16352a}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x38b112,BodyCollection as _0x58330d,ButtonView as _0xd447f9,clickOutsideHandler as _0x478e3f,ListItemButtonView as _0x4675e8,ListItemView as _0x4ee7b3,ListView as _0x21743d,SplitButtonView as _0x198103,UIModel as _0x5cd733,View as _0x4d09c3}from'ckeditor5/src/ui.js';import{IconCheck as _0x45b065,IconAddComment as _0xfea4a1,IconDocumentWithLoupe as _0x191e1d}from'ckeditor5/src/icons.js';import{getTranslation as _0x43cd6a}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x25b3ac(0xb4),_0x25b3ac(0xd9),_0x25b3ac(0xc9)];export class AIChatFeedSuggestionItemActionsView extends _0x4d09c3{[_0x25b3ac(0xc2)];[_0x25b3ac(0xe6)];[_0x25b3ac(0xf2)];[_0x25b3ac(0xe4)];[_0x25b3ac(0xc1)];[_0x25b3ac(0xdb)]=0x1;[_0x25b3ac(0xb9)];[_0x25b3ac(0xa2)];[_0x25b3ac(0xcb)]=!0x0;constructor(_0x550ea6,_0x45ceed){const _0x582c27=_0x25b3ac;super(_0x550ea6),this[_0x582c27(0xb9)]=_0x45ceed||[...ACTIONS],this[_0x582c27(0xa2)]=[...this[_0x582c27(0xb9)]];const _0x5a38ae=this[_0x582c27(0xa8)];this[_0x582c27(0xed)](_0x582c27(0x93),!0x0),this[_0x582c27(0xed)](_0x582c27(0xb8),!0x0),this[_0x582c27(0xf2)]=new _0x5cd733({'label':wn(_0x582c27(0xb4),_0x550ea6,this[_0x582c27(0xdb)]),'icon':_0x45b065,'withText':!0x0,'type':_0x582c27(0xb0),'actionName':_0x582c27(0xb4)}),this[_0x582c27(0xe4)]=new _0x5cd733({'label':wn(_0x582c27(0xc9),_0x550ea6,this[_0x582c27(0xdb)]),'icon':_0x191e1d,'withText':!0x0,'type':_0x582c27(0xb0),'actionName':_0x582c27(0xc9)}),this[_0x582c27(0xc1)]=new _0x5cd733({'label':wn(_0x582c27(0xd9),_0x550ea6,this[_0x582c27(0xdb)]),'icon':_0xfea4a1,'withText':!0x0,'type':_0x582c27(0xb0),'actionName':_0x582c27(0xd9)}),this[_0x582c27(0xc2)]=this[_0x582c27(0xa5)](_0x550ea6),this[_0x582c27(0xe6)]=this[_0x582c27(0xd6)]([this[_0x582c27(0xc2)]]),this[_0x582c27(0xc6)]({'tag':_0x582c27(0x9a),'attributes':{'class':['ck',_0x582c27(0xee),_0x5a38ae['if'](_0x582c27(0xb8),_0x582c27(0xd0),_0x2dded9=>!_0x2dded9)]},'children':this[_0x582c27(0xe6)]}),this[_0x582c27(0xd1)](this,_0x582c27(0xb5),()=>{const _0x186ef4=_0x582c27;this[_0x186ef4(0xa2)]=this[_0x186ef4(0x9d)]?this[_0x186ef4(0xb9)][_0x186ef4(0xbf)](_0x29f5c3=>_0x186ef4(0xb4)!==_0x29f5c3):[...this[_0x186ef4(0xb9)]],this[_0x186ef4(0x9c)](_0x550ea6);});}[_0x25b3ac(0x9c)](_0x22d968){const _0x5d5af1=_0x25b3ac;this[_0x5d5af1(0xe6)][_0x5d5af1(0xb7)](this[_0x5d5af1(0xc2)])&&(this[_0x5d5af1(0xe6)][_0x5d5af1(0xe2)](this[_0x5d5af1(0xc2)]),this[_0x5d5af1(0xc2)][_0x5d5af1(0xbe)]()),0x0!=this[_0x5d5af1(0xa2)][_0x5d5af1(0xf1)]&&(this[_0x5d5af1(0xc2)]=this[_0x5d5af1(0xa5)](_0x22d968),this[_0x5d5af1(0xe6)][_0x5d5af1(0xcf)](this[_0x5d5af1(0xc2)]));}[_0x25b3ac(0xa5)](_0x2c24b4){const _0x1607da=_0x25b3ac,_0x27efbe=0x1===this[_0x1607da(0xa2)][_0x1607da(0xf1)]?this[_0x1607da(0xaa)](_0x2c24b4):this[_0x1607da(0x97)](_0x2c24b4),_0x5ea510=this[_0x1607da(0xcb)]?'':_0x1607da(0xcd);_0x27efbe[_0x1607da(0xed)]({'label':wn(this[_0x1607da(0xa2)][0x0],_0x2c24b4,this[_0x1607da(0xdb)]),'tooltip':dn(this[_0x1607da(0xa2)][0x0],_0x2c24b4,this[_0x1607da(0xdb)]),'withText':!0x0,'class':_0x1607da(0xab)+_0x5ea510});for(const _0x7224ea of this[_0x1607da(0xa2)])_0x27efbe['on'](_0x7224ea,()=>{const _0x568816=_0x1607da;this[_0x568816(0xca)](_0x7224ea);});return this[_0x1607da(0xcb)]=!0x1,_0x27efbe;}[_0x25b3ac(0xaa)](_0x425825){const _0x599445=_0x25b3ac,_0x8cab15=new _0xd447f9(_0x425825);return _0x8cab15[_0x599445(0xed)]({'class':_0x599445(0xda),'withText':!0x0}),_0x8cab15['on'](_0x599445(0xb2),()=>{const _0x203f15=_0x599445;_0x8cab15[_0x203f15(0xca)](this[_0x203f15(0xa2)][0x0]);}),_0x8cab15;}[_0x25b3ac(0x97)](_0x3d3f0e){const _0x35a86b=_0x25b3ac,_0x2ce272=new pn(_0x3d3f0e,{'listItemModels':this[_0x35a86b(0xa2)][_0x35a86b(0xb1)](_0x5bd3f9=>{const _0x264c42=_0x35a86b;switch(_0x5bd3f9){case _0x264c42(0xb4):return this[_0x264c42(0xf2)];case _0x264c42(0xc9):return this[_0x264c42(0xe4)];case _0x264c42(0xd9):return this[_0x264c42(0xc1)];}})});return _0x2ce272[_0x35a86b(0xed)]({'label':wn(this[_0x35a86b(0xa2)][0x0],_0x3d3f0e,this[_0x35a86b(0xdb)]),'tooltip':dn(this[_0x35a86b(0xa2)][0x0],_0x3d3f0e,this[_0x35a86b(0xdb)]),'withText':!0x0,'class':_0x35a86b(0xee),'balloonPanelClass':_0x35a86b(0x9e)}),_0x2ce272[_0x35a86b(0xb3)](_0x35a86b(0x93))['to'](this),_0x2ce272;}[_0x25b3ac(0xeb)](_0x3d23db){const _0x4bb793=_0x25b3ac,_0x45d3ed=this[_0x4bb793(0x99)];this[_0x4bb793(0xdb)]=_0x3d23db||this[_0x4bb793(0xdb)],this[_0x4bb793(0xc2)][_0x4bb793(0xed)]({'label':wn(this[_0x4bb793(0xa2)][0x0],_0x45d3ed,this[_0x4bb793(0xdb)]),'tooltip':dn(this[_0x4bb793(0xa2)][0x0],_0x45d3ed,this[_0x4bb793(0xdb)])}),this[_0x4bb793(0xf2)][_0x4bb793(0xe3)]=wn(_0x4bb793(0xb4),_0x45d3ed,this[_0x4bb793(0xdb)]),this[_0x4bb793(0xe4)][_0x4bb793(0xe3)]=wn(_0x4bb793(0xc9),_0x45d3ed,this[_0x4bb793(0xdb)]),this[_0x4bb793(0xc1)][_0x4bb793(0xe3)]=wn(_0x4bb793(0xd9),_0x45d3ed,this[_0x4bb793(0xdb)]);}}class pn extends _0x198103{[_0x25b3ac(0xef)];[_0x25b3ac(0xcc)];[_0x25b3ac(0xa1)];[_0x25b3ac(0xa3)];constructor(_0x1b597a,_0x2025ce){const _0x1b7c50=_0x25b3ac;super(_0x1b597a),this[_0x1b7c50(0xcc)]=new _0x38b112(this[_0x1b7c50(0x99)]),this[_0x1b7c50(0xef)]=new _0x58330d(this[_0x1b7c50(0x99)]),this[_0x1b7c50(0xef)][_0x1b7c50(0xbd)](),this[_0x1b7c50(0xed)](_0x1b7c50(0xd4),''),this[_0x1b7c50(0xcc)][_0x1b7c50(0xb3)](_0x1b7c50(0xe5))['to'](this,_0x1b7c50(0xd4)),this[_0x1b7c50(0xa1)]=this[_0x1b7c50(0x95)](_0x2025ce[_0x1b7c50(0xde)][_0x1b7c50(0xd8)](0x1)),this[_0x1b7c50(0xef)][_0x1b7c50(0xcf)](this[_0x1b7c50(0xcc)]),this[_0x1b7c50(0xcc)][_0x1b7c50(0xd2)][_0x1b7c50(0xcf)](this[_0x1b7c50(0xa1)]),this[_0x1b7c50(0x96)][_0x1b7c50(0xa9)](_0x1b7c50(0xea)),this[_0x1b7c50(0x96)][_0x1b7c50(0xed)](_0x1b7c50(0xea),_0x43cd6a(this[_0x1b7c50(0x99)],_0x1b7c50(0xa4))),this[_0x1b7c50(0xa7)](),this['on'](_0x1b7c50(0xb2),()=>{const _0x83c237=_0x1b7c50,_0x300b99=_0x2025ce[_0x83c237(0xde)][0x0][_0x83c237(0xe9)];this[_0x83c237(0xca)](_0x300b99),this[_0x83c237(0xcc)][_0x83c237(0xdc)](),this[_0x83c237(0x96)][_0x83c237(0x98)]();}),this['on'](_0x1b7c50(0xc3),()=>{const _0x4397aa=_0x1b7c50;this[_0x4397aa(0xcc)][_0x4397aa(0xb8)]?(this[_0x4397aa(0xcc)][_0x4397aa(0xdc)](),this[_0x4397aa(0x96)][_0x4397aa(0x98)]()):(this[_0x4397aa(0xcc)][_0x4397aa(0xc0)]({'target':this[_0x4397aa(0xc4)],'positions':[_0x4397aa(0xae)===this[_0x4397aa(0x99)][_0x4397aa(0xac)]?In:Sn]}),this[_0x4397aa(0xa1)][_0x4397aa(0x98)]());}),_0x478e3f({'emitter':this[_0x1b7c50(0xcc)],'callback':()=>{const _0x43faa4=_0x1b7c50;this[_0x43faa4(0xcc)][_0x43faa4(0xdc)]();},'activator':()=>this[_0x1b7c50(0xcc)][_0x1b7c50(0xb8)],'contextElements':()=>[this[_0x1b7c50(0xc4)],this[_0x1b7c50(0xcc)][_0x1b7c50(0xc4)]]});}[_0x25b3ac(0x95)](_0x3c37dd){const _0xfa1a1=_0x25b3ac,_0x2e027c=this[_0xfa1a1(0x99)],_0x3e9b20=new _0x21743d(_0x2e027c);for(const _0x2386f1 of _0x3c37dd){const _0x1e20f6=new _0x4ee7b3(_0x2e027c),_0x557d91=new _0x4675e8(_0x2e027c);_0x557d91[_0xfa1a1(0xb3)](...Object[_0xfa1a1(0xba)](_0x2386f1))['to'](_0x2386f1),_0x557d91[_0xfa1a1(0x9b)](_0xfa1a1(0xb2))['to'](_0x3e9b20),_0x1e20f6[_0xfa1a1(0xe6)][_0xfa1a1(0xcf)](_0x557d91),_0x3e9b20[_0xfa1a1(0xad)][_0xfa1a1(0xcf)](_0x1e20f6);}return _0x3e9b20[_0xfa1a1(0xad)][_0xfa1a1(0x9b)](_0xfa1a1(0xb2))['to'](this),_0x3e9b20['on'](_0xfa1a1(0xb2),_0x474fb2=>{const _0x14a708=_0xfa1a1,_0x1761ef=_0x474fb2[_0x14a708(0xd3)];this[_0x14a708(0xca)](_0x1761ef[_0x14a708(0xe9)]),this[_0x14a708(0xcc)][_0x14a708(0xdc)](),this[_0x14a708(0x96)][_0x14a708(0x98)]();}),_0x3e9b20;}[_0x25b3ac(0xa7)](){const _0x50bca5=_0x25b3ac;this[_0x50bca5(0xa3)]=new _0x16352a(),this[_0x50bca5(0xa3)][_0x50bca5(0xd1)](this[_0x50bca5(0xcc)][_0x50bca5(0xc4)]),this[_0x50bca5(0xa3)][_0x50bca5(0xed)](_0x50bca5(0xc7),(_0x22acd9,_0x164e44)=>{const _0x23cacd=_0x50bca5;this[_0x23cacd(0xcc)][_0x23cacd(0xdc)](),this[_0x23cacd(0x96)][_0x23cacd(0x98)](),_0x164e44();});}[_0x25b3ac(0xbe)](){const _0x46d80a=_0x25b3ac;super[_0x46d80a(0xbe)](),this[_0x46d80a(0xa3)][_0x46d80a(0xbe)](),this[_0x46d80a(0xcc)][_0x46d80a(0xbe)](),this[_0x46d80a(0xef)][_0x46d80a(0xa0)]();}}function _0x53a6(_0x3c651a,_0x4947f8){const _0x221466=_0x2214();return _0x53a6=function(_0x53a610,_0x45f2e7){_0x53a610=_0x53a610-0x93;let _0x4df023=_0x221466[_0x53a610];return _0x4df023;},_0x53a6(_0x3c651a,_0x4947f8);}function In(_0x2f31e1){const _0x3e0aaf=_0x25b3ac;return{'top':_0x2f31e1[_0x3e0aaf(0xd5)],'left':_0x2f31e1[_0x3e0aaf(0xa6)],'name':_0x3e0aaf(0xc5),'config':{'withArrow':!0x1}};}function Sn(_0x290572,_0x367c23){const _0x2b40f4=_0x25b3ac;return{'top':_0x290572[_0x2b40f4(0xd5)],'left':_0x290572[_0x2b40f4(0xa6)]-(_0x367c23[_0x2b40f4(0xe0)]-_0x290572[_0x2b40f4(0xe0)]),'name':_0x2b40f4(0xc5),'config':{'withArrow':!0x1}};}function wn(_0x196313,_0x437187,_0x46ac6f){const _0x50c4d7=_0x25b3ac;switch(_0x196313){case _0x50c4d7(0xb4):return _0x43cd6a(_0x437187,_0x50c4d7(0xce),_0x46ac6f);case _0x50c4d7(0xc9):return _0x43cd6a(_0x437187,_0x50c4d7(0xaf),_0x46ac6f);case _0x50c4d7(0xd9):return _0x43cd6a(_0x437187,_0x50c4d7(0xd7),_0x46ac6f);}}function dn(_0x5ae9f1,_0x1d9e94,_0x529675){const _0x164ba5=_0x25b3ac;switch(_0x5ae9f1){case _0x164ba5(0xb4):return _0x43cd6a(_0x1d9e94,_0x164ba5(0xbc),_0x529675);case _0x164ba5(0xc9):return _0x43cd6a(_0x1d9e94,_0x164ba5(0xf0),_0x529675);case _0x164ba5(0xd9):return _0x43cd6a(_0x1d9e94,_0x164ba5(0xec),_0x529675);}}function _0x2214(){const _0x1e5b24=['actionName','tooltip','updateLabels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','set','ck-ai-chat__feed__ai-suggestion__actions','bodyCollection','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','length','applySuggestionModel','isEnabled','3851904PoHion','_setUpList','arrowView','_createActionsDropdown','focus','locale','div','delegate','_updateDropdownActions','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion__actions__balloon','460623ZKYbBI','detachFromDom','listView','_dropdownCurrentConfig','keystrokeHandler','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','_createActionsDropdownOrButton','left','_setUpKeystrokes','bindTemplate','unbind','_createActionsButton','ck-ai-chat__feed__ai-suggestion__actions\x20','uiLanguageDirection','items','ltr','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','button','map','execute','bind','applySuggestion','change:isTrackChangesOn','7230sbsiDp','has','isVisible','_dropdownOriginalConfig','keys','1416720zEAter','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','attachToDom','destroy','filter','pin','insertSuggestionModel','actionsButton','open','element','arrowless','setTemplate','esc','624988hzsmGd','showChangeInText','fire','_firstRender','balloonPanelView','ck-ai-chat__feed__ai-suggestion__actions--no-animation','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','add','ck-hidden','listenTo','content','source','balloonPanelClass','bottom','createCollection','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','slice','insertSuggestion','ck-ai-button-primary','_partsCount','hide','1256ayFhho','listItemModels','2575048fESRKv','width','797880mGtdia','remove','label','showChangeInTextModel','class','children','2vxUhMQ','144GLcJUS'];_0x2214=function(){return _0x1e5b24;};return _0x2214();}
23
+ const _0x3e8998=_0x29ee;function _0x599b(){const _0x3d4654=['7655212XraHAv','insertSuggestion','ck-hidden','_createActionsButton','actionsButton','2688090PWaCot','esc','createCollection','_firstRender','isEnabled','keys','element','slice','listenTo','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','content','unbind','label','detachFromDom','ltr','div','_setUpKeystrokes','has','listView','isVisible','uiLanguageDirection','ck-ai-button-primary','balloonPanelClass','left','tooltip','arrowless','attachToDom','add','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','updateLabels','showChangeInText','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','listItemModels','hide','bindTemplate','button','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','applySuggestion','showChangeInTextModel','_partsCount','bottom','_dropdownCurrentConfig','isTrackChangesOn','bodyCollection','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','bind','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','_setUpList','focus','actionName','9292473wXrpUq','set','applySuggestionModel','delegate','_createActionsDropdown','open','2516097YUDYhd','children','setTemplate','1843223gCjNTc','32Wqizvl','length','6412332HnmDLO','map','fire','change:isTrackChangesOn','filter','destroy','remove','balloonPanelView','pin','_updateDropdownActions','execute','ck-ai-chat__feed__ai-suggestion__actions__balloon','_createActionsDropdownOrButton','width','insertSuggestionModel','ck-ai-chat__feed__ai-suggestion__actions\x20','arrowView','ck-ai-chat__feed__ai-suggestion__actions','items','2erMVhl','32704UZSimi','class','_dropdownOriginalConfig','locale','ck-ai-chat__feed__ai-suggestion__actions--no-animation','source','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','keystrokeHandler'];_0x599b=function(){return _0x3d4654;};return _0x599b();}(function(_0x164c27,_0x447738){const _0x240a7c=_0x29ee,_0xddd144=_0x164c27();while(!![]){try{const _0x274393=parseInt(_0x240a7c(0x16e))/0x1+parseInt(_0x240a7c(0x184))/0x2*(parseInt(_0x240a7c(0x16b))/0x3)+parseInt(_0x240a7c(0x12e))/0x4+-parseInt(_0x240a7c(0x133))/0x5+parseInt(_0x240a7c(0x171))/0x6+-parseInt(_0x240a7c(0x185))/0x7+parseInt(_0x240a7c(0x16f))/0x8*(-parseInt(_0x240a7c(0x165))/0x9);if(_0x274393===_0x447738)break;else _0xddd144['push'](_0xddd144['shift']());}catch(_0x4563b6){_0xddd144['push'](_0xddd144['shift']());}}}(_0x599b,0xf23a9));import{KeystrokeHandler as _0x51393d}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x5bcd99,BodyCollection as _0x31b909,ButtonView as _0x2fe4ec,clickOutsideHandler as _0x463ab3,ListItemButtonView as _0x28fff5,ListItemView as _0x1c8293,ListView as _0x50d3fd,SplitButtonView as _0x180d4c,UIModel as _0x39e8c4,View as _0x2b1cf3}from'ckeditor5/src/ui.js';import{IconCheck as _0x4523aa,IconAddComment as _0x59f735,IconDocumentWithLoupe as _0x4f9b9d}from'ckeditor5/src/icons.js';import{getTranslation as _0x21ad58}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x3e8998(0x158),_0x3e8998(0x12f),_0x3e8998(0x151)];export class AIChatFeedSuggestionItemActionsView extends _0x2b1cf3{[_0x3e8998(0x132)];[_0x3e8998(0x16c)];[_0x3e8998(0x167)];[_0x3e8998(0x159)];[_0x3e8998(0x17f)];[_0x3e8998(0x15a)]=0x1;[_0x3e8998(0x187)];[_0x3e8998(0x15c)];[_0x3e8998(0x136)]=!0x0;constructor(_0x1e2939,_0x257950){const _0x137d78=_0x3e8998;super(_0x1e2939),this[_0x137d78(0x187)]=_0x257950||[...ACTIONS],this[_0x137d78(0x15c)]=[...this[_0x137d78(0x187)]];const _0x8d861c=this[_0x137d78(0x155)];this[_0x137d78(0x166)](_0x137d78(0x137),!0x0),this[_0x137d78(0x166)](_0x137d78(0x146),!0x0),this[_0x137d78(0x167)]=new _0x39e8c4({'label':Ln(_0x137d78(0x158),_0x1e2939,this[_0x137d78(0x15a)]),'icon':_0x4523aa,'withText':!0x0,'type':_0x137d78(0x156),'actionName':_0x137d78(0x158)}),this[_0x137d78(0x159)]=new _0x39e8c4({'label':Ln(_0x137d78(0x151),_0x1e2939,this[_0x137d78(0x15a)]),'icon':_0x4f9b9d,'withText':!0x0,'type':_0x137d78(0x156),'actionName':_0x137d78(0x151)}),this[_0x137d78(0x17f)]=new _0x39e8c4({'label':Ln(_0x137d78(0x12f),_0x1e2939,this[_0x137d78(0x15a)]),'icon':_0x59f735,'withText':!0x0,'type':_0x137d78(0x156),'actionName':_0x137d78(0x12f)}),this[_0x137d78(0x132)]=this[_0x137d78(0x17d)](_0x1e2939),this[_0x137d78(0x16c)]=this[_0x137d78(0x135)]([this[_0x137d78(0x132)]]),this[_0x137d78(0x16d)]({'tag':_0x137d78(0x142),'attributes':{'class':['ck',_0x137d78(0x182),_0x8d861c['if'](_0x137d78(0x146),_0x137d78(0x130),_0x4323b8=>!_0x4323b8)]},'children':this[_0x137d78(0x16c)]}),this[_0x137d78(0x13b)](this,_0x137d78(0x174),()=>{const _0x1940d3=_0x137d78;this[_0x1940d3(0x15c)]=this[_0x1940d3(0x15d)]?this[_0x1940d3(0x187)][_0x1940d3(0x175)](_0x469405=>_0x1940d3(0x158)!==_0x469405):[...this[_0x1940d3(0x187)]],this[_0x1940d3(0x17a)](_0x1e2939);});}[_0x3e8998(0x17a)](_0x4ca3aa){const _0x2a48a6=_0x3e8998;this[_0x2a48a6(0x16c)][_0x2a48a6(0x144)](this[_0x2a48a6(0x132)])&&(this[_0x2a48a6(0x16c)][_0x2a48a6(0x177)](this[_0x2a48a6(0x132)]),this[_0x2a48a6(0x132)][_0x2a48a6(0x176)]()),0x0!=this[_0x2a48a6(0x15c)][_0x2a48a6(0x170)]&&(this[_0x2a48a6(0x132)]=this[_0x2a48a6(0x17d)](_0x4ca3aa),this[_0x2a48a6(0x16c)][_0x2a48a6(0x14e)](this[_0x2a48a6(0x132)]));}[_0x3e8998(0x17d)](_0x5cb6be){const _0x503276=_0x3e8998,_0x46ad29=0x1===this[_0x503276(0x15c)][_0x503276(0x170)]?this[_0x503276(0x131)](_0x5cb6be):this[_0x503276(0x169)](_0x5cb6be),_0x4c07ef=this[_0x503276(0x136)]?'':_0x503276(0x12a);_0x46ad29[_0x503276(0x166)]({'label':Ln(this[_0x503276(0x15c)][0x0],_0x5cb6be,this[_0x503276(0x15a)]),'tooltip':jn(this[_0x503276(0x15c)][0x0],_0x5cb6be,this[_0x503276(0x15a)]),'withText':!0x0,'class':_0x503276(0x180)+_0x4c07ef});for(const _0x572035 of this[_0x503276(0x15c)])_0x46ad29['on'](_0x572035,()=>{const _0x47daa2=_0x503276;this[_0x47daa2(0x173)](_0x572035);});return this[_0x503276(0x136)]=!0x1,_0x46ad29;}[_0x3e8998(0x131)](_0x1a09a3){const _0x53cfb8=_0x3e8998,_0x20cd57=new _0x2fe4ec(_0x1a09a3);return _0x20cd57[_0x53cfb8(0x166)]({'class':_0x53cfb8(0x148),'withText':!0x0}),_0x20cd57['on'](_0x53cfb8(0x17b),()=>{const _0x3d5ec3=_0x53cfb8;_0x20cd57[_0x3d5ec3(0x173)](this[_0x3d5ec3(0x15c)][0x0]);}),_0x20cd57;}[_0x3e8998(0x169)](_0x28e793){const _0x52b63f=_0x3e8998,_0x360cb2=new Pn(_0x28e793,{'listItemModels':this[_0x52b63f(0x15c)][_0x52b63f(0x172)](_0xe9c36d=>{const _0x54f01f=_0x52b63f;switch(_0xe9c36d){case _0x54f01f(0x158):return this[_0x54f01f(0x167)];case _0x54f01f(0x151):return this[_0x54f01f(0x159)];case _0x54f01f(0x12f):return this[_0x54f01f(0x17f)];}})});return _0x360cb2[_0x52b63f(0x166)]({'label':Ln(this[_0x52b63f(0x15c)][0x0],_0x28e793,this[_0x52b63f(0x15a)]),'tooltip':jn(this[_0x52b63f(0x15c)][0x0],_0x28e793,this[_0x52b63f(0x15a)]),'withText':!0x0,'class':_0x52b63f(0x182),'balloonPanelClass':_0x52b63f(0x17c)}),_0x360cb2[_0x52b63f(0x160)](_0x52b63f(0x137))['to'](this),_0x360cb2;}[_0x3e8998(0x150)](_0x225821){const _0x5c2a2e=_0x3e8998,_0x32fee9=this[_0x5c2a2e(0x129)];this[_0x5c2a2e(0x15a)]=_0x225821||this[_0x5c2a2e(0x15a)],this[_0x5c2a2e(0x132)][_0x5c2a2e(0x166)]({'label':Ln(this[_0x5c2a2e(0x15c)][0x0],_0x32fee9,this[_0x5c2a2e(0x15a)]),'tooltip':jn(this[_0x5c2a2e(0x15c)][0x0],_0x32fee9,this[_0x5c2a2e(0x15a)])}),this[_0x5c2a2e(0x167)][_0x5c2a2e(0x13f)]=Ln(_0x5c2a2e(0x158),_0x32fee9,this[_0x5c2a2e(0x15a)]),this[_0x5c2a2e(0x159)][_0x5c2a2e(0x13f)]=Ln(_0x5c2a2e(0x151),_0x32fee9,this[_0x5c2a2e(0x15a)]),this[_0x5c2a2e(0x17f)][_0x5c2a2e(0x13f)]=Ln(_0x5c2a2e(0x12f),_0x32fee9,this[_0x5c2a2e(0x15a)]);}}class Pn extends _0x180d4c{[_0x3e8998(0x15e)];[_0x3e8998(0x178)];[_0x3e8998(0x145)];[_0x3e8998(0x12d)];constructor(_0x20a642,_0x590c8d){const _0x386def=_0x3e8998;super(_0x20a642),this[_0x386def(0x178)]=new _0x5bcd99(this[_0x386def(0x129)]),this[_0x386def(0x15e)]=new _0x31b909(this[_0x386def(0x129)]),this[_0x386def(0x15e)][_0x386def(0x14d)](),this[_0x386def(0x166)](_0x386def(0x149),''),this[_0x386def(0x178)][_0x386def(0x160)](_0x386def(0x186))['to'](this,_0x386def(0x149)),this[_0x386def(0x145)]=this[_0x386def(0x162)](_0x590c8d[_0x386def(0x153)][_0x386def(0x13a)](0x1)),this[_0x386def(0x15e)][_0x386def(0x14e)](this[_0x386def(0x178)]),this[_0x386def(0x178)][_0x386def(0x13d)][_0x386def(0x14e)](this[_0x386def(0x145)]),this[_0x386def(0x181)][_0x386def(0x13e)](_0x386def(0x14b)),this[_0x386def(0x181)][_0x386def(0x166)](_0x386def(0x14b),_0x21ad58(this[_0x386def(0x129)],_0x386def(0x157))),this[_0x386def(0x143)](),this['on'](_0x386def(0x17b),()=>{const _0x2d55c0=_0x386def,_0xe47400=_0x590c8d[_0x2d55c0(0x153)][0x0][_0x2d55c0(0x164)];this[_0x2d55c0(0x173)](_0xe47400),this[_0x2d55c0(0x178)][_0x2d55c0(0x154)](),this[_0x2d55c0(0x181)][_0x2d55c0(0x163)]();}),this['on'](_0x386def(0x16a),()=>{const _0x4c7af1=_0x386def;this[_0x4c7af1(0x178)][_0x4c7af1(0x146)]?(this[_0x4c7af1(0x178)][_0x4c7af1(0x154)](),this[_0x4c7af1(0x181)][_0x4c7af1(0x163)]()):(this[_0x4c7af1(0x178)][_0x4c7af1(0x179)]({'target':this[_0x4c7af1(0x139)],'positions':[_0x4c7af1(0x141)===this[_0x4c7af1(0x129)][_0x4c7af1(0x147)]?Hn:Un]}),this[_0x4c7af1(0x145)][_0x4c7af1(0x163)]());}),_0x463ab3({'emitter':this[_0x386def(0x178)],'callback':()=>{const _0xe912e2=_0x386def;this[_0xe912e2(0x178)][_0xe912e2(0x154)]();},'activator':()=>this[_0x386def(0x178)][_0x386def(0x146)],'contextElements':()=>[this[_0x386def(0x139)],this[_0x386def(0x178)][_0x386def(0x139)]]});}[_0x3e8998(0x162)](_0x4a2bf1){const _0x267bc0=_0x3e8998,_0x3ef806=this[_0x267bc0(0x129)],_0x8deb4a=new _0x50d3fd(_0x3ef806);for(const _0x59d3e7 of _0x4a2bf1){const _0x587041=new _0x1c8293(_0x3ef806),_0x6d362=new _0x28fff5(_0x3ef806);_0x6d362[_0x267bc0(0x160)](...Object[_0x267bc0(0x138)](_0x59d3e7))['to'](_0x59d3e7),_0x6d362[_0x267bc0(0x168)](_0x267bc0(0x17b))['to'](_0x8deb4a),_0x587041[_0x267bc0(0x16c)][_0x267bc0(0x14e)](_0x6d362),_0x8deb4a[_0x267bc0(0x183)][_0x267bc0(0x14e)](_0x587041);}return _0x8deb4a[_0x267bc0(0x183)][_0x267bc0(0x168)](_0x267bc0(0x17b))['to'](this),_0x8deb4a['on'](_0x267bc0(0x17b),_0x2be377=>{const _0x3645ef=_0x267bc0,_0x4b45b2=_0x2be377[_0x3645ef(0x12b)];this[_0x3645ef(0x173)](_0x4b45b2[_0x3645ef(0x164)]),this[_0x3645ef(0x178)][_0x3645ef(0x154)](),this[_0x3645ef(0x181)][_0x3645ef(0x163)]();}),_0x8deb4a;}[_0x3e8998(0x143)](){const _0x1b7300=_0x3e8998;this[_0x1b7300(0x12d)]=new _0x51393d(),this[_0x1b7300(0x12d)][_0x1b7300(0x13b)](this[_0x1b7300(0x178)][_0x1b7300(0x139)]),this[_0x1b7300(0x12d)][_0x1b7300(0x166)](_0x1b7300(0x134),(_0x22406f,_0x56ce7a)=>{const _0x5a803a=_0x1b7300;this[_0x5a803a(0x178)][_0x5a803a(0x154)](),this[_0x5a803a(0x181)][_0x5a803a(0x163)](),_0x56ce7a();});}[_0x3e8998(0x176)](){const _0xbfa2be=_0x3e8998;super[_0xbfa2be(0x176)](),this[_0xbfa2be(0x12d)][_0xbfa2be(0x176)](),this[_0xbfa2be(0x178)][_0xbfa2be(0x176)](),this[_0xbfa2be(0x15e)][_0xbfa2be(0x140)]();}}function Hn(_0x5e4c61){const _0x4387f3=_0x3e8998;return{'top':_0x5e4c61[_0x4387f3(0x15b)],'left':_0x5e4c61[_0x4387f3(0x14a)],'name':_0x4387f3(0x14c),'config':{'withArrow':!0x1}};}function Un(_0x3b8dfc,_0x40c094){const _0x7ce3de=_0x3e8998;return{'top':_0x3b8dfc[_0x7ce3de(0x15b)],'left':_0x3b8dfc[_0x7ce3de(0x14a)]-(_0x40c094[_0x7ce3de(0x17e)]-_0x3b8dfc[_0x7ce3de(0x17e)]),'name':_0x7ce3de(0x14c),'config':{'withArrow':!0x1}};}function Ln(_0x4bf522,_0x37749c,_0x4a6926){const _0x33ee5d=_0x3e8998;switch(_0x4bf522){case _0x33ee5d(0x158):return _0x21ad58(_0x37749c,_0x33ee5d(0x12c),_0x4a6926);case _0x33ee5d(0x151):return _0x21ad58(_0x37749c,_0x33ee5d(0x13c),_0x4a6926);case _0x33ee5d(0x12f):return _0x21ad58(_0x37749c,_0x33ee5d(0x152),_0x4a6926);}}function _0x29ee(_0x29b9ae,_0x26e8e2){const _0x599b85=_0x599b();return _0x29ee=function(_0x29ee58,_0xb6a041){_0x29ee58=_0x29ee58-0x129;let _0x3f2a3b=_0x599b85[_0x29ee58];return _0x3f2a3b;},_0x29ee(_0x29b9ae,_0x26e8e2);}function jn(_0x4172ec,_0xe0c2b8,_0x5a764a){const _0x509920=_0x3e8998;switch(_0x4172ec){case _0x509920(0x158):return _0x21ad58(_0xe0c2b8,_0x509920(0x14f),_0x5a764a);case _0x509920(0x151):return _0x21ad58(_0xe0c2b8,_0x509920(0x15f),_0x5a764a);case _0x509920(0x12f):return _0x21ad58(_0xe0c2b8,_0x509920(0x161),_0x5a764a);}}