@ckeditor/ckeditor5-ai 47.4.0-alpha.2 → 47.4.0-alpha.3

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 (71) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiassistant/aiassistantediting.js +1 -1
  6. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  7. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  8. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  9. package/src/aiassistant/ui/form/aiformview.js +1 -1
  10. package/src/aiballoon/aiballoon.js +1 -1
  11. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  12. package/src/aiballoon/ui/aiballoonview.js +1 -1
  13. package/src/aichat/aichat.js +1 -1
  14. package/src/aichat/aichatcontroller.js +1 -1
  15. package/src/aichat/aichatui.js +1 -1
  16. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  17. package/src/aichat/ui/aichatfeedview.js +1 -1
  18. package/src/aichat/ui/aichatview.js +1 -1
  19. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  20. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  21. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  22. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  23. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  24. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  25. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  26. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  27. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  28. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  29. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  30. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  31. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  32. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  33. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  34. package/src/aichathistory/aichathistory.js +1 -1
  35. package/src/aichathistory/aichathistorycontroller.js +1 -1
  36. package/src/aichathistory/aichathistoryui.js +1 -1
  37. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  38. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  39. package/src/aicore/aiconnector.js +1 -1
  40. package/src/aicore/aiediting.js +1 -1
  41. package/src/aicore/model/aireply.js +1 -1
  42. package/src/aicore/ui/aidisclaimerview.js +1 -1
  43. package/src/aicore/ui/aiskeleton.js +1 -1
  44. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  45. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  46. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  47. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  48. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  49. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  50. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  51. package/src/aiquickactions/aiquickactionsui.js +1 -1
  52. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  53. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  54. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  55. package/src/aireviewmode/aireviewmode.js +1 -1
  56. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  57. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  58. package/src/aireviewmode/aireviewmodeui.js +1 -1
  59. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  60. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  61. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  62. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  63. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  64. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  65. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  66. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  67. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  68. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  69. package/src/aitabs/aitabs.js +1 -1
  70. package/src/aitabs/tabs/aitabsview.js +1 -1
  71. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ad021=_0x1ec9;(function(_0x15b99a,_0x504263){const _0x4571fd=_0x1ec9,_0x13746b=_0x15b99a();while(!![]){try{const _0x4edf34=parseInt(_0x4571fd(0x7a))/0x1*(-parseInt(_0x4571fd(0xd2))/0x2)+parseInt(_0x4571fd(0xb8))/0x3+-parseInt(_0x4571fd(0x7d))/0x4+parseInt(_0x4571fd(0xa5))/0x5+-parseInt(_0x4571fd(0x98))/0x6+parseInt(_0x4571fd(0xde))/0x7*(-parseInt(_0x4571fd(0x9a))/0x8)+parseInt(_0x4571fd(0x7f))/0x9*(parseInt(_0x4571fd(0xcd))/0xa);if(_0x4edf34===_0x504263)break;else _0x13746b['push'](_0x13746b['shift']());}catch(_0x127b63){_0x13746b['push'](_0x13746b['shift']());}}}(_0x7eec,0x2b5d5));import{IconWeb as _0x46da96}from'@ckeditor/ckeditor5-icons';import{View as _0x39c6ec,ButtonView as _0x539371,IconView as _0x139c82,BalloonPanelView as _0x56d45b}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x5a8379}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x125293}from'./aisuggestionheaderview.js';function _0x1ec9(_0x9dea1e,_0xb18431){const _0x7eec35=_0x7eec();return _0x1ec9=function(_0x1ec99a,_0x401953){_0x1ec99a=_0x1ec99a-0x6a;let _0x1cb10b=_0x7eec35[_0x1ec99a];return _0x1cb10b;},_0x1ec9(_0x9dea1e,_0xb18431);}import{AISuggestionBodyView as _0x13b5a2}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x432706}from'../../utils/eventnames.js';import{AISpinnerView as _0x461891}from'../aispinner.js';import{getTranslation as _0x1b69e0}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x39c6ec{[_0x5ad021(0x9b)];[_0x5ad021(0x9e)];[_0x5ad021(0x6c)];[_0x5ad021(0x93)];[_0x5ad021(0x95)];[_0x5ad021(0xca)];[_0x5ad021(0xd5)];[_0x5ad021(0xbd)];constructor(_0x5d33f0,_0x2c5fd4,_0x5f3782){const _0x1f42ca=_0x5ad021;super(_0x5d33f0),this[_0x1f42ca(0xbd)]=_0x5f3782;const {showDiff:_0x37c409,areActionsDisabled:_0x54e29a,miniToolbarConfig:_0x204197,hideHeader:_0x339e11,showLoader:_0x4f7816,showUnchangedParts:_0x23e317,availableActions:_0x565591}=_0x2c5fd4;this[_0x1f42ca(0xb0)](_0x1f42ca(0xa1),!0x1),this[_0x1f42ca(0xb0)](_0x1f42ca(0xb4),!!_0x4f7816),this[_0x1f42ca(0xb0)](_0x1f42ca(0xac),!0x1),this[_0x1f42ca(0xb0)](_0x1f42ca(0x88),!0x1),this[_0x1f42ca(0x6c)]=this[_0x1f42ca(0x82)](),_0x339e11||(this[_0x1f42ca(0x93)]=new _0x125293(_0x5d33f0,{'showDiff':_0x37c409}),this[_0x1f42ca(0x93)]['on'](_0x1f42ca(0x90),(_0x36c9df,_0x2dc4fc)=>{const _0x358257=_0x1f42ca;this[_0x358257(0xa1)]=_0x2dc4fc[_0x358257(0xc2)],this[_0x358257(0xb9)](_0x358257(0x6e),{'showDiff':_0x2dc4fc[_0x358257(0xc2)]});}),this[_0x1f42ca(0x6c)][_0x1f42ca(0xb5)](this[_0x1f42ca(0x93)])),this[_0x1f42ca(0x9b)]=new _0x13b5a2(_0x5d33f0,{'areActionsDisabled':_0x54e29a,'showUnchangedParts':!!_0x23e317,'availableActions':_0x565591}),this[_0x1f42ca(0x9b)][_0x1f42ca(0x74)](..._0x432706)['to'](this),this[_0x1f42ca(0x9b)][_0x1f42ca(0x7b)]({'attributes':{'class':[this[_0x1f42ca(0x6b)]['if'](_0x1f42ca(0xb4),_0x1f42ca(0xb6)),this[_0x1f42ca(0x6b)]['if'](_0x1f42ca(0xac),_0x1f42ca(0xb6))]}}),this[_0x1f42ca(0x9e)]=new _0x5a8379(_0x5d33f0,_0x204197,_0x37c409),this[_0x1f42ca(0x9e)][_0x1f42ca(0x74)](..._0x432706)['to'](this),this[_0x1f42ca(0x9e)]['on'](_0x1f42ca(0x90),(_0x756911,_0x4759bf)=>{const _0x4e358e=_0x1f42ca;this[_0x4e358e(0xa1)]=_0x4759bf,this[_0x4e358e(0xb9)](_0x4e358e(0x6e),{'showDiff':_0x4759bf});}),this[_0x1f42ca(0x9e)][_0x1f42ca(0xd3)](_0x1f42ca(0x88))['to'](this),this[_0x1f42ca(0x6c)][_0x1f42ca(0xb5)](this[_0x1f42ca(0x9b)]),this[_0x1f42ca(0x6c)][_0x1f42ca(0xb5)](this[_0x1f42ca(0x9e)]),this[_0x1f42ca(0xd5)]=new AIWebSourcesView(this[_0x1f42ca(0xdb)],this[_0x1f42ca(0xbd)]),this[_0x1f42ca(0x6c)][_0x1f42ca(0xb5)](this[_0x1f42ca(0xd5)]),_0x4f7816&&(this[_0x1f42ca(0x95)]=this[_0x1f42ca(0xa7)](),this[_0x1f42ca(0x6c)][_0x1f42ca(0xb5)](this[_0x1f42ca(0x95)])),this[_0x1f42ca(0xca)]=this[_0x1f42ca(0xbb)](),this[_0x1f42ca(0x6c)][_0x1f42ca(0xb5)](this[_0x1f42ca(0xca)]),this[_0x1f42ca(0xc8)]({'tag':_0x1f42ca(0x8b),'attributes':{'class':['ck',_0x1f42ca(0xdc),_0x1f42ca(0xda)]},'children':this[_0x1f42ca(0x6c)]});}async[_0x5ad021(0xb1)](_0x5443b5){const _0x36f3aa=_0x5ad021;await this[_0x36f3aa(0x9b)][_0x36f3aa(0x84)](_0x5443b5);}[_0x5ad021(0x70)](_0x5407bf){const _0x3a933e=_0x5ad021,_0x55c501=this[_0x3a933e(0xd5)],_0x1a4907=_0x55c501[_0x3a933e(0x75)];_0x55c501[_0x3a933e(0x6c)][_0x3a933e(0x7e)](_0x5407bf[_0x3a933e(0x80)](_0x482e81=>new AIWebSourceView(this[_0x3a933e(0xdb)],_0x482e81,_0x1a4907))),_0x55c501[_0x3a933e(0xaa)]=!0x0;}[_0x5ad021(0xa9)](){const _0x175864=_0x5ad021;this[_0x175864(0x95)]&&(this[_0x175864(0xb4)]=!0x0);}[_0x5ad021(0x86)](){const _0xb695e3=_0x5ad021;this[_0xb695e3(0x95)]&&(this[_0xb695e3(0xb4)]=!0x1);}[_0x5ad021(0x76)](_0x5b3b88){const _0x361e26=_0x5ad021;if(this[_0x361e26(0xca)]){const _0x254db8=this[_0x361e26(0xca)][_0x361e26(0x89)]?.[_0x361e26(0xc4)](_0x361e26(0xab));_0x254db8&&(_0x254db8[_0x361e26(0xbf)]=_0x5b3b88),this[_0x361e26(0xac)]=!0x0;}}[_0x5ad021(0xc5)](){const _0x18b40a=_0x5ad021;this[_0x18b40a(0xca)]&&(this[_0x18b40a(0xac)]=!0x1);}[_0x5ad021(0x9c)](){const _0x53bc7c=_0x5ad021;this[_0x53bc7c(0x9b)][_0x53bc7c(0x9c)](),this[_0x53bc7c(0x93)]&&(this[_0x53bc7c(0x93)][_0x53bc7c(0x8f)]=this[_0x53bc7c(0x9b)][_0x53bc7c(0x87)]);}[_0x5ad021(0xa8)](){const _0x196af8=_0x5ad021;this[_0x196af8(0x88)]=!0x0;}[_0x5ad021(0xa3)](){const _0x296add=_0x5ad021;this[_0x296add(0x88)]=!0x1;}[_0x5ad021(0x8c)](){const _0x56fc64=_0x5ad021;this[_0x56fc64(0x9e)]&&(this[_0x56fc64(0x9e)][_0x56fc64(0x88)]=!0x0),this[_0x56fc64(0x93)]?.[_0x56fc64(0x8a)]&&(this[_0x56fc64(0x93)][_0x56fc64(0x8a)][_0x56fc64(0x7c)]=!0x1);}[_0x5ad021(0xb2)](){const _0x35c87b=_0x5ad021;this[_0x35c87b(0x9e)]&&(this[_0x35c87b(0x9e)][_0x35c87b(0x88)]=!0x1),this[_0x35c87b(0x93)]?.[_0x35c87b(0x8a)]&&(this[_0x35c87b(0x93)][_0x35c87b(0x8a)][_0x35c87b(0x7c)]=!0x0);}[_0x5ad021(0x81)](_0x1fba90){const _0x595152=_0x5ad021;this[_0x595152(0x9e)][_0x595152(0xdf)][_0x595152(0xb5)](_0x1fba90);}[_0x5ad021(0x94)](_0x595614){const _0x7f754f=_0x5ad021;this[_0x7f754f(0x9e)][_0x7f754f(0xdf)][_0x7f754f(0x8d)](_0x595614);}[_0x5ad021(0xa7)](){const _0x511d44=_0x5ad021,_0x2a2b17=new _0x39c6ec(this[_0x511d44(0xdb)]),_0x37f79f=new _0x461891(_0x511d44(0x91));_0x37f79f[_0x511d44(0xaa)]=!0x0;const _0x2a825c=new _0x39c6ec(this[_0x511d44(0xdb)]);return _0x2a825c[_0x511d44(0xc8)]({'tag':_0x511d44(0xc7),'attributes':{'class':['ck',_0x511d44(0xdd)]},'children':[_0x1b69e0(this[_0x511d44(0xdb)],_0x511d44(0xa2))]}),_0x2a2b17[_0x511d44(0xc8)]({'tag':_0x511d44(0x8b),'attributes':{'class':['ck',_0x511d44(0xc9),this[_0x511d44(0x6b)]['if'](_0x511d44(0xb4),_0x511d44(0xb6),_0x11b0c1=>!_0x11b0c1)]},'children':[_0x37f79f,_0x2a825c]}),_0x2a2b17;}[_0x5ad021(0xbb)](){const _0x53270d=_0x5ad021,_0xdfe7e5=new _0x39c6ec(this[_0x53270d(0xdb)]),_0x2012a1=new _0x39c6ec(this[_0x53270d(0xdb)]);return _0x2012a1[_0x53270d(0xc8)]({'tag':_0x53270d(0xc7),'attributes':{'class':['ck',_0x53270d(0xba)]},'children':[_0x1b69e0(this[_0x53270d(0xdb)],_0x53270d(0xc1))]}),_0xdfe7e5[_0x53270d(0xc8)]({'tag':_0x53270d(0x8b),'attributes':{'class':['ck',_0x53270d(0xad),this[_0x53270d(0x6b)]['if'](_0x53270d(0xac),_0x53270d(0xb6),_0x5d8816=>!_0x5d8816)]},'children':[_0x2012a1]}),_0xdfe7e5;}}export class AIWebSourcesView extends _0x39c6ec{[_0x5ad021(0x6c)];[_0x5ad021(0x75)];[_0x5ad021(0x77)];constructor(_0x267def,_0x4d074a){const _0x832f48=_0x5ad021;super(_0x267def),this[_0x832f48(0x77)]=_0x4d074a,this[_0x832f48(0x6c)]=this[_0x832f48(0x82)](),this[_0x832f48(0xb0)](_0x832f48(0xaa),!0x1),this[_0x832f48(0xc8)]({'tag':_0x832f48(0x8b),'attributes':{'class':['ck',_0x832f48(0xc6),this[_0x832f48(0x6b)]['if'](_0x832f48(0xaa),_0x832f48(0xb6),_0x21cf42=>!_0x21cf42)]},'children':this[_0x832f48(0x6c)]});const _0x25f242=new _0x39c6ec(this[_0x832f48(0xdb)]),_0x12eaad=new _0x139c82();_0x12eaad[_0x832f48(0x96)]=_0x46da96,_0x25f242[_0x832f48(0xc8)]({'tag':_0x832f48(0x8b),'attributes':{'class':['ck',_0x832f48(0xd4)]},'children':[_0x12eaad,{'tag':_0x832f48(0xc7),'children':[{'text':_0x1b69e0(this[_0x832f48(0xdb)],_0x832f48(0x9d))}]}]}),this[_0x832f48(0x6c)][_0x832f48(0xb5)](_0x25f242),this[_0x832f48(0xe0)](_0x267def);}[_0x5ad021(0xe0)](_0x717051){const _0xf3cb2d=_0x5ad021;this[_0xf3cb2d(0x75)]=new _0x56d45b(_0x717051),this[_0xf3cb2d(0x75)][_0xf3cb2d(0x7b)]({'attributes':{'class':[_0xf3cb2d(0xcf)]}}),this[_0xf3cb2d(0x77)][_0xf3cb2d(0xb5)](this[_0xf3cb2d(0x75)]);}}export class AIWebSourceView extends _0x539371{[_0x5ad021(0x75)];[_0x5ad021(0x78)];constructor(_0x8df61b,_0x23be21,_0x4cdbd9){const _0x23ad62=_0x5ad021;super(_0x8df61b),this[_0x23ad62(0x78)]=_0x23be21,this[_0x23ad62(0x75)]=_0x4cdbd9,this[_0x23ad62(0xb0)]({'label':_0x23be21[_0x23ad62(0xd1)],'class':[_0x23ad62(0xc0)],'withText':!0x0});const _0x456cf9=this[_0x23ad62(0x6b)];if(this[_0x23ad62(0x7b)]({'on':{'click':_0x456cf9['to'](()=>{const _0x32d75e=_0x23ad62;window[_0x32d75e(0xa0)](_0x23be21[_0x32d75e(0x8e)],_0x32d75e(0xbc));}),'mouseenter':_0x456cf9['to'](()=>{const _0x441ea8=_0x23ad62;this[_0x441ea8(0xd8)]();}),'mouseleave':_0x456cf9['to'](()=>{const _0x499f43=_0x23ad62;this[_0x499f43(0xce)]();})}}),_0x23be21[_0x23ad62(0xd0)]){const _0x2a9182=new _0x39c6ec(_0x8df61b);_0x2a9182[_0x23ad62(0xc8)]({'tag':_0x23ad62(0xd7),'attributes':{'src':_0x23be21[_0x23ad62(0xd0)]||_0x46da96,'alt':_0x23be21[_0x23ad62(0xd1)],'class':[_0x23ad62(0xbe)]}}),this[_0x23ad62(0x6c)][_0x23ad62(0xb5)](_0x2a9182);}else this[_0x23ad62(0xb0)](_0x23ad62(0xd9),_0x46da96);}[_0x5ad021(0xa4)](_0xe1f80f,_0x18bd55){const _0xf1d851=_0x5ad021,_0x34f340=new _0x39c6ec(_0xe1f80f),_0x1bd790=[];let _0x4e1f7b;_0x18bd55?.[_0xf1d851(0xd0)]?(_0x4e1f7b=new _0x39c6ec(_0xe1f80f),_0x4e1f7b[_0xf1d851(0xc8)]({'tag':_0xf1d851(0xd7),'attributes':{'src':_0x18bd55[_0xf1d851(0xd0)],'alt':_0x18bd55[_0xf1d851(0xd1)],'class':[_0xf1d851(0x92)]}})):(_0x4e1f7b=new _0x139c82(),_0x4e1f7b[_0xf1d851(0x96)]=_0x46da96,_0x4e1f7b[_0xf1d851(0x7b)]({'attributes':{'alt':_0x18bd55[_0xf1d851(0xd1)],'class':[_0xf1d851(0x92)]}})),_0x1bd790[_0xf1d851(0xb3)](_0x4e1f7b);const _0xce0486=new _0x39c6ec(_0xe1f80f);_0xce0486[_0xf1d851(0xc8)]({'tag':'a','attributes':{'class':[_0xf1d851(0x9f)],'href':_0x18bd55[_0xf1d851(0x8e)]},'children':[{'text':new URL(_0x18bd55[_0xf1d851(0x8e)])?.[_0xf1d851(0xb7)]}]}),_0x1bd790[_0xf1d851(0xb3)](_0xce0486);const _0x303ac4=new _0x39c6ec(_0xe1f80f);_0x303ac4[_0xf1d851(0xc8)]({'tag':_0xf1d851(0x8b),'attributes':{'class':[_0xf1d851(0xd6)]},'children':_0x1bd790});const _0x2f794a=new _0x39c6ec(_0xe1f80f);return _0x2f794a[_0xf1d851(0xc8)]({'tag':_0xf1d851(0xc7),'attributes':{'class':[_0xf1d851(0xd6),_0xf1d851(0x72)]},'children':[{'text':_0x18bd55[_0xf1d851(0xd1)][_0xf1d851(0x73)]>0x190?_0x18bd55[_0xf1d851(0xd1)][_0xf1d851(0x71)](0x0,0x190)+_0xf1d851(0xc3):_0x18bd55[_0xf1d851(0xd1)]}]}),_0x34f340[_0xf1d851(0xc8)]({'tag':_0xf1d851(0x8b),'attributes':{'class':['ck',_0xf1d851(0xcb)]},'children':[_0x303ac4,_0x2f794a]}),_0x34f340;}[_0x5ad021(0xd8)](){const _0x5b9b9c=_0x5ad021;this[_0x5b9b9c(0x6f)](),this[_0x5b9b9c(0x75)][_0x5b9b9c(0xa6)]({'target':this[_0x5b9b9c(0x89)],'positions':[_0x56d45b[_0x5b9b9c(0xae)][_0x5b9b9c(0x6d)],_0x56d45b[_0x5b9b9c(0xae)][_0x5b9b9c(0xcc)],_0x56d45b[_0x5b9b9c(0xae)][_0x5b9b9c(0x6a)]],'limiter':document[_0x5b9b9c(0xc4)](_0x5b9b9c(0xaf))}),this[_0x5b9b9c(0x75)][_0x5b9b9c(0x79)]();}[_0x5ad021(0xce)](){const _0x2a91b2=_0x5ad021;this[_0x2a91b2(0x75)][_0x2a91b2(0x97)]();}[_0x5ad021(0x6f)](){const _0x3fe208=_0x5ad021;this[_0x3fe208(0x75)][_0x3fe208(0x96)][_0x3fe208(0x99)](0x0)?.[_0x3fe208(0x85)](),this[_0x3fe208(0x75)][_0x3fe208(0x96)][_0x3fe208(0x83)]();const _0xe12d49=this[_0x3fe208(0xa4)](this[_0x3fe208(0xdb)],this[_0x3fe208(0x78)]);this[_0x3fe208(0x75)][_0x3fe208(0x96)][_0x3fe208(0xb5)](_0xe12d49);}}function _0x7eec(){const _0x19d8d3=['isEnabled','11604OZEHYN','addMany','27UDYHCe','map','addNavigationItem','createCollection','clear','updateContentParts','destroy','hideLoader','hasNonEmptyParts','isLoading','element','showChangesToggleView','div','setErrorState','remove','url','isShowChangesToggleVisible','toggleShowChanges','small','ck-ai-web-source__tooltip-image','headerView','removeNavigationItem','loaderView','content','hide','594288nJIbNg','get','784968zBNRhy','bodyView','markAsDone','AI_CHAT_SOURCES_HEADER','miniToolbarView','ck-ai-web-source__tooltip-url','open','areChangesVisible','AI_CHAT_IS_WRITING','clearLoading','_createTooltipContentView','413935VnJLSX','pin','_createLoaderView','setLoading','showLoader','isVisible','.ck-ai-suggestion__error-text','isErrorVisible','ck-ai-suggestion__error','defaultPositions','.ck-ai-chat','set','updateContent','clearErrorState','push','isLoaderVisible','add','ck-hidden','hostname','765642lOvDqp','fire','ck-ai-suggestion__error-text','_createErrorView','_blank','_bodyCollection','ck-ai-web-source__image','textContent','ck\x20ck-ai-web-source','AI_CHAT_GENERIC_ERROR','isOn','...','querySelector','hideError','ck-ai-web-sources','span','setTemplate','ck-ai-suggestion__loader','errorView','ck-ai-web-source__tooltip','northArrowSouthWest','1928110WfEGSL','_hideTooltip','ck-ai-web-source__tooltip-balloon','favicon','title','6UNwngp','bind','ck-ai-web-sources__header','sourcesView','ck-ai-web-source__tooltip-row','img','_showTooltip','icon','ck-rounded-corners','locale','ck-ai-suggestion__container','ck-ai-suggestion__loader-text','21UNPajC','items','_setupBalloonPanel','northArrowSouthEast','bindTemplate','children','northArrowSouth','toggleSuggestionDisplayMode','_updateTooltipContent','updateSources','substring','ck-ai-web-source__tooltip-title','length','delegate','balloonPanelView','showError','bodyCollection','source','show','114167LFkmYL','extendTemplate'];_0x7eec=function(){return _0x19d8d3;};return _0x7eec();}
