@ckeditor/ckeditor5-ai 47.3.0-alpha.4 → 47.3.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) 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/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  11. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  12. package/src/aiballoon/aiballoon.js +1 -1
  13. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  14. package/src/aiballoon/ui/aiballoonview.js +1 -1
  15. package/src/aichat/aichat.js +1 -1
  16. package/src/aichat/aichatcontroller.js +1 -1
  17. package/src/aichat/aichatui.js +1 -1
  18. package/src/aichat/model/aichatcontext.js +1 -1
  19. package/src/aichat/model/aichatconversation.js +1 -1
  20. package/src/aichat/model/aichatinteraction.js +1 -1
  21. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  22. package/src/aichat/ui/aichatfeedview.js +1 -1
  23. package/src/aichat/ui/aichatview.js +1 -1
  24. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  25. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  26. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  27. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  28. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  29. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  30. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  31. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  32. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  33. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  34. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  35. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  36. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  37. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  38. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  39. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  40. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  41. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  42. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  43. package/src/aichat/utils/eventnames.js +1 -1
  44. package/src/aichathistory/aichathistory.js +1 -1
  45. package/src/aichathistory/aichathistorycontroller.js +1 -1
  46. package/src/aichathistory/aichathistoryui.js +1 -1
  47. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  48. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  49. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  50. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  51. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  52. package/src/aicore/aiconnector.js +1 -1
  53. package/src/aicore/aiediting.js +1 -1
  54. package/src/aicore/model/aimodels.js +1 -1
  55. package/src/aicore/model/aireply.js +1 -1
  56. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  57. package/src/aicore/pipeline/airesponseparser.js +2 -2
  58. package/src/aicore/ui/aidisclaimerview.js +1 -1
  59. package/src/aicore/ui/aiskeleton.js +1 -1
  60. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  61. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  62. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  63. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  64. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  65. package/src/aicore/utils/documentrange.js +1 -1
  66. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  67. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  68. package/src/aicore/utils/htmlparser.js +1 -1
  69. package/src/aicore/utils/htmlstreamer.js +1 -1
  70. package/src/aiquickactions/aiquickactionsui.js +1 -1
  71. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  72. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  73. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  74. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  75. package/src/aireviewmode/aireviewmode.js +1 -1
  76. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  77. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  78. package/src/aireviewmode/aireviewmodeui.js +1 -1
  79. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  80. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  81. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  82. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  83. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  84. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  85. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  86. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  87. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  88. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  89. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  90. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  91. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  92. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  93. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  94. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  95. package/src/aitabs/aitabs.js +1 -1
  96. package/src/aitabs/tabs/aitabsview.js +1 -1
  97. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4650d5=_0x1adf;(function(_0x47209a,_0x3cf0b4){const _0x164a86=_0x1adf,_0x5e6359=_0x47209a();while(!![]){try{const _0x2ad33b=parseInt(_0x164a86(0x25c))/0x1+-parseInt(_0x164a86(0x262))/0x2*(-parseInt(_0x164a86(0x259))/0x3)+-parseInt(_0x164a86(0x270))/0x4+-parseInt(_0x164a86(0x1fd))/0x5+parseInt(_0x164a86(0x24c))/0x6*(parseInt(_0x164a86(0x260))/0x7)+-parseInt(_0x164a86(0x266))/0x8+-parseInt(_0x164a86(0x27e))/0x9*(parseInt(_0x164a86(0x289))/0xa);if(_0x2ad33b===_0x3cf0b4)break;else _0x5e6359['push'](_0x5e6359['shift']());}catch(_0x3c4f49){_0x5e6359['push'](_0x5e6359['shift']());}}}(_0x58c3,0x2fcd1));import{IconAIAdjustLength as _0x133ceb,IconAIChangeTone as _0xb5fb4a,IconAIChatCommands as _0x31e9cc,IconAIContinueWriting as _0x134cdf,IconAIGrammarCheck as _0x49677c,IconAIImproveWriting as _0x29e235,IconAIOther as _0x2e3bca,IconAIQuickActions as _0x362020,IconAITranslate as _0x4cbad4}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x234c61}from'ckeditor5/src/core.js';import{CKEditorError as _0x4b9e35,logError as _0x15d564}from'ckeditor5/src/utils.js';import{getTranslation as _0x4f6c39}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x1014e7}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x20d605}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x37c278,BalloonToolbar as _0x27798f,MenuBarMenuView as _0x420976,MenuBarMenuListView as _0x585355,MenuBarMenuListItemView as _0xfeb2ef,MenuBarMenuListItemButtonView as _0x4bc993}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x2a27f0}from'../aicore/model/aimodels.js';const ae=_0x4650d5(0x243),se=_0x4650d5(0x24d),re=_0x4650d5(0x1f8);export var AIQuickActionType;!function(_0x1c70b9){const _0x13d273=_0x4650d5;_0x1c70b9[_0x13d273(0x219)]=_0x13d273(0x219),_0x1c70b9[_0x13d273(0x1f5)]=_0x13d273(0x1f5),_0x1c70b9[_0x13d273(0x27d)]=_0x13d273(0x27d);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;function _0x1adf(_0x3cda4c,_0x5f2923){const _0x58c38f=_0x58c3();return _0x1adf=function(_0x1adfe7,_0x10cdef){_0x1adfe7=_0x1adfe7-0x1ed;let _0x1555be=_0x58c38f[_0x1adfe7];return _0x1555be;},_0x1adf(_0x3cda4c,_0x5f2923);}!function(_0x1cdb79){const _0x2da469=_0x4650d5;_0x1cdb79[_0x2da469(0x219)]=_0x2da469(0x203),_0x1cdb79[_0x2da469(0x1f5)]=_0x2da469(0x1fe),_0x1cdb79[_0x2da469(0x27d)]=_0x2da469(0x277);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x234c61{static get[_0x4650d5(0x208)](){return[_0x27798f];}static get[_0x4650d5(0x224)](){const _0x207aef=_0x4650d5;return _0x207aef(0x23b);}static get[_0x4650d5(0x249)](){return!0x0;}static get[_0x4650d5(0x24f)](){return!0x0;}async[_0x4650d5(0x20c)](){const _0x5c0cba=_0x4650d5,_0x57413e=await this[_0x5c0cba(0x23a)]();this[_0x5c0cba(0x214)](_0x57413e),this[_0x5c0cba(0x239)]();}static[_0x4650d5(0x25d)](_0x53e226){return function(_0x3fdb73){const _0x1fc72a=_0x1adf,_0xf52a7f=new Intl[(_0x1fc72a(0x252))](['en'],{'type':_0x1fc72a(0x21a)})['of'](_0x3fdb73[_0x1fc72a(0x264)]),_0x39c801=_0xf52a7f||_0x1fc72a(0x247),_0x2aefad=[{'id':_0x1fc72a(0x25e),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x21b)),'type':AIQuickActionType[_0x1fc72a(0x219)],'icon':_0x31e9cc},{'id':_0x1fc72a(0x272),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x24b)),'icon':_0x31e9cc,'actions':[{'id':_0x1fc72a(0x227),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x20a)),'prompt':ae[_0x1fc72a(0x26b)]('%0',_0x39c801),'type':AIQuickActionType[_0x1fc72a(0x219)]},{'id':_0x1fc72a(0x21d),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x23e)),'prompt':se[_0x1fc72a(0x26b)]('%0',_0x39c801),'type':AIQuickActionType[_0x1fc72a(0x219)]},{'id':_0x1fc72a(0x222),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x22d)),'prompt':re[_0x1fc72a(0x26b)]('%0',_0x39c801),'type':AIQuickActionType[_0x1fc72a(0x219)]}]},{'id':_0x1fc72a(0x28c),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x246)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'icon':_0x29e235},{'id':_0x1fc72a(0x1f3),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x1f0)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'icon':_0x134cdf},{'id':_0x1fc72a(0x282),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x20e)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'icon':_0x49677c},{'id':_0x1fc72a(0x242),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x275)),'icon':_0x133ceb,'actions':[{'id':_0x1fc72a(0x225),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x229)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x23c),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x25b)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]}]},{'id':_0x1fc72a(0x1fb),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x27a)),'icon':_0xb5fb4a,'actions':[{'id':_0x1fc72a(0x216),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x263)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x27b),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x21f)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x212),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x210)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x244),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x233)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x221),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x206)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]}]},{'id':_0x1fc72a(0x209),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x240)),'icon':_0x4cbad4,'actions':[{'id':_0x1fc72a(0x1ee),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x215)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x22c)}},{'id':_0x1fc72a(0x232),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x213)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x248)}},{'id':_0x1fc72a(0x1f4),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x251)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x1f6)}},{'id':_0x1fc72a(0x286),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x223)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x1f7)}},{'id':_0x1fc72a(0x23f),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x256)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x268)}},{'id':_0x1fc72a(0x22b),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x284)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x265)}},{'id':_0x1fc72a(0x250),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x231)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x207)}},{'id':_0x1fc72a(0x205),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x26a)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x21c)}},{'id':_0x1fc72a(0x202),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x204)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x1fa)}},{'id':_0x1fc72a(0x26e),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x269)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x20d)}}]},{'id':_0x1fc72a(0x24e),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x27f)),'icon':_0x2e3bca,'actions':[]}];return _0x2aefad;}(_0x53e226);}async[_0x4650d5(0x23a)](){const _0x4dee59=_0x4650d5,_0x2f5fb2=AIQuickActionsUI[_0x4dee59(0x25d)](this[_0x4dee59(0x20f)][_0x4dee59(0x257)]),_0x47ea85=this[_0x4dee59(0x20f)][_0x4dee59(0x20b)][_0x4dee59(0x226)](_0x4dee59(0x278))||[];let _0x459e77=[];try{_0x459e77=await new _0x2a27f0({'connector':this[_0x4dee59(0x20f)][_0x4dee59(0x21e)][_0x4dee59(0x226)](_0x4dee59(0x22a)),'availableModels':this[_0x4dee59(0x20f)][_0x4dee59(0x20b)][_0x4dee59(0x226)](_0x4dee59(0x1fc))})[_0x4dee59(0x255)]();}catch(_0x183935){const _0x4c930e=new _0x4b9e35(_0x4dee59(0x25a),this,{'error':_0x183935});_0x15d564(_0x4c930e[_0x4dee59(0x26f)]);}finally{const _0x42b263=_0x47ea85[_0x4dee59(0x22f)](_0x5eb65b=>({..._0x5eb65b,'icon':void 0x0}));_0x2f5fb2[_0x4dee59(0x28d)](_0x420bc1=>_0x4dee59(0x24e)===_0x420bc1['id'])[_0x4dee59(0x288)][_0x4dee59(0x27c)](..._0x42b263),_0x2f5fb2[_0x4dee59(0x234)](_0x442fed=>{const _0x471eab=_0x4dee59;if(_0x471eab(0x288)in _0x442fed)_0x442fed[_0x471eab(0x288)][_0x471eab(0x234)](_0x307ef2=>{const _0xbd5c5d=_0x471eab;if(_0x307ef2[_0xbd5c5d(0x200)]=!!_0x459e77[_0xbd5c5d(0x28d)](_0x3385d3=>_0x3385d3['id']===_0x307ef2[_0xbd5c5d(0x285)])||void 0x0===_0x307ef2[_0xbd5c5d(0x285)],!_0x307ef2[_0xbd5c5d(0x200)]){const _0x4025d2=new _0x4b9e35(_0xbd5c5d(0x26d),this,{'actionId':_0x307ef2['id'],'modelId':_0x307ef2[_0xbd5c5d(0x285)]});_0x15d564(_0x4025d2[_0xbd5c5d(0x26f)]);}});else{if(_0x442fed[_0x471eab(0x200)]=!!_0x459e77[_0x471eab(0x28d)](_0x1472be=>_0x1472be['id']===_0x442fed[_0x471eab(0x285)])||void 0x0===_0x442fed[_0x471eab(0x285)],!_0x442fed[_0x471eab(0x200)]){const _0x35c9c6=new _0x4b9e35(_0x471eab(0x26d),this,{'actionId':_0x442fed['id'],'modelId':_0x442fed[_0x471eab(0x285)]});_0x15d564(_0x35c9c6[_0x471eab(0x26f)]);}}});}return _0x2f5fb2;}[_0x4650d5(0x239)](){const _0x172804=_0x4650d5,_0x2ce69d=new _0x37c278(this[_0x172804(0x20f)][_0x172804(0x257)]);_0x2ce69d[_0x172804(0x25f)](),this[_0x172804(0x253)](_0x2ce69d),this[_0x172804(0x1ef)](),this[_0x172804(0x241)](_0x2ce69d);}[_0x4650d5(0x253)](_0x1899ce){const _0x241439=_0x4650d5,_0x5241d1=this[_0x241439(0x20f)][_0x241439(0x20b)][_0x241439(0x226)](_0x241439(0x273))??!0x0;this[_0x241439(0x20f)]['ui'][_0x241439(0x261)][_0x241439(0x28b)](_0x241439(0x201),_0x1014e7({'editor':this[_0x241439(0x20f)],'content':this[_0x241439(0x24a)],'buttonDefinition':{'icon':_0x362020,'label':_0x4f6c39(this[_0x241439(0x20f)][_0x241439(0x257)],_0x241439(0x26c))},'bodyCollection':_0x1899ce,'hasSearch':_0x5241d1}));}[_0x4650d5(0x214)](_0x4652d9){const _0x232317=_0x4650d5;this[_0x232317(0x24a)]=_0x4652d9[_0x232317(0x22f)](_0xdb08bd=>{const _0x350e56=_0x232317;if(_0x350e56(0x288)in _0xdb08bd){const _0x5812f7=_0xdb08bd;return{..._0x5812f7,'actions':_0x5812f7[_0x350e56(0x288)][_0x350e56(0x22f)](_0x414f50=>{const {actions:_0x39dc41,..._0x367c7f}=_0x5812f7;return{..._0x414f50,'parent':_0x367c7f};})[_0x350e56(0x237)](_0x5f5acf=>this[_0x350e56(0x218)](_0x5f5acf))};}return _0xdb08bd;})[_0x232317(0x237)](_0x182793=>_0x232317(0x288)in _0x182793?_0x182793[_0x232317(0x288)][_0x232317(0x211)]>0x0:this[_0x232317(0x218)](_0x182793));}[_0x4650d5(0x218)](_0x374679){const _0x288da2=_0x4650d5,_0x18e3d1=this[_0x288da2(0x20f)][_0x288da2(0x20b)][_0x288da2(0x226)](_0x288da2(0x280))||[];return this[_0x288da2(0x20f)][_0x288da2(0x21e)][_0x288da2(0x230)](AIQuickActionTypeToPluginName[_0x374679[_0x288da2(0x279)]])&&!_0x18e3d1[_0x288da2(0x1f1)](_0x374679['id']);}[_0x4650d5(0x241)](_0x18be7c){const _0x510fcc=_0x4650d5;this[_0x510fcc(0x24a)][_0x510fcc(0x234)](_0x304f34=>{const _0x20bfbd=_0x510fcc;if(_0x20bfbd(0x288)in _0x304f34){const _0x2315a9=_0x1014e7({'editor':this[_0x20bfbd(0x20f)],'content':_0x304f34[_0x20bfbd(0x288)],'buttonDefinition':_0x304f34,'bodyCollection':_0x18be7c});this[_0x20bfbd(0x20f)]['ui'][_0x20bfbd(0x261)][_0x20bfbd(0x28b)](_0x304f34['id'],_0x2315a9),_0x304f34[_0x20bfbd(0x288)][_0x20bfbd(0x234)](_0x384f61=>{const _0x4525ec=_0x20bfbd,_0x355bdc=_0x20d605({'editor':this[_0x4525ec(0x20f)],'action':_0x384f61});this[_0x4525ec(0x20f)]['ui'][_0x4525ec(0x261)][_0x4525ec(0x28b)](_0x384f61['id'],_0x355bdc);});}else{const _0x1f18c6=_0x20d605({'editor':this[_0x20bfbd(0x20f)],'action':_0x304f34,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x20bfbd(0x20f)]['ui'][_0x20bfbd(0x261)][_0x20bfbd(0x28b)](_0x304f34['id'],_0x1f18c6);}});}[_0x4650d5(0x1ef)](){const _0xc15b1d=_0x4650d5;this[_0xc15b1d(0x20f)]['ui'][_0xc15b1d(0x261)][_0xc15b1d(0x28b)](_0xc15b1d(0x245),_0x347ca3=>{const _0x15846f=_0xc15b1d,_0x1d9845=new _0x420976(_0x347ca3),_0x2ec835=_0x4f6c39(_0x347ca3,_0x15846f(0x26c));_0x1d9845[_0x15846f(0x287)][_0x15846f(0x1f9)]({'label':_0x2ec835,'icon':_0x362020});const _0x3a2c54=new _0x585355(_0x347ca3);_0x3a2c54[_0x15846f(0x1f9)]({'ariaLabel':_0x2ec835,'role':_0x15846f(0x254)}),this[_0x15846f(0x24a)][_0x15846f(0x234)](_0x3fe389=>{const _0x2a5bea=_0x15846f;if(_0x2a5bea(0x288)in _0x3fe389){const _0x50645b=_0x3fe389,_0x166072=new _0xfeb2ef(_0x347ca3,_0x1d9845),_0x3bdc74=new _0x420976(_0x347ca3),_0x2d475f=new _0x585355(_0x347ca3);_0x3bdc74[_0x2a5bea(0x287)][_0x2a5bea(0x1f9)]({'label':_0x50645b[_0x2a5bea(0x22e)],'icon':_0x50645b[_0x2a5bea(0x236)]}),_0x50645b[_0x2a5bea(0x288)][_0x2a5bea(0x234)](_0x58137f=>{const _0x316bdb=_0x2a5bea,_0x121c5a=new _0xfeb2ef(_0x347ca3,_0x3bdc74),_0x3a7ced=new _0x4bc993(_0x347ca3);_0x3a7ced[_0x316bdb(0x1f9)]({'label':_0x58137f[_0x316bdb(0x217)],'icon':_0x58137f[_0x316bdb(0x236)],'role':_0x316bdb(0x1ed),'isEnabled':_0x58137f[_0x316bdb(0x200)]}),_0x3a7ced['on'](_0x316bdb(0x220),()=>{const _0x51a29d=_0x316bdb;this[_0x51a29d(0x1f2)](_0x58137f);}),_0x3a7ced[_0x316bdb(0x258)](_0x316bdb(0x220))['to'](_0x3bdc74),_0x121c5a[_0x316bdb(0x228)][_0x316bdb(0x28b)](_0x3a7ced),_0x2d475f[_0x316bdb(0x276)][_0x316bdb(0x28b)](_0x121c5a);}),_0x3bdc74[_0x2a5bea(0x271)][_0x2a5bea(0x228)][_0x2a5bea(0x28b)](_0x2d475f),_0x166072[_0x2a5bea(0x228)][_0x2a5bea(0x28b)](_0x3bdc74),_0x3a2c54[_0x2a5bea(0x276)][_0x2a5bea(0x28b)](_0x166072);}else{const _0x4e9ffe=_0x3fe389,_0x2435f3=new _0xfeb2ef(_0x347ca3,_0x1d9845),_0x534c5f=new _0x4bc993(_0x347ca3);_0x534c5f[_0x2a5bea(0x1f9)]({'label':_0x4e9ffe[_0x2a5bea(0x217)],'icon':_0x4e9ffe[_0x2a5bea(0x236)],'role':_0x2a5bea(0x1ed),'isEnabled':_0x4e9ffe[_0x2a5bea(0x200)]}),_0x534c5f['on'](_0x2a5bea(0x220),()=>{const _0x534602=_0x2a5bea;this[_0x534602(0x1f2)](_0x4e9ffe);}),_0x534c5f[_0x2a5bea(0x258)](_0x2a5bea(0x220))['to'](_0x1d9845),_0x2435f3[_0x2a5bea(0x228)][_0x2a5bea(0x28b)](_0x534c5f),_0x3a2c54[_0x2a5bea(0x276)][_0x2a5bea(0x28b)](_0x2435f3);}});const _0x1c7ef0=Object[_0x15846f(0x238)](AIQuickActionTypeToPluginName)[_0x15846f(0x23d)](_0x1e7040=>this[_0x15846f(0x20f)][_0x15846f(0x21e)][_0x15846f(0x230)](_0x1e7040));return _0x1d9845[_0x15846f(0x1f9)]({'isEnabled':_0x1c7ef0}),_0x1d9845[_0x15846f(0x271)][_0x15846f(0x228)][_0x15846f(0x28b)](_0x3a2c54),_0x1d9845;});}[_0x4650d5(0x1f2)](_0x51cd90){const _0x580ec1=_0x4650d5,_0x568a53=this[_0x580ec1(0x20f)];_0x568a53[_0x580ec1(0x281)][_0x580ec1(0x1ff)][_0x580ec1(0x28a)](),_0x568a53[_0x580ec1(0x267)][_0x580ec1(0x220)](_0x580ec1(0x235),_0x51cd90);const _0x40eb3=_0x568a53['ui'][_0x580ec1(0x1ff)][_0x580ec1(0x283)];_0x40eb3&&_0x40eb3[_0x580ec1(0x274)]&&_0x40eb3[_0x580ec1(0x274)]();}}function _0x58c3(){const _0x1af00b=['other','isPremiumPlugin','translate-to-portuguese','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','DisplayNames','_initializeQuickActionsDropdown','menu','getAvailableModels','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','locale','delegate','159GPmhfV','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_MAKE_LONGER','127328bzOoRV','getDefaultQuickActions','ask-ai','attachToDom','70VFnaaG','componentFactory','10760GFcbwe','AI_QUICK_ACTIONS_MORE_CASUAL','uiLanguage','japanese','1056728GeIweJ','commands','french','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','replace','AI_QUICK_ACTIONS_HEADING','ai-quick-actions-unavailable-model','translate-to-russian','message','1123928mfNMfR','panelView','chat-commands','ai.quickActions.isSearchEnabled','close','AI_QUICK_ACTIONS_ADJUST_LENGTH','items','AIReviewMode','ai.quickActions.extraCommands','type','AI_QUICK_ACTIONS_CHANGE_TONE','make-tone-direct','push','REVIEW','9LOLvUg','AI_QUICK_ACTIONS_OTHER','ai.quickActions.removeCommands','editing','fix-grammar','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','model','translate-to-german','buttonView','actions','825790LrbMqK','focus','add','improve-writing','find','menuitem','translate-to-english','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_CONTINUE_WRITING','includes','_executeQuickAction','continue','translate-to-spanish','ACTION','spanish','german','<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>','set','italian','change-tone','ai.chat.models.displayedModels','362465IofEak','AIActions','view','isEnabled','aiQuickActions','translate-to-italian','AIChat','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','translate-to-korean','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','portuguese','requires','translate','AI_QUICK_ACTIONS_EXPLAIN','config','init','russian','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','editor','AI_QUICK_ACTIONS_MORE_FRIENDLY','length','make-tone-friendly','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-tone-casual','displayedPrompt','_shouldIncludeAction','CHAT','language','AI_QUICK_ACTIONS_ASK_AI','korean','summarize','plugins','AI_QUICK_ACTIONS_MORE_DIRECT','execute','make-tone-professional','highlight-key-points','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','pluginName','make-shorter','get','explain','children','AI_QUICK_ACTIONS_MAKE_SHORTER','AIConnector','translate-to-japanese','english','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','label','map','has','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','translate-to-chinese','AI_QUICK_ACTIONS_MORE_CONFIDENT','forEach','aiQuickAction','icon','filter','values','_initializeQuickActionsComponentsAndCommands','_getDefaultAndCustomActions','AIQuickActionsUI','make-longer','some','AI_QUICK_ACTIONS_SUMMARIZE','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE','_initializeQuickActionsComponents','adjust-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>','make-tone-confident','menuBar:aiQuickActions','AI_QUICK_ACTIONS_IMPROVE_WRITING','English','chinese','isOfficialPlugin','_quickActionsDefinition','AI_QUICK_ACTIONS_CHAT_COMMANDS','210882PrSGHr','<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>'];_0x58c3=function(){return _0x1af00b;};return _0x58c3();}
