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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  35. package/src/aichat/ui/aichatfeedview.js +1 -1
  36. package/src/aichat/ui/aichatheaderview.js +1 -1
  37. package/src/aichat/ui/aichatview.js +1 -1
  38. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.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/aichatresourcessearchinputview.js +1 -1
  49. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  56. package/src/aichat/utils/promisequeue.js +1 -1
  57. package/src/aichathistory/aichathistory.js +1 -1
  58. package/src/aichathistory/aichathistorycontroller.js +1 -1
  59. package/src/aichathistory/aichathistoryui.js +1 -1
  60. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  61. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  62. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  63. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  64. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  65. package/src/aicore/aiconnector.js +1 -1
  66. package/src/aicore/aiediting.js +1 -1
  67. package/src/aicore/model/aicapabilities.js +1 -1
  68. package/src/aicore/model/aiinteraction.js +1 -1
  69. package/src/aicore/model/aimodels.js +1 -1
  70. package/src/aicore/model/aireply.js +1 -1
  71. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  72. package/src/aicore/pipeline/airesponseparser.js +2 -2
  73. package/src/aicore/ui/aidisclaimerview.js +1 -1
  74. package/src/aicore/ui/aiskeleton.js +1 -1
  75. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  76. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  77. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  80. package/src/aicore/utils/createresizebutton.js +1 -1
  81. package/src/aicore/utils/documentrange.js +1 -1
  82. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  83. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  84. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  85. package/src/aicore/utils/htmlparser.js +1 -1
  86. package/src/aicore/utils/htmlstreamer.js +1 -1
  87. package/src/aieditorintegration/aieditorintegration.js +1 -1
  88. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  89. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  90. package/src/aiquickactions/aiquickactions.js +1 -1
  91. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  92. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  93. package/src/aiquickactions/aiquickactionsui.js +1 -1
  94. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  95. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  96. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  97. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  98. package/src/aireviewmode/aireviewmode.js +1 -1
  99. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  100. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  101. package/src/aireviewmode/aireviewmodeui.js +1 -1
  102. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  103. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  104. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  105. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  106. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  107. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  108. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  109. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  110. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  111. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  112. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  115. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  116. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  117. package/src/aitabs/aitabs.js +1 -1
  118. package/src/aitabs/tabs/aitabsview.js +1 -1
  119. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  120. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc71a(){const _0x35e1b7=['2901kYKIEw','ck-ai-chat-controls-loader','ck-ai-chat-controls-loader-icon-dot','139112XrULxX','AI_CHAT_STOP_GENERATING','_createCancelButtonView','120IosFee','263011YzwpQo','set','AI_CHAT_IS_WRITING','execute','423IZbCdw','421967IWjITW','ck-ai-button-secondary\x20ck-ai-button-stop-generating','setTemplate','1108ltnjiF','18463236UZocvf','ck-ai-chat-controls-loader-icon','_loaderView','fire','9656200fQuipx','div','ck-ai-chat-controls-loader-wrapper','abortPromptStream','ck-reset_all','locale','2735vqJGXy','154oTSilr','_createLoaderView','_cancelButtonView'];_0xc71a=function(){return _0x35e1b7;};return _0xc71a();}const _0x2cbab3=_0x4f73;(function(_0x32e5e0,_0x545559){const _0x461092=_0x4f73,_0x38119b=_0x32e5e0();while(!![]){try{const _0x16e5ab=-parseInt(_0x461092(0x7a))/0x1+-parseInt(_0x461092(0x6b))/0x2*(-parseInt(_0x461092(0x6e))/0x3)+-parseInt(_0x461092(0x7d))/0x4*(-parseInt(_0x461092(0x6a))/0x5)+parseInt(_0x461092(0x74))/0x6*(parseInt(_0x461092(0x75))/0x7)+-parseInt(_0x461092(0x71))/0x8*(-parseInt(_0x461092(0x79))/0x9)+parseInt(_0x461092(0x82))/0xa+-parseInt(_0x461092(0x7e))/0xb;if(_0x16e5ab===_0x545559)break;else _0x38119b['push'](_0x38119b['shift']());}catch(_0x72bf7e){_0x38119b['push'](_0x38119b['shift']());}}}(_0xc71a,0xa11ba));import{ButtonView as _0x2c641f,View as _0x244980}from'ckeditor5/src/ui.js';import{IconStop as _0x5b8774}from'ckeditor5/src/icons.js';function _0x4f73(_0xe23c02,_0x7a7045){const _0xc71af2=_0xc71a();return _0x4f73=function(_0x4f73e7,_0x2e2da9){_0x4f73e7=_0x4f73e7-0x67;let _0x5083c2=_0xc71af2[_0x4f73e7];return _0x5083c2;},_0x4f73(_0xe23c02,_0x7a7045);}import{getTranslation as _0x4e8874}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x244980{[_0x2cbab3(0x6d)];[_0x2cbab3(0x80)];constructor(_0x399f46){const _0x2f982f=_0x2cbab3;super(_0x399f46),this[_0x2f982f(0x6d)]=this[_0x2f982f(0x73)](),this[_0x2f982f(0x80)]=this[_0x2f982f(0x6c)](),this[_0x2f982f(0x7c)]({'tag':_0x2f982f(0x83),'attributes':{'class':['ck',_0x2f982f(0x84),_0x2f982f(0x68)]},'children':[this[_0x2f982f(0x80)],this[_0x2f982f(0x6d)]]});}[_0x2cbab3(0x73)](){const _0x2cfce8=_0x2cbab3,_0x20d956=new _0x2c641f(this[_0x2cfce8(0x69)]);return _0x20d956[_0x2cfce8(0x76)]({'label':_0x4e8874(this[_0x2cfce8(0x69)],_0x2cfce8(0x72)),'withText':!0x0,'class':_0x2cfce8(0x7b),'icon':_0x5b8774}),_0x20d956['on'](_0x2cfce8(0x78),()=>{const _0x37be2a=_0x2cfce8;this[_0x37be2a(0x81)](_0x37be2a(0x67));}),_0x20d956;}[_0x2cbab3(0x6c)](){const _0x1292a7=_0x2cbab3,_0x5a1436=new _0x244980(this[_0x1292a7(0x69)]);return _0x5a1436[_0x1292a7(0x7c)]({'tag':_0x1292a7(0x83),'attributes':{'class':[_0x1292a7(0x6f)]},'children':[{'tag':_0x1292a7(0x83),'attributes':{'class':[_0x1292a7(0x7f)]},'children':[{'tag':_0x1292a7(0x83),'attributes':{'class':[_0x1292a7(0x70)]}},{'tag':_0x1292a7(0x83),'attributes':{'class':[_0x1292a7(0x70)]}},{'tag':_0x1292a7(0x83),'attributes':{'class':[_0x1292a7(0x70)]}}]},{'text':_0x4e8874(this[_0x1292a7(0x69)],_0x1292a7(0x77))}]}),_0x5a1436;}}