23
+ const _0x359801=_0x92d5;(function(_0x1db5e2,_0x41f02d){const _0x392ee6=_0x92d5,_0x58a857=_0x1db5e2();while(!![]){try{const _0x4b230c=-parseInt(_0x392ee6(0x180))/0x1+parseInt(_0x392ee6(0x19f))/0x2+-parseInt(_0x392ee6(0x16f))/0x3+parseInt(_0x392ee6(0x1d6))/0x4*(-parseInt(_0x392ee6(0x17d))/0x5)+-parseInt(_0x392ee6(0x1a2))/0x6*(parseInt(_0x392ee6(0x185))/0x7)+-parseInt(_0x392ee6(0x192))/0x8+parseInt(_0x392ee6(0x1c1))/0x9;if(_0x4b230c===_0x41f02d)break;else _0x58a857['push'](_0x58a857['shift']());}catch(_0x133eef){_0x58a857['push'](_0x58a857['shift']());}}}(_0x388e,0x63ab1));import{IconWeb as _0x1e95fb}from'@ckeditor/ckeditor5-icons';import{View as _0x58a9fa,ButtonView as _0x176830,IconView as _0x354661,BalloonPanelView as _0x46860b}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0xa13e96}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x475a34}from'./aisuggestionheaderview.js';function _0x92d5(_0x318370,_0x5e2010){const _0x388e22=_0x388e();return _0x92d5=function(_0x92d5b8,_0x583cc9){_0x92d5b8=_0x92d5b8-0x162;let _0x3b005b=_0x388e22[_0x92d5b8];return _0x3b005b;},_0x92d5(_0x318370,_0x5e2010);}import{AISuggestionBodyView as _0x369985}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3a32ec}from'../../utils/eventnames.js';import{AISpinnerView as _0x579bd4}from'../aispinner.js';import{getTranslation as _0x55f3c7}from'../../utils/common-translations.js';function _0x388e(){const _0x23868d=['updateContent','bind','miniToolbarView','textContent','toggleSuggestionDisplayMode','remove','headerView','url','items','ck-ai-web-source__tooltip-image','...','open','northArrowSouthWest','children','setLoading','title','delegate','hide','push','17189829gZfqAe','_createErrorView','_createLoaderView','extendTemplate','northArrowSouthEast','add','createCollection','areChangesVisible','set','_createTooltipContentView','setTemplate','errorView','isEnabled','icon','ck-hidden','length','defaultPositions','showLoader','markAsDone','hideLoader','clearLoading','9076haieqX','locale','map','content','updateContentParts','_showTooltip','fire','ck-ai-web-source__tooltip-url','balloonPanelView','bindTemplate','ck-ai-web-source__tooltip-title','get','.ck-ai-chat','_bodyCollection','show','1245579djqBwl','showError','_blank','clearErrorState','hasNonEmptyParts','isVisible','AI_CHAT_SOURCES_HEADER','ck-ai-suggestion__error','bodyCollection','clear','.ck-ai-suggestion__error-text','pin','small','isLoading','470TEsAfl','favicon','ck-ai-web-source__tooltip','532551mDpVlD','querySelector','addNavigationItem','northArrowSouth','toggleShowChanges','7gralBz','_hideTooltip','destroy','isOn','substring','ck-ai-web-source__image','setErrorState','source','_updateTooltipContent','isShowChangesToggleVisible','ck-ai-suggestion__loader','isLoaderVisible','AI_CHAT_GENERIC_ERROR','1000344UmanKb','img','sourcesView','ck-ai-suggestion__container','updateSources','ck-ai-suggestion__error-text','loaderView','span','element','ck-ai-web-source__tooltip-balloon','addMany','_setupBalloonPanel','ck-ai-web-sources','726848IVURGF','ck-ai-suggestion__loader-text','ck-rounded-corners','3474546BTroEI','AI_CHAT_IS_WRITING','ck\x20ck-ai-web-source','removeNavigationItem','div','showChangesToggleView','ck-ai-web-sources__header','isErrorVisible','bodyView','hostname','hideError','ck-ai-web-source__tooltip-row'];_0x388e=function(){return _0x23868d;};return _0x388e();}export class AISuggestionContainerView extends _0x58a9fa{[_0x359801(0x1aa)];[_0x359801(0x1b0)];[_0x359801(0x1bb)];[_0x359801(0x1b4)];[_0x359801(0x198)];[_0x359801(0x1cc)];[_0x359801(0x194)];[_0x359801(0x16d)];constructor(_0x2f4111,_0x567ebc,_0x575a92){const _0x5cf76e=_0x359801;super(_0x2f4111),this[_0x5cf76e(0x16d)]=_0x575a92;const {showDiff:_0x478228,areActionsDisabled:_0x36d0f5,miniToolbarConfig:_0x1dea2e,hideHeader:_0x591964,showLoader:_0x228a09,showUnchangedParts:_0x358daa,availableActions:_0x2cb3f8}=_0x567ebc;this[_0x5cf76e(0x1c9)](_0x5cf76e(0x1c8),!0x1),this[_0x5cf76e(0x1c9)](_0x5cf76e(0x190),!!_0x228a09),this[_0x5cf76e(0x1c9)](_0x5cf76e(0x1a9),!0x1),this[_0x5cf76e(0x1c9)](_0x5cf76e(0x17c),!0x1),this[_0x5cf76e(0x1bb)]=this[_0x5cf76e(0x1c7)](),_0x591964||(this[_0x5cf76e(0x1b4)]=new _0x475a34(_0x2f4111,{'showDiff':_0x478228}),this[_0x5cf76e(0x1b4)]['on'](_0x5cf76e(0x184),(_0x3207b8,_0x3a414e)=>{const _0x5da3c6=_0x5cf76e;this[_0x5da3c6(0x1c8)]=_0x3a414e[_0x5da3c6(0x188)],this[_0x5da3c6(0x166)](_0x5da3c6(0x1b2),{'showDiff':_0x3a414e[_0x5da3c6(0x188)]});}),this[_0x5cf76e(0x1bb)][_0x5cf76e(0x1c6)](this[_0x5cf76e(0x1b4)])),this[_0x5cf76e(0x1aa)]=new _0x369985(_0x2f4111,{'areActionsDisabled':_0x36d0f5,'showUnchangedParts':!!_0x358daa,'availableActions':_0x2cb3f8}),this[_0x5cf76e(0x1aa)][_0x5cf76e(0x1be)](..._0x3a32ec)['to'](this),this[_0x5cf76e(0x1aa)][_0x5cf76e(0x1c4)]({'attributes':{'class':[this[_0x5cf76e(0x169)]['if'](_0x5cf76e(0x190),_0x5cf76e(0x1cf)),this[_0x5cf76e(0x169)]['if'](_0x5cf76e(0x1a9),_0x5cf76e(0x1cf))]}}),this[_0x5cf76e(0x1b0)]=new _0xa13e96(_0x2f4111,_0x1dea2e,_0x478228),this[_0x5cf76e(0x1b0)][_0x5cf76e(0x1be)](..._0x3a32ec)['to'](this),this[_0x5cf76e(0x1b0)]['on'](_0x5cf76e(0x184),(_0xdf332e,_0x141176)=>{const _0x4c155d=_0x5cf76e;this[_0x4c155d(0x1c8)]=_0x141176,this[_0x4c155d(0x166)](_0x4c155d(0x1b2),{'showDiff':_0x141176});}),this[_0x5cf76e(0x1b0)][_0x5cf76e(0x1af)](_0x5cf76e(0x17c))['to'](this),this[_0x5cf76e(0x1bb)][_0x5cf76e(0x1c6)](this[_0x5cf76e(0x1aa)]),this[_0x5cf76e(0x1bb)][_0x5cf76e(0x1c6)](this[_0x5cf76e(0x1b0)]),this[_0x5cf76e(0x194)]=new AIWebSourcesView(this[_0x5cf76e(0x1d7)],this[_0x5cf76e(0x16d)]),this[_0x5cf76e(0x1bb)][_0x5cf76e(0x1c6)](this[_0x5cf76e(0x194)]),_0x228a09&&(this[_0x5cf76e(0x198)]=this[_0x5cf76e(0x1c3)](),this[_0x5cf76e(0x1bb)][_0x5cf76e(0x1c6)](this[_0x5cf76e(0x198)])),this[_0x5cf76e(0x1cc)]=this[_0x5cf76e(0x1c2)](),this[_0x5cf76e(0x1bb)][_0x5cf76e(0x1c6)](this[_0x5cf76e(0x1cc)]),this[_0x5cf76e(0x1cb)]({'tag':_0x5cf76e(0x1a6),'attributes':{'class':['ck',_0x5cf76e(0x195),_0x5cf76e(0x1a1)]},'children':this[_0x5cf76e(0x1bb)]});}async[_0x359801(0x1ae)](_0x677086){const _0x15a5c8=_0x359801;await this[_0x15a5c8(0x1aa)][_0x15a5c8(0x164)](_0x677086);}[_0x359801(0x196)](_0x1849dc){const _0x5a8f06=_0x359801,_0xa4d532=this[_0x5a8f06(0x194)],_0x45d682=_0xa4d532[_0x5a8f06(0x168)];_0xa4d532[_0x5a8f06(0x1bb)][_0x5a8f06(0x19c)](_0x1849dc[_0x5a8f06(0x162)](_0x14738a=>new AIWebSourceView(this[_0x5a8f06(0x1d7)],_0x14738a,_0x45d682))),_0xa4d532[_0x5a8f06(0x174)]=!0x0;}[_0x359801(0x1d2)](){const _0x5a7127=_0x359801;this[_0x5a7127(0x198)]&&(this[_0x5a7127(0x190)]=!0x0);}[_0x359801(0x1d4)](){const _0x534b37=_0x359801;this[_0x534b37(0x198)]&&(this[_0x534b37(0x190)]=!0x1);}[_0x359801(0x170)](_0x4317d7){const _0x434bcb=_0x359801;if(this[_0x434bcb(0x1cc)]){const _0x3dced7=this[_0x434bcb(0x1cc)][_0x434bcb(0x19a)]?.[_0x434bcb(0x181)](_0x434bcb(0x179));_0x3dced7&&(_0x3dced7[_0x434bcb(0x1b1)]=_0x4317d7),this[_0x434bcb(0x1a9)]=!0x0;}}[_0x359801(0x1ac)](){const _0x4d4e88=_0x359801;this[_0x4d4e88(0x1cc)]&&(this[_0x4d4e88(0x1a9)]=!0x1);}[_0x359801(0x1d3)](){const _0x4c838d=_0x359801;this[_0x4c838d(0x1aa)][_0x4c838d(0x1d3)](),this[_0x4c838d(0x1b4)]&&(this[_0x4c838d(0x1b4)][_0x4c838d(0x18e)]=this[_0x4c838d(0x1aa)][_0x4c838d(0x173)]);}[_0x359801(0x1bc)](){const _0x57cd9b=_0x359801;this[_0x57cd9b(0x17c)]=!0x0;}[_0x359801(0x1d5)](){const _0x10de29=_0x359801;this[_0x10de29(0x17c)]=!0x1;}[_0x359801(0x18b)](){const _0x14dce0=_0x359801;this[_0x14dce0(0x1b0)]&&(this[_0x14dce0(0x1b0)][_0x14dce0(0x17c)]=!0x0),this[_0x14dce0(0x1b4)]?.[_0x14dce0(0x1a7)]&&(this[_0x14dce0(0x1b4)][_0x14dce0(0x1a7)][_0x14dce0(0x1cd)]=!0x1);}[_0x359801(0x172)](){const _0x3bba02=_0x359801;this[_0x3bba02(0x1b0)]&&(this[_0x3bba02(0x1b0)][_0x3bba02(0x17c)]=!0x1),this[_0x3bba02(0x1b4)]?.[_0x3bba02(0x1a7)]&&(this[_0x3bba02(0x1b4)][_0x3bba02(0x1a7)][_0x3bba02(0x1cd)]=!0x0);}[_0x359801(0x182)](_0x5b7109){const _0x40f726=_0x359801;this[_0x40f726(0x1b0)][_0x40f726(0x1b6)][_0x40f726(0x1c6)](_0x5b7109);}[_0x359801(0x1a5)](_0x5d8388){const _0x1ab408=_0x359801;this[_0x1ab408(0x1b0)][_0x1ab408(0x1b6)][_0x1ab408(0x1b3)](_0x5d8388);}[_0x359801(0x1c3)](){const _0x2b8db0=_0x359801,_0x1ba617=new _0x58a9fa(this[_0x2b8db0(0x1d7)]),_0x21ed0c=new _0x579bd4(_0x2b8db0(0x17b));_0x21ed0c[_0x2b8db0(0x174)]=!0x0;const _0x2a590f=new _0x58a9fa(this[_0x2b8db0(0x1d7)]);return _0x2a590f[_0x2b8db0(0x1cb)]({'tag':_0x2b8db0(0x199),'attributes':{'class':['ck',_0x2b8db0(0x1a0)]},'children':[_0x55f3c7(this[_0x2b8db0(0x1d7)],_0x2b8db0(0x1a3))]}),_0x1ba617[_0x2b8db0(0x1cb)]({'tag':_0x2b8db0(0x1a6),'attributes':{'class':['ck',_0x2b8db0(0x18f),this[_0x2b8db0(0x169)]['if'](_0x2b8db0(0x190),_0x2b8db0(0x1cf),_0xc59726=>!_0xc59726)]},'children':[_0x21ed0c,_0x2a590f]}),_0x1ba617;}[_0x359801(0x1c2)](){const _0x47acf8=_0x359801,_0x40bd71=new _0x58a9fa(this[_0x47acf8(0x1d7)]),_0x5e7e29=new _0x58a9fa(this[_0x47acf8(0x1d7)]);return _0x5e7e29[_0x47acf8(0x1cb)]({'tag':_0x47acf8(0x199),'attributes':{'class':['ck',_0x47acf8(0x197)]},'children':[_0x55f3c7(this[_0x47acf8(0x1d7)],_0x47acf8(0x191))]}),_0x40bd71[_0x47acf8(0x1cb)]({'tag':_0x47acf8(0x1a6),'attributes':{'class':['ck',_0x47acf8(0x176),this[_0x47acf8(0x169)]['if'](_0x47acf8(0x1a9),_0x47acf8(0x1cf),_0xea9b1e=>!_0xea9b1e)]},'children':[_0x5e7e29]}),_0x40bd71;}}export class AIWebSourcesView extends _0x58a9fa{[_0x359801(0x1bb)];[_0x359801(0x168)];[_0x359801(0x177)];constructor(_0x1b0b9f,_0x2a1183){const _0x3c2ff7=_0x359801;super(_0x1b0b9f),this[_0x3c2ff7(0x177)]=_0x2a1183,this[_0x3c2ff7(0x1bb)]=this[_0x3c2ff7(0x1c7)](),this[_0x3c2ff7(0x1c9)](_0x3c2ff7(0x174),!0x1),this[_0x3c2ff7(0x1cb)]({'tag':_0x3c2ff7(0x1a6),'attributes':{'class':['ck',_0x3c2ff7(0x19e),this[_0x3c2ff7(0x169)]['if'](_0x3c2ff7(0x174),_0x3c2ff7(0x1cf),_0x288539=>!_0x288539)]},'children':this[_0x3c2ff7(0x1bb)]});const _0x5c6416=new _0x58a9fa(this[_0x3c2ff7(0x1d7)]),_0x25e38d=new _0x354661();_0x25e38d[_0x3c2ff7(0x163)]=_0x1e95fb,_0x5c6416[_0x3c2ff7(0x1cb)]({'tag':_0x3c2ff7(0x1a6),'attributes':{'class':['ck',_0x3c2ff7(0x1a8)]},'children':[_0x25e38d,{'tag':_0x3c2ff7(0x199),'children':[{'text':_0x55f3c7(this[_0x3c2ff7(0x1d7)],_0x3c2ff7(0x175))}]}]}),this[_0x3c2ff7(0x1bb)][_0x3c2ff7(0x1c6)](_0x5c6416),this[_0x3c2ff7(0x19d)](_0x1b0b9f);}[_0x359801(0x19d)](_0xae2830){const _0x13f006=_0x359801;this[_0x13f006(0x168)]=new _0x46860b(_0xae2830),this[_0x13f006(0x168)][_0x13f006(0x1c4)]({'attributes':{'class':[_0x13f006(0x19b)]}}),this[_0x13f006(0x177)][_0x13f006(0x1c6)](this[_0x13f006(0x168)]);}}export class AIWebSourceView extends _0x176830{[_0x359801(0x168)];[_0x359801(0x18c)];constructor(_0x5eb0a5,_0x1704de,_0x1afca5){const _0x41154c=_0x359801;super(_0x5eb0a5),this[_0x41154c(0x18c)]=_0x1704de,this[_0x41154c(0x168)]=_0x1afca5,this[_0x41154c(0x1c9)]({'label':_0x1704de[_0x41154c(0x1bd)],'class':[_0x41154c(0x1a4)],'withText':!0x0});const _0x357e15=this[_0x41154c(0x169)];if(this[_0x41154c(0x1c4)]({'on':{'click':_0x357e15['to'](()=>{const _0x4fd8c4=_0x41154c;window[_0x4fd8c4(0x1b9)](_0x1704de[_0x4fd8c4(0x1b5)],_0x4fd8c4(0x171));}),'mouseenter':_0x357e15['to'](()=>{const _0x180188=_0x41154c;this[_0x180188(0x165)]();}),'mouseleave':_0x357e15['to'](()=>{const _0x2fa2db=_0x41154c;this[_0x2fa2db(0x186)]();})}}),_0x1704de[_0x41154c(0x17e)]){const _0x2eb0ac=new _0x58a9fa(_0x5eb0a5);_0x2eb0ac[_0x41154c(0x1cb)]({'tag':_0x41154c(0x193),'attributes':{'src':_0x1704de[_0x41154c(0x17e)]||_0x1e95fb,'alt':_0x1704de[_0x41154c(0x1bd)],'class':[_0x41154c(0x18a)]}}),this[_0x41154c(0x1bb)][_0x41154c(0x1c6)](_0x2eb0ac);}else this[_0x41154c(0x1c9)](_0x41154c(0x1ce),_0x1e95fb);}[_0x359801(0x1ca)](_0x422821,_0x58f64b){const _0x5f0815=_0x359801,_0x1c5c19=new _0x58a9fa(_0x422821),_0x5bf7b0=[];let _0x24589f;_0x58f64b?.[_0x5f0815(0x17e)]?(_0x24589f=new _0x58a9fa(_0x422821),_0x24589f[_0x5f0815(0x1cb)]({'tag':_0x5f0815(0x193),'attributes':{'src':_0x58f64b[_0x5f0815(0x17e)],'alt':_0x58f64b[_0x5f0815(0x1bd)],'class':[_0x5f0815(0x1b7)]}})):(_0x24589f=new _0x354661(),_0x24589f[_0x5f0815(0x163)]=_0x1e95fb,_0x24589f[_0x5f0815(0x1c4)]({'attributes':{'alt':_0x58f64b[_0x5f0815(0x1bd)],'class':[_0x5f0815(0x1b7)]}})),_0x5bf7b0[_0x5f0815(0x1c0)](_0x24589f);const _0x5e663c=new _0x58a9fa(_0x422821);_0x5e663c[_0x5f0815(0x1cb)]({'tag':'a','attributes':{'class':[_0x5f0815(0x167)],'href':_0x58f64b[_0x5f0815(0x1b5)]},'children':[{'text':new URL(_0x58f64b[_0x5f0815(0x1b5)])?.[_0x5f0815(0x1ab)]}]}),_0x5bf7b0[_0x5f0815(0x1c0)](_0x5e663c);const _0x59fd1e=new _0x58a9fa(_0x422821);_0x59fd1e[_0x5f0815(0x1cb)]({'tag':_0x5f0815(0x1a6),'attributes':{'class':[_0x5f0815(0x1ad)]},'children':_0x5bf7b0});const _0x423571=new _0x58a9fa(_0x422821);return _0x423571[_0x5f0815(0x1cb)]({'tag':_0x5f0815(0x199),'attributes':{'class':[_0x5f0815(0x1ad),_0x5f0815(0x16a)]},'children':[{'text':_0x58f64b[_0x5f0815(0x1bd)][_0x5f0815(0x1d0)]>0x190?_0x58f64b[_0x5f0815(0x1bd)][_0x5f0815(0x189)](0x0,0x190)+_0x5f0815(0x1b8):_0x58f64b[_0x5f0815(0x1bd)]}]}),_0x1c5c19[_0x5f0815(0x1cb)]({'tag':_0x5f0815(0x1a6),'attributes':{'class':['ck',_0x5f0815(0x17f)]},'children':[_0x59fd1e,_0x423571]}),_0x1c5c19;}[_0x359801(0x165)](){const _0x48c833=_0x359801;this[_0x48c833(0x18d)](),this[_0x48c833(0x168)][_0x48c833(0x17a)]({'target':this[_0x48c833(0x19a)],'positions':[_0x46860b[_0x48c833(0x1d1)][_0x48c833(0x183)],_0x46860b[_0x48c833(0x1d1)][_0x48c833(0x1ba)],_0x46860b[_0x48c833(0x1d1)][_0x48c833(0x1c5)]],'limiter':document[_0x48c833(0x181)](_0x48c833(0x16c))}),this[_0x48c833(0x168)][_0x48c833(0x16e)]();}[_0x359801(0x186)](){const _0x40ff30=_0x359801;this[_0x40ff30(0x168)][_0x40ff30(0x1bf)]();}[_0x359801(0x18d)](){const _0x160789=_0x359801;this[_0x160789(0x168)][_0x160789(0x163)][_0x160789(0x16b)](0x0)?.[_0x160789(0x187)](),this[_0x160789(0x168)][_0x160789(0x163)][_0x160789(0x178)]();const _0x2de48b=this[_0x160789(0x1ca)](this[_0x160789(0x1d7)],this[_0x160789(0x18c)]);this[_0x160789(0x168)][_0x160789(0x163)][_0x160789(0x1c6)](_0x2de48b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a7430=_0x182a;(function(_0x141d91,_0x3d93db){const _0x2358d3=_0x182a,_0x209560=_0x141d91();while(!![]){try{const _0x3f258f=-parseInt(_0x2358d3(0x149))/0x1*(-parseInt(_0x2358d3(0x137))/0x2)+parseInt(_0x2358d3(0x16c))/0x3*(parseInt(_0x2358d3(0x16b))/0x4)+-parseInt(_0x2358d3(0x163))/0x5*(-parseInt(_0x2358d3(0x160))/0x6)+parseInt(_0x2358d3(0x161))/0x7+parseInt(_0x2358d3(0x134))/0x8+parseInt(_0x2358d3(0x151))/0x9+parseInt(_0x2358d3(0x166))/0xa*(-parseInt(_0x2358d3(0x16d))/0xb);if(_0x3f258f===_0x3d93db)break;else _0x209560['push'](_0x209560['shift']());}catch(_0x209d9e){_0x209560['push'](_0x209560['shift']());}}}(_0x40d1,0x3cb07));import{View as _0x48a254,IconView as _0x2d7818,ToolbarView as _0x742b3b,ButtonView as _0x446938}from'ckeditor5/src/ui.js';import{IconAddComment as _0x5466ab,IconDocumentWithLoupe as _0x32bf4d,IconDocumentWithCheckmark as _0x37d53f,IconDocumentWithCross as _0x3942d2,IconRemove as _0x585c26,IconThreeStars as _0x26771b}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x14e145}from'../../utils/htmlstreamer.js';import{getTranslation as _0x332af6}from'../../utils/common-translations.js';function _0x182a(_0xb257ff,_0x499d56){const _0x40d1c0=_0x40d1();return _0x182a=function(_0x182ab8,_0x26bff9){_0x182ab8=_0x182ab8-0x124;let _0x372df1=_0x40d1c0[_0x182ab8];return _0x372df1;},_0x182a(_0xb257ff,_0x499d56);}import{serialize as _0x25aae7}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2489fe}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x48a254{[_0x3a7430(0x16f)];[_0x3a7430(0x143)];[_0x3a7430(0x14d)];[_0x3a7430(0x14b)];constructor(_0x11dc21,{part:_0x5842fc,uiIndex:_0x551bab,areActionsDisabled:_0x7ce74d,availableActions:_0x216b50}){const _0x34a5b5=_0x3a7430;super(_0x11dc21),this[_0x34a5b5(0x16a)](_0x34a5b5(0x13c),_0x5842fc),this[_0x34a5b5(0x16a)](_0x34a5b5(0x174),_0x34a5b5(0x129)),this[_0x34a5b5(0x16a)](_0x34a5b5(0x142),!0x1),this[_0x34a5b5(0x15e)](_0x34a5b5(0x133))['to'](this,_0x34a5b5(0x174),_0xd8ee15=>_0x34a5b5(0x129)==_0xd8ee15&&!_0x7ce74d),this[_0x34a5b5(0x143)]=this[_0x34a5b5(0x126)](),this[_0x34a5b5(0x16f)]=new _0x14e145({'textNodeStyle':_0x34a5b5(0x147),'delay':0x14}),this[_0x34a5b5(0x14d)]=new Un(_0x11dc21,{'part':_0x5842fc,'uiIndex':_0x551bab,'availableActions':_0x216b50}),this[_0x34a5b5(0x14d)][_0x34a5b5(0x15e)](_0x34a5b5(0x13c))['to'](this),this[_0x34a5b5(0x14d)][_0x34a5b5(0x15e)](_0x34a5b5(0x133))['to'](this),this[_0x34a5b5(0x14d)][_0x34a5b5(0x15e)](_0x34a5b5(0x174))['to'](this),this[_0x34a5b5(0x14d)][_0x34a5b5(0x170)](..._0x2489fe)['to'](this);const _0x4b8cd5=this[_0x34a5b5(0x144)];this[_0x34a5b5(0x14b)]=new _0x48a254(),this[_0x34a5b5(0x14b)][_0x34a5b5(0x146)]({'tag':_0x34a5b5(0x159),'attributes':{'class':['ck',_0x34a5b5(0x15b),_0x34a5b5(0x14f),_0x34a5b5(0x13e)]}}),this[_0x34a5b5(0x143)][_0x34a5b5(0x167)]([this[_0x34a5b5(0x14b)]]),this[_0x34a5b5(0x146)]({'tag':_0x34a5b5(0x159),'attributes':{'class':['ck',_0x34a5b5(0x128),_0x4b8cd5['to'](_0x34a5b5(0x174),_0x180551=>_0x34a5b5(0x13d)+_0x180551),_0x4b8cd5['to'](_0x34a5b5(0x133),_0x2546e1=>_0x2546e1?_0x34a5b5(0x132):void 0x0),_0x4b8cd5['if'](_0x34a5b5(0x142),_0x34a5b5(0x173),_0x4a681c=>!_0x4a681c)]},'children':this[_0x34a5b5(0x143)],'on':{'mouseenter':_0x4b8cd5['to'](()=>{const _0x3bf96b=_0x34a5b5;this[_0x3bf96b(0x133)]&&this[_0x3bf96b(0x16e)](_0x3bf96b(0x14e),{'index':_0x5842fc[_0x3bf96b(0x15d)]});}),'mouseleave':_0x4b8cd5['to'](()=>{const _0x5419b3=_0x34a5b5;this[_0x5419b3(0x133)]&&this[_0x5419b3(0x16e)](_0x5419b3(0x12b),{'index':_0x5842fc[_0x5419b3(0x15d)]});})}});}async[_0x3a7430(0x148)]({part:_0xbb3ff2,renderingStrategy:_0x28e9fe,showUnchangedParts:_0x11e685=!0x1,abortSignal:_0xd7f133}){const _0x1f8112=_0x3a7430;this[_0x1f8112(0x13c)]=_0xbb3ff2,this[_0x1f8112(0x142)]=this[_0x1f8112(0x13c)][_0x1f8112(0x131)]||_0x11e685,this[_0x1f8112(0x142)]&&(_0x1f8112(0x162)===_0x28e9fe?await this[_0x1f8112(0x16f)][_0x1f8112(0x12a)]({'document':this[_0x1f8112(0x13c)][_0x1f8112(0x12c)],'targetElement':this[_0x1f8112(0x14b)][_0x1f8112(0x145)],'abortSignal':_0xd7f133}):this[_0x1f8112(0x14b)][_0x1f8112(0x145)][_0x1f8112(0x125)]=_0x25aae7(this[_0x1f8112(0x13c)][_0x1f8112(0x12c)]));}[_0x3a7430(0x150)](_0x958dc4){const _0x3f25c1=_0x3a7430;_0x958dc4?this[_0x3f25c1(0x143)][_0x3f25c1(0x175)](this[_0x3f25c1(0x14d)])||this[_0x3f25c1(0x143)][_0x3f25c1(0x140)](this[_0x3f25c1(0x14d)],0x0):this[_0x3f25c1(0x143)][_0x3f25c1(0x175)](this[_0x3f25c1(0x14d)])&&this[_0x3f25c1(0x143)][_0x3f25c1(0x136)](this[_0x3f25c1(0x14d)]);}}function _0x40d1(){const _0x26bf4e=['370eiZQkq','includes','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','3550090KSyxGq','addMany','toString','_iconStateAccepted','set','24IuGvOo','53319gcuBvu','44WPNGEr','fire','htmlStreamer','delegate','_iconStateOutdated','rejectSuggestion','ck-hidden','state','has','AI_SUGGESTION_CONTENT_PART_OUTDATED','innerHTML','createCollection','ck-ai-suggestion__body__content-part__icon-accepted','ck-ai-suggestion__body__content-part','pending','stream','mouseLeaveSuggestion','content','AI_SUGGESTION_CONTENT_PART_TITLE','ck-ai-suggestion__body__content-part__icon-rejected','execute','AI_SUGGESTION_CONTENT_PART_DELETE','hasChanges','ck-ai-suggestion__body__content-part_active','isEnabled','1437400jBiQto','extendTemplate','remove','6tsVLDu','span','ck-ai-suggestion__body__content-part__title__label','change:state','_toolbarView','partDefinition','ck-ai-suggestion__body__content-part_','ck-ai-suggestion__body__content-part__content','ck-ai-suggestion__body__content-part__title','add','_iconStateRejected','isVisible','children','bindTemplate','element','setTemplate','animation:\x20ck-html-streamer-fade-in\x20.5s','updateContent','108334LSUGCx','push','contentView','AI_SUGGESTION_CONTENT_PART_REJECTED','headerView','mouseOverSuggestion','ck-reset_all-excluded','toggleHeader','3059433kYdFwe','items','rejected','ck-ai-suggestion__body__content-part__icon-title','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','insertSuggestion','ck-ai-suggestion__body__content-part__icon-outdated','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','div','outdated','ck-content','showChangeInText','index','bind','accepted','23862RvMath','2961483nHqQzE','streaming'];_0x40d1=function(){return _0x26bf4e;};return _0x40d1();}class Un extends _0x48a254{[_0x3a7430(0x143)];[_0x3a7430(0x13b)];[_0x3a7430(0x169)];[_0x3a7430(0x141)];[_0x3a7430(0x171)];constructor(_0x47e032,{part:_0x3be254,uiIndex:_0x40857d,availableActions:_0x5d8c01}){const _0x38e81d=_0x3a7430;super(_0x47e032),this[_0x38e81d(0x16a)](_0x38e81d(0x13c),_0x3be254),this[_0x38e81d(0x16a)](_0x38e81d(0x133),!0x0),this[_0x38e81d(0x16a)](_0x38e81d(0x174),_0x38e81d(0x129));const _0x112dd9=new _0x2d7818();_0x112dd9[_0x38e81d(0x12c)]=_0x26771b,_0x112dd9[_0x38e81d(0x135)]({'attributes':{'class':[_0x38e81d(0x154)]}});const _0x10c1fb=[];if(_0x5d8c01[_0x38e81d(0x164)](_0x38e81d(0x15c))){const _0x5dad09=new _0x446938(_0x47e032);_0x5dad09[_0x38e81d(0x16a)]({'label':_0x332af6(_0x47e032,_0x38e81d(0x155)),'tooltip':!0x0,'withText':!0x1,'icon':_0x32bf4d}),_0x5dad09[_0x38e81d(0x15e)](_0x38e81d(0x133))['to'](this),_0x5dad09['on'](_0x38e81d(0x12f),()=>{const _0x51d59c=_0x38e81d;this[_0x51d59c(0x16e)](_0x51d59c(0x15c),{'index':_0x3be254[_0x51d59c(0x15d)]});}),_0x10c1fb[_0x38e81d(0x14a)](_0x5dad09);}if(_0x5d8c01[_0x38e81d(0x164)](_0x38e81d(0x156))){const _0x2bd4f4=new _0x446938(_0x47e032);_0x2bd4f4[_0x38e81d(0x16a)]({'label':_0x332af6(_0x47e032,_0x38e81d(0x165)),'tooltip':!0x0,'withText':!0x1,'icon':_0x5466ab}),_0x2bd4f4[_0x38e81d(0x15e)](_0x38e81d(0x133))['to'](this),_0x2bd4f4['on'](_0x38e81d(0x12f),()=>{const _0x381c97=_0x38e81d;this[_0x381c97(0x16e)](_0x381c97(0x156),{'index':_0x3be254[_0x381c97(0x15d)]});}),_0x10c1fb[_0x38e81d(0x14a)](_0x2bd4f4);}const _0x133908=new _0x446938(_0x47e032);_0x133908[_0x38e81d(0x16a)]({'label':_0x332af6(_0x47e032,_0x38e81d(0x130)),'tooltip':!0x0,'withText':!0x1,'icon':_0x585c26}),_0x133908[_0x38e81d(0x15e)](_0x38e81d(0x133))['to'](this),_0x133908['on'](_0x38e81d(0x12f),()=>{const _0x42a8b1=_0x38e81d;this[_0x42a8b1(0x16e)](_0x42a8b1(0x172),{'index':_0x3be254[_0x42a8b1(0x15d)]});}),_0x10c1fb[_0x38e81d(0x14a)](_0x133908),this[_0x38e81d(0x13b)]=new _0x742b3b(_0x47e032),this[_0x38e81d(0x13b)][_0x38e81d(0x152)][_0x38e81d(0x167)](_0x10c1fb),this[_0x38e81d(0x169)]=new _0x2d7818(),this[_0x38e81d(0x169)][_0x38e81d(0x12c)]=_0x37d53f,this[_0x38e81d(0x169)][_0x38e81d(0x135)]({'attributes':{'class':[_0x38e81d(0x127)],'data-cke-tooltip-text':_0x332af6(_0x47e032,_0x38e81d(0x158)),'data-cke-tooltip-position':'n'}}),this[_0x38e81d(0x141)]=new _0x2d7818(),this[_0x38e81d(0x141)][_0x38e81d(0x12c)]=_0x3942d2,this[_0x38e81d(0x141)][_0x38e81d(0x135)]({'attributes':{'class':[_0x38e81d(0x12e)],'data-cke-tooltip-text':_0x332af6(_0x47e032,_0x38e81d(0x14c)),'data-cke-tooltip-position':'n'}}),this[_0x38e81d(0x171)]=new _0x2d7818(),this[_0x38e81d(0x171)][_0x38e81d(0x12c)]=_0x3942d2,this[_0x38e81d(0x171)][_0x38e81d(0x135)]({'attributes':{'class':[_0x38e81d(0x157)],'data-cke-tooltip-text':_0x332af6(_0x47e032,_0x38e81d(0x124)),'data-cke-tooltip-position':'n'}});const _0x2580ff=new _0x48a254(_0x47e032);_0x2580ff[_0x38e81d(0x146)]({'tag':_0x38e81d(0x138),'attributes':{'class':['ck',_0x38e81d(0x139)]},'children':[_0x332af6(_0x47e032,_0x38e81d(0x12d),_0x40857d[_0x38e81d(0x168)]())]}),this[_0x38e81d(0x143)]=this[_0x38e81d(0x126)](),this[_0x38e81d(0x143)][_0x38e81d(0x167)]([_0x112dd9,_0x2580ff,this[_0x38e81d(0x13b)]]),this[_0x38e81d(0x146)]({'tag':_0x38e81d(0x159),'attributes':{'class':['ck',_0x38e81d(0x14f),_0x38e81d(0x13f)]},'children':this[_0x38e81d(0x143)]}),this['on'](_0x38e81d(0x13a),(_0x1060f3,_0x3ebdc5,_0x27ad5c,_0x27c0ff)=>{const _0x51661c=_0x38e81d;switch(_0x27c0ff){case _0x51661c(0x129):this[_0x51661c(0x143)][_0x51661c(0x136)](this[_0x51661c(0x13b)]);break;case _0x51661c(0x15f):this[_0x51661c(0x143)][_0x51661c(0x136)](this[_0x51661c(0x169)]);break;case _0x51661c(0x153):this[_0x51661c(0x143)][_0x51661c(0x136)](this[_0x51661c(0x141)]);break;case _0x51661c(0x15a):this[_0x51661c(0x143)][_0x51661c(0x136)](this[_0x51661c(0x171)]);}switch(_0x27ad5c){case _0x51661c(0x129):this[_0x51661c(0x143)][_0x51661c(0x140)](this[_0x51661c(0x13b)]);break;case _0x51661c(0x15f):this[_0x51661c(0x143)][_0x51661c(0x140)](this[_0x51661c(0x169)]);break;case _0x51661c(0x153):this[_0x51661c(0x143)][_0x51661c(0x140)](this[_0x51661c(0x141)]);break;case _0x51661c(0x15a):this[_0x51661c(0x143)][_0x51661c(0x140)](this[_0x51661c(0x171)]);}});}}
23
+ const _0x12fddf=_0x2f95;(function(_0x5a44ab,_0x1e2fe8){const _0x356a05=_0x2f95,_0x1ec603=_0x5a44ab();while(!![]){try{const _0x2fc85c=-parseInt(_0x356a05(0x1de))/0x1+-parseInt(_0x356a05(0x1ec))/0x2*(parseInt(_0x356a05(0x20c))/0x3)+parseInt(_0x356a05(0x1fb))/0x4*(parseInt(_0x356a05(0x217))/0x5)+-parseInt(_0x356a05(0x1ed))/0x6*(parseInt(_0x356a05(0x219))/0x7)+parseInt(_0x356a05(0x1fa))/0x8*(-parseInt(_0x356a05(0x1da))/0x9)+parseInt(_0x356a05(0x1ee))/0xa+parseInt(_0x356a05(0x1e1))/0xb*(parseInt(_0x356a05(0x1e5))/0xc);if(_0x2fc85c===_0x1e2fe8)break;else _0x1ec603['push'](_0x1ec603['shift']());}catch(_0x464e11){_0x1ec603['push'](_0x1ec603['shift']());}}}(_0x268a,0x1d62e));function _0x268a(){const _0x27d184=['toString','rejectSuggestion','execute','content','ck-hidden','delegate','partDefinition','448tBtTnz','32cVKMOh','ck-ai-suggestion__body__content-part__icon-title','change:state','bindTemplate','mouseLeaveSuggestion','items','ck-ai-suggestion__body__content-part_','_toolbarView','headerView','updateContent','showChangeInText','insertSuggestion','innerHTML','ck-content','stream','mouseOverSuggestion','fire','270NnuGGN','bind','_iconStateOutdated','rejected','ck-ai-suggestion__body__content-part_active','state','addMany','createCollection','set','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','AI_SUGGESTION_CONTENT_PART_OUTDATED','18290ZiQTFN','isEnabled','532jeSTgT','includes','streaming','AI_SUGGESTION_CONTENT_PART_TITLE','ck-ai-suggestion__body__content-part__title','span','animation:\x20ck-html-streamer-fade-in\x20.5s','push','has','add','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','ck-ai-suggestion__body__content-part__icon-rejected','pending','_iconStateAccepted','isVisible','remove','accepted','htmlStreamer','_iconStateRejected','8361GVXANs','div','ck-reset_all-excluded','AI_SUGGESTION_CONTENT_PART_REJECTED','98979YkmYDO','hasChanges','index','3045515VRlaIr','ck-ai-suggestion__body__content-part__icon-accepted','ck-ai-suggestion__body__content-part','ck-ai-suggestion__body__content-part__title__label','12mmblSv','extendTemplate','AI_SUGGESTION_CONTENT_PART_DELETE','ck-ai-suggestion__body__content-part__content','element','toggleHeader','ck-ai-suggestion__body__content-part__icon-outdated','2998lWeIqu','8502KHGqQh','2078420PxvUbz','setTemplate','contentView','children','outdated'];_0x268a=function(){return _0x27d184;};return _0x268a();}function _0x2f95(_0xf99fcf,_0x207e13){const _0x268aa8=_0x268a();return _0x2f95=function(_0x2f95d8,_0x36c02e){_0x2f95d8=_0x2f95d8-0x1d6;let _0x2a97a5=_0x268aa8[_0x2f95d8];return _0x2a97a5;},_0x2f95(_0xf99fcf,_0x207e13);}import{View as _0x334ff0,IconView as _0x4b5ddf,ToolbarView as _0x1292ee,ButtonView as _0x59f450}from'ckeditor5/src/ui.js';import{IconAddComment as _0x3aaae7,IconDocumentWithLoupe as _0x26f90d,IconDocumentWithCheckmark as _0x2a591c,IconDocumentWithCross as _0x3fdf80,IconRemove as _0x165d93,IconThreeStars as _0x360e4f}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x258220}from'../../utils/htmlstreamer.js';import{getTranslation as _0x1a6dfb}from'../../utils/common-translations.js';import{serialize as _0x525bb8}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5de88c}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x334ff0{[_0x12fddf(0x1d8)];[_0x12fddf(0x1f1)];[_0x12fddf(0x203)];[_0x12fddf(0x1f0)];constructor(_0x321014,{part:_0x22cf03,uiIndex:_0x26fed2,areActionsDisabled:_0x20f152,availableActions:_0x2b5eb2}){const _0x57c121=_0x12fddf;super(_0x321014),this[_0x57c121(0x214)](_0x57c121(0x1f9),_0x22cf03),this[_0x57c121(0x214)](_0x57c121(0x211),_0x57c121(0x226)),this[_0x57c121(0x214)](_0x57c121(0x228),!0x1),this[_0x57c121(0x20d)](_0x57c121(0x218))['to'](this,_0x57c121(0x211),_0x35cb05=>_0x57c121(0x226)==_0x35cb05&&!_0x20f152),this[_0x57c121(0x1f1)]=this[_0x57c121(0x213)](),this[_0x57c121(0x1d8)]=new _0x258220({'textNodeStyle':_0x57c121(0x21f),'delay':0x14}),this[_0x57c121(0x203)]=new Un(_0x321014,{'part':_0x22cf03,'uiIndex':_0x26fed2,'availableActions':_0x2b5eb2}),this[_0x57c121(0x203)][_0x57c121(0x20d)](_0x57c121(0x1f9))['to'](this),this[_0x57c121(0x203)][_0x57c121(0x20d)](_0x57c121(0x218))['to'](this),this[_0x57c121(0x203)][_0x57c121(0x20d)](_0x57c121(0x211))['to'](this),this[_0x57c121(0x203)][_0x57c121(0x1f8)](..._0x5de88c)['to'](this);const _0x4126ef=this[_0x57c121(0x1fe)];this[_0x57c121(0x1f0)]=new _0x334ff0(),this[_0x57c121(0x1f0)][_0x57c121(0x1ef)]({'tag':_0x57c121(0x1db),'attributes':{'class':['ck',_0x57c121(0x208),_0x57c121(0x1dc),_0x57c121(0x1e8)]}}),this[_0x57c121(0x1f1)][_0x57c121(0x212)]([this[_0x57c121(0x1f0)]]),this[_0x57c121(0x1ef)]({'tag':_0x57c121(0x1db),'attributes':{'class':['ck',_0x57c121(0x1e3),_0x4126ef['to'](_0x57c121(0x211),_0x4b28fc=>_0x57c121(0x201)+_0x4b28fc),_0x4126ef['to'](_0x57c121(0x218),_0x5614aa=>_0x5614aa?_0x57c121(0x210):void 0x0),_0x4126ef['if'](_0x57c121(0x228),_0x57c121(0x1f7),_0x53196f=>!_0x53196f)]},'children':this[_0x57c121(0x1f1)],'on':{'mouseenter':_0x4126ef['to'](()=>{const _0x32729b=_0x57c121;this[_0x32729b(0x218)]&&this[_0x32729b(0x20b)](_0x32729b(0x20a),{'index':_0x22cf03[_0x32729b(0x1e0)]});}),'mouseleave':_0x4126ef['to'](()=>{const _0x3998dc=_0x57c121;this[_0x3998dc(0x218)]&&this[_0x3998dc(0x20b)](_0x3998dc(0x1ff),{'index':_0x22cf03[_0x3998dc(0x1e0)]});})}});}async[_0x12fddf(0x204)]({part:_0x41047a,renderingStrategy:_0x12d633,showUnchangedParts:_0x31a57d=!0x1,abortSignal:_0x3081a5}){const _0x22672a=_0x12fddf;this[_0x22672a(0x1f9)]=_0x41047a,this[_0x22672a(0x228)]=this[_0x22672a(0x1f9)][_0x22672a(0x1df)]||_0x31a57d,this[_0x22672a(0x228)]&&(_0x22672a(0x21b)===_0x12d633?await this[_0x22672a(0x1d8)][_0x22672a(0x209)]({'document':this[_0x22672a(0x1f9)][_0x22672a(0x1f6)],'targetElement':this[_0x22672a(0x1f0)][_0x22672a(0x1e9)],'abortSignal':_0x3081a5}):this[_0x22672a(0x1f0)][_0x22672a(0x1e9)][_0x22672a(0x207)]=_0x525bb8(this[_0x22672a(0x1f9)][_0x22672a(0x1f6)]));}[_0x12fddf(0x1ea)](_0x2a46ba){const _0x4f43cb=_0x12fddf;_0x2a46ba?this[_0x4f43cb(0x1f1)][_0x4f43cb(0x221)](this[_0x4f43cb(0x203)])||this[_0x4f43cb(0x1f1)][_0x4f43cb(0x222)](this[_0x4f43cb(0x203)],0x0):this[_0x4f43cb(0x1f1)][_0x4f43cb(0x221)](this[_0x4f43cb(0x203)])&&this[_0x4f43cb(0x1f1)][_0x4f43cb(0x1d6)](this[_0x4f43cb(0x203)]);}}class Un extends _0x334ff0{[_0x12fddf(0x1f1)];[_0x12fddf(0x202)];[_0x12fddf(0x227)];[_0x12fddf(0x1d9)];[_0x12fddf(0x20e)];constructor(_0x476079,{part:_0x3d1054,uiIndex:_0x3d19c1,availableActions:_0x886da6}){const _0x1ac3c7=_0x12fddf;super(_0x476079),this[_0x1ac3c7(0x214)](_0x1ac3c7(0x1f9),_0x3d1054),this[_0x1ac3c7(0x214)](_0x1ac3c7(0x218),!0x0),this[_0x1ac3c7(0x214)](_0x1ac3c7(0x211),_0x1ac3c7(0x226));const _0x374653=new _0x4b5ddf();_0x374653[_0x1ac3c7(0x1f6)]=_0x360e4f,_0x374653[_0x1ac3c7(0x1e6)]({'attributes':{'class':[_0x1ac3c7(0x1fc)]}});const _0x15aee4=[];if(_0x886da6[_0x1ac3c7(0x21a)](_0x1ac3c7(0x205))){const _0x5ae758=new _0x59f450(_0x476079);_0x5ae758[_0x1ac3c7(0x214)]({'label':_0x1a6dfb(_0x476079,_0x1ac3c7(0x223)),'tooltip':!0x0,'withText':!0x1,'icon':_0x26f90d}),_0x5ae758[_0x1ac3c7(0x20d)](_0x1ac3c7(0x218))['to'](this),_0x5ae758['on'](_0x1ac3c7(0x1f5),()=>{const _0xdfb537=_0x1ac3c7;this[_0xdfb537(0x20b)](_0xdfb537(0x205),{'index':_0x3d1054[_0xdfb537(0x1e0)]});}),_0x15aee4[_0x1ac3c7(0x220)](_0x5ae758);}if(_0x886da6[_0x1ac3c7(0x21a)](_0x1ac3c7(0x206))){const _0xb9e880=new _0x59f450(_0x476079);_0xb9e880[_0x1ac3c7(0x214)]({'label':_0x1a6dfb(_0x476079,_0x1ac3c7(0x224)),'tooltip':!0x0,'withText':!0x1,'icon':_0x3aaae7}),_0xb9e880[_0x1ac3c7(0x20d)](_0x1ac3c7(0x218))['to'](this),_0xb9e880['on'](_0x1ac3c7(0x1f5),()=>{const _0x5043e5=_0x1ac3c7;this[_0x5043e5(0x20b)](_0x5043e5(0x206),{'index':_0x3d1054[_0x5043e5(0x1e0)]});}),_0x15aee4[_0x1ac3c7(0x220)](_0xb9e880);}const _0x3e8b33=new _0x59f450(_0x476079);_0x3e8b33[_0x1ac3c7(0x214)]({'label':_0x1a6dfb(_0x476079,_0x1ac3c7(0x1e7)),'tooltip':!0x0,'withText':!0x1,'icon':_0x165d93}),_0x3e8b33[_0x1ac3c7(0x20d)](_0x1ac3c7(0x218))['to'](this),_0x3e8b33['on'](_0x1ac3c7(0x1f5),()=>{const _0x267f03=_0x1ac3c7;this[_0x267f03(0x20b)](_0x267f03(0x1f4),{'index':_0x3d1054[_0x267f03(0x1e0)]});}),_0x15aee4[_0x1ac3c7(0x220)](_0x3e8b33),this[_0x1ac3c7(0x202)]=new _0x1292ee(_0x476079),this[_0x1ac3c7(0x202)][_0x1ac3c7(0x200)][_0x1ac3c7(0x212)](_0x15aee4),this[_0x1ac3c7(0x227)]=new _0x4b5ddf(),this[_0x1ac3c7(0x227)][_0x1ac3c7(0x1f6)]=_0x2a591c,this[_0x1ac3c7(0x227)][_0x1ac3c7(0x1e6)]({'attributes':{'class':[_0x1ac3c7(0x1e2)],'data-cke-tooltip-text':_0x1a6dfb(_0x476079,_0x1ac3c7(0x215)),'data-cke-tooltip-position':'n'}}),this[_0x1ac3c7(0x1d9)]=new _0x4b5ddf(),this[_0x1ac3c7(0x1d9)][_0x1ac3c7(0x1f6)]=_0x3fdf80,this[_0x1ac3c7(0x1d9)][_0x1ac3c7(0x1e6)]({'attributes':{'class':[_0x1ac3c7(0x225)],'data-cke-tooltip-text':_0x1a6dfb(_0x476079,_0x1ac3c7(0x1dd)),'data-cke-tooltip-position':'n'}}),this[_0x1ac3c7(0x20e)]=new _0x4b5ddf(),this[_0x1ac3c7(0x20e)][_0x1ac3c7(0x1f6)]=_0x3fdf80,this[_0x1ac3c7(0x20e)][_0x1ac3c7(0x1e6)]({'attributes':{'class':[_0x1ac3c7(0x1eb)],'data-cke-tooltip-text':_0x1a6dfb(_0x476079,_0x1ac3c7(0x216)),'data-cke-tooltip-position':'n'}});const _0x1fd300=new _0x334ff0(_0x476079);_0x1fd300[_0x1ac3c7(0x1ef)]({'tag':_0x1ac3c7(0x21e),'attributes':{'class':['ck',_0x1ac3c7(0x1e4)]},'children':[_0x1a6dfb(_0x476079,_0x1ac3c7(0x21c),_0x3d19c1[_0x1ac3c7(0x1f3)]())]}),this[_0x1ac3c7(0x1f1)]=this[_0x1ac3c7(0x213)](),this[_0x1ac3c7(0x1f1)][_0x1ac3c7(0x212)]([_0x374653,_0x1fd300,this[_0x1ac3c7(0x202)]]),this[_0x1ac3c7(0x1ef)]({'tag':_0x1ac3c7(0x1db),'attributes':{'class':['ck',_0x1ac3c7(0x1dc),_0x1ac3c7(0x21d)]},'children':this[_0x1ac3c7(0x1f1)]}),this['on'](_0x1ac3c7(0x1fd),(_0x277178,_0x28a395,_0x468b84,_0x5e6e2b)=>{const _0x43e3fd=_0x1ac3c7;switch(_0x5e6e2b){case _0x43e3fd(0x226):this[_0x43e3fd(0x1f1)][_0x43e3fd(0x1d6)](this[_0x43e3fd(0x202)]);break;case _0x43e3fd(0x1d7):this[_0x43e3fd(0x1f1)][_0x43e3fd(0x1d6)](this[_0x43e3fd(0x227)]);break;case _0x43e3fd(0x20f):this[_0x43e3fd(0x1f1)][_0x43e3fd(0x1d6)](this[_0x43e3fd(0x1d9)]);break;case _0x43e3fd(0x1f2):this[_0x43e3fd(0x1f1)][_0x43e3fd(0x1d6)](this[_0x43e3fd(0x20e)]);}switch(_0x468b84){case _0x43e3fd(0x226):this[_0x43e3fd(0x1f1)][_0x43e3fd(0x222)](this[_0x43e3fd(0x202)]);break;case _0x43e3fd(0x1d7):this[_0x43e3fd(0x1f1)][_0x43e3fd(0x222)](this[_0x43e3fd(0x227)]);break;case _0x43e3fd(0x20f):this[_0x43e3fd(0x1f1)][_0x43e3fd(0x222)](this[_0x43e3fd(0x1d9)]);break;case _0x43e3fd(0x1f2):this[_0x43e3fd(0x1f1)][_0x43e3fd(0x222)](this[_0x43e3fd(0x20e)]);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d0ae2=_0x4802;function _0x3a80(){const _0x33517b=['20255499ywzunZ','AI_SUGGESTION_BUTTON_SHOW_CHANGES','isOn','fire','setTemplate','isVisible','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','417906QNVGBp','span','render','AI_SUGGESTION_HEADER_TITLE','add','filter','content','2242751FDzhko','ck-ai-suggestion__header','isShowChangesToggleVisible','toggleShowChanges','execute','showHeader','8opcnFk','1047065onWaAo','ck-hidden','15qeGrLJ','bind','remove','showChangesToggleView','children','382699jYmDtY','showDiff','176334hPQWqn','icon','set','100uYJHSX','div','230264iTGcdJ','iconView','6LxCsif'];_0x3a80=function(){return _0x33517b;};return _0x3a80();}(function(_0x2eaf2d,_0x47d19f){const _0x488b65=_0x4802,_0x27a0c0=_0x2eaf2d();while(!![]){try{const _0x2ac753=-parseInt(_0x488b65(0xdf))/0x1+parseInt(_0x488b65(0xe1))/0x2+parseInt(_0x488b65(0xda))/0x3*(-parseInt(_0x488b65(0xc0))/0x4)+-parseInt(_0x488b65(0xd8))/0x5*(parseInt(_0x488b65(0xc2))/0x6)+parseInt(_0x488b65(0xd1))/0x7*(-parseInt(_0x488b65(0xd7))/0x8)+-parseInt(_0x488b65(0xca))/0x9*(parseInt(_0x488b65(0xbe))/0xa)+parseInt(_0x488b65(0xc3))/0xb;if(_0x2ac753===_0x47d19f)break;else _0x27a0c0['push'](_0x27a0c0['shift']());}catch(_0x398372){_0x27a0c0['push'](_0x27a0c0['shift']());}}}(_0x3a80,0x40ac5));import{getTranslation as _0x2dc03d}from'../../utils/common-translations.js';import{ButtonView as _0x1e0e40,IconView as _0x5df976,View as _0x1e5796}from'ckeditor5/src/ui.js';import{IconDocument as _0x23ddc4,IconShowChangesOff as _0x519e81,IconShowChangesOn as _0x335bfe}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x1e5796{[_0x2d0ae2(0xdd)];constructor(_0xdc72f,_0x5e5e87){const _0x19a317=_0x2d0ae2;super(_0xdc72f),this[_0x19a317(0xbd)](_0x19a317(0xd3),!0x0),this[_0x19a317(0xdd)]=new ShowChangesToggleView(_0xdc72f),this[_0x19a317(0xdd)][_0x19a317(0xbd)]({'class':_0x19a317(0xc9),'label':_0x2dc03d(_0xdc72f,_0x19a317(0xc4)),'withText':!0x0}),this[_0x19a317(0xdd)][_0x19a317(0xc5)]=_0x5e5e87[_0x19a317(0xe0)],this[_0x19a317(0xdd)][_0x19a317(0xdb)](_0x19a317(0xc8))['to'](this,_0x19a317(0xd3)),this[_0x19a317(0xdd)][_0x19a317(0xdb)](_0x19a317(0xbc))['to'](this[_0x19a317(0xdd)],_0x19a317(0xc5),_0x4641c0=>_0x4641c0?_0x335bfe:_0x519e81),this[_0x19a317(0xdd)]['on'](_0x19a317(0xd5),()=>{const _0x246edd=_0x19a317;this[_0x246edd(0xdd)][_0x246edd(0xc5)]=!this[_0x246edd(0xdd)][_0x246edd(0xc5)],this[_0x246edd(0xc6)](_0x246edd(0xd4),{'isOn':this[_0x246edd(0xdd)][_0x246edd(0xc5)]});});const _0x568ee8=new _0x5df976();_0x568ee8[_0x19a317(0xd0)]=_0x23ddc4,this[_0x19a317(0xc7)]({'tag':_0x19a317(0xbf),'attributes':{'class':['ck',_0x19a317(0xd2),!0x1===_0x5e5e87[_0x19a317(0xd6)]?_0x19a317(0xd9):null][_0x19a317(0xcf)](Boolean)},'children':[_0x568ee8,{'tag':_0x19a317(0xcb),'children':[_0x2dc03d(_0xdc72f,_0x19a317(0xcd))]},this[_0x19a317(0xdd)]]});}}function _0x4802(_0x41a7df,_0x320b3f){const _0x3a8029=_0x3a80();return _0x4802=function(_0x480259,_0x5b0c25){_0x480259=_0x480259-0xbc;let _0x31981d=_0x3a8029[_0x480259];return _0x31981d;},_0x4802(_0x41a7df,_0x320b3f);}export class ShowChangesToggleView extends _0x1e0e40{[_0x2d0ae2(0xcc)](){const _0x4a7c1a=_0x2d0ae2;super[_0x4a7c1a(0xcc)](),this[_0x4a7c1a(0xde)][_0x4a7c1a(0xdc)](this[_0x4a7c1a(0xc1)]),this[_0x4a7c1a(0xde)][_0x4a7c1a(0xce)](this[_0x4a7c1a(0xc1)]);}}
23
+ const _0x1db151=_0x1ecf;(function(_0x564bba,_0x523e1c){const _0x6c3a0f=_0x1ecf,_0x159394=_0x564bba();while(!![]){try{const _0x373109=-parseInt(_0x6c3a0f(0x14a))/0x1*(-parseInt(_0x6c3a0f(0x132))/0x2)+-parseInt(_0x6c3a0f(0x13a))/0x3+parseInt(_0x6c3a0f(0x153))/0x4+-parseInt(_0x6c3a0f(0x148))/0x5+-parseInt(_0x6c3a0f(0x136))/0x6*(-parseInt(_0x6c3a0f(0x150))/0x7)+-parseInt(_0x6c3a0f(0x14c))/0x8*(-parseInt(_0x6c3a0f(0x13b))/0x9)+-parseInt(_0x6c3a0f(0x13e))/0xa;if(_0x373109===_0x523e1c)break;else _0x159394['push'](_0x159394['shift']());}catch(_0x37a1e6){_0x159394['push'](_0x159394['shift']());}}}(_0x3d9d,0xc00a0));import{getTranslation as _0xfafafc}from'../../utils/common-translations.js';import{ButtonView as _0x24bc44,IconView as _0x33d8d0,View as _0x538545}from'ckeditor5/src/ui.js';function _0x3d9d(){const _0x38777a=['execute','264OiKWmw','div','remove','isShowChangesToggleVisible','1968699HLSCVg','10574073QRlGXH','render','add','3838110Aqbaqm','isOn','toggleShowChanges','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','showDiff','iconView','bind','showChangesToggleView','isVisible','AI_SUGGESTION_HEADER_TITLE','7027115axXVcX','showHeader','207073hXRWFT','children','8XzJENN','filter','setTemplate','icon','206178kSZywz','fire','ck-ai-suggestion__header','2216452datFyw','set','ck-hidden','content','2aRTrvR','AI_SUGGESTION_BUTTON_SHOW_CHANGES','span'];_0x3d9d=function(){return _0x38777a;};return _0x3d9d();}import{IconDocument as _0x528bdb,IconShowChangesOff as _0x205837,IconShowChangesOn as _0x10f9f0}from'ckeditor5/src/icons.js';function _0x1ecf(_0x23ef69,_0x24e583){const _0x3d9dfe=_0x3d9d();return _0x1ecf=function(_0x1ecf21,_0x2181e4){_0x1ecf21=_0x1ecf21-0x12f;let _0x5e5594=_0x3d9dfe[_0x1ecf21];return _0x5e5594;},_0x1ecf(_0x23ef69,_0x24e583);}export class AISuggestionHeaderView extends _0x538545{[_0x1db151(0x145)];constructor(_0x5147bc,_0x39325b){const _0x5143d9=_0x1db151;super(_0x5147bc),this[_0x5143d9(0x12f)](_0x5143d9(0x139),!0x0),this[_0x5143d9(0x145)]=new ShowChangesToggleView(_0x5147bc),this[_0x5143d9(0x145)][_0x5143d9(0x12f)]({'class':_0x5143d9(0x141),'label':_0xfafafc(_0x5147bc,_0x5143d9(0x133)),'withText':!0x0}),this[_0x5143d9(0x145)][_0x5143d9(0x13f)]=_0x39325b[_0x5143d9(0x142)],this[_0x5143d9(0x145)][_0x5143d9(0x144)](_0x5143d9(0x146))['to'](this,_0x5143d9(0x139)),this[_0x5143d9(0x145)][_0x5143d9(0x144)](_0x5143d9(0x14f))['to'](this[_0x5143d9(0x145)],_0x5143d9(0x13f),_0x4f93a3=>_0x4f93a3?_0x10f9f0:_0x205837),this[_0x5143d9(0x145)]['on'](_0x5143d9(0x135),()=>{const _0x1f492c=_0x5143d9;this[_0x1f492c(0x145)][_0x1f492c(0x13f)]=!this[_0x1f492c(0x145)][_0x1f492c(0x13f)],this[_0x1f492c(0x151)](_0x1f492c(0x140),{'isOn':this[_0x1f492c(0x145)][_0x1f492c(0x13f)]});});const _0x11969d=new _0x33d8d0();_0x11969d[_0x5143d9(0x131)]=_0x528bdb,this[_0x5143d9(0x14e)]({'tag':_0x5143d9(0x137),'attributes':{'class':['ck',_0x5143d9(0x152),!0x1===_0x39325b[_0x5143d9(0x149)]?_0x5143d9(0x130):null][_0x5143d9(0x14d)](Boolean)},'children':[_0x11969d,{'tag':_0x5143d9(0x134),'children':[_0xfafafc(_0x5147bc,_0x5143d9(0x147))]},this[_0x5143d9(0x145)]]});}}export class ShowChangesToggleView extends _0x24bc44{[_0x1db151(0x13c)](){const _0x115bfa=_0x1db151;super[_0x115bfa(0x13c)](),this[_0x115bfa(0x14b)][_0x115bfa(0x138)](this[_0x115bfa(0x143)]),this[_0x115bfa(0x14b)][_0x115bfa(0x13d)](this[_0x115bfa(0x143)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1dbab0,_0x59100d){const _0x4b7039=_0x3c09,_0x408821=_0x1dbab0();while(!![]){try{const _0x128458=-parseInt(_0x4b7039(0x1b6))/0x1+parseInt(_0x4b7039(0x1b5))/0x2+parseInt(_0x4b7039(0x1b7))/0x3+-parseInt(_0x4b7039(0x1ac))/0x4+parseInt(_0x4b7039(0x1d0))/0x5+-parseInt(_0x4b7039(0x1c6))/0x6*(-parseInt(_0x4b7039(0x1ce))/0x7)+parseInt(_0x4b7039(0x1b4))/0x8*(parseInt(_0x4b7039(0x1c5))/0x9);if(_0x128458===_0x59100d)break;else _0x408821['push'](_0x408821['shift']());}catch(_0x518791){_0x408821['push'](_0x408821['shift']());}}}(_0x2496,0xb40d4));import{transformOperationSets as _0x29aa95}from'ckeditor5/src/engine.js';function _0x2496(){const _0x1dcb64=['document','content','filter','3402jyYUll','operationsA','6260940HrnPwm','3895964BmHEyM','markers','history','documentContextContent','model','getDiff','name','new','18904zjcYAl','27706fOYeWB','877406DsZpdj','450864NXbGMM','type','cloneNode','getOperations','marker','node','oldRange','version','removed','anchorId','length','getDocumentContext','shift','map','2502CPAdmr','6366FDhBus','data-id','get','getRange','previousSibling'];_0x2496=function(){return _0x1dcb64;};return _0x2496();}function _0x3c09(_0x26133c,_0x50d2d6){const _0x24967c=_0x2496();return _0x3c09=function(_0x3c09ce,_0x47a4ea){_0x3c09ce=_0x3c09ce-0x1ac;let _0x52d2e7=_0x24967c[_0x3c09ce];return _0x52d2e7;},_0x3c09(_0x26133c,_0x50d2d6);}import{append as _0x13dc9b,findByAttribute as _0x33c2ed,prependChild as _0x34dc8c,removeElement as _0x532aa3,serialize as _0x888708}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x2267c1,interaction:_0x35d460,reply:_0x2c89b0,groups:_0x14766c,transform:_0x4d0ae8,documentCompare:_0x255d7a,documentCompareOptions:_0x1bc800}){const _0xefb980=_0x3c09,_0x428d69=_0x35d460[_0xefb980(0x1c2)]();if(!_0x428d69)return[];const _0x3c0113=_0x428d69[_0xefb980(0x1cc)],_0x56b26a=_0x428d69[_0xefb980(0x1be)],_0x53577b=_0x2c89b0[_0xefb980(0x1af)][_0xefb980(0x1b9)](!0x0);for(const {changes:_0x816297}of _0x14766c){const _0x14c53d=_0x816297[_0xefb980(0x1cd)](_0x1f055d=>_0xefb980(0x1b3)!=_0x1f055d[_0xefb980(0x1b8)])[_0xefb980(0x1c4)](_0x4c1830=>_0x33c2ed(_0xefb980(0x1c7),_0x4c1830['id'],_0x53577b)),_0x208170=_0x816297[_0xefb980(0x1cd)](_0x1828cd=>_0xefb980(0x1bf)!=_0x1828cd[_0xefb980(0x1b8)])[_0xefb980(0x1c4)](_0xa24db2=>_0xa24db2[_0xefb980(0x1bc)][_0xefb980(0x1b9)](!0x0));let _0x2a1eb8=null;if(_0x14c53d[_0xefb980(0x1c1)]){_0x2a1eb8=_0x14c53d[0x0][_0xefb980(0x1ca)];for(let _0x4ff55b=0x0;_0x4ff55b<_0x14c53d[_0xefb980(0x1c1)];_0x4ff55b++)_0x532aa3(_0x14c53d[_0x4ff55b]);}if(_0x208170[_0xefb980(0x1c1)]){_0x2a1eb8||(_0x816297[0x0][_0xefb980(0x1c0)]?_0x2a1eb8=_0x33c2ed(_0xefb980(0x1c7),_0x816297[0x0][_0xefb980(0x1c0)],_0x53577b):(_0x2a1eb8=_0x208170[_0xefb980(0x1c3)](),_0x34dc8c(_0x53577b,_0x2a1eb8)));for(let _0x4af17c=0x0;_0x4af17c<_0x208170[_0xefb980(0x1c1)];_0x4af17c++)_0x13dc9b(_0x2a1eb8,_0x208170[_0x4af17c]),_0x2a1eb8=_0x208170[_0x4af17c];}}const _0x2c452d=_0x888708(_0x53577b),_0x2b8639=_0x255d7a[_0xefb980(0x1b1)](_0x3c0113,_0x2c452d,_0x1bc800)[_0xefb980(0x1ba)]();if(_0x4d0ae8){const _0x55d0bc=_0x2267c1[_0xefb980(0x1b0)][_0xefb980(0x1cb)][_0xefb980(0x1ae)][_0xefb980(0x1ba)](_0x56b26a),_0x2ee26b={'document':_0x2267c1[_0xefb980(0x1b0)][_0xefb980(0x1cb)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x29aa95(_0x2b8639,_0x55d0bc,_0x2ee26b)[_0xefb980(0x1cf)];}return _0x2b8639;}export function fixMarkerOperationOldRange(_0x57833a,_0x517026){const _0xe8e25c=_0x3c09;if(_0xe8e25c(0x1bb)!=_0x517026[_0xe8e25c(0x1b8)])return;const _0x39f733=_0x57833a[_0xe8e25c(0x1b0)][_0xe8e25c(0x1ad)][_0xe8e25c(0x1c8)](_0x517026[_0xe8e25c(0x1b2)]);_0x39f733&&(_0x517026[_0xe8e25c(0x1bd)]=_0x39f733[_0xe8e25c(0x1c9)]());}
23
+ (function(_0x431d62,_0x4f2bef){const _0x3ac976=_0x5b62,_0x48514e=_0x431d62();while(!![]){try{const _0x23f354=parseInt(_0x3ac976(0x1f4))/0x1*(-parseInt(_0x3ac976(0x200))/0x2)+-parseInt(_0x3ac976(0x1e4))/0x3*(-parseInt(_0x3ac976(0x1ed))/0x4)+parseInt(_0x3ac976(0x1ff))/0x5+-parseInt(_0x3ac976(0x1e9))/0x6+-parseInt(_0x3ac976(0x1de))/0x7*(parseInt(_0x3ac976(0x201))/0x8)+parseInt(_0x3ac976(0x1f8))/0x9*(-parseInt(_0x3ac976(0x1f5))/0xa)+parseInt(_0x3ac976(0x1ee))/0xb;if(_0x23f354===_0x4f2bef)break;else _0x48514e['push'](_0x48514e['shift']());}catch(_0x305096){_0x48514e['push'](_0x48514e['shift']());}}}(_0x27f4,0x7f862));import{transformOperationSets as _0x465ec4}from'ckeditor5/src/engine.js';import{append as _0x3472de,findByAttribute as _0x134ea7,prependChild as _0x4c2e45,removeElement as _0x503904,serialize as _0x23b939}from'./htmlparser.js';function _0x27f4(){const _0xebfccc=['cloneNode','removed','9EIiPYU','data-id','getOperations','type','name','6245808qwYFnf','new','document','documentContextContent','693388iudXqT','22028171OPttMI','marker','markers','map','length','anchorId','79cBZOpm','110gTuihs','filter','oldRange','647973xodeMf','model','history','shift','node','getDocumentContext','operationsA','3539065OizdGx','15976FQeHRa','55792espHqB','get','content','previousSibling','245jAVQFO','getDiff','getRange','version'];_0x27f4=function(){return _0xebfccc;};return _0x27f4();}function _0x5b62(_0x5cc54c,_0x4f0440){const _0x27f4bf=_0x27f4();return _0x5b62=function(_0x5b62ea,_0x185922){_0x5b62ea=_0x5b62ea-0x1dd;let _0x343712=_0x27f4bf[_0x5b62ea];return _0x343712;},_0x5b62(_0x5cc54c,_0x4f0440);}export function getOperationsFromReply({editor:_0x466bcc,interaction:_0x31c9ec,reply:_0x40bdf6,groups:_0x1832db,transform:_0x2ad342,documentCompare:_0x460d98,documentCompareOptions:_0x355491}){const _0x14a984=_0x5b62,_0x15c0fb=_0x31c9ec[_0x14a984(0x1fd)]();if(!_0x15c0fb)return[];const _0x45800b=_0x15c0fb[_0x14a984(0x203)],_0x975358=_0x15c0fb[_0x14a984(0x1e1)],_0x402492=_0x40bdf6[_0x14a984(0x1ec)][_0x14a984(0x1e2)](!0x0);for(const {changes:_0x3009ff}of _0x1832db){const _0x50ffec=_0x3009ff[_0x14a984(0x1f6)](_0x461a8b=>_0x14a984(0x1ea)!=_0x461a8b[_0x14a984(0x1e7)])[_0x14a984(0x1f1)](_0x4e7538=>_0x134ea7(_0x14a984(0x1e5),_0x4e7538['id'],_0x402492)),_0x43be00=_0x3009ff[_0x14a984(0x1f6)](_0x584b72=>_0x14a984(0x1e3)!=_0x584b72[_0x14a984(0x1e7)])[_0x14a984(0x1f1)](_0x3cbc5d=>_0x3cbc5d[_0x14a984(0x1fc)][_0x14a984(0x1e2)](!0x0));let _0x5b82aa=null;if(_0x50ffec[_0x14a984(0x1f2)]){_0x5b82aa=_0x50ffec[0x0][_0x14a984(0x1dd)];for(let _0x510fc2=0x0;_0x510fc2<_0x50ffec[_0x14a984(0x1f2)];_0x510fc2++)_0x503904(_0x50ffec[_0x510fc2]);}if(_0x43be00[_0x14a984(0x1f2)]){_0x5b82aa||(_0x3009ff[0x0][_0x14a984(0x1f3)]?_0x5b82aa=_0x134ea7(_0x14a984(0x1e5),_0x3009ff[0x0][_0x14a984(0x1f3)],_0x402492):(_0x5b82aa=_0x43be00[_0x14a984(0x1fb)](),_0x4c2e45(_0x402492,_0x5b82aa)));for(let _0x175052=0x0;_0x175052<_0x43be00[_0x14a984(0x1f2)];_0x175052++)_0x3472de(_0x5b82aa,_0x43be00[_0x175052]),_0x5b82aa=_0x43be00[_0x175052];}}const _0x363b49=_0x23b939(_0x402492),_0x299573=_0x460d98[_0x14a984(0x1df)](_0x45800b,_0x363b49,_0x355491)[_0x14a984(0x1e6)]();if(_0x2ad342){const _0x530df6=_0x466bcc[_0x14a984(0x1f9)][_0x14a984(0x1eb)][_0x14a984(0x1fa)][_0x14a984(0x1e6)](_0x975358),_0x14375b={'document':_0x466bcc[_0x14a984(0x1f9)][_0x14a984(0x1eb)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x465ec4(_0x299573,_0x530df6,_0x14375b)[_0x14a984(0x1fe)];}return _0x299573;}export function fixMarkerOperationOldRange(_0x65cb0d,_0xa635ff){const _0x1ec34d=_0x5b62;if(_0x1ec34d(0x1ef)!=_0xa635ff[_0x1ec34d(0x1e7)])return;const _0x5ca182=_0x65cb0d[_0x1ec34d(0x1f9)][_0x1ec34d(0x1f0)][_0x1ec34d(0x202)](_0xa635ff[_0x1ec34d(0x1e8)]);_0x5ca182&&(_0xa635ff[_0x1ec34d(0x1f7)]=_0x5ca182[_0x1ec34d(0x1e0)]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x10e9eb,_0x15169e){const _0x4df2ea=_0x34ce,_0x5ec5ba=_0x10e9eb();while(!![]){try{const _0x2e2feb=parseInt(_0x4df2ea(0x187))/0x1*(parseInt(_0x4df2ea(0x1a4))/0x2)+-parseInt(_0x4df2ea(0x185))/0x3*(-parseInt(_0x4df2ea(0x161))/0x4)+parseInt(_0x4df2ea(0x193))/0x5+-parseInt(_0x4df2ea(0x1b7))/0x6+parseInt(_0x4df2ea(0x195))/0x7+-parseInt(_0x4df2ea(0x16c))/0x8+-parseInt(_0x4df2ea(0x17e))/0x9;if(_0x2e2feb===_0x15169e)break;else _0x5ec5ba['push'](_0x5ec5ba['shift']());}catch(_0x50dfe8){_0x5ec5ba['push'](_0x5ec5ba['shift']());}}}(_0x4668,0x57617));import{findOne as _0x44aad1,getAttribute as _0x42d47d,Document as _0xfc6f62,serialize as _0x10f6cc,parse as _0x5d965f}from'./htmlparser.js';import{fixElementSuggestionRange as _0x1191aa}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x5ed014,_DetachOperation as _0x5907d4,_removeFromModelNodeList as _0x187b69,_insertIntoModelNodeList as _0x28bc2d}from'ckeditor5/src/engine.js';import{uid as _0x1e4107}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x3dfe17,changeGroups:_0xd5e7c4,documentContextContent:_0x57be97,showDiff:_0x43dd25,trimUnchanged:_0xadb127=!0x0}){const _0x5e2189=_0x34ce;return _0xd5e7c4[_0x5e2189(0x15b)](_0x48ac5a=>{const _0x5803c1=_0x5e2189,_0x5af388=new _0xfc6f62([]),_0x3859c0=new _0xfc6f62([]);for(const _0x30992e of _0x48ac5a[_0x5803c1(0x17d)])if(_0x43dd25&&_0x5803c1(0x1b3)==_0x30992e[_0x5803c1(0x178)]||_0x3859c0[_0x5803c1(0x18f)][_0x5803c1(0x199)](_0x30992e[_0x5803c1(0x171)][_0x5803c1(0x172)](!0x0)),_0x5803c1(0x177)!=_0x30992e[_0x5803c1(0x178)]&&(_0x43dd25||_0x5803c1(0x1b3)!=_0x30992e[_0x5803c1(0x178)])){const _0x1d2628=_0x44aad1(_0x3396a5=>_0x42d47d(_0x3396a5,_0x5803c1(0x176))==_0x30992e['id'],_0x57be97,!0x0);_0x1d2628&&_0x5af388[_0x5803c1(0x18f)][_0x5803c1(0x199)](_0x1d2628[_0x5803c1(0x172)](!0x0));}const {content:_0x42f6a3,hasChanges:_0x7bf0f2}=function(_0x469fbb,_0x1db15f,_0x432c70,_0x5e26b,_0xe6a630=!0x0){const _0x350387=_0x5803c1,_0x51b634=_0x469fbb[_0x350387(0x182)][_0x350387(0x1b5)](_0x350387(0x1b1)),_0x2ac400=_0x10f6cc(_0x1db15f),_0x37c259=_0x10f6cc(_0x432c70),_0x404e1e=_0x469fbb[_0x350387(0x196)][_0x350387(0x155)](_0x2ac400,_0x350387(0x18a)),_0x48c3da=_0x469fbb[_0x350387(0x17f)][_0x350387(0x19f)](_0x404e1e,0x0),_0x30e19e=_0x51b634[_0x350387(0x159)](_0x2ac400,_0x37c259,{'anchor':_0x48c3da,'markDeletions':_0x5e26b,'context':_0x350387(0x18a)}),_0x27c3a4=_0x30e19e[_0x350387(0x1b8)]();if(0x0==_0x27c3a4[_0x350387(0x19b)])return{'content':_0x1db15f[_0x350387(0x172)](!0x0),'hasChanges':!0x1};_0x5e26b?function(_0x2256d7,_0x2171b7,_0x2fdfd8){const _0x333cee=_0x350387;if(0x0==_0x2256d7[_0x333cee(0x19b)])return;const _0x66e3b9=_0x2fdfd8[_0x333cee(0x182)][_0x333cee(0x1b5)](_0x333cee(0x1b1)),_0x2ea073=_0x2fdfd8[_0x333cee(0x182)][_0x333cee(0x1b5)](_0x333cee(0x15e));_0x2fdfd8[_0x333cee(0x17f)][_0x333cee(0x1b9)](_0x1bfc27=>{const _0x5564f2=_0x333cee,_0x4b3084=new Set();for(let _0x21a7c4=0x0;_0x21a7c4<_0x2256d7[_0x5564f2(0x19b)];_0x21a7c4++){const _0x5af3fa=_0x2256d7[_0x21a7c4];if(_0x5af3fa[_0x5564f2(0x16d)]=null,_0x5af3fa[_0x5564f2(0x190)]=!0x1,_0x66e3b9[_0x5564f2(0x184)](_0x5af3fa)){const _0x5f3281=_0x1191aa(_0x5af3fa[_0x5564f2(0x1af)],_0x2fdfd8[_0x5564f2(0x17f)]),_0x266652=_0x5564f2(0x191)+_0x1e4107()+_0x5564f2(0x157);_0x2171b7[_0x5564f2(0x162)][_0x5564f2(0x150)](_0x266652,_0x5f3281);}else switch(_0x5af3fa[_0x5564f2(0x178)]){case _0x5564f2(0x15a):{if(_0x5af3fa[_0x5564f2(0x180)]==_0x5af3fa[_0x5564f2(0x158)])break;_0x1bfc27[_0x5564f2(0x197)][_0x5564f2(0x1b0)](_0x5af3fa),_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a3)](_0x5af3fa);const _0x47eee1=_0x5564f2(0x18e),_0x416e9a=_0x5af3fa[_0x5564f2(0x173)],_0x3e0229=_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a6)](_0x416e9a,_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x19f)](_0x416e9a[_0x5564f2(0x183)],_0x5564f2(0x175))),_0x12b47d=_0x5564f2(0x1a7)+_0x47eee1+':'+_0x1e4107()+_0x5564f2(0x157);_0x2171b7[_0x5564f2(0x162)][_0x5564f2(0x150)](_0x12b47d,_0x3e0229);break;}case _0x5564f2(0x1b4):case _0x5564f2(0x16f):case _0x5564f2(0x188):{if(_0x5af3fa[_0x5564f2(0x18d)]==_0x5af3fa[_0x5564f2(0x160)])break;_0x1bfc27[_0x5564f2(0x197)][_0x5564f2(0x1b0)](_0x5af3fa),_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a3)](_0x5af3fa);const _0x343d80=_0x5af3fa[_0x5564f2(0x16b)];if(!_0x2ea073[_0x5564f2(0x147)](_0x343d80))break;const _0x2c4344=_0x1191aa(_0x5af3fa[_0x5564f2(0x1a9)],_0x2fdfd8[_0x5564f2(0x17f)]),_0x3e7191=_0x5564f2(0x1a7)+_0x343d80+':'+_0x1e4107()+_0x5564f2(0x157);_0x2171b7[_0x5564f2(0x162)][_0x5564f2(0x150)](_0x3e7191,_0x2c4344);break;}case _0x5564f2(0x1ac):{_0x1bfc27[_0x5564f2(0x197)][_0x5564f2(0x1b0)](_0x5af3fa),_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a3)](_0x5af3fa);if(_0x2256d7[_0x21a7c4+0x1]&&_0x5564f2(0x1a1)==_0x2256d7[_0x21a7c4+0x1][_0x5564f2(0x178)]){ro(_0x2171b7,_0x5af3fa);break;}const _0x347a83=_0x5af3fa[_0x5564f2(0x173)],_0x52b92a=_0x5af3fa[_0x5564f2(0x14c)],_0x301537=_0x1191aa(_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a6)](_0x347a83,_0x347a83[_0x5564f2(0x19c)](_0x52b92a)),_0x2fdfd8[_0x5564f2(0x17f)]),_0x350e2a=_0x5564f2(0x165)+_0x1e4107()+_0x5564f2(0x157);_0x2171b7[_0x5564f2(0x162)][_0x5564f2(0x150)](_0x350e2a,_0x301537);break;}case _0x5564f2(0x1a8):{_0x1bfc27[_0x5564f2(0x197)][_0x5564f2(0x1b0)](_0x5af3fa),_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a3)](_0x5af3fa);const _0x572859=_0x5af3fa[_0x5564f2(0x1b6)],_0x417df7=_0x5af3fa[_0x5564f2(0x15c)],_0x2c0613=_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a6)](_0x572859,_0x417df7),_0x42d03d=_0x5564f2(0x165)+_0x1e4107()+_0x5564f2(0x157);_0x2171b7[_0x5564f2(0x162)][_0x5564f2(0x150)](_0x42d03d,_0x2c0613);break;}case _0x5564f2(0x1a1):{_0x1bfc27[_0x5564f2(0x197)][_0x5564f2(0x1b0)](_0x5af3fa),_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a3)](_0x5af3fa),_0x2256d7[_0x21a7c4-0x1]&&_0x5564f2(0x1ac)==_0x2256d7[_0x21a7c4-0x1][_0x5564f2(0x178)]&&ro(_0x2171b7,_0x5af3fa);const _0x1b9b25=_0x5af3fa[_0x5564f2(0x163)](),_0x1ac4d3=_0x5af3fa[_0x5564f2(0x14c)];for(let _0x5527bb=0x0;_0x5527bb<_0x1ac4d3;_0x5527bb++){const _0x3d1cf9=_0x1b9b25[_0x5564f2(0x19c)](_0x5527bb)[_0x5564f2(0x183)];_0x4b3084[_0x5564f2(0x19a)](_0x3d1cf9);}break;}case _0x5564f2(0x1a2):{const _0x506773=_0x5af3fa[_0x5564f2(0x1ba)],_0x47857b=_0x5af3fa[_0x5564f2(0x14c)],_0x17e031=new _0x5907d4(_0x506773,_0x47857b);_0x1bfc27[_0x5564f2(0x197)][_0x5564f2(0x1b0)](_0x17e031),_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a3)](_0x17e031);break;}}}for(const _0x6bf53d of _0x4b3084){const _0x2403d9=_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x189)](_0x6bf53d),_0x435282=_0x5564f2(0x151)+_0x1e4107()+_0x5564f2(0x157);_0x2171b7[_0x5564f2(0x162)][_0x5564f2(0x150)](_0x435282,_0x1191aa(_0x2403d9,_0x2fdfd8[_0x5564f2(0x17f)]));}});}(_0x27c3a4,_0x404e1e,_0x469fbb):_0x469fbb[_0x350387(0x17f)][_0x350387(0x1b9)](_0x3f7c20=>{const _0x164ac5=_0x350387;for(const _0x2b05ca of _0x27c3a4)if(_0x164ac5(0x1a2)==_0x2b05ca[_0x164ac5(0x178)]){const _0x4479e2=_0x2b05ca[_0x164ac5(0x1ba)],_0x29a560=_0x2b05ca[_0x164ac5(0x14c)],_0x4ac4f4=new _0x5907d4(_0x4479e2,_0x29a560);_0x3f7c20[_0x164ac5(0x197)][_0x164ac5(0x1b0)](_0x4ac4f4),_0x469fbb[_0x164ac5(0x17f)][_0x164ac5(0x1a3)](_0x4ac4f4);}else{if(_0x164ac5(0x15d)==_0x2b05ca[_0x164ac5(0x178)]){const _0x4e8585=_0x2b05ca[_0x164ac5(0x18c)],_0x3ed7b2=_0x2b05ca[_0x164ac5(0x1af)];_0x404e1e[_0x164ac5(0x162)][_0x164ac5(0x150)](_0x4e8585,_0x3ed7b2);}else _0x2b05ca[_0x164ac5(0x16d)]=null,_0x2b05ca[_0x164ac5(0x190)]=!0x1,_0x3f7c20[_0x164ac5(0x197)][_0x164ac5(0x1b0)](_0x2b05ca),_0x469fbb[_0x164ac5(0x17f)][_0x164ac5(0x1a3)](_0x2b05ca);}});if(_0xe6a630){const _0x5a9b2b=getMinimalSelection(_0x469fbb,_0x27c3a4,_0x404e1e);expandSelectionWithContext(_0x469fbb[_0x350387(0x17f)],_0x5a9b2b),function(_0x1f1b0e,_0x347862){const _0xd45d54=_0x350387,_0xe1eef6=_0x347862[_0xd45d54(0x149)]()[_0xd45d54(0x181)];let _0x57f939=_0x347862[_0xd45d54(0x149)]()[_0xd45d54(0x175)];const _0xaaab5d=_0xe1eef6[_0xd45d54(0x1a0)];(_0x57f939[_0xd45d54(0x1ad)]||_0x57f939[_0xd45d54(0x183)]&&_0x57f939[_0xd45d54(0x183)]['is'](_0xd45d54(0x14a)))&&(_0x28bc2d(_0x57f939,_0xd45d54(0x153)),_0x57f939=_0x57f939[_0xd45d54(0x19c)](0x3)),(_0xe1eef6[_0xd45d54(0x1ad)]||_0xe1eef6[_0xd45d54(0x1ae)]&&_0xe1eef6[_0xd45d54(0x1ae)]['is'](_0xd45d54(0x14a)))&&(_0x28bc2d(_0xe1eef6,_0xd45d54(0x153)),function(_0x4c8b8b,_0x4615b,_0x5e8a87){const _0x19c420=_0xd45d54;for(let [_0x41351a,_0x3e83fe]of _0x4c8b8b[_0x19c420(0x162)]){const _0x8505c3=_0x3e83fe[_0x19c420(0x148)](_0x4615b,_0x5e8a87,!0x1);_0x3e83fe=_0x8505c3[0x0],_0x4c8b8b[_0x19c420(0x162)][_0x19c420(0x150)](_0x41351a,_0x3e83fe);}}(_0xaaab5d,_0xe1eef6,0x3),_0xe1eef6[_0xd45d54(0x14d)]==_0x57f939[_0xd45d54(0x14d)]&&(_0x57f939=_0x57f939[_0xd45d54(0x19c)](0x3)));const _0x5b2967=_0x1f1b0e[_0xd45d54(0x1a6)](_0x1f1b0e[_0xd45d54(0x19f)](_0xaaab5d,0x0),_0xe1eef6),_0x53ccb8=_0x1f1b0e[_0xd45d54(0x1a6)](_0x57f939,_0x1f1b0e[_0xd45d54(0x19f)](_0xaaab5d,_0xd45d54(0x175))),_0x29101a=[..._0x5b2967[_0xd45d54(0x168)](),..._0x53ccb8[_0xd45d54(0x168)]()];_0x29101a[_0xd45d54(0x192)]();for(const _0x3fefaf of _0x29101a)_0x187b69(_0x3fefaf),_transformMarkersByDeletion(_0xaaab5d,_0x3fefaf);}(_0x469fbb[_0x350387(0x17f)],_0x5a9b2b);}const _0x15b79d=_0x469fbb[_0x350387(0x196)][_0x350387(0x170)](_0x404e1e,{'showSuggestionHighlights':!0x0});return{'content':_0x5d965f(_0x15b79d),'hasChanges':!0x0};}(_0x3dfe17,_0x5af388,_0x3859c0,_0x43dd25,_0xadb127);return{'type':_0x48ac5a[_0x5803c1(0x17d)][0x0][_0x5803c1(0x178)],'index':_0x48ac5a[_0x5803c1(0x1aa)],'content':_0x42f6a3,'hasChanges':_0x7bf0f2};});}function ro(_0x2e15ba,_0x2819b7){const _0x36aaaa=_0x34ce;for(const [_0x363de4,_0x7dc7e3]of _0x2e15ba[_0x36aaaa(0x162)]){const _0x5b66d2=_0x5ed014[_0x36aaaa(0x179)](_0x7dc7e3[_0x36aaaa(0x14f)](_0x2819b7));_0x2e15ba[_0x36aaaa(0x162)][_0x36aaaa(0x150)](_0x363de4,_0x5b66d2);}}export function getMinimalSelection(_0x1d9bac,_0x21ea26,_0x2925d6){const _0x485c6e=_0x34ce,_0x3ee202=_0x1d9bac[_0x485c6e(0x182)][_0x485c6e(0x1b5)](_0x485c6e(0x1b1));let _0x26e71f=_0x1d9bac[_0x485c6e(0x17f)][_0x485c6e(0x19f)](_0x2925d6,Number[_0x485c6e(0x1a5)]),_0x246cd0=_0x1d9bac[_0x485c6e(0x17f)][_0x485c6e(0x19f)](_0x2925d6,0x0);for(const _0x14e99a of _0x21ea26){let _0x16933b,_0x40f773;if(_0x3ee202[_0x485c6e(0x184)](_0x14e99a))_0x16933b=_0x14e99a[_0x485c6e(0x1af)][_0x485c6e(0x181)],_0x40f773=_0x14e99a[_0x485c6e(0x1af)][_0x485c6e(0x175)];else switch(_0x26e71f=_0x26e71f[_0x485c6e(0x14f)](_0x14e99a),_0x246cd0=_0x246cd0[_0x485c6e(0x14f)](_0x14e99a),_0x14e99a[_0x485c6e(0x178)]){case _0x485c6e(0x15a):_0x16933b=_0x14e99a[_0x485c6e(0x173)],_0x40f773=_0x16933b[_0x485c6e(0x19c)](0x1);break;case _0x485c6e(0x1b4):case _0x485c6e(0x16f):case _0x485c6e(0x188):_0x16933b=_0x14e99a[_0x485c6e(0x1a9)][_0x485c6e(0x181)],_0x40f773=_0x14e99a[_0x485c6e(0x1a9)][_0x485c6e(0x175)];break;case _0x485c6e(0x1ac):_0x16933b=_0x14e99a[_0x485c6e(0x173)],_0x40f773=_0x16933b[_0x485c6e(0x19c)](_0x14e99a[_0x485c6e(0x14c)]);break;case _0x485c6e(0x1a8):_0x16933b=_0x14e99a[_0x485c6e(0x1b6)],_0x40f773=_0x14e99a[_0x485c6e(0x15c)];break;case _0x485c6e(0x19d):{const _0x5b2755=_0x14e99a[_0x485c6e(0x17a)][_0x485c6e(0x1ab)][_0x485c6e(0x17c)](0x0,-0x1);_0x16933b=_0x1d9bac[_0x485c6e(0x17f)][_0x485c6e(0x18b)](_0x2925d6,_0x5b2755),_0x40f773=_0x16933b[_0x485c6e(0x19c)](0x1);break;}case _0x485c6e(0x1a2):{const _0x5ed2e4=_0x14e99a[_0x485c6e(0x14c)],_0x16c456=_0x14e99a[_0x485c6e(0x1ba)][_0x485c6e(0x148)](_0x14e99a[_0x485c6e(0x17a)],_0x5ed2e4),_0x16e5ef=_0x14e99a[_0x485c6e(0x163)]();_0x485c6e(0x1a2)==_0x14e99a[_0x485c6e(0x178)]?(_0x16933b=_0x16c456,_0x40f773=_0x16c456):(_0x16933b=_0x16e5ef,_0x40f773=_0x16e5ef[_0x485c6e(0x19c)](_0x5ed2e4));break;}}_0x16933b&&_0x16933b[_0x485c6e(0x156)](_0x26e71f)&&(_0x26e71f=_0x16933b[_0x485c6e(0x167)](),_0x26e71f[_0x485c6e(0x1b2)]=_0x485c6e(0x164)),_0x40f773&&_0x40f773[_0x485c6e(0x16a)](_0x246cd0)&&(_0x246cd0=_0x40f773[_0x485c6e(0x167)](),_0x246cd0[_0x485c6e(0x1b2)]=_0x485c6e(0x164));}return _0x1d9bac[_0x485c6e(0x17f)][_0x485c6e(0x17b)](_0x1d9bac[_0x485c6e(0x17f)][_0x485c6e(0x1a6)](_0x26e71f,_0x246cd0));}export function expandSelectionWithContext(_0x4d86bc,_0x4066ef){const _0x27c732=_0x34ce;so(_0x4d86bc,_0x4066ef,_0x27c732(0x198));const _0x12fc8b=_0x4066ef[_0x27c732(0x149)]();_0x4066ef[_0x27c732(0x14b)]([]),_0x4066ef[_0x27c732(0x14b)](_0x12fc8b,{'backward':!0x0}),so(_0x4d86bc,_0x4066ef,_0x27c732(0x152));}function so(_0x5da4f9,_0x3847fe,_0x1bae29){const _0x450bcb=_0x34ce;let _0x200985=0x14;for(;_0x200985;){_0x5da4f9[_0x450bcb(0x174)](_0x3847fe,{'unit':_0x450bcb(0x19e),'direction':_0x1bae29}),_0x200985--;const _0x99f9db=_0x3847fe[_0x450bcb(0x16e)][_0x450bcb(0x198)==_0x1bae29?_0x450bcb(0x1ae):_0x450bcb(0x183)];if(_0x99f9db&&_0x99f9db['is'](_0x450bcb(0x186))&&_0x5da4f9[_0x450bcb(0x14e)][_0x450bcb(0x166)](_0x99f9db)&&_0x5da4f9[_0x450bcb(0x14e)][_0x450bcb(0x15f)](_0x99f9db))break;}}function _0x4668(){const _0x7f2907=['228WTdPxr','element','695142OsfnFG','changeAttribute','createRangeOn','$root','createPositionFromPath','name','oldValue','$elementName','children','isDocumentOperation','suggestion:deletion:','reverse','1392905yMJBJb','offset','1362396MFgCRb','data','batch','forward','push','add','length','getShiftedBy','merge','word','createPositionAt','root','move','remove','applyOperation','2akZpZq','POSITIVE_INFINITY','createRange','suggestion:attribute:','split','range','index','path','insert','textNode','nodeBefore','newRange','addOperation','DocumentCompare','stickiness','removed','addAttribute','get','splitPosition','3997590oAgVwZ','getOperations','change','sourcePosition','isRegisteredAttribute','_getTransformedByInsertion','getFirstRange','$text','setTo','howMany','parent','schema','getTransformedByOperation','set','suggestion:formatBlock:$fakeWrap:','backward','...','_getTransformedByDeletion','parse','isBefore',':$aiSuggestion','newName','getDiff','rename','map','moveTargetPosition','marker','SuggestionsConversion','isObject','newValue','35252cFxOda','markers','getMovedRangeStart','toNone','suggestion:insertion:','isBlock','clone','getMinimalFlatRanges','delete','isAfter','key','2667128rNiOAa','baseVersion','focus','removeAttribute','stringify','node','cloneNode','position','modifySelection','end','data-id','new','type','_createFromRanges','targetPosition','createSelection','slice','changes','4325148QhxuUQ','model','oldName','start','plugins','nodeAfter','isMarkedRemoveOperation'];_0x4668=function(){return _0x7f2907;};return _0x4668();}function _0x34ce(_0xb0fb8a,_0x440b56){const _0x46685e=_0x4668();return _0x34ce=function(_0x34ceb8,_0x2f4075){_0x34ceb8=_0x34ceb8-0x147;let _0x1f0b09=_0x46685e[_0x34ceb8];return _0x1f0b09;},_0x34ce(_0xb0fb8a,_0x440b56);}export function _transformMarkersByDeletion(_0x5933e7,_0x3e4268){const _0x58b47b=_0x34ce;for(const [_0x3c3661,_0x5f028f]of _0x5933e7[_0x58b47b(0x162)]){const _0x925790=_0x5f028f[_0x58b47b(0x154)](_0x3e4268[_0x58b47b(0x181)],_0x3e4268[_0x58b47b(0x175)][_0x58b47b(0x194)]-_0x3e4268[_0x58b47b(0x181)][_0x58b47b(0x194)]);null!=_0x925790?_0x5933e7[_0x58b47b(0x162)][_0x58b47b(0x150)](_0x3c3661,_0x925790):_0x5933e7[_0x58b47b(0x162)][_0x58b47b(0x169)](_0x3c3661);}}
23
+ (function(_0x4e0d17,_0x155e6d){const _0x20a630=_0x26a2,_0x2eacbd=_0x4e0d17();while(!![]){try{const _0x5177e9=parseInt(_0x20a630(0x147))/0x1*(parseInt(_0x20a630(0x12e))/0x2)+-parseInt(_0x20a630(0xfb))/0x3+-parseInt(_0x20a630(0xf5))/0x4*(parseInt(_0x20a630(0xe0))/0x5)+parseInt(_0x20a630(0xe5))/0x6*(-parseInt(_0x20a630(0xdd))/0x7)+-parseInt(_0x20a630(0x126))/0x8*(parseInt(_0x20a630(0x12c))/0x9)+parseInt(_0x20a630(0xeb))/0xa*(-parseInt(_0x20a630(0xf8))/0xb)+-parseInt(_0x20a630(0x133))/0xc*(-parseInt(_0x20a630(0x10e))/0xd);if(_0x5177e9===_0x155e6d)break;else _0x2eacbd['push'](_0x2eacbd['shift']());}catch(_0x94a162){_0x2eacbd['push'](_0x2eacbd['shift']());}}}(_0x4de8,0x393a1));import{findOne as _0x5d737c,getAttribute as _0xc6b66a,Document as _0x42d2b9,serialize as _0x2f2c12,parse as _0x1bc2dc}from'./htmlparser.js';import{fixElementSuggestionRange as _0x48b867}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x18e2c6,_DetachOperation as _0x48a01c,_removeFromModelNodeList as _0x56a793,_insertIntoModelNodeList as _0x48f1e8}from'ckeditor5/src/engine.js';import{uid as _0x39ca44}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x4df82f,changeGroups:_0x10cdc8,documentContextContent:_0x56480a,showDiff:_0x45f4f2,trimUnchanged:_0x30af1f=!0x0}){const _0x361aaf=_0x26a2;return _0x10cdc8[_0x361aaf(0x118)](_0x28ded7=>{const _0x5c089b=_0x361aaf,_0x2f207c=new _0x42d2b9([]),_0x321dbd=new _0x42d2b9([]);for(const _0x2c8a1d of _0x28ded7[_0x5c089b(0x127)])if(_0x45f4f2&&_0x5c089b(0xf2)==_0x2c8a1d[_0x5c089b(0x144)]||_0x321dbd[_0x5c089b(0xfc)][_0x5c089b(0x135)](_0x2c8a1d[_0x5c089b(0x148)][_0x5c089b(0x123)](!0x0)),_0x5c089b(0xf4)!=_0x2c8a1d[_0x5c089b(0x144)]&&(_0x45f4f2||_0x5c089b(0xf2)!=_0x2c8a1d[_0x5c089b(0x144)])){const _0x3001e9=_0x5d737c(_0x4aece6=>_0xc6b66a(_0x4aece6,_0x5c089b(0x101))==_0x2c8a1d['id'],_0x56480a,!0x0);_0x3001e9&&_0x2f207c[_0x5c089b(0xfc)][_0x5c089b(0x135)](_0x3001e9[_0x5c089b(0x123)](!0x0));}const {content:_0xb02147,hasChanges:_0x434f8a}=function(_0x5790d2,_0x3cf768,_0x50e500,_0x164d27,_0x546681=!0x0){const _0x3c6bba=_0x5c089b,_0x19a2c1=_0x5790d2[_0x3c6bba(0xf7)][_0x3c6bba(0xe2)](_0x3c6bba(0x130)),_0x49f39d=_0x2f2c12(_0x3cf768),_0x492627=_0x2f2c12(_0x50e500),_0x426369=_0x5790d2[_0x3c6bba(0xda)][_0x3c6bba(0xd6)](_0x49f39d,_0x3c6bba(0x10c)),_0x597bc2=_0x5790d2[_0x3c6bba(0x138)][_0x3c6bba(0x145)](_0x426369,0x0),_0x491291=_0x19a2c1[_0x3c6bba(0xe4)](_0x49f39d,_0x492627,{'anchor':_0x597bc2,'markDeletions':_0x164d27,'context':_0x3c6bba(0x10c)}),_0x1d816c=_0x491291[_0x3c6bba(0x114)]();if(0x0==_0x1d816c[_0x3c6bba(0x13a)])return{'content':_0x3cf768[_0x3c6bba(0x123)](!0x0),'hasChanges':!0x1};_0x164d27?function(_0x3d0beb,_0x57597e,_0x4403d6){const _0x5f5419=_0x3c6bba;if(0x0==_0x3d0beb[_0x5f5419(0x13a)])return;const _0x138a5d=_0x4403d6[_0x5f5419(0xf7)][_0x5f5419(0xe2)](_0x5f5419(0x130)),_0xd6e0f=_0x4403d6[_0x5f5419(0xf7)][_0x5f5419(0xe2)](_0x5f5419(0xe9));_0x4403d6[_0x5f5419(0x138)][_0x5f5419(0xea)](_0x4494f2=>{const _0x4f17b7=_0x5f5419,_0x1b9562=new Set();for(let _0x52749a=0x0;_0x52749a<_0x3d0beb[_0x4f17b7(0x13a)];_0x52749a++){const _0x1e4ead=_0x3d0beb[_0x52749a];if(_0x1e4ead[_0x4f17b7(0x11c)]=null,_0x1e4ead[_0x4f17b7(0x137)]=!0x1,_0x138a5d[_0x4f17b7(0x149)](_0x1e4ead)){const _0x43307b=_0x48b867(_0x1e4ead[_0x4f17b7(0x122)],_0x4403d6[_0x4f17b7(0x138)]),_0x5d8bed=_0x4f17b7(0xd9)+_0x39ca44()+_0x4f17b7(0x10d);_0x57597e[_0x4f17b7(0x14a)][_0x4f17b7(0x121)](_0x5d8bed,_0x43307b);}else switch(_0x1e4ead[_0x4f17b7(0x144)]){case _0x4f17b7(0x143):{if(_0x1e4ead[_0x4f17b7(0x132)]==_0x1e4ead[_0x4f17b7(0x12d)])break;_0x4494f2[_0x4f17b7(0x11a)][_0x4f17b7(0xec)](_0x1e4ead),_0x4403d6[_0x4f17b7(0x138)][_0x4f17b7(0x102)](_0x1e4ead);const _0x58f7dd=_0x4f17b7(0xee),_0x4a81da=_0x1e4ead[_0x4f17b7(0xef)],_0x4abd1d=_0x4403d6[_0x4f17b7(0x138)][_0x4f17b7(0x12f)](_0x4a81da,_0x4403d6[_0x4f17b7(0x138)][_0x4f17b7(0x145)](_0x4a81da[_0x4f17b7(0x12b)],_0x4f17b7(0xfa))),_0x59c34d=_0x4f17b7(0x110)+_0x58f7dd+':'+_0x39ca44()+_0x4f17b7(0x10d);_0x57597e[_0x4f17b7(0x14a)][_0x4f17b7(0x121)](_0x59c34d,_0x4abd1d);break;}case _0x4f17b7(0xdc):case _0x4f17b7(0x13b):case _0x4f17b7(0x136):{if(_0x1e4ead[_0x4f17b7(0xd7)]==_0x1e4ead[_0x4f17b7(0xe7)])break;_0x4494f2[_0x4f17b7(0x11a)][_0x4f17b7(0xec)](_0x1e4ead),_0x4403d6[_0x4f17b7(0x138)][_0x4f17b7(0x102)](_0x1e4ead);const _0x53a52d=_0x1e4ead[_0x4f17b7(0x13e)];if(!_0xd6e0f[_0x4f17b7(0x124)](_0x53a52d))break;const _0x26633d=_0x48b867(_0x1e4ead[_0x4f17b7(0x14c)],_0x4403d6[_0x4f17b7(0x138)]),_0x3bd5dd=_0x4f17b7(0x110)+_0x53a52d+':'+_0x39ca44()+_0x4f17b7(0x10d);_0x57597e[_0x4f17b7(0x14a)][_0x4f17b7(0x121)](_0x3bd5dd,_0x26633d);break;}case _0x4f17b7(0x125):{_0x4494f2[_0x4f17b7(0x11a)][_0x4f17b7(0xec)](_0x1e4ead),_0x4403d6[_0x4f17b7(0x138)][_0x4f17b7(0x102)](_0x1e4ead);if(_0x3d0beb[_0x52749a+0x1]&&_0x4f17b7(0x105)==_0x3d0beb[_0x52749a+0x1][_0x4f17b7(0x144)]){ro(_0x57597e,_0x1e4ead);break;}const _0x975319=_0x1e4ead[_0x4f17b7(0xef)],_0x5968f5=_0x1e4ead[_0x4f17b7(0xde)],_0x39b19e=_0x48b867(_0x4403d6[_0x4f17b7(0x138)][_0x4f17b7(0x12f)](_0x975319,_0x975319[_0x4f17b7(0xfd)](_0x5968f5)),_0x4403d6[_0x4f17b7(0x138)]),_0x390958=_0x4f17b7(0xf3)+_0x39ca44()+_0x4f17b7(0x10d);_0x57597e[_0x4f17b7(0x14a)][_0x4f17b7(0x121)](_0x390958,_0x39b19e);break;}case _0x4f17b7(0xe3):{_0x4494f2[_0x4f17b7(0x11a)][_0x4f17b7(0xec)](_0x1e4ead),_0x4403d6[_0x4f17b7(0x138)][_0x4f17b7(0x102)](_0x1e4ead);const _0x20b4d5=_0x1e4ead[_0x4f17b7(0x139)],_0x34c13c=_0x1e4ead[_0x4f17b7(0x13c)],_0x17ce43=_0x4403d6[_0x4f17b7(0x138)][_0x4f17b7(0x12f)](_0x20b4d5,_0x34c13c),_0x1be246=_0x4f17b7(0xf3)+_0x39ca44()+_0x4f17b7(0x10d);_0x57597e[_0x4f17b7(0x14a)][_0x4f17b7(0x121)](_0x1be246,_0x17ce43);break;}case _0x4f17b7(0x105):{_0x4494f2[_0x4f17b7(0x11a)][_0x4f17b7(0xec)](_0x1e4ead),_0x4403d6[_0x4f17b7(0x138)][_0x4f17b7(0x102)](_0x1e4ead),_0x3d0beb[_0x52749a-0x1]&&_0x4f17b7(0x125)==_0x3d0beb[_0x52749a-0x1][_0x4f17b7(0x144)]&&ro(_0x57597e,_0x1e4ead);const _0x2249fd=_0x1e4ead[_0x4f17b7(0x14b)](),_0x205239=_0x1e4ead[_0x4f17b7(0xde)];for(let _0x2eaff7=0x0;_0x2eaff7<_0x205239;_0x2eaff7++){const _0x450c97=_0x2249fd[_0x4f17b7(0xfd)](_0x2eaff7)[_0x4f17b7(0x12b)];_0x1b9562[_0x4f17b7(0x131)](_0x450c97);}break;}case _0x4f17b7(0x104):{const _0x5245da=_0x1e4ead[_0x4f17b7(0x103)],_0x420b32=_0x1e4ead[_0x4f17b7(0xde)],_0x3a270a=new _0x48a01c(_0x5245da,_0x420b32);_0x4494f2[_0x4f17b7(0x11a)][_0x4f17b7(0xec)](_0x3a270a),_0x4403d6[_0x4f17b7(0x138)][_0x4f17b7(0x102)](_0x3a270a);break;}}}for(const _0x52e5bd of _0x1b9562){const _0x5a5fd5=_0x4403d6[_0x4f17b7(0x138)][_0x4f17b7(0x113)](_0x52e5bd),_0x1b661e=_0x4f17b7(0xdf)+_0x39ca44()+_0x4f17b7(0x10d);_0x57597e[_0x4f17b7(0x14a)][_0x4f17b7(0x121)](_0x1b661e,_0x48b867(_0x5a5fd5,_0x4403d6[_0x4f17b7(0x138)]));}});}(_0x1d816c,_0x426369,_0x5790d2):_0x5790d2[_0x3c6bba(0x138)][_0x3c6bba(0xea)](_0x47b8bb=>{const _0x4fe113=_0x3c6bba;for(const _0x29e311 of _0x1d816c)if(_0x4fe113(0x104)==_0x29e311[_0x4fe113(0x144)]){const _0x2e7e7c=_0x29e311[_0x4fe113(0x103)],_0x5782a3=_0x29e311[_0x4fe113(0xde)],_0x21f831=new _0x48a01c(_0x2e7e7c,_0x5782a3);_0x47b8bb[_0x4fe113(0x11a)][_0x4fe113(0xec)](_0x21f831),_0x5790d2[_0x4fe113(0x138)][_0x4fe113(0x102)](_0x21f831);}else{if(_0x4fe113(0x112)==_0x29e311[_0x4fe113(0x144)]){const _0x59cbd9=_0x29e311[_0x4fe113(0x10f)],_0x481ce5=_0x29e311[_0x4fe113(0x122)];_0x426369[_0x4fe113(0x14a)][_0x4fe113(0x121)](_0x59cbd9,_0x481ce5);}else _0x29e311[_0x4fe113(0x11c)]=null,_0x29e311[_0x4fe113(0x137)]=!0x1,_0x47b8bb[_0x4fe113(0x11a)][_0x4fe113(0xec)](_0x29e311),_0x5790d2[_0x4fe113(0x138)][_0x4fe113(0x102)](_0x29e311);}});if(_0x546681){const _0x2eb5e4=getMinimalSelection(_0x5790d2,_0x1d816c,_0x426369);expandSelectionWithContext(_0x5790d2[_0x3c6bba(0x138)],_0x2eb5e4),function(_0x4706e0,_0x326234){const _0x4b1328=_0x3c6bba,_0x3986d9=_0x326234[_0x4b1328(0xdb)]()[_0x4b1328(0xfe)];let _0xe931ad=_0x326234[_0x4b1328(0xdb)]()[_0x4b1328(0xfa)];const _0x4f53cc=_0x3986d9[_0x4b1328(0xf0)];(_0xe931ad[_0x4b1328(0x106)]||_0xe931ad[_0x4b1328(0x12b)]&&_0xe931ad[_0x4b1328(0x12b)]['is'](_0x4b1328(0xff)))&&(_0x48f1e8(_0xe931ad,_0x4b1328(0x129)),_0xe931ad=_0xe931ad[_0x4b1328(0xfd)](0x3)),(_0x3986d9[_0x4b1328(0x106)]||_0x3986d9[_0x4b1328(0x116)]&&_0x3986d9[_0x4b1328(0x116)]['is'](_0x4b1328(0xff)))&&(_0x48f1e8(_0x3986d9,_0x4b1328(0x129)),function(_0x21c306,_0x130cdf,_0x3e57e5){const _0x3903f9=_0x4b1328;for(let [_0x2020d4,_0x51419a]of _0x21c306[_0x3903f9(0x14a)]){const _0x37a4b6=_0x51419a[_0x3903f9(0x117)](_0x130cdf,_0x3e57e5,!0x1);_0x51419a=_0x37a4b6[0x0],_0x21c306[_0x3903f9(0x14a)][_0x3903f9(0x121)](_0x2020d4,_0x51419a);}}(_0x4f53cc,_0x3986d9,0x3),_0x3986d9[_0x4b1328(0xed)]==_0xe931ad[_0x4b1328(0xed)]&&(_0xe931ad=_0xe931ad[_0x4b1328(0xfd)](0x3)));const _0x139830=_0x4706e0[_0x4b1328(0x12f)](_0x4706e0[_0x4b1328(0x145)](_0x4f53cc,0x0),_0x3986d9),_0x47c114=_0x4706e0[_0x4b1328(0x12f)](_0xe931ad,_0x4706e0[_0x4b1328(0x145)](_0x4f53cc,_0x4b1328(0xfa))),_0x46bb9c=[..._0x139830[_0x4b1328(0x13d)](),..._0x47c114[_0x4b1328(0x13d)]()];_0x46bb9c[_0x4b1328(0xe8)]();for(const _0x5eece3 of _0x46bb9c)_0x56a793(_0x5eece3),_transformMarkersByDeletion(_0x4f53cc,_0x5eece3);}(_0x5790d2[_0x3c6bba(0x138)],_0x2eb5e4);}const _0x2da6dc=_0x5790d2[_0x3c6bba(0xda)][_0x3c6bba(0x111)](_0x426369,{'showSuggestionHighlights':!0x0});return{'content':_0x1bc2dc(_0x2da6dc),'hasChanges':!0x0};}(_0x4df82f,_0x2f207c,_0x321dbd,_0x45f4f2,_0x30af1f);return{'type':_0x28ded7[_0x5c089b(0x127)][0x0][_0x5c089b(0x144)],'index':_0x28ded7[_0x5c089b(0x13f)],'content':_0xb02147,'hasChanges':_0x434f8a};});}function ro(_0x4af082,_0x33828a){const _0x1eb19e=_0x26a2;for(const [_0xe10881,_0x2afacf]of _0x4af082[_0x1eb19e(0x14a)]){const _0x4ad58e=_0x18e2c6[_0x1eb19e(0xe6)](_0x2afacf[_0x1eb19e(0x12a)](_0x33828a));_0x4af082[_0x1eb19e(0x14a)][_0x1eb19e(0x121)](_0xe10881,_0x4ad58e);}}function _0x4de8(){const _0x534f33=['textNode','clone','path','targetPosition','_getTransformedByDeletion','createPositionFromPath','$root',':$aiSuggestion','13itgcpw','name','suggestion:attribute:','stringify','marker','createRangeOn','getOperations','createSelection','nodeBefore','_getTransformedByInsertion','map','focus','batch','word','baseVersion','POSITIVE_INFINITY','slice','modifySelection','offset','set','newRange','cloneNode','isRegisteredAttribute','insert','145840VJevao','changes','toNone','...','getTransformedByOperation','nodeAfter','81yhAZKw','newName','2558PHEMgk','createRange','DocumentCompare','add','oldName','11913504XMmTpa','stickiness','push','changeAttribute','isDocumentOperation','model','splitPosition','length','removeAttribute','moveTargetPosition','getMinimalFlatRanges','key','index','merge','isObject','backward','rename','type','createPositionAt','forward','147FrsZaO','node','isMarkedRemoveOperation','markers','getMovedRangeStart','range','schema','parse','oldValue','element','suggestion:deletion:','data','getFirstRange','addAttribute','7mPjFHS','howMany','suggestion:formatBlock:$fakeWrap:','145PmiJCy','isBefore','get','split','getDiff','1006686juyuLM','_createFromRanges','newValue','reverse','SuggestionsConversion','change','110hKKGKS','addOperation','parent','$elementName','position','root','setTo','removed','suggestion:insertion:','new','38292PrcQGp','delete','plugins','81565VHjbVe','isBlock','end','766113kHKJrK','children','getShiftedBy','start','$text','isAfter','data-id','applyOperation','sourcePosition','remove','move'];_0x4de8=function(){return _0x534f33;};return _0x4de8();}export function getMinimalSelection(_0xc27032,_0x1c17ec,_0x3319f4){const _0x55d28f=_0x26a2,_0x48f0ec=_0xc27032[_0x55d28f(0xf7)][_0x55d28f(0xe2)](_0x55d28f(0x130));let _0x3be0f8=_0xc27032[_0x55d28f(0x138)][_0x55d28f(0x145)](_0x3319f4,Number[_0x55d28f(0x11d)]),_0x3cd287=_0xc27032[_0x55d28f(0x138)][_0x55d28f(0x145)](_0x3319f4,0x0);for(const _0x5d1e67 of _0x1c17ec){let _0x1698fa,_0x4e328e;if(_0x48f0ec[_0x55d28f(0x149)](_0x5d1e67))_0x1698fa=_0x5d1e67[_0x55d28f(0x122)][_0x55d28f(0xfe)],_0x4e328e=_0x5d1e67[_0x55d28f(0x122)][_0x55d28f(0xfa)];else switch(_0x3be0f8=_0x3be0f8[_0x55d28f(0x12a)](_0x5d1e67),_0x3cd287=_0x3cd287[_0x55d28f(0x12a)](_0x5d1e67),_0x5d1e67[_0x55d28f(0x144)]){case _0x55d28f(0x143):_0x1698fa=_0x5d1e67[_0x55d28f(0xef)],_0x4e328e=_0x1698fa[_0x55d28f(0xfd)](0x1);break;case _0x55d28f(0xdc):case _0x55d28f(0x13b):case _0x55d28f(0x136):_0x1698fa=_0x5d1e67[_0x55d28f(0x14c)][_0x55d28f(0xfe)],_0x4e328e=_0x5d1e67[_0x55d28f(0x14c)][_0x55d28f(0xfa)];break;case _0x55d28f(0x125):_0x1698fa=_0x5d1e67[_0x55d28f(0xef)],_0x4e328e=_0x1698fa[_0x55d28f(0xfd)](_0x5d1e67[_0x55d28f(0xde)]);break;case _0x55d28f(0xe3):_0x1698fa=_0x5d1e67[_0x55d28f(0x139)],_0x4e328e=_0x5d1e67[_0x55d28f(0x13c)];break;case _0x55d28f(0x140):{const _0x5e93f6=_0x5d1e67[_0x55d28f(0x109)][_0x55d28f(0x108)][_0x55d28f(0x11e)](0x0,-0x1);_0x1698fa=_0xc27032[_0x55d28f(0x138)][_0x55d28f(0x10b)](_0x3319f4,_0x5e93f6),_0x4e328e=_0x1698fa[_0x55d28f(0xfd)](0x1);break;}case _0x55d28f(0x104):{const _0x373862=_0x5d1e67[_0x55d28f(0xde)],_0x1bf234=_0x5d1e67[_0x55d28f(0x103)][_0x55d28f(0x117)](_0x5d1e67[_0x55d28f(0x109)],_0x373862),_0x1970ce=_0x5d1e67[_0x55d28f(0x14b)]();_0x55d28f(0x104)==_0x5d1e67[_0x55d28f(0x144)]?(_0x1698fa=_0x1bf234,_0x4e328e=_0x1bf234):(_0x1698fa=_0x1970ce,_0x4e328e=_0x1970ce[_0x55d28f(0xfd)](_0x373862));break;}}_0x1698fa&&_0x1698fa[_0x55d28f(0xe1)](_0x3be0f8)&&(_0x3be0f8=_0x1698fa[_0x55d28f(0x107)](),_0x3be0f8[_0x55d28f(0x134)]=_0x55d28f(0x128)),_0x4e328e&&_0x4e328e[_0x55d28f(0x100)](_0x3cd287)&&(_0x3cd287=_0x4e328e[_0x55d28f(0x107)](),_0x3cd287[_0x55d28f(0x134)]=_0x55d28f(0x128));}return _0xc27032[_0x55d28f(0x138)][_0x55d28f(0x115)](_0xc27032[_0x55d28f(0x138)][_0x55d28f(0x12f)](_0x3be0f8,_0x3cd287));}export function expandSelectionWithContext(_0x63e1d1,_0x127e94){const _0x1c2e60=_0x26a2;so(_0x63e1d1,_0x127e94,_0x1c2e60(0x146));const _0x5710bd=_0x127e94[_0x1c2e60(0xdb)]();_0x127e94[_0x1c2e60(0xf1)]([]),_0x127e94[_0x1c2e60(0xf1)](_0x5710bd,{'backward':!0x0}),so(_0x63e1d1,_0x127e94,_0x1c2e60(0x142));}function so(_0x5f40db,_0x5c2aa3,_0x50f4a0){const _0x5b2749=_0x26a2;let _0x39d68d=0x14;for(;_0x39d68d;){_0x5f40db[_0x5b2749(0x11f)](_0x5c2aa3,{'unit':_0x5b2749(0x11b),'direction':_0x50f4a0}),_0x39d68d--;const _0x493f4c=_0x5c2aa3[_0x5b2749(0x119)][_0x5b2749(0x146)==_0x50f4a0?_0x5b2749(0x116):_0x5b2749(0x12b)];if(_0x493f4c&&_0x493f4c['is'](_0x5b2749(0xd8))&&_0x5f40db[_0x5b2749(0xd5)][_0x5b2749(0xf9)](_0x493f4c)&&_0x5f40db[_0x5b2749(0xd5)][_0x5b2749(0x141)](_0x493f4c))break;}}function _0x26a2(_0x3ea1cc,_0x4f0eed){const _0x4de8c9=_0x4de8();return _0x26a2=function(_0x26a28c,_0x2c4b96){_0x26a28c=_0x26a28c-0xd5;let _0x278c72=_0x4de8c9[_0x26a28c];return _0x278c72;},_0x26a2(_0x3ea1cc,_0x4f0eed);}export function _transformMarkersByDeletion(_0x130690,_0x26922b){const _0x2d8a2a=_0x26a2;for(const [_0x172c50,_0x28490e]of _0x130690[_0x2d8a2a(0x14a)]){const _0x29f63f=_0x28490e[_0x2d8a2a(0x10a)](_0x26922b[_0x2d8a2a(0xfe)],_0x26922b[_0x2d8a2a(0xfa)][_0x2d8a2a(0x120)]-_0x26922b[_0x2d8a2a(0xfe)][_0x2d8a2a(0x120)]);null!=_0x29f63f?_0x130690[_0x2d8a2a(0x14a)][_0x2d8a2a(0x121)](_0x172c50,_0x29f63f):_0x130690[_0x2d8a2a(0x14a)][_0x2d8a2a(0xf6)](_0x172c50);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27d264=_0x325d;(function(_0x5d4ffd,_0x2e61b9){const _0x28988e=_0x325d,_0x55a036=_0x5d4ffd();while(!![]){try{const _0x2ed56d=-parseInt(_0x28988e(0x1ba))/0x1+parseInt(_0x28988e(0x195))/0x2*(-parseInt(_0x28988e(0x1ac))/0x3)+-parseInt(_0x28988e(0x171))/0x4*(-parseInt(_0x28988e(0x169))/0x5)+-parseInt(_0x28988e(0x1de))/0x6*(-parseInt(_0x28988e(0x196))/0x7)+-parseInt(_0x28988e(0x1d6))/0x8*(-parseInt(_0x28988e(0x182))/0x9)+parseInt(_0x28988e(0x1c9))/0xa*(parseInt(_0x28988e(0x1df))/0xb)+-parseInt(_0x28988e(0x192))/0xc;if(_0x2ed56d===_0x2e61b9)break;else _0x55a036['push'](_0x55a036['shift']());}catch(_0x3c94e2){_0x55a036['push'](_0x55a036['shift']());}}}(_0x102c,0x5100e));import{IconAIAdjustLength as _0x37062b,IconAIChangeTone as _0x112e4e,IconAIChatCommands as _0x4a4db2,IconAIContinueWriting as _0x270248,IconAIGrammarCheck as _0x3ad7f9,IconAIImproveWriting as _0x515261,IconAIOther as _0x18534b,IconAIQuickActions as _0x477520,IconAITranslate as _0x44b5db}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1537ea}from'ckeditor5/src/core.js';function _0x102c(){const _0x420a15=['locale','aiQuickActions','_shouldIncludeAction','icon','REVIEW','length','AI_QUICK_ACTIONS_ADJUST_LENGTH','AIQuickActionsUI','highlight-key-points','portuguese','displayedPrompt','3246872TiTviD','_initializeQuickActionsComponentsAndCommands','improve-writing','AI_QUICK_ACTIONS_MORE_DIRECT','_quickActionsDefinition','label','AI_QUICK_ACTIONS_MORE_CONFIDENT','continue','119694kLEQll','1044395blmswI','attachToDom','ask-ai','ai.quickActions.isSearchEnabled','get','close','isPremiumPlugin','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','map','isEnabled','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','chinese','model','ai.chat.models.displayedModels','fix-grammar','AIActions','_initializeQuickActionsDropdown','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_IMPROVE_WRITING','make-tone-professional','korean','uiLanguage','aiQuickAction','componentFactory','translate-to-english','summarize','translate-to-portuguese','children','DisplayNames','AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_CONTINUE_WRITING','other','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AIChat','ai.chat.context.document.enabled','_prepareQuickActionsDefinition','make-tone-confident','ai.quickActions.removeCommands','items','pluginName','translate-to-chinese','80QUzZdt','translate-to-french','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','filter','english','AI_QUICK_ACTIONS_MAKE_LONGER','menuitem','translate-to-korean','151736brOgML','french','init','replace','AI_QUICK_ACTIONS_HEADING','ai-quick-actions-unavailable-model','translate-to-russian','has','AIConnector','translate-to-japanese','editor','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_getDefaultAndCustomActions','language','requires','menuBarView','make-tone-direct','9PlVnbX','translate-to-german','menu','AI_QUICK_ACTIONS_OTHER','view','push','values','buttonView','set','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_CHANGE_TONE','delegate','includes','translate','ACTION','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','8720160YhGVGi','find','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','1880bCwnaD','49peMekN','adjust-length','AI_QUICK_ACTIONS_SUMMARIZE','isOfficialPlugin','AI_QUICK_ACTIONS_MAKE_SHORTER','make-tone-casual','CHAT','japanese','make-longer','execute','russian','getAvailableModels','config','chat-commands','actions','AI_QUICK_ACTIONS_MORE_FRIENDLY','_executeQuickAction','AI_QUICK_ACTIONS_CHAT_COMMANDS','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','italian','English','spanish','6GGqDca','panelView','menuBar:aiQuickActions','some','getDefaultQuickActions','translate-to-italian','_initializeQuickActionsComponents','commands','AI_QUICK_ACTIONS_TRANSLATE','ai-quick-actions-models-unable-to-retrieve','message','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','make-tone-friendly','add','566821KSMdoO','ai.quickActions.extraCommands','explain','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','plugins','change-tone','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','make-shorter','focus','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','german','AIReviewMode','forEach','editing','50NQweBA','type'];_0x102c=function(){return _0x420a15;};return _0x102c();}import{CKEditorError as _0x364e45,logError as _0x1ffbf}from'ckeditor5/src/utils.js';import{getTranslation as _0x1398e8}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x50585d}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x57ab04}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x17fa35,BalloonToolbar as _0x209b72,MenuBarMenuView as _0x5e51fd,MenuBarMenuListView as _0x34bc12,MenuBarMenuListItemView as _0x158e63,MenuBarMenuListItemButtonView as _0x1fe2f7}from'ckeditor5/src/ui.js';function _0x325d(_0xbb3456,_0x16d77c){const _0x102c23=_0x102c();return _0x325d=function(_0x325d50,_0x276f99){_0x325d50=_0x325d50-0x150;let _0x528b7e=_0x102c23[_0x325d50];return _0x528b7e;},_0x325d(_0xbb3456,_0x16d77c);}import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0xf736fe}from'../aicore/model/aimodels.js';const oe=_0x27d264(0x1a8),ae=_0x27d264(0x1f2),se=_0x27d264(0x1f1);export var AIQuickActionType;!function(_0x3bfa04){const _0x5a6bc7=_0x27d264;_0x3bfa04[_0x5a6bc7(0x19c)]=_0x5a6bc7(0x19c),_0x3bfa04[_0x5a6bc7(0x190)]=_0x5a6bc7(0x190),_0x3bfa04[_0x5a6bc7(0x1cf)]=_0x5a6bc7(0x1cf);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3f3a3b){const _0x15106b=_0x27d264;_0x3f3a3b[_0x15106b(0x19c)]=_0x15106b(0x161),_0x3f3a3b[_0x15106b(0x190)]=_0x15106b(0x1ef),_0x3f3a3b[_0x15106b(0x1cf)]=_0x15106b(0x1c6);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1537ea{static get[_0x27d264(0x17f)](){return[_0x209b72];}static get[_0x27d264(0x167)](){const _0x3050de=_0x27d264;return _0x3050de(0x1d2);}static get[_0x27d264(0x199)](){return!0x0;}static get[_0x27d264(0x1e5)](){return!0x0;}async[_0x27d264(0x173)](){const _0x4f7333=_0x27d264,_0x1c249c=await this[_0x4f7333(0x17d)]();this[_0x4f7333(0x163)](_0x1c249c),this[_0x4f7333(0x1d7)]();}static[_0x27d264(0x1b0)](_0x3009ec){return function(_0x577e41){const _0x40cdd7=_0x325d,_0x47ac4b=new Intl[(_0x40cdd7(0x15a))](['en'],{'type':_0x40cdd7(0x17e)})['of'](_0x577e41[_0x40cdd7(0x153)]),_0x30878d=_0x47ac4b||_0x40cdd7(0x1aa),_0x44b518=[{'id':_0x40cdd7(0x1e1),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1c0)),'type':AIQuickActionType[_0x40cdd7(0x19c)],'icon':_0x4a4db2},{'id':_0x40cdd7(0x1a3),'label':_0x1398e8(_0x577e41,_0x40cdd7(0x1a7)),'icon':_0x4a4db2,'actions':[{'id':_0x40cdd7(0x1bc),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1f3)),'prompt':oe[_0x40cdd7(0x174)]('%0',_0x30878d),'type':AIQuickActionType[_0x40cdd7(0x19c)]},{'id':_0x40cdd7(0x157),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x198)),'prompt':ae[_0x40cdd7(0x174)]('%0',_0x30878d),'type':AIQuickActionType[_0x40cdd7(0x19c)]},{'id':_0x40cdd7(0x1d3),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1ea)),'prompt':se[_0x40cdd7(0x174)]('%0',_0x30878d),'type':AIQuickActionType[_0x40cdd7(0x19c)]}]},{'id':_0x40cdd7(0x1d8),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x150)),'type':AIQuickActionType[_0x40cdd7(0x190)],'icon':_0x515261},{'id':_0x40cdd7(0x1dd),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x15d)),'type':AIQuickActionType[_0x40cdd7(0x190)],'icon':_0x270248},{'id':_0x40cdd7(0x1ee),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x16b)),'type':AIQuickActionType[_0x40cdd7(0x190)],'icon':_0x3ad7f9},{'id':_0x40cdd7(0x197),'label':_0x1398e8(_0x577e41,_0x40cdd7(0x1d1)),'icon':_0x37062b,'actions':[{'id':_0x40cdd7(0x1c2),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x19a)),'type':AIQuickActionType[_0x40cdd7(0x190)]},{'id':_0x40cdd7(0x19e),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x16e)),'type':AIQuickActionType[_0x40cdd7(0x190)]}]},{'id':_0x40cdd7(0x1bf),'label':_0x1398e8(_0x577e41,_0x40cdd7(0x18c)),'icon':_0x112e4e,'actions':[{'id':_0x40cdd7(0x19b),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x15b)),'type':AIQuickActionType[_0x40cdd7(0x190)]},{'id':_0x40cdd7(0x181),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1d9)),'type':AIQuickActionType[_0x40cdd7(0x190)]},{'id':_0x40cdd7(0x1b8),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1a5)),'type':AIQuickActionType[_0x40cdd7(0x190)]},{'id':_0x40cdd7(0x164),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1dc)),'type':AIQuickActionType[_0x40cdd7(0x190)]},{'id':_0x40cdd7(0x151),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x17c)),'type':AIQuickActionType[_0x40cdd7(0x190)]}]},{'id':_0x40cdd7(0x18f),'label':_0x1398e8(_0x577e41,_0x40cdd7(0x1b4)),'icon':_0x44b5db,'actions':[{'id':_0x40cdd7(0x156),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1c4)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x16d)}},{'id':_0x40cdd7(0x168),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x160)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x1eb)}},{'id':_0x40cdd7(0x15f),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x15c)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x1ab)}},{'id':_0x40cdd7(0x183),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1c1)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x1c5)}},{'id':_0x40cdd7(0x16a),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1e6)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x172)}},{'id':_0x40cdd7(0x17a),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x194)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x19d)}},{'id':_0x40cdd7(0x158),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1bd)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x1d4)}},{'id':_0x40cdd7(0x170),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1e9)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x152)}},{'id':_0x40cdd7(0x1b1),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1b7)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x1a9)}},{'id':_0x40cdd7(0x177),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x191)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x1a0)}}]},{'id':_0x40cdd7(0x15e),'label':_0x1398e8(_0x577e41,_0x40cdd7(0x185)),'icon':_0x18534b,'actions':[]}];return _0x44b518;}(_0x3009ec);}async[_0x27d264(0x17d)](){const _0x30ce49=_0x27d264,_0x29ca6d=AIQuickActionsUI[_0x30ce49(0x1b0)](this[_0x30ce49(0x17b)][_0x30ce49(0x1cb)]),_0x202fb3=this[_0x30ce49(0x17b)][_0x30ce49(0x1a2)][_0x30ce49(0x1e3)](_0x30ce49(0x1bb))||[];let _0x551bbf=[];try{_0x551bbf=await new _0xf736fe({'connector':this[_0x30ce49(0x17b)][_0x30ce49(0x1be)][_0x30ce49(0x1e3)](_0x30ce49(0x179)),'availableModels':this[_0x30ce49(0x17b)][_0x30ce49(0x1a2)][_0x30ce49(0x1e3)](_0x30ce49(0x1ed)),'locale':this[_0x30ce49(0x17b)][_0x30ce49(0x1cb)]})[_0x30ce49(0x1a1)]();}catch(_0x1fc475){const _0x5836da=new _0x364e45(_0x30ce49(0x1b5),this,{'error':_0x1fc475});_0x1ffbf(_0x5836da[_0x30ce49(0x1b6)]);}finally{const _0x4de6b9=_0x202fb3[_0x30ce49(0x1e7)](_0xe20e30=>({..._0xe20e30,'icon':void 0x0}));_0x29ca6d[_0x30ce49(0x193)](_0x2bc65a=>_0x30ce49(0x15e)===_0x2bc65a['id'])[_0x30ce49(0x1a4)][_0x30ce49(0x187)](..._0x4de6b9),_0x29ca6d[_0x30ce49(0x1c7)](_0x229de3=>{const _0x4f4c59=_0x30ce49;if(_0x4f4c59(0x1a4)in _0x229de3)_0x229de3[_0x4f4c59(0x1a4)][_0x4f4c59(0x1c7)](_0x394392=>{const _0x44cc5=_0x4f4c59;if(_0x394392[_0x44cc5(0x1e8)]=!!_0x551bbf[_0x44cc5(0x193)](_0x5e7e0c=>_0x5e7e0c['id']===_0x394392[_0x44cc5(0x1ec)])||void 0x0===_0x394392[_0x44cc5(0x1ec)],!_0x394392[_0x44cc5(0x1e8)]){const _0x26093b=new _0x364e45(_0x44cc5(0x176),this,{'actionId':_0x394392['id'],'modelId':_0x394392[_0x44cc5(0x1ec)]});_0x1ffbf(_0x26093b[_0x44cc5(0x1b6)]);}});else{if(_0x229de3[_0x4f4c59(0x1e8)]=!!_0x551bbf[_0x4f4c59(0x193)](_0x3c51af=>_0x3c51af['id']===_0x229de3[_0x4f4c59(0x1ec)])||void 0x0===_0x229de3[_0x4f4c59(0x1ec)],!_0x229de3[_0x4f4c59(0x1e8)]){const _0x332446=new _0x364e45(_0x4f4c59(0x176),this,{'actionId':_0x229de3['id'],'modelId':_0x229de3[_0x4f4c59(0x1ec)]});_0x1ffbf(_0x332446[_0x4f4c59(0x1b6)]);}}});}return _0x29ca6d;}[_0x27d264(0x1d7)](){const _0x3b2eca=_0x27d264,_0x5f5590=new _0x17fa35(this[_0x3b2eca(0x17b)][_0x3b2eca(0x1cb)]);_0x5f5590[_0x3b2eca(0x1e0)](),this[_0x3b2eca(0x1f0)](_0x5f5590),this[_0x3b2eca(0x18b)](),this[_0x3b2eca(0x1b2)](_0x5f5590);}[_0x27d264(0x1f0)](_0x2bbdcc){const _0x481e1b=_0x27d264,_0x127131=this[_0x481e1b(0x17b)][_0x481e1b(0x1a2)][_0x481e1b(0x1e3)](_0x481e1b(0x1e2))??!0x0;this[_0x481e1b(0x17b)]['ui'][_0x481e1b(0x155)][_0x481e1b(0x1b9)](_0x481e1b(0x1cc),_0x50585d({'editor':this[_0x481e1b(0x17b)],'content':this[_0x481e1b(0x1da)],'buttonDefinition':{'icon':_0x477520,'label':_0x1398e8(this[_0x481e1b(0x17b)][_0x481e1b(0x1cb)],_0x481e1b(0x175))},'bodyCollection':_0x2bbdcc,'hasSearch':_0x127131}));}[_0x27d264(0x163)](_0x5d4fdc){const _0x344929=_0x27d264;this[_0x344929(0x1da)]=_0x5d4fdc[_0x344929(0x1e7)](_0x1f6fbb=>{const _0x459bc0=_0x344929;if(_0x459bc0(0x1a4)in _0x1f6fbb){const _0x2351ad=_0x1f6fbb;return{..._0x2351ad,'actions':_0x2351ad[_0x459bc0(0x1a4)][_0x459bc0(0x1e7)](_0x45ba14=>{const {actions:_0x467a72,..._0x33856b}=_0x2351ad;return{..._0x45ba14,'parent':_0x33856b};})[_0x459bc0(0x16c)](_0x39485d=>this[_0x459bc0(0x1cd)](_0x39485d))};}return _0x1f6fbb;})[_0x344929(0x16c)](_0x116ed3=>_0x344929(0x1a4)in _0x116ed3?_0x116ed3[_0x344929(0x1a4)][_0x344929(0x1d0)]>0x0:this[_0x344929(0x1cd)](_0x116ed3));}[_0x27d264(0x1cd)](_0x4e7e69){const _0x34add8=_0x27d264,_0xe9fa7b=this[_0x34add8(0x17b)][_0x34add8(0x1a2)][_0x34add8(0x1e3)](_0x34add8(0x165))||[];return this[_0x34add8(0x17b)][_0x34add8(0x1be)][_0x34add8(0x178)](AIQuickActionTypeToPluginName[_0x4e7e69[_0x34add8(0x1ca)]])&&!_0xe9fa7b[_0x34add8(0x18e)](_0x4e7e69['id'])&&!(_0x4e7e69[_0x34add8(0x1ca)]===AIQuickActionType[_0x34add8(0x19c)]&&!0x1===this[_0x34add8(0x17b)][_0x34add8(0x1a2)][_0x34add8(0x1e3)](_0x34add8(0x162)));}[_0x27d264(0x1b2)](_0x210a1a){const _0x197018=_0x27d264;this[_0x197018(0x1da)][_0x197018(0x1c7)](_0x3b687d=>{const _0x442838=_0x197018;if(_0x442838(0x1a4)in _0x3b687d){const _0x2e57f7=_0x50585d({'editor':this[_0x442838(0x17b)],'content':_0x3b687d[_0x442838(0x1a4)],'buttonDefinition':_0x3b687d,'bodyCollection':_0x210a1a});this[_0x442838(0x17b)]['ui'][_0x442838(0x155)][_0x442838(0x1b9)](_0x3b687d['id'],_0x2e57f7),_0x3b687d[_0x442838(0x1a4)][_0x442838(0x1c7)](_0x4f65e=>{const _0x14b9ee=_0x442838,_0x2c9ce4=_0x57ab04({'editor':this[_0x14b9ee(0x17b)],'action':_0x4f65e});this[_0x14b9ee(0x17b)]['ui'][_0x14b9ee(0x155)][_0x14b9ee(0x1b9)](_0x4f65e['id'],_0x2c9ce4);});}else{const _0x510d9a=_0x57ab04({'editor':this[_0x442838(0x17b)],'action':_0x3b687d,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x442838(0x17b)]['ui'][_0x442838(0x155)][_0x442838(0x1b9)](_0x3b687d['id'],_0x510d9a);}});}[_0x27d264(0x18b)](){const _0x25ac66=_0x27d264;this[_0x25ac66(0x17b)]['ui'][_0x25ac66(0x155)][_0x25ac66(0x1b9)](_0x25ac66(0x1ae),_0x13c3ca=>{const _0xa3d23=_0x25ac66,_0x8e68ab=new _0x5e51fd(_0x13c3ca),_0x4eec76=_0x1398e8(_0x13c3ca,_0xa3d23(0x175));_0x8e68ab[_0xa3d23(0x189)][_0xa3d23(0x18a)]({'label':_0x4eec76,'icon':_0x477520});const _0x4a15a1=new _0x34bc12(_0x13c3ca);_0x4a15a1[_0xa3d23(0x18a)]({'ariaLabel':_0x4eec76,'role':_0xa3d23(0x184)}),this[_0xa3d23(0x1da)][_0xa3d23(0x1c7)](_0x5b0382=>{const _0xe879e7=_0xa3d23;if(_0xe879e7(0x1a4)in _0x5b0382){const _0x22048c=_0x5b0382,_0xaee6a7=new _0x158e63(_0x13c3ca,_0x8e68ab),_0x1f0317=new _0x5e51fd(_0x13c3ca),_0x228c6d=new _0x34bc12(_0x13c3ca);_0x1f0317[_0xe879e7(0x189)][_0xe879e7(0x18a)]({'label':_0x22048c[_0xe879e7(0x1db)],'icon':_0x22048c[_0xe879e7(0x1ce)]}),_0x22048c[_0xe879e7(0x1a4)][_0xe879e7(0x1c7)](_0x3b3b00=>{const _0x15486d=_0xe879e7,_0x58f022=new _0x158e63(_0x13c3ca,_0x1f0317),_0x1f4ecf=new _0x1fe2f7(_0x13c3ca);_0x1f4ecf[_0x15486d(0x18a)]({'label':_0x3b3b00[_0x15486d(0x1d5)],'icon':_0x3b3b00[_0x15486d(0x1ce)],'role':_0x15486d(0x16f),'isEnabled':_0x3b3b00[_0x15486d(0x1e8)]}),_0x1f4ecf['on'](_0x15486d(0x19f),()=>{const _0x4afd87=_0x15486d;this[_0x4afd87(0x1a6)](_0x3b3b00);}),_0x1f4ecf[_0x15486d(0x18d)](_0x15486d(0x19f))['to'](_0x1f0317),_0x58f022[_0x15486d(0x159)][_0x15486d(0x1b9)](_0x1f4ecf),_0x228c6d[_0x15486d(0x166)][_0x15486d(0x1b9)](_0x58f022);}),_0x1f0317[_0xe879e7(0x1ad)][_0xe879e7(0x159)][_0xe879e7(0x1b9)](_0x228c6d),_0xaee6a7[_0xe879e7(0x159)][_0xe879e7(0x1b9)](_0x1f0317),_0x4a15a1[_0xe879e7(0x166)][_0xe879e7(0x1b9)](_0xaee6a7);}else{const _0x2aaba9=_0x5b0382,_0x2fd2eb=new _0x158e63(_0x13c3ca,_0x8e68ab),_0x4da15b=new _0x1fe2f7(_0x13c3ca);_0x4da15b[_0xe879e7(0x18a)]({'label':_0x2aaba9[_0xe879e7(0x1d5)],'icon':_0x2aaba9[_0xe879e7(0x1ce)],'role':_0xe879e7(0x16f),'isEnabled':_0x2aaba9[_0xe879e7(0x1e8)]}),_0x4da15b['on'](_0xe879e7(0x19f),()=>{const _0x474d27=_0xe879e7;this[_0x474d27(0x1a6)](_0x2aaba9);}),_0x4da15b[_0xe879e7(0x18d)](_0xe879e7(0x19f))['to'](_0x8e68ab),_0x2fd2eb[_0xe879e7(0x159)][_0xe879e7(0x1b9)](_0x4da15b),_0x4a15a1[_0xe879e7(0x166)][_0xe879e7(0x1b9)](_0x2fd2eb);}});const _0xc29d5d=Object[_0xa3d23(0x188)](AIQuickActionTypeToPluginName)[_0xa3d23(0x1af)](_0x3a9fe4=>this[_0xa3d23(0x17b)][_0xa3d23(0x1be)][_0xa3d23(0x178)](_0x3a9fe4));return _0x8e68ab[_0xa3d23(0x18a)]({'isEnabled':_0xc29d5d}),_0x8e68ab[_0xa3d23(0x1ad)][_0xa3d23(0x159)][_0xa3d23(0x1b9)](_0x4a15a1),_0x8e68ab;});}[_0x27d264(0x1a6)](_0x514d16){const _0xcf1ede=_0x27d264,_0x2a506e=this[_0xcf1ede(0x17b)];_0x2a506e[_0xcf1ede(0x1c8)][_0xcf1ede(0x186)][_0xcf1ede(0x1c3)](),_0x2a506e[_0xcf1ede(0x1b3)][_0xcf1ede(0x19f)](_0xcf1ede(0x154),_0x514d16);const _0x3ac280=_0x2a506e['ui'][_0xcf1ede(0x186)][_0xcf1ede(0x180)];_0x3ac280&&_0x3ac280[_0xcf1ede(0x1e4)]&&_0x3ac280[_0xcf1ede(0x1e4)]();}}
23
+ const _0x31719b=_0x151a;(function(_0xfdb7e2,_0xefc655){const _0x1ad665=_0x151a,_0x481df6=_0xfdb7e2();while(!![]){try{const _0x1e29ca=parseInt(_0x1ad665(0x209))/0x1*(-parseInt(_0x1ad665(0x208))/0x2)+-parseInt(_0x1ad665(0x169))/0x3+-parseInt(_0x1ad665(0x1f1))/0x4*(-parseInt(_0x1ad665(0x175))/0x5)+parseInt(_0x1ad665(0x1fc))/0x6*(-parseInt(_0x1ad665(0x189))/0x7)+-parseInt(_0x1ad665(0x19a))/0x8+parseInt(_0x1ad665(0x19e))/0x9*(-parseInt(_0x1ad665(0x1ac))/0xa)+parseInt(_0x1ad665(0x18e))/0xb;if(_0x1e29ca===_0xefc655)break;else _0x481df6['push'](_0x481df6['shift']());}catch(_0x15b084){_0x481df6['push'](_0x481df6['shift']());}}}(_0x5292,0x39063));import{IconAIAdjustLength as _0x17506e,IconAIChangeTone as _0x8e3233,IconAIChatCommands as _0x4f7f5a,IconAIContinueWriting as _0x109673,IconAIGrammarCheck as _0xfdd85d,IconAIImproveWriting as _0x553c44,IconAIOther as _0x4b087d,IconAIQuickActions as _0x141fa0,IconAITranslate as _0x50f643}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x46bf32}from'ckeditor5/src/core.js';import{CKEditorError as _0x4866d8,logError as _0x23c61f}from'ckeditor5/src/utils.js';import{getTranslation as _0x50c4e8}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x18dad2}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x43cf56}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x6b02ba,BalloonToolbar as _0x3674fa,MenuBarMenuView as _0x1995d7,MenuBarMenuListView as _0x536620,MenuBarMenuListItemView as _0x518ec2,MenuBarMenuListItemButtonView as _0x3a98da}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x35273c}from'../aicore/model/aimodels.js';function _0x151a(_0x4e9690,_0x1f8277){const _0x529237=_0x5292();return _0x151a=function(_0x151a21,_0x5bd5a8){_0x151a21=_0x151a21-0x167;let _0x1395d4=_0x529237[_0x151a21];return _0x1395d4;},_0x151a(_0x4e9690,_0x1f8277);}function _0x5292(){const _0x58a929=['italian','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','translate-to-german','chinese','translate-to-japanese','_prepareQuickActionsDefinition','commands','10YWhuSG','_executeQuickAction','ai.chat.context.document.enabled','isOfficialPlugin','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','buttonView','model','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','change-tone','some','summarize','AI_QUICK_ACTIONS_MAKE_LONGER','view','componentFactory','translate-to-russian','adjust-length','focus','translate-to-chinese','russian','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','pluginName','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_MORE_CASUAL','message','improve-writing','ask-ai','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','children','make-tone-direct','aiQuickAction','length','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','push','menuBarView','getDefaultQuickActions','locale','AIQuickActionsUI','AI_QUICK_ACTIONS_OTHER','fix-grammar','set','AI_QUICK_ACTIONS_ADJUST_LENGTH','ai-quick-actions-unavailable-model','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','translate','CHAT','forEach','portuguese','english','execute','filter','has','french','English','editing','translate-to-portuguese','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_TRANSLATE','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','getAvailableModels','delegate','spanish','AI_QUICK_ACTIONS_EXPLAIN','translate-to-french','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_CHAT_COMMANDS','map','attachToDom','70988koBEZl','panelView','AI_QUICK_ACTIONS_MAKE_SHORTER','uiLanguage','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AIReviewMode','ACTION','make-shorter','find','6uQhHsl','korean','displayedPrompt','translate-to-italian','make-tone-confident','ai.chat.models.displayedModels','menuitem','AI_QUICK_ACTIONS_SUMMARIZE','icon','highlight-key-points','AI_QUICK_ACTIONS_MORE_FRIENDLY','make-tone-friendly','5956pkwQJR','139GHlMKC','config','_initializeQuickActionsComponents','1053849BujYpm','items','AI_QUICK_ACTIONS_ASK_AI','translate-to-english','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_HEADING','menuBar:aiQuickActions','explain','_initializeQuickActionsDropdown','actions','japanese','ai.quickActions.isSearchEnabled','20dfZjbS','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','make-longer','german','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AIConnector','isEnabled','aiQuickActions','editor','continue','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AIChat','menu','plugins','_shouldIncludeAction','language','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MORE_DIRECT','2310259RHTmaa','_quickActionsDefinition','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','other','AIActions','19349781VKsSVy','REVIEW','close','AI_QUICK_ACTIONS_MORE_CONFIDENT','chat-commands','get','isPremiumPlugin','label','requires','type','ai-quick-actions-models-unable-to-retrieve','_getDefaultAndCustomActions','455704FJUaXs','DisplayNames','make-tone-professional','add','3998367exjXAX','replace','init','_initializeQuickActionsComponentsAndCommands','includes','values','make-tone-casual'];_0x5292=function(){return _0x58a929;};return _0x5292();}const oe=_0x31719b(0x1cc),ae=_0x31719b(0x1c7),se=_0x31719b(0x1c0);export var AIQuickActionType;!function(_0x1d3791){const _0x38b8cf=_0x31719b;_0x1d3791[_0x38b8cf(0x1d9)]=_0x38b8cf(0x1d9),_0x1d3791[_0x38b8cf(0x1f9)]=_0x38b8cf(0x1f9),_0x1d3791[_0x38b8cf(0x18f)]=_0x38b8cf(0x18f);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x2c191f){const _0x187296=_0x31719b;_0x2c191f[_0x187296(0x1d9)]=_0x187296(0x182),_0x2c191f[_0x187296(0x1f9)]=_0x187296(0x18d),_0x2c191f[_0x187296(0x18f)]=_0x187296(0x1f8);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x46bf32{static get[_0x31719b(0x196)](){return[_0x3674fa];}static get[_0x31719b(0x1c1)](){const _0xedc3a5=_0x31719b;return _0xedc3a5(0x1d1);}static get[_0x31719b(0x1af)](){return!0x0;}static get[_0x31719b(0x194)](){return!0x0;}async[_0x31719b(0x1a0)](){const _0x2b5bd8=_0x31719b,_0x38c19a=await this[_0x2b5bd8(0x199)]();this[_0x2b5bd8(0x1aa)](_0x38c19a),this[_0x2b5bd8(0x1a1)]();}static[_0x31719b(0x1cf)](_0xc7717f){return function(_0x5f5522){const _0x3b9544=_0x151a,_0x543ee1=new Intl[(_0x3b9544(0x19b))](['en'],{'type':_0x3b9544(0x186)})['of'](_0x5f5522[_0x3b9544(0x1f4)]),_0x41de3d=_0x543ee1||_0x3b9544(0x1e1),_0x3fa80e=[{'id':_0x3b9544(0x1c6),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x16b)),'type':AIQuickActionType[_0x3b9544(0x1d9)],'icon':_0x4f7f5a},{'id':_0x3b9544(0x192),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x1ee)),'icon':_0x4f7f5a,'actions':[{'id':_0x3b9544(0x170),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1eb)),'prompt':oe[_0x3b9544(0x19f)]('%0',_0x41de3d),'type':AIQuickActionType[_0x3b9544(0x1d9)]},{'id':_0x3b9544(0x1b7),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x203)),'prompt':ae[_0x3b9544(0x19f)]('%0',_0x41de3d),'type':AIQuickActionType[_0x3b9544(0x1d9)]},{'id':_0x3b9544(0x205),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1d7)),'prompt':se[_0x3b9544(0x19f)]('%0',_0x41de3d),'type':AIQuickActionType[_0x3b9544(0x1d9)]}]},{'id':_0x3b9544(0x1c5),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x17a)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'icon':_0x553c44},{'id':_0x3b9544(0x180),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1f5)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'icon':_0x109673},{'id':_0x3b9544(0x1d3),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1ed)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'icon':_0xfdd85d},{'id':_0x3b9544(0x1bc),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x1d5)),'icon':_0x17506e,'actions':[{'id':_0x3b9544(0x1fa),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1f3)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x178),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1b8)),'type':AIQuickActionType[_0x3b9544(0x1f9)]}]},{'id':_0x3b9544(0x1b5),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x16d)),'icon':_0x8e3233,'actions':[{'id':_0x3b9544(0x1a4),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1c3)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x1c9),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x188)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x207),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x206)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x200),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x191)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x19c),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1a6)),'type':AIQuickActionType[_0x3b9544(0x1f9)]}]},{'id':_0x3b9544(0x1d8),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x1e5)),'icon':_0x50f643,'actions':[{'id':_0x3b9544(0x16c),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x17b)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1dc)}},{'id':_0x3b9544(0x1be),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1b0)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1a8)}},{'id':_0x3b9544(0x1b3),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1b4)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1ea)}},{'id':_0x3b9544(0x1a7),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1c2)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x179)}},{'id':_0x3b9544(0x1ec),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x181)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1e0)}},{'id':_0x3b9544(0x1a9),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x177)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x173)}},{'id':_0x3b9544(0x1e3),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1f6)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1db)}},{'id':_0x3b9544(0x176),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1f7)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1fd)}},{'id':_0x3b9544(0x1ff),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x18b)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1a5)}},{'id':_0x3b9544(0x1bb),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1e7)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1bf)}}]},{'id':_0x3b9544(0x18c),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x1d2)),'icon':_0x4b087d,'actions':[]}];return _0x3fa80e;}(_0xc7717f);}async[_0x31719b(0x199)](){const _0x1452cd=_0x31719b,_0x1fb9ae=AIQuickActionsUI[_0x1452cd(0x1cf)](this[_0x1452cd(0x17f)][_0x1452cd(0x1d0)]),_0x3c7dcb=this[_0x1452cd(0x17f)][_0x1452cd(0x167)][_0x1452cd(0x193)](_0x1452cd(0x187))||[];let _0xaedb83=[];try{_0xaedb83=await new _0x35273c({'connector':this[_0x1452cd(0x17f)][_0x1452cd(0x184)][_0x1452cd(0x193)](_0x1452cd(0x17c)),'availableModels':this[_0x1452cd(0x17f)][_0x1452cd(0x167)][_0x1452cd(0x193)](_0x1452cd(0x201)),'locale':this[_0x1452cd(0x17f)][_0x1452cd(0x1d0)]})[_0x1452cd(0x1e8)]();}catch(_0x17ae3d){const _0x4de479=new _0x4866d8(_0x1452cd(0x198),this,{'error':_0x17ae3d});_0x23c61f(_0x4de479[_0x1452cd(0x1c4)]);}finally{const _0x16ff5c=_0x3c7dcb[_0x1452cd(0x1ef)](_0x430ec3=>({..._0x430ec3,'icon':void 0x0}));_0x1fb9ae[_0x1452cd(0x1fb)](_0x184b64=>_0x1452cd(0x18c)===_0x184b64['id'])[_0x1452cd(0x172)][_0x1452cd(0x1cd)](..._0x16ff5c),_0x1fb9ae[_0x1452cd(0x1da)](_0x395ab7=>{const _0x4cf054=_0x1452cd;if(_0x4cf054(0x172)in _0x395ab7)_0x395ab7[_0x4cf054(0x172)][_0x4cf054(0x1da)](_0x4f4f98=>{const _0xd18203=_0x4cf054;if(_0x4f4f98[_0xd18203(0x17d)]=!!_0xaedb83[_0xd18203(0x1fb)](_0x144b5a=>_0x144b5a['id']===_0x4f4f98[_0xd18203(0x1b2)])||void 0x0===_0x4f4f98[_0xd18203(0x1b2)],!_0x4f4f98[_0xd18203(0x17d)]){const _0x377c8b=new _0x4866d8(_0xd18203(0x1d6),this,{'actionId':_0x4f4f98['id'],'modelId':_0x4f4f98[_0xd18203(0x1b2)]});_0x23c61f(_0x377c8b[_0xd18203(0x1c4)]);}});else{if(_0x395ab7[_0x4cf054(0x17d)]=!!_0xaedb83[_0x4cf054(0x1fb)](_0x1a2fc4=>_0x1a2fc4['id']===_0x395ab7[_0x4cf054(0x1b2)])||void 0x0===_0x395ab7[_0x4cf054(0x1b2)],!_0x395ab7[_0x4cf054(0x17d)]){const _0x439e2f=new _0x4866d8(_0x4cf054(0x1d6),this,{'actionId':_0x395ab7['id'],'modelId':_0x395ab7[_0x4cf054(0x1b2)]});_0x23c61f(_0x439e2f[_0x4cf054(0x1c4)]);}}});}return _0x1fb9ae;}[_0x31719b(0x1a1)](){const _0x3f9258=_0x31719b,_0x4ff426=new _0x6b02ba(this[_0x3f9258(0x17f)][_0x3f9258(0x1d0)]);_0x4ff426[_0x3f9258(0x1f0)](),this[_0x3f9258(0x171)](_0x4ff426),this[_0x3f9258(0x1e4)](),this[_0x3f9258(0x168)](_0x4ff426);}[_0x31719b(0x171)](_0x33f9a5){const _0xe66aa2=_0x31719b,_0x2601cb=this[_0xe66aa2(0x17f)][_0xe66aa2(0x167)][_0xe66aa2(0x193)](_0xe66aa2(0x174))??!0x0;this[_0xe66aa2(0x17f)]['ui'][_0xe66aa2(0x1ba)][_0xe66aa2(0x19d)](_0xe66aa2(0x17e),_0x18dad2({'editor':this[_0xe66aa2(0x17f)],'content':this[_0xe66aa2(0x18a)],'buttonDefinition':{'icon':_0x141fa0,'label':_0x50c4e8(this[_0xe66aa2(0x17f)][_0xe66aa2(0x1d0)],_0xe66aa2(0x16e))},'bodyCollection':_0x33f9a5,'hasSearch':_0x2601cb}));}[_0x31719b(0x1aa)](_0x1ae824){const _0x4689c0=_0x31719b;this[_0x4689c0(0x18a)]=_0x1ae824[_0x4689c0(0x1ef)](_0x374980=>{const _0x124f93=_0x4689c0;if(_0x124f93(0x172)in _0x374980){const _0x50c274=_0x374980;return{..._0x50c274,'actions':_0x50c274[_0x124f93(0x172)][_0x124f93(0x1ef)](_0x1e9752=>{const {actions:_0x2dd86b,..._0x11c3f9}=_0x50c274;return{..._0x1e9752,'parent':_0x11c3f9};})[_0x124f93(0x1de)](_0x1812e1=>this[_0x124f93(0x185)](_0x1812e1))};}return _0x374980;})[_0x4689c0(0x1de)](_0x6417c6=>_0x4689c0(0x172)in _0x6417c6?_0x6417c6[_0x4689c0(0x172)][_0x4689c0(0x1cb)]>0x0:this[_0x4689c0(0x185)](_0x6417c6));}[_0x31719b(0x185)](_0x1d64b3){const _0x2ac3ad=_0x31719b,_0x113cd7=this[_0x2ac3ad(0x17f)][_0x2ac3ad(0x167)][_0x2ac3ad(0x193)](_0x2ac3ad(0x1e6))||[];return this[_0x2ac3ad(0x17f)][_0x2ac3ad(0x184)][_0x2ac3ad(0x1df)](AIQuickActionTypeToPluginName[_0x1d64b3[_0x2ac3ad(0x197)]])&&!_0x113cd7[_0x2ac3ad(0x1a2)](_0x1d64b3['id'])&&!(_0x1d64b3[_0x2ac3ad(0x197)]===AIQuickActionType[_0x2ac3ad(0x1d9)]&&!0x1===this[_0x2ac3ad(0x17f)][_0x2ac3ad(0x167)][_0x2ac3ad(0x193)](_0x2ac3ad(0x1ae)));}[_0x31719b(0x168)](_0x39916c){const _0x2f7c5a=_0x31719b;this[_0x2f7c5a(0x18a)][_0x2f7c5a(0x1da)](_0x6c2068=>{const _0x3ac166=_0x2f7c5a;if(_0x3ac166(0x172)in _0x6c2068){const _0x8d4cbd=_0x18dad2({'editor':this[_0x3ac166(0x17f)],'content':_0x6c2068[_0x3ac166(0x172)],'buttonDefinition':_0x6c2068,'bodyCollection':_0x39916c});this[_0x3ac166(0x17f)]['ui'][_0x3ac166(0x1ba)][_0x3ac166(0x19d)](_0x6c2068['id'],_0x8d4cbd),_0x6c2068[_0x3ac166(0x172)][_0x3ac166(0x1da)](_0x57ea04=>{const _0x47f621=_0x3ac166,_0x37d871=_0x43cf56({'editor':this[_0x47f621(0x17f)],'action':_0x57ea04});this[_0x47f621(0x17f)]['ui'][_0x47f621(0x1ba)][_0x47f621(0x19d)](_0x57ea04['id'],_0x37d871);});}else{const _0x39280f=_0x43cf56({'editor':this[_0x3ac166(0x17f)],'action':_0x6c2068,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3ac166(0x17f)]['ui'][_0x3ac166(0x1ba)][_0x3ac166(0x19d)](_0x6c2068['id'],_0x39280f);}});}[_0x31719b(0x1e4)](){const _0x4d4aa8=_0x31719b;this[_0x4d4aa8(0x17f)]['ui'][_0x4d4aa8(0x1ba)][_0x4d4aa8(0x19d)](_0x4d4aa8(0x16f),_0x12ec1b=>{const _0x5a9648=_0x4d4aa8,_0x185991=new _0x1995d7(_0x12ec1b),_0x5bde80=_0x50c4e8(_0x12ec1b,_0x5a9648(0x16e));_0x185991[_0x5a9648(0x1b1)][_0x5a9648(0x1d4)]({'label':_0x5bde80,'icon':_0x141fa0});const _0x2855e5=new _0x536620(_0x12ec1b);_0x2855e5[_0x5a9648(0x1d4)]({'ariaLabel':_0x5bde80,'role':_0x5a9648(0x183)}),this[_0x5a9648(0x18a)][_0x5a9648(0x1da)](_0x3bf4e6=>{const _0x5b7efe=_0x5a9648;if(_0x5b7efe(0x172)in _0x3bf4e6){const _0x311a2e=_0x3bf4e6,_0x4adb66=new _0x518ec2(_0x12ec1b,_0x185991),_0x286486=new _0x1995d7(_0x12ec1b),_0x8c8209=new _0x536620(_0x12ec1b);_0x286486[_0x5b7efe(0x1b1)][_0x5b7efe(0x1d4)]({'label':_0x311a2e[_0x5b7efe(0x195)],'icon':_0x311a2e[_0x5b7efe(0x204)]}),_0x311a2e[_0x5b7efe(0x172)][_0x5b7efe(0x1da)](_0x495b72=>{const _0x11a826=_0x5b7efe,_0x1c9cef=new _0x518ec2(_0x12ec1b,_0x286486),_0x5d1efd=new _0x3a98da(_0x12ec1b);_0x5d1efd[_0x11a826(0x1d4)]({'label':_0x495b72[_0x11a826(0x1fe)],'icon':_0x495b72[_0x11a826(0x204)],'role':_0x11a826(0x202),'isEnabled':_0x495b72[_0x11a826(0x17d)]}),_0x5d1efd['on'](_0x11a826(0x1dd),()=>{const _0x569a1b=_0x11a826;this[_0x569a1b(0x1ad)](_0x495b72);}),_0x5d1efd[_0x11a826(0x1e9)](_0x11a826(0x1dd))['to'](_0x286486),_0x1c9cef[_0x11a826(0x1c8)][_0x11a826(0x19d)](_0x5d1efd),_0x8c8209[_0x11a826(0x16a)][_0x11a826(0x19d)](_0x1c9cef);}),_0x286486[_0x5b7efe(0x1f2)][_0x5b7efe(0x1c8)][_0x5b7efe(0x19d)](_0x8c8209),_0x4adb66[_0x5b7efe(0x1c8)][_0x5b7efe(0x19d)](_0x286486),_0x2855e5[_0x5b7efe(0x16a)][_0x5b7efe(0x19d)](_0x4adb66);}else{const _0x598838=_0x3bf4e6,_0x38847d=new _0x518ec2(_0x12ec1b,_0x185991),_0x5ea16c=new _0x3a98da(_0x12ec1b);_0x5ea16c[_0x5b7efe(0x1d4)]({'label':_0x598838[_0x5b7efe(0x1fe)],'icon':_0x598838[_0x5b7efe(0x204)],'role':_0x5b7efe(0x202),'isEnabled':_0x598838[_0x5b7efe(0x17d)]}),_0x5ea16c['on'](_0x5b7efe(0x1dd),()=>{const _0x4e5716=_0x5b7efe;this[_0x4e5716(0x1ad)](_0x598838);}),_0x5ea16c[_0x5b7efe(0x1e9)](_0x5b7efe(0x1dd))['to'](_0x185991),_0x38847d[_0x5b7efe(0x1c8)][_0x5b7efe(0x19d)](_0x5ea16c),_0x2855e5[_0x5b7efe(0x16a)][_0x5b7efe(0x19d)](_0x38847d);}});const _0x1d9007=Object[_0x5a9648(0x1a3)](AIQuickActionTypeToPluginName)[_0x5a9648(0x1b6)](_0x3c92e8=>this[_0x5a9648(0x17f)][_0x5a9648(0x184)][_0x5a9648(0x1df)](_0x3c92e8));return _0x185991[_0x5a9648(0x1d4)]({'isEnabled':_0x1d9007}),_0x185991[_0x5a9648(0x1f2)][_0x5a9648(0x1c8)][_0x5a9648(0x19d)](_0x2855e5),_0x185991;});}[_0x31719b(0x1ad)](_0x5da7d0){const _0x3d1ca0=_0x31719b,_0xc592d0=this[_0x3d1ca0(0x17f)];_0xc592d0[_0x3d1ca0(0x1e2)][_0x3d1ca0(0x1b9)][_0x3d1ca0(0x1bd)](),_0xc592d0[_0x3d1ca0(0x1ab)][_0x3d1ca0(0x1dd)](_0x3d1ca0(0x1ca),_0x5da7d0);const _0x1bbdaa=_0xc592d0['ui'][_0x3d1ca0(0x1b9)][_0x3d1ca0(0x1ce)];_0x1bbdaa&&_0x1bbdaa[_0x3d1ca0(0x190)]&&_0x1bbdaa[_0x3d1ca0(0x190)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2798(_0x45d018,_0x25dd27){const _0x284eaa=_0x284e();return _0x2798=function(_0x2798b7,_0x917f90){_0x2798b7=_0x2798b7-0x147;let _0x45aeb6=_0x284eaa[_0x2798b7];return _0x45aeb6;},_0x2798(_0x45d018,_0x25dd27);}function _0x284e(){const _0x8b2eb8=['icon','parent','10AsCZxM','view','extendTemplate','set','execute','displayedPrompt','8EcnfQj','1148157hHUnkK','menuitem','2068415PrGgfa','commands','locale','ck-ai-quick-actions-button','4hwDSFq','isEnabled','editing','12833780AYAlAc','117347KwkqlL','focus','aiQuickAction','1234281ZuUcqr','4710948abBnFT','bindTemplate','2453668TICLEO'];_0x284e=function(){return _0x8b2eb8;};return _0x284e();}(function(_0x154a35,_0x550a2a){const _0x44d9a4=_0x2798,_0x218565=_0x154a35();while(!![]){try{const _0x2e2e89=-parseInt(_0x44d9a4(0x14d))/0x1*(parseInt(_0x44d9a4(0x156))/0x2)+parseInt(_0x44d9a4(0x150))/0x3+-parseInt(_0x44d9a4(0x149))/0x4*(-parseInt(_0x44d9a4(0x15f))/0x5)+-parseInt(_0x44d9a4(0x151))/0x6+-parseInt(_0x44d9a4(0x153))/0x7*(parseInt(_0x44d9a4(0x15c))/0x8)+parseInt(_0x44d9a4(0x15d))/0x9+parseInt(_0x44d9a4(0x14c))/0xa;if(_0x2e2e89===_0x550a2a)break;else _0x218565['push'](_0x218565['shift']());}catch(_0x219be3){_0x218565['push'](_0x218565['shift']());}}}(_0x284e,0x7d66c));import{ButtonView as _0xb1afa9}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xdca907}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x54854d){const {editor:_0x2278e1,action:_0x42d285,withText:_0x4e126d=!0x1,withIcon:_0x3697a1=!0x0,isInDropdown:_0x1fce4c=!0x0,shouldPreventFocus:_0x43397c=!0x1}=_0x54854d;return()=>{const _0x3e91e9=_0x2798,_0x1ac4ac=_0x2278e1[_0x3e91e9(0x147)],_0x150cab=new _0xb1afa9(_0x1ac4ac),_0x3324ec=_0x150cab[_0x3e91e9(0x152)];_0x1fce4c&&_0x150cab[_0x3e91e9(0x158)]({'on':{'mouseenter':_0x3324ec['to'](()=>{const _0x570fb3=_0x3e91e9;_0x43397c&&_0x43397c()||_0x150cab[_0x570fb3(0x14e)]();})}});const _0x442917=_0x42d285[_0x3e91e9(0x154)]??_0x42d285[_0x3e91e9(0x155)]?.[_0x3e91e9(0x154)];return _0x150cab[_0x3e91e9(0x159)]({'label':_0x42d285[_0x3e91e9(0x15b)],'withText':_0x4e126d,'role':_0x3e91e9(0x15e),'icon':_0x3697a1?_0x442917??_0xdca907:void 0x0,'tooltip':!_0x4e126d,'class':_0x3e91e9(0x148),'isEnabled':_0x42d285[_0x3e91e9(0x14a)]}),_0x150cab['on'](_0x3e91e9(0x15a),()=>{const _0x40bd28=_0x3e91e9;_0x2278e1[_0x40bd28(0x14b)][_0x40bd28(0x157)][_0x40bd28(0x14e)](),_0x2278e1[_0x40bd28(0x160)][_0x40bd28(0x15a)](_0x40bd28(0x14f),_0x42d285);}),_0x150cab;};}
23
+ (function(_0x2e6df2,_0x150f70){const _0x1f9fbb=_0x174d,_0xe0350=_0x2e6df2();while(!![]){try{const _0x224c47=parseInt(_0x1f9fbb(0xc6))/0x1*(parseInt(_0x1f9fbb(0xbd))/0x2)+parseInt(_0x1f9fbb(0xc8))/0x3*(parseInt(_0x1f9fbb(0xd3))/0x4)+-parseInt(_0x1f9fbb(0xc7))/0x5+parseInt(_0x1f9fbb(0xbe))/0x6*(parseInt(_0x1f9fbb(0xd5))/0x7)+-parseInt(_0x1f9fbb(0xd2))/0x8*(-parseInt(_0x1f9fbb(0xbf))/0x9)+parseInt(_0x1f9fbb(0xcb))/0xa+-parseInt(_0x1f9fbb(0xcf))/0xb;if(_0x224c47===_0x150f70)break;else _0xe0350['push'](_0xe0350['shift']());}catch(_0x8a7732){_0xe0350['push'](_0xe0350['shift']());}}}(_0x2962,0xea257));import{ButtonView as _0x40de27}from'ckeditor5/src/ui.js';function _0x174d(_0x51d275,_0x3a7833){const _0x2962b3=_0x2962();return _0x174d=function(_0x174d31,_0x327562){_0x174d31=_0x174d31-0xbb;let _0x45b397=_0x2962b3[_0x174d31];return _0x45b397;},_0x174d(_0x51d275,_0x3a7833);}import{IconAIQuickActions as _0x495004}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x443ac6){const {editor:_0x4d4f3e,action:_0x552744,withText:_0x314f77=!0x1,withIcon:_0xee51e2=!0x0,isInDropdown:_0xb5a39a=!0x0,shouldPreventFocus:_0x5f4e58=!0x1}=_0x443ac6;return()=>{const _0x843d73=_0x174d,_0x299852=_0x4d4f3e[_0x843d73(0xc5)],_0xb5c7de=new _0x40de27(_0x299852),_0x2efc1d=_0xb5c7de[_0x843d73(0xc1)];_0xb5a39a&&_0xb5c7de[_0x843d73(0xce)]({'on':{'mouseenter':_0x2efc1d['to'](()=>{const _0x2f562c=_0x843d73;_0x5f4e58&&_0x5f4e58()||_0xb5c7de[_0x2f562c(0xd0)]();})}});const _0x21dead=_0x552744[_0x843d73(0xd4)]??_0x552744[_0x843d73(0xc9)]?.[_0x843d73(0xd4)];return _0xb5c7de[_0x843d73(0xc2)]({'label':_0x552744[_0x843d73(0xca)],'withText':_0x314f77,'role':_0x843d73(0xc3),'icon':_0xee51e2?_0x21dead??_0x495004:void 0x0,'tooltip':!_0x314f77,'class':_0x843d73(0xbb),'isEnabled':_0x552744[_0x843d73(0xc4)]}),_0xb5c7de['on'](_0x843d73(0xc0),()=>{const _0x4dd3ff=_0x843d73;_0x4d4f3e[_0x4dd3ff(0xcd)][_0x4dd3ff(0xbc)][_0x4dd3ff(0xd0)](),_0x4d4f3e[_0x4dd3ff(0xcc)][_0x4dd3ff(0xc0)](_0x4dd3ff(0xd1),_0x552744);}),_0xb5c7de;};}function _0x2962(){const _0x5453df=['set','menuitem','isEnabled','locale','161953jTCJeZ','3624885XftXFX','1662VXYSeq','parent','displayedPrompt','265060gxNyTi','commands','editing','extendTemplate','17398546pSlNaH','focus','aiQuickAction','28352vzIomv','6080ZdVjWi','icon','27503obELKk','ck-ai-quick-actions-button','view','2Xskytl','2082SmSLdG','2214SSKZVq','execute','bindTemplate'];_0x2962=function(){return _0x5453df;};return _0x2962();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x83f0(){const _0x58f398=['13026620hgloqu','_focusables','closest','mouseleave','ck-ai-quick-actions','_createSearchResultGroupedActionButton','keystrokes','div','key','ArrowLeft','add','_createListItems','_hideNestedPanel','ArrowRight','ck-ai-quick-actions-search-result__action-row','ck-dropdown-menu-list','text','ck-reset_all','ck-ai-quick-actions-search-result-button_with-group','7683996QXwGUi','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','626856QnJEsD','uiLanguageDirection','relatedTarget','icon','bind','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','focusTracker','destroy','_setupGroupMenuBehavior','35407EQExQm','ck-ai-quick-actions-button_with-group__close-paren','_handleSearchResultButtonClick','ck-ai-quick-actions-group-panel','isEnabled','first','_createSearchResultActionButton','forEach','54cFyfcA','addEventListener','.ck-ai-quick-actions-group-button','delete','AI_QUICK_ACTIONS_SEARCH','4093095QCnzqs','_getButtonKeystroke','ck-ai-quick-actions-search-result__group-row','optionsListView','_createSearchResultContentView','_isSearchFocused','_getPanelKeystroke','set','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','_createActionButton','34xeWeTx','menu','_openNestedPanels','actions','reset','addMany','ck-ai-quick-actions-button_with-group__open-paren','items','focusCycler','chain','hide','role','ck-ai-quick-actions-search-result-button','detachFromDom','push','children','ck-ai-quick-actions-button__group-icon','render','view','_createActionGroupButton','_hideAllNestedPanels','_handlePanelKeydown','ck-ai-quick-actions-button_with-group','label','parent','_createSearchResultIndividualActionButton','4014157fSdHPY','button','resetSearch','ck-button','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-group-list','pin','_createGroupActionsList','ck-ai-quick-actions-button','ck-rounded-corners','rtl','_createSearchTextView','ownerDocument','editing','setTemplate','ck-ai-quick-actions-group-button','isVisible','_allSearchableItems','_createSearchResultGroupRow','4owgNUy','menuitem','bindTemplate','isOn','locale','activeElement','get','_hasSearch','ck-button_with-text','show','_isMovingToNestedMenu','.ck-ai-quick-actions-group-list','extendTemplate','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','some','fire','ck-ai-quick-actions-search-result__content','_searchTextView','clear','content','displayedPrompt','commands','focus','span','contains','.ck-ai-quick-actions-group-panel','ck-ai-quick-actions-search','execute','queryView','element','fieldView','2549676aBZhol','_createSearchResultActionRow','_showNestedPanel','eastSouth','_bodyCollection','_setupActionButtonExecution','aiQuickAction'];_0x83f0=function(){return _0x58f398;};return _0x83f0();}function _0x3b9a(_0x41f034,_0x5a6f81){const _0x83f0d3=_0x83f0();return _0x3b9a=function(_0x3b9a48,_0x1ad833){_0x3b9a48=_0x3b9a48-0x1f3;let _0x4e6184=_0x83f0d3[_0x3b9a48];return _0x4e6184;},_0x3b9a(_0x41f034,_0x5a6f81);}const _0x1efcdb=_0x3b9a;(function(_0xb4dd1b,_0x3f9290){const _0x599433=_0x3b9a,_0x393538=_0xb4dd1b();while(!![]){try{const _0x92fd78=-parseInt(_0x599433(0x229))/0x1*(-parseInt(_0x599433(0x240))/0x2)+parseInt(_0x599433(0x204))/0x3*(-parseInt(_0x599433(0x26d))/0x4)+parseInt(_0x599433(0x236))/0x5+parseInt(_0x599433(0x21e))/0x6+parseInt(_0x599433(0x25a))/0x7+parseInt(_0x599433(0x220))/0x8*(-parseInt(_0x599433(0x231))/0x9)+-parseInt(_0x599433(0x20b))/0xa;if(_0x92fd78===_0x3f9290)break;else _0x393538['push'](_0x393538['shift']());}catch(_0x36c711){_0x393538['push'](_0x393538['shift']());}}}(_0x83f0,0x9f2b7));import{View as _0x10ea15,ListItemView as _0x305990,ListView as _0x26b11c,BalloonPanelView as _0x47d5a2,DropdownMenuPanelPositioningFunctions as _0x2e3ec0,ViewCollection as _0x3b2e8f,FocusCycler as _0x4c8768,ButtonView as _0x2d4127,IconView as _0x27cd2b,HighlightedTextView as _0xdcce87,ButtonLabelWithHighlightView as _0x2b2487,SearchTextView as _0x36df69}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x224013}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x428556,KeystrokeHandler as _0x30ef57}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x3c3975}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x40087e}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x410ff1}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x5ab152}from'./aiquickactionsfilteredlistview.js';const ys=_0x1efcdb(0x241),Ts=_0x1efcdb(0x26e);export class AIQuickActionsDropdownContentView extends _0x10ea15{[_0x1efcdb(0x208)];[_0x1efcdb(0x239)];[_0x1efcdb(0x1f6)]=null;[_0x1efcdb(0x26b)]=[];[_0x1efcdb(0x24f)];[_0x1efcdb(0x226)];[_0x1efcdb(0x211)];[_0x1efcdb(0x20c)];[_0x1efcdb(0x248)];[_0x1efcdb(0x242)]=new Set();[_0x1efcdb(0x274)];constructor(_0x3d79a2,_0x596d20,_0x14a14f,_0x57815b,_0x1aa6df=!0x1){const _0x4f20d1=_0x1efcdb,_0xc8a004=_0x3d79a2[_0x4f20d1(0x271)];super(_0xc8a004),this[_0x4f20d1(0x208)]=_0x57815b,this[_0x4f20d1(0x274)]=_0x1aa6df;const _0x4d4f51=this[_0x4f20d1(0x216)](_0x3d79a2,_0x596d20,_0x14a14f);this[_0x4f20d1(0x239)]=new _0x5ab152(_0xc8a004,_0x4d4f51,this[_0x4f20d1(0x26b)]),this[_0x4f20d1(0x239)][_0x4f20d1(0x24b)]=ys,this[_0x4f20d1(0x239)][_0x4f20d1(0x247)][_0x4f20d1(0x245)](_0x4d4f51),this[_0x4f20d1(0x226)]=new _0x428556(),this[_0x4f20d1(0x211)]=new _0x30ef57(),_0x1aa6df&&(this[_0x4f20d1(0x1f6)]=this[_0x4f20d1(0x265)]()),this[_0x4f20d1(0x20c)]=_0x4d4f51,this[_0x4f20d1(0x248)]=new _0x4c8768({'focusables':this[_0x4f20d1(0x20c)],'focusTracker':this[_0x4f20d1(0x226)],'keystrokeHandler':this[_0x4f20d1(0x211)]}),_0x1aa6df&&this[_0x4f20d1(0x1f6)]&&this[_0x4f20d1(0x248)][_0x4f20d1(0x249)](this[_0x4f20d1(0x1f6)][_0x4f20d1(0x248)]);const _0x26c156=_0x1aa6df&&this[_0x4f20d1(0x1f6)]?[this[_0x4f20d1(0x1f6)]]:[this[_0x4f20d1(0x239)]];this[_0x4f20d1(0x24f)]=new _0x3b2e8f(_0x26c156),this[_0x4f20d1(0x268)]({'tag':_0x4f20d1(0x212),'attributes':{'class':['ck',_0x4f20d1(0x21c),_0x4f20d1(0x20f),_0x4f20d1(0x263)],'dir':_0xc8a004[_0x4f20d1(0x221)]},'children':this[_0x4f20d1(0x24f)]});}[_0x1efcdb(0x265)](){const _0x414b98=_0x1efcdb;return new _0x36df69(this[_0x414b98(0x271)],{'filteredView':this[_0x414b98(0x239)],'queryView':{'label':_0x410ff1(this[_0x414b98(0x271)],_0x414b98(0x235))},'class':_0x414b98(0x1ff),'infoView':{'text':{'notFound':{'primary':_0x410ff1(this[_0x414b98(0x271)],_0x414b98(0x225))}}}});}[_0x1efcdb(0x23b)](){const _0x1cd675=_0x1efcdb;if(!this[_0x1cd675(0x274)]||!this[_0x1cd675(0x1f6)]||!this[_0x1cd675(0x1f6)][_0x1cd675(0x201)][_0x1cd675(0x203)][_0x1cd675(0x202)])return!0x1;const _0x172488=this[_0x1cd675(0x1f6)][_0x1cd675(0x201)][_0x1cd675(0x203)][_0x1cd675(0x202)][_0x1cd675(0x266)]?.[_0x1cd675(0x272)];return this[_0x1cd675(0x1f6)][_0x1cd675(0x201)][_0x1cd675(0x203)][_0x1cd675(0x202)][_0x1cd675(0x1fd)](_0x172488);}[_0x1efcdb(0x216)](_0x46f90f,_0x1c8a94,_0x19b366){const _0x191d05=_0x1efcdb,_0x5450bd=new _0x3b2e8f();return _0x1c8a94[_0x191d05(0x230)](_0x2f9402=>{const _0x4c170e=_0x191d05;if(_0x4c170e(0x243)in _0x2f9402){const {listItem:_0x409f77}=this[_0x4c170e(0x253)](_0x46f90f,_0x2f9402,_0x19b366);_0x5450bd[_0x4c170e(0x215)](_0x409f77),_0x2f9402[_0x4c170e(0x243)][_0x4c170e(0x230)](_0x55ce9d=>{const _0x5cb40c=_0x4c170e;this[_0x5cb40c(0x23f)](_0x46f90f,_0x55ce9d,_0x2f9402[_0x5cb40c(0x257)],_0x2f9402[_0x5cb40c(0x223)]);const {listItem:_0x2a6212,highlightViews:_0x26e17a}=this[_0x5cb40c(0x22f)](_0x46f90f,_0x55ce9d,_0x2f9402[_0x5cb40c(0x257)],_0x2f9402[_0x5cb40c(0x223)]);this[_0x5cb40c(0x26b)][_0x5cb40c(0x24e)]({'item':_0x2a6212,'label':_0x55ce9d[_0x5cb40c(0x1f9)],'groupLabel':_0x2f9402[_0x5cb40c(0x257)],'highlightViews':_0x26e17a});});}else{const {listItem:_0x31ad12}=this[_0x4c170e(0x23f)](_0x46f90f,_0x2f9402);_0x5450bd[_0x4c170e(0x215)](_0x31ad12);const _0x274839=_0x31ad12[_0x4c170e(0x24f)][_0x4c170e(0x22e)];if(_0x274839){const {listItem:_0x3086c9,highlightViews:_0x46085e}=this[_0x4c170e(0x22f)](_0x46f90f,_0x2f9402);this[_0x4c170e(0x26b)][_0x4c170e(0x24e)]({'item':_0x3086c9,'label':_0x274839[_0x4c170e(0x257)]||'','highlightViews':_0x46085e});}}}),_0x5450bd;}[_0x1efcdb(0x23f)](_0xe3a2,_0x894add,_0x1a5c09,_0x187606){const _0x53d2d2=_0x1efcdb,_0xa2a66f=new _0x305990(this[_0x53d2d2(0x271)]);if(_0x1a5c09&&_0x187606){const _0x2f9459=new _0x2d4127(this[_0x53d2d2(0x271)]),_0xa144f8=_0x2f9459[_0x53d2d2(0x26f)],_0x1f32da=new _0xdcce87();_0x1f32da[_0x53d2d2(0x21b)]=_0x894add[_0x53d2d2(0x1f9)];const _0x20e691=new _0xdcce87();_0x20e691[_0x53d2d2(0x21b)]=_0x1a5c09;const _0x1e3f5a=new _0x27cd2b();_0x1e3f5a[_0x53d2d2(0x1f8)]=_0x187606,_0x1e3f5a[_0x53d2d2(0x279)]({'attributes':{'class':_0x53d2d2(0x250)}});const _0x3918a8=new _0x10ea15(this[_0x53d2d2(0x271)]);_0x3918a8[_0x53d2d2(0x268)]({'tag':_0x53d2d2(0x1fc),'attributes':{'class':_0x53d2d2(0x246)},'children':[{'text':'\x20('}]});const _0x3bf3cd=new _0x10ea15(this[_0x53d2d2(0x271)]);return _0x3bf3cd[_0x53d2d2(0x268)]({'tag':_0x53d2d2(0x1fc),'attributes':{'class':_0x53d2d2(0x22a)},'children':[{'text':')'}]}),_0x2f9459[_0x53d2d2(0x23d)]({'label':_0x894add[_0x53d2d2(0x1f9)]+'\x20('+_0x1a5c09+')','withText':!0x0,'role':_0x53d2d2(0x26e),'class':_0x53d2d2(0x27a),'tooltip':!0x1}),_0x2f9459[_0x53d2d2(0x268)]({'tag':_0x53d2d2(0x25b),'attributes':{'class':['ck',_0x53d2d2(0x25d),_0x53d2d2(0x275),_0x53d2d2(0x262),_0x53d2d2(0x256)],'type':_0x53d2d2(0x25b),'role':_0x53d2d2(0x26e),'tabindex':'-1'},'children':[_0x1f32da,_0x3918a8,_0x1e3f5a,_0x20e691,_0x3bf3cd],'on':{'mouseenter':_0xa144f8['to'](()=>{const _0x5a8cdd=_0x53d2d2;this[_0x5a8cdd(0x23b)]()||_0x2f9459[_0x5a8cdd(0x1fb)]();}),'click':_0xa144f8['to'](()=>{const _0x4274cf=_0x53d2d2;_0x2f9459[_0x4274cf(0x1f4)](_0x4274cf(0x200));})}}),_0x2f9459['on'](_0x53d2d2(0x200),()=>{const _0x2c7449=_0x53d2d2;_0xe3a2[_0x2c7449(0x267)][_0x2c7449(0x252)][_0x2c7449(0x1fb)](),_0xe3a2[_0x2c7449(0x1fa)][_0x2c7449(0x200)](_0x2c7449(0x20a),_0x894add);}),_0xa2a66f[_0x53d2d2(0x24f)][_0x53d2d2(0x215)](_0x2f9459),{'listItem':_0xa2a66f,'highlightViews':[_0x1f32da,_0x20e691]};}{const _0x4adbf2=new _0x2b2487(),_0x543ef8=new _0x2d4127(this[_0x53d2d2(0x271)],_0x4adbf2),_0x8a4367=_0x543ef8[_0x53d2d2(0x26f)],_0x3a057c=_0x894add[_0x53d2d2(0x223)]??_0x894add[_0x53d2d2(0x258)]?.[_0x53d2d2(0x223)],_0xc56c37=void 0x0!==_0x894add[_0x53d2d2(0x223)];return _0x543ef8[_0x53d2d2(0x23d)]({'label':_0x894add[_0x53d2d2(0x1f9)],'withText':!0x0,'role':_0x53d2d2(0x26e),'icon':_0xc56c37?_0x3a057c??_0x224013:void 0x0,'tooltip':!0x1,'class':_0x53d2d2(0x262)}),_0x543ef8[_0x53d2d2(0x279)]({'on':{'mouseenter':_0x8a4367['to'](()=>{const _0x390898=_0x53d2d2;this[_0x390898(0x23b)]()||_0x543ef8[_0x390898(0x1fb)]();})}}),_0x543ef8['on'](_0x53d2d2(0x200),()=>{const _0x4f452d=_0x53d2d2;_0xe3a2[_0x4f452d(0x267)][_0x4f452d(0x252)][_0x4f452d(0x1fb)](),_0xe3a2[_0x4f452d(0x1fa)][_0x4f452d(0x200)](_0x4f452d(0x20a),_0x894add);}),_0xa2a66f[_0x53d2d2(0x24f)][_0x53d2d2(0x215)](_0x543ef8),{'listItem':_0xa2a66f,'highlightViews':[_0x4adbf2]};}}[_0x1efcdb(0x22f)](_0x3f71eb,_0x549524,_0x205333,_0x21bb6a){const _0x3046c5=_0x1efcdb;return _0x205333&&_0x21bb6a?this[_0x3046c5(0x210)](_0x3f71eb,_0x549524,_0x205333,_0x21bb6a):this[_0x3046c5(0x259)](_0x3f71eb,_0x549524);}[_0x1efcdb(0x210)](_0x1bdcc2,_0x4368bd,_0x532598,_0x3859bf){const _0x1ed08c=_0x1efcdb,_0x2e5f26=new _0x305990(this[_0x1ed08c(0x271)]),_0x4c8763=new _0x2d4127(this[_0x1ed08c(0x271)]),_0x8f040d=_0x4c8763[_0x1ed08c(0x26f)],{view:_0x27912a,highlightView:_0x14d378}=this[_0x1ed08c(0x26c)](_0x532598,_0x3859bf),{view:_0x1ee74b,highlightView:_0x2364c5}=this[_0x1ed08c(0x205)](_0x4368bd[_0x1ed08c(0x1f9)]),_0x47539e=this[_0x1ed08c(0x23a)](_0x27912a,_0x1ee74b);return _0x4c8763[_0x1ed08c(0x23d)]({'label':_0x4368bd[_0x1ed08c(0x1f9)],'withText':!0x0,'role':_0x1ed08c(0x26e),'class':_0x1ed08c(0x23e),'tooltip':!0x1}),_0x4c8763[_0x1ed08c(0x268)]({'tag':_0x1ed08c(0x25b),'attributes':{'class':['ck',_0x1ed08c(0x25d),_0x1ed08c(0x275),_0x1ed08c(0x262),_0x1ed08c(0x24c),_0x1ed08c(0x21d)],'type':_0x1ed08c(0x25b),'role':_0x1ed08c(0x26e),'tabindex':'-1'},'children':[_0x47539e],'on':{'mouseenter':_0x8f040d['to'](()=>{const _0xafcd9e=_0x1ed08c;this[_0xafcd9e(0x23b)]()||_0x4c8763[_0xafcd9e(0x1fb)]();}),'click':_0x8f040d['to'](()=>{const _0x218123=_0x1ed08c;this[_0x218123(0x22b)](_0x4c8763);})}}),this[_0x1ed08c(0x209)](_0x4c8763,_0x1bdcc2,_0x4368bd),_0x2e5f26[_0x1ed08c(0x24f)][_0x1ed08c(0x215)](_0x4c8763),{'listItem':_0x2e5f26,'highlightViews':[_0x14d378,_0x2364c5]};}[_0x1efcdb(0x259)](_0x4fcd51,_0xd967f4){const _0x3d03f5=_0x1efcdb,_0x1b1318=new _0x305990(this[_0x3d03f5(0x271)]),_0x468561=new _0x2b2487(),_0x1c8f21=new _0x2d4127(this[_0x3d03f5(0x271)],_0x468561),_0x5b2b82=_0x1c8f21[_0x3d03f5(0x26f)];return _0x1c8f21[_0x3d03f5(0x23d)]({'label':_0xd967f4[_0x3d03f5(0x1f9)],'withText':!0x0,'role':_0x3d03f5(0x26e),'icon':void 0x0,'tooltip':!0x1,'class':_0x3d03f5(0x21f)}),_0x1c8f21[_0x3d03f5(0x279)]({'on':{'mouseenter':_0x5b2b82['to'](()=>{const _0x2f28ab=_0x3d03f5;this[_0x2f28ab(0x23b)]()||_0x1c8f21[_0x2f28ab(0x1fb)]();})}}),this[_0x3d03f5(0x209)](_0x1c8f21,_0x4fcd51,_0xd967f4),_0x1b1318[_0x3d03f5(0x24f)][_0x3d03f5(0x215)](_0x1c8f21),{'listItem':_0x1b1318,'highlightViews':[_0x468561]};}[_0x1efcdb(0x26c)](_0x5dd045,_0x1efdbd){const _0x116f78=_0x1efcdb,_0x5f3ebd=new _0x10ea15(this[_0x116f78(0x271)]),_0x50e14c=new _0x27cd2b();_0x50e14c[_0x116f78(0x1f8)]=_0x1efdbd,_0x50e14c[_0x116f78(0x279)]({'attributes':{'class':_0x116f78(0x250)}});const _0x12c3ad=new _0xdcce87();return _0x12c3ad[_0x116f78(0x21b)]=_0x5dd045,_0x5f3ebd[_0x116f78(0x268)]({'tag':_0x116f78(0x212),'attributes':{'class':_0x116f78(0x238)},'children':[_0x50e14c,_0x12c3ad]}),{'view':_0x5f3ebd,'highlightView':_0x12c3ad};}[_0x1efcdb(0x205)](_0x589483){const _0x241189=_0x1efcdb,_0x50ce50=new _0x10ea15(this[_0x241189(0x271)]),_0x3c532f=new _0xdcce87();return _0x3c532f[_0x241189(0x21b)]=_0x589483,_0x50ce50[_0x241189(0x268)]({'tag':_0x241189(0x212),'attributes':{'class':_0x241189(0x219)},'children':[_0x3c532f]}),{'view':_0x50ce50,'highlightView':_0x3c532f};}[_0x1efcdb(0x23a)](_0x525d7f,_0x3de6e7){const _0x39cb6f=_0x1efcdb,_0xf23266=new _0x10ea15(this[_0x39cb6f(0x271)]);return _0xf23266[_0x39cb6f(0x268)]({'tag':_0x39cb6f(0x212),'attributes':{'class':_0x39cb6f(0x1f5)},'children':[_0x525d7f,_0x3de6e7]}),_0xf23266;}[_0x1efcdb(0x209)](_0x34dcc5,_0x3c46c1,_0x60b53b){const _0x3dbecc=_0x1efcdb;_0x34dcc5['on'](_0x3dbecc(0x200),()=>{const _0x34fea8=_0x3dbecc;_0x3c46c1[_0x34fea8(0x267)][_0x34fea8(0x252)][_0x34fea8(0x1fb)](),_0x3c46c1[_0x34fea8(0x1fa)][_0x34fea8(0x200)](_0x34fea8(0x20a),_0x60b53b);});}[_0x1efcdb(0x253)](_0x4bb995,_0x4c9763,_0x5c9aa1){const _0x57e92f=_0x1efcdb,_0x15b012=new _0x305990(this[_0x57e92f(0x271)]),_0x2f97e0=new _0x2b2487(),_0x222553=new _0x40087e(this[_0x57e92f(0x271)],_0x2f97e0),_0x57724f=_0x222553[_0x57e92f(0x26f)],_0x1fbde2=this[_0x57e92f(0x23c)](_0x5c9aa1),_0x325c37=this[_0x57e92f(0x261)](_0x4bb995,_0x4c9763[_0x57e92f(0x243)],_0x5c9aa1);_0x222553[_0x57e92f(0x23d)]({'label':_0x4c9763[_0x57e92f(0x257)],'withText':!0x0,'role':Ts,'icon':_0x4c9763[_0x57e92f(0x223)]??_0x224013,'isEnabled':_0x4c9763[_0x57e92f(0x243)][_0x57e92f(0x1f3)](_0x315eea=>_0x315eea[_0x57e92f(0x22d)])}),_0x222553[_0x57e92f(0x279)]({'on':{'mouseenter':_0x57724f['to'](()=>{const _0x587df9=_0x57e92f;this[_0x587df9(0x23b)]()||_0x222553[_0x587df9(0x1fb)]();})}});const _0x55adaa=new _0x47d5a2(this[_0x57e92f(0x271)]);return _0x55adaa[_0x57e92f(0x279)]({'attributes':{'class':['ck',_0x57e92f(0x21c),_0x57e92f(0x22c),_0x57e92f(0x25e)]},'on':{'keydown':_0x57724f['to'](_0x1f311c=>{const _0x35e348=_0x57e92f;this[_0x35e348(0x255)](_0x1f311c,_0x1fbde2,_0x222553,_0x55adaa);})}}),_0x222553[_0x57e92f(0x224)](_0x57e92f(0x270))['to'](_0x55adaa,_0x57e92f(0x26a)),this[_0x57e92f(0x208)][_0x57e92f(0x215)](_0x55adaa),_0x55adaa[_0x57e92f(0x1f8)][_0x57e92f(0x215)](_0x325c37),this[_0x57e92f(0x228)](_0x222553,_0x55adaa),_0x15b012[_0x57e92f(0x24f)][_0x57e92f(0x215)](_0x222553),{'listItem':_0x15b012,'highlightView':_0x2f97e0};}[_0x1efcdb(0x261)](_0x2a57a7,_0x540cf7,_0x57897c){const _0x401c1d=_0x1efcdb,_0x31d07d=new _0x26b11c(this[_0x401c1d(0x271)]);return _0x31d07d[_0x401c1d(0x279)]({'attributes':{'class':['ck',_0x401c1d(0x21c),_0x401c1d(0x25f),_0x401c1d(0x21a)]}}),_0x540cf7[_0x401c1d(0x230)](_0x5e63cc=>{const _0x22bda5=_0x401c1d,_0x54408d=new _0x305990(this[_0x22bda5(0x271)]),_0x252005=_0x3c3975({'editor':_0x2a57a7,'action':_0x5e63cc,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x22bda5(0x23b)]()})();_0x54408d[_0x22bda5(0x24f)][_0x22bda5(0x215)](_0x252005),_0x57897c[_0x22bda5(0x226)][_0x22bda5(0x215)](_0x252005),_0x31d07d[_0x22bda5(0x247)][_0x22bda5(0x215)](_0x54408d);}),_0x31d07d;}[_0x1efcdb(0x228)](_0x5bf786,_0x2cedb5){const _0x28ee55=_0x1efcdb,_0x1efcc9=_0x5bf786[_0x28ee55(0x26f)],_0x356978=this[_0x28ee55(0x237)](_0x5bf786);_0x5bf786[_0x28ee55(0x279)]({'attributes':{'class':[_0x28ee55(0x269)]},'on':{'mouseenter':_0x1efcc9['to'](()=>{const _0x4ad925=_0x28ee55;this[_0x4ad925(0x206)](_0x2cedb5,_0x5bf786);}),'mouseleave':_0x1efcc9['to'](_0x448cdc=>{const _0x5c456f=_0x28ee55,_0x122d26=_0x448cdc[_0x5c456f(0x222)];this[_0x5c456f(0x277)](_0x122d26,_0x2cedb5)||this[_0x5c456f(0x217)](_0x2cedb5);}),'keydown':_0x1efcc9['to'](_0x3c439d=>{const _0x44deec=_0x28ee55;_0x3c439d[_0x44deec(0x213)]==_0x356978&&(this[_0x44deec(0x206)](_0x2cedb5,_0x5bf786),_0x2cedb5[_0x44deec(0x1f8)][_0x44deec(0x273)](0x0)[_0x44deec(0x1fb)]());})}}),_0x2cedb5['on'](_0x28ee55(0x251),()=>{const _0xb1c162=_0x28ee55;_0x2cedb5[_0xb1c162(0x202)]?.[_0xb1c162(0x232)](_0xb1c162(0x20e),_0x4a1f8f=>{const _0x9aa782=_0xb1c162,_0x20f7ee=_0x4a1f8f[_0x9aa782(0x222)];_0x5bf786[_0x9aa782(0x202)]?.[_0x9aa782(0x1fd)](_0x20f7ee)||this[_0x9aa782(0x277)](_0x20f7ee,_0x2cedb5)||this[_0x9aa782(0x217)](_0x2cedb5);});});}[_0x1efcdb(0x206)](_0x250724,_0x2ad30b){const _0xf790b0=_0x1efcdb;this[_0xf790b0(0x242)][_0xf790b0(0x230)](_0x5715f1=>{const _0x564e68=_0xf790b0;_0x5715f1!==_0x250724&&_0x5715f1[_0x564e68(0x26a)]&&_0x5715f1[_0x564e68(0x24a)]();}),_0x250724[_0xf790b0(0x276)](),_0x250724[_0xf790b0(0x260)]({'positions':[_0x2e3ec0[_0xf790b0(0x207)]],'target':_0x2ad30b[_0xf790b0(0x202)],'fitInViewport':!0x0}),this[_0xf790b0(0x242)][_0xf790b0(0x215)](_0x250724);}[_0x1efcdb(0x217)](_0x29b770){const _0x1c3ef3=_0x1efcdb;_0x29b770[_0x1c3ef3(0x24a)](),this[_0x1c3ef3(0x242)][_0x1c3ef3(0x234)](_0x29b770);}[_0x1efcdb(0x254)](){const _0x484f60=_0x1efcdb;this[_0x484f60(0x242)][_0x484f60(0x230)](_0x14b067=>_0x14b067[_0x484f60(0x24a)]()),this[_0x484f60(0x242)][_0x484f60(0x1f7)]();}[_0x1efcdb(0x277)](_0x17aa56,_0x1e85f5){const _0x3002e5=_0x1efcdb;if(!_0x17aa56)return!0x1;if(_0x1e85f5[_0x3002e5(0x202)]?.[_0x3002e5(0x1fd)](_0x17aa56))return!0x0;const _0x1dfec0=_0x17aa56;return _0x1dfec0[_0x3002e5(0x20d)]&&(null!==_0x1dfec0[_0x3002e5(0x20d)](_0x3002e5(0x1fe))||null!==_0x1dfec0[_0x3002e5(0x20d)](_0x3002e5(0x278))||null!==_0x1dfec0[_0x3002e5(0x20d)](_0x3002e5(0x233)));}[_0x1efcdb(0x25c)](){const _0x546423=_0x1efcdb;this[_0x546423(0x1f6)]&&this[_0x546423(0x1f6)][_0x546423(0x244)]();}[_0x1efcdb(0x227)](){const _0x41394f=_0x1efcdb;this[_0x41394f(0x254)](),this[_0x41394f(0x208)][_0x41394f(0x24d)](),super[_0x41394f(0x227)]();}[_0x1efcdb(0x1fb)](){const _0x8e7f73=_0x1efcdb;this[_0x8e7f73(0x1f6)]?this[_0x8e7f73(0x1f6)][_0x8e7f73(0x1fb)]():this[_0x8e7f73(0x239)][_0x8e7f73(0x1fb)]();}[_0x1efcdb(0x23c)](_0x1d2749){const _0x1c0a6c=_0x1efcdb;return _0x1c0a6c(0x264)===_0x1d2749[_0x1c0a6c(0x271)][_0x1c0a6c(0x221)]?_0x1c0a6c(0x218):_0x1c0a6c(0x214);}[_0x1efcdb(0x237)](_0x2fa09d){const _0x33d82f=_0x1efcdb;return _0x33d82f(0x264)===_0x2fa09d[_0x33d82f(0x271)][_0x33d82f(0x221)]?_0x33d82f(0x214):_0x33d82f(0x218);}[_0x1efcdb(0x255)](_0x5c88f0,_0x4b8db4,_0x3d43c6,_0x52c5cf){const _0x2a72ea=_0x1efcdb;_0x5c88f0[_0x2a72ea(0x213)]==_0x4b8db4&&(_0x3d43c6[_0x2a72ea(0x1fb)](),this[_0x2a72ea(0x217)](_0x52c5cf));}[_0x1efcdb(0x22b)](_0x5656e2){const _0x50b9e0=_0x1efcdb;_0x5656e2[_0x50b9e0(0x1f4)](_0x50b9e0(0x200));}}
23
+ const _0x358435=_0x199e;(function(_0x223ee2,_0xbdb569){const _0x27f790=_0x199e,_0x489b11=_0x223ee2();while(!![]){try{const _0x53eb18=parseInt(_0x27f790(0x210))/0x1*(parseInt(_0x27f790(0x22d))/0x2)+parseInt(_0x27f790(0x227))/0x3+parseInt(_0x27f790(0x1b4))/0x4*(parseInt(_0x27f790(0x1fa))/0x5)+-parseInt(_0x27f790(0x1df))/0x6+parseInt(_0x27f790(0x1ec))/0x7*(-parseInt(_0x27f790(0x20b))/0x8)+parseInt(_0x27f790(0x21f))/0x9+-parseInt(_0x27f790(0x213))/0xa;if(_0x53eb18===_0xbdb569)break;else _0x489b11['push'](_0x489b11['shift']());}catch(_0x5ad24d){_0x489b11['push'](_0x489b11['shift']());}}}(_0x2ba7,0x46b91));function _0x2ba7(){const _0x12ab97=['content','ck-rounded-corners','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchTextView','_showNestedPanel','_openNestedPanels','execute','_createSearchResultActionRow','contains','queryView','872czRaCl','isEnabled','hide','detachFromDom','menu','22583whhTEC','focusTracker','ck-ai-quick-actions-group-button','6188950iQZYzJ','uiLanguageDirection','_isMovingToNestedMenu','set','_getButtonKeystroke','setTemplate','ck-dropdown-menu-list','ck-ai-quick-actions-search-result-button_with-group','show','text','push','activeElement','3427920JVEBFr','ArrowRight','ck-ai-quick-actions-group-list','displayedPrompt','_createActionGroupButton','ck-ai-quick-actions-search-result__content','.ck-ai-quick-actions-group-list','_bodyCollection','649872QMUFHq','aiQuickAction','ck-ai-quick-actions-search-result__group-row','addEventListener','parent','optionsListView','46UhdPlo','children','keystrokes','closest','pin','first','some','bindTemplate','_getPanelKeystroke','_createActionButton','isOn','menuitem','_searchTextView','_createSearchResultGroupedActionButton','_createSearchResultContentView','4dxwIgA','destroy','_allSearchableItems','relatedTarget','rtl','role','_createSearchResultActionButton','_focusables','_createSearchResultGroupRow','ck-reset_all','element','bind','fieldView','ck-ai-quick-actions-button__group-icon','_setupActionButtonExecution','commands','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','AI_QUICK_ACTIONS_SEARCH','focus','ArrowLeft','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','locale','_createGroupActionsList','resetSearch','ck-ai-quick-actions-search-result-button','items','get','.ck-ai-quick-actions-group-button','view','delete','ck-dropdown-menu__nested-menu__panel','focusCycler','.ck-ai-quick-actions-group-panel','_handleSearchResultButtonClick','editing','_hideNestedPanel','forEach','ck-button','ck-ai-quick-actions-button_with-group','_setupGroupMenuBehavior','extendTemplate','ck-ai-quick-actions-button_with-group__close-paren','addMany','2413074AVcjWw','clear','span','ck-ai-quick-actions-button','key','ck-ai-quick-actions','ck-ai-quick-actions-button_with-group__open-paren','_createListItems','ck-ai-quick-actions-search-result__action-row','_handlePanelKeydown','_isSearchFocused','ck-ai-quick-actions-group-panel','add','4333xYsCce','fire','_hideAllNestedPanels','ck-ai-quick-actions-search','div','chain','actions','_createSearchResultIndividualActionButton','mouseleave','ck-button_with-text','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','button','isVisible','ownerDocument','1306565rPbveT','label','icon','eastSouth','reset','render','_hasSearch'];_0x2ba7=function(){return _0x12ab97;};return _0x2ba7();}import{View as _0x1cdfff,ListItemView as _0x19257c,ListView as _0x11ebbf,BalloonPanelView as _0x5488a3,DropdownMenuPanelPositioningFunctions as _0x5ec280,ViewCollection as _0x4d12b8,FocusCycler as _0x32f33b,ButtonView as _0x132777,IconView as _0x5ce53d,HighlightedTextView as _0xb26aba,ButtonLabelWithHighlightView as _0x154ca3,SearchTextView as _0x3fa9a5}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3fb04c}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x238981,KeystrokeHandler as _0x56a12f}from'ckeditor5/src/utils.js';function _0x199e(_0x179dd2,_0x14ca8a){const _0x2ba7cd=_0x2ba7();return _0x199e=function(_0x199e3f,_0x4592b4){_0x199e3f=_0x199e3f-0x1a9;let _0x1895aa=_0x2ba7cd[_0x199e3f];return _0x1895aa;},_0x199e(_0x179dd2,_0x14ca8a);}import{aiQuickActionsButtonCreator as _0x4e2a8b}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x666bb7}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x378738}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x46b008}from'./aiquickactionsfilteredlistview.js';const ys=_0x358435(0x20f),Ts=_0x358435(0x1b0);export class AIQuickActionsDropdownContentView extends _0x1cdfff{[_0x358435(0x226)];[_0x358435(0x22c)];[_0x358435(0x1b1)]=null;[_0x358435(0x1b6)]=[];[_0x358435(0x22e)];[_0x358435(0x211)];[_0x358435(0x22f)];[_0x358435(0x1bb)];[_0x358435(0x1d3)];[_0x358435(0x206)]=new Set();[_0x358435(0x200)];constructor(_0xb61dd6,_0x2f424f,_0x13afaa,_0x1ef187,_0x3f6b14=!0x1){const _0x1b3d49=_0x358435,_0x5e366f=_0xb61dd6[_0x1b3d49(0x1c9)];super(_0x5e366f),this[_0x1b3d49(0x226)]=_0x1ef187,this[_0x1b3d49(0x200)]=_0x3f6b14;const _0x513aac=this[_0x1b3d49(0x1e6)](_0xb61dd6,_0x2f424f,_0x13afaa);this[_0x1b3d49(0x22c)]=new _0x46b008(_0x5e366f,_0x513aac,this[_0x1b3d49(0x1b6)]),this[_0x1b3d49(0x22c)][_0x1b3d49(0x1b9)]=ys,this[_0x1b3d49(0x22c)][_0x1b3d49(0x1cd)][_0x1b3d49(0x1de)](_0x513aac),this[_0x1b3d49(0x211)]=new _0x238981(),this[_0x1b3d49(0x22f)]=new _0x56a12f(),_0x3f6b14&&(this[_0x1b3d49(0x1b1)]=this[_0x1b3d49(0x204)]()),this[_0x1b3d49(0x1bb)]=_0x513aac,this[_0x1b3d49(0x1d3)]=new _0x32f33b({'focusables':this[_0x1b3d49(0x1bb)],'focusTracker':this[_0x1b3d49(0x211)],'keystrokeHandler':this[_0x1b3d49(0x22f)]}),_0x3f6b14&&this[_0x1b3d49(0x1b1)]&&this[_0x1b3d49(0x1d3)][_0x1b3d49(0x1f1)](this[_0x1b3d49(0x1b1)][_0x1b3d49(0x1d3)]);const _0x4a07e2=_0x3f6b14&&this[_0x1b3d49(0x1b1)]?[this[_0x1b3d49(0x1b1)]]:[this[_0x1b3d49(0x22c)]];this[_0x1b3d49(0x22e)]=new _0x4d12b8(_0x4a07e2),this[_0x1b3d49(0x218)]({'tag':_0x1b3d49(0x1f0),'attributes':{'class':['ck',_0x1b3d49(0x1bd),_0x1b3d49(0x1e4),_0x1b3d49(0x202)],'dir':_0x5e366f[_0x1b3d49(0x214)]},'children':this[_0x1b3d49(0x22e)]});}[_0x358435(0x204)](){const _0x5d8bda=_0x358435;return new _0x3fa9a5(this[_0x5d8bda(0x1c9)],{'filteredView':this[_0x5d8bda(0x22c)],'queryView':{'label':_0x378738(this[_0x5d8bda(0x1c9)],_0x5d8bda(0x1c5))},'class':_0x5d8bda(0x1ef),'infoView':{'text':{'notFound':{'primary':_0x378738(this[_0x5d8bda(0x1c9)],_0x5d8bda(0x1c4))}}}});}[_0x358435(0x1e9)](){const _0x37f920=_0x358435;if(!this[_0x37f920(0x200)]||!this[_0x37f920(0x1b1)]||!this[_0x37f920(0x1b1)][_0x37f920(0x20a)][_0x37f920(0x1c0)][_0x37f920(0x1be)])return!0x1;const _0x4016b8=this[_0x37f920(0x1b1)][_0x37f920(0x20a)][_0x37f920(0x1c0)][_0x37f920(0x1be)][_0x37f920(0x1f9)]?.[_0x37f920(0x21e)];return this[_0x37f920(0x1b1)][_0x37f920(0x20a)][_0x37f920(0x1c0)][_0x37f920(0x1be)][_0x37f920(0x209)](_0x4016b8);}[_0x358435(0x1e6)](_0x2ebc70,_0x312ed3,_0x52bbdd){const _0x21ff79=_0x358435,_0x2f3f10=new _0x4d12b8();return _0x312ed3[_0x21ff79(0x1d8)](_0xe9379a=>{const _0x30e8ef=_0x21ff79;if(_0x30e8ef(0x1f2)in _0xe9379a){const {listItem:_0x247ee0}=this[_0x30e8ef(0x223)](_0x2ebc70,_0xe9379a,_0x52bbdd);_0x2f3f10[_0x30e8ef(0x1eb)](_0x247ee0),_0xe9379a[_0x30e8ef(0x1f2)][_0x30e8ef(0x1d8)](_0x5dbf72=>{const _0x529bb2=_0x30e8ef;this[_0x529bb2(0x1ae)](_0x2ebc70,_0x5dbf72,_0xe9379a[_0x529bb2(0x1fb)],_0xe9379a[_0x529bb2(0x1fc)]);const {listItem:_0x207c9a,highlightViews:_0x10a7f1}=this[_0x529bb2(0x1ba)](_0x2ebc70,_0x5dbf72,_0xe9379a[_0x529bb2(0x1fb)],_0xe9379a[_0x529bb2(0x1fc)]);this[_0x529bb2(0x1b6)][_0x529bb2(0x21d)]({'item':_0x207c9a,'label':_0x5dbf72[_0x529bb2(0x222)],'groupLabel':_0xe9379a[_0x529bb2(0x1fb)],'highlightViews':_0x10a7f1});});}else{const {listItem:_0x3b5b92}=this[_0x30e8ef(0x1ae)](_0x2ebc70,_0xe9379a);_0x2f3f10[_0x30e8ef(0x1eb)](_0x3b5b92);const _0x41aa07=_0x3b5b92[_0x30e8ef(0x22e)][_0x30e8ef(0x1aa)];if(_0x41aa07){const {listItem:_0x2b96b6,highlightViews:_0x4f5131}=this[_0x30e8ef(0x1ba)](_0x2ebc70,_0xe9379a);this[_0x30e8ef(0x1b6)][_0x30e8ef(0x21d)]({'item':_0x2b96b6,'label':_0x41aa07[_0x30e8ef(0x1fb)]||'','highlightViews':_0x4f5131});}}}),_0x2f3f10;}[_0x358435(0x1ae)](_0x3a5e56,_0x13d608,_0x362759,_0x40bf0c){const _0x4d6e7c=_0x358435,_0x5c42c5=new _0x19257c(this[_0x4d6e7c(0x1c9)]);if(_0x362759&&_0x40bf0c){const _0x5166ca=new _0x132777(this[_0x4d6e7c(0x1c9)]),_0x34c6a5=_0x5166ca[_0x4d6e7c(0x1ac)],_0x42de72=new _0xb26aba();_0x42de72[_0x4d6e7c(0x21c)]=_0x13d608[_0x4d6e7c(0x222)];const _0x133669=new _0xb26aba();_0x133669[_0x4d6e7c(0x21c)]=_0x362759;const _0x169426=new _0x5ce53d();_0x169426[_0x4d6e7c(0x201)]=_0x40bf0c,_0x169426[_0x4d6e7c(0x1dc)]({'attributes':{'class':_0x4d6e7c(0x1c1)}});const _0x3ee086=new _0x1cdfff(this[_0x4d6e7c(0x1c9)]);_0x3ee086[_0x4d6e7c(0x218)]({'tag':_0x4d6e7c(0x1e1),'attributes':{'class':_0x4d6e7c(0x1e5)},'children':[{'text':'\x20('}]});const _0x145867=new _0x1cdfff(this[_0x4d6e7c(0x1c9)]);return _0x145867[_0x4d6e7c(0x218)]({'tag':_0x4d6e7c(0x1e1),'attributes':{'class':_0x4d6e7c(0x1dd)},'children':[{'text':')'}]}),_0x5166ca[_0x4d6e7c(0x216)]({'label':_0x13d608[_0x4d6e7c(0x222)]+'\x20('+_0x362759+')','withText':!0x0,'role':_0x4d6e7c(0x1b0),'class':_0x4d6e7c(0x203),'tooltip':!0x1}),_0x5166ca[_0x4d6e7c(0x218)]({'tag':_0x4d6e7c(0x1f7),'attributes':{'class':['ck',_0x4d6e7c(0x1d9),_0x4d6e7c(0x1f5),_0x4d6e7c(0x1e2),_0x4d6e7c(0x1da)],'type':_0x4d6e7c(0x1f7),'role':_0x4d6e7c(0x1b0),'tabindex':'-1'},'children':[_0x42de72,_0x3ee086,_0x169426,_0x133669,_0x145867],'on':{'mouseenter':_0x34c6a5['to'](()=>{const _0x158c9d=_0x4d6e7c;this[_0x158c9d(0x1e9)]()||_0x5166ca[_0x158c9d(0x1c6)]();}),'click':_0x34c6a5['to'](()=>{const _0x53361f=_0x4d6e7c;_0x5166ca[_0x53361f(0x1ed)](_0x53361f(0x207));})}}),_0x5166ca['on'](_0x4d6e7c(0x207),()=>{const _0x1e5053=_0x4d6e7c;_0x3a5e56[_0x1e5053(0x1d6)][_0x1e5053(0x1d0)][_0x1e5053(0x1c6)](),_0x3a5e56[_0x1e5053(0x1c3)][_0x1e5053(0x207)](_0x1e5053(0x228),_0x13d608);}),_0x5c42c5[_0x4d6e7c(0x22e)][_0x4d6e7c(0x1eb)](_0x5166ca),{'listItem':_0x5c42c5,'highlightViews':[_0x42de72,_0x133669]};}{const _0x1584cb=new _0x154ca3(),_0x358249=new _0x132777(this[_0x4d6e7c(0x1c9)],_0x1584cb),_0x4cb36c=_0x358249[_0x4d6e7c(0x1ac)],_0x4f8a47=_0x13d608[_0x4d6e7c(0x1fc)]??_0x13d608[_0x4d6e7c(0x22b)]?.[_0x4d6e7c(0x1fc)],_0x533516=void 0x0!==_0x13d608[_0x4d6e7c(0x1fc)];return _0x358249[_0x4d6e7c(0x216)]({'label':_0x13d608[_0x4d6e7c(0x222)],'withText':!0x0,'role':_0x4d6e7c(0x1b0),'icon':_0x533516?_0x4f8a47??_0x3fb04c:void 0x0,'tooltip':!0x1,'class':_0x4d6e7c(0x1e2)}),_0x358249[_0x4d6e7c(0x1dc)]({'on':{'mouseenter':_0x4cb36c['to'](()=>{const _0x2ceb75=_0x4d6e7c;this[_0x2ceb75(0x1e9)]()||_0x358249[_0x2ceb75(0x1c6)]();})}}),_0x358249['on'](_0x4d6e7c(0x207),()=>{const _0x2ff09b=_0x4d6e7c;_0x3a5e56[_0x2ff09b(0x1d6)][_0x2ff09b(0x1d0)][_0x2ff09b(0x1c6)](),_0x3a5e56[_0x2ff09b(0x1c3)][_0x2ff09b(0x207)](_0x2ff09b(0x228),_0x13d608);}),_0x5c42c5[_0x4d6e7c(0x22e)][_0x4d6e7c(0x1eb)](_0x358249),{'listItem':_0x5c42c5,'highlightViews':[_0x1584cb]};}}[_0x358435(0x1ba)](_0x41307b,_0x4c6636,_0x459401,_0x3755e7){const _0x280c53=_0x358435;return _0x459401&&_0x3755e7?this[_0x280c53(0x1b2)](_0x41307b,_0x4c6636,_0x459401,_0x3755e7):this[_0x280c53(0x1f3)](_0x41307b,_0x4c6636);}[_0x358435(0x1b2)](_0xc79b56,_0x1f85ba,_0x5c2d60,_0x18adcf){const _0x1b3d0f=_0x358435,_0x2e30c0=new _0x19257c(this[_0x1b3d0f(0x1c9)]),_0x2b40fe=new _0x132777(this[_0x1b3d0f(0x1c9)]),_0x354a61=_0x2b40fe[_0x1b3d0f(0x1ac)],{view:_0x573042,highlightView:_0x5dbf06}=this[_0x1b3d0f(0x1bc)](_0x5c2d60,_0x18adcf),{view:_0x5eadf7,highlightView:_0x41d09e}=this[_0x1b3d0f(0x208)](_0x1f85ba[_0x1b3d0f(0x222)]),_0x20c9d4=this[_0x1b3d0f(0x1b3)](_0x573042,_0x5eadf7);return _0x2b40fe[_0x1b3d0f(0x216)]({'label':_0x1f85ba[_0x1b3d0f(0x222)],'withText':!0x0,'role':_0x1b3d0f(0x1b0),'class':_0x1b3d0f(0x1c8),'tooltip':!0x1}),_0x2b40fe[_0x1b3d0f(0x218)]({'tag':_0x1b3d0f(0x1f7),'attributes':{'class':['ck',_0x1b3d0f(0x1d9),_0x1b3d0f(0x1f5),_0x1b3d0f(0x1e2),_0x1b3d0f(0x1cc),_0x1b3d0f(0x21a)],'type':_0x1b3d0f(0x1f7),'role':_0x1b3d0f(0x1b0),'tabindex':'-1'},'children':[_0x20c9d4],'on':{'mouseenter':_0x354a61['to'](()=>{const _0x4ec055=_0x1b3d0f;this[_0x4ec055(0x1e9)]()||_0x2b40fe[_0x4ec055(0x1c6)]();}),'click':_0x354a61['to'](()=>{const _0x4cab3f=_0x1b3d0f;this[_0x4cab3f(0x1d5)](_0x2b40fe);})}}),this[_0x1b3d0f(0x1c2)](_0x2b40fe,_0xc79b56,_0x1f85ba),_0x2e30c0[_0x1b3d0f(0x22e)][_0x1b3d0f(0x1eb)](_0x2b40fe),{'listItem':_0x2e30c0,'highlightViews':[_0x5dbf06,_0x41d09e]};}[_0x358435(0x1f3)](_0x7c1973,_0x347d0c){const _0x322054=_0x358435,_0x55a9a2=new _0x19257c(this[_0x322054(0x1c9)]),_0x5770ec=new _0x154ca3(),_0x147ed4=new _0x132777(this[_0x322054(0x1c9)],_0x5770ec),_0xd907fd=_0x147ed4[_0x322054(0x1ac)];return _0x147ed4[_0x322054(0x216)]({'label':_0x347d0c[_0x322054(0x222)],'withText':!0x0,'role':_0x322054(0x1b0),'icon':void 0x0,'tooltip':!0x1,'class':_0x322054(0x1f6)}),_0x147ed4[_0x322054(0x1dc)]({'on':{'mouseenter':_0xd907fd['to'](()=>{const _0x302dd6=_0x322054;this[_0x302dd6(0x1e9)]()||_0x147ed4[_0x302dd6(0x1c6)]();})}}),this[_0x322054(0x1c2)](_0x147ed4,_0x7c1973,_0x347d0c),_0x55a9a2[_0x322054(0x22e)][_0x322054(0x1eb)](_0x147ed4),{'listItem':_0x55a9a2,'highlightViews':[_0x5770ec]};}[_0x358435(0x1bc)](_0x2f05c3,_0x3c72b9){const _0x5bd095=_0x358435,_0x4a05c5=new _0x1cdfff(this[_0x5bd095(0x1c9)]),_0x120e12=new _0x5ce53d();_0x120e12[_0x5bd095(0x201)]=_0x3c72b9,_0x120e12[_0x5bd095(0x1dc)]({'attributes':{'class':_0x5bd095(0x1c1)}});const _0x5be5ce=new _0xb26aba();return _0x5be5ce[_0x5bd095(0x21c)]=_0x2f05c3,_0x4a05c5[_0x5bd095(0x218)]({'tag':_0x5bd095(0x1f0),'attributes':{'class':_0x5bd095(0x229)},'children':[_0x120e12,_0x5be5ce]}),{'view':_0x4a05c5,'highlightView':_0x5be5ce};}[_0x358435(0x208)](_0x43432d){const _0x240d6b=_0x358435,_0x29e0b8=new _0x1cdfff(this[_0x240d6b(0x1c9)]),_0x1c9610=new _0xb26aba();return _0x1c9610[_0x240d6b(0x21c)]=_0x43432d,_0x29e0b8[_0x240d6b(0x218)]({'tag':_0x240d6b(0x1f0),'attributes':{'class':_0x240d6b(0x1e7)},'children':[_0x1c9610]}),{'view':_0x29e0b8,'highlightView':_0x1c9610};}[_0x358435(0x1b3)](_0x2d6506,_0x2387af){const _0x358092=_0x358435,_0x441f42=new _0x1cdfff(this[_0x358092(0x1c9)]);return _0x441f42[_0x358092(0x218)]({'tag':_0x358092(0x1f0),'attributes':{'class':_0x358092(0x224)},'children':[_0x2d6506,_0x2387af]}),_0x441f42;}[_0x358435(0x1c2)](_0x561e67,_0x2f8408,_0x1c0ea2){const _0x5c2d61=_0x358435;_0x561e67['on'](_0x5c2d61(0x207),()=>{const _0x2a18aa=_0x5c2d61;_0x2f8408[_0x2a18aa(0x1d6)][_0x2a18aa(0x1d0)][_0x2a18aa(0x1c6)](),_0x2f8408[_0x2a18aa(0x1c3)][_0x2a18aa(0x207)](_0x2a18aa(0x228),_0x1c0ea2);});}[_0x358435(0x223)](_0x45f3db,_0x1e190f,_0x1649a6){const _0x44e853=_0x358435,_0x241292=new _0x19257c(this[_0x44e853(0x1c9)]),_0x13d95d=new _0x154ca3(),_0x2ada4e=new _0x666bb7(this[_0x44e853(0x1c9)],_0x13d95d),_0x531c36=_0x2ada4e[_0x44e853(0x1ac)],_0x288252=this[_0x44e853(0x1ad)](_0x1649a6),_0x137c73=this[_0x44e853(0x1ca)](_0x45f3db,_0x1e190f[_0x44e853(0x1f2)],_0x1649a6);_0x2ada4e[_0x44e853(0x216)]({'label':_0x1e190f[_0x44e853(0x1fb)],'withText':!0x0,'role':Ts,'icon':_0x1e190f[_0x44e853(0x1fc)]??_0x3fb04c,'isEnabled':_0x1e190f[_0x44e853(0x1f2)][_0x44e853(0x1ab)](_0x520bb6=>_0x520bb6[_0x44e853(0x20c)])}),_0x2ada4e[_0x44e853(0x1dc)]({'on':{'mouseenter':_0x531c36['to'](()=>{const _0x5608d7=_0x44e853;this[_0x5608d7(0x1e9)]()||_0x2ada4e[_0x5608d7(0x1c6)]();})}});const _0x1cea73=new _0x5488a3(this[_0x44e853(0x1c9)]);return _0x1cea73[_0x44e853(0x1dc)]({'attributes':{'class':['ck',_0x44e853(0x1bd),_0x44e853(0x1ea),_0x44e853(0x1d2)]},'on':{'keydown':_0x531c36['to'](_0x2a20e7=>{const _0x2a300e=_0x44e853;this[_0x2a300e(0x1e8)](_0x2a20e7,_0x288252,_0x2ada4e,_0x1cea73);})}}),_0x2ada4e[_0x44e853(0x1bf)](_0x44e853(0x1af))['to'](_0x1cea73,_0x44e853(0x1f8)),this[_0x44e853(0x226)][_0x44e853(0x1eb)](_0x1cea73),_0x1cea73[_0x44e853(0x201)][_0x44e853(0x1eb)](_0x137c73),this[_0x44e853(0x1db)](_0x2ada4e,_0x1cea73),_0x241292[_0x44e853(0x22e)][_0x44e853(0x1eb)](_0x2ada4e),{'listItem':_0x241292,'highlightView':_0x13d95d};}[_0x358435(0x1ca)](_0x527706,_0x1d5a3d,_0x2394a8){const _0x47e896=_0x358435,_0x34a696=new _0x11ebbf(this[_0x47e896(0x1c9)]);return _0x34a696[_0x47e896(0x1dc)]({'attributes':{'class':['ck',_0x47e896(0x1bd),_0x47e896(0x221),_0x47e896(0x219)]}}),_0x1d5a3d[_0x47e896(0x1d8)](_0x550b82=>{const _0x25e45c=_0x47e896,_0x461bb5=new _0x19257c(this[_0x25e45c(0x1c9)]),_0x4beba7=_0x4e2a8b({'editor':_0x527706,'action':_0x550b82,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x25e45c(0x1e9)]()})();_0x461bb5[_0x25e45c(0x22e)][_0x25e45c(0x1eb)](_0x4beba7),_0x2394a8[_0x25e45c(0x211)][_0x25e45c(0x1eb)](_0x4beba7),_0x34a696[_0x25e45c(0x1cd)][_0x25e45c(0x1eb)](_0x461bb5);}),_0x34a696;}[_0x358435(0x1db)](_0x5630a1,_0x2c1956){const _0x308d99=_0x358435,_0xc80d1f=_0x5630a1[_0x308d99(0x1ac)],_0x417ea7=this[_0x308d99(0x217)](_0x5630a1);_0x5630a1[_0x308d99(0x1dc)]({'attributes':{'class':[_0x308d99(0x212)]},'on':{'mouseenter':_0xc80d1f['to'](()=>{const _0x3f352c=_0x308d99;this[_0x3f352c(0x205)](_0x2c1956,_0x5630a1);}),'mouseleave':_0xc80d1f['to'](_0x225d57=>{const _0x3e29a1=_0x308d99,_0x46b53d=_0x225d57[_0x3e29a1(0x1b7)];this[_0x3e29a1(0x215)](_0x46b53d,_0x2c1956)||this[_0x3e29a1(0x1d7)](_0x2c1956);}),'keydown':_0xc80d1f['to'](_0x325e47=>{const _0x878cb7=_0x308d99;_0x325e47[_0x878cb7(0x1e3)]==_0x417ea7&&(this[_0x878cb7(0x205)](_0x2c1956,_0x5630a1),_0x2c1956[_0x878cb7(0x201)][_0x878cb7(0x1ce)](0x0)[_0x878cb7(0x1c6)]());})}}),_0x2c1956['on'](_0x308d99(0x1ff),()=>{const _0x1b7ca8=_0x308d99;_0x2c1956[_0x1b7ca8(0x1be)]?.[_0x1b7ca8(0x22a)](_0x1b7ca8(0x1f4),_0x35e01b=>{const _0x2cb54e=_0x1b7ca8,_0x4482c8=_0x35e01b[_0x2cb54e(0x1b7)];_0x5630a1[_0x2cb54e(0x1be)]?.[_0x2cb54e(0x209)](_0x4482c8)||this[_0x2cb54e(0x215)](_0x4482c8,_0x2c1956)||this[_0x2cb54e(0x1d7)](_0x2c1956);});});}[_0x358435(0x205)](_0x55e2c4,_0x1cfbc7){const _0x116d84=_0x358435;this[_0x116d84(0x206)][_0x116d84(0x1d8)](_0x4672b4=>{const _0x3bba82=_0x116d84;_0x4672b4!==_0x55e2c4&&_0x4672b4[_0x3bba82(0x1f8)]&&_0x4672b4[_0x3bba82(0x20d)]();}),_0x55e2c4[_0x116d84(0x21b)](),_0x55e2c4[_0x116d84(0x1a9)]({'positions':[_0x5ec280[_0x116d84(0x1fd)]],'target':_0x1cfbc7[_0x116d84(0x1be)],'fitInViewport':!0x0}),this[_0x116d84(0x206)][_0x116d84(0x1eb)](_0x55e2c4);}[_0x358435(0x1d7)](_0x209cdf){const _0x389d33=_0x358435;_0x209cdf[_0x389d33(0x20d)](),this[_0x389d33(0x206)][_0x389d33(0x1d1)](_0x209cdf);}[_0x358435(0x1ee)](){const _0x56c2df=_0x358435;this[_0x56c2df(0x206)][_0x56c2df(0x1d8)](_0x5341f9=>_0x5341f9[_0x56c2df(0x20d)]()),this[_0x56c2df(0x206)][_0x56c2df(0x1e0)]();}[_0x358435(0x215)](_0x3679cf,_0x4faa40){const _0x4d31db=_0x358435;if(!_0x3679cf)return!0x1;if(_0x4faa40[_0x4d31db(0x1be)]?.[_0x4d31db(0x209)](_0x3679cf))return!0x0;const _0x5f16c8=_0x3679cf;return _0x5f16c8[_0x4d31db(0x230)]&&(null!==_0x5f16c8[_0x4d31db(0x230)](_0x4d31db(0x1d4))||null!==_0x5f16c8[_0x4d31db(0x230)](_0x4d31db(0x225))||null!==_0x5f16c8[_0x4d31db(0x230)](_0x4d31db(0x1cf)));}[_0x358435(0x1cb)](){const _0x1d5f80=_0x358435;this[_0x1d5f80(0x1b1)]&&this[_0x1d5f80(0x1b1)][_0x1d5f80(0x1fe)]();}[_0x358435(0x1b5)](){const _0x44244c=_0x358435;this[_0x44244c(0x1ee)](),this[_0x44244c(0x226)][_0x44244c(0x20e)](),super[_0x44244c(0x1b5)]();}[_0x358435(0x1c6)](){const _0x436963=_0x358435;this[_0x436963(0x1b1)]?this[_0x436963(0x1b1)][_0x436963(0x1c6)]():this[_0x436963(0x22c)][_0x436963(0x1c6)]();}[_0x358435(0x1ad)](_0x3b8c57){const _0x4b7c6d=_0x358435;return _0x4b7c6d(0x1b8)===_0x3b8c57[_0x4b7c6d(0x1c9)][_0x4b7c6d(0x214)]?_0x4b7c6d(0x220):_0x4b7c6d(0x1c7);}[_0x358435(0x217)](_0x20fb4d){const _0x2825b2=_0x358435;return _0x2825b2(0x1b8)===_0x20fb4d[_0x2825b2(0x1c9)][_0x2825b2(0x214)]?_0x2825b2(0x1c7):_0x2825b2(0x220);}[_0x358435(0x1e8)](_0x2ebc78,_0x58dc8f,_0x49a248,_0xdeffa){const _0x1dba91=_0x358435;_0x2ebc78[_0x1dba91(0x1e3)]==_0x58dc8f&&(_0x49a248[_0x1dba91(0x1c6)](),this[_0x1dba91(0x1d7)](_0xdeffa));}[_0x358435(0x1d5)](_0x50a617){const _0x50031d=_0x358435;_0x50a617[_0x50031d(0x1ed)](_0x50031d(0x207));}}