@ckeditor/ckeditor5-ai 47.2.0-alpha.3 → 47.2.0-alpha.5

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 (129) 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/model/aichatmodels.js +1 -1
  35. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  36. package/src/aichat/ui/aichatfeedview.js +1 -1
  37. package/src/aichat/ui/aichatheaderview.js +1 -1
  38. package/src/aichat/ui/aichatview.js +1 -1
  39. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  43. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  46. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  51. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  58. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  59. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  60. package/src/aichat/utils/eventnames.js +1 -1
  61. package/src/aichat/utils/promisequeue.js +1 -1
  62. package/src/aichat/utils/scrollmanager.js +1 -1
  63. package/src/aichathistory/aichathistory.js +1 -1
  64. package/src/aichathistory/aichathistorycontroller.js +1 -1
  65. package/src/aichathistory/aichathistoryui.js +1 -1
  66. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  67. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  68. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  69. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  70. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  71. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  72. package/src/aicore/aiconnector.js +1 -1
  73. package/src/aicore/aiediting.js +1 -1
  74. package/src/aicore/model/aicapabilities.js +1 -1
  75. package/src/aicore/model/aiinteraction.js +1 -1
  76. package/src/aicore/model/aimodels.js +1 -1
  77. package/src/aicore/model/aireply.js +1 -1
  78. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  79. package/src/aicore/pipeline/airesponseparser.js +2 -2
  80. package/src/aicore/ui/aidisclaimerview.js +1 -1
  81. package/src/aicore/ui/aiskeleton.js +1 -1
  82. package/src/aicore/ui/aispinner.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  87. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  88. package/src/aicore/utils/createresizebutton.js +1 -1
  89. package/src/aicore/utils/documentrange.js +1 -1
  90. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  91. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  92. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  93. package/src/aicore/utils/htmlparser.js +1 -1
  94. package/src/aicore/utils/htmlstreamer.js +1 -1
  95. package/src/aieditorintegration/aieditorintegration.js +1 -1
  96. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  97. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  98. package/src/aiquickactions/aiquickactions.js +1 -1
  99. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  100. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  101. package/src/aiquickactions/aiquickactionsui.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  103. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  104. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  105. package/src/aireviewmode/aireviewmode.js +1 -1
  106. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  107. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  108. package/src/aireviewmode/aireviewmodeui.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  110. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  112. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  113. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  114. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  123. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  124. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  125. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  126. package/src/aitabs/aitabs.js +1 -1
  127. package/src/aitabs/tabs/aitabsview.js +1 -1
  128. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  129. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58c0bc=_0x120a;(function(_0x13ce0d,_0x24083f){const _0x5b8559=_0x120a,_0x210d07=_0x13ce0d();while(!![]){try{const _0x1c6b94=-parseInt(_0x5b8559(0x181))/0x1+-parseInt(_0x5b8559(0x188))/0x2+-parseInt(_0x5b8559(0x187))/0x3*(-parseInt(_0x5b8559(0x17a))/0x4)+parseInt(_0x5b8559(0x18d))/0x5*(parseInt(_0x5b8559(0x185))/0x6)+-parseInt(_0x5b8559(0x180))/0x7+-parseInt(_0x5b8559(0x18c))/0x8+-parseInt(_0x5b8559(0x18a))/0x9*(-parseInt(_0x5b8559(0x175))/0xa);if(_0x1c6b94===_0x24083f)break;else _0x210d07['push'](_0x210d07['shift']());}catch(_0x30fde1){_0x210d07['push'](_0x210d07['shift']());}}}(_0x555e,0xaa988));import{ButtonView as _0x387570,View as _0x4cda06}from'ckeditor5/src/ui.js';function _0x120a(_0x528e38,_0x405bd2){const _0x555ebf=_0x555e();return _0x120a=function(_0x120ad3,_0x43d8a7){_0x120ad3=_0x120ad3-0x174;let _0x57a64c=_0x555ebf[_0x120ad3];return _0x57a64c;},_0x120a(_0x528e38,_0x405bd2);}import{IconStop as _0x37b352}from'ckeditor5/src/icons.js';import{getTranslation as _0x45fe44}from'../../../aicore/utils/common-translations.js';function _0x555e(){const _0x5a6f5f=['ck-ai-chat-controls-loader-wrapper','ck-ai-chat-controls-loader-icon','set','913766TZZkxd','476233XNrCIv','ck-ai-chat-controls-loader','fire','ck-ai-chat-controls-loader-icon-dot','1773186IhxJei','execute','33fyidAk','2237134yDoAAv','_cancelButtonView','1656atFAwI','AI_CHAT_STOP_GENERATING','10362152gTWqPP','15SbCKvN','_loaderView','div','locale','setTemplate','82430FLdLaa','ck-reset_all','_createCancelButtonView','abortPromptStream','_createLoaderView','478568cNLrBv','ck-ai-button-secondary\x20ck-ai-button-stop-generating','AI_CHAT_IS_WRITING'];_0x555e=function(){return _0x5a6f5f;};return _0x555e();}export class AIChatControlsLoaderView extends _0x4cda06{[_0x58c0bc(0x189)];[_0x58c0bc(0x18e)];constructor(_0x3fcf64){const _0x3a3a8b=_0x58c0bc;super(_0x3fcf64),this[_0x3a3a8b(0x189)]=this[_0x3a3a8b(0x177)](),this[_0x3a3a8b(0x18e)]=this[_0x3a3a8b(0x179)](),this[_0x3a3a8b(0x174)]({'tag':_0x3a3a8b(0x18f),'attributes':{'class':['ck',_0x3a3a8b(0x17d),_0x3a3a8b(0x176)]},'children':[this[_0x3a3a8b(0x18e)],this[_0x3a3a8b(0x189)]]});}[_0x58c0bc(0x177)](){const _0x32db93=_0x58c0bc,_0x23ce53=new _0x387570(this[_0x32db93(0x190)]);return _0x23ce53[_0x32db93(0x17f)]({'label':_0x45fe44(this[_0x32db93(0x190)],_0x32db93(0x18b)),'withText':!0x0,'class':_0x32db93(0x17b),'icon':_0x37b352}),_0x23ce53['on'](_0x32db93(0x186),()=>{const _0x4925d7=_0x32db93;this[_0x4925d7(0x183)](_0x4925d7(0x178));}),_0x23ce53;}[_0x58c0bc(0x179)](){const _0x2b13a8=_0x58c0bc,_0x479c64=new _0x4cda06(this[_0x2b13a8(0x190)]);return _0x479c64[_0x2b13a8(0x174)]({'tag':_0x2b13a8(0x18f),'attributes':{'class':[_0x2b13a8(0x182)]},'children':[{'tag':_0x2b13a8(0x18f),'attributes':{'class':[_0x2b13a8(0x17e)]},'children':[{'tag':_0x2b13a8(0x18f),'attributes':{'class':[_0x2b13a8(0x184)]}},{'tag':_0x2b13a8(0x18f),'attributes':{'class':[_0x2b13a8(0x184)]}},{'tag':_0x2b13a8(0x18f),'attributes':{'class':[_0x2b13a8(0x184)]}}]},{'text':_0x45fe44(this[_0x2b13a8(0x190)],_0x2b13a8(0x17c))}]}),_0x479c64;}}
23
+ const _0x4372a5=_0x38fe;function _0x38fe(_0x3279d9,_0x1107ae){const _0x4bcfde=_0x4bcf();return _0x38fe=function(_0x38febf,_0x1ac3a5){_0x38febf=_0x38febf-0xab;let _0x483361=_0x4bcfde[_0x38febf];return _0x483361;},_0x38fe(_0x3279d9,_0x1107ae);}(function(_0x1d3cd9,_0x3884f7){const _0x593733=_0x38fe,_0xaa1505=_0x1d3cd9();while(!![]){try{const _0xcad7a5=-parseInt(_0x593733(0xba))/0x1+parseInt(_0x593733(0xb8))/0x2+-parseInt(_0x593733(0xb1))/0x3+parseInt(_0x593733(0xad))/0x4+-parseInt(_0x593733(0xbe))/0x5+parseInt(_0x593733(0xaf))/0x6+parseInt(_0x593733(0xbb))/0x7*(parseInt(_0x593733(0xb6))/0x8);if(_0xcad7a5===_0x3884f7)break;else _0xaa1505['push'](_0xaa1505['shift']());}catch(_0xe261aa){_0xaa1505['push'](_0xaa1505['shift']());}}}(_0x4bcf,0x3e9a7));function _0x4bcf(){const _0x226d4e=['fire','ck-ai-chat-controls-loader','ck-ai-chat-controls-loader-wrapper','1491632VCCuIQ','AI_CHAT_IS_WRITING','1326318taehLO','setTemplate','1385583uXEcnH','ck-ai-chat-controls-loader-icon-dot','AI_CHAT_STOP_GENERATING','abortPromptStream','ck-ai-button-secondary\x20ck-ai-button-stop-generating','214632XmzLbR','div','482qksHNl','_createCancelButtonView','109006LAvqyx','147lLkloG','ck-ai-chat-controls-loader-icon','_cancelButtonView','1651605HsySZF','ck-reset_all','execute','_createLoaderView','locale','_loaderView','set'];_0x4bcf=function(){return _0x226d4e;};return _0x4bcf();}import{ButtonView as _0x15de63,View as _0x12dd82}from'ckeditor5/src/ui.js';import{IconStop as _0x315f07}from'ckeditor5/src/icons.js';import{getTranslation as _0x244c79}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x12dd82{[_0x4372a5(0xbd)];[_0x4372a5(0xc3)];constructor(_0x5ea6d9){const _0x4b6819=_0x4372a5;super(_0x5ea6d9),this[_0x4b6819(0xbd)]=this[_0x4b6819(0xb9)](),this[_0x4b6819(0xc3)]=this[_0x4b6819(0xc1)](),this[_0x4b6819(0xb0)]({'tag':_0x4b6819(0xb7),'attributes':{'class':['ck',_0x4b6819(0xac),_0x4b6819(0xbf)]},'children':[this[_0x4b6819(0xc3)],this[_0x4b6819(0xbd)]]});}[_0x4372a5(0xb9)](){const _0x4895e6=_0x4372a5,_0x444dcd=new _0x15de63(this[_0x4895e6(0xc2)]);return _0x444dcd[_0x4895e6(0xc4)]({'label':_0x244c79(this[_0x4895e6(0xc2)],_0x4895e6(0xb3)),'withText':!0x0,'class':_0x4895e6(0xb5),'icon':_0x315f07}),_0x444dcd['on'](_0x4895e6(0xc0),()=>{const _0x208038=_0x4895e6;this[_0x208038(0xc5)](_0x208038(0xb4));}),_0x444dcd;}[_0x4372a5(0xc1)](){const _0x46a177=_0x4372a5,_0x4ae53c=new _0x12dd82(this[_0x46a177(0xc2)]);return _0x4ae53c[_0x46a177(0xb0)]({'tag':_0x46a177(0xb7),'attributes':{'class':[_0x46a177(0xab)]},'children':[{'tag':_0x46a177(0xb7),'attributes':{'class':[_0x46a177(0xbc)]},'children':[{'tag':_0x46a177(0xb7),'attributes':{'class':[_0x46a177(0xb2)]}},{'tag':_0x46a177(0xb7),'attributes':{'class':[_0x46a177(0xb2)]}},{'tag':_0x46a177(0xb7),'attributes':{'class':[_0x46a177(0xb2)]}}]},{'text':_0x244c79(this[_0x46a177(0xc2)],_0x46a177(0xae))}]}),_0x4ae53c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47b312=_0x1604;(function(_0x56b79e,_0x207e37){const _0x149e07=_0x1604,_0x557cc3=_0x56b79e();while(!![]){try{const _0x4909cd=parseInt(_0x149e07(0x182))/0x1*(parseInt(_0x149e07(0x189))/0x2)+parseInt(_0x149e07(0x1b6))/0x3+-parseInt(_0x149e07(0x1be))/0x4*(-parseInt(_0x149e07(0x18e))/0x5)+parseInt(_0x149e07(0x1c3))/0x6+-parseInt(_0x149e07(0x17b))/0x7+-parseInt(_0x149e07(0x197))/0x8+-parseInt(_0x149e07(0x188))/0x9;if(_0x4909cd===_0x207e37)break;else _0x557cc3['push'](_0x557cc3['shift']());}catch(_0x11e508){_0x557cc3['push'](_0x557cc3['shift']());}}}(_0x1c53,0x7cb96));import{Collection as _0x53453e}from'ckeditor5/src/utils.js';import{IconAI as _0x59ae6b,IconBulb as _0x5bfdcf,IconWeb as _0x52e2fb}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x2f020e,ButtonLabelView as _0x5ba16d,ButtonView as _0x560491,createDropdown as _0x2fe4bf,IconView as _0x19560b,UIModel as _0x4c0c17,View as _0x2b0a5e}from'ckeditor5/src/ui.js';import{getTranslation as _0x43a88a}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x44fbb1}from'../../../aicore/model/aimodels.js';const yo=_0x47b312(0x191),Lo=_0x47b312(0x176),Go=_0x47b312(0x1a6),Yo=_0x47b312(0x18f),qo=_0x47b312(0x1a3),zo=_0x47b312(0x1b3),Fo=_0x47b312(0x19d),Jo='n';function _0x1c53(){const _0x46defa=['_modelSelectionDropdown','bind','addMany','clear','createCollection','getLocalized','setModelList','Commands\x20are\x20not\x20implemented\x20yet.','model','_modelNameView','AI_CHAT_ENABLE_WEB_SEARCH','enabled','AI_CHAT_CAPABILITIES_YES','AI_CHAT_CAPABILITIES_NO','ck-ai-chat-controls-button','setModel','AI_CHAT_REASONING','button','startsWith','1158549mRNaPO','activeModelName','extendTemplate','content','name','bindTemplate','reasoningActive','7201SQXiQb','_createModelSelectionDropdown','_getCapabilityParts','capabilities','menuitemradio','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','11883789TjxPoF','138znBvXy','selectModel','reasoning','webSearch','setReasoning','5crRrpc','ck-ai-chat-controls__model-selection','toggleReasoning','ck-ai-chat__prompt-capabilities','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','buttonView','length','_webSearchButton','style','7516792nmlgPq','listenTo','AI_CHAT_ENABLE_REASONING','toLowerCase','AI_CHAT_COMMANDS','add','ck-ai-chat-controls__model-selection__item-capabilities','ck-hidden','_createWebSearchButton','span','tooltip','locale','ck-ai-chat-controls__model-selection__item-name','_modelSelectionDropdownItems','modelSelectorEnabled','ck-ai-chat-controls-button--commands','webSearchActive','_createReasoningButton','activeModelId','AI_CHAT_DISABLE_WEB_SEARCH','description','isOn','modelSelectorVisible','text','set','_commandsButton','agent','execute','ck-ai-chat-controls__model-selection__item-description','ck-button__label','setWebSearch','3058272diHdOg','ck-ai-chat-controls__model-name','_createModelNameView','source','withText','disableModelSelector','toggleWebSearch','div','1952012LGbXLk','enableModelSelector','isVisible','fire','AI_CHAT_DISABLE_REASONING','5592606GwWoUg','isEnabled','AI_CHAT_SEARCH_WEB','_reasoningButton','setTemplate','log','_createCommandsButton','label'];_0x1c53=function(){return _0x46defa;};return _0x1c53();}export class AIChatPromptCapabilitiesView extends _0x2b0a5e{[_0x47b312(0x195)];[_0x47b312(0x1c6)];[_0x47b312(0x1b0)];[_0x47b312(0x1cb)];[_0x47b312(0x1a4)];[_0x47b312(0x1d4)];constructor(_0x1e9899){const _0x4f8c21=_0x47b312;super(_0x1e9899),this[_0x4f8c21(0x1af)](_0x4f8c21(0x1a7),!0x1),this[_0x4f8c21(0x1af)](_0x4f8c21(0x181),!0x1),this[_0x4f8c21(0x1af)](_0x4f8c21(0x1ad),!0x0),this[_0x4f8c21(0x1af)](_0x4f8c21(0x1a5),!0x0),this[_0x4f8c21(0x1af)](_0x4f8c21(0x1a9),null),this[_0x4f8c21(0x1af)](_0x4f8c21(0x17c),null),this[_0x4f8c21(0x1cb)]=this[_0x4f8c21(0x183)](),this[_0x4f8c21(0x1d4)]=this[_0x4f8c21(0x1b8)](),this[_0x4f8c21(0x195)]=this[_0x4f8c21(0x19f)](),this[_0x4f8c21(0x1c6)]=this[_0x4f8c21(0x1a8)](),this[_0x4f8c21(0x1b0)]=this[_0x4f8c21(0x1c9)](),this[_0x4f8c21(0x1cb)][_0x4f8c21(0x193)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1c0))['to'](this,_0x4f8c21(0x1ad),_0x1113bd=>_0x1113bd),this[_0x4f8c21(0x1cb)][_0x4f8c21(0x193)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1a1))['to'](this,_0x4f8c21(0x1a5),_0x27ffe2=>_0x27ffe2?this[_0x4f8c21(0x1cb)][_0x4f8c21(0x193)][_0x4f8c21(0x1ca)]:_0x43a88a(this[_0x4f8c21(0x1a2)],_0x4f8c21(0x187))),this[_0x4f8c21(0x1cb)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1c4))['to'](this,_0x4f8c21(0x1a5),_0x7ee249=>_0x7ee249),this[_0x4f8c21(0x195)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1ac))['to'](this,_0x4f8c21(0x1a7),_0x2d22aa=>_0x2d22aa),this[_0x4f8c21(0x195)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1ba))['to'](this,_0x4f8c21(0x1ad),_0x2bdd02=>!_0x2bdd02),this[_0x4f8c21(0x195)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1a1))['to'](this,_0x4f8c21(0x1a7),_0x4a8f3f=>_0x43a88a(this[_0x4f8c21(0x1a2)],_0x4a8f3f?_0x4f8c21(0x1aa):_0x4f8c21(0x1d5))),this[_0x4f8c21(0x1c6)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1ac))['to'](this,_0x4f8c21(0x181),_0x5cce20=>_0x5cce20),this[_0x4f8c21(0x1c6)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1ba))['to'](this,_0x4f8c21(0x1ad),_0x4e0d45=>!_0x4e0d45),this[_0x4f8c21(0x1c6)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1a1))['to'](this,_0x4f8c21(0x181),_0x1e41f=>_0x43a88a(this[_0x4f8c21(0x1a2)],_0x1e41f?_0x4f8c21(0x1c2):_0x4f8c21(0x199))),this[_0x4f8c21(0x1c7)]({'tag':_0x4f8c21(0x1bd),'attributes':{'class':[yo]},'children':[this[_0x4f8c21(0x1cb)],this[_0x4f8c21(0x1d4)],this[_0x4f8c21(0x195)],this[_0x4f8c21(0x1c6)],this[_0x4f8c21(0x1b0)]]}),this[_0x4f8c21(0x1a4)]=new _0x53453e(),_0x2f020e(this[_0x4f8c21(0x1cb)],this[_0x4f8c21(0x1a4)]);}[_0x47b312(0x1d1)](_0xdb6078,_0x36ca0e){const _0x516e7a=_0x47b312;if(this[_0x516e7a(0x1af)](_0x516e7a(0x1ad),!(_0x36ca0e&&_0xdb6078[_0x516e7a(0x194)]<=0x1)),this[_0x516e7a(0x1a4)][_0x516e7a(0x1ce)](),_0xdb6078?.[_0x516e7a(0x194)]){const _0x5d8dc=_0x44fbb1[_0x516e7a(0x1d0)](this[_0x516e7a(0x1a2)],_0xdb6078);for(const _0x3e74d7 of _0x5d8dc){const _0x4d4829=new _0x4c0c17({'label':_0x3e74d7[_0x516e7a(0x17f)],'withText':!0x0,'role':_0x516e7a(0x186),'id':_0x3e74d7['id'],'model':_0x3e74d7});_0x4d4829[_0x516e7a(0x1cc)](_0x516e7a(0x1ac))['to'](this,_0x516e7a(0x1a9),_0x38cc36=>_0x38cc36===_0x3e74d7['id']),this[_0x516e7a(0x1a4)][_0x516e7a(0x19c)]({'type':_0x516e7a(0x179),'model':_0x4d4829,'labelView':new Ws(this[_0x516e7a(0x1a2)],_0x3e74d7)});}}}[_0x47b312(0x1b5)](_0x49f85a){const _0x299022=_0x47b312;this[_0x299022(0x1af)](_0x299022(0x1a7),_0x49f85a);}[_0x47b312(0x18d)](_0x191405){const _0x16d76c=_0x47b312;this[_0x16d76c(0x1af)](_0x16d76c(0x181),_0x191405);}[_0x47b312(0x177)](_0x2d713d){const _0x595598=_0x47b312;if(!_0x2d713d)return;this[_0x595598(0x1a9)]=_0x2d713d['id'],this[_0x595598(0x17c)]=_0x2d713d[_0x595598(0x17f)]||_0x2d713d['id'],this[_0x595598(0x1cb)][_0x595598(0x193)][_0x595598(0x1af)](_0x595598(0x1ca),_0x2d713d[_0x595598(0x17f)]),this[_0x595598(0x1cb)][_0x595598(0x193)][_0x595598(0x1af)](_0x595598(0x1a1),_0x2d713d[_0x595598(0x17f)]);const _0x49dd1c=_0x2d713d[_0x595598(0x185)][_0x595598(0x18c)]?.[_0x595598(0x173)]??!0x1;this[_0x595598(0x1af)](_0x595598(0x1a7),!0x1),this[_0x595598(0x195)][_0x595598(0x1af)](_0x595598(0x1ac),!0x1),this[_0x595598(0x195)][_0x595598(0x1af)](_0x595598(0x1c4),_0x49dd1c),this[_0x595598(0x195)][_0x595598(0x1af)](_0x595598(0x1c0),_0x49dd1c);const _0x2b0623=_0x2d713d[_0x595598(0x185)][_0x595598(0x18b)]?.[_0x595598(0x173)]??!0x1;this[_0x595598(0x1af)](_0x595598(0x181),!0x1),this[_0x595598(0x1c6)][_0x595598(0x1af)](_0x595598(0x1ac),!0x1),this[_0x595598(0x1c6)][_0x595598(0x1af)](_0x595598(0x1c4),_0x2b0623),this[_0x595598(0x1c6)][_0x595598(0x1af)](_0x595598(0x1c0),_0x2b0623);}[_0x47b312(0x1bf)](){const _0x5b5499=_0x47b312;this[_0x5b5499(0x1af)](_0x5b5499(0x1a5),!0x0),this[_0x5b5499(0x1af)](_0x5b5499(0x1ad),!0x0);}[_0x47b312(0x1bb)](_0x568d82){const _0x4359b4=_0x47b312;this[_0x4359b4(0x1af)](_0x4359b4(0x1a5),!0x1),_0x568d82&&this[_0x4359b4(0x1af)](_0x4359b4(0x1ad),!0x1);}[_0x47b312(0x19f)](){const _0x2c3d0a=_0x47b312,_0x4f6f80=new _0x560491();return _0x4f6f80[_0x2c3d0a(0x1af)]({'label':_0x43a88a(this[_0x2c3d0a(0x1a2)],_0x2c3d0a(0x1c5)),'icon':_0x52e2fb,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x4f6f80['on'](_0x2c3d0a(0x1b2),()=>{const _0x44ed78=_0x2c3d0a;this[_0x44ed78(0x1c1)](_0x44ed78(0x1bc));}),_0x4f6f80;}[_0x47b312(0x1a8)](){const _0x1dcbb4=_0x47b312,_0x5b287b=new _0x560491();return _0x5b287b[_0x1dcbb4(0x1af)]({'label':_0x43a88a(this[_0x1dcbb4(0x1a2)],_0x1dcbb4(0x178)),'icon':_0x5bfdcf,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x5b287b['on'](_0x1dcbb4(0x1b2),()=>{const _0x1cdef6=_0x1dcbb4;this[_0x1cdef6(0x1c1)](_0x1cdef6(0x190));}),_0x5b287b;}[_0x47b312(0x1c9)](){const _0x132ba4=_0x47b312,_0x241665=new _0x560491();return _0x241665[_0x132ba4(0x1af)]({'label':_0x43a88a(this[_0x132ba4(0x1a2)],_0x132ba4(0x19b)),'icon':_0x59ae6b,'withText':!0x0,'class':Lo,'isToggleable':!0x0,'tooltip':_0x43a88a(this[_0x132ba4(0x1a2)],_0x132ba4(0x19b)),'tooltipPosition':Jo}),_0x241665[_0x132ba4(0x17d)]({'attributes':{'class':[Go]}}),_0x241665['on'](_0x132ba4(0x1b2),()=>{const _0x8d0c36=_0x132ba4;console[_0x8d0c36(0x1c8)](_0x8d0c36(0x1d2)),alert(_0x8d0c36(0x1d2));}),_0x241665;}[_0x47b312(0x183)](){const _0x1b2f91=_0x47b312,_0x12b296=_0x2fe4bf(this[_0x1b2f91(0x1a2)]);return _0x12b296[_0x1b2f91(0x1af)]({'panelPosition':'ne','class':[Yo]}),_0x12b296[_0x1b2f91(0x193)][_0x1b2f91(0x1af)]({'label':_0x43a88a(this[_0x1b2f91(0x1a2)],_0x1b2f91(0x192)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Jo}),this[_0x1b2f91(0x198)](_0x12b296,_0x1b2f91(0x1b2),_0x32d82b=>{const _0x19610a=_0x1b2f91;this[_0x19610a(0x1c1)](_0x19610a(0x18a),_0x32d82b[_0x19610a(0x1b9)][_0x19610a(0x1d3)]);}),_0x12b296;}[_0x47b312(0x1b8)](){const _0x2593a9=_0x47b312,_0x187fa7=new Ko(this[_0x2593a9(0x1a2)]);return _0x187fa7[_0x2593a9(0x1cc)](_0x2593a9(0x1ae))['to'](this,_0x2593a9(0x17c),_0x425792=>_0x425792??''),_0x187fa7[_0x2593a9(0x1cc)](_0x2593a9(0x1c0))['to'](this,_0x2593a9(0x1ad),this,_0x2593a9(0x17c),(_0x212f7b,_0x4f97d4)=>!_0x212f7b&&!_0x4f97d4?.[_0x2593a9(0x19a)]()[_0x2593a9(0x17a)](_0x2593a9(0x1b1))),_0x187fa7;}}function _0x1604(_0x476334,_0x3aed38){const _0x1c53ee=_0x1c53();return _0x1604=function(_0x1604b4,_0x14c33b){_0x1604b4=_0x1604b4-0x173;let _0x8e464d=_0x1c53ee[_0x1604b4];return _0x8e464d;},_0x1604(_0x476334,_0x3aed38);}class Ws extends _0x5ba16d{constructor(_0x4dea9a,_0x38b66e){const _0x25de7a=_0x47b312;super();const _0x20d7ce=this[_0x25de7a(0x180)],_0x3190e0=this[_0x25de7a(0x1cf)]();this[_0x25de7a(0x1c7)]({'tag':_0x25de7a(0x1bd),'attributes':{'class':['ck',_0x25de7a(0x1b4)],'style':_0x20d7ce['to'](_0x25de7a(0x196)),'id':_0x20d7ce['to']('id')},'children':[{'tag':_0x25de7a(0x1bd),'attributes':{'class':[qo]},'children':[{'text':_0x20d7ce['to'](_0x25de7a(0x1ae))}]},{'tag':_0x25de7a(0x1bd),'attributes':{'class':[zo]},'children':[{'tag':_0x25de7a(0x1a0),'children':[{'text':_0x38b66e[_0x25de7a(0x1ab)]}]}]},{'tag':_0x25de7a(0x1bd),'attributes':{'class':[Fo]},'children':_0x3190e0}]}),_0x3190e0[_0x25de7a(0x1cd)](this[_0x25de7a(0x184)](_0x4dea9a,_0x52e2fb,_0x25de7a(0x1c5),_0x38b66e[_0x25de7a(0x185)][_0x25de7a(0x18c)]?.[_0x25de7a(0x173)]??!0x1)),_0x3190e0[_0x25de7a(0x1cd)](this[_0x25de7a(0x184)](_0x4dea9a,_0x5bfdcf,_0x25de7a(0x178),_0x38b66e[_0x25de7a(0x185)][_0x25de7a(0x18b)]?.[_0x25de7a(0x173)]??!0x1));}[_0x47b312(0x184)](_0x3fe17f,_0x3598fe,_0x25f3d5,_0x28263f){const _0x12ffd7=_0x47b312,_0x3450dd=new _0x19560b();_0x3450dd[_0x12ffd7(0x17e)]=_0x3598fe;const _0x1d656a=new _0x2b0a5e(_0x3fe17f);_0x1d656a[_0x12ffd7(0x1c7)]({'tag':_0x12ffd7(0x1a0),'children':[{'text':_0x43a88a(_0x3fe17f,_0x25f3d5)+':\x20'}]});const _0x481ae1=new _0x2b0a5e(_0x3fe17f);return _0x481ae1[_0x12ffd7(0x1c7)]({'tag':_0x12ffd7(0x1a0),'children':[{'text':_0x43a88a(_0x3fe17f,_0x28263f?_0x12ffd7(0x174):_0x12ffd7(0x175))}]}),[_0x3450dd,_0x1d656a,_0x481ae1];}}class Ko extends _0x2b0a5e{constructor(_0x9ed18c){const _0x24faf1=_0x47b312;super(_0x9ed18c),this[_0x24faf1(0x1af)](_0x24faf1(0x1ae),void 0x0),this[_0x24faf1(0x1af)](_0x24faf1(0x1c0),!0x0);const _0x152593=this[_0x24faf1(0x180)];this[_0x24faf1(0x1c7)]({'tag':_0x24faf1(0x1a0),'attributes':{'class':['ck',_0x24faf1(0x1b7),_0x152593['if'](_0x24faf1(0x1c0),_0x24faf1(0x19e),_0x189b90=>!_0x189b90)]},'children':[{'text':_0x152593['to'](_0x24faf1(0x1ae))}]});}}
23
+ const _0x414efb=_0x3960;(function(_0x563b09,_0x4fe6a1){const _0x350d9d=_0x3960,_0x13a4c8=_0x563b09();while(!![]){try{const _0x18b31f=parseInt(_0x350d9d(0xb5))/0x1*(parseInt(_0x350d9d(0xf0))/0x2)+-parseInt(_0x350d9d(0xf9))/0x3+-parseInt(_0x350d9d(0xf7))/0x4*(-parseInt(_0x350d9d(0x106))/0x5)+parseInt(_0x350d9d(0xcb))/0x6+-parseInt(_0x350d9d(0xec))/0x7*(parseInt(_0x350d9d(0xe0))/0x8)+parseInt(_0x350d9d(0xff))/0x9*(parseInt(_0x350d9d(0xe3))/0xa)+-parseInt(_0x350d9d(0xc4))/0xb*(parseInt(_0x350d9d(0xc9))/0xc);if(_0x18b31f===_0x4fe6a1)break;else _0x13a4c8['push'](_0x13a4c8['shift']());}catch(_0x53c724){_0x13a4c8['push'](_0x13a4c8['shift']());}}}(_0x8eb1,0x6fa01));function _0x3960(_0x18cd2d,_0x227486){const _0x8eb1ee=_0x8eb1();return _0x3960=function(_0x3960e3,_0x53da79){_0x3960e3=_0x3960e3-0xaf;let _0x4cc69c=_0x8eb1ee[_0x3960e3];return _0x4cc69c;},_0x3960(_0x18cd2d,_0x227486);}import{Collection as _0x295297}from'ckeditor5/src/utils.js';import{IconAI as _0x2d0afa,IconBulb as _0x385ee1,IconWeb as _0x3062b6}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x562200,ButtonLabelView as _0x228d81,ButtonView as _0x49cce3,createDropdown as _0x2a8e77,IconView as _0x3a0717,UIModel as _0x1f98fb,View as _0xb58125}from'ckeditor5/src/ui.js';import{getTranslation as _0x30f544}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x193fd5}from'../../../aicore/model/aimodels.js';const Wo=_0x414efb(0x101),bo=_0x414efb(0xb3),yo=_0x414efb(0xe5),Go=_0x414efb(0x10d),Yo=_0x414efb(0xed),qo=_0x414efb(0xc5),zo=_0x414efb(0x108),Jo='n';export class AIChatPromptCapabilitiesView extends _0xb58125{[_0x414efb(0x10f)];[_0x414efb(0x104)];[_0x414efb(0xde)];[_0x414efb(0x110)];[_0x414efb(0xe9)];[_0x414efb(0xb0)];constructor(_0x13c22){const _0x486554=_0x414efb;super(_0x13c22),this[_0x486554(0x100)](_0x486554(0xbd),!0x1),this[_0x486554(0x100)](_0x486554(0xc6),!0x1),this[_0x486554(0x100)](_0x486554(0xe1),!0x0),this[_0x486554(0x100)](_0x486554(0x105),!0x0),this[_0x486554(0x100)](_0x486554(0xd7),null),this[_0x486554(0x100)](_0x486554(0xf1),null),this[_0x486554(0x110)]=this[_0x486554(0x107)](),this[_0x486554(0xb0)]=this[_0x486554(0xe6)](),this[_0x486554(0x10f)]=this[_0x486554(0x10a)](),this[_0x486554(0x104)]=this[_0x486554(0x112)](),this[_0x486554(0xde)]=this[_0x486554(0x109)](),this[_0x486554(0x110)][_0x486554(0xdd)][_0x486554(0xf4)](_0x486554(0xbe))['to'](this,_0x486554(0xe1),_0x52deaf=>_0x52deaf),this[_0x486554(0x110)][_0x486554(0xdd)][_0x486554(0xf4)](_0x486554(0xf3))['to'](this,_0x486554(0x105),_0xbfa777=>_0xbfa777?this[_0x486554(0x110)][_0x486554(0xdd)][_0x486554(0xcf)]:_0x30f544(this[_0x486554(0x103)],_0x486554(0xd1))),this[_0x486554(0x110)][_0x486554(0xf4)](_0x486554(0xc0))['to'](this,_0x486554(0x105),_0xe49103=>_0xe49103),this[_0x486554(0x10f)][_0x486554(0xf4)](_0x486554(0xb7))['to'](this,_0x486554(0xbd),_0x33a95b=>_0x33a95b),this[_0x486554(0x10f)][_0x486554(0xf4)](_0x486554(0xb1))['to'](this,_0x486554(0xe1),_0x14e7e3=>!_0x14e7e3),this[_0x486554(0x10f)][_0x486554(0xf4)](_0x486554(0xf3))['to'](this,_0x486554(0xbd),_0x417393=>_0x30f544(this[_0x486554(0x103)],_0x417393?_0x486554(0xef):_0x486554(0xaf))),this[_0x486554(0x104)][_0x486554(0xf4)](_0x486554(0xb7))['to'](this,_0x486554(0xc6),_0x33eada=>_0x33eada),this[_0x486554(0x104)][_0x486554(0xf4)](_0x486554(0xb1))['to'](this,_0x486554(0xe1),_0x3265f0=>!_0x3265f0),this[_0x486554(0x104)][_0x486554(0xf4)](_0x486554(0xf3))['to'](this,_0x486554(0xc6),_0x3b7e1a=>_0x30f544(this[_0x486554(0x103)],_0x3b7e1a?_0x486554(0xb2):_0x486554(0xdf))),this[_0x486554(0x10b)]({'tag':_0x486554(0xce),'attributes':{'class':[Wo]},'children':[this[_0x486554(0x110)],this[_0x486554(0xb0)],this[_0x486554(0x10f)],this[_0x486554(0x104)],this[_0x486554(0xde)]]}),this[_0x486554(0xe9)]=new _0x295297(),_0x562200(this[_0x486554(0x110)],this[_0x486554(0xe9)]);}[_0x414efb(0xfb)](_0x5cb140,_0x22415a){const _0x584ec1=_0x414efb;if(this[_0x584ec1(0x100)](_0x584ec1(0xe1),!(_0x22415a&&_0x5cb140[_0x584ec1(0xd6)]<=0x1)),this[_0x584ec1(0xe9)][_0x584ec1(0xfe)](),_0x5cb140?.[_0x584ec1(0xd6)]){const _0x312b2f=_0x193fd5[_0x584ec1(0xba)](this[_0x584ec1(0x103)],_0x5cb140);for(const _0x2d8662 of _0x312b2f){const _0x4c14f5=new _0x1f98fb({'label':_0x2d8662[_0x584ec1(0xc1)],'withText':!0x0,'role':_0x584ec1(0xd2),'id':_0x2d8662['id'],'model':_0x2d8662});_0x4c14f5[_0x584ec1(0xf4)](_0x584ec1(0xb7))['to'](this,_0x584ec1(0xd7),_0x534fcf=>_0x534fcf===_0x2d8662['id']),this[_0x584ec1(0xe9)][_0x584ec1(0xee)]({'type':_0x584ec1(0xc3),'model':_0x4c14f5,'labelView':new Gs(this[_0x584ec1(0x103)],_0x2d8662)});}}}[_0x414efb(0xfd)](_0x1a03ef){const _0x344344=_0x414efb;this[_0x344344(0x100)](_0x344344(0xbd),_0x1a03ef);}[_0x414efb(0xd8)](_0x8c2bd3){const _0x46228e=_0x414efb;this[_0x46228e(0x100)](_0x46228e(0xc6),_0x8c2bd3);}[_0x414efb(0xf2)](_0x368857){const _0xa16518=_0x414efb;if(!_0x368857)return;this[_0xa16518(0xd7)]=_0x368857['id'],this[_0xa16518(0xf1)]=_0x368857[_0xa16518(0xc1)]||_0x368857['id'],this[_0xa16518(0x110)][_0xa16518(0xdd)][_0xa16518(0x100)](_0xa16518(0xcf),_0x368857[_0xa16518(0xc1)]),this[_0xa16518(0x110)][_0xa16518(0xdd)][_0xa16518(0x100)](_0xa16518(0xf3),_0x368857[_0xa16518(0xc1)]);const _0x4471f6=_0x368857[_0xa16518(0xd4)][_0xa16518(0xca)]?.[_0xa16518(0xd9)]??!0x1;this[_0xa16518(0x100)](_0xa16518(0xbd),!0x1),this[_0xa16518(0x10f)][_0xa16518(0x100)](_0xa16518(0xb7),!0x1),this[_0xa16518(0x10f)][_0xa16518(0x100)](_0xa16518(0xc0),_0x4471f6),this[_0xa16518(0x10f)][_0xa16518(0x100)](_0xa16518(0xbe),_0x4471f6);const _0x549935=_0x368857[_0xa16518(0xd4)][_0xa16518(0xd0)]?.[_0xa16518(0xd9)]??!0x1;this[_0xa16518(0x100)](_0xa16518(0xc6),!0x1),this[_0xa16518(0x104)][_0xa16518(0x100)](_0xa16518(0xb7),!0x1),this[_0xa16518(0x104)][_0xa16518(0x100)](_0xa16518(0xc0),_0x549935),this[_0xa16518(0x104)][_0xa16518(0x100)](_0xa16518(0xbe),_0x549935);}[_0x414efb(0x111)](){const _0x13688f=_0x414efb;this[_0x13688f(0x100)](_0x13688f(0x105),!0x0),this[_0x13688f(0x100)](_0x13688f(0xe1),!0x0);}[_0x414efb(0xc7)](_0x48e67f){const _0x523f89=_0x414efb;this[_0x523f89(0x100)](_0x523f89(0x105),!0x1),_0x48e67f&&this[_0x523f89(0x100)](_0x523f89(0xe1),!0x1);}[_0x414efb(0x10a)](){const _0x4486d7=_0x414efb,_0x18eaaa=new _0x49cce3();return _0x18eaaa[_0x4486d7(0x100)]({'label':_0x30f544(this[_0x4486d7(0x103)],_0x4486d7(0x102)),'icon':_0x3062b6,'class':bo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x18eaaa['on'](_0x4486d7(0xc2),()=>{const _0x1c0a62=_0x4486d7;this[_0x1c0a62(0xb6)](_0x1c0a62(0xbf));}),_0x18eaaa;}[_0x414efb(0x112)](){const _0x287c7a=_0x414efb,_0x7c4029=new _0x49cce3();return _0x7c4029[_0x287c7a(0x100)]({'label':_0x30f544(this[_0x287c7a(0x103)],_0x287c7a(0xdc)),'icon':_0x385ee1,'class':bo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x7c4029['on'](_0x287c7a(0xc2),()=>{const _0x245ffe=_0x287c7a;this[_0x245ffe(0xb6)](_0x245ffe(0x10e));}),_0x7c4029;}[_0x414efb(0x109)](){const _0x5a4137=_0x414efb,_0x4361a3=new _0x49cce3();return _0x4361a3[_0x5a4137(0x100)]({'label':_0x30f544(this[_0x5a4137(0x103)],_0x5a4137(0xea)),'icon':_0x2d0afa,'withText':!0x0,'class':bo,'isToggleable':!0x0,'tooltip':_0x30f544(this[_0x5a4137(0x103)],_0x5a4137(0xea)),'tooltipPosition':Jo}),_0x4361a3[_0x5a4137(0xcc)]({'attributes':{'class':[yo]}}),_0x4361a3['on'](_0x5a4137(0xc2),()=>{const _0x142324=_0x5a4137;console[_0x142324(0xe2)](_0x142324(0xe7)),alert(_0x142324(0xe7));}),_0x4361a3;}[_0x414efb(0x107)](){const _0x4cf4b7=_0x414efb,_0x16318b=_0x2a8e77(this[_0x4cf4b7(0x103)]);return _0x16318b[_0x4cf4b7(0x100)]({'panelPosition':'ne','class':[Go]}),_0x16318b[_0x4cf4b7(0xdd)][_0x4cf4b7(0x100)]({'label':_0x30f544(this[_0x4cf4b7(0x103)],_0x4cf4b7(0xda)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Jo}),this[_0x4cf4b7(0xc8)](_0x16318b,_0x4cf4b7(0xc2),_0x40efc3=>{const _0x462432=_0x4cf4b7;this[_0x462432(0xb6)](_0x462432(0xdb),_0x40efc3[_0x462432(0xcd)][_0x462432(0xd5)]);}),_0x16318b;}[_0x414efb(0xe6)](){const _0x143996=_0x414efb,_0x4edc65=new Ko(this[_0x143996(0x103)]);return _0x4edc65[_0x143996(0xf4)](_0x143996(0x113))['to'](this,_0x143996(0xf1),_0x13c714=>_0x13c714??''),_0x4edc65[_0x143996(0xf4)](_0x143996(0xbe))['to'](this,_0x143996(0xe1),this,_0x143996(0xf1),(_0x37f86f,_0xb3fce4)=>!_0x37f86f&&!_0xb3fce4?.[_0x143996(0xe4)]()[_0x143996(0xf5)](_0x143996(0x114))),_0x4edc65;}}class Gs extends _0x228d81{constructor(_0x55d7d5,_0x3a2eca){const _0x46b27a=_0x414efb;super();const _0x22e0b8=this[_0x46b27a(0xb8)],_0x1c6200=this[_0x46b27a(0xfa)]();this[_0x46b27a(0x10b)]({'tag':_0x46b27a(0xce),'attributes':{'class':['ck',_0x46b27a(0xf8)],'style':_0x22e0b8['to'](_0x46b27a(0xf6)),'id':_0x22e0b8['to']('id')},'children':[{'tag':_0x46b27a(0xce),'attributes':{'class':[Yo]},'children':[{'text':_0x22e0b8['to'](_0x46b27a(0x113))}]},{'tag':_0x46b27a(0xce),'attributes':{'class':[qo]},'children':[{'tag':_0x46b27a(0xfc),'children':[{'text':_0x3a2eca[_0x46b27a(0xbb)]}]}]},{'tag':_0x46b27a(0xce),'attributes':{'class':[zo]},'children':_0x1c6200}]}),_0x1c6200[_0x46b27a(0xb9)](this[_0x46b27a(0xd3)](_0x55d7d5,_0x3062b6,_0x46b27a(0x102),_0x3a2eca[_0x46b27a(0xd4)][_0x46b27a(0xca)]?.[_0x46b27a(0xd9)]??!0x1)),_0x1c6200[_0x46b27a(0xb9)](this[_0x46b27a(0xd3)](_0x55d7d5,_0x385ee1,_0x46b27a(0xdc),_0x3a2eca[_0x46b27a(0xd4)][_0x46b27a(0xd0)]?.[_0x46b27a(0xd9)]??!0x1));}[_0x414efb(0xd3)](_0x584387,_0x5eaa26,_0xf0e500,_0x3a1535){const _0x27f4bd=_0x414efb,_0x34db52=new _0x3a0717();_0x34db52[_0x27f4bd(0xe8)]=_0x5eaa26;const _0x978d50=new _0xb58125(_0x584387);_0x978d50[_0x27f4bd(0x10b)]({'tag':_0x27f4bd(0xfc),'children':[{'text':_0x30f544(_0x584387,_0xf0e500)+':\x20'}]});const _0x5b1e2c=new _0xb58125(_0x584387);return _0x5b1e2c[_0x27f4bd(0x10b)]({'tag':_0x27f4bd(0xfc),'children':[{'text':_0x30f544(_0x584387,_0x3a1535?_0x27f4bd(0xb4):_0x27f4bd(0xbc))}]}),[_0x34db52,_0x978d50,_0x5b1e2c];}}function _0x8eb1(){const _0x3bdb48=['ck-ai-chat-controls__model-selection__item-name','add','AI_CHAT_DISABLE_WEB_SEARCH','497782aNpAxz','activeModelName','setModel','tooltip','bind','startsWith','style','4yeFTpW','ck-button__label','1465986znocuE','createCollection','setModelList','span','setWebSearch','clear','280035QBEFuF','set','ck-ai-chat__prompt-capabilities','AI_CHAT_SEARCH_WEB','locale','_reasoningButton','modelSelectorEnabled','3239025YZRkrI','_createModelSelectionDropdown','ck-ai-chat-controls__model-selection__item-capabilities','_createCommandsButton','_createWebSearchButton','setTemplate','ck-ai-chat-controls__model-name','ck-ai-chat-controls__model-selection','toggleReasoning','_webSearchButton','_modelSelectionDropdown','enableModelSelector','_createReasoningButton','text','agent','AI_CHAT_ENABLE_WEB_SEARCH','_modelNameView','withText','AI_CHAT_DISABLE_REASONING','ck-ai-chat-controls-button','AI_CHAT_CAPABILITIES_YES','2wLLVxs','fire','isOn','bindTemplate','addMany','getLocalized','description','AI_CHAT_CAPABILITIES_NO','webSearchActive','isVisible','toggleWebSearch','isEnabled','name','execute','button','1133VPKAPw','ck-ai-chat-controls__model-selection__item-description','reasoningActive','disableModelSelector','listenTo','40332MKqlFG','webSearch','4553184CRJQMn','extendTemplate','source','div','label','reasoning','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','menuitemradio','_getCapabilityParts','capabilities','model','length','activeModelId','setReasoning','enabled','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','selectModel','AI_CHAT_REASONING','buttonView','_commandsButton','AI_CHAT_ENABLE_REASONING','58648QUQNOI','modelSelectorVisible','log','60BvgxwE','toLowerCase','ck-ai-chat-controls-button--commands','_createModelNameView','Commands\x20are\x20not\x20implemented\x20yet.','content','_modelSelectionDropdownItems','AI_CHAT_COMMANDS','ck-hidden','763zaWDFY'];_0x8eb1=function(){return _0x3bdb48;};return _0x8eb1();}class Ko extends _0xb58125{constructor(_0x11ec3f){const _0x447b01=_0x414efb;super(_0x11ec3f),this[_0x447b01(0x100)](_0x447b01(0x113),void 0x0),this[_0x447b01(0x100)](_0x447b01(0xbe),!0x0);const _0x3e53d8=this[_0x447b01(0xb8)];this[_0x447b01(0x10b)]({'tag':_0x447b01(0xfc),'attributes':{'class':['ck',_0x447b01(0x10c),_0x3e53d8['if'](_0x447b01(0xbe),_0x447b01(0xeb),_0x3616d4=>!_0x3616d4)]},'children':[{'text':_0x3e53d8['to'](_0x447b01(0x113))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dc4f0=_0xd489;(function(_0x154675,_0x250d87){const _0x34e9ce=_0xd489,_0x91ee5d=_0x154675();while(!![]){try{const _0xe0518d=parseInt(_0x34e9ce(0xcf))/0x1*(parseInt(_0x34e9ce(0xf3))/0x2)+-parseInt(_0x34e9ce(0xe2))/0x3*(parseInt(_0x34e9ce(0xd8))/0x4)+-parseInt(_0x34e9ce(0xd3))/0x5*(parseInt(_0x34e9ce(0xd1))/0x6)+parseInt(_0x34e9ce(0xd6))/0x7+parseInt(_0x34e9ce(0xe5))/0x8+-parseInt(_0x34e9ce(0xf5))/0x9*(parseInt(_0x34e9ce(0xe1))/0xa)+parseInt(_0x34e9ce(0xf7))/0xb;if(_0xe0518d===_0x250d87)break;else _0x91ee5d['push'](_0x91ee5d['shift']());}catch(_0x5a2160){_0x91ee5d['push'](_0x91ee5d['shift']());}}}(_0x2b67,0xd9fcf));import{IconSubmit as _0x311047}from'ckeditor5/src/icons.js';import{ButtonView as _0x5369b5,AutocompleteView as _0x2080bb,createLabeledTextarea as _0x21e951}from'ckeditor5/src/ui.js';function _0x2b67(){const _0x154a61=['_queryViewResizeObserver','654umAtoN','requestAnimationFrame','22985SSSAfq','execute','calc(','2442384uoAZHI','element','20XyVrHX','set','MAX_ROWS','_setUpAddContextButtonPositioning','fieldWrapperChildren','isEmpty','bind','trim','placeholder','80700KTcyCS','419964RFTmJO','submitButtonView','fire','6350872HfCCyB','rtl','extendTemplate','sendUserMessage','setIsUploadInProgress','MIN_ROWS','width','window','reset','right','update','fieldView','add','target','9754HtrYrd','focusableChildren','1980zIsump','errorText','28596909cnXDSZ','minRows','value','AI_CHAT_PROMPT_EMPTY_ERROR','left','ck-ai-chat__prompt-input','setPlaceholderText','isEnabled','excludeScrollbarsAndBorders','ck-ai-chat__prompt-submit-button','hasError','maxRows','_createSubmitButton','AI_CHAT_LABEL_SUBMIT','uiLanguageDirection','isUploadInProgress','locale','queryView','render','destroy','_addContextButtonView','style','enter','keystrokes','submit','px\x20-\x20var(--ck-spacing-tiny))','26egmoan'];_0x2b67=function(){return _0x154a61;};return _0x2b67();}import{global as _0x24ab51,isVisible as _0x3eff38,Rect as _0xa05983,ResizeObserver as _0x17a162}from'ckeditor5/src/utils.js';import{getTranslation as _0x30fa40}from'../../../aicore/utils/common-translations.js';function _0xd489(_0x246ccd,_0x40ed4e){const _0x2b67ae=_0x2b67();return _0xd489=function(_0xd48927,_0x2f8753){_0xd48927=_0xd48927-0xc8;let _0x4d9356=_0x2b67ae[_0xd48927];return _0x4d9356;},_0xd489(_0x246ccd,_0x40ed4e);}import{AIChatPromptSuggestionsListView as _0x3c8481}from'./aichatpromptsuggestionslistview.js';import{escape as _0x36a551}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x2080bb{[_0x3dc4f0(0xe3)];static [_0x3dc4f0(0xea)]=0x1;static [_0x3dc4f0(0xda)]=0xc;[_0x3dc4f0(0xc9)];[_0x3dc4f0(0xd0)];constructor(_0xf85804,_0x3de36c){const _0x4737e4=_0x3dc4f0;super(_0xf85804,{'queryView':{'label':'','creator':_0x21e951,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x3c8481(_0xf85804),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x4737e4(0xd9)](_0x4737e4(0xdd),!0x0),this[_0x4737e4(0xd9)](_0x4737e4(0x106),!0x1),this[_0x4737e4(0xc9)]=_0x3de36c,this[_0x4737e4(0xd0)]=null,this[_0x4737e4(0x108)][_0x4737e4(0xf0)][_0x4737e4(0xf8)]=AIChatPromptInputView[_0x4737e4(0xea)],this[_0x4737e4(0x108)][_0x4737e4(0xf0)][_0x4737e4(0x102)]=AIChatPromptInputView[_0x4737e4(0xda)],this[_0x4737e4(0x108)][_0x4737e4(0xdc)][_0x4737e4(0xf1)](this[_0x4737e4(0xc9)]),this[_0x4737e4(0xdb)](),this[_0x4737e4(0xe7)]({'attributes':{'class':['ck',_0x4737e4(0xfc)]}}),this[_0x4737e4(0xe3)]=this[_0x4737e4(0x103)](),this[_0x4737e4(0xe3)][_0x4737e4(0xde)](_0x4737e4(0xfe))['to'](this,_0x4737e4(0xdd),this,_0x4737e4(0x106),(_0xcca2de,_0x46f2fb)=>!_0xcca2de&&!_0x46f2fb),this[_0x4737e4(0xf4)][_0x4737e4(0xf1)](this[_0x4737e4(0xe3)]);}[_0x3dc4f0(0x109)](){const _0x2882aa=_0x3dc4f0;super[_0x2882aa(0x109)](),this[_0x2882aa(0x108)][_0x2882aa(0xdc)][_0x2882aa(0xf1)](this[_0x2882aa(0xe3)]),this[_0x2882aa(0xcc)][_0x2882aa(0xd9)](_0x2882aa(0xcb),(_0x33e9de,_0x13c5d0)=>{const _0x1322be=_0x2882aa;this[_0x1322be(0x106)]||this[_0x1322be(0xdd)]||_0x33e9de[_0x1322be(0xf2)]==this[_0x1322be(0x108)][_0x1322be(0xf0)][_0x1322be(0xd7)]&&(this[_0x1322be(0xcd)](),_0x13c5d0());}),this[_0x2882aa(0x108)][_0x2882aa(0xf0)]['on'](_0x2882aa(0xef),()=>{const _0xa66ae1=_0x2882aa;this[_0xa66ae1(0xdd)]=''===this[_0xa66ae1(0x108)][_0xa66ae1(0xf0)][_0xa66ae1(0xd7)][_0xa66ae1(0xf9)]?.[_0xa66ae1(0xdf)]();});}[_0x3dc4f0(0xc8)](){const _0x68640a=_0x3dc4f0;super[_0x68640a(0xc8)](),this[_0x68640a(0xd0)]&&this[_0x68640a(0xd0)][_0x68640a(0xc8)]();}[_0x3dc4f0(0xcd)](){const _0x45f8a1=_0x3dc4f0,_0x4e05c9=this[_0x45f8a1(0x108)][_0x45f8a1(0xf0)][_0x45f8a1(0xd7)][_0x45f8a1(0xf9)]?.[_0x45f8a1(0xdf)]();if(!_0x4e05c9)return this[_0x45f8a1(0x108)][_0x45f8a1(0xf6)]=_0x30fa40(this[_0x45f8a1(0x107)],_0x45f8a1(0xfa)),void(this[_0x45f8a1(0x108)][_0x45f8a1(0xf0)][_0x45f8a1(0x101)]=!0x0);this[_0x45f8a1(0x108)][_0x45f8a1(0xf0)][_0x45f8a1(0x101)]=!0x1;const _0x5df91c=_0x36a551(_0x4e05c9);this[_0x45f8a1(0xe4)](_0x45f8a1(0xe8),_0x5df91c),this[_0x45f8a1(0x108)][_0x45f8a1(0xf0)][_0x45f8a1(0xed)]();}[_0x3dc4f0(0xfd)](_0x11a32a){const _0x715671=_0x3dc4f0;this[_0x715671(0x108)][_0x715671(0xf0)][_0x715671(0xd9)](_0x715671(0xe0),_0x11a32a);}[_0x3dc4f0(0x103)](){const _0x5b03ff=_0x3dc4f0,_0xcd3786=new _0x5369b5(this[_0x5b03ff(0x107)]);return _0xcd3786[_0x5b03ff(0xd9)]({'icon':_0x311047,'label':_0x30fa40(this[_0x5b03ff(0x107)],_0x5b03ff(0x104)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5b03ff(0x100),'isEnabled':!0x1}),_0xcd3786['on'](_0x5b03ff(0xd4),()=>{const _0x3cf56e=_0x5b03ff;this[_0x3cf56e(0xcd)]();}),_0xcd3786;}[_0x3dc4f0(0xe9)](_0x3bf4b6){const _0x9ae5e2=_0x3dc4f0;this[_0x9ae5e2(0x106)]=_0x3bf4b6;}[_0x3dc4f0(0xdb)](){const _0x56e3c9=_0x3dc4f0,_0x3caaa2=this[_0x56e3c9(0x107)],_0x20a09c=()=>{const _0x2d0fcc=_0x56e3c9;_0x24ab51[_0x2d0fcc(0xec)][_0x2d0fcc(0xd2)](()=>{const _0x2c03bf=_0x2d0fcc;if(_0x3eff38(this[_0x2c03bf(0xd7)])){const _0x13a000=new _0xa05983(this[_0x2c03bf(0x108)][_0x2c03bf(0xf0)][_0x2c03bf(0xd7)]),_0x5b8135=new _0xa05983(this[_0x2c03bf(0xc9)][_0x2c03bf(0xd7)]),_0x30d4b5=_0x13a000[_0x2c03bf(0xeb)],_0x2313e6=_0x2c03bf(0xe6)===_0x3caaa2[_0x2c03bf(0x105)]?_0x2c03bf(0xee):_0x2c03bf(0xfb);_0x13a000[_0x2c03bf(0xff)]();const _0x4e8dc7=_0x30d4b5-_0x13a000[_0x2c03bf(0xeb)]+0x1;this[_0x2c03bf(0xc9)][_0x2c03bf(0xd7)][_0x2c03bf(0xca)][_0x2313e6]=_0x2c03bf(0xd5)+(_0x30d4b5-_0x5b8135[_0x2c03bf(0xeb)]-_0x4e8dc7)+_0x2c03bf(0xce);}});};this[_0x56e3c9(0x108)][_0x56e3c9(0xf0)]['on'](_0x56e3c9(0xef),_0x20a09c),this['on'](_0x56e3c9(0x109),()=>{const _0x2114d5=_0x56e3c9;_0x20a09c(),this[_0x2114d5(0xd0)]=new _0x17a162(this[_0x2114d5(0x108)][_0x2114d5(0xf0)][_0x2114d5(0xd7)],()=>{_0x20a09c();});});}}
23
+ const _0x59a3a7=_0xc177;function _0xc177(_0x420aec,_0x23f5ae){const _0x584976=_0x5849();return _0xc177=function(_0xc17708,_0xd9d5fd){_0xc17708=_0xc17708-0x12e;let _0x242757=_0x584976[_0xc17708];return _0x242757;},_0xc177(_0x420aec,_0x23f5ae);}function _0x5849(){const _0x38d5b9=['enter','bind','element','418320MlxGNh','extendTemplate','6590442hmQmvw','735ZTwSAE','MIN_ROWS','px\x20-\x20var(--ck-spacing-tiny))','fieldWrapperChildren','placeholder','add','locale','setIsUploadInProgress','excludeScrollbarsAndBorders','errorText','AI_CHAT_PROMPT_EMPTY_ERROR','MAX_ROWS','trim','requestAnimationFrame','maxRows','sendUserMessage','_addContextButtonView','queryView','update','_queryViewResizeObserver','width','ck-ai-chat__prompt-input','_setUpAddContextButtonPositioning','AI_CHAT_LABEL_SUBMIT','right','5uUJokU','window','fire','428243GsjzGH','isEnabled','focusableChildren','isEmpty','calc(','submitButtonView','ck-ai-chat__prompt-submit-button','reset','hasError','render','_createSubmitButton','target','setPlaceholderText','uiLanguageDirection','value','left','keystrokes','rtl','14472369cCudbf','destroy','fieldView','set','10kYwqSU','execute','submit','minRows','61832Uhewhf','isUploadInProgress','840972fkPgQn','style','1177017rHKzaR'];_0x5849=function(){return _0x38d5b9;};return _0x5849();}(function(_0x5ccbe8,_0x147486){const _0x5135f5=_0xc177,_0x57068d=_0x5ccbe8();while(!![]){try{const _0x4ee4d3=parseInt(_0x5135f5(0x159))/0x1+parseInt(_0x5135f5(0x13a))/0x2+-parseInt(_0x5135f5(0x136))/0x3+parseInt(_0x5135f5(0x134))/0x4+-parseInt(_0x5135f5(0x156))/0x5*(-parseInt(_0x5135f5(0x13c))/0x6)+-parseInt(_0x5135f5(0x13d))/0x7*(-parseInt(_0x5135f5(0x132))/0x8)+parseInt(_0x5135f5(0x16b))/0x9*(-parseInt(_0x5135f5(0x12e))/0xa);if(_0x4ee4d3===_0x147486)break;else _0x57068d['push'](_0x57068d['shift']());}catch(_0x14d42b){_0x57068d['push'](_0x57068d['shift']());}}}(_0x5849,0xb8de2));import{IconSubmit as _0x470ed7}from'ckeditor5/src/icons.js';import{ButtonView as _0x258031,AutocompleteView as _0x242cfd,createLabeledTextarea as _0x444613}from'ckeditor5/src/ui.js';import{global as _0x45cdd0,isVisible as _0x373c74,Rect as _0x506658,ResizeObserver as _0x571999}from'ckeditor5/src/utils.js';import{getTranslation as _0x3ca6c6}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0xee4b0a}from'./aichatpromptsuggestionslistview.js';import{escape as _0x1eabd1}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x242cfd{[_0x59a3a7(0x15e)];static [_0x59a3a7(0x13e)]=0x1;static [_0x59a3a7(0x148)]=0xc;[_0x59a3a7(0x14d)];[_0x59a3a7(0x150)];constructor(_0xd15a9b,_0x59c761){const _0x432660=_0x59a3a7;super(_0xd15a9b,{'queryView':{'label':'','creator':_0x444613,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0xee4b0a(_0xd15a9b),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x432660(0x16e)](_0x432660(0x15c),!0x0),this[_0x432660(0x16e)](_0x432660(0x133),!0x1),this[_0x432660(0x14d)]=_0x59c761,this[_0x432660(0x150)]=null,this[_0x432660(0x14e)][_0x432660(0x16d)][_0x432660(0x131)]=AIChatPromptInputView[_0x432660(0x13e)],this[_0x432660(0x14e)][_0x432660(0x16d)][_0x432660(0x14b)]=AIChatPromptInputView[_0x432660(0x148)],this[_0x432660(0x14e)][_0x432660(0x140)][_0x432660(0x142)](this[_0x432660(0x14d)]),this[_0x432660(0x153)](),this[_0x432660(0x13b)]({'attributes':{'class':['ck',_0x432660(0x152)]}}),this[_0x432660(0x15e)]=this[_0x432660(0x163)](),this[_0x432660(0x15e)][_0x432660(0x138)](_0x432660(0x15a))['to'](this,_0x432660(0x15c),this,_0x432660(0x133),(_0x3b1897,_0x44e634)=>!_0x3b1897&&!_0x44e634),this[_0x432660(0x15b)][_0x432660(0x142)](this[_0x432660(0x15e)]);}[_0x59a3a7(0x162)](){const _0x5c7037=_0x59a3a7;super[_0x5c7037(0x162)](),this[_0x5c7037(0x14e)][_0x5c7037(0x140)][_0x5c7037(0x142)](this[_0x5c7037(0x15e)]),this[_0x5c7037(0x169)][_0x5c7037(0x16e)](_0x5c7037(0x137),(_0x1f48f0,_0x1317eb)=>{const _0xe9773d=_0x5c7037;this[_0xe9773d(0x133)]||this[_0xe9773d(0x15c)]||_0x1f48f0[_0xe9773d(0x164)]==this[_0xe9773d(0x14e)][_0xe9773d(0x16d)][_0xe9773d(0x139)]&&(this[_0xe9773d(0x130)](),_0x1317eb());}),this[_0x5c7037(0x14e)][_0x5c7037(0x16d)]['on'](_0x5c7037(0x14f),()=>{const _0x4160b5=_0x5c7037;this[_0x4160b5(0x15c)]=''===this[_0x4160b5(0x14e)][_0x4160b5(0x16d)][_0x4160b5(0x139)][_0x4160b5(0x167)]?.[_0x4160b5(0x149)]();});}[_0x59a3a7(0x16c)](){const _0x12a3cb=_0x59a3a7;super[_0x12a3cb(0x16c)](),this[_0x12a3cb(0x150)]&&this[_0x12a3cb(0x150)][_0x12a3cb(0x16c)]();}[_0x59a3a7(0x130)](){const _0x1a05d4=_0x59a3a7,_0x5ac312=this[_0x1a05d4(0x14e)][_0x1a05d4(0x16d)][_0x1a05d4(0x139)][_0x1a05d4(0x167)]?.[_0x1a05d4(0x149)]();if(!_0x5ac312)return this[_0x1a05d4(0x14e)][_0x1a05d4(0x146)]=_0x3ca6c6(this[_0x1a05d4(0x143)],_0x1a05d4(0x147)),void(this[_0x1a05d4(0x14e)][_0x1a05d4(0x16d)][_0x1a05d4(0x161)]=!0x0);this[_0x1a05d4(0x14e)][_0x1a05d4(0x16d)][_0x1a05d4(0x161)]=!0x1;const _0x281186=_0x1eabd1(_0x5ac312);this[_0x1a05d4(0x158)](_0x1a05d4(0x14c),_0x281186),this[_0x1a05d4(0x14e)][_0x1a05d4(0x16d)][_0x1a05d4(0x160)]();}[_0x59a3a7(0x165)](_0x566cf1){const _0x571258=_0x59a3a7;this[_0x571258(0x14e)][_0x571258(0x16d)][_0x571258(0x16e)](_0x571258(0x141),_0x566cf1);}[_0x59a3a7(0x163)](){const _0x4dce7c=_0x59a3a7,_0x287440=new _0x258031(this[_0x4dce7c(0x143)]);return _0x287440[_0x4dce7c(0x16e)]({'icon':_0x470ed7,'label':_0x3ca6c6(this[_0x4dce7c(0x143)],_0x4dce7c(0x154)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4dce7c(0x15f),'isEnabled':!0x1}),_0x287440['on'](_0x4dce7c(0x12f),()=>{const _0x3c5922=_0x4dce7c;this[_0x3c5922(0x130)]();}),_0x287440;}[_0x59a3a7(0x144)](_0x28b14e){const _0xf58105=_0x59a3a7;this[_0xf58105(0x133)]=_0x28b14e;}[_0x59a3a7(0x153)](){const _0x28d9b1=_0x59a3a7,_0x759385=this[_0x28d9b1(0x143)],_0x13a03f=()=>{const _0x399275=_0x28d9b1;_0x45cdd0[_0x399275(0x157)][_0x399275(0x14a)](()=>{const _0x25a6b4=_0x399275;if(_0x373c74(this[_0x25a6b4(0x139)])){const _0x4ef04d=new _0x506658(this[_0x25a6b4(0x14e)][_0x25a6b4(0x16d)][_0x25a6b4(0x139)]),_0x183ecd=new _0x506658(this[_0x25a6b4(0x14d)][_0x25a6b4(0x139)]),_0x2027b6=_0x4ef04d[_0x25a6b4(0x151)],_0x529557=_0x25a6b4(0x16a)===_0x759385[_0x25a6b4(0x166)]?_0x25a6b4(0x155):_0x25a6b4(0x168);_0x4ef04d[_0x25a6b4(0x145)]();const _0x12d818=_0x2027b6-_0x4ef04d[_0x25a6b4(0x151)]+0x1;this[_0x25a6b4(0x14d)][_0x25a6b4(0x139)][_0x25a6b4(0x135)][_0x529557]=_0x25a6b4(0x15d)+(_0x2027b6-_0x183ecd[_0x25a6b4(0x151)]-_0x12d818)+_0x25a6b4(0x13f);}});};this[_0x28d9b1(0x14e)][_0x28d9b1(0x16d)]['on'](_0x28d9b1(0x14f),_0x13a03f),this['on'](_0x28d9b1(0x162),()=>{const _0x2ea9ef=_0x28d9b1;_0x13a03f(),this[_0x2ea9ef(0x150)]=new _0x571999(this[_0x2ea9ef(0x14e)][_0x2ea9ef(0x16d)][_0x2ea9ef(0x139)],()=>{_0x13a03f();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xdbee(_0x57fe91,_0x1c3ee7){const _0x45e0ce=_0x45e0();return _0xdbee=function(_0xdbeea3,_0x82f546){_0xdbeea3=_0xdbeea3-0x1b2;let _0x3af83d=_0x45e0ce[_0xdbeea3];return _0x3af83d;},_0xdbee(_0x57fe91,_0x1c3ee7);}const _0x2f14fd=_0xdbee;(function(_0x540779,_0x4392a1){const _0x14df4b=_0xdbee,_0xda83e7=_0x540779();while(!![]){try{const _0x3c32c7=parseInt(_0x14df4b(0x1b2))/0x1*(parseInt(_0x14df4b(0x1b5))/0x2)+-parseInt(_0x14df4b(0x1b6))/0x3+parseInt(_0x14df4b(0x1b7))/0x4*(parseInt(_0x14df4b(0x1be))/0x5)+-parseInt(_0x14df4b(0x1b8))/0x6*(-parseInt(_0x14df4b(0x1bd))/0x7)+parseInt(_0x14df4b(0x1bb))/0x8+-parseInt(_0x14df4b(0x1b3))/0x9+parseInt(_0x14df4b(0x1bf))/0xa*(parseInt(_0x14df4b(0x1b4))/0xb);if(_0x3c32c7===_0x4392a1)break;else _0xda83e7['push'](_0xda83e7['shift']());}catch(_0x3a1396){_0xda83e7['push'](_0xda83e7['shift']());}}}(_0x45e0,0xb14d0));import{ListView as _0x37ccea}from'ckeditor5/src/ui.js';function _0x45e0(){const _0x37b3a1=['items','266hCflfj','568535ikAmug','8320VblTpP','4763DCZkRk','5382063LksRWp','14124udElks','26XYpjHl','4019040qUkhqr','8ApggKk','111138oQwdZy','filter','length','4819328MAGokj'];_0x45e0=function(){return _0x37b3a1;};return _0x45e0();}export class AIChatPromptSuggestionsListView extends _0x37ccea{[_0x2f14fd(0x1b9)](){const _0x15addf=_0x2f14fd;let _0x4dd2b0=0x0;for(const _0x5af43d of this[_0x15addf(0x1bc)])_0x4dd2b0+=_0x5af43d[_0x15addf(0x1bc)][_0x15addf(0x1ba)];return{'resultsCount':_0x4dd2b0,'totalItemsCount':_0x4dd2b0};}}
23
+ const _0x338c38=_0x5b97;function _0x5b97(_0x27d951,_0x2ac47d){const _0x51e8b3=_0x51e8();return _0x5b97=function(_0x5b971b,_0x10ba5b){_0x5b971b=_0x5b971b-0x1c8;let _0x4cf1d6=_0x51e8b3[_0x5b971b];return _0x4cf1d6;},_0x5b97(_0x27d951,_0x2ac47d);}function _0x51e8(){const _0x19acc0=['13449248rPDYYe','12741267xjmaWK','2059656rBCHfm','359Pqiptz','128172tVNpYT','length','items','2280wjWmxo','35lUwunA','2943umvrjM','2913261kQvyTi','944ispmqR','filter'];_0x51e8=function(){return _0x19acc0;};return _0x51e8();}(function(_0x5df3b3,_0x11e58d){const _0x3c1300=_0x5b97,_0x24117c=_0x5df3b3();while(!![]){try{const _0x6adead=-parseInt(_0x3c1300(0x1cd))/0x1*(parseInt(_0x3c1300(0x1c8))/0x2)+parseInt(_0x3c1300(0x1d4))/0x3+parseInt(_0x3c1300(0x1ce))/0x4*(-parseInt(_0x3c1300(0x1d2))/0x5)+parseInt(_0x3c1300(0x1cc))/0x6+parseInt(_0x3c1300(0x1cb))/0x7+-parseInt(_0x3c1300(0x1ca))/0x8+-parseInt(_0x3c1300(0x1d3))/0x9*(parseInt(_0x3c1300(0x1d1))/0xa);if(_0x6adead===_0x11e58d)break;else _0x24117c['push'](_0x24117c['shift']());}catch(_0x5a8fee){_0x24117c['push'](_0x24117c['shift']());}}}(_0x51e8,0xf07fb));import{ListView as _0x3eed48}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x3eed48{[_0x338c38(0x1c9)](){const _0x32812b=_0x338c38;let _0x23a352=0x0;for(const _0x3abe11 of this[_0x32812b(0x1d0)])_0x23a352+=_0x3abe11[_0x32812b(0x1d0)][_0x32812b(0x1cf)];return{'resultsCount':_0x23a352,'totalItemsCount':_0x23a352};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c3656=_0x11fc;(function(_0x498d68,_0x38d0df){const _0x3e6497=_0x11fc,_0x2e83aa=_0x498d68();while(!![]){try{const _0x308cd1=parseInt(_0x3e6497(0xcc))/0x1+parseInt(_0x3e6497(0xbc))/0x2*(-parseInt(_0x3e6497(0xc0))/0x3)+parseInt(_0x3e6497(0xc3))/0x4*(-parseInt(_0x3e6497(0xcb))/0x5)+parseInt(_0x3e6497(0xda))/0x6+parseInt(_0x3e6497(0xd4))/0x7*(-parseInt(_0x3e6497(0xce))/0x8)+parseInt(_0x3e6497(0xc2))/0x9+parseInt(_0x3e6497(0xc4))/0xa;if(_0x308cd1===_0x38d0df)break;else _0x2e83aa['push'](_0x2e83aa['shift']());}catch(_0x44afaa){_0x2e83aa['push'](_0x2e83aa['shift']());}}}(_0x44b6,0xa59c1));import{ListView as _0x12612c}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x51babf}from'./aichatresourcelistitemview.js';function _0x11fc(_0x1f12a0,_0x172302){const _0x44b648=_0x44b6();return _0x11fc=function(_0x11fc8a,_0x397363){_0x11fc8a=_0x11fc8a-0xbb;let _0x37514c=_0x44b648[_0x11fc8a];return _0x37514c;},_0x11fc(_0x1f12a0,_0x172302);}const sc=_0x2c3656(0xc5);function _0x44b6(){const _0x300d55=['\x5c$&','4564362tAbXfP','resource','extendTemplate','895514NYuUuS','forEach','highlightText','updateResourceState','6RwlqRG','replace','10024326KyVvvJ','941756YWZaWH','9442010DQyDKW','ck-ai-chat-resources__list','_handleResourceSelection','label','test','filter','_source','15XxkgXK','521354RVhHyt','add','4239712TquwHl','locale','clear','useDefaultFiltering','items','trim','14bvWrRO','fire','setResources','execute','addResourceToContext'];_0x44b6=function(){return _0x300d55;};return _0x44b6();}export class AIChatContextResourcesListView extends _0x12612c{[_0x2c3656(0xca)];constructor(_0x28efc2,_0x129100){const _0x518318=_0x2c3656;super(_0x28efc2),this[_0x518318(0xca)]=_0x129100,this[_0x518318(0xbb)]({'attributes':{'class':[sc]}});}[_0x2c3656(0xd6)](_0x2bfaaa,_0x25b8a2){const _0x585003=_0x2c3656;this[_0x585003(0xd2)][_0x585003(0xd0)]();let _0x3bdd52=_0x2bfaaa;if(this[_0x585003(0xca)][_0x585003(0xd1)]&&_0x25b8a2&&''!==_0x25b8a2[_0x585003(0xd3)]()){const _0x4039c7=new RegExp(_0x25b8a2[_0x585003(0xc1)](/[.*+?^${}()|[\]\\]/g,_0x585003(0xd9)),'gi');_0x3bdd52=_0x2bfaaa[_0x585003(0xc9)](_0x561f15=>_0x4039c7[_0x585003(0xc8)](_0x561f15[_0x585003(0xc7)]));}for(const _0x4e872b of _0x3bdd52){const _0x381b59=new _0x51babf(this[_0x585003(0xcf)],_0x4e872b);_0x381b59['on'](_0x585003(0xd7),()=>{const _0x4bff91=_0x585003;this[_0x4bff91(0xc6)](this[_0x4bff91(0xca)],_0x4e872b);}),this[_0x585003(0xd2)][_0x585003(0xcd)](_0x381b59);}this[_0x585003(0xca)][_0x585003(0xd1)]&&this[_0x585003(0xbe)](_0x25b8a2);}[_0x2c3656(0xbe)](_0x50001f){const _0x18493a=_0x2c3656;this[_0x18493a(0xca)][_0x18493a(0xd1)]&&this[_0x18493a(0xd2)][_0x18493a(0xbd)](_0x6ca733=>{const _0x2ee5b9=_0x18493a;_0x6ca733[_0x2ee5b9(0xbe)](_0x50001f);});}[_0x2c3656(0xbf)](_0x486838,_0x14ee55){const _0x3abf32=_0x2c3656;for(const _0x4b73ee of this[_0x3abf32(0xd2)]){const _0x5af85a=_0x4b73ee;_0x5af85a[_0x3abf32(0xdb)]['id']===_0x486838&&_0x5af85a[_0x3abf32(0xbf)](_0x14ee55);}}[_0x2c3656(0xc6)](_0x392207,_0x3f3fc3){const _0x1f9793=_0x2c3656;this[_0x1f9793(0xd5)](_0x1f9793(0xd8),{'source':_0x392207,'resource':_0x3f3fc3});}}
23
+ const _0x2e364f=_0x4b89;(function(_0x3c5908,_0x4d22b1){const _0x282cf6=_0x4b89,_0x32f31d=_0x3c5908();while(!![]){try{const _0x1d0a4d=-parseInt(_0x282cf6(0x14d))/0x1+-parseInt(_0x282cf6(0x145))/0x2+-parseInt(_0x282cf6(0x13c))/0x3+parseInt(_0x282cf6(0x148))/0x4+-parseInt(_0x282cf6(0x12e))/0x5*(-parseInt(_0x282cf6(0x133))/0x6)+-parseInt(_0x282cf6(0x147))/0x7*(-parseInt(_0x282cf6(0x144))/0x8)+-parseInt(_0x282cf6(0x12f))/0x9;if(_0x1d0a4d===_0x4d22b1)break;else _0x32f31d['push'](_0x32f31d['shift']());}catch(_0x1d3b80){_0x32f31d['push'](_0x32f31d['shift']());}}}(_0x5b87,0x59acf));import{ListView as _0x570e28}from'ckeditor5/src/ui.js';function _0x4b89(_0x4ea564,_0x15ec74){const _0x5b8778=_0x5b87();return _0x4b89=function(_0x4b89fd,_0x2905d4){_0x4b89fd=_0x4b89fd-0x12e;let _0x9818d1=_0x5b8778[_0x4b89fd];return _0x9818d1;},_0x4b89(_0x4ea564,_0x15ec74);}import{AIChatResourceListItemView as _0x5a2827}from'./aichatresourcelistitemview.js';const sc=_0x2e364f(0x13b);export class AIChatContextResourcesListView extends _0x570e28{[_0x2e364f(0x13e)];constructor(_0x36345a,_0x355a38){const _0x3e7dde=_0x2e364f;super(_0x36345a),this[_0x3e7dde(0x13e)]=_0x355a38,this[_0x3e7dde(0x13f)]({'attributes':{'class':[sc]}});}[_0x2e364f(0x146)](_0x21f102,_0x50f179){const _0x8cbc0d=_0x2e364f;this[_0x8cbc0d(0x13d)][_0x8cbc0d(0x139)]();let _0x5673a8=_0x21f102;if(this[_0x8cbc0d(0x13e)][_0x8cbc0d(0x140)]&&_0x50f179&&''!==_0x50f179[_0x8cbc0d(0x143)]()){const _0x335e77=new RegExp(_0x50f179[_0x8cbc0d(0x131)](/[.*+?^${}()|[\]\\]/g,_0x8cbc0d(0x135)),'gi');_0x5673a8=_0x21f102[_0x8cbc0d(0x138)](_0x44f652=>_0x335e77[_0x8cbc0d(0x137)](_0x44f652[_0x8cbc0d(0x14b)]));}for(const _0x4c76ae of _0x5673a8){const _0x2208f2=new _0x5a2827(this[_0x8cbc0d(0x13a)],_0x4c76ae);_0x2208f2['on'](_0x8cbc0d(0x14a),()=>{const _0x799276=_0x8cbc0d;this[_0x799276(0x136)](this[_0x799276(0x13e)],_0x4c76ae);}),this[_0x8cbc0d(0x13d)][_0x8cbc0d(0x14c)](_0x2208f2);}this[_0x8cbc0d(0x13e)][_0x8cbc0d(0x140)]&&this[_0x8cbc0d(0x141)](_0x50f179);}[_0x2e364f(0x141)](_0x43f3b1){const _0x5a6e59=_0x2e364f;this[_0x5a6e59(0x13e)][_0x5a6e59(0x140)]&&this[_0x5a6e59(0x13d)][_0x5a6e59(0x132)](_0x5c34ec=>{const _0x283597=_0x5a6e59;_0x5c34ec[_0x283597(0x141)](_0x43f3b1);});}[_0x2e364f(0x149)](_0x5169be,_0x3ca83b){const _0x2d535b=_0x2e364f;for(const _0x56e193 of this[_0x2d535b(0x13d)]){const _0x48f310=_0x56e193;_0x48f310[_0x2d535b(0x134)]['id']===_0x5169be&&_0x48f310[_0x2d535b(0x149)](_0x3ca83b);}}[_0x2e364f(0x136)](_0x23f67e,_0xea5a25){const _0xc5535=_0x2e364f;this[_0xc5535(0x130)](_0xc5535(0x142),{'source':_0x23f67e,'resource':_0xea5a25});}}function _0x5b87(){const _0x14002f=['replace','forEach','6Fiyzni','resource','\x5c$&','_handleResourceSelection','test','filter','clear','locale','ck-ai-chat-resources__list','704070jdIjjQ','items','_source','extendTemplate','useDefaultFiltering','highlightText','addResourceToContext','trim','16lkrMIU','970586xQuzeE','setResources','1668163rOFebu','1014172AuGNmd','updateResourceState','execute','label','add','62849wKkLpa','3606255oXFtgB','2711421SnaNPy','fire'];_0x5b87=function(){return _0x14002f;};return _0x5b87();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d46a2=_0xc248;function _0x2370(){const _0x51990a=['4233420VHYDAu','10CBZgmu','_createResourcesListView','loadResources','256640WcAFcp','fire','loadSourceResources','add','_resourcesListView','useDefaultFiltering','length','_createSearchSection','render','addResourceToContext','_latestLoadResourcesUid','set','source','updateResourceState','781770YjiuRP','_createSearchView','searchInputVisibleFrom','locale','696366ifVyxw','aiChatResources','_createSkeletonView','3056946dEigrt','highlightText','_searchView','ck-hidden','_skeletonLoader','_source','1559157JFJLgz','ck-ai-chat-resources','setResources','children','bindTemplate','_searchSection','search','has','div','isLoading','setTemplate','4hGXkIt','ck\x20ck-search','_searchInputVisibleFrom','448433qhfNVH','getQuery','49RwgFNI','extendTemplate','delegate'];_0x2370=function(){return _0x51990a;};return _0x2370();}function _0xc248(_0x25c650,_0x402e62){const _0x2370d4=_0x2370();return _0xc248=function(_0xc24845,_0x307215){_0xc24845=_0xc24845-0x86;let _0x2b64d8=_0x2370d4[_0xc24845];return _0x2b64d8;},_0xc248(_0x25c650,_0x402e62);}(function(_0x3a1458,_0x1b67a6){const _0x2f2d72=_0xc248,_0x3a0f8c=_0x3a1458();while(!![]){try{const _0x3e4dce=parseInt(_0x2f2d72(0xb5))/0x1+parseInt(_0x2f2d72(0x9e))/0x2+-parseInt(_0x2f2d72(0xa7))/0x3*(-parseInt(_0x2f2d72(0xb2))/0x4)+parseInt(_0x2f2d72(0x9a))/0x5+-parseInt(_0x2f2d72(0xa1))/0x6+parseInt(_0x2f2d72(0xb7))/0x7*(-parseInt(_0x2f2d72(0x8c))/0x8)+-parseInt(_0x2f2d72(0x88))/0x9*(parseInt(_0x2f2d72(0x89))/0xa);if(_0x3e4dce===_0x1b67a6)break;else _0x3a0f8c['push'](_0x3a0f8c['shift']());}catch(_0x2d7a88){_0x3a0f8c['push'](_0x3a0f8c['shift']());}}}(_0x2370,0x417e2));import{View as _0x2b4f62,ViewCollection as _0x36df45}from'ckeditor5/src/ui.js';import{uid as _0x2b1686}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x5de35c}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x565433}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x20ab19,SKELETON_DEFINITIONS as _0x3160d1}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x2b4f62{[_0x2d46a2(0xa3)];[_0x2d46a2(0xac)];[_0x2d46a2(0xb4)];[_0x2d46a2(0x90)];[_0x2d46a2(0xa5)];[_0x2d46a2(0xa6)];[_0x2d46a2(0xaa)];[_0x2d46a2(0x96)]=null;constructor(_0x26e161,_0x1fdcd1){const _0x1a0fc6=_0x2d46a2;super(_0x26e161),this[_0x1a0fc6(0xa6)]=_0x1fdcd1[_0x1a0fc6(0x98)],this[_0x1a0fc6(0xb4)]=_0x1fdcd1[_0x1a0fc6(0x9c)]??0x7,this[_0x1a0fc6(0x97)](_0x1a0fc6(0xb0),!0x0),this[_0x1a0fc6(0xa3)]=this[_0x1a0fc6(0x9b)](),this[_0x1a0fc6(0xac)]=this[_0x1a0fc6(0x93)](),this[_0x1a0fc6(0x90)]=this[_0x1a0fc6(0x8a)](),this[_0x1a0fc6(0xa5)]=this[_0x1a0fc6(0xa0)](),this[_0x1a0fc6(0xaa)]=new _0x36df45([this[_0x1a0fc6(0xa5)],this[_0x1a0fc6(0x90)]]),this[_0x1a0fc6(0xb1)]({'tag':_0x1a0fc6(0xaf),'attributes':{'class':_0x1a0fc6(0xa8)},'children':this[_0x1a0fc6(0xaa)]});}[_0x2d46a2(0x9b)](){const _0x2e8672=_0x2d46a2;return new _0x565433(this[_0x2e8672(0x9d)]);}[_0x2d46a2(0x93)](){const _0x3aa957=_0x2d46a2,_0x2d6c60=new _0x2b4f62(this[_0x3aa957(0x9d)]);return _0x2d6c60[_0x3aa957(0xb1)]({'tag':_0x3aa957(0xaf),'attributes':{'class':_0x3aa957(0xb3)},'children':[this[_0x3aa957(0xa3)]]}),this[_0x3aa957(0xa3)]['on'](_0x3aa957(0xad),(_0x479b9a,_0x174a7c)=>{const _0x2a5053=_0x3aa957;this[_0x2a5053(0x8b)](_0x174a7c),this[_0x2a5053(0xa6)][_0x2a5053(0x91)]&&this[_0x2a5053(0x90)][_0x2a5053(0xa2)](_0x174a7c);}),_0x2d6c60;}[_0x2d46a2(0x8a)](){const _0x32ae26=_0x2d46a2,_0x514498=new _0x5de35c(this[_0x32ae26(0x9d)],this[_0x32ae26(0xa6)]);return _0x514498[_0x32ae26(0x87)](_0x32ae26(0x95))['to'](this),_0x514498[_0x32ae26(0x86)]({'attributes':{'class':this[_0x32ae26(0xab)]['if'](_0x32ae26(0xb0),_0x32ae26(0xa4))}}),_0x514498;}[_0x2d46a2(0xa0)](){const _0x5183e8=_0x2d46a2,_0x3ddf55=new _0x20ab19(this[_0x5183e8(0x9d)],_0x3160d1[_0x5183e8(0x9f)]);return _0x3ddf55[_0x5183e8(0x86)]({'attributes':{'class':[this[_0x5183e8(0xab)]['if'](_0x5183e8(0xb0),_0x5183e8(0xa4),_0x475bab=>!_0x475bab)]}}),_0x3ddf55;}[_0x2d46a2(0x94)](){const _0x2082b4=_0x2d46a2;super[_0x2082b4(0x94)](),this[_0x2082b4(0x8b)]('');}[_0x2d46a2(0x8b)](_0x10c7f2){const _0x3df154=_0x2d46a2,_0x592b64=_0x2b1686();this[_0x3df154(0x96)]=_0x592b64,this[_0x3df154(0x8d)](_0x3df154(0x8e),{'sourceId':this[_0x3df154(0xa6)]['id'],'query':_0x10c7f2,'uid':_0x592b64}),this[_0x3df154(0xb0)]=!0x0;}[_0x2d46a2(0xa9)](_0x4f5edd,_0x193f99){const _0x4a051d=_0x2d46a2;if(_0x193f99&&_0x193f99!==this[_0x4a051d(0x96)])return;const _0x371544=this[_0x4a051d(0xa6)][_0x4a051d(0x91)]?this[_0x4a051d(0xa3)][_0x4a051d(0xb6)]():'';this[_0x4a051d(0x90)][_0x4a051d(0xa9)](_0x4f5edd,_0x371544),_0x4f5edd[_0x4a051d(0x92)]>=this[_0x4a051d(0xb4)]&&!this[_0x4a051d(0xaa)][_0x4a051d(0xae)](this[_0x4a051d(0xac)])&&this[_0x4a051d(0xaa)][_0x4a051d(0x8f)](this[_0x4a051d(0xac)],0x0),requestAnimationFrame(()=>{const _0x2e718c=_0x4a051d;this[_0x2e718c(0xb0)]=!0x1;});}[_0x2d46a2(0x99)](_0x2eb118,_0x5b7fa2){const _0x19fc51=_0x2d46a2;this[_0x19fc51(0x90)][_0x19fc51(0x99)](_0x2eb118,_0x5b7fa2);}}
23
+ const _0x349174=_0x21ff;function _0x21ff(_0xfb541a,_0x558bb3){const _0x340542=_0x3405();return _0x21ff=function(_0x21ff71,_0x5a598b){_0x21ff71=_0x21ff71-0x1aa;let _0x89e82a=_0x340542[_0x21ff71];return _0x89e82a;},_0x21ff(_0xfb541a,_0x558bb3);}(function(_0x3ec566,_0x545f16){const _0x1be33f=_0x21ff,_0x4b27f6=_0x3ec566();while(!![]){try{const _0x190deb=parseInt(_0x1be33f(0x1bf))/0x1*(parseInt(_0x1be33f(0x1b8))/0x2)+-parseInt(_0x1be33f(0x1b6))/0x3*(parseInt(_0x1be33f(0x1ab))/0x4)+parseInt(_0x1be33f(0x1de))/0x5+-parseInt(_0x1be33f(0x1db))/0x6*(parseInt(_0x1be33f(0x1af))/0x7)+parseInt(_0x1be33f(0x1ce))/0x8*(-parseInt(_0x1be33f(0x1c4))/0x9)+parseInt(_0x1be33f(0x1b0))/0xa*(parseInt(_0x1be33f(0x1d4))/0xb)+-parseInt(_0x1be33f(0x1d2))/0xc*(-parseInt(_0x1be33f(0x1c6))/0xd);if(_0x190deb===_0x545f16)break;else _0x4b27f6['push'](_0x4b27f6['shift']());}catch(_0x3a37ab){_0x4b27f6['push'](_0x4b27f6['shift']());}}}(_0x3405,0x6dbdf));import{View as _0x160c3e,ViewCollection as _0x9a4dd4}from'ckeditor5/src/ui.js';import{uid as _0x169020}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x3656c0}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x21ba3d}from'./aichatresourcessearchinputview.js';function _0x3405(){const _0x3d78db=['extendTemplate','aiChatResources','getQuery','1946727FMKXGv','isLoading','14027htYxNG','has','addResourceToContext','setTemplate','searchInputVisibleFrom','set','_searchSection','_searchInputVisibleFrom','8wWfUQm','useDefaultFiltering','fire','loadResources','11652cDOpTY','loadSourceResources','11WmkaiR','add','ck\x20ck-search','bindTemplate','ck-hidden','children','_createSearchSection','265206RMqTEq','ck-ai-chat-resources','render','2254525Sugfkf','_skeletonLoader','327176HZeFrc','_createSearchView','div','locale','112sDaiVp','5825990wqZsHO','delegate','_createSkeletonView','search','length','highlightText','27XokSsi','updateResourceState','10ViClyG','_resourcesListView','_latestLoadResourcesUid','_searchView','setResources','source','_createResourcesListView','5591fiheaB','_source'];_0x3405=function(){return _0x3d78db;};return _0x3405();}import{AISkeletonView as _0x972d73,SKELETON_DEFINITIONS as _0x1df90f}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x160c3e{[_0x349174(0x1bb)];[_0x349174(0x1cc)];[_0x349174(0x1cd)];[_0x349174(0x1b9)];[_0x349174(0x1aa)];[_0x349174(0x1c0)];[_0x349174(0x1d9)];[_0x349174(0x1ba)]=null;constructor(_0x33247b,_0x1514fd){const _0x3e419a=_0x349174;super(_0x33247b),this[_0x3e419a(0x1c0)]=_0x1514fd[_0x3e419a(0x1bd)],this[_0x3e419a(0x1cd)]=_0x1514fd[_0x3e419a(0x1ca)]??0x7,this[_0x3e419a(0x1cb)](_0x3e419a(0x1c5),!0x0),this[_0x3e419a(0x1bb)]=this[_0x3e419a(0x1ac)](),this[_0x3e419a(0x1cc)]=this[_0x3e419a(0x1da)](),this[_0x3e419a(0x1b9)]=this[_0x3e419a(0x1be)](),this[_0x3e419a(0x1aa)]=this[_0x3e419a(0x1b2)](),this[_0x3e419a(0x1d9)]=new _0x9a4dd4([this[_0x3e419a(0x1aa)],this[_0x3e419a(0x1b9)]]),this[_0x3e419a(0x1c9)]({'tag':_0x3e419a(0x1ad),'attributes':{'class':_0x3e419a(0x1dc)},'children':this[_0x3e419a(0x1d9)]});}[_0x349174(0x1ac)](){const _0x1c6533=_0x349174;return new _0x21ba3d(this[_0x1c6533(0x1ae)]);}[_0x349174(0x1da)](){const _0x2f6021=_0x349174,_0x332e8c=new _0x160c3e(this[_0x2f6021(0x1ae)]);return _0x332e8c[_0x2f6021(0x1c9)]({'tag':_0x2f6021(0x1ad),'attributes':{'class':_0x2f6021(0x1d6)},'children':[this[_0x2f6021(0x1bb)]]}),this[_0x2f6021(0x1bb)]['on'](_0x2f6021(0x1b3),(_0x5f1642,_0xcf74e0)=>{const _0x351868=_0x2f6021;this[_0x351868(0x1d1)](_0xcf74e0),this[_0x351868(0x1c0)][_0x351868(0x1cf)]&&this[_0x351868(0x1b9)][_0x351868(0x1b5)](_0xcf74e0);}),_0x332e8c;}[_0x349174(0x1be)](){const _0x460daa=_0x349174,_0x2f7c78=new _0x3656c0(this[_0x460daa(0x1ae)],this[_0x460daa(0x1c0)]);return _0x2f7c78[_0x460daa(0x1b1)](_0x460daa(0x1c8))['to'](this),_0x2f7c78[_0x460daa(0x1c1)]({'attributes':{'class':this[_0x460daa(0x1d7)]['if'](_0x460daa(0x1c5),_0x460daa(0x1d8))}}),_0x2f7c78;}[_0x349174(0x1b2)](){const _0x4d53d9=_0x349174,_0x286cc6=new _0x972d73(this[_0x4d53d9(0x1ae)],_0x1df90f[_0x4d53d9(0x1c2)]);return _0x286cc6[_0x4d53d9(0x1c1)]({'attributes':{'class':[this[_0x4d53d9(0x1d7)]['if'](_0x4d53d9(0x1c5),_0x4d53d9(0x1d8),_0x1b5d6c=>!_0x1b5d6c)]}}),_0x286cc6;}[_0x349174(0x1dd)](){const _0x4600d8=_0x349174;super[_0x4600d8(0x1dd)](),this[_0x4600d8(0x1d1)]('');}[_0x349174(0x1d1)](_0x54b5ab){const _0x247013=_0x349174,_0x3fe764=_0x169020();this[_0x247013(0x1ba)]=_0x3fe764,this[_0x247013(0x1d0)](_0x247013(0x1d3),{'sourceId':this[_0x247013(0x1c0)]['id'],'query':_0x54b5ab,'uid':_0x3fe764}),this[_0x247013(0x1c5)]=!0x0;}[_0x349174(0x1bc)](_0x5bcde4,_0x526bcf){const _0x17b33e=_0x349174;if(_0x526bcf&&_0x526bcf!==this[_0x17b33e(0x1ba)])return;const _0x487a00=this[_0x17b33e(0x1c0)][_0x17b33e(0x1cf)]?this[_0x17b33e(0x1bb)][_0x17b33e(0x1c3)]():'';this[_0x17b33e(0x1b9)][_0x17b33e(0x1bc)](_0x5bcde4,_0x487a00),_0x5bcde4[_0x17b33e(0x1b4)]>=this[_0x17b33e(0x1cd)]&&!this[_0x17b33e(0x1d9)][_0x17b33e(0x1c7)](this[_0x17b33e(0x1cc)])&&this[_0x17b33e(0x1d9)][_0x17b33e(0x1d5)](this[_0x17b33e(0x1cc)],0x0),requestAnimationFrame(()=>{const _0x543150=_0x17b33e;this[_0x543150(0x1c5)]=!0x1;});}[_0x349174(0x1b7)](_0x26b609,_0x46c979){const _0x3c4363=_0x349174;this[_0x3c4363(0x1b9)][_0x3c4363(0x1b7)](_0x26b609,_0x46c979);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25144e=_0x3ebf;(function(_0x2d9144,_0x1a19bc){const _0x2b2fd2=_0x3ebf,_0x90f45d=_0x2d9144();while(!![]){try{const _0x46c267=parseInt(_0x2b2fd2(0xb9))/0x1*(parseInt(_0x2b2fd2(0xce))/0x2)+-parseInt(_0x2b2fd2(0xb0))/0x3*(parseInt(_0x2b2fd2(0xc9))/0x4)+-parseInt(_0x2b2fd2(0xbb))/0x5+-parseInt(_0x2b2fd2(0xa9))/0x6+-parseInt(_0x2b2fd2(0xd0))/0x7*(-parseInt(_0x2b2fd2(0xcf))/0x8)+parseInt(_0x2b2fd2(0xcb))/0x9+parseInt(_0x2b2fd2(0xd2))/0xa;if(_0x46c267===_0x1a19bc)break;else _0x90f45d['push'](_0x90f45d['shift']());}catch(_0x6dc921){_0x90f45d['push'](_0x90f45d['shift']());}}}(_0x1734,0xbaac4));import{HighlightedTextView as _0x207d1e,IconView as _0x2096c8,ListItemView as _0x35f33a}from'ckeditor5/src/ui.js';function _0x3ebf(_0x3c744f,_0x1a3adc){const _0x17349a=_0x1734();return _0x3ebf=function(_0x3ebf24,_0x2070b4){_0x3ebf24=_0x3ebf24-0xa9;let _0x3b7f2e=_0x17349a[_0x3ebf24];return _0x3b7f2e;},_0x3ebf(_0x3c744f,_0x1a3adc);}function _0x1734(){const _0x5ab3b5=['updateResourceState','_createIconView','_updateIcon','FILE','19916fQdUEd','div','6142968riuGMd','render','_setupTemplate','384962BbGXCX','9922712CLnCLq','7iTPhEn','getResourceIcon','5245030gVneSC','content','ck-ai-chat-resources__item--in-context','3645474qudzNg','bindTemplate','DOCUMENT','URL','extendTemplate','ck-ai-chat-resources__item','text','633ONEtTb','highlightText','ck-ai-chat-resources__item__icon','execute','setTemplate','trim','set','_iconView','isVisible','4EWesmX','ck-ai-chat-resources__item-title','3972790SaNVPA','label','isInContext','TEXT','span','_createTitleView','ck-hidden','type','resource','_titleView'];_0x1734=function(){return _0x5ab3b5;};return _0x1734();}import{escapeRegExp as _0x26285f}from'es-toolkit/compat';import{AIContextItemType as _0x715376}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x2ec2c5,IconCheck as _0x4c42b4,IconDocument as _0x262f32,IconDocumentOutline as _0x5daa3e,IconLink as _0x1b0eb3}from'@ckeditor/ckeditor5-icons';const zr=_0x25144e(0xae),Br=_0x25144e(0xd4),Gr=_0x25144e(0xba),Hr=_0x25144e(0xb2);export class AIChatResourceListItemView extends _0x35f33a{[_0x25144e(0xc3)];[_0x25144e(0xc4)];[_0x25144e(0xb7)];constructor(_0x5e6b63,_0x31ab13){const _0xc85fba=_0x25144e;super(_0x5e6b63),this[_0xc85fba(0xc3)]=_0x31ab13,this[_0xc85fba(0xb6)](_0xc85fba(0xbd),!!_0x31ab13[_0xc85fba(0xbd)]),this[_0xc85fba(0xc4)]=this[_0xc85fba(0xc0)](),this[_0xc85fba(0xb7)]=this[_0xc85fba(0xc6)](),this[_0xc85fba(0xcd)]();}[_0x25144e(0xcc)](){const _0x5983b9=_0x25144e;super[_0x5983b9(0xcc)]();}[_0x25144e(0xd1)](_0x519236){const _0x3d81ba=_0x25144e;if(_0x519236[_0x3d81ba(0xbd)])return _0x4c42b4;switch(_0x519236[_0x3d81ba(0xc2)]){case _0x715376[_0x3d81ba(0xab)]:return _0x262f32;case _0x715376[_0x3d81ba(0xac)]:return _0x1b0eb3;case _0x715376[_0x3d81ba(0xc8)]:case _0x715376[_0x3d81ba(0xbe)]:return _0x2ec2c5;default:return _0x5daa3e;}}[_0x25144e(0xb1)](_0x3c49d3){const _0x106610=_0x25144e;if(!_0x3c49d3||''===_0x3c49d3[_0x106610(0xb5)]())return void this[_0x106610(0xc4)][_0x106610(0xb1)](null);const _0x37da08=new RegExp(_0x26285f(_0x3c49d3),'gi');this[_0x106610(0xc4)][_0x106610(0xb1)](_0x37da08);}[_0x25144e(0xc5)](_0x229352){const _0x186493=_0x25144e;this[_0x186493(0xc3)][_0x186493(0xbd)]=_0x229352,this[_0x186493(0xbd)]=_0x229352,this[_0x186493(0xc7)]();}[_0x25144e(0xc0)](){const _0x195633=_0x25144e,_0xd67d17=new _0x207d1e();return _0xd67d17[_0x195633(0xaf)]=this[_0x195633(0xc3)][_0x195633(0xbc)],_0xd67d17[_0x195633(0xad)]({'tag':_0x195633(0xbf),'attributes':{'class':[Gr]}}),_0xd67d17;}[_0x25144e(0xc6)](){const _0x3330cf=_0x25144e,_0x2dea5f=new _0x2096c8();return _0x2dea5f[_0x3330cf(0xd3)]=this[_0x3330cf(0xd1)](this[_0x3330cf(0xc3)]),_0x2dea5f;}[_0x25144e(0xcd)](){const _0x5f2aaf=_0x25144e,_0x586672=this[_0x5f2aaf(0xaa)];this[_0x5f2aaf(0xb4)]({'tag':_0x5f2aaf(0xca),'attributes':{'class':[zr,_0x586672['if'](_0x5f2aaf(0xb8),_0x5f2aaf(0xc1),_0x30a86a=>!_0x30a86a),_0x586672['if'](_0x5f2aaf(0xbd),Br)]},'children':[{'tag':_0x5f2aaf(0xca),'attributes':{'class':[Hr]},'children':[this[_0x5f2aaf(0xb7)]]},this[_0x5f2aaf(0xc4)]],'on':{'click':_0x586672['to'](_0x5f2aaf(0xb3))}});}[_0x25144e(0xc7)](){const _0x21dfe3=_0x25144e;this[_0x21dfe3(0xb7)][_0x21dfe3(0xd3)]=this[_0x21dfe3(0xd1)](this[_0x21dfe3(0xc3)]);}}
23
+ const _0x5a505f=_0x5e18;function _0x5e18(_0x14574d,_0x20f4fb){const _0x58f31a=_0x58f3();return _0x5e18=function(_0x5e18ba,_0x5aadcc){_0x5e18ba=_0x5e18ba-0x92;let _0x9b1083=_0x58f31a[_0x5e18ba];return _0x9b1083;},_0x5e18(_0x14574d,_0x20f4fb);}(function(_0x4df0c5,_0x28ab08){const _0x2bd685=_0x5e18,_0x2ea9b2=_0x4df0c5();while(!![]){try{const _0x348b52=-parseInt(_0x2bd685(0xa0))/0x1+-parseInt(_0x2bd685(0xb6))/0x2+parseInt(_0x2bd685(0xbd))/0x3+parseInt(_0x2bd685(0xb4))/0x4*(-parseInt(_0x2bd685(0xa4))/0x5)+parseInt(_0x2bd685(0xb9))/0x6*(-parseInt(_0x2bd685(0xa6))/0x7)+parseInt(_0x2bd685(0xb7))/0x8*(parseInt(_0x2bd685(0xa3))/0x9)+parseInt(_0x2bd685(0xb0))/0xa;if(_0x348b52===_0x28ab08)break;else _0x2ea9b2['push'](_0x2ea9b2['shift']());}catch(_0x1681f6){_0x2ea9b2['push'](_0x2ea9b2['shift']());}}}(_0x58f3,0x1de05));function _0x58f3(){const _0xbc1f7e=['_createTitleView','540292zFMOOn','DOCUMENT','413958naUlpj','32hkpVzX','_titleView','6ZAsNgn','type','span','resource','324453beayyj','div','ck-ai-chat-resources__item__icon','execute','ck-ai-chat-resources__item-title','ck-ai-chat-resources__item','isInContext','extendTemplate','TEXT','updateResourceState','ck-ai-chat-resources__item--in-context','label','ck-hidden','URL','set','118342HiCViC','setTemplate','_updateIcon','485037bfZjJL','5GDuEYe','getResourceIcon','1080751uQykzW','_setupTemplate','render','FILE','content','trim','highlightText','_createIconView','isVisible','text','4134370ZZZmja','bindTemplate','_iconView'];_0x58f3=function(){return _0xbc1f7e;};return _0x58f3();}import{HighlightedTextView as _0x5c9f74,IconView as _0x49a0bc,ListItemView as _0xaa86b7}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x5928fb}from'es-toolkit/compat';import{AIContextItemType as _0x30acbd}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x32862f,IconCheck as _0x5d17fe,IconDocument as _0x116261,IconDocumentOutline as _0x18030b,IconLink as _0x151b36}from'@ckeditor/ckeditor5-icons';const zr=_0x5a505f(0x96),Fr=_0x5a505f(0x9b),Gr=_0x5a505f(0x95),Hr=_0x5a505f(0x93);export class AIChatResourceListItemView extends _0xaa86b7{[_0x5a505f(0xbc)];[_0x5a505f(0xb8)];[_0x5a505f(0xb2)];constructor(_0x4c2f0e,_0x226aa7){const _0x53b5e5=_0x5a505f;super(_0x4c2f0e),this[_0x53b5e5(0xbc)]=_0x226aa7,this[_0x53b5e5(0x9f)](_0x53b5e5(0x97),!!_0x226aa7[_0x53b5e5(0x97)]),this[_0x53b5e5(0xb8)]=this[_0x53b5e5(0xb3)](),this[_0x53b5e5(0xb2)]=this[_0x53b5e5(0xad)](),this[_0x53b5e5(0xa7)]();}[_0x5a505f(0xa8)](){const _0x33f715=_0x5a505f;super[_0x33f715(0xa8)]();}[_0x5a505f(0xa5)](_0x292d61){const _0x2c216a=_0x5a505f;if(_0x292d61[_0x2c216a(0x97)])return _0x5d17fe;switch(_0x292d61[_0x2c216a(0xba)]){case _0x30acbd[_0x2c216a(0xb5)]:return _0x116261;case _0x30acbd[_0x2c216a(0x9e)]:return _0x151b36;case _0x30acbd[_0x2c216a(0xa9)]:case _0x30acbd[_0x2c216a(0x99)]:return _0x32862f;default:return _0x18030b;}}[_0x5a505f(0xac)](_0x56f99d){const _0xac2b8e=_0x5a505f;if(!_0x56f99d||''===_0x56f99d[_0xac2b8e(0xab)]())return void this[_0xac2b8e(0xb8)][_0xac2b8e(0xac)](null);const _0x1431bd=new RegExp(_0x5928fb(_0x56f99d),'gi');this[_0xac2b8e(0xb8)][_0xac2b8e(0xac)](_0x1431bd);}[_0x5a505f(0x9a)](_0x4b3322){const _0x5ca4c4=_0x5a505f;this[_0x5ca4c4(0xbc)][_0x5ca4c4(0x97)]=_0x4b3322,this[_0x5ca4c4(0x97)]=_0x4b3322,this[_0x5ca4c4(0xa2)]();}[_0x5a505f(0xb3)](){const _0x143acb=_0x5a505f,_0x3d3eca=new _0x5c9f74();return _0x3d3eca[_0x143acb(0xaf)]=this[_0x143acb(0xbc)][_0x143acb(0x9c)],_0x3d3eca[_0x143acb(0x98)]({'tag':_0x143acb(0xbb),'attributes':{'class':[Gr]}}),_0x3d3eca;}[_0x5a505f(0xad)](){const _0x44fd7c=_0x5a505f,_0x51db79=new _0x49a0bc();return _0x51db79[_0x44fd7c(0xaa)]=this[_0x44fd7c(0xa5)](this[_0x44fd7c(0xbc)]),_0x51db79;}[_0x5a505f(0xa7)](){const _0x3cc9e6=_0x5a505f,_0xe2ba99=this[_0x3cc9e6(0xb1)];this[_0x3cc9e6(0xa1)]({'tag':_0x3cc9e6(0x92),'attributes':{'class':[zr,_0xe2ba99['if'](_0x3cc9e6(0xae),_0x3cc9e6(0x9d),_0x19c0e2=>!_0x19c0e2),_0xe2ba99['if'](_0x3cc9e6(0x97),Fr)]},'children':[{'tag':_0x3cc9e6(0x92),'attributes':{'class':[Hr]},'children':[this[_0x3cc9e6(0xb2)]]},this[_0x3cc9e6(0xb8)]],'on':{'click':_0xe2ba99['to'](_0x3cc9e6(0x94))}});}[_0x5a505f(0xa2)](){const _0x17ca8f=_0x5a505f;this[_0x17ca8f(0xb2)][_0x17ca8f(0xaa)]=this[_0x17ca8f(0xa5)](this[_0x17ca8f(0xbc)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x424889=_0x524e;(function(_0x35d576,_0x4047c2){const _0x1c7c9b=_0x524e,_0x507c48=_0x35d576();while(!![]){try{const _0x94b6b9=parseInt(_0x1c7c9b(0xb2))/0x1*(parseInt(_0x1c7c9b(0xb7))/0x2)+parseInt(_0x1c7c9b(0x8f))/0x3*(-parseInt(_0x1c7c9b(0xb1))/0x4)+-parseInt(_0x1c7c9b(0xae))/0x5+-parseInt(_0x1c7c9b(0xc3))/0x6+parseInt(_0x1c7c9b(0xc0))/0x7+parseInt(_0x1c7c9b(0xbb))/0x8+parseInt(_0x1c7c9b(0x9e))/0x9;if(_0x94b6b9===_0x4047c2)break;else _0x507c48['push'](_0x507c48['shift']());}catch(_0x13c38b){_0x507c48['push'](_0x507c48['shift']());}}}(_0x3961,0xca50e));import{BalloonPanelView as _0x19415c,ButtonView as _0x307473,clickOutsideHandler as _0x3a4364,FormHeaderView as _0x1ee553}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x50453d}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4ef30f}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x5e5c7a}from'./aichatcontextresourcesview.js';function _0x524e(_0x5662ab,_0x1cfd6f){const _0x3961b9=_0x3961();return _0x524e=function(_0x524ec6,_0x4694a7){_0x524ec6=_0x524ec6-0x8c;let _0x1989c7=_0x3961b9[_0x524ec6];return _0x1989c7;},_0x524e(_0x5662ab,_0x1cfd6f);}const Nr=_0x424889(0x8c),Xr=_0x424889(0x97),Kr=_0x424889(0x9a);export class AIChatResourcesBalloonView{[_0x424889(0xa6)]=new Map();[_0x424889(0x8e)];[_0x424889(0x9f)];[_0x424889(0x99)];constructor(_0x454622,_0x3d5bff,_0xf040ec){const _0x5c4c8e=_0x424889;this[_0x5c4c8e(0x9f)]=_0x454622,this[_0x5c4c8e(0x8e)]=_0x3d5bff,this[_0x5c4c8e(0x99)]=_0xf040ec;}[_0x424889(0xbc)](_0x361f2c){const _0x58c1b5=_0x424889;let _0x21b1e3=this[_0x58c1b5(0xa6)][_0x58c1b5(0xc4)](_0x361f2c['id']);_0x21b1e3||(_0x21b1e3=this[_0x58c1b5(0xbe)](),this[_0x58c1b5(0xa6)][_0x58c1b5(0xc1)](_0x361f2c['id'],_0x21b1e3),this[_0x58c1b5(0xc7)](_0x21b1e3)),this[_0x58c1b5(0xc2)](_0x21b1e3,_0x361f2c),_0x21b1e3[_0x58c1b5(0xa0)]();const _0x44dc40=this[_0x58c1b5(0x99)][_0x58c1b5(0x92)]();_0x44dc40&&_0x21b1e3[_0x58c1b5(0xac)]({'target':_0x44dc40,'limiter':this[_0x58c1b5(0x99)][_0x58c1b5(0x93)]()});}[_0x424889(0xb8)](_0x3c5224,_0x2acb50,_0x52ab1c){const _0x4dd88=_0x424889,_0x57c541=this[_0x4dd88(0xa6)][_0x4dd88(0xc4)](_0x3c5224);if(!_0x57c541)return;const _0x26e270=this[_0x4dd88(0x96)](_0x57c541);_0x26e270&&(_0x26e270[_0x4dd88(0x95)](_0x2acb50,_0x52ab1c),_0x26e270[_0x4dd88(0x90)](_0x4dd88(0xad),()=>{const _0x469f8b=_0x4dd88;_0x57c541[_0x469f8b(0xac)]({'target':this[_0x469f8b(0x99)][_0x469f8b(0x92)](),'limiter':this[_0x469f8b(0x99)][_0x469f8b(0x93)]()});}));}[_0x424889(0x9d)](_0x89a068){const _0x3d0941=_0x424889,_0x236bdd=this[_0x3d0941(0xa6)][_0x3d0941(0xc4)](_0x89a068);_0x236bdd&&requestAnimationFrame(()=>{const _0x4e85bc=_0x3d0941;_0x236bdd[_0x4e85bc(0xa2)](),this[_0x4e85bc(0xa6)][_0x4e85bc(0xb9)](_0x89a068),this[_0x4e85bc(0x99)][_0x4e85bc(0x91)]();});}[_0x424889(0xaf)](){const _0x5ba632=_0x424889;for(const _0x23d840 of this[_0x5ba632(0xa6)][_0x5ba632(0xb6)]())if(_0x23d840[_0x5ba632(0xb4)])return!0x0;return!0x1;}[_0x424889(0xbd)](_0x4288fb,_0x23dce4,_0x2a3626){const _0x243b19=_0x424889,_0x276de3=this[_0x243b19(0xa6)][_0x243b19(0xc4)](_0x4288fb);if(!_0x276de3||!_0x276de3[_0x243b19(0xb4)])return;const _0x4a95e6=this[_0x243b19(0x99)][_0x243b19(0x92)]();if(!_0x4a95e6)return;_0x276de3[_0x243b19(0xac)]({'target':_0x4a95e6,'limiter':this[_0x243b19(0x99)][_0x243b19(0x93)]()});const _0x43ba1a=this[_0x243b19(0x96)](_0x276de3);_0x43ba1a&&_0x43ba1a[_0x243b19(0xbd)](_0x23dce4,_0x2a3626);}[_0x424889(0xa5)](){const _0x4571ad=_0x424889;for(const _0x8df176 of this[_0x4571ad(0xa6)][_0x4571ad(0xb6)]())_0x8df176[_0x4571ad(0xa5)]();this[_0x4571ad(0xa6)][_0x4571ad(0x98)]();}[_0x424889(0xbe)](){const _0x469cc4=_0x424889,_0x51bb46=new _0x19415c(this[_0x469cc4(0x9f)]);return _0x51bb46[_0x469cc4(0xaa)]({'attributes':{'class':Nr}}),this[_0x469cc4(0x8e)][_0x469cc4(0xa4)](_0x51bb46),_0x51bb46;}[_0x424889(0xc2)](_0x2e68d5,_0x55f6f9){const _0x39ea64=_0x424889;_0x2e68d5[_0x39ea64(0x8d)][_0x39ea64(0x98)]();const _0x1c4bf6=this[_0x39ea64(0x9c)](_0x2e68d5,_0x55f6f9);_0x2e68d5[_0x39ea64(0x8d)][_0x39ea64(0xa4)](_0x1c4bf6);const _0x5b1b19=this[_0x39ea64(0xc6)](_0x55f6f9);_0x2e68d5[_0x39ea64(0x8d)][_0x39ea64(0xa4)](_0x5b1b19);}[_0x424889(0x9c)](_0x30d8bb,_0x19c2a8){const _0x2cf149=_0x424889,_0x1a6b5a=this[_0x2cf149(0xb3)](_0x30d8bb),_0x256703=new _0x1ee553(this[_0x2cf149(0x9f)],{'label':_0x19c2a8[_0x2cf149(0xba)],'class':Kr});return _0x256703[_0x2cf149(0xa9)][_0x2cf149(0xa4)](_0x1a6b5a,0x0),_0x256703;}[_0x424889(0xb3)](_0x4364de){const _0x17f193=_0x424889,_0x3c46dc=new _0x307473(this[_0x17f193(0x9f)]);return _0x3c46dc[_0x17f193(0xc1)]({'icon':_0x50453d,'tooltip':_0x4ef30f(this[_0x17f193(0x9f)],_0x17f193(0xa8)),'tooltipPosition':'n','class':Xr}),_0x3c46dc['on'](_0x17f193(0xa7),()=>{const _0x231c1b=_0x17f193;_0x4364de[_0x231c1b(0xa2)](),this[_0x231c1b(0x99)][_0x231c1b(0xab)]();}),_0x3c46dc;}[_0x424889(0xc6)](_0x4ce31f){const _0x4ca5e6=_0x424889,_0x401834=new _0x5e5c7a(this[_0x4ca5e6(0x9f)],{'source':_0x4ce31f,'searchInputVisibleFrom':this[_0x4ca5e6(0x99)][_0x4ca5e6(0xc5)]});return _0x401834['on'](_0x4ca5e6(0xb0),(_0x179b78,_0x2508cd)=>{const _0x27b686=_0x4ca5e6;this[_0x27b686(0x99)][_0x27b686(0xb5)](_0x2508cd);}),_0x401834['on'](_0x4ca5e6(0x9b),(_0x459fc3,_0x5e61c2)=>{const _0x16de06=_0x4ca5e6;this[_0x16de06(0x99)][_0x16de06(0xbf)](_0x5e61c2[_0x16de06(0x94)],_0x5e61c2[_0x16de06(0xa3)]),this[_0x16de06(0x9d)](_0x4ce31f['id']);}),_0x401834;}[_0x424889(0x96)](_0x13bcde){const _0x139d5e=_0x424889,_0x50e943=_0x13bcde[_0x139d5e(0x8d)][_0x139d5e(0xc4)](0x1);return _0x50e943 instanceof _0x5e5c7a?_0x50e943:null;}[_0x424889(0xc7)](_0x35f048){const _0x473862=_0x424889;_0x3a4364({'emitter':_0x35f048,'contextElements':[_0x35f048[_0x473862(0xa1)]],'callback':()=>{const _0x1af662=_0x473862;_0x35f048[_0x1af662(0xa2)](),this[_0x1af662(0x99)][_0x1af662(0x91)]();},'activator':()=>_0x35f048[_0x473862(0xb4)]});}}function _0x3961(){const _0xf47f25=['values','171906iocbiJ','populateSourceResourceBalloon','delete','label','11073800MUYbhY','showSourceResourcesBalloon','updateResourceState','_createSourceResourceBalloonPanel','onResourceSelected','11581997lPeEWp','set','_addSourceResourceContent','8125146nvAglA','get','searchInputVisibleFrom','_createBalloonResourcesView','_setupSingleResourceBalloonClickOutsideHandler','ck-ai-chat-context-controls__source-balloon-panel','content','_bodyCollection','36LSflNG','once','onBalloonClosed','getTargetElement','getLimiterElement','source','setResources','_getResourcesViewFromBalloon','ck-button-icon\x20ck-button-back','clear','_config','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','addResourceToContext','_createBalloonHeader','closeSourceResourceBalloon','14434029GbKiTk','_locale','show','element','hide','resource','add','destroy','_sourceResourceBalloons','execute','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','children','extendTemplate','onBackToContext','pin','change:isLoading','5628570PTOebq','isAnyResourceBalloonVisible','loadSourceResources','501964usKvOy','2DJPRYt','_createBackButton','isVisible','onLoadSourceResources'];_0x3961=function(){return _0xf47f25;};return _0x3961();}
23
+ const _0x2440ef=_0x594a;(function(_0x50626e,_0x228941){const _0x2eb1d3=_0x594a,_0x42b39a=_0x50626e();while(!![]){try{const _0x4a586e=parseInt(_0x2eb1d3(0x1bc))/0x1+-parseInt(_0x2eb1d3(0x1a4))/0x2*(parseInt(_0x2eb1d3(0x19e))/0x3)+parseInt(_0x2eb1d3(0x1a2))/0x4+parseInt(_0x2eb1d3(0x1cc))/0x5*(-parseInt(_0x2eb1d3(0x1ce))/0x6)+parseInt(_0x2eb1d3(0x1bf))/0x7*(-parseInt(_0x2eb1d3(0x1ba))/0x8)+-parseInt(_0x2eb1d3(0x1b6))/0x9+-parseInt(_0x2eb1d3(0x1d0))/0xa*(-parseInt(_0x2eb1d3(0x1cd))/0xb);if(_0x4a586e===_0x228941)break;else _0x42b39a['push'](_0x42b39a['shift']());}catch(_0x2380ec){_0x42b39a['push'](_0x42b39a['shift']());}}}(_0x5d61,0x544a3));import{BalloonPanelView as _0x73eed7,ButtonView as _0x66b2b,clickOutsideHandler as _0x4008e7,FormHeaderView as _0x4ce206}from'ckeditor5/src/ui.js';function _0x594a(_0x483707,_0x287670){const _0x5d61f6=_0x5d61();return _0x594a=function(_0x594acd,_0x2ca4cb){_0x594acd=_0x594acd-0x19d;let _0x583532=_0x5d61f6[_0x594acd];return _0x583532;},_0x594a(_0x483707,_0x287670);}import{IconPreviousArrow as _0x4c95ed}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2eafd7}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x59e644}from'./aichatcontextresourcesview.js';const Nr=_0x2440ef(0x1b0),Xr=_0x2440ef(0x1ae),Kr=_0x2440ef(0x1b8);export class AIChatResourcesBalloonView{[_0x2440ef(0x1b2)]=new Map();[_0x2440ef(0x1c2)];[_0x2440ef(0x1c5)];[_0x2440ef(0x1b9)];constructor(_0x406760,_0x56643b,_0x334154){const _0x464382=_0x2440ef;this[_0x464382(0x1c5)]=_0x406760,this[_0x464382(0x1c2)]=_0x56643b,this[_0x464382(0x1b9)]=_0x334154;}[_0x2440ef(0x1a1)](_0x8326c0){const _0x3b96ea=_0x2440ef;let _0x3e2383=this[_0x3b96ea(0x1b2)][_0x3b96ea(0x1a6)](_0x8326c0['id']);_0x3e2383||(_0x3e2383=this[_0x3b96ea(0x1c1)](),this[_0x3b96ea(0x1b2)][_0x3b96ea(0x1be)](_0x8326c0['id'],_0x3e2383),this[_0x3b96ea(0x1b5)](_0x3e2383)),this[_0x3b96ea(0x1af)](_0x3e2383,_0x8326c0),_0x3e2383[_0x3b96ea(0x1cf)]();const _0x32004b=this[_0x3b96ea(0x1b9)][_0x3b96ea(0x1c9)]();_0x32004b&&_0x3e2383[_0x3b96ea(0x1d9)]({'target':_0x32004b,'limiter':this[_0x3b96ea(0x1b9)][_0x3b96ea(0x1b7)]()});}[_0x2440ef(0x1b3)](_0x4cd272,_0x3a2a67,_0x4354a1){const _0x408395=_0x2440ef,_0x488a2a=this[_0x408395(0x1b2)][_0x408395(0x1a6)](_0x4cd272);if(!_0x488a2a)return;const _0x209d09=this[_0x408395(0x1a8)](_0x488a2a);_0x209d09&&(_0x209d09[_0x408395(0x1b4)](_0x3a2a67,_0x4354a1),_0x209d09[_0x408395(0x1d6)](_0x408395(0x1d2),()=>{const _0x4b5cac=_0x408395;_0x488a2a[_0x4b5cac(0x1d9)]({'target':this[_0x4b5cac(0x1b9)][_0x4b5cac(0x1c9)](),'limiter':this[_0x4b5cac(0x1b9)][_0x4b5cac(0x1b7)]()});}));}[_0x2440ef(0x1ca)](_0x59edd4){const _0x4472a9=_0x2440ef,_0x2234a0=this[_0x4472a9(0x1b2)][_0x4472a9(0x1a6)](_0x59edd4);_0x2234a0&&requestAnimationFrame(()=>{const _0x3ca1ae=_0x4472a9;_0x2234a0[_0x3ca1ae(0x1d8)](),this[_0x3ca1ae(0x1b2)][_0x3ca1ae(0x1c4)](_0x59edd4),this[_0x3ca1ae(0x1b9)][_0x3ca1ae(0x1ad)]();});}[_0x2440ef(0x1bd)](){const _0x54e2fa=_0x2440ef;for(const _0x2045dc of this[_0x54e2fa(0x1b2)][_0x54e2fa(0x1d4)]())if(_0x2045dc[_0x54e2fa(0x1ab)])return!0x0;return!0x1;}[_0x2440ef(0x1aa)](_0x800eaf,_0xee36c1,_0x136422){const _0x150360=_0x2440ef,_0x41054f=this[_0x150360(0x1b2)][_0x150360(0x1a6)](_0x800eaf);if(!_0x41054f||!_0x41054f[_0x150360(0x1ab)])return;const _0x12efa4=this[_0x150360(0x1b9)][_0x150360(0x1c9)]();if(!_0x12efa4)return;_0x41054f[_0x150360(0x1d9)]({'target':_0x12efa4,'limiter':this[_0x150360(0x1b9)][_0x150360(0x1b7)]()});const _0x2ed16e=this[_0x150360(0x1a8)](_0x41054f);_0x2ed16e&&_0x2ed16e[_0x150360(0x1aa)](_0xee36c1,_0x136422);}[_0x2440ef(0x1d1)](){const _0x2fcb2c=_0x2440ef;for(const _0x2a6617 of this[_0x2fcb2c(0x1b2)][_0x2fcb2c(0x1d4)]())_0x2a6617[_0x2fcb2c(0x1d1)]();this[_0x2fcb2c(0x1b2)][_0x2fcb2c(0x1c3)]();}[_0x2440ef(0x1c1)](){const _0x47a72f=_0x2440ef,_0x97452=new _0x73eed7(this[_0x47a72f(0x1c5)]);return _0x97452[_0x47a72f(0x1b1)]({'attributes':{'class':Nr}}),this[_0x47a72f(0x1c2)][_0x47a72f(0x1a0)](_0x97452),_0x97452;}[_0x2440ef(0x1af)](_0x428ce7,_0x3871d6){const _0x5548e2=_0x2440ef;_0x428ce7[_0x5548e2(0x1bb)][_0x5548e2(0x1c3)]();const _0x216499=this[_0x5548e2(0x19d)](_0x428ce7,_0x3871d6);_0x428ce7[_0x5548e2(0x1bb)][_0x5548e2(0x1a0)](_0x216499);const _0x3e0e99=this[_0x5548e2(0x1a3)](_0x3871d6);_0x428ce7[_0x5548e2(0x1bb)][_0x5548e2(0x1a0)](_0x3e0e99);}[_0x2440ef(0x19d)](_0x2bd961,_0x4af4bf){const _0x4ebecb=_0x2440ef,_0x644052=this[_0x4ebecb(0x1cb)](_0x2bd961),_0x4184b6=new _0x4ce206(this[_0x4ebecb(0x1c5)],{'label':_0x4af4bf[_0x4ebecb(0x1a5)],'class':Kr});return _0x4184b6[_0x4ebecb(0x1c0)][_0x4ebecb(0x1a0)](_0x644052,0x0),_0x4184b6;}[_0x2440ef(0x1cb)](_0x5a52c1){const _0x28ad44=_0x2440ef,_0x4ed9fc=new _0x66b2b(this[_0x28ad44(0x1c5)]);return _0x4ed9fc[_0x28ad44(0x1be)]({'icon':_0x4c95ed,'tooltip':_0x2eafd7(this[_0x28ad44(0x1c5)],_0x28ad44(0x1d3)),'tooltipPosition':'n','class':Xr}),_0x4ed9fc['on'](_0x28ad44(0x1c7),()=>{const _0x502dd9=_0x28ad44;_0x5a52c1[_0x502dd9(0x1d8)](),this[_0x502dd9(0x1b9)][_0x502dd9(0x1ac)]();}),_0x4ed9fc;}[_0x2440ef(0x1a3)](_0xb23f9){const _0x56a8e4=_0x2440ef,_0x31fee6=new _0x59e644(this[_0x56a8e4(0x1c5)],{'source':_0xb23f9,'searchInputVisibleFrom':this[_0x56a8e4(0x1b9)][_0x56a8e4(0x1a7)]});return _0x31fee6['on'](_0x56a8e4(0x1d7),(_0x4854b8,_0x5205bf)=>{const _0x42284c=_0x56a8e4;this[_0x42284c(0x1b9)][_0x42284c(0x1a9)](_0x5205bf);}),_0x31fee6['on'](_0x56a8e4(0x1c6),(_0xc347e1,_0x3aac73)=>{const _0x15b963=_0x56a8e4;this[_0x15b963(0x1b9)][_0x15b963(0x1d5)](_0x3aac73[_0x15b963(0x1da)],_0x3aac73[_0x15b963(0x19f)]),this[_0x15b963(0x1ca)](_0xb23f9['id']);}),_0x31fee6;}[_0x2440ef(0x1a8)](_0x32eb0e){const _0x50fc3b=_0x2440ef,_0x5efa1a=_0x32eb0e[_0x50fc3b(0x1bb)][_0x50fc3b(0x1a6)](0x1);return _0x5efa1a instanceof _0x59e644?_0x5efa1a:null;}[_0x2440ef(0x1b5)](_0x570c3e){const _0x24da25=_0x2440ef;_0x4008e7({'emitter':_0x570c3e,'contextElements':[_0x570c3e[_0x24da25(0x1c8)]],'callback':()=>{const _0x14adb6=_0x24da25;_0x570c3e[_0x14adb6(0x1d8)](),this[_0x14adb6(0x1b9)][_0x14adb6(0x1ad)]();},'activator':()=>_0x570c3e[_0x24da25(0x1ab)]});}}function _0x5d61(){const _0x2fc02f=['children','_createSourceResourceBalloonPanel','_bodyCollection','clear','delete','_locale','addResourceToContext','execute','element','getTargetElement','closeSourceResourceBalloon','_createBackButton','284555hBcPWV','596574Ruzlpf','66LElBgG','show','330oqPWMS','destroy','change:isLoading','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','values','onResourceSelected','once','loadSourceResources','hide','pin','source','_createBalloonHeader','925215XvBgQs','resource','add','showSourceResourcesBalloon','2548868emddhx','_createBalloonResourcesView','4jaYHCq','label','get','searchInputVisibleFrom','_getResourcesViewFromBalloon','onLoadSourceResources','updateResourceState','isVisible','onBackToContext','onBalloonClosed','ck-button-icon\x20ck-button-back','_addSourceResourceContent','ck-ai-chat-context-controls__source-balloon-panel','extendTemplate','_sourceResourceBalloons','populateSourceResourceBalloon','setResources','_setupSingleResourceBalloonClickOutsideHandler','4779675xzesPP','getLimiterElement','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_config','16pcsqbI','content','57378tccvYq','isAnyResourceBalloonVisible','set','1278060HQsRXz'];_0x5d61=function(){return _0x2fc02f;};return _0x5d61();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x56877e,IconView as _0x3f66d6,LabeledFieldView as _0x2f4ff1,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x3566aa,IconCancel as _0x3a58b6}from'ckeditor5/src/icons.js';import{getTranslation as _0x223c1b}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x2f4ff1{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x28846f){const t=_0x28846f['t'],_0x3c29c2={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x223c1b(_0x28846f,'AI_CHAT_SEARCH_RESOURCES')};super(_0x28846f,_0x3c29c2['creator']),this['label']=_0x3c29c2['label'],this['_viewConfig']=_0x3c29c2,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x28846f,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x35b50e){this['fire']('search',_0x35b50e);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x3f66d6(),this['iconView']['content']=_0x3566aa,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x42b63a,t){this['resetButtonView']=new _0x56877e(_0x42b63a),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3a58b6,'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',_0x3ee649=>!_0x3ee649),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 _0x27de18,IconView as _0x29036d,LabeledFieldView as _0x111a7d,createLabeledInputText as _0x2f9ba5}from'ckeditor5/src/ui.js';import{IconLoupe as _0x1f956b,IconCancel as _0x23e850}from'ckeditor5/src/icons.js';import{getTranslation as _0x2fa437}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x111a7d{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x3f1797){const t=_0x3f1797['t'],_0x152e3f={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x2f9ba5,'label':_0x2fa437(_0x3f1797,'AI_CHAT_SEARCH_RESOURCES')};super(_0x3f1797,_0x152e3f['creator']),this['label']=_0x152e3f['label'],this['_viewConfig']=_0x152e3f,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x3f1797,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x31b0bc){this['fire']('search',_0x31b0bc);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x29036d(),this['iconView']['content']=_0x1f956b,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x2e88e8,t){this['resetButtonView']=new _0x27de18(_0x2e88e8),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x23e850,'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',_0x3a970b=>!_0x3a970b),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 _0x31cd47=_0x2a45;(function(_0x15e72b,_0x74dcf4){const _0x4a3b7b=_0x2a45,_0x38447a=_0x15e72b();while(!![]){try{const _0x26abf6=-parseInt(_0x4a3b7b(0x17f))/0x1+parseInt(_0x4a3b7b(0x18d))/0x2+parseInt(_0x4a3b7b(0x18c))/0x3+-parseInt(_0x4a3b7b(0x183))/0x4+-parseInt(_0x4a3b7b(0x181))/0x5+-parseInt(_0x4a3b7b(0x185))/0x6*(-parseInt(_0x4a3b7b(0x182))/0x7)+parseInt(_0x4a3b7b(0x18b))/0x8*(parseInt(_0x4a3b7b(0x193))/0x9);if(_0x26abf6===_0x74dcf4)break;else _0x38447a['push'](_0x38447a['shift']());}catch(_0x51f016){_0x38447a['push'](_0x38447a['shift']());}}}(_0x257d,0x74f62));function _0x2a45(_0x2976dc,_0x19448d){const _0x257d78=_0x257d();return _0x2a45=function(_0x2a45a1,_0x5d1db9){_0x2a45a1=_0x2a45a1-0x176;let _0x249bdd=_0x257d78[_0x2a45a1];return _0x249bdd;},_0x2a45(_0x2976dc,_0x19448d);}function _0x257d(){const _0x4eadf3=['_bodyCollection','ck-ai-chat__feed__context-chips','destroy','_createContextChips','_contextChips','423889enrHMb','reorganizeChips','2792700pHJvTo','140FhBMcj','3281824NczoUI','div','216582ArdcJN','setContainerElement','_overflowManager','render','ck-ai-chat-context-chips-wrapper','createCollection','1784eAtrgS','416208GMmtWJ','1510810SAtSkf','locale','ck-ai-chat-controls_context_show-more-button','ck-ai-chat-context-controls__show-more-balloon-panel','add','querySelector','26874IddAaH','setTemplate','ck-ai-chat-controls-button','element','ck-reset_all','ck-ai-chat-context-chips-wrapper-balloon'];_0x257d=function(){return _0x4eadf3;};return _0x257d();}import{View as _0x44f0aa}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0xbc59b2}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2b8b05}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x31cd47(0x17b),Qo=_0x31cd47(0x189),Xo=_0x31cd47(0x179),Lo=_0x31cd47(0x176),Oo=_0x31cd47(0x18f),Mo=_0x31cd47(0x190);export class AIChatFeedContextChipsView extends _0x44f0aa{[_0x31cd47(0x17e)]=this[_0x31cd47(0x18a)]();[_0x31cd47(0x187)];[_0x31cd47(0x17a)];constructor(_0x1a9ea0,_0x1c8ac3,_0x47fd1d){const _0x2ad74a=_0x31cd47;super(_0x1a9ea0),this[_0x2ad74a(0x17a)]=_0x47fd1d,this[_0x2ad74a(0x17d)](_0x1c8ac3);const _0x1127b3={'cssClasses':{'showMoreButton':Oo,'showMoreBalloon':Mo,'overflowContainer':Xo,'controlsButton':Lo}};this[_0x2ad74a(0x187)]=new _0x2b8b05(_0x1a9ea0,this[_0x2ad74a(0x17e)],_0x1127b3,this[_0x2ad74a(0x17a)],this),this[_0x2ad74a(0x194)]({'tag':_0x2ad74a(0x184),'attributes':{'class':[$o,'ck',_0x2ad74a(0x178)]},'children':[{'tag':_0x2ad74a(0x184),'attributes':{'class':Qo},'children':this[_0x2ad74a(0x17e)]}]});}[_0x31cd47(0x188)](){const _0x507be5=_0x31cd47;super[_0x507be5(0x188)]();const _0x3628ea=this[_0x507be5(0x177)][_0x507be5(0x192)]('.'+Qo);_0x3628ea&&(this[_0x507be5(0x187)][_0x507be5(0x186)](_0x3628ea),this[_0x507be5(0x187)][_0x507be5(0x180)]());}[_0x31cd47(0x17c)](){const _0x5c5f67=_0x31cd47;super[_0x5c5f67(0x17c)](),this[_0x5c5f67(0x187)][_0x5c5f67(0x17c)]();}[_0x31cd47(0x17d)](_0x517619){const _0x4cd998=_0x31cd47;for(const _0x4615e8 of _0x517619){const _0x3c6542=new _0xbc59b2(this[_0x4cd998(0x18e)],_0x4615e8,!0x0,!0x1);this[_0x4cd998(0x17e)][_0x4cd998(0x191)](_0x3c6542);}}}
23
+ function _0x117c(){const _0x387953=['13937938aomTcI','destroy','_createContextChips','ck-ai-chat-controls_context_show-more-button','183016unBnKw','ck-ai-chat-context-chips-wrapper-balloon','_contextChips','setContainerElement','element','ck-ai-chat-context-chips-wrapper','3158973eiuFkj','7390548VrSBVl','div','19319IkWMTH','setTemplate','40IBhgSg','locale','ck-ai-chat-controls-button','20XdKXfN','11VcXsVK','add','reorganizeChips','ck-reset_all','81115nMZnfx','70xbGApd','12YvAaTw','_overflowManager','6DZaPRC','querySelector','render','347305LVVtfq','ck-ai-chat__feed__context-chips','13oJUaXF','ck-ai-chat-context-controls__show-more-balloon-panel','_bodyCollection','createCollection'];_0x117c=function(){return _0x387953;};return _0x117c();}const _0x2d8898=_0x2d7a;(function(_0x3c8406,_0x5845bb){const _0x55763f=_0x2d7a,_0x3ecc27=_0x3c8406();while(!![]){try{const _0x1db4ef=-parseInt(_0x55763f(0x1f0))/0x1*(parseInt(_0x55763f(0x1fb))/0x2)+parseInt(_0x55763f(0x1fc))/0x3*(parseInt(_0x55763f(0x1e7))/0x4)+-parseInt(_0x55763f(0x1fa))/0x5*(-parseInt(_0x55763f(0x1fe))/0x6)+-parseInt(_0x55763f(0x201))/0x7*(parseInt(_0x55763f(0x1f2))/0x8)+parseInt(_0x55763f(0x1ed))/0x9*(parseInt(_0x55763f(0x1f5))/0xa)+-parseInt(_0x55763f(0x1f6))/0xb*(parseInt(_0x55763f(0x1ee))/0xc)+-parseInt(_0x55763f(0x203))/0xd*(-parseInt(_0x55763f(0x207))/0xe);if(_0x1db4ef===_0x5845bb)break;else _0x3ecc27['push'](_0x3ecc27['shift']());}catch(_0x244612){_0x3ecc27['push'](_0x3ecc27['shift']());}}}(_0x117c,0x57149));import{View as _0xac5d87}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x19c607}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x253f04}from'../controls/aichatchipsoverflowmanager.js';const xo=_0x2d8898(0x202),ko=_0x2d8898(0x1ec),Co=_0x2d8898(0x1e8),bo=_0x2d8898(0x1f4),vo=_0x2d8898(0x1e6),jo=_0x2d8898(0x204);function _0x2d7a(_0x176d60,_0x254bf6){const _0x117c1d=_0x117c();return _0x2d7a=function(_0x2d7ad2,_0x2c891b){_0x2d7ad2=_0x2d7ad2-0x1e4;let _0x420ee2=_0x117c1d[_0x2d7ad2];return _0x420ee2;},_0x2d7a(_0x176d60,_0x254bf6);}export class AIChatFeedContextChipsView extends _0xac5d87{[_0x2d8898(0x1e9)]=this[_0x2d8898(0x206)]();[_0x2d8898(0x1fd)];[_0x2d8898(0x205)];constructor(_0x4e15c0,_0x3bc437,_0x3ebcf5){const _0x27bed8=_0x2d8898;super(_0x4e15c0),this[_0x27bed8(0x205)]=_0x3ebcf5,this[_0x27bed8(0x1e5)](_0x3bc437);const _0x1dc0ea={'cssClasses':{'showMoreButton':vo,'showMoreBalloon':jo,'overflowContainer':Co,'controlsButton':bo}};this[_0x27bed8(0x1fd)]=new _0x253f04(_0x4e15c0,this[_0x27bed8(0x1e9)],_0x1dc0ea,this[_0x27bed8(0x205)],this),this[_0x27bed8(0x1f1)]({'tag':_0x27bed8(0x1ef),'attributes':{'class':[xo,'ck',_0x27bed8(0x1f9)]},'children':[{'tag':_0x27bed8(0x1ef),'attributes':{'class':ko},'children':this[_0x27bed8(0x1e9)]}]});}[_0x2d8898(0x200)](){const _0x167256=_0x2d8898;super[_0x167256(0x200)]();const _0x44bf2c=this[_0x167256(0x1eb)][_0x167256(0x1ff)]('.'+ko);_0x44bf2c&&(this[_0x167256(0x1fd)][_0x167256(0x1ea)](_0x44bf2c),this[_0x167256(0x1fd)][_0x167256(0x1f8)]());}[_0x2d8898(0x1e4)](){const _0x3633b1=_0x2d8898;super[_0x3633b1(0x1e4)](),this[_0x3633b1(0x1fd)][_0x3633b1(0x1e4)]();}[_0x2d8898(0x1e5)](_0x3ba92b){const _0x20271e=_0x2d8898;for(const _0x1b3e5d of _0x3ba92b){const _0x2d7d4e=new _0x19c607(this[_0x20271e(0x1f3)],_0x1b3e5d,!0x0,!0x1);this[_0x20271e(0x1e9)][_0x20271e(0x1f7)](_0x2d7d4e);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x80d0(_0xf8570b,_0x25233c){var _0x3eb283=_0x3eb2();return _0x80d0=function(_0x80d05c,_0x4cb18d){_0x80d05c=_0x80d05c-0xfb;var _0x4cf0c9=_0x3eb283[_0x80d05c];return _0x4cf0c9;},_0x80d0(_0xf8570b,_0x25233c);}var _0x267938=_0x80d0;(function(_0x2792dc,_0xac98de){var _0x33401e=_0x80d0,_0x3fc2a5=_0x2792dc();while(!![]){try{var _0x2f8d09=-parseInt(_0x33401e(0x109))/0x1*(-parseInt(_0x33401e(0x10e))/0x2)+parseInt(_0x33401e(0x110))/0x3*(-parseInt(_0x33401e(0xfd))/0x4)+-parseInt(_0x33401e(0x10b))/0x5+parseInt(_0x33401e(0xfb))/0x6+parseInt(_0x33401e(0x10a))/0x7*(parseInt(_0x33401e(0x108))/0x8)+-parseInt(_0x33401e(0x111))/0x9*(parseInt(_0x33401e(0x102))/0xa)+parseInt(_0x33401e(0x105))/0xb*(parseInt(_0x33401e(0x10f))/0xc);if(_0x2f8d09===_0xac98de)break;else _0x3fc2a5['push'](_0x3fc2a5['shift']());}catch(_0x4616ee){_0x3fc2a5['push'](_0x3fc2a5['shift']());}}}(_0x3eb2,0xcabeb));import{AIChatFeedItemView as _0x50334a}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x50334a{constructor(_0xab5c74){var _0x3fa889=_0x80d0;super(_0xab5c74),this[_0x3fa889(0x112)]({'attributes':{'class':[_0x3fa889(0x101),_0x3fa889(0x10c)===_0xab5c74[_0x3fa889(0x100)]?_0x3fa889(0xfc):'']}});}[_0x267938(0x106)](){var _0xd426a7=_0x267938;super[_0xd426a7(0x106)](),this[_0xd426a7(0xfe)](this[_0xd426a7(0x104)][_0xd426a7(0x10d)]),this[_0xd426a7(0x103)]();}[_0x267938(0xfe)](_0x208502){var _0x2d0262=_0x267938;this[_0x2d0262(0xff)][_0x2d0262(0x107)]=_0x208502;}}function _0x3eb2(){var _0x2d90a9=['render','innerHTML','8965144ZKHJWL','263309EgbxYs','7vtOXdt','8024495VcOVDU','warning','initialContent','6HMdJhR','7591704ClyKKg','207816hybXkc','536589ZMYngo','extendTemplate','6902352ltSjsl','ck-ai-chat-error_warning','52GGOJXU','setContent','element','level','ck-ai-chat-error','60esiKmJ','markAsDone','options','11geIjuE'];_0x3eb2=function(){return _0x2d90a9;};return _0x3eb2();}
23
+ function _0x3074(){var _0x50427d=['18069LthfJO','warning','initialContent','12366936UMpcYo','options','ck-ai-chat-error','extendTemplate','14158EEZsLy','level','1551NugzZg','element','ck-ai-chat-error_warning','455SiwwWD','innerHTML','24dXunHd','2590fHTNMs','1067535IJzADS','13680blzvLf','setContent','render','95FNDDcr','69054FrLcZZ','756bpNgKQ','markAsDone'];_0x3074=function(){return _0x50427d;};return _0x3074();}var _0x10951a=_0x5743;(function(_0x36e578,_0x46d02e){var _0x1b1f97=_0x5743,_0x5247ca=_0x36e578();while(!![]){try{var _0x3d4faf=parseInt(_0x1b1f97(0x1cc))/0x1*(-parseInt(_0x1b1f97(0x1d7))/0x2)+parseInt(_0x1b1f97(0x1d0))/0x3+parseInt(_0x1b1f97(0x1ce))/0x4*(parseInt(_0x1b1f97(0x1c9))/0x5)+-parseInt(_0x1b1f97(0x1cd))/0x6*(parseInt(_0x1b1f97(0x1dc))/0x7)+parseInt(_0x1b1f97(0x1c6))/0x8*(parseInt(_0x1b1f97(0x1c8))/0x9)+parseInt(_0x1b1f97(0x1c7))/0xa*(-parseInt(_0x1b1f97(0x1d9))/0xb)+parseInt(_0x1b1f97(0x1d3))/0xc;if(_0x3d4faf===_0x46d02e)break;else _0x5247ca['push'](_0x5247ca['shift']());}catch(_0x3ba922){_0x5247ca['push'](_0x5247ca['shift']());}}}(_0x3074,0x6e759));function _0x5743(_0x38a21b,_0x37fb20){var _0x307405=_0x3074();return _0x5743=function(_0x574327,_0x1a2f32){_0x574327=_0x574327-0x1c5;var _0x467a68=_0x307405[_0x574327];return _0x467a68;},_0x5743(_0x38a21b,_0x37fb20);}import{AIChatFeedItemView as _0x4aa2a9}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x4aa2a9{constructor(_0x3dad07){var _0x5e45df=_0x5743;super(_0x3dad07),this[_0x5e45df(0x1d6)]({'attributes':{'class':[_0x5e45df(0x1d5),_0x5e45df(0x1d1)===_0x3dad07[_0x5e45df(0x1d8)]?_0x5e45df(0x1db):'']}});}[_0x10951a(0x1cb)](){var _0x16d4cd=_0x10951a;super[_0x16d4cd(0x1cb)](),this[_0x16d4cd(0x1ca)](this[_0x16d4cd(0x1d4)][_0x16d4cd(0x1d2)]),this[_0x16d4cd(0x1cf)]();}[_0x10951a(0x1ca)](_0xa51e1a){var _0xcc43c9=_0x10951a;this[_0xcc43c9(0x1da)][_0xcc43c9(0x1c5)]=_0xa51e1a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x223600=_0x4c66;(function(_0x588721,_0x92f2e3){const _0x50f32c=_0x4c66,_0x4d4ca7=_0x588721();while(!![]){try{const _0x329392=parseInt(_0x50f32c(0x19f))/0x1+parseInt(_0x50f32c(0x18a))/0x2*(parseInt(_0x50f32c(0x19a))/0x3)+-parseInt(_0x50f32c(0x195))/0x4*(-parseInt(_0x50f32c(0x191))/0x5)+parseInt(_0x50f32c(0x18b))/0x6*(-parseInt(_0x50f32c(0x1a1))/0x7)+-parseInt(_0x50f32c(0x19b))/0x8+-parseInt(_0x50f32c(0x19d))/0x9+parseInt(_0x50f32c(0x194))/0xa*(parseInt(_0x50f32c(0x187))/0xb);if(_0x329392===_0x92f2e3)break;else _0x4d4ca7['push'](_0x4d4ca7['shift']());}catch(_0x3292e6){_0x4d4ca7['push'](_0x4d4ca7['shift']());}}}(_0x4d91,0x1e443));function _0x4d91(){const _0x3505b1=['span','8434wZIAMM','children','77294dijmYv','517vlDKlo','ck-ai-chat__feed__interaction-header','extendTemplate','6diXyKI','120BDWeaE','setTemplate','div','ck-hidden','add','ck-ai-chat__feed__interaction-header__capabilities','40cRGpFz','push','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','97490vDfvqA','77752aayiXn','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','content','ck-ai-chat__feed__interaction-header__capabilities__text','150399DXKHxv','1833640sGPukI','capabilities','1786716jAnwfj'];_0x4d91=function(){return _0x3505b1;};return _0x4d91();}import{IconBulb as _0x11dd7e,IconWeb as _0x1795c7}from'@ckeditor/ckeditor5-icons';import{IconView as _0x282574,View as _0x2952ae}from'ckeditor5/src/ui.js';function _0x4c66(_0x3cb121,_0x1d9551){const _0x4d9151=_0x4d91();return _0x4c66=function(_0x4c66d0,_0x2fbf05){_0x4c66d0=_0x4c66d0-0x187;let _0x4db8c1=_0x4d9151[_0x4c66d0];return _0x4db8c1;},_0x4c66(_0x3cb121,_0x1d9551);}import{AIChatFeedItemView as _0x5b4b85}from'./aichatfeeditemview.js';import{getTranslation as _0x537314}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x5b4b85{[_0x223600(0x19c)];constructor(_0x322737,_0x413ac0){const _0x42be91=_0x223600;super(_0x413ac0);const {isWebSearchEnabled:_0x6076b,isReasoningEnabled:_0x4762a3}=_0x413ac0[_0x42be91(0x19c)],_0x2feaac=[];let _0x107f0b='';_0x6076b&&_0x4762a3?(_0x107f0b=_0x537314(_0x322737,_0x42be91(0x196)),_0x2feaac[_0x42be91(0x192)](aa(_0x1795c7)),_0x2feaac[_0x42be91(0x192)](aa(_0x11dd7e))):_0x6076b?(_0x107f0b=_0x537314(_0x322737,_0x42be91(0x193)),_0x2feaac[_0x42be91(0x192)](aa(_0x1795c7))):_0x4762a3&&(_0x107f0b=_0x537314(_0x322737,_0x42be91(0x197)),_0x2feaac[_0x42be91(0x192)](aa(_0x11dd7e))),this[_0x42be91(0x189)]({'attributes':{'class':[_0x42be91(0x188),_0x107f0b?'':_0x42be91(0x18e)]}});const _0x26330c=new _0x2952ae();_0x26330c[_0x42be91(0x18c)]({'tag':_0x42be91(0x18d),'attributes':{'class':['ck',_0x42be91(0x190)]},'children':[..._0x2feaac,{'tag':_0x42be91(0x19e),'attributes':{'class':[_0x42be91(0x199)]},'children':[_0x107f0b]}]}),this[_0x42be91(0x1a0)][_0x42be91(0x18f)](_0x26330c),this[_0x42be91(0x19c)]=_0x413ac0[_0x42be91(0x19c)];}}function aa(_0x3ff2b8){const _0x49142c=_0x223600,_0x2c4018=new _0x282574();return _0x2c4018[_0x49142c(0x198)]=_0x3ff2b8,_0x2c4018;}
23
+ const _0x25fd6d=_0x5183;function _0x53ba(){const _0x319e75=['div','content','setTemplate','5059881dYgLsW','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-hidden','1567060yYyffW','children','push','322XqdQJQ','ck-ai-chat__feed__interaction-header__capabilities__text','2386420DeIymQ','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','span','21622FxDMIZ','51WeSBya','500592NrZhKp','add','5nKdItj','extendTemplate','ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','65840JOZXlB','capabilities','1558158YrLQTc'];_0x53ba=function(){return _0x319e75;};return _0x53ba();}(function(_0x1f2d92,_0x40d349){const _0xdb6ea2=_0x5183,_0x4d9499=_0x1f2d92();while(!![]){try{const _0x23fa74=parseInt(_0xdb6ea2(0xe6))/0x1*(parseInt(_0xdb6ea2(0xe5))/0x2)+-parseInt(_0xdb6ea2(0xf0))/0x3+-parseInt(_0xdb6ea2(0xe2))/0x4+-parseInt(_0xdb6ea2(0xe9))/0x5*(-parseInt(_0xdb6ea2(0xe7))/0x6)+parseInt(_0xdb6ea2(0xe0))/0x7*(parseInt(_0xdb6ea2(0xee))/0x8)+parseInt(_0xdb6ea2(0xda))/0x9+-parseInt(_0xdb6ea2(0xdd))/0xa;if(_0x23fa74===_0x40d349)break;else _0x4d9499['push'](_0x4d9499['shift']());}catch(_0x30744b){_0x4d9499['push'](_0x4d9499['shift']());}}}(_0x53ba,0x49f25));import{IconBulb as _0xa5bfc3,IconWeb as _0xe5aa6b}from'@ckeditor/ckeditor5-icons';import{IconView as _0x3223b9,View as _0x2ef56e}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x22009a}from'./aichatfeeditemview.js';function _0x5183(_0x4a04ac,_0x4749c0){const _0x53ba9b=_0x53ba();return _0x5183=function(_0x51839a,_0x5e274d){_0x51839a=_0x51839a-0xda;let _0x5c53c8=_0x53ba9b[_0x51839a];return _0x5c53c8;},_0x5183(_0x4a04ac,_0x4749c0);}import{getTranslation as _0x46d4c3}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x22009a{[_0x25fd6d(0xef)];constructor(_0x38aa62,_0x53b90e){const _0x59c7f9=_0x25fd6d;super(_0x53b90e);const {isWebSearchEnabled:_0x449588,isReasoningEnabled:_0x3f8bb5}=_0x53b90e[_0x59c7f9(0xef)],_0x52bd2a=[];let _0x853086='';_0x449588&&_0x3f8bb5?(_0x853086=_0x46d4c3(_0x38aa62,_0x59c7f9(0xe3)),_0x52bd2a[_0x59c7f9(0xdf)](aa(_0xe5aa6b)),_0x52bd2a[_0x59c7f9(0xdf)](aa(_0xa5bfc3))):_0x449588?(_0x853086=_0x46d4c3(_0x38aa62,_0x59c7f9(0xdb)),_0x52bd2a[_0x59c7f9(0xdf)](aa(_0xe5aa6b))):_0x3f8bb5&&(_0x853086=_0x46d4c3(_0x38aa62,_0x59c7f9(0xed)),_0x52bd2a[_0x59c7f9(0xdf)](aa(_0xa5bfc3))),this[_0x59c7f9(0xea)]({'attributes':{'class':[_0x59c7f9(0xeb),_0x853086?'':_0x59c7f9(0xdc)]}});const _0x43504e=new _0x2ef56e();_0x43504e[_0x59c7f9(0xf3)]({'tag':_0x59c7f9(0xf1),'attributes':{'class':['ck',_0x59c7f9(0xec)]},'children':[..._0x52bd2a,{'tag':_0x59c7f9(0xe4),'attributes':{'class':[_0x59c7f9(0xe1)]},'children':[_0x853086]}]}),this[_0x59c7f9(0xde)][_0x59c7f9(0xe8)](_0x43504e),this[_0x59c7f9(0xef)]=_0x53b90e[_0x59c7f9(0xef)];}}function aa(_0x34b72a){const _0x526bdb=_0x25fd6d,_0x487722=new _0x3223b9();return _0x487722[_0x526bdb(0xf2)]=_0x34b72a,_0x487722;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9f570f=_0x2ea5;function _0x2ea5(_0x2fac0c,_0x39346f){const _0x2512bf=_0x2512();return _0x2ea5=function(_0x2ea5ed,_0x291286){_0x2ea5ed=_0x2ea5ed-0x185;let _0x230553=_0x2512bf[_0x2ea5ed];return _0x230553;},_0x2ea5(_0x2fac0c,_0x39346f);}(function(_0x3df2c6,_0x815ad9){const _0x38333b=_0x2ea5,_0x2a7562=_0x3df2c6();while(!![]){try{const _0x45e2ce=parseInt(_0x38333b(0x1a1))/0x1*(-parseInt(_0x38333b(0x19f))/0x2)+-parseInt(_0x38333b(0x185))/0x3*(-parseInt(_0x38333b(0x1a7))/0x4)+parseInt(_0x38333b(0x190))/0x5*(-parseInt(_0x38333b(0x193))/0x6)+-parseInt(_0x38333b(0x194))/0x7*(parseInt(_0x38333b(0x1a4))/0x8)+-parseInt(_0x38333b(0x195))/0x9+parseInt(_0x38333b(0x1a2))/0xa*(parseInt(_0x38333b(0x19d))/0xb)+parseInt(_0x38333b(0x18e))/0xc;if(_0x45e2ce===_0x815ad9)break;else _0x2a7562['push'](_0x2a7562['shift']());}catch(_0x4fb08d){_0x2a7562['push'](_0x2a7562['shift']());}}}(_0x2512,0x85690));import{View as _0x366114}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1d7813}from'../../../aicore/utils/htmlstreamer.js';function _0x2512(){const _0x30b2a1=['[data-id]','element','data-id','createCollection','set','animation:\x20ck-html-streamer-fade-in\x20.5s','htmlStreamer','markAsDone','35719944HnFFZq','forEach','1189525plKLTk','ck-ai-chat__feed__item_done','ck-hidden','18pjCCxV','7awtWhd','7552404rYxBmO','querySelectorAll','ck-ai-chat__feed__item','setTemplate','streamIntoElement','children','isDone','options','1991YwMcyX','removeAttribute','1681234SLEfTc','isVisible','1ukdfOF','3620zLhgir','bindTemplate','5045592OJjRcw','ck-ai-chat__feed__text-item','stream','308dhynXG','div','content','cleanUpAnimations','20589igaeGd'];_0x2512=function(){return _0x30b2a1;};return _0x2512();}export class AIChatFeedItemView extends _0x366114{[_0x9f570f(0x19c)];[_0x9f570f(0x1a9)]='';[_0x9f570f(0x18c)];[_0x9f570f(0x19a)];constructor(_0x181227){const _0x59ed6d=_0x9f570f;super();const _0xfc115e=this[_0x59ed6d(0x1a3)];this[_0x59ed6d(0x18a)](_0x59ed6d(0x19b),!0x1),this[_0x59ed6d(0x18a)](_0x59ed6d(0x1a0),!0x0),this[_0x59ed6d(0x18c)]=new _0x1d7813({'textNodeStyle':_0x59ed6d(0x18b),'delay':0x14}),this[_0x59ed6d(0x19c)]=_0x181227,this[_0x59ed6d(0x19a)]=this[_0x59ed6d(0x189)](),this[_0x59ed6d(0x198)]({'tag':_0x59ed6d(0x1a8),'attributes':{'class':['ck',_0x59ed6d(0x197),_0xfc115e['if'](_0x59ed6d(0x19b),_0x59ed6d(0x191)),_0xfc115e['if'](_0x59ed6d(0x1a0),_0x59ed6d(0x192),_0x31c80f=>!_0x31c80f),_0x59ed6d(0x1a5)],'data-cke-ai-id':this[_0x59ed6d(0x19c)]['id']},'children':this[_0x59ed6d(0x19a)]});}[_0x9f570f(0x18d)](){const _0x3b99c0=_0x9f570f;this[_0x3b99c0(0x18c)][_0x3b99c0(0x1aa)]({'targetElement':this[_0x3b99c0(0x187)]}),this[_0x3b99c0(0x187)][_0x3b99c0(0x196)](_0x3b99c0(0x186))[_0x3b99c0(0x18f)](_0x49626e=>{const _0x438989=_0x3b99c0;_0x49626e[_0x438989(0x19e)](_0x438989(0x188));}),this[_0x3b99c0(0x19b)]=!0x0;}async[_0x9f570f(0x199)](_0x4ff3a5,_0x552b1f,_0x1ed3d3){const _0x15ffbb=_0x9f570f;await this[_0x15ffbb(0x18c)][_0x15ffbb(0x1a6)]({'document':_0x4ff3a5,'targetElement':_0x552b1f,'abortSignal':_0x1ed3d3});}}
23
+ const _0x12e8bf=_0x3bb2;(function(_0x206fdd,_0x433f5f){const _0x4b76a0=_0x3bb2,_0x161786=_0x206fdd();while(!![]){try{const _0xe0dbf6=-parseInt(_0x4b76a0(0x154))/0x1+-parseInt(_0x4b76a0(0x14f))/0x2*(parseInt(_0x4b76a0(0x15e))/0x3)+-parseInt(_0x4b76a0(0x165))/0x4+-parseInt(_0x4b76a0(0x158))/0x5+parseInt(_0x4b76a0(0x16d))/0x6+-parseInt(_0x4b76a0(0x152))/0x7*(-parseInt(_0x4b76a0(0x16a))/0x8)+parseInt(_0x4b76a0(0x162))/0x9;if(_0xe0dbf6===_0x433f5f)break;else _0x161786['push'](_0x161786['shift']());}catch(_0x15e2ce){_0x161786['push'](_0x161786['shift']());}}}(_0x1b8d,0xa960a));function _0x3bb2(_0x302718,_0x5166d3){const _0x1b8d0e=_0x1b8d();return _0x3bb2=function(_0x3bb20d,_0x2beffe){_0x3bb20d=_0x3bb20d-0x14d;let _0x3ebc30=_0x1b8d0e[_0x3bb20d];return _0x3ebc30;},_0x3bb2(_0x302718,_0x5166d3);}import{View as _0x1d4b87}from'ckeditor5/src/ui.js';function _0x1b8d(){const _0x345d54=['forEach','removeAttribute','480935BsgbOr','ck-ai-chat__feed__text-item','1260015SDakEp','ck-ai-chat__feed__item','element','animation:\x20ck-html-streamer-fade-in\x20.5s','5279960iZUiWL','isDone','[data-id]','querySelectorAll','div','data-id','42HGpEnr','set','setTemplate','streamIntoElement','37871757lQFbHi','bindTemplate','cleanUpAnimations','2380804PipHid','content','ck-hidden','ck-ai-chat__feed__item_done','children','8DwSuDD','isVisible','createCollection','1162596xDOvtx','htmlStreamer','options','markAsDone','stream','123638iZwcvQ'];_0x1b8d=function(){return _0x345d54;};return _0x1b8d();}import{HTMLStreamer as _0x280eab}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x1d4b87{[_0x12e8bf(0x16f)];[_0x12e8bf(0x166)]='';[_0x12e8bf(0x16e)];[_0x12e8bf(0x169)];constructor(_0x249490){const _0x9f420f=_0x12e8bf;super();const _0x32f3af=this[_0x9f420f(0x163)];this[_0x9f420f(0x15f)](_0x9f420f(0x159),!0x1),this[_0x9f420f(0x15f)](_0x9f420f(0x16b),!0x0),this[_0x9f420f(0x16e)]=new _0x280eab({'textNodeStyle':_0x9f420f(0x157),'delay':0x14}),this[_0x9f420f(0x16f)]=_0x249490,this[_0x9f420f(0x169)]=this[_0x9f420f(0x16c)](),this[_0x9f420f(0x160)]({'tag':_0x9f420f(0x15c),'attributes':{'class':['ck',_0x9f420f(0x155),_0x32f3af['if'](_0x9f420f(0x159),_0x9f420f(0x168)),_0x32f3af['if'](_0x9f420f(0x16b),_0x9f420f(0x167),_0x5b7292=>!_0x5b7292),_0x9f420f(0x153)],'data-cke-ai-id':this[_0x9f420f(0x16f)]['id']},'children':this[_0x9f420f(0x169)]});}[_0x12e8bf(0x14d)](){const _0xad6d54=_0x12e8bf;this[_0xad6d54(0x16e)][_0xad6d54(0x164)]({'targetElement':this[_0xad6d54(0x156)]}),this[_0xad6d54(0x156)][_0xad6d54(0x15b)](_0xad6d54(0x15a))[_0xad6d54(0x150)](_0x4b3cbd=>{const _0x36b180=_0xad6d54;_0x4b3cbd[_0x36b180(0x151)](_0x36b180(0x15d));}),this[_0xad6d54(0x159)]=!0x0;}async[_0x12e8bf(0x161)](_0x524a8c,_0x16126c,_0x287217){const _0x346a23=_0x12e8bf;await this[_0x346a23(0x16e)][_0x346a23(0x14e)]({'document':_0x524a8c,'targetElement':_0x16126c,'abortSignal':_0x287217});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x446d(){const _0x5d2f6d=['render','locale','ck-reset_all-excluded','children','extendTemplate','4410732wjgogl','updateContent','replyContainer','addMany','5061798HlSxHr','div','streaming','5HRYMnw','1012669CpmzfP','3338024iFJcRc','markAsDone','1510698LECwzg','18YTeqzz','initialContent','updateSources','ck-ai-chat__feed__ai-reply-container','isVisible','map','static','innerHTML','streamIntoElement','add','element','setTemplate','ck-ai-chat__feed__ai-reply','2017494SnZAzo','options','3392256GuLIid'];_0x446d=function(){return _0x5d2f6d;};return _0x446d();}const _0x242808=_0x366e;(function(_0x394add,_0x4a3be3){const _0x169859=_0x366e,_0x2f527a=_0x394add();while(!![]){try{const _0x17d323=-parseInt(_0x169859(0xfe))/0x1+-parseInt(_0x169859(0x10f))/0x2+parseInt(_0x169859(0x111))/0x3+parseInt(_0x169859(0x117))/0x4*(parseInt(_0x169859(0x11e))/0x5)+-parseInt(_0x169859(0x102))/0x6*(-parseInt(_0x169859(0x101))/0x7)+parseInt(_0x169859(0xff))/0x8+-parseInt(_0x169859(0x11b))/0x9;if(_0x17d323===_0x4a3be3)break;else _0x2f527a['push'](_0x2f527a['shift']());}catch(_0xcc531){_0x2f527a['push'](_0x2f527a['shift']());}}}(_0x446d,0xae634));function _0x366e(_0xefad7c,_0x17e010){const _0x446d34=_0x446d();return _0x366e=function(_0x366e5f,_0x26c4fb){_0x366e5f=_0x366e5f-0xfe;let _0x24eee3=_0x446d34[_0x366e5f];return _0x24eee3;},_0x366e(_0xefad7c,_0x17e010);}import{AIChatFeedItemView as _0xd17aa9}from'./aichatfeeditemview.js';import{parse as _0x69e622,render as _0x5d27b8}from'../../../aicore/utils/htmlparser.js';import{View as _0x3bb7ad}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x1f4dfc,AIWebSourceView as _0x3eabd3}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0xd17aa9{[_0x242808(0x119)];constructor(_0x44653c,_0x13f2a7){const _0x128c04=_0x242808;super(_0x13f2a7),this[_0x128c04(0x113)]=_0x44653c,this[_0x128c04(0x116)]({'attributes':{'class':[_0x128c04(0x10e)]}}),this[_0x128c04(0x119)]=new _0x3bb7ad(),this[_0x128c04(0x119)][_0x128c04(0x10d)]({'tag':_0x128c04(0x11c),'attributes':{'class':['ck',_0x128c04(0x114),_0x128c04(0x105)]}}),this[_0x128c04(0x115)][_0x128c04(0x10b)](this[_0x128c04(0x119)]);}async[_0x242808(0x112)](){const _0x5e8161=_0x242808;super[_0x5e8161(0x112)](),this[_0x5e8161(0x110)][_0x5e8161(0x103)]&&(await this[_0x5e8161(0x118)]({'parsedContent':_0x69e622(this[_0x5e8161(0x110)][_0x5e8161(0x103)]),'renderingStrategy':_0x5e8161(0x108)}),this[_0x5e8161(0x100)]());}async[_0x242808(0x118)]({parsedContent:_0xc6b22d,renderingStrategy:_0x3155b6,abortSignal:_0x4ae31f}){const _0x46dfe6=_0x242808;_0x46dfe6(0x11d)===_0x3155b6?await this[_0x46dfe6(0x10a)](_0xc6b22d,this[_0x46dfe6(0x119)][_0x46dfe6(0x10c)],_0x4ae31f):this[_0x46dfe6(0x119)][_0x46dfe6(0x10c)][_0x46dfe6(0x109)]=_0x5d27b8(_0xc6b22d);}[_0x242808(0x104)](_0x3391ca){const _0x49d789=_0x242808,_0x580630=new _0x1f4dfc(this[_0x49d789(0x113)]);_0x580630[_0x49d789(0x115)][_0x49d789(0x11a)](_0x3391ca[_0x49d789(0x107)](_0x21cee6=>new _0x3eabd3(this[_0x49d789(0x113)],_0x21cee6))),_0x580630[_0x49d789(0x106)]=!0x0,this[_0x49d789(0x115)][_0x49d789(0x10b)](_0x580630);}}
23
+ const _0x2a0e68=_0xf9bd;(function(_0x30e9c6,_0x58684c){const _0x464d50=_0xf9bd,_0x47e480=_0x30e9c6();while(!![]){try{const _0x2149f3=parseInt(_0x464d50(0x1dc))/0x1*(parseInt(_0x464d50(0x1fb))/0x2)+parseInt(_0x464d50(0x1e3))/0x3*(parseInt(_0x464d50(0x1df))/0x4)+parseInt(_0x464d50(0x1f6))/0x5+parseInt(_0x464d50(0x1de))/0x6*(parseInt(_0x464d50(0x1f0))/0x7)+parseInt(_0x464d50(0x1f2))/0x8+-parseInt(_0x464d50(0x1e9))/0x9+-parseInt(_0x464d50(0x1eb))/0xa*(parseInt(_0x464d50(0x1f3))/0xb);if(_0x2149f3===_0x58684c)break;else _0x47e480['push'](_0x47e480['shift']());}catch(_0x581c50){_0x47e480['push'](_0x47e480['shift']());}}}(_0x5475,0xa99e8));function _0x5475(){const _0x4b67c6=['ck-ai-chat__feed__ai-reply-container','5288cDpwyn','setTemplate','1938102zahNFX','1014076viZtGD','map','add','updateContent','15hYDLgb','div','innerHTML','options','static','replyContainer','8082027wYKugG','addMany','12323210GUFWwW','streamIntoElement','element','extendTemplate','render','14HrXyCn','markAsDone','1727192aIBNHp','22xagfYY','ck-reset_all-excluded','ck-ai-chat__feed__ai-reply','5779145WUzTIg','initialContent','locale','isVisible','streaming','292mxPDag','updateSources','children'];_0x5475=function(){return _0x4b67c6;};return _0x5475();}import{AIChatFeedItemView as _0x50e56d}from'./aichatfeeditemview.js';import{parse as _0x4d33cd,render as _0x4fbb51}from'../../../aicore/utils/htmlparser.js';import{View as _0x15f2e6}from'ckeditor5/src/ui.js';function _0xf9bd(_0x2c0d06,_0x17084a){const _0x54752e=_0x5475();return _0xf9bd=function(_0xf9bd67,_0x138895){_0xf9bd67=_0xf9bd67-0x1dc;let _0x10d086=_0x54752e[_0xf9bd67];return _0x10d086;},_0xf9bd(_0x2c0d06,_0x17084a);}import{AIWebSourcesView as _0x17e11f,AIWebSourceView as _0x235f10}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x50e56d{[_0x2a0e68(0x1e8)];constructor(_0x362bc6,_0x2546b7){const _0x1a7d09=_0x2a0e68;super(_0x2546b7),this[_0x1a7d09(0x1f8)]=_0x362bc6,this[_0x1a7d09(0x1ee)]({'attributes':{'class':[_0x1a7d09(0x1f5)]}}),this[_0x1a7d09(0x1e8)]=new _0x15f2e6(),this[_0x1a7d09(0x1e8)][_0x1a7d09(0x1dd)]({'tag':_0x1a7d09(0x1e4),'attributes':{'class':['ck',_0x1a7d09(0x1f4),_0x1a7d09(0x1fe)]}}),this[_0x1a7d09(0x1fd)][_0x1a7d09(0x1e1)](this[_0x1a7d09(0x1e8)]);}async[_0x2a0e68(0x1ef)](){const _0x155a56=_0x2a0e68;super[_0x155a56(0x1ef)](),this[_0x155a56(0x1e6)][_0x155a56(0x1f7)]&&(await this[_0x155a56(0x1e2)]({'parsedContent':_0x4d33cd(this[_0x155a56(0x1e6)][_0x155a56(0x1f7)]),'renderingStrategy':_0x155a56(0x1e7)}),this[_0x155a56(0x1f1)]());}async[_0x2a0e68(0x1e2)]({parsedContent:_0x205fcf,renderingStrategy:_0x31eef0,abortSignal:_0x2c5011}){const _0x16eafd=_0x2a0e68;_0x16eafd(0x1fa)===_0x31eef0?await this[_0x16eafd(0x1ec)](_0x205fcf,this[_0x16eafd(0x1e8)][_0x16eafd(0x1ed)],_0x2c5011):this[_0x16eafd(0x1e8)][_0x16eafd(0x1ed)][_0x16eafd(0x1e5)]=_0x4fbb51(_0x205fcf);}[_0x2a0e68(0x1fc)](_0x4848fb){const _0x373b0a=_0x2a0e68,_0x182a8f=new _0x17e11f(this[_0x373b0a(0x1f8)]);_0x182a8f[_0x373b0a(0x1fd)][_0x373b0a(0x1ea)](_0x4848fb[_0x373b0a(0x1e0)](_0x575aa9=>new _0x235f10(this[_0x373b0a(0x1f8)],_0x575aa9))),_0x182a8f[_0x373b0a(0x1f9)]=!0x0,this[_0x373b0a(0x1fd)][_0x373b0a(0x1e1)](_0x182a8f);}}