23
+ function _0x413b(_0x2c146c,_0x20b908){const _0x5cb741=_0x5cb7();return _0x413b=function(_0x413bb3,_0x55039f){_0x413bb3=_0x413bb3-0x124;let _0x6a092=_0x5cb741[_0x413bb3];return _0x6a092;},_0x413b(_0x2c146c,_0x20b908);}const _0x32cc66=_0x413b;(function(_0xe9e52,_0x4265d4){const _0x35b346=_0x413b,_0xe7f359=_0xe9e52();while(!![]){try{const _0x4891c5=parseInt(_0x35b346(0x138))/0x1+-parseInt(_0x35b346(0x140))/0x2+-parseInt(_0x35b346(0x137))/0x3*(parseInt(_0x35b346(0x12f))/0x4)+parseInt(_0x35b346(0x129))/0x5*(-parseInt(_0x35b346(0x130))/0x6)+parseInt(_0x35b346(0x13f))/0x7*(parseInt(_0x35b346(0x136))/0x8)+parseInt(_0x35b346(0x133))/0x9*(-parseInt(_0x35b346(0x13e))/0xa)+parseInt(_0x35b346(0x12d))/0xb;if(_0x4891c5===_0x4265d4)break;else _0xe7f359['push'](_0xe7f359['shift']());}catch(_0x30f612){_0xe7f359['push'](_0xe7f359['shift']());}}}(_0x5cb7,0xd6b6f));import{ButtonView as _0x428528,View as _0x24cd32}from'ckeditor5/src/ui.js';import{IconStop as _0x5c4c8b}from'ckeditor5/src/icons.js';import{getTranslation as _0xe37b1e}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x24cd32{[_0x32cc66(0x13a)];[_0x32cc66(0x13c)];constructor(_0x59d84e){const _0x3c79e2=_0x32cc66;super(_0x59d84e),this[_0x3c79e2(0x13a)]=this[_0x3c79e2(0x131)](),this[_0x3c79e2(0x13c)]=this[_0x3c79e2(0x12a)](),this[_0x3c79e2(0x125)]({'tag':_0x3c79e2(0x124),'attributes':{'class':['ck',_0x3c79e2(0x126),_0x3c79e2(0x134)]},'children':[this[_0x3c79e2(0x13c)],this[_0x3c79e2(0x13a)]]});}[_0x32cc66(0x131)](){const _0x419561=_0x32cc66,_0x9457a8=new _0x428528(this[_0x419561(0x12b)]);return _0x9457a8[_0x419561(0x12e)]({'label':_0xe37b1e(this[_0x419561(0x12b)],_0x419561(0x141)),'withText':!0x0,'class':_0x419561(0x139),'icon':_0x5c4c8b}),_0x9457a8['on'](_0x419561(0x132),()=>{const _0x14e0dd=_0x419561;this[_0x14e0dd(0x128)](_0x14e0dd(0x135));}),_0x9457a8;}[_0x32cc66(0x12a)](){const _0x2f7b13=_0x32cc66,_0x3da011=new _0x24cd32(this[_0x2f7b13(0x12b)]);return _0x3da011[_0x2f7b13(0x125)]({'tag':_0x2f7b13(0x124),'attributes':{'class':[_0x2f7b13(0x13b)]},'children':[{'tag':_0x2f7b13(0x124),'attributes':{'class':[_0x2f7b13(0x13d)]},'children':[{'tag':_0x2f7b13(0x124),'attributes':{'class':[_0x2f7b13(0x12c)]}},{'tag':_0x2f7b13(0x124),'attributes':{'class':[_0x2f7b13(0x12c)]}},{'tag':_0x2f7b13(0x124),'attributes':{'class':[_0x2f7b13(0x12c)]}}]},{'text':_0xe37b1e(this[_0x2f7b13(0x12b)],_0x2f7b13(0x127))}]}),_0x3da011;}}function _0x5cb7(){const _0x520932=['ck-ai-chat-controls-loader-icon-dot','50646046qQBeKJ','set','4fPeSLj','138sDRnyl','_createCancelButtonView','execute','14907069iLRKot','ck-reset_all','abortPromptStream','4850840bPgbcq','54687XCKREu','454690THfdCy','ck-ai-button-secondary\x20ck-ai-button-stop-generating','_cancelButtonView','ck-ai-chat-controls-loader','_loaderView','ck-ai-chat-controls-loader-icon','10cjTaoq','7YwfUZc','3212094YWHrwp','AI_CHAT_STOP_GENERATING','div','setTemplate','ck-ai-chat-controls-loader-wrapper','AI_CHAT_IS_WRITING','fire','327205JtYTHy','_createLoaderView','locale'];_0x5cb7=function(){return _0x520932;};return _0x5cb7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x90ddf8=_0x4652;(function(_0x723891,_0x40f90a){const _0x1a7ee1=_0x4652,_0x53b900=_0x723891();while(!![]){try{const _0x5e0306=parseInt(_0x1a7ee1(0xf5))/0x1+-parseInt(_0x1a7ee1(0x115))/0x2*(parseInt(_0x1a7ee1(0xb6))/0x3)+parseInt(_0x1a7ee1(0xc4))/0x4+-parseInt(_0x1a7ee1(0xeb))/0x5+-parseInt(_0x1a7ee1(0xde))/0x6+-parseInt(_0x1a7ee1(0x10d))/0x7*(parseInt(_0x1a7ee1(0xf6))/0x8)+-parseInt(_0x1a7ee1(0xed))/0x9*(-parseInt(_0x1a7ee1(0x109))/0xa);if(_0x5e0306===_0x40f90a)break;else _0x53b900['push'](_0x53b900['shift']());}catch(_0x5dfda2){_0x53b900['push'](_0x53b900['shift']());}}}(_0x224d,0xafff3));import{Collection as _0x2b8522}from'ckeditor5/src/utils.js';import{IconAI as _0x5dd93e,IconBulb as _0x50b07c,IconWeb as _0x40018a}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x25f555,ButtonLabelView as _0x32af79,ButtonView as _0x5971e0,createDropdown as _0xa1ee8f,IconView as _0x42e9f9,UIModel as _0x471728,View as _0x5b7650}from'ckeditor5/src/ui.js';import{getTranslation as _0x195a94}from'../../../aicore/utils/common-translations.js';const Wo=_0x90ddf8(0xc9),Ro=_0x90ddf8(0x102),yo=_0x90ddf8(0xe5),Go=_0x90ddf8(0xcd),jo=_0x90ddf8(0xce),Yo=_0x90ddf8(0xbe),qo=_0x90ddf8(0xe0),zo='n';function _0x224d(){const _0x3df296=['_createModelNameView','_webSearchButton','style','extendTemplate','setModelList','activeModelName','bindTemplate','add','selectModel','reasoningActive','toggleReasoning','ck-ai-chat-controls-button','AI_CHAT_ENABLE_REASONING','reasoning','div','_commandsButton','toggleWebSearch','length','2610TyvgPw','AI_CHAT_COMMANDS','ck-button__label','setWebSearch','25669cyFHta','toLowerCase','AI_CHAT_SEARCH_WEB','modelSelectorEnabled','webSearch','set','_getCapabilityParts','modelSelectorVisible','2mJePjz','text','clear','log','2412924rtDfJq','isEnabled','createCollection','name','ck-hidden','isOn','AI_CHAT_REASONING','webSearchActive','ck-ai-chat-controls__model-selection__item-description','startsWith','_createWebSearchButton','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','menuitemradio','setReasoning','3683656qVFyTN','AI_CHAT_CAPABILITIES_NO','agent','_createModelSelectionDropdown','AI_CHAT_DISABLE_WEB_SEARCH','ck-ai-chat__prompt-capabilities','addMany','locale','activeModelId','ck-ai-chat-controls__model-selection','ck-ai-chat-controls__model-selection__item-name','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','tooltip','model','ck-ai-chat-controls__model-name','isVisible','source','execute','_reasoningButton','bind','_modelSelectionDropdownItems','buttonView','description','listenTo','span','label','1598784lrREdS','withText','ck-ai-chat-controls__model-selection__item-capabilities','fire','_createCommandsButton','AI_CHAT_CAPABILITIES_YES','enabled','ck-ai-chat-controls-button--commands','disableModelSelector','_modelSelectionDropdown','button','content','_modelNameView','434295IZRxOh','Commands\x20are\x20not\x20implemented\x20yet.','5013bNEFak','capabilities','AI_CHAT_ENABLE_WEB_SEARCH','AI_CHAT_DISABLE_REASONING','setModel','_createReasoningButton','setTemplate','enableModelSelector','999240vxWxWC','408FdSfbr'];_0x224d=function(){return _0x3df296;};return _0x224d();}export class AIChatPromptCapabilitiesView extends _0x5b7650{[_0x90ddf8(0xf8)];[_0x90ddf8(0xd6)];[_0x90ddf8(0x106)];[_0x90ddf8(0xe7)];[_0x90ddf8(0xd8)];[_0x90ddf8(0xea)];constructor(_0x38d68e){const _0x177ede=_0x90ddf8;super(_0x38d68e),this[_0x177ede(0x112)](_0x177ede(0xbd),!0x1),this[_0x177ede(0x112)](_0x177ede(0x100),!0x1),this[_0x177ede(0x112)](_0x177ede(0x114),!0x0),this[_0x177ede(0x112)](_0x177ede(0x110),!0x0),this[_0x177ede(0x112)](_0x177ede(0xcc),null),this[_0x177ede(0x112)](_0x177ede(0xfc),null),this[_0x177ede(0xe7)]=this[_0x177ede(0xc7)](),this[_0x177ede(0xea)]=this[_0x177ede(0xf7)](),this[_0x177ede(0xf8)]=this[_0x177ede(0xc0)](),this[_0x177ede(0xd6)]=this[_0x177ede(0xf2)](),this[_0x177ede(0x106)]=this[_0x177ede(0xe2)](),this[_0x177ede(0xe7)][_0x177ede(0xd9)][_0x177ede(0xd7)](_0x177ede(0xd3))['to'](this,_0x177ede(0x114),_0x4915c0=>_0x4915c0),this[_0x177ede(0xe7)][_0x177ede(0xd9)][_0x177ede(0xd7)](_0x177ede(0xd0))['to'](this,_0x177ede(0x110),_0x3b39ac=>_0x3b39ac?this[_0x177ede(0xe7)][_0x177ede(0xd9)][_0x177ede(0xdd)]:_0x195a94(this[_0x177ede(0xcb)],_0x177ede(0xcf))),this[_0x177ede(0xe7)][_0x177ede(0xd7)](_0x177ede(0xb7))['to'](this,_0x177ede(0x110),_0x1ada90=>_0x1ada90),this[_0x177ede(0xf8)][_0x177ede(0xd7)](_0x177ede(0xbb))['to'](this,_0x177ede(0xbd),_0x360463=>_0x360463),this[_0x177ede(0xf8)][_0x177ede(0xd7)](_0x177ede(0xdf))['to'](this,_0x177ede(0x114),_0x4f7275=>!_0x4f7275),this[_0x177ede(0xf8)][_0x177ede(0xd7)](_0x177ede(0xd0))['to'](this,_0x177ede(0xbd),_0x239de5=>_0x195a94(this[_0x177ede(0xcb)],_0x239de5?_0x177ede(0xc8):_0x177ede(0xef))),this[_0x177ede(0xd6)][_0x177ede(0xd7)](_0x177ede(0xbb))['to'](this,_0x177ede(0x100),_0xac1c28=>_0xac1c28),this[_0x177ede(0xd6)][_0x177ede(0xd7)](_0x177ede(0xdf))['to'](this,_0x177ede(0x114),_0x4b04e9=>!_0x4b04e9),this[_0x177ede(0xd6)][_0x177ede(0xd7)](_0x177ede(0xd0))['to'](this,_0x177ede(0x100),_0x17af54=>_0x195a94(this[_0x177ede(0xcb)],_0x17af54?_0x177ede(0xf0):_0x177ede(0x103))),this[_0x177ede(0xf3)]({'tag':_0x177ede(0x105),'attributes':{'class':[Wo]},'children':[this[_0x177ede(0xe7)],this[_0x177ede(0xea)],this[_0x177ede(0xf8)],this[_0x177ede(0xd6)],this[_0x177ede(0x106)]]}),this[_0x177ede(0xd8)]=new _0x2b8522(),_0x25f555(this[_0x177ede(0xe7)],this[_0x177ede(0xd8)]);}[_0x90ddf8(0xfb)](_0x1bdf32,_0x2f19ff){const _0x34b52f=_0x90ddf8;if(this[_0x34b52f(0x112)](_0x34b52f(0x114),!(_0x2f19ff&&_0x1bdf32[_0x34b52f(0x108)]<=0x1)),this[_0x34b52f(0xd8)][_0x34b52f(0x117)](),_0x1bdf32?.[_0x34b52f(0x108)])for(const _0x55f85e of _0x1bdf32){const _0x3e13e7=new _0x471728({'label':_0x55f85e[_0x34b52f(0xb9)],'withText':!0x0,'role':_0x34b52f(0xc2),'id':_0x55f85e['id'],'model':_0x55f85e});_0x3e13e7[_0x34b52f(0xd7)](_0x34b52f(0xbb))['to'](this,_0x34b52f(0xcc),_0x26ee27=>_0x26ee27===_0x55f85e['id']),this[_0x34b52f(0xd8)][_0x34b52f(0xfe)]({'type':_0x34b52f(0xe8),'model':_0x3e13e7,'labelView':new Us(this[_0x34b52f(0xcb)],_0x55f85e)});}}[_0x90ddf8(0x10c)](_0x5d353d){const _0x3c3745=_0x90ddf8;this[_0x3c3745(0x112)](_0x3c3745(0xbd),_0x5d353d);}[_0x90ddf8(0xc3)](_0x1b6ef8){const _0x1d7d80=_0x90ddf8;this[_0x1d7d80(0x112)](_0x1d7d80(0x100),_0x1b6ef8);}[_0x90ddf8(0xf1)](_0x545a0d){const _0x5da3bc=_0x90ddf8;if(!_0x545a0d)return;this[_0x5da3bc(0xcc)]=_0x545a0d['id'],this[_0x5da3bc(0xfc)]=_0x545a0d[_0x5da3bc(0xb9)]||_0x545a0d['id'],this[_0x5da3bc(0xe7)][_0x5da3bc(0xd9)][_0x5da3bc(0x112)](_0x5da3bc(0xdd),_0x545a0d[_0x5da3bc(0xb9)]),this[_0x5da3bc(0xe7)][_0x5da3bc(0xd9)][_0x5da3bc(0x112)](_0x5da3bc(0xd0),_0x545a0d[_0x5da3bc(0xb9)]);const _0x34de04=_0x545a0d[_0x5da3bc(0xee)][_0x5da3bc(0x111)]?.[_0x5da3bc(0xe4)]??!0x1;this[_0x5da3bc(0x112)](_0x5da3bc(0xbd),!0x1),this[_0x5da3bc(0xf8)][_0x5da3bc(0x112)](_0x5da3bc(0xbb),!0x1),this[_0x5da3bc(0xf8)][_0x5da3bc(0x112)](_0x5da3bc(0xb7),_0x34de04),this[_0x5da3bc(0xf8)][_0x5da3bc(0x112)](_0x5da3bc(0xd3),_0x34de04);const _0x4ce4a1=_0x545a0d[_0x5da3bc(0xee)][_0x5da3bc(0x104)]?.[_0x5da3bc(0xe4)]??!0x1;this[_0x5da3bc(0x112)](_0x5da3bc(0x100),!0x1),this[_0x5da3bc(0xd6)][_0x5da3bc(0x112)](_0x5da3bc(0xbb),!0x1),this[_0x5da3bc(0xd6)][_0x5da3bc(0x112)](_0x5da3bc(0xb7),_0x4ce4a1),this[_0x5da3bc(0xd6)][_0x5da3bc(0x112)](_0x5da3bc(0xd3),_0x4ce4a1);}[_0x90ddf8(0xf4)](){const _0x4deb03=_0x90ddf8;this[_0x4deb03(0x112)](_0x4deb03(0x110),!0x0),this[_0x4deb03(0x112)](_0x4deb03(0x114),!0x0);}[_0x90ddf8(0xe6)](_0x19acb1){const _0x5cad5d=_0x90ddf8;this[_0x5cad5d(0x112)](_0x5cad5d(0x110),!0x1),_0x19acb1&&this[_0x5cad5d(0x112)](_0x5cad5d(0x114),!0x1);}[_0x90ddf8(0xc0)](){const _0x1d253d=_0x90ddf8,_0x5c9571=new _0x5971e0();return _0x5c9571[_0x1d253d(0x112)]({'label':_0x195a94(this[_0x1d253d(0xcb)],_0x1d253d(0x10f)),'icon':_0x40018a,'class':Ro,'isToggleable':!0x0,'tooltipPosition':zo}),_0x5c9571['on'](_0x1d253d(0xd5),()=>{const _0x118a90=_0x1d253d;this[_0x118a90(0xe1)](_0x118a90(0x107));}),_0x5c9571;}[_0x90ddf8(0xf2)](){const _0x28d638=_0x90ddf8,_0x4ab6c4=new _0x5971e0();return _0x4ab6c4[_0x28d638(0x112)]({'label':_0x195a94(this[_0x28d638(0xcb)],_0x28d638(0xbc)),'icon':_0x50b07c,'class':Ro,'isToggleable':!0x0,'tooltipPosition':zo}),_0x4ab6c4['on'](_0x28d638(0xd5),()=>{const _0x17cfee=_0x28d638;this[_0x17cfee(0xe1)](_0x17cfee(0x101));}),_0x4ab6c4;}[_0x90ddf8(0xe2)](){const _0x509cd5=_0x90ddf8,_0x246921=new _0x5971e0();return _0x246921[_0x509cd5(0x112)]({'label':_0x195a94(this[_0x509cd5(0xcb)],_0x509cd5(0x10a)),'icon':_0x5dd93e,'withText':!0x0,'class':Ro,'isToggleable':!0x0,'tooltip':_0x195a94(this[_0x509cd5(0xcb)],_0x509cd5(0x10a)),'tooltipPosition':zo}),_0x246921[_0x509cd5(0xfa)]({'attributes':{'class':[yo]}}),_0x246921['on'](_0x509cd5(0xd5),()=>{const _0x35de17=_0x509cd5;console[_0x35de17(0xb5)](_0x35de17(0xec)),alert(_0x35de17(0xec));}),_0x246921;}[_0x90ddf8(0xc7)](){const _0xecf199=_0x90ddf8,_0x12ce90=_0xa1ee8f(this[_0xecf199(0xcb)]);return _0x12ce90[_0xecf199(0x112)]({'panelPosition':'ne','class':[Go]}),_0x12ce90[_0xecf199(0xd9)][_0xecf199(0x112)]({'label':_0x195a94(this[_0xecf199(0xcb)],_0xecf199(0xc1)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':zo}),this[_0xecf199(0xdb)](_0x12ce90,_0xecf199(0xd5),_0x47b8bf=>{const _0x1a9bb2=_0xecf199;this[_0x1a9bb2(0xe1)](_0x1a9bb2(0xff),_0x47b8bf[_0x1a9bb2(0xd4)][_0x1a9bb2(0xd1)]);}),_0x12ce90;}[_0x90ddf8(0xf7)](){const _0x3ede12=_0x90ddf8,_0x28eeac=new Fo(this[_0x3ede12(0xcb)]);return _0x28eeac[_0x3ede12(0xd7)](_0x3ede12(0x116))['to'](this,_0x3ede12(0xfc),_0x13083e=>_0x13083e??''),_0x28eeac[_0x3ede12(0xd7)](_0x3ede12(0xd3))['to'](this,_0x3ede12(0x114),this,_0x3ede12(0xfc),(_0x10b5a6,_0x260c3b)=>!_0x10b5a6&&!_0x260c3b?.[_0x3ede12(0x10e)]()[_0x3ede12(0xbf)](_0x3ede12(0xc6))),_0x28eeac;}}class Us extends _0x32af79{constructor(_0x145118,_0x4d9079){const _0x2028c3=_0x90ddf8;super();const _0x1da83b=this[_0x2028c3(0xfd)],_0x420cc7=this[_0x2028c3(0xb8)]();this[_0x2028c3(0xf3)]({'tag':_0x2028c3(0x105),'attributes':{'class':['ck',_0x2028c3(0x10b)],'style':_0x1da83b['to'](_0x2028c3(0xf9)),'id':_0x1da83b['to']('id')},'children':[{'tag':_0x2028c3(0x105),'attributes':{'class':[jo]},'children':[{'text':_0x1da83b['to'](_0x2028c3(0x116))}]},{'tag':_0x2028c3(0x105),'attributes':{'class':[Yo]},'children':[{'tag':_0x2028c3(0xdc),'children':[{'text':_0x4d9079[_0x2028c3(0xda)]}]}]},{'tag':_0x2028c3(0x105),'attributes':{'class':[qo]},'children':_0x420cc7}]}),_0x420cc7[_0x2028c3(0xca)](this[_0x2028c3(0x113)](_0x145118,_0x40018a,_0x2028c3(0x10f),_0x4d9079[_0x2028c3(0xee)][_0x2028c3(0x111)]?.[_0x2028c3(0xe4)]??!0x1)),_0x420cc7[_0x2028c3(0xca)](this[_0x2028c3(0x113)](_0x145118,_0x50b07c,_0x2028c3(0xbc),_0x4d9079[_0x2028c3(0xee)][_0x2028c3(0x104)]?.[_0x2028c3(0xe4)]??!0x1));}[_0x90ddf8(0x113)](_0x15f977,_0x274186,_0x902a2f,_0x2f6233){const _0x5f5713=_0x90ddf8,_0xa91dd2=new _0x42e9f9();_0xa91dd2[_0x5f5713(0xe9)]=_0x274186;const _0x386121=new _0x5b7650(_0x15f977);_0x386121[_0x5f5713(0xf3)]({'tag':_0x5f5713(0xdc),'children':[{'text':_0x195a94(_0x15f977,_0x902a2f)+':\x20'}]});const _0x365ed=new _0x5b7650(_0x15f977);return _0x365ed[_0x5f5713(0xf3)]({'tag':_0x5f5713(0xdc),'children':[{'text':_0x195a94(_0x15f977,_0x2f6233?_0x5f5713(0xe3):_0x5f5713(0xc5))}]}),[_0xa91dd2,_0x386121,_0x365ed];}}function _0x4652(_0x545f6b,_0x4458d6){const _0x224d1e=_0x224d();return _0x4652=function(_0x465282,_0x5e6b2b){_0x465282=_0x465282-0xb5;let _0x91c459=_0x224d1e[_0x465282];return _0x91c459;},_0x4652(_0x545f6b,_0x4458d6);}class Fo extends _0x5b7650{constructor(_0x44de2e){const _0x52997a=_0x90ddf8;super(_0x44de2e),this[_0x52997a(0x112)](_0x52997a(0x116),void 0x0),this[_0x52997a(0x112)](_0x52997a(0xd3),!0x0);const _0x2ca3c0=this[_0x52997a(0xfd)];this[_0x52997a(0xf3)]({'tag':_0x52997a(0xdc),'attributes':{'class':['ck',_0x52997a(0xd2),_0x2ca3c0['if'](_0x52997a(0xd3),_0x52997a(0xba),_0x1fd693=>!_0x1fd693)]},'children':[{'text':_0x2ca3c0['to'](_0x52997a(0x116))}]});}}
23
+ const _0x352fe1=_0x15ed;(function(_0x4c47cd,_0x51714f){const _0x52ac6a=_0x15ed,_0x1f32d4=_0x4c47cd();while(!![]){try{const _0x22dc74=parseInt(_0x52ac6a(0x1e7))/0x1+-parseInt(_0x52ac6a(0x1f2))/0x2*(parseInt(_0x52ac6a(0x1e6))/0x3)+parseInt(_0x52ac6a(0x22a))/0x4*(-parseInt(_0x52ac6a(0x216))/0x5)+-parseInt(_0x52ac6a(0x21c))/0x6*(-parseInt(_0x52ac6a(0x22c))/0x7)+parseInt(_0x52ac6a(0x234))/0x8*(parseInt(_0x52ac6a(0x228))/0x9)+parseInt(_0x52ac6a(0x1f3))/0xa+-parseInt(_0x52ac6a(0x1fb))/0xb*(parseInt(_0x52ac6a(0x1fe))/0xc);if(_0x22dc74===_0x51714f)break;else _0x1f32d4['push'](_0x1f32d4['shift']());}catch(_0x4bf4f6){_0x1f32d4['push'](_0x1f32d4['shift']());}}}(_0x4ecf,0x6260e));import{Collection as _0x39ef7a}from'ckeditor5/src/utils.js';import{IconAI as _0x2a6e0c,IconBulb as _0x1c52ed,IconWeb as _0x106bec}from'@ckeditor/ckeditor5-icons';function _0x15ed(_0xd6772e,_0x110f9e){const _0x4ecf91=_0x4ecf();return _0x15ed=function(_0x15ed07,_0x3017b1){_0x15ed07=_0x15ed07-0x1d6;let _0x2607d4=_0x4ecf91[_0x15ed07];return _0x2607d4;},_0x15ed(_0xd6772e,_0x110f9e);}import{addListToDropdown as _0xfd3ae9,ButtonLabelView as _0x376a2f,ButtonView as _0x1dc2fd,createDropdown as _0x4b9c45,IconView as _0x187cdd,UIModel as _0x2762d7,View as _0x28aa5d}from'ckeditor5/src/ui.js';import{getTranslation as _0x3ec124}from'../../../aicore/utils/common-translations.js';function _0x4ecf(){const _0x367909=['Commands\x20are\x20not\x20implemented\x20yet.','text','setModelList','div','AI_CHAT_DISABLE_WEB_SEARCH','label','addMany','capabilities','model','_createModelSelectionDropdown','AI_CHAT_ENABLE_REASONING','AI_CHAT_COMMANDS','createCollection','log','style','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','setModel','activeModelId','ck-ai-chat-controls__model-selection__item-capabilities','10bkQTzA','listenTo','execute','name','agent','setReasoning','1116IMUaZP','bind','AI_CHAT_DISABLE_REASONING','withText','length','button','tooltip','_createWebSearchButton','add','modelSelectorEnabled','activeModelName','enabled','175041FrGTtW','toggleReasoning','633272dTaqPW','ck-ai-chat__prompt-capabilities','7763wypNYb','setTemplate','span','webSearchActive','webSearch','ck-ai-chat-controls__model-selection','_createCommandsButton','_createReasoningButton','216DJegQL','content','description','extendTemplate','selectModel','ck-ai-chat-controls-button','_modelNameView','AI_CHAT_CAPABILITIES_NO','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','ck-button__label','disableModelSelector','ck-ai-chat-controls__model-name','AI_CHAT_SEARCH_WEB','startsWith','fire','AI_CHAT_CAPABILITIES_YES','modelSelectorVisible','isOn','_reasoningButton','toLowerCase','reasoningActive','set','_webSearchButton','3BrQwwr','415133HFpZSz','isEnabled','ck-ai-chat-controls__model-selection__item-description','locale','clear','setWebSearch','menuitemradio','_getCapabilityParts','enableModelSelector','ck-ai-chat-controls__model-selection__item-name','_commandsButton','1396432jpzwzJ','4689560EJrZFE','toggleWebSearch','isVisible','buttonView','_modelSelectionDropdownItems','reasoning','ck-ai-chat-controls-button--commands','AI_CHAT_REASONING','561cQqpyq','bindTemplate','source','46512BFLEbn','_createModelNameView','AI_CHAT_ENABLE_WEB_SEARCH','ck-hidden','_modelSelectionDropdown'];_0x4ecf=function(){return _0x367909;};return _0x4ecf();}const yo=_0x352fe1(0x22b),Uo=_0x352fe1(0x239),Go=_0x352fe1(0x1f9),jo=_0x352fe1(0x231),Yo=_0x352fe1(0x1f0),qo=_0x352fe1(0x1e9),zo=_0x352fe1(0x215),Fo='n';export class AIChatPromptCapabilitiesView extends _0x28aa5d{[_0x352fe1(0x1e5)];[_0x352fe1(0x1e1)];[_0x352fe1(0x1f1)];[_0x352fe1(0x202)];[_0x352fe1(0x1f7)];[_0x352fe1(0x23a)];constructor(_0x75b6a3){const _0x23e483=_0x352fe1;super(_0x75b6a3),this[_0x23e483(0x1e4)](_0x23e483(0x22f),!0x1),this[_0x23e483(0x1e4)](_0x23e483(0x1e3),!0x1),this[_0x23e483(0x1e4)](_0x23e483(0x1df),!0x0),this[_0x23e483(0x1e4)](_0x23e483(0x225),!0x0),this[_0x23e483(0x1e4)](_0x23e483(0x214),null),this[_0x23e483(0x1e4)](_0x23e483(0x226),null),this[_0x23e483(0x202)]=this[_0x23e483(0x20c)](),this[_0x23e483(0x23a)]=this[_0x23e483(0x1ff)](),this[_0x23e483(0x1e5)]=this[_0x23e483(0x223)](),this[_0x23e483(0x1e1)]=this[_0x23e483(0x233)](),this[_0x23e483(0x1f1)]=this[_0x23e483(0x232)](),this[_0x23e483(0x202)][_0x23e483(0x1f6)][_0x23e483(0x21d)](_0x23e483(0x1f5))['to'](this,_0x23e483(0x1df),_0x5f2b23=>_0x5f2b23),this[_0x23e483(0x202)][_0x23e483(0x1f6)][_0x23e483(0x21d)](_0x23e483(0x222))['to'](this,_0x23e483(0x225),_0x15f6cc=>_0x15f6cc?this[_0x23e483(0x202)][_0x23e483(0x1f6)][_0x23e483(0x208)]:_0x3ec124(this[_0x23e483(0x1ea)],_0x23e483(0x1d7))),this[_0x23e483(0x202)][_0x23e483(0x21d)](_0x23e483(0x1e8))['to'](this,_0x23e483(0x225),_0x30d663=>_0x30d663),this[_0x23e483(0x1e5)][_0x23e483(0x21d)](_0x23e483(0x1e0))['to'](this,_0x23e483(0x22f),_0x25240b=>_0x25240b),this[_0x23e483(0x1e5)][_0x23e483(0x21d)](_0x23e483(0x21f))['to'](this,_0x23e483(0x1df),_0x1025ff=>!_0x1025ff),this[_0x23e483(0x1e5)][_0x23e483(0x21d)](_0x23e483(0x222))['to'](this,_0x23e483(0x22f),_0x1edab4=>_0x3ec124(this[_0x23e483(0x1ea)],_0x1edab4?_0x23e483(0x207):_0x23e483(0x200))),this[_0x23e483(0x1e1)][_0x23e483(0x21d)](_0x23e483(0x1e0))['to'](this,_0x23e483(0x1e3),_0x4bc9bc=>_0x4bc9bc),this[_0x23e483(0x1e1)][_0x23e483(0x21d)](_0x23e483(0x21f))['to'](this,_0x23e483(0x1df),_0x5d0771=>!_0x5d0771),this[_0x23e483(0x1e1)][_0x23e483(0x21d)](_0x23e483(0x222))['to'](this,_0x23e483(0x1e3),_0x371749=>_0x3ec124(this[_0x23e483(0x1ea)],_0x371749?_0x23e483(0x21e):_0x23e483(0x20d))),this[_0x23e483(0x22d)]({'tag':_0x23e483(0x206),'attributes':{'class':[yo]},'children':[this[_0x23e483(0x202)],this[_0x23e483(0x23a)],this[_0x23e483(0x1e5)],this[_0x23e483(0x1e1)],this[_0x23e483(0x1f1)]]}),this[_0x23e483(0x1f7)]=new _0x39ef7a(),_0xfd3ae9(this[_0x23e483(0x202)],this[_0x23e483(0x1f7)]);}[_0x352fe1(0x205)](_0x44c8a7,_0x486d96){const _0xc1a4c5=_0x352fe1;if(this[_0xc1a4c5(0x1e4)](_0xc1a4c5(0x1df),!(_0x486d96&&_0x44c8a7[_0xc1a4c5(0x220)]<=0x1)),this[_0xc1a4c5(0x1f7)][_0xc1a4c5(0x1eb)](),_0x44c8a7?.[_0xc1a4c5(0x220)])for(const _0x1c5b30 of _0x44c8a7){const _0x1523a2=new _0x2762d7({'label':_0x1c5b30[_0xc1a4c5(0x219)],'withText':!0x0,'role':_0xc1a4c5(0x1ed),'id':_0x1c5b30['id'],'model':_0x1c5b30});_0x1523a2[_0xc1a4c5(0x21d)](_0xc1a4c5(0x1e0))['to'](this,_0xc1a4c5(0x214),_0x327961=>_0x327961===_0x1c5b30['id']),this[_0xc1a4c5(0x1f7)][_0xc1a4c5(0x224)]({'type':_0xc1a4c5(0x221),'model':_0x1523a2,'labelView':new Xs(this[_0xc1a4c5(0x1ea)],_0x1c5b30)});}}[_0x352fe1(0x1ec)](_0x2eb961){const _0x2e746a=_0x352fe1;this[_0x2e746a(0x1e4)](_0x2e746a(0x22f),_0x2eb961);}[_0x352fe1(0x21b)](_0x1d07be){const _0x417553=_0x352fe1;this[_0x417553(0x1e4)](_0x417553(0x1e3),_0x1d07be);}[_0x352fe1(0x213)](_0xa1f9e2){const _0x1006c3=_0x352fe1;if(!_0xa1f9e2)return;this[_0x1006c3(0x214)]=_0xa1f9e2['id'],this[_0x1006c3(0x226)]=_0xa1f9e2[_0x1006c3(0x219)]||_0xa1f9e2['id'],this[_0x1006c3(0x202)][_0x1006c3(0x1f6)][_0x1006c3(0x1e4)](_0x1006c3(0x208),_0xa1f9e2[_0x1006c3(0x219)]),this[_0x1006c3(0x202)][_0x1006c3(0x1f6)][_0x1006c3(0x1e4)](_0x1006c3(0x222),_0xa1f9e2[_0x1006c3(0x219)]);const _0x4ee895=_0xa1f9e2[_0x1006c3(0x20a)][_0x1006c3(0x230)]?.[_0x1006c3(0x227)]??!0x1;this[_0x1006c3(0x1e4)](_0x1006c3(0x22f),!0x1),this[_0x1006c3(0x1e5)][_0x1006c3(0x1e4)](_0x1006c3(0x1e0),!0x1),this[_0x1006c3(0x1e5)][_0x1006c3(0x1e4)](_0x1006c3(0x1e8),_0x4ee895),this[_0x1006c3(0x1e5)][_0x1006c3(0x1e4)](_0x1006c3(0x1f5),_0x4ee895);const _0x9955a8=_0xa1f9e2[_0x1006c3(0x20a)][_0x1006c3(0x1f8)]?.[_0x1006c3(0x227)]??!0x1;this[_0x1006c3(0x1e4)](_0x1006c3(0x1e3),!0x1),this[_0x1006c3(0x1e1)][_0x1006c3(0x1e4)](_0x1006c3(0x1e0),!0x1),this[_0x1006c3(0x1e1)][_0x1006c3(0x1e4)](_0x1006c3(0x1e8),_0x9955a8),this[_0x1006c3(0x1e1)][_0x1006c3(0x1e4)](_0x1006c3(0x1f5),_0x9955a8);}[_0x352fe1(0x1ef)](){const _0x1bc70f=_0x352fe1;this[_0x1bc70f(0x1e4)](_0x1bc70f(0x225),!0x0),this[_0x1bc70f(0x1e4)](_0x1bc70f(0x1df),!0x0);}[_0x352fe1(0x1d9)](_0x1784de){const _0x64b081=_0x352fe1;this[_0x64b081(0x1e4)](_0x64b081(0x225),!0x1),_0x1784de&&this[_0x64b081(0x1e4)](_0x64b081(0x1df),!0x1);}[_0x352fe1(0x223)](){const _0x2d81bb=_0x352fe1,_0x61faa9=new _0x1dc2fd();return _0x61faa9[_0x2d81bb(0x1e4)]({'label':_0x3ec124(this[_0x2d81bb(0x1ea)],_0x2d81bb(0x1db)),'icon':_0x106bec,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x61faa9['on'](_0x2d81bb(0x218),()=>{const _0x358b08=_0x2d81bb;this[_0x358b08(0x1dd)](_0x358b08(0x1f4));}),_0x61faa9;}[_0x352fe1(0x233)](){const _0xebe652=_0x352fe1,_0x336a30=new _0x1dc2fd();return _0x336a30[_0xebe652(0x1e4)]({'label':_0x3ec124(this[_0xebe652(0x1ea)],_0xebe652(0x1fa)),'icon':_0x1c52ed,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x336a30['on'](_0xebe652(0x218),()=>{const _0x2fd793=_0xebe652;this[_0x2fd793(0x1dd)](_0x2fd793(0x229));}),_0x336a30;}[_0x352fe1(0x232)](){const _0x883ceb=_0x352fe1,_0x2dabad=new _0x1dc2fd();return _0x2dabad[_0x883ceb(0x1e4)]({'label':_0x3ec124(this[_0x883ceb(0x1ea)],_0x883ceb(0x20e)),'icon':_0x2a6e0c,'withText':!0x0,'class':Uo,'isToggleable':!0x0,'tooltip':_0x3ec124(this[_0x883ceb(0x1ea)],_0x883ceb(0x20e)),'tooltipPosition':Fo}),_0x2dabad[_0x883ceb(0x237)]({'attributes':{'class':[Go]}}),_0x2dabad['on'](_0x883ceb(0x218),()=>{const _0x16380e=_0x883ceb;console[_0x16380e(0x210)](_0x16380e(0x203)),alert(_0x16380e(0x203));}),_0x2dabad;}[_0x352fe1(0x20c)](){const _0x55fc16=_0x352fe1,_0x15a7b1=_0x4b9c45(this[_0x55fc16(0x1ea)]);return _0x15a7b1[_0x55fc16(0x1e4)]({'panelPosition':'ne','class':[jo]}),_0x15a7b1[_0x55fc16(0x1f6)][_0x55fc16(0x1e4)]({'label':_0x3ec124(this[_0x55fc16(0x1ea)],_0x55fc16(0x212)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Fo}),this[_0x55fc16(0x217)](_0x15a7b1,_0x55fc16(0x218),_0x38b3da=>{const _0x87aa88=_0x55fc16;this[_0x87aa88(0x1dd)](_0x87aa88(0x238),_0x38b3da[_0x87aa88(0x1fd)][_0x87aa88(0x20b)]);}),_0x15a7b1;}[_0x352fe1(0x1ff)](){const _0x10904e=_0x352fe1,_0x4c3a95=new Jo(this[_0x10904e(0x1ea)]);return _0x4c3a95[_0x10904e(0x21d)](_0x10904e(0x204))['to'](this,_0x10904e(0x226),_0x17578b=>_0x17578b??''),_0x4c3a95[_0x10904e(0x21d)](_0x10904e(0x1f5))['to'](this,_0x10904e(0x1df),this,_0x10904e(0x226),(_0x13e71e,_0x274d22)=>!_0x13e71e&&!_0x274d22?.[_0x10904e(0x1e2)]()[_0x10904e(0x1dc)](_0x10904e(0x21a))),_0x4c3a95;}}class Xs extends _0x376a2f{constructor(_0xf74cf3,_0xb4339f){const _0x14972=_0x352fe1;super();const _0x1fcdb5=this[_0x14972(0x1fc)],_0x1e250a=this[_0x14972(0x20f)]();this[_0x14972(0x22d)]({'tag':_0x14972(0x206),'attributes':{'class':['ck',_0x14972(0x1d8)],'style':_0x1fcdb5['to'](_0x14972(0x211)),'id':_0x1fcdb5['to']('id')},'children':[{'tag':_0x14972(0x206),'attributes':{'class':[Yo]},'children':[{'text':_0x1fcdb5['to'](_0x14972(0x204))}]},{'tag':_0x14972(0x206),'attributes':{'class':[qo]},'children':[{'tag':_0x14972(0x22e),'children':[{'text':_0xb4339f[_0x14972(0x236)]}]}]},{'tag':_0x14972(0x206),'attributes':{'class':[zo]},'children':_0x1e250a}]}),_0x1e250a[_0x14972(0x209)](this[_0x14972(0x1ee)](_0xf74cf3,_0x106bec,_0x14972(0x1db),_0xb4339f[_0x14972(0x20a)][_0x14972(0x230)]?.[_0x14972(0x227)]??!0x1)),_0x1e250a[_0x14972(0x209)](this[_0x14972(0x1ee)](_0xf74cf3,_0x1c52ed,_0x14972(0x1fa),_0xb4339f[_0x14972(0x20a)][_0x14972(0x1f8)]?.[_0x14972(0x227)]??!0x1));}[_0x352fe1(0x1ee)](_0xe4c472,_0x34eae9,_0x3a44c7,_0x3efcce){const _0x195bee=_0x352fe1,_0x10534e=new _0x187cdd();_0x10534e[_0x195bee(0x235)]=_0x34eae9;const _0x5b2370=new _0x28aa5d(_0xe4c472);_0x5b2370[_0x195bee(0x22d)]({'tag':_0x195bee(0x22e),'children':[{'text':_0x3ec124(_0xe4c472,_0x3a44c7)+':\x20'}]});const _0x23903b=new _0x28aa5d(_0xe4c472);return _0x23903b[_0x195bee(0x22d)]({'tag':_0x195bee(0x22e),'children':[{'text':_0x3ec124(_0xe4c472,_0x3efcce?_0x195bee(0x1de):_0x195bee(0x1d6))}]}),[_0x10534e,_0x5b2370,_0x23903b];}}class Jo extends _0x28aa5d{constructor(_0x30b97d){const _0x567839=_0x352fe1;super(_0x30b97d),this[_0x567839(0x1e4)](_0x567839(0x204),void 0x0),this[_0x567839(0x1e4)](_0x567839(0x1f5),!0x0);const _0x59ea1f=this[_0x567839(0x1fc)];this[_0x567839(0x22d)]({'tag':_0x567839(0x22e),'attributes':{'class':['ck',_0x567839(0x1da),_0x59ea1f['if'](_0x567839(0x1f5),_0x567839(0x201),_0x22e979=>!_0x22e979)]},'children':[{'text':_0x59ea1f['to'](_0x567839(0x204))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35125e=_0x284a;function _0x284a(_0x1b117a,_0x5ef9fc){const _0x1748b9=_0x1748();return _0x284a=function(_0x284a0d,_0x48d88a){_0x284a0d=_0x284a0d-0x1bf;let _0x438cb3=_0x1748b9[_0x284a0d];return _0x438cb3;},_0x284a(_0x1b117a,_0x5ef9fc);}(function(_0x4a6058,_0x27ea38){const _0x432d57=_0x284a,_0xb6698f=_0x4a6058();while(!![]){try{const _0x34fc09=parseInt(_0x432d57(0x1ce))/0x1+-parseInt(_0x432d57(0x1d7))/0x2+parseInt(_0x432d57(0x1d3))/0x3*(-parseInt(_0x432d57(0x1f6))/0x4)+-parseInt(_0x432d57(0x1bf))/0x5*(-parseInt(_0x432d57(0x1c4))/0x6)+-parseInt(_0x432d57(0x1f9))/0x7*(parseInt(_0x432d57(0x1c9))/0x8)+parseInt(_0x432d57(0x1dc))/0x9*(-parseInt(_0x432d57(0x1d4))/0xa)+parseInt(_0x432d57(0x1e2))/0xb;if(_0x34fc09===_0x27ea38)break;else _0xb6698f['push'](_0xb6698f['shift']());}catch(_0x557e9a){_0xb6698f['push'](_0xb6698f['shift']());}}}(_0x1748,0xcf40f));import{IconSubmit as _0x476798}from'ckeditor5/src/icons.js';import{ButtonView as _0x2a2b69,AutocompleteView as _0x450524,createLabeledTextarea as _0x34b384}from'ckeditor5/src/ui.js';function _0x1748(){const _0x5e7d81=['submitButtonView','value','enter','left','placeholder','MIN_ROWS','rtl','element','_setUpAddContextButtonPositioning','fire','reset','isUploadInProgress','px\x20-\x20var(--ck-spacing-tiny))','uiLanguageDirection','style','setPlaceholderText','add','minRows','fieldWrapperChildren','172nhYiCh','_createSubmitButton','destroy','3221771WIchOq','update','queryView','focusableChildren','target','requestAnimationFrame','isEmpty','trim','15340goScYS','isEnabled','right','_addContextButtonView','render','672yrnRfI','ck-ai-chat__prompt-submit-button','locale','set','ck-ai-chat__prompt-input','8wgzhFi','execute','_queryViewResizeObserver','hasError','calc(','566971kwRhas','errorText','bind','excludeScrollbarsAndBorders','submit','55125OabmWY','90kjLloC','fieldView','maxRows','1341138lUGwAC','AI_CHAT_PROMPT_EMPTY_ERROR','AI_CHAT_LABEL_SUBMIT','MAX_ROWS','setIsUploadInProgress','1468242zbPKOd','width','window','keystrokes','sendUserMessage','extendTemplate','36602643LOKHmA'];_0x1748=function(){return _0x5e7d81;};return _0x1748();}import{global as _0x42cd44,isVisible as _0x10b0e3,Rect as _0x55323d,ResizeObserver as _0x57ea30}from'ckeditor5/src/utils.js';import{getTranslation as _0x8e62d4}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x37b7b8}from'./aichatpromptsuggestionslistview.js';import{escape as _0x148358}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x450524{[_0x35125e(0x1e3)];static [_0x35125e(0x1e8)]=0x1;static [_0x35125e(0x1da)]=0xc;[_0x35125e(0x1c2)];[_0x35125e(0x1cb)];constructor(_0x1dc00a,_0x271dd9){const _0x1e1f8a=_0x35125e;super(_0x1dc00a,{'queryView':{'label':'','creator':_0x34b384,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x37b7b8(_0x1dc00a),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x1e1f8a(0x1c7)](_0x1e1f8a(0x1ff),!0x0),this[_0x1e1f8a(0x1c7)](_0x1e1f8a(0x1ee),!0x1),this[_0x1e1f8a(0x1c2)]=_0x271dd9,this[_0x1e1f8a(0x1cb)]=null,this[_0x1e1f8a(0x1fb)][_0x1e1f8a(0x1d5)][_0x1e1f8a(0x1f4)]=AIChatPromptInputView[_0x1e1f8a(0x1e8)],this[_0x1e1f8a(0x1fb)][_0x1e1f8a(0x1d5)][_0x1e1f8a(0x1d6)]=AIChatPromptInputView[_0x1e1f8a(0x1da)],this[_0x1e1f8a(0x1fb)][_0x1e1f8a(0x1f5)][_0x1e1f8a(0x1f3)](this[_0x1e1f8a(0x1c2)]),this[_0x1e1f8a(0x1eb)](),this[_0x1e1f8a(0x1e1)]({'attributes':{'class':['ck',_0x1e1f8a(0x1c8)]}}),this[_0x1e1f8a(0x1e3)]=this[_0x1e1f8a(0x1f7)](),this[_0x1e1f8a(0x1e3)][_0x1e1f8a(0x1d0)](_0x1e1f8a(0x1c0))['to'](this,_0x1e1f8a(0x1ff),this,_0x1e1f8a(0x1ee),(_0x4cf27f,_0xa96fe1)=>!_0x4cf27f&&!_0xa96fe1),this[_0x1e1f8a(0x1fc)][_0x1e1f8a(0x1f3)](this[_0x1e1f8a(0x1e3)]);}[_0x35125e(0x1c3)](){const _0x469ef4=_0x35125e;super[_0x469ef4(0x1c3)](),this[_0x469ef4(0x1fb)][_0x469ef4(0x1f5)][_0x469ef4(0x1f3)](this[_0x469ef4(0x1e3)]),this[_0x469ef4(0x1df)][_0x469ef4(0x1c7)](_0x469ef4(0x1e5),(_0x2757e2,_0x1cf564)=>{const _0x3a73fb=_0x469ef4;this[_0x3a73fb(0x1ee)]||this[_0x3a73fb(0x1ff)]||_0x2757e2[_0x3a73fb(0x1fd)]==this[_0x3a73fb(0x1fb)][_0x3a73fb(0x1d5)][_0x3a73fb(0x1ea)]&&(this[_0x3a73fb(0x1d2)](),_0x1cf564());}),this[_0x469ef4(0x1fb)][_0x469ef4(0x1d5)]['on'](_0x469ef4(0x1fa),()=>{const _0xac23d3=_0x469ef4;this[_0xac23d3(0x1ff)]=''===this[_0xac23d3(0x1fb)][_0xac23d3(0x1d5)][_0xac23d3(0x1ea)][_0xac23d3(0x1e4)]?.[_0xac23d3(0x200)]();});}[_0x35125e(0x1f8)](){const _0x537056=_0x35125e;super[_0x537056(0x1f8)](),this[_0x537056(0x1cb)]&&this[_0x537056(0x1cb)][_0x537056(0x1f8)]();}[_0x35125e(0x1d2)](){const _0x4af646=_0x35125e,_0x3f0130=this[_0x4af646(0x1fb)][_0x4af646(0x1d5)][_0x4af646(0x1ea)][_0x4af646(0x1e4)]?.[_0x4af646(0x200)]();if(!_0x3f0130)return this[_0x4af646(0x1fb)][_0x4af646(0x1cf)]=_0x8e62d4(this[_0x4af646(0x1c6)],_0x4af646(0x1d8)),void(this[_0x4af646(0x1fb)][_0x4af646(0x1d5)][_0x4af646(0x1cc)]=!0x0);this[_0x4af646(0x1fb)][_0x4af646(0x1d5)][_0x4af646(0x1cc)]=!0x1;const _0x509493=_0x148358(_0x3f0130);this[_0x4af646(0x1ec)](_0x4af646(0x1e0),_0x509493),this[_0x4af646(0x1fb)][_0x4af646(0x1d5)][_0x4af646(0x1ed)]();}[_0x35125e(0x1f2)](_0x5a5f8e){const _0x19a7a0=_0x35125e;this[_0x19a7a0(0x1fb)][_0x19a7a0(0x1d5)][_0x19a7a0(0x1c7)](_0x19a7a0(0x1e7),_0x5a5f8e);}[_0x35125e(0x1f7)](){const _0x290453=_0x35125e,_0x37f1eb=new _0x2a2b69(this[_0x290453(0x1c6)]);return _0x37f1eb[_0x290453(0x1c7)]({'icon':_0x476798,'label':_0x8e62d4(this[_0x290453(0x1c6)],_0x290453(0x1d9)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x290453(0x1c5),'isEnabled':!0x1}),_0x37f1eb['on'](_0x290453(0x1ca),()=>{const _0x22ccb0=_0x290453;this[_0x22ccb0(0x1d2)]();}),_0x37f1eb;}[_0x35125e(0x1db)](_0x282dc8){const _0x5eda7b=_0x35125e;this[_0x5eda7b(0x1ee)]=_0x282dc8;}[_0x35125e(0x1eb)](){const _0x504d94=_0x35125e,_0xb2eda4=this[_0x504d94(0x1c6)],_0x460622=()=>{const _0xb387db=_0x504d94;_0x42cd44[_0xb387db(0x1de)][_0xb387db(0x1fe)](()=>{const _0x57eafc=_0xb387db;if(_0x10b0e3(this[_0x57eafc(0x1ea)])){const _0x1d72f3=new _0x55323d(this[_0x57eafc(0x1fb)][_0x57eafc(0x1d5)][_0x57eafc(0x1ea)]),_0x425e4c=new _0x55323d(this[_0x57eafc(0x1c2)][_0x57eafc(0x1ea)]),_0x2128a0=_0x1d72f3[_0x57eafc(0x1dd)],_0x4b2501=_0x57eafc(0x1e9)===_0xb2eda4[_0x57eafc(0x1f0)]?_0x57eafc(0x1c1):_0x57eafc(0x1e6);_0x1d72f3[_0x57eafc(0x1d1)]();const _0x1baea0=_0x2128a0-_0x1d72f3[_0x57eafc(0x1dd)]+0x1;this[_0x57eafc(0x1c2)][_0x57eafc(0x1ea)][_0x57eafc(0x1f1)][_0x4b2501]=_0x57eafc(0x1cd)+(_0x2128a0-_0x425e4c[_0x57eafc(0x1dd)]-_0x1baea0)+_0x57eafc(0x1ef);}});};this[_0x504d94(0x1fb)][_0x504d94(0x1d5)]['on'](_0x504d94(0x1fa),_0x460622),this['on'](_0x504d94(0x1c3),()=>{const _0xb96144=_0x504d94;_0x460622(),this[_0xb96144(0x1cb)]=new _0x57ea30(this[_0xb96144(0x1fb)][_0xb96144(0x1d5)][_0xb96144(0x1ea)],()=>{_0x460622();});});}}
23
+ const _0x3026e5=_0x5336;(function(_0x59a0f1,_0x38c1d7){const _0x3aab78=_0x5336,_0x1d8a0d=_0x59a0f1();while(!![]){try{const _0x2ce36d=-parseInt(_0x3aab78(0x202))/0x1+-parseInt(_0x3aab78(0x1e0))/0x2+parseInt(_0x3aab78(0x1e3))/0x3+parseInt(_0x3aab78(0x20c))/0x4*(-parseInt(_0x3aab78(0x20d))/0x5)+-parseInt(_0x3aab78(0x1e6))/0x6+parseInt(_0x3aab78(0x1f4))/0x7+parseInt(_0x3aab78(0x203))/0x8;if(_0x2ce36d===_0x38c1d7)break;else _0x1d8a0d['push'](_0x1d8a0d['shift']());}catch(_0x4fc682){_0x1d8a0d['push'](_0x1d8a0d['shift']());}}}(_0x5ead,0xa9552));function _0x5ead(){const _0x25c220=['keystrokes','enter','_setUpAddContextButtonPositioning','render','isUploadInProgress','5517164YJnAwB','5DDwTiT','trim','errorText','add','extendTemplate','update','ck-ai-chat__prompt-input','maxRows','focusableChildren','isEnabled','sendUserMessage','set','locale','submitButtonView','ck-ai-chat__prompt-submit-button','MAX_ROWS','value','setPlaceholderText','1381738awYqcT','isEmpty','MIN_ROWS','2036829bvVEzJ','execute','px\x20-\x20var(--ck-spacing-tiny))','5814444fiQaDr','submit','minRows','_queryViewResizeObserver','_createSubmitButton','hasError','target','right','destroy','fieldWrapperChildren','rtl','AI_CHAT_PROMPT_EMPTY_ERROR','placeholder','width','6960604eWrOji','queryView','setIsUploadInProgress','element','excludeScrollbarsAndBorders','window','reset','requestAnimationFrame','uiLanguageDirection','fieldView','fire','calc(','AI_CHAT_LABEL_SUBMIT','left','673820VVlhJU','21866600WUHBRu','_addContextButtonView','style','bind'];_0x5ead=function(){return _0x25c220;};return _0x5ead();}import{IconSubmit as _0x26618e}from'ckeditor5/src/icons.js';import{ButtonView as _0x3fd23b,AutocompleteView as _0x28f8be,createLabeledTextarea as _0x524c22}from'ckeditor5/src/ui.js';import{global as _0x57d0d7,isVisible as _0x2d4093,Rect as _0x4296b2,ResizeObserver as _0x1cc562}from'ckeditor5/src/utils.js';import{getTranslation as _0xe94632}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x2d6551}from'./aichatpromptsuggestionslistview.js';import{escape as _0x70f21c}from'es-toolkit/compat';function _0x5336(_0x1d3db3,_0x54fc68){const _0x5ead85=_0x5ead();return _0x5336=function(_0x53366b,_0x53394e){_0x53366b=_0x53366b-0x1d3;let _0x489097=_0x5ead85[_0x53366b];return _0x489097;},_0x5336(_0x1d3db3,_0x54fc68);}export class AIChatPromptInputView extends _0x28f8be{[_0x3026e5(0x1db)];static [_0x3026e5(0x1e2)]=0x1;static [_0x3026e5(0x1dd)]=0xc;[_0x3026e5(0x204)];[_0x3026e5(0x1e9)];constructor(_0x3f8a4c,_0xa0f9e7){const _0x47e04c=_0x3026e5;super(_0x3f8a4c,{'queryView':{'label':'','creator':_0x524c22,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x2d6551(_0x3f8a4c),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x47e04c(0x1d9)](_0x47e04c(0x1e1),!0x0),this[_0x47e04c(0x1d9)](_0x47e04c(0x20b),!0x1),this[_0x47e04c(0x204)]=_0xa0f9e7,this[_0x47e04c(0x1e9)]=null,this[_0x47e04c(0x1f5)][_0x47e04c(0x1fd)][_0x47e04c(0x1e8)]=AIChatPromptInputView[_0x47e04c(0x1e2)],this[_0x47e04c(0x1f5)][_0x47e04c(0x1fd)][_0x47e04c(0x1d5)]=AIChatPromptInputView[_0x47e04c(0x1dd)],this[_0x47e04c(0x1f5)][_0x47e04c(0x1ef)][_0x47e04c(0x210)](this[_0x47e04c(0x204)]),this[_0x47e04c(0x209)](),this[_0x47e04c(0x211)]({'attributes':{'class':['ck',_0x47e04c(0x1d4)]}}),this[_0x47e04c(0x1db)]=this[_0x47e04c(0x1ea)](),this[_0x47e04c(0x1db)][_0x47e04c(0x206)](_0x47e04c(0x1d7))['to'](this,_0x47e04c(0x1e1),this,_0x47e04c(0x20b),(_0x2cfd4f,_0x36390b)=>!_0x2cfd4f&&!_0x36390b),this[_0x47e04c(0x1d6)][_0x47e04c(0x210)](this[_0x47e04c(0x1db)]);}[_0x3026e5(0x20a)](){const _0x350f28=_0x3026e5;super[_0x350f28(0x20a)](),this[_0x350f28(0x1f5)][_0x350f28(0x1ef)][_0x350f28(0x210)](this[_0x350f28(0x1db)]),this[_0x350f28(0x207)][_0x350f28(0x1d9)](_0x350f28(0x208),(_0x894081,_0x8bf23b)=>{const _0x513f8d=_0x350f28;this[_0x513f8d(0x20b)]||this[_0x513f8d(0x1e1)]||_0x894081[_0x513f8d(0x1ec)]==this[_0x513f8d(0x1f5)][_0x513f8d(0x1fd)][_0x513f8d(0x1f7)]&&(this[_0x513f8d(0x1e7)](),_0x8bf23b());}),this[_0x350f28(0x1f5)][_0x350f28(0x1fd)]['on'](_0x350f28(0x1d3),()=>{const _0x506740=_0x350f28;this[_0x506740(0x1e1)]=''===this[_0x506740(0x1f5)][_0x506740(0x1fd)][_0x506740(0x1f7)][_0x506740(0x1de)]?.[_0x506740(0x20e)]();});}[_0x3026e5(0x1ee)](){const _0x82b4ed=_0x3026e5;super[_0x82b4ed(0x1ee)](),this[_0x82b4ed(0x1e9)]&&this[_0x82b4ed(0x1e9)][_0x82b4ed(0x1ee)]();}[_0x3026e5(0x1e7)](){const _0x42fe37=_0x3026e5,_0x3967f9=this[_0x42fe37(0x1f5)][_0x42fe37(0x1fd)][_0x42fe37(0x1f7)][_0x42fe37(0x1de)]?.[_0x42fe37(0x20e)]();if(!_0x3967f9)return this[_0x42fe37(0x1f5)][_0x42fe37(0x20f)]=_0xe94632(this[_0x42fe37(0x1da)],_0x42fe37(0x1f1)),void(this[_0x42fe37(0x1f5)][_0x42fe37(0x1fd)][_0x42fe37(0x1eb)]=!0x0);this[_0x42fe37(0x1f5)][_0x42fe37(0x1fd)][_0x42fe37(0x1eb)]=!0x1;const _0x15afc5=_0x70f21c(_0x3967f9);this[_0x42fe37(0x1fe)](_0x42fe37(0x1d8),_0x15afc5),this[_0x42fe37(0x1f5)][_0x42fe37(0x1fd)][_0x42fe37(0x1fa)]();}[_0x3026e5(0x1df)](_0xfa37ee){const _0x1b0de7=_0x3026e5;this[_0x1b0de7(0x1f5)][_0x1b0de7(0x1fd)][_0x1b0de7(0x1d9)](_0x1b0de7(0x1f2),_0xfa37ee);}[_0x3026e5(0x1ea)](){const _0x5355a2=_0x3026e5,_0x285084=new _0x3fd23b(this[_0x5355a2(0x1da)]);return _0x285084[_0x5355a2(0x1d9)]({'icon':_0x26618e,'label':_0xe94632(this[_0x5355a2(0x1da)],_0x5355a2(0x200)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5355a2(0x1dc),'isEnabled':!0x1}),_0x285084['on'](_0x5355a2(0x1e4),()=>{const _0x503d28=_0x5355a2;this[_0x503d28(0x1e7)]();}),_0x285084;}[_0x3026e5(0x1f6)](_0x5015a3){const _0x4c68f6=_0x3026e5;this[_0x4c68f6(0x20b)]=_0x5015a3;}[_0x3026e5(0x209)](){const _0x3010c3=_0x3026e5,_0x10d34f=this[_0x3010c3(0x1da)],_0x1f4569=()=>{const _0x399528=_0x3010c3;_0x57d0d7[_0x399528(0x1f9)][_0x399528(0x1fb)](()=>{const _0xc1bfa5=_0x399528;if(_0x2d4093(this[_0xc1bfa5(0x1f7)])){const _0xb76a6c=new _0x4296b2(this[_0xc1bfa5(0x1f5)][_0xc1bfa5(0x1fd)][_0xc1bfa5(0x1f7)]),_0xf34224=new _0x4296b2(this[_0xc1bfa5(0x204)][_0xc1bfa5(0x1f7)]),_0x1df283=_0xb76a6c[_0xc1bfa5(0x1f3)],_0x337947=_0xc1bfa5(0x1f0)===_0x10d34f[_0xc1bfa5(0x1fc)]?_0xc1bfa5(0x1ed):_0xc1bfa5(0x201);_0xb76a6c[_0xc1bfa5(0x1f8)]();const _0xa0ddb8=_0x1df283-_0xb76a6c[_0xc1bfa5(0x1f3)]+0x1;this[_0xc1bfa5(0x204)][_0xc1bfa5(0x1f7)][_0xc1bfa5(0x205)][_0x337947]=_0xc1bfa5(0x1ff)+(_0x1df283-_0xf34224[_0xc1bfa5(0x1f3)]-_0xa0ddb8)+_0xc1bfa5(0x1e5);}});};this[_0x3010c3(0x1f5)][_0x3010c3(0x1fd)]['on'](_0x3010c3(0x1d3),_0x1f4569),this['on'](_0x3010c3(0x20a),()=>{const _0x3a21ad=_0x3010c3;_0x1f4569(),this[_0x3a21ad(0x1e9)]=new _0x1cc562(this[_0x3a21ad(0x1f5)][_0x3a21ad(0x1fd)][_0x3a21ad(0x1f7)],()=>{_0x1f4569();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x14db(_0x12e401,_0x4ec594){const _0x1ffeb8=_0x1ffe();return _0x14db=function(_0x14db66,_0x14cd19){_0x14db66=_0x14db66-0x13e;let _0x27b52a=_0x1ffeb8[_0x14db66];return _0x27b52a;},_0x14db(_0x12e401,_0x4ec594);}const _0x48ce56=_0x14db;(function(_0x524cf1,_0x7ace60){const _0x404d94=_0x14db,_0x30a5ae=_0x524cf1();while(!![]){try{const _0x5f4af3=parseInt(_0x404d94(0x162))/0x1*(parseInt(_0x404d94(0x16b))/0x2)+-parseInt(_0x404d94(0x16d))/0x3*(-parseInt(_0x404d94(0x14c))/0x4)+parseInt(_0x404d94(0x15c))/0x5*(-parseInt(_0x404d94(0x158))/0x6)+-parseInt(_0x404d94(0x14d))/0x7+parseInt(_0x404d94(0x169))/0x8+parseInt(_0x404d94(0x16c))/0x9*(parseInt(_0x404d94(0x163))/0xa)+-parseInt(_0x404d94(0x15f))/0xb;if(_0x5f4af3===_0x7ace60)break;else _0x30a5ae['push'](_0x30a5ae['shift']());}catch(_0x50a1b7){_0x30a5ae['push'](_0x30a5ae['shift']());}}}(_0x1ffe,0x8f1fd));import{View as _0x3261b0,ViewCollection as _0x4b2287}from'ckeditor5/src/ui.js';import{uid as _0x134941}from'ckeditor5/src/utils.js';function _0x1ffe(){const _0x459695=['77751MgrEcI','5682SemaPB','_latestLoadResourcesUid','ck\x20ck-search','bindTemplate','extendTemplate','loadResources','ck-ai-chat-resources','getQuery','length','locale','aiChatResources','useDefaultFiltering','children','addResourceToContext','highlightText','fire','div','_source','1764bGKzFs','6180930yGnoxw','source','_searchInputVisibleFrom','setTemplate','_createSkeletonView','search','delegate','ck-hidden','set','updateResourceState','_skeletonLoader','6bVLOGb','add','searchInputVisibleFrom','_resourcesListView','2891895cdtkNJ','_createSearchSection','isLoading','15754871VROAsm','_createSearchView','loadSourceResources','485409YioXGI','1240giBeZx','has','_searchSection','render','_createResourcesListView','_searchView','8703744dARpyW','setResources','2VtSyZp'];_0x1ffe=function(){return _0x459695;};return _0x1ffe();}import{AIChatContextResourcesListView as _0x3a634c}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x16f930}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x160da9,SKELETON_DEFINITIONS as _0x3a236a}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x3261b0{[_0x48ce56(0x168)];[_0x48ce56(0x165)];[_0x48ce56(0x14f)];[_0x48ce56(0x15b)];[_0x48ce56(0x157)];[_0x48ce56(0x14b)];[_0x48ce56(0x146)];[_0x48ce56(0x16e)]=null;constructor(_0x146ac4,_0x341768){const _0x2b9da6=_0x48ce56;super(_0x146ac4),this[_0x2b9da6(0x14b)]=_0x341768[_0x2b9da6(0x14e)],this[_0x2b9da6(0x14f)]=_0x341768[_0x2b9da6(0x15a)]??0x7,this[_0x2b9da6(0x155)](_0x2b9da6(0x15e),!0x0),this[_0x2b9da6(0x168)]=this[_0x2b9da6(0x160)](),this[_0x2b9da6(0x165)]=this[_0x2b9da6(0x15d)](),this[_0x2b9da6(0x15b)]=this[_0x2b9da6(0x167)](),this[_0x2b9da6(0x157)]=this[_0x2b9da6(0x151)](),this[_0x2b9da6(0x146)]=new _0x4b2287([this[_0x2b9da6(0x157)],this[_0x2b9da6(0x15b)]]),this[_0x2b9da6(0x150)]({'tag':_0x2b9da6(0x14a),'attributes':{'class':_0x2b9da6(0x140)},'children':this[_0x2b9da6(0x146)]});}[_0x48ce56(0x160)](){const _0x5bd262=_0x48ce56;return new _0x16f930(this[_0x5bd262(0x143)]);}[_0x48ce56(0x15d)](){const _0x3e8c29=_0x48ce56,_0x38c9d0=new _0x3261b0(this[_0x3e8c29(0x143)]);return _0x38c9d0[_0x3e8c29(0x150)]({'tag':_0x3e8c29(0x14a),'attributes':{'class':_0x3e8c29(0x16f)},'children':[this[_0x3e8c29(0x168)]]}),this[_0x3e8c29(0x168)]['on'](_0x3e8c29(0x152),(_0x540771,_0x5cc080)=>{const _0x4705c9=_0x3e8c29;this[_0x4705c9(0x13f)](_0x5cc080),this[_0x4705c9(0x14b)][_0x4705c9(0x145)]&&this[_0x4705c9(0x15b)][_0x4705c9(0x148)](_0x5cc080);}),_0x38c9d0;}[_0x48ce56(0x167)](){const _0x955931=_0x48ce56,_0x2e9e8d=new _0x3a634c(this[_0x955931(0x143)],this[_0x955931(0x14b)]);return _0x2e9e8d[_0x955931(0x153)](_0x955931(0x147))['to'](this),_0x2e9e8d[_0x955931(0x13e)]({'attributes':{'class':this[_0x955931(0x170)]['if'](_0x955931(0x15e),_0x955931(0x154))}}),_0x2e9e8d;}[_0x48ce56(0x151)](){const _0x5a8642=_0x48ce56,_0x702c7e=new _0x160da9(this[_0x5a8642(0x143)],_0x3a236a[_0x5a8642(0x144)]);return _0x702c7e[_0x5a8642(0x13e)]({'attributes':{'class':[this[_0x5a8642(0x170)]['if'](_0x5a8642(0x15e),_0x5a8642(0x154),_0x245e4d=>!_0x245e4d)]}}),_0x702c7e;}[_0x48ce56(0x166)](){const _0x25b57e=_0x48ce56;super[_0x25b57e(0x166)](),this[_0x25b57e(0x13f)]('');}[_0x48ce56(0x13f)](_0x575201){const _0x4cddff=_0x48ce56,_0x1f5d95=_0x134941();this[_0x4cddff(0x16e)]=_0x1f5d95,this[_0x4cddff(0x149)](_0x4cddff(0x161),{'sourceId':this[_0x4cddff(0x14b)]['id'],'query':_0x575201,'uid':_0x1f5d95}),this[_0x4cddff(0x15e)]=!0x0;}[_0x48ce56(0x16a)](_0x234e9b,_0x4438ec){const _0x1b79d6=_0x48ce56;if(_0x4438ec&&_0x4438ec!==this[_0x1b79d6(0x16e)])return;const _0x824c=this[_0x1b79d6(0x14b)][_0x1b79d6(0x145)]?this[_0x1b79d6(0x168)][_0x1b79d6(0x141)]():'';this[_0x1b79d6(0x15b)][_0x1b79d6(0x16a)](_0x234e9b,_0x824c),_0x234e9b[_0x1b79d6(0x142)]>=this[_0x1b79d6(0x14f)]&&!this[_0x1b79d6(0x146)][_0x1b79d6(0x164)](this[_0x1b79d6(0x165)])&&this[_0x1b79d6(0x146)][_0x1b79d6(0x159)](this[_0x1b79d6(0x165)],0x0),requestAnimationFrame(()=>{const _0x8e6e15=_0x1b79d6;this[_0x8e6e15(0x15e)]=!0x1;});}[_0x48ce56(0x156)](_0x297e4e,_0x486b27){const _0x13672e=_0x48ce56;this[_0x13672e(0x15b)][_0x13672e(0x156)](_0x297e4e,_0x486b27);}}
23
+ const _0x322efa=_0x47b5;function _0x2f25(){const _0x4d2225=['2172525ltMeNF','ck-hidden','1959627YQHDon','setResources','delegate','fire','highlightText','_resourcesListView','search','_latestLoadResourcesUid','4152UwaUIJ','isLoading','set','1142240RUCcAb','locale','extendTemplate','_searchView','useDefaultFiltering','_source','_createSkeletonView','_createSearchSection','710412PCeMOn','addResourceToContext','4337739sOVkKR','children','ck\x20ck-search','_searchInputVisibleFrom','searchInputVisibleFrom','add','loadResources','render','length','ck-ai-chat-resources','896NYAioE','div','updateResourceState','2pivxhT','setTemplate','source','_createSearchView','loadSourceResources','has','1675720FxUdgk','aiChatResources','getQuery','_searchSection','bindTemplate','_createResourcesListView','_skeletonLoader'];_0x2f25=function(){return _0x4d2225;};return _0x2f25();}(function(_0x350337,_0x53e4e1){const _0x58cc12=_0x47b5,_0x45312e=_0x350337();while(!![]){try{const _0x4e7164=parseInt(_0x58cc12(0x17e))/0x1*(parseInt(_0x58cc12(0x16f))/0x2)+-parseInt(_0x58cc12(0x15c))/0x3+parseInt(_0x58cc12(0x184))/0x4+-parseInt(_0x58cc12(0x18b))/0x5+parseInt(_0x58cc12(0x164))/0x6*(-parseInt(_0x58cc12(0x17b))/0x7)+parseInt(_0x58cc12(0x167))/0x8+parseInt(_0x58cc12(0x171))/0x9;if(_0x4e7164===_0x53e4e1)break;else _0x45312e['push'](_0x45312e['shift']());}catch(_0x3cf58d){_0x45312e['push'](_0x45312e['shift']());}}}(_0x2f25,0x8d10b));import{View as _0x37367f,ViewCollection as _0x4481a6}from'ckeditor5/src/ui.js';import{uid as _0x55a025}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x482635}from'./aichatcontextresourceslistview.js';function _0x47b5(_0x5e9e3b,_0x5a807f){const _0x2f2583=_0x2f25();return _0x47b5=function(_0x47b5be,_0x47bb44){_0x47b5be=_0x47b5be-0x15b;let _0x2dfe06=_0x2f2583[_0x47b5be];return _0x2dfe06;},_0x47b5(_0x5e9e3b,_0x5a807f);}import{AIChatContextResourcesSearchInputView as _0x24c4f2}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x3616e4,SKELETON_DEFINITIONS as _0x5808a4}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x37367f{[_0x322efa(0x16a)];[_0x322efa(0x187)];[_0x322efa(0x174)];[_0x322efa(0x161)];[_0x322efa(0x18a)];[_0x322efa(0x16c)];[_0x322efa(0x172)];[_0x322efa(0x163)]=null;constructor(_0x503d72,_0xa23514){const _0x2efbb3=_0x322efa;super(_0x503d72),this[_0x2efbb3(0x16c)]=_0xa23514[_0x2efbb3(0x180)],this[_0x2efbb3(0x174)]=_0xa23514[_0x2efbb3(0x175)]??0x7,this[_0x2efbb3(0x166)](_0x2efbb3(0x165),!0x0),this[_0x2efbb3(0x16a)]=this[_0x2efbb3(0x181)](),this[_0x2efbb3(0x187)]=this[_0x2efbb3(0x16e)](),this[_0x2efbb3(0x161)]=this[_0x2efbb3(0x189)](),this[_0x2efbb3(0x18a)]=this[_0x2efbb3(0x16d)](),this[_0x2efbb3(0x172)]=new _0x4481a6([this[_0x2efbb3(0x18a)],this[_0x2efbb3(0x161)]]),this[_0x2efbb3(0x17f)]({'tag':_0x2efbb3(0x17c),'attributes':{'class':_0x2efbb3(0x17a)},'children':this[_0x2efbb3(0x172)]});}[_0x322efa(0x181)](){const _0x4f36de=_0x322efa;return new _0x24c4f2(this[_0x4f36de(0x168)]);}[_0x322efa(0x16e)](){const _0x202df0=_0x322efa,_0x2071a2=new _0x37367f(this[_0x202df0(0x168)]);return _0x2071a2[_0x202df0(0x17f)]({'tag':_0x202df0(0x17c),'attributes':{'class':_0x202df0(0x173)},'children':[this[_0x202df0(0x16a)]]}),this[_0x202df0(0x16a)]['on'](_0x202df0(0x162),(_0x522d90,_0x48f8d0)=>{const _0x699b73=_0x202df0;this[_0x699b73(0x177)](_0x48f8d0),this[_0x699b73(0x16c)][_0x699b73(0x16b)]&&this[_0x699b73(0x161)][_0x699b73(0x160)](_0x48f8d0);}),_0x2071a2;}[_0x322efa(0x189)](){const _0x265fdf=_0x322efa,_0x2ca0f4=new _0x482635(this[_0x265fdf(0x168)],this[_0x265fdf(0x16c)]);return _0x2ca0f4[_0x265fdf(0x15e)](_0x265fdf(0x170))['to'](this),_0x2ca0f4[_0x265fdf(0x169)]({'attributes':{'class':this[_0x265fdf(0x188)]['if'](_0x265fdf(0x165),_0x265fdf(0x15b))}}),_0x2ca0f4;}[_0x322efa(0x16d)](){const _0x3b656e=_0x322efa,_0x3dc979=new _0x3616e4(this[_0x3b656e(0x168)],_0x5808a4[_0x3b656e(0x185)]);return _0x3dc979[_0x3b656e(0x169)]({'attributes':{'class':[this[_0x3b656e(0x188)]['if'](_0x3b656e(0x165),_0x3b656e(0x15b),_0x4dfb5a=>!_0x4dfb5a)]}}),_0x3dc979;}[_0x322efa(0x178)](){const _0xbc9a5f=_0x322efa;super[_0xbc9a5f(0x178)](),this[_0xbc9a5f(0x177)]('');}[_0x322efa(0x177)](_0x46ed5f){const _0x328d91=_0x322efa,_0xa43789=_0x55a025();this[_0x328d91(0x163)]=_0xa43789,this[_0x328d91(0x15f)](_0x328d91(0x182),{'sourceId':this[_0x328d91(0x16c)]['id'],'query':_0x46ed5f,'uid':_0xa43789}),this[_0x328d91(0x165)]=!0x0;}[_0x322efa(0x15d)](_0x45d770,_0x92ed2){const _0x3c564c=_0x322efa;if(_0x92ed2&&_0x92ed2!==this[_0x3c564c(0x163)])return;const _0x3097f2=this[_0x3c564c(0x16c)][_0x3c564c(0x16b)]?this[_0x3c564c(0x16a)][_0x3c564c(0x186)]():'';this[_0x3c564c(0x161)][_0x3c564c(0x15d)](_0x45d770,_0x3097f2),_0x45d770[_0x3c564c(0x179)]>=this[_0x3c564c(0x174)]&&!this[_0x3c564c(0x172)][_0x3c564c(0x183)](this[_0x3c564c(0x187)])&&this[_0x3c564c(0x172)][_0x3c564c(0x176)](this[_0x3c564c(0x187)],0x0),requestAnimationFrame(()=>{const _0x3f8946=_0x3c564c;this[_0x3f8946(0x165)]=!0x1;});}[_0x322efa(0x17d)](_0x762693,_0x85ec8d){const _0x20b297=_0x322efa;this[_0x20b297(0x161)][_0x20b297(0x17d)](_0x762693,_0x85ec8d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe8fde7=_0x4b5f;function _0xe401(){const _0x44b200=['ck-ai-chat-resources__item--in-context','div','highlightText','TEXT','1431640OzlChy','3459054GSAIzB','6004debIzL','_createTitleView','updateResourceState','_createIconView','ck-hidden','extendTemplate','5okcGPb','span','2159333SqFVDP','_updateIcon','20FCDqTa','text','isVisible','label','ck-ai-chat-resources__item__icon','execute','129255zJdtEO','setTemplate','trim','ck-ai-chat-resources__item-title','_titleView','114nXHOYR','resource','268284sZcXWf','DOCUMENT','bindTemplate','ck-ai-chat-resources__item','getResourceIcon','type','_setupTemplate','render','URL','536yYJSLN','set','_iconView','content','isInContext','77823xiIXcH','FILE'];_0xe401=function(){return _0x44b200;};return _0xe401();}(function(_0x29cf6f,_0x421bc5){const _0x5be5eb=_0x4b5f,_0xfae187=_0x29cf6f();while(!![]){try{const _0xa7f1d7=parseInt(_0x5be5eb(0x134))/0x1+parseInt(_0x5be5eb(0x11d))/0x2*(parseInt(_0x5be5eb(0x132))/0x3)+parseInt(_0x5be5eb(0x11b))/0x4+parseInt(_0x5be5eb(0x123))/0x5*(parseInt(_0x5be5eb(0x11c))/0x6)+-parseInt(_0x5be5eb(0x12d))/0x7+-parseInt(_0x5be5eb(0x110))/0x8*(parseInt(_0x5be5eb(0x115))/0x9)+-parseInt(_0x5be5eb(0x127))/0xa*(parseInt(_0x5be5eb(0x125))/0xb);if(_0xa7f1d7===_0x421bc5)break;else _0xfae187['push'](_0xfae187['shift']());}catch(_0x3ed850){_0xfae187['push'](_0xfae187['shift']());}}}(_0xe401,0x4fad7));import{HighlightedTextView as _0x2a7ca9,IconView as _0x4ee202,ListItemView as _0x35fe66}from'ckeditor5/src/ui.js';function _0x4b5f(_0x786a5b,_0x177562){const _0xe4013c=_0xe401();return _0x4b5f=function(_0x4b5faa,_0x346706){_0x4b5faa=_0x4b5faa-0x10f;let _0x2f4a9f=_0xe4013c[_0x4b5faa];return _0x2f4a9f;},_0x4b5f(_0x786a5b,_0x177562);}import{escapeRegExp as _0x2671d5}from'es-toolkit/compat';import{AIContextItemType as _0x1f6bfe}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x3092ee,IconCheck as _0x315af8,IconDocument as _0x384ec1,IconDocumentOutline as _0x26f4d1,IconLink as _0x1cabd6}from'@ckeditor/ckeditor5-icons';const Gr=_0xe8fde7(0x137),Hr=_0xe8fde7(0x117),Jr=_0xe8fde7(0x130),Kr=_0xe8fde7(0x12b);export class AIChatResourceListItemView extends _0x35fe66{[_0xe8fde7(0x133)];[_0xe8fde7(0x131)];[_0xe8fde7(0x112)];constructor(_0x4ef9ec,_0x139329){const _0x2f9ab5=_0xe8fde7;super(_0x4ef9ec),this[_0x2f9ab5(0x133)]=_0x139329,this[_0x2f9ab5(0x111)](_0x2f9ab5(0x114),!!_0x139329[_0x2f9ab5(0x114)]),this[_0x2f9ab5(0x131)]=this[_0x2f9ab5(0x11e)](),this[_0x2f9ab5(0x112)]=this[_0x2f9ab5(0x120)](),this[_0x2f9ab5(0x13a)]();}[_0xe8fde7(0x13b)](){const _0x5ec9c6=_0xe8fde7;super[_0x5ec9c6(0x13b)]();}[_0xe8fde7(0x138)](_0x3336ca){const _0x111f25=_0xe8fde7;if(_0x3336ca[_0x111f25(0x114)])return _0x315af8;switch(_0x3336ca[_0x111f25(0x139)]){case _0x1f6bfe[_0x111f25(0x135)]:return _0x384ec1;case _0x1f6bfe[_0x111f25(0x10f)]:return _0x1cabd6;case _0x1f6bfe[_0x111f25(0x116)]:case _0x1f6bfe[_0x111f25(0x11a)]:return _0x3092ee;default:return _0x26f4d1;}}[_0xe8fde7(0x119)](_0x202efc){const _0x4a5033=_0xe8fde7;if(!_0x202efc||''===_0x202efc[_0x4a5033(0x12f)]())return void this[_0x4a5033(0x131)][_0x4a5033(0x119)](null);const _0x118776=new RegExp(_0x2671d5(_0x202efc),'gi');this[_0x4a5033(0x131)][_0x4a5033(0x119)](_0x118776);}[_0xe8fde7(0x11f)](_0x75b50f){const _0x7ccf=_0xe8fde7;this[_0x7ccf(0x133)][_0x7ccf(0x114)]=_0x75b50f,this[_0x7ccf(0x114)]=_0x75b50f,this[_0x7ccf(0x126)]();}[_0xe8fde7(0x11e)](){const _0x52d3b1=_0xe8fde7,_0x3c3628=new _0x2a7ca9();return _0x3c3628[_0x52d3b1(0x128)]=this[_0x52d3b1(0x133)][_0x52d3b1(0x12a)],_0x3c3628[_0x52d3b1(0x122)]({'tag':_0x52d3b1(0x124),'attributes':{'class':[Jr]}}),_0x3c3628;}[_0xe8fde7(0x120)](){const _0x57e5d1=_0xe8fde7,_0x34a548=new _0x4ee202();return _0x34a548[_0x57e5d1(0x113)]=this[_0x57e5d1(0x138)](this[_0x57e5d1(0x133)]),_0x34a548;}[_0xe8fde7(0x13a)](){const _0x1850ab=_0xe8fde7,_0x20e2a3=this[_0x1850ab(0x136)];this[_0x1850ab(0x12e)]({'tag':_0x1850ab(0x118),'attributes':{'class':[Gr,_0x20e2a3['if'](_0x1850ab(0x129),_0x1850ab(0x121),_0x1adf24=>!_0x1adf24),_0x20e2a3['if'](_0x1850ab(0x114),Hr)]},'children':[{'tag':_0x1850ab(0x118),'attributes':{'class':[Kr]},'children':[this[_0x1850ab(0x112)]]},this[_0x1850ab(0x131)]],'on':{'click':_0x20e2a3['to'](_0x1850ab(0x12c))}});}[_0xe8fde7(0x126)](){const _0x95deb0=_0xe8fde7;this[_0x95deb0(0x112)][_0x95deb0(0x113)]=this[_0x95deb0(0x138)](this[_0x95deb0(0x133)]);}}
23
+ function _0x31c3(_0x405995,_0x44659d){const _0x3c4e44=_0x3c4e();return _0x31c3=function(_0x31c3cc,_0x58703f){_0x31c3cc=_0x31c3cc-0x1a8;let _0x520f88=_0x3c4e44[_0x31c3cc];return _0x520f88;},_0x31c3(_0x405995,_0x44659d);}const _0x3dc1b6=_0x31c3;(function(_0x12936e,_0x45d1a6){const _0x196906=_0x31c3,_0x173351=_0x12936e();while(!![]){try{const _0x3b9800=-parseInt(_0x196906(0x1c0))/0x1+-parseInt(_0x196906(0x1b1))/0x2+parseInt(_0x196906(0x1c1))/0x3*(-parseInt(_0x196906(0x1af))/0x4)+-parseInt(_0x196906(0x1ba))/0x5+-parseInt(_0x196906(0x1be))/0x6+-parseInt(_0x196906(0x1cd))/0x7*(-parseInt(_0x196906(0x1ab))/0x8)+parseInt(_0x196906(0x1b7))/0x9;if(_0x3b9800===_0x45d1a6)break;else _0x173351['push'](_0x173351['shift']());}catch(_0x102db7){_0x173351['push'](_0x173351['shift']());}}}(_0x3c4e,0x752d0));function _0x3c4e(){const _0x58788a=['294292AHoKuE','div','getResourceIcon','trim','ck-ai-chat-resources__item-title','ck-hidden','16008399RZAHyK','updateResourceState','DOCUMENT','1112445NVnesZ','_titleView','resource','span','3180330WAlUII','ck-ai-chat-resources__item__icon','549243aUGmfu','10788bPsUjZ','content','_createIconView','set','ck-ai-chat-resources__item','highlightText','setTemplate','isVisible','type','FILE','URL','_createTitleView','14neFPJz','ck-ai-chat-resources__item--in-context','label','text','isInContext','_updateIcon','execute','_setupTemplate','render','2600072GhLRyj','bindTemplate','TEXT','extendTemplate','556UenBzV','_iconView'];_0x3c4e=function(){return _0x58788a;};return _0x3c4e();}import{HighlightedTextView as _0x485a6e,IconView as _0x27effe,ListItemView as _0x4e1133}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x214334}from'es-toolkit/compat';import{AIContextItemType as _0x153725}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x252367,IconCheck as _0x2dd5de,IconDocument as _0x221cd7,IconDocumentOutline as _0x103485,IconLink as _0x4789f5}from'@ckeditor/ckeditor5-icons';const zr=_0x3dc1b6(0x1c5),Gr=_0x3dc1b6(0x1ce),Hr=_0x3dc1b6(0x1b5),Jr=_0x3dc1b6(0x1bf);export class AIChatResourceListItemView extends _0x4e1133{[_0x3dc1b6(0x1bc)];[_0x3dc1b6(0x1bb)];[_0x3dc1b6(0x1b0)];constructor(_0x57474e,_0x350714){const _0x5f005a=_0x3dc1b6;super(_0x57474e),this[_0x5f005a(0x1bc)]=_0x350714,this[_0x5f005a(0x1c4)](_0x5f005a(0x1d1),!!_0x350714[_0x5f005a(0x1d1)]),this[_0x5f005a(0x1bb)]=this[_0x5f005a(0x1cc)](),this[_0x5f005a(0x1b0)]=this[_0x5f005a(0x1c3)](),this[_0x5f005a(0x1a9)]();}[_0x3dc1b6(0x1aa)](){const _0x153e80=_0x3dc1b6;super[_0x153e80(0x1aa)]();}[_0x3dc1b6(0x1b3)](_0xb38c89){const _0x2770bc=_0x3dc1b6;if(_0xb38c89[_0x2770bc(0x1d1)])return _0x2dd5de;switch(_0xb38c89[_0x2770bc(0x1c9)]){case _0x153725[_0x2770bc(0x1b9)]:return _0x221cd7;case _0x153725[_0x2770bc(0x1cb)]:return _0x4789f5;case _0x153725[_0x2770bc(0x1ca)]:case _0x153725[_0x2770bc(0x1ad)]:return _0x252367;default:return _0x103485;}}[_0x3dc1b6(0x1c6)](_0x2495ee){const _0x1e71b2=_0x3dc1b6;if(!_0x2495ee||''===_0x2495ee[_0x1e71b2(0x1b4)]())return void this[_0x1e71b2(0x1bb)][_0x1e71b2(0x1c6)](null);const _0x24cd58=new RegExp(_0x214334(_0x2495ee),'gi');this[_0x1e71b2(0x1bb)][_0x1e71b2(0x1c6)](_0x24cd58);}[_0x3dc1b6(0x1b8)](_0x1a80f0){const _0x4768ec=_0x3dc1b6;this[_0x4768ec(0x1bc)][_0x4768ec(0x1d1)]=_0x1a80f0,this[_0x4768ec(0x1d1)]=_0x1a80f0,this[_0x4768ec(0x1d2)]();}[_0x3dc1b6(0x1cc)](){const _0x14347f=_0x3dc1b6,_0x43b379=new _0x485a6e();return _0x43b379[_0x14347f(0x1d0)]=this[_0x14347f(0x1bc)][_0x14347f(0x1cf)],_0x43b379[_0x14347f(0x1ae)]({'tag':_0x14347f(0x1bd),'attributes':{'class':[Hr]}}),_0x43b379;}[_0x3dc1b6(0x1c3)](){const _0x6bba04=_0x3dc1b6,_0xc30460=new _0x27effe();return _0xc30460[_0x6bba04(0x1c2)]=this[_0x6bba04(0x1b3)](this[_0x6bba04(0x1bc)]),_0xc30460;}[_0x3dc1b6(0x1a9)](){const _0x7fb2bd=_0x3dc1b6,_0x241192=this[_0x7fb2bd(0x1ac)];this[_0x7fb2bd(0x1c7)]({'tag':_0x7fb2bd(0x1b2),'attributes':{'class':[zr,_0x241192['if'](_0x7fb2bd(0x1c8),_0x7fb2bd(0x1b6),_0x50142c=>!_0x50142c),_0x241192['if'](_0x7fb2bd(0x1d1),Gr)]},'children':[{'tag':_0x7fb2bd(0x1b2),'attributes':{'class':[Jr]},'children':[this[_0x7fb2bd(0x1b0)]]},this[_0x7fb2bd(0x1bb)]],'on':{'click':_0x241192['to'](_0x7fb2bd(0x1a8))}});}[_0x3dc1b6(0x1d2)](){const _0x288cbc=_0x3dc1b6;this[_0x288cbc(0x1b0)][_0x288cbc(0x1c2)]=this[_0x288cbc(0x1b3)](this[_0x288cbc(0x1bc)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x132f57=_0x3312;(function(_0x52c3c1,_0x42f173){const _0x5aba05=_0x3312,_0x33377d=_0x52c3c1();while(!![]){try{const _0x9b2285=parseInt(_0x5aba05(0x229))/0x1*(parseInt(_0x5aba05(0x22e))/0x2)+parseInt(_0x5aba05(0x204))/0x3+-parseInt(_0x5aba05(0x203))/0x4+-parseInt(_0x5aba05(0x1f7))/0x5*(-parseInt(_0x5aba05(0x20b))/0x6)+-parseInt(_0x5aba05(0x227))/0x7*(parseInt(_0x5aba05(0x206))/0x8)+-parseInt(_0x5aba05(0x211))/0x9*(-parseInt(_0x5aba05(0x200))/0xa)+-parseInt(_0x5aba05(0x224))/0xb;if(_0x9b2285===_0x42f173)break;else _0x33377d['push'](_0x33377d['shift']());}catch(_0x129df6){_0x33377d['push'](_0x33377d['shift']());}}}(_0x2344,0x2fcda));import{BalloonPanelView as _0x364f6e,ButtonView as _0x36a414,clickOutsideHandler as _0x410287,FormHeaderView as _0x5ee1b2}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x1da8b7}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x52c98c}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x161113}from'./aichatcontextresourcesview.js';const Nr=_0x132f57(0x230),Xr=_0x132f57(0x20a),Qr=_0x132f57(0x1fc);export class AIChatResourcesBalloonView{[_0x132f57(0x20f)]=new Map();[_0x132f57(0x1fa)];[_0x132f57(0x1f6)];[_0x132f57(0x209)];constructor(_0x3dbbdf,_0x3ab644,_0x30bb96){const _0x282dd7=_0x132f57;this[_0x282dd7(0x1f6)]=_0x3dbbdf,this[_0x282dd7(0x1fa)]=_0x3ab644,this[_0x282dd7(0x209)]=_0x30bb96;}[_0x132f57(0x1f5)](_0x5ab4f0){const _0x5174ec=_0x132f57;let _0x2a0590=this[_0x5174ec(0x20f)][_0x5174ec(0x22f)](_0x5ab4f0['id']);_0x2a0590||(_0x2a0590=this[_0x5174ec(0x201)](),this[_0x5174ec(0x20f)][_0x5174ec(0x22c)](_0x5ab4f0['id'],_0x2a0590),this[_0x5174ec(0x210)](_0x2a0590)),this[_0x5174ec(0x1f4)](_0x2a0590,_0x5ab4f0),_0x2a0590[_0x5174ec(0x217)]();const _0x45ca1e=this[_0x5174ec(0x209)][_0x5174ec(0x1fe)]();_0x45ca1e&&_0x2a0590[_0x5174ec(0x219)]({'target':_0x45ca1e,'limiter':this[_0x5174ec(0x209)][_0x5174ec(0x207)]()});}[_0x132f57(0x208)](_0x4ae714,_0x444d16,_0x431106){const _0x3d21c6=_0x132f57,_0x207c20=this[_0x3d21c6(0x20f)][_0x3d21c6(0x22f)](_0x4ae714);if(!_0x207c20)return;const _0x597c90=this[_0x3d21c6(0x1f9)](_0x207c20);_0x597c90&&(_0x597c90[_0x3d21c6(0x1ff)](_0x444d16,_0x431106),_0x597c90[_0x3d21c6(0x21c)](_0x3d21c6(0x22a),()=>{const _0x32ae40=_0x3d21c6;_0x207c20[_0x32ae40(0x219)]({'target':this[_0x32ae40(0x209)][_0x32ae40(0x1fe)](),'limiter':this[_0x32ae40(0x209)][_0x32ae40(0x207)]()});}));}[_0x132f57(0x214)](_0x43c672){const _0x5bada2=_0x132f57,_0x38239a=this[_0x5bada2(0x20f)][_0x5bada2(0x22f)](_0x43c672);_0x38239a&&requestAnimationFrame(()=>{const _0x16005e=_0x5bada2;_0x38239a[_0x16005e(0x215)](),this[_0x16005e(0x20f)][_0x16005e(0x225)](_0x43c672),this[_0x16005e(0x209)][_0x16005e(0x20c)]();});}[_0x132f57(0x223)](){const _0x4b4f09=_0x132f57;for(const _0x2acff9 of this[_0x4b4f09(0x20f)][_0x4b4f09(0x202)]())if(_0x2acff9[_0x4b4f09(0x221)])return!0x0;return!0x1;}[_0x132f57(0x1fd)](_0x5e0fcd,_0x123a94,_0x2d38a2){const _0x39829=_0x132f57,_0x513175=this[_0x39829(0x20f)][_0x39829(0x22f)](_0x5e0fcd);if(!_0x513175||!_0x513175[_0x39829(0x221)])return;const _0x5479ed=this[_0x39829(0x209)][_0x39829(0x1fe)]();if(!_0x5479ed)return;_0x513175[_0x39829(0x219)]({'target':_0x5479ed,'limiter':this[_0x39829(0x209)][_0x39829(0x207)]()});const _0x2b1dc0=this[_0x39829(0x1f9)](_0x513175);_0x2b1dc0&&_0x2b1dc0[_0x39829(0x1fd)](_0x123a94,_0x2d38a2);}[_0x132f57(0x216)](){const _0x1d1408=_0x132f57;for(const _0x34e397 of this[_0x1d1408(0x20f)][_0x1d1408(0x202)]())_0x34e397[_0x1d1408(0x216)]();this[_0x1d1408(0x20f)][_0x1d1408(0x1f8)]();}[_0x132f57(0x201)](){const _0x41463a=_0x132f57,_0xf94096=new _0x364f6e(this[_0x41463a(0x1f6)]);return _0xf94096[_0x41463a(0x21d)]({'attributes':{'class':Nr}}),this[_0x41463a(0x1fa)][_0x41463a(0x218)](_0xf94096),_0xf94096;}[_0x132f57(0x1f4)](_0x4669cd,_0x451d09){const _0x176aa9=_0x132f57;_0x4669cd[_0x176aa9(0x212)][_0x176aa9(0x1f8)]();const _0x3a8d08=this[_0x176aa9(0x21a)](_0x4669cd,_0x451d09);_0x4669cd[_0x176aa9(0x212)][_0x176aa9(0x218)](_0x3a8d08);const _0x56deaf=this[_0x176aa9(0x213)](_0x451d09);_0x4669cd[_0x176aa9(0x212)][_0x176aa9(0x218)](_0x56deaf);}[_0x132f57(0x21a)](_0x406296,_0x3fd1f7){const _0x30944a=_0x132f57,_0x55b659=this[_0x30944a(0x20e)](_0x406296),_0x11fab1=new _0x5ee1b2(this[_0x30944a(0x1f6)],{'label':_0x3fd1f7[_0x30944a(0x22b)],'class':Qr});return _0x11fab1[_0x30944a(0x22d)][_0x30944a(0x218)](_0x55b659,0x0),_0x11fab1;}[_0x132f57(0x20e)](_0x57f411){const _0x1cda9a=_0x132f57,_0x9bd367=new _0x36a414(this[_0x1cda9a(0x1f6)]);return _0x9bd367[_0x1cda9a(0x22c)]({'icon':_0x1da8b7,'tooltip':_0x52c98c(this[_0x1cda9a(0x1f6)],_0x1cda9a(0x21e)),'tooltipPosition':'n','class':Xr}),_0x9bd367['on'](_0x1cda9a(0x228),()=>{const _0x15c37d=_0x1cda9a;_0x57f411[_0x15c37d(0x215)](),this[_0x15c37d(0x209)][_0x15c37d(0x205)]();}),_0x9bd367;}[_0x132f57(0x213)](_0x54952b){const _0x401cf7=_0x132f57,_0x4cd6c9=new _0x161113(this[_0x401cf7(0x1f6)],{'source':_0x54952b,'searchInputVisibleFrom':this[_0x401cf7(0x209)][_0x401cf7(0x1f3)]});return _0x4cd6c9['on'](_0x401cf7(0x21b),(_0x9509ea,_0x2b3233)=>{const _0x113bbe=_0x401cf7;this[_0x113bbe(0x209)][_0x113bbe(0x222)](_0x2b3233);}),_0x4cd6c9['on'](_0x401cf7(0x220),(_0x379fbc,_0x231c47)=>{const _0x42836d=_0x401cf7;this[_0x42836d(0x209)][_0x42836d(0x20d)](_0x231c47[_0x42836d(0x1fb)],_0x231c47[_0x42836d(0x21f)]),this[_0x42836d(0x214)](_0x54952b['id']);}),_0x4cd6c9;}[_0x132f57(0x1f9)](_0x3d4eca){const _0x5a1a20=_0x132f57,_0x50ccee=_0x3d4eca[_0x5a1a20(0x212)][_0x5a1a20(0x22f)](0x1);return _0x50ccee instanceof _0x161113?_0x50ccee:null;}[_0x132f57(0x210)](_0x4c554a){const _0x89112a=_0x132f57;_0x410287({'emitter':_0x4c554a,'contextElements':[_0x4c554a[_0x89112a(0x226)]],'callback':()=>{const _0x3cf948=_0x89112a;_0x4c554a[_0x3cf948(0x215)](),this[_0x3cf948(0x209)][_0x3cf948(0x20c)]();},'activator':()=>_0x4c554a[_0x89112a(0x221)]});}}function _0x3312(_0x257e42,_0x3e2f0c){const _0x2344d9=_0x2344();return _0x3312=function(_0x3312e0,_0x31816b){_0x3312e0=_0x3312e0-0x1f3;let _0x142368=_0x2344d9[_0x3312e0];return _0x142368;},_0x3312(_0x257e42,_0x3e2f0c);}function _0x2344(){const _0x3def4d=['delete','element','126EzllUB','execute','18Agrejr','change:isLoading','label','set','children','41224fWbmWo','get','ck-ai-chat-context-controls__source-balloon-panel','searchInputVisibleFrom','_addSourceResourceContent','showSourceResourcesBalloon','_locale','1814195KCsTOe','clear','_getResourcesViewFromBalloon','_bodyCollection','source','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','updateResourceState','getTargetElement','setResources','108890HzScZc','_createSourceResourceBalloonPanel','values','1225604BMteqV','1159605jvVvtq','onBackToContext','62944QIdRwm','getLimiterElement','populateSourceResourceBalloon','_config','ck-button-icon\x20ck-button-back','6jDvedJ','onBalloonClosed','onResourceSelected','_createBackButton','_sourceResourceBalloons','_setupSingleResourceBalloonClickOutsideHandler','9UztQFf','content','_createBalloonResourcesView','closeSourceResourceBalloon','hide','destroy','show','add','pin','_createBalloonHeader','loadSourceResources','once','extendTemplate','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','resource','addResourceToContext','isVisible','onLoadSourceResources','isAnyResourceBalloonVisible','5361972GiAsiE'];_0x2344=function(){return _0x3def4d;};return _0x2344();}
23
+ const _0x5ca1d6=_0x57d4;(function(_0x3344b7,_0xd66af7){const _0x226115=_0x57d4,_0x55ee65=_0x3344b7();while(!![]){try{const _0x5aca82=-parseInt(_0x226115(0x226))/0x1*(-parseInt(_0x226115(0x213))/0x2)+-parseInt(_0x226115(0x1f7))/0x3+parseInt(_0x226115(0x1ed))/0x4+-parseInt(_0x226115(0x200))/0x5*(-parseInt(_0x226115(0x22a))/0x6)+-parseInt(_0x226115(0x1f3))/0x7*(parseInt(_0x226115(0x1fb))/0x8)+-parseInt(_0x226115(0x215))/0x9+-parseInt(_0x226115(0x1fa))/0xa*(parseInt(_0x226115(0x216))/0xb);if(_0x5aca82===_0xd66af7)break;else _0x55ee65['push'](_0x55ee65['shift']());}catch(_0x90c502){_0x55ee65['push'](_0x55ee65['shift']());}}}(_0x5069,0x6c328));function _0x5069(){const _0x4121a1=['clear','showSourceResourcesBalloon','populateSourceResourceBalloon','destroy','show','onBackToContext','onResourceSelected','execute','content','onBalloonClosed','13UrqPBe','isAnyResourceBalloonVisible','change:isLoading','ck-button-icon\x20ck-button-back','174SlPSNg','2173900LcXRVo','pin','get','setResources','_createBalloonHeader','_addSourceResourceContent','35rOoyMJ','_createBackButton','getTargetElement','once','1625601OwRsxF','_getResourcesViewFromBalloon','values','1740kAvCSR','394824kqSXGO','_setupSingleResourceBalloonClickOutsideHandler','_createBalloonResourcesView','onLoadSourceResources','delete','150545CxpoSr','_sourceResourceBalloons','children','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','loadSourceResources','resource','element','label','_createSourceResourceBalloonPanel','_locale','hide','source','extendTemplate','addResourceToContext','_config','closeSourceResourceBalloon','updateResourceState','set','95914DIyUGj','searchInputVisibleFrom','2424519VvIyzL','34067vlOdwW','isVisible','_bodyCollection','add','getLimiterElement','ck-ai-chat-context-controls__source-balloon-panel'];_0x5069=function(){return _0x4121a1;};return _0x5069();}import{BalloonPanelView as _0x416349,ButtonView as _0x1b0be2,clickOutsideHandler as _0x19641c,FormHeaderView as _0x567a5d}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x14bb96}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x470d8f}from'../../../../aicore/utils/common-translations.js';function _0x57d4(_0x556edd,_0x5c8cc4){const _0x50698f=_0x5069();return _0x57d4=function(_0x57d4d3,_0x23410e){_0x57d4d3=_0x57d4d3-0x1ed;let _0x20857e=_0x50698f[_0x57d4d3];return _0x20857e;},_0x57d4(_0x556edd,_0x5c8cc4);}import{AIChatContextResourcesView as _0x10505b}from'./aichatcontextresourcesview.js';const Nr=_0x5ca1d6(0x21b),Xr=_0x5ca1d6(0x229),Kr=_0x5ca1d6(0x204);export class AIChatResourcesBalloonView{[_0x5ca1d6(0x201)]=new Map();[_0x5ca1d6(0x218)];[_0x5ca1d6(0x20a)];[_0x5ca1d6(0x20f)];constructor(_0x2b872d,_0x404d6c,_0x2d4b6c){const _0x48cb82=_0x5ca1d6;this[_0x48cb82(0x20a)]=_0x2b872d,this[_0x48cb82(0x218)]=_0x404d6c,this[_0x48cb82(0x20f)]=_0x2d4b6c;}[_0x5ca1d6(0x21d)](_0x39bc4a){const _0x4eedca=_0x5ca1d6;let _0x703c07=this[_0x4eedca(0x201)][_0x4eedca(0x1ef)](_0x39bc4a['id']);_0x703c07||(_0x703c07=this[_0x4eedca(0x209)](),this[_0x4eedca(0x201)][_0x4eedca(0x212)](_0x39bc4a['id'],_0x703c07),this[_0x4eedca(0x1fc)](_0x703c07)),this[_0x4eedca(0x1f2)](_0x703c07,_0x39bc4a),_0x703c07[_0x4eedca(0x220)]();const _0x27207a=this[_0x4eedca(0x20f)][_0x4eedca(0x1f5)]();_0x27207a&&_0x703c07[_0x4eedca(0x1ee)]({'target':_0x27207a,'limiter':this[_0x4eedca(0x20f)][_0x4eedca(0x21a)]()});}[_0x5ca1d6(0x21e)](_0x1463b2,_0x3477cb,_0x59255e){const _0x22b413=_0x5ca1d6,_0x1a04f1=this[_0x22b413(0x201)][_0x22b413(0x1ef)](_0x1463b2);if(!_0x1a04f1)return;const _0x43896d=this[_0x22b413(0x1f8)](_0x1a04f1);_0x43896d&&(_0x43896d[_0x22b413(0x1f0)](_0x3477cb,_0x59255e),_0x43896d[_0x22b413(0x1f6)](_0x22b413(0x228),()=>{const _0x2cd7ba=_0x22b413;_0x1a04f1[_0x2cd7ba(0x1ee)]({'target':this[_0x2cd7ba(0x20f)][_0x2cd7ba(0x1f5)](),'limiter':this[_0x2cd7ba(0x20f)][_0x2cd7ba(0x21a)]()});}));}[_0x5ca1d6(0x210)](_0x233320){const _0x56726d=_0x5ca1d6,_0x2e8fd3=this[_0x56726d(0x201)][_0x56726d(0x1ef)](_0x233320);_0x2e8fd3&&requestAnimationFrame(()=>{const _0x5e4f18=_0x56726d;_0x2e8fd3[_0x5e4f18(0x20b)](),this[_0x5e4f18(0x201)][_0x5e4f18(0x1ff)](_0x233320),this[_0x5e4f18(0x20f)][_0x5e4f18(0x225)]();});}[_0x5ca1d6(0x227)](){const _0x258be8=_0x5ca1d6;for(const _0x4dcfbf of this[_0x258be8(0x201)][_0x258be8(0x1f9)]())if(_0x4dcfbf[_0x258be8(0x217)])return!0x0;return!0x1;}[_0x5ca1d6(0x211)](_0x48ee17,_0x1691b5,_0x3d5af4){const _0x3abe37=_0x5ca1d6,_0xe7dae9=this[_0x3abe37(0x201)][_0x3abe37(0x1ef)](_0x48ee17);if(!_0xe7dae9||!_0xe7dae9[_0x3abe37(0x217)])return;const _0x27836b=this[_0x3abe37(0x20f)][_0x3abe37(0x1f5)]();if(!_0x27836b)return;_0xe7dae9[_0x3abe37(0x1ee)]({'target':_0x27836b,'limiter':this[_0x3abe37(0x20f)][_0x3abe37(0x21a)]()});const _0xa44d8b=this[_0x3abe37(0x1f8)](_0xe7dae9);_0xa44d8b&&_0xa44d8b[_0x3abe37(0x211)](_0x1691b5,_0x3d5af4);}[_0x5ca1d6(0x21f)](){const _0x3af2e6=_0x5ca1d6;for(const _0xfa350a of this[_0x3af2e6(0x201)][_0x3af2e6(0x1f9)]())_0xfa350a[_0x3af2e6(0x21f)]();this[_0x3af2e6(0x201)][_0x3af2e6(0x21c)]();}[_0x5ca1d6(0x209)](){const _0x50d681=_0x5ca1d6,_0x5c635e=new _0x416349(this[_0x50d681(0x20a)]);return _0x5c635e[_0x50d681(0x20d)]({'attributes':{'class':Nr}}),this[_0x50d681(0x218)][_0x50d681(0x219)](_0x5c635e),_0x5c635e;}[_0x5ca1d6(0x1f2)](_0x199ff4,_0x2b6898){const _0x170008=_0x5ca1d6;_0x199ff4[_0x170008(0x224)][_0x170008(0x21c)]();const _0x328d51=this[_0x170008(0x1f1)](_0x199ff4,_0x2b6898);_0x199ff4[_0x170008(0x224)][_0x170008(0x219)](_0x328d51);const _0x2cee67=this[_0x170008(0x1fd)](_0x2b6898);_0x199ff4[_0x170008(0x224)][_0x170008(0x219)](_0x2cee67);}[_0x5ca1d6(0x1f1)](_0x2a923f,_0x13674a){const _0x57fb8b=_0x5ca1d6,_0x4a1275=this[_0x57fb8b(0x1f4)](_0x2a923f),_0x5b9918=new _0x567a5d(this[_0x57fb8b(0x20a)],{'label':_0x13674a[_0x57fb8b(0x208)],'class':Kr});return _0x5b9918[_0x57fb8b(0x202)][_0x57fb8b(0x219)](_0x4a1275,0x0),_0x5b9918;}[_0x5ca1d6(0x1f4)](_0x2b7458){const _0x215739=_0x5ca1d6,_0x321b2b=new _0x1b0be2(this[_0x215739(0x20a)]);return _0x321b2b[_0x215739(0x212)]({'icon':_0x14bb96,'tooltip':_0x470d8f(this[_0x215739(0x20a)],_0x215739(0x203)),'tooltipPosition':'n','class':Xr}),_0x321b2b['on'](_0x215739(0x223),()=>{const _0x192e6e=_0x215739;_0x2b7458[_0x192e6e(0x20b)](),this[_0x192e6e(0x20f)][_0x192e6e(0x221)]();}),_0x321b2b;}[_0x5ca1d6(0x1fd)](_0xe025e3){const _0x361f6e=_0x5ca1d6,_0x1ed70a=new _0x10505b(this[_0x361f6e(0x20a)],{'source':_0xe025e3,'searchInputVisibleFrom':this[_0x361f6e(0x20f)][_0x361f6e(0x214)]});return _0x1ed70a['on'](_0x361f6e(0x205),(_0x16128f,_0x539e42)=>{const _0x5315c1=_0x361f6e;this[_0x5315c1(0x20f)][_0x5315c1(0x1fe)](_0x539e42);}),_0x1ed70a['on'](_0x361f6e(0x20e),(_0x121636,_0x4709f5)=>{const _0x40c8f0=_0x361f6e;this[_0x40c8f0(0x20f)][_0x40c8f0(0x222)](_0x4709f5[_0x40c8f0(0x20c)],_0x4709f5[_0x40c8f0(0x206)]),this[_0x40c8f0(0x210)](_0xe025e3['id']);}),_0x1ed70a;}[_0x5ca1d6(0x1f8)](_0x23fb17){const _0x310dae=_0x5ca1d6,_0x1b7f4b=_0x23fb17[_0x310dae(0x224)][_0x310dae(0x1ef)](0x1);return _0x1b7f4b instanceof _0x10505b?_0x1b7f4b:null;}[_0x5ca1d6(0x1fc)](_0x3c3bca){const _0x5d4cd2=_0x5ca1d6;_0x19641c({'emitter':_0x3c3bca,'contextElements':[_0x3c3bca[_0x5d4cd2(0x207)]],'callback':()=>{const _0x268d67=_0x5d4cd2;_0x3c3bca[_0x268d67(0x20b)](),this[_0x268d67(0x20f)][_0x268d67(0x225)]();},'activator':()=>_0x3c3bca[_0x5d4cd2(0x217)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4762d7,IconView as _0x57e99c,LabeledFieldView as _0x314084,createLabeledInputText as _0x4838ef}from'ckeditor5/src/ui.js';import{IconLoupe as _0x480bcb,IconCancel as _0x521033}from'ckeditor5/src/icons.js';import{getTranslation as _0x34fa76}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x314084{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x21ad60){const t=_0x21ad60['t'],_0x483f0a={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x4838ef,'label':_0x34fa76(_0x21ad60,'AI_CHAT_SEARCH_RESOURCES')};super(_0x21ad60,_0x483f0a['creator']),this['label']=_0x483f0a['label'],this['_viewConfig']=_0x483f0a,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x21ad60,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x4edaa8){this['fire']('search',_0x4edaa8);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x57e99c(),this['iconView']['content']=_0x480bcb,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x805768,t){this['resetButtonView']=new _0x4762d7(_0x805768),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x521033,'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',_0x939680=>!_0x939680),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 _0x3f6dca,IconView as _0x2daa50,LabeledFieldView as _0x2d211f,createLabeledInputText as _0x180c9c}from'ckeditor5/src/ui.js';import{IconLoupe as _0x197649,IconCancel as _0x44b514}from'ckeditor5/src/icons.js';import{getTranslation as _0x113664}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x2d211f{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x35d1f2){const t=_0x35d1f2['t'],_0x5cbe6f={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x180c9c,'label':_0x113664(_0x35d1f2,'AI_CHAT_SEARCH_RESOURCES')};super(_0x35d1f2,_0x5cbe6f['creator']),this['label']=_0x5cbe6f['label'],this['_viewConfig']=_0x5cbe6f,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x35d1f2,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0xf93b16){this['fire']('search',_0xf93b16);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x2daa50(),this['iconView']['content']=_0x197649,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x18f37a,t){this['resetButtonView']=new _0x3f6dca(_0x18f37a),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x44b514,'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',_0x1aa2c7=>!_0x1aa2c7),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 _0x1dcac4=_0x2682;(function(_0x327225,_0x15841f){const _0xb771d4=_0x2682,_0xfa0b4e=_0x327225();while(!![]){try{const _0x47cbe3=parseInt(_0xb771d4(0xfe))/0x1*(parseInt(_0xb771d4(0xe6))/0x2)+-parseInt(_0xb771d4(0x108))/0x3*(-parseInt(_0xb771d4(0xfd))/0x4)+-parseInt(_0xb771d4(0xe9))/0x5*(-parseInt(_0xb771d4(0xfa))/0x6)+-parseInt(_0xb771d4(0xfc))/0x7*(parseInt(_0xb771d4(0x100))/0x8)+-parseInt(_0xb771d4(0xf5))/0x9*(parseInt(_0xb771d4(0x102))/0xa)+-parseInt(_0xb771d4(0x106))/0xb*(parseInt(_0xb771d4(0xef))/0xc)+parseInt(_0xb771d4(0xed))/0xd*(parseInt(_0xb771d4(0xec))/0xe);if(_0x47cbe3===_0x15841f)break;else _0xfa0b4e['push'](_0xfa0b4e['shift']());}catch(_0x352cd0){_0xfa0b4e['push'](_0xfa0b4e['shift']());}}}(_0x375b,0xa0c36));import{View as _0x14b980}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x6d2ca1}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x155fee}from'../controls/aichatchipsoverflowmanager.js';function _0x2682(_0x47d1dc,_0x59bf23){const _0x375be0=_0x375b();return _0x2682=function(_0x2682dd,_0x1bf67a){_0x2682dd=_0x2682dd-0xe6;let _0x516d2d=_0x375be0[_0x2682dd];return _0x516d2d;},_0x2682(_0x47d1dc,_0x59bf23);}const $o=_0x1dcac4(0xff),Jo=_0x1dcac4(0xf1),Ko=_0x1dcac4(0xf6),Ro=_0x1dcac4(0x104),Lo=_0x1dcac4(0x101),No=_0x1dcac4(0x105);function _0x375b(){const _0x4c1c84=['2280080IFXyrS','ck-ai-chat-controls_context_show-more-button','2857910uRCjxt','reorganizeChips','ck-ai-chat-controls-button','ck-ai-chat-context-controls__show-more-balloon-panel','2404820vMFqHM','destroy','111bwJCqQ','_contextChips','42SGIQKE','setContainerElement','querySelector','70SeXbzg','_bodyCollection','_overflowManager','1702302xahOJb','247dEfHrH','render','72XqZSIg','setTemplate','ck-ai-chat-context-chips-wrapper','add','locale','_createContextChips','36tkOiSt','ck-ai-chat-context-chips-wrapper-balloon','ck-reset_all','div','element','486396rQfePq','createCollection','28eabcnc','64132OrCHoD','10238ktWuRk','ck-ai-chat__feed__context-chips'];_0x375b=function(){return _0x4c1c84;};return _0x375b();}export class AIChatFeedContextChipsView extends _0x14b980{[_0x1dcac4(0x109)]=this[_0x1dcac4(0xfb)]();[_0x1dcac4(0xeb)];[_0x1dcac4(0xea)];constructor(_0x80da2a,_0x4c16cc,_0x41a74a){const _0x30b01d=_0x1dcac4;super(_0x80da2a),this[_0x30b01d(0xea)]=_0x41a74a,this[_0x30b01d(0xf4)](_0x4c16cc);const _0x315cca={'cssClasses':{'showMoreButton':Lo,'showMoreBalloon':No,'overflowContainer':Ko,'controlsButton':Ro}};this[_0x30b01d(0xeb)]=new _0x155fee(_0x80da2a,this[_0x30b01d(0x109)],_0x315cca,this[_0x30b01d(0xea)],this),this[_0x30b01d(0xf0)]({'tag':_0x30b01d(0xf8),'attributes':{'class':[$o,'ck',_0x30b01d(0xf7)]},'children':[{'tag':_0x30b01d(0xf8),'attributes':{'class':Jo},'children':this[_0x30b01d(0x109)]}]});}[_0x1dcac4(0xee)](){const _0x557a80=_0x1dcac4;super[_0x557a80(0xee)]();const _0x30b342=this[_0x557a80(0xf9)][_0x557a80(0xe8)]('.'+Jo);_0x30b342&&(this[_0x557a80(0xeb)][_0x557a80(0xe7)](_0x30b342),this[_0x557a80(0xeb)][_0x557a80(0x103)]());}[_0x1dcac4(0x107)](){const _0x1c9571=_0x1dcac4;super[_0x1c9571(0x107)](),this[_0x1c9571(0xeb)][_0x1c9571(0x107)]();}[_0x1dcac4(0xf4)](_0x164bdf){const _0x1d550d=_0x1dcac4;for(const _0x25f322 of _0x164bdf){const _0x1b6fbc=new _0x6d2ca1(this[_0x1d550d(0xf3)],_0x25f322,!0x0,!0x1);this[_0x1d550d(0x109)][_0x1d550d(0xf2)](_0x1b6fbc);}}}
23
+ const _0xa6bd2b=_0x4287;(function(_0x58fb48,_0x5d1f9f){const _0x14a901=_0x4287,_0xb12cfd=_0x58fb48();while(!![]){try{const _0x25d835=-parseInt(_0x14a901(0xc8))/0x1*(-parseInt(_0x14a901(0xc4))/0x2)+parseInt(_0x14a901(0xbc))/0x3*(-parseInt(_0x14a901(0xc6))/0x4)+parseInt(_0x14a901(0xb6))/0x5*(parseInt(_0x14a901(0xc9))/0x6)+-parseInt(_0x14a901(0xc3))/0x7+parseInt(_0x14a901(0xd4))/0x8+-parseInt(_0x14a901(0xba))/0x9+-parseInt(_0x14a901(0xce))/0xa*(-parseInt(_0x14a901(0xbf))/0xb);if(_0x25d835===_0x5d1f9f)break;else _0xb12cfd['push'](_0xb12cfd['shift']());}catch(_0x302849){_0xb12cfd['push'](_0xb12cfd['shift']());}}}(_0x3c99,0x3ef9b));import{View as _0xae7521}from'ckeditor5/src/ui.js';function _0x4287(_0x5b14fd,_0x2de422){const _0x3c99e0=_0x3c99();return _0x4287=function(_0x4287c1,_0x1466bd){_0x4287c1=_0x4287c1-0xb6;let _0x318f93=_0x3c99e0[_0x4287c1];return _0x318f93;},_0x4287(_0x5b14fd,_0x2de422);}function _0x3c99(){const _0x24eca9=['1328ubdxWw','ck-ai-chat-context-chips-wrapper-balloon','114388Iouthv','createCollection','176UKCvsr','6PmNXNu','element','ck-ai-chat-context-controls__show-more-balloon-panel','setContainerElement','_bodyCollection','18220yGunCS','ck-ai-chat-controls-button','_contextChips','ck-ai-chat-controls_context_show-more-button','locale','ck-ai-chat-context-chips-wrapper','2130544ADKmhJ','ck-ai-chat__feed__context-chips','ck-reset_all','29140mjrHJc','div','destroy','render','3035520lTiSnT','querySelector','9RoArIL','reorganizeChips','setTemplate','4862QeEczm','_overflowManager','add','_createContextChips','3593212bOMVJQ'];_0x3c99=function(){return _0x24eca9;};return _0x3c99();}import{AIChatContextItemButtonView as _0xb4f1d7}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0xb4a8f8}from'../controls/aichatchipsoverflowmanager.js';const $o=_0xa6bd2b(0xd5),Ko=_0xa6bd2b(0xd3),Qo=_0xa6bd2b(0xc5),Uo=_0xa6bd2b(0xcf),No=_0xa6bd2b(0xd1),Oo=_0xa6bd2b(0xcb);export class AIChatFeedContextChipsView extends _0xae7521{[_0xa6bd2b(0xd0)]=this[_0xa6bd2b(0xc7)]();[_0xa6bd2b(0xc0)];[_0xa6bd2b(0xcd)];constructor(_0x233420,_0x57e7e7,_0x4f1c43){const _0x4a06cb=_0xa6bd2b;super(_0x233420),this[_0x4a06cb(0xcd)]=_0x4f1c43,this[_0x4a06cb(0xc2)](_0x57e7e7);const _0x383462={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x4a06cb(0xc0)]=new _0xb4a8f8(_0x233420,this[_0x4a06cb(0xd0)],_0x383462,this[_0x4a06cb(0xcd)],this),this[_0x4a06cb(0xbe)]({'tag':_0x4a06cb(0xb7),'attributes':{'class':[$o,'ck',_0x4a06cb(0xd6)]},'children':[{'tag':_0x4a06cb(0xb7),'attributes':{'class':Ko},'children':this[_0x4a06cb(0xd0)]}]});}[_0xa6bd2b(0xb9)](){const _0x9c0bf=_0xa6bd2b;super[_0x9c0bf(0xb9)]();const _0x101536=this[_0x9c0bf(0xca)][_0x9c0bf(0xbb)]('.'+Ko);_0x101536&&(this[_0x9c0bf(0xc0)][_0x9c0bf(0xcc)](_0x101536),this[_0x9c0bf(0xc0)][_0x9c0bf(0xbd)]());}[_0xa6bd2b(0xb8)](){const _0x38af82=_0xa6bd2b;super[_0x38af82(0xb8)](),this[_0x38af82(0xc0)][_0x38af82(0xb8)]();}[_0xa6bd2b(0xc2)](_0x55a4d0){const _0x38daeb=_0xa6bd2b;for(const _0x5326dc of _0x55a4d0){const _0x3754f7=new _0xb4f1d7(this[_0x38daeb(0xd2)],_0x5326dc,!0x0,!0x1);this[_0x38daeb(0xd0)][_0x38daeb(0xc1)](_0x3754f7);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5306aa=_0x1c0c;(function(_0x2a6b36,_0x51629b){const _0x519a5e=_0x1c0c,_0x589a56=_0x2a6b36();while(!![]){try{const _0x3f5575=-parseInt(_0x519a5e(0xa8))/0x1+-parseInt(_0x519a5e(0xab))/0x2*(parseInt(_0x519a5e(0xaa))/0x3)+-parseInt(_0x519a5e(0xa9))/0x4+parseInt(_0x519a5e(0xc0))/0x5+-parseInt(_0x519a5e(0xb4))/0x6+-parseInt(_0x519a5e(0xaf))/0x7*(parseInt(_0x519a5e(0xae))/0x8)+-parseInt(_0x519a5e(0xbd))/0x9*(-parseInt(_0x519a5e(0xb0))/0xa);if(_0x3f5575===_0x51629b)break;else _0x589a56['push'](_0x589a56['shift']());}catch(_0x2e9e48){_0x589a56['push'](_0x589a56['shift']());}}}(_0x4846,0xc71ec));import{IconBulb as _0x1622d3,IconWeb as _0x5de66f}from'@ckeditor/ckeditor5-icons';import{IconView as _0x2397f5,View as _0x36a2c2}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x2a4887}from'./aichatfeeditemview.js';function _0x1c0c(_0x40a695,_0x5b35aa){const _0x48465a=_0x4846();return _0x1c0c=function(_0x1c0c6d,_0x1b9305){_0x1c0c6d=_0x1c0c6d-0xa7;let _0x55f794=_0x48465a[_0x1c0c6d];return _0x55f794;},_0x1c0c(_0x40a695,_0x5b35aa);}function _0x4846(){const _0x5defe3=['span','2889672cVeQLf','content','add','extendTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','div','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','setTemplate','ck-hidden','27yOrICw','push','ck-ai-chat__feed__interaction-header__capabilities__text','1044300PkukTs','children','321848UpEfOf','2022372VrflqN','1502142xcUFNw','4jdDGse','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','32xQouuJ','2437393oIndfK','14366710htgyfE','ck-ai-chat__feed__interaction-header__capabilities','ck-ai-chat__feed__interaction-header'];_0x4846=function(){return _0x5defe3;};return _0x4846();}import{getTranslation as _0x2c97d1}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x2a4887{[_0x5306aa(0xac)];constructor(_0x379926,_0x495d3){const _0x13cc8b=_0x5306aa;super(_0x495d3);const {isWebSearchEnabled:_0xd20290,isReasoningEnabled:_0x58be86}=_0x495d3[_0x13cc8b(0xac)],_0x261586=[];let _0xb2f657='';_0xd20290&&_0x58be86?(_0xb2f657=_0x2c97d1(_0x379926,_0x13cc8b(0xba)),_0x261586[_0x13cc8b(0xbe)](ea(_0x5de66f)),_0x261586[_0x13cc8b(0xbe)](ea(_0x1622d3))):_0xd20290?(_0xb2f657=_0x2c97d1(_0x379926,_0x13cc8b(0xb8)),_0x261586[_0x13cc8b(0xbe)](ea(_0x5de66f))):_0x58be86&&(_0xb2f657=_0x2c97d1(_0x379926,_0x13cc8b(0xad)),_0x261586[_0x13cc8b(0xbe)](ea(_0x1622d3))),this[_0x13cc8b(0xb7)]({'attributes':{'class':[_0x13cc8b(0xb2),_0xb2f657?'':_0x13cc8b(0xbc)]}});const _0x179f7f=new _0x36a2c2();_0x179f7f[_0x13cc8b(0xbb)]({'tag':_0x13cc8b(0xb9),'attributes':{'class':['ck',_0x13cc8b(0xb1)]},'children':[..._0x261586,{'tag':_0x13cc8b(0xb3),'attributes':{'class':[_0x13cc8b(0xbf)]},'children':[_0xb2f657]}]}),this[_0x13cc8b(0xa7)][_0x13cc8b(0xb6)](_0x179f7f),this[_0x13cc8b(0xac)]=_0x495d3[_0x13cc8b(0xac)];}}function ea(_0x2a25a6){const _0x2c1aab=_0x5306aa,_0x5b2d1f=new _0x2397f5();return _0x5b2d1f[_0x2c1aab(0xb5)]=_0x2a25a6,_0x5b2d1f;}
23
+ const _0x1fb851=_0x38af;function _0x38af(_0x385de9,_0xaa604){const _0x36b115=_0x36b1();return _0x38af=function(_0x38afea,_0x3f686a){_0x38afea=_0x38afea-0x6c;let _0x1f8e3f=_0x36b115[_0x38afea];return _0x1f8e3f;},_0x38af(_0x385de9,_0xaa604);}(function(_0x5e2f84,_0x66b060){const _0x3628c6=_0x38af,_0x264f57=_0x5e2f84();while(!![]){try{const _0x59a7eb=-parseInt(_0x3628c6(0x7f))/0x1+parseInt(_0x3628c6(0x7e))/0x2*(-parseInt(_0x3628c6(0x77))/0x3)+parseInt(_0x3628c6(0x85))/0x4*(-parseInt(_0x3628c6(0x81))/0x5)+-parseInt(_0x3628c6(0x82))/0x6*(parseInt(_0x3628c6(0x78))/0x7)+parseInt(_0x3628c6(0x87))/0x8*(-parseInt(_0x3628c6(0x79))/0x9)+parseInt(_0x3628c6(0x6f))/0xa*(parseInt(_0x3628c6(0x84))/0xb)+parseInt(_0x3628c6(0x71))/0xc;if(_0x59a7eb===_0x66b060)break;else _0x264f57['push'](_0x264f57['shift']());}catch(_0x620bfc){_0x264f57['push'](_0x264f57['shift']());}}}(_0x36b1,0x1e4b6));import{IconBulb as _0x1e988f,IconWeb as _0x109c59}from'@ckeditor/ckeditor5-icons';import{IconView as _0x23579a,View as _0x5bc2a6}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0xa2fd79}from'./aichatfeeditemview.js';import{getTranslation as _0x4f5398}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0xa2fd79{[_0x1fb851(0x83)];constructor(_0x252417,_0x288e35){const _0x300f7f=_0x1fb851;super(_0x288e35);const {isWebSearchEnabled:_0x30b47b,isReasoningEnabled:_0x5242b5}=_0x288e35[_0x300f7f(0x83)],_0x19354b=[];let _0x4b275b='';_0x30b47b&&_0x5242b5?(_0x4b275b=_0x4f5398(_0x252417,_0x300f7f(0x74)),_0x19354b[_0x300f7f(0x72)](aa(_0x109c59)),_0x19354b[_0x300f7f(0x72)](aa(_0x1e988f))):_0x30b47b?(_0x4b275b=_0x4f5398(_0x252417,_0x300f7f(0x6c)),_0x19354b[_0x300f7f(0x72)](aa(_0x109c59))):_0x5242b5&&(_0x4b275b=_0x4f5398(_0x252417,_0x300f7f(0x7a)),_0x19354b[_0x300f7f(0x72)](aa(_0x1e988f))),this[_0x300f7f(0x70)]({'attributes':{'class':[_0x300f7f(0x7c),_0x4b275b?'':_0x300f7f(0x76)]}});const _0x2a1b69=new _0x5bc2a6();_0x2a1b69[_0x300f7f(0x80)]({'tag':_0x300f7f(0x6d),'attributes':{'class':['ck',_0x300f7f(0x86)]},'children':[..._0x19354b,{'tag':_0x300f7f(0x7b),'attributes':{'class':[_0x300f7f(0x73)]},'children':[_0x4b275b]}]}),this[_0x300f7f(0x7d)][_0x300f7f(0x75)](_0x2a1b69),this[_0x300f7f(0x83)]=_0x288e35[_0x300f7f(0x83)];}}function _0x36b1(){const _0x8e2f7c=['content','1033130jLWsOe','extendTemplate','8901252pgwYox','push','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','add','ck-hidden','15qikjaW','7KtsHmc','36DGNnOZ','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','span','ck-ai-chat__feed__interaction-header','children','27044cFzsvy','145594DfWSOL','setTemplate','325fHmhsp','1225782qFddod','capabilities','11togZoM','14420mmyTHB','ck-ai-chat__feed__interaction-header__capabilities','138344Mkszze','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','div'];_0x36b1=function(){return _0x8e2f7c;};return _0x36b1();}function aa(_0x1343d5){const _0x50d77b=_0x1fb851,_0x1a23a=new _0x23579a();return _0x1a23a[_0x50d77b(0x6e)]=_0x1343d5,_0x1a23a;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x37fd(_0x462557,_0x8580fc){const _0x7618d0=_0x7618();return _0x37fd=function(_0x37fd38,_0x17d7f0){_0x37fd38=_0x37fd38-0x1e4;let _0x245207=_0x7618d0[_0x37fd38];return _0x245207;},_0x37fd(_0x462557,_0x8580fc);}const _0x13e958=_0x37fd;(function(_0x111538,_0x2698d0){const _0xf182f3=_0x37fd,_0x443822=_0x111538();while(!![]){try{const _0x4944c1=parseInt(_0xf182f3(0x200))/0x1+parseInt(_0xf182f3(0x1f8))/0x2+parseInt(_0xf182f3(0x1f1))/0x3*(parseInt(_0xf182f3(0x1f5))/0x4)+parseInt(_0xf182f3(0x1ed))/0x5+parseInt(_0xf182f3(0x1fe))/0x6+-parseInt(_0xf182f3(0x1f3))/0x7*(-parseInt(_0xf182f3(0x1ec))/0x8)+parseInt(_0xf182f3(0x201))/0x9*(-parseInt(_0xf182f3(0x202))/0xa);if(_0x4944c1===_0x2698d0)break;else _0x443822['push'](_0x443822['shift']());}catch(_0x4c8a28){_0x443822['push'](_0x443822['shift']());}}}(_0x7618,0x46192));import{View as _0x4f44f3}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x3c7325}from'../../../aicore/utils/htmlstreamer.js';function _0x7618(){const _0x3a68ac=['streamIntoElement','303630dRXMFV','element','[data-id]','querySelectorAll','children','setTemplate','3249000JMtgjm','removeAttribute','33313RucgzK','90lFdHWn','974800DpBwuN','forEach','isDone','content','htmlStreamer','ck-ai-chat__feed__text-item','isVisible','ck-ai-chat__feed__item','markAsDone','animation:\x20ck-html-streamer-fade-in\x20.5s','set','cleanUpAnimations','createCollection','options','5232QWGrKN','962975BGQRFg','data-id','div','ck-ai-chat__feed__item_done','45ytwavv','stream','1022uzYIbx','ck-hidden','65924kSNxmU','bindTemplate'];_0x7618=function(){return _0x3a68ac;};return _0x7618();}export class AIChatFeedItemView extends _0x4f44f3{[_0x13e958(0x1eb)];[_0x13e958(0x205)]='';[_0x13e958(0x206)];[_0x13e958(0x1fc)];constructor(_0x18aba3){const _0x473d3b=_0x13e958;super();const _0x5860c6=this[_0x473d3b(0x1f6)];this[_0x473d3b(0x1e8)](_0x473d3b(0x204),!0x1),this[_0x473d3b(0x1e8)](_0x473d3b(0x1e4),!0x0),this[_0x473d3b(0x206)]=new _0x3c7325({'textNodeStyle':_0x473d3b(0x1e7),'delay':0x14}),this[_0x473d3b(0x1eb)]=_0x18aba3,this[_0x473d3b(0x1fc)]=this[_0x473d3b(0x1ea)](),this[_0x473d3b(0x1fd)]({'tag':_0x473d3b(0x1ef),'attributes':{'class':['ck',_0x473d3b(0x1e5),_0x5860c6['if'](_0x473d3b(0x204),_0x473d3b(0x1f0)),_0x5860c6['if'](_0x473d3b(0x1e4),_0x473d3b(0x1f4),_0x1623ff=>!_0x1623ff),_0x473d3b(0x207)],'data-cke-ai-id':this[_0x473d3b(0x1eb)]['id']},'children':this[_0x473d3b(0x1fc)]});}[_0x13e958(0x1e6)](){const _0x3f2543=_0x13e958;this[_0x3f2543(0x206)][_0x3f2543(0x1e9)]({'targetElement':this[_0x3f2543(0x1f9)]}),this[_0x3f2543(0x1f9)][_0x3f2543(0x1fb)](_0x3f2543(0x1fa))[_0x3f2543(0x203)](_0x1b1c19=>{const _0x206253=_0x3f2543;_0x1b1c19[_0x206253(0x1ff)](_0x206253(0x1ee));}),this[_0x3f2543(0x204)]=!0x0;}async[_0x13e958(0x1f7)](_0x703adc,_0x38d7d1,_0x3da31d){const _0x13c8e9=_0x13e958;await this[_0x13c8e9(0x206)][_0x13c8e9(0x1f2)]({'document':_0x703adc,'targetElement':_0x38d7d1,'abortSignal':_0x3da31d});}}
23
+ const _0x19763d=_0x2e56;(function(_0x417597,_0xd76bfa){const _0x3fc3a0=_0x2e56,_0x2c8773=_0x417597();while(!![]){try{const _0x5944d5=-parseInt(_0x3fc3a0(0xe7))/0x1+-parseInt(_0x3fc3a0(0xe6))/0x2*(-parseInt(_0x3fc3a0(0xe5))/0x3)+-parseInt(_0x3fc3a0(0xe2))/0x4*(parseInt(_0x3fc3a0(0xeb))/0x5)+-parseInt(_0x3fc3a0(0xdf))/0x6*(parseInt(_0x3fc3a0(0xe0))/0x7)+parseInt(_0x3fc3a0(0xe9))/0x8+parseInt(_0x3fc3a0(0xdc))/0x9*(-parseInt(_0x3fc3a0(0xde))/0xa)+parseInt(_0x3fc3a0(0xf6))/0xb*(parseInt(_0x3fc3a0(0xe1))/0xc);if(_0x5944d5===_0xd76bfa)break;else _0x2c8773['push'](_0x2c8773['shift']());}catch(_0x58a6c9){_0x2c8773['push'](_0x2c8773['shift']());}}}(_0x9745,0xcc9b8));import{View as _0x31c669}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x3a5a95}from'../../../aicore/utils/htmlstreamer.js';function _0x9745(){const _0x18cc04=['isDone','setTemplate','stream','ck-hidden','data-id','children','ck-ai-chat__feed__item_done','createCollection','content','ck-ai-chat__feed__text-item','set','18PhuUug','options','336620scJIQl','10176PFFryo','4417PaTPTn','588mtQTgg','4492CCWLaC','bindTemplate','ck-ai-chat__feed__item','336PaeBsC','23758Iyvwme','486409RkPlzJ','element','7355008tumsuP','[data-id]','2740UIKEcH','div','forEach','removeAttribute','animation:\x20ck-html-streamer-fade-in\x20.5s','isVisible','streamIntoElement','cleanUpAnimations','htmlStreamer','markAsDone','querySelectorAll','185779kiDVXv'];_0x9745=function(){return _0x18cc04;};return _0x9745();}function _0x2e56(_0x31f72f,_0x3f6ed4){const _0x97454e=_0x9745();return _0x2e56=function(_0x2e5670,_0x375596){_0x2e5670=_0x2e5670-0xdc;let _0x480cb2=_0x97454e[_0x2e5670];return _0x480cb2;},_0x2e56(_0x31f72f,_0x3f6ed4);}export class AIChatFeedItemView extends _0x31c669{[_0x19763d(0xdd)];[_0x19763d(0xff)]='';[_0x19763d(0xf3)];[_0x19763d(0xfc)];constructor(_0x325f8c){const _0x5c14c6=_0x19763d;super();const _0x2f5dc9=this[_0x5c14c6(0xe3)];this[_0x5c14c6(0x101)](_0x5c14c6(0xf7),!0x1),this[_0x5c14c6(0x101)](_0x5c14c6(0xf0),!0x0),this[_0x5c14c6(0xf3)]=new _0x3a5a95({'textNodeStyle':_0x5c14c6(0xef),'delay':0x14}),this[_0x5c14c6(0xdd)]=_0x325f8c,this[_0x5c14c6(0xfc)]=this[_0x5c14c6(0xfe)](),this[_0x5c14c6(0xf8)]({'tag':_0x5c14c6(0xec),'attributes':{'class':['ck',_0x5c14c6(0xe4),_0x2f5dc9['if'](_0x5c14c6(0xf7),_0x5c14c6(0xfd)),_0x2f5dc9['if'](_0x5c14c6(0xf0),_0x5c14c6(0xfa),_0x1867a5=>!_0x1867a5),_0x5c14c6(0x100)],'data-cke-ai-id':this[_0x5c14c6(0xdd)]['id']},'children':this[_0x5c14c6(0xfc)]});}[_0x19763d(0xf4)](){const _0x1ee94c=_0x19763d;this[_0x1ee94c(0xf3)][_0x1ee94c(0xf2)]({'targetElement':this[_0x1ee94c(0xe8)]}),this[_0x1ee94c(0xe8)][_0x1ee94c(0xf5)](_0x1ee94c(0xea))[_0x1ee94c(0xed)](_0x15083f=>{const _0x42eeb5=_0x1ee94c;_0x15083f[_0x42eeb5(0xee)](_0x42eeb5(0xfb));}),this[_0x1ee94c(0xf7)]=!0x0;}async[_0x19763d(0xf1)](_0x52215d,_0xd3d472,_0x4c379f){const _0x2e245e=_0x19763d;await this[_0x2e245e(0xf3)][_0x2e245e(0xf9)]({'document':_0x52215d,'targetElement':_0xd3d472,'abortSignal':_0x4c379f});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe31dab=_0x21b1;(function(_0x3da5b2,_0x2844c3){const _0x2b3adb=_0x21b1,_0x4a96ac=_0x3da5b2();while(!![]){try{const _0x415b8b=-parseInt(_0x2b3adb(0x179))/0x1*(parseInt(_0x2b3adb(0x17e))/0x2)+-parseInt(_0x2b3adb(0x186))/0x3*(parseInt(_0x2b3adb(0x198))/0x4)+-parseInt(_0x2b3adb(0x191))/0x5+-parseInt(_0x2b3adb(0x197))/0x6+parseInt(_0x2b3adb(0x184))/0x7+parseInt(_0x2b3adb(0x185))/0x8*(parseInt(_0x2b3adb(0x178))/0x9)+-parseInt(_0x2b3adb(0x193))/0xa*(-parseInt(_0x2b3adb(0x17a))/0xb);if(_0x415b8b===_0x2844c3)break;else _0x4a96ac['push'](_0x4a96ac['shift']());}catch(_0x5efeb9){_0x4a96ac['push'](_0x4a96ac['shift']());}}}(_0xe091,0xa3677));import{AIChatFeedItemView as _0x11ca42}from'./aichatfeeditemview.js';function _0xe091(){const _0x37080d=['ck-ai-chat__feed__ai-reply-container','extendTemplate','3242440DJhmIf','streamIntoElement','70vqOcOq','replyContainer','locale','options','7502946avxeCU','670904gLgTcp','innerHTML','updateContent','_bodyCollection','element','9YsAgrN','2RKpRFC','5528017vVVyFP','ck-ai-chat__feed__ai-reply','isVisible','setTemplate','1236946xvNXuS','addMany','streaming','ck-reset_all-excluded','initialContent','render','6665869wyvNWl','1390096MwfANe','15rZoUJV','children','map','add','div','updateSources','static','balloonPanelView','markAsDone'];_0xe091=function(){return _0x37080d;};return _0xe091();}import{parse as _0x41d720,render as _0x4208a5}from'../../../aicore/utils/htmlparser.js';import{View as _0x457935}from'ckeditor5/src/ui.js';function _0x21b1(_0x517d2e,_0x3b195c){const _0xe091d5=_0xe091();return _0x21b1=function(_0x21b138,_0x50164c){_0x21b138=_0x21b138-0x176;let _0x5ed783=_0xe091d5[_0x21b138];return _0x5ed783;},_0x21b1(_0x517d2e,_0x3b195c);}import{AIWebSourcesView as _0x502f7d,AIWebSourceView as _0xbad6f6}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x11ca42{[_0xe31dab(0x194)];[_0xe31dab(0x176)];constructor(_0x4ad5e3,_0x374bcf,_0x151f21){const _0x4ee598=_0xe31dab;super(_0x374bcf),this[_0x4ee598(0x176)]=_0x151f21,this[_0x4ee598(0x195)]=_0x4ad5e3,this[_0x4ee598(0x190)]({'attributes':{'class':[_0x4ee598(0x17b)]}}),this[_0x4ee598(0x194)]=new _0x457935(),this[_0x4ee598(0x194)][_0x4ee598(0x17d)]({'tag':_0x4ee598(0x18a),'attributes':{'class':['ck',_0x4ee598(0x181),_0x4ee598(0x18f)]}}),this[_0x4ee598(0x187)][_0x4ee598(0x189)](this[_0x4ee598(0x194)]);}async[_0xe31dab(0x183)](){const _0x51f5a0=_0xe31dab;super[_0x51f5a0(0x183)](),this[_0x51f5a0(0x196)][_0x51f5a0(0x182)]&&(await this[_0x51f5a0(0x19a)]({'parsedContent':_0x41d720(this[_0x51f5a0(0x196)][_0x51f5a0(0x182)]),'renderingStrategy':_0x51f5a0(0x18c)}),this[_0x51f5a0(0x18e)]());}async[_0xe31dab(0x19a)]({parsedContent:_0x12acd5,renderingStrategy:_0x142077,abortSignal:_0x181348}){const _0x288d21=_0xe31dab;_0x288d21(0x180)===_0x142077?await this[_0x288d21(0x192)](_0x12acd5,this[_0x288d21(0x194)][_0x288d21(0x177)],_0x181348):this[_0x288d21(0x194)][_0x288d21(0x177)][_0x288d21(0x199)]=_0x4208a5(_0x12acd5);}[_0xe31dab(0x18b)](_0x128b93){const _0xa0940d=_0xe31dab,_0x2b6115=new _0x502f7d(this[_0xa0940d(0x195)],this[_0xa0940d(0x176)]);_0x2b6115[_0xa0940d(0x187)][_0xa0940d(0x17f)](_0x128b93[_0xa0940d(0x188)](_0x5c2422=>new _0xbad6f6(this[_0xa0940d(0x195)],_0x5c2422,_0x2b6115[_0xa0940d(0x18d)]))),_0x2b6115[_0xa0940d(0x17c)]=!0x0,this[_0xa0940d(0x187)][_0xa0940d(0x189)](_0x2b6115);}}
23
+ const _0x412eb7=_0x31da;(function(_0x4e38dd,_0x3ef4d7){const _0x40d754=_0x31da,_0x61df7c=_0x4e38dd();while(!![]){try{const _0x5d161b=-parseInt(_0x40d754(0x18e))/0x1+parseInt(_0x40d754(0x19b))/0x2+parseInt(_0x40d754(0x18d))/0x3+-parseInt(_0x40d754(0x1a7))/0x4*(parseInt(_0x40d754(0x19f))/0x5)+parseInt(_0x40d754(0x1a5))/0x6*(parseInt(_0x40d754(0x195))/0x7)+parseInt(_0x40d754(0x1a0))/0x8+parseInt(_0x40d754(0x1a3))/0x9*(-parseInt(_0x40d754(0x19a))/0xa);if(_0x5d161b===_0x3ef4d7)break;else _0x61df7c['push'](_0x61df7c['shift']());}catch(_0x9feb2e){_0x61df7c['push'](_0x61df7c['shift']());}}}(_0x4246,0x54ae6));import{AIChatFeedItemView as _0x2367ed}from'./aichatfeeditemview.js';import{parse as _0x58fb7c,render as _0x2e4803}from'../../../aicore/utils/htmlparser.js';function _0x31da(_0x184d2c,_0x4d7358){const _0x424617=_0x4246();return _0x31da=function(_0x31da54,_0x164366){_0x31da54=_0x31da54-0x18b;let _0x5650af=_0x424617[_0x31da54];return _0x5650af;},_0x31da(_0x184d2c,_0x4d7358);}function _0x4246(){const _0x505343=['options','updateSources','_bodyCollection','extendTemplate','render','div','26243Ohntdu','ck-ai-chat__feed__ai-reply','addMany','innerHTML','ck-ai-chat__feed__ai-reply-container','6590ZSObHV','576880KiCqeS','isVisible','balloonPanelView','children','5bzHNsx','1459496rqMwIM','static','map','8397nJPIVq','streaming','1086eimShV','add','1254724CqbaIb','element','updateContent','setTemplate','streamIntoElement','markAsDone','ck-reset_all-excluded','replyContainer','initialContent','locale','1819788ggwIxg','480660ubZWYa'];_0x4246=function(){return _0x505343;};return _0x4246();}import{View as _0x1b44fc}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x1b2699,AIWebSourceView as _0x4aafe2}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x2367ed{[_0x412eb7(0x1ae)];[_0x412eb7(0x191)];constructor(_0x46a140,_0x2b227b,_0x59d1a8){const _0x1935f0=_0x412eb7;super(_0x2b227b),this[_0x1935f0(0x191)]=_0x59d1a8,this[_0x1935f0(0x18c)]=_0x46a140,this[_0x1935f0(0x192)]({'attributes':{'class':[_0x1935f0(0x196)]}}),this[_0x1935f0(0x1ae)]=new _0x1b44fc(),this[_0x1935f0(0x1ae)][_0x1935f0(0x1aa)]({'tag':_0x1935f0(0x194),'attributes':{'class':['ck',_0x1935f0(0x1ad),_0x1935f0(0x199)]}}),this[_0x1935f0(0x19e)][_0x1935f0(0x1a6)](this[_0x1935f0(0x1ae)]);}async[_0x412eb7(0x193)](){const _0x40d17d=_0x412eb7;super[_0x40d17d(0x193)](),this[_0x40d17d(0x18f)][_0x40d17d(0x18b)]&&(await this[_0x40d17d(0x1a9)]({'parsedContent':_0x58fb7c(this[_0x40d17d(0x18f)][_0x40d17d(0x18b)]),'renderingStrategy':_0x40d17d(0x1a1)}),this[_0x40d17d(0x1ac)]());}async[_0x412eb7(0x1a9)]({parsedContent:_0x405bba,renderingStrategy:_0x2d4b32,abortSignal:_0x139699}){const _0x19587e=_0x412eb7;_0x19587e(0x1a4)===_0x2d4b32?await this[_0x19587e(0x1ab)](_0x405bba,this[_0x19587e(0x1ae)][_0x19587e(0x1a8)],_0x139699):this[_0x19587e(0x1ae)][_0x19587e(0x1a8)][_0x19587e(0x198)]=_0x2e4803(_0x405bba);}[_0x412eb7(0x190)](_0x3e6d86){const _0x3d6f11=_0x412eb7,_0xf7ff68=new _0x1b2699(this[_0x3d6f11(0x18c)],this[_0x3d6f11(0x191)]);_0xf7ff68[_0x3d6f11(0x19e)][_0x3d6f11(0x197)](_0x3e6d86[_0x3d6f11(0x1a2)](_0x9c6bce=>new _0x4aafe2(this[_0x3d6f11(0x18c)],_0x9c6bce,_0xf7ff68[_0x3d6f11(0x19d)]))),_0xf7ff68[_0x3d6f11(0x19c)]=!0x0,this[_0x3d6f11(0x19e)][_0x3d6f11(0x1a6)](_0xf7ff68);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3f58(){const _0x1dd45f=['AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','updateLabels','isTrackChangesOn','slice','listenTo','_createActionsButton','1121751FnVhwZ','actionsButton','has','open','label','4466TFnEbF','_createActionsDropdown','button','_setUpKeystrokes','children','keystrokeHandler','source','map','class','left','ck-ai-chat__feed__ai-suggestion__actions\x20','showChangeInText','ck-hidden','fire','applySuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','delegate','_dropdownCurrentConfig','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','bind','attachToDom','content','_dropdownOriginalConfig','div','15zhqddR','_updateDropdownActions','_setUpList','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','element','width','detachFromDom','isVisible','esc','201844QHpTBs','pin','bindTemplate','insertSuggestion','destroy','113148ksdeke','execute','createCollection','tooltip','bottom','add','listItemModels','set','arrowView','224YGffhq','_createActionsDropdownOrButton','focus','filter','225918FbKqcp','455820HxcUrk','ck-ai-chat__feed__ai-suggestion__actions__balloon','locale','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','balloonPanelClass','_firstRender','77vlwNsa','remove','unbind','insertSuggestionModel','308796puxHMx','setTemplate','listView','showChangeInTextModel','change:isTrackChangesOn','bodyCollection','keys','ck-ai-chat__feed__ai-suggestion__actions','isEnabled','ltr','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','ck-ai-chat__feed__ai-suggestion__actions--no-animation','uiLanguageDirection','_partsCount','hide','arrowless','balloonPanelView','items','ck-ai-button-primary','actionName','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','applySuggestionModel','length','10iSnEjm'];_0x3f58=function(){return _0x1dd45f;};return _0x3f58();}const _0x1e74fe=_0x2560;(function(_0x14d5df,_0x4f3e8d){const _0x1986c5=_0x2560,_0x550235=_0x14d5df();while(!![]){try{const _0x2c2067=-parseInt(_0x1986c5(0x144))/0x1+parseInt(_0x1986c5(0x137))/0x2+parseInt(_0x1986c5(0x129))/0x3*(-parseInt(_0x1986c5(0x132))/0x4)+parseInt(_0x1986c5(0x166))/0x5*(parseInt(_0x1986c5(0x14f))/0x6)+-parseInt(_0x1986c5(0x111))/0x7*(-parseInt(_0x1986c5(0x140))/0x8)+parseInt(_0x1986c5(0x16d))/0x9+-parseInt(_0x1986c5(0x145))/0xa*(-parseInt(_0x1986c5(0x14b))/0xb);if(_0x2c2067===_0x4f3e8d)break;else _0x550235['push'](_0x550235['shift']());}catch(_0x566f4c){_0x550235['push'](_0x550235['shift']());}}}(_0x3f58,0x22e0c));import{KeystrokeHandler as _0x529826}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2626ad,BodyCollection as _0x53651a,ButtonView as _0x4bba95,clickOutsideHandler as _0x1f7671,ListItemButtonView as _0x2a69a8,ListItemView as _0x3989fa,ListView as _0x1c58d3,SplitButtonView as _0x16bacd,UIModel as _0x47c32a,View as _0x35043e}from'ckeditor5/src/ui.js';import{IconCheck as _0x45d000,IconAddComment as _0x50038e,IconDocumentWithLoupe as _0x201559}from'ckeditor5/src/icons.js';function _0x2560(_0x283df9,_0x4493b0){const _0x3f5864=_0x3f58();return _0x2560=function(_0x2560ab,_0x1a9994){_0x2560ab=_0x2560ab-0x10e;let _0x3890d2=_0x3f5864[_0x2560ab];return _0x3890d2;},_0x2560(_0x283df9,_0x4493b0);}import{getTranslation as _0x4df706}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x1e74fe(0x11f),_0x1e74fe(0x135),_0x1e74fe(0x11c)];export class AIChatFeedSuggestionItemActionsView extends _0x35043e{[_0x1e74fe(0x16e)];[_0x1e74fe(0x115)];[_0x1e74fe(0x164)];[_0x1e74fe(0x152)];[_0x1e74fe(0x14e)];[_0x1e74fe(0x15c)]=0x1;[_0x1e74fe(0x127)];[_0x1e74fe(0x122)];[_0x1e74fe(0x14a)]=!0x0;constructor(_0x457c39,_0x1fe86d){const _0xd15fcf=_0x1e74fe;super(_0x457c39),this[_0xd15fcf(0x127)]=_0x1fe86d||[...AI_REPLY_ACTIONS],this[_0xd15fcf(0x122)]=[...this[_0xd15fcf(0x127)]];const _0x18e5df=this[_0xd15fcf(0x134)];this[_0xd15fcf(0x13e)](_0xd15fcf(0x157),!0x0),this[_0xd15fcf(0x13e)](_0xd15fcf(0x130),!0x0),this[_0xd15fcf(0x13e)](_0xd15fcf(0x169),!0x1),this[_0xd15fcf(0x164)]=new _0x47c32a({'label':Pn(_0xd15fcf(0x11f),_0x457c39,this[_0xd15fcf(0x15c)]),'icon':_0x45d000,'withText':!0x0,'type':_0xd15fcf(0x113),'actionName':_0xd15fcf(0x11f)}),this[_0xd15fcf(0x152)]=new _0x47c32a({'label':Pn(_0xd15fcf(0x11c),_0x457c39,this[_0xd15fcf(0x15c)]),'icon':_0x201559,'withText':!0x0,'type':_0xd15fcf(0x113),'actionName':_0xd15fcf(0x11c)}),this[_0xd15fcf(0x14e)]=new _0x47c32a({'label':Pn(_0xd15fcf(0x135),_0x457c39,this[_0xd15fcf(0x15c)]),'icon':_0x50038e,'withText':!0x0,'type':_0xd15fcf(0x113),'actionName':_0xd15fcf(0x135)}),this[_0xd15fcf(0x16e)]=this[_0xd15fcf(0x141)](_0x457c39),this[_0xd15fcf(0x115)]=this[_0xd15fcf(0x139)](),this[_0xd15fcf(0x16e)]&&this[_0xd15fcf(0x115)][_0xd15fcf(0x13c)](this[_0xd15fcf(0x16e)]),this[_0xd15fcf(0x150)]({'tag':_0xd15fcf(0x128),'attributes':{'class':['ck',_0xd15fcf(0x156),_0x18e5df['if'](_0xd15fcf(0x130),_0xd15fcf(0x11d),_0x587049=>!_0x587049)]},'children':this[_0xd15fcf(0x115)]}),this['on'](_0xd15fcf(0x153),()=>{const _0x1c180c=_0xd15fcf;this[_0x1c180c(0x122)]=this[_0x1c180c(0x169)]?this[_0x1c180c(0x127)][_0x1c180c(0x143)](_0x414d90=>_0x1c180c(0x11f)!==_0x414d90):[...this[_0x1c180c(0x127)]],this[_0x1c180c(0x12a)](_0x457c39);});}[_0x1e74fe(0x12a)](_0x131fe4){const _0x3e2777=_0x1e74fe;this[_0x3e2777(0x16e)]&&this[_0x3e2777(0x115)][_0x3e2777(0x10e)](this[_0x3e2777(0x16e)])&&(this[_0x3e2777(0x115)][_0x3e2777(0x14c)](this[_0x3e2777(0x16e)]),this[_0x3e2777(0x16e)][_0x3e2777(0x136)]()),this[_0x3e2777(0x16e)]=this[_0x3e2777(0x141)](_0x131fe4),this[_0x3e2777(0x16e)]&&this[_0x3e2777(0x115)][_0x3e2777(0x13c)](this[_0x3e2777(0x16e)]);}[_0x1e74fe(0x141)](_0x2da741){const _0x3fc61c=_0x1e74fe;if(0x0==this[_0x3fc61c(0x122)][_0x3fc61c(0x165)])return null;const _0x4fa0a5=0x1===this[_0x3fc61c(0x122)][_0x3fc61c(0x165)]?this[_0x3fc61c(0x16c)](_0x2da741):this[_0x3fc61c(0x112)](_0x2da741),_0x114374=this[_0x3fc61c(0x14a)]?'':_0x3fc61c(0x15a);_0x4fa0a5[_0x3fc61c(0x13e)]({'label':Pn(this[_0x3fc61c(0x122)][0x0],_0x2da741,this[_0x3fc61c(0x15c)]),'tooltip':Hn(this[_0x3fc61c(0x122)][0x0],_0x2da741,this[_0x3fc61c(0x15c)]),'withText':!0x0,'class':_0x3fc61c(0x11b)+_0x114374});for(const _0x1bbe79 of this[_0x3fc61c(0x122)])_0x4fa0a5['on'](_0x1bbe79,()=>{const _0x16a082=_0x3fc61c;this[_0x16a082(0x11e)](_0x1bbe79);});return this[_0x3fc61c(0x14a)]=!0x1,_0x4fa0a5;}[_0x1e74fe(0x16c)](_0x8981f2){const _0x3dce7c=_0x1e74fe,_0x3c6444=new _0x4bba95(_0x8981f2);return _0x3c6444[_0x3dce7c(0x13e)]({'class':_0x3dce7c(0x161),'withText':!0x0}),_0x3c6444['on'](_0x3dce7c(0x138),()=>{const _0x438c37=_0x3dce7c;_0x3c6444[_0x438c37(0x11e)](this[_0x438c37(0x122)][0x0]);}),_0x3c6444;}[_0x1e74fe(0x112)](_0x362654){const _0x252e7e=_0x1e74fe,_0x2e3f3a=new Nn(_0x362654,{'listItemModels':this[_0x252e7e(0x122)][_0x252e7e(0x118)](_0x59cf83=>{const _0xd5a35c=_0x252e7e;switch(_0x59cf83){case _0xd5a35c(0x11f):return this[_0xd5a35c(0x164)];case _0xd5a35c(0x11c):return this[_0xd5a35c(0x152)];case _0xd5a35c(0x135):return this[_0xd5a35c(0x14e)];}})});return _0x2e3f3a[_0x252e7e(0x13e)]({'label':Pn(this[_0x252e7e(0x122)][0x0],_0x362654,this[_0x252e7e(0x15c)]),'tooltip':Hn(this[_0x252e7e(0x122)][0x0],_0x362654,this[_0x252e7e(0x15c)]),'withText':!0x0,'class':_0x252e7e(0x156),'balloonPanelClass':_0x252e7e(0x146)}),_0x2e3f3a[_0x252e7e(0x124)](_0x252e7e(0x157))['to'](this),_0x2e3f3a;}[_0x1e74fe(0x168)](_0x28d553){const _0x1184b6=_0x1e74fe,_0x388ea5=this[_0x1184b6(0x147)];this[_0x1184b6(0x15c)]=_0x28d553||this[_0x1184b6(0x15c)],this[_0x1184b6(0x16e)][_0x1184b6(0x13e)]({'label':Pn(this[_0x1184b6(0x122)][0x0],_0x388ea5,this[_0x1184b6(0x15c)]),'tooltip':Hn(this[_0x1184b6(0x122)][0x0],_0x388ea5,this[_0x1184b6(0x15c)])}),this[_0x1184b6(0x164)][_0x1184b6(0x110)]=Pn(_0x1184b6(0x11f),_0x388ea5,this[_0x1184b6(0x15c)]),this[_0x1184b6(0x152)][_0x1184b6(0x110)]=Pn(_0x1184b6(0x11c),_0x388ea5,this[_0x1184b6(0x15c)]),this[_0x1184b6(0x14e)][_0x1184b6(0x110)]=Pn(_0x1184b6(0x135),_0x388ea5,this[_0x1184b6(0x15c)]);}}class Nn extends _0x16bacd{[_0x1e74fe(0x154)];[_0x1e74fe(0x15f)];[_0x1e74fe(0x151)];[_0x1e74fe(0x116)];constructor(_0x2bc30b,_0x432841){const _0x189375=_0x1e74fe;super(_0x2bc30b),this[_0x189375(0x15f)]=new _0x2626ad(this[_0x189375(0x147)]),this[_0x189375(0x154)]=new _0x53651a(this[_0x189375(0x147)]),this[_0x189375(0x154)][_0x189375(0x125)](),this[_0x189375(0x13e)](_0x189375(0x149),''),this[_0x189375(0x15f)][_0x189375(0x124)](_0x189375(0x119))['to'](this,_0x189375(0x149)),this[_0x189375(0x151)]=this[_0x189375(0x12b)](_0x432841[_0x189375(0x13d)][_0x189375(0x16a)](0x1)),this[_0x189375(0x154)][_0x189375(0x13c)](this[_0x189375(0x15f)]),this[_0x189375(0x15f)][_0x189375(0x126)][_0x189375(0x13c)](this[_0x189375(0x151)]),this[_0x189375(0x13f)][_0x189375(0x14d)](_0x189375(0x13a)),this[_0x189375(0x13f)][_0x189375(0x13e)](_0x189375(0x13a),_0x4df706(this[_0x189375(0x147)],_0x189375(0x163))),this[_0x189375(0x114)](),this['on'](_0x189375(0x138),()=>{const _0x20db85=_0x189375,_0x5300b4=_0x432841[_0x20db85(0x13d)][0x0][_0x20db85(0x162)];this[_0x20db85(0x11e)](_0x5300b4),this[_0x20db85(0x15f)][_0x20db85(0x15d)](),this[_0x20db85(0x13f)][_0x20db85(0x142)]();}),this['on'](_0x189375(0x10f),()=>{const _0x41ca76=_0x189375;this[_0x41ca76(0x15f)][_0x41ca76(0x130)]?(this[_0x41ca76(0x15f)][_0x41ca76(0x15d)](),this[_0x41ca76(0x13f)][_0x41ca76(0x142)]()):(this[_0x41ca76(0x15f)][_0x41ca76(0x133)]({'target':this[_0x41ca76(0x12d)],'positions':[_0x41ca76(0x158)===this[_0x41ca76(0x147)][_0x41ca76(0x15b)]?Gn:yn]}),this[_0x41ca76(0x151)][_0x41ca76(0x142)]());}),_0x1f7671({'emitter':this[_0x189375(0x15f)],'callback':()=>{const _0x3c9dfc=_0x189375;this[_0x3c9dfc(0x15f)][_0x3c9dfc(0x15d)]();},'activator':()=>this[_0x189375(0x15f)][_0x189375(0x130)],'contextElements':()=>[this[_0x189375(0x12d)],this[_0x189375(0x15f)][_0x189375(0x12d)]]});}[_0x1e74fe(0x12b)](_0x8e5df9){const _0x3aebed=_0x1e74fe,_0x273040=this[_0x3aebed(0x147)],_0x103229=new _0x1c58d3(_0x273040);for(const _0x2b3b5e of _0x8e5df9){const _0xfd50b9=new _0x3989fa(_0x273040),_0x23bd07=new _0x2a69a8(_0x273040);_0x23bd07[_0x3aebed(0x124)](...Object[_0x3aebed(0x155)](_0x2b3b5e))['to'](_0x2b3b5e),_0x23bd07[_0x3aebed(0x121)](_0x3aebed(0x138))['to'](_0x103229),_0xfd50b9[_0x3aebed(0x115)][_0x3aebed(0x13c)](_0x23bd07),_0x103229[_0x3aebed(0x160)][_0x3aebed(0x13c)](_0xfd50b9);}return _0x103229[_0x3aebed(0x160)][_0x3aebed(0x121)](_0x3aebed(0x138))['to'](this),_0x103229['on'](_0x3aebed(0x138),_0x319fdb=>{const _0x344fc6=_0x3aebed,_0x4c6848=_0x319fdb[_0x344fc6(0x117)];this[_0x344fc6(0x11e)](_0x4c6848[_0x344fc6(0x162)]),this[_0x344fc6(0x15f)][_0x344fc6(0x15d)](),this[_0x344fc6(0x13f)][_0x344fc6(0x142)]();}),_0x103229;}[_0x1e74fe(0x114)](){const _0x371524=_0x1e74fe;this[_0x371524(0x116)]=new _0x529826(),this[_0x371524(0x116)][_0x371524(0x16b)](this[_0x371524(0x15f)][_0x371524(0x12d)]),this[_0x371524(0x116)][_0x371524(0x13e)](_0x371524(0x131),(_0x5a5b3a,_0x4b22e3)=>{const _0x360938=_0x371524;this[_0x360938(0x15f)][_0x360938(0x15d)](),this[_0x360938(0x13f)][_0x360938(0x142)](),_0x4b22e3();});}[_0x1e74fe(0x136)](){const _0x2168b3=_0x1e74fe;super[_0x2168b3(0x136)](),this[_0x2168b3(0x116)][_0x2168b3(0x136)](),this[_0x2168b3(0x15f)][_0x2168b3(0x136)](),this[_0x2168b3(0x154)][_0x2168b3(0x12f)]();}}function Gn(_0x11cc33){const _0x40a7ac=_0x1e74fe;return{'top':_0x11cc33[_0x40a7ac(0x13b)],'left':_0x11cc33[_0x40a7ac(0x11a)],'name':_0x40a7ac(0x15e),'config':{'withArrow':!0x1}};}function yn(_0x5c2f65,_0x505a0f){const _0x71aebc=_0x1e74fe;return{'top':_0x5c2f65[_0x71aebc(0x13b)],'left':_0x5c2f65[_0x71aebc(0x11a)]-(_0x505a0f[_0x71aebc(0x12e)]-_0x5c2f65[_0x71aebc(0x12e)]),'name':_0x71aebc(0x15e),'config':{'withArrow':!0x1}};}function Pn(_0x42f0fb,_0x150f03,_0x4da59d){const _0x29477b=_0x1e74fe;switch(_0x42f0fb){case _0x29477b(0x11f):return _0x4df706(_0x150f03,_0x29477b(0x120),_0x4da59d);case _0x29477b(0x11c):return _0x4df706(_0x150f03,_0x29477b(0x12c),_0x4da59d);case _0x29477b(0x135):return _0x4df706(_0x150f03,_0x29477b(0x159),_0x4da59d);}}function Hn(_0x297ad8,_0x56d1b1,_0x20f110){const _0x1a2c5a=_0x1e74fe;switch(_0x297ad8){case _0x1a2c5a(0x11f):return _0x4df706(_0x56d1b1,_0x1a2c5a(0x167),_0x20f110);case _0x1a2c5a(0x11c):return _0x4df706(_0x56d1b1,_0x1a2c5a(0x123),_0x20f110);case _0x1a2c5a(0x135):return _0x4df706(_0x56d1b1,_0x1a2c5a(0x148),_0x20f110);}}
23
+ const _0x1c533c=_0x472f;(function(_0x1b0698,_0x2232de){const _0x3cf1e7=_0x472f,_0x540661=_0x1b0698();while(!![]){try{const _0xdc30a=-parseInt(_0x3cf1e7(0xee))/0x1+parseInt(_0x3cf1e7(0xeb))/0x2+parseInt(_0x3cf1e7(0xfd))/0x3*(parseInt(_0x3cf1e7(0xd2))/0x4)+parseInt(_0x3cf1e7(0xd4))/0x5+-parseInt(_0x3cf1e7(0xe9))/0x6*(parseInt(_0x3cf1e7(0xff))/0x7)+parseInt(_0x3cf1e7(0xb6))/0x8*(parseInt(_0x3cf1e7(0xac))/0x9)+-parseInt(_0x3cf1e7(0xb2))/0xa;if(_0xdc30a===_0x2232de)break;else _0x540661['push'](_0x540661['shift']());}catch(_0x21949a){_0x540661['push'](_0x540661['shift']());}}}(_0x2c9f,0x77cff));import{KeystrokeHandler as _0x417d87}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x50855f,BodyCollection as _0x4e3d26,ButtonView as _0x41d38b,clickOutsideHandler as _0x189f14,ListItemButtonView as _0x2ec330,ListItemView as _0x5c1c4d,ListView as _0x378e81,SplitButtonView as _0x34e1e5,UIModel as _0x314083,View as _0x270230}from'ckeditor5/src/ui.js';import{IconCheck as _0x679e,IconAddComment as _0x380222,IconDocumentWithLoupe as _0x4fed18}from'ckeditor5/src/icons.js';import{getTranslation as _0x3df7d3}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x1c533c(0xb3),_0x1c533c(0xb0),_0x1c533c(0x101)];export class AIChatFeedSuggestionItemActionsView extends _0x270230{[_0x1c533c(0xbe)];[_0x1c533c(0xf7)];[_0x1c533c(0xdc)];[_0x1c533c(0xd5)];[_0x1c533c(0xfc)];[_0x1c533c(0xc8)]=0x1;[_0x1c533c(0xd3)];[_0x1c533c(0xc0)];[_0x1c533c(0xaf)]=!0x0;constructor(_0x5334e1,_0x5ea99a){const _0xa56477=_0x1c533c;super(_0x5334e1),this[_0xa56477(0xd3)]=_0x5ea99a||[...AI_REPLY_ACTIONS],this[_0xa56477(0xc0)]=[...this[_0xa56477(0xd3)]];const _0x4e42b0=this[_0xa56477(0xfa)];this[_0xa56477(0xdf)](_0xa56477(0xb8),!0x0),this[_0xa56477(0xdf)](_0xa56477(0xdd),!0x0),this[_0xa56477(0xdf)](_0xa56477(0xa8),!0x1),this[_0xa56477(0xdc)]=new _0x314083({'label':Pn(_0xa56477(0xb3),_0x5334e1,this[_0xa56477(0xc8)]),'icon':_0x679e,'withText':!0x0,'type':_0xa56477(0xe3),'actionName':_0xa56477(0xb3)}),this[_0xa56477(0xd5)]=new _0x314083({'label':Pn(_0xa56477(0x101),_0x5334e1,this[_0xa56477(0xc8)]),'icon':_0x4fed18,'withText':!0x0,'type':_0xa56477(0xe3),'actionName':_0xa56477(0x101)}),this[_0xa56477(0xfc)]=new _0x314083({'label':Pn(_0xa56477(0xb0),_0x5334e1,this[_0xa56477(0xc8)]),'icon':_0x380222,'withText':!0x0,'type':_0xa56477(0xe3),'actionName':_0xa56477(0xb0)}),this[_0xa56477(0xbe)]=this[_0xa56477(0xea)](_0x5334e1),this[_0xa56477(0xf7)]=this[_0xa56477(0xd1)](),this[_0xa56477(0xbe)]&&this[_0xa56477(0xf7)][_0xa56477(0xcc)](this[_0xa56477(0xbe)]),this[_0xa56477(0xbb)]({'tag':_0xa56477(0xa3),'attributes':{'class':['ck',_0xa56477(0xcb),_0x4e42b0['if'](_0xa56477(0xdd),_0xa56477(0xa2),_0x1b84c3=>!_0x1b84c3)]},'children':this[_0xa56477(0xf7)]}),this['on'](_0xa56477(0xb1),()=>{const _0x103207=_0xa56477;this[_0x103207(0xc0)]=this[_0x103207(0xa8)]?this[_0x103207(0xd3)][_0x103207(0xdb)](_0x512ba3=>_0x103207(0xb3)!==_0x512ba3):[...this[_0x103207(0xd3)]],this[_0x103207(0xec)](_0x5334e1);});}[_0x1c533c(0xec)](_0xbfdc48){const _0x4e1602=_0x1c533c;this[_0x4e1602(0xbe)]&&this[_0x4e1602(0xf7)][_0x4e1602(0xa4)](this[_0x4e1602(0xbe)])&&(this[_0x4e1602(0xf7)][_0x4e1602(0xa7)](this[_0x4e1602(0xbe)]),this[_0x4e1602(0xbe)][_0x4e1602(0xf2)]()),this[_0x4e1602(0xbe)]=this[_0x4e1602(0xea)](_0xbfdc48),this[_0x4e1602(0xbe)]&&this[_0x4e1602(0xf7)][_0x4e1602(0xcc)](this[_0x4e1602(0xbe)]);}[_0x1c533c(0xea)](_0x22a63e){const _0x5b00e5=_0x1c533c;if(0x0==this[_0x5b00e5(0xc0)][_0x5b00e5(0xc6)])return null;const _0xc231cb=0x1===this[_0x5b00e5(0xc0)][_0x5b00e5(0xc6)]?this[_0x5b00e5(0xd9)](_0x22a63e):this[_0x5b00e5(0xf6)](_0x22a63e),_0xd9cf0b=this[_0x5b00e5(0xaf)]?'':_0x5b00e5(0xb5);_0xc231cb[_0x5b00e5(0xdf)]({'label':Pn(this[_0x5b00e5(0xc0)][0x0],_0x22a63e,this[_0x5b00e5(0xc8)]),'tooltip':Hn(this[_0x5b00e5(0xc0)][0x0],_0x22a63e,this[_0x5b00e5(0xc8)]),'withText':!0x0,'class':_0x5b00e5(0xed)+_0xd9cf0b});for(const _0x43b29c of this[_0x5b00e5(0xc0)])_0xc231cb['on'](_0x43b29c,()=>{const _0x2976d3=_0x5b00e5;this[_0x2976d3(0xa5)](_0x43b29c);});return this[_0x5b00e5(0xaf)]=!0x1,_0xc231cb;}[_0x1c533c(0xd9)](_0x5878bf){const _0x3d5b21=_0x1c533c,_0x4116e9=new _0x41d38b(_0x5878bf);return _0x4116e9[_0x3d5b21(0xdf)]({'class':_0x3d5b21(0xb7),'withText':!0x0}),_0x4116e9['on'](_0x3d5b21(0xca),()=>{const _0x3c78ff=_0x3d5b21;_0x4116e9[_0x3c78ff(0xa5)](this[_0x3c78ff(0xc0)][0x0]);}),_0x4116e9;}[_0x1c533c(0xf6)](_0x31c5cb){const _0xa8d559=_0x1c533c,_0x51f591=new Nn(_0x31c5cb,{'listItemModels':this[_0xa8d559(0xc0)][_0xa8d559(0xad)](_0x161710=>{const _0x2f8b06=_0xa8d559;switch(_0x161710){case _0x2f8b06(0xb3):return this[_0x2f8b06(0xdc)];case _0x2f8b06(0x101):return this[_0x2f8b06(0xd5)];case _0x2f8b06(0xb0):return this[_0x2f8b06(0xfc)];}})});return _0x51f591[_0xa8d559(0xdf)]({'label':Pn(this[_0xa8d559(0xc0)][0x0],_0x31c5cb,this[_0xa8d559(0xc8)]),'tooltip':Hn(this[_0xa8d559(0xc0)][0x0],_0x31c5cb,this[_0xa8d559(0xc8)]),'withText':!0x0,'class':_0xa8d559(0xcb),'balloonPanelClass':_0xa8d559(0xd8)}),_0x51f591[_0xa8d559(0xe0)](_0xa8d559(0xb8))['to'](this),_0x51f591;}[_0x1c533c(0xe4)](_0x338857){const _0x262c37=_0x1c533c,_0x58ea7e=this[_0x262c37(0x100)];this[_0x262c37(0xc8)]=_0x338857||this[_0x262c37(0xc8)],this[_0x262c37(0xbe)][_0x262c37(0xdf)]({'label':Pn(this[_0x262c37(0xc0)][0x0],_0x58ea7e,this[_0x262c37(0xc8)]),'tooltip':Hn(this[_0x262c37(0xc0)][0x0],_0x58ea7e,this[_0x262c37(0xc8)])}),this[_0x262c37(0xdc)][_0x262c37(0xa6)]=Pn(_0x262c37(0xb3),_0x58ea7e,this[_0x262c37(0xc8)]),this[_0x262c37(0xd5)][_0x262c37(0xa6)]=Pn(_0x262c37(0x101),_0x58ea7e,this[_0x262c37(0xc8)]),this[_0x262c37(0xfc)][_0x262c37(0xa6)]=Pn(_0x262c37(0xb0),_0x58ea7e,this[_0x262c37(0xc8)]);}}function _0x472f(_0x44e891,_0x5b2cc7){const _0x2c9f96=_0x2c9f();return _0x472f=function(_0x472f79,_0x274c33){_0x472f79=_0x472f79-0xa2;let _0x89ec1b=_0x2c9f96[_0x472f79];return _0x89ec1b;},_0x472f(_0x44e891,_0x5b2cc7);}class Nn extends _0x34e1e5{[_0x1c533c(0xcf)];[_0x1c533c(0xda)];[_0x1c533c(0xf8)];[_0x1c533c(0xe7)];constructor(_0x3bac4d,_0x355d1f){const _0x4d3675=_0x1c533c;super(_0x3bac4d),this[_0x4d3675(0xda)]=new _0x50855f(this[_0x4d3675(0x100)]),this[_0x4d3675(0xcf)]=new _0x4e3d26(this[_0x4d3675(0x100)]),this[_0x4d3675(0xcf)][_0x4d3675(0xde)](),this[_0x4d3675(0xdf)](_0x4d3675(0xc9),''),this[_0x4d3675(0xda)][_0x4d3675(0xe0)](_0x4d3675(0xe2))['to'](this,_0x4d3675(0xc9)),this[_0x4d3675(0xf8)]=this[_0x4d3675(0xc1)](_0x355d1f[_0x4d3675(0xba)][_0x4d3675(0xaa)](0x1)),this[_0x4d3675(0xcf)][_0x4d3675(0xcc)](this[_0x4d3675(0xda)]),this[_0x4d3675(0xda)][_0x4d3675(0xc5)][_0x4d3675(0xcc)](this[_0x4d3675(0xf8)]),this[_0x4d3675(0xbd)][_0x4d3675(0xc3)](_0x4d3675(0xb9)),this[_0x4d3675(0xbd)][_0x4d3675(0xdf)](_0x4d3675(0xb9),_0x3df7d3(this[_0x4d3675(0x100)],_0x4d3675(0xf4))),this[_0x4d3675(0xab)](),this['on'](_0x4d3675(0xca),()=>{const _0x506e81=_0x4d3675,_0x5eff35=_0x355d1f[_0x506e81(0xba)][0x0][_0x506e81(0xa9)];this[_0x506e81(0xa5)](_0x5eff35),this[_0x506e81(0xda)][_0x506e81(0xfb)](),this[_0x506e81(0xbd)][_0x506e81(0xd7)]();}),this['on'](_0x4d3675(0xf3),()=>{const _0x38a280=_0x4d3675;this[_0x38a280(0xda)][_0x38a280(0xdd)]?(this[_0x38a280(0xda)][_0x38a280(0xfb)](),this[_0x38a280(0xbd)][_0x38a280(0xd7)]()):(this[_0x38a280(0xda)][_0x38a280(0xe6)]({'target':this[_0x38a280(0xf0)],'positions':[_0x38a280(0xc2)===this[_0x38a280(0x100)][_0x38a280(0xcd)]?Gn:yn]}),this[_0x38a280(0xf8)][_0x38a280(0xd7)]());}),_0x189f14({'emitter':this[_0x4d3675(0xda)],'callback':()=>{const _0x2daa4c=_0x4d3675;this[_0x2daa4c(0xda)][_0x2daa4c(0xfb)]();},'activator':()=>this[_0x4d3675(0xda)][_0x4d3675(0xdd)],'contextElements':()=>[this[_0x4d3675(0xf0)],this[_0x4d3675(0xda)][_0x4d3675(0xf0)]]});}[_0x1c533c(0xc1)](_0x5bd783){const _0x43eec3=_0x1c533c,_0x1c3d84=this[_0x43eec3(0x100)],_0x17c11b=new _0x378e81(_0x1c3d84);for(const _0x41d4a6 of _0x5bd783){const _0x1d4342=new _0x5c1c4d(_0x1c3d84),_0x1f43a4=new _0x2ec330(_0x1c3d84);_0x1f43a4[_0x43eec3(0xe0)](...Object[_0x43eec3(0xf9)](_0x41d4a6))['to'](_0x41d4a6),_0x1f43a4[_0x43eec3(0xf5)](_0x43eec3(0xca))['to'](_0x17c11b),_0x1d4342[_0x43eec3(0xf7)][_0x43eec3(0xcc)](_0x1f43a4),_0x17c11b[_0x43eec3(0xd6)][_0x43eec3(0xcc)](_0x1d4342);}return _0x17c11b[_0x43eec3(0xd6)][_0x43eec3(0xf5)](_0x43eec3(0xca))['to'](this),_0x17c11b['on'](_0x43eec3(0xca),_0xa45e5d=>{const _0x25cbac=_0x43eec3,_0x4d1dec=_0xa45e5d[_0x25cbac(0xc4)];this[_0x25cbac(0xa5)](_0x4d1dec[_0x25cbac(0xa9)]),this[_0x25cbac(0xda)][_0x25cbac(0xfb)](),this[_0x25cbac(0xbd)][_0x25cbac(0xd7)]();}),_0x17c11b;}[_0x1c533c(0xab)](){const _0x536d43=_0x1c533c;this[_0x536d43(0xe7)]=new _0x417d87(),this[_0x536d43(0xe7)][_0x536d43(0xd0)](this[_0x536d43(0xda)][_0x536d43(0xf0)]),this[_0x536d43(0xe7)][_0x536d43(0xdf)](_0x536d43(0xef),(_0x2b6941,_0x550cda)=>{const _0x197919=_0x536d43;this[_0x197919(0xda)][_0x197919(0xfb)](),this[_0x197919(0xbd)][_0x197919(0xd7)](),_0x550cda();});}[_0x1c533c(0xf2)](){const _0x2e75f5=_0x1c533c;super[_0x2e75f5(0xf2)](),this[_0x2e75f5(0xe7)][_0x2e75f5(0xf2)](),this[_0x2e75f5(0xda)][_0x2e75f5(0xf2)](),this[_0x2e75f5(0xcf)][_0x2e75f5(0xae)]();}}function Gn(_0x2508e0){const _0x35f87e=_0x1c533c;return{'top':_0x2508e0[_0x35f87e(0xe1)],'left':_0x2508e0[_0x35f87e(0xe5)],'name':_0x35f87e(0xbc),'config':{'withArrow':!0x1}};}function _0x2c9f(){const _0x5b3288=['3916070mutGzZ','applySuggestion','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions--no-animation','4600rWiQyW','ck-ai-button-primary','isEnabled','tooltip','listItemModels','setTemplate','arrowless','arrowView','actionsButton','width','_dropdownCurrentConfig','_setUpList','ltr','unbind','source','content','length','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_partsCount','balloonPanelClass','execute','ck-ai-chat__feed__ai-suggestion__actions','add','uiLanguageDirection','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','bodyCollection','listenTo','createCollection','3590868RVULZD','_dropdownOriginalConfig','2511170ANAqtN','showChangeInTextModel','items','focus','ck-ai-chat__feed__ai-suggestion__actions__balloon','_createActionsButton','balloonPanelView','filter','applySuggestionModel','isVisible','attachToDom','set','bind','bottom','class','button','updateLabels','left','pin','keystrokeHandler','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','18SsXSdp','_createActionsDropdownOrButton','1383048fjDaXf','_updateDropdownActions','ck-ai-chat__feed__ai-suggestion__actions\x20','343563zUzyqM','esc','element','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','destroy','open','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','delegate','_createActionsDropdown','children','listView','keys','bindTemplate','hide','insertSuggestionModel','3exoaaL','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','2047801lwYAnW','locale','showChangeInText','ck-hidden','div','has','fire','label','remove','isTrackChangesOn','actionName','slice','_setUpKeystrokes','189qeLMns','map','detachFromDom','_firstRender','insertSuggestion','change:isTrackChangesOn'];_0x2c9f=function(){return _0x5b3288;};return _0x2c9f();}function yn(_0x25b012,_0x4df08b){const _0x2f1d91=_0x1c533c;return{'top':_0x25b012[_0x2f1d91(0xe1)],'left':_0x25b012[_0x2f1d91(0xe5)]-(_0x4df08b[_0x2f1d91(0xbf)]-_0x25b012[_0x2f1d91(0xbf)]),'name':_0x2f1d91(0xbc),'config':{'withArrow':!0x1}};}function Pn(_0x231c5f,_0x3a9da8,_0xe58afb){const _0x143942=_0x1c533c;switch(_0x231c5f){case _0x143942(0xb3):return _0x3df7d3(_0x3a9da8,_0x143942(0xe8),_0xe58afb);case _0x143942(0x101):return _0x3df7d3(_0x3a9da8,_0x143942(0xf1),_0xe58afb);case _0x143942(0xb0):return _0x3df7d3(_0x3a9da8,_0x143942(0xfe),_0xe58afb);}}function Hn(_0x2c6715,_0x103b42,_0x590d59){const _0x466bd9=_0x1c533c;switch(_0x2c6715){case _0x466bd9(0xb3):return _0x3df7d3(_0x103b42,_0x466bd9(0xce),_0x590d59);case _0x466bd9(0x101):return _0x3df7d3(_0x103b42,_0x466bd9(0xc7),_0x590d59);case _0x466bd9(0xb0):return _0x3df7d3(_0x103b42,_0x466bd9(0xb4),_0x590d59);}}