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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) 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/model/aiactionsinteraction.js +1 -1
  5. package/src/aiactions/model/aiactionsreply.js +1 -1
  6. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  7. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  8. package/src/aiassistant/aiassistant.js +1 -1
  9. package/src/aiassistant/aiassistantediting.js +1 -1
  10. package/src/aiassistant/aiassistantui.js +1 -1
  11. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  12. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  13. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  14. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  15. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  16. package/src/aiassistant/ui/form/aiformview.js +1 -1
  17. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  18. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  19. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  20. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  21. package/src/aiballoon/aiballoon.js +1 -1
  22. package/src/aiballoon/ui/aiballoonview.js +1 -1
  23. package/src/aichat/aichat.js +1 -1
  24. package/src/aichat/aichatballoon.js +1 -1
  25. package/src/aichat/aichatcontroller.js +1 -1
  26. package/src/aichat/aichatui.js +1 -1
  27. package/src/aichat/model/aichatcontext.js +1 -1
  28. package/src/aichat/model/aichatconversation.js +1 -1
  29. package/src/aichat/model/aichatinteraction.js +1 -1
  30. package/src/aichat/ui/aichatballoonview.js +1 -1
  31. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  32. package/src/aichat/ui/aichatfeedview.js +1 -1
  33. package/src/aichat/ui/aichatheaderview.js +1 -1
  34. package/src/aichat/ui/aichatview.js +1 -1
  35. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  36. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  37. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  38. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  40. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  41. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  43. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  44. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  48. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  49. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  57. package/src/aichat/utils/eventnames.js +1 -1
  58. package/src/aichat/utils/promisequeue.js +1 -1
  59. package/src/aichathistory/aichathistory.js +1 -1
  60. package/src/aichathistory/aichathistorycontroller.js +1 -1
  61. package/src/aichathistory/aichathistoryui.js +1 -1
  62. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  63. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  64. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  65. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  66. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  68. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  69. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  70. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  71. package/src/aicore/aiconnector.js +1 -1
  72. package/src/aicore/aiediting.js +1 -1
  73. package/src/aicore/model/aicapabilities.js +1 -1
  74. package/src/aicore/model/aiinteraction.js +1 -1
  75. package/src/aicore/model/aimodels.js +1 -1
  76. package/src/aicore/model/aireply.js +1 -1
  77. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  78. package/src/aicore/pipeline/airesponseparser.js +2 -2
  79. package/src/aicore/ui/aidisclaimerview.js +1 -1
  80. package/src/aicore/ui/aiskeleton.js +1 -1
  81. package/src/aicore/ui/aispinner.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  87. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  88. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  89. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  90. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  91. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  92. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  93. package/src/aicore/utils/createresizebutton.js +1 -1
  94. package/src/aicore/utils/documentrange.js +1 -1
  95. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  96. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  97. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  98. package/src/aicore/utils/htmlparser.js +1 -1
  99. package/src/aicore/utils/htmlstreamer.js +1 -1
  100. package/src/aieditorintegration/aieditorintegration.js +1 -1
  101. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  102. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  103. package/src/aiquickactions/aiquickactions.js +1 -1
  104. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  105. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  106. package/src/aiquickactions/aiquickactionsui.js +1 -1
  107. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  108. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  109. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  110. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  111. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  112. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  113. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  114. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  115. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  116. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  117. package/src/aireviewcore/aireviewcoreui.js +1 -1
  118. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  119. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  120. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  121. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  122. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  123. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  124. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  125. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  126. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  127. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  128. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  129. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  130. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  131. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  132. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  133. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  134. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  135. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  136. package/src/aireviewmode/aireviewmode.js +1 -1
  137. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  138. package/src/aireviewmode/aireviewmodeui.js +1 -1
  139. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  140. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  141. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  142. package/src/aitabs/aitabs.js +1 -1
  143. package/src/aitabs/tabs/aitabsview.js +1 -1
  144. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  145. package/src/aitabs/tabs/tabpanelview.js +1 -1
  146. package/src/aitranslate/aitranslate.js +1 -1
  147. package/src/aitranslate/aitranslatecontroller.js +1 -1
  148. package/src/aitranslate/aitranslateui.js +1 -1
  149. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  150. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  151. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44b554=_0x35fa;(function(_0x58cd48,_0x21de4b){const _0x39274d=_0x35fa,_0x572fb4=_0x58cd48();while(!![]){try{const _0xadeb87=-parseInt(_0x39274d(0x149))/0x1+parseInt(_0x39274d(0x1a3))/0x2*(-parseInt(_0x39274d(0x144))/0x3)+parseInt(_0x39274d(0x19e))/0x4*(-parseInt(_0x39274d(0x1a5))/0x5)+-parseInt(_0x39274d(0x142))/0x6+-parseInt(_0x39274d(0x1b3))/0x7*(parseInt(_0x39274d(0x183))/0x8)+-parseInt(_0x39274d(0x16d))/0x9+parseInt(_0x39274d(0x19b))/0xa*(parseInt(_0x39274d(0x145))/0xb);if(_0xadeb87===_0x21de4b)break;else _0x572fb4['push'](_0x572fb4['shift']());}catch(_0x24c3a4){_0x572fb4['push'](_0x572fb4['shift']());}}}(_0x5197,0x6cd41));import{CKEditorError as _0x5502c9,EmitterMixin as _0x3e84c8,logWarning as _0x2a580e}from'ckeditor5/src/utils.js';import{AI_MODEL_EVENT_NAMES as _0x218e1a}from'../../aicore/model/aiinteraction.js';import{AIChatContext as _0x2713cd,AI_CONTEXT_MODEL_EVENT_NAMES as _0x515173}from'./aichatcontext.js';function _0x5197(){const _0x152383=['connector','getAvailableModels','setModel','_processMessagesToInteractions','addCurrentDocumentToContext','destroy','loadSourceResources','_handleToolResultData','6554736Pnqsit','delegate','options','getCapabilitiesConfig','chatModels','contextItems','hasOwn','removeSelectionFromContext','setReasoning','handleUserInteraction','chatContext','capabilities','getConversation','prompt','interactions','role','getInteraction','addToolItemToContext','code','updateCurrentDocument','isCurrentDocumentInContext','isAvailable','232LoIgqu','message','conversationInitialized','toggleWebSearch','splice','conversationStarted','ai-chat-conversation-init-failed','getAll','ai-chat-handle-user-conversation-not-initialized','group','chatCapabilities','url','ai-chat-handle-user-interaction-already-in-progress','getMessages','length','modification','createReply','stop','ai-chat-conversation-already-started','toolName','ai-chat-conversation-init-from-id-failed','getDocumentContext','conversationId','text','220QmzFvw','removeInteraction','assistant','548rqCJuq','setConversationTitle','currentInteraction','webSearch','user','278RGjTNL','getPendingContextItems','21055eUYzLP','addResourceToContext','addSelectionToContext','title','currentReply','_extractContextItems','createInteraction','push','fetchConversation','selectedModelId','toLowerCase','ai-chat-conversation-set-model-null','ai-chat-handle-user-interaction-start-failed','type','186529fmbZdw','isStarted','parse','stack','model','get','lastInteraction','ai-chat-conversation-start-failed','appendContent','setWebSearch','getEditor','attributes','fetchConversationMessages','sessionId','3665874DICroO','startConversation','10686ctNtlb','1904969SQZoyf','content','interactionCreated','isFromHistory','180106IuMiVS','indexOf','reasoning','ai-chat-conversation-start-no-model-selected','toggleReasoning','populateFromMessage','addToConversationContext','addFilesToContext','reset','error','sources','fire','getCurrentDocumentContext','load','addUrlToContext','getModel','isCurrentDocumentInConversation','init','start','ai-chat-conversation-set-model-not-available','modelSelected','mcp-tool-result','set','isSelectionInContext','find','selectedModel','updateCurrentDocumentInContext','removeFromContext'];_0x5197=function(){return _0x152383;};return _0x5197();}function _0x35fa(_0x51d3f0,_0xdab367){const _0x519723=_0x5197();return _0x35fa=function(_0x35fa3b,_0x192375){_0x35fa3b=_0x35fa3b-0x140;let _0x27d10b=_0x519723[_0x35fa3b];return _0x27d10b;},_0x35fa(_0x51d3f0,_0xdab367);}import{AICapabilities as _0x4c0306,CAPABILITIES_MODEL_EVENT_NAMES as _0x582516}from'../../aicore/model/aicapabilities.js';import{AIChatInteraction as _0x389dc9}from'./aichatinteraction.js';import{errorsMap as _0x2db3b3}from'../../errorsmap.js';export class AIChatConversation extends _0x3e84c8(){['id'];[_0x44b554(0x1b4)]=!0x1;[_0x44b554(0x148)];[_0x44b554(0x17b)]=[];[_0x44b554(0x1a0)];[_0x44b554(0x162)];[_0x44b554(0x165)];[_0x44b554(0x16f)];constructor(_0x2006ec){const _0x39ffe7=_0x44b554;super(),this[_0x39ffe7(0x16f)]=_0x2006ec,this[_0x39ffe7(0x165)]=_0x2006ec[_0x39ffe7(0x165)],this[_0x39ffe7(0x171)]=_0x2006ec[_0x39ffe7(0x171)],this['id']=_0x2006ec[_0x39ffe7(0x199)],this[_0x39ffe7(0x148)]=_0x2006ec[_0x39ffe7(0x148)];}async[_0x44b554(0x15a)](_0x5c3567){const _0x10155f=_0x44b554;try{this[_0x10155f(0x177)]=new _0x2713cd({'connector':this[_0x10155f(0x165)],'config':_0x5c3567,'ownerId':this['id']}),this[_0x10155f(0x177)][_0x10155f(0x16e)](..._0x515173)['to'](this),this[_0x10155f(0x177)][_0x10155f(0x15a)](),this[_0x10155f(0x18d)]=new _0x4c0306(),this[_0x10155f(0x18d)][_0x10155f(0x16e)](..._0x582516)['to'](this),this[_0x10155f(0x18d)][_0x10155f(0x15a)]();const _0x430f36=await this[_0x10155f(0x171)][_0x10155f(0x166)]();this[_0x10155f(0x154)](_0x10155f(0x185),{'availableModels':_0x430f36});const _0x23131b=await this[_0x10155f(0x171)][_0x10155f(0x158)](this[_0x10155f(0x16f)][_0x10155f(0x1ae)]);_0x23131b&&await this[_0x10155f(0x167)](_0x23131b);}catch(_0x2048f4){const _0xc3f421=new _0x5502c9(_0x10155f(0x189),null,{'message':_0x2048f4[_0x10155f(0x184)]||_0x2048f4});_0xc3f421[_0x10155f(0x1b6)]=_0x2048f4[_0x10155f(0x1b6)],this[_0x10155f(0x154)](_0x10155f(0x152),{'error':_0xc3f421});}}async[_0x44b554(0x15b)](){const _0x12851e=_0x44b554;if(this[_0x12851e(0x1b4)])throw new _0x5502c9(_0x12851e(0x195),null,{'conversation':this});if(!this[_0x12851e(0x162)])throw new _0x5502c9(_0x12851e(0x14c),null,{'conversation':this});try{const {id:_0x36eb48}=await this[_0x12851e(0x165)][_0x12851e(0x143)](this['id'],this[_0x12851e(0x16f)][_0x12851e(0x18c)])[_0x12851e(0x179)]();this['id']=_0x36eb48,this[_0x12851e(0x1b4)]=!0x0,this[_0x12851e(0x154)](_0x12851e(0x188),{'conversationId':this['id'],'selectedModel':this[_0x12851e(0x162)]});}catch(_0x3fb5b4){const _0x54e8aa=new _0x5502c9(_0x12851e(0x1ba),null,{'message':_0x3fb5b4[_0x12851e(0x184)],'conversationId':this['id']});throw _0x54e8aa[_0x12851e(0x1b6)]=_0x3fb5b4[_0x12851e(0x1b6)],this[_0x12851e(0x154)](_0x12851e(0x152),{'error':_0x54e8aa}),_0x54e8aa;}}async[_0x44b554(0x156)](_0x2a1329,_0x3027b3){const _0x9c1556=_0x44b554;try{const _0x559bfc=await this[_0x9c1556(0x165)][_0x9c1556(0x1ad)](_0x2a1329)[_0x9c1556(0x179)](),_0x3581b6=await this[_0x9c1556(0x165)][_0x9c1556(0x140)](_0x2a1329)[_0x9c1556(0x190)](),_0xb2de9=_0x3581b6[0x0][_0x9c1556(0x1b7)];this[_0x9c1556(0x1b4)]=!0x0,this['id']=_0x559bfc['id'],_0x9c1556(0x1a8)in _0x559bfc?this[_0x9c1556(0x154)](_0x9c1556(0x19f),_0x559bfc[_0x9c1556(0x1a8)],!0x0):this[_0x9c1556(0x154)](_0x9c1556(0x19f),'',!0x0);const _0x3ef1d1=(await this[_0x9c1556(0x171)][_0x9c1556(0x18a)]())[_0x9c1556(0x161)](_0x50c240=>_0x50c240['id'][_0x9c1556(0x1af)]()===_0xb2de9[_0x9c1556(0x1af)]());return this[_0x9c1556(0x162)]=_0x3ef1d1,this[_0x9c1556(0x154)](_0x9c1556(0x15d),{'selectedModel':_0x3ef1d1,'isDisabled':!0x0}),await this[_0x9c1556(0x168)](_0x3581b6,_0x3027b3,_0xb2de9),this[_0x9c1556(0x1a0)]=void 0x0,this;}catch(_0x5ec5b4){const _0x57eb29=new _0x5502c9(_0x9c1556(0x197),null,{'message':_0x5ec5b4[_0x9c1556(0x184)],'conversationId':_0x2a1329});throw _0x57eb29[_0x9c1556(0x1b6)]=_0x5ec5b4[_0x9c1556(0x1b6)],this[_0x9c1556(0x154)](_0x9c1556(0x152),{'error':_0x57eb29}),_0x57eb29;}}async[_0x44b554(0x168)](_0x27b5f3,_0x540d14,_0x2dd73f){const _0x598279=_0x44b554;let _0x563e80;for(const _0x305554 of _0x27b5f3)if(_0x598279(0x1a2)===_0x305554[_0x598279(0x17c)]){const _0x57df94=await this[_0x598279(0x1aa)](_0x305554),_0x4d298f={'isReasoningEnabled':Object[_0x598279(0x173)](_0x305554[_0x598279(0x178)],_0x598279(0x14b)),'isWebSearchEnabled':Object[_0x598279(0x173)](_0x305554[_0x598279(0x178)],_0x598279(0x1a1))};_0x563e80=this[_0x598279(0x1ab)]({'userMessage':_0x305554[_0x598279(0x17a)],'contextItems':_0x57df94,'capabilities':_0x4d298f,'modelId':_0x2dd73f,'attributes':_0x305554[_0x598279(0x1be)]}),this[_0x598279(0x1a0)]=_0x563e80,this[_0x598279(0x177)][_0x598279(0x14f)](this[_0x598279(0x1a0)][_0x598279(0x172)]);}else{if(_0x598279(0x19d)===_0x305554[_0x598279(0x17c)]&&_0x563e80){const _0x547afd=[];for(const _0x382c03 of _0x305554[_0x598279(0x146)])switch(_0x382c03[_0x598279(0x1b2)]){case _0x598279(0x19a):case _0x598279(0x192):{const _0x4743ec=_0x563e80[_0x598279(0x198)]()?.[_0x598279(0x141)]!==_0x540d14;_0x563e80[_0x598279(0x1a9)]=_0x563e80[_0x598279(0x193)]({'type':_0x382c03[_0x598279(0x1b2)],'isDone':!0x0,'interactionId':_0x563e80['id'],'areActionsDisabled':_0x4743ec}),_0x563e80[_0x598279(0x1a9)][_0x598279(0x1bb)](_0x382c03[_0x598279(0x146)]),_0x547afd[_0x598279(0x191)]>0x0&&(_0x563e80[_0x598279(0x1a9)][_0x598279(0x153)]=_0x547afd[_0x598279(0x187)](0x0));break;}case _0x598279(0x18e):_0x547afd[_0x598279(0x1ac)](_0x382c03);break;case _0x598279(0x15e):{const {data:_0x1e7379,attributes:_0x38077e}=JSON[_0x598279(0x1b5)](_0x382c03[_0x598279(0x146)]);_0x563e80[_0x598279(0x16c)]({'toolName':_0x382c03[_0x598279(0x196)],'data':_0x1e7379,'attributes':_0x38077e});break;}}}}}async[_0x44b554(0x1aa)](_0x5155f4){const _0x40188b=_0x44b554,_0x148adf=new Map();if(!_0x5155f4[_0x40188b(0x146)])return _0x148adf;for(const _0x542cbd of _0x5155f4[_0x40188b(0x146)]){const _0x3355db=await this[_0x40188b(0x177)][_0x40188b(0x14e)](_0x542cbd);_0x3355db&&_0x148adf[_0x40188b(0x15f)](_0x3355db['id'],_0x3355db);}return _0x148adf;}async[_0x44b554(0x176)]({userMessage:_0x582b73,attributes:_0xff1352}){const _0x4e8776=_0x44b554;if(!this[_0x4e8776(0x1b4)])throw new _0x5502c9(_0x4e8776(0x18b),null,{'conversation':this});if(this[_0x4e8776(0x1a0)])throw new _0x5502c9(_0x4e8776(0x18f),null,{'conversation':this});try{const _0x5edc92=this[_0x4e8776(0x177)][_0x4e8776(0x1a4)](),_0x515d9f=this[_0x4e8776(0x18d)][_0x4e8776(0x170)](),_0x124914=this[_0x4e8776(0x162)]['id'];this[_0x4e8776(0x1a0)]=this[_0x4e8776(0x1ab)]({'userMessage':_0x582b73,'contextItems':_0x5edc92,'capabilities':_0x515d9f,'modelId':_0x124914,'attributes':_0xff1352}),await this[_0x4e8776(0x1a0)][_0x4e8776(0x15b)](),this[_0x4e8776(0x177)][_0x4e8776(0x14f)](this[_0x4e8776(0x1a0)][_0x4e8776(0x172)]);}catch(_0x1e0d15){if(_0x1e0d15 instanceof _0x5502c9)this[_0x4e8776(0x154)](_0x4e8776(0x152),{'interactionId':this[_0x4e8776(0x1a0)]?this[_0x4e8776(0x1a0)]['id']:void 0x0,'error':_0x1e0d15});else{const _0x4c6657=_0x2db3b3[_0x4e8776(0x1b8)](_0x1e0d15[_0x4e8776(0x17f)])||_0x4e8776(0x1b1);this[_0x4e8776(0x154)](_0x4e8776(0x152),{'interactionId':this[_0x4e8776(0x1a0)]?this[_0x4e8776(0x1a0)]['id']:void 0x0,'error':new _0x5502c9(_0x4c6657,null,{'error':_0x1e0d15})});}}finally{this[_0x4e8776(0x1a0)]?.[_0x4e8776(0x194)](),this[_0x4e8776(0x1a0)]=void 0x0;}}[_0x44b554(0x1ab)]({userMessage:_0x39eb47,contextItems:_0x588012,capabilities:_0x486170,modelId:_0x185118,attributes:_0x20f22f}){const _0x363de9=_0x44b554,_0x24563d=new _0x389dc9({'userMessage':_0x39eb47,'contextItems':_0x588012,'capabilities':_0x486170,'conversationId':this['id'],'connector':this[_0x363de9(0x165)],'editor':this[_0x363de9(0x16f)][_0x363de9(0x1bd)]&&this[_0x363de9(0x16f)][_0x363de9(0x1bd)](),'model':_0x185118,'attributes':_0x20f22f});return _0x24563d[_0x363de9(0x16e)](..._0x218e1a)['to'](this),this[_0x363de9(0x17b)][_0x363de9(0x1ac)](_0x24563d),this[_0x363de9(0x154)](_0x363de9(0x147),_0x24563d),_0x24563d;}[_0x44b554(0x17d)](_0x5116f7){const _0x4e2530=_0x44b554;return this[_0x4e2530(0x17b)][_0x4e2530(0x161)](_0x1e5e96=>_0x1e5e96['id']===_0x5116f7);}[_0x44b554(0x19c)](_0x3dc1e1){const _0x1d82bc=_0x44b554,_0x249934=this[_0x1d82bc(0x17d)](_0x3dc1e1);_0x249934&&(_0x249934[_0x1d82bc(0x16a)](),this[_0x1d82bc(0x17b)][_0x1d82bc(0x187)](this[_0x1d82bc(0x17b)][_0x1d82bc(0x14a)](_0x249934),0x1));}get[_0x44b554(0x1b9)](){const _0x1db9b9=_0x44b554;return this[_0x1db9b9(0x17b)][this[_0x1db9b9(0x17b)][_0x1db9b9(0x191)]-0x1];}[_0x44b554(0x169)](_0x3b97af){const _0x4cb1b5=_0x44b554;this[_0x4cb1b5(0x177)][_0x4cb1b5(0x169)](_0x3b97af);}async[_0x44b554(0x163)]({content:_0x31187d,version:_0x4c8a83,sessionId:_0x214d18,selections:_0x604b73}){const _0x20b192=_0x44b554;await this[_0x20b192(0x177)][_0x20b192(0x180)](_0x31187d,_0x4c8a83,_0x214d18,_0x604b73);}[_0x44b554(0x155)](){const _0x48478b=_0x44b554;return this[_0x48478b(0x1a0)]?.[_0x48478b(0x198)]()?.[_0x48478b(0x146)]||'';}[_0x44b554(0x1a7)](_0x3ccb74){const _0x44c19a=_0x44b554;this[_0x44c19a(0x177)][_0x44c19a(0x1a7)](_0x3ccb74);}[_0x44b554(0x174)](){const _0x1b1394=_0x44b554;this[_0x1b1394(0x177)][_0x1b1394(0x174)]();}[_0x44b554(0x150)](_0x2d5078){const _0x2f8a7a=_0x44b554;this[_0x2f8a7a(0x177)][_0x2f8a7a(0x150)](_0x2d5078);}[_0x44b554(0x157)](_0x5d7072){const _0x353a4d=_0x44b554;this[_0x353a4d(0x177)][_0x353a4d(0x157)](_0x5d7072);}[_0x44b554(0x17e)](_0x167f15){const _0x39a4c4=_0x44b554;this[_0x39a4c4(0x177)][_0x39a4c4(0x17e)](_0x167f15);}[_0x44b554(0x1a6)](_0x3b8e47,_0xf4484c){const _0x2dd9e5=_0x44b554;this[_0x2dd9e5(0x177)][_0x2dd9e5(0x1a6)](_0x3b8e47,_0xf4484c);}[_0x44b554(0x16b)](_0x5bc781,_0xd4f32e,_0x242985){const _0x4d48bf=_0x44b554;return this[_0x4d48bf(0x177)][_0x4d48bf(0x16b)](_0x5bc781,_0xd4f32e,_0x242985);}[_0x44b554(0x164)](_0x1ef51b){const _0x1097f5=_0x44b554;this[_0x1097f5(0x177)][_0x1097f5(0x164)](_0x1ef51b);}[_0x44b554(0x1bc)](_0x4a8468){const _0x45c0ef=_0x44b554;this[_0x45c0ef(0x18d)][_0x45c0ef(0x1bc)](_0x4a8468);}[_0x44b554(0x186)](){const _0xe15743=_0x44b554;this[_0xe15743(0x18d)][_0xe15743(0x186)]();}[_0x44b554(0x175)](_0x2c7c8e){const _0x426262=_0x44b554;this[_0x426262(0x18d)][_0x426262(0x175)](_0x2c7c8e);}[_0x44b554(0x14d)](){const _0xaf4dad=_0x44b554;this[_0xaf4dad(0x18d)][_0xaf4dad(0x14d)]();}[_0x44b554(0x181)](){const _0x15579a=_0x44b554;return this[_0x15579a(0x177)][_0x15579a(0x181)]();}[_0x44b554(0x159)](){const _0xcc4a6e=_0x44b554;return this[_0xcc4a6e(0x177)][_0xcc4a6e(0x159)]();}[_0x44b554(0x160)](){const _0xf261a1=_0x44b554;return this[_0xf261a1(0x177)][_0xf261a1(0x160)]();}async[_0x44b554(0x167)](_0x5076c2){const _0x348224=_0x44b554;_0x5076c2?!0x1===await this[_0x348224(0x171)][_0x348224(0x182)](_0x5076c2)&&(_0x2a580e(_0x348224(0x15c),{'conversation':this,'model':_0x5076c2}),_0x5076c2=(await this[_0x348224(0x171)][_0x348224(0x166)]())[0x0]):(_0x2a580e(_0x348224(0x1b0),{'conversation':this}),_0x5076c2=(await this[_0x348224(0x171)][_0x348224(0x166)]())[0x0]),_0x5076c2['id']!==this[_0x348224(0x162)]?.['id']&&(this[_0x348224(0x162)]=_0x5076c2,this[_0x348224(0x18d)][_0x348224(0x151)](),this[_0x348224(0x154)](_0x348224(0x15d),{'selectedModel':_0x5076c2}));}}