23
+ const _0x473535=_0x5bce;(function(_0x36fc99,_0x10090f){const _0x3b27af=_0x5bce,_0x2cdb02=_0x36fc99();while(!![]){try{const _0x231def=parseInt(_0x3b27af(0xef))/0x1+parseInt(_0x3b27af(0x100))/0x2+parseInt(_0x3b27af(0x142))/0x3+-parseInt(_0x3b27af(0x186))/0x4+parseInt(_0x3b27af(0x10e))/0x5*(parseInt(_0x3b27af(0x166))/0x6)+parseInt(_0x3b27af(0x168))/0x7+-parseInt(_0x3b27af(0x110))/0x8;if(_0x231def===_0x10090f)break;else _0x2cdb02['push'](_0x2cdb02['shift']());}catch(_0x5c4d57){_0x2cdb02['push'](_0x2cdb02['shift']());}}}(_0x31fd,0x4c770));import{IconAIAdjustLength as _0x1daa13,IconAIChangeTone as _0x3ad661,IconAIChatCommands as _0x231f99,IconAIContinueWriting as _0x2db8b6,IconAIGrammarCheck as _0x3afd8b,IconAIImproveWriting as _0x56b902,IconAIOther as _0x454173,IconAIQuickActions as _0x3a3e55,IconAITranslate as _0x4d7f3a}from'@ckeditor/ckeditor5-icons';import{Plugin as _0xbd6e76}from'ckeditor5/src/core.js';import{CKEditorError as _0x4fa506,logError as _0x5b7dcb}from'ckeditor5/src/utils.js';import{getTranslation as _0x44cbba}from'../aicore/utils/common-translations.js';function _0x31fd(){const _0x296fd8=['componentFactory','includes','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','ai-quick-actions-models-unable-to-retrieve','10jiOEBE','config','6108912emGdMX','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','summarize','ai.quickActions.isSearchEnabled','change-tone','AIChat','find','isOfficialPlugin','CHAT','requires','plugins','ACTION','init','REVIEW','translate-to-english','AI_QUICK_ACTIONS_MORE_CONFIDENT','translate-to-chinese','AI_QUICK_ACTIONS_SUMMARIZE','forEach','_shouldIncludeAction','_initializeQuickActionsComponents','icon','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','fix-grammar','_initializeQuickActionsComponentsAndCommands','chat-commands','AIQuickActionsUI','AI_QUICK_ACTIONS_MORE_FRIENDLY','italian','make-tone-friendly','english','panelView','make-tone-confident','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','getAvailableModels','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','make-tone-direct','chinese','korean','values','filter','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','highlight-key-points','delegate','_getDefaultAndCustomActions','448428EZuCGF','menuitem','french','has','improve-writing','add','translate-to-italian','type','AI_QUICK_ACTIONS_MAKE_LONGER','locale','explain','menu','_prepareQuickActionsDefinition','ai.chat.models.displayedModels','translate-to-portuguese','AI_QUICK_ACTIONS_CHANGE_TONE','close','make-tone-professional','<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>','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','execute','focus','AI_QUICK_ACTIONS_OTHER','adjust-length','translate-to-french','AIConnector','displayedPrompt','make-tone-casual','AI_QUICK_ACTIONS_HEADING','label','make-longer','other','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','language','DisplayNames','push','1161192zRMwuN','AI_QUICK_ACTIONS_MORE_DIRECT','2094764zQoHPm','japanese','AIReviewMode','editing','AI_QUICK_ACTIONS_MORE_CASUAL','English','actions','pluginName','spanish','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','get','uiLanguage','map','ai-quick-actions-unavailable-model','editor','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','isEnabled','aiQuickAction','commands','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_ADJUST_LENGTH','length','model','AI_QUICK_ACTIONS_ASK_AI','attachToDom','translate','view','russian','translate-to-japanese','2239768hMMynt','german','translate-to-spanish','message','AIActions','buttonView','continue','AI_QUICK_ACTIONS_CONTINUE_WRITING','219342RGPPUq','isPremiumPlugin','<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>','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','some','children','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_executeQuickAction','set','items','_initializeQuickActionsDropdown','getDefaultQuickActions','portuguese','menuBar:aiQuickActions','translate-to-german','replace','1163244hdMGnd','aiQuickActions','_quickActionsDefinition','ask-ai','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','_initializeQuickActionsMenuBar','ai.quickActions.removeCommands','<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>','translate-to-russian'];_0x31fd=function(){return _0x296fd8;};return _0x31fd();}import{aiQuickActionsDropdownCreator as _0x3e2283}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x1c80c8}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x32cbd1,BalloonToolbar as _0x4fb9f6,MenuBarMenuView as _0x184759,MenuBarMenuListView as _0x358c51,MenuBarMenuListItemView as _0x439ce9,MenuBarMenuListItemButtonView as _0x2e9108}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x18f143}from'../aicore/model/aimodels.js';const ae=_0x473535(0x154),se=_0x473535(0xf1),re=_0x473535(0x107);export var AIQuickActionType;!function(_0x52a49d){const _0x501d46=_0x473535;_0x52a49d[_0x501d46(0x119)]=_0x501d46(0x119),_0x52a49d[_0x501d46(0x11c)]=_0x501d46(0x11c),_0x52a49d[_0x501d46(0x11e)]=_0x501d46(0x11e);}(AIQuickActionType||(AIQuickActionType={}));function _0x5bce(_0x5b5141,_0x53555a){const _0x31fd64=_0x31fd();return _0x5bce=function(_0x5bce3a,_0x21b229){_0x5bce3a=_0x5bce3a-0xe8;let _0x1d9f53=_0x31fd64[_0x5bce3a];return _0x1d9f53;},_0x5bce(_0x5b5141,_0x53555a);}export var AIQuickActionTypeToPluginName;!function(_0x9bf1f2){const _0x4a01e8=_0x473535;_0x9bf1f2[_0x4a01e8(0x119)]=_0x4a01e8(0x116),_0x9bf1f2[_0x4a01e8(0x11c)]=_0x4a01e8(0xeb),_0x9bf1f2[_0x4a01e8(0x11e)]=_0x4a01e8(0x16a);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0xbd6e76{static get[_0x473535(0x11a)](){return[_0x4fb9f6];}static get[_0x473535(0x16f)](){const _0x31462f=_0x473535;return _0x31462f(0x12b);}static get[_0x473535(0x118)](){return!0x0;}static get[_0x473535(0xf0)](){return!0x0;}async[_0x473535(0x11d)](){const _0x2b49bd=_0x473535,_0x5b11a3=await this[_0x2b49bd(0x141)]();this[_0x2b49bd(0x14e)](_0x5b11a3),this[_0x2b49bd(0x129)]();}static[_0x473535(0xfb)](_0x30ba4d){return function(_0x5a200e){const _0x10ef70=_0x5bce,_0x15e4d1=new Intl[(_0x10ef70(0x164))](['en'],{'type':_0x10ef70(0x163)})['of'](_0x5a200e[_0x10ef70(0x174)]),_0x519f0f=_0x15e4d1||_0x10ef70(0x16d),_0x441256=[{'id':_0x10ef70(0x103),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x180)),'type':AIQuickActionType[_0x10ef70(0x119)],'icon':_0x231f99},{'id':_0x10ef70(0x12a),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x111)),'icon':_0x231f99,'actions':[{'id':_0x10ef70(0x14c),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x132)),'prompt':ae[_0x10ef70(0xff)]('%0',_0x519f0f),'type':AIQuickActionType[_0x10ef70(0x119)]},{'id':_0x10ef70(0x113),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x122)),'prompt':se[_0x10ef70(0xff)]('%0',_0x519f0f),'type':AIQuickActionType[_0x10ef70(0x119)]},{'id':_0x10ef70(0x13f),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x162)),'prompt':re[_0x10ef70(0xff)]('%0',_0x519f0f),'type':AIQuickActionType[_0x10ef70(0x119)]}]},{'id':_0x10ef70(0x146),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x13d)),'type':AIQuickActionType[_0x10ef70(0x11c)],'icon':_0x56b902},{'id':_0x10ef70(0xed),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0xee)),'type':AIQuickActionType[_0x10ef70(0x11c)],'icon':_0x2db8b6},{'id':_0x10ef70(0x128),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x135)),'type':AIQuickActionType[_0x10ef70(0x11c)],'icon':_0x3afd8b},{'id':_0x10ef70(0x159),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x17d)),'icon':_0x1daa13,'actions':[{'id':_0x10ef70(0xf2),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x17c)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x160),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x14a)),'type':AIQuickActionType[_0x10ef70(0x11c)]}]},{'id':_0x10ef70(0x115),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x151)),'icon':_0x3ad661,'actions':[{'id':_0x10ef70(0x15d),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x16c)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x136),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x167)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x12e),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x12c)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x131),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x120)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x153),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0xf6)),'type':AIQuickActionType[_0x10ef70(0x11c)]}]},{'id':_0x10ef70(0x182),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x13c)),'icon':_0x4d7f3a,'actions':[{'id':_0x10ef70(0x11f),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x127)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x12f)}},{'id':_0x10ef70(0x121),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x13e)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x137)}},{'id':_0x10ef70(0xe9),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x172)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x170)}},{'id':_0x10ef70(0xfe),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x104)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0xe8)}},{'id':_0x10ef70(0x15a),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x155)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x144)}},{'id':_0x10ef70(0x185),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0xf3)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x169)}},{'id':_0x10ef70(0x150),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x112)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0xfc)}},{'id':_0x10ef70(0x10b),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x10c)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x138)}},{'id':_0x10ef70(0x148),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x178)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x12d)}},{'id':_0x10ef70(0x108),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x133)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x184)}}]},{'id':_0x10ef70(0x161),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x158)),'icon':_0x454173,'actions':[]}];return _0x441256;}(_0x30ba4d);}async[_0x473535(0x141)](){const _0x2dd9a4=_0x473535,_0x3695c6=AIQuickActionsUI[_0x2dd9a4(0xfb)](this[_0x2dd9a4(0x177)][_0x2dd9a4(0x14b)]),_0x55a626=this[_0x2dd9a4(0x177)][_0x2dd9a4(0x10f)][_0x2dd9a4(0x173)](_0x2dd9a4(0x13b))||[];let _0x175ba6=[];try{_0x175ba6=await new _0x18f143({'connector':this[_0x2dd9a4(0x177)][_0x2dd9a4(0x11b)][_0x2dd9a4(0x173)](_0x2dd9a4(0x15b)),'availableModels':this[_0x2dd9a4(0x177)][_0x2dd9a4(0x10f)][_0x2dd9a4(0x173)](_0x2dd9a4(0x14f))})[_0x2dd9a4(0x134)]();}catch(_0x1c1e50){const _0xf9ae31=new _0x4fa506(_0x2dd9a4(0x10d),this,{'error':_0x1c1e50});_0x5b7dcb(_0xf9ae31[_0x2dd9a4(0xea)]);}finally{const _0x3580e4=_0x55a626[_0x2dd9a4(0x175)](_0x3375f0=>({..._0x3375f0,'icon':void 0x0}));_0x3695c6[_0x2dd9a4(0x117)](_0x39c8bc=>_0x2dd9a4(0x161)===_0x39c8bc['id'])[_0x2dd9a4(0x16e)][_0x2dd9a4(0x165)](..._0x3580e4),_0x3695c6[_0x2dd9a4(0x123)](_0x13123a=>{const _0xf3ae6c=_0x2dd9a4;if(_0xf3ae6c(0x16e)in _0x13123a)_0x13123a[_0xf3ae6c(0x16e)][_0xf3ae6c(0x123)](_0x5ed823=>{const _0x30e1a7=_0xf3ae6c;if(_0x5ed823[_0x30e1a7(0x179)]=!!_0x175ba6[_0x30e1a7(0x117)](_0x2b88df=>_0x2b88df['id']===_0x5ed823[_0x30e1a7(0x17f)])||void 0x0===_0x5ed823[_0x30e1a7(0x17f)],!_0x5ed823[_0x30e1a7(0x179)]){const _0x479e04=new _0x4fa506(_0x30e1a7(0x176),this,{'actionId':_0x5ed823['id'],'modelId':_0x5ed823[_0x30e1a7(0x17f)]});_0x5b7dcb(_0x479e04[_0x30e1a7(0xea)]);}});else{if(_0x13123a[_0xf3ae6c(0x179)]=!!_0x175ba6[_0xf3ae6c(0x117)](_0x42acab=>_0x42acab['id']===_0x13123a[_0xf3ae6c(0x17f)])||void 0x0===_0x13123a[_0xf3ae6c(0x17f)],!_0x13123a[_0xf3ae6c(0x179)]){const _0x596cb8=new _0x4fa506(_0xf3ae6c(0x176),this,{'actionId':_0x13123a['id'],'modelId':_0x13123a[_0xf3ae6c(0x17f)]});_0x5b7dcb(_0x596cb8[_0xf3ae6c(0xea)]);}}});}return _0x3695c6;}[_0x473535(0x129)](){const _0x42ebb6=_0x473535,_0x230086=new _0x32cbd1(this[_0x42ebb6(0x177)][_0x42ebb6(0x14b)]);_0x230086[_0x42ebb6(0x181)](),this[_0x42ebb6(0xfa)](_0x230086),this[_0x42ebb6(0x105)](),this[_0x42ebb6(0x125)](_0x230086);}[_0x473535(0xfa)](_0x4d9284){const _0x18fab2=_0x473535,_0x3ed380=this[_0x18fab2(0x177)][_0x18fab2(0x10f)][_0x18fab2(0x173)](_0x18fab2(0x114))??!0x0;this[_0x18fab2(0x177)]['ui'][_0x18fab2(0x109)][_0x18fab2(0x147)](_0x18fab2(0x101),_0x3e2283({'editor':this[_0x18fab2(0x177)],'content':this[_0x18fab2(0x102)],'buttonDefinition':{'icon':_0x3a3e55,'label':_0x44cbba(this[_0x18fab2(0x177)][_0x18fab2(0x14b)],_0x18fab2(0x15e))},'bodyCollection':_0x4d9284,'hasSearch':_0x3ed380}));}[_0x473535(0x14e)](_0x212988){const _0x375207=_0x473535;this[_0x375207(0x102)]=_0x212988[_0x375207(0x175)](_0x5d2b1d=>{const _0xffc035=_0x375207;if(_0xffc035(0x16e)in _0x5d2b1d){const _0x5665e2=_0x5d2b1d;return{..._0x5665e2,'actions':_0x5665e2[_0xffc035(0x16e)][_0xffc035(0x175)](_0x4bfff4=>{const {actions:_0x4a96b2,..._0x147716}=_0x5665e2;return{..._0x4bfff4,'parent':_0x147716};})[_0xffc035(0x13a)](_0x6b823f=>this[_0xffc035(0x124)](_0x6b823f))};}return _0x5d2b1d;})[_0x375207(0x13a)](_0x38c3d3=>_0x375207(0x16e)in _0x38c3d3?_0x38c3d3[_0x375207(0x16e)][_0x375207(0x17e)]>0x0:this[_0x375207(0x124)](_0x38c3d3));}[_0x473535(0x124)](_0x18c989){const _0x5c4d27=_0x473535,_0x54b07b=this[_0x5c4d27(0x177)][_0x5c4d27(0x10f)][_0x5c4d27(0x173)](_0x5c4d27(0x106))||[];return this[_0x5c4d27(0x177)][_0x5c4d27(0x11b)][_0x5c4d27(0x145)](AIQuickActionTypeToPluginName[_0x18c989[_0x5c4d27(0x149)]])&&!_0x54b07b[_0x5c4d27(0x10a)](_0x18c989['id']);}[_0x473535(0x125)](_0x54a793){const _0x57cc87=_0x473535;this[_0x57cc87(0x102)][_0x57cc87(0x123)](_0x59ddb5=>{const _0x414bf8=_0x57cc87;if(_0x414bf8(0x16e)in _0x59ddb5){const _0x4f772e=_0x3e2283({'editor':this[_0x414bf8(0x177)],'content':_0x59ddb5[_0x414bf8(0x16e)],'buttonDefinition':_0x59ddb5,'bodyCollection':_0x54a793});this[_0x414bf8(0x177)]['ui'][_0x414bf8(0x109)][_0x414bf8(0x147)](_0x59ddb5['id'],_0x4f772e),_0x59ddb5[_0x414bf8(0x16e)][_0x414bf8(0x123)](_0x18993f=>{const _0x3bf0c2=_0x414bf8,_0x5cdd4e=_0x1c80c8({'editor':this[_0x3bf0c2(0x177)],'action':_0x18993f});this[_0x3bf0c2(0x177)]['ui'][_0x3bf0c2(0x109)][_0x3bf0c2(0x147)](_0x18993f['id'],_0x5cdd4e);});}else{const _0x397dc7=_0x1c80c8({'editor':this[_0x414bf8(0x177)],'action':_0x59ddb5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x414bf8(0x177)]['ui'][_0x414bf8(0x109)][_0x414bf8(0x147)](_0x59ddb5['id'],_0x397dc7);}});}[_0x473535(0x105)](){const _0x2ab0dc=_0x473535;this[_0x2ab0dc(0x177)]['ui'][_0x2ab0dc(0x109)][_0x2ab0dc(0x147)](_0x2ab0dc(0xfd),_0x29e416=>{const _0x3d19e9=_0x2ab0dc,_0xbd82cd=new _0x184759(_0x29e416),_0x48cbef=_0x44cbba(_0x29e416,_0x3d19e9(0x15e));_0xbd82cd[_0x3d19e9(0xec)][_0x3d19e9(0xf8)]({'label':_0x48cbef,'icon':_0x3a3e55});const _0x22b4f0=new _0x358c51(_0x29e416);_0x22b4f0[_0x3d19e9(0xf8)]({'ariaLabel':_0x48cbef,'role':_0x3d19e9(0x14d)}),this[_0x3d19e9(0x102)][_0x3d19e9(0x123)](_0x357693=>{const _0x2c0c1f=_0x3d19e9;if(_0x2c0c1f(0x16e)in _0x357693){const _0x227bcc=_0x357693,_0x5072a2=new _0x439ce9(_0x29e416,_0xbd82cd),_0xafa16b=new _0x184759(_0x29e416),_0x1157b5=new _0x358c51(_0x29e416);_0xafa16b[_0x2c0c1f(0xec)][_0x2c0c1f(0xf8)]({'label':_0x227bcc[_0x2c0c1f(0x15f)],'icon':_0x227bcc[_0x2c0c1f(0x126)]}),_0x227bcc[_0x2c0c1f(0x16e)][_0x2c0c1f(0x123)](_0x5380e7=>{const _0x52aea0=_0x2c0c1f,_0x458260=new _0x439ce9(_0x29e416,_0xafa16b),_0x33a28d=new _0x2e9108(_0x29e416);_0x33a28d[_0x52aea0(0xf8)]({'label':_0x5380e7[_0x52aea0(0x15c)],'icon':_0x5380e7[_0x52aea0(0x126)],'role':_0x52aea0(0x143),'isEnabled':_0x5380e7[_0x52aea0(0x179)]}),_0x33a28d['on'](_0x52aea0(0x156),()=>{const _0xa8b92a=_0x52aea0;this[_0xa8b92a(0xf7)](_0x5380e7);}),_0x33a28d[_0x52aea0(0x140)](_0x52aea0(0x156))['to'](_0xafa16b),_0x458260[_0x52aea0(0xf5)][_0x52aea0(0x147)](_0x33a28d),_0x1157b5[_0x52aea0(0xf9)][_0x52aea0(0x147)](_0x458260);}),_0xafa16b[_0x2c0c1f(0x130)][_0x2c0c1f(0xf5)][_0x2c0c1f(0x147)](_0x1157b5),_0x5072a2[_0x2c0c1f(0xf5)][_0x2c0c1f(0x147)](_0xafa16b),_0x22b4f0[_0x2c0c1f(0xf9)][_0x2c0c1f(0x147)](_0x5072a2);}else{const _0x3844d6=_0x357693,_0x5af06c=new _0x439ce9(_0x29e416,_0xbd82cd),_0x17c117=new _0x2e9108(_0x29e416);_0x17c117[_0x2c0c1f(0xf8)]({'label':_0x3844d6[_0x2c0c1f(0x15c)],'icon':_0x3844d6[_0x2c0c1f(0x126)],'role':_0x2c0c1f(0x143),'isEnabled':_0x3844d6[_0x2c0c1f(0x179)]}),_0x17c117['on'](_0x2c0c1f(0x156),()=>{const _0x5a9621=_0x2c0c1f;this[_0x5a9621(0xf7)](_0x3844d6);}),_0x17c117[_0x2c0c1f(0x140)](_0x2c0c1f(0x156))['to'](_0xbd82cd),_0x5af06c[_0x2c0c1f(0xf5)][_0x2c0c1f(0x147)](_0x17c117),_0x22b4f0[_0x2c0c1f(0xf9)][_0x2c0c1f(0x147)](_0x5af06c);}});const _0x56f4c7=Object[_0x3d19e9(0x139)](AIQuickActionTypeToPluginName)[_0x3d19e9(0xf4)](_0x49303d=>this[_0x3d19e9(0x177)][_0x3d19e9(0x11b)][_0x3d19e9(0x145)](_0x49303d));return _0xbd82cd[_0x3d19e9(0xf8)]({'isEnabled':_0x56f4c7}),_0xbd82cd[_0x3d19e9(0x130)][_0x3d19e9(0xf5)][_0x3d19e9(0x147)](_0x22b4f0),_0xbd82cd;});}[_0x473535(0xf7)](_0x6e91a5){const _0x29c7dd=_0x473535,_0xd8e9d9=this[_0x29c7dd(0x177)];_0xd8e9d9[_0x29c7dd(0x16b)][_0x29c7dd(0x183)][_0x29c7dd(0x157)](),_0xd8e9d9[_0x29c7dd(0x17b)][_0x29c7dd(0x156)](_0x29c7dd(0x17a),_0x6e91a5);const _0x1cf952=_0xd8e9d9['ui'][_0x29c7dd(0x183)][_0x29c7dd(0x171)];_0x1cf952&&_0x1cf952[_0x29c7dd(0x152)]&&_0x1cf952[_0x29c7dd(0x152)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x18c969,_0x126068){const _0x1b9efb=_0x1e13,_0x4dac4a=_0x18c969();while(!![]){try{const _0x5105fa=parseInt(_0x1b9efb(0x1bd))/0x1+parseInt(_0x1b9efb(0x1b5))/0x2+parseInt(_0x1b9efb(0x1b7))/0x3+-parseInt(_0x1b9efb(0x1ba))/0x4+parseInt(_0x1b9efb(0x1c2))/0x5+parseInt(_0x1b9efb(0x1b3))/0x6+-parseInt(_0x1b9efb(0x1b6))/0x7*(parseInt(_0x1b9efb(0x1c1))/0x8);if(_0x5105fa===_0x126068)break;else _0x4dac4a['push'](_0x4dac4a['shift']());}catch(_0x3652d1){_0x4dac4a['push'](_0x4dac4a['shift']());}}}(_0x343f,0x1c965));function _0x1e13(_0x519072,_0x1ceff6){const _0x343f8b=_0x343f();return _0x1e13=function(_0x1e1333,_0x37ecfc){_0x1e1333=_0x1e1333-0x1b1;let _0x2f125a=_0x343f8b[_0x1e1333];return _0x2f125a;},_0x1e13(_0x519072,_0x1ceff6);}import{ButtonView as _0x6c64db}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xa16ca4}from'@ckeditor/ckeditor5-icons';function _0x343f(){const _0xcaf76=['190636TBsqZq','826cKQFBl','651060ubDpJR','menuitem','commands','876816JJQupk','aiQuickAction','locale','224874EuOQMm','extendTemplate','editing','execute','23816sSqucL','16295xPfGZr','ck-ai-quick-actions-button','icon','focus','set','displayedPrompt','view','isEnabled','parent','882672SHjSxU','bindTemplate'];_0x343f=function(){return _0xcaf76;};return _0x343f();}export function aiQuickActionsButtonCreator(_0x4c238f){const {editor:_0x1baa4a,action:_0x1fcc6c,withText:_0x3e0c35=!0x1,withIcon:_0x5e3109=!0x0,isInDropdown:_0x93841f=!0x0,shouldPreventFocus:_0x3b4ea4=!0x1}=_0x4c238f;return()=>{const _0x23454e=_0x1e13,_0x5acd30=_0x1baa4a[_0x23454e(0x1bc)],_0x53fc53=new _0x6c64db(_0x5acd30),_0xfb7942=_0x53fc53[_0x23454e(0x1b4)];_0x93841f&&_0x53fc53[_0x23454e(0x1be)]({'on':{'mouseenter':_0xfb7942['to'](()=>{const _0x17b26b=_0x23454e;_0x3b4ea4&&_0x3b4ea4()||_0x53fc53[_0x17b26b(0x1c5)]();})}});const _0x1a7232=_0x1fcc6c[_0x23454e(0x1c4)]??_0x1fcc6c[_0x23454e(0x1b2)]?.[_0x23454e(0x1c4)];return _0x53fc53[_0x23454e(0x1c6)]({'label':_0x1fcc6c[_0x23454e(0x1c7)],'withText':_0x3e0c35,'role':_0x23454e(0x1b8),'icon':_0x5e3109?_0x1a7232??_0xa16ca4:void 0x0,'tooltip':!_0x3e0c35,'class':_0x23454e(0x1c3),'isEnabled':_0x1fcc6c[_0x23454e(0x1b1)]}),_0x53fc53['on'](_0x23454e(0x1c0),()=>{const _0x5e1d22=_0x23454e;_0x1baa4a[_0x5e1d22(0x1bf)][_0x5e1d22(0x1c8)][_0x5e1d22(0x1c5)](),_0x1baa4a[_0x5e1d22(0x1b9)][_0x5e1d22(0x1c0)](_0x5e1d22(0x1bb),_0x1fcc6c);}),_0x53fc53;};}
23
+ function _0x5f1c(_0x2d0d86,_0x3d4c15){const _0x17d587=_0x17d5();return _0x5f1c=function(_0x5f1c7f,_0x25444b){_0x5f1c7f=_0x5f1c7f-0x87;let _0x1eef56=_0x17d587[_0x5f1c7f];return _0x1eef56;},_0x5f1c(_0x2d0d86,_0x3d4c15);}function _0x17d5(){const _0x3c6d32=['parent','menuitem','execute','extendTemplate','view','set','6955355rBmCrv','displayedPrompt','3740859pzhsca','44296wcLTAD','647464vlgCSN','aiQuickAction','bindTemplate','commands','isEnabled','locale','ck-ai-quick-actions-button','icon','24djoKOF','editing','4931382Ekzpje','20joDScR','14ReoqWT','5031455rfLZPG','4019367MFvSry','focus','2QLtwYj'];_0x17d5=function(){return _0x3c6d32;};return _0x17d5();}(function(_0xfbc5f8,_0xd59599){const _0x474de2=_0x5f1c,_0x40b6bc=_0xfbc5f8();while(!![]){try{const _0x7f795c=parseInt(_0x474de2(0x96))/0x1*(-parseInt(_0x474de2(0xa0))/0x2)+-parseInt(_0x474de2(0x94))/0x3+-parseInt(_0x474de2(0xa1))/0x4+-parseInt(_0x474de2(0x9d))/0x5+parseInt(_0x474de2(0x90))/0x6*(parseInt(_0x474de2(0x92))/0x7)+-parseInt(_0x474de2(0x8e))/0x8*(-parseInt(_0x474de2(0x9f))/0x9)+-parseInt(_0x474de2(0x91))/0xa*(-parseInt(_0x474de2(0x93))/0xb);if(_0x7f795c===_0xd59599)break;else _0x40b6bc['push'](_0x40b6bc['shift']());}catch(_0x2d196b){_0x40b6bc['push'](_0x40b6bc['shift']());}}}(_0x17d5,0xd40b7));import{ButtonView as _0x28de50}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2684dc}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x14e412){const {editor:_0xd276bd,action:_0x570518,withText:_0xf62bbc=!0x1,withIcon:_0x473c97=!0x0,isInDropdown:_0xaafe3=!0x0,shouldPreventFocus:_0x181e18=!0x1}=_0x14e412;return()=>{const _0x3fe1d1=_0x5f1c,_0x2ad784=_0xd276bd[_0x3fe1d1(0x8b)],_0x2080ab=new _0x28de50(_0x2ad784),_0x1ad0ae=_0x2080ab[_0x3fe1d1(0x88)];_0xaafe3&&_0x2080ab[_0x3fe1d1(0x9a)]({'on':{'mouseenter':_0x1ad0ae['to'](()=>{const _0x43780b=_0x3fe1d1;_0x181e18&&_0x181e18()||_0x2080ab[_0x43780b(0x95)]();})}});const _0x37eaa9=_0x570518[_0x3fe1d1(0x8d)]??_0x570518[_0x3fe1d1(0x97)]?.[_0x3fe1d1(0x8d)];return _0x2080ab[_0x3fe1d1(0x9c)]({'label':_0x570518[_0x3fe1d1(0x9e)],'withText':_0xf62bbc,'role':_0x3fe1d1(0x98),'icon':_0x473c97?_0x37eaa9??_0x2684dc:void 0x0,'tooltip':!_0xf62bbc,'class':_0x3fe1d1(0x8c),'isEnabled':_0x570518[_0x3fe1d1(0x8a)]}),_0x2080ab['on'](_0x3fe1d1(0x99),()=>{const _0x457f10=_0x3fe1d1;_0xd276bd[_0x457f10(0x8f)][_0x457f10(0x9b)][_0x457f10(0x95)](),_0xd276bd[_0x457f10(0x89)][_0x457f10(0x99)](_0x457f10(0x87),_0x570518);}),_0x2080ab;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x918bd=_0x385e;(function(_0x231ebb,_0xb1a076){const _0x150f23=_0x385e,_0x577c3f=_0x231ebb();while(!![]){try{const _0x5304e1=-parseInt(_0x150f23(0x1f8))/0x1+-parseInt(_0x150f23(0x1d5))/0x2*(parseInt(_0x150f23(0x1a0))/0x3)+parseInt(_0x150f23(0x213))/0x4+-parseInt(_0x150f23(0x1ed))/0x5+parseInt(_0x150f23(0x218))/0x6+-parseInt(_0x150f23(0x1c2))/0x7+parseInt(_0x150f23(0x1e7))/0x8*(parseInt(_0x150f23(0x1e2))/0x9);if(_0x5304e1===_0xb1a076)break;else _0x577c3f['push'](_0x577c3f['shift']());}catch(_0x2877ed){_0x577c3f['push'](_0x577c3f['shift']());}}}(_0x547e,0xdd2b9));import{View as _0x3638cd,ListItemView as _0x40222b,ListView as _0x3a44a9,BalloonPanelView as _0x5a4e79,DropdownMenuPanelPositioningFunctions as _0x1fcf45,ViewCollection as _0x39b30e,FocusCycler as _0x1e9565,ButtonView as _0x13db5e,IconView as _0x5c2fbc,HighlightedTextView as _0x6140f3,ButtonLabelWithHighlightView as _0x4f1b02,SearchTextView as _0x42b25e}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x332d74}from'@ckeditor/ckeditor5-icons';function _0x385e(_0x327d62,_0x324b89){const _0x547efa=_0x547e();return _0x385e=function(_0x385e7a,_0x3fe018){_0x385e7a=_0x385e7a-0x1a0;let _0x287159=_0x547efa[_0x385e7a];return _0x287159;},_0x385e(_0x327d62,_0x324b89);}import{FocusTracker as _0x2b33a3,KeystrokeHandler as _0x242a5f}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x2c6f55}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x5c924c}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x218172}from'../../aicore/utils/common-translations.js';function _0x547e(){const _0x407e7f=['children','icon','_showNestedPanel','some','3ptQCBo','_hideNestedPanel','push','ArrowLeft','ck-ai-quick-actions-search-result__group-row','ck-ai-quick-actions-button__group-icon','optionsListView','hide','execute','ck-reset_all','_createSearchResultActionRow','get','_getPanelKeystroke','_handlePanelKeydown','ck-ai-quick-actions-search-result__action-row','_createSearchResultContentView','key','_createSearchResultGroupRow','_createGroupActionsList','fieldView','ck-ai-quick-actions-group-panel','addMany','_setupActionButtonExecution','parent','bindTemplate','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group__open-paren','commands','set','_createListItems','reset','rtl','focusTracker','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','8660736ZjAKNy','queryView','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','ArrowRight','ck-ai-quick-actions-search-result__content','content','_isSearchFocused','element','ck-ai-quick-actions-group-list','_setupGroupMenuBehavior','ck-dropdown-menu-list','AI_QUICK_ACTIONS_SEARCH','_createSearchTextView','.ck-ai-quick-actions-group-panel','label','fire','actions','ck-ai-quick-actions-group-button','addEventListener','2832706lVnwxD','_createActionButton','role','span','ck-ai-quick-actions-button_with-group','eastSouth','closest','.ck-ai-quick-actions-group-button','isEnabled','focusCycler','_isMovingToNestedMenu','_allSearchableItems','forEach','189BfHQlE','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_bodyCollection','bind','editing','1110696SNNAfd','_focusables','delete','aiQuickAction','_getButtonKeystroke','ck-ai-quick-actions-search-result-button','6075180mBNEIa','uiLanguageDirection','_searchTextView','destroy','add','_hideAllNestedPanels','mouseleave','menu','text','.ck-ai-quick-actions-group-list','items','47195OLsQvo','detachFromDom','button','chain','activeElement','keystrokes','extendTemplate','view','render','ck-rounded-corners','displayedPrompt','ck-ai-quick-actions-search','locale','contains','focus','ck-button','clear','ck-ai-quick-actions','_createActionGroupButton','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-search-result-button_with-group','ownerDocument','ck-ai-quick-actions-button_with-group__close-paren','_createSearchResultActionButton','pin','relatedTarget','setTemplate','6946076MLwNax','menuitem','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_createSearchResultGroupedActionButton','_createSearchResultIndividualActionButton','1017894dGtxsU','resetSearch','_handleSearchResultButtonClick','first','ck-button_with-text','_hasSearch','_openNestedPanels','isOn','isVisible','show','div'];_0x547e=function(){return _0x407e7f;};return _0x547e();}import{AIQuickActionsFilteredListView as _0x121891}from'./aiquickactionsfilteredlistview.js';const ys=_0x918bd(0x1f4),Ts=_0x918bd(0x214);export class AIQuickActionsDropdownContentView extends _0x3638cd{[_0x918bd(0x1e4)];[_0x918bd(0x1a6)];[_0x918bd(0x1ef)]=null;[_0x918bd(0x1e0)]=[];[_0x918bd(0x223)];[_0x918bd(0x1c0)];[_0x918bd(0x1fd)];[_0x918bd(0x1e8)];[_0x918bd(0x1de)];[_0x918bd(0x21e)]=new Set();[_0x918bd(0x21d)];constructor(_0x597686,_0x5b219e,_0xbe1d6,_0x470b18,_0x51a017=!0x1){const _0x2f71f6=_0x918bd,_0xab24a=_0x597686[_0x2f71f6(0x204)];super(_0xab24a),this[_0x2f71f6(0x1e4)]=_0x470b18,this[_0x2f71f6(0x21d)]=_0x51a017;const _0x38b4db=this[_0x2f71f6(0x1bd)](_0x597686,_0x5b219e,_0xbe1d6);this[_0x2f71f6(0x1a6)]=new _0x121891(_0xab24a,_0x38b4db,this[_0x2f71f6(0x1e0)]),this[_0x2f71f6(0x1a6)][_0x2f71f6(0x1d7)]=ys,this[_0x2f71f6(0x1a6)][_0x2f71f6(0x1f7)][_0x2f71f6(0x1b5)](_0x38b4db),this[_0x2f71f6(0x1c0)]=new _0x2b33a3(),this[_0x2f71f6(0x1fd)]=new _0x242a5f(),_0x51a017&&(this[_0x2f71f6(0x1ef)]=this[_0x2f71f6(0x1ce)]()),this[_0x2f71f6(0x1e8)]=_0x38b4db,this[_0x2f71f6(0x1de)]=new _0x1e9565({'focusables':this[_0x2f71f6(0x1e8)],'focusTracker':this[_0x2f71f6(0x1c0)],'keystrokeHandler':this[_0x2f71f6(0x1fd)]}),_0x51a017&&this[_0x2f71f6(0x1ef)]&&this[_0x2f71f6(0x1de)][_0x2f71f6(0x1fb)](this[_0x2f71f6(0x1ef)][_0x2f71f6(0x1de)]);const _0x126e4a=_0x51a017&&this[_0x2f71f6(0x1ef)]?[this[_0x2f71f6(0x1ef)]]:[this[_0x2f71f6(0x1a6)]];this[_0x2f71f6(0x223)]=new _0x39b30e(_0x126e4a),this[_0x2f71f6(0x212)]({'tag':_0x2f71f6(0x222),'attributes':{'class':['ck',_0x2f71f6(0x1a9),_0x2f71f6(0x209),_0x2f71f6(0x201)],'dir':_0xab24a[_0x2f71f6(0x1ee)]},'children':this[_0x2f71f6(0x223)]});}[_0x918bd(0x1ce)](){const _0x3f3b6f=_0x918bd;return new _0x42b25e(this[_0x3f3b6f(0x204)],{'filteredView':this[_0x3f3b6f(0x1a6)],'queryView':{'label':_0x218172(this[_0x3f3b6f(0x204)],_0x3f3b6f(0x1cd))},'class':_0x3f3b6f(0x203),'infoView':{'text':{'notFound':{'primary':_0x218172(this[_0x3f3b6f(0x204)],_0x3f3b6f(0x215))}}}});}[_0x918bd(0x1c8)](){const _0x3f58e3=_0x918bd;if(!this[_0x3f58e3(0x21d)]||!this[_0x3f58e3(0x1ef)]||!this[_0x3f58e3(0x1ef)][_0x3f58e3(0x1c3)][_0x3f58e3(0x1b3)][_0x3f58e3(0x1c9)])return!0x1;const _0x2616c6=this[_0x3f58e3(0x1ef)][_0x3f58e3(0x1c3)][_0x3f58e3(0x1b3)][_0x3f58e3(0x1c9)][_0x3f58e3(0x20d)]?.[_0x3f58e3(0x1fc)];return this[_0x3f58e3(0x1ef)][_0x3f58e3(0x1c3)][_0x3f58e3(0x1b3)][_0x3f58e3(0x1c9)][_0x3f58e3(0x205)](_0x2616c6);}[_0x918bd(0x1bd)](_0x43e8f1,_0x3232e9,_0x3e13ff){const _0x3b1a97=_0x918bd,_0x22fca0=new _0x39b30e();return _0x3232e9[_0x3b1a97(0x1e1)](_0xe8dd77=>{const _0x12131c=_0x3b1a97;if(_0x12131c(0x1d2)in _0xe8dd77){const {listItem:_0x39ec36}=this[_0x12131c(0x20a)](_0x43e8f1,_0xe8dd77,_0x3e13ff);_0x22fca0[_0x12131c(0x1f1)](_0x39ec36),_0xe8dd77[_0x12131c(0x1d2)][_0x12131c(0x1e1)](_0x4a88fc=>{const _0x30410a=_0x12131c;this[_0x30410a(0x1d6)](_0x43e8f1,_0x4a88fc,_0xe8dd77[_0x30410a(0x1d0)],_0xe8dd77[_0x30410a(0x224)]);const {listItem:_0x594d8a,highlightViews:_0x438f69}=this[_0x30410a(0x20f)](_0x43e8f1,_0x4a88fc,_0xe8dd77[_0x30410a(0x1d0)],_0xe8dd77[_0x30410a(0x224)]);this[_0x30410a(0x1e0)][_0x30410a(0x1a2)]({'item':_0x594d8a,'label':_0x4a88fc[_0x30410a(0x202)],'groupLabel':_0xe8dd77[_0x30410a(0x1d0)],'highlightViews':_0x438f69});});}else{const {listItem:_0x5abb08}=this[_0x12131c(0x1d6)](_0x43e8f1,_0xe8dd77);_0x22fca0[_0x12131c(0x1f1)](_0x5abb08);const _0x238705=_0x5abb08[_0x12131c(0x223)][_0x12131c(0x21b)];if(_0x238705){const {listItem:_0x2734fc,highlightViews:_0x2ede40}=this[_0x12131c(0x20f)](_0x43e8f1,_0xe8dd77);this[_0x12131c(0x1e0)][_0x12131c(0x1a2)]({'item':_0x2734fc,'label':_0x238705[_0x12131c(0x1d0)]||'','highlightViews':_0x2ede40});}}}),_0x22fca0;}[_0x918bd(0x1d6)](_0x8ca381,_0x14441f,_0x40ab62,_0x4c2771){const _0x495eee=_0x918bd,_0x2b5e31=new _0x40222b(this[_0x495eee(0x204)]);if(_0x40ab62&&_0x4c2771){const _0x50bdf3=new _0x13db5e(this[_0x495eee(0x204)]),_0x4701f8=_0x50bdf3[_0x495eee(0x1b8)],_0x3a392a=new _0x6140f3();_0x3a392a[_0x495eee(0x1f5)]=_0x14441f[_0x495eee(0x202)];const _0x4670e0=new _0x6140f3();_0x4670e0[_0x495eee(0x1f5)]=_0x40ab62;const _0x34016f=new _0x5c2fbc();_0x34016f[_0x495eee(0x1c7)]=_0x4c2771,_0x34016f[_0x495eee(0x1fe)]({'attributes':{'class':_0x495eee(0x1a5)}});const _0xe0c3c8=new _0x3638cd(this[_0x495eee(0x204)]);_0xe0c3c8[_0x495eee(0x212)]({'tag':_0x495eee(0x1d8),'attributes':{'class':_0x495eee(0x1ba)},'children':[{'text':'\x20('}]});const _0x18862b=new _0x3638cd(this[_0x495eee(0x204)]);return _0x18862b[_0x495eee(0x212)]({'tag':_0x495eee(0x1d8),'attributes':{'class':_0x495eee(0x20e)},'children':[{'text':')'}]}),_0x50bdf3[_0x495eee(0x1bc)]({'label':_0x14441f[_0x495eee(0x202)]+'\x20('+_0x40ab62+')','withText':!0x0,'role':_0x495eee(0x214),'class':_0x495eee(0x1c4),'tooltip':!0x1}),_0x50bdf3[_0x495eee(0x212)]({'tag':_0x495eee(0x1fa),'attributes':{'class':['ck',_0x495eee(0x207),_0x495eee(0x21c),_0x495eee(0x1b9),_0x495eee(0x1d9)],'type':_0x495eee(0x1fa),'role':_0x495eee(0x214),'tabindex':'-1'},'children':[_0x3a392a,_0xe0c3c8,_0x34016f,_0x4670e0,_0x18862b],'on':{'mouseenter':_0x4701f8['to'](()=>{const _0x31ac42=_0x495eee;this[_0x31ac42(0x1c8)]()||_0x50bdf3[_0x31ac42(0x206)]();}),'click':_0x4701f8['to'](()=>{const _0x3af398=_0x495eee;_0x50bdf3[_0x3af398(0x1d1)](_0x3af398(0x1a8));})}}),_0x50bdf3['on'](_0x495eee(0x1a8),()=>{const _0x3fdb8d=_0x495eee;_0x8ca381[_0x3fdb8d(0x1e6)][_0x3fdb8d(0x1ff)][_0x3fdb8d(0x206)](),_0x8ca381[_0x3fdb8d(0x1bb)][_0x3fdb8d(0x1a8)](_0x3fdb8d(0x1ea),_0x14441f);}),_0x2b5e31[_0x495eee(0x223)][_0x495eee(0x1f1)](_0x50bdf3),{'listItem':_0x2b5e31,'highlightViews':[_0x3a392a,_0x4670e0]};}{const _0x44a5ec=new _0x4f1b02(),_0x4f68c2=new _0x13db5e(this[_0x495eee(0x204)],_0x44a5ec),_0x14a947=_0x4f68c2[_0x495eee(0x1b8)],_0x3c5153=_0x14441f[_0x495eee(0x224)]??_0x14441f[_0x495eee(0x1b7)]?.[_0x495eee(0x224)],_0x2d7bb8=void 0x0!==_0x14441f[_0x495eee(0x224)];return _0x4f68c2[_0x495eee(0x1bc)]({'label':_0x14441f[_0x495eee(0x202)],'withText':!0x0,'role':_0x495eee(0x214),'icon':_0x2d7bb8?_0x3c5153??_0x332d74:void 0x0,'tooltip':!0x1,'class':_0x495eee(0x1b9)}),_0x4f68c2[_0x495eee(0x1fe)]({'on':{'mouseenter':_0x14a947['to'](()=>{const _0x460235=_0x495eee;this[_0x460235(0x1c8)]()||_0x4f68c2[_0x460235(0x206)]();})}}),_0x4f68c2['on'](_0x495eee(0x1a8),()=>{const _0xf96123=_0x495eee;_0x8ca381[_0xf96123(0x1e6)][_0xf96123(0x1ff)][_0xf96123(0x206)](),_0x8ca381[_0xf96123(0x1bb)][_0xf96123(0x1a8)](_0xf96123(0x1ea),_0x14441f);}),_0x2b5e31[_0x495eee(0x223)][_0x495eee(0x1f1)](_0x4f68c2),{'listItem':_0x2b5e31,'highlightViews':[_0x44a5ec]};}}[_0x918bd(0x20f)](_0x37e14a,_0x51a729,_0x2e28ab,_0x3196c5){const _0x56d8b9=_0x918bd;return _0x2e28ab&&_0x3196c5?this[_0x56d8b9(0x216)](_0x37e14a,_0x51a729,_0x2e28ab,_0x3196c5):this[_0x56d8b9(0x217)](_0x37e14a,_0x51a729);}[_0x918bd(0x216)](_0x2c5fdd,_0xa6ff74,_0x599b1c,_0x2fd159){const _0x470284=_0x918bd,_0x4fa93f=new _0x40222b(this[_0x470284(0x204)]),_0xd6bbd2=new _0x13db5e(this[_0x470284(0x204)]),_0x992aa0=_0xd6bbd2[_0x470284(0x1b8)],{view:_0x39aedf,highlightView:_0x3fd173}=this[_0x470284(0x1b1)](_0x599b1c,_0x2fd159),{view:_0x48332e,highlightView:_0x5466db}=this[_0x470284(0x1aa)](_0xa6ff74[_0x470284(0x202)]),_0x54cbd9=this[_0x470284(0x1af)](_0x39aedf,_0x48332e);return _0xd6bbd2[_0x470284(0x1bc)]({'label':_0xa6ff74[_0x470284(0x202)],'withText':!0x0,'role':_0x470284(0x214),'class':_0x470284(0x1c1),'tooltip':!0x1}),_0xd6bbd2[_0x470284(0x212)]({'tag':_0x470284(0x1fa),'attributes':{'class':['ck',_0x470284(0x207),_0x470284(0x21c),_0x470284(0x1b9),_0x470284(0x1ec),_0x470284(0x20c)],'type':_0x470284(0x1fa),'role':_0x470284(0x214),'tabindex':'-1'},'children':[_0x54cbd9],'on':{'mouseenter':_0x992aa0['to'](()=>{const _0x30a4f3=_0x470284;this[_0x30a4f3(0x1c8)]()||_0xd6bbd2[_0x30a4f3(0x206)]();}),'click':_0x992aa0['to'](()=>{const _0x3e0c7f=_0x470284;this[_0x3e0c7f(0x21a)](_0xd6bbd2);})}}),this[_0x470284(0x1b6)](_0xd6bbd2,_0x2c5fdd,_0xa6ff74),_0x4fa93f[_0x470284(0x223)][_0x470284(0x1f1)](_0xd6bbd2),{'listItem':_0x4fa93f,'highlightViews':[_0x3fd173,_0x5466db]};}[_0x918bd(0x217)](_0x30750d,_0x231ca9){const _0x2d883f=_0x918bd,_0x842f42=new _0x40222b(this[_0x2d883f(0x204)]),_0x3e0209=new _0x4f1b02(),_0x2f7539=new _0x13db5e(this[_0x2d883f(0x204)],_0x3e0209),_0x2b354b=_0x2f7539[_0x2d883f(0x1b8)];return _0x2f7539[_0x2d883f(0x1bc)]({'label':_0x231ca9[_0x2d883f(0x202)],'withText':!0x0,'role':_0x2d883f(0x214),'icon':void 0x0,'tooltip':!0x1,'class':_0x2d883f(0x1e3)}),_0x2f7539[_0x2d883f(0x1fe)]({'on':{'mouseenter':_0x2b354b['to'](()=>{const _0x3f01de=_0x2d883f;this[_0x3f01de(0x1c8)]()||_0x2f7539[_0x3f01de(0x206)]();})}}),this[_0x2d883f(0x1b6)](_0x2f7539,_0x30750d,_0x231ca9),_0x842f42[_0x2d883f(0x223)][_0x2d883f(0x1f1)](_0x2f7539),{'listItem':_0x842f42,'highlightViews':[_0x3e0209]};}[_0x918bd(0x1b1)](_0xabe77b,_0x46bc9b){const _0x5aed52=_0x918bd,_0x4db9fc=new _0x3638cd(this[_0x5aed52(0x204)]),_0x38fbfc=new _0x5c2fbc();_0x38fbfc[_0x5aed52(0x1c7)]=_0x46bc9b,_0x38fbfc[_0x5aed52(0x1fe)]({'attributes':{'class':_0x5aed52(0x1a5)}});const _0x27186a=new _0x6140f3();return _0x27186a[_0x5aed52(0x1f5)]=_0xabe77b,_0x4db9fc[_0x5aed52(0x212)]({'tag':_0x5aed52(0x222),'attributes':{'class':_0x5aed52(0x1a4)},'children':[_0x38fbfc,_0x27186a]}),{'view':_0x4db9fc,'highlightView':_0x27186a};}[_0x918bd(0x1aa)](_0x1e0fc3){const _0x40589c=_0x918bd,_0x5ccfd0=new _0x3638cd(this[_0x40589c(0x204)]),_0xde6031=new _0x6140f3();return _0xde6031[_0x40589c(0x1f5)]=_0x1e0fc3,_0x5ccfd0[_0x40589c(0x212)]({'tag':_0x40589c(0x222),'attributes':{'class':_0x40589c(0x1ae)},'children':[_0xde6031]}),{'view':_0x5ccfd0,'highlightView':_0xde6031};}[_0x918bd(0x1af)](_0x43b07a,_0xc49ef7){const _0x32ae94=_0x918bd,_0x3e4f54=new _0x3638cd(this[_0x32ae94(0x204)]);return _0x3e4f54[_0x32ae94(0x212)]({'tag':_0x32ae94(0x222),'attributes':{'class':_0x32ae94(0x1c6)},'children':[_0x43b07a,_0xc49ef7]}),_0x3e4f54;}[_0x918bd(0x1b6)](_0x52a80e,_0x9830f6,_0x101245){const _0x172cb1=_0x918bd;_0x52a80e['on'](_0x172cb1(0x1a8),()=>{const _0x23a6f9=_0x172cb1;_0x9830f6[_0x23a6f9(0x1e6)][_0x23a6f9(0x1ff)][_0x23a6f9(0x206)](),_0x9830f6[_0x23a6f9(0x1bb)][_0x23a6f9(0x1a8)](_0x23a6f9(0x1ea),_0x101245);});}[_0x918bd(0x20a)](_0x183d0f,_0x3acf33,_0x101c30){const _0xa26ccb=_0x918bd,_0x186a76=new _0x40222b(this[_0xa26ccb(0x204)]),_0x1f1cc1=new _0x4f1b02(),_0x531c2b=new _0x5c924c(this[_0xa26ccb(0x204)],_0x1f1cc1),_0x5eca61=_0x531c2b[_0xa26ccb(0x1b8)],_0x33de24=this[_0xa26ccb(0x1ac)](_0x101c30),_0x1bfa0a=this[_0xa26ccb(0x1b2)](_0x183d0f,_0x3acf33[_0xa26ccb(0x1d2)],_0x101c30);_0x531c2b[_0xa26ccb(0x1bc)]({'label':_0x3acf33[_0xa26ccb(0x1d0)],'withText':!0x0,'role':Ts,'icon':_0x3acf33[_0xa26ccb(0x224)]??_0x332d74,'isEnabled':_0x3acf33[_0xa26ccb(0x1d2)][_0xa26ccb(0x226)](_0x4c2de1=>_0x4c2de1[_0xa26ccb(0x1dd)])}),_0x531c2b[_0xa26ccb(0x1fe)]({'on':{'mouseenter':_0x5eca61['to'](()=>{const _0x5ce796=_0xa26ccb;this[_0x5ce796(0x1c8)]()||_0x531c2b[_0x5ce796(0x206)]();})}});const _0x346ed5=new _0x5a4e79(this[_0xa26ccb(0x204)]);return _0x346ed5[_0xa26ccb(0x1fe)]({'attributes':{'class':['ck',_0xa26ccb(0x1a9),_0xa26ccb(0x1b4),_0xa26ccb(0x20b)]},'on':{'keydown':_0x5eca61['to'](_0x595f89=>{const _0xc81e04=_0xa26ccb;this[_0xc81e04(0x1ad)](_0x595f89,_0x33de24,_0x531c2b,_0x346ed5);})}}),_0x531c2b[_0xa26ccb(0x1e5)](_0xa26ccb(0x21f))['to'](_0x346ed5,_0xa26ccb(0x220)),this[_0xa26ccb(0x1e4)][_0xa26ccb(0x1f1)](_0x346ed5),_0x346ed5[_0xa26ccb(0x1c7)][_0xa26ccb(0x1f1)](_0x1bfa0a),this[_0xa26ccb(0x1cb)](_0x531c2b,_0x346ed5),_0x186a76[_0xa26ccb(0x223)][_0xa26ccb(0x1f1)](_0x531c2b),{'listItem':_0x186a76,'highlightView':_0x1f1cc1};}[_0x918bd(0x1b2)](_0x54626a,_0x287db3,_0x3a48dd){const _0xf43aaf=_0x918bd,_0x253d7b=new _0x3a44a9(this[_0xf43aaf(0x204)]);return _0x253d7b[_0xf43aaf(0x1fe)]({'attributes':{'class':['ck',_0xf43aaf(0x1a9),_0xf43aaf(0x1ca),_0xf43aaf(0x1cc)]}}),_0x287db3[_0xf43aaf(0x1e1)](_0x34f753=>{const _0x13c2c5=_0xf43aaf,_0x237243=new _0x40222b(this[_0x13c2c5(0x204)]),_0x2547e4=_0x2c6f55({'editor':_0x54626a,'action':_0x34f753,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x13c2c5(0x1c8)]()})();_0x237243[_0x13c2c5(0x223)][_0x13c2c5(0x1f1)](_0x2547e4),_0x3a48dd[_0x13c2c5(0x1c0)][_0x13c2c5(0x1f1)](_0x2547e4),_0x253d7b[_0x13c2c5(0x1f7)][_0x13c2c5(0x1f1)](_0x237243);}),_0x253d7b;}[_0x918bd(0x1cb)](_0x33e2d7,_0x34aeef){const _0x39f0c5=_0x918bd,_0x455bc9=_0x33e2d7[_0x39f0c5(0x1b8)],_0x1516aa=this[_0x39f0c5(0x1eb)](_0x33e2d7);_0x33e2d7[_0x39f0c5(0x1fe)]({'attributes':{'class':[_0x39f0c5(0x1d3)]},'on':{'mouseenter':_0x455bc9['to'](()=>{const _0x4b1d7f=_0x39f0c5;this[_0x4b1d7f(0x225)](_0x34aeef,_0x33e2d7);}),'mouseleave':_0x455bc9['to'](_0x353407=>{const _0x5d7538=_0x39f0c5,_0x530535=_0x353407[_0x5d7538(0x211)];this[_0x5d7538(0x1df)](_0x530535,_0x34aeef)||this[_0x5d7538(0x1a1)](_0x34aeef);}),'keydown':_0x455bc9['to'](_0x4d78e0=>{const _0x427c96=_0x39f0c5;_0x4d78e0[_0x427c96(0x1b0)]==_0x1516aa&&(this[_0x427c96(0x225)](_0x34aeef,_0x33e2d7),_0x34aeef[_0x427c96(0x1c7)][_0x427c96(0x1ab)](0x0)[_0x427c96(0x206)]());})}}),_0x34aeef['on'](_0x39f0c5(0x200),()=>{const _0x521e56=_0x39f0c5;_0x34aeef[_0x521e56(0x1c9)]?.[_0x521e56(0x1d4)](_0x521e56(0x1f3),_0x534864=>{const _0x44fc0e=_0x521e56,_0x35d133=_0x534864[_0x44fc0e(0x211)];_0x33e2d7[_0x44fc0e(0x1c9)]?.[_0x44fc0e(0x205)](_0x35d133)||this[_0x44fc0e(0x1df)](_0x35d133,_0x34aeef)||this[_0x44fc0e(0x1a1)](_0x34aeef);});});}[_0x918bd(0x225)](_0x4c1c42,_0x5edc17){const _0x5efeb4=_0x918bd;this[_0x5efeb4(0x21e)][_0x5efeb4(0x1e1)](_0x41c175=>{const _0x268c2a=_0x5efeb4;_0x41c175!==_0x4c1c42&&_0x41c175[_0x268c2a(0x220)]&&_0x41c175[_0x268c2a(0x1a7)]();}),_0x4c1c42[_0x5efeb4(0x221)](),_0x4c1c42[_0x5efeb4(0x210)]({'positions':[_0x1fcf45[_0x5efeb4(0x1da)]],'target':_0x5edc17[_0x5efeb4(0x1c9)],'fitInViewport':!0x0}),this[_0x5efeb4(0x21e)][_0x5efeb4(0x1f1)](_0x4c1c42);}[_0x918bd(0x1a1)](_0x368a15){const _0x445b0d=_0x918bd;_0x368a15[_0x445b0d(0x1a7)](),this[_0x445b0d(0x21e)][_0x445b0d(0x1e9)](_0x368a15);}[_0x918bd(0x1f2)](){const _0x3877e6=_0x918bd;this[_0x3877e6(0x21e)][_0x3877e6(0x1e1)](_0x4d5c08=>_0x4d5c08[_0x3877e6(0x1a7)]()),this[_0x3877e6(0x21e)][_0x3877e6(0x208)]();}[_0x918bd(0x1df)](_0x1da211,_0x313dbb){const _0x1592a1=_0x918bd;if(!_0x1da211)return!0x1;if(_0x313dbb[_0x1592a1(0x1c9)]?.[_0x1592a1(0x205)](_0x1da211))return!0x0;const _0x5147aa=_0x1da211;return _0x5147aa[_0x1592a1(0x1db)]&&(null!==_0x5147aa[_0x1592a1(0x1db)](_0x1592a1(0x1cf))||null!==_0x5147aa[_0x1592a1(0x1db)](_0x1592a1(0x1f6))||null!==_0x5147aa[_0x1592a1(0x1db)](_0x1592a1(0x1dc)));}[_0x918bd(0x219)](){const _0x28fdd8=_0x918bd;this[_0x28fdd8(0x1ef)]&&this[_0x28fdd8(0x1ef)][_0x28fdd8(0x1be)]();}[_0x918bd(0x1f0)](){const _0x238dd7=_0x918bd;this[_0x238dd7(0x1f2)](),this[_0x238dd7(0x1e4)][_0x238dd7(0x1f9)](),super[_0x238dd7(0x1f0)]();}[_0x918bd(0x206)](){const _0x47e414=_0x918bd;this[_0x47e414(0x1ef)]?this[_0x47e414(0x1ef)][_0x47e414(0x206)]():this[_0x47e414(0x1a6)][_0x47e414(0x206)]();}[_0x918bd(0x1ac)](_0x1249b6){const _0x33a1eb=_0x918bd;return _0x33a1eb(0x1bf)===_0x1249b6[_0x33a1eb(0x204)][_0x33a1eb(0x1ee)]?_0x33a1eb(0x1c5):_0x33a1eb(0x1a3);}[_0x918bd(0x1eb)](_0xfd09c9){const _0x3ec426=_0x918bd;return _0x3ec426(0x1bf)===_0xfd09c9[_0x3ec426(0x204)][_0x3ec426(0x1ee)]?_0x3ec426(0x1a3):_0x3ec426(0x1c5);}[_0x918bd(0x1ad)](_0x518b63,_0x1ece08,_0x3a09be,_0x1878aa){const _0x9d8a52=_0x918bd;_0x518b63[_0x9d8a52(0x1b0)]==_0x1ece08&&(_0x3a09be[_0x9d8a52(0x206)](),this[_0x9d8a52(0x1a1)](_0x1878aa));}[_0x918bd(0x21a)](_0x2614da){const _0x31c26b=_0x918bd;_0x2614da[_0x31c26b(0x1d1)](_0x31c26b(0x1a8));}}
23
+ const _0x121638=_0x10ee;(function(_0x43a0b8,_0x560b26){const _0x5b5e29=_0x10ee,_0x32b84c=_0x43a0b8();while(!![]){try{const _0x221c9d=-parseInt(_0x5b5e29(0x97))/0x1+-parseInt(_0x5b5e29(0xdb))/0x2*(parseInt(_0x5b5e29(0xd3))/0x3)+parseInt(_0x5b5e29(0x7b))/0x4+-parseInt(_0x5b5e29(0xd0))/0x5+parseInt(_0x5b5e29(0xb7))/0x6+-parseInt(_0x5b5e29(0xe9))/0x7+parseInt(_0x5b5e29(0xee))/0x8;if(_0x221c9d===_0x560b26)break;else _0x32b84c['push'](_0x32b84c['shift']());}catch(_0x33fc48){_0x32b84c['push'](_0x32b84c['shift']());}}}(_0x21d0,0x67bd3));import{View as _0x1e1c5b,ListItemView as _0x4d7315,ListView as _0x21114f,BalloonPanelView as _0x42cc37,DropdownMenuPanelPositioningFunctions as _0x2faa24,ViewCollection as _0x483ab5,FocusCycler as _0x2d2d95,ButtonView as _0x55eba0,IconView as _0x5d2d3f,HighlightedTextView as _0x1b40c6,ButtonLabelWithHighlightView as _0x7e57a6,SearchTextView as _0x48ed18}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xe0896b}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x137515,KeystrokeHandler as _0x2cf6c8}from'ckeditor5/src/utils.js';function _0x21d0(){const _0x325a76=['_showNestedPanel','eastSouth','isEnabled','parent','ck-ai-quick-actions-search-result-button','10HwLWmq','bindTemplate','ck-button','_searchTextView','aiQuickAction','_createSearchTextView','items','queryView','focusCycler','addMany','fire','execute','delete','forEach','2670367rTJBXL','focus','get','ck-ai-quick-actions-group-list','_createListItems','6740192Klfaed','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','addEventListener','editing','setTemplate','commands','destroy','children','ck-ai-quick-actions-button','_createSearchResultActionButton','ck-rounded-corners','_createSearchResultIndividualActionButton','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','push','ck-ai-quick-actions-button_with-group','key','_isMovingToNestedMenu','ck-ai-quick-actions-button_with-group__open-paren','resetSearch','2221288rZptbl','_createSearchResultGroupRow','ck-reset_all','menu','pin','some','focusTracker','fieldView','rtl','locale','extendTemplate','_openNestedPanels','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result__content','span','_createActionButton','ck-button_with-text','ck-ai-quick-actions-search-result__action-row','_createSearchResultActionRow','first','_getPanelKeystroke','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-ai-quick-actions','_hasSearch','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','.ck-ai-quick-actions-group-button','_hideAllNestedPanels','_handlePanelKeydown','138382hGOowG','mouseleave','_handleSearchResultButtonClick','AI_QUICK_ACTIONS_SEARCH','reset','ck-dropdown-menu__nested-menu__panel','relatedTarget','_focusables','optionsListView','icon','hide','_setupActionButtonExecution','ck-ai-quick-actions-search-result__group-row','activeElement','keystrokes','.ck-ai-quick-actions-group-panel','view','element','_isSearchFocused','ck-dropdown-menu-list','ck-ai-quick-actions-search','_hideNestedPanel','menuitem','button','clear','text','add','uiLanguageDirection','_createGroupActionsList','ck-ai-quick-actions-search-result-button_with-group','_setupGroupMenuBehavior','displayedPrompt','1969434lIbXTB','_createSearchResultContentView','actions','label','isVisible','isOn','ck-ai-quick-actions-group-button','set','div','ArrowRight','closest','content','show','ownerDocument','ck-ai-quick-actions-button_with-group__close-paren','contains','_bodyCollection','render','ck-ai-quick-actions-button__group-icon','_allSearchableItems','ArrowLeft','_createActionGroupButton','detachFromDom','bind','chain','1436760OFxFmi','role','_createSearchResultGroupedActionButton','296373pmAHsH','ck-ai-quick-actions-group-panel','_getButtonKeystroke'];_0x21d0=function(){return _0x325a76;};return _0x21d0();}import{aiQuickActionsButtonCreator as _0x7e7af8}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x550e80}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x52bbd3}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x55605e}from'./aiquickactionsfilteredlistview.js';const ys=_0x121638(0x7e),Ts=_0x121638(0xad);function _0x10ee(_0x4f6735,_0x96ca6d){const _0x21d014=_0x21d0();return _0x10ee=function(_0x10ee1f,_0x2714e8){_0x10ee1f=_0x10ee1f-0x76;let _0x545dc4=_0x21d014[_0x10ee1f];return _0x545dc4;},_0x10ee(_0x4f6735,_0x96ca6d);}export class AIQuickActionsDropdownContentView extends _0x1e1c5b{[_0x121638(0xc7)];[_0x121638(0x9f)];[_0x121638(0xde)]=null;[_0x121638(0xca)]=[];[_0x121638(0xf5)];[_0x121638(0x81)];[_0x121638(0xa5)];[_0x121638(0x9e)];[_0x121638(0xe3)];[_0x121638(0x86)]=new Set();[_0x121638(0x92)];constructor(_0x5f54e9,_0x526d35,_0x5e333c,_0x3403,_0x364c3e=!0x1){const _0x343248=_0x121638,_0x1166b1=_0x5f54e9[_0x343248(0x84)];super(_0x1166b1),this[_0x343248(0xc7)]=_0x3403,this[_0x343248(0x92)]=_0x364c3e;const _0x474f4d=this[_0x343248(0xed)](_0x5f54e9,_0x526d35,_0x5e333c);this[_0x343248(0x9f)]=new _0x55605e(_0x1166b1,_0x474f4d,this[_0x343248(0xca)]),this[_0x343248(0x9f)][_0x343248(0xd1)]=ys,this[_0x343248(0x9f)][_0x343248(0xe1)][_0x343248(0xe4)](_0x474f4d),this[_0x343248(0x81)]=new _0x137515(),this[_0x343248(0xa5)]=new _0x2cf6c8(),_0x364c3e&&(this[_0x343248(0xde)]=this[_0x343248(0xe0)]()),this[_0x343248(0x9e)]=_0x474f4d,this[_0x343248(0xe3)]=new _0x2d2d95({'focusables':this[_0x343248(0x9e)],'focusTracker':this[_0x343248(0x81)],'keystrokeHandler':this[_0x343248(0xa5)]}),_0x364c3e&&this[_0x343248(0xde)]&&this[_0x343248(0xe3)][_0x343248(0xcf)](this[_0x343248(0xde)][_0x343248(0xe3)]);const _0x1c70ac=_0x364c3e&&this[_0x343248(0xde)]?[this[_0x343248(0xde)]]:[this[_0x343248(0x9f)]];this[_0x343248(0xf5)]=new _0x483ab5(_0x1c70ac),this[_0x343248(0xf2)]({'tag':_0x343248(0xbf),'attributes':{'class':['ck',_0x343248(0x7d),_0x343248(0x91),_0x343248(0xf8)],'dir':_0x1166b1[_0x343248(0xb2)]},'children':this[_0x343248(0xf5)]});}[_0x121638(0xe0)](){const _0x534423=_0x121638;return new _0x48ed18(this[_0x534423(0x84)],{'filteredView':this[_0x534423(0x9f)],'queryView':{'label':_0x52bbd3(this[_0x534423(0x84)],_0x534423(0x9a))},'class':_0x534423(0xab),'infoView':{'text':{'notFound':{'primary':_0x52bbd3(this[_0x534423(0x84)],_0x534423(0x93))}}}});}[_0x121638(0xa9)](){const _0x269ab8=_0x121638;if(!this[_0x269ab8(0x92)]||!this[_0x269ab8(0xde)]||!this[_0x269ab8(0xde)][_0x269ab8(0xe2)][_0x269ab8(0x82)][_0x269ab8(0xa8)])return!0x1;const _0x59e751=this[_0x269ab8(0xde)][_0x269ab8(0xe2)][_0x269ab8(0x82)][_0x269ab8(0xa8)][_0x269ab8(0xc4)]?.[_0x269ab8(0xa4)];return this[_0x269ab8(0xde)][_0x269ab8(0xe2)][_0x269ab8(0x82)][_0x269ab8(0xa8)][_0x269ab8(0xc6)](_0x59e751);}[_0x121638(0xed)](_0x251135,_0x26a6fe,_0xa79786){const _0x35bb57=_0x121638,_0x2a968f=new _0x483ab5();return _0x26a6fe[_0x35bb57(0xe8)](_0x493f7b=>{const _0x207da1=_0x35bb57;if(_0x207da1(0xb9)in _0x493f7b){const {listItem:_0x291f06}=this[_0x207da1(0xcc)](_0x251135,_0x493f7b,_0xa79786);_0x2a968f[_0x207da1(0xb1)](_0x291f06),_0x493f7b[_0x207da1(0xb9)][_0x207da1(0xe8)](_0x1b640d=>{const _0x335efb=_0x207da1;this[_0x335efb(0x8a)](_0x251135,_0x1b640d,_0x493f7b[_0x335efb(0xba)],_0x493f7b[_0x335efb(0xa0)]);const {listItem:_0x56aec7,highlightViews:_0x1375cf}=this[_0x335efb(0xf7)](_0x251135,_0x1b640d,_0x493f7b[_0x335efb(0xba)],_0x493f7b[_0x335efb(0xa0)]);this[_0x335efb(0xca)][_0x335efb(0xfb)]({'item':_0x56aec7,'label':_0x1b640d[_0x335efb(0xb6)],'groupLabel':_0x493f7b[_0x335efb(0xba)],'highlightViews':_0x1375cf});});}else{const {listItem:_0x444914}=this[_0x207da1(0x8a)](_0x251135,_0x493f7b);_0x2a968f[_0x207da1(0xb1)](_0x444914);const _0x243296=_0x444914[_0x207da1(0xf5)][_0x207da1(0x8e)];if(_0x243296){const {listItem:_0x18f6ee,highlightViews:_0xdc533e}=this[_0x207da1(0xf7)](_0x251135,_0x493f7b);this[_0x207da1(0xca)][_0x207da1(0xfb)]({'item':_0x18f6ee,'label':_0x243296[_0x207da1(0xba)]||'','highlightViews':_0xdc533e});}}}),_0x2a968f;}[_0x121638(0x8a)](_0x598dc8,_0x1124a1,_0x1ab9e0,_0x381227){const _0x406526=_0x121638,_0x548705=new _0x4d7315(this[_0x406526(0x84)]);if(_0x1ab9e0&&_0x381227){const _0x179637=new _0x55eba0(this[_0x406526(0x84)]),_0xc1a8ae=_0x179637[_0x406526(0xdc)],_0x2e8376=new _0x1b40c6();_0x2e8376[_0x406526(0xb0)]=_0x1124a1[_0x406526(0xb6)];const _0x585230=new _0x1b40c6();_0x585230[_0x406526(0xb0)]=_0x1ab9e0;const _0xe739dd=new _0x5d2d3f();_0xe739dd[_0x406526(0xc2)]=_0x381227,_0xe739dd[_0x406526(0x85)]({'attributes':{'class':_0x406526(0xc9)}});const _0x21965c=new _0x1e1c5b(this[_0x406526(0x84)]);_0x21965c[_0x406526(0xf2)]({'tag':_0x406526(0x89),'attributes':{'class':_0x406526(0x79)},'children':[{'text':'\x20('}]});const _0x280897=new _0x1e1c5b(this[_0x406526(0x84)]);return _0x280897[_0x406526(0xf2)]({'tag':_0x406526(0x89),'attributes':{'class':_0x406526(0xc5)},'children':[{'text':')'}]}),_0x179637[_0x406526(0xbe)]({'label':_0x1124a1[_0x406526(0xb6)]+'\x20('+_0x1ab9e0+')','withText':!0x0,'role':_0x406526(0xad),'class':_0x406526(0xfa),'tooltip':!0x1}),_0x179637[_0x406526(0xf2)]({'tag':_0x406526(0xae),'attributes':{'class':['ck',_0x406526(0xdd),_0x406526(0x8b),_0x406526(0xf6),_0x406526(0x76)],'type':_0x406526(0xae),'role':_0x406526(0xad),'tabindex':'-1'},'children':[_0x2e8376,_0x21965c,_0xe739dd,_0x585230,_0x280897],'on':{'mouseenter':_0xc1a8ae['to'](()=>{const _0x10bbaa=_0x406526;this[_0x10bbaa(0xa9)]()||_0x179637[_0x10bbaa(0xea)]();}),'click':_0xc1a8ae['to'](()=>{const _0x46675c=_0x406526;_0x179637[_0x46675c(0xe5)](_0x46675c(0xe6));})}}),_0x179637['on'](_0x406526(0xe6),()=>{const _0x350ac0=_0x406526;_0x598dc8[_0x350ac0(0xf1)][_0x350ac0(0xa7)][_0x350ac0(0xea)](),_0x598dc8[_0x350ac0(0xf3)][_0x350ac0(0xe6)](_0x350ac0(0xdf),_0x1124a1);}),_0x548705[_0x406526(0xf5)][_0x406526(0xb1)](_0x179637),{'listItem':_0x548705,'highlightViews':[_0x2e8376,_0x585230]};}{const _0x5838fe=new _0x7e57a6(),_0x140ad5=new _0x55eba0(this[_0x406526(0x84)],_0x5838fe),_0x38399f=_0x140ad5[_0x406526(0xdc)],_0x25d5e8=_0x1124a1[_0x406526(0xa0)]??_0x1124a1[_0x406526(0xd9)]?.[_0x406526(0xa0)],_0x4ac312=void 0x0!==_0x1124a1[_0x406526(0xa0)];return _0x140ad5[_0x406526(0xbe)]({'label':_0x1124a1[_0x406526(0xb6)],'withText':!0x0,'role':_0x406526(0xad),'icon':_0x4ac312?_0x25d5e8??_0xe0896b:void 0x0,'tooltip':!0x1,'class':_0x406526(0xf6)}),_0x140ad5[_0x406526(0x85)]({'on':{'mouseenter':_0x38399f['to'](()=>{const _0x26c390=_0x406526;this[_0x26c390(0xa9)]()||_0x140ad5[_0x26c390(0xea)]();})}}),_0x140ad5['on'](_0x406526(0xe6),()=>{const _0x4b9537=_0x406526;_0x598dc8[_0x4b9537(0xf1)][_0x4b9537(0xa7)][_0x4b9537(0xea)](),_0x598dc8[_0x4b9537(0xf3)][_0x4b9537(0xe6)](_0x4b9537(0xdf),_0x1124a1);}),_0x548705[_0x406526(0xf5)][_0x406526(0xb1)](_0x140ad5),{'listItem':_0x548705,'highlightViews':[_0x5838fe]};}}[_0x121638(0xf7)](_0x2d26f3,_0x2ff032,_0x2f6058,_0x16fbb9){const _0x247ac4=_0x121638;return _0x2f6058&&_0x16fbb9?this[_0x247ac4(0xd2)](_0x2d26f3,_0x2ff032,_0x2f6058,_0x16fbb9):this[_0x247ac4(0xf9)](_0x2d26f3,_0x2ff032);}[_0x121638(0xd2)](_0x584033,_0x3eb302,_0x2632db,_0x4e8a80){const _0xf2879a=_0x121638,_0x25d826=new _0x4d7315(this[_0xf2879a(0x84)]),_0x307b64=new _0x55eba0(this[_0xf2879a(0x84)]),_0x459d8d=_0x307b64[_0xf2879a(0xdc)],{view:_0xac4a3,highlightView:_0x29057c}=this[_0xf2879a(0x7c)](_0x2632db,_0x4e8a80),{view:_0x2d452b,highlightView:_0x46b9d2}=this[_0xf2879a(0x8d)](_0x3eb302[_0xf2879a(0xb6)]),_0x1a5b1c=this[_0xf2879a(0xb8)](_0xac4a3,_0x2d452b);return _0x307b64[_0xf2879a(0xbe)]({'label':_0x3eb302[_0xf2879a(0xb6)],'withText':!0x0,'role':_0xf2879a(0xad),'class':_0xf2879a(0xef),'tooltip':!0x1}),_0x307b64[_0xf2879a(0xf2)]({'tag':_0xf2879a(0xae),'attributes':{'class':['ck',_0xf2879a(0xdd),_0xf2879a(0x8b),_0xf2879a(0xf6),_0xf2879a(0xda),_0xf2879a(0xb4)],'type':_0xf2879a(0xae),'role':_0xf2879a(0xad),'tabindex':'-1'},'children':[_0x1a5b1c],'on':{'mouseenter':_0x459d8d['to'](()=>{const _0x482872=_0xf2879a;this[_0x482872(0xa9)]()||_0x307b64[_0x482872(0xea)]();}),'click':_0x459d8d['to'](()=>{const _0x5e4456=_0xf2879a;this[_0x5e4456(0x99)](_0x307b64);})}}),this[_0xf2879a(0xa2)](_0x307b64,_0x584033,_0x3eb302),_0x25d826[_0xf2879a(0xf5)][_0xf2879a(0xb1)](_0x307b64),{'listItem':_0x25d826,'highlightViews':[_0x29057c,_0x46b9d2]};}[_0x121638(0xf9)](_0x2f50a5,_0x548004){const _0x3ee90f=_0x121638,_0x34da94=new _0x4d7315(this[_0x3ee90f(0x84)]),_0x5d3dc6=new _0x7e57a6(),_0x355d75=new _0x55eba0(this[_0x3ee90f(0x84)],_0x5d3dc6),_0x104835=_0x355d75[_0x3ee90f(0xdc)];return _0x355d75[_0x3ee90f(0xbe)]({'label':_0x548004[_0x3ee90f(0xb6)],'withText':!0x0,'role':_0x3ee90f(0xad),'icon':void 0x0,'tooltip':!0x1,'class':_0x3ee90f(0x90)}),_0x355d75[_0x3ee90f(0x85)]({'on':{'mouseenter':_0x104835['to'](()=>{const _0x5eced7=_0x3ee90f;this[_0x5eced7(0xa9)]()||_0x355d75[_0x5eced7(0xea)]();})}}),this[_0x3ee90f(0xa2)](_0x355d75,_0x2f50a5,_0x548004),_0x34da94[_0x3ee90f(0xf5)][_0x3ee90f(0xb1)](_0x355d75),{'listItem':_0x34da94,'highlightViews':[_0x5d3dc6]};}[_0x121638(0x7c)](_0x51fd39,_0x393f07){const _0x2be341=_0x121638,_0xa6b674=new _0x1e1c5b(this[_0x2be341(0x84)]),_0x543d59=new _0x5d2d3f();_0x543d59[_0x2be341(0xc2)]=_0x393f07,_0x543d59[_0x2be341(0x85)]({'attributes':{'class':_0x2be341(0xc9)}});const _0x442058=new _0x1b40c6();return _0x442058[_0x2be341(0xb0)]=_0x51fd39,_0xa6b674[_0x2be341(0xf2)]({'tag':_0x2be341(0xbf),'attributes':{'class':_0x2be341(0xa3)},'children':[_0x543d59,_0x442058]}),{'view':_0xa6b674,'highlightView':_0x442058};}[_0x121638(0x8d)](_0x1c424d){const _0x59f444=_0x121638,_0x5607bb=new _0x1e1c5b(this[_0x59f444(0x84)]),_0x4d7197=new _0x1b40c6();return _0x4d7197[_0x59f444(0xb0)]=_0x1c424d,_0x5607bb[_0x59f444(0xf2)]({'tag':_0x59f444(0xbf),'attributes':{'class':_0x59f444(0x8c)},'children':[_0x4d7197]}),{'view':_0x5607bb,'highlightView':_0x4d7197};}[_0x121638(0xb8)](_0x72d315,_0x221821){const _0x1ec5e6=_0x121638,_0x1b456c=new _0x1e1c5b(this[_0x1ec5e6(0x84)]);return _0x1b456c[_0x1ec5e6(0xf2)]({'tag':_0x1ec5e6(0xbf),'attributes':{'class':_0x1ec5e6(0x88)},'children':[_0x72d315,_0x221821]}),_0x1b456c;}[_0x121638(0xa2)](_0x27eaa9,_0x2600e3,_0x4b4021){const _0x12be5f=_0x121638;_0x27eaa9['on'](_0x12be5f(0xe6),()=>{const _0x30a7e5=_0x12be5f;_0x2600e3[_0x30a7e5(0xf1)][_0x30a7e5(0xa7)][_0x30a7e5(0xea)](),_0x2600e3[_0x30a7e5(0xf3)][_0x30a7e5(0xe6)](_0x30a7e5(0xdf),_0x4b4021);});}[_0x121638(0xcc)](_0xfaecad,_0x2aaaa0,_0x2ad92f){const _0xff5562=_0x121638,_0x5d6e98=new _0x4d7315(this[_0xff5562(0x84)]),_0x26dbc3=new _0x7e57a6(),_0x415853=new _0x550e80(this[_0xff5562(0x84)],_0x26dbc3),_0x1ec4c4=_0x415853[_0xff5562(0xdc)],_0x29ec51=this[_0xff5562(0x8f)](_0x2ad92f),_0xf9c57a=this[_0xff5562(0xb3)](_0xfaecad,_0x2aaaa0[_0xff5562(0xb9)],_0x2ad92f);_0x415853[_0xff5562(0xbe)]({'label':_0x2aaaa0[_0xff5562(0xba)],'withText':!0x0,'role':Ts,'icon':_0x2aaaa0[_0xff5562(0xa0)]??_0xe0896b,'isEnabled':_0x2aaaa0[_0xff5562(0xb9)][_0xff5562(0x80)](_0x219023=>_0x219023[_0xff5562(0xd8)])}),_0x415853[_0xff5562(0x85)]({'on':{'mouseenter':_0x1ec4c4['to'](()=>{const _0x1dc682=_0xff5562;this[_0x1dc682(0xa9)]()||_0x415853[_0x1dc682(0xea)]();})}});const _0x3197eb=new _0x42cc37(this[_0xff5562(0x84)]);return _0x3197eb[_0xff5562(0x85)]({'attributes':{'class':['ck',_0xff5562(0x7d),_0xff5562(0xd4),_0xff5562(0x9c)]},'on':{'keydown':_0x1ec4c4['to'](_0xb33c91=>{const _0x3305a9=_0xff5562;this[_0x3305a9(0x96)](_0xb33c91,_0x29ec51,_0x415853,_0x3197eb);})}}),_0x415853[_0xff5562(0xce)](_0xff5562(0xbc))['to'](_0x3197eb,_0xff5562(0xbb)),this[_0xff5562(0xc7)][_0xff5562(0xb1)](_0x3197eb),_0x3197eb[_0xff5562(0xc2)][_0xff5562(0xb1)](_0xf9c57a),this[_0xff5562(0xb5)](_0x415853,_0x3197eb),_0x5d6e98[_0xff5562(0xf5)][_0xff5562(0xb1)](_0x415853),{'listItem':_0x5d6e98,'highlightView':_0x26dbc3};}[_0x121638(0xb3)](_0x3738d2,_0x21dc2e,_0x12fe95){const _0x1228d3=_0x121638,_0x2ea856=new _0x21114f(this[_0x1228d3(0x84)]);return _0x2ea856[_0x1228d3(0x85)]({'attributes':{'class':['ck',_0x1228d3(0x7d),_0x1228d3(0xec),_0x1228d3(0xaa)]}}),_0x21dc2e[_0x1228d3(0xe8)](_0x125e0c=>{const _0x3d1236=_0x1228d3,_0x59abf2=new _0x4d7315(this[_0x3d1236(0x84)]),_0x5199fa=_0x7e7af8({'editor':_0x3738d2,'action':_0x125e0c,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x3d1236(0xa9)]()})();_0x59abf2[_0x3d1236(0xf5)][_0x3d1236(0xb1)](_0x5199fa),_0x12fe95[_0x3d1236(0x81)][_0x3d1236(0xb1)](_0x5199fa),_0x2ea856[_0x3d1236(0xe1)][_0x3d1236(0xb1)](_0x59abf2);}),_0x2ea856;}[_0x121638(0xb5)](_0x2827d2,_0x540883){const _0xc9ffd3=_0x121638,_0x360945=_0x2827d2[_0xc9ffd3(0xdc)],_0x3d0787=this[_0xc9ffd3(0xd5)](_0x2827d2);_0x2827d2[_0xc9ffd3(0x85)]({'attributes':{'class':[_0xc9ffd3(0xbd)]},'on':{'mouseenter':_0x360945['to'](()=>{const _0x2ef847=_0xc9ffd3;this[_0x2ef847(0xd6)](_0x540883,_0x2827d2);}),'mouseleave':_0x360945['to'](_0x3bd32d=>{const _0x56f92b=_0xc9ffd3,_0x38393a=_0x3bd32d[_0x56f92b(0x9d)];this[_0x56f92b(0x78)](_0x38393a,_0x540883)||this[_0x56f92b(0xac)](_0x540883);}),'keydown':_0x360945['to'](_0x236b51=>{const _0x7d66b5=_0xc9ffd3;_0x236b51[_0x7d66b5(0x77)]==_0x3d0787&&(this[_0x7d66b5(0xd6)](_0x540883,_0x2827d2),_0x540883[_0x7d66b5(0xc2)][_0x7d66b5(0xeb)](0x0)[_0x7d66b5(0xea)]());})}}),_0x540883['on'](_0xc9ffd3(0xc8),()=>{const _0x2152fd=_0xc9ffd3;_0x540883[_0x2152fd(0xa8)]?.[_0x2152fd(0xf0)](_0x2152fd(0x98),_0x4cd843=>{const _0x1c267e=_0x2152fd,_0x265a90=_0x4cd843[_0x1c267e(0x9d)];_0x2827d2[_0x1c267e(0xa8)]?.[_0x1c267e(0xc6)](_0x265a90)||this[_0x1c267e(0x78)](_0x265a90,_0x540883)||this[_0x1c267e(0xac)](_0x540883);});});}[_0x121638(0xd6)](_0x460034,_0x4648df){const _0x399939=_0x121638;this[_0x399939(0x86)][_0x399939(0xe8)](_0x3b9084=>{const _0x5f2361=_0x399939;_0x3b9084!==_0x460034&&_0x3b9084[_0x5f2361(0xbb)]&&_0x3b9084[_0x5f2361(0xa1)]();}),_0x460034[_0x399939(0xc3)](),_0x460034[_0x399939(0x7f)]({'positions':[_0x2faa24[_0x399939(0xd7)]],'target':_0x4648df[_0x399939(0xa8)],'fitInViewport':!0x0}),this[_0x399939(0x86)][_0x399939(0xb1)](_0x460034);}[_0x121638(0xac)](_0x9971ff){const _0x3a0124=_0x121638;_0x9971ff[_0x3a0124(0xa1)](),this[_0x3a0124(0x86)][_0x3a0124(0xe7)](_0x9971ff);}[_0x121638(0x95)](){const _0x231e28=_0x121638;this[_0x231e28(0x86)][_0x231e28(0xe8)](_0x4f2c4c=>_0x4f2c4c[_0x231e28(0xa1)]()),this[_0x231e28(0x86)][_0x231e28(0xaf)]();}[_0x121638(0x78)](_0xce40f1,_0x7fd0f5){const _0x43a3f8=_0x121638;if(!_0xce40f1)return!0x1;if(_0x7fd0f5[_0x43a3f8(0xa8)]?.[_0x43a3f8(0xc6)](_0xce40f1))return!0x0;const _0x47e4b7=_0xce40f1;return _0x47e4b7[_0x43a3f8(0xc1)]&&(null!==_0x47e4b7[_0x43a3f8(0xc1)](_0x43a3f8(0xa6))||null!==_0x47e4b7[_0x43a3f8(0xc1)](_0x43a3f8(0x87))||null!==_0x47e4b7[_0x43a3f8(0xc1)](_0x43a3f8(0x94)));}[_0x121638(0x7a)](){const _0x130a49=_0x121638;this[_0x130a49(0xde)]&&this[_0x130a49(0xde)][_0x130a49(0x9b)]();}[_0x121638(0xf4)](){const _0x2b2aa6=_0x121638;this[_0x2b2aa6(0x95)](),this[_0x2b2aa6(0xc7)][_0x2b2aa6(0xcd)](),super[_0x2b2aa6(0xf4)]();}[_0x121638(0xea)](){const _0x265689=_0x121638;this[_0x265689(0xde)]?this[_0x265689(0xde)][_0x265689(0xea)]():this[_0x265689(0x9f)][_0x265689(0xea)]();}[_0x121638(0x8f)](_0x212a74){const _0x568480=_0x121638;return _0x568480(0x83)===_0x212a74[_0x568480(0x84)][_0x568480(0xb2)]?_0x568480(0xc0):_0x568480(0xcb);}[_0x121638(0xd5)](_0xd4370a){const _0x413947=_0x121638;return _0x413947(0x83)===_0xd4370a[_0x413947(0x84)][_0x413947(0xb2)]?_0x413947(0xcb):_0x413947(0xc0);}[_0x121638(0x96)](_0x248d13,_0x5982ac,_0x2aaef2,_0x1504f3){const _0x378ba2=_0x121638;_0x248d13[_0x378ba2(0x77)]==_0x5982ac&&(_0x2aaef2[_0x378ba2(0xea)](),this[_0x378ba2(0xac)](_0x1504f3));}[_0x121638(0x99)](_0x4899f9){const _0x55ce95=_0x121638;_0x4899f9[_0x55ce95(0xe5)](_0x55ce95(0xe6));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x35940e,_0x418072){const _0x394056=_0x177b,_0x20ff07=_0x35940e();while(!![]){try{const _0x1ec9ac=-parseInt(_0x394056(0xf5))/0x1+-parseInt(_0x394056(0xe0))/0x2*(parseInt(_0x394056(0xf0))/0x3)+-parseInt(_0x394056(0xec))/0x4*(-parseInt(_0x394056(0xd8))/0x5)+parseInt(_0x394056(0xe2))/0x6+-parseInt(_0x394056(0xf6))/0x7*(-parseInt(_0x394056(0xe3))/0x8)+-parseInt(_0x394056(0xe9))/0x9+parseInt(_0x394056(0xf9))/0xa;if(_0x1ec9ac===_0x418072)break;else _0x20ff07['push'](_0x20ff07['shift']());}catch(_0x4210e1){_0x20ff07['push'](_0x20ff07['shift']());}}}(_0x36e7,0x6f19b));import{createDropdown as _0xa75936}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xc9980a}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x227ba9}from'./aiquickactionsdropdowncontentview.js';function _0x177b(_0x5bbf04,_0x45e28f){const _0x36e728=_0x36e7();return _0x177b=function(_0x177be3,_0x18f0b7){_0x177be3=_0x177be3-0xd8;let _0x12e86e=_0x36e728[_0x177be3];return _0x12e86e;},_0x177b(_0x5bbf04,_0x45e28f);}import{AIEditing as _0x5e6ea7}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x43938f){const {editor:_0x1aefe9,content:_0x2235ac,buttonDefinition:_0x23c13e,bodyCollection:_0x2547ca,hasSearch:_0x4d45df=!0x1}=_0x43938f;return()=>{const _0x13db09=_0x177b,_0x50c2b8=_0x1aefe9[_0x13db09(0xda)],_0x5163c3=_0xa75936(_0x50c2b8);_0x5163c3[_0x13db09(0xea)][_0x13db09(0xdd)]({'icon':_0x23c13e[_0x13db09(0xe8)]??_0xc9980a,'label':_0x23c13e[_0x13db09(0xe7)],'tooltip':!0x0}),_0x5163c3[_0x13db09(0xdd)]({'class':_0x13db09(0xe5)});const _0x5d318f=new _0x227ba9(_0x1aefe9,_0x2235ac,_0x5163c3,_0x2547ca,_0x4d45df);if(_0x5163c3[_0x13db09(0xeb)][_0x13db09(0xf2)][_0x13db09(0xf1)](_0x5d318f),_0x4d45df){const _0x42721f=_0x13db09(0xe4);_0x5163c3['on'](_0x13db09(0xed),(_0x3d571d,_0x390303,_0x1ddc43)=>{const _0x5c7e17=_0x13db09;if(_0x1ddc43){if(_0x1aefe9[_0x5c7e17(0xf7)][_0x5c7e17(0xef)](_0x5c7e17(0xee))){const _0x4a6846=_0x1aefe9[_0x5c7e17(0xf7)][_0x5c7e17(0xf8)](_0x5e6ea7),_0x209ba8=_0x1aefe9[_0x5c7e17(0xf3)][_0x5c7e17(0xd9)][_0x5c7e17(0xe1)],_0x574aea=Array[_0x5c7e17(0xdb)](_0x209ba8[_0x5c7e17(0xde)]());_0x574aea[_0x5c7e17(0xdc)]>0x0&&_0x4a6846[_0x5c7e17(0xe6)](_0x574aea,_0x42721f,!0x1,!0x0);}}else _0x1aefe9[_0x5c7e17(0xf7)][_0x5c7e17(0xef)](_0x5c7e17(0xee))&&_0x1aefe9[_0x5c7e17(0xf7)][_0x5c7e17(0xf8)](_0x5e6ea7)[_0x5c7e17(0xf4)](_0x42721f),_0x5d318f[_0x5c7e17(0xdf)]();});}return _0x5163c3;};}function _0x36e7(){const _0x4080f4=['buttonView','panelView','75484YiiDtc','change:isOpen','AIEditing','has','12UIwtjw','add','children','model','hideFakeVisualSelection','766152aNAgLO','7lmIMUW','plugins','get','14674140eAlpCs','235NyWvtU','document','locale','from','length','set','getRanges','resetSearch','371334PRJpNK','selection','1355250eELJTJ','1909256xzIEXz','ai-quick-actions-dropdown-selection','ck-ai-quick-actions-dropdown','showFakeVisualSelection','label','icon','7694964JylfCB'];_0x36e7=function(){return _0x4080f4;};return _0x36e7();}
23
+ (function(_0x234920,_0x5e516a){const _0x572a57=_0x2015,_0x2e994e=_0x234920();while(!![]){try{const _0x1066bb=parseInt(_0x572a57(0x1f8))/0x1+parseInt(_0x572a57(0x1e6))/0x2*(-parseInt(_0x572a57(0x1f1))/0x3)+-parseInt(_0x572a57(0x1e7))/0x4*(-parseInt(_0x572a57(0x1e8))/0x5)+parseInt(_0x572a57(0x1ef))/0x6+-parseInt(_0x572a57(0x1e4))/0x7+-parseInt(_0x572a57(0x1e5))/0x8+-parseInt(_0x572a57(0x1ed))/0x9;if(_0x1066bb===_0x5e516a)break;else _0x2e994e['push'](_0x2e994e['shift']());}catch(_0x284067){_0x2e994e['push'](_0x2e994e['shift']());}}}(_0x8776,0x66d35));import{createDropdown as _0x549513}from'ckeditor5/src/ui.js';function _0x8776(){const _0x13e170=['length','set','AIEditing','ai-quick-actions-dropdown-selection','add','children','4122587Yxhqpz','5097160TlbfnG','2QLxXpR','4FsYUZy','4143775tssquw','plugins','hideFakeVisualSelection','label','ck-ai-quick-actions-dropdown','5617566IYNsIq','buttonView','4337556GkfIDh','icon','99627EtRqST','locale','getRanges','resetSearch','document','change:isOpen','get','752961MVGopQ','selection','showFakeVisualSelection','model','has','from','panelView'];_0x8776=function(){return _0x13e170;};return _0x8776();}import{IconAIQuickActions as _0x921f2d}from'@ckeditor/ckeditor5-icons';function _0x2015(_0x1321c8,_0x6e4add){const _0x87763f=_0x8776();return _0x2015=function(_0x20159d,_0x18db6e){_0x20159d=_0x20159d-0x1df;let _0x11c875=_0x87763f[_0x20159d];return _0x11c875;},_0x2015(_0x1321c8,_0x6e4add);}import{AIQuickActionsDropdownContentView as _0x5c0317}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x582973}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x4ca2d7){const {editor:_0x1ad028,content:_0xaa3cf4,buttonDefinition:_0x3dbbeb,bodyCollection:_0xebe3d2,hasSearch:_0x3a9205=!0x1}=_0x4ca2d7;return()=>{const _0x20c863=_0x2015,_0x16de13=_0x1ad028[_0x20c863(0x1f2)],_0x2b33bb=_0x549513(_0x16de13);_0x2b33bb[_0x20c863(0x1ee)][_0x20c863(0x1df)]({'icon':_0x3dbbeb[_0x20c863(0x1f0)]??_0x921f2d,'label':_0x3dbbeb[_0x20c863(0x1eb)],'tooltip':!0x0}),_0x2b33bb[_0x20c863(0x1df)]({'class':_0x20c863(0x1ec)});const _0x13cfdd=new _0x5c0317(_0x1ad028,_0xaa3cf4,_0x2b33bb,_0xebe3d2,_0x3a9205);if(_0x2b33bb[_0x20c863(0x1fe)][_0x20c863(0x1e3)][_0x20c863(0x1e2)](_0x13cfdd),_0x3a9205){const _0x4634e9=_0x20c863(0x1e1);_0x2b33bb['on'](_0x20c863(0x1f6),(_0x2b62b4,_0x161708,_0x4b3076)=>{const _0x1d60ef=_0x20c863;if(_0x4b3076){if(_0x1ad028[_0x1d60ef(0x1e9)][_0x1d60ef(0x1fc)](_0x1d60ef(0x1e0))){const _0x417f7c=_0x1ad028[_0x1d60ef(0x1e9)][_0x1d60ef(0x1f7)](_0x582973),_0x597a12=_0x1ad028[_0x1d60ef(0x1fb)][_0x1d60ef(0x1f5)][_0x1d60ef(0x1f9)],_0x64484d=Array[_0x1d60ef(0x1fd)](_0x597a12[_0x1d60ef(0x1f3)]());_0x64484d[_0x1d60ef(0x1ff)]>0x0&&_0x417f7c[_0x1d60ef(0x1fa)](_0x64484d,_0x4634e9,!0x1,!0x0);}}else _0x1ad028[_0x1d60ef(0x1e9)][_0x1d60ef(0x1fc)](_0x1d60ef(0x1e0))&&_0x1ad028[_0x1d60ef(0x1e9)][_0x1d60ef(0x1f7)](_0x582973)[_0x1d60ef(0x1ea)](_0x4634e9),_0x13cfdd[_0x1d60ef(0x1f4)]();});}return _0x2b33bb;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x383586=_0x4c72;(function(_0x59257a,_0x262666){const _0x354bcf=_0x4c72,_0x5515ab=_0x59257a();while(!![]){try{const _0xeb560a=parseInt(_0x354bcf(0x1c0))/0x1*(parseInt(_0x354bcf(0x1cf))/0x2)+parseInt(_0x354bcf(0x1bf))/0x3*(parseInt(_0x354bcf(0x1d2))/0x4)+-parseInt(_0x354bcf(0x1cb))/0x5*(-parseInt(_0x354bcf(0x1c8))/0x6)+parseInt(_0x354bcf(0x1d1))/0x7+-parseInt(_0x354bcf(0x1c5))/0x8+parseInt(_0x354bcf(0x1c3))/0x9+-parseInt(_0x354bcf(0x1c6))/0xa;if(_0xeb560a===_0x262666)break;else _0x5515ab['push'](_0x5515ab['shift']());}catch(_0x20bfbb){_0x5515ab['push'](_0x5515ab['shift']());}}}(_0x1df0,0xb5b94));import{IconView as _0x294671,ListItemButtonView as _0x54ab41}from'ckeditor5/src/ui.js';function _0x4c72(_0x51bad6,_0x477ae2){const _0x1df051=_0x1df0();return _0x4c72=function(_0x4c7204,_0x1280b7){_0x4c7204=_0x4c7204-0x1bc;let _0x367c98=_0x1df051[_0x4c7204];return _0x367c98;},_0x4c72(_0x51bad6,_0x477ae2);}function _0x1df0(){const _0x4d7948=['9664hQKWxM','bindTemplate','314111xbcLdZ','510388TAabNp','add','isOn','arrowView','content','33OGytwU','29snZfvl','ck-dropdown-menu-list__nested-menu__button','_createArrowView','5747319PSSppc','set','10631264QSgXTu','1923890YNSAWo','children','954YfzzjG','mouseenter','extendTemplate','1210PnftMk','render','menuitem','ck-dropdown-menu-list__nested-menu__button__arrow'];_0x1df0=function(){return _0x4d7948;};return _0x1df0();}import{IconDropdownArrow as _0x15609d}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x54ab41{[_0x383586(0x1bd)];constructor(_0x2b892a,_0x11fb3e){const _0x1110ff=_0x383586;super(_0x2b892a,_0x11fb3e);const _0x58d05a=this[_0x1110ff(0x1d0)];this[_0x1110ff(0x1c4)]({'withText':!0x0,'role':_0x1110ff(0x1cd)}),this[_0x1110ff(0x1bd)]=this[_0x1110ff(0x1c2)](),this[_0x1110ff(0x1ca)]({'attributes':{'class':[_0x1110ff(0x1c1)],'aria-haspopup':!0x0,'aria-expanded':this[_0x1110ff(0x1d0)]['to'](_0x1110ff(0x1bc),_0x17eb35=>String(_0x17eb35)),'data-cke-tooltip-disabled':_0x58d05a['to'](_0x1110ff(0x1bc))},'on':{'mouseenter':_0x58d05a['to'](_0x1110ff(0x1c9))}});}[_0x383586(0x1cc)](){const _0x513745=_0x383586;super[_0x513745(0x1cc)](),this[_0x513745(0x1c7)][_0x513745(0x1d3)](this[_0x513745(0x1bd)]);}[_0x383586(0x1c2)](){const _0x1f5836=_0x383586,_0x31a5dc=new _0x294671();return _0x31a5dc[_0x1f5836(0x1be)]=_0x15609d,_0x31a5dc[_0x1f5836(0x1ca)]({'attributes':{'class':_0x1f5836(0x1ce)}}),_0x31a5dc;}}
23
+ const _0xd90380=_0x56d5;(function(_0x1d0fc4,_0x286b4e){const _0x12b657=_0x56d5,_0xd62b3f=_0x1d0fc4();while(!![]){try{const _0x341937=parseInt(_0x12b657(0x114))/0x1*(-parseInt(_0x12b657(0x111))/0x2)+parseInt(_0x12b657(0x11a))/0x3+-parseInt(_0x12b657(0x120))/0x4+-parseInt(_0x12b657(0x112))/0x5*(-parseInt(_0x12b657(0x121))/0x6)+-parseInt(_0x12b657(0x123))/0x7*(parseInt(_0x12b657(0x118))/0x8)+parseInt(_0x12b657(0x122))/0x9+parseInt(_0x12b657(0x11f))/0xa;if(_0x341937===_0x286b4e)break;else _0xd62b3f['push'](_0xd62b3f['shift']());}catch(_0xe6065f){_0xd62b3f['push'](_0xd62b3f['shift']());}}}(_0x2560,0x80ed4));function _0x56d5(_0x2152ab,_0x18fde6){const _0x256096=_0x2560();return _0x56d5=function(_0x56d57a,_0x4caa0b){_0x56d57a=_0x56d57a-0x10e;let _0x58fb70=_0x256096[_0x56d57a];return _0x58fb70;},_0x56d5(_0x2152ab,_0x18fde6);}function _0x2560(){const _0x49d0fb=['ck-dropdown-menu-list__nested-menu__button__arrow','children','add','arrowView','148xBFnjo','25JzAADc','ck-dropdown-menu-list__nested-menu__button','7726ndXekc','extendTemplate','isOn','set','728tFQGVw','mouseenter','365847qOCNHZ','bindTemplate','render','_createArrowView','menuitem','8168980LjVStr','2492108iiIjzD','887256AGlooF','8373618nPoAyu','68138BVfUpT','content'];_0x2560=function(){return _0x49d0fb;};return _0x2560();}import{IconView as _0xbf8f43,ListItemButtonView as _0x2b2bf2}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x3636b6}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x2b2bf2{[_0xd90380(0x110)];constructor(_0x30576a,_0xc1e24a){const _0x2688cd=_0xd90380;super(_0x30576a,_0xc1e24a);const _0x2d1d97=this[_0x2688cd(0x11b)];this[_0x2688cd(0x117)]({'withText':!0x0,'role':_0x2688cd(0x11e)}),this[_0x2688cd(0x110)]=this[_0x2688cd(0x11d)](),this[_0x2688cd(0x115)]({'attributes':{'class':[_0x2688cd(0x113)],'aria-haspopup':!0x0,'aria-expanded':this[_0x2688cd(0x11b)]['to'](_0x2688cd(0x116),_0x87a842=>String(_0x87a842)),'data-cke-tooltip-disabled':_0x2d1d97['to'](_0x2688cd(0x116))},'on':{'mouseenter':_0x2d1d97['to'](_0x2688cd(0x119))}});}[_0xd90380(0x11c)](){const _0x304f77=_0xd90380;super[_0x304f77(0x11c)](),this[_0x304f77(0x10e)][_0x304f77(0x10f)](this[_0x304f77(0x110)]);}[_0xd90380(0x11d)](){const _0x49d9b2=_0xd90380,_0x5b2f4f=new _0xbf8f43();return _0x5b2f4f[_0x49d9b2(0x124)]=_0x3636b6,_0x5b2f4f[_0x49d9b2(0x115)]({'attributes':{'class':_0x49d9b2(0x125)}}),_0x5b2f4f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3a91bb=_0x55ba;(function(_0xf474fc,_0x2620bd){var _0x2426f6=_0x55ba,_0x12db8a=_0xf474fc();while(!![]){try{var _0x3acfa1=-parseInt(_0x2426f6(0x1e2))/0x1+-parseInt(_0x2426f6(0x1d8))/0x2*(parseInt(_0x2426f6(0x1db))/0x3)+-parseInt(_0x2426f6(0x1e3))/0x4*(-parseInt(_0x2426f6(0x1df))/0x5)+-parseInt(_0x2426f6(0x1de))/0x6+-parseInt(_0x2426f6(0x1e4))/0x7+-parseInt(_0x2426f6(0x1d9))/0x8*(-parseInt(_0x2426f6(0x1e0))/0x9)+parseInt(_0x2426f6(0x1e1))/0xa;if(_0x3acfa1===_0x2620bd)break;else _0x12db8a['push'](_0x12db8a['shift']());}catch(_0x3102ca){_0x12db8a['push'](_0x12db8a['shift']());}}}(_0x26bb,0x98450));function _0x55ba(_0x2b17f8,_0xe67e5e){var _0x26bb43=_0x26bb();return _0x55ba=function(_0x55ba74,_0x968708){_0x55ba74=_0x55ba74-0x1d8;var _0x429c09=_0x26bb43[_0x55ba74];return _0x429c09;},_0x55ba(_0x2b17f8,_0xe67e5e);}import{ContextPlugin as _0xcfc5e0}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x24b668}from'./aireviewmodecontroller.js';function _0x26bb(){var _0x3604db=['1611GthrXK','20779060FfKMpN','748386eddBiQ','40216xmEfQZ','2045120iyVAyM','AIReviewMode','pluginName','44YxjdEF','49904LNxCFC','isOfficialPlugin','139809QzwGuG','isPremiumPlugin','requires','6468468EGyWWu','285LkIYHx'];_0x26bb=function(){return _0x3604db;};return _0x26bb();}import{AIReviewModeUI as _0x447703}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x4d4fd4}from'./aireviewmodeediting.js';export class AIReviewMode extends _0xcfc5e0{static get[_0x3a91bb(0x1dd)](){return[_0x24b668,_0x447703,_0x4d4fd4];}static get[_0x3a91bb(0x1e6)](){var _0x24f84a=_0x3a91bb;return _0x24f84a(0x1e5);}static get[_0x3a91bb(0x1da)](){return!0x0;}static get[_0x3a91bb(0x1dc)](){return!0x0;}}
23
+ var _0x570c83=_0x560b;(function(_0x1b11a4,_0x1d9422){var _0x4cfcbc=_0x560b,_0x20bed4=_0x1b11a4();while(!![]){try{var _0x1d338b=parseInt(_0x4cfcbc(0x140))/0x1+parseInt(_0x4cfcbc(0x135))/0x2*(parseInt(_0x4cfcbc(0x136))/0x3)+-parseInt(_0x4cfcbc(0x13e))/0x4+-parseInt(_0x4cfcbc(0x13d))/0x5*(-parseInt(_0x4cfcbc(0x131))/0x6)+parseInt(_0x4cfcbc(0x134))/0x7*(-parseInt(_0x4cfcbc(0x13f))/0x8)+-parseInt(_0x4cfcbc(0x132))/0x9*(-parseInt(_0x4cfcbc(0x130))/0xa)+parseInt(_0x4cfcbc(0x13b))/0xb*(-parseInt(_0x4cfcbc(0x138))/0xc);if(_0x1d338b===_0x1d9422)break;else _0x20bed4['push'](_0x20bed4['shift']());}catch(_0x32df8b){_0x20bed4['push'](_0x20bed4['shift']());}}}(_0x2746,0x239ff));import{ContextPlugin as _0x516963}from'ckeditor5/src/core.js';function _0x560b(_0x6ab7e5,_0x49057b){var _0x27469f=_0x2746();return _0x560b=function(_0x560b50,_0x296650){_0x560b50=_0x560b50-0x130;var _0x4ea314=_0x27469f[_0x560b50];return _0x4ea314;},_0x560b(_0x6ab7e5,_0x49057b);}import{AIReviewModeController as _0x1815d5}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0xb08b94}from'./aireviewmodeui.js';function _0x2746(){var _0x5cb4f6=['requires','5wuZkcz','31076BfUMhN','1817784LiJBcW','284007AowZLY','40bPvOfW','547548NeHkoq','286938uMlXor','pluginName','7kopbCD','2bjnDWV','138750nmTTLk','AIReviewMode','72rBinjZ','isOfficialPlugin','isPremiumPlugin','308242lPtZhj'];_0x2746=function(){return _0x5cb4f6;};return _0x2746();}import{AIReviewModeEditing as _0x176791}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x516963{static get[_0x570c83(0x13c)](){return[_0x1815d5,_0xb08b94,_0x176791];}static get[_0x570c83(0x133)](){var _0x3cec4b=_0x570c83;return _0x3cec4b(0x137);}static get[_0x570c83(0x139)](){return!0x0;}static get[_0x570c83(0x13a)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x372c2a=_0x10ac;(function(_0x485cbd,_0x21609e){const _0x199305=_0x10ac,_0x203a5d=_0x485cbd();while(!![]){try{const _0x31323c=-parseInt(_0x199305(0x261))/0x1+parseInt(_0x199305(0x244))/0x2+-parseInt(_0x199305(0x1dd))/0x3+parseInt(_0x199305(0x23d))/0x4*(-parseInt(_0x199305(0x245))/0x5)+parseInt(_0x199305(0x257))/0x6*(-parseInt(_0x199305(0x228))/0x7)+-parseInt(_0x199305(0x1fa))/0x8*(-parseInt(_0x199305(0x1d8))/0x9)+parseInt(_0x199305(0x22a))/0xa*(parseInt(_0x199305(0x205))/0xb);if(_0x31323c===_0x21609e)break;else _0x203a5d['push'](_0x203a5d['shift']());}catch(_0x3552e0){_0x203a5d['push'](_0x203a5d['shift']());}}}(_0x4918,0xc1e77));import{ContextPlugin as _0x266d3b}from'ckeditor5/src/core.js';function _0x4918(){const _0x5f3c2d=['start','hideDiffInBalloon','getEditor','viewportOffset','.ck-ai-review-mode__check-run-result','changeId','subTitle','isCustom','clearAllMarkers','AIConnector','AI_REVIEW_CHECK_','3324461YJWlGH','markAllChangesAsAccepted','10JdVCwX','hideChangeBalloon','model','AIReviewModeController','error-chunk','showCheckRunResults','checks','updateDocumentData','diffContent','sendRating','status','unmodified','showReviewCompletedView','_logError','_isDiffOn','isOfficialPlugin','_changeActivationSource','getChangeById','forceReadyState','4XfBMVa','prompt','leaveReviewModeResultList','locale','init','acceptChange','getDomRoot','715176zPvZfd','551305lCmSnZ','_currentReviewCheckRun','message','config','label','ready','_DESCRIPTION','showChunkErrorView','removeCheckById','_aiReviewCheckList','acceptAllChanges','includes','custom','ai-review-mode-check-run-failed','map','changeMarkerRemoved','abortReviewStream','getActiveChanges','18cFFJKs','contentInitial','reviewCheckResultDeactivated','_TITLE','hover','markChangeAsRejected','_translateReviewChecks','_onDiffChange','source','setCheckResultTitle','1399330UyoLVi','documentData','finished','requires','_aiReviewModeEditing','stopListening','showReviewCheckList','abort','contentNew','addResultChanges','AIReviewModeUI','getCheckById','hasModifications','markChangeAsPending','finishReview','deactivateChange','restart','removeClass','showGeneralResultsErrorView','ai-review-mode-no-current-check-run','get','markChangePositionInEditorContent','setActiveStateInResults','leaveReviewMode','_OPTIONS_LABEL','updateChangeState','_aiReviewModeUi','aborted','document','_OPTIONS_DATA_','ck-ai-review-mode-diff','showCheckRunResult','reviewCheckRunUpdated','replaceAll','dismissChange','activateChange','pluginName','_getTranslationWithDefault','toUpperCase','reviewCheckResultChangeStatusUpdated','ai-review-mode-check-run-chunk-error','showChangeBalloon','isChangeActive','data','getAll','_onReviewModeRunLeave','showGeneralReviewModeErrorView','args','params','plugins','6100101xCwHiq','click','resetActiveStateInResults','AIReviewModeEditing','addClass','4069164usZuzT','translate','markerElement','loading','processedResultsCount','ck-ai-review-mode-highlights','panel','changeMarkerHovered','title','find','runReviewCheck','ai.reviewMode.translations','options','ai-review-mode-check-run-general-error','changeMarkerBlurred','reviewCheckResultActivated','markChangeAsAccepted','switchToReadOnly','getDocumentData','retryReview','domEvent','content','isAnyChangeActivated','ai-review-mode-models-unable-to-retrieve','emitter','domElement','view','getMarkerElementForChange','result','8SJCdno','changeMarkerRestored','reviewCheckResultReady','setAvailableChecks','showActionsWhenResultIsReady','getReviewCheckList','toggleDiff','changes','length','applyChange','getChangeElement','44545622XLWsZL','changeMarkerClick','ai-review-mode-source-check-not-found','_aiConnector','listenTo','editing','currentError','reviewCheckResultAdded','context','showNoChangesView','description','ai-request-aborted','change','isPremiumPlugin','showDiffInBalloon','startsWith','markChangeAsOutdated','rejectChange','error-general','getRoot','models','switchToEdit','AI_MODEL_DESCRIPTION_','closest'];_0x4918=function(){return _0x5f3c2d;};return _0x4918();}import{CKEditorError as _0x4e7eb4,logError as _0x1fc349,scrollAncestorsToShowTarget as _0x4483a0,scrollViewportToShowTarget as _0x3339e3}from'ckeditor5/src/utils.js';function _0x10ac(_0x5b91ec,_0x3b5c94){const _0x4918cb=_0x4918();return _0x10ac=function(_0x10ace9,_0x175074){_0x10ace9=_0x10ace9-0x1ce;let _0x20622a=_0x4918cb[_0x10ace9];return _0x20622a;},_0x10ac(_0x5b91ec,_0x3b5c94);}import{AIConnector as _0x18fbce}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x34b9f7}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x4e095a}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x5e67ff}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x3de7d7}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x15cfa0}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x23070d}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x266d3b{[_0x372c2a(0x208)];[_0x372c2a(0x27b)];[_0x372c2a(0x265)];[_0x372c2a(0x24e)];[_0x372c2a(0x246)];[_0x372c2a(0x238)]=!0x1;[_0x372c2a(0x23a)]=null;static get[_0x372c2a(0x264)](){return[_0x18fbce];}static get[_0x372c2a(0x285)](){const _0x9b80e7=_0x372c2a;return _0x9b80e7(0x22d);}static get[_0x372c2a(0x239)](){return!0x0;}static get[_0x372c2a(0x212)](){return!0x0;}async[_0x372c2a(0x241)](){const _0x3008f0=_0x372c2a;this[_0x3008f0(0x208)]=this[_0x3008f0(0x20d)][_0x3008f0(0x1d7)][_0x3008f0(0x275)](_0x3008f0(0x226)),this[_0x3008f0(0x27b)]=this[_0x3008f0(0x20d)][_0x3008f0(0x1d7)][_0x3008f0(0x275)](_0x3008f0(0x26b)),this[_0x3008f0(0x265)]=this[_0x3008f0(0x20d)][_0x3008f0(0x1d7)][_0x3008f0(0x275)](_0x3008f0(0x1db));const _0x3fee9e=this[_0x3008f0(0x20d)][_0x3008f0(0x248)][_0x3008f0(0x275)](_0x3008f0(0x1e8));if(_0x3fee9e){for(const _0x3b7f74 of _0x15cfa0)_0x3008f0(0x1de)===_0x3b7f74['id']&&(_0x3b7f74[_0x3008f0(0x1e9)][0x0][_0x3008f0(0x1d1)]=_0x3fee9e);}const _0xe6cdd4=this[_0x3008f0(0x25d)](_0x15cfa0);this[_0x3008f0(0x24e)]=new _0x34b9f7(_0xe6cdd4);const _0x5ecc15=this[_0x3008f0(0x24e)][_0x3008f0(0x230)][_0x3008f0(0x1e6)](_0x47ec14=>_0x3008f0(0x251)===_0x47ec14['id']);if(_0x5ecc15)try{const _0x2cda58=await new _0x3de7d7({'connector':this[_0x3008f0(0x208)]})[_0x3008f0(0x1d2)]();_0x5ecc15[_0x3008f0(0x219)]=_0x2cda58[_0x3008f0(0x253)](_0x24570a=>({..._0x24570a,'description':this[_0x3008f0(0x286)](_0x3008f0(0x21b)+_0x24570a['id'][_0x3008f0(0x287)](),_0x24570a[_0x3008f0(0x20f)])}));}catch(_0x18f814){this[_0x3008f0(0x24e)][_0x3008f0(0x24d)](_0x3008f0(0x251)),this[_0x3008f0(0x237)](new _0x4e7eb4(_0x3008f0(0x1f4),this,{'error':_0x18f814}));}this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x1ff),()=>{const _0x33be2f=_0x3008f0;this[_0x33be2f(0x27b)][_0x33be2f(0x1fd)](this[_0x33be2f(0x24e)][_0x33be2f(0x230)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x1e7),async(_0x384e10,_0x5b6f5c)=>{const _0x299ef4=_0x3008f0,_0x4de950=this[_0x299ef4(0x24e)][_0x299ef4(0x26c)](_0x5b6f5c['id']);if(_0x4de950){this[_0x299ef4(0x25e)](this[_0x299ef4(0x238)]),_0x5b6f5c[_0x299ef4(0x224)]?this[_0x299ef4(0x246)]=new _0x5e67ff(_0x5b6f5c[_0x299ef4(0x1d5)][_0x299ef4(0x23e)],_0x5b6f5c[_0x299ef4(0x1d5)][_0x299ef4(0x22c)],this[_0x299ef4(0x265)][_0x299ef4(0x1ef)](),_0x4de950,this[_0x299ef4(0x208)]):this[_0x299ef4(0x246)]=new _0x4e095a(this[_0x299ef4(0x265)][_0x299ef4(0x1ef)](),_0x4de950,this[_0x299ef4(0x208)],_0x5b6f5c[_0x299ef4(0x1d6)],_0x5b6f5c[_0x299ef4(0x1d5)]),this[_0x299ef4(0x27b)][_0x299ef4(0x260)](this[_0x299ef4(0x246)][_0x299ef4(0x1e5)],this[_0x299ef4(0x246)][_0x299ef4(0x223)]),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x281),(_0x51e9e1,_0x2c9540)=>{const _0x23f27d=_0x299ef4;_0x23f27d(0x1d1)===_0x2c9540[_0x23f27d(0x234)]||_0x23f27d(0x1e0)===_0x2c9540[_0x23f27d(0x234)]?(this[_0x23f27d(0x265)][_0x23f27d(0x1ee)](),this[_0x23f27d(0x27b)][_0x23f27d(0x22f)](_0x2c9540)):_0x23f27d(0x263)===_0x2c9540[_0x23f27d(0x234)]?this[_0x23f27d(0x27b)][_0x23f27d(0x236)]():_0x23f27d(0x24a)===_0x2c9540[_0x23f27d(0x234)]?this[_0x23f27d(0x27b)][_0x23f27d(0x1fe)]():_0x23f27d(0x235)===_0x2c9540[_0x23f27d(0x234)]?this[_0x23f27d(0x27b)][_0x23f27d(0x20e)]():_0x23f27d(0x217)===_0x2c9540[_0x23f27d(0x234)]?(this[_0x23f27d(0x27b)][_0x23f27d(0x273)](),this[_0x23f27d(0x237)](new _0x4e7eb4(_0x23f27d(0x1ea),this,this[_0x23f27d(0x246)]?.[_0x23f27d(0x20b)]))):_0x23f27d(0x22e)===_0x2c9540[_0x23f27d(0x234)]?(this[_0x23f27d(0x27b)][_0x23f27d(0x24c)](),this[_0x23f27d(0x237)](new _0x4e7eb4(_0x23f27d(0x1ce),this,this[_0x23f27d(0x246)]?.[_0x23f27d(0x20b)]))):_0x23f27d(0x27c)===_0x2c9540[_0x23f27d(0x234)]&&(this[_0x23f27d(0x246)]&&this[_0x23f27d(0x246)][_0x23f27d(0x1e1)]>0x0?setTimeout(()=>{const _0x55daf4=_0x23f27d;this[_0x55daf4(0x246)]?.[_0x55daf4(0x23c)]();},0x0):this[_0x23f27d(0x1d3)](!0x0)),_0x23f27d(0x24a)!==_0x2c9540[_0x23f27d(0x234)]&&_0x23f27d(0x22e)!==_0x2c9540[_0x23f27d(0x234)]&&_0x23f27d(0x217)!==_0x2c9540[_0x23f27d(0x234)]||this[_0x23f27d(0x246)]?.[_0x23f27d(0x233)]();}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x20c),(_0x174706,_0x4650bb)=>{const _0x2cf31c=_0x299ef4;if(!this[_0x2cf31c(0x246)])throw new _0x4e7eb4(_0x2cf31c(0x274),this);const _0x5e6c16=this[_0x2cf31c(0x265)][_0x2cf31c(0x232)](_0x4650bb[_0x2cf31c(0x1f9)][_0x2cf31c(0x258)],_0x4650bb[_0x2cf31c(0x1f9)][_0x2cf31c(0x269)]);_0x4650bb[_0x2cf31c(0x25f)][_0x2cf31c(0x26a)](_0x4650bb[_0x2cf31c(0x1f9)]['id'],_0x5e6c16);}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x1fc),(_0x5825f0,_0x315031)=>{const _0xc16db5=_0x299ef4;for(const _0xbff897 of _0x315031[_0xc16db5(0x201)])this[_0xc16db5(0x27b)][_0xc16db5(0x280)](_0xbff897);this[_0xc16db5(0x265)][_0xc16db5(0x276)](_0x315031[_0xc16db5(0x201)],_0x315031[_0xc16db5(0x25f)][_0xc16db5(0x262)]);}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x288),(_0x4be954,_0x3a5f8b)=>{const _0x1856fe=_0x299ef4;this[_0x1856fe(0x27b)][_0x1856fe(0x27a)](_0x3a5f8b[_0x1856fe(0x211)]['id'],_0x3a5f8b[_0x1856fe(0x234)]);}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x1ec),(_0x5cd182,_0x513dde)=>{const _0x2fb5f9=_0x299ef4;this[_0x2fb5f9(0x27b)][_0x2fb5f9(0x277)](_0x513dde[_0x2fb5f9(0x211)]['id']);const _0x3d77cf=this[_0x2fb5f9(0x265)][_0x2fb5f9(0x1f8)](_0x513dde[_0x2fb5f9(0x211)]['id']);if(!_0x3d77cf)return;if(_0x2fb5f9(0x1f2)===this[_0x2fb5f9(0x23a)]){const _0x20954a=this[_0x2fb5f9(0x27b)][_0x2fb5f9(0x204)](_0x513dde[_0x2fb5f9(0x211)]['id']);_0x20954a&&_0x4483a0(_0x20954a[_0x2fb5f9(0x21c)](_0x2fb5f9(0x221))||_0x20954a);}else{if(_0x2fb5f9(0x1e3)===this[_0x2fb5f9(0x23a)]){const _0x5bc5ba={'target':_0x3d77cf[_0x2fb5f9(0x1f6)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x3339e3(_0x5bc5ba);}}const _0x1417cf=this[_0x2fb5f9(0x265)][_0x2fb5f9(0x21f)]();this[_0x2fb5f9(0x27b)][_0x2fb5f9(0x1cf)](_0x513dde[_0x2fb5f9(0x211)],_0x3d77cf[_0x2fb5f9(0x1f6)],void 0x0,_0x2fb5f9(0x1d9),_0x1417cf?.[_0x2fb5f9(0x20a)]?.[_0x2fb5f9(0x1f7)]?.[_0x2fb5f9(0x243)](),_0x1417cf?.['ui']?.[_0x2fb5f9(0x220)]);}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x259),()=>{const _0x4b85f1=_0x299ef4;this[_0x4b85f1(0x27b)][_0x4b85f1(0x1da)](),this[_0x4b85f1(0x27b)][_0x4b85f1(0x22b)]();});try{await this[_0x299ef4(0x246)][_0x299ef4(0x21d)]();}catch(_0x46c20d){_0x46c20d instanceof Error&&_0x46c20d[_0x299ef4(0x247)][_0x299ef4(0x250)](_0x299ef4(0x210))||(_0x46c20d instanceof _0x4e7eb4?this[_0x299ef4(0x237)](_0x46c20d):this[_0x299ef4(0x237)](new _0x4e7eb4(_0x299ef4(0x252),this,{'error':_0x46c20d})));}}else this[_0x299ef4(0x237)](new _0x4e7eb4(_0x299ef4(0x207),this,{'checkId':_0x5b6f5c['id']}));}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x278),()=>{const _0x5e0284=_0x3008f0;this[_0x5e0284(0x1d3)]();}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x23f),()=>{const _0x24126b=_0x3008f0;this[_0x24126b(0x1d3)](!0x0);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x255),()=>{const _0x4519be=_0x3008f0;this[_0x4519be(0x246)]&&this[_0x4519be(0x246)][_0x4519be(0x268)]();}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x26f),()=>{const _0x54f31d=_0x3008f0;this[_0x54f31d(0x1d3)](!0x0);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x24f),()=>{const _0x4e4bf5=_0x3008f0;if(!this[_0x4e4bf5(0x246)])return;const _0x293406=this[_0x4e4bf5(0x246)][_0x4e4bf5(0x256)]();_0x293406[_0x4e4bf5(0x202)]&&(this[_0x4e4bf5(0x265)][_0x4e4bf5(0x203)](_0x293406[_0x4e4bf5(0x253)](_0x4fe5c6=>_0x4fe5c6['id'])),this[_0x4e4bf5(0x246)][_0x4e4bf5(0x229)](),this[_0x4e4bf5(0x246)][_0x4e4bf5(0x233)]());}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x242),(_0x15934b,_0x3353cb)=>{const _0x4d9729=_0x3008f0;this[_0x4d9729(0x246)]&&this[_0x4d9729(0x246)][_0x4d9729(0x1d0)](_0x3353cb['id'])&&(this[_0x4d9729(0x265)][_0x4d9729(0x203)]([_0x3353cb['id']]),this[_0x4d9729(0x246)][_0x4d9729(0x1ed)](_0x3353cb['id']),this[_0x4d9729(0x27b)][_0x4d9729(0x22b)](),this[_0x4d9729(0x246)][_0x4d9729(0x233)](_0x3353cb['id']));}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x283),(_0x2240e8,_0x51b052)=>{const _0x3a221d=_0x3008f0;this[_0x3a221d(0x246)]&&this[_0x3a221d(0x246)][_0x3a221d(0x1d0)](_0x51b052['id'])&&(this[_0x3a221d(0x265)][_0x3a221d(0x216)](_0x51b052['id']),this[_0x3a221d(0x246)][_0x3a221d(0x25c)](_0x51b052['id']),this[_0x3a221d(0x27b)][_0x3a221d(0x22b)](),this[_0x3a221d(0x246)][_0x3a221d(0x233)](_0x51b052['id']));}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x200),(_0x5e31e0,_0x53ebd7)=>{const _0x17cd8e=_0x3008f0;this[_0x17cd8e(0x238)]=_0x53ebd7['on'],this[_0x17cd8e(0x25e)](this[_0x17cd8e(0x238)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x1f0),async()=>{const _0x81ec90=_0x3008f0;this[_0x81ec90(0x246)]&&(this[_0x81ec90(0x265)][_0x81ec90(0x225)](),this[_0x81ec90(0x246)][_0x81ec90(0x231)](this[_0x81ec90(0x265)][_0x81ec90(0x1ef)]()),await this[_0x81ec90(0x246)][_0x81ec90(0x271)]());}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x284),(_0x27fb5b,_0x37eb87)=>{const _0x21dedc=_0x3008f0;this[_0x21dedc(0x246)]&&(this[_0x21dedc(0x23a)]=_0x21dedc(0x1e3),this[_0x21dedc(0x246)][_0x21dedc(0x284)](_0x37eb87['id']));}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x270),()=>{const _0x4e9a0d=_0x3008f0;this[_0x4e9a0d(0x246)]&&this[_0x4e9a0d(0x246)][_0x4e9a0d(0x270)]();}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x206),(_0x89b764,_0x5bcb5e)=>{const _0xaf924c=_0x3008f0;if(!this[_0xaf924c(0x246)])return;this[_0xaf924c(0x23a)]=_0xaf924c(0x1f2),this[_0xaf924c(0x246)][_0xaf924c(0x284)](_0x5bcb5e[_0xaf924c(0x222)]);const _0xaf8bc8=this[_0xaf924c(0x246)][_0xaf924c(0x23b)](_0x5bcb5e[_0xaf924c(0x222)]);if(!_0xaf8bc8)return;const _0x2b2232=this[_0xaf924c(0x265)][_0xaf924c(0x21f)]();this[_0xaf924c(0x27b)][_0xaf924c(0x1cf)](_0xaf8bc8,_0x5bcb5e[_0xaf924c(0x1df)],_0x5bcb5e[_0xaf924c(0x1f1)],_0xaf924c(0x1d9),_0x2b2232?.[_0xaf924c(0x20a)]?.[_0xaf924c(0x1f7)]?.[_0xaf924c(0x243)](),_0x2b2232?.['ui']?.[_0xaf924c(0x220)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x1e4),(_0x56210b,_0x2fe784)=>{const _0x110b39=_0x3008f0;if(!this[_0x110b39(0x246)])return;if(this[_0x110b39(0x246)][_0x110b39(0x1f3)]())return;const _0x8941d1=this[_0x110b39(0x246)][_0x110b39(0x23b)](_0x2fe784[_0x110b39(0x222)]);if(!_0x8941d1)return;const _0xd0534b=this[_0x110b39(0x265)][_0x110b39(0x21f)]();this[_0x110b39(0x27b)][_0x110b39(0x1cf)](_0x8941d1,_0x2fe784[_0x110b39(0x1df)],_0x2fe784[_0x110b39(0x1f1)],_0x110b39(0x25b),_0xd0534b?.[_0x110b39(0x20a)]?.[_0x110b39(0x1f7)]?.[_0x110b39(0x243)](),_0xd0534b?.['ui']?.[_0x110b39(0x220)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x1eb),()=>{const _0x58d0da=_0x3008f0;if(!this[_0x58d0da(0x246)])return;this[_0x58d0da(0x246)][_0x58d0da(0x1f3)]()||this[_0x58d0da(0x27b)][_0x58d0da(0x22b)]();}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x254),(_0x33be46,_0x1a4548)=>{const _0x19dbed=_0x3008f0;this[_0x19dbed(0x246)]&&this[_0x19dbed(0x246)][_0x19dbed(0x215)](_0x1a4548[_0x19dbed(0x222)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x1fb),(_0xe221a9,_0x3458e7)=>{const _0x5ec81e=_0x3008f0;this[_0x5ec81e(0x246)]&&this[_0x5ec81e(0x246)][_0x5ec81e(0x26e)](_0x3458e7[_0x5ec81e(0x222)]);});}[_0x372c2a(0x1d3)](_0x348471=!0x1){const _0x1b7312=_0x372c2a;this[_0x1b7312(0x246)]&&(this[_0x1b7312(0x246)][_0x1b7312(0x26d)]||this[_0x1b7312(0x246)][_0x1b7312(0x233)](),this[_0x1b7312(0x246)][_0x1b7312(0x266)](),this[_0x1b7312(0x246)][_0x1b7312(0x268)](),this[_0x1b7312(0x246)]=void 0x0),_0x348471&&this[_0x1b7312(0x27b)][_0x1b7312(0x267)](),this[_0x1b7312(0x265)][_0x1b7312(0x225)](),this[_0x1b7312(0x265)][_0x1b7312(0x21a)](),this[_0x1b7312(0x23a)]=null;const _0x590cc2=this[_0x1b7312(0x265)][_0x1b7312(0x21f)]();_0x590cc2&&_0x590cc2[_0x1b7312(0x20a)][_0x1b7312(0x1f7)][_0x1b7312(0x211)](_0x1f5e2d=>{const _0x350658=_0x1b7312,_0x53f023=_0x590cc2[_0x350658(0x20a)][_0x350658(0x1f7)][_0x350658(0x27d)][_0x350658(0x218)]();_0x1f5e2d[_0x350658(0x272)](_0x350658(0x27f),_0x53f023),_0x1f5e2d[_0x350658(0x272)](_0x350658(0x1e2),_0x53f023);});}[_0x372c2a(0x25e)](_0x3b4389){const _0x642c83=_0x372c2a,_0x485edf=this[_0x642c83(0x265)][_0x642c83(0x21f)]();_0x3b4389?this[_0x642c83(0x27b)][_0x642c83(0x21e)]():this[_0x642c83(0x27b)][_0x642c83(0x213)](),_0x485edf&&_0x485edf[_0x642c83(0x20a)][_0x642c83(0x1f7)][_0x642c83(0x211)](_0x3d7d6a=>{const _0x3ad10d=_0x642c83,_0x20ddca=_0x485edf[_0x3ad10d(0x20a)][_0x3ad10d(0x1f7)][_0x3ad10d(0x27d)][_0x3ad10d(0x218)]();_0x3d7d6a[_0x3ad10d(0x272)](_0x3ad10d(0x27f),_0x20ddca),_0x3d7d6a[_0x3ad10d(0x272)](_0x3ad10d(0x1e2),_0x20ddca),_0x3d7d6a[_0x3ad10d(0x1dc)](_0x3b4389?_0x3ad10d(0x27f):_0x3ad10d(0x1e2),_0x20ddca);});}[_0x372c2a(0x25d)](_0x345b5a){const _0x54a87d=_0x372c2a;return _0x345b5a[_0x54a87d(0x253)](_0x566266=>{const _0x8b27b9=_0x54a87d,_0x3c180d=_0x8b27b9(0x227)+_0x566266['id'][_0x8b27b9(0x287)]()[_0x8b27b9(0x282)]('-','_'),_0x3f60f2={..._0x566266,'title':this[_0x8b27b9(0x286)](_0x3c180d+_0x8b27b9(0x25a),_0x566266[_0x8b27b9(0x1e5)]),'description':this[_0x8b27b9(0x286)](_0x3c180d+_0x8b27b9(0x24b),_0x566266[_0x8b27b9(0x20f)])};return _0x566266[_0x8b27b9(0x1e9)]&&(_0x3f60f2[_0x8b27b9(0x1e9)]=_0x566266[_0x8b27b9(0x1e9)][_0x8b27b9(0x253)](_0x39ba1f=>({..._0x39ba1f,'label':this[_0x8b27b9(0x286)](_0x3c180d+_0x8b27b9(0x279),_0x39ba1f[_0x8b27b9(0x249)]||''),'data':_0x39ba1f[_0x8b27b9(0x1d1)]?_0x39ba1f[_0x8b27b9(0x1d1)][_0x8b27b9(0x253)](_0x25f37b=>({..._0x25f37b,'label':this[_0x8b27b9(0x286)](_0x3c180d+_0x8b27b9(0x27e)+_0x25f37b['id'][_0x8b27b9(0x287)](),_0x25f37b[_0x8b27b9(0x249)])})):void 0x0}))),_0x3f60f2;});}[_0x372c2a(0x286)](_0x220388,_0x823f23){const _0x9d1fcd=_0x372c2a,_0x2779d1=this[_0x9d1fcd(0x20d)][_0x9d1fcd(0x240)],_0x141782=_0x23070d(_0x2779d1,_0x220388);return _0x141782===_0x220388?_0x823f23:_0x141782;}[_0x372c2a(0x237)](_0x3d5ae7){const _0x47e488=_0x372c2a;_0x1fc349(_0x3d5ae7[_0x47e488(0x247)]),_0x3d5ae7[_0x47e488(0x247)][_0x47e488(0x214)](_0x47e488(0x1f4))?this[_0x47e488(0x27b)][_0x47e488(0x1d4)]():this[_0x47e488(0x27b)][_0x47e488(0x273)]();}}
23
+ const _0x57eaad=_0x54d3;(function(_0x2a85b9,_0x337522){const _0x2b81c3=_0x54d3,_0x41a94e=_0x2a85b9();while(!![]){try{const _0x1b1a93=parseInt(_0x2b81c3(0x214))/0x1*(-parseInt(_0x2b81c3(0x1a8))/0x2)+parseInt(_0x2b81c3(0x1c6))/0x3*(parseInt(_0x2b81c3(0x1b9))/0x4)+-parseInt(_0x2b81c3(0x1f2))/0x5*(-parseInt(_0x2b81c3(0x1c1))/0x6)+-parseInt(_0x2b81c3(0x1c3))/0x7*(-parseInt(_0x2b81c3(0x1a9))/0x8)+-parseInt(_0x2b81c3(0x1fe))/0x9*(-parseInt(_0x2b81c3(0x1b7))/0xa)+parseInt(_0x2b81c3(0x1ee))/0xb+-parseInt(_0x2b81c3(0x1cc))/0xc*(parseInt(_0x2b81c3(0x22b))/0xd);if(_0x1b1a93===_0x337522)break;else _0x41a94e['push'](_0x41a94e['shift']());}catch(_0x492d34){_0x41a94e['push'](_0x41a94e['shift']());}}}(_0x5c12,0xdc58d));function _0x5c12(){const _0x361145=['_onDiffChange','markAllChangesAsAccepted','31480HgOOgq','isAnyChangeActivated','dismissChange','switchToReadOnly','document','models','toUpperCase','ai-review-mode-models-unable-to-retrieve','getActiveChanges','getCheckById','clearAllMarkers','pluginName','1980630BtgRJm','label','unmodified','title','changeMarkerRestored','init','leaveReviewModeResultList','ready','_onReviewModeRunLeave','message','aborted','_OPTIONS_DATA_','runReviewCheck','contentNew','startsWith','sendRating','changeMarkerHovered','getDomRoot','showNoChangesView','listenTo','getAll','abortReviewStream','6068SSHbNO','contentInitial','translate','editing','markChangeAsPending','setCheckResultTitle','activateChange','applyChange','rejectChange','start','getRoot','args','description','addResultChanges','AI_REVIEW_CHECK_','loading','isChangeActive','hideDiffInBalloon','_DESCRIPTION','updateChangeState','change','processedResultsCount','error-general','16807141jPzUeY','data','showGeneralReviewModeErrorView','changeMarkerBlurred','custom','ai-review-mode-check-run-chunk-error','_changeActivationSource','showReviewCompletedView','abort','markChangeAsOutdated','AIReviewModeEditing','domEvent','source','_isDiffOn','ck-ai-review-mode-highlights','context','hover','content','reviewCheckResultActivated','reviewCheckRunUpdated','checks','ai-review-mode-no-current-check-run','getReviewCheckList','markChangePositionInEditorContent','_OPTIONS_LABEL','diffContent','emitter','reviewCheckResultReady','ai-review-mode-source-check-not-found','options','setAvailableChecks','removeClass','forceReadyState','ai-request-aborted','retryReview','getDocumentData','markChangeAsRejected','ai-review-mode-check-run-failed','.ck-ai-review-mode__check-run-result','_TITLE','viewportOffset','showChangeBalloon','click','subTitle','changeMarkerClick','changes','changeId','config','toggleDiff','markChangeAsAccepted','isCustom','find','includes','view','result','acceptChange','AIConnector','ai.reviewMode.translations','502pXIFJG','7280648EfUAAR','currentError','length','finishReview','locale','reviewCheckResultChangeStatusUpdated','removeCheckById','showActionsWhenResultIsReady','markerElement','stopListening','get','_aiConnector','model','plugins','40eFeHJB','ai-review-mode-check-run-general-error','636khJjiA','AI_MODEL_DESCRIPTION_','_aiReviewModeEditing','resetActiveStateInResults','AIReviewModeUI','showChunkErrorView','getChangeElement','deactivateChange','558gdrfYn','getEditor','7VVCnmb','getChangeById','changeMarkerRemoved','20733sBrWlI','showReviewCheckList','_getTranslationWithDefault','reviewCheckResultDeactivated','error-chunk','finished','24zHMIGo','params','ck-ai-review-mode-diff','_currentReviewCheckRun','setActiveStateInResults','showCheckRunResults','showCheckRunResult','reviewCheckResultAdded','_logError','replaceAll','status','map','switchToEdit','showGeneralResultsErrorView','getMarkerElementForChange','documentData','domElement','isOfficialPlugin','_aiReviewCheckList','panel','isPremiumPlugin','prompt','hideChangeBalloon','addClass','requires','_translateReviewChecks','AIReviewModeController','restart','leaveReviewMode','showDiffInBalloon','hasModifications','closest','acceptAllChanges','_aiReviewModeUi','16902435LUpLGi','updateDocumentData'];_0x5c12=function(){return _0x361145;};return _0x5c12();}function _0x54d3(_0x1668f7,_0x28630f){const _0x5c120b=_0x5c12();return _0x54d3=function(_0x54d39d,_0x9d1524){_0x54d39d=_0x54d39d-0x197;let _0x2973a0=_0x5c120b[_0x54d39d];return _0x2973a0;},_0x54d3(_0x1668f7,_0x28630f);}import{ContextPlugin as _0x2c4167}from'ckeditor5/src/core.js';import{CKEditorError as _0x301adf,logError as _0xe4be4b,scrollAncestorsToShowTarget as _0x43dcef,scrollViewportToShowTarget as _0x285d0b}from'ckeditor5/src/utils.js';import{AIConnector as _0x5b8c45}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x5b73c8}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x5b226f}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x78701f}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x332d83}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x4734d7}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x535e69}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x2c4167{[_0x57eaad(0x1b4)];[_0x57eaad(0x1ed)];[_0x57eaad(0x1bb)];[_0x57eaad(0x1de)];[_0x57eaad(0x1cf)];[_0x57eaad(0x238)]=!0x1;[_0x57eaad(0x231)]=null;static get[_0x57eaad(0x1e4)](){return[_0x5b8c45];}static get[_0x57eaad(0x1fd)](){const _0x27609f=_0x57eaad;return _0x27609f(0x1e6);}static get[_0x57eaad(0x1dd)](){return!0x0;}static get[_0x57eaad(0x1e0)](){return!0x0;}async[_0x57eaad(0x203)](){const _0x75e7b0=_0x57eaad;this[_0x75e7b0(0x1b4)]=this[_0x75e7b0(0x23a)][_0x75e7b0(0x1b6)][_0x75e7b0(0x1b3)](_0x75e7b0(0x1a6)),this[_0x75e7b0(0x1ed)]=this[_0x75e7b0(0x23a)][_0x75e7b0(0x1b6)][_0x75e7b0(0x1b3)](_0x75e7b0(0x1bd)),this[_0x75e7b0(0x1bb)]=this[_0x75e7b0(0x23a)][_0x75e7b0(0x1b6)][_0x75e7b0(0x1b3)](_0x75e7b0(0x235));const _0x53929b=this[_0x75e7b0(0x23a)][_0x75e7b0(0x19d)][_0x75e7b0(0x1b3)](_0x75e7b0(0x1a7));if(_0x53929b){for(const _0x54b3dd of _0x4734d7)_0x75e7b0(0x216)===_0x54b3dd['id']&&(_0x54b3dd[_0x75e7b0(0x248)][0x0][_0x75e7b0(0x22c)]=_0x53929b);}const _0xa56d88=this[_0x75e7b0(0x1e5)](_0x4734d7);this[_0x75e7b0(0x1de)]=new _0x5b73c8(_0xa56d88);const _0x2195ce=this[_0x75e7b0(0x1de)][_0x75e7b0(0x23f)][_0x75e7b0(0x1a1)](_0x25445a=>_0x75e7b0(0x22f)===_0x25445a['id']);if(_0x2195ce)try{const _0xa75a09=await new _0x332d83({'connector':this[_0x75e7b0(0x1b4)]})[_0x75e7b0(0x212)]();_0x2195ce[_0x75e7b0(0x1f7)]=_0xa75a09[_0x75e7b0(0x1d7)](_0x51f74c=>({..._0x51f74c,'description':this[_0x75e7b0(0x1c8)](_0x75e7b0(0x1ba)+_0x51f74c['id'][_0x75e7b0(0x1f8)](),_0x51f74c[_0x75e7b0(0x220)])}));}catch(_0x58b6fc){this[_0x75e7b0(0x1de)][_0x75e7b0(0x1af)](_0x75e7b0(0x22f)),this[_0x75e7b0(0x1d4)](new _0x301adf(_0x75e7b0(0x1f9),this,{'error':_0x58b6fc}));}this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x241),()=>{const _0x6aada3=_0x75e7b0;this[_0x6aada3(0x1ed)][_0x6aada3(0x249)](this[_0x6aada3(0x1de)][_0x6aada3(0x23f)]);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x20a),async(_0x211f94,_0xaf0981)=>{const _0x33d120=_0x75e7b0,_0x481f34=this[_0x33d120(0x1de)][_0x33d120(0x1fb)](_0xaf0981['id']);if(_0x481f34){this[_0x33d120(0x1f0)](this[_0x33d120(0x238)]),_0xaf0981[_0x33d120(0x1a0)]?this[_0x33d120(0x1cf)]=new _0x78701f(_0xaf0981[_0x33d120(0x21f)][_0x33d120(0x1e1)],_0xaf0981[_0x33d120(0x21f)][_0x33d120(0x1b5)],this[_0x33d120(0x1bb)][_0x33d120(0x24e)](),_0x481f34,this[_0x33d120(0x1b4)]):this[_0x33d120(0x1cf)]=new _0x5b226f(this[_0x33d120(0x1bb)][_0x33d120(0x24e)](),_0x481f34,this[_0x33d120(0x1b4)],_0xaf0981[_0x33d120(0x1cd)],_0xaf0981[_0x33d120(0x21f)]),this[_0x33d120(0x1ed)][_0x33d120(0x219)](this[_0x33d120(0x1cf)][_0x33d120(0x201)],this[_0x33d120(0x1cf)][_0x33d120(0x199)]),this[_0x33d120(0x1cf)]['on'](_0x33d120(0x23e),(_0xb4af4e,_0x1436b4)=>{const _0x2aeb0c=_0x33d120;_0x2aeb0c(0x22c)===_0x1436b4[_0x2aeb0c(0x1d6)]||_0x2aeb0c(0x223)===_0x1436b4[_0x2aeb0c(0x1d6)]?(this[_0x2aeb0c(0x1bb)][_0x2aeb0c(0x1f5)](),this[_0x2aeb0c(0x1ed)][_0x2aeb0c(0x1d1)](_0x1436b4)):_0x2aeb0c(0x1cb)===_0x1436b4[_0x2aeb0c(0x1d6)]?this[_0x2aeb0c(0x1ed)][_0x2aeb0c(0x232)]():_0x2aeb0c(0x205)===_0x1436b4[_0x2aeb0c(0x1d6)]?this[_0x2aeb0c(0x1ed)][_0x2aeb0c(0x1b0)]():_0x2aeb0c(0x200)===_0x1436b4[_0x2aeb0c(0x1d6)]?this[_0x2aeb0c(0x1ed)][_0x2aeb0c(0x210)]():_0x2aeb0c(0x22a)===_0x1436b4[_0x2aeb0c(0x1d6)]?(this[_0x2aeb0c(0x1ed)][_0x2aeb0c(0x1d9)](),this[_0x2aeb0c(0x1d4)](new _0x301adf(_0x2aeb0c(0x1b8),this,this[_0x2aeb0c(0x1cf)]?.[_0x2aeb0c(0x1aa)]))):_0x2aeb0c(0x1ca)===_0x1436b4[_0x2aeb0c(0x1d6)]?(this[_0x2aeb0c(0x1ed)][_0x2aeb0c(0x1be)](),this[_0x2aeb0c(0x1d4)](new _0x301adf(_0x2aeb0c(0x230),this,this[_0x2aeb0c(0x1cf)]?.[_0x2aeb0c(0x1aa)]))):_0x2aeb0c(0x208)===_0x1436b4[_0x2aeb0c(0x1d6)]&&(this[_0x2aeb0c(0x1cf)]&&this[_0x2aeb0c(0x1cf)][_0x2aeb0c(0x229)]>0x0?setTimeout(()=>{const _0x12f874=_0x2aeb0c;this[_0x12f874(0x1cf)]?.[_0x12f874(0x24b)]();},0x0):this[_0x2aeb0c(0x206)](!0x0)),_0x2aeb0c(0x205)!==_0x1436b4[_0x2aeb0c(0x1d6)]&&_0x2aeb0c(0x1ca)!==_0x1436b4[_0x2aeb0c(0x1d6)]&&_0x2aeb0c(0x22a)!==_0x1436b4[_0x2aeb0c(0x1d6)]||this[_0x2aeb0c(0x1cf)]?.[_0x2aeb0c(0x20d)]();}),this[_0x33d120(0x1cf)]['on'](_0x33d120(0x1d3),(_0x2ada3d,_0x3f2560)=>{const _0x24f721=_0x33d120;if(!this[_0x24f721(0x1cf)])throw new _0x301adf(_0x24f721(0x240),this);const _0x1b0a97=this[_0x24f721(0x1bb)][_0x24f721(0x244)](_0x3f2560[_0x24f721(0x1a4)][_0x24f721(0x215)],_0x3f2560[_0x24f721(0x1a4)][_0x24f721(0x20b)]);_0x3f2560[_0x24f721(0x237)][_0x24f721(0x221)](_0x3f2560[_0x24f721(0x1a4)]['id'],_0x1b0a97);}),this[_0x33d120(0x1cf)]['on'](_0x33d120(0x246),(_0x529192,_0x153b47)=>{const _0x327fc4=_0x33d120;for(const _0x1e54ef of _0x153b47[_0x327fc4(0x19b)])this[_0x327fc4(0x1ed)][_0x327fc4(0x1d2)](_0x1e54ef);this[_0x327fc4(0x1bb)][_0x327fc4(0x242)](_0x153b47[_0x327fc4(0x19b)],_0x153b47[_0x327fc4(0x237)][_0x327fc4(0x1db)]);}),this[_0x33d120(0x1cf)]['on'](_0x33d120(0x1ae),(_0x85e29b,_0x51135d)=>{const _0x46a4f2=_0x33d120;this[_0x46a4f2(0x1ed)][_0x46a4f2(0x227)](_0x51135d[_0x46a4f2(0x228)]['id'],_0x51135d[_0x46a4f2(0x1d6)]);}),this[_0x33d120(0x1cf)]['on'](_0x33d120(0x23d),(_0x2bd9d2,_0x20a008)=>{const _0x4e1633=_0x33d120;this[_0x4e1633(0x1ed)][_0x4e1633(0x1d0)](_0x20a008[_0x4e1633(0x228)]['id']);const _0x5bf455=this[_0x4e1633(0x1bb)][_0x4e1633(0x1da)](_0x20a008[_0x4e1633(0x228)]['id']);if(!_0x5bf455)return;if(_0x4e1633(0x23c)===this[_0x4e1633(0x231)]){const _0x3a1468=this[_0x4e1633(0x1ed)][_0x4e1633(0x1bf)](_0x20a008[_0x4e1633(0x228)]['id']);_0x3a1468&&_0x43dcef(_0x3a1468[_0x4e1633(0x1eb)](_0x4e1633(0x251))||_0x3a1468);}else{if(_0x4e1633(0x1df)===this[_0x4e1633(0x231)]){const _0x199fca={'target':_0x5bf455[_0x4e1633(0x1dc)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x285d0b(_0x199fca);}}const _0x43f223=this[_0x4e1633(0x1bb)][_0x4e1633(0x1c2)]();this[_0x4e1633(0x1ed)][_0x4e1633(0x197)](_0x20a008[_0x4e1633(0x228)],_0x5bf455[_0x4e1633(0x1dc)],void 0x0,_0x4e1633(0x198),_0x43f223?.[_0x4e1633(0x217)]?.[_0x4e1633(0x1a3)]?.[_0x4e1633(0x20f)](),_0x43f223?.['ui']?.[_0x4e1633(0x253)]);}),this[_0x33d120(0x1cf)]['on'](_0x33d120(0x1c9),()=>{const _0x224853=_0x33d120;this[_0x224853(0x1ed)][_0x224853(0x1bc)](),this[_0x224853(0x1ed)][_0x224853(0x1e2)]();});try{await this[_0x33d120(0x1cf)][_0x33d120(0x21d)]();}catch(_0x14d02b){_0x14d02b instanceof Error&&_0x14d02b[_0x33d120(0x207)][_0x33d120(0x1a2)](_0x33d120(0x24c))||(_0x14d02b instanceof _0x301adf?this[_0x33d120(0x1d4)](_0x14d02b):this[_0x33d120(0x1d4)](new _0x301adf(_0x33d120(0x250),this,{'error':_0x14d02b})));}}else this[_0x33d120(0x1d4)](new _0x301adf(_0x33d120(0x247),this,{'checkId':_0xaf0981['id']}));}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x1e8),()=>{const _0x2e9fa7=_0x75e7b0;this[_0x2e9fa7(0x206)]();}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x204),()=>{const _0x4e4a35=_0x75e7b0;this[_0x4e4a35(0x206)](!0x0);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x213),()=>{const _0x513acd=_0x75e7b0;this[_0x513acd(0x1cf)]&&this[_0x513acd(0x1cf)][_0x513acd(0x233)]();}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x1ac),()=>{const _0x453d74=_0x75e7b0;this[_0x453d74(0x206)](!0x0);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x1ec),()=>{const _0x31c510=_0x75e7b0;if(!this[_0x31c510(0x1cf)])return;const _0x2452b3=this[_0x31c510(0x1cf)][_0x31c510(0x1fa)]();_0x2452b3[_0x31c510(0x1ab)]&&(this[_0x31c510(0x1bb)][_0x31c510(0x21b)](_0x2452b3[_0x31c510(0x1d7)](_0xb02174=>_0xb02174['id'])),this[_0x31c510(0x1cf)][_0x31c510(0x1f1)](),this[_0x31c510(0x1cf)][_0x31c510(0x20d)]());}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x1a5),(_0x6bc9aa,_0x32136b)=>{const _0x160c5f=_0x75e7b0;this[_0x160c5f(0x1cf)]&&this[_0x160c5f(0x1cf)][_0x160c5f(0x224)](_0x32136b['id'])&&(this[_0x160c5f(0x1bb)][_0x160c5f(0x21b)]([_0x32136b['id']]),this[_0x160c5f(0x1cf)][_0x160c5f(0x19f)](_0x32136b['id']),this[_0x160c5f(0x1ed)][_0x160c5f(0x1e2)](),this[_0x160c5f(0x1cf)][_0x160c5f(0x20d)](_0x32136b['id']));}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x1f4),(_0x509aa2,_0x2e32e4)=>{const _0x1e88df=_0x75e7b0;this[_0x1e88df(0x1cf)]&&this[_0x1e88df(0x1cf)][_0x1e88df(0x224)](_0x2e32e4['id'])&&(this[_0x1e88df(0x1bb)][_0x1e88df(0x21c)](_0x2e32e4['id']),this[_0x1e88df(0x1cf)][_0x1e88df(0x24f)](_0x2e32e4['id']),this[_0x1e88df(0x1ed)][_0x1e88df(0x1e2)](),this[_0x1e88df(0x1cf)][_0x1e88df(0x20d)](_0x2e32e4['id']));}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x19e),(_0x104d2a,_0x4fd1c3)=>{const _0x557277=_0x75e7b0;this[_0x557277(0x238)]=_0x4fd1c3['on'],this[_0x557277(0x1f0)](this[_0x557277(0x238)]);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x24d),async()=>{const _0x4e6eba=_0x75e7b0;this[_0x4e6eba(0x1cf)]&&(this[_0x4e6eba(0x1bb)][_0x4e6eba(0x1fc)](),this[_0x4e6eba(0x1cf)][_0x4e6eba(0x1ef)](this[_0x4e6eba(0x1bb)][_0x4e6eba(0x24e)]()),await this[_0x4e6eba(0x1cf)][_0x4e6eba(0x1e7)]());}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x21a),(_0x2aef23,_0x441221)=>{const _0x15911d=_0x75e7b0;this[_0x15911d(0x1cf)]&&(this[_0x15911d(0x231)]=_0x15911d(0x1df),this[_0x15911d(0x1cf)][_0x15911d(0x21a)](_0x441221['id']));}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x1c0),()=>{const _0x33d9d9=_0x75e7b0;this[_0x33d9d9(0x1cf)]&&this[_0x33d9d9(0x1cf)][_0x33d9d9(0x1c0)]();}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1bb)][_0x75e7b0(0x245)],_0x75e7b0(0x19a),(_0x469611,_0x3cebd6)=>{const _0x5a82e9=_0x75e7b0;if(!this[_0x5a82e9(0x1cf)])return;this[_0x5a82e9(0x231)]=_0x5a82e9(0x23c),this[_0x5a82e9(0x1cf)][_0x5a82e9(0x21a)](_0x3cebd6[_0x5a82e9(0x19c)]);const _0x176a18=this[_0x5a82e9(0x1cf)][_0x5a82e9(0x1c4)](_0x3cebd6[_0x5a82e9(0x19c)]);if(!_0x176a18)return;const _0x200ff3=this[_0x5a82e9(0x1bb)][_0x5a82e9(0x1c2)]();this[_0x5a82e9(0x1ed)][_0x5a82e9(0x197)](_0x176a18,_0x3cebd6[_0x5a82e9(0x1b1)],_0x3cebd6[_0x5a82e9(0x236)],_0x5a82e9(0x198),_0x200ff3?.[_0x5a82e9(0x217)]?.[_0x5a82e9(0x1a3)]?.[_0x5a82e9(0x20f)](),_0x200ff3?.['ui']?.[_0x5a82e9(0x253)]);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1bb)][_0x75e7b0(0x245)],_0x75e7b0(0x20e),(_0x1b62c8,_0x23c860)=>{const _0x2056c7=_0x75e7b0;if(!this[_0x2056c7(0x1cf)])return;if(this[_0x2056c7(0x1cf)][_0x2056c7(0x1f3)]())return;const _0x896640=this[_0x2056c7(0x1cf)][_0x2056c7(0x1c4)](_0x23c860[_0x2056c7(0x19c)]);if(!_0x896640)return;const _0x2d540c=this[_0x2056c7(0x1bb)][_0x2056c7(0x1c2)]();this[_0x2056c7(0x1ed)][_0x2056c7(0x197)](_0x896640,_0x23c860[_0x2056c7(0x1b1)],_0x23c860[_0x2056c7(0x236)],_0x2056c7(0x23b),_0x2d540c?.[_0x2056c7(0x217)]?.[_0x2056c7(0x1a3)]?.[_0x2056c7(0x20f)](),_0x2d540c?.['ui']?.[_0x2056c7(0x253)]);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1bb)][_0x75e7b0(0x245)],_0x75e7b0(0x22e),()=>{const _0x2d65fe=_0x75e7b0;if(!this[_0x2d65fe(0x1cf)])return;this[_0x2d65fe(0x1cf)][_0x2d65fe(0x1f3)]()||this[_0x2d65fe(0x1ed)][_0x2d65fe(0x1e2)]();}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1bb)][_0x75e7b0(0x245)],_0x75e7b0(0x1c5),(_0xf80c58,_0x5d3696)=>{const _0x23a4c4=_0x75e7b0;this[_0x23a4c4(0x1cf)]&&this[_0x23a4c4(0x1cf)][_0x23a4c4(0x234)](_0x5d3696[_0x23a4c4(0x19c)]);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1bb)][_0x75e7b0(0x245)],_0x75e7b0(0x202),(_0x2724c4,_0x1bc33a)=>{const _0x300b8f=_0x75e7b0;this[_0x300b8f(0x1cf)]&&this[_0x300b8f(0x1cf)][_0x300b8f(0x218)](_0x1bc33a[_0x300b8f(0x19c)]);});}[_0x57eaad(0x206)](_0x5ddd74=!0x1){const _0x32cc90=_0x57eaad;this[_0x32cc90(0x1cf)]&&(this[_0x32cc90(0x1cf)][_0x32cc90(0x1ea)]||this[_0x32cc90(0x1cf)][_0x32cc90(0x20d)](),this[_0x32cc90(0x1cf)][_0x32cc90(0x1b2)](),this[_0x32cc90(0x1cf)][_0x32cc90(0x233)](),this[_0x32cc90(0x1cf)]=void 0x0),_0x5ddd74&&this[_0x32cc90(0x1ed)][_0x32cc90(0x1c7)](),this[_0x32cc90(0x1bb)][_0x32cc90(0x1fc)](),this[_0x32cc90(0x1bb)][_0x32cc90(0x1d8)](),this[_0x32cc90(0x231)]=null;const _0x109307=this[_0x32cc90(0x1bb)][_0x32cc90(0x1c2)]();_0x109307&&_0x109307[_0x32cc90(0x217)][_0x32cc90(0x1a3)][_0x32cc90(0x228)](_0x46c328=>{const _0x75cb47=_0x32cc90,_0x50c74c=_0x109307[_0x75cb47(0x217)][_0x75cb47(0x1a3)][_0x75cb47(0x1f6)][_0x75cb47(0x21e)]();_0x46c328[_0x75cb47(0x24a)](_0x75cb47(0x1ce),_0x50c74c),_0x46c328[_0x75cb47(0x24a)](_0x75cb47(0x239),_0x50c74c);});}[_0x57eaad(0x1f0)](_0x5471b5){const _0xbf863=_0x57eaad,_0x173418=this[_0xbf863(0x1bb)][_0xbf863(0x1c2)]();_0x5471b5?this[_0xbf863(0x1ed)][_0xbf863(0x225)]():this[_0xbf863(0x1ed)][_0xbf863(0x1e9)](),_0x173418&&_0x173418[_0xbf863(0x217)][_0xbf863(0x1a3)][_0xbf863(0x228)](_0x316b89=>{const _0x3e94c6=_0xbf863,_0xeb261=_0x173418[_0x3e94c6(0x217)][_0x3e94c6(0x1a3)][_0x3e94c6(0x1f6)][_0x3e94c6(0x21e)]();_0x316b89[_0x3e94c6(0x24a)](_0x3e94c6(0x1ce),_0xeb261),_0x316b89[_0x3e94c6(0x24a)](_0x3e94c6(0x239),_0xeb261),_0x316b89[_0x3e94c6(0x1e3)](_0x5471b5?_0x3e94c6(0x1ce):_0x3e94c6(0x239),_0xeb261);});}[_0x57eaad(0x1e5)](_0x30926b){const _0x3702b6=_0x57eaad;return _0x30926b[_0x3702b6(0x1d7)](_0x461037=>{const _0x624117=_0x3702b6,_0x6dd8ab=_0x624117(0x222)+_0x461037['id'][_0x624117(0x1f8)]()[_0x624117(0x1d5)]('-','_'),_0x189d67={..._0x461037,'title':this[_0x624117(0x1c8)](_0x6dd8ab+_0x624117(0x252),_0x461037[_0x624117(0x201)]),'description':this[_0x624117(0x1c8)](_0x6dd8ab+_0x624117(0x226),_0x461037[_0x624117(0x220)])};return _0x461037[_0x624117(0x248)]&&(_0x189d67[_0x624117(0x248)]=_0x461037[_0x624117(0x248)][_0x624117(0x1d7)](_0x58bca5=>({..._0x58bca5,'label':this[_0x624117(0x1c8)](_0x6dd8ab+_0x624117(0x243),_0x58bca5[_0x624117(0x1ff)]||''),'data':_0x58bca5[_0x624117(0x22c)]?_0x58bca5[_0x624117(0x22c)][_0x624117(0x1d7)](_0x494329=>({..._0x494329,'label':this[_0x624117(0x1c8)](_0x6dd8ab+_0x624117(0x209)+_0x494329['id'][_0x624117(0x1f8)](),_0x494329[_0x624117(0x1ff)])})):void 0x0}))),_0x189d67;});}[_0x57eaad(0x1c8)](_0x493cd8,_0x544c5e){const _0x9002b2=_0x57eaad,_0x4d9d36=this[_0x9002b2(0x23a)][_0x9002b2(0x1ad)],_0x3fc485=_0x535e69(_0x4d9d36,_0x493cd8);return _0x3fc485===_0x493cd8?_0x544c5e:_0x3fc485;}[_0x57eaad(0x1d4)](_0x5ee472){const _0xa5934e=_0x57eaad;_0xe4be4b(_0x5ee472[_0xa5934e(0x207)]),_0x5ee472[_0xa5934e(0x207)][_0xa5934e(0x20c)](_0xa5934e(0x1f9))?this[_0xa5934e(0x1ed)][_0xa5934e(0x22d)]():this[_0xa5934e(0x1ed)][_0xa5934e(0x1d9)]();}}