23
+ const _0x15fd9e=_0x33cf;(function(_0x29f3b0,_0x1ffa71){const _0x245706=_0x33cf,_0x1e2afc=_0x29f3b0();while(!![]){try{const _0x160629=parseInt(_0x245706(0x257))/0x1+parseInt(_0x245706(0x1fe))/0x2+-parseInt(_0x245706(0x234))/0x3+parseInt(_0x245706(0x24a))/0x4*(parseInt(_0x245706(0x259))/0x5)+-parseInt(_0x245706(0x1e9))/0x6*(parseInt(_0x245706(0x237))/0x7)+parseInt(_0x245706(0x1fd))/0x8+-parseInt(_0x245706(0x220))/0x9;if(_0x160629===_0x1ffa71)break;else _0x1e2afc['push'](_0x1e2afc['shift']());}catch(_0x155206){_0x1e2afc['push'](_0x1e2afc['shift']());}}}(_0xc9c5,0xd0519));import{CKEditorError as _0x1ae879,EmitterMixin as _0xff21b1,logWarning as _0x375471}from'ckeditor5/src/utils.js';import{AI_MODEL_EVENT_NAMES as _0x1b4a88}from'../../aicore/model/aiinteraction.js';import{AIChatContext as _0x412711,AI_CONTEXT_MODEL_EVENT_NAMES as _0x2e4fa4}from'./aichatcontext.js';import{AICapabilities as _0x49c86f,CAPABILITIES_MODEL_EVENT_NAMES as _0x1821c1}from'../../aicore/model/aicapabilities.js';import{AIChatInteraction as _0xffd4e0}from'./aichatinteraction.js';function _0x33cf(_0x41f28e,_0x328a25){const _0xc9c570=_0xc9c5();return _0x33cf=function(_0x33cf57,_0x56cb5e){_0x33cf57=_0x33cf57-0x1e3;let _0x4626e1=_0xc9c570[_0x33cf57];return _0x4626e1;},_0x33cf(_0x41f28e,_0x328a25);}import{errorsMap as _0x5f03e6}from'../../errorsmap.js';function _0xc9c5(){const _0x5367a1=['getCurrentDocumentContext','init','addUrlToContext','splice','createReply','setConversationTitle','getDocumentContext','prompt','error','sources','indexOf','model','getInteraction','type','_processMessagesToInteractions','hasOwn','destroy','currentInteraction','16806906yVYAPE','startConversation','webSearch','mcp-tool-result','reset','parse','attributes','push','isSelectionInContext','ai-chat-handle-user-interaction-already-in-progress','chatModels','modelSelected','toggleWebSearch','ai-chat-conversation-start-failed','message','fetchConversationMessages','isCurrentDocumentInConversation','isCurrentDocumentInContext','addCurrentDocumentToContext','capabilities','105048sigSSM','handleUserInteraction','group','2107ZghLqu','get','toLowerCase','conversationStarted','toolName','getEditor','reasoning','removeSelectionFromContext','addToConversationContext','set','getCapabilitiesConfig','isAvailable','role','getConversation','ai-chat-conversation-init-failed','getAvailableModels','setReasoning','connector','_handleToolResultData','8608pGZNTk','assistant','loadSourceResources','conversationInitialized','load','stack','chatContext','user','options','stop','selectedModel','code','interactionCreated','250360TFbXOM','toggleReasoning','315uuXshG','_extractContextItems','length','currentReply','isStarted','selectedModelId','url','createInteraction','interactions','ai-chat-handle-user-conversation-not-initialized','ai-chat-conversation-start-no-model-selected','ai-chat-conversation-already-started','sessionId','9492oaIygD','ai-chat-conversation-set-model-null','removeFromContext','text','getModel','content','contextItems','removeInteraction','setWebSearch','conversationId','find','setModel','addToolItemToContext','updateCurrentDocument','chatCapabilities','getMessages','appendContent','lastInteraction','modification','addFilesToContext','11053752ChIbzW','2928500TZmMMw','getAll','delegate','isFromHistory','populateFromMessage','updateCurrentDocumentInContext','getPendingContextItems','ai-chat-handle-user-interaction-start-failed','title','addResourceToContext','fire','ai-chat-conversation-init-from-id-failed','addSelectionToContext','ai-chat-conversation-set-model-not-available','fetchConversation','start'];_0xc9c5=function(){return _0x5367a1;};return _0xc9c5();}export class AIChatConversation extends _0xff21b1(){['id'];[_0x15fd9e(0x25d)]=!0x1;[_0x15fd9e(0x201)];[_0x15fd9e(0x1e4)]=[];[_0x15fd9e(0x21f)];[_0x15fd9e(0x254)];[_0x15fd9e(0x248)];[_0x15fd9e(0x252)];constructor(_0x4281c7){const _0x42415f=_0x15fd9e;super(),this[_0x42415f(0x252)]=_0x4281c7,this[_0x42415f(0x248)]=_0x4281c7[_0x42415f(0x248)],this[_0x42415f(0x22a)]=_0x4281c7[_0x42415f(0x22a)],this['id']=_0x4281c7[_0x42415f(0x1f2)],this[_0x42415f(0x201)]=_0x4281c7[_0x42415f(0x201)];}async[_0x15fd9e(0x20f)](_0x2c269a){const _0x104f55=_0x15fd9e;try{this[_0x104f55(0x250)]=new _0x412711({'connector':this[_0x104f55(0x248)],'config':_0x2c269a,'ownerId':this['id']}),this[_0x104f55(0x250)][_0x104f55(0x200)](..._0x2e4fa4)['to'](this),this[_0x104f55(0x250)][_0x104f55(0x20f)](),this[_0x104f55(0x1f7)]=new _0x49c86f(),this[_0x104f55(0x1f7)][_0x104f55(0x200)](..._0x1821c1)['to'](this),this[_0x104f55(0x1f7)][_0x104f55(0x20f)]();const _0x1c8a49=await this[_0x104f55(0x22a)][_0x104f55(0x246)]();this[_0x104f55(0x208)](_0x104f55(0x24d),{'availableModels':_0x1c8a49});const _0x3e6318=await this[_0x104f55(0x22a)][_0x104f55(0x1ed)](this[_0x104f55(0x252)][_0x104f55(0x25e)]);_0x3e6318&&await this[_0x104f55(0x1f4)](_0x3e6318);}catch(_0x7ab110){const _0x43fc1b=new _0x1ae879(_0x104f55(0x245),null,{'message':_0x7ab110[_0x104f55(0x22e)]||_0x7ab110});_0x43fc1b[_0x104f55(0x24f)]=_0x7ab110[_0x104f55(0x24f)],this[_0x104f55(0x208)](_0x104f55(0x216),{'error':_0x43fc1b});}}async[_0x15fd9e(0x20d)](){const _0x2ff307=_0x15fd9e;if(this[_0x2ff307(0x25d)])throw new _0x1ae879(_0x2ff307(0x1e7),null,{'conversation':this});if(!this[_0x2ff307(0x254)])throw new _0x1ae879(_0x2ff307(0x1e6),null,{'conversation':this});try{const {id:_0x3d4409}=await this[_0x2ff307(0x248)][_0x2ff307(0x221)](this['id'],this[_0x2ff307(0x252)][_0x2ff307(0x236)])[_0x2ff307(0x244)]();this['id']=_0x3d4409,this[_0x2ff307(0x25d)]=!0x0,this[_0x2ff307(0x208)](_0x2ff307(0x23a),{'conversationId':this['id'],'selectedModel':this[_0x2ff307(0x254)]});}catch(_0x27dbfc){const _0x50c656=new _0x1ae879(_0x2ff307(0x22d),null,{'message':_0x27dbfc[_0x2ff307(0x22e)],'conversationId':this['id']});throw _0x50c656[_0x2ff307(0x24f)]=_0x27dbfc[_0x2ff307(0x24f)],this[_0x2ff307(0x208)](_0x2ff307(0x216),{'error':_0x50c656}),_0x50c656;}}async[_0x15fd9e(0x24e)](_0x2bf87f,_0x521d94){const _0x6346ea=_0x15fd9e;try{const _0x2c2d18=await this[_0x6346ea(0x248)][_0x6346ea(0x20c)](_0x2bf87f)[_0x6346ea(0x244)](),_0x1b73e9=await this[_0x6346ea(0x248)][_0x6346ea(0x22f)](_0x2bf87f)[_0x6346ea(0x1f8)](),_0x20562f=_0x1b73e9[0x0][_0x6346ea(0x219)];this[_0x6346ea(0x25d)]=!0x0,this['id']=_0x2c2d18['id'],_0x6346ea(0x206)in _0x2c2d18?this[_0x6346ea(0x208)](_0x6346ea(0x213),_0x2c2d18[_0x6346ea(0x206)],!0x0):this[_0x6346ea(0x208)](_0x6346ea(0x213),'',!0x0);const _0x2ad0dd=(await this[_0x6346ea(0x22a)][_0x6346ea(0x1ff)]())[_0x6346ea(0x1f3)](_0x542f2b=>_0x542f2b['id'][_0x6346ea(0x239)]()===_0x20562f[_0x6346ea(0x239)]());return this[_0x6346ea(0x254)]=_0x2ad0dd,this[_0x6346ea(0x208)](_0x6346ea(0x22b),{'selectedModel':_0x2ad0dd,'isDisabled':!0x0}),await this[_0x6346ea(0x21c)](_0x1b73e9,_0x521d94,_0x20562f),this[_0x6346ea(0x21f)]=void 0x0,this;}catch(_0x15ee6c){const _0x26af6b=new _0x1ae879(_0x6346ea(0x209),null,{'message':_0x15ee6c[_0x6346ea(0x22e)],'conversationId':_0x2bf87f});throw _0x26af6b[_0x6346ea(0x24f)]=_0x15ee6c[_0x6346ea(0x24f)],this[_0x6346ea(0x208)](_0x6346ea(0x216),{'error':_0x26af6b}),_0x26af6b;}}async[_0x15fd9e(0x21c)](_0x1b2f40,_0x112e29,_0x20e2c9){const _0x3e7a2b=_0x15fd9e;let _0x2014e0;for(const _0x1d6556 of _0x1b2f40)if(_0x3e7a2b(0x251)===_0x1d6556[_0x3e7a2b(0x243)]){const _0x530880=await this[_0x3e7a2b(0x25a)](_0x1d6556),_0x361cf8={'isReasoningEnabled':Object[_0x3e7a2b(0x21d)](_0x1d6556[_0x3e7a2b(0x233)],_0x3e7a2b(0x23d)),'isWebSearchEnabled':Object[_0x3e7a2b(0x21d)](_0x1d6556[_0x3e7a2b(0x233)],_0x3e7a2b(0x222))};_0x2014e0=this[_0x3e7a2b(0x1e3)]({'userMessage':_0x1d6556[_0x3e7a2b(0x215)],'contextItems':_0x530880,'capabilities':_0x361cf8,'modelId':_0x20e2c9,'attributes':_0x1d6556[_0x3e7a2b(0x226)]}),this[_0x3e7a2b(0x21f)]=_0x2014e0,this[_0x3e7a2b(0x250)][_0x3e7a2b(0x23f)](this[_0x3e7a2b(0x21f)][_0x3e7a2b(0x1ef)]);}else{if(_0x3e7a2b(0x24b)===_0x1d6556[_0x3e7a2b(0x243)]&&_0x2014e0){const _0x102c3a=[];for(const _0x6f6a6a of _0x1d6556[_0x3e7a2b(0x1ee)])switch(_0x6f6a6a[_0x3e7a2b(0x21b)]){case _0x3e7a2b(0x1ec):case _0x3e7a2b(0x1fb):{const _0x3f134f=_0x2014e0[_0x3e7a2b(0x214)]()?.[_0x3e7a2b(0x1e8)]!==_0x112e29;_0x2014e0[_0x3e7a2b(0x25c)]=_0x2014e0[_0x3e7a2b(0x212)]({'type':_0x6f6a6a[_0x3e7a2b(0x21b)],'isDone':!0x0,'interactionId':_0x2014e0['id'],'areActionsDisabled':_0x3f134f}),_0x2014e0[_0x3e7a2b(0x25c)][_0x3e7a2b(0x1f9)](_0x6f6a6a[_0x3e7a2b(0x1ee)]),_0x102c3a[_0x3e7a2b(0x25b)]>0x0&&(_0x2014e0[_0x3e7a2b(0x25c)][_0x3e7a2b(0x217)]=_0x102c3a[_0x3e7a2b(0x211)](0x0));break;}case _0x3e7a2b(0x25f):_0x102c3a[_0x3e7a2b(0x227)](_0x6f6a6a);break;case _0x3e7a2b(0x223):{const {data:_0x873311,attributes:_0x7fa7d3}=JSON[_0x3e7a2b(0x225)](_0x6f6a6a[_0x3e7a2b(0x1ee)]);_0x2014e0[_0x3e7a2b(0x249)]({'toolName':_0x6f6a6a[_0x3e7a2b(0x23b)],'data':_0x873311,'attributes':_0x7fa7d3});break;}}}}}async[_0x15fd9e(0x25a)](_0x543ca7){const _0x34a383=_0x15fd9e,_0xe4ae09=new Map();if(!_0x543ca7[_0x34a383(0x1ee)])return _0xe4ae09;for(const _0x16c91e of _0x543ca7[_0x34a383(0x1ee)]){const _0x2379fd=await this[_0x34a383(0x250)][_0x34a383(0x202)](_0x16c91e);_0x2379fd&&_0xe4ae09[_0x34a383(0x240)](_0x2379fd['id'],_0x2379fd);}return _0xe4ae09;}async[_0x15fd9e(0x235)]({userMessage:_0x33babd,attributes:_0x3f9af5}){const _0x33b3b1=_0x15fd9e;if(!this[_0x33b3b1(0x25d)])throw new _0x1ae879(_0x33b3b1(0x1e5),null,{'conversation':this});if(this[_0x33b3b1(0x21f)])throw new _0x1ae879(_0x33b3b1(0x229),null,{'conversation':this});try{const _0x12fa6d=this[_0x33b3b1(0x250)][_0x33b3b1(0x204)](),_0x166b6c=this[_0x33b3b1(0x1f7)][_0x33b3b1(0x241)](),_0x17e40b=this[_0x33b3b1(0x254)]['id'];this[_0x33b3b1(0x21f)]=this[_0x33b3b1(0x1e3)]({'userMessage':_0x33babd,'contextItems':_0x12fa6d,'capabilities':_0x166b6c,'modelId':_0x17e40b,'attributes':_0x3f9af5}),await this[_0x33b3b1(0x21f)][_0x33b3b1(0x20d)](),this[_0x33b3b1(0x250)][_0x33b3b1(0x23f)](this[_0x33b3b1(0x21f)][_0x33b3b1(0x1ef)]);}catch(_0x5c3b6d){if(_0x5c3b6d instanceof _0x1ae879)this[_0x33b3b1(0x208)](_0x33b3b1(0x216),{'interactionId':this[_0x33b3b1(0x21f)]?this[_0x33b3b1(0x21f)]['id']:void 0x0,'error':_0x5c3b6d});else{const _0x30da4f=_0x5f03e6[_0x33b3b1(0x238)](_0x5c3b6d[_0x33b3b1(0x255)])||_0x33b3b1(0x205);this[_0x33b3b1(0x208)](_0x33b3b1(0x216),{'interactionId':this[_0x33b3b1(0x21f)]?this[_0x33b3b1(0x21f)]['id']:void 0x0,'error':new _0x1ae879(_0x30da4f,null,{'error':_0x5c3b6d})});}}finally{this[_0x33b3b1(0x21f)]?.[_0x33b3b1(0x253)](),this[_0x33b3b1(0x21f)]=void 0x0;}}[_0x15fd9e(0x1e3)]({userMessage:_0x19addc,contextItems:_0x10db1f,capabilities:_0x5e15ce,modelId:_0x4b2802,attributes:_0xcad72a}){const _0x56fc6e=_0x15fd9e,_0x4794e2=new _0xffd4e0({'userMessage':_0x19addc,'contextItems':_0x10db1f,'capabilities':_0x5e15ce,'conversationId':this['id'],'connector':this[_0x56fc6e(0x248)],'editor':this[_0x56fc6e(0x252)][_0x56fc6e(0x23c)]&&this[_0x56fc6e(0x252)][_0x56fc6e(0x23c)](),'model':_0x4b2802,'attributes':_0xcad72a});return _0x4794e2[_0x56fc6e(0x200)](..._0x1b4a88)['to'](this),this[_0x56fc6e(0x1e4)][_0x56fc6e(0x227)](_0x4794e2),this[_0x56fc6e(0x208)](_0x56fc6e(0x256),_0x4794e2),_0x4794e2;}[_0x15fd9e(0x21a)](_0x256958){const _0x107dde=_0x15fd9e;return this[_0x107dde(0x1e4)][_0x107dde(0x1f3)](_0x23368c=>_0x23368c['id']===_0x256958);}[_0x15fd9e(0x1f0)](_0x403970){const _0x380d83=_0x15fd9e,_0x3303e2=this[_0x380d83(0x21a)](_0x403970);_0x3303e2&&(_0x3303e2[_0x380d83(0x21e)](),this[_0x380d83(0x1e4)][_0x380d83(0x211)](this[_0x380d83(0x1e4)][_0x380d83(0x218)](_0x3303e2),0x1));}get[_0x15fd9e(0x1fa)](){const _0x5b322c=_0x15fd9e;return this[_0x5b322c(0x1e4)][this[_0x5b322c(0x1e4)][_0x5b322c(0x25b)]-0x1];}[_0x15fd9e(0x232)](_0x4f81d9){const _0x57f3e2=_0x15fd9e;this[_0x57f3e2(0x250)][_0x57f3e2(0x232)](_0x4f81d9);}async[_0x15fd9e(0x203)]({content:_0x1d4e87,version:_0x41d9b0,sessionId:_0xd4f81a,selections:_0x57b1d6}){const _0x405d7a=_0x15fd9e;await this[_0x405d7a(0x250)][_0x405d7a(0x1f6)](_0x1d4e87,_0x41d9b0,_0xd4f81a,_0x57b1d6);}[_0x15fd9e(0x20e)](){const _0x55bf35=_0x15fd9e;return this[_0x55bf35(0x21f)]?.[_0x55bf35(0x214)]()?.[_0x55bf35(0x1ee)]||'';}[_0x15fd9e(0x20a)](_0x286b1b){const _0x2e6f93=_0x15fd9e;this[_0x2e6f93(0x250)][_0x2e6f93(0x20a)](_0x286b1b);}[_0x15fd9e(0x23e)](){const _0x3bdaed=_0x15fd9e;this[_0x3bdaed(0x250)][_0x3bdaed(0x23e)]();}[_0x15fd9e(0x1fc)](_0xf29fab){const _0x35c1b6=_0x15fd9e;this[_0x35c1b6(0x250)][_0x35c1b6(0x1fc)](_0xf29fab);}[_0x15fd9e(0x210)](_0x15e81c){const _0x23e4e6=_0x15fd9e;this[_0x23e4e6(0x250)][_0x23e4e6(0x210)](_0x15e81c);}[_0x15fd9e(0x1f5)](_0x4b3f27){const _0x1ff328=_0x15fd9e;this[_0x1ff328(0x250)][_0x1ff328(0x1f5)](_0x4b3f27);}[_0x15fd9e(0x207)](_0xf21d76,_0x377e16){const _0x3833d0=_0x15fd9e;this[_0x3833d0(0x250)][_0x3833d0(0x207)](_0xf21d76,_0x377e16);}[_0x15fd9e(0x24c)](_0x4c38a8,_0x559b3e,_0x399329){const _0x2f1e2c=_0x15fd9e;return this[_0x2f1e2c(0x250)][_0x2f1e2c(0x24c)](_0x4c38a8,_0x559b3e,_0x399329);}[_0x15fd9e(0x1eb)](_0x82f2d4){const _0x1fc237=_0x15fd9e;this[_0x1fc237(0x250)][_0x1fc237(0x1eb)](_0x82f2d4);}[_0x15fd9e(0x1f1)](_0xe93063){const _0x3995fc=_0x15fd9e;this[_0x3995fc(0x1f7)][_0x3995fc(0x1f1)](_0xe93063);}[_0x15fd9e(0x22c)](){const _0x41a075=_0x15fd9e;this[_0x41a075(0x1f7)][_0x41a075(0x22c)]();}[_0x15fd9e(0x247)](_0x3e3970){const _0x301de5=_0x15fd9e;this[_0x301de5(0x1f7)][_0x301de5(0x247)](_0x3e3970);}[_0x15fd9e(0x258)](){const _0x3df206=_0x15fd9e;this[_0x3df206(0x1f7)][_0x3df206(0x258)]();}[_0x15fd9e(0x231)](){const _0x454f90=_0x15fd9e;return this[_0x454f90(0x250)][_0x454f90(0x231)]();}[_0x15fd9e(0x230)](){const _0x56661f=_0x15fd9e;return this[_0x56661f(0x250)][_0x56661f(0x230)]();}[_0x15fd9e(0x228)](){const _0x2e4c51=_0x15fd9e;return this[_0x2e4c51(0x250)][_0x2e4c51(0x228)]();}async[_0x15fd9e(0x1f4)](_0x134eb5){const _0xce0f1e=_0x15fd9e;_0x134eb5?!0x1===await this[_0xce0f1e(0x22a)][_0xce0f1e(0x242)](_0x134eb5)&&(_0x375471(_0xce0f1e(0x20b),{'conversation':this,'model':_0x134eb5}),_0x134eb5=(await this[_0xce0f1e(0x22a)][_0xce0f1e(0x246)]())[0x0]):(_0x375471(_0xce0f1e(0x1ea),{'conversation':this}),_0x134eb5=(await this[_0xce0f1e(0x22a)][_0xce0f1e(0x246)]())[0x0]),_0x134eb5['id']!==this[_0xce0f1e(0x254)]?.['id']&&(this[_0xce0f1e(0x254)]=_0x134eb5,this[_0xce0f1e(0x1f7)][_0xce0f1e(0x224)](),this[_0xce0f1e(0x208)](_0xce0f1e(0x22b),{'selectedModel':_0x134eb5}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x56cf40=_0xf7ff;function _0xf7ff(_0x3708d9,_0x3a6219){var _0x1c3c6b=_0x1c3c();return _0xf7ff=function(_0xf7ff3a,_0x1c8145){_0xf7ff3a=_0xf7ff3a-0x118;var _0x4841b4=_0x1c3c6b[_0xf7ff3a];return _0x4841b4;},_0xf7ff(_0x3708d9,_0x3a6219);}(function(_0x226d2a,_0x13df6b){var _0x4f5ea4=_0xf7ff,_0x1c9757=_0x226d2a();while(!![]){try{var _0x4530aa=parseInt(_0x4f5ea4(0x123))/0x1+parseInt(_0x4f5ea4(0x128))/0x2*(-parseInt(_0x4f5ea4(0x11b))/0x3)+-parseInt(_0x4f5ea4(0x130))/0x4*(-parseInt(_0x4f5ea4(0x124))/0x5)+parseInt(_0x4f5ea4(0x118))/0x6*(parseInt(_0x4f5ea4(0x11d))/0x7)+-parseInt(_0x4f5ea4(0x12d))/0x8+-parseInt(_0x4f5ea4(0x120))/0x9*(-parseInt(_0x4f5ea4(0x11e))/0xa)+-parseInt(_0x4f5ea4(0x12a))/0xb;if(_0x4530aa===_0x13df6b)break;else _0x1c9757['push'](_0x1c9757['shift']());}catch(_0x2e2c3f){_0x1c9757['push'](_0x1c9757['shift']());}}}(_0x1c3c,0x4a2f0));function _0x1c3c(){var _0x45a144=['attributes','239759AuycME','2327615XuDvSa','mapContextItemsToRequestData','capabilities','getDocumentContext','2WMIOlu','sendRequest','8369119ffCaYF','current-document','get','2150064dzMpsK','userMessage','connector','4BcxVhT','138WjZAhg','getCapabilitiesRequestData','queryAssistant','67626IlnvGY','conversationId','72499kjQokY','4124920RiidQt','model','9VKbLLm','contextItems'];_0x1c3c=function(){return _0x45a144;};return _0x1c3c();}import{AICapabilities as _0x40ec3d}from'../../aicore/model/aicapabilities.js';import{AIInteraction as _0x284551}from'../../aicore/model/aiinteraction.js';import{AIChatContext as _0x21a895}from'./aichatcontext.js';export class AIChatInteraction extends _0x284551{[_0x56cf40(0x12e)];[_0x56cf40(0x11c)];[_0x56cf40(0x121)]=new Map();[_0x56cf40(0x11f)];[_0x56cf40(0x122)];constructor(_0x8cf9a1){var _0x3f6da1=_0x56cf40;super(_0x8cf9a1),this[_0x3f6da1(0x11c)]=_0x8cf9a1[_0x3f6da1(0x11c)],this[_0x3f6da1(0x121)]=_0x8cf9a1[_0x3f6da1(0x121)],this[_0x3f6da1(0x126)]=_0x8cf9a1[_0x3f6da1(0x126)],this[_0x3f6da1(0x12e)]=_0x8cf9a1[_0x3f6da1(0x12e)],this[_0x3f6da1(0x11f)]=_0x8cf9a1[_0x3f6da1(0x11f)],this[_0x3f6da1(0x122)]=_0x8cf9a1[_0x3f6da1(0x122)];}async[_0x56cf40(0x129)](){var _0x20eb59=_0x56cf40;return this[_0x20eb59(0x12f)][_0x20eb59(0x11a)]({'message':this[_0x20eb59(0x12e)],'conversationId':this[_0x20eb59(0x11c)],'parts':_0x21a895[_0x20eb59(0x125)](this[_0x20eb59(0x121)]),'capabilities':_0x40ec3d[_0x20eb59(0x119)](this[_0x20eb59(0x126)]),'model':this[_0x20eb59(0x11f)],'attributes':this[_0x20eb59(0x122)]});}[_0x56cf40(0x127)](){var _0x3fa7fc=_0x56cf40;return this[_0x3fa7fc(0x121)][_0x3fa7fc(0x12c)](_0x3fa7fc(0x12b));}}
23
+ var _0x485993=_0x51cd;(function(_0x5bc888,_0x5a5daf){var _0x1f4b41=_0x51cd,_0x4b4fa7=_0x5bc888();while(!![]){try{var _0xbbc5eb=-parseInt(_0x1f4b41(0x1ef))/0x1+-parseInt(_0x1f4b41(0x1e7))/0x2*(parseInt(_0x1f4b41(0x1e5))/0x3)+-parseInt(_0x1f4b41(0x1f7))/0x4*(-parseInt(_0x1f4b41(0x1ea))/0x5)+-parseInt(_0x1f4b41(0x1e4))/0x6*(-parseInt(_0x1f4b41(0x1e6))/0x7)+parseInt(_0x1f4b41(0x1f1))/0x8+-parseInt(_0x1f4b41(0x1ed))/0x9*(-parseInt(_0x1f4b41(0x1eb))/0xa)+parseInt(_0x1f4b41(0x1f4))/0xb;if(_0xbbc5eb===_0x5a5daf)break;else _0x4b4fa7['push'](_0x4b4fa7['shift']());}catch(_0x3017c2){_0x4b4fa7['push'](_0x4b4fa7['shift']());}}}(_0x3c3c,0x9597b));function _0x51cd(_0x49cca3,_0xdcb5be){var _0x3c3c10=_0x3c3c();return _0x51cd=function(_0x51cdff,_0xfc6f1e){_0x51cdff=_0x51cdff-0x1e0;var _0x26940f=_0x3c3c10[_0x51cdff];return _0x26940f;},_0x51cd(_0x49cca3,_0xdcb5be);}import{AICapabilities as _0x14ec8a}from'../../aicore/model/aicapabilities.js';function _0x3c3c(){var _0x21a0e0=['getCapabilitiesRequestData','sendRequest','646842ShqUhe','243MEghYV','49kWTBPY','25774aWZfte','conversationId','queryAssistant','5IqCdAa','137490gxiHnY','model','18MtaxMp','userMessage','400011ztvJia','mapContextItemsToRequestData','6699376KLlDwc','attributes','current-document','1981023hRNIJl','connector','get','1027708swPuAZ','getDocumentContext','contextItems','capabilities'];_0x3c3c=function(){return _0x21a0e0;};return _0x3c3c();}import{AIInteraction as _0x2d647e}from'../../aicore/model/aiinteraction.js';import{AIChatContext as _0x109bb3}from'./aichatcontext.js';export class AIChatInteraction extends _0x2d647e{[_0x485993(0x1ee)];[_0x485993(0x1e8)];[_0x485993(0x1e0)]=new Map();[_0x485993(0x1ec)];[_0x485993(0x1f2)];constructor(_0x4bb09b){var _0x544c09=_0x485993;super(_0x4bb09b),this[_0x544c09(0x1e8)]=_0x4bb09b[_0x544c09(0x1e8)],this[_0x544c09(0x1e0)]=_0x4bb09b[_0x544c09(0x1e0)],this[_0x544c09(0x1e1)]=_0x4bb09b[_0x544c09(0x1e1)],this[_0x544c09(0x1ee)]=_0x4bb09b[_0x544c09(0x1ee)],this[_0x544c09(0x1ec)]=_0x4bb09b[_0x544c09(0x1ec)],this[_0x544c09(0x1f2)]=_0x4bb09b[_0x544c09(0x1f2)];}async[_0x485993(0x1e3)](){var _0x4a9442=_0x485993;return this[_0x4a9442(0x1f5)][_0x4a9442(0x1e9)]({'message':this[_0x4a9442(0x1ee)],'conversationId':this[_0x4a9442(0x1e8)],'parts':_0x109bb3[_0x4a9442(0x1f0)](this[_0x4a9442(0x1e0)]),'capabilities':_0x14ec8a[_0x4a9442(0x1e2)](this[_0x4a9442(0x1e1)]),'model':this[_0x4a9442(0x1ec)],'attributes':this[_0x4a9442(0x1f2)]});}[_0x485993(0x1f8)](){var _0x3126c0=_0x485993;return this[_0x3126c0(0x1e0)][_0x3126c0(0x1f6)](_0x3126c0(0x1f3));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4268aa=_0x5241;(function(_0x3e20a9,_0xb3ff89){const _0x31d499=_0x5241,_0xd329e3=_0x3e20a9();while(!![]){try{const _0x314c2b=-parseInt(_0x31d499(0x1cf))/0x1*(parseInt(_0x31d499(0x1f8))/0x2)+parseInt(_0x31d499(0x1dc))/0x3+-parseInt(_0x31d499(0x1b9))/0x4+parseInt(_0x31d499(0x1eb))/0x5*(parseInt(_0x31d499(0x1be))/0x6)+parseInt(_0x31d499(0x1ba))/0x7*(parseInt(_0x31d499(0x1ad))/0x8)+-parseInt(_0x31d499(0x1fc))/0x9*(parseInt(_0x31d499(0x1b5))/0xa)+parseInt(_0x31d499(0x1d2))/0xb;if(_0x314c2b===_0xb3ff89)break;else _0xd329e3['push'](_0xd329e3['shift']());}catch(_0x5e7f8d){_0xd329e3['push'](_0xd329e3['shift']());}}}(_0xdc54,0x9f100));import{FocusTracker as _0x38ccf8,KeystrokeHandler as _0x11ba5e}from'ckeditor5/src/utils.js';import{AISuggestionStreamableContentView as _0x644709}from'../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{AISuggestionContentPartToolbarView as _0x13d0f1}from'../../aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js';import{AIMiniToolbarView as _0x573353}from'../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';function _0xdc54(){const _0x48a9b3=['isEnabled','_createNextButtonView','fire','isTrackChangesOn','bind','listenTo','showDiff','addMany','_miniToolbarView','isVisible','12sIsUoh','add','ck-ai-chat-balloon-main_state_','1017819acVyoL','AI_BALLOON_PREVIOUS_LABEL','_config','render','setButtonsVisibility','element','_stateView','set','_errorView','full','3009048EzDjPh','tab','showError','delegate','AI_BALLOON_NEXT_LABEL','updateContent','previousButtonView','focusCycler','createCollection','update','_createPreviousButtonView','focus','bindTemplate','pending','nextButtonView','5exDDRp','setTemplate','locale','_toolbarContainerView','togglePartToolbarEnabled','insertSuggestion','_partToolbarView','children','execute','applySuggestion','includes','_streamableContentView','_isErrorVisible','34064TDFFAo','destroy','change:_state','keepErrors','5355LTkfwi','toggleRotatorButtonsVisibility','toggleSuggestionDisplayMode','hideError','shift\x20+\x20tab','ck-ai-chat-balloon__toolbar-container','56RyRoZR','_state','_focusTracker','showNext','setState','change:isTrackChangesOn','isShowChangesOn','rejectSuggestion','9390cjnmSf','focusLast','has','availableActions','1983064fjEuQF','608545vCvsPr','focusFirst','showBlockingError','toggleShowChanges','1237710ykWowd','showPrevious','div','_togglePartToolbarButtonsVisibility','_focusables','ck-ai-chat-balloon-main','_keystrokes'];_0xdc54=function(){return _0x48a9b3;};return _0xdc54();}import{AIBalloonView as _0x1dd40c}from'../../aiballoon/ui/aiballoonview.js';import{ButtonView as _0xc20fa4,FocusCycler as _0x11894a,View as _0x1f3cd5}from'ckeditor5/src/ui.js';import{AISuggestionContentPartStateView as _0x5c032d}from'../../aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js';import{IconChevronDown as _0x507f08,IconChevronUp as _0x510fe5}from'ckeditor5/src/icons.js';import{getTranslation as _0x20a259}from'../../aicore/utils/common-translations.js';import'../../../theme/aichat/aichatballoon.css';export class AIChatBalloonView extends _0x1dd40c{[_0x4268aa(0x1f2)];[_0x4268aa(0x1ea)];[_0x4268aa(0x1e2)];[_0x4268aa(0x1e3)];[_0x4268aa(0x1c2)];[_0x4268aa(0x1af)];[_0x4268aa(0x1c4)];[_0x4268aa(0x1d4)];[_0x4268aa(0x1f6)];[_0x4268aa(0x1ee)];[_0x4268aa(0x1f1)];[_0x4268aa(0x1d8)];[_0x4268aa(0x1cd)];constructor(_0x3fbed9,_0x362acc){const _0x1105c2=_0x4268aa;super(_0x3fbed9);const _0x3bb2e7=this[_0x1105c2(0x1e8)];this[_0x1105c2(0x1d9)](_0x1105c2(0x1cb),!0x1),this[_0x1105c2(0x1d9)](_0x1105c2(0x1ae),_0x1105c2(0x1e9)),this[_0x1105c2(0x1af)]=new _0x38ccf8(),this[_0x1105c2(0x1c4)]=new _0x11ba5e(),this[_0x1105c2(0x1c2)]=this[_0x1105c2(0x1e4)](),this[_0x1105c2(0x1e3)]=new _0x11894a({'focusables':this[_0x1105c2(0x1c2)],'focusTracker':this[_0x1105c2(0x1af)],'keystrokeHandler':this[_0x1105c2(0x1c4)],'actions':{'focusPrevious':_0x1105c2(0x1ab),'focusNext':_0x1105c2(0x1dd)}}),this[_0x1105c2(0x1d4)]=_0x362acc,this[_0x1105c2(0x1ea)]=this[_0x1105c2(0x1c6)](),this[_0x1105c2(0x1e2)]=this[_0x1105c2(0x1e6)](),this[_0x1105c2(0x1f6)]=new _0x644709(_0x3fbed9),this[_0x1105c2(0x1f1)]=new _0x13d0f1(_0x3fbed9,_0x362acc[_0x1105c2(0x1b8)]),this[_0x1105c2(0x1f1)][_0x1105c2(0x1df)](_0x1105c2(0x1f4),_0x1105c2(0x1f0),_0x1105c2(0x1b4))['to'](this),this[_0x1105c2(0x1c1)](_0x362acc),this[_0x1105c2(0x1d8)]=new _0x5c032d(_0x3fbed9),this[_0x1105c2(0x1d8)][_0x1105c2(0x1ce)]=!0x1,this[_0x1105c2(0x1cd)]=new _0x573353(_0x3fbed9,{'showChanges':_0x1105c2(0x1db)}),this[_0x1105c2(0x1cd)][_0x1105c2(0x1c9)](_0x1105c2(0x1b3))['to'](this,_0x1105c2(0x1cb)),this[_0x1105c2(0x1cd)]['on'](_0x1105c2(0x1bd),()=>{const _0x162d78=_0x1105c2;this[_0x162d78(0x1c7)](_0x162d78(0x1a9));}),this[_0x1105c2(0x1ee)]=new ls(_0x3fbed9,[this[_0x1105c2(0x1f1)],this[_0x1105c2(0x1d8)],this[_0x1105c2(0x1cd)]]),this[_0x1105c2(0x1f2)]=this[_0x1105c2(0x1e4)]([this[_0x1105c2(0x1f6)],this[_0x1105c2(0x1ee)]]),this['on'](_0x1105c2(0x1fa),(_0x4a4c42,_0x370175,_0x46fe10,_0x151791)=>{const _0x44c673=_0x1105c2;let _0x15d9c7,_0x295ed3;_0x44c673(0x1e9)===_0x151791?(_0x15d9c7=this[_0x44c673(0x1f1)],_0x295ed3=this[_0x44c673(0x1d8)]):(_0x15d9c7=this[_0x44c673(0x1d8)],_0x295ed3=this[_0x44c673(0x1f1)]),this[_0x44c673(0x1d8)][_0x44c673(0x1b1)](_0x46fe10),_0x15d9c7[_0x44c673(0x1ce)]=!0x1,_0x295ed3[_0x44c673(0x1ce)]=!0x0;}),this[_0x1105c2(0x1ec)]({'tag':_0x1105c2(0x1c0),'attributes':{'class':['ck',_0x1105c2(0x1c3),_0x3bb2e7['to'](_0x1105c2(0x1ae),_0x159d25=>_0x1105c2(0x1d1)+_0x159d25)]},'children':this[_0x1105c2(0x1f2)]}),this['on'](_0x1105c2(0x1b2),()=>{const _0x250bd1=_0x1105c2;this[_0x250bd1(0x1c1)](_0x362acc);});}[_0x4268aa(0x1d5)](){const _0x3a97b1=_0x4268aa;super[_0x3a97b1(0x1d5)](),this[_0x3a97b1(0x1ea)][_0x3a97b1(0x1d5)](),this[_0x3a97b1(0x1e2)][_0x3a97b1(0x1d5)](),this[_0x3a97b1(0x1af)][_0x3a97b1(0x1d0)](this[_0x3a97b1(0x1d7)]),this[_0x3a97b1(0x1af)][_0x3a97b1(0x1d0)](this[_0x3a97b1(0x1ea)]),this[_0x3a97b1(0x1af)][_0x3a97b1(0x1d0)](this[_0x3a97b1(0x1e2)]),this[_0x3a97b1(0x1af)][_0x3a97b1(0x1d0)](this[_0x3a97b1(0x1cd)]),this[_0x3a97b1(0x1af)][_0x3a97b1(0x1d0)](this[_0x3a97b1(0x1f1)]),this[_0x3a97b1(0x1c4)][_0x3a97b1(0x1ca)](this[_0x3a97b1(0x1d7)]),this[_0x3a97b1(0x1c4)][_0x3a97b1(0x1ca)](this[_0x3a97b1(0x1ea)][_0x3a97b1(0x1d7)]),this[_0x3a97b1(0x1c4)][_0x3a97b1(0x1ca)](this[_0x3a97b1(0x1e2)][_0x3a97b1(0x1d7)]),this[_0x3a97b1(0x1c2)][_0x3a97b1(0x1cc)]([this[_0x3a97b1(0x1ea)],this[_0x3a97b1(0x1e2)],this[_0x3a97b1(0x1f1)],this[_0x3a97b1(0x1cd)]]);}[_0x4268aa(0x1f9)](){const _0x12879a=_0x4268aa;super[_0x12879a(0x1f9)](),this[_0x12879a(0x1e2)][_0x12879a(0x1f9)](),this[_0x12879a(0x1ea)][_0x12879a(0x1f9)]();}[_0x4268aa(0x1e7)](){const _0x15f22a=_0x4268aa;this[_0x15f22a(0x1e3)][_0x15f22a(0x1bb)]();}[_0x4268aa(0x1b6)](){const _0xdc189d=_0x4268aa;this[_0xdc189d(0x1e3)][_0xdc189d(0x1b6)]();}async[_0x4268aa(0x1e1)](_0x710b1f){const _0x42efbe=_0x4268aa;_0x710b1f?.[_0x42efbe(0x1fb)]||this[_0x42efbe(0x1aa)](),await this[_0x42efbe(0x1f6)][_0x42efbe(0x1e5)](_0x710b1f);}[_0x4268aa(0x1b1)](_0x209efc){const _0x2c48d8=_0x4268aa;this[_0x2c48d8(0x1ae)]=_0x209efc;}[_0x4268aa(0x1de)](_0x46d9ac){const _0x8efc4c=_0x4268aa;super[_0x8efc4c(0x1de)](_0x46d9ac),this[_0x8efc4c(0x1f2)][_0x8efc4c(0x1b7)](this[_0x8efc4c(0x1da)])||this[_0x8efc4c(0x1f2)][_0x8efc4c(0x1d0)](this[_0x8efc4c(0x1da)],0x0);}[_0x4268aa(0x1aa)](){const _0x1acf1f=_0x4268aa;this[_0x1acf1f(0x1f7)]&&(super[_0x1acf1f(0x1aa)](),this[_0x1acf1f(0x1ef)](!0x0));}[_0x4268aa(0x1bc)](_0x363eac){const _0x77bb2c=_0x4268aa;super[_0x77bb2c(0x1bc)](_0x363eac),this[_0x77bb2c(0x1ef)](!0x1);}[_0x4268aa(0x1fd)](_0x5b449e){const _0x3f8582=_0x4268aa;this[_0x3f8582(0x1ea)][_0x3f8582(0x1ce)]=this[_0x3f8582(0x1e2)][_0x3f8582(0x1ce)]=_0x5b449e;}[_0x4268aa(0x1ef)](_0x2240c6){const _0xf2573b=_0x4268aa;this[_0xf2573b(0x1f1)][_0xf2573b(0x1c5)]=_0x2240c6;}[_0x4268aa(0x1c1)]({showApplyButton:_0x433093,showSuggestButton:_0x4c1e0d}){const _0x43c354=_0x4268aa;_0x433093=_0x433093&&!this[_0x43c354(0x1c8)]&&this[_0x43c354(0x1d4)][_0x43c354(0x1b8)][_0x43c354(0x1f5)](_0x43c354(0x1f4)),_0x4c1e0d=_0x4c1e0d&&this[_0x43c354(0x1d4)][_0x43c354(0x1b8)][_0x43c354(0x1f5)](_0x43c354(0x1f0)),this[_0x43c354(0x1f1)][_0x43c354(0x1d6)]({'showApplyButton':_0x433093,'showSuggestButton':_0x4c1e0d});}[_0x4268aa(0x1c6)](){const _0xbe3b65=_0x4268aa,_0x28b77f=new _0xc20fa4(this[_0xbe3b65(0x1ed)]);return _0x28b77f[_0xbe3b65(0x1d9)]({'icon':_0x507f08,'label':_0x20a259(this[_0xbe3b65(0x1ed)],_0xbe3b65(0x1e0)),'isVisible':!0x0}),_0x28b77f['on'](_0xbe3b65(0x1f3),()=>{const _0x5478b2=_0xbe3b65;this[_0x5478b2(0x1c7)](_0x5478b2(0x1b0));}),_0x28b77f;}[_0x4268aa(0x1e6)](){const _0x546374=_0x4268aa,_0x4b9752=new _0xc20fa4(this[_0x546374(0x1ed)]);return _0x4b9752[_0x546374(0x1d9)]({'icon':_0x510fe5,'label':_0x20a259(this[_0x546374(0x1ed)],_0x546374(0x1d3)),'isVisible':!0x0}),_0x4b9752['on'](_0x546374(0x1f3),()=>{const _0x150263=_0x546374;this[_0x150263(0x1c7)](_0x150263(0x1bf));}),_0x4b9752;}}function _0x5241(_0x2c3fe7,_0x5a8cd8){const _0xdc540=_0xdc54();return _0x5241=function(_0x5241bf,_0x5043e1){_0x5241bf=_0x5241bf-0x1a9;let _0xa7bfa5=_0xdc540[_0x5241bf];return _0xa7bfa5;},_0x5241(_0x2c3fe7,_0x5a8cd8);}class ls extends _0x1f3cd5{constructor(_0x2d48d3,_0x3280ea){const _0xaffef8=_0x4268aa;super(_0x2d48d3),this[_0xaffef8(0x1ec)]({'tag':_0xaffef8(0x1c0),'attributes':{'class':[_0xaffef8(0x1ac)]},'children':_0x3280ea});}}
23
+ const _0x21b245=_0x35f0;function _0x5b39(){const _0x423ee6=['toggleShowChanges','has','17904NqpenI','tab','applySuggestion','_keystrokes','update','full','availableActions','element','ck-ai-chat-balloon-main','render','fire','shift\x20+\x20tab','304910tcMvdw','focusCycler','ck-ai-chat-balloon-main_state_','setButtonsVisibility','focusFirst','_focusTracker','locale','updateContent','20jkqSBn','ck-ai-chat-balloon__toolbar-container','execute','showDiff','_miniToolbarView','toggleRotatorButtonsVisibility','previousButtonView','hideError','_createPreviousButtonView','listenTo','_toolbarContainerView','set','div','_createNextButtonView','AI_BALLOON_PREVIOUS_LABEL','207lOuoQO','rejectSuggestion','insertSuggestion','_streamableContentView','showPrevious','pending','focusLast','isShowChangesOn','change:_state','createCollection','_stateView','_partToolbarView','_isErrorVisible','_focusables','toggleSuggestionDisplayMode','setState','AI_BALLOON_NEXT_LABEL','children','delegate','1085526kXoTmk','_errorView','change:isTrackChangesOn','isTrackChangesOn','includes','destroy','keepErrors','add','291600kANuHp','setTemplate','bind','_togglePartToolbarButtonsVisibility','showBlockingError','togglePartToolbarEnabled','3366780VZaKEB','isEnabled','bindTemplate','_state','1LRHGUL','addMany','focus','_config','showNext','2878212anPUnW','isVisible','979ApBymR','nextButtonView','882642ULigzO','showError','1673mPnTGO'];_0x5b39=function(){return _0x423ee6;};return _0x5b39();}function _0x35f0(_0x18166d,_0x36e836){const _0x5b39aa=_0x5b39();return _0x35f0=function(_0x35f0b5,_0x549ffe){_0x35f0b5=_0x35f0b5-0x1b4;let _0x22c727=_0x5b39aa[_0x35f0b5];return _0x22c727;},_0x35f0(_0x18166d,_0x36e836);}(function(_0x18b520,_0x5847ef){const _0x4bc359=_0x35f0,_0x493273=_0x18b520();while(!![]){try{const _0x58f54e=-parseInt(_0x4bc359(0x1b6))/0x1*(parseInt(_0x4bc359(0x1fa))/0x2)+-parseInt(_0x4bc359(0x1bb))/0x3+-parseInt(_0x4bc359(0x208))/0x4+parseInt(_0x4bc359(0x1d8))/0x5*(parseInt(_0x4bc359(0x1bf))/0x6)+parseInt(_0x4bc359(0x1c1))/0x7*(-parseInt(_0x4bc359(0x1c4))/0x8)+-parseInt(_0x4bc359(0x1e7))/0x9*(-parseInt(_0x4bc359(0x1d0))/0xa)+parseInt(_0x4bc359(0x1bd))/0xb*(parseInt(_0x4bc359(0x202))/0xc);if(_0x58f54e===_0x5847ef)break;else _0x493273['push'](_0x493273['shift']());}catch(_0x12533a){_0x493273['push'](_0x493273['shift']());}}}(_0x5b39,0x8c0ed));import{FocusTracker as _0x106946,KeystrokeHandler as _0x5e599e}from'ckeditor5/src/utils.js';import{AISuggestionStreamableContentView as _0xf20507}from'../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{AISuggestionContentPartToolbarView as _0x5521f6}from'../../aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js';import{AIMiniToolbarView as _0x122343}from'../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AIBalloonView as _0x29d9e}from'../../aiballoon/ui/aiballoonview.js';import{ButtonView as _0x39f09a,FocusCycler as _0x4014a4,View as _0x5844c0}from'ckeditor5/src/ui.js';import{AISuggestionContentPartStateView as _0xfb43ec}from'../../aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js';import{IconChevronDown as _0x3a8945,IconChevronUp as _0x21829b}from'ckeditor5/src/icons.js';import{getTranslation as _0x357a03}from'../../aicore/utils/common-translations.js';import'../../../theme/aichat/aichatballoon.css';export class AIChatBalloonView extends _0x29d9e{[_0x21b245(0x1f8)];[_0x21b245(0x1be)];[_0x21b245(0x1de)];[_0x21b245(0x1d1)];[_0x21b245(0x1f4)];[_0x21b245(0x1d5)];[_0x21b245(0x1c7)];[_0x21b245(0x1b9)];[_0x21b245(0x1ea)];[_0x21b245(0x1e2)];[_0x21b245(0x1f2)];[_0x21b245(0x1f1)];[_0x21b245(0x1dc)];constructor(_0x5f4c10,_0x1fb5e6){const _0x5caf4a=_0x21b245;super(_0x5f4c10);const _0x2f063a=this[_0x5caf4a(0x1b4)];this[_0x5caf4a(0x1e3)](_0x5caf4a(0x1db),!0x1),this[_0x5caf4a(0x1e3)](_0x5caf4a(0x1b5),_0x5caf4a(0x1ec)),this[_0x5caf4a(0x1d5)]=new _0x106946(),this[_0x5caf4a(0x1c7)]=new _0x5e599e(),this[_0x5caf4a(0x1f4)]=this[_0x5caf4a(0x1f0)](),this[_0x5caf4a(0x1d1)]=new _0x4014a4({'focusables':this[_0x5caf4a(0x1f4)],'focusTracker':this[_0x5caf4a(0x1d5)],'keystrokeHandler':this[_0x5caf4a(0x1c7)],'actions':{'focusPrevious':_0x5caf4a(0x1cf),'focusNext':_0x5caf4a(0x1c5)}}),this[_0x5caf4a(0x1b9)]=_0x1fb5e6,this[_0x5caf4a(0x1be)]=this[_0x5caf4a(0x1e5)](),this[_0x5caf4a(0x1de)]=this[_0x5caf4a(0x1e0)](),this[_0x5caf4a(0x1ea)]=new _0xf20507(_0x5f4c10),this[_0x5caf4a(0x1f2)]=new _0x5521f6(_0x5f4c10,_0x1fb5e6[_0x5caf4a(0x1ca)]),this[_0x5caf4a(0x1f2)][_0x5caf4a(0x1f9)](_0x5caf4a(0x1c6),_0x5caf4a(0x1e9),_0x5caf4a(0x1e8))['to'](this),this[_0x5caf4a(0x205)](_0x1fb5e6),this[_0x5caf4a(0x1f1)]=new _0xfb43ec(_0x5f4c10),this[_0x5caf4a(0x1f1)][_0x5caf4a(0x1bc)]=!0x1,this[_0x5caf4a(0x1dc)]=new _0x122343(_0x5f4c10,{'showChanges':_0x5caf4a(0x1c9)}),this[_0x5caf4a(0x1dc)][_0x5caf4a(0x204)](_0x5caf4a(0x1ee))['to'](this,_0x5caf4a(0x1db)),this[_0x5caf4a(0x1dc)]['on'](_0x5caf4a(0x1c2),()=>{const _0x10e68a=_0x5caf4a;this[_0x10e68a(0x1ce)](_0x10e68a(0x1f5));}),this[_0x5caf4a(0x1e2)]=new fs(_0x5f4c10,[this[_0x5caf4a(0x1f2)],this[_0x5caf4a(0x1f1)],this[_0x5caf4a(0x1dc)]]),this[_0x5caf4a(0x1f8)]=this[_0x5caf4a(0x1f0)]([this[_0x5caf4a(0x1ea)],this[_0x5caf4a(0x1e2)]]),this['on'](_0x5caf4a(0x1ef),(_0x2a22ca,_0x1f6b6a,_0xd1ad8c,_0xb2d522)=>{const _0x221050=_0x5caf4a;let _0x1e49c3,_0x25e809;_0x221050(0x1ec)===_0xb2d522?(_0x1e49c3=this[_0x221050(0x1f2)],_0x25e809=this[_0x221050(0x1f1)]):(_0x1e49c3=this[_0x221050(0x1f1)],_0x25e809=this[_0x221050(0x1f2)]),this[_0x221050(0x1f1)][_0x221050(0x1f6)](_0xd1ad8c),_0x1e49c3[_0x221050(0x1bc)]=!0x1,_0x25e809[_0x221050(0x1bc)]=!0x0;}),this[_0x5caf4a(0x203)]({'tag':_0x5caf4a(0x1e4),'attributes':{'class':['ck',_0x5caf4a(0x1cc),_0x2f063a['to'](_0x5caf4a(0x1b5),_0x37498c=>_0x5caf4a(0x1d2)+_0x37498c)]},'children':this[_0x5caf4a(0x1f8)]}),this['on'](_0x5caf4a(0x1fc),()=>{const _0x561b1f=_0x5caf4a;this[_0x561b1f(0x205)](_0x1fb5e6);});}[_0x21b245(0x1cd)](){const _0x3df091=_0x21b245;super[_0x3df091(0x1cd)](),this[_0x3df091(0x1be)][_0x3df091(0x1cd)](),this[_0x3df091(0x1de)][_0x3df091(0x1cd)](),this[_0x3df091(0x1d5)][_0x3df091(0x201)](this[_0x3df091(0x1cb)]),this[_0x3df091(0x1d5)][_0x3df091(0x201)](this[_0x3df091(0x1be)]),this[_0x3df091(0x1d5)][_0x3df091(0x201)](this[_0x3df091(0x1de)]),this[_0x3df091(0x1d5)][_0x3df091(0x201)](this[_0x3df091(0x1dc)]),this[_0x3df091(0x1d5)][_0x3df091(0x201)](this[_0x3df091(0x1f2)]),this[_0x3df091(0x1c7)][_0x3df091(0x1e1)](this[_0x3df091(0x1cb)]),this[_0x3df091(0x1c7)][_0x3df091(0x1e1)](this[_0x3df091(0x1be)][_0x3df091(0x1cb)]),this[_0x3df091(0x1c7)][_0x3df091(0x1e1)](this[_0x3df091(0x1de)][_0x3df091(0x1cb)]),this[_0x3df091(0x1f4)][_0x3df091(0x1b7)]([this[_0x3df091(0x1be)],this[_0x3df091(0x1de)],this[_0x3df091(0x1f2)],this[_0x3df091(0x1dc)]]);}[_0x21b245(0x1ff)](){const _0x507f5d=_0x21b245;super[_0x507f5d(0x1ff)](),this[_0x507f5d(0x1de)][_0x507f5d(0x1ff)](),this[_0x507f5d(0x1be)][_0x507f5d(0x1ff)]();}[_0x21b245(0x1b8)](){const _0x3e2826=_0x21b245;this[_0x3e2826(0x1d1)][_0x3e2826(0x1d4)]();}[_0x21b245(0x1ed)](){const _0x2ad3e1=_0x21b245;this[_0x2ad3e1(0x1d1)][_0x2ad3e1(0x1ed)]();}async[_0x21b245(0x1d7)](_0x2d6872){const _0x7fa9e=_0x21b245;_0x2d6872?.[_0x7fa9e(0x200)]||this[_0x7fa9e(0x1df)](),await this[_0x7fa9e(0x1ea)][_0x7fa9e(0x1c8)](_0x2d6872);}[_0x21b245(0x1f6)](_0x48fe3d){const _0x41dd90=_0x21b245;this[_0x41dd90(0x1b5)]=_0x48fe3d;}[_0x21b245(0x1c0)](_0x506354){const _0x1c0fb0=_0x21b245;super[_0x1c0fb0(0x1c0)](_0x506354),this[_0x1c0fb0(0x1f8)][_0x1c0fb0(0x1c3)](this[_0x1c0fb0(0x1fb)])||this[_0x1c0fb0(0x1f8)][_0x1c0fb0(0x201)](this[_0x1c0fb0(0x1fb)],0x0);}[_0x21b245(0x1df)](){const _0x20ede4=_0x21b245;this[_0x20ede4(0x1f3)]&&(super[_0x20ede4(0x1df)](),this[_0x20ede4(0x207)](!0x0));}[_0x21b245(0x206)](_0x15351c){const _0x3332c3=_0x21b245;super[_0x3332c3(0x206)](_0x15351c),this[_0x3332c3(0x207)](!0x1);}[_0x21b245(0x1dd)](_0x470cba){const _0x1bd22f=_0x21b245;this[_0x1bd22f(0x1be)][_0x1bd22f(0x1bc)]=this[_0x1bd22f(0x1de)][_0x1bd22f(0x1bc)]=_0x470cba;}[_0x21b245(0x207)](_0x4a5000){const _0x3a91de=_0x21b245;this[_0x3a91de(0x1f2)][_0x3a91de(0x209)]=_0x4a5000;}[_0x21b245(0x205)]({showApplyButton:_0x4478cb,showSuggestButton:_0x17b20e}){const _0x161767=_0x21b245;_0x4478cb=_0x4478cb&&!this[_0x161767(0x1fd)]&&this[_0x161767(0x1b9)][_0x161767(0x1ca)][_0x161767(0x1fe)](_0x161767(0x1c6)),_0x17b20e=_0x17b20e&&this[_0x161767(0x1b9)][_0x161767(0x1ca)][_0x161767(0x1fe)](_0x161767(0x1e9)),this[_0x161767(0x1f2)][_0x161767(0x1d3)]({'showApplyButton':_0x4478cb,'showSuggestButton':_0x17b20e});}[_0x21b245(0x1e5)](){const _0x5cdbee=_0x21b245,_0x19e3dd=new _0x39f09a(this[_0x5cdbee(0x1d6)]);return _0x19e3dd[_0x5cdbee(0x1e3)]({'icon':_0x3a8945,'label':_0x357a03(this[_0x5cdbee(0x1d6)],_0x5cdbee(0x1f7)),'isVisible':!0x0}),_0x19e3dd['on'](_0x5cdbee(0x1da),()=>{const _0xcc31ac=_0x5cdbee;this[_0xcc31ac(0x1ce)](_0xcc31ac(0x1ba));}),_0x19e3dd;}[_0x21b245(0x1e0)](){const _0x4b2810=_0x21b245,_0x581cb7=new _0x39f09a(this[_0x4b2810(0x1d6)]);return _0x581cb7[_0x4b2810(0x1e3)]({'icon':_0x21829b,'label':_0x357a03(this[_0x4b2810(0x1d6)],_0x4b2810(0x1e6)),'isVisible':!0x0}),_0x581cb7['on'](_0x4b2810(0x1da),()=>{const _0x3558e8=_0x4b2810;this[_0x3558e8(0x1ce)](_0x3558e8(0x1eb));}),_0x581cb7;}}class fs extends _0x5844c0{constructor(_0x2ffc3e,_0x5a0837){const _0x592291=_0x21b245;super(_0x2ffc3e),this[_0x592291(0x203)]({'tag':_0x592291(0x1e4),'attributes':{'class':[_0x592291(0x1d9)]},'children':_0x5a0837});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32fe81=_0x269b;(function(_0x2928c6,_0x5e866c){const _0x43abe3=_0x269b,_0x2fbc2e=_0x2928c6();while(!![]){try{const _0x2f9270=parseInt(_0x43abe3(0x1cd))/0x1+parseInt(_0x43abe3(0x183))/0x2*(parseInt(_0x43abe3(0x190))/0x3)+-parseInt(_0x43abe3(0x1ae))/0x4*(-parseInt(_0x43abe3(0x195))/0x5)+parseInt(_0x43abe3(0x1bc))/0x6*(-parseInt(_0x43abe3(0x1a5))/0x7)+parseInt(_0x43abe3(0x1a8))/0x8+parseInt(_0x43abe3(0x1c0))/0x9+-parseInt(_0x43abe3(0x19b))/0xa;if(_0x2f9270===_0x5e866c)break;else _0x2fbc2e['push'](_0x2fbc2e['shift']());}catch(_0x52a22f){_0x2fbc2e['push'](_0x2fbc2e['shift']());}}}(_0x6949,0x6b400));import{ButtonView as _0x422a5e,clickOutsideHandler as _0x524f0a,View as _0x1c5f62}from'ckeditor5/src/ui.js';import{AIChatPromptInputView as _0x7f653a}from'./controls/aichatpromptinputview.js';import{AIChatPromptCapabilitiesView as _0x569d2e}from'./controls/aichatpromptcapabilitiesview.js';import{AIChatContextPanelView as _0x1bfae6,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x31d558}from'./controls/aichatcontextpanelview.js';import{AIChatControlsLoaderView as _0x134baa}from'./controls/aichatcontrolsloaderview.js';import{getTranslation as _0x26edf6}from'../../aicore/utils/common-translations.js';import'../../../theme/aichat/aichat-controls.css';import'../../../theme/aichat/aichat-controls/prompt-input.css';function _0x6949(){const _0x16d1da=['focus','selectModel','abortPromptStream','element','_createModelUnavailableMessageView','3AhOayK','setTemplate','setIsUploadInProgress','setAddContextOptions','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON','2695ABFDoV','ck-ai-chat-controls-disabled','_createPromptCapabilitiesView','_promptCapabilitiesView','bindTemplate','setReasoning','14208620LukjsG','reset','addContextItem','ck-ai-chat-controls-model-unavailable-message','toggleReasoning','_createContextPanelView','_contextPanelView','setConversationContext','setInputPlaceholder','sendUserMessage','42xHEvBi','clearPendingContextUI','clearConversationContextUI','4033072UdGQSV','isModelAvailable','isDisabled','resetMessageInput','startConversation','setModel','1724PnRdYN','closeSourceResourceBalloon','contextResourcesSearchInputVisibleFrom','toggleWebSearch','queryView','_handlePromptInputFocus','isLoading','ck-hidden','setPlaceholderText','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT','_shouldRestorePromptInputFocus','setPromptInputValue','disableModelSelector','value','18552uRhnOp','addContextButtonView','ck-ai-chat-controls','set','1988352zkhSOk','execute','removeContextItem','bodyCollection','delegate','low','setModelList','div','focusPromptInput','fieldView','updateResourceState','clearCurrentContextItems','_createLoaderView','599282MEWvJg','enableModelSelector','_loaderView','setWebSearch','setContextItemLoading','form','populateSourceResourceBalloon','644114gUJRQF','_promptInputView','_createPromptInputView','locale','ck-ai-chat-controls__start-new-chat-button','clearConversationContextItems','change:isLoading','_modelUnavailableMessageView'];_0x6949=function(){return _0x16d1da;};return _0x6949();}import'../../../theme/aichat/aichat-controls/prompt-capabilities.css';import'../../../theme/aichat/aichat-controls/model-unavailable-message.css';import'../../../theme/aichat/aichat-controls/aichat-context-controls.css';import'../../../theme/aichat/aichat-controls/aichat-context-chip.css';import'../../../theme/aichat/aichat-controls/aichat-controls-button.css';import'../../../theme/aichat/aichat-controls/aichat-controls-loader.css';import'../../../theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css';function _0x269b(_0x31097a,_0x1a6bac){const _0x6949ca=_0x6949();return _0x269b=function(_0x269bee,_0x1fb9bc){_0x269bee=_0x269bee-0x183;let _0x1b5e64=_0x6949ca[_0x269bee];return _0x1b5e64;},_0x269b(_0x31097a,_0x1a6bac);}export class AIChatControlsView extends _0x1c5f62{[_0x32fe81(0x1a1)];[_0x32fe81(0x184)];[_0x32fe81(0x198)];[_0x32fe81(0x1cf)];[_0x32fe81(0x18a)];[_0x32fe81(0x1b8)];constructor(_0x529ff1,_0x4f98e2){const _0x3c3005=_0x32fe81;super(_0x529ff1),this[_0x3c3005(0x1a1)]=this[_0x3c3005(0x1a0)](_0x529ff1,{'bodyCollection':_0x4f98e2[_0x3c3005(0x1c3)],'searchInputVisibleFrom':_0x4f98e2[_0x3c3005(0x1b0)]}),this[_0x3c3005(0x184)]=this[_0x3c3005(0x185)](_0x529ff1),this[_0x3c3005(0x198)]=this[_0x3c3005(0x197)](_0x529ff1),this[_0x3c3005(0x1cf)]=this[_0x3c3005(0x1cc)](_0x529ff1),this[_0x3c3005(0x18a)]=this[_0x3c3005(0x18f)](_0x529ff1),this[_0x3c3005(0x1b8)]=!0x1,this[_0x3c3005(0x184)][_0x3c3005(0x1c4)](_0x3c3005(0x1a4))['to'](this),this[_0x3c3005(0x1cf)][_0x3c3005(0x1c4)](_0x3c3005(0x18d))['to'](this),this[_0x3c3005(0x198)][_0x3c3005(0x1c4)](_0x3c3005(0x1b1))['to'](this),this[_0x3c3005(0x198)][_0x3c3005(0x1c4)](_0x3c3005(0x19f))['to'](this),this[_0x3c3005(0x198)][_0x3c3005(0x1c4)](_0x3c3005(0x18c))['to'](this),this[_0x3c3005(0x1a1)][_0x3c3005(0x1c4)](..._0x31d558)['to'](this),this[_0x3c3005(0x1bf)](_0x3c3005(0x1a9),!0x0),this[_0x3c3005(0x1bf)](_0x3c3005(0x1aa),!0x1);const _0xcd5ce7=this[_0x3c3005(0x199)];this[_0x3c3005(0x191)]({'tag':_0x3c3005(0x1d2),'attributes':{'class':['ck',_0x3c3005(0x1be),_0xcd5ce7['if'](_0x3c3005(0x1aa),_0x3c3005(0x196))]},'children':[{'tag':_0x3c3005(0x1c7),'attributes':{'class':[_0xcd5ce7['if'](_0x3c3005(0x1b4),_0x3c3005(0x1b5),_0x27cf35=>_0x27cf35||!this[_0x3c3005(0x1a9)]),_0xcd5ce7['if'](_0x3c3005(0x1a9),_0x3c3005(0x1b5),_0x11f1af=>!_0x11f1af||this[_0x3c3005(0x1b4)])]},'children':[this[_0x3c3005(0x1a1)],this[_0x3c3005(0x184)],this[_0x3c3005(0x198)]]},{'tag':_0x3c3005(0x1c7),'attributes':{'class':[_0xcd5ce7['if'](_0x3c3005(0x1b4),_0x3c3005(0x1b5),_0x3b2c9a=>!_0x3b2c9a)]},'children':[this[_0x3c3005(0x1cf)]]},{'tag':_0x3c3005(0x1c7),'attributes':{'class':[_0xcd5ce7['if'](_0x3c3005(0x1a9),_0x3c3005(0x1b5),_0x1daaa2=>_0x1daaa2)]},'children':[this[_0x3c3005(0x18a)]]}]}),_0x524f0a({'emitter':this[_0x3c3005(0x184)],'activator':()=>this[_0x3c3005(0x1b4)],'contextElements':()=>[this[_0x3c3005(0x18e)]],'callback':()=>{const _0x55bce5=_0x3c3005;this[_0x55bce5(0x1b8)]=!0x1;}}),this['on'](_0x3c3005(0x189),this[_0x3c3005(0x1b3)],{'priority':_0x3c3005(0x1c5)});}[_0x32fe81(0x1a0)](_0x2a63bb,_0x5837a8){return new _0x1bfae6(_0x2a63bb,_0x5837a8);}[_0x32fe81(0x185)](_0x22b359){const _0x1dcc9d=_0x32fe81;return new _0x7f653a(_0x22b359,this[_0x1dcc9d(0x1a1)][_0x1dcc9d(0x1bd)]);}[_0x32fe81(0x197)](_0x59bca8){return new _0x569d2e(_0x59bca8);}[_0x32fe81(0x1cc)](_0x28a731){return new _0x134baa(_0x28a731);}[_0x32fe81(0x18f)](_0x3f30c4){const _0x3f1f0b=_0x32fe81,_0x1ca782=new _s(_0x3f30c4);return _0x1ca782[_0x3f1f0b(0x1c4)](_0x3f1f0b(0x1ac))['to'](this),_0x1ca782;}[_0x32fe81(0x1b3)](_0x5b1ddc,_0x588222,_0x323cd8){const _0x522b77=_0x32fe81;_0x323cd8?this[_0x522b77(0x1b8)]=!0x0:this[_0x522b77(0x1b8)]&&this[_0x522b77(0x184)][_0x522b77(0x18b)]();}[_0x32fe81(0x19d)](_0x1ea76a,_0x3e2f2d){const _0x150d42=_0x32fe81;this[_0x150d42(0x1a1)][_0x150d42(0x19d)](_0x1ea76a,_0x3e2f2d);}[_0x32fe81(0x1c2)](_0x6d6e6f){const _0x14093f=_0x32fe81;this[_0x14093f(0x1a1)][_0x14093f(0x1c2)](_0x6d6e6f);}[_0x32fe81(0x1d1)](_0x16a6d3,_0x2af5e2){const _0xb03d87=_0x32fe81;this[_0xb03d87(0x1a1)][_0xb03d87(0x1d1)](_0x16a6d3,_0x2af5e2);}[_0x32fe81(0x192)](_0x40b0c3){const _0x539146=_0x32fe81;this[_0x539146(0x184)][_0x539146(0x192)](_0x40b0c3);}[_0x32fe81(0x1a2)](_0x3d9156){const _0x54a8fb=_0x32fe81;this[_0x54a8fb(0x1a1)][_0x54a8fb(0x1a2)](_0x3d9156);}[_0x32fe81(0x1a6)](){const _0x449341=_0x32fe81;this[_0x449341(0x1a1)][_0x449341(0x1cb)]();}[_0x32fe81(0x1a7)](){const _0x58de99=_0x32fe81;this[_0x58de99(0x1a1)][_0x58de99(0x188)]();}[_0x32fe81(0x1ca)](_0x52e1e3,_0x255f21,_0x4a2610){const _0x4afe55=_0x32fe81;this[_0x4afe55(0x1a1)][_0x4afe55(0x1ca)](_0x52e1e3,_0x255f21,_0x4a2610);}[_0x32fe81(0x1d0)](_0x1b8377){const _0x22b1a2=_0x32fe81;this[_0x22b1a2(0x198)][_0x22b1a2(0x1d0)](_0x1b8377);}[_0x32fe81(0x19a)](_0x1a331a){const _0x49e2b4=_0x32fe81;this[_0x49e2b4(0x198)][_0x49e2b4(0x19a)](_0x1a331a);}[_0x32fe81(0x1ab)](){const _0x22a3cb=_0x32fe81;this[_0x22a3cb(0x184)][_0x22a3cb(0x19c)]();}[_0x32fe81(0x193)](_0x15deda){const _0x1ea6ed=_0x32fe81;this[_0x1ea6ed(0x1a1)][_0x1ea6ed(0x193)](_0x15deda);}[_0x32fe81(0x1a3)](_0x2a2242){const _0x27554a=_0x32fe81;this[_0x27554a(0x184)][_0x27554a(0x1b6)](_0x2a2242);}[_0x32fe81(0x1c6)](_0x1149df,_0x5f0b26){const _0x9cf2a1=_0x32fe81;this[_0x9cf2a1(0x198)][_0x9cf2a1(0x1c6)](_0x1149df,_0x5f0b26);}[_0x32fe81(0x1ad)](_0x51b02c){const _0x35aac9=_0x32fe81;_0x51b02c?(this[_0x35aac9(0x1a9)]=!0x0,this[_0x35aac9(0x198)][_0x35aac9(0x1ad)](_0x51b02c)):this[_0x35aac9(0x1a9)]=!0x1;}[_0x32fe81(0x1ce)](){const _0x432d11=_0x32fe81;this[_0x432d11(0x198)][_0x432d11(0x1ce)]();}[_0x32fe81(0x1ba)](_0xf7f4de){const _0x108544=_0x32fe81;this[_0x108544(0x198)][_0x108544(0x1ba)](_0xf7f4de);}[_0x32fe81(0x1d3)](_0x41b059,_0xffa406,_0x38ee39,_0x278adc){const _0x5c68b8=_0x32fe81;this[_0x5c68b8(0x1a1)][_0x5c68b8(0x1d3)](_0x41b059,_0xffa406,_0x38ee39,_0x278adc);}[_0x32fe81(0x1af)](_0x2f1c0b){const _0x1edb69=_0x32fe81;this[_0x1edb69(0x1a1)][_0x1edb69(0x1af)](_0x2f1c0b);}[_0x32fe81(0x1c8)](_0x40447e=!0x1){const _0x5be4f6=_0x32fe81;this[_0x5be4f6(0x184)][_0x5be4f6(0x18b)](_0x40447e);}[_0x32fe81(0x1b9)](_0x23c94c){const _0x4073d6=_0x32fe81;this[_0x4073d6(0x184)][_0x4073d6(0x1b2)][_0x4073d6(0x1c9)][_0x4073d6(0x19c)](),this[_0x4073d6(0x184)][_0x4073d6(0x1b2)][_0x4073d6(0x1c9)][_0x4073d6(0x1bb)]=_0x23c94c;}}class _s extends _0x1c5f62{constructor(_0x37af76){const _0x31edcf=_0x32fe81;super(_0x37af76);const _0x3c5eca=new _0x422a5e(_0x37af76);_0x3c5eca[_0x31edcf(0x1bf)]({'label':_0x26edf6(this[_0x31edcf(0x186)],_0x31edcf(0x194)),'withText':!0x0,'class':[_0x31edcf(0x187)],'tooltip':''}),_0x3c5eca[_0x31edcf(0x1c4)](_0x31edcf(0x1c1))['to'](this,_0x31edcf(0x1ac)),this[_0x31edcf(0x191)]({'tag':_0x31edcf(0x1c7),'attributes':{'class':['ck',_0x31edcf(0x19e)]},'children':[{'tag':'p','children':[{'text':_0x26edf6(this[_0x31edcf(0x186)],_0x31edcf(0x1b7))+'\x20'},_0x3c5eca]}]});}}
23
+ const _0x365920=_0x50b6;(function(_0x3cb6f6,_0x41438a){const _0x15b36e=_0x50b6,_0x58fd5b=_0x3cb6f6();while(!![]){try{const _0x66716f=-parseInt(_0x15b36e(0x128))/0x1*(-parseInt(_0x15b36e(0x13d))/0x2)+parseInt(_0x15b36e(0x127))/0x3*(parseInt(_0x15b36e(0x12b))/0x4)+parseInt(_0x15b36e(0x129))/0x5+-parseInt(_0x15b36e(0x120))/0x6+parseInt(_0x15b36e(0x14c))/0x7*(parseInt(_0x15b36e(0x12e))/0x8)+-parseInt(_0x15b36e(0x156))/0x9*(parseInt(_0x15b36e(0x151))/0xa)+-parseInt(_0x15b36e(0x126))/0xb;if(_0x66716f===_0x41438a)break;else _0x58fd5b['push'](_0x58fd5b['shift']());}catch(_0x23bd31){_0x58fd5b['push'](_0x58fd5b['shift']());}}}(_0x2814,0x1b16b));function _0x50b6(_0x2df526,_0x3b575f){const _0x2814ce=_0x2814();return _0x50b6=function(_0x50b6ac,_0x39fcf1){_0x50b6ac=_0x50b6ac-0x117;let _0x5c3bf6=_0x2814ce[_0x50b6ac];return _0x5c3bf6;},_0x50b6(_0x2df526,_0x3b575f);}import{ButtonView as _0x10c002,clickOutsideHandler as _0x3fb44e,View as _0x468f69}from'ckeditor5/src/ui.js';import{AIChatPromptInputView as _0x2aeca6}from'./controls/aichatpromptinputview.js';import{AIChatPromptCapabilitiesView as _0x4fd8f6}from'./controls/aichatpromptcapabilitiesview.js';import{AIChatContextPanelView as _0x589719,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x5bf499}from'./controls/aichatcontextpanelview.js';function _0x2814(){const _0x38f64a=['toggleReasoning','addContextButtonView','setModelList','9aXXzAx','clearCurrentContextItems','startConversation','_createContextPanelView','bindTemplate','_promptInputView','isModelAvailable','focus','updateResourceState','set','locale','_loaderView','_promptCapabilitiesView','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT','clearConversationContextUI','clearConversationContextItems','delegate','change:isLoading','div','_contextPanelView','ck-ai-chat-controls__start-new-chat-button','removeContextItem','setWebSearch','value','_createLoaderView','populateSourceResourceBalloon','_handlePromptInputFocus','setIsUploadInProgress','830160DzgBsc','enableModelSelector','ck-ai-chat-controls','element','selectModel','setInputPlaceholder','568722lJOfBk','137463Yuevws','354iDQmgT','59050oPPpzu','setReasoning','12ZjPKnl','resetMessageInput','setContextItemLoading','631848kNZPgl','disableModelSelector','focusPromptInput','ck-hidden','_createModelUnavailableMessageView','isLoading','form','bodyCollection','_shouldRestorePromptInputFocus','ck-ai-chat-controls-model-unavailable-message','setPlaceholderText','isDisabled','sendUserMessage','ck-ai-chat-controls-disabled','_createPromptCapabilitiesView','674fLLstz','abortPromptStream','queryView','setPromptInputValue','closeSourceResourceBalloon','setConversationContext','toggleWebSearch','clearPendingContextUI','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON','low','setTemplate','_modelUnavailableMessageView','_createPromptInputView','reset','setModel','7sZGwdg','setAddContextOptions','fieldView','addContextItem','execute','465350YBtEBh','contextResourcesSearchInputVisibleFrom'];_0x2814=function(){return _0x38f64a;};return _0x2814();}import{AIChatControlsLoaderView as _0x3f0d9b}from'./controls/aichatcontrolsloaderview.js';import{getTranslation as _0x5e306f}from'../../aicore/utils/common-translations.js';import'../../../theme/aichat/aichat-controls.css';import'../../../theme/aichat/aichat-controls/prompt-input.css';import'../../../theme/aichat/aichat-controls/prompt-capabilities.css';import'../../../theme/aichat/aichat-controls/model-unavailable-message.css';import'../../../theme/aichat/aichat-controls/aichat-context-controls.css';import'../../../theme/aichat/aichat-controls/aichat-context-chip.css';import'../../../theme/aichat/aichat-controls/aichat-controls-button.css';import'../../../theme/aichat/aichat-controls/aichat-controls-loader.css';import'../../../theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css';export class AIChatControlsView extends _0x468f69{[_0x365920(0x117)];[_0x365920(0x15b)];[_0x365920(0x162)];[_0x365920(0x161)];[_0x365920(0x148)];[_0x365920(0x136)];constructor(_0x36d72f,_0x54b4dc){const _0x4738ff=_0x365920;super(_0x36d72f),this[_0x4738ff(0x117)]=this[_0x4738ff(0x159)](_0x36d72f,{'bodyCollection':_0x54b4dc[_0x4738ff(0x135)],'searchInputVisibleFrom':_0x54b4dc[_0x4738ff(0x152)]}),this[_0x4738ff(0x15b)]=this[_0x4738ff(0x149)](_0x36d72f),this[_0x4738ff(0x162)]=this[_0x4738ff(0x13c)](_0x36d72f),this[_0x4738ff(0x161)]=this[_0x4738ff(0x11c)](_0x36d72f),this[_0x4738ff(0x148)]=this[_0x4738ff(0x132)](_0x36d72f),this[_0x4738ff(0x136)]=!0x1,this[_0x4738ff(0x15b)][_0x4738ff(0x166)](_0x4738ff(0x13a))['to'](this),this[_0x4738ff(0x161)][_0x4738ff(0x166)](_0x4738ff(0x13e))['to'](this),this[_0x4738ff(0x162)][_0x4738ff(0x166)](_0x4738ff(0x143))['to'](this),this[_0x4738ff(0x162)][_0x4738ff(0x166)](_0x4738ff(0x153))['to'](this),this[_0x4738ff(0x162)][_0x4738ff(0x166)](_0x4738ff(0x124))['to'](this),this[_0x4738ff(0x117)][_0x4738ff(0x166)](..._0x5bf499)['to'](this),this[_0x4738ff(0x15f)](_0x4738ff(0x15c),!0x0),this[_0x4738ff(0x15f)](_0x4738ff(0x139),!0x1);const _0x582d3f=this[_0x4738ff(0x15a)];this[_0x4738ff(0x147)]({'tag':_0x4738ff(0x134),'attributes':{'class':['ck',_0x4738ff(0x122),_0x582d3f['if'](_0x4738ff(0x139),_0x4738ff(0x13b))]},'children':[{'tag':_0x4738ff(0x168),'attributes':{'class':[_0x582d3f['if'](_0x4738ff(0x133),_0x4738ff(0x131),_0x3ae7e6=>_0x3ae7e6||!this[_0x4738ff(0x15c)]),_0x582d3f['if'](_0x4738ff(0x15c),_0x4738ff(0x131),_0x326d01=>!_0x326d01||this[_0x4738ff(0x133)])]},'children':[this[_0x4738ff(0x117)],this[_0x4738ff(0x15b)],this[_0x4738ff(0x162)]]},{'tag':_0x4738ff(0x168),'attributes':{'class':[_0x582d3f['if'](_0x4738ff(0x133),_0x4738ff(0x131),_0x1493bc=>!_0x1493bc)]},'children':[this[_0x4738ff(0x161)]]},{'tag':_0x4738ff(0x168),'attributes':{'class':[_0x582d3f['if'](_0x4738ff(0x15c),_0x4738ff(0x131),_0xb892f5=>_0xb892f5)]},'children':[this[_0x4738ff(0x148)]]}]}),_0x3fb44e({'emitter':this[_0x4738ff(0x15b)],'activator':()=>this[_0x4738ff(0x133)],'contextElements':()=>[this[_0x4738ff(0x123)]],'callback':()=>{const _0xd104a8=_0x4738ff;this[_0xd104a8(0x136)]=!0x1;}}),this['on'](_0x4738ff(0x167),this[_0x4738ff(0x11e)],{'priority':_0x4738ff(0x146)});}[_0x365920(0x159)](_0x163925,_0x5dc3d7){return new _0x589719(_0x163925,_0x5dc3d7);}[_0x365920(0x149)](_0x5220fd){const _0x58bb27=_0x365920;return new _0x2aeca6(_0x5220fd,this[_0x58bb27(0x117)][_0x58bb27(0x154)]);}[_0x365920(0x13c)](_0x1d415a){return new _0x4fd8f6(_0x1d415a);}[_0x365920(0x11c)](_0xad0656){return new _0x3f0d9b(_0xad0656);}[_0x365920(0x132)](_0x1a2705){const _0x4d9776=_0x365920,_0x1a8696=new As(_0x1a2705);return _0x1a8696[_0x4d9776(0x166)](_0x4d9776(0x158))['to'](this),_0x1a8696;}[_0x365920(0x11e)](_0x56c056,_0x58727d,_0x321e8a){const _0x427e7b=_0x365920;_0x321e8a?this[_0x427e7b(0x136)]=!0x0:this[_0x427e7b(0x136)]&&this[_0x427e7b(0x15b)][_0x427e7b(0x15d)]();}[_0x365920(0x14f)](_0x4c621f,_0x5b985a){const _0x107cad=_0x365920;this[_0x107cad(0x117)][_0x107cad(0x14f)](_0x4c621f,_0x5b985a);}[_0x365920(0x119)](_0x199dc3){const _0xdd1071=_0x365920;this[_0xdd1071(0x117)][_0xdd1071(0x119)](_0x199dc3);}[_0x365920(0x12d)](_0x4ed861,_0x4e35f8){const _0x2922ca=_0x365920;this[_0x2922ca(0x117)][_0x2922ca(0x12d)](_0x4ed861,_0x4e35f8);}[_0x365920(0x11f)](_0x26ed5b){const _0x305809=_0x365920;this[_0x305809(0x15b)][_0x305809(0x11f)](_0x26ed5b);}[_0x365920(0x142)](_0x326c71){const _0x562188=_0x365920;this[_0x562188(0x117)][_0x562188(0x142)](_0x326c71);}[_0x365920(0x144)](){const _0x3b55fa=_0x365920;this[_0x3b55fa(0x117)][_0x3b55fa(0x157)]();}[_0x365920(0x164)](){const _0x584287=_0x365920;this[_0x584287(0x117)][_0x584287(0x165)]();}[_0x365920(0x15e)](_0x4f0281,_0x43e336,_0x1ab4bc){const _0x26d2b3=_0x365920;this[_0x26d2b3(0x117)][_0x26d2b3(0x15e)](_0x4f0281,_0x43e336,_0x1ab4bc);}[_0x365920(0x11a)](_0x11eccd){const _0x540251=_0x365920;this[_0x540251(0x162)][_0x540251(0x11a)](_0x11eccd);}[_0x365920(0x12a)](_0x2cf871){const _0x4bfb55=_0x365920;this[_0x4bfb55(0x162)][_0x4bfb55(0x12a)](_0x2cf871);}[_0x365920(0x12c)](){const _0x30c34e=_0x365920;this[_0x30c34e(0x15b)][_0x30c34e(0x14a)]();}[_0x365920(0x14d)](_0x3362a4){const _0x20a990=_0x365920;this[_0x20a990(0x117)][_0x20a990(0x14d)](_0x3362a4);}[_0x365920(0x125)](_0x1f9d61){const _0x224f65=_0x365920;this[_0x224f65(0x15b)][_0x224f65(0x138)](_0x1f9d61);}[_0x365920(0x155)](_0x33513e,_0x2641f1){const _0x4e6eb7=_0x365920;this[_0x4e6eb7(0x162)][_0x4e6eb7(0x155)](_0x33513e,_0x2641f1);}[_0x365920(0x14b)](_0xfe9f79){const _0x3fedf8=_0x365920;_0xfe9f79?(this[_0x3fedf8(0x15c)]=!0x0,this[_0x3fedf8(0x162)][_0x3fedf8(0x14b)](_0xfe9f79)):this[_0x3fedf8(0x15c)]=!0x1;}[_0x365920(0x121)](){const _0x5e11d5=_0x365920;this[_0x5e11d5(0x162)][_0x5e11d5(0x121)]();}[_0x365920(0x12f)](_0x547bb7){const _0x96447d=_0x365920;this[_0x96447d(0x162)][_0x96447d(0x12f)](_0x547bb7);}[_0x365920(0x11d)](_0x1978c7,_0x2bdabe,_0x4220ca,_0x5cfbbe){const _0x6e4629=_0x365920;this[_0x6e4629(0x117)][_0x6e4629(0x11d)](_0x1978c7,_0x2bdabe,_0x4220ca,_0x5cfbbe);}[_0x365920(0x141)](_0x1ee73a){const _0x49da23=_0x365920;this[_0x49da23(0x117)][_0x49da23(0x141)](_0x1ee73a);}[_0x365920(0x130)](_0x1c336b=!0x1){const _0x22add4=_0x365920;this[_0x22add4(0x15b)][_0x22add4(0x15d)](_0x1c336b);}[_0x365920(0x140)](_0x258299){const _0x5469cc=_0x365920;this[_0x5469cc(0x15b)][_0x5469cc(0x13f)][_0x5469cc(0x14e)][_0x5469cc(0x14a)](),this[_0x5469cc(0x15b)][_0x5469cc(0x13f)][_0x5469cc(0x14e)][_0x5469cc(0x11b)]=_0x258299;}}class As extends _0x468f69{constructor(_0x557f7e){const _0x2fd30a=_0x365920;super(_0x557f7e);const _0x32d3d2=new _0x10c002(_0x557f7e);_0x32d3d2[_0x2fd30a(0x15f)]({'label':_0x5e306f(this[_0x2fd30a(0x160)],_0x2fd30a(0x145)),'withText':!0x0,'class':[_0x2fd30a(0x118)],'tooltip':''}),_0x32d3d2[_0x2fd30a(0x166)](_0x2fd30a(0x150))['to'](this,_0x2fd30a(0x158)),this[_0x2fd30a(0x147)]({'tag':_0x2fd30a(0x168),'attributes':{'class':['ck',_0x2fd30a(0x137)]},'children':[{'tag':'p','children':[{'text':_0x5e306f(this[_0x2fd30a(0x160)],_0x2fd30a(0x163))+'\x20'},_0x32d3d2]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5abc47=_0x5b9e;(function(_0x5439db,_0x378f2a){const _0xdb34ad=_0x5b9e,_0x231126=_0x5439db();while(!![]){try{const _0x4a9811=parseInt(_0xdb34ad(0x16d))/0x1*(-parseInt(_0xdb34ad(0x170))/0x2)+parseInt(_0xdb34ad(0x169))/0x3+parseInt(_0xdb34ad(0x197))/0x4+parseInt(_0xdb34ad(0x17b))/0x5*(parseInt(_0xdb34ad(0x196))/0x6)+parseInt(_0xdb34ad(0x1b9))/0x7*(parseInt(_0xdb34ad(0x1b5))/0x8)+parseInt(_0xdb34ad(0x1ae))/0x9*(parseInt(_0xdb34ad(0x1bb))/0xa)+-parseInt(_0xdb34ad(0x188))/0xb*(parseInt(_0xdb34ad(0x180))/0xc);if(_0x4a9811===_0x378f2a)break;else _0x231126['push'](_0x231126['shift']());}catch(_0x9298ad){_0x231126['push'](_0x231126['shift']());}}}(_0x4325,0x44860));import{CKEditorError as _0xa5c54d,logWarning as _0x4cb399,scrollAncestorsToShowTarget as _0x3a7d91}from'ckeditor5/src/utils.js';import{View as _0x73ac11}from'ckeditor5/src/ui.js';function _0x5b9e(_0x17fea9,_0x5d226e){const _0x4325fb=_0x4325();return _0x5b9e=function(_0x5b9ee3,_0x452d31){_0x5b9ee3=_0x5b9ee3-0x169;let _0x300e3b=_0x4325fb[_0x5b9ee3];return _0x300e3b;},_0x5b9e(_0x17fea9,_0x5d226e);}import{AI_CHAT_UI_EVENT_NAMES as _0x4a36c0}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x51471e}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x1e8454}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x431d95}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x11c935}from'./feed/aichatfeederroritemview.js';function _0x4325(){const _0x9066a4=['element','updatePartState','options','find','setSuggestionPartActive','updateSuggestionPartState','stop','ck-ai-chat__feed','getItemById','ai-chat-feed-view-item-not-a-reply-item','172629Glmewb','_createFeedItems','updateContent','stopAutoScroll','markAsDone','includes','startAutoScroll','7232eUkgCt','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','_setupTemplate','span','1631bFbTQi','ck-ai-chat__loader-text','110IxrCaa','forEach','updateReplyItem','set','add','_bodyCollection','bind','ai-suggestion-reply','478659mgsTzD','div','createCollection','interaction-header','214ExKyDm','start','toggleLoadingSkeleton','930KmtaQQ','_createLoaderChildren','delegate','loadingMessage','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','render','isLoadingSkeletonVisible','updateSources','ck-ai-chat__feed__items','getPartView','addItem','658770PPUqoM','scrollToSuggestion','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','user-message','parentElement','312Llespi','getItemIds','updateSuggestionItem','markItemAsDone','clear','filter','ai-chat-feed-view-item-not-a-suggestion-item','setLoadingMessage','475123NlygKM','setPartActive','isTrackChangesOn','hasItem','setTemplate','scrollManager','remove','_createTemplateChildren','ck-hidden','destroy','custom-element','updateWebSources','aiFeed','removeItem','18EwhoBL','2107048NyYnzt','isPending','bindTemplate','locale','children','ck-ai-chat__loader','isVisible','map','_createFeedLoader','_createSkeletonLoader','ai-reply','ai-chat-feed-view-item-not-found','extendTemplate'];_0x4325=function(){return _0x9066a4;};return _0x4325();}import{AIChatFeedInteractionHeaderView as _0x266e7a}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x3c95e7}from'../../aicore/utils/scrollmanager.js';import{AISkeletonView as _0x394b2b,SKELETON_DEFINITIONS as _0x33ffb5}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x138dc8}from'../../aicore/ui/aispinner.js';import{AIChatFeedCustomElementView as _0x5a7932}from'./feed/aichatfeedcustomelementview.js';import'../../../theme/aichat/aichatfeed.css';export class AIChatFeedView extends _0x73ac11{[_0x5abc47(0x19b)];[_0x5abc47(0x18d)];[_0x5abc47(0x1c0)];constructor(_0x4c609c,_0x56ff27){const _0x402a03=_0x5abc47;super(_0x4c609c),this[_0x402a03(0x1c0)]=_0x56ff27,this[_0x402a03(0x1be)](_0x402a03(0x198),!0x1),this[_0x402a03(0x1be)](_0x402a03(0x173),''),this[_0x402a03(0x1be)](_0x402a03(0x176),!0x1),this[_0x402a03(0x1be)](_0x402a03(0x18a),!0x1),this[_0x402a03(0x19b)]=this[_0x402a03(0x16b)](),this[_0x402a03(0x19b)][_0x402a03(0x172)](..._0x4a36c0)['to'](this),this[_0x402a03(0x1b7)]();}[_0x5abc47(0x175)](){const _0x2e9c2d=_0x5abc47;super[_0x2e9c2d(0x175)](),this[_0x2e9c2d(0x18d)]=new _0x3c95e7(this[_0x2e9c2d(0x1a4)]);}[_0x5abc47(0x191)](){const _0x3e1474=_0x5abc47;super[_0x3e1474(0x191)](),this[_0x3e1474(0x18d)][_0x3e1474(0x191)]();}[_0x5abc47(0x184)](){const _0x43ddf4=_0x5abc47;this[_0x43ddf4(0x19b)][_0x43ddf4(0x184)]();}[_0x5abc47(0x17a)](_0x4e3630,_0x25c4f9){const _0x28ce5c=_0x5abc47;let _0x21517e;return _0x28ce5c(0x1a1)===_0x4e3630?_0x21517e=new _0x1e8454(this[_0x28ce5c(0x19a)],_0x25c4f9,this[_0x28ce5c(0x1c0)]):_0x28ce5c(0x1c2)===_0x4e3630?(_0x21517e=new _0x51471e(this[_0x28ce5c(0x19a)],_0x25c4f9,this[_0x28ce5c(0x1c0)]),_0x21517e[_0x28ce5c(0x1c1)](_0x28ce5c(0x18a))['to'](this)):_0x21517e=_0x28ce5c(0x17e)===_0x4e3630?new _0x431d95(this[_0x28ce5c(0x19a)],_0x25c4f9,this[_0x28ce5c(0x1c0)]):_0x28ce5c(0x16c)===_0x4e3630?new _0x266e7a(this[_0x28ce5c(0x19a)],_0x25c4f9):_0x28ce5c(0x192)===_0x4e3630?new _0x5a7932(_0x25c4f9):new _0x11c935(_0x25c4f9),this[_0x28ce5c(0x19b)][_0x28ce5c(0x1bf)](_0x21517e),_0x21517e;}async[_0x5abc47(0x1bd)]({id:_0xdb9a41,parsedContent:_0x3d600d,renderingStrategy:_0x101889,abortSignal:_0x2d83e3}){const _0x144143=_0x5abc47,_0x5c8d3d=this[_0x144143(0x1ac)](_0xdb9a41);if(!(_0x5c8d3d instanceof _0x1e8454))throw new _0xa5c54d(_0x144143(0x1ad),null,{'itemView':_0x5c8d3d,'id':_0xdb9a41,'parsedContent':_0x3d600d});await _0x5c8d3d[_0x144143(0x1b0)]({'parsedContent':_0x3d600d,'renderingStrategy':_0x101889,'abortSignal':_0x2d83e3});}async[_0x5abc47(0x193)](_0x437d5c,_0x2d888b){const _0x3302b0=_0x5abc47,_0x56a1b2=this[_0x3302b0(0x1ac)](_0x437d5c);if(_0x56a1b2 instanceof _0x51471e)_0x56a1b2[_0x3302b0(0x177)](_0x2d888b);else{if(!(_0x56a1b2 instanceof _0x1e8454))throw new _0xa5c54d(_0x3302b0(0x174),null,{'itemView':_0x56a1b2,'id':_0x437d5c,'sources':_0x2d888b});_0x56a1b2[_0x3302b0(0x177)](_0x2d888b);}}async[_0x5abc47(0x182)]({id:_0x4417fa,parts:_0x21cc01,renderingStrategy:_0x435dd4,abortSignal:_0x40ae13}){const _0x58bafb=_0x5abc47,_0x5960e8=this[_0x58bafb(0x1ac)](_0x4417fa);if(!(_0x5960e8 instanceof _0x51471e))throw new _0xa5c54d(_0x58bafb(0x186),null,{'itemView':_0x5960e8,'id':_0x4417fa,'parts':_0x21cc01});await _0x5960e8[_0x58bafb(0x1b0)]({'parts':_0x21cc01,'renderingStrategy':_0x435dd4,'abortSignal':_0x40ae13});}[_0x5abc47(0x1a9)]({id:_0xa4debd,index:_0x5898be,state:_0x323b17}){const _0x2decfd=_0x5abc47,_0x55d9e4=this[_0x2decfd(0x1ac)](_0xa4debd);if(!(_0x55d9e4 instanceof _0x51471e))throw new _0xa5c54d(_0x2decfd(0x186),this,{'id':_0xa4debd});_0x55d9e4[_0x2decfd(0x1a5)](_0x5898be,_0x323b17);}[_0x5abc47(0x1a8)]({id:_0x1bea78,index:_0x354617,isActive:_0x336eeb}){const _0x44191b=_0x5abc47,_0x57baae=this[_0x44191b(0x1ac)](_0x1bea78);if(!(_0x57baae instanceof _0x51471e))throw new _0xa5c54d(_0x44191b(0x186),this,{'id':_0x1bea78});this[_0x44191b(0x19b)][_0x44191b(0x185)](_0x30baa2=>_0x30baa2 instanceof _0x51471e)[_0x44191b(0x1bc)](_0x3e523d=>{const _0x5ef523=_0x44191b;_0x3e523d[_0x5ef523(0x189)](!0x1);}),_0x57baae[_0x44191b(0x189)](_0x354617,_0x336eeb);}[_0x5abc47(0x183)](_0x3bd400){const _0x4f1933=_0x5abc47;this[_0x4f1933(0x1ac)](_0x3bd400)[_0x4f1933(0x1b2)]();}[_0x5abc47(0x181)](){const _0x1eec6f=_0x5abc47;return this[_0x1eec6f(0x19b)][_0x1eec6f(0x19e)](_0x80152=>_0x80152[_0x1eec6f(0x1a6)]['id']);}[_0x5abc47(0x195)](_0x226af3){const _0x1b21c8=_0x5abc47;this[_0x1b21c8(0x19b)][_0x1b21c8(0x18e)](this[_0x1b21c8(0x1ac)](_0x226af3));}[_0x5abc47(0x18b)](_0x482ee4){const _0x1216cc=_0x5abc47;return!!this[_0x1216cc(0x19b)][_0x1216cc(0x1a7)](_0x1ff7e4=>_0x1ff7e4[_0x1216cc(0x1a6)]['id'][_0x1216cc(0x1b3)](_0x482ee4));}[_0x5abc47(0x17c)](_0x492f15,_0x306b1d){const _0x248302=_0x5abc47,_0xdce734=this[_0x248302(0x1ac)](_0x492f15);if(!(_0xdce734 instanceof _0x51471e))return void _0x4cb399(_0x248302(0x1b6),{'replyId':_0x492f15,'partIndex':_0x306b1d});const _0x138b37=_0xdce734[_0x248302(0x179)](_0x306b1d);_0x138b37?_0x3a7d91(_0x138b37[_0x248302(0x1a4)],0x14,this[_0x248302(0x1a4)][_0x248302(0x17f)],!0x0,!0x0):_0x4cb399(_0x248302(0x17d),{'replyId':_0x492f15,'partIndex':_0x306b1d});}[_0x5abc47(0x1b7)](){const _0x39afac=_0x5abc47;this[_0x39afac(0x18c)]({'tag':_0x39afac(0x16a),'attributes':{'class':['ck',_0x39afac(0x1ab)]},'children':this[_0x39afac(0x18f)]()});}[_0x5abc47(0x18f)](){const _0x5066ee=_0x5abc47,_0x44e364=this[_0x5066ee(0x1a0)]();return[this[_0x5066ee(0x1af)](),_0x44e364,this[_0x5066ee(0x19f)]()];}[_0x5abc47(0x1a0)](){const _0x5e61c0=_0x5abc47,_0x5ee79c=new _0x394b2b(this[_0x5e61c0(0x19a)],_0x33ffb5[_0x5e61c0(0x194)]);return _0x5ee79c[_0x5e61c0(0x1a3)]({'attributes':{'class':[this[_0x5e61c0(0x199)]['if'](_0x5e61c0(0x176),_0x5e61c0(0x190),_0x3e0840=>!_0x3e0840)]}}),_0x5ee79c;}[_0x5abc47(0x1af)](){const _0x4b3bc8=_0x5abc47,_0x4096d8=new _0x73ac11(this[_0x4b3bc8(0x19a)]);return _0x4096d8[_0x4b3bc8(0x18c)]({'tag':_0x4b3bc8(0x16a),'attributes':{'class':['ck',_0x4b3bc8(0x178),this[_0x4b3bc8(0x199)]['if'](_0x4b3bc8(0x176),_0x4b3bc8(0x190))]},'children':this[_0x4b3bc8(0x19b)]}),_0x4096d8;}[_0x5abc47(0x19f)](){const _0x1540ad=_0x5abc47,_0x2bc635=new _0x73ac11(this[_0x1540ad(0x19a)]);return _0x2bc635[_0x1540ad(0x18c)]({'tag':_0x1540ad(0x16a),'attributes':{'class':['ck',_0x1540ad(0x19c),this[_0x1540ad(0x199)]['if'](_0x1540ad(0x198),_0x1540ad(0x190),_0x4800c0=>!_0x4800c0)]},'children':this[_0x1540ad(0x171)]()}),_0x2bc635;}[_0x5abc47(0x171)](){const _0x4717d9=_0x5abc47,_0x10803e=new _0x138dc8();return _0x10803e[_0x4717d9(0x19d)]=!0x0,[_0x10803e,{'tag':_0x4717d9(0x1b8),'attributes':{'class':['ck',_0x4717d9(0x1ba)]},'children':[{'text':this[_0x4717d9(0x199)]['to'](_0x4717d9(0x173))}]}];}[_0x5abc47(0x1ac)](_0x592640){const _0x3a6c70=_0x5abc47,_0x4fe150=this[_0x3a6c70(0x19b)][_0x3a6c70(0x1a7)](_0x3f12ae=>_0x3f12ae[_0x3a6c70(0x1a6)]['id'][_0x3a6c70(0x1b3)](_0x592640));if(!_0x4fe150)throw new _0xa5c54d(_0x3a6c70(0x1a2),this,{'id':_0x592640});return _0x4fe150;}[_0x5abc47(0x187)](_0x4fa3b4){const _0xa6069=_0x5abc47;this[_0xa6069(0x1be)](_0xa6069(0x173),_0x4fa3b4);}[_0x5abc47(0x16f)](_0x157208){const _0x47cc8d=_0x5abc47;this[_0x47cc8d(0x1be)](_0x47cc8d(0x176),_0x157208);}[_0x5abc47(0x1b4)](){const _0x5f35ab=_0x5abc47;this[_0x5f35ab(0x18d)][_0x5f35ab(0x16e)]();}[_0x5abc47(0x1b1)](){const _0x1281e3=_0x5abc47;this[_0x1281e3(0x18d)][_0x1281e3(0x1aa)]();}}
23
+ const _0xe0568=_0x5e13;(function(_0x294e56,_0x46c00e){const _0x24b523=_0x5e13,_0x263bd7=_0x294e56();while(!![]){try{const _0x522485=parseInt(_0x24b523(0x113))/0x1*(-parseInt(_0x24b523(0xf4))/0x2)+parseInt(_0x24b523(0xdd))/0x3+parseInt(_0x24b523(0xf3))/0x4*(-parseInt(_0x24b523(0xf8))/0x5)+parseInt(_0x24b523(0x11a))/0x6*(parseInt(_0x24b523(0xfe))/0x7)+-parseInt(_0x24b523(0x133))/0x8*(parseInt(_0x24b523(0x12f))/0x9)+parseInt(_0x24b523(0x127))/0xa+parseInt(_0x24b523(0x109))/0xb*(-parseInt(_0x24b523(0xef))/0xc);if(_0x522485===_0x46c00e)break;else _0x263bd7['push'](_0x263bd7['shift']());}catch(_0x5ae6a1){_0x263bd7['push'](_0x263bd7['shift']());}}}(_0xd224,0xc5b30));import{CKEditorError as _0x21d445,logWarning as _0x31c3e3,scrollAncestorsToShowTarget as _0x5c2faf}from'ckeditor5/src/utils.js';import{View as _0x35e291}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x4b44af}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x399adc}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x8d2948}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x56674c}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x3cbdd5}from'./feed/aichatfeederroritemview.js';function _0xd224(){const _0x4fe2e3=['isPending','render','forEach','find','getPartView','ck-ai-chat__feed','isVisible','_bodyCollection','options','markAsDone','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','clear','14679560LdNAgM','bindTemplate','ck-hidden','locale','scrollToSuggestion','toggleLoadingSkeleton','stop','ck-ai-chat__loader-text','9cTUBfc','_setupTemplate','filter','setTemplate','5118256OKngUs','parentElement','isLoadingSkeletonVisible','updateSources','4576488uTturB','loadingMessage','ai-chat-feed-view-item-not-a-suggestion-item','custom-element','set','user-message','updateReplyItem','ai-chat-feed-view-item-not-a-reply-item','setPartActive','getItemIds','includes','span','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','_createLoaderChildren','aiFeed','removeItem','startAutoScroll','_createFeedItems','228RgGRmn','markItemAsDone','_createTemplateChildren','ck-ai-chat__feed__items','4536652FvGpki','75982mcMCCZ','scrollManager','element','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','5nufYwU','updateSuggestionPartState','updateContent','div','ai-suggestion-reply','getItemById','7244713PfZpqw','bind','ck-ai-chat__loader','delegate','extendTemplate','map','_createFeedLoader','updateSuggestionItem','updateWebSources','_createSkeletonLoader','interaction-header','154561brGagC','add','remove','stopAutoScroll','setLoadingMessage','hasItem','addItem','destroy','ai-reply','createCollection','31GgGBVS','children','updatePartState','setSuggestionPartActive','isTrackChangesOn','ai-chat-feed-view-item-not-found','start','6lnlQtV'];_0xd224=function(){return _0x4fe2e3;};return _0xd224();}import{AIChatFeedInteractionHeaderView as _0x37b782}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x35fdc0}from'../../aicore/utils/scrollmanager.js';import{AISkeletonView as _0x368ca1,SKELETON_DEFINITIONS as _0x3b830d}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x5b89a6}from'../../aicore/ui/aispinner.js';import{AIChatFeedCustomElementView as _0x44be86}from'./feed/aichatfeedcustomelementview.js';import'../../../theme/aichat/aichatfeed.css';function _0x5e13(_0xb7faa0,_0x2dbc93){const _0xd224db=_0xd224();return _0x5e13=function(_0x5e13ab,_0x3a307d){_0x5e13ab=_0x5e13ab-0xdc;let _0x3b95bc=_0xd224db[_0x5e13ab];return _0x3b95bc;},_0x5e13(_0xb7faa0,_0x2dbc93);}export class AIChatFeedView extends _0x35e291{[_0xe0568(0x114)];[_0xe0568(0xf5)];[_0xe0568(0x122)];constructor(_0x6aa54b,_0x4a8a5d){const _0xcee528=_0xe0568;super(_0x6aa54b),this[_0xcee528(0x122)]=_0x4a8a5d,this[_0xcee528(0xe1)](_0xcee528(0x11b),!0x1),this[_0xcee528(0xe1)](_0xcee528(0xde),''),this[_0xcee528(0xe1)](_0xcee528(0x135),!0x1),this[_0xcee528(0xe1)](_0xcee528(0x117),!0x1),this[_0xcee528(0x114)]=this[_0xcee528(0x112)](),this[_0xcee528(0x114)][_0xcee528(0x101)](..._0x4b44af)['to'](this),this[_0xcee528(0x130)]();}[_0xe0568(0x11c)](){const _0x5c3f04=_0xe0568;super[_0x5c3f04(0x11c)](),this[_0x5c3f04(0xf5)]=new _0x35fdc0(this[_0x5c3f04(0xf6)]);}[_0xe0568(0x110)](){const _0x54d7c4=_0xe0568;super[_0x54d7c4(0x110)](),this[_0x54d7c4(0xf5)][_0x54d7c4(0x110)]();}[_0xe0568(0x126)](){const _0x415b8c=_0xe0568;this[_0x415b8c(0x114)][_0x415b8c(0x126)]();}[_0xe0568(0x10f)](_0xb653a0,_0x5a3280){const _0x5cb7ed=_0xe0568;let _0x51df14;return _0x5cb7ed(0x111)===_0xb653a0?_0x51df14=new _0x8d2948(this[_0x5cb7ed(0x12a)],_0x5a3280,this[_0x5cb7ed(0x122)]):_0x5cb7ed(0xfc)===_0xb653a0?(_0x51df14=new _0x399adc(this[_0x5cb7ed(0x12a)],_0x5a3280,this[_0x5cb7ed(0x122)]),_0x51df14[_0x5cb7ed(0xff)](_0x5cb7ed(0x117))['to'](this)):_0x51df14=_0x5cb7ed(0xe2)===_0xb653a0?new _0x56674c(this[_0x5cb7ed(0x12a)],_0x5a3280,this[_0x5cb7ed(0x122)]):_0x5cb7ed(0x108)===_0xb653a0?new _0x37b782(this[_0x5cb7ed(0x12a)],_0x5a3280):_0x5cb7ed(0xe0)===_0xb653a0?new _0x44be86(_0x5a3280):new _0x3cbdd5(_0x5a3280),this[_0x5cb7ed(0x114)][_0x5cb7ed(0x10a)](_0x51df14),_0x51df14;}async[_0xe0568(0xe3)]({id:_0x45e311,parsedContent:_0x5d6940,renderingStrategy:_0x12b5f4,abortSignal:_0x5edb21}){const _0xa86c9c=_0xe0568,_0x6a02d4=this[_0xa86c9c(0xfd)](_0x45e311);if(!(_0x6a02d4 instanceof _0x8d2948))throw new _0x21d445(_0xa86c9c(0xe4),null,{'itemView':_0x6a02d4,'id':_0x45e311,'parsedContent':_0x5d6940});await _0x6a02d4[_0xa86c9c(0xfa)]({'parsedContent':_0x5d6940,'renderingStrategy':_0x12b5f4,'abortSignal':_0x5edb21});}async[_0xe0568(0x106)](_0x1d5282,_0x1308d6){const _0x3db465=_0xe0568,_0x76ec32=this[_0x3db465(0xfd)](_0x1d5282);if(_0x76ec32 instanceof _0x399adc)_0x76ec32[_0x3db465(0xdc)](_0x1308d6);else{if(!(_0x76ec32 instanceof _0x8d2948))throw new _0x21d445(_0x3db465(0x125),null,{'itemView':_0x76ec32,'id':_0x1d5282,'sources':_0x1308d6});_0x76ec32[_0x3db465(0xdc)](_0x1308d6);}}async[_0xe0568(0x105)]({id:_0x50aeb7,parts:_0x21e9d0,renderingStrategy:_0x24bc8f,abortSignal:_0xab02a4}){const _0x1a2af9=_0xe0568,_0x25e4ed=this[_0x1a2af9(0xfd)](_0x50aeb7);if(!(_0x25e4ed instanceof _0x399adc))throw new _0x21d445(_0x1a2af9(0xdf),null,{'itemView':_0x25e4ed,'id':_0x50aeb7,'parts':_0x21e9d0});await _0x25e4ed[_0x1a2af9(0xfa)]({'parts':_0x21e9d0,'renderingStrategy':_0x24bc8f,'abortSignal':_0xab02a4});}[_0xe0568(0xf9)]({id:_0x2f75fb,index:_0x3c6281,state:_0x16eb25}){const _0x2e8836=_0xe0568,_0x25109c=this[_0x2e8836(0xfd)](_0x2f75fb);if(!(_0x25109c instanceof _0x399adc))throw new _0x21d445(_0x2e8836(0xdf),this,{'id':_0x2f75fb});_0x25109c[_0x2e8836(0x115)](_0x3c6281,_0x16eb25);}[_0xe0568(0x116)]({id:_0x229819,index:_0x16a6ad,isActive:_0x1e7d25}){const _0x4732bd=_0xe0568,_0x3c8cdc=this[_0x4732bd(0xfd)](_0x229819);if(!(_0x3c8cdc instanceof _0x399adc))throw new _0x21d445(_0x4732bd(0xdf),this,{'id':_0x229819});this[_0x4732bd(0x114)][_0x4732bd(0x131)](_0x354150=>_0x354150 instanceof _0x399adc)[_0x4732bd(0x11d)](_0x18a189=>{const _0x37d808=_0x4732bd;_0x18a189[_0x37d808(0xe5)](!0x1);}),_0x3c8cdc[_0x4732bd(0xe5)](_0x16a6ad,_0x1e7d25);}[_0xe0568(0xf0)](_0x1300a9){const _0x3a6c9a=_0xe0568;this[_0x3a6c9a(0xfd)](_0x1300a9)[_0x3a6c9a(0x124)]();}[_0xe0568(0xe6)](){const _0x29bc37=_0xe0568;return this[_0x29bc37(0x114)][_0x29bc37(0x103)](_0xb853d4=>_0xb853d4[_0x29bc37(0x123)]['id']);}[_0xe0568(0xec)](_0x3f4398){const _0x5ae4ad=_0xe0568;this[_0x5ae4ad(0x114)][_0x5ae4ad(0x10b)](this[_0x5ae4ad(0xfd)](_0x3f4398));}[_0xe0568(0x10e)](_0x592909){const _0x127239=_0xe0568;return!!this[_0x127239(0x114)][_0x127239(0x11e)](_0x46ab4f=>_0x46ab4f[_0x127239(0x123)]['id'][_0x127239(0xe7)](_0x592909));}[_0xe0568(0x12b)](_0x33b600,_0x4bb4bb){const _0x10cbb1=_0xe0568,_0x2964fd=this[_0x10cbb1(0xfd)](_0x33b600);if(!(_0x2964fd instanceof _0x399adc))return void _0x31c3e3(_0x10cbb1(0xf7),{'replyId':_0x33b600,'partIndex':_0x4bb4bb});const _0x54bd05=_0x2964fd[_0x10cbb1(0x11f)](_0x4bb4bb);_0x54bd05?_0x5c2faf(_0x54bd05[_0x10cbb1(0xf6)],0x14,this[_0x10cbb1(0xf6)][_0x10cbb1(0x134)],!0x0,!0x0):_0x31c3e3(_0x10cbb1(0xe9),{'replyId':_0x33b600,'partIndex':_0x4bb4bb});}[_0xe0568(0x130)](){const _0x190c2d=_0xe0568;this[_0x190c2d(0x132)]({'tag':_0x190c2d(0xfb),'attributes':{'class':['ck',_0x190c2d(0x120)]},'children':this[_0x190c2d(0xf1)]()});}[_0xe0568(0xf1)](){const _0x310324=_0xe0568,_0x75eefc=this[_0x310324(0x107)]();return[this[_0x310324(0xee)](),_0x75eefc,this[_0x310324(0x104)]()];}[_0xe0568(0x107)](){const _0x172d05=_0xe0568,_0x35d772=new _0x368ca1(this[_0x172d05(0x12a)],_0x3b830d[_0x172d05(0xeb)]);return _0x35d772[_0x172d05(0x102)]({'attributes':{'class':[this[_0x172d05(0x128)]['if'](_0x172d05(0x135),_0x172d05(0x129),_0x468bcc=>!_0x468bcc)]}}),_0x35d772;}[_0xe0568(0xee)](){const _0x990ef1=_0xe0568,_0x3b111f=new _0x35e291(this[_0x990ef1(0x12a)]);return _0x3b111f[_0x990ef1(0x132)]({'tag':_0x990ef1(0xfb),'attributes':{'class':['ck',_0x990ef1(0xf2),this[_0x990ef1(0x128)]['if'](_0x990ef1(0x135),_0x990ef1(0x129))]},'children':this[_0x990ef1(0x114)]}),_0x3b111f;}[_0xe0568(0x104)](){const _0x3b9230=_0xe0568,_0x35e701=new _0x35e291(this[_0x3b9230(0x12a)]);return _0x35e701[_0x3b9230(0x132)]({'tag':_0x3b9230(0xfb),'attributes':{'class':['ck',_0x3b9230(0x100),this[_0x3b9230(0x128)]['if'](_0x3b9230(0x11b),_0x3b9230(0x129),_0xd9b0c8=>!_0xd9b0c8)]},'children':this[_0x3b9230(0xea)]()}),_0x35e701;}[_0xe0568(0xea)](){const _0xe2fe6d=_0xe0568,_0x4db071=new _0x5b89a6();return _0x4db071[_0xe2fe6d(0x121)]=!0x0,[_0x4db071,{'tag':_0xe2fe6d(0xe8),'attributes':{'class':['ck',_0xe2fe6d(0x12e)]},'children':[{'text':this[_0xe2fe6d(0x128)]['to'](_0xe2fe6d(0xde))}]}];}[_0xe0568(0xfd)](_0x37de3e){const _0x199846=_0xe0568,_0x44401c=this[_0x199846(0x114)][_0x199846(0x11e)](_0x5557d8=>_0x5557d8[_0x199846(0x123)]['id'][_0x199846(0xe7)](_0x37de3e));if(!_0x44401c)throw new _0x21d445(_0x199846(0x118),this,{'id':_0x37de3e});return _0x44401c;}[_0xe0568(0x10d)](_0x5af7ee){const _0x467a44=_0xe0568;this[_0x467a44(0xe1)](_0x467a44(0xde),_0x5af7ee);}[_0xe0568(0x12c)](_0x1d3a27){const _0x1d4f4a=_0xe0568;this[_0x1d4f4a(0xe1)](_0x1d4f4a(0x135),_0x1d3a27);}[_0xe0568(0xed)](){const _0x523088=_0xe0568;this[_0x523088(0xf5)][_0x523088(0x119)]();}[_0xe0568(0x10c)](){const _0x573280=_0xe0568;this[_0x573280(0xf5)][_0x573280(0x12d)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44de(_0x5efdde,_0x2581e0){const _0x248fd2=_0x248f();return _0x44de=function(_0x44deb3,_0x78a0a5){_0x44deb3=_0x44deb3-0x81;let _0x5b1335=_0x248fd2[_0x44deb3];return _0x5b1335;},_0x44de(_0x5efdde,_0x2581e0);}const _0x1e479d=_0x44de;(function(_0x447fce,_0x4a4847){const _0x5986df=_0x44de,_0x2f8a58=_0x447fce();while(!![]){try{const _0x17f992=-parseInt(_0x5986df(0x87))/0x1*(-parseInt(_0x5986df(0x81))/0x2)+-parseInt(_0x5986df(0x88))/0x3*(-parseInt(_0x5986df(0x8b))/0x4)+parseInt(_0x5986df(0x8d))/0x5+-parseInt(_0x5986df(0x98))/0x6*(-parseInt(_0x5986df(0x90))/0x7)+parseInt(_0x5986df(0x94))/0x8+parseInt(_0x5986df(0x93))/0x9+-parseInt(_0x5986df(0x83))/0xa;if(_0x17f992===_0x4a4847)break;else _0x2f8a58['push'](_0x2f8a58['shift']());}catch(_0x33defb){_0x2f8a58['push'](_0x2f8a58['shift']());}}}(_0x248f,0x2fbd3));import{ButtonView as _0x17fdc7,FormHeaderView as _0x34a0a}from'ckeditor5/src/ui.js';import{IconPlus as _0x1e8653,IconAIChat as _0x329a00}from'ckeditor5/src/icons.js';import{getTranslation as _0x30f8cf}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x2af6a2}from'../../aicore/utils/createresizebutton.js';import'../../../theme/common/aiheader.css';export class AIChatHeaderView extends _0x34a0a{[_0x1e479d(0x8a)];[_0x1e479d(0x99)];constructor(_0x17a7d4,_0x11e37d){const _0x41a961=_0x1e479d;super(_0x17a7d4,{'label':_0x30f8cf(_0x17a7d4,_0x41a961(0x84)),'class':_0x41a961(0x89),'icon':_0x329a00}),this[_0x41a961(0x95)](_0x41a961(0x8e),!0x1),this[_0x41a961(0x8a)]=this[_0x41a961(0x82)](_0x17a7d4),this[_0x41a961(0x85)][_0x41a961(0x8c)](this[_0x41a961(0x8a)]),_0x11e37d&&(this[_0x41a961(0x99)]=_0x2af6a2(_0x17a7d4,this),this[_0x41a961(0x85)][_0x41a961(0x8c)](this[_0x41a961(0x99)]));}[_0x1e479d(0x82)](_0xfafc42){const _0x4b4498=_0x1e479d,_0x48ef49=new _0x17fdc7(_0xfafc42);return _0x48ef49[_0x4b4498(0x95)]({'label':_0x30f8cf(this[_0x4b4498(0x92)],_0x4b4498(0x96)),'withText':!0x0,'icon':_0x1e8653,'class':_0x4b4498(0x97)}),_0x48ef49['on'](_0x4b4498(0x91),()=>{const _0xf32447=_0x4b4498;this[_0xf32447(0x8f)](_0xf32447(0x86));}),_0x48ef49;}}function _0x248f(){const _0x1cdfd3=['1520055dhEEZU','2875616xpfVDH','set','AI_CHAT_LABEL_NEW_CHAT','ck-ai-chat__start-conversation','25716hXzuhl','resizeButton','2KtrvTT','_createStartConversationButton','14113930BXNsDc','AI_CHAT_HEADING','children','startConversation','160757DkGrTo','291kuasGR','ck-ai-header\x20ck-ai-header_chat','conversationStartButton','13132JhGmsk','add','1303915svskuw','isMaximized','fire','553TClNgG','execute','locale'];_0x248f=function(){return _0x1cdfd3;};return _0x248f();}
23
+ const _0x3c9d75=_0x46a1;(function(_0x38e45a,_0x47691e){const _0x2cdb09=_0x46a1,_0xd78367=_0x38e45a();while(!![]){try{const _0x17e040=parseInt(_0x2cdb09(0x105))/0x1*(parseInt(_0x2cdb09(0x104))/0x2)+-parseInt(_0x2cdb09(0x10e))/0x3+-parseInt(_0x2cdb09(0x10b))/0x4+parseInt(_0x2cdb09(0x116))/0x5*(parseInt(_0x2cdb09(0x100))/0x6)+-parseInt(_0x2cdb09(0x113))/0x7*(parseInt(_0x2cdb09(0x107))/0x8)+-parseInt(_0x2cdb09(0xfd))/0x9*(-parseInt(_0x2cdb09(0x10f))/0xa)+parseInt(_0x2cdb09(0x10d))/0xb;if(_0x17e040===_0x47691e)break;else _0xd78367['push'](_0xd78367['shift']());}catch(_0x1f2f5f){_0xd78367['push'](_0xd78367['shift']());}}}(_0x2aa8,0xe1756));function _0x2aa8(){const _0x4f639e=['2363284nlREAe','3595230jGbkSG','1230HwAIaH','fire','children','isMaximized','217rlxSUK','add','locale','180IMHUxO','57366pJJLtr','_createStartConversationButton','resizeButton','291738NqNTjj','ck-ai-chat__start-conversation','set','AI_CHAT_LABEL_NEW_CHAT','2289682CSXkfF','1SGxNUh','conversationStartButton','74576TeCAZr','AI_CHAT_HEADING','startConversation','execute','5932980taBQnO','ck-ai-header\x20ck-ai-header_chat'];_0x2aa8=function(){return _0x4f639e;};return _0x2aa8();}import{ButtonView as _0x448433,FormHeaderView as _0x1745ec}from'ckeditor5/src/ui.js';function _0x46a1(_0x63ba5,_0x44e29b){const _0x2aa81a=_0x2aa8();return _0x46a1=function(_0x46a153,_0x4a57ef){_0x46a153=_0x46a153-0xfd;let _0x48cd73=_0x2aa81a[_0x46a153];return _0x48cd73;},_0x46a1(_0x63ba5,_0x44e29b);}import{IconPlus as _0x318c87,IconAIChat as _0x6ff031}from'ckeditor5/src/icons.js';import{getTranslation as _0x7653c9}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x7c24a5}from'../../aicore/utils/createresizebutton.js';import'../../../theme/common/aiheader.css';export class AIChatHeaderView extends _0x1745ec{[_0x3c9d75(0x106)];[_0x3c9d75(0xff)];constructor(_0x4f185d,_0x300ec6){const _0xd23573=_0x3c9d75;super(_0x4f185d,{'label':_0x7653c9(_0x4f185d,_0xd23573(0x108)),'class':_0xd23573(0x10c),'icon':_0x6ff031}),this[_0xd23573(0x102)](_0xd23573(0x112),!0x1),this[_0xd23573(0x106)]=this[_0xd23573(0xfe)](_0x4f185d),this[_0xd23573(0x111)][_0xd23573(0x114)](this[_0xd23573(0x106)]),_0x300ec6&&(this[_0xd23573(0xff)]=_0x7c24a5(_0x4f185d,this),this[_0xd23573(0x111)][_0xd23573(0x114)](this[_0xd23573(0xff)]));}[_0x3c9d75(0xfe)](_0x3948d7){const _0x2b32f3=_0x3c9d75,_0xd79921=new _0x448433(_0x3948d7);return _0xd79921[_0x2b32f3(0x102)]({'label':_0x7653c9(this[_0x2b32f3(0x115)],_0x2b32f3(0x103)),'withText':!0x0,'icon':_0x318c87,'class':_0x2b32f3(0x101)}),_0xd79921['on'](_0x2b32f3(0x10a),()=>{const _0x143214=_0x2b32f3;this[_0x143214(0x110)](_0x143214(0x109));}),_0xd79921;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x18c5a2=_0xf7e0;(function(_0x488aad,_0x1b905e){var _0x4f1099=_0xf7e0,_0x14b497=_0x488aad();while(!![]){try{var _0x2e5d4e=parseInt(_0x4f1099(0x14b))/0x1*(-parseInt(_0x4f1099(0x14a))/0x2)+-parseInt(_0x4f1099(0x146))/0x3+-parseInt(_0x4f1099(0x154))/0x4+parseInt(_0x4f1099(0x148))/0x5+parseInt(_0x4f1099(0x13d))/0x6*(-parseInt(_0x4f1099(0x150))/0x7)+-parseInt(_0x4f1099(0x13f))/0x8+-parseInt(_0x4f1099(0x13c))/0x9*(-parseInt(_0x4f1099(0x149))/0xa);if(_0x2e5d4e===_0x1b905e)break;else _0x14b497['push'](_0x14b497['shift']());}catch(_0x55ad0a){_0x14b497['push'](_0x14b497['shift']());}}}(_0x965a,0x751a4));import{View as _0x28bcb3,BodyCollection as _0x11db4e}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x23ea98}from'../utils/eventnames.js';import{AIChatFeedView as _0x404a89}from'./aichatfeedview.js';import{AIChatControlsView as _0x2e77b8}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x5ae710}from'./aichatheaderview.js';import{AIDisclaimerView as _0x433485}from'../../aicore/ui/aidisclaimerview.js';import'../../../theme/common/ainotification.css';function _0xf7e0(_0x49b6a6,_0x36012f){var _0x965aac=_0x965a();return _0xf7e0=function(_0xf7e0b2,_0x688187){_0xf7e0b2=_0xf7e0b2-0x13c;var _0x3611fe=_0x965aac[_0xf7e0b2];return _0x3611fe;},_0xf7e0(_0x49b6a6,_0x36012f);}import'../../../theme/common/aibutton.css';function _0x965a(){var _0x2c784e=['chatHeader','contextResourcesSearchInputVisibleFrom','9nDEBWV','414CxMLkn','populateSourceResourceBalloon','7232888KBrBLC','showResizeButton','detachFromDom','ck-ai-chat','ck-rounded-corners','ck-reset_all','div','777081vcunUA','_bodyCollection','1888335rsFKAc','21820670KDXlJj','445382MKEpPH','1CIzOOt','setTemplate','uiLanguageDirection','closeSourceResourceBalloon','chatDisclaimer','25816PnNVGK','attachToDom','delegate','chatControls','1759124xvlAri','destroy','chatFeed'];_0x965a=function(){return _0x2c784e;};return _0x965a();}import'../../../theme/common/aitrackchanges.css';export class AIChatView extends _0x28bcb3{[_0x18c5a2(0x157)];[_0x18c5a2(0x156)];[_0x18c5a2(0x153)];[_0x18c5a2(0x14f)];[_0x18c5a2(0x147)];constructor(_0x14ed7c,_0x513ffc){var _0x5e6c69=_0x18c5a2;super(_0x14ed7c),this[_0x5e6c69(0x147)]=new _0x11db4e(_0x14ed7c),this[_0x5e6c69(0x147)][_0x5e6c69(0x151)](),this[_0x5e6c69(0x157)]=new _0x5ae710(_0x14ed7c,_0x513ffc[_0x5e6c69(0x140)]),this[_0x5e6c69(0x157)][_0x5e6c69(0x152)](..._0x23ea98)['to'](this),this[_0x5e6c69(0x156)]=new _0x404a89(_0x14ed7c,this[_0x5e6c69(0x147)]),this[_0x5e6c69(0x156)][_0x5e6c69(0x152)](..._0x23ea98)['to'](this),this[_0x5e6c69(0x153)]=new _0x2e77b8(_0x14ed7c,{'bodyCollection':this[_0x5e6c69(0x147)],'contextResourcesSearchInputVisibleFrom':_0x513ffc[_0x5e6c69(0x158)]}),this[_0x5e6c69(0x153)][_0x5e6c69(0x152)](..._0x23ea98)['to'](this),this[_0x5e6c69(0x14f)]=new _0x433485(_0x14ed7c),this[_0x5e6c69(0x14c)]({'tag':_0x5e6c69(0x145),'attributes':{'class':['ck',_0x5e6c69(0x144),_0x5e6c69(0x142),_0x5e6c69(0x143)],'dir':_0x14ed7c[_0x5e6c69(0x14d)]},'children':[this[_0x5e6c69(0x157)],this[_0x5e6c69(0x156)],this[_0x5e6c69(0x153)],this[_0x5e6c69(0x14f)]]});}[_0x18c5a2(0x13e)](_0x381db6,_0x49c47f,_0x1a7225,_0x117f68){var _0x1fb9e0=_0x18c5a2;this[_0x1fb9e0(0x153)][_0x1fb9e0(0x13e)](_0x381db6,_0x49c47f,_0x1a7225,_0x117f68);}[_0x18c5a2(0x14e)](_0x3662cb){var _0x19a8b3=_0x18c5a2;this[_0x19a8b3(0x153)][_0x19a8b3(0x14e)](_0x3662cb);}[_0x18c5a2(0x155)](){var _0x2ee7cd=_0x18c5a2;this[_0x2ee7cd(0x147)][_0x2ee7cd(0x141)](),super[_0x2ee7cd(0x155)]();}}
23
+ var _0x34753e=_0x285b;(function(_0x3dc810,_0x9ec279){var _0x349dea=_0x285b,_0x1efc21=_0x3dc810();while(!![]){try{var _0x17a89f=-parseInt(_0x349dea(0x11a))/0x1*(-parseInt(_0x349dea(0x134))/0x2)+parseInt(_0x349dea(0x12c))/0x3*(parseInt(_0x349dea(0x12a))/0x4)+-parseInt(_0x349dea(0x11d))/0x5+parseInt(_0x349dea(0x121))/0x6*(-parseInt(_0x349dea(0x130))/0x7)+-parseInt(_0x349dea(0x118))/0x8+-parseInt(_0x349dea(0x126))/0x9+parseInt(_0x349dea(0x12d))/0xa;if(_0x17a89f===_0x9ec279)break;else _0x1efc21['push'](_0x1efc21['shift']());}catch(_0x112e27){_0x1efc21['push'](_0x1efc21['shift']());}}}(_0x25e5,0x1c88b));function _0x25e5(){var _0xe01c3b=['1YtmUuy','ck-rounded-corners','chatDisclaimer','599030ketwPZ','contextResourcesSearchInputVisibleFrom','ck-reset_all','detachFromDom','145650yxyUSR','chatHeader','chatFeed','destroy','showResizeButton','1031967gtJJcs','uiLanguageDirection','ck-ai-chat','setTemplate','4skCQwp','populateSourceResourceBalloon','401616CKOZCG','3926110kPzTXY','delegate','attachToDom','56kOVcXB','chatControls','closeSourceResourceBalloon','_bodyCollection','366658zVizDP','1314144jMjgcB','div'];_0x25e5=function(){return _0xe01c3b;};return _0x25e5();}import{View as _0x24abfe,BodyCollection as _0x9ba80b}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x1165d3}from'../utils/eventnames.js';import{AIChatFeedView as _0x59a3ab}from'./aichatfeedview.js';import{AIChatControlsView as _0x1f9b7c}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x283315}from'./aichatheaderview.js';import{AIDisclaimerView as _0x5a5e36}from'../../aicore/ui/aidisclaimerview.js';function _0x285b(_0x243fef,_0x871d87){var _0x25e502=_0x25e5();return _0x285b=function(_0x285b5f,_0x54ff65){_0x285b5f=_0x285b5f-0x118;var _0x526751=_0x25e502[_0x285b5f];return _0x526751;},_0x285b(_0x243fef,_0x871d87);}import'../../../theme/common/ainotification.css';import'../../../theme/common/aibutton.css';import'../../../theme/common/aitrackchanges.css';export class AIChatView extends _0x24abfe{[_0x34753e(0x122)];[_0x34753e(0x123)];[_0x34753e(0x131)];[_0x34753e(0x11c)];[_0x34753e(0x133)];constructor(_0x57f58b,_0x5638ae){var _0x46cfc4=_0x34753e;super(_0x57f58b),this[_0x46cfc4(0x133)]=new _0x9ba80b(_0x57f58b),this[_0x46cfc4(0x133)][_0x46cfc4(0x12f)](),this[_0x46cfc4(0x122)]=new _0x283315(_0x57f58b,_0x5638ae[_0x46cfc4(0x125)]),this[_0x46cfc4(0x122)][_0x46cfc4(0x12e)](..._0x1165d3)['to'](this),this[_0x46cfc4(0x123)]=new _0x59a3ab(_0x57f58b,this[_0x46cfc4(0x133)]),this[_0x46cfc4(0x123)][_0x46cfc4(0x12e)](..._0x1165d3)['to'](this),this[_0x46cfc4(0x131)]=new _0x1f9b7c(_0x57f58b,{'bodyCollection':this[_0x46cfc4(0x133)],'contextResourcesSearchInputVisibleFrom':_0x5638ae[_0x46cfc4(0x11e)]}),this[_0x46cfc4(0x131)][_0x46cfc4(0x12e)](..._0x1165d3)['to'](this),this[_0x46cfc4(0x11c)]=new _0x5a5e36(_0x57f58b),this[_0x46cfc4(0x129)]({'tag':_0x46cfc4(0x119),'attributes':{'class':['ck',_0x46cfc4(0x11f),_0x46cfc4(0x128),_0x46cfc4(0x11b)],'dir':_0x57f58b[_0x46cfc4(0x127)]},'children':[this[_0x46cfc4(0x122)],this[_0x46cfc4(0x123)],this[_0x46cfc4(0x131)],this[_0x46cfc4(0x11c)]]});}[_0x34753e(0x12b)](_0x2667b5,_0x59956e,_0x121c78,_0x174932){var _0x2a6978=_0x34753e;this[_0x2a6978(0x131)][_0x2a6978(0x12b)](_0x2667b5,_0x59956e,_0x121c78,_0x174932);}[_0x34753e(0x132)](_0x3c9c81){var _0x36093b=_0x34753e;this[_0x36093b(0x131)][_0x36093b(0x132)](_0x3c9c81);}[_0x34753e(0x124)](){var _0xddd8b9=_0x34753e;this[_0xddd8b9(0x133)][_0xddd8b9(0x120)](),super[_0xddd8b9(0x124)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x111ff9=_0xfecf;(function(_0x376731,_0x4126ef){const _0x51672d=_0xfecf,_0x1ab927=_0x376731();while(!![]){try{const _0x3b0c53=-parseInt(_0x51672d(0xdd))/0x1+-parseInt(_0x51672d(0x10c))/0x2*(parseInt(_0x51672d(0xe0))/0x3)+-parseInt(_0x51672d(0x121))/0x4+parseInt(_0x51672d(0xf7))/0x5*(-parseInt(_0x51672d(0x144))/0x6)+parseInt(_0x51672d(0xfc))/0x7+-parseInt(_0x51672d(0x109))/0x8*(-parseInt(_0x51672d(0x103))/0x9)+parseInt(_0x51672d(0xe3))/0xa*(parseInt(_0x51672d(0xd6))/0xb);if(_0x3b0c53===_0x4126ef)break;else _0x1ab927['push'](_0x1ab927['shift']());}catch(_0x1dc00a){_0x1ab927['push'](_0x1ab927['shift']());}}}(_0x7567,0x4d973));import{View as _0x5681e2,BalloonPanelView as _0x22b64f,ButtonView as _0x3b35e0,clickOutsideHandler as _0x1bbdb8}from'ckeditor5/src/ui.js';function _0xfecf(_0x5def26,_0x4a3602){const _0x756708=_0x7567();return _0xfecf=function(_0xfecffb,_0x38cbcb){_0xfecffb=_0xfecffb-0xcc;let _0x5d3f24=_0x756708[_0xfecffb];return _0x5d3f24;},_0xfecf(_0x5def26,_0x4a3602);}function _0x7567(){const _0x3e4b05=['right','16994846valjIF','getComputedStyle','_parentView','offsetWidth','element','_restoreAncestorVisibility','position','605865UyBzpN','children','-9999px','21wknedI','_intersectionObserver','zIndex','10raCLqb','.ck-ai-chat','slice','absolute','_checkAndHandleOverflow','0px','_bodyCollection','createElement','isConnected','_repinBalloonPanel','none','from','destroy','content','+\x201','_updateBalloonContent','_createShowMoreButtonView','top','_locale','isVisible','1470440QCEIMA','label','clear','getBoundingClientRect','reorganizeChips','948024rkcRSG','_pendingCalculation','_calculateContainerWidth','render','_applyOverflowResults','_targetContainer','add','18gwhXWJ','innerWidth','hidden','_findTargetContainer','showMoreButtonView','_showMoreBalloonPanelView','650696CFqKzF','visible','push','27358nrJpSY','300px','toLowerCase','_createShowMoreBalloonPanelView','rowDetectionTolerance','controlsButton','maxVisibleRows','style','pin','50px','setTemplate','_testButtonFit','disableAnimationOnEnter','showBalloonPanel','showMoreBalloon','querySelector','undefined','overflowContainer','setContainerElement','appendChild','className','941948iuCHpM','observe','div','filter','hide','forEach','remove','_isContainerVisible','isOn','_createShowMoreButton','_config','bottom','set','length','_distributeChips','_containerElement','_updateOverflowUI','clientWidth','boxSizing','documentElement','pop','parentElement','_createMockButton','pointerEvents','innerHTML','cloneNode','_makeAncestorsVisible','_handleShowMoreButtonClick','execute','button','visibility','innerHeight','showMoreLabelPrefix','auto','overflowChips','12pKdqSq','some','tagName','calculationContainer','left','_updateShowMoreButtonVisibility','cssClasses','display','_createContainerElements','height','includes','_visibleChips','_overflowChips','_renderChipsAndCountRows','isIntersecting','_calculateOverflowInContainer','opacity','extendTemplate','clientHeight','_showMoreButtonView','visible\x20!important','abs','block\x20!important','_setupVisibilityObserver','show','classList','disconnect','hideBalloonPanel','ck-calculation-container','border-box','textContent','_ancestorsToRestore','body','width','_applyCalculationStyles','showMoreButton','block','_createCalculationContainer'];_0x7567=function(){return _0x3e4b05;};return _0x7567();}import{Collection as _0x3553cf}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x111ff9(0x10d);export class AIChatChipsOverflowManager{[_0x111ff9(0xf5)];[_0x111ff9(0x12b)];[_0x111ff9(0x14f)];[_0x111ff9(0x150)];[_0x111ff9(0x157)]=null;[_0x111ff9(0x108)]=null;[_0x111ff9(0x130)]=null;[_0x111ff9(0xe9)];[_0x111ff9(0xd8)]=null;[_0x111ff9(0xe1)]=null;[_0x111ff9(0xfd)]=!0x1;constructor(_0x4bf859,_0x37e962,_0x1fb13a,_0x209a88,_0x236402){const _0x5da135=_0x111ff9;this[_0x5da135(0xf5)]=_0x4bf859,this[_0x5da135(0x14f)]=_0x37e962,this[_0x5da135(0x12b)]={...hn,..._0x1fb13a,'cssClasses':{'controlsButton':'','calculationContainer':_0x5da135(0x160),..._0x1fb13a[_0x5da135(0x14a)]}},this[_0x5da135(0x150)]=new _0x3553cf(),this[_0x5da135(0xe9)]=_0x209a88,this[_0x5da135(0xd8)]=_0x236402||null;}[_0x111ff9(0x11e)](_0x50a556){const _0x3841e0=_0x111ff9;this[_0x3841e0(0xe1)]&&(this[_0x3841e0(0xe1)][_0x3841e0(0x15e)](),this[_0x3841e0(0xe1)]=null),this[_0x3841e0(0x130)]=_0x50a556,this[_0x3841e0(0x15b)]();}get[_0x111ff9(0x107)](){const _0x4a43eb=_0x111ff9;return this[_0x4a43eb(0x157)];}get[_0x111ff9(0x143)](){const _0x16fc23=_0x111ff9;return this[_0x16fc23(0x150)];}[_0x111ff9(0xfb)](){requestAnimationFrame(()=>{const _0x5b2c05=_0xfecf;this[_0x5b2c05(0xe7)]();});}[_0x111ff9(0x119)](){const _0x46c3d2=_0x111ff9;this[_0x46c3d2(0x157)]&&this[_0x46c3d2(0x108)]&&(this[_0x46c3d2(0xf2)](),this[_0x46c3d2(0x157)][_0x46c3d2(0x129)]=!0x0,this[_0x46c3d2(0x108)][_0x46c3d2(0x15c)](),this[_0x46c3d2(0x108)][_0x46c3d2(0x114)]({'target':this[_0x46c3d2(0x157)][_0x46c3d2(0xda)],'limiter':document[_0x46c3d2(0x11b)](_0x46c3d2(0xe4))}));}[_0x111ff9(0x15f)](){const _0x14ef9a=_0x111ff9;this[_0x14ef9a(0x157)]&&this[_0x14ef9a(0x108)]&&(this[_0x14ef9a(0x157)][_0x14ef9a(0x129)]=!0x1,this[_0x14ef9a(0x108)][_0x14ef9a(0x125)]());}[_0x111ff9(0xf9)](){const _0x22e5b7=_0x111ff9;this[_0x22e5b7(0x150)][_0x22e5b7(0xf9)](),this[_0x22e5b7(0x15f)](),this[_0x22e5b7(0x149)](),this[_0x22e5b7(0x157)]&&(this[_0x22e5b7(0x157)][_0x22e5b7(0xf8)]=''),this[_0x22e5b7(0x108)]&&this[_0x22e5b7(0x108)][_0x22e5b7(0xf0)][_0x22e5b7(0xf9)]();}[_0x111ff9(0xef)](){const _0x3d1a15=_0x111ff9;this[_0x3d1a15(0xe1)]&&(this[_0x3d1a15(0xe1)][_0x3d1a15(0x15e)](),this[_0x3d1a15(0xe1)]=null),this[_0x3d1a15(0x157)]&&(this[_0x3d1a15(0x157)][_0x3d1a15(0xef)](),this[_0x3d1a15(0x157)]=null),this[_0x3d1a15(0x108)]&&(this[_0x3d1a15(0x108)][_0x3d1a15(0xef)](),this[_0x3d1a15(0x108)]=null);}[_0x111ff9(0xe7)](){const _0x54d496=_0x111ff9;if(!this[_0x54d496(0x130)])return;if(!this[_0x54d496(0x128)]())return void(this[_0x54d496(0xfd)]=!0x0);this[_0x54d496(0xfd)]=!0x1;const _0x384318=[...this[_0x54d496(0x14f)],...this[_0x54d496(0x150)]],_0x52492d=this[_0x54d496(0xd4)](),_0x425ee7=this[_0x54d496(0x153)](_0x52492d,_0x384318),_0x3998f5=_0x52492d[_0x54d496(0xce)];_0x3998f5&&this[_0x54d496(0xdb)](_0x3998f5),_0x52492d[_0x54d496(0x127)](),this[_0x54d496(0x100)](_0x384318,_0x425ee7);}[_0x111ff9(0x12a)](){const _0x319358=_0x111ff9;this[_0x319358(0x157)]=this[_0x319358(0xf3)](),this[_0x319358(0x108)]=this[_0x319358(0x10f)](),this[_0x319358(0x157)][_0x319358(0xff)](),this[_0x319358(0x130)][_0x319358(0x11f)](this[_0x319358(0x157)][_0x319358(0xda)]),this[_0x319358(0x157)]['on'](_0x319358(0x13d),()=>{const _0x1c9979=_0x319358;this[_0x1c9979(0x13c)]();}),_0x1bbdb8({'emitter':this[_0x319358(0x108)],'contextElements':[this[_0x319358(0x108)][_0x319358(0xda)],this[_0x319358(0x157)][_0x319358(0xda)]],'callback':()=>this[_0x319358(0x15f)](),'activator':()=>this[_0x319358(0x157)][_0x319358(0x129)]});}[_0x111ff9(0xf3)](){const _0x21e837=_0x111ff9,_0x37bbb6=new _0x3b35e0(this[_0x21e837(0xf5)]);_0x37bbb6[_0x21e837(0x12d)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x4c926e=[this[_0x21e837(0x12b)][_0x21e837(0x14a)][_0x21e837(0xd2)]];return this[_0x21e837(0x12b)][_0x21e837(0x14a)][_0x21e837(0x111)]&&_0x4c926e[_0x21e837(0x10b)](this[_0x21e837(0x12b)][_0x21e837(0x14a)][_0x21e837(0x111)]),_0x37bbb6[_0x21e837(0x155)]({'attributes':{'class':_0x4c926e}}),_0x37bbb6;}[_0x111ff9(0x10f)](){const _0x19a327=_0x111ff9,_0x181c08=new _0x22b64f(this[_0x19a327(0xf5)]);return _0x181c08[_0x19a327(0x155)]({'attributes':{'class':this[_0x19a327(0x12b)][_0x19a327(0x14a)][_0x19a327(0x11a)]}}),this[_0x19a327(0xe9)][_0x19a327(0x102)](_0x181c08),_0x181c08;}[_0x111ff9(0xf2)](){const _0xe08d53=_0x111ff9;if(this[_0xe08d53(0x108)]&&(this[_0xe08d53(0x108)][_0xe08d53(0xf0)][_0xe08d53(0xf9)](),this[_0xe08d53(0x150)][_0xe08d53(0x12e)]>0x0)){this[_0xe08d53(0x150)][_0xe08d53(0x126)](_0x2a299a=>{const _0x52d119=_0xe08d53;_0x2a299a[_0x52d119(0x118)]();});const _0x439f4b=new _0x5681e2(this[_0xe08d53(0xf5)]);_0x439f4b[_0xe08d53(0x116)]({'tag':_0xe08d53(0x123),'attributes':{'class':this[_0xe08d53(0x12b)][_0xe08d53(0x14a)][_0xe08d53(0x11d)]},'children':this[_0xe08d53(0x150)]}),this[_0xe08d53(0x108)][_0xe08d53(0xf0)][_0xe08d53(0x102)](_0x439f4b);}}[_0x111ff9(0x13c)](){const _0x183851=_0x111ff9;this[_0x183851(0x157)][_0x183851(0x129)]?this[_0x183851(0x15f)]():this[_0x183851(0x119)]();}[_0x111ff9(0x149)](){const _0x42c01f=_0x111ff9,_0x3beac2=this[_0x42c01f(0x150)][_0x42c01f(0x12e)]>0x0;this[_0x42c01f(0x157)]?.[_0x42c01f(0xda)]&&(this[_0x42c01f(0x157)][_0x42c01f(0xda)][_0x42c01f(0x113)][_0x42c01f(0x14b)]=_0x3beac2?'':_0x42c01f(0xed));}[_0x111ff9(0xec)](){const _0xbe8ccc=_0x111ff9;this[_0xbe8ccc(0x157)]?.[_0xbe8ccc(0x129)]&&this[_0xbe8ccc(0x108)]?.[_0xbe8ccc(0xf6)]&&this[_0xbe8ccc(0x157)][_0xbe8ccc(0xda)]&&this[_0xbe8ccc(0x108)][_0xbe8ccc(0x114)]({'target':this[_0xbe8ccc(0x157)][_0xbe8ccc(0xda)],'limiter':document[_0xbe8ccc(0x11b)](_0xbe8ccc(0xe4))});}[_0x111ff9(0x106)](_0x570ac3){const _0x4feaf2=_0x111ff9,_0x2d5d5c=this[_0x4feaf2(0x130)]?.[_0x4feaf2(0x146)][_0x4feaf2(0x10e)]()||_0x4feaf2(0x123),_0x5221fd=this[_0x4feaf2(0x130)]?.[_0x4feaf2(0x15d)];if(_0x5221fd){const _0x4e7bfc=_0x5221fd[0x0]||'',_0x5e15a0=_0x570ac3[_0x4feaf2(0x11b)]('.'+_0x4e7bfc),_0xcd43ba=_0x570ac3[_0x4feaf2(0x11b)](_0x2d5d5c);return _0x5e15a0||_0xcd43ba||_0x570ac3;}return _0x570ac3[_0x4feaf2(0x11b)](_0x2d5d5c)||_0x570ac3;}[_0x111ff9(0xfe)](){const _0x34798a=_0x111ff9,_0x2ee952=this[_0x34798a(0xd8)]?.[_0x34798a(0xda)]||this[_0x34798a(0x130)];if(!_0x2ee952)return an;const _0x20b5a4=window[_0x34798a(0xd7)](_0x2ee952)[_0x34798a(0xd0)];if(_0x34798a(0x142)===_0x20b5a4||_0x34798a(0xe8)===_0x20b5a4||!_0x20b5a4){const _0x239768=_0x2ee952[_0x34798a(0x136)];if(_0x239768){const _0x1a1e3a=window[_0x34798a(0xd7)](_0x239768);return _0x34798a(0x142)!==_0x1a1e3a[_0x34798a(0xd0)]?_0x1a1e3a[_0x34798a(0xd0)]:an;}return an;}return _0x20b5a4;}[_0x111ff9(0xd1)](_0xb0d9d5,_0x5647a0){const _0x4143a4=_0x111ff9;this[_0x4143a4(0x12b)][_0x4143a4(0x14a)][_0x4143a4(0x147)]&&_0xb0d9d5[_0x4143a4(0x15d)][_0x4143a4(0x102)](this[_0x4143a4(0x12b)][_0x4143a4(0x14a)][_0x4143a4(0x147)]),_0xb0d9d5[_0x4143a4(0x113)][_0x4143a4(0xd0)]=_0x5647a0,_0xb0d9d5[_0x4143a4(0x113)][_0x4143a4(0xdc)]=_0x4143a4(0xe6),_0xb0d9d5[_0x4143a4(0x113)][_0x4143a4(0xf4)]=_0x4143a4(0xdf),_0xb0d9d5[_0x4143a4(0x113)][_0x4143a4(0x148)]=_0x4143a4(0xdf),_0xb0d9d5[_0x4143a4(0x113)][_0x4143a4(0x154)]='0',_0xb0d9d5[_0x4143a4(0x113)][_0x4143a4(0x138)]=_0x4143a4(0xed),_0xb0d9d5[_0x4143a4(0x113)][_0x4143a4(0xe2)]='-1',_0xb0d9d5[_0x4143a4(0x113)][_0x4143a4(0x13f)]=_0x4143a4(0x158),_0xb0d9d5[_0x4143a4(0x113)][_0x4143a4(0x14b)]=_0x4143a4(0x15a),_0xb0d9d5[_0x4143a4(0x113)][_0x4143a4(0x133)]=_0x4143a4(0xcc);}[_0x111ff9(0xdb)](_0x171b62){const _0x45aa4d=_0x111ff9;_0x171b62[_0x45aa4d(0x126)](({element:_0x425bad,originalDisplay:_0x273c65,originalVisibility:_0x490769})=>{const _0x4a6fab=_0x45aa4d;_0x425bad[_0x4a6fab(0x113)][_0x4a6fab(0x14b)]=_0x273c65,_0x425bad[_0x4a6fab(0x113)][_0x4a6fab(0x13f)]=_0x490769;});}[_0x111ff9(0x13b)](_0x18f7b0){const _0x5bf2fb=_0x111ff9,_0x2d7a3a=[];let _0x54e4d9=_0x18f7b0;for(;_0x54e4d9&&_0x54e4d9!==document[_0x5bf2fb(0xcf)];){const _0x207086=window[_0x5bf2fb(0xd7)](_0x54e4d9);_0x5bf2fb(0xed)!==_0x207086[_0x5bf2fb(0x14b)]&&_0x5bf2fb(0x105)!==_0x207086[_0x5bf2fb(0x13f)]||(_0x2d7a3a[_0x5bf2fb(0x10b)]({'element':_0x54e4d9,'originalDisplay':_0x54e4d9[_0x5bf2fb(0x113)][_0x5bf2fb(0x14b)],'originalVisibility':_0x54e4d9[_0x5bf2fb(0x113)][_0x5bf2fb(0x13f)]}),_0x54e4d9[_0x5bf2fb(0x113)][_0x5bf2fb(0x14b)]=_0x5bf2fb(0xd3),_0x54e4d9[_0x5bf2fb(0x113)][_0x5bf2fb(0x13f)]=_0x5bf2fb(0x10a)),_0x54e4d9=_0x54e4d9[_0x5bf2fb(0x136)];}return _0x2d7a3a;}[_0x111ff9(0x14c)](){const _0x210b7b=_0x111ff9;let _0x372c7,_0x2a6a67;return this[_0x210b7b(0xd8)]?.[_0x210b7b(0xda)]?(_0x372c7=this[_0x210b7b(0xd8)][_0x210b7b(0xda)][_0x210b7b(0x13a)](!0x0),_0x2a6a67=this[_0x210b7b(0x106)](_0x372c7)):(_0x372c7=document[_0x210b7b(0xea)](_0x210b7b(0x123)),_0x2a6a67=_0x372c7),{'calculationContainer':_0x372c7,'targetContainer':_0x2a6a67};}[_0x111ff9(0xd4)](){const _0x8110c1=_0x111ff9,{calculationContainer:_0x3ee2aa,targetContainer:_0x236c0f}=this[_0x8110c1(0x14c)](),_0x29884b=this[_0x8110c1(0xfe)]();this[_0x8110c1(0xd1)](_0x3ee2aa,_0x29884b);const _0x324da8=this[_0x8110c1(0xd8)]?.[_0x8110c1(0xda)]||this[_0x8110c1(0x130)],_0x59aa7a=_0x324da8?.[_0x8110c1(0x136)];_0x59aa7a?_0x59aa7a[_0x8110c1(0x11f)](_0x3ee2aa):document[_0x8110c1(0xcf)][_0x8110c1(0x11f)](_0x3ee2aa),_0x3ee2aa[_0x8110c1(0x101)]=_0x236c0f;const _0x1da173=this[_0x8110c1(0x13b)](_0x59aa7a||null);return _0x3ee2aa[_0x8110c1(0xd9)],_0x3ee2aa[_0x8110c1(0xce)]=_0x1da173,_0x3ee2aa;}[_0x111ff9(0x153)](_0x5870b5,_0x1f570b){const _0x104e7d=_0x111ff9,_0x3798e7=_0x5870b5[_0x104e7d(0x101)]||_0x5870b5,_0x47ebb8=[],{rowCount:_0x1abcb4}=this[_0x104e7d(0x151)](_0x3798e7,_0x1f570b);if(_0x1abcb4<=this[_0x104e7d(0x12b)][_0x104e7d(0x112)])return _0x47ebb8;const _0x7f834a=_0x1f570b[_0x104e7d(0xe5)]();for(;_0x7f834a[_0x104e7d(0x12e)]>0x0;){if(this[_0x104e7d(0x117)](_0x5870b5,_0x3798e7,_0x7f834a)){const _0x3fdf44=_0x1f570b[_0x104e7d(0x124)](_0x40625=>!_0x7f834a[_0x104e7d(0x14e)](_0x40625));_0x47ebb8[_0x104e7d(0x10b)](..._0x3fdf44);break;}if(!_0x7f834a[_0x104e7d(0x135)]())break;}return _0x47ebb8;}[_0x111ff9(0x151)](_0x3c4349,_0x1cfb0c){const _0x3f2b18=_0x111ff9;_0x3c4349[_0x3f2b18(0x139)]='',_0x1cfb0c[_0x3f2b18(0x126)](_0x149f45=>{const _0x531dc5=_0x3f2b18;if(_0x149f45[_0x531dc5(0xda)]){const _0x185d31=_0x149f45[_0x531dc5(0xda)][_0x531dc5(0x13a)](!0x0);_0x3c4349[_0x531dc5(0x11f)](_0x185d31);}}),_0x3c4349[_0x3f2b18(0xd9)];const _0x315f67=_0x3c4349[_0x3f2b18(0xde)],_0x4beab8=[];return Array[_0x3f2b18(0xee)](_0x315f67)[_0x3f2b18(0x126)](_0x1d50cc=>{const _0x5ed2e5=_0x3f2b18,_0x25e62a=_0x1d50cc[_0x5ed2e5(0xfa)]()[_0x5ed2e5(0xf4)];_0x4beab8[_0x5ed2e5(0x145)](_0x24a314=>Math[_0x5ed2e5(0x159)](_0x24a314-_0x25e62a)<this[_0x5ed2e5(0x12b)][_0x5ed2e5(0x110)])||_0x4beab8[_0x5ed2e5(0x10b)](_0x25e62a);}),{'rowCount':_0x4beab8[_0x3f2b18(0x12e)]};}[_0x111ff9(0x137)](){const _0x1af1bb=_0x111ff9,_0x12d9d4=document[_0x1af1bb(0xea)](_0x1af1bb(0x13e));return _0x12d9d4[_0x1af1bb(0x120)]=this[_0x1af1bb(0x12b)][_0x1af1bb(0x14a)][_0x1af1bb(0xd2)],this[_0x1af1bb(0x12b)][_0x1af1bb(0x14a)][_0x1af1bb(0x111)]&&_0x12d9d4[_0x1af1bb(0x15d)][_0x1af1bb(0x102)](this[_0x1af1bb(0x12b)][_0x1af1bb(0x14a)][_0x1af1bb(0x111)]),_0x12d9d4[_0x1af1bb(0xcd)]=_0x1af1bb(0xf1),_0x12d9d4;}[_0x111ff9(0x117)](_0x8b99a4,_0x4d95f3,_0x158c75){const _0x287e76=_0x111ff9;this[_0x287e76(0x151)](_0x4d95f3,_0x158c75);const _0x436322=this[_0x287e76(0x137)]();_0x8b99a4[_0x287e76(0x11f)](_0x436322),_0x8b99a4[_0x287e76(0xd9)];const _0x57487a=[..._0x4d95f3[_0x287e76(0xde)],_0x436322],_0x19db44=[];_0x57487a[_0x287e76(0x126)](_0xd6f196=>{const _0x228745=_0x287e76,_0x16a9f3=_0xd6f196[_0x228745(0xfa)]()[_0x228745(0xf4)];_0x19db44[_0x228745(0x145)](_0x5b7e98=>Math[_0x228745(0x159)](_0x5b7e98-_0x16a9f3)<this[_0x228745(0x12b)][_0x228745(0x110)])||_0x19db44[_0x228745(0x10b)](_0x16a9f3);});const _0x46e364=_0x19db44[_0x287e76(0x12e)];return _0x436322[_0x287e76(0x127)](),_0x46e364<=this[_0x287e76(0x12b)][_0x287e76(0x112)];}[_0x111ff9(0x12f)](_0x36bc2e,_0x1a976b){const _0x2c556f=_0x111ff9;this[_0x2c556f(0x14f)][_0x2c556f(0xf9)](),this[_0x2c556f(0x150)][_0x2c556f(0xf9)](),_0x36bc2e[_0x2c556f(0x126)](_0x290305=>{const _0x49152a=_0x2c556f;_0x1a976b[_0x49152a(0x14e)](_0x290305)?this[_0x49152a(0x150)][_0x49152a(0x102)](_0x290305):this[_0x49152a(0x14f)][_0x49152a(0x102)](_0x290305);});}[_0x111ff9(0x131)](_0x28d18d){const _0x4bd572=_0x111ff9;if(_0x28d18d>0x0&&!this[_0x4bd572(0x157)]&&this[_0x4bd572(0x12a)](),_0x28d18d>0x0&&this[_0x4bd572(0x157)]){const _0x4c98c3=''+this[_0x4bd572(0x12b)][_0x4bd572(0x141)]+(_0x28d18d<0x63?_0x28d18d:'99');this[_0x4bd572(0x157)][_0x4bd572(0xf8)]=_0x4c98c3;}this[_0x4bd572(0xf2)](),this[_0x4bd572(0x149)](),this[_0x4bd572(0xec)]();}[_0x111ff9(0x100)](_0x4d0afc,_0x1d7906){const _0x1a2595=_0x111ff9;this[_0x1a2595(0x12f)](_0x4d0afc,_0x1d7906),this[_0x1a2595(0x131)](_0x1d7906[_0x1a2595(0x12e)]);}[_0x111ff9(0x15b)](){const _0x12bdde=_0x111ff9;this[_0x12bdde(0x130)]&&_0x12bdde(0x11c)!=typeof IntersectionObserver&&(this[_0x12bdde(0xe1)]=new IntersectionObserver(_0x3e5dee=>{const _0x503787=_0x12bdde;_0x3e5dee[0x0][_0x503787(0x152)]&&this[_0x503787(0xfd)]&&requestAnimationFrame(()=>{const _0x5be96d=_0x503787;this[_0x5be96d(0xe7)]();});},{'threshold':0.01,'rootMargin':_0x12bdde(0x115)}),this[_0x12bdde(0xe1)][_0x12bdde(0x122)](this[_0x12bdde(0x130)]));}[_0x111ff9(0x128)](){const _0x2a6bde=_0x111ff9;if(!this[_0x2a6bde(0x130)])return!0x1;if(!this[_0x2a6bde(0x130)][_0x2a6bde(0xeb)])return!0x1;const _0x320712=this[_0x2a6bde(0x130)][_0x2a6bde(0xfa)]();if(0x0===_0x320712[_0x2a6bde(0xd0)]||0x0===_0x320712[_0x2a6bde(0x14d)])return!0x1;const _0x59f70d=window[_0x2a6bde(0x140)]||document[_0x2a6bde(0x134)][_0x2a6bde(0x156)],_0x5180b9=window[_0x2a6bde(0x104)]||document[_0x2a6bde(0x134)][_0x2a6bde(0x132)],_0xa4a1f4=0xc8;return _0x320712[_0x2a6bde(0x12c)]>=-0xc8&&_0x320712[_0x2a6bde(0xf4)]<=_0x59f70d+_0xa4a1f4&&_0x320712[_0x2a6bde(0xd5)]>=-0xc8&&_0x320712[_0x2a6bde(0x148)]<=_0x5180b9+_0xa4a1f4;}}
23
+ function _0x1f73(){const _0x5dcd64=['_containerElement','visible\x20!important','border-box','0px','_targetContainer','controlsButton','setContainerElement','show','execute','querySelector','documentElement','_intersectionObserver','boxSizing','getComputedStyle','clientWidth','innerWidth','9mJUBvX','style','2029050EidvJc','.ck-ai-chat','_createCalculationContainer','classList','some','_createShowMoreButtonView','_parentView','_createShowMoreBalloonPanelView','maxVisibleRows','+\x201','showMoreBalloon','_handleShowMoreButtonClick','calculationContainer','add','565453kgfVTw','showMoreButton','disconnect','_findTargetContainer','140316zgGCYD','-9999px','_setupVisibilityObserver','slice','opacity','remove','_bodyCollection','_calculateOverflowInContainer','isIntersecting','none','length','visible','ck-calculation-container','disableAnimationOnEnter','_applyOverflowResults','getBoundingClientRect','isOn','_isContainerVisible','_showMoreButtonView','_createShowMoreButton','div','showMoreButtonView','position','rowDetectionTolerance','width','cssClasses','cloneNode','block\x20!important','undefined','push','children','_updateShowMoreButtonVisibility','pop','_pendingCalculation','appendChild','clear','_createMockButton','textContent','label','1832650CDHAuA','1166mvZlpT','reorganizeChips','zIndex','render','from','isConnected','right','absolute','abs','content','visibility','offsetWidth','hideBalloonPanel','observe','_showMoreBalloonPanelView','set','height','_distributeChips','_ancestorsToRestore','button','_updateOverflowUI','hide','229321mwfctx','filter','pointerEvents','body','destroy','_calculateContainerWidth','3075140qPOUBN','_createContainerElements','3855yYmOno','isVisible','block','auto','display','parentElement','_overflowChips','_renderChipsAndCountRows','overflowContainer','overflowChips','setTemplate','_updateBalloonContent','element','forEach','toLowerCase','innerHTML','tagName','_applyCalculationStyles','hidden','_makeAncestorsVisible','40aEfmHK','pin','2012RFafgN','extendTemplate','left','top','50px','_locale','_restoreAncestorVisibility','innerHeight','createElement','showMoreLabelPrefix','includes','_testButtonFit','_checkAndHandleOverflow','clientHeight','_visibleChips','showBalloonPanel','6cOZAha','300px','className','_repinBalloonPanel','_config','bottom'];_0x1f73=function(){return _0x5dcd64;};return _0x1f73();}const _0x5a8b27=_0x1969;(function(_0x519701,_0x4bab05){const _0x2d5793=_0x1969,_0x58d934=_0x519701();while(!![]){try{const _0x46dbca=-parseInt(_0x2d5793(0x196))/0x1*(parseInt(_0x2d5793(0x1c4))/0x2)+parseInt(_0x2d5793(0x19e))/0x3*(-parseInt(_0x2d5793(0x1b4))/0x4)+parseInt(_0x2d5793(0x19c))/0x5+-parseInt(_0x2d5793(0x1dc))/0x6+-parseInt(_0x2d5793(0x1ea))/0x7*(-parseInt(_0x2d5793(0x1b2))/0x8)+parseInt(_0x2d5793(0x1da))/0x9*(-parseInt(_0x2d5793(0x17f))/0xa)+parseInt(_0x2d5793(0x180))/0xb*(parseInt(_0x2d5793(0x1ee))/0xc);if(_0x46dbca===_0x4bab05)break;else _0x58d934['push'](_0x58d934['shift']());}catch(_0xfb9cb6){_0x58d934['push'](_0x58d934['shift']());}}}(_0x1f73,0x624bf));function _0x1969(_0x306f07,_0x2a8b3e){const _0x1f73db=_0x1f73();return _0x1969=function(_0x196913,_0x21e163){_0x196913=_0x196913-0x173;let _0x57a0ff=_0x1f73db[_0x196913];return _0x57a0ff;},_0x1969(_0x306f07,_0x2a8b3e);}import{View as _0x297976,BalloonPanelView as _0x202223,ButtonView as _0xbcece7,clickOutsideHandler as _0x13521f}from'ckeditor5/src/ui.js';import{Collection as _0x595fb7}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x5a8b27(0x1c5);export class AIChatChipsOverflowManager{[_0x5a8b27(0x1b9)];[_0x5a8b27(0x1c8)];[_0x5a8b27(0x1c2)];[_0x5a8b27(0x1a4)];[_0x5a8b27(0x200)]=null;[_0x5a8b27(0x18e)]=null;[_0x5a8b27(0x1ca)]=null;[_0x5a8b27(0x1f4)];[_0x5a8b27(0x1e2)]=null;[_0x5a8b27(0x1d5)]=null;[_0x5a8b27(0x179)]=!0x1;constructor(_0x3c9b41,_0x26f870,_0x5c89d3,_0x10b65d,_0x350f47){const _0x125804=_0x5a8b27;this[_0x125804(0x1b9)]=_0x3c9b41,this[_0x125804(0x1c2)]=_0x26f870,this[_0x125804(0x1c8)]={...hn,..._0x5c89d3,'cssClasses':{'controlsButton':'','calculationContainer':_0x125804(0x1fa),..._0x5c89d3[_0x125804(0x207)]}},this[_0x125804(0x1a4)]=new _0x595fb7(),this[_0x125804(0x1f4)]=_0x10b65d,this[_0x125804(0x1e2)]=_0x350f47||null;}[_0x5a8b27(0x1d0)](_0x59e15d){const _0x17d003=_0x5a8b27;this[_0x17d003(0x1d5)]&&(this[_0x17d003(0x1d5)][_0x17d003(0x1ec)](),this[_0x17d003(0x1d5)]=null),this[_0x17d003(0x1ca)]=_0x59e15d,this[_0x17d003(0x1f0)]();}get[_0x5a8b27(0x203)](){const _0x12a737=_0x5a8b27;return this[_0x12a737(0x200)];}get[_0x5a8b27(0x1a7)](){const _0x236b0b=_0x5a8b27;return this[_0x236b0b(0x1a4)];}[_0x5a8b27(0x181)](){requestAnimationFrame(()=>{const _0x1a3a50=_0x1969;this[_0x1a3a50(0x1c0)]();});}[_0x5a8b27(0x1c3)](){const _0x54b887=_0x5a8b27;this[_0x54b887(0x200)]&&this[_0x54b887(0x18e)]&&(this[_0x54b887(0x1a9)](),this[_0x54b887(0x200)][_0x54b887(0x1fe)]=!0x0,this[_0x54b887(0x18e)][_0x54b887(0x1d1)](),this[_0x54b887(0x18e)][_0x54b887(0x1b3)]({'target':this[_0x54b887(0x200)][_0x54b887(0x1aa)],'limiter':document[_0x54b887(0x1d3)](_0x54b887(0x1dd))}));}[_0x5a8b27(0x18c)](){const _0x44a2a2=_0x5a8b27;this[_0x44a2a2(0x200)]&&this[_0x44a2a2(0x18e)]&&(this[_0x44a2a2(0x200)][_0x44a2a2(0x1fe)]=!0x1,this[_0x44a2a2(0x18e)][_0x44a2a2(0x195)]());}[_0x5a8b27(0x17b)](){const _0x4fbf06=_0x5a8b27;this[_0x4fbf06(0x1a4)][_0x4fbf06(0x17b)](),this[_0x4fbf06(0x18c)](),this[_0x4fbf06(0x177)](),this[_0x4fbf06(0x200)]&&(this[_0x4fbf06(0x200)][_0x4fbf06(0x17e)]=''),this[_0x4fbf06(0x18e)]&&this[_0x4fbf06(0x18e)][_0x4fbf06(0x189)][_0x4fbf06(0x17b)]();}[_0x5a8b27(0x19a)](){const _0x154423=_0x5a8b27;this[_0x154423(0x1d5)]&&(this[_0x154423(0x1d5)][_0x154423(0x1ec)](),this[_0x154423(0x1d5)]=null),this[_0x154423(0x200)]&&(this[_0x154423(0x200)][_0x154423(0x19a)](),this[_0x154423(0x200)]=null),this[_0x154423(0x18e)]&&(this[_0x154423(0x18e)][_0x154423(0x19a)](),this[_0x154423(0x18e)]=null);}[_0x5a8b27(0x1c0)](){const _0x186698=_0x5a8b27;if(!this[_0x186698(0x1ca)])return;if(!this[_0x186698(0x1ff)]())return void(this[_0x186698(0x179)]=!0x0);this[_0x186698(0x179)]=!0x1;const _0x3ce11b=[...this[_0x186698(0x1c2)],...this[_0x186698(0x1a4)]],_0x1c25a2=this[_0x186698(0x1de)](),_0x4e4afd=this[_0x186698(0x1f5)](_0x1c25a2,_0x3ce11b),_0xdc692b=_0x1c25a2[_0x186698(0x192)];_0xdc692b&&this[_0x186698(0x1ba)](_0xdc692b),_0x1c25a2[_0x186698(0x1f3)](),this[_0x186698(0x1fc)](_0x3ce11b,_0x4e4afd);}[_0x5a8b27(0x201)](){const _0x7cb62d=_0x5a8b27;this[_0x7cb62d(0x200)]=this[_0x7cb62d(0x1e1)](),this[_0x7cb62d(0x18e)]=this[_0x7cb62d(0x1e3)](),this[_0x7cb62d(0x200)][_0x7cb62d(0x183)](),this[_0x7cb62d(0x1ca)][_0x7cb62d(0x17a)](this[_0x7cb62d(0x200)][_0x7cb62d(0x1aa)]),this[_0x7cb62d(0x200)]['on'](_0x7cb62d(0x1d2),()=>{const _0x3eb1cd=_0x7cb62d;this[_0x3eb1cd(0x1e7)]();}),_0x13521f({'emitter':this[_0x7cb62d(0x18e)],'contextElements':[this[_0x7cb62d(0x18e)][_0x7cb62d(0x1aa)],this[_0x7cb62d(0x200)][_0x7cb62d(0x1aa)]],'callback':()=>this[_0x7cb62d(0x18c)](),'activator':()=>this[_0x7cb62d(0x200)][_0x7cb62d(0x1fe)]});}[_0x5a8b27(0x1e1)](){const _0x2ed94f=_0x5a8b27,_0x1803ce=new _0xbcece7(this[_0x2ed94f(0x1b9)]);_0x1803ce[_0x2ed94f(0x18f)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x16186b=[this[_0x2ed94f(0x1c8)][_0x2ed94f(0x207)][_0x2ed94f(0x1eb)]];return this[_0x2ed94f(0x1c8)][_0x2ed94f(0x207)][_0x2ed94f(0x1cf)]&&_0x16186b[_0x2ed94f(0x175)](this[_0x2ed94f(0x1c8)][_0x2ed94f(0x207)][_0x2ed94f(0x1cf)]),_0x1803ce[_0x2ed94f(0x1b5)]({'attributes':{'class':_0x16186b}}),_0x1803ce;}[_0x5a8b27(0x1e3)](){const _0x359c7d=_0x5a8b27,_0x23641d=new _0x202223(this[_0x359c7d(0x1b9)]);return _0x23641d[_0x359c7d(0x1b5)]({'attributes':{'class':this[_0x359c7d(0x1c8)][_0x359c7d(0x207)][_0x359c7d(0x1e6)]}}),this[_0x359c7d(0x1f4)][_0x359c7d(0x1e9)](_0x23641d),_0x23641d;}[_0x5a8b27(0x1a9)](){const _0x578d6a=_0x5a8b27;if(this[_0x578d6a(0x18e)]&&(this[_0x578d6a(0x18e)][_0x578d6a(0x189)][_0x578d6a(0x17b)](),this[_0x578d6a(0x1a4)][_0x578d6a(0x1f8)]>0x0)){this[_0x578d6a(0x1a4)][_0x578d6a(0x1ab)](_0x4349dd=>{const _0x27a573=_0x578d6a;_0x4349dd[_0x27a573(0x1fb)]();});const _0x14d65f=new _0x297976(this[_0x578d6a(0x1b9)]);_0x14d65f[_0x578d6a(0x1a8)]({'tag':_0x578d6a(0x202),'attributes':{'class':this[_0x578d6a(0x1c8)][_0x578d6a(0x207)][_0x578d6a(0x1a6)]},'children':this[_0x578d6a(0x1a4)]}),this[_0x578d6a(0x18e)][_0x578d6a(0x189)][_0x578d6a(0x1e9)](_0x14d65f);}}[_0x5a8b27(0x1e7)](){const _0x42f6cd=_0x5a8b27;this[_0x42f6cd(0x200)][_0x42f6cd(0x1fe)]?this[_0x42f6cd(0x18c)]():this[_0x42f6cd(0x1c3)]();}[_0x5a8b27(0x177)](){const _0x226fb2=_0x5a8b27,_0x1af79c=this[_0x226fb2(0x1a4)][_0x226fb2(0x1f8)]>0x0;this[_0x226fb2(0x200)]?.[_0x226fb2(0x1aa)]&&(this[_0x226fb2(0x200)][_0x226fb2(0x1aa)][_0x226fb2(0x1db)][_0x226fb2(0x1a2)]=_0x1af79c?'':_0x226fb2(0x1f7));}[_0x5a8b27(0x1c7)](){const _0x1bf898=_0x5a8b27;this[_0x1bf898(0x200)]?.[_0x1bf898(0x1fe)]&&this[_0x1bf898(0x18e)]?.[_0x1bf898(0x19f)]&&this[_0x1bf898(0x200)][_0x1bf898(0x1aa)]&&this[_0x1bf898(0x18e)][_0x1bf898(0x1b3)]({'target':this[_0x1bf898(0x200)][_0x1bf898(0x1aa)],'limiter':document[_0x1bf898(0x1d3)](_0x1bf898(0x1dd))});}[_0x5a8b27(0x1ed)](_0xf8f48c){const _0x1d6e83=_0x5a8b27,_0x20d30f=this[_0x1d6e83(0x1ca)]?.[_0x1d6e83(0x1ae)][_0x1d6e83(0x1ac)]()||_0x1d6e83(0x202),_0x1117f3=this[_0x1d6e83(0x1ca)]?.[_0x1d6e83(0x1df)];if(_0x1117f3){const _0xffe9aa=_0x1117f3[0x0]||'',_0x1a272f=_0xf8f48c[_0x1d6e83(0x1d3)]('.'+_0xffe9aa),_0x592ba4=_0xf8f48c[_0x1d6e83(0x1d3)](_0x20d30f);return _0x1a272f||_0x592ba4||_0xf8f48c;}return _0xf8f48c[_0x1d6e83(0x1d3)](_0x20d30f)||_0xf8f48c;}[_0x5a8b27(0x19b)](){const _0x189c17=_0x5a8b27,_0x7dedde=this[_0x189c17(0x1e2)]?.[_0x189c17(0x1aa)]||this[_0x189c17(0x1ca)];if(!_0x7dedde)return an;const _0x41ced5=window[_0x189c17(0x1d7)](_0x7dedde)[_0x189c17(0x206)];if(_0x189c17(0x1a1)===_0x41ced5||_0x189c17(0x1cd)===_0x41ced5||!_0x41ced5){const _0x27f14b=_0x7dedde[_0x189c17(0x1a3)];if(_0x27f14b){const _0x5643d9=window[_0x189c17(0x1d7)](_0x27f14b);return _0x189c17(0x1a1)!==_0x5643d9[_0x189c17(0x206)]?_0x5643d9[_0x189c17(0x206)]:an;}return an;}return _0x41ced5;}[_0x5a8b27(0x1af)](_0x38b547,_0x49b6eb){const _0x160e36=_0x5a8b27;this[_0x160e36(0x1c8)][_0x160e36(0x207)][_0x160e36(0x1e8)]&&_0x38b547[_0x160e36(0x1df)][_0x160e36(0x1e9)](this[_0x160e36(0x1c8)][_0x160e36(0x207)][_0x160e36(0x1e8)]),_0x38b547[_0x160e36(0x1db)][_0x160e36(0x206)]=_0x49b6eb,_0x38b547[_0x160e36(0x1db)][_0x160e36(0x204)]=_0x160e36(0x187),_0x38b547[_0x160e36(0x1db)][_0x160e36(0x1b7)]=_0x160e36(0x1ef),_0x38b547[_0x160e36(0x1db)][_0x160e36(0x1b6)]=_0x160e36(0x1ef),_0x38b547[_0x160e36(0x1db)][_0x160e36(0x1f2)]='0',_0x38b547[_0x160e36(0x1db)][_0x160e36(0x198)]=_0x160e36(0x1f7),_0x38b547[_0x160e36(0x1db)][_0x160e36(0x182)]='-1',_0x38b547[_0x160e36(0x1db)][_0x160e36(0x18a)]=_0x160e36(0x1cb),_0x38b547[_0x160e36(0x1db)][_0x160e36(0x1a2)]=_0x160e36(0x173),_0x38b547[_0x160e36(0x1db)][_0x160e36(0x1d6)]=_0x160e36(0x1cc);}[_0x5a8b27(0x1ba)](_0x402ca4){const _0x3968cd=_0x5a8b27;_0x402ca4[_0x3968cd(0x1ab)](({element:_0x4b10b8,originalDisplay:_0x56ae2a,originalVisibility:_0x10232c})=>{const _0x50a72f=_0x3968cd;_0x4b10b8[_0x50a72f(0x1db)][_0x50a72f(0x1a2)]=_0x56ae2a,_0x4b10b8[_0x50a72f(0x1db)][_0x50a72f(0x18a)]=_0x10232c;});}[_0x5a8b27(0x1b1)](_0x4bfac8){const _0x1ce5d0=_0x5a8b27,_0x4447a4=[];let _0x2713f6=_0x4bfac8;for(;_0x2713f6&&_0x2713f6!==document[_0x1ce5d0(0x199)];){const _0x3192e4=window[_0x1ce5d0(0x1d7)](_0x2713f6);_0x1ce5d0(0x1f7)!==_0x3192e4[_0x1ce5d0(0x1a2)]&&_0x1ce5d0(0x1b0)!==_0x3192e4[_0x1ce5d0(0x18a)]||(_0x4447a4[_0x1ce5d0(0x175)]({'element':_0x2713f6,'originalDisplay':_0x2713f6[_0x1ce5d0(0x1db)][_0x1ce5d0(0x1a2)],'originalVisibility':_0x2713f6[_0x1ce5d0(0x1db)][_0x1ce5d0(0x18a)]}),_0x2713f6[_0x1ce5d0(0x1db)][_0x1ce5d0(0x1a2)]=_0x1ce5d0(0x1a0),_0x2713f6[_0x1ce5d0(0x1db)][_0x1ce5d0(0x18a)]=_0x1ce5d0(0x1f9)),_0x2713f6=_0x2713f6[_0x1ce5d0(0x1a3)];}return _0x4447a4;}[_0x5a8b27(0x19d)](){const _0x3a4624=_0x5a8b27;let _0x166ce3,_0x2d6898;return this[_0x3a4624(0x1e2)]?.[_0x3a4624(0x1aa)]?(_0x166ce3=this[_0x3a4624(0x1e2)][_0x3a4624(0x1aa)][_0x3a4624(0x208)](!0x0),_0x2d6898=this[_0x3a4624(0x1ed)](_0x166ce3)):(_0x166ce3=document[_0x3a4624(0x1bc)](_0x3a4624(0x202)),_0x2d6898=_0x166ce3),{'calculationContainer':_0x166ce3,'targetContainer':_0x2d6898};}[_0x5a8b27(0x1de)](){const _0x23d7a1=_0x5a8b27,{calculationContainer:_0x1ca691,targetContainer:_0x39947f}=this[_0x23d7a1(0x19d)](),_0x338314=this[_0x23d7a1(0x19b)]();this[_0x23d7a1(0x1af)](_0x1ca691,_0x338314);const _0x5a0c3f=this[_0x23d7a1(0x1e2)]?.[_0x23d7a1(0x1aa)]||this[_0x23d7a1(0x1ca)],_0x204fc1=_0x5a0c3f?.[_0x23d7a1(0x1a3)];_0x204fc1?_0x204fc1[_0x23d7a1(0x17a)](_0x1ca691):document[_0x23d7a1(0x199)][_0x23d7a1(0x17a)](_0x1ca691),_0x1ca691[_0x23d7a1(0x1ce)]=_0x39947f;const _0x4de999=this[_0x23d7a1(0x1b1)](_0x204fc1||null);return _0x1ca691[_0x23d7a1(0x18b)],_0x1ca691[_0x23d7a1(0x192)]=_0x4de999,_0x1ca691;}[_0x5a8b27(0x1f5)](_0x299d17,_0x3eb88a){const _0x468ab9=_0x5a8b27,_0x593b4e=_0x299d17[_0x468ab9(0x1ce)]||_0x299d17,_0xdb0d8b=[],{rowCount:_0x26d9ab}=this[_0x468ab9(0x1a5)](_0x593b4e,_0x3eb88a);if(_0x26d9ab<=this[_0x468ab9(0x1c8)][_0x468ab9(0x1e4)])return _0xdb0d8b;const _0x212850=_0x3eb88a[_0x468ab9(0x1f1)]();for(;_0x212850[_0x468ab9(0x1f8)]>0x0;){if(this[_0x468ab9(0x1bf)](_0x299d17,_0x593b4e,_0x212850)){const _0x5f1d49=_0x3eb88a[_0x468ab9(0x197)](_0x5a6f45=>!_0x212850[_0x468ab9(0x1be)](_0x5a6f45));_0xdb0d8b[_0x468ab9(0x175)](..._0x5f1d49);break;}if(!_0x212850[_0x468ab9(0x178)]())break;}return _0xdb0d8b;}[_0x5a8b27(0x1a5)](_0x1573be,_0x552cad){const _0x393cc1=_0x5a8b27;_0x1573be[_0x393cc1(0x1ad)]='',_0x552cad[_0x393cc1(0x1ab)](_0x149e56=>{const _0x1f5747=_0x393cc1;if(_0x149e56[_0x1f5747(0x1aa)]){const _0x260b18=_0x149e56[_0x1f5747(0x1aa)][_0x1f5747(0x208)](!0x0);_0x1573be[_0x1f5747(0x17a)](_0x260b18);}}),_0x1573be[_0x393cc1(0x18b)];const _0x1007e7=_0x1573be[_0x393cc1(0x176)],_0x4d3528=[];return Array[_0x393cc1(0x184)](_0x1007e7)[_0x393cc1(0x1ab)](_0x59c7fb=>{const _0x136fa2=_0x393cc1,_0x58b677=_0x59c7fb[_0x136fa2(0x1fd)]()[_0x136fa2(0x1b7)];_0x4d3528[_0x136fa2(0x1e0)](_0x5a8509=>Math[_0x136fa2(0x188)](_0x5a8509-_0x58b677)<this[_0x136fa2(0x1c8)][_0x136fa2(0x205)])||_0x4d3528[_0x136fa2(0x175)](_0x58b677);}),{'rowCount':_0x4d3528[_0x393cc1(0x1f8)]};}[_0x5a8b27(0x17c)](){const _0x105865=_0x5a8b27,_0x43a31d=document[_0x105865(0x1bc)](_0x105865(0x193));return _0x43a31d[_0x105865(0x1c6)]=this[_0x105865(0x1c8)][_0x105865(0x207)][_0x105865(0x1eb)],this[_0x105865(0x1c8)][_0x105865(0x207)][_0x105865(0x1cf)]&&_0x43a31d[_0x105865(0x1df)][_0x105865(0x1e9)](this[_0x105865(0x1c8)][_0x105865(0x207)][_0x105865(0x1cf)]),_0x43a31d[_0x105865(0x17d)]=_0x105865(0x1e5),_0x43a31d;}[_0x5a8b27(0x1bf)](_0xe17c06,_0x1e40f6,_0x162d04){const _0x8a2bf2=_0x5a8b27;this[_0x8a2bf2(0x1a5)](_0x1e40f6,_0x162d04);const _0x150635=this[_0x8a2bf2(0x17c)]();_0xe17c06[_0x8a2bf2(0x17a)](_0x150635),_0xe17c06[_0x8a2bf2(0x18b)];const _0x9e5434=[..._0x1e40f6[_0x8a2bf2(0x176)],_0x150635],_0x5a1b15=[];_0x9e5434[_0x8a2bf2(0x1ab)](_0x1e0dfe=>{const _0xb92442=_0x8a2bf2,_0x1951aa=_0x1e0dfe[_0xb92442(0x1fd)]()[_0xb92442(0x1b7)];_0x5a1b15[_0xb92442(0x1e0)](_0x2b94b1=>Math[_0xb92442(0x188)](_0x2b94b1-_0x1951aa)<this[_0xb92442(0x1c8)][_0xb92442(0x205)])||_0x5a1b15[_0xb92442(0x175)](_0x1951aa);});const _0x47d584=_0x5a1b15[_0x8a2bf2(0x1f8)];return _0x150635[_0x8a2bf2(0x1f3)](),_0x47d584<=this[_0x8a2bf2(0x1c8)][_0x8a2bf2(0x1e4)];}[_0x5a8b27(0x191)](_0x32c4dc,_0x1cb618){const _0x25333d=_0x5a8b27;this[_0x25333d(0x1c2)][_0x25333d(0x17b)](),this[_0x25333d(0x1a4)][_0x25333d(0x17b)](),_0x32c4dc[_0x25333d(0x1ab)](_0x58a270=>{const _0x9322f2=_0x25333d;_0x1cb618[_0x9322f2(0x1be)](_0x58a270)?this[_0x9322f2(0x1a4)][_0x9322f2(0x1e9)](_0x58a270):this[_0x9322f2(0x1c2)][_0x9322f2(0x1e9)](_0x58a270);});}[_0x5a8b27(0x194)](_0x4c9357){const _0xd35f49=_0x5a8b27;if(_0x4c9357>0x0&&!this[_0xd35f49(0x200)]&&this[_0xd35f49(0x201)](),_0x4c9357>0x0&&this[_0xd35f49(0x200)]){const _0x15f431=''+this[_0xd35f49(0x1c8)][_0xd35f49(0x1bd)]+(_0x4c9357<0x63?_0x4c9357:'99');this[_0xd35f49(0x200)][_0xd35f49(0x17e)]=_0x15f431;}this[_0xd35f49(0x1a9)](),this[_0xd35f49(0x177)](),this[_0xd35f49(0x1c7)]();}[_0x5a8b27(0x1fc)](_0x1337b0,_0x2be473){const _0x4bbfe7=_0x5a8b27;this[_0x4bbfe7(0x191)](_0x1337b0,_0x2be473),this[_0x4bbfe7(0x194)](_0x2be473[_0x4bbfe7(0x1f8)]);}[_0x5a8b27(0x1f0)](){const _0x46f8e4=_0x5a8b27;this[_0x46f8e4(0x1ca)]&&_0x46f8e4(0x174)!=typeof IntersectionObserver&&(this[_0x46f8e4(0x1d5)]=new IntersectionObserver(_0x46238f=>{const _0x55c1cd=_0x46f8e4;_0x46238f[0x0][_0x55c1cd(0x1f6)]&&this[_0x55c1cd(0x179)]&&requestAnimationFrame(()=>{const _0xf25ed3=_0x55c1cd;this[_0xf25ed3(0x1c0)]();});},{'threshold':0.01,'rootMargin':_0x46f8e4(0x1b8)}),this[_0x46f8e4(0x1d5)][_0x46f8e4(0x18d)](this[_0x46f8e4(0x1ca)]));}[_0x5a8b27(0x1ff)](){const _0x289d1c=_0x5a8b27;if(!this[_0x289d1c(0x1ca)])return!0x1;if(!this[_0x289d1c(0x1ca)][_0x289d1c(0x185)])return!0x1;const _0x4824e3=this[_0x289d1c(0x1ca)][_0x289d1c(0x1fd)]();if(0x0===_0x4824e3[_0x289d1c(0x206)]||0x0===_0x4824e3[_0x289d1c(0x190)])return!0x1;const _0x55c5f8=window[_0x289d1c(0x1bb)]||document[_0x289d1c(0x1d4)][_0x289d1c(0x1c1)],_0x10cc93=window[_0x289d1c(0x1d9)]||document[_0x289d1c(0x1d4)][_0x289d1c(0x1d8)],_0x38291f=0xc8;return _0x4824e3[_0x289d1c(0x1c9)]>=-0xc8&&_0x4824e3[_0x289d1c(0x1b7)]<=_0x55c5f8+_0x38291f&&_0x4824e3[_0x289d1c(0x186)]>=-0xc8&&_0x4824e3[_0x289d1c(0x1b6)]<=_0x10cc93+_0x38291f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ab7f6=_0xbbc8;function _0xbbc8(_0xe6dcd8,_0x338210){const _0x394024=_0x3940();return _0xbbc8=function(_0xbbc87f,_0x49af50){_0xbbc87f=_0xbbc87f-0x18c;let _0x1103b4=_0x394024[_0xbbc87f];return _0x1103b4;},_0xbbc8(_0xe6dcd8,_0x338210);}(function(_0x138a3e,_0x25d09c){const _0x3eb441=_0xbbc8,_0x622601=_0x138a3e();while(!![]){try{const _0x3c158b=parseInt(_0x3eb441(0x1bd))/0x1+parseInt(_0x3eb441(0x1a7))/0x2+parseInt(_0x3eb441(0x19c))/0x3+-parseInt(_0x3eb441(0x1b7))/0x4+parseInt(_0x3eb441(0x1ad))/0x5*(parseInt(_0x3eb441(0x1a6))/0x6)+parseInt(_0x3eb441(0x1c1))/0x7*(parseInt(_0x3eb441(0x1bb))/0x8)+-parseInt(_0x3eb441(0x1cc))/0x9*(parseInt(_0x3eb441(0x19e))/0xa);if(_0x3c158b===_0x25d09c)break;else _0x622601['push'](_0x622601['shift']());}catch(_0x3c60bc){_0x622601['push'](_0x622601['shift']());}}}(_0x3940,0x9d1ff));import{ButtonView as _0x2e8947,IconView as _0x571d16}from'ckeditor5/src/ui.js';function _0x3940(){const _0x47eddf=['div','tooltip','_handleAnimationEndOnce','_createTemplateAttributes','15pKbZPz','addEventListener','execute','remove','render','webkitAnimationEnd','bind','_createLabelElement','lastIndexOf','add','4621644ukrgXy','_createIconView','extendTemplate','fire','145352YgxGDn','removeEventListener','1047034IankOT','itemType','isVisible','uiId','315CUWpwz','ck-hidden','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','_createLoaderIcon','_setupTemplate','slice','selection','_createTemplateChildren','_isAnimationOnEnterEnabled','small','element','207caVvnY','span','locale','type','label','ck-ai-chat-context-chip__label','disableAnimationOnEnter','animationend','ck-ai-chat-context-chip_wide','readonly','_setupRemoveButtonEvent','content','ck-ai-chat-context-chip_document','ck-ai-chat-context-chip','setTemplate','ck-ai-chat-context-chip__type-icon','_initializeProperties','classList','3728859iiIZap','removeContextItemChip','1267570wFiToE','set','isLoading','ck-ai-chat-context-chip_new-chip','length','ck-ai-chat-context-controls__chip-tooltip','document','bindTemplate','1422942tXqbot','1790684CeKlBs','_createRemoveButton'];_0x3940=function(){return _0x47eddf;};return _0x3940();}import{IconClose as _0x15aa48,IconDocument as _0x5d4394,IconFileUpload as _0x173059,IconLink as _0x22d08c,IconSelection as _0x283a6f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x183b56}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0xf0ef19}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x173059,'document':_0x5d4394,'web-resource':_0x22d08c,'text':_0x173059,'selection':_0x283a6f,'mcp-tool-context':_0x5d4394},bn=_0x5ab7f6(0x197),wn=_0x5ab7f6(0x192),Tn=_0x5ab7f6(0x196),En=_0x5ab7f6(0x18f),fn=_0x5ab7f6(0x199),An=_0x5ab7f6(0x1a3),Cn='n';export class AIChatContextItemButtonView extends _0x2e8947{constructor(_0x257d0d,_0x24e5b3,_0x19c7e6,_0x11db15,_0x3e1dc8=!0x1){const _0x540f61=_0x5ab7f6;super(_0x257d0d),this[_0x540f61(0x1c9)]=_0x11db15,this[_0x540f61(0x19a)](_0x24e5b3,_0x19c7e6,_0x3e1dc8),this[_0x540f61(0x1c5)]();}[_0x5ab7f6(0x1b1)](){const _0x26dc87=_0x5ab7f6;super[_0x26dc87(0x1b1)](),this[_0x26dc87(0x1c9)]&&this[_0x26dc87(0x1cb)]&&(this[_0x26dc87(0x1cb)][_0x26dc87(0x19b)][_0x26dc87(0x1b6)](_0x26dc87(0x1a1)),this[_0x26dc87(0x1ab)](this[_0x26dc87(0x1cb)],()=>{const _0x266e32=_0x26dc87;this[_0x266e32(0x1cb)]&&this[_0x266e32(0x1cb)][_0x266e32(0x19b)][_0x266e32(0x1b0)](_0x266e32(0x1a1));}));}[_0x5ab7f6(0x190)](){const _0x321116=_0x5ab7f6;this[_0x321116(0x1c9)]=!0x1,this[_0x321116(0x1cb)]&&this[_0x321116(0x1cb)][_0x321116(0x19b)][_0x321116(0x1b0)](_0x321116(0x1a1));}[_0x5ab7f6(0x19a)](_0x360f8f,_0x2dd144,_0x9d93c8){const _0x36426a=_0x5ab7f6;this[_0x36426a(0x19f)](_0x36426a(0x18e),_0x360f8f[_0x36426a(0x18e)]),this[_0x36426a(0x19f)](_0x36426a(0x1aa),!0x0),this[_0x36426a(0x19f)](_0x36426a(0x1be),_0x360f8f[_0x36426a(0x18d)]),this[_0x36426a(0x19f)]('id',_0x360f8f[_0x36426a(0x1c0)]),this[_0x36426a(0x19f)](_0x36426a(0x193),_0x2dd144),this[_0x36426a(0x19f)](_0x36426a(0x1a0),_0x9d93c8);}[_0x5ab7f6(0x1c5)](){const _0x537061=_0x5ab7f6,_0x42cd8a=this[_0x537061(0x1b8)](),_0x485ca6=this[_0x537061(0x1a8)](),_0x2350fc=this[_0x537061(0x1a5)];this[_0x537061(0x198)]({'tag':_0x537061(0x1a9),'attributes':this[_0x537061(0x1ac)](_0x2350fc),'children':this[_0x537061(0x1c8)](_0x42cd8a,_0x485ca6,_0x2350fc)});}[_0x5ab7f6(0x1ac)](_0x5af6ef){const _0x262062=_0x5ab7f6;return{'class':[bn,_0x5af6ef['if'](_0x262062(0x1be),Tn,_0x570a61=>_0x262062(0x1a4)==_0x570a61),_0x5af6ef['if'](_0x262062(0x1be),wn,_0x10263d=>_0x262062(0x1c7)==_0x10263d)],'data-cke-tooltip-text':_0x5af6ef['to'](_0x262062(0x18e),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x5ab7f6(0x1c8)](_0x203fef,_0x3f6171,_0xd29bb0){const _0x20bef6=_0x5ab7f6,_0x54532b=this[_0x20bef6(0x1b4)](_0xd29bb0),_0x481fd5=this[_0x20bef6(0x1c4)]();return this[_0x20bef6(0x193)]?[_0x203fef,_0x54532b]:[_0x203fef,_0x481fd5,_0x54532b,_0x3f6171];}[_0x5ab7f6(0x1b4)](_0x3ff0fa){const _0x7f099f=_0x5ab7f6;return{'tag':_0x7f099f(0x1cd),'attributes':{'class':En},'children':[{'text':_0x3ff0fa['to'](_0x7f099f(0x18e))}]};}[_0x5ab7f6(0x1a8)](){const _0x2ae632=_0x5ab7f6,_0x521d6e=new _0x2e8947(this[_0x2ae632(0x18c)]);return _0x521d6e[_0x2ae632(0x19f)]({'label':_0x183b56(this[_0x2ae632(0x18c)],_0x2ae632(0x1c3)),'icon':_0x15aa48}),this[_0x2ae632(0x194)](_0x521d6e),_0x521d6e;}[_0x5ab7f6(0x194)](_0x39ac58){const _0x5d2362=_0x5ab7f6;_0x39ac58['on'](_0x5d2362(0x1af),()=>{const _0x4a0bb0=_0x5d2362;this[_0x4a0bb0(0x1ba)](_0x4a0bb0(0x19d),this['id']);});}[_0x5ab7f6(0x1b8)](){const _0x3c0339=_0x5ab7f6,_0x4b08ea=this[_0x3c0339(0x1a5)],_0x17f2c7=new _0x571d16();return _0x17f2c7[_0x3c0339(0x195)]=xn[this[_0x3c0339(0x1be)]],_0x17f2c7[_0x3c0339(0x1b9)]({'attributes':{'class':[fn,_0x4b08ea['if'](_0x3c0339(0x1a0),_0x3c0339(0x1c2),_0x34ff7c=>_0x34ff7c)]}}),_0x17f2c7;}[_0x5ab7f6(0x1ab)](_0x3e1d01,_0x377885){const _0x20c163=_0x5ab7f6;if(!_0x3e1d01)return;const _0xe6e1c3=()=>{const _0x2da106=_0xbbc8;_0x377885(),_0x3e1d01[_0x2da106(0x1bc)](_0x2da106(0x191),_0xe6e1c3),_0x3e1d01[_0x2da106(0x1bc)](_0x2da106(0x1b2),_0xe6e1c3);};_0x3e1d01[_0x20c163(0x1ae)](_0x20c163(0x191),_0xe6e1c3),_0x3e1d01[_0x20c163(0x1ae)](_0x20c163(0x1b2),_0xe6e1c3);}[_0x5ab7f6(0x1c4)](){const _0x2ff382=_0x5ab7f6,_0xa72f7c=new _0xf0ef19(_0x2ff382(0x1ca));return _0xa72f7c[_0x2ff382(0x1b3)](_0x2ff382(0x1bf))['to'](this,_0x2ff382(0x1a0),_0x141724=>_0x141724),_0xa72f7c;}}function In(_0x33cbd7){const _0xb44d7f=_0x5ab7f6;if(!_0x33cbd7)return _0x33cbd7;if(_0x33cbd7[_0xb44d7f(0x1a2)]<=0x78)return _0x33cbd7;const _0x2ba0de=_0x33cbd7[_0xb44d7f(0x1c6)](0x0,0x78),_0x4a1034=_0x2ba0de[_0xb44d7f(0x1b5)]('\x20');return(_0x4a1034>0x0?_0x2ba0de[_0xb44d7f(0x1c6)](0x0,_0x4a1034):_0x2ba0de)+'…';}
23
+ const _0x5f3e13=_0x82f5;function _0x82f5(_0x1c2889,_0x34ded9){const _0x169812=_0x1698();return _0x82f5=function(_0x82f58e,_0x951928){_0x82f58e=_0x82f58e-0x150;let _0x4e8181=_0x169812[_0x82f58e];return _0x4e8181;},_0x82f5(_0x1c2889,_0x34ded9);}(function(_0x47ad07,_0x1e5e92){const _0xd087a1=_0x82f5,_0x2876e9=_0x47ad07();while(!![]){try{const _0x316800=parseInt(_0xd087a1(0x186))/0x1+-parseInt(_0xd087a1(0x15f))/0x2*(parseInt(_0xd087a1(0x151))/0x3)+-parseInt(_0xd087a1(0x179))/0x4+parseInt(_0xd087a1(0x17d))/0x5*(-parseInt(_0xd087a1(0x17c))/0x6)+parseInt(_0xd087a1(0x16b))/0x7*(-parseInt(_0xd087a1(0x157))/0x8)+parseInt(_0xd087a1(0x173))/0x9+-parseInt(_0xd087a1(0x177))/0xa*(-parseInt(_0xd087a1(0x159))/0xb);if(_0x316800===_0x1e5e92)break;else _0x2876e9['push'](_0x2876e9['shift']());}catch(_0x5e3940){_0x2876e9['push'](_0x2876e9['shift']());}}}(_0x1698,0x87db2));import{ButtonView as _0x112990,IconView as _0x3b325c}from'ckeditor5/src/ui.js';import{IconClose as _0x536803,IconDocument as _0x4d599a,IconFileUpload as _0x44d9a2,IconLink as _0x2fbb25,IconSelection as _0x8372e2}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x256fa5}from'../../../aicore/utils/common-translations.js';function _0x1698(){const _0x577838=['ck-hidden','webkitAnimationEnd','isVisible','locale','_createRemoveButton','document','type','extendTemplate','_initializeProperties','3HvytpK','readonly','disableAnimationOnEnter','ck-ai-chat-context-chip_document','_isAnimationOnEnterEnabled','bindTemplate','265656PKaiBq','_setupTemplate','9613538lRHGYa','selection','_createLabelElement','ck-ai-chat-context-chip_new-chip','ck-ai-chat-context-chip_wide','itemType','2027306GWbVQq','_createLoaderIcon','ck-ai-chat-context-controls__chip-tooltip','removeContextItemChip','small','bind','setTemplate','fire','slice','classList','add','_handleAnimationEndOnce','7nOGYLT','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','render','set','ck-ai-chat-context-chip__label','addEventListener','isLoading','element','5639400UKSNUD','length','span','animationend','20yCycmd','lastIndexOf','3555168MaDsoI','label','remove','584754rDPraI','5sKUDbb','tooltip','_createTemplateChildren','_createTemplateAttributes','execute','_createIconView','ck-ai-chat-context-chip__type-icon','_setupRemoveButtonEvent','uiId','215061kprUZq','div','removeEventListener','content','ck-ai-chat-context-chip'];_0x1698=function(){return _0x577838;};return _0x1698();}import{AISpinnerView as _0x5cc7f0}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x44d9a2,'document':_0x4d599a,'web-resource':_0x2fbb25,'text':_0x44d9a2,'selection':_0x8372e2,'mcp-tool-context':_0x4d599a},bn=_0x5f3e13(0x18a),wn=_0x5f3e13(0x15d),Tn=_0x5f3e13(0x154),En=_0x5f3e13(0x16f),fn=_0x5f3e13(0x183),An=_0x5f3e13(0x161),Cn='n';export class AIChatContextItemButtonView extends _0x112990{constructor(_0x14cb20,_0x191a8e,_0x1a9d8d,_0x41bee9,_0x16e7bc=!0x1){const _0x3ea254=_0x5f3e13;super(_0x14cb20),this[_0x3ea254(0x155)]=_0x41bee9,this[_0x3ea254(0x150)](_0x191a8e,_0x1a9d8d,_0x16e7bc),this[_0x3ea254(0x158)]();}[_0x5f3e13(0x16d)](){const _0x3660ef=_0x5f3e13;super[_0x3660ef(0x16d)](),this[_0x3660ef(0x155)]&&this[_0x3660ef(0x172)]&&(this[_0x3660ef(0x172)][_0x3660ef(0x168)][_0x3660ef(0x169)](_0x3660ef(0x15c)),this[_0x3660ef(0x16a)](this[_0x3660ef(0x172)],()=>{const _0xe70219=_0x3660ef;this[_0xe70219(0x172)]&&this[_0xe70219(0x172)][_0xe70219(0x168)][_0xe70219(0x17b)](_0xe70219(0x15c));}));}[_0x5f3e13(0x153)](){const _0x19e84d=_0x5f3e13;this[_0x19e84d(0x155)]=!0x1,this[_0x19e84d(0x172)]&&this[_0x19e84d(0x172)][_0x19e84d(0x168)][_0x19e84d(0x17b)](_0x19e84d(0x15c));}[_0x5f3e13(0x150)](_0x491a23,_0x505ef6,_0x188a50){const _0x59f516=_0x5f3e13;this[_0x59f516(0x16e)](_0x59f516(0x17a),_0x491a23[_0x59f516(0x17a)]),this[_0x59f516(0x16e)](_0x59f516(0x17e),!0x0),this[_0x59f516(0x16e)](_0x59f516(0x15e),_0x491a23[_0x59f516(0x191)]),this[_0x59f516(0x16e)]('id',_0x491a23[_0x59f516(0x185)]),this[_0x59f516(0x16e)](_0x59f516(0x152),_0x505ef6),this[_0x59f516(0x16e)](_0x59f516(0x171),_0x188a50);}[_0x5f3e13(0x158)](){const _0x1fa83d=_0x5f3e13,_0x542f15=this[_0x1fa83d(0x182)](),_0xd9dc00=this[_0x1fa83d(0x18f)](),_0x25dc72=this[_0x1fa83d(0x156)];this[_0x1fa83d(0x165)]({'tag':_0x1fa83d(0x187),'attributes':this[_0x1fa83d(0x180)](_0x25dc72),'children':this[_0x1fa83d(0x17f)](_0x542f15,_0xd9dc00,_0x25dc72)});}[_0x5f3e13(0x180)](_0x31c601){const _0x5506c9=_0x5f3e13;return{'class':[bn,_0x31c601['if'](_0x5506c9(0x15e),Tn,_0x18721b=>_0x5506c9(0x190)==_0x18721b),_0x31c601['if'](_0x5506c9(0x15e),wn,_0x21c93e=>_0x5506c9(0x15a)==_0x21c93e)],'data-cke-tooltip-text':_0x31c601['to'](_0x5506c9(0x17a),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x5f3e13(0x17f)](_0x4915d6,_0x480f98,_0x53ac8e){const _0x468d68=_0x5f3e13,_0x21e3ed=this[_0x468d68(0x15b)](_0x53ac8e),_0x128e57=this[_0x468d68(0x160)]();return this[_0x468d68(0x152)]?[_0x4915d6,_0x21e3ed]:[_0x4915d6,_0x128e57,_0x21e3ed,_0x480f98];}[_0x5f3e13(0x15b)](_0x5435ba){const _0x3e924a=_0x5f3e13;return{'tag':_0x3e924a(0x175),'attributes':{'class':En},'children':[{'text':_0x5435ba['to'](_0x3e924a(0x17a))}]};}[_0x5f3e13(0x18f)](){const _0x48a85c=_0x5f3e13,_0x1d1673=new _0x112990(this[_0x48a85c(0x18e)]);return _0x1d1673[_0x48a85c(0x16e)]({'label':_0x256fa5(this[_0x48a85c(0x18e)],_0x48a85c(0x16c)),'icon':_0x536803}),this[_0x48a85c(0x184)](_0x1d1673),_0x1d1673;}[_0x5f3e13(0x184)](_0x4fb4e0){const _0x3ede42=_0x5f3e13;_0x4fb4e0['on'](_0x3ede42(0x181),()=>{const _0x54876d=_0x3ede42;this[_0x54876d(0x166)](_0x54876d(0x162),this['id']);});}[_0x5f3e13(0x182)](){const _0x8a23d4=_0x5f3e13,_0x38d24b=this[_0x8a23d4(0x156)],_0x202f00=new _0x3b325c();return _0x202f00[_0x8a23d4(0x189)]=xn[this[_0x8a23d4(0x15e)]],_0x202f00[_0x8a23d4(0x192)]({'attributes':{'class':[fn,_0x38d24b['if'](_0x8a23d4(0x171),_0x8a23d4(0x18b),_0x24359e=>_0x24359e)]}}),_0x202f00;}[_0x5f3e13(0x16a)](_0x3772b7,_0x2891c7){const _0xb2510f=_0x5f3e13;if(!_0x3772b7)return;const _0x5abad1=()=>{const _0x1c4fe0=_0x82f5;_0x2891c7(),_0x3772b7[_0x1c4fe0(0x188)](_0x1c4fe0(0x176),_0x5abad1),_0x3772b7[_0x1c4fe0(0x188)](_0x1c4fe0(0x18c),_0x5abad1);};_0x3772b7[_0xb2510f(0x170)](_0xb2510f(0x176),_0x5abad1),_0x3772b7[_0xb2510f(0x170)](_0xb2510f(0x18c),_0x5abad1);}[_0x5f3e13(0x160)](){const _0x8f31c6=_0x5f3e13,_0x4d5ecb=new _0x5cc7f0(_0x8f31c6(0x163));return _0x4d5ecb[_0x8f31c6(0x164)](_0x8f31c6(0x18d))['to'](this,_0x8f31c6(0x171),_0x21654d=>_0x21654d),_0x4d5ecb;}}function In(_0x5e42a4){const _0x5cbc28=_0x5f3e13;if(!_0x5e42a4)return _0x5e42a4;if(_0x5e42a4[_0x5cbc28(0x174)]<=0x78)return _0x5e42a4;const _0x4a2baf=_0x5e42a4[_0x5cbc28(0x167)](0x0,0x78),_0x318219=_0x4a2baf[_0x5cbc28(0x178)]('\x20');return(_0x318219>0x0?_0x4a2baf[_0x5cbc28(0x167)](0x0,_0x318219):_0x4a2baf)+'…';}