@ckeditor/ckeditor5-ai 47.4.0-alpha.5 → 47.4.0

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 (134) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  35. package/src/aichat/ui/aichatfeedview.js +1 -1
  36. package/src/aichat/ui/aichatheaderview.js +1 -1
  37. package/src/aichat/ui/aichatview.js +1 -1
  38. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  58. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  59. package/src/aichat/utils/eventnames.js +1 -1
  60. package/src/aichat/utils/promisequeue.js +1 -1
  61. package/src/aichathistory/aichathistory.js +1 -1
  62. package/src/aichathistory/aichathistorycontroller.js +1 -1
  63. package/src/aichathistory/aichathistoryui.js +1 -1
  64. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  65. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  66. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  67. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  68. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  69. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  70. package/src/aicore/aiconnector.js +1 -1
  71. package/src/aicore/aiediting.js +1 -1
  72. package/src/aicore/model/aicapabilities.js +1 -1
  73. package/src/aicore/model/aiinteraction.js +1 -1
  74. package/src/aicore/model/aimodels.js +1 -1
  75. package/src/aicore/model/aireply.js +1 -1
  76. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  77. package/src/aicore/pipeline/airesponseparser.js +2 -2
  78. package/src/aicore/ui/aidisclaimerview.js +1 -1
  79. package/src/aicore/ui/aiskeleton.js +1 -1
  80. package/src/aicore/ui/aispinner.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  86. package/src/aicore/utils/createresizebutton.js +1 -1
  87. package/src/aicore/utils/documentposition.js +1 -1
  88. package/src/aicore/utils/documentrange.js +1 -1
  89. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  90. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  91. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  92. package/src/aicore/utils/htmlparser.js +1 -1
  93. package/src/aicore/utils/htmlstreamer.js +1 -1
  94. package/src/aicore/utils/scrollmanager.js +1 -1
  95. package/src/aieditorintegration/aieditorintegration.js +1 -1
  96. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  97. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  98. package/src/aiquickactions/aiquickactions.js +1 -1
  99. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  100. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  101. package/src/aiquickactions/aiquickactionsui.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  103. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  104. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  105. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  106. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  107. package/src/aireviewmode/aireviewmode.js +1 -1
  108. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  109. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  110. package/src/aireviewmode/aireviewmodeui.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  112. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  113. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  114. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  115. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  116. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  117. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  118. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  123. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  124. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  125. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  126. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  127. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  128. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  129. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  130. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  131. package/src/aitabs/aitabs.js +1 -1
  132. package/src/aitabs/tabs/aitabsview.js +1 -1
  133. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  134. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xaf80e2,_0x354085){const _0x590266=_0x53b9,_0x10ffec=_0xaf80e2();while(!![]){try{const _0x259e37=parseInt(_0x590266(0x1d6))/0x1*(-parseInt(_0x590266(0x1c8))/0x2)+-parseInt(_0x590266(0x1f4))/0x3*(parseInt(_0x590266(0x222))/0x4)+parseInt(_0x590266(0x1c4))/0x5+parseInt(_0x590266(0x207))/0x6+parseInt(_0x590266(0x215))/0x7*(-parseInt(_0x590266(0x1fc))/0x8)+-parseInt(_0x590266(0x1fb))/0x9*(-parseInt(_0x590266(0x1fe))/0xa)+parseInt(_0x590266(0x1ff))/0xb;if(_0x259e37===_0x354085)break;else _0x10ffec['push'](_0x10ffec['shift']());}catch(_0x4afaa5){_0x10ffec['push'](_0x10ffec['shift']());}}}(_0x497a,0xf13f8));import{findOne as _0x4da8da,getAttribute as _0x8e6105,Document as _0x22ef40,serialize as _0x4a69e3,parse as _0x5dc5e7}from'./htmlparser.js';import{fixElementSuggestionRange as _0x29b2f2}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x505ea1,_DetachOperation as _0xab38a8,_removeFromModelNodeList as _0x506699,_insertIntoModelNodeList as _0x3e7419}from'ckeditor5/src/engine.js';import{uid as _0x1a1cc4}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x470e33,changeGroups:_0x19c494,documentContextContent:_0x337e36,showDiff:_0x5e2d7d,trimUnchanged:_0x58cf61=!0x0}){const _0x331070=_0x53b9;return _0x19c494[_0x331070(0x1dc)](_0x5dc321=>{const _0x17288a=_0x331070,_0x3a6547=new _0x22ef40([]),_0x51b346=new _0x22ef40([]);for(const _0x55c66d of _0x5dc321[_0x17288a(0x214)])if(_0x5e2d7d&&_0x17288a(0x1c5)==_0x55c66d[_0x17288a(0x21d)]||_0x51b346[_0x17288a(0x217)][_0x17288a(0x216)](_0x55c66d[_0x17288a(0x200)][_0x17288a(0x226)](!0x0)),_0x17288a(0x1d1)!=_0x55c66d[_0x17288a(0x21d)]&&(_0x5e2d7d||_0x17288a(0x1c5)!=_0x55c66d[_0x17288a(0x21d)])){const _0x392569=_0x4da8da(_0x58f924=>_0x8e6105(_0x58f924,_0x17288a(0x1e0))==_0x55c66d['id'],_0x337e36,!0x0);_0x392569&&_0x3a6547[_0x17288a(0x217)][_0x17288a(0x216)](_0x392569[_0x17288a(0x226)](!0x0));}const {content:_0x49741d,hasChanges:_0x4cdaf9}=function(_0x705d81,_0x219384,_0x2aa57a,_0xbe5b09,_0x51bf13=!0x0){const _0x275557=_0x17288a,_0x47bc65=_0x705d81[_0x275557(0x1ca)][_0x275557(0x205)](_0x275557(0x1fa)),_0x197f7b=_0x4a69e3(_0x219384),_0xf4be69=_0x4a69e3(_0x2aa57a),_0x5f501a=_0x705d81[_0x275557(0x203)][_0x275557(0x1c6)](_0x197f7b,_0x275557(0x201)),_0x2f0cb9=_0x705d81[_0x275557(0x21e)][_0x275557(0x223)](_0x5f501a,0x0),_0x3a708a=_0x47bc65[_0x275557(0x225)](_0x197f7b,_0xf4be69,{'anchor':_0x2f0cb9,'markDeletions':_0xbe5b09}),_0x535bea=_0x3a708a[_0x275557(0x1ec)]();if(0x0==_0x535bea[_0x275557(0x22c)])return{'content':_0x219384[_0x275557(0x226)](!0x0),'hasChanges':!0x1};_0xbe5b09?function(_0x2f10aa,_0x383ed7,_0x2e2eb1){const _0x222e90=_0x275557;if(0x0==_0x2f10aa[_0x222e90(0x22c)])return;const _0x3161c8=_0x2e2eb1[_0x222e90(0x1ca)][_0x222e90(0x205)](_0x222e90(0x1fa)),_0x4ded49=_0x2e2eb1[_0x222e90(0x1ca)][_0x222e90(0x205)](_0x222e90(0x1e4));_0x2e2eb1[_0x222e90(0x21e)][_0x222e90(0x20d)](_0x55f52d=>{const _0x203c65=_0x222e90,_0x129e10=new Set();for(let _0x2627c8=0x0;_0x2627c8<_0x2f10aa[_0x203c65(0x22c)];_0x2627c8++){const _0x4cd36b=_0x2f10aa[_0x2627c8];if(_0x4cd36b[_0x203c65(0x1de)]=null,_0x4cd36b[_0x203c65(0x228)]=!0x1,_0x3161c8[_0x203c65(0x1c2)](_0x4cd36b)){const _0xa026eb=_0x29b2f2(_0x4cd36b[_0x203c65(0x1db)],_0x2e2eb1[_0x203c65(0x21e)]),_0x15444b=_0x203c65(0x1e3)+_0x1a1cc4()+_0x203c65(0x206);_0x383ed7[_0x203c65(0x21a)][_0x203c65(0x1d3)](_0x15444b,_0xa026eb);}else switch(_0x4cd36b[_0x203c65(0x21d)]){case _0x203c65(0x20c):{if(_0x4cd36b[_0x203c65(0x1c3)]==_0x4cd36b[_0x203c65(0x1e8)])break;_0x55f52d[_0x203c65(0x1e1)][_0x203c65(0x227)](_0x4cd36b),_0x2e2eb1[_0x203c65(0x21e)][_0x203c65(0x1c9)](_0x4cd36b);const _0x1a4405=_0x203c65(0x210),_0x5d3544=_0x4cd36b[_0x203c65(0x22a)],_0x1cf9e9=_0x2e2eb1[_0x203c65(0x21e)][_0x203c65(0x1f2)](_0x5d3544,_0x2e2eb1[_0x203c65(0x21e)][_0x203c65(0x223)](_0x5d3544[_0x203c65(0x202)],_0x203c65(0x1d2))),_0x465042=_0x203c65(0x20a)+_0x1a4405+':'+_0x1a1cc4()+_0x203c65(0x206);_0x383ed7[_0x203c65(0x21a)][_0x203c65(0x1d3)](_0x465042,_0x1cf9e9);break;}case _0x203c65(0x1e2):case _0x203c65(0x1d4):case _0x203c65(0x1cb):{if(_0x4cd36b[_0x203c65(0x21f)]==_0x4cd36b[_0x203c65(0x1e5)])break;_0x55f52d[_0x203c65(0x1e1)][_0x203c65(0x227)](_0x4cd36b),_0x2e2eb1[_0x203c65(0x21e)][_0x203c65(0x1c9)](_0x4cd36b);const _0x207d13=_0x4cd36b[_0x203c65(0x20f)];if(!_0x4ded49[_0x203c65(0x1ef)](_0x207d13))break;const _0x49c43e=_0x29b2f2(_0x4cd36b[_0x203c65(0x1d8)],_0x2e2eb1[_0x203c65(0x21e)]),_0x528c7f=_0x203c65(0x20a)+_0x207d13+':'+_0x1a1cc4()+_0x203c65(0x206);_0x383ed7[_0x203c65(0x21a)][_0x203c65(0x1d3)](_0x528c7f,_0x49c43e);break;}case _0x203c65(0x1e6):{_0x55f52d[_0x203c65(0x1e1)][_0x203c65(0x227)](_0x4cd36b),_0x2e2eb1[_0x203c65(0x21e)][_0x203c65(0x1c9)](_0x4cd36b);if(_0x2f10aa[_0x2627c8+0x1]&&_0x203c65(0x1bd)==_0x2f10aa[_0x2627c8+0x1][_0x203c65(0x21d)]){ro(_0x383ed7,_0x4cd36b);break;}const _0xe24a34=_0x4cd36b[_0x203c65(0x22a)],_0x2ecc18=_0x4cd36b[_0x203c65(0x1f8)],_0x162e48=_0x29b2f2(_0x2e2eb1[_0x203c65(0x21e)][_0x203c65(0x1f2)](_0xe24a34,_0xe24a34[_0x203c65(0x1d9)](_0x2ecc18)),_0x2e2eb1[_0x203c65(0x21e)]),_0x10b450=_0x203c65(0x221)+_0x1a1cc4()+_0x203c65(0x206);_0x383ed7[_0x203c65(0x21a)][_0x203c65(0x1d3)](_0x10b450,_0x162e48);break;}case _0x203c65(0x1d0):{_0x55f52d[_0x203c65(0x1e1)][_0x203c65(0x227)](_0x4cd36b),_0x2e2eb1[_0x203c65(0x21e)][_0x203c65(0x1c9)](_0x4cd36b);const _0x35c09f=_0x4cd36b[_0x203c65(0x21c)],_0x14cada=_0x4cd36b[_0x203c65(0x1b9)],_0x2894e7=_0x2e2eb1[_0x203c65(0x21e)][_0x203c65(0x1f2)](_0x35c09f,_0x14cada),_0x331682=_0x203c65(0x221)+_0x1a1cc4()+_0x203c65(0x206);_0x383ed7[_0x203c65(0x21a)][_0x203c65(0x1d3)](_0x331682,_0x2894e7);break;}case _0x203c65(0x1bd):{_0x55f52d[_0x203c65(0x1e1)][_0x203c65(0x227)](_0x4cd36b),_0x2e2eb1[_0x203c65(0x21e)][_0x203c65(0x1c9)](_0x4cd36b),_0x2f10aa[_0x2627c8-0x1]&&_0x203c65(0x1e6)==_0x2f10aa[_0x2627c8-0x1][_0x203c65(0x21d)]&&ro(_0x383ed7,_0x4cd36b);const _0x53f82e=_0x4cd36b[_0x203c65(0x209)](),_0x4a1f4c=_0x4cd36b[_0x203c65(0x1f8)];for(let _0x2f5b24=0x0;_0x2f5b24<_0x4a1f4c;_0x2f5b24++){const _0x349b65=_0x53f82e[_0x203c65(0x1d9)](_0x2f5b24)[_0x203c65(0x202)];_0x129e10[_0x203c65(0x1e7)](_0x349b65);}break;}case _0x203c65(0x1cc):{const _0x29f90f=_0x4cd36b[_0x203c65(0x1f3)],_0x4c7690=_0x4cd36b[_0x203c65(0x1f8)],_0x41eebe=new _0xab38a8(_0x29f90f,_0x4c7690);_0x55f52d[_0x203c65(0x1e1)][_0x203c65(0x227)](_0x41eebe),_0x2e2eb1[_0x203c65(0x21e)][_0x203c65(0x1c9)](_0x41eebe);break;}}}for(const _0x3c5ef3 of _0x129e10){const _0x595752=_0x2e2eb1[_0x203c65(0x21e)][_0x203c65(0x218)](_0x3c5ef3),_0x1aabd1=_0x203c65(0x1f7)+_0x1a1cc4()+_0x203c65(0x206);_0x383ed7[_0x203c65(0x21a)][_0x203c65(0x1d3)](_0x1aabd1,_0x29b2f2(_0x595752,_0x2e2eb1[_0x203c65(0x21e)]));}});}(_0x535bea,_0x5f501a,_0x705d81):_0x705d81[_0x275557(0x21e)][_0x275557(0x20d)](_0x2a19b7=>{const _0x39e25f=_0x275557;for(const _0x41c203 of _0x535bea)if(_0x39e25f(0x1cc)==_0x41c203[_0x39e25f(0x21d)]){const _0x10cc6a=_0x41c203[_0x39e25f(0x1f3)],_0x3da64e=_0x41c203[_0x39e25f(0x1f8)],_0x5c576c=new _0xab38a8(_0x10cc6a,_0x3da64e);_0x2a19b7[_0x39e25f(0x1e1)][_0x39e25f(0x227)](_0x5c576c),_0x705d81[_0x39e25f(0x21e)][_0x39e25f(0x1c9)](_0x5c576c);}else{if(_0x39e25f(0x1be)==_0x41c203[_0x39e25f(0x21d)]){const _0x505f2d=_0x41c203[_0x39e25f(0x220)],_0x648db0=_0x41c203[_0x39e25f(0x1db)];_0x5f501a[_0x39e25f(0x21a)][_0x39e25f(0x1d3)](_0x505f2d,_0x648db0);}else _0x41c203[_0x39e25f(0x1de)]=null,_0x41c203[_0x39e25f(0x228)]=!0x1,_0x2a19b7[_0x39e25f(0x1e1)][_0x39e25f(0x227)](_0x41c203),_0x705d81[_0x39e25f(0x21e)][_0x39e25f(0x1c9)](_0x41c203);}});if(_0x51bf13){const _0x4ba4ad=getMinimalSelection(_0x705d81,_0x535bea,_0x5f501a);expandSelectionWithContext(_0x705d81[_0x275557(0x21e)],_0x4ba4ad),function(_0x997504,_0x11937d){const _0x400895=_0x275557,_0x5b835c=_0x11937d[_0x400895(0x1cf)]()[_0x400895(0x1da)];let _0x5d07ac=_0x11937d[_0x400895(0x1cf)]()[_0x400895(0x1d2)];const _0x4884fa=_0x5b835c[_0x400895(0x1bf)];(_0x5d07ac[_0x400895(0x229)]||_0x5d07ac[_0x400895(0x202)]&&_0x5d07ac[_0x400895(0x202)]['is'](_0x400895(0x1bc)))&&(_0x3e7419(_0x5d07ac,_0x400895(0x211)),_0x5d07ac=_0x5d07ac[_0x400895(0x1d9)](0x3)),(_0x5b835c[_0x400895(0x229)]||_0x5b835c[_0x400895(0x208)]&&_0x5b835c[_0x400895(0x208)]['is'](_0x400895(0x1bc)))&&(_0x3e7419(_0x5b835c,_0x400895(0x211)),function(_0xe1b5d,_0x4883a7,_0x67f674){const _0x80109=_0x400895;for(let [_0x16cf8a,_0x3aa4ca]of _0xe1b5d[_0x80109(0x21a)]){const _0x275599=_0x3aa4ca[_0x80109(0x22b)](_0x4883a7,_0x67f674,!0x1);_0x3aa4ca=_0x275599[0x0],_0xe1b5d[_0x80109(0x21a)][_0x80109(0x1d3)](_0x16cf8a,_0x3aa4ca);}}(_0x4884fa,_0x5b835c,0x3),_0x5b835c[_0x400895(0x1b7)]==_0x5d07ac[_0x400895(0x1b7)]&&(_0x5d07ac=_0x5d07ac[_0x400895(0x1d9)](0x3)));const _0x2139cc=_0x997504[_0x400895(0x1f2)](_0x997504[_0x400895(0x223)](_0x4884fa,0x0),_0x5b835c),_0x31f8f1=_0x997504[_0x400895(0x1f2)](_0x5d07ac,_0x997504[_0x400895(0x223)](_0x4884fa,_0x400895(0x1d2))),_0x1db46a=[..._0x2139cc[_0x400895(0x1f9)](),..._0x31f8f1[_0x400895(0x1f9)]()];_0x1db46a[_0x400895(0x1ce)]();for(const _0x1599f6 of _0x1db46a)_0x506699(_0x1599f6),_transformMarkersByDeletion(_0x4884fa,_0x1599f6);}(_0x705d81[_0x275557(0x21e)],_0x4ba4ad);}const _0x3ed163=_0x705d81[_0x275557(0x203)][_0x275557(0x1d5)](_0x5f501a,{'showSuggestionHighlights':!0x0});return{'content':_0x5dc5e7(_0x3ed163),'hasChanges':!0x0};}(_0x470e33,_0x3a6547,_0x51b346,_0x5e2d7d,_0x58cf61);return{'type':_0x5dc321[_0x17288a(0x214)][0x0][_0x17288a(0x21d)],'index':_0x5dc321[_0x17288a(0x224)],'content':_0x49741d,'hasChanges':_0x4cdaf9};});}function _0x497a(){const _0x4dadd7=['children','createRangeOn','_createFromRanges','markers','delete','splitPosition','type','model','oldValue','name','suggestion:insertion:','4SOtGxl','createPositionAt','index','getDiff','cloneNode','addOperation','isDocumentOperation','textNode','position','_getTransformedByInsertion','length','parent','isBefore','moveTargetPosition','schema','isObject','$text','move','marker','root','targetPosition','clone','isMarkedRemoveOperation','oldName','8091475zNVOWY','removed','parse','toNone','4ZAEkAl','applyOperation','plugins','changeAttribute','remove','element','reverse','getFirstRange','split','new','end','set','removeAttribute','stringify','862001sBEHAj','setTo','range','getShiftedBy','start','newRange','map','backward','baseVersion','isBlock','data-id','batch','addAttribute','suggestion:deletion:','SuggestionsConversion','newValue','insert','add','newName','focus','path','getTransformedByOperation','getOperations','_getTransformedByDeletion','isAfter','isRegisteredAttribute','POSITIVE_INFINITY','createSelection','createRange','sourcePosition','3639642qoQOcs','offset','slice','suggestion:formatBlock:$fakeWrap:','howMany','getMinimalFlatRanges','DocumentCompare','4692024jNeVfF','24ercLZE','createPositionFromPath','10MJCQUu','14596065hJAvUv','node','$root','nodeAfter','data','modifySelection','get',':$aiSuggestion','7849794INGufv','nodeBefore','getMovedRangeStart','suggestion:attribute:','merge','rename','change','forward','key','$elementName','...','stickiness','word','changes','1982113LZmAhE','push'];_0x497a=function(){return _0x4dadd7;};return _0x497a();}function ro(_0x20c4ae,_0x47ced8){const _0x991609=_0x53b9;for(const [_0x4163e8,_0xf71930]of _0x20c4ae[_0x991609(0x21a)]){const _0x319e2a=_0x505ea1[_0x991609(0x219)](_0xf71930[_0x991609(0x1eb)](_0x47ced8));_0x20c4ae[_0x991609(0x21a)][_0x991609(0x1d3)](_0x4163e8,_0x319e2a);}}export function getMinimalSelection(_0x58ea22,_0x285e85,_0x2118ac){const _0x26a886=_0x53b9,_0x74baa6=_0x58ea22[_0x26a886(0x1ca)][_0x26a886(0x205)](_0x26a886(0x1fa));let _0x2daaba=_0x58ea22[_0x26a886(0x21e)][_0x26a886(0x223)](_0x2118ac,Number[_0x26a886(0x1f0)]),_0xe83f5d=_0x58ea22[_0x26a886(0x21e)][_0x26a886(0x223)](_0x2118ac,0x0);for(const _0x53659a of _0x285e85){let _0x4ff351,_0x360370;if(_0x74baa6[_0x26a886(0x1c2)](_0x53659a))_0x4ff351=_0x53659a[_0x26a886(0x1db)][_0x26a886(0x1da)],_0x360370=_0x53659a[_0x26a886(0x1db)][_0x26a886(0x1d2)];else switch(_0x2daaba=_0x2daaba[_0x26a886(0x1eb)](_0x53659a),_0xe83f5d=_0xe83f5d[_0x26a886(0x1eb)](_0x53659a),_0x53659a[_0x26a886(0x21d)]){case _0x26a886(0x20c):_0x4ff351=_0x53659a[_0x26a886(0x22a)],_0x360370=_0x4ff351[_0x26a886(0x1d9)](0x1);break;case _0x26a886(0x1e2):case _0x26a886(0x1d4):case _0x26a886(0x1cb):_0x4ff351=_0x53659a[_0x26a886(0x1d8)][_0x26a886(0x1da)],_0x360370=_0x53659a[_0x26a886(0x1d8)][_0x26a886(0x1d2)];break;case _0x26a886(0x1e6):_0x4ff351=_0x53659a[_0x26a886(0x22a)],_0x360370=_0x4ff351[_0x26a886(0x1d9)](_0x53659a[_0x26a886(0x1f8)]);break;case _0x26a886(0x1d0):_0x4ff351=_0x53659a[_0x26a886(0x21c)],_0x360370=_0x53659a[_0x26a886(0x1b9)];break;case _0x26a886(0x20b):{const _0x14dc23=_0x53659a[_0x26a886(0x1c0)][_0x26a886(0x1ea)][_0x26a886(0x1f6)](0x0,-0x1);_0x4ff351=_0x58ea22[_0x26a886(0x21e)][_0x26a886(0x1fd)](_0x2118ac,_0x14dc23),_0x360370=_0x4ff351[_0x26a886(0x1d9)](0x1);break;}case _0x26a886(0x1cc):{const _0x55e86a=_0x53659a[_0x26a886(0x1f8)],_0xacd058=_0x53659a[_0x26a886(0x1f3)][_0x26a886(0x22b)](_0x53659a[_0x26a886(0x1c0)],_0x55e86a),_0xdd1e09=_0x53659a[_0x26a886(0x209)]();_0x26a886(0x1cc)==_0x53659a[_0x26a886(0x21d)]?(_0x4ff351=_0xacd058,_0x360370=_0xacd058):(_0x4ff351=_0xdd1e09,_0x360370=_0xdd1e09[_0x26a886(0x1d9)](_0x55e86a));break;}}_0x4ff351&&_0x4ff351[_0x26a886(0x1b8)](_0x2daaba)&&(_0x2daaba=_0x4ff351[_0x26a886(0x1c1)](),_0x2daaba[_0x26a886(0x212)]=_0x26a886(0x1c7)),_0x360370&&_0x360370[_0x26a886(0x1ee)](_0xe83f5d)&&(_0xe83f5d=_0x360370[_0x26a886(0x1c1)](),_0xe83f5d[_0x26a886(0x212)]=_0x26a886(0x1c7));}return _0x58ea22[_0x26a886(0x21e)][_0x26a886(0x1f1)](_0x58ea22[_0x26a886(0x21e)][_0x26a886(0x1f2)](_0x2daaba,_0xe83f5d));}function _0x53b9(_0x2539f8,_0x52caa5){const _0x497af4=_0x497a();return _0x53b9=function(_0x53b992,_0x192230){_0x53b992=_0x53b992-0x1b7;let _0x3c4122=_0x497af4[_0x53b992];return _0x3c4122;},_0x53b9(_0x2539f8,_0x52caa5);}export function expandSelectionWithContext(_0x10d0f8,_0x10ed96){const _0xaa721=_0x53b9;so(_0x10d0f8,_0x10ed96,_0xaa721(0x20e));const _0x16934b=_0x10ed96[_0xaa721(0x1cf)]();_0x10ed96[_0xaa721(0x1d7)]([]),_0x10ed96[_0xaa721(0x1d7)](_0x16934b,{'backward':!0x0}),so(_0x10d0f8,_0x10ed96,_0xaa721(0x1dd));}function so(_0x37c1a6,_0x29f376,_0x344729){const _0x58e5aa=_0x53b9;let _0x57f35a=0x14;for(;_0x57f35a;){_0x37c1a6[_0x58e5aa(0x204)](_0x29f376,{'unit':_0x58e5aa(0x213),'direction':_0x344729}),_0x57f35a--;const _0x478bcb=_0x29f376[_0x58e5aa(0x1e9)][_0x58e5aa(0x20e)==_0x344729?_0x58e5aa(0x208):_0x58e5aa(0x202)];if(_0x478bcb&&_0x478bcb['is'](_0x58e5aa(0x1cd))&&_0x37c1a6[_0x58e5aa(0x1ba)][_0x58e5aa(0x1df)](_0x478bcb)&&_0x37c1a6[_0x58e5aa(0x1ba)][_0x58e5aa(0x1bb)](_0x478bcb))break;}}export function _transformMarkersByDeletion(_0x4b6f6a,_0x3782a0){const _0x190ead=_0x53b9;for(const [_0x17a8b7,_0x1ebd43]of _0x4b6f6a[_0x190ead(0x21a)]){const _0x49f6e1=_0x1ebd43[_0x190ead(0x1ed)](_0x3782a0[_0x190ead(0x1da)],_0x3782a0[_0x190ead(0x1d2)][_0x190ead(0x1f5)]-_0x3782a0[_0x190ead(0x1da)][_0x190ead(0x1f5)]);null!=_0x49f6e1?_0x4b6f6a[_0x190ead(0x21a)][_0x190ead(0x1d3)](_0x17a8b7,_0x49f6e1):_0x4b6f6a[_0x190ead(0x21a)][_0x190ead(0x21b)](_0x17a8b7);}}
23
+ function _0x114c(_0x4b897c,_0x111384){const _0x1c3db2=_0x1c3d();return _0x114c=function(_0x114ca7,_0x511933){_0x114ca7=_0x114ca7-0x13c;let _0x24b14b=_0x1c3db2[_0x114ca7];return _0x24b14b;},_0x114c(_0x4b897c,_0x111384);}(function(_0x3a9133,_0x32be11){const _0x2b6bf6=_0x114c,_0x8974a0=_0x3a9133();while(!![]){try{const _0x1523b0=parseInt(_0x2b6bf6(0x195))/0x1*(parseInt(_0x2b6bf6(0x173))/0x2)+-parseInt(_0x2b6bf6(0x17c))/0x3+parseInt(_0x2b6bf6(0x13d))/0x4*(parseInt(_0x2b6bf6(0x193))/0x5)+parseInt(_0x2b6bf6(0x187))/0x6+-parseInt(_0x2b6bf6(0x1a1))/0x7*(-parseInt(_0x2b6bf6(0x141))/0x8)+-parseInt(_0x2b6bf6(0x14f))/0x9+parseInt(_0x2b6bf6(0x182))/0xa*(-parseInt(_0x2b6bf6(0x144))/0xb);if(_0x1523b0===_0x32be11)break;else _0x8974a0['push'](_0x8974a0['shift']());}catch(_0x231ea0){_0x8974a0['push'](_0x8974a0['shift']());}}}(_0x1c3d,0x55674));import{findOne as _0x532510,getAttribute as _0x475c6e,Document as _0x35a305,serialize as _0x38b3f9,parse as _0xc71a93}from'./htmlparser.js';function _0x1c3d(){const _0xbee262=['rename','schema','length','createRange','suggestion:deletion:','applyOperation','newRange','isBefore','get','getFirstRange','path','baseVersion','POSITIVE_INFINITY','textNode','createPositionAt','$text','suggestion:formatBlock:$fakeWrap:','change','isRegisteredAttribute','2688wQqIJt','end','clone','key','isAfter','nodeBefore','push','plugins','parse','1536225DRFGcs','position','$root','_getTransformedByDeletion','getMinimalFlatRanges','model','32170HEzWvU','markers','node','offset','start','917142LaFQpd','changes','delete','splitPosition','split','...','isMarkedRemoveOperation','addAttribute','getTransformedByOperation','createRangeOn','index','add','1460UHxwmi','getShiftedBy','430PRwalG','name','word','nodeAfter','DocumentCompare','suggestion:insertion:','setTo','removeAttribute','set','insert','stringify','oldValue','2956583xbVmXF','marker','isObject','createSelection','_getTransformedByInsertion','isDocumentOperation',':$aiSuggestion','addOperation','batch','createPositionFromPath','focus','$elementName','type','forward','map','children','SuggestionsConversion','backward','3436oeKgpy','removed','moveTargetPosition','isBlock','8rudorN','parent','data-id','1595mDQhpR','move','cloneNode','newValue','getMovedRangeStart','getDiff','changeAttribute','sourcePosition','stickiness','newName','root','680598CdMpen','toNone','_createFromRanges','reverse','element','merge','modifySelection','suggestion:attribute:','data','targetPosition','range','remove','howMany','oldName','new','slice','getOperations'];_0x1c3d=function(){return _0xbee262;};return _0x1c3d();}import{fixElementSuggestionRange as _0x26d547}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x15d486,_DetachOperation as _0x17de60,_removeFromModelNodeList as _0x3e26f9,_insertIntoModelNodeList as _0x2177a0}from'ckeditor5/src/engine.js';import{uid as _0xe737e5}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x22a3c8,changeGroups:_0x4177db,documentContextContent:_0x52e0fe,showDiff:_0x32b37f,trimUnchanged:_0x3242f4=!0x0}){const _0x38d54e=_0x114c;return _0x4177db[_0x38d54e(0x1af)](_0x1c1c0f=>{const _0x275920=_0x38d54e,_0x414c35=new _0x35a305([]),_0x7c009c=new _0x35a305([]);for(const _0x44e3e8 of _0x1c1c0f[_0x275920(0x188)])if(_0x32b37f&&_0x275920(0x13e)==_0x44e3e8[_0x275920(0x1ad)]||_0x7c009c[_0x275920(0x1b0)][_0x275920(0x179)](_0x44e3e8[_0x275920(0x184)][_0x275920(0x146)](!0x0)),_0x275920(0x15d)!=_0x44e3e8[_0x275920(0x1ad)]&&(_0x32b37f||_0x275920(0x13e)!=_0x44e3e8[_0x275920(0x1ad)])){const _0x390a8e=_0x532510(_0x1757db=>_0x475c6e(_0x1757db,_0x275920(0x143))==_0x44e3e8['id'],_0x52e0fe,!0x0);_0x390a8e&&_0x414c35[_0x275920(0x1b0)][_0x275920(0x179)](_0x390a8e[_0x275920(0x146)](!0x0));}const {content:_0x55db23,hasChanges:_0x5843b6}=function(_0x5928a5,_0x480881,_0x28421b,_0x41ee7a,_0x14664e=!0x0){const _0x6a5b46=_0x275920,_0x3e1f5a=_0x5928a5[_0x6a5b46(0x17a)][_0x6a5b46(0x168)](_0x6a5b46(0x199)),_0x121f1a=_0x38b3f9(_0x480881),_0x31a0f4=_0x38b3f9(_0x28421b),_0x5afe5b=_0x5928a5[_0x6a5b46(0x157)][_0x6a5b46(0x17b)](_0x121f1a,_0x6a5b46(0x17e)),_0x12850f=_0x5928a5[_0x6a5b46(0x181)][_0x6a5b46(0x16e)](_0x5afe5b,0x0),_0x1cb54b=_0x3e1f5a[_0x6a5b46(0x149)](_0x121f1a,_0x31a0f4,{'anchor':_0x12850f,'markDeletions':_0x41ee7a}),_0x2901a8=_0x1cb54b[_0x6a5b46(0x15f)]();if(0x0==_0x2901a8[_0x6a5b46(0x162)])return{'content':_0x480881[_0x6a5b46(0x146)](!0x0),'hasChanges':!0x1};_0x41ee7a?function(_0x3a648b,_0x36e60b,_0x2b8392){const _0x53003d=_0x6a5b46;if(0x0==_0x3a648b[_0x53003d(0x162)])return;const _0x469c5e=_0x2b8392[_0x53003d(0x17a)][_0x53003d(0x168)](_0x53003d(0x199)),_0x4ba9c5=_0x2b8392[_0x53003d(0x17a)][_0x53003d(0x168)](_0x53003d(0x1b1));_0x2b8392[_0x53003d(0x181)][_0x53003d(0x171)](_0x4d138f=>{const _0x41eadd=_0x53003d,_0x6f60b2=new Set();for(let _0x43ffaf=0x0;_0x43ffaf<_0x3a648b[_0x41eadd(0x162)];_0x43ffaf++){const _0x20cb61=_0x3a648b[_0x43ffaf];if(_0x20cb61[_0x41eadd(0x16b)]=null,_0x20cb61[_0x41eadd(0x1a6)]=!0x1,_0x469c5e[_0x41eadd(0x18d)](_0x20cb61)){const _0x6df1ac=_0x26d547(_0x20cb61[_0x41eadd(0x166)],_0x2b8392[_0x41eadd(0x181)]),_0x419ec9=_0x41eadd(0x164)+_0xe737e5()+_0x41eadd(0x1a7);_0x36e60b[_0x41eadd(0x183)][_0x41eadd(0x19d)](_0x419ec9,_0x6df1ac);}else switch(_0x20cb61[_0x41eadd(0x1ad)]){case _0x41eadd(0x160):{if(_0x20cb61[_0x41eadd(0x15c)]==_0x20cb61[_0x41eadd(0x14d)])break;_0x4d138f[_0x41eadd(0x1a9)][_0x41eadd(0x1a8)](_0x20cb61),_0x2b8392[_0x41eadd(0x181)][_0x41eadd(0x165)](_0x20cb61);const _0x15f3ed=_0x41eadd(0x1ac),_0x4ed8cc=_0x20cb61[_0x41eadd(0x17d)],_0x2a2ca9=_0x2b8392[_0x41eadd(0x181)][_0x41eadd(0x163)](_0x4ed8cc,_0x2b8392[_0x41eadd(0x181)][_0x41eadd(0x16e)](_0x4ed8cc[_0x41eadd(0x198)],_0x41eadd(0x174))),_0x1e647b=_0x41eadd(0x156)+_0x15f3ed+':'+_0xe737e5()+_0x41eadd(0x1a7);_0x36e60b[_0x41eadd(0x183)][_0x41eadd(0x19d)](_0x1e647b,_0x2a2ca9);break;}case _0x41eadd(0x18e):case _0x41eadd(0x19c):case _0x41eadd(0x14a):{if(_0x20cb61[_0x41eadd(0x1a0)]==_0x20cb61[_0x41eadd(0x147)])break;_0x4d138f[_0x41eadd(0x1a9)][_0x41eadd(0x1a8)](_0x20cb61),_0x2b8392[_0x41eadd(0x181)][_0x41eadd(0x165)](_0x20cb61);const _0x1cf5f2=_0x20cb61[_0x41eadd(0x176)];if(!_0x4ba9c5[_0x41eadd(0x172)](_0x1cf5f2))break;const _0x5db964=_0x26d547(_0x20cb61[_0x41eadd(0x159)],_0x2b8392[_0x41eadd(0x181)]),_0xc8814f=_0x41eadd(0x156)+_0x1cf5f2+':'+_0xe737e5()+_0x41eadd(0x1a7);_0x36e60b[_0x41eadd(0x183)][_0x41eadd(0x19d)](_0xc8814f,_0x5db964);break;}case _0x41eadd(0x19e):{_0x4d138f[_0x41eadd(0x1a9)][_0x41eadd(0x1a8)](_0x20cb61),_0x2b8392[_0x41eadd(0x181)][_0x41eadd(0x165)](_0x20cb61);if(_0x3a648b[_0x43ffaf+0x1]&&_0x41eadd(0x145)==_0x3a648b[_0x43ffaf+0x1][_0x41eadd(0x1ad)]){ro(_0x36e60b,_0x20cb61);break;}const _0x26b312=_0x20cb61[_0x41eadd(0x17d)],_0x3194de=_0x20cb61[_0x41eadd(0x15b)],_0x3c4270=_0x26d547(_0x2b8392[_0x41eadd(0x181)][_0x41eadd(0x163)](_0x26b312,_0x26b312[_0x41eadd(0x194)](_0x3194de)),_0x2b8392[_0x41eadd(0x181)]),_0x43b3fd=_0x41eadd(0x19a)+_0xe737e5()+_0x41eadd(0x1a7);_0x36e60b[_0x41eadd(0x183)][_0x41eadd(0x19d)](_0x43b3fd,_0x3c4270);break;}case _0x41eadd(0x18b):{_0x4d138f[_0x41eadd(0x1a9)][_0x41eadd(0x1a8)](_0x20cb61),_0x2b8392[_0x41eadd(0x181)][_0x41eadd(0x165)](_0x20cb61);const _0xad9c1c=_0x20cb61[_0x41eadd(0x18a)],_0x118060=_0x20cb61[_0x41eadd(0x13f)],_0x117c1b=_0x2b8392[_0x41eadd(0x181)][_0x41eadd(0x163)](_0xad9c1c,_0x118060),_0x187063=_0x41eadd(0x19a)+_0xe737e5()+_0x41eadd(0x1a7);_0x36e60b[_0x41eadd(0x183)][_0x41eadd(0x19d)](_0x187063,_0x117c1b);break;}case _0x41eadd(0x145):{_0x4d138f[_0x41eadd(0x1a9)][_0x41eadd(0x1a8)](_0x20cb61),_0x2b8392[_0x41eadd(0x181)][_0x41eadd(0x165)](_0x20cb61),_0x3a648b[_0x43ffaf-0x1]&&_0x41eadd(0x19e)==_0x3a648b[_0x43ffaf-0x1][_0x41eadd(0x1ad)]&&ro(_0x36e60b,_0x20cb61);const _0x5341c3=_0x20cb61[_0x41eadd(0x148)](),_0x49edba=_0x20cb61[_0x41eadd(0x15b)];for(let _0x3e92e3=0x0;_0x3e92e3<_0x49edba;_0x3e92e3++){const _0xdbef39=_0x5341c3[_0x41eadd(0x194)](_0x3e92e3)[_0x41eadd(0x198)];_0x6f60b2[_0x41eadd(0x192)](_0xdbef39);}break;}case _0x41eadd(0x15a):{const _0x13acbb=_0x20cb61[_0x41eadd(0x14b)],_0xd8f7ff=_0x20cb61[_0x41eadd(0x15b)],_0x4dfc87=new _0x17de60(_0x13acbb,_0xd8f7ff);_0x4d138f[_0x41eadd(0x1a9)][_0x41eadd(0x1a8)](_0x4dfc87),_0x2b8392[_0x41eadd(0x181)][_0x41eadd(0x165)](_0x4dfc87);break;}}}for(const _0x395a89 of _0x6f60b2){const _0xd32288=_0x2b8392[_0x41eadd(0x181)][_0x41eadd(0x190)](_0x395a89),_0x2a5f6f=_0x41eadd(0x170)+_0xe737e5()+_0x41eadd(0x1a7);_0x36e60b[_0x41eadd(0x183)][_0x41eadd(0x19d)](_0x2a5f6f,_0x26d547(_0xd32288,_0x2b8392[_0x41eadd(0x181)]));}});}(_0x2901a8,_0x5afe5b,_0x5928a5):_0x5928a5[_0x6a5b46(0x181)][_0x6a5b46(0x171)](_0x3d04be=>{const _0x2e8194=_0x6a5b46;for(const _0x182f7c of _0x2901a8)if(_0x2e8194(0x15a)==_0x182f7c[_0x2e8194(0x1ad)]){const _0x476595=_0x182f7c[_0x2e8194(0x14b)],_0x869a91=_0x182f7c[_0x2e8194(0x15b)],_0x5e4765=new _0x17de60(_0x476595,_0x869a91);_0x3d04be[_0x2e8194(0x1a9)][_0x2e8194(0x1a8)](_0x5e4765),_0x5928a5[_0x2e8194(0x181)][_0x2e8194(0x165)](_0x5e4765);}else{if(_0x2e8194(0x1a2)==_0x182f7c[_0x2e8194(0x1ad)]){const _0x73555a=_0x182f7c[_0x2e8194(0x196)],_0x143ddf=_0x182f7c[_0x2e8194(0x166)];_0x5afe5b[_0x2e8194(0x183)][_0x2e8194(0x19d)](_0x73555a,_0x143ddf);}else _0x182f7c[_0x2e8194(0x16b)]=null,_0x182f7c[_0x2e8194(0x1a6)]=!0x1,_0x3d04be[_0x2e8194(0x1a9)][_0x2e8194(0x1a8)](_0x182f7c),_0x5928a5[_0x2e8194(0x181)][_0x2e8194(0x165)](_0x182f7c);}});if(_0x14664e){const _0x2f1405=getMinimalSelection(_0x5928a5,_0x2901a8,_0x5afe5b);expandSelectionWithContext(_0x5928a5[_0x6a5b46(0x181)],_0x2f1405),function(_0x22b02f,_0x21cae7){const _0x5313a8=_0x6a5b46,_0x37ecc4=_0x21cae7[_0x5313a8(0x169)]()[_0x5313a8(0x186)];let _0x5a2491=_0x21cae7[_0x5313a8(0x169)]()[_0x5313a8(0x174)];const _0x5c6053=_0x37ecc4[_0x5313a8(0x14e)];(_0x5a2491[_0x5313a8(0x16d)]||_0x5a2491[_0x5313a8(0x198)]&&_0x5a2491[_0x5313a8(0x198)]['is'](_0x5313a8(0x16f)))&&(_0x2177a0(_0x5a2491,_0x5313a8(0x18c)),_0x5a2491=_0x5a2491[_0x5313a8(0x194)](0x3)),(_0x37ecc4[_0x5313a8(0x16d)]||_0x37ecc4[_0x5313a8(0x178)]&&_0x37ecc4[_0x5313a8(0x178)]['is'](_0x5313a8(0x16f)))&&(_0x2177a0(_0x37ecc4,_0x5313a8(0x18c)),function(_0x1f0184,_0x261e1b,_0x2061be){const _0x3438c1=_0x5313a8;for(let [_0x482eb3,_0x54b2e5]of _0x1f0184[_0x3438c1(0x183)]){const _0x3eeae4=_0x54b2e5[_0x3438c1(0x1a5)](_0x261e1b,_0x2061be,!0x1);_0x54b2e5=_0x3eeae4[0x0],_0x1f0184[_0x3438c1(0x183)][_0x3438c1(0x19d)](_0x482eb3,_0x54b2e5);}}(_0x5c6053,_0x37ecc4,0x3),_0x37ecc4[_0x5313a8(0x142)]==_0x5a2491[_0x5313a8(0x142)]&&(_0x5a2491=_0x5a2491[_0x5313a8(0x194)](0x3)));const _0x26cbc4=_0x22b02f[_0x5313a8(0x163)](_0x22b02f[_0x5313a8(0x16e)](_0x5c6053,0x0),_0x37ecc4),_0x1f1138=_0x22b02f[_0x5313a8(0x163)](_0x5a2491,_0x22b02f[_0x5313a8(0x16e)](_0x5c6053,_0x5313a8(0x174))),_0x23ec31=[..._0x26cbc4[_0x5313a8(0x180)](),..._0x1f1138[_0x5313a8(0x180)]()];_0x23ec31[_0x5313a8(0x152)]();for(const _0x14a716 of _0x23ec31)_0x3e26f9(_0x14a716),_transformMarkersByDeletion(_0x5c6053,_0x14a716);}(_0x5928a5[_0x6a5b46(0x181)],_0x2f1405);}const _0x519d76=_0x5928a5[_0x6a5b46(0x157)][_0x6a5b46(0x19f)](_0x5afe5b,{'showSuggestionHighlights':!0x0});return{'content':_0xc71a93(_0x519d76),'hasChanges':!0x0};}(_0x22a3c8,_0x414c35,_0x7c009c,_0x32b37f,_0x3242f4);return{'type':_0x1c1c0f[_0x275920(0x188)][0x0][_0x275920(0x1ad)],'index':_0x1c1c0f[_0x275920(0x191)],'content':_0x55db23,'hasChanges':_0x5843b6};});}function ro(_0x220118,_0x2f7b90){const _0x290f4a=_0x114c;for(const [_0x20819f,_0x2afbe4]of _0x220118[_0x290f4a(0x183)]){const _0x1c0211=_0x15d486[_0x290f4a(0x151)](_0x2afbe4[_0x290f4a(0x18f)](_0x2f7b90));_0x220118[_0x290f4a(0x183)][_0x290f4a(0x19d)](_0x20819f,_0x1c0211);}}export function getMinimalSelection(_0x2a6d93,_0xe69d9a,_0xd0d620){const _0x3896e4=_0x114c,_0x252341=_0x2a6d93[_0x3896e4(0x17a)][_0x3896e4(0x168)](_0x3896e4(0x199));let _0x2d8cb8=_0x2a6d93[_0x3896e4(0x181)][_0x3896e4(0x16e)](_0xd0d620,Number[_0x3896e4(0x16c)]),_0x24fdec=_0x2a6d93[_0x3896e4(0x181)][_0x3896e4(0x16e)](_0xd0d620,0x0);for(const _0x1d24eb of _0xe69d9a){let _0x10ab62,_0x7a9846;if(_0x252341[_0x3896e4(0x18d)](_0x1d24eb))_0x10ab62=_0x1d24eb[_0x3896e4(0x166)][_0x3896e4(0x186)],_0x7a9846=_0x1d24eb[_0x3896e4(0x166)][_0x3896e4(0x174)];else switch(_0x2d8cb8=_0x2d8cb8[_0x3896e4(0x18f)](_0x1d24eb),_0x24fdec=_0x24fdec[_0x3896e4(0x18f)](_0x1d24eb),_0x1d24eb[_0x3896e4(0x1ad)]){case _0x3896e4(0x160):_0x10ab62=_0x1d24eb[_0x3896e4(0x17d)],_0x7a9846=_0x10ab62[_0x3896e4(0x194)](0x1);break;case _0x3896e4(0x18e):case _0x3896e4(0x19c):case _0x3896e4(0x14a):_0x10ab62=_0x1d24eb[_0x3896e4(0x159)][_0x3896e4(0x186)],_0x7a9846=_0x1d24eb[_0x3896e4(0x159)][_0x3896e4(0x174)];break;case _0x3896e4(0x19e):_0x10ab62=_0x1d24eb[_0x3896e4(0x17d)],_0x7a9846=_0x10ab62[_0x3896e4(0x194)](_0x1d24eb[_0x3896e4(0x15b)]);break;case _0x3896e4(0x18b):_0x10ab62=_0x1d24eb[_0x3896e4(0x18a)],_0x7a9846=_0x1d24eb[_0x3896e4(0x13f)];break;case _0x3896e4(0x154):{const _0x3a3c5c=_0x1d24eb[_0x3896e4(0x158)][_0x3896e4(0x16a)][_0x3896e4(0x15e)](0x0,-0x1);_0x10ab62=_0x2a6d93[_0x3896e4(0x181)][_0x3896e4(0x1aa)](_0xd0d620,_0x3a3c5c),_0x7a9846=_0x10ab62[_0x3896e4(0x194)](0x1);break;}case _0x3896e4(0x15a):{const _0xf5e1df=_0x1d24eb[_0x3896e4(0x15b)],_0x27d175=_0x1d24eb[_0x3896e4(0x14b)][_0x3896e4(0x1a5)](_0x1d24eb[_0x3896e4(0x158)],_0xf5e1df),_0xf6ec77=_0x1d24eb[_0x3896e4(0x148)]();_0x3896e4(0x15a)==_0x1d24eb[_0x3896e4(0x1ad)]?(_0x10ab62=_0x27d175,_0x7a9846=_0x27d175):(_0x10ab62=_0xf6ec77,_0x7a9846=_0xf6ec77[_0x3896e4(0x194)](_0xf5e1df));break;}}_0x10ab62&&_0x10ab62[_0x3896e4(0x167)](_0x2d8cb8)&&(_0x2d8cb8=_0x10ab62[_0x3896e4(0x175)](),_0x2d8cb8[_0x3896e4(0x14c)]=_0x3896e4(0x150)),_0x7a9846&&_0x7a9846[_0x3896e4(0x177)](_0x24fdec)&&(_0x24fdec=_0x7a9846[_0x3896e4(0x175)](),_0x24fdec[_0x3896e4(0x14c)]=_0x3896e4(0x150));}return _0x2a6d93[_0x3896e4(0x181)][_0x3896e4(0x1a4)](_0x2a6d93[_0x3896e4(0x181)][_0x3896e4(0x163)](_0x2d8cb8,_0x24fdec));}export function expandSelectionWithContext(_0x2441ef,_0x305615){const _0x4420a1=_0x114c;so(_0x2441ef,_0x305615,_0x4420a1(0x1ae));const _0x4abbb9=_0x305615[_0x4420a1(0x169)]();_0x305615[_0x4420a1(0x19b)]([]),_0x305615[_0x4420a1(0x19b)](_0x4abbb9,{'backward':!0x0}),so(_0x2441ef,_0x305615,_0x4420a1(0x13c));}function so(_0x2700c0,_0x554433,_0x12e116){const _0x5c5472=_0x114c;let _0x4606fd=0x14;for(;_0x4606fd;){_0x2700c0[_0x5c5472(0x155)](_0x554433,{'unit':_0x5c5472(0x197),'direction':_0x12e116}),_0x4606fd--;const _0x40628b=_0x554433[_0x5c5472(0x1ab)][_0x5c5472(0x1ae)==_0x12e116?_0x5c5472(0x178):_0x5c5472(0x198)];if(_0x40628b&&_0x40628b['is'](_0x5c5472(0x153))&&_0x2700c0[_0x5c5472(0x161)][_0x5c5472(0x140)](_0x40628b)&&_0x2700c0[_0x5c5472(0x161)][_0x5c5472(0x1a3)](_0x40628b))break;}}export function _transformMarkersByDeletion(_0x8c2ab5,_0x5ab302){const _0x13b2cc=_0x114c;for(const [_0x396151,_0x190ded]of _0x8c2ab5[_0x13b2cc(0x183)]){const _0x101d14=_0x190ded[_0x13b2cc(0x17f)](_0x5ab302[_0x13b2cc(0x186)],_0x5ab302[_0x13b2cc(0x174)][_0x13b2cc(0x185)]-_0x5ab302[_0x13b2cc(0x186)][_0x13b2cc(0x185)]);null!=_0x101d14?_0x8c2ab5[_0x13b2cc(0x183)][_0x13b2cc(0x19d)](_0x396151,_0x101d14):_0x8c2ab5[_0x13b2cc(0x183)][_0x13b2cc(0x189)](_0x396151);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4a80(_0x411976,_0x480a47){const _0x2b301a=_0x2b30();return _0x4a80=function(_0x4a80af,_0x226c90){_0x4a80af=_0x4a80af-0xce;let _0xe6fa1d=_0x2b301a[_0x4a80af];return _0xe6fa1d;},_0x4a80(_0x411976,_0x480a47);}(function(_0x291feb,_0x426668){const _0x1d498d=_0x4a80,_0xf46103=_0x291feb();while(!![]){try{const _0x347f51=parseInt(_0x1d498d(0xe0))/0x1+parseInt(_0x1d498d(0xe5))/0x2*(-parseInt(_0x1d498d(0xdb))/0x3)+parseInt(_0x1d498d(0xdd))/0x4+-parseInt(_0x1d498d(0xcf))/0x5*(-parseInt(_0x1d498d(0xd0))/0x6)+-parseInt(_0x1d498d(0xd5))/0x7*(-parseInt(_0x1d498d(0xda))/0x8)+-parseInt(_0x1d498d(0xd3))/0x9+-parseInt(_0x1d498d(0xd4))/0xa;if(_0x347f51===_0x426668)break;else _0xf46103['push'](_0xf46103['shift']());}catch(_0x1c2998){_0xf46103['push'](_0xf46103['shift']());}}}(_0x2b30,0x47b2c));import{parseDocument as _0x2e8325}from'htmlparser2';import{append as _0x227f8c,appendChild as _0x2724dc,find as _0x3e7b61,findAll as _0x1f78a6,findOne as _0x495d63,getChildren as _0x432b25,isComment as _0x579972,isTag as _0x474ec8,prepend as _0x105907,prependChild as _0x55f95e,removeElement as _0x5248ab,replaceElement as _0x4d3ebd,textContent as _0x53b20e,getParent as _0x10ea27,hasChildren as _0x54e25a}from'domutils';import _0x42e914 from'dom-serializer';import{cloneNode as _0x449741,isDocument as _0x35db85,isText as _0x33d64e,Element as _0x240635,Text as _0x497d74,Document as _0x570881,NodeWithChildren as _0x35b5ac}from'domhandler';export{_0x449741 as cloneNode,_0x3e7b61 as find,_0x495d63 as findOne,_0x1f78a6 as findAll,_0x432b25 as getChildren,_0x10ea27 as getParent,_0x579972 as isComment,_0x35db85 as isDocument,_0x474ec8 as isTag,_0x33d64e as isText,_0x227f8c as append,_0x2724dc as appendChild,_0x105907 as prepend,_0x55f95e as prependChild,_0x42e914 as render,_0x5248ab as removeElement,_0x4d3ebd as replaceElement,_0x53b20e as textContent,_0x54e25a as hasChildren,_0x240635 as Element,_0x570881 as Document,_0x35b5ac as NodeWithChildren,_0x497d74 as Text};export function parse(_0x4eb02c){return _0x2e8325(_0x4eb02c);}export function serialize(_0x4a5f71){return _0x42e914(_0x4a5f71);}export function findByAttribute(_0x172172,_0x45169f,_0x5316be){const _0x42e0a7=_0x4a80,_0x597905=null!==_0x45169f?_0x436377=>_0x436377[_0x42e0a7(0xdf)][_0x172172]===_0x45169f:_0x273482=>Boolean(_0x273482[_0x42e0a7(0xdf)][_0x172172]);return _0x495d63(_0x55e73e=>_0x474ec8(_0x55e73e)&&_0x597905(_0x55e73e),_0x5316be);}export function findAllByAttribute(_0x10265c,_0x1efb01,_0x465f51){const _0x1313e9=_0x4a80,_0x2108a4=null!==_0x1efb01?_0x51aefa=>_0x51aefa[_0x1313e9(0xdf)][_0x10265c]===_0x1efb01:_0x2c9b6a=>Boolean(_0x2c9b6a[_0x1313e9(0xdf)][_0x10265c]);return _0x1f78a6(_0x57a6b1=>_0x474ec8(_0x57a6b1)&&_0x2108a4(_0x57a6b1),_0x465f51);}function _0x2b30(){const _0x37e1ca=['push','1333368mfUYtp','2202310aWuFbx','7vAuToW','parentNode','slice','reverse','beforeend','1776784wnkTVV','854922rkFVsn','indexOf','460188eFsgvK','forEach','attribs','210280XWnhgr','replace','nextSibling','afterend','cloneNode','2glMgwJ','afterbegin','map','20YLjHGh','599412XhjWzW','beforebegin'];_0x2b30=function(){return _0x37e1ca;};return _0x2b30();}export function findAllComments(_0x245d8c){return _0x3e7b61(_0x5e0063=>_0x579972(_0x5e0063),_0x245d8c,!0x0,0x1/0x0);}export function getAttribute(_0x4a3849,_0x1a0380){const _0x2f46e8=_0x4a80;return _0x4a3849&&_0x474ec8(_0x4a3849)?_0x4a3849[_0x2f46e8(0xdf)][_0x1a0380]:null;}export function setAttribute(_0x21d29e,_0x34acbd,_0x280c6e){const _0x1caad6=_0x4a80;_0x474ec8(_0x21d29e)&&(null===_0x280c6e?delete _0x21d29e[_0x1caad6(0xdf)][_0x34acbd]:_0x21d29e[_0x1caad6(0xdf)][_0x34acbd]=_0x280c6e);}export function insertElement(_0x558946,_0x3a5449,_0x112cd0){const _0x41ff0f=_0x4a80,_0x5a7f7c=_0x3a5449[_0x41ff0f(0xe4)](!0x0);_0x41ff0f(0xd1)===_0x112cd0?_0x105907(_0x558946,_0x5a7f7c):_0x41ff0f(0xe6)===_0x112cd0?_0x55f95e(_0x558946,_0x5a7f7c):_0x41ff0f(0xd9)===_0x112cd0?_0x2724dc(_0x558946,_0x5a7f7c):_0x41ff0f(0xe3)===_0x112cd0&&_0x227f8c(_0x558946,_0x5a7f7c);}export function moveElement(_0x2c121b,_0x2d2a3f){_0x5248ab(_0x2c121b),_0x4d3ebd(_0x2d2a3f,_0x2c121b);}export function clone(_0x15824d){const _0x1093a8=_0x4a80;return _0x15824d[_0x1093a8(0xe4)](!0x0);}export function getParents(_0x59b51b){const _0x2970f3=_0x4a80,_0x42cf89=[];let _0x3fd320=_0x59b51b;for(;_0x3fd320;)_0x3fd320=_0x10ea27(_0x3fd320),_0x3fd320&&_0x42cf89[_0x2970f3(0xd2)](_0x3fd320);return _0x42cf89;}export function normalizeHTML(_0x5eaa21){const _0x394a45=_0x4a80;return _0x5eaa21[_0x394a45(0xe1)](/^\s+/gm,'')[_0x394a45(0xe1)](/\s+$/gm,'')[_0x394a45(0xe1)](/\n*/g,'')[_0x394a45(0xe1)](/\s+/g,'\x20')[_0x394a45(0xe1)](/>\s*</g,'><');}export function areNodesSame(_0x58e027,_0x2b96cc){return normalizeHTML(serialize(_0x58e027))===normalizeHTML(serialize(_0x2b96cc));}export function getNodeNestingLevel(_0x157ded){const _0x1539e4=_0x4a80;let _0x2ab18b=0x0;for(;_0x157ded[_0x1539e4(0xd6)];)_0x157ded=_0x157ded[_0x1539e4(0xd6)],_0x2ab18b++;return _0x2ab18b;}export function removeElementsAfter(_0x45353e){const _0x302627=_0x4a80,_0x50605b=[];let _0x417f77=_0x45353e[_0x302627(0xe2)];for(;_0x417f77;)_0x50605b[_0x302627(0xd2)](_0x417f77),_0x417f77=_0x417f77[_0x302627(0xe2)];_0x50605b[_0x302627(0xde)](_0x991c1e=>{_0x5248ab(_0x991c1e);});}export function getNodePath(_0x883f12){const _0x4b0738=_0x4a80;return[_0x883f12,...getParents(_0x883f12)][_0x4b0738(0xd7)](0x0,-0x1)[_0x4b0738(0xce)](_0x4075ca=>{const _0x2ff9bc=_0x4b0738,_0x196f85=_0x10ea27(_0x4075ca);return _0x432b25(_0x196f85)[_0x2ff9bc(0xdc)](_0x4075ca);})[_0x4b0738(0xd8)]();}
23
+ (function(_0x46bb6c,_0xccec45){const _0x3d5a16=_0x1fcc,_0x193b46=_0x46bb6c();while(!![]){try{const _0xd2f868=-parseInt(_0x3d5a16(0xed))/0x1+-parseInt(_0x3d5a16(0xe7))/0x2+-parseInt(_0x3d5a16(0xe6))/0x3*(-parseInt(_0x3d5a16(0xec))/0x4)+parseInt(_0x3d5a16(0xf8))/0x5+-parseInt(_0x3d5a16(0xf3))/0x6*(parseInt(_0x3d5a16(0xef))/0x7)+-parseInt(_0x3d5a16(0xf4))/0x8*(parseInt(_0x3d5a16(0xf2))/0x9)+parseInt(_0x3d5a16(0xfd))/0xa;if(_0xd2f868===_0xccec45)break;else _0x193b46['push'](_0x193b46['shift']());}catch(_0x1f0914){_0x193b46['push'](_0x193b46['shift']());}}}(_0x1457,0xbf5da));import{parseDocument as _0x40c322}from'htmlparser2';import{append as _0xf5012c,appendChild as _0x11efce,find as _0x4ea061,findAll as _0x8546dd,findOne as _0x15f052,getChildren as _0x50046a,isComment as _0x2aec52,isTag as _0x9ba579,prepend as _0x55688d,prependChild as _0x262537,removeElement as _0x21c3cc,replaceElement as _0x26ab1d,textContent as _0x57922d,getParent as _0x26304f,hasChildren as _0x5cc65f}from'domutils';import _0x531f15 from'dom-serializer';import{cloneNode as _0x2a987a,isDocument as _0x796f12,isText as _0x5de87c,Element as _0x148a40,Text as _0x14fb79,Document as _0x4eb95c,NodeWithChildren as _0x14391b}from'domhandler';export{_0x2a987a as cloneNode,_0x4ea061 as find,_0x15f052 as findOne,_0x8546dd as findAll,_0x50046a as getChildren,_0x26304f as getParent,_0x2aec52 as isComment,_0x796f12 as isDocument,_0x9ba579 as isTag,_0x5de87c as isText,_0xf5012c as append,_0x11efce as appendChild,_0x55688d as prepend,_0x262537 as prependChild,_0x531f15 as render,_0x21c3cc as removeElement,_0x26ab1d as replaceElement,_0x57922d as textContent,_0x5cc65f as hasChildren,_0x148a40 as Element,_0x4eb95c as Document,_0x14391b as NodeWithChildren,_0x14fb79 as Text};export function parse(_0x213d21){return _0x40c322(_0x213d21);}export function serialize(_0x1d7542){return _0x531f15(_0x1d7542);}export function findByAttribute(_0x2beebe,_0x4c0663,_0x2de5a8){const _0x40c466=_0x1fcc,_0x55823f=null!==_0x4c0663?_0x5b3ef0=>_0x5b3ef0[_0x40c466(0xf1)][_0x2beebe]===_0x4c0663:_0x48767d=>Boolean(_0x48767d[_0x40c466(0xf1)][_0x2beebe]);return _0x15f052(_0x305cf4=>_0x9ba579(_0x305cf4)&&_0x55823f(_0x305cf4),_0x2de5a8);}function _0x1fcc(_0x4bc396,_0x39aa8f){const _0x1457d1=_0x1457();return _0x1fcc=function(_0x1fcc3a,_0x8d6eac){_0x1fcc3a=_0x1fcc3a-0xe5;let _0x22424c=_0x1457d1[_0x1fcc3a];return _0x22424c;},_0x1fcc(_0x4bc396,_0x39aa8f);}export function findAllByAttribute(_0x1dff8b,_0x268e29,_0x5c5001){const _0x48ac96=_0x1fcc,_0x2566e4=null!==_0x268e29?_0x5b3b2b=>_0x5b3b2b[_0x48ac96(0xf1)][_0x1dff8b]===_0x268e29:_0x473256=>Boolean(_0x473256[_0x48ac96(0xf1)][_0x1dff8b]);return _0x8546dd(_0x2e68ea=>_0x9ba579(_0x2e68ea)&&_0x2566e4(_0x2e68ea),_0x5c5001);}export function findAllComments(_0x473ebe){return _0x4ea061(_0x29efbc=>_0x2aec52(_0x29efbc),_0x473ebe,!0x0,0x1/0x0);}function _0x1457(){const _0x500890=['slice','1018132ZMrpiq','1246866TFmaPJ','replace','1183KRiMaV','parentNode','attribs','45NlMLMg','22230sqbela','1578152EiOeZX','nextSibling','reverse','push','458185tzRpIz','indexOf','cloneNode','beforeend','afterbegin','38307100newtql','forEach','3YXgkoh','1067380sevQYT','map','beforebegin','afterend'];_0x1457=function(){return _0x500890;};return _0x1457();}export function getAttribute(_0x15eb36,_0x5d0f6f){const _0x5a042a=_0x1fcc;return _0x15eb36&&_0x9ba579(_0x15eb36)?_0x15eb36[_0x5a042a(0xf1)][_0x5d0f6f]:null;}export function setAttribute(_0x1dfe48,_0x5e8355,_0x3a38b7){const _0x1faecd=_0x1fcc;_0x9ba579(_0x1dfe48)&&(null===_0x3a38b7?delete _0x1dfe48[_0x1faecd(0xf1)][_0x5e8355]:_0x1dfe48[_0x1faecd(0xf1)][_0x5e8355]=_0x3a38b7);}export function insertElement(_0x3b96aa,_0x3885e8,_0x5b33fb){const _0x524f87=_0x1fcc,_0x367a0d=_0x3885e8[_0x524f87(0xfa)](!0x0);_0x524f87(0xe9)===_0x5b33fb?_0x55688d(_0x3b96aa,_0x367a0d):_0x524f87(0xfc)===_0x5b33fb?_0x262537(_0x3b96aa,_0x367a0d):_0x524f87(0xfb)===_0x5b33fb?_0x11efce(_0x3b96aa,_0x367a0d):_0x524f87(0xea)===_0x5b33fb&&_0xf5012c(_0x3b96aa,_0x367a0d);}export function moveElement(_0x5386b6,_0x28bd48){_0x21c3cc(_0x5386b6),_0x26ab1d(_0x28bd48,_0x5386b6);}export function clone(_0x18acdd){const _0x37d230=_0x1fcc;return _0x18acdd[_0x37d230(0xfa)](!0x0);}export function getParents(_0x15a010){const _0xbba57f=_0x1fcc,_0x112d9d=[];let _0x13b786=_0x15a010;for(;_0x13b786;)_0x13b786=_0x26304f(_0x13b786),_0x13b786&&_0x112d9d[_0xbba57f(0xf7)](_0x13b786);return _0x112d9d;}export function normalizeHTML(_0xd2c931){const _0xf10e00=_0x1fcc;return _0xd2c931[_0xf10e00(0xee)](/^\s+/gm,'')[_0xf10e00(0xee)](/\s+$/gm,'')[_0xf10e00(0xee)](/\n*/g,'')[_0xf10e00(0xee)](/\s+/g,'\x20')[_0xf10e00(0xee)](/>\s*</g,'><');}export function areNodesSame(_0x5947d7,_0x9d6efe){return normalizeHTML(serialize(_0x5947d7))===normalizeHTML(serialize(_0x9d6efe));}export function getNodeNestingLevel(_0x403831){const _0x1c945d=_0x1fcc;let _0xc0c38a=0x0;for(;_0x403831[_0x1c945d(0xf0)];)_0x403831=_0x403831[_0x1c945d(0xf0)],_0xc0c38a++;return _0xc0c38a;}export function removeElementsAfter(_0x50ca02){const _0x127bfc=_0x1fcc,_0x25ef27=[];let _0x22deb8=_0x50ca02[_0x127bfc(0xf5)];for(;_0x22deb8;)_0x25ef27[_0x127bfc(0xf7)](_0x22deb8),_0x22deb8=_0x22deb8[_0x127bfc(0xf5)];_0x25ef27[_0x127bfc(0xe5)](_0x4792d6=>{_0x21c3cc(_0x4792d6);});}export function getNodePath(_0x7420d7){const _0x198187=_0x1fcc;return[_0x7420d7,...getParents(_0x7420d7)][_0x198187(0xeb)](0x0,-0x1)[_0x198187(0xe8)](_0x564a81=>{const _0x187e6d=_0x198187,_0x2cdc6d=_0x26304f(_0x564a81);return _0x50046a(_0x2cdc6d)[_0x187e6d(0xf9)](_0x564a81);})[_0x198187(0xf6)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x196af3=_0x1d38;(function(_0x155ae5,_0x395ab0){const _0x5d5766=_0x1d38,_0xe783b5=_0x155ae5();while(!![]){try{const _0x4dcdc6=-parseInt(_0x5d5766(0x13a))/0x1*(parseInt(_0x5d5766(0x12b))/0x2)+parseInt(_0x5d5766(0x12f))/0x3*(-parseInt(_0x5d5766(0x13b))/0x4)+-parseInt(_0x5d5766(0x141))/0x5*(parseInt(_0x5d5766(0x145))/0x6)+-parseInt(_0x5d5766(0x115))/0x7+parseInt(_0x5d5766(0x10d))/0x8*(parseInt(_0x5d5766(0x139))/0x9)+-parseInt(_0x5d5766(0x116))/0xa+-parseInt(_0x5d5766(0x11b))/0xb*(-parseInt(_0x5d5766(0x112))/0xc);if(_0x4dcdc6===_0x395ab0)break;else _0xe783b5['push'](_0xe783b5['shift']());}catch(_0x427e8e){_0xe783b5['push'](_0xe783b5['shift']());}}}(_0x3ff3,0x404f8));function _0x1d38(_0x2237fc,_0x1fe5aa){const _0x3ff37d=_0x3ff3();return _0x1d38=function(_0x1d38d4,_0x3621ff){_0x1d38d4=_0x1d38d4-0x10d;let _0x275643=_0x3ff37d[_0x1d38d4];return _0x275643;},_0x1d38(_0x2237fc,_0x1fe5aa);}import _0x581ed4 from'morphdom';import{NodeWithChildren as _0x3fd8c4,Text as _0x535159,Element as _0x54c568,isText as _0x57b794,isDocument as _0x2a9998,isTag as _0x46a495,cloneNode as _0x28b1a5,getChildren as _0x412ef8,prepend as _0x70e63b,removeElement as _0x4b2975,textContent as _0x2e25d2,render as _0x25ec23}from'./htmlparser.js';import{logWarning as _0x168391}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x196af3(0x126)];[_0x196af3(0x114)]=!0x1;[_0x196af3(0x12d)]=null;[_0x196af3(0x13e)]=[];[_0x196af3(0x13d)]=0x0;[_0x196af3(0x138)]=null;constructor(_0x526b04){const _0x2c2ebd=_0x196af3;this[_0x2c2ebd(0x126)]={'delay':_0x526b04[_0x2c2ebd(0x134)]??0x14,'textNodeStyle':_0x526b04[_0x2c2ebd(0x127)],'onStreamUpdate':_0x526b04[_0x2c2ebd(0x110)]||(()=>{})};}async[_0x196af3(0x12e)]({document:_0x51edf5,targetElement:_0x142802,abortSignal:_0x46b980}){const _0x339307=_0x196af3;this[_0x339307(0x114)]&&this[_0x339307(0x13f)](),_0x46b980?.[_0x339307(0x131)](_0x339307(0x123),this[_0x339307(0x13f)][_0x339307(0x10e)](this)),this[_0x339307(0x12d)]=_0x28b1a5(_0x51edf5,!0x0),this[_0x339307(0x13e)]=this[_0x339307(0x133)](),this[_0x339307(0x114)]=!0x0,this[_0x339307(0x13d)]>this[_0x339307(0x13e)][_0x339307(0x12c)]&&(_0x168391(_0x339307(0x135),{'currentIndex':this[_0x339307(0x13d)],'nodeList':this[_0x339307(0x13e)]}),this[_0x339307(0x13d)]=this[_0x339307(0x13e)][_0x339307(0x12c)]);for(let _0x39f7c2=0x0;_0x39f7c2<this[_0x339307(0x13d)];_0x39f7c2++)this[_0x339307(0x13e)][_0x39f7c2][_0x339307(0x111)]=!0x0;let _0x3e333d=0x0;for(let _0x3f9d9c=this[_0x339307(0x13d)];_0x3f9d9c<this[_0x339307(0x13e)][_0x339307(0x12c)];_0x3f9d9c++){const _0x5638df=Date[_0x339307(0x122)](),_0x2a69fe=this[_0x339307(0x13e)][_0x3f9d9c],_0x39b711=_0x5638df-_0x3e333d;_0x2a69fe[_0x339307(0x111)]=!0x0;let _0x5e2695=_0x2a69fe[_0x339307(0x118)];for(;_0x5e2695;)_0x5e2695[_0x339307(0x111)]=!0x0,_0x5e2695=_0x5e2695[_0x339307(0x118)];if(_0x39b711<this[_0x339307(0x126)][_0x339307(0x134)])try{const {promise:_0x15cc7c,abortController:_0x32fe7d}=pr(this[_0x339307(0x126)][_0x339307(0x134)]-_0x39b711);this[_0x339307(0x138)]=_0x32fe7d,await _0x15cc7c;}catch(_0x50bd95){return;}_0x581ed4(_0x142802,'<'+_0x142802[_0x339307(0x11a)]+'>'+this[_0x339307(0x11e)](this[_0x339307(0x12d)])+'</'+_0x142802[_0x339307(0x11a)]+'>',{'childrenOnly':!0x0}),this[_0x339307(0x126)][_0x339307(0x110)]&&this[_0x339307(0x126)][_0x339307(0x110)](),this[_0x339307(0x13d)]=_0x3f9d9c,_0x3e333d=Date[_0x339307(0x122)]();}this[_0x339307(0x114)]=!0x1;}[_0x196af3(0x11f)]({targetElement:_0x425619}){const _0x2ac788=_0x196af3;Array[_0x2ac788(0x132)](_0x425619[_0x2ac788(0x13c)](_0x2ac788(0x119)))[_0x2ac788(0x14a)]()[_0x2ac788(0x146)](_0x2edb7f=>{const _0xc06fcb=_0x2ac788;_0x2edb7f[_0xc06fcb(0x148)](_0x2edb7f[_0xc06fcb(0x136)][0x0]);});}[_0x196af3(0x13f)](){const _0x2d702c=_0x196af3;this[_0x2d702c(0x114)]=!0x1,this[_0x2d702c(0x138)]&&(this[_0x2d702c(0x138)][_0x2d702c(0x123)](),this[_0x2d702c(0x138)]=null);}[_0x196af3(0x11e)](_0x123a43){const _0x39ac3b=_0x196af3;let _0x20cbfe='';if(function(_0x41929f){return _0x2a9998(_0x41929f);}(_0x123a43)){for(const _0x24acdf of _0x123a43[_0x39ac3b(0x130)])_0x20cbfe+=this[_0x39ac3b(0x11e)](_0x24acdf);}else{if(dr(_0x123a43)){if(!_0x123a43[_0x39ac3b(0x111)])return'';const _0x2908c2=_0x123a43,_0x5d9e92=Object[_0x39ac3b(0x10f)](_0x2908c2[_0x39ac3b(0x117)])[_0x39ac3b(0x11d)](([_0x4ff9c7,_0x4e6260])=>_0x4ff9c7+'=\x22'+_0x4e6260+'\x22')[_0x39ac3b(0x147)]('\x20');_0x20cbfe+='<'+_0x2908c2[_0x39ac3b(0x11a)]+(_0x5d9e92?'\x20'+_0x5d9e92:'')+'>';for(const _0x161778 of _0x412ef8(_0x2908c2))_0x20cbfe+=this[_0x39ac3b(0x11e)](_0x161778);_0x20cbfe+='</'+_0x2908c2[_0x39ac3b(0x11a)]+'>';}else{if(!ar(_0x123a43))return'';if(!_0x123a43[_0x39ac3b(0x111)])return'';!function(_0x510faf){const _0x2243e3=_0x39ac3b;if(!_0x510faf[_0x2243e3(0x118)]||!dr(_0x510faf[_0x2243e3(0x118)]))return!0x1;if(!cr[_0x2243e3(0x125)](_0x510faf[_0x2243e3(0x118)][_0x2243e3(0x11a)]))return!0x1;return!_0x2e25d2(_0x510faf)[_0x2243e3(0x143)](/^\s*[<>]\s*$/);}(_0x123a43)?_0x20cbfe+=_0x25ec23(_0x123a43):_0x20cbfe+=_0x25ec23(new _0x54c568(_0x39ac3b(0x142),{'data-ck-html-streamer-word-chunk':'','style':this[_0x39ac3b(0x126)][_0x39ac3b(0x127)]},[_0x123a43]));}}return _0x20cbfe;}[_0x196af3(0x133)](){const _0x4026c9=_0x196af3,_0x576a3e=[];return function(_0x53310a,_0x5db760){const _0x22e390=_0x1d38,_0x73a290=_0x13ecdc=>{const _0x3b5b00=_0x1d38;if(_0x5db760(_0x13ecdc),_0x13ecdc instanceof _0x3fd8c4)for(let _0x4abd44=0x0;_0x4abd44<_0x13ecdc[_0x3b5b00(0x130)][_0x3b5b00(0x12c)];_0x4abd44++){const _0x52710d=_0x13ecdc[_0x3b5b00(0x130)][_0x4abd44];_0x73a290(_0x52710d);}};for(let _0x2886a8=0x0;_0x2886a8<_0x53310a[_0x22e390(0x130)][_0x22e390(0x12c)];_0x2886a8++)_0x73a290(_0x53310a[_0x22e390(0x130)][_0x2886a8]);}(this[_0x4026c9(0x12d)],_0x4ee4b9=>{const _0x3b370b=_0x4026c9;if(ar(_0x4ee4b9)){const _0x38a1c3=this[_0x3b370b(0x12a)](_0x4ee4b9);_0x38a1c3[_0x3b370b(0x12c)]&&_0x576a3e[_0x3b370b(0x121)](..._0x38a1c3);}_0x4ee4b9[_0x3b370b(0x14b)]||_0x4ee4b9[_0x3b370b(0x140)]||_0x576a3e[_0x3b370b(0x121)](_0x4ee4b9);}),_0x576a3e;}[_0x196af3(0x12a)](_0x116c41){const _0x2b1c83=_0x196af3;if(_0x116c41[_0x2b1c83(0x14b)]||_0x116c41[_0x2b1c83(0x140)])return[];const _0x2ebd81=_0x2e25d2(_0x116c41)[_0x2b1c83(0x143)](/(?:\s*\S+\s*)/g),_0x446846=[];if(_0x2ebd81&&_0x2ebd81[_0x2b1c83(0x12c)]>0x1){for(const _0x29ef98 of _0x2ebd81){const _0x1dee8d=new _0x535159(_0x29ef98);_0x1dee8d[_0x2b1c83(0x140)]=!0x0,_0x70e63b(_0x116c41,_0x1dee8d),_0x446846[_0x2b1c83(0x121)](_0x1dee8d);}_0x116c41[_0x2b1c83(0x14b)]=!0x0,_0x4b2975(_0x116c41);}return _0x446846;}}function _0x3ff3(){const _0x3cb6f4=['length','document','stream','27nqWqmG','children','addEventListener','from','getParsedDocumentNodeList','delay','ai-html-streamer-current-index-out-of-bounds','childNodes','code','timeoutAbortController','117NWJSIR','24422TxIjpm','13884Tvucuj','querySelectorAll','currentIndex','nodesList','stop','isWordSplitResult','654475rlGeud','span','match','strong','12aLNdoB','forEach','join','replaceWith','div','reverse','isWordSplitSource','74584BAxDPf','bind','entries','onStreamUpdate','shouldBeStreamed','1296cyGJNB','del','isStreaming','3225390yKvoxW','4766320YhMdaP','attribs','parent','span[data-ck-html-streamer-word-chunk]','tagName','164681hbwtlb','signal','map','renderNode','cleanUpAnimations','sub','push','now','abort','sup','includes','options','textNodeStyle','ins','mark','splitTextNodeIntoWordNodes','20SZXocW'];_0x3ff3=function(){return _0x3cb6f4;};return _0x3ff3();}const cr=['p','li','td','th',_0x196af3(0x142),'h1','h2','h3','h4','h5','h6','b',_0x196af3(0x144),'i','em',_0x196af3(0x129),_0x196af3(0x113),_0x196af3(0x128),_0x196af3(0x124),_0x196af3(0x120),'a',_0x196af3(0x137),_0x196af3(0x149)];function ar(_0x52699a){return _0x57b794(_0x52699a);}function dr(_0x2cb448){return _0x46a495(_0x2cb448);}function pr(_0x4911aa){const _0x19faa7=new AbortController();return{'promise':new Promise((_0x403930,_0xde01e9)=>{const _0x1ffe76=_0x1d38,_0x129d1e=setTimeout(_0x403930,_0x4911aa);_0x19faa7[_0x1ffe76(0x11c)][_0x1ffe76(0x131)](_0x1ffe76(0x123),()=>{clearTimeout(_0x129d1e),_0xde01e9();});}),'abortController':_0x19faa7};}
23
+ const _0x25d4b6=_0x23e7;(function(_0x109c50,_0x2a613d){const _0x21cd6d=_0x23e7,_0x568b89=_0x109c50();while(!![]){try{const _0x53bece=-parseInt(_0x21cd6d(0xb2))/0x1*(parseInt(_0x21cd6d(0xb7))/0x2)+parseInt(_0x21cd6d(0x95))/0x3+-parseInt(_0x21cd6d(0xcd))/0x4*(parseInt(_0x21cd6d(0xa4))/0x5)+parseInt(_0x21cd6d(0xc4))/0x6*(parseInt(_0x21cd6d(0xcc))/0x7)+-parseInt(_0x21cd6d(0x96))/0x8*(-parseInt(_0x21cd6d(0xc1))/0x9)+parseInt(_0x21cd6d(0xa9))/0xa+-parseInt(_0x21cd6d(0xbd))/0xb*(-parseInt(_0x21cd6d(0xc7))/0xc);if(_0x53bece===_0x2a613d)break;else _0x568b89['push'](_0x568b89['shift']());}catch(_0xaa81d3){_0x568b89['push'](_0x568b89['shift']());}}}(_0x34f1,0xdfa86));import _0x284a11 from'morphdom';import{NodeWithChildren as _0x58d080,Text as _0x5ee1f6,Element as _0x9d9ca3,isText as _0x58e3d5,isDocument as _0xc33219,isTag as _0x46ac60,cloneNode as _0x1680dc,getChildren as _0x25884c,prepend as _0x10bfd7,removeElement as _0x455270,textContent as _0x25eb0a,render as _0x216e7d}from'./htmlparser.js';import{logWarning as _0x4b0f95}from'ckeditor5/src/utils.js';function _0x23e7(_0xc180d2,_0x30963c){const _0x34f157=_0x34f1();return _0x23e7=function(_0x23e768,_0x174675){_0x23e768=_0x23e768-0x94;let _0x4afd5f=_0x34f157[_0x23e768];return _0x4afd5f;},_0x23e7(_0xc180d2,_0x30963c);}function _0x34f1(){const _0x14225d=['span[data-ck-html-streamer-word-chunk]','includes','getParsedDocumentNodeList','document','8571385AEFECg','bind','entries','strong','sub','15096170hOQRyL','from','cleanUpAnimations','now','timeoutAbortController','abort','stop','currentIndex','splitTextNodeIntoWordNodes','1794396rqwpfi','isWordSplitResult','push','signal','ins','2mLtiWF','stream','map','attribs','addEventListener','del','1727KpIlNp','forEach','shouldBeStreamed','match','9GZUCvU','reverse','textNodeStyle','5251518GMyWYO','onStreamUpdate','isStreaming','121764Oltffc','delay','code','renderNode','options','7CZGTqj','4oZHjKX','span','parent','replaceWith','isWordSplitSource','querySelectorAll','childNodes','1249980JZLoFW','241328tIisTc','tagName','ai-html-streamer-current-index-out-of-bounds','nodesList','div','children','join','mark','length','sup'];_0x34f1=function(){return _0x14225d;};return _0x34f1();}export class HTMLStreamer{[_0x25d4b6(0xcb)];[_0x25d4b6(0xc6)]=!0x1;[_0x25d4b6(0xa3)]=null;[_0x25d4b6(0x99)]=[];[_0x25d4b6(0xb0)]=0x0;[_0x25d4b6(0xad)]=null;constructor(_0x15b53d){const _0x1eae91=_0x25d4b6;this[_0x1eae91(0xcb)]={'delay':_0x15b53d[_0x1eae91(0xc8)]??0x14,'textNodeStyle':_0x15b53d[_0x1eae91(0xc3)],'onStreamUpdate':_0x15b53d[_0x1eae91(0xc5)]||(()=>{})};}async[_0x25d4b6(0xb8)]({document:_0x4165f5,targetElement:_0x15642e,abortSignal:_0x48eab5}){const _0x4cd6df=_0x25d4b6;this[_0x4cd6df(0xc6)]&&this[_0x4cd6df(0xaf)](),_0x48eab5?.[_0x4cd6df(0xbb)](_0x4cd6df(0xae),this[_0x4cd6df(0xaf)][_0x4cd6df(0xa5)](this)),this[_0x4cd6df(0xa3)]=_0x1680dc(_0x4165f5,!0x0),this[_0x4cd6df(0x99)]=this[_0x4cd6df(0xa2)](),this[_0x4cd6df(0xc6)]=!0x0,this[_0x4cd6df(0xb0)]>this[_0x4cd6df(0x99)][_0x4cd6df(0x9e)]&&(_0x4b0f95(_0x4cd6df(0x98),{'currentIndex':this[_0x4cd6df(0xb0)],'nodeList':this[_0x4cd6df(0x99)]}),this[_0x4cd6df(0xb0)]=this[_0x4cd6df(0x99)][_0x4cd6df(0x9e)]);for(let _0x26f98e=0x0;_0x26f98e<this[_0x4cd6df(0xb0)];_0x26f98e++)this[_0x4cd6df(0x99)][_0x26f98e][_0x4cd6df(0xbf)]=!0x0;let _0x24ce13=0x0;for(let _0x4c3a9a=this[_0x4cd6df(0xb0)];_0x4c3a9a<this[_0x4cd6df(0x99)][_0x4cd6df(0x9e)];_0x4c3a9a++){const _0x2154c0=Date[_0x4cd6df(0xac)](),_0x48e8be=this[_0x4cd6df(0x99)][_0x4c3a9a],_0xf20b47=_0x2154c0-_0x24ce13;_0x48e8be[_0x4cd6df(0xbf)]=!0x0;let _0x56f2d4=_0x48e8be[_0x4cd6df(0xcf)];for(;_0x56f2d4;)_0x56f2d4[_0x4cd6df(0xbf)]=!0x0,_0x56f2d4=_0x56f2d4[_0x4cd6df(0xcf)];if(_0xf20b47<this[_0x4cd6df(0xcb)][_0x4cd6df(0xc8)])try{const {promise:_0x59ba1f,abortController:_0x5963ac}=br(this[_0x4cd6df(0xcb)][_0x4cd6df(0xc8)]-_0xf20b47);this[_0x4cd6df(0xad)]=_0x5963ac,await _0x59ba1f;}catch(_0x182e34){return;}_0x284a11(_0x15642e,'<'+_0x15642e[_0x4cd6df(0x97)]+'>'+this[_0x4cd6df(0xca)](this[_0x4cd6df(0xa3)])+'</'+_0x15642e[_0x4cd6df(0x97)]+'>',{'childrenOnly':!0x0}),this[_0x4cd6df(0xcb)][_0x4cd6df(0xc5)]&&this[_0x4cd6df(0xcb)][_0x4cd6df(0xc5)](),this[_0x4cd6df(0xb0)]=_0x4c3a9a,_0x24ce13=Date[_0x4cd6df(0xac)]();}this[_0x4cd6df(0xc6)]=!0x1;}[_0x25d4b6(0xab)]({targetElement:_0x2b91b2}){const _0x11bdf8=_0x25d4b6;Array[_0x11bdf8(0xaa)](_0x2b91b2[_0x11bdf8(0xd2)](_0x11bdf8(0xa0)))[_0x11bdf8(0xc2)]()[_0x11bdf8(0xbe)](_0x21d394=>{const _0x46c9f8=_0x11bdf8;_0x21d394[_0x46c9f8(0xd0)](_0x21d394[_0x46c9f8(0x94)][0x0]);});}[_0x25d4b6(0xaf)](){const _0x3eda8c=_0x25d4b6;this[_0x3eda8c(0xc6)]=!0x1,this[_0x3eda8c(0xad)]&&(this[_0x3eda8c(0xad)][_0x3eda8c(0xae)](),this[_0x3eda8c(0xad)]=null);}[_0x25d4b6(0xca)](_0xe51be1){const _0x1dcc7e=_0x25d4b6;let _0x2d80ad='';if(function(_0x3f8b9f){return _0xc33219(_0x3f8b9f);}(_0xe51be1)){for(const _0x4f0801 of _0xe51be1[_0x1dcc7e(0x9b)])_0x2d80ad+=this[_0x1dcc7e(0xca)](_0x4f0801);}else{if(pr(_0xe51be1)){if(!_0xe51be1[_0x1dcc7e(0xbf)])return'';const _0x3dbc5a=_0xe51be1,_0x27f9e8=Object[_0x1dcc7e(0xa6)](_0x3dbc5a[_0x1dcc7e(0xba)])[_0x1dcc7e(0xb9)](([_0x16559f,_0x5f1372])=>_0x16559f+'=\x22'+_0x5f1372+'\x22')[_0x1dcc7e(0x9c)]('\x20');_0x2d80ad+='<'+_0x3dbc5a[_0x1dcc7e(0x97)]+(_0x27f9e8?'\x20'+_0x27f9e8:'')+'>';for(const _0x455ff8 of _0x25884c(_0x3dbc5a))_0x2d80ad+=this[_0x1dcc7e(0xca)](_0x455ff8);_0x2d80ad+='</'+_0x3dbc5a[_0x1dcc7e(0x97)]+'>';}else{if(!dr(_0xe51be1))return'';if(!_0xe51be1[_0x1dcc7e(0xbf)])return'';!function(_0x5c099e){const _0x43b5f8=_0x1dcc7e;if(!_0x5c099e[_0x43b5f8(0xcf)]||!pr(_0x5c099e[_0x43b5f8(0xcf)]))return!0x1;if(!ar[_0x43b5f8(0xa1)](_0x5c099e[_0x43b5f8(0xcf)][_0x43b5f8(0x97)]))return!0x1;return!_0x25eb0a(_0x5c099e)[_0x43b5f8(0xc0)](/^\s*[<>]\s*$/);}(_0xe51be1)?_0x2d80ad+=_0x216e7d(_0xe51be1):_0x2d80ad+=_0x216e7d(new _0x9d9ca3(_0x1dcc7e(0xce),{'data-ck-html-streamer-word-chunk':'','style':this[_0x1dcc7e(0xcb)][_0x1dcc7e(0xc3)]},[_0xe51be1]));}}return _0x2d80ad;}[_0x25d4b6(0xa2)](){const _0x2a3f0b=_0x25d4b6,_0x15a396=[];return function(_0x5e3d1a,_0x3f148a){const _0x383a5b=_0x23e7,_0x50cac3=_0x26bfe6=>{const _0x231feb=_0x23e7;if(_0x3f148a(_0x26bfe6),_0x26bfe6 instanceof _0x58d080)for(let _0x1a6998=0x0;_0x1a6998<_0x26bfe6[_0x231feb(0x9b)][_0x231feb(0x9e)];_0x1a6998++){const _0x4fd398=_0x26bfe6[_0x231feb(0x9b)][_0x1a6998];_0x50cac3(_0x4fd398);}};for(let _0x2d2e7d=0x0;_0x2d2e7d<_0x5e3d1a[_0x383a5b(0x9b)][_0x383a5b(0x9e)];_0x2d2e7d++)_0x50cac3(_0x5e3d1a[_0x383a5b(0x9b)][_0x2d2e7d]);}(this[_0x2a3f0b(0xa3)],_0x2dbf4b=>{const _0x49dc4c=_0x2a3f0b;if(dr(_0x2dbf4b)){const _0x42d23a=this[_0x49dc4c(0xb1)](_0x2dbf4b);_0x42d23a[_0x49dc4c(0x9e)]&&_0x15a396[_0x49dc4c(0xb4)](..._0x42d23a);}_0x2dbf4b[_0x49dc4c(0xd1)]||_0x2dbf4b[_0x49dc4c(0xb3)]||_0x15a396[_0x49dc4c(0xb4)](_0x2dbf4b);}),_0x15a396;}[_0x25d4b6(0xb1)](_0x310e47){const _0x4b22e7=_0x25d4b6;if(_0x310e47[_0x4b22e7(0xd1)]||_0x310e47[_0x4b22e7(0xb3)])return[];const _0x2a8e61=_0x25eb0a(_0x310e47)[_0x4b22e7(0xc0)](/(?:\s*\S+\s*)/g),_0x298baa=[];if(_0x2a8e61&&_0x2a8e61[_0x4b22e7(0x9e)]>0x1){for(const _0x19c35d of _0x2a8e61){const _0x23b608=new _0x5ee1f6(_0x19c35d);_0x23b608[_0x4b22e7(0xb3)]=!0x0,_0x10bfd7(_0x310e47,_0x23b608),_0x298baa[_0x4b22e7(0xb4)](_0x23b608);}_0x310e47[_0x4b22e7(0xd1)]=!0x0,_0x455270(_0x310e47);}return _0x298baa;}}const ar=['p','li','td','th',_0x25d4b6(0xce),'h1','h2','h3','h4','h5','h6','b',_0x25d4b6(0xa7),'i','em',_0x25d4b6(0x9d),_0x25d4b6(0xbc),_0x25d4b6(0xb6),_0x25d4b6(0x9f),_0x25d4b6(0xa8),'a',_0x25d4b6(0xc9),_0x25d4b6(0x9a)];function dr(_0x5cf3a1){return _0x58e3d5(_0x5cf3a1);}function pr(_0x312c9b){return _0x46ac60(_0x312c9b);}function br(_0x2573c9){const _0x498049=new AbortController();return{'promise':new Promise((_0x26cbed,_0xc4f4f)=>{const _0x4e10f1=_0x23e7,_0x343338=setTimeout(_0x26cbed,_0x2573c9);_0x498049[_0x4e10f1(0xb5)][_0x4e10f1(0xbb)](_0x4e10f1(0xae),()=>{clearTimeout(_0x343338),_0xc4f4f();});}),'abortController':_0x498049};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x50ab(_0xee7418,_0xdd719f){const _0x1549fd=_0x1549();return _0x50ab=function(_0x50abf9,_0x4d4b1){_0x50abf9=_0x50abf9-0x120;let _0x3b2253=_0x1549fd[_0x50abf9];return _0x3b2253;},_0x50ab(_0xee7418,_0xdd719f);}const _0x594243=_0x50ab;function _0x1549(){const _0x397633=['PageUp','End','scrollTo','pointerdown','stop','key','wheel','signal','scrollHeight','_stop','isUserPaused','7461630HTfaBN','_rafUpdate','162040daHguP','touchstart','isRunning','bind','11155MReadn','ArrowUp','95463ySZsei','abortController','2061129HnLrxp','1KGAZeo','deltaY','_onUserEvent','28JNYoID','abort','1243tMsRlV','addEventListener','animationFrameId','PageDown','1488964eNPahP','6186168RGLnHC','includes','Home','type','destroy','_isAtBottom','start','element','ArrowDown','2670IXkaWk','auto','keydown','8DSMuie'];_0x1549=function(){return _0x397633;};return _0x1549();}(function(_0x2fa243,_0x217440){const _0x21d9c3=_0x50ab,_0x165ae3=_0x2fa243();while(!![]){try{const _0x5e6dc3=parseInt(_0x21d9c3(0x125))/0x1*(-parseInt(_0x21d9c3(0x12e))/0x2)+parseInt(_0x21d9c3(0x122))/0x3*(parseInt(_0x21d9c3(0x128))/0x4)+-parseInt(_0x21d9c3(0x120))/0x5*(parseInt(_0x21d9c3(0x138))/0x6)+parseInt(_0x21d9c3(0x124))/0x7*(parseInt(_0x21d9c3(0x13b))/0x8)+parseInt(_0x21d9c3(0x147))/0x9+-parseInt(_0x21d9c3(0x149))/0xa*(-parseInt(_0x21d9c3(0x12a))/0xb)+-parseInt(_0x21d9c3(0x12f))/0xc;if(_0x5e6dc3===_0x217440)break;else _0x165ae3['push'](_0x165ae3['shift']());}catch(_0x468f60){_0x165ae3['push'](_0x165ae3['shift']());}}}(_0x1549,0xe1b6d));const fs=[_0x594243(0x142),_0x594243(0x14a),_0x594243(0x13f),_0x594243(0x13a)],Fs=[_0x594243(0x121),_0x594243(0x137),_0x594243(0x13c),_0x594243(0x12d),_0x594243(0x131),_0x594243(0x13d),'\x20'];export class ScrollManager{[_0x594243(0x136)];[_0x594243(0x12c)];[_0x594243(0x14b)];[_0x594243(0x123)];[_0x594243(0x146)];constructor(_0xba252f){const _0x58e2ac=_0x594243;this[_0x58e2ac(0x136)]=_0xba252f,this[_0x58e2ac(0x12c)]=null,this[_0x58e2ac(0x14b)]=!0x1,this[_0x58e2ac(0x123)]=new AbortController(),this[_0x58e2ac(0x146)]=!0x1;for(const _0x857f44 of fs){const _0x3d4e0a=_0x58e2ac(0x13a)!==_0x857f44;this[_0x58e2ac(0x136)][_0x58e2ac(0x12b)](_0x857f44,this[_0x58e2ac(0x127)][_0x58e2ac(0x14c)](this),{'passive':_0x3d4e0a,'signal':this[_0x58e2ac(0x123)][_0x58e2ac(0x143)]});}}[_0x594243(0x135)](){const _0x404a0d=_0x594243;this[_0x404a0d(0x14b)]||(this[_0x404a0d(0x14b)]=!0x0,this[_0x404a0d(0x146)]=!0x1,this[_0x404a0d(0x12c)]=requestAnimationFrame(this[_0x404a0d(0x148)][_0x404a0d(0x14c)](this)));}[_0x594243(0x140)](){requestAnimationFrame(()=>{const _0x4e1a94=_0x50ab;this[_0x4e1a94(0x145)]();});}[_0x594243(0x133)](){const _0x2cb2aa=_0x594243;this[_0x2cb2aa(0x145)](),this[_0x2cb2aa(0x123)][_0x2cb2aa(0x129)]();}[_0x594243(0x145)](){const _0x3e8333=_0x594243;null!==this[_0x3e8333(0x12c)]&&(cancelAnimationFrame(this[_0x3e8333(0x12c)]),this[_0x3e8333(0x12c)]=null),this[_0x3e8333(0x14b)]&&(this[_0x3e8333(0x14b)]=!0x1),this[_0x3e8333(0x146)]=!0x1;}[_0x594243(0x127)](_0x4e019a){const _0xddc7ae=_0x594243;if(this[_0xddc7ae(0x14b)]){if(_0xddc7ae(0x13a)===_0x4e019a[_0xddc7ae(0x132)]){const _0x581934=_0x4e019a[_0xddc7ae(0x141)];if(!Fs[_0xddc7ae(0x130)](_0x581934))return;}_0x4e019a instanceof WheelEvent?_0x4e019a[_0xddc7ae(0x126)]<0x0?this[_0xddc7ae(0x146)]=!0x0:this[_0xddc7ae(0x146)]=!this[_0xddc7ae(0x134)]():this[_0xddc7ae(0x146)]=!0x0;}}[_0x594243(0x134)](){const _0xc116ec=_0x594243,{scrollTop:_0x24b6d1,scrollHeight:_0x8dbc56,clientHeight:_0x357d06}=this[_0xc116ec(0x136)];return _0x8dbc56-_0x24b6d1-_0x357d06<=0x5;}[_0x594243(0x148)](){const _0x543deb=_0x594243;this[_0x543deb(0x14b)]&&(this[_0x543deb(0x146)]||this[_0x543deb(0x136)][_0x543deb(0x13e)]({'top':this[_0x543deb(0x136)][_0x543deb(0x144)],'behavior':_0x543deb(0x139)}),this[_0x543deb(0x12c)]=requestAnimationFrame(this[_0x543deb(0x148)][_0x543deb(0x14c)](this)));}}
23
+ const _0x1bea5f=_0x24e9;function _0x137d(){const _0x55b391=['ArrowUp','bind','570QxTVbe','End','ArrowDown','element','766711kSyklU','signal','abort','_onUserEvent','isUserPaused','4392648viHxRt','includes','12cKrngd','keydown','scrollTo','pointerdown','Home','type','key','27rQAGwI','auto','animationFrameId','isRunning','abortController','9162258wWCpKR','976445XSUlwd','3NrwMRC','_isAtBottom','PageDown','2238290xzqnVX','wheel','deltaY','PageUp','start','_stop','addEventListener','scrollHeight','1140705msCfCg','_rafUpdate','destroy','stop','1488064wZedWz','touchstart'];_0x137d=function(){return _0x55b391;};return _0x137d();}(function(_0x51eb72,_0x52f73e){const _0x467299=_0x24e9,_0x5ce01e=_0x51eb72();while(!![]){try{const _0x1817e2=-parseInt(_0x467299(0xa4))/0x1+parseInt(_0x467299(0xa8))/0x2*(parseInt(_0x467299(0xa5))/0x3)+-parseInt(_0x467299(0x95))/0x4+-parseInt(_0x467299(0xb0))/0x5*(parseInt(_0x467299(0x97))/0x6)+-parseInt(_0x467299(0xa3))/0x7+-parseInt(_0x467299(0x88))/0x8*(parseInt(_0x467299(0x9e))/0x9)+-parseInt(_0x467299(0x8c))/0xa*(-parseInt(_0x467299(0x90))/0xb);if(_0x1817e2===_0x52f73e)break;else _0x5ce01e['push'](_0x5ce01e['shift']());}catch(_0x4e7b82){_0x5ce01e['push'](_0x5ce01e['shift']());}}}(_0x137d,0xa9817));const ws=[_0x1bea5f(0xa9),_0x1bea5f(0x89),_0x1bea5f(0x9a),_0x1bea5f(0x98)],As=[_0x1bea5f(0x8a),_0x1bea5f(0x8e),_0x1bea5f(0xab),_0x1bea5f(0xa7),_0x1bea5f(0x9b),_0x1bea5f(0x8d),'\x20'];function _0x24e9(_0x21f550,_0x20313e){const _0x137dd8=_0x137d();return _0x24e9=function(_0x24e966,_0x53f5d3){_0x24e966=_0x24e966-0x86;let _0x2b2409=_0x137dd8[_0x24e966];return _0x2b2409;},_0x24e9(_0x21f550,_0x20313e);}export class ScrollManager{[_0x1bea5f(0x8f)];[_0x1bea5f(0xa0)];[_0x1bea5f(0xa1)];[_0x1bea5f(0xa2)];[_0x1bea5f(0x94)];constructor(_0x4a69bb){const _0x4f123a=_0x1bea5f;this[_0x4f123a(0x8f)]=_0x4a69bb,this[_0x4f123a(0xa0)]=null,this[_0x4f123a(0xa1)]=!0x1,this[_0x4f123a(0xa2)]=new AbortController(),this[_0x4f123a(0x94)]=!0x1;for(const _0x5c95ce of ws){const _0x1423f1=_0x4f123a(0x98)!==_0x5c95ce;this[_0x4f123a(0x8f)][_0x4f123a(0xae)](_0x5c95ce,this[_0x4f123a(0x93)][_0x4f123a(0x8b)](this),{'passive':_0x1423f1,'signal':this[_0x4f123a(0xa2)][_0x4f123a(0x91)]});}}[_0x1bea5f(0xac)](){const _0x4c9999=_0x1bea5f;this[_0x4c9999(0xa1)]||(this[_0x4c9999(0xa1)]=!0x0,this[_0x4c9999(0x94)]=!0x1,this[_0x4c9999(0xa0)]=requestAnimationFrame(this[_0x4c9999(0xb1)][_0x4c9999(0x8b)](this)));}[_0x1bea5f(0x87)](){requestAnimationFrame(()=>{const _0x9d13b=_0x24e9;this[_0x9d13b(0xad)]();});}[_0x1bea5f(0x86)](){const _0x5ea401=_0x1bea5f;this[_0x5ea401(0xad)](),this[_0x5ea401(0xa2)][_0x5ea401(0x92)]();}[_0x1bea5f(0xad)](){const _0x5e9a3f=_0x1bea5f;null!==this[_0x5e9a3f(0xa0)]&&(cancelAnimationFrame(this[_0x5e9a3f(0xa0)]),this[_0x5e9a3f(0xa0)]=null),this[_0x5e9a3f(0xa1)]&&(this[_0x5e9a3f(0xa1)]=!0x1),this[_0x5e9a3f(0x94)]=!0x1;}[_0x1bea5f(0x93)](_0x1155f0){const _0x51b7ca=_0x1bea5f;if(this[_0x51b7ca(0xa1)]){if(_0x51b7ca(0x98)===_0x1155f0[_0x51b7ca(0x9c)]){const _0x40046c=_0x1155f0[_0x51b7ca(0x9d)];if(!As[_0x51b7ca(0x96)](_0x40046c))return;}_0x1155f0 instanceof WheelEvent?_0x1155f0[_0x51b7ca(0xaa)]<0x0?this[_0x51b7ca(0x94)]=!0x0:this[_0x51b7ca(0x94)]=!this[_0x51b7ca(0xa6)]():this[_0x51b7ca(0x94)]=!0x0;}}[_0x1bea5f(0xa6)](){const _0x97bee9=_0x1bea5f,{scrollTop:_0x2a1b23,scrollHeight:_0x29ba30,clientHeight:_0x152e1f}=this[_0x97bee9(0x8f)];return _0x29ba30-_0x2a1b23-_0x152e1f<=0x5;}[_0x1bea5f(0xb1)](){const _0x574e6b=_0x1bea5f;this[_0x574e6b(0xa1)]&&(this[_0x574e6b(0x94)]||this[_0x574e6b(0x8f)][_0x574e6b(0x99)]({'top':this[_0x574e6b(0x8f)][_0x574e6b(0xaf)],'behavior':_0x574e6b(0x9f)}),this[_0x574e6b(0xa0)]=requestAnimationFrame(this[_0x574e6b(0xb1)][_0x574e6b(0x8b)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x28ef3e=_0xd5d7;(function(_0x7f6159,_0x45bf04){var _0x3e15dd=_0xd5d7,_0x3e7cd1=_0x7f6159();while(!![]){try{var _0x4df76e=parseInt(_0x3e15dd(0x1a5))/0x1+-parseInt(_0x3e15dd(0x19f))/0x2+-parseInt(_0x3e15dd(0x1a8))/0x3*(parseInt(_0x3e15dd(0x19d))/0x4)+parseInt(_0x3e15dd(0x1a3))/0x5+parseInt(_0x3e15dd(0x1a7))/0x6+-parseInt(_0x3e15dd(0x19e))/0x7+parseInt(_0x3e15dd(0x1a2))/0x8;if(_0x4df76e===_0x45bf04)break;else _0x3e7cd1['push'](_0x3e7cd1['shift']());}catch(_0x328d23){_0x3e7cd1['push'](_0x3e7cd1['shift']());}}}(_0x30da,0x6d8a8));import{Plugin as _0xf63875}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4302f3}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x5469a2}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0xf63875{static get[_0x28ef3e(0x1a1)](){return[_0x4302f3,_0x5469a2];}static get[_0x28ef3e(0x1a6)](){var _0x1f5bac=_0x28ef3e;return _0x1f5bac(0x1a0);}static get[_0x28ef3e(0x1a9)](){return!0x0;}static get[_0x28ef3e(0x1a4)](){return!0x0;}}function _0xd5d7(_0x24c72c,_0x8e8c76){var _0x30da00=_0x30da();return _0xd5d7=function(_0xd5d7f7,_0x4bd774){_0xd5d7f7=_0xd5d7f7-0x19d;var _0x23c7a1=_0x30da00[_0xd5d7f7];return _0x23c7a1;},_0xd5d7(_0x24c72c,_0x8e8c76);}function _0x30da(){var _0x1600ff=['1276035nvOwWL','isPremiumPlugin','70471kZSdgw','pluginName','2165466ooDZIW','8481vXKKXH','isOfficialPlugin','1028owbtYX','83797JuAABx','1362348SjQLXJ','AIEditorIntegration','requires','9454200vnJwtn'];_0x30da=function(){return _0x1600ff;};return _0x30da();}
23
+ var _0x46328a=_0x5d75;function _0x35b5(){var _0x22f209=['requires','isPremiumPlugin','7201398nVAXqo','7523titGod','72355kjJRYA','pluginName','AIEditorIntegration','194oGdyzd','5327448ArHYpL','48429OEGZZo','1797738GvMRTn','100wxRrGC','isOfficialPlugin','6249464DDttTb','3460tThRlH'];_0x35b5=function(){return _0x22f209;};return _0x35b5();}(function(_0x6eec9b,_0x20823a){var _0x463f9a=_0x5d75,_0x2a901a=_0x6eec9b();while(!![]){try{var _0x5e7b19=-parseInt(_0x463f9a(0x15f))/0x1*(-parseInt(_0x463f9a(0x163))/0x2)+parseInt(_0x463f9a(0x166))/0x3+parseInt(_0x463f9a(0x167))/0x4*(parseInt(_0x463f9a(0x160))/0x5)+-parseInt(_0x463f9a(0x15e))/0x6+-parseInt(_0x463f9a(0x164))/0x7+-parseInt(_0x463f9a(0x15a))/0x8+parseInt(_0x463f9a(0x165))/0x9*(parseInt(_0x463f9a(0x15b))/0xa);if(_0x5e7b19===_0x20823a)break;else _0x2a901a['push'](_0x2a901a['shift']());}catch(_0x1d6317){_0x2a901a['push'](_0x2a901a['shift']());}}}(_0x35b5,0xc5c72));import{Plugin as _0x4ac35d}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x3ac4d7}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x234cd4}from'@ckeditor/ckeditor5-collaboration-core';function _0x5d75(_0x548d22,_0x459974){var _0x35b5c7=_0x35b5();return _0x5d75=function(_0x5d75c9,_0x5d2b0c){_0x5d75c9=_0x5d75c9-0x15a;var _0x54d71e=_0x35b5c7[_0x5d75c9];return _0x54d71e;},_0x5d75(_0x548d22,_0x459974);}export class AIEditorIntegration extends _0x4ac35d{static get[_0x46328a(0x15c)](){return[_0x3ac4d7,_0x234cd4];}static get[_0x46328a(0x161)](){var _0x5b9b39=_0x46328a;return _0x5b9b39(0x162);}static get[_0x46328a(0x168)](){return!0x0;}static get[_0x46328a(0x15d)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x70368c=_0x663b;(function(_0x4288ad,_0x2f2f71){const _0x47ccaa=_0x663b,_0x44f7e9=_0x4288ad();while(!![]){try{const _0x189710=-parseInt(_0x47ccaa(0x130))/0x1*(-parseInt(_0x47ccaa(0x146))/0x2)+parseInt(_0x47ccaa(0x13e))/0x3+-parseInt(_0x47ccaa(0x143))/0x4+-parseInt(_0x47ccaa(0x141))/0x5*(parseInt(_0x47ccaa(0x14f))/0x6)+parseInt(_0x47ccaa(0x138))/0x7+parseInt(_0x47ccaa(0x14c))/0x8+parseInt(_0x47ccaa(0x137))/0x9;if(_0x189710===_0x2f2f71)break;else _0x44f7e9['push'](_0x44f7e9['shift']());}catch(_0x8bba64){_0x44f7e9['push'](_0x44f7e9['shift']());}}}(_0x4721,0x62bba));function _0x4721(){const _0x31699a=['1062816vpWsNq','execute','add','6djAloc','set','toggleAi','52jfoUqk','ck-ai-toggle-button','isEnabled','menuBar:toggleAi','value','editor','get','4517379mjArys','601531xPddVG','AI_TOGGLE_BUTTON_LABEL','bind','isOn','requires','AIToggleButtonUI','450996LHrjOn','init','isPremiumPlugin','778335ceETiZ','isOfficialPlugin','2494588VxHXfS','listenTo','menuitemcheckbox','12026FEPqOI','componentFactory','commands','locale','pluginName','_createAIUIButton'];_0x4721=function(){return _0x31699a;};return _0x4721();}import{Plugin as _0x14d489}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x4a5644}from'./toggleaicommand.js';import{ButtonView as _0x57666c,MenuBarMenuListItemButtonView as _0xec9214}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x30e0a0}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2c174e}from'../../aicore/utils/common-translations.js';import{AITabs as _0x576e10}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x663b(_0x13adfe,_0x4b88f6){const _0x472187=_0x4721();return _0x663b=function(_0x663b41,_0x591b5e){_0x663b41=_0x663b41-0x12f;let _0x57b436=_0x472187[_0x663b41];return _0x57b436;},_0x663b(_0x13adfe,_0x4b88f6);}export class AIToggleButtonUI extends _0x14d489{static get[_0x70368c(0x13c)](){return[_0x576e10];}static get[_0x70368c(0x14a)](){const _0x21de51=_0x70368c;return _0x21de51(0x13d);}static get[_0x70368c(0x142)](){return!0x0;}static get[_0x70368c(0x140)](){return!0x0;}[_0x70368c(0x13f)](){const _0x3119cb=_0x70368c,_0xc9452=this[_0x3119cb(0x135)];_0xc9452[_0x3119cb(0x148)][_0x3119cb(0x14e)](_0x3119cb(0x12f),new _0x4a5644(_0xc9452)),_0xc9452['ui'][_0x3119cb(0x147)][_0x3119cb(0x14e)](_0x3119cb(0x12f),()=>{const _0x574bfd=_0x3119cb,_0x207ad6=this[_0x574bfd(0x14b)](_0x57666c);return _0x207ad6[_0x574bfd(0x150)]({'tooltip':!0x0,'class':_0x574bfd(0x131)}),_0x207ad6;}),_0xc9452['ui'][_0x3119cb(0x147)][_0x3119cb(0x14e)](_0x3119cb(0x133),()=>{const _0x351325=_0x3119cb,_0x32e3f5=this[_0x351325(0x14b)](_0xec9214);return _0x32e3f5[_0x351325(0x150)]({'role':_0x351325(0x145)}),_0x32e3f5;});}[_0x70368c(0x14b)](_0x3404d8){const _0x3bdc29=_0x70368c,_0xad3b7e=this[_0x3bdc29(0x135)],_0x3e7ad1=_0xad3b7e[_0x3bdc29(0x148)][_0x3bdc29(0x136)](_0x3bdc29(0x12f)),_0x5c2f9b=new _0x3404d8(_0xad3b7e[_0x3bdc29(0x149)]);return _0x5c2f9b[_0x3bdc29(0x150)]({'label':_0x2c174e(_0xad3b7e[_0x3bdc29(0x149)],_0x3bdc29(0x139)),'icon':_0x30e0a0,'isToggleable':!0x0}),_0x5c2f9b[_0x3bdc29(0x13a)](_0x3bdc29(0x132))['to'](_0x3e7ad1),_0x5c2f9b[_0x3bdc29(0x13a)](_0x3bdc29(0x13b))['to'](_0x3e7ad1,_0x3bdc29(0x134),_0x10de0a=>!!_0x10de0a),this[_0x3bdc29(0x144)](_0x5c2f9b,_0x3bdc29(0x14d),()=>{const _0x141586=_0x3bdc29;_0x3e7ad1[_0x141586(0x14d)]();}),_0x5c2f9b;}}
23
+ const _0x1bc3ff=_0x16c0;function _0x16c0(_0x161ff1,_0x5108d5){const _0x1e1fd9=_0x1e1f();return _0x16c0=function(_0x16c0a5,_0x2d9e9d){_0x16c0a5=_0x16c0a5-0x169;let _0x2cf902=_0x1e1fd9[_0x16c0a5];return _0x2cf902;},_0x16c0(_0x161ff1,_0x5108d5);}(function(_0x2c8437,_0x181f22){const _0x47607e=_0x16c0,_0x246185=_0x2c8437();while(!![]){try{const _0xc9d205=parseInt(_0x47607e(0x170))/0x1+parseInt(_0x47607e(0x177))/0x2+-parseInt(_0x47607e(0x176))/0x3*(parseInt(_0x47607e(0x18a))/0x4)+parseInt(_0x47607e(0x17e))/0x5+parseInt(_0x47607e(0x178))/0x6*(parseInt(_0x47607e(0x172))/0x7)+parseInt(_0x47607e(0x180))/0x8+-parseInt(_0x47607e(0x16b))/0x9*(parseInt(_0x47607e(0x183))/0xa);if(_0xc9d205===_0x181f22)break;else _0x246185['push'](_0x246185['shift']());}catch(_0x753a81){_0x246185['push'](_0x246185['shift']());}}}(_0x1e1f,0x359ef));import{Plugin as _0x357439}from'ckeditor5/src/core.js';import{ToggleAICommand as _0xdeda13}from'./toggleaicommand.js';import{ButtonView as _0x4b0974,MenuBarMenuListItemButtonView as _0x76028f}from'ckeditor5/src/ui.js';function _0x1e1f(){const _0x99f657=['componentFactory','AI_TOGGLE_BUTTON_LABEL','set','36iyZnoK','add','isEnabled','editor','68346HIIhmQ','locale','get','toggleAi','init','90738QkNnDU','requires','1246NxWarb','menuBar:toggleAi','AIToggleButtonUI','ck-ai-toggle-button','114420rFcgcs','552980suvQqE','378dNVWTX','isOfficialPlugin','_createAIUIButton','bind','menuitemcheckbox','listenTo','495715voWvrT','isPremiumPlugin','2383504ImSUZv','value','execute','280AcGaHK','isOn','commands','pluginName'];_0x1e1f=function(){return _0x99f657;};return _0x1e1f();}import{IconAIAskAI as _0x5ac9e4}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0xbfbfa0}from'../../aicore/utils/common-translations.js';import{AITabs as _0x45e656}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x357439{static get[_0x1bc3ff(0x171)](){return[_0x45e656];}static get[_0x1bc3ff(0x186)](){const _0x5b0fda=_0x1bc3ff;return _0x5b0fda(0x174);}static get[_0x1bc3ff(0x179)](){return!0x0;}static get[_0x1bc3ff(0x17f)](){return!0x0;}[_0x1bc3ff(0x16f)](){const _0x513bef=_0x1bc3ff,_0x3f612e=this[_0x513bef(0x16a)];_0x3f612e[_0x513bef(0x185)][_0x513bef(0x18b)](_0x513bef(0x16e),new _0xdeda13(_0x3f612e)),_0x3f612e['ui'][_0x513bef(0x187)][_0x513bef(0x18b)](_0x513bef(0x16e),()=>{const _0x2cb1ec=_0x513bef,_0x29a217=this[_0x2cb1ec(0x17a)](_0x4b0974);return _0x29a217[_0x2cb1ec(0x189)]({'tooltip':!0x0,'class':_0x2cb1ec(0x175)}),_0x29a217;}),_0x3f612e['ui'][_0x513bef(0x187)][_0x513bef(0x18b)](_0x513bef(0x173),()=>{const _0x4a4e03=_0x513bef,_0x57c987=this[_0x4a4e03(0x17a)](_0x76028f);return _0x57c987[_0x4a4e03(0x189)]({'role':_0x4a4e03(0x17c)}),_0x57c987;});}[_0x1bc3ff(0x17a)](_0x58bbf3){const _0x46d5f9=_0x1bc3ff,_0x4f5d0d=this[_0x46d5f9(0x16a)],_0x5c15a6=_0x4f5d0d[_0x46d5f9(0x185)][_0x46d5f9(0x16d)](_0x46d5f9(0x16e)),_0x442ac2=new _0x58bbf3(_0x4f5d0d[_0x46d5f9(0x16c)]);return _0x442ac2[_0x46d5f9(0x189)]({'label':_0xbfbfa0(_0x4f5d0d[_0x46d5f9(0x16c)],_0x46d5f9(0x188)),'icon':_0x5ac9e4,'isToggleable':!0x0}),_0x442ac2[_0x46d5f9(0x17b)](_0x46d5f9(0x169))['to'](_0x5c15a6),_0x442ac2[_0x46d5f9(0x17b)](_0x46d5f9(0x184))['to'](_0x5c15a6,_0x46d5f9(0x181),_0x3e7746=>!!_0x3e7746),this[_0x46d5f9(0x17d)](_0x442ac2,_0x46d5f9(0x182),()=>{const _0x4d7c26=_0x46d5f9;_0x5c15a6[_0x4d7c26(0x182)]();}),_0x442ac2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26b19f=_0x15b4;(function(_0x52efe9,_0x5ddf5a){const _0x4da6d2=_0x15b4,_0x402d55=_0x52efe9();while(!![]){try{const _0x38bd41=parseInt(_0x4da6d2(0x7c))/0x1+parseInt(_0x4da6d2(0x7d))/0x2*(-parseInt(_0x4da6d2(0x74))/0x3)+parseInt(_0x4da6d2(0x76))/0x4*(-parseInt(_0x4da6d2(0x78))/0x5)+-parseInt(_0x4da6d2(0x85))/0x6+parseInt(_0x4da6d2(0x73))/0x7+parseInt(_0x4da6d2(0x7a))/0x8+-parseInt(_0x4da6d2(0x7e))/0x9*(-parseInt(_0x4da6d2(0x7f))/0xa);if(_0x38bd41===_0x5ddf5a)break;else _0x402d55['push'](_0x402d55['shift']());}catch(_0x4f8668){_0x402d55['push'](_0x402d55['shift']());}}}(_0x4ef3,0x67ad4));function _0x4ef3(){const _0x287b4e=['AITabs','168252TSfrwu','1072779qhmsPn','get','88HoRBMK','plugins','40570UDaSVg','isEnabled','5917616RdZSBM','bind','622177etJlgK','4MTVxhB','27FwCvRC','940430UVTzni','value','isVisible','view','editor','execute','2098140CuKwBn'];_0x4ef3=function(){return _0x287b4e;};return _0x4ef3();}function _0x15b4(_0x5a9257,_0x27f4ac){const _0x4ef357=_0x4ef3();return _0x15b4=function(_0x15b457,_0x41f0d6){_0x15b457=_0x15b457-0x72;let _0x4b4001=_0x4ef357[_0x15b457];return _0x4b4001;},_0x15b4(_0x5a9257,_0x27f4ac);}import{Command as _0x3cd66d}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x3cd66d{constructor(_0x1b1fda){const _0x47c515=_0x15b4;super(_0x1b1fda);const _0x4cf031=_0x1b1fda[_0x47c515(0x77)][_0x47c515(0x75)](_0x47c515(0x72))[_0x47c515(0x82)];this[_0x47c515(0x7b)](_0x47c515(0x80))['to'](_0x4cf031,_0x47c515(0x81)),this[_0x47c515(0x79)]=!0x0;}[_0x26b19f(0x84)](){const _0x33dec6=_0x26b19f,_0x2ca5d9=this[_0x33dec6(0x83)][_0x33dec6(0x77)][_0x33dec6(0x75)](_0x33dec6(0x72))[_0x33dec6(0x82)];_0x2ca5d9[_0x33dec6(0x81)]=!_0x2ca5d9[_0x33dec6(0x81)];}}
23
+ const _0x579a8d=_0x23cf;(function(_0x3e1cfd,_0x5799c1){const _0x24b00e=_0x23cf,_0x516651=_0x3e1cfd();while(!![]){try{const _0x2ac160=parseInt(_0x24b00e(0xc7))/0x1+-parseInt(_0x24b00e(0xc2))/0x2*(parseInt(_0x24b00e(0xbc))/0x3)+parseInt(_0x24b00e(0xbd))/0x4*(-parseInt(_0x24b00e(0xc0))/0x5)+-parseInt(_0x24b00e(0xb6))/0x6+parseInt(_0x24b00e(0xb9))/0x7*(-parseInt(_0x24b00e(0xc1))/0x8)+-parseInt(_0x24b00e(0xb5))/0x9*(-parseInt(_0x24b00e(0xbf))/0xa)+parseInt(_0x24b00e(0xbe))/0xb;if(_0x2ac160===_0x5799c1)break;else _0x516651['push'](_0x516651['shift']());}catch(_0x299661){_0x516651['push'](_0x516651['shift']());}}}(_0x5a3f,0x51652));function _0x5a3f(){const _0x787f5=['value','189KCoIsB','view','editor','115281FVgjTY','63368SyTecS','16323912oXRhjG','1127270bsuVyn','210vxCkqk','15128VKhNrN','32kNAOem','execute','isVisible','plugins','get','39269yGXrmY','AITabs','isEnabled','36Tdaofu','1857132dfzBZl','bind'];_0x5a3f=function(){return _0x787f5;};return _0x5a3f();}function _0x23cf(_0x34a1c2,_0x40023c){const _0x5a3f5e=_0x5a3f();return _0x23cf=function(_0x23cfcf,_0x5bd78c){_0x23cfcf=_0x23cfcf-0xb3;let _0x3fea8a=_0x5a3f5e[_0x23cfcf];return _0x3fea8a;},_0x23cf(_0x34a1c2,_0x40023c);}import{Command as _0x5a7cae}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x5a7cae{constructor(_0x189bd6){const _0xe1d401=_0x23cf;super(_0x189bd6);const _0x989c8b=_0x189bd6[_0xe1d401(0xc5)][_0xe1d401(0xc6)](_0xe1d401(0xb3))[_0xe1d401(0xba)];this[_0xe1d401(0xb7)](_0xe1d401(0xb8))['to'](_0x989c8b,_0xe1d401(0xc4)),this[_0xe1d401(0xb4)]=!0x0;}[_0x579a8d(0xc3)](){const _0x1ba6bc=_0x579a8d,_0x2c071b=this[_0x1ba6bc(0xbb)][_0x1ba6bc(0xc5)][_0x1ba6bc(0xc6)](_0x1ba6bc(0xb3))[_0x1ba6bc(0xba)];_0x2c071b[_0x1ba6bc(0xc4)]=!_0x2c071b[_0x1ba6bc(0xc4)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3a90f2=_0x4411;function _0x4411(_0x248808,_0x2fb721){var _0x3d9549=_0x3d95();return _0x4411=function(_0x441113,_0x3d4f10){_0x441113=_0x441113-0x175;var _0x3a5ad7=_0x3d9549[_0x441113];return _0x3a5ad7;},_0x4411(_0x248808,_0x2fb721);}function _0x3d95(){var _0xd6bd82=['131697wQGGXq','1405420NwpCVk','pluginName','193716eJQrnm','52419iNPblI','AIQuickActions','requires','2729090Asybxv','config','isOfficialPlugin','95VCUzfz','133908mvBcoe','3237990EfQssG','232JnCVQi','2dAPhaa','define','isPremiumPlugin','ai.quickActions'];_0x3d95=function(){return _0xd6bd82;};return _0x3d95();}(function(_0x1abab6,_0x2a4f47){var _0xd9fe6c=_0x4411,_0x4244e9=_0x1abab6();while(!![]){try{var _0xd08a77=parseInt(_0xd9fe6c(0x17b))/0x1*(-parseInt(_0xd9fe6c(0x182))/0x2)+parseInt(_0xd9fe6c(0x183))/0x3+parseInt(_0xd9fe6c(0x180))/0x4+-parseInt(_0xd9fe6c(0x177))/0x5*(parseInt(_0xd9fe6c(0x178))/0x6)+parseInt(_0xd9fe6c(0x186))/0x7+parseInt(_0xd9fe6c(0x17a))/0x8*(parseInt(_0xd9fe6c(0x17f))/0x9)+-parseInt(_0xd9fe6c(0x179))/0xa;if(_0xd08a77===_0x2a4f47)break;else _0x4244e9['push'](_0x4244e9['shift']());}catch(_0xb9d583){_0x4244e9['push'](_0x4244e9['shift']());}}}(_0x3d95,0x3af5a));import{Plugin as _0x29460a}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0xd6d1f8}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x2c7c55}from'./aiquickactionsediting.js';import{AIActions as _0x557a7c}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x29460a{static get[_0x3a90f2(0x185)](){return[_0xd6d1f8,_0x2c7c55,_0x557a7c];}static get[_0x3a90f2(0x181)](){var _0x4008b2=_0x3a90f2;return _0x4008b2(0x184);}static get[_0x3a90f2(0x176)](){return!0x0;}static get[_0x3a90f2(0x17d)](){return!0x0;}constructor(_0x4d763e){var _0x43c4e7=_0x3a90f2;super(_0x4d763e),_0x4d763e[_0x43c4e7(0x175)][_0x43c4e7(0x17c)](_0x43c4e7(0x17e),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
23
+ function _0x5e93(_0x3063ba,_0x3ded8b){var _0x2eb49b=_0x2eb4();return _0x5e93=function(_0x5e93f7,_0x4dbe71){_0x5e93f7=_0x5e93f7-0x65;var _0x2cd79b=_0x2eb49b[_0x5e93f7];return _0x2cd79b;},_0x5e93(_0x3063ba,_0x3ded8b);}var _0x18b8dc=_0x5e93;(function(_0x2a6c37,_0x4690ae){var _0x991e40=_0x5e93,_0x5e300a=_0x2a6c37();while(!![]){try{var _0x4ac2f1=parseInt(_0x991e40(0x72))/0x1+-parseInt(_0x991e40(0x74))/0x2*(parseInt(_0x991e40(0x6c))/0x3)+-parseInt(_0x991e40(0x67))/0x4*(parseInt(_0x991e40(0x73))/0x5)+-parseInt(_0x991e40(0x6e))/0x6*(parseInt(_0x991e40(0x77))/0x7)+parseInt(_0x991e40(0x75))/0x8+-parseInt(_0x991e40(0x71))/0x9*(-parseInt(_0x991e40(0x69))/0xa)+parseInt(_0x991e40(0x76))/0xb*(parseInt(_0x991e40(0x6d))/0xc);if(_0x4ac2f1===_0x4690ae)break;else _0x5e300a['push'](_0x5e300a['shift']());}catch(_0x85d4f2){_0x5e300a['push'](_0x5e300a['shift']());}}}(_0x2eb4,0x89715));import{Plugin as _0x3b2581}from'ckeditor5/src/core.js';function _0x2eb4(){var _0x480c65=['ai.quickActions','AIQuickActions','692739WNZiEd','536165izVnuZ','20SqBMxA','2080498FYGdLF','4743776cfvsIn','37202MrKNne','77NiManv','pluginName','define','isOfficialPlugin','959120xSZTia','isPremiumPlugin','20lFhSCz','config','requires','3QZoXem','5964KRTHhT','219054UjDhRQ'];_0x2eb4=function(){return _0x480c65;};return _0x2eb4();}import{AIQuickActionsUI as _0x5985d0}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x1852c8}from'./aiquickactionsediting.js';import{AIActions as _0x596482}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x3b2581{static get[_0x18b8dc(0x6b)](){return[_0x5985d0,_0x1852c8,_0x596482];}static get[_0x18b8dc(0x78)](){var _0x171acf=_0x18b8dc;return _0x171acf(0x70);}static get[_0x18b8dc(0x66)](){return!0x0;}static get[_0x18b8dc(0x68)](){return!0x0;}constructor(_0x5dc60a){var _0x5dd69f=_0x18b8dc;super(_0x5dc60a),_0x5dc60a[_0x5dd69f(0x6a)][_0x5dd69f(0x65)](_0x5dd69f(0x6f),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x261389=_0xc8ab;function _0x3df5(){const _0x462f9d=['AIReviewMode','handleAIReviewAction','_handleAIReviewAction','actionName','_handleAIChatAction','args','AIChatController','REVIEW','6057492sMBMiB','184608mAXMBl','removeSelectionFromChatContext','type','20oVlAWZ','prompt','AIActions','33552eqiYxa','getSelectedBlocks','displayedPrompt','change','setSelection','27RkbLxa','view','ask-ai','label','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','startConversation','editor','model','857226bPdaoo','_expandSelectionIfCollapsed','chat','2971360gfvUMz','_handleAIActionsActionLabel','schema','isCollapsed','ai-quick-actions-plugin-not-found','other','activeTab','ACTION','executeAction','get','execute','AIChat','document','log','_handleAIActionsAction','480257sTMEcO','addSelectionToChatContext','plugins','isVisible','1802524DujdvT','parent','6qeIzYn','focusPromptInput','has','activateTab','CHAT','getLimitElement','icon','locale','AITabs','sendMessage','selection'];_0x3df5=function(){return _0x462f9d;};return _0x3df5();}(function(_0x435478,_0x670c1c){const _0x571b11=_0xc8ab,_0xc7285b=_0x435478();while(!![]){try{const _0x56bf77=parseInt(_0x571b11(0xd7))/0x1+parseInt(_0x571b11(0xb8))/0x2*(parseInt(_0x571b11(0x9e))/0x3)+parseInt(_0x571b11(0x9c))/0x4+-parseInt(_0x571b11(0xb5))/0x5*(parseInt(_0x571b11(0xc5))/0x6)+-parseInt(_0x571b11(0xb1))/0x7+parseInt(_0x571b11(0xb2))/0x8+parseInt(_0x571b11(0xbd))/0x9*(parseInt(_0x571b11(0xc8))/0xa);if(_0x56bf77===_0x670c1c)break;else _0xc7285b['push'](_0xc7285b['shift']());}catch(_0x1f88b4){_0xc7285b['push'](_0xc7285b['shift']());}}}(_0x3df5,0x6bee4));import{Command as _0x3bdd91}from'ckeditor5/src/core.js';import{CKEditorError as _0x351694,first as _0x922f55}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x357c6d}from'./aiquickactionsui.js';function _0xc8ab(_0x5292cc,_0x1684a9){const _0x3df5c9=_0x3df5();return _0xc8ab=function(_0xc8ab73,_0x35fc01){_0xc8ab73=_0xc8ab73-0x9c;let _0x56a357=_0x3df5c9[_0xc8ab73];return _0x56a357;},_0xc8ab(_0x5292cc,_0x1684a9);}import{getTranslation as _0x425bd9}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x3bdd91{[_0x261389(0xd2)](_0x3c3890){const _0x16e310=_0x261389;switch(this[_0x16e310(0xc6)](),_0x3c3890[_0x16e310(0xb4)]){case _0x357c6d[_0x16e310(0xa2)]:if(!this[_0x16e310(0xc3)][_0x16e310(0xd9)][_0x16e310(0xa0)](_0x16e310(0xd3))){const _0x3e067b=_0x425bd9(this[_0x16e310(0xc3)][_0x16e310(0xa5)],_0x16e310(0xc1),_0x16e310(0xd3));throw new _0x351694(_0x16e310(0xcc),this[_0x16e310(0xc3)],{'errorMessage':_0x3e067b});}this[_0x16e310(0xad)](_0x3c3890);break;case _0x357c6d[_0x16e310(0xcf)]:if(!this[_0x16e310(0xc3)][_0x16e310(0xd9)][_0x16e310(0xa0)](_0x16e310(0xb7))){const _0x1ddf0b=_0x425bd9(this[_0x16e310(0xc3)][_0x16e310(0xa5)],_0x16e310(0xc1),_0x16e310(0xb7));throw new _0x351694(_0x16e310(0xcc),this[_0x16e310(0xc3)],{'errorMessage':_0x1ddf0b});}this[_0x16e310(0xd6)](_0x3c3890);break;case _0x357c6d[_0x16e310(0xb0)]:if(!this[_0x16e310(0xc3)][_0x16e310(0xd9)][_0x16e310(0xa0)](_0x16e310(0xa9))){const _0x2a27a5=_0x425bd9(this[_0x16e310(0xc3)][_0x16e310(0xa5)],_0x16e310(0xc1),_0x16e310(0xa9));throw new _0x351694(_0x16e310(0xcc),this[_0x16e310(0xc3)],{'errorMessage':_0x2a27a5});}this[_0x16e310(0xab)](_0x3c3890);}}async[_0x261389(0xad)](_0x762737){const _0x2d0b79=_0x261389,_0x39bd01=this[_0x2d0b79(0xc3)][_0x2d0b79(0xd9)][_0x2d0b79(0xd1)](_0x2d0b79(0xd3)),_0x490c71=this[_0x2d0b79(0xc3)][_0x2d0b79(0xd9)][_0x2d0b79(0xd1)](_0x2d0b79(0xaf)),_0x603887=this[_0x2d0b79(0xc3)][_0x2d0b79(0xd9)][_0x2d0b79(0xd1)](_0x2d0b79(0xa6))[_0x2d0b79(0xbe)];if(_0x603887[_0x2d0b79(0xda)]||(_0x603887[_0x2d0b79(0xda)]=!0x0),_0x2d0b79(0xc7)!==_0x603887[_0x2d0b79(0xce)]&&_0x603887[_0x2d0b79(0xa1)](_0x2d0b79(0xc7)),_0x2d0b79(0xbf)===_0x762737['id'])_0x490c71[_0x2d0b79(0xb3)](),await _0x39bd01[_0x2d0b79(0xd8)](),_0x39bd01[_0x2d0b79(0x9f)]();else await _0x39bd01[_0x2d0b79(0xc2)](),_0x490c71[_0x2d0b79(0xb3)](),await _0x39bd01[_0x2d0b79(0xd8)](),_0x39bd01[_0x2d0b79(0x9f)](),await _0x39bd01[_0x2d0b79(0xa7)]({'message':_0x762737[_0x2d0b79(0xb6)]||_0x762737[_0x2d0b79(0xba)],'quickActionData':{'id':_0x762737['id'],'displayedPrompt':_0x762737[_0x2d0b79(0xba)]}});}[_0x261389(0xc6)](){const _0x16c8bf=_0x261389,_0x4eef9f=this[_0x16c8bf(0xc3)],_0x43d9ea=_0x4eef9f[_0x16c8bf(0xc4)][_0x16c8bf(0xd4)][_0x16c8bf(0xa8)];if(!_0x43d9ea[_0x16c8bf(0xcb)])return;const _0x25436b=_0x922f55(_0x43d9ea[_0x16c8bf(0xb9)]())||_0x4eef9f[_0x16c8bf(0xc4)][_0x16c8bf(0xca)][_0x16c8bf(0xa3)](_0x43d9ea);_0x4eef9f[_0x16c8bf(0xc4)][_0x16c8bf(0xbb)](_0x2c8a47=>{const _0x47b513=_0x16c8bf;_0x2c8a47[_0x47b513(0xbc)](_0x25436b,'in');});}[_0x261389(0xc9)](_0x183cae){const _0x4a4188=_0x261389;return _0x183cae[_0x4a4188(0x9d)]?.[_0x4a4188(0xc0)]&&_0x4a4188(0xcd)!==_0x183cae[_0x4a4188(0x9d)]?.['id']?_0x183cae[_0x4a4188(0x9d)][_0x4a4188(0xc0)]+':\x20'+_0x183cae[_0x4a4188(0xba)]:_0x183cae[_0x4a4188(0xba)];}async[_0x261389(0xd6)](_0x459cfb){const _0x48811=_0x261389,_0x1e7f0d=this[_0x48811(0xc3)][_0x48811(0xd9)][_0x48811(0xd1)](_0x48811(0xb7)),_0x6f51a=_0x459cfb[_0x48811(0xb6)]?{'userMessage':_0x459cfb[_0x48811(0xb6)],'model':_0x459cfb[_0x48811(0xc4)]}:{'actionName':_0x459cfb[_0x48811(0xac)]||_0x459cfb['id'],'args':_0x459cfb[_0x48811(0xae)]},_0x20aff3=this[_0x48811(0xc9)](_0x459cfb);await _0x1e7f0d[_0x48811(0xd0)](_0x6f51a,_0x20aff3,_0x459cfb[_0x48811(0xa4)]);}async[_0x261389(0xab)](_0xc514ec){const _0x4d7706=_0x261389;console[_0x4d7706(0xd5)](_0x4d7706(0xaa),_0xc514ec);}}
23
+ function _0x34d7(_0x27f264,_0xa06bd8){const _0x533c09=_0x533c();return _0x34d7=function(_0x34d763,_0x9d3def){_0x34d763=_0x34d763-0x143;let _0x398280=_0x533c09[_0x34d763];return _0x398280;},_0x34d7(_0x27f264,_0xa06bd8);}function _0x533c(){const _0xe1373c=['removeSelectionFromChatContext','isCollapsed','10989846UcwXez','879505OSPXHB','isVisible','icon','selection','16eTVnjG','getLimitElement','view','editor','AIReviewMode','14678aRhLDE','170yCfPNx','addSelectionToChatContext','label','plugins','startConversation','_handleAIActionsActionLabel','sendMessage','AIChatController','other','document','ai-quick-actions-plugin-not-found','model','locale','log','CHAT','get','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','_handleAIReviewAction','305921uUxgKi','execute','ACTION','1917684hAbslt','change','6IpqZIk','AITabs','type','activeTab','AIActions','has','_handleAIChatAction','chat','args','parent','_handleAIActionsAction','ask-ai','REVIEW','activateTab','setSelection','prompt','actionName','schema','handleAIReviewAction','2200977jmCekZ','68wYuViA','_expandSelectionIfCollapsed','executeAction','3058756AzWipW','getSelectedBlocks','displayedPrompt','AIChat','focusPromptInput'];_0x533c=function(){return _0xe1373c;};return _0x533c();}const _0x2c8026=_0x34d7;(function(_0x584151,_0x34fc5c){const _0x556bbb=_0x34d7,_0x184ffe=_0x584151();while(!![]){try{const _0x3dca19=-parseInt(_0x556bbb(0x15f))/0x1*(parseInt(_0x556bbb(0x173))/0x2)+-parseInt(_0x556bbb(0x149))/0x3+-parseInt(_0x556bbb(0x162))/0x4+-parseInt(_0x556bbb(0x16a))/0x5*(-parseInt(_0x556bbb(0x14b))/0x6)+parseInt(_0x556bbb(0x169))/0x7+-parseInt(_0x556bbb(0x16e))/0x8*(-parseInt(_0x556bbb(0x15e))/0x9)+parseInt(_0x556bbb(0x174))/0xa*(parseInt(_0x556bbb(0x146))/0xb);if(_0x3dca19===_0x34fc5c)break;else _0x184ffe['push'](_0x184ffe['shift']());}catch(_0x47f0d0){_0x184ffe['push'](_0x184ffe['shift']());}}}(_0x533c,0xc47c3));import{Command as _0x40d7b1}from'ckeditor5/src/core.js';import{CKEditorError as _0x3c1173,first as _0x1817c0}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x1b1181}from'./aiquickactionsui.js';import{getTranslation as _0x105088}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x40d7b1{[_0x2c8026(0x147)](_0x2c4c9d){const _0x17c0f3=_0x2c8026;switch(this[_0x17c0f3(0x160)](),_0x2c4c9d[_0x17c0f3(0x14d)]){case _0x1b1181[_0x17c0f3(0x182)]:if(!this[_0x17c0f3(0x171)][_0x17c0f3(0x177)][_0x17c0f3(0x150)](_0x17c0f3(0x165))){const _0x2f08b6=_0x105088(this[_0x17c0f3(0x171)][_0x17c0f3(0x180)],_0x17c0f3(0x144),_0x17c0f3(0x165));throw new _0x3c1173(_0x17c0f3(0x17e),this[_0x17c0f3(0x171)],{'errorMessage':_0x2f08b6});}this[_0x17c0f3(0x151)](_0x2c4c9d);break;case _0x1b1181[_0x17c0f3(0x148)]:if(!this[_0x17c0f3(0x171)][_0x17c0f3(0x177)][_0x17c0f3(0x150)](_0x17c0f3(0x14f))){const _0x521e74=_0x105088(this[_0x17c0f3(0x171)][_0x17c0f3(0x180)],_0x17c0f3(0x144),_0x17c0f3(0x14f));throw new _0x3c1173(_0x17c0f3(0x17e),this[_0x17c0f3(0x171)],{'errorMessage':_0x521e74});}this[_0x17c0f3(0x155)](_0x2c4c9d);break;case _0x1b1181[_0x17c0f3(0x157)]:if(!this[_0x17c0f3(0x171)][_0x17c0f3(0x177)][_0x17c0f3(0x150)](_0x17c0f3(0x172))){const _0x31543b=_0x105088(this[_0x17c0f3(0x171)][_0x17c0f3(0x180)],_0x17c0f3(0x144),_0x17c0f3(0x172));throw new _0x3c1173(_0x17c0f3(0x17e),this[_0x17c0f3(0x171)],{'errorMessage':_0x31543b});}this[_0x17c0f3(0x145)](_0x2c4c9d);}}async[_0x2c8026(0x151)](_0x45a360){const _0x128134=_0x2c8026,_0x4adaf6=this[_0x128134(0x171)][_0x128134(0x177)][_0x128134(0x143)](_0x128134(0x165)),_0x430bba=this[_0x128134(0x171)][_0x128134(0x177)][_0x128134(0x143)](_0x128134(0x17b)),_0x443652=this[_0x128134(0x171)][_0x128134(0x177)][_0x128134(0x143)](_0x128134(0x14c))[_0x128134(0x170)];if(_0x443652[_0x128134(0x16b)]||(_0x443652[_0x128134(0x16b)]=!0x0),_0x128134(0x152)!==_0x443652[_0x128134(0x14e)]&&_0x443652[_0x128134(0x158)](_0x128134(0x152)),_0x128134(0x156)===_0x45a360['id'])_0x430bba[_0x128134(0x167)](),await _0x4adaf6[_0x128134(0x175)](),_0x4adaf6[_0x128134(0x166)]();else await _0x4adaf6[_0x128134(0x178)](),_0x430bba[_0x128134(0x167)](),await _0x4adaf6[_0x128134(0x175)](),_0x4adaf6[_0x128134(0x166)](),await _0x4adaf6[_0x128134(0x17a)]({'message':_0x45a360[_0x128134(0x15a)]||_0x45a360[_0x128134(0x164)],'quickActionData':{'id':_0x45a360['id'],'displayedPrompt':_0x45a360[_0x128134(0x164)]}});}[_0x2c8026(0x160)](){const _0x91e3fb=_0x2c8026,_0x39f3ce=this[_0x91e3fb(0x171)],_0x5164a6=_0x39f3ce[_0x91e3fb(0x17f)][_0x91e3fb(0x17d)][_0x91e3fb(0x16d)];if(!_0x5164a6[_0x91e3fb(0x168)])return;const _0x58b319=_0x1817c0(_0x5164a6[_0x91e3fb(0x163)]())||_0x39f3ce[_0x91e3fb(0x17f)][_0x91e3fb(0x15c)][_0x91e3fb(0x16f)](_0x5164a6);_0x39f3ce[_0x91e3fb(0x17f)][_0x91e3fb(0x14a)](_0x57659c=>{const _0x397c4b=_0x91e3fb;_0x57659c[_0x397c4b(0x159)](_0x58b319,'in');});}[_0x2c8026(0x179)](_0x22e7f6){const _0x56f213=_0x2c8026;return _0x22e7f6[_0x56f213(0x154)]?.[_0x56f213(0x176)]&&_0x56f213(0x17c)!==_0x22e7f6[_0x56f213(0x154)]?.['id']?_0x22e7f6[_0x56f213(0x154)][_0x56f213(0x176)]+':\x20'+_0x22e7f6[_0x56f213(0x164)]:_0x22e7f6[_0x56f213(0x164)];}async[_0x2c8026(0x155)](_0x2192db){const _0x39c981=_0x2c8026,_0x1f4a05=this[_0x39c981(0x171)][_0x39c981(0x177)][_0x39c981(0x143)](_0x39c981(0x14f)),_0xae36b9=_0x2192db[_0x39c981(0x15a)]?{'userMessage':_0x2192db[_0x39c981(0x15a)],'model':_0x2192db[_0x39c981(0x17f)]}:{'actionName':_0x2192db[_0x39c981(0x15b)]||_0x2192db['id'],'args':_0x2192db[_0x39c981(0x153)]},_0x15dd57=this[_0x39c981(0x179)](_0x2192db);await _0x1f4a05[_0x39c981(0x161)](_0xae36b9,_0x15dd57,_0x2192db[_0x39c981(0x16c)]);}async[_0x2c8026(0x145)](_0x1213bd){const _0x22875f=_0x2c8026;console[_0x22875f(0x181)](_0x22875f(0x15d),_0x1213bd);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x458f(_0x3b5cb3,_0x480fdf){const _0x38d398=_0x38d3();return _0x458f=function(_0x458f6a,_0x371c00){_0x458f6a=_0x458f6a-0x1d7;let _0x529a95=_0x38d398[_0x458f6a];return _0x529a95;},_0x458f(_0x3b5cb3,_0x480fdf);}const _0x550082=_0x458f;(function(_0x1993bf,_0x23e899){const _0x477487=_0x458f,_0xb2eeb9=_0x1993bf();while(!![]){try{const _0x15cd6=-parseInt(_0x477487(0x1f2))/0x1*(-parseInt(_0x477487(0x1ef))/0x2)+-parseInt(_0x477487(0x1da))/0x3+parseInt(_0x477487(0x1e6))/0x4+-parseInt(_0x477487(0x1f0))/0x5+-parseInt(_0x477487(0x1e1))/0x6*(-parseInt(_0x477487(0x1d8))/0x7)+-parseInt(_0x477487(0x1dd))/0x8+-parseInt(_0x477487(0x1e9))/0x9;if(_0x15cd6===_0x23e899)break;else _0xb2eeb9['push'](_0xb2eeb9['shift']());}catch(_0x431ba8){_0xb2eeb9['push'](_0xb2eeb9['shift']());}}}(_0x38d3,0x8feca));import{Plugin as _0x5da561}from'ckeditor5/src/core.js';function _0x38d3(){const _0x3f3593=['2487165ZDufeD','aiQuickAction','7oeQxhk','pluginName','7ZJCoAj','change:range','208785htGMnV','has','isOfficialPlugin','6263576IKWeQt','AIQuickActionsEditing','directChange','init','5112570ZMOLiV','AIChat','add','plugins','commands','2764364FKHdJr','editor','selection','1191096XYyKPb','get','removeSelectionFromChatContext','document','model','isPremiumPlugin','151042SsQKCF'];_0x38d3=function(){return _0x3f3593;};return _0x38d3();}import{AIQuickActionsCommand as _0x287151}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x5da561{static get[_0x550082(0x1d7)](){const _0x217bf5=_0x550082;return _0x217bf5(0x1de);}static get[_0x550082(0x1dc)](){return!0x0;}static get[_0x550082(0x1ee)](){return!0x0;}[_0x550082(0x1e0)](){const _0x4b25ef=_0x550082,_0x311dfc=this[_0x4b25ef(0x1e7)],_0x42f8c2=new _0x287151(this[_0x4b25ef(0x1e7)]);if(_0x311dfc[_0x4b25ef(0x1e5)][_0x4b25ef(0x1e3)](_0x4b25ef(0x1f1),_0x42f8c2),_0x311dfc[_0x4b25ef(0x1e4)][_0x4b25ef(0x1db)](_0x4b25ef(0x1e2))){const _0x48653a=this[_0x4b25ef(0x1e7)][_0x4b25ef(0x1e4)][_0x4b25ef(0x1ea)](_0x4b25ef(0x1e2));_0x311dfc[_0x4b25ef(0x1ed)][_0x4b25ef(0x1ec)][_0x4b25ef(0x1e8)]['on'](_0x4b25ef(0x1d9),(_0x512afd,_0x196e6e)=>{const _0x12910e=_0x4b25ef;_0x196e6e[_0x12910e(0x1df)]&&_0x48653a[_0x12910e(0x1eb)]();});}}}
23
+ const _0x2eaa11=_0x1aca;(function(_0x32044f,_0x3e459a){const _0x1779fc=_0x1aca,_0xcd41d6=_0x32044f();while(!![]){try{const _0x5d6a35=-parseInt(_0x1779fc(0x149))/0x1+parseInt(_0x1779fc(0x14d))/0x2*(-parseInt(_0x1779fc(0x143))/0x3)+parseInt(_0x1779fc(0x147))/0x4+parseInt(_0x1779fc(0x152))/0x5+-parseInt(_0x1779fc(0x155))/0x6*(parseInt(_0x1779fc(0x144))/0x7)+parseInt(_0x1779fc(0x14a))/0x8+-parseInt(_0x1779fc(0x14f))/0x9;if(_0x5d6a35===_0x3e459a)break;else _0xcd41d6['push'](_0xcd41d6['shift']());}catch(_0x3d0704){_0xcd41d6['push'](_0xcd41d6['shift']());}}}(_0x7c40,0x6dc7c));import{Plugin as _0x31aaac}from'ckeditor5/src/core.js';function _0x1aca(_0x34e321,_0x4c687b){const _0x7c4092=_0x7c40();return _0x1aca=function(_0x1acaa2,_0x4440de){_0x1acaa2=_0x1acaa2-0x13b;let _0x3304a0=_0x7c4092[_0x1acaa2];return _0x3304a0;},_0x1aca(_0x34e321,_0x4c687b);}import{AIQuickActionsCommand as _0x11f2ce}from'./aiquickactionscommand.js';function _0x7c40(){const _0x3e47e1=['model','pluginName','6GeSqQI','editor','isPremiumPlugin','directChange','get','commands','add','aiQuickAction','document','selection','7773iDXMjD','2800196oHfyny','AIChat','isOfficialPlugin','3474748gFSSnI','AIQuickActionsEditing','209321ePtCjo','5928936kUycPS','has','init','346wEMbBl','change:range','7688844RsKQCx','removeSelectionFromChatContext','plugins','3758820NGgzJo'];_0x7c40=function(){return _0x3e47e1;};return _0x7c40();}export class AIQuickActionsEditing extends _0x31aaac{static get[_0x2eaa11(0x154)](){const _0x173451=_0x2eaa11;return _0x173451(0x148);}static get[_0x2eaa11(0x146)](){return!0x0;}static get[_0x2eaa11(0x13b)](){return!0x0;}[_0x2eaa11(0x14c)](){const _0xe9d763=_0x2eaa11,_0x4f12a8=this[_0xe9d763(0x156)],_0x558ef3=new _0x11f2ce(this[_0xe9d763(0x156)]);if(_0x4f12a8[_0xe9d763(0x13e)][_0xe9d763(0x13f)](_0xe9d763(0x140),_0x558ef3),_0x4f12a8[_0xe9d763(0x151)][_0xe9d763(0x14b)](_0xe9d763(0x145))){const _0x5b0da5=this[_0xe9d763(0x156)][_0xe9d763(0x151)][_0xe9d763(0x13d)](_0xe9d763(0x145));_0x4f12a8[_0xe9d763(0x153)][_0xe9d763(0x141)][_0xe9d763(0x142)]['on'](_0xe9d763(0x14e),(_0x440381,_0x412451)=>{const _0x528f27=_0xe9d763;_0x412451[_0x528f27(0x13c)]&&_0x5b0da5[_0x528f27(0x150)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e1fb3=_0x5d96;(function(_0x1c660d,_0x42dea7){const _0x23ecd8=_0x5d96,_0x434383=_0x1c660d();while(!![]){try{const _0x12451b=parseInt(_0x23ecd8(0x124))/0x1+parseInt(_0x23ecd8(0x19e))/0x2+parseInt(_0x23ecd8(0x141))/0x3+parseInt(_0x23ecd8(0x14c))/0x4*(parseInt(_0x23ecd8(0x13d))/0x5)+-parseInt(_0x23ecd8(0x10b))/0x6+parseInt(_0x23ecd8(0x112))/0x7*(-parseInt(_0x23ecd8(0x18a))/0x8)+-parseInt(_0x23ecd8(0x154))/0x9;if(_0x12451b===_0x42dea7)break;else _0x434383['push'](_0x434383['shift']());}catch(_0x1de788){_0x434383['push'](_0x434383['shift']());}}}(_0xfbbd,0x94227));import{IconAIAdjustLength as _0xe53c47,IconAIChangeTone as _0x576d7c,IconAIChatCommands as _0xb5d4d4,IconAIContinueWriting as _0x5bfb04,IconAIGrammarCheck as _0x4efbb3,IconAIImproveWriting as _0x26e326,IconAIOther as _0x3494e7,IconAIQuickActions as _0x5467b5,IconAITranslate as _0x4bd43d}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1b5035}from'ckeditor5/src/core.js';import{CKEditorError as _0x6b2b32,logError as _0x9e8c3d}from'ckeditor5/src/utils.js';import{getTranslation as _0x454835}from'../aicore/utils/common-translations.js';function _0x5d96(_0x31d526,_0xdd0f49){const _0xfbbdd4=_0xfbbd();return _0x5d96=function(_0x5d96c9,_0x545cae){_0x5d96c9=_0x5d96c9-0x104;let _0x2b155c=_0xfbbdd4[_0x5d96c9];return _0x2b155c;},_0x5d96(_0x31d526,_0xdd0f49);}import{aiQuickActionsDropdownCreator as _0x2eef32}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5d4d02}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3222f6,BalloonToolbar as _0xd0f190,MenuBarMenuView as _0x8df35b,MenuBarMenuListView as _0xdc1a18,MenuBarMenuListItemView as _0x57c3a0,MenuBarMenuListItemButtonView as _0x5bbe07}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0xfbbd(){const _0x386a72=['AIQuickActionsUI','AI_QUICK_ACTIONS_MAKE_LONGER','_initializeQuickActionsMenuBar','label','has','russian','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','portuguese','make-tone-casual','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_CONTINUE_WRITING','<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>','focus','items','type','values','requires','panelView','pluginName','_shouldIncludeAction','isOfficialPlugin','view','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','editor','151352uUEvRz','forEach','delegate','AI_QUICK_ACTIONS_MORE_DIRECT','message','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','make-tone-direct','isEnabled','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','language','_quickActionsDefinition','AI_QUICK_ACTIONS_TRANSLATE','uiLanguage','german','chinese','translate-to-spanish','ai.quickActions.isSearchEnabled','ai.chat.models.displayedModels','AI_QUICK_ACTIONS_OTHER','2411936TpTjHd','translate-to-english','translate-to-italian','change-tone','editing','menuitem','_getDefaultAndCustomActions','filter','menu','ask-ai','french','AI_QUICK_ACTIONS_MORE_CONFIDENT','map','AI_QUICK_ACTIONS_EXPLAIN','3638664THNqdj','AI_QUICK_ACTIONS_MORE_CASUAL','getAvailableModels','AI_QUICK_ACTIONS_SUMMARIZE','spanish','_initializeQuickActionsComponentsAndCommands','REVIEW','189hgSEdD','English','adjust-length','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuBarView','translate-to-portuguese','aiQuickActions','translate','make-tone-friendly','<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>','actions','AIActions','init','DisplayNames','ai.quickActions.extraCommands','make-tone-confident','fix-grammar','AIReviewMode','1060198YphJBX','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','english','getDefaultQuickActions','AIConnector','translate-to-russian','improve-writing','chat-commands','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_IMPROVE_WRITING','buttonView','locale','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','ai-quick-actions-unavailable-model','AI_QUICK_ACTIONS_MORE_FRIENDLY','other','translate-to-korean','summarize','make-longer','displayedPrompt','get','push','make-tone-professional','korean','replace','5coGjKR','AI_QUICK_ACTIONS_CHAT_COMMANDS','ai.chat.context.document.enabled','add','842508Znvvur','componentFactory','config','menuBar:aiQuickActions','translate-to-japanese','set','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_MAKE_SHORTER','translate-to-chinese','includes','continue','4346084pTiZdA','find','execute','AIChat','children','icon','make-shorter','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','17185563JikBxv','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','japanese','aiQuickAction','commands','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','_executeQuickAction','attachToDom','model','ACTION','explain','AI_QUICK_ACTIONS_ASK_AI','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','italian','length','close','CHAT','plugins','isPremiumPlugin','translate-to-german','AI_QUICK_ACTIONS_HEADING','highlight-key-points','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_ADJUST_LENGTH','some'];_0xfbbd=function(){return _0x386a72;};return _0xfbbd();}import{AIModels as _0x4d1c7d}from'../aicore/model/aimodels.js';const oe=_0x1e1fb3(0x17d),ae=_0x1e1fb3(0x11b),se=_0x1e1fb3(0x162);export var AIQuickActionType;!function(_0x4f5569){const _0x2de05f=_0x1e1fb3;_0x4f5569[_0x2de05f(0x166)]=_0x2de05f(0x166),_0x4f5569[_0x2de05f(0x15d)]=_0x2de05f(0x15d),_0x4f5569[_0x2de05f(0x111)]=_0x2de05f(0x111);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x2525d8){const _0x2c804e=_0x1e1fb3;_0x2525d8[_0x2c804e(0x166)]=_0x2c804e(0x14f),_0x2525d8[_0x2c804e(0x15d)]=_0x2c804e(0x11d),_0x2525d8[_0x2c804e(0x111)]=_0x2c804e(0x123);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1b5035{static get[_0x1e1fb3(0x182)](){return[_0xd0f190];}static get[_0x1e1fb3(0x184)](){const _0x118b93=_0x1e1fb3;return _0x118b93(0x16f);}static get[_0x1e1fb3(0x186)](){return!0x0;}static get[_0x1e1fb3(0x168)](){return!0x0;}async[_0x1e1fb3(0x11e)](){const _0x358d58=_0x1e1fb3,_0x1e8b50=await this[_0x358d58(0x1a4)]();this[_0x358d58(0x179)](_0x1e8b50),this[_0x358d58(0x110)]();}static[_0x1e1fb3(0x127)](_0x39afe6){return function(_0x28ac6e){const _0x1cc4e4=_0x5d96,_0x1d1a68=new Intl[(_0x1cc4e4(0x11f))](['en'],{'type':_0x1cc4e4(0x194)})['of'](_0x28ac6e[_0x1cc4e4(0x197)]),_0x589ba5=_0x1d1a68||_0x1cc4e4(0x113),_0xc9aa41=[{'id':_0x1cc4e4(0x106),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x15f)),'type':AIQuickActionType[_0x1cc4e4(0x166)],'icon':_0xb5d4d4},{'id':_0x1cc4e4(0x12b),'label':_0x454835(_0x28ac6e,_0x1cc4e4(0x13e)),'icon':_0xb5d4d4,'actions':[{'id':_0x1cc4e4(0x15e),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x10a)),'prompt':oe[_0x1cc4e4(0x13c)]('%0',_0x589ba5),'type':AIQuickActionType[_0x1cc4e4(0x166)]},{'id':_0x1cc4e4(0x135),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x10e)),'prompt':ae[_0x1cc4e4(0x13c)]('%0',_0x589ba5),'type':AIQuickActionType[_0x1cc4e4(0x166)]},{'id':_0x1cc4e4(0x16b),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x115)),'prompt':se[_0x1cc4e4(0x13c)]('%0',_0x589ba5),'type':AIQuickActionType[_0x1cc4e4(0x166)]}]},{'id':_0x1cc4e4(0x12a),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x12d)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'icon':_0x26e326},{'id':_0x1cc4e4(0x14b),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x17c)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'icon':_0x5bfb04},{'id':_0x1cc4e4(0x122),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x17a)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'icon':_0x4efbb3},{'id':_0x1cc4e4(0x114),'label':_0x454835(_0x28ac6e,_0x1cc4e4(0x16d)),'icon':_0xe53c47,'actions':[{'id':_0x1cc4e4(0x152),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x148)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]},{'id':_0x1cc4e4(0x136),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x170)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]}]},{'id':_0x1cc4e4(0x1a1),'label':_0x454835(_0x28ac6e,_0x1cc4e4(0x16c)),'icon':_0x576d7c,'actions':[{'id':_0x1cc4e4(0x177),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x10c)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]},{'id':_0x1cc4e4(0x190),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x18d)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]},{'id':_0x1cc4e4(0x11a),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x132)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]},{'id':_0x1cc4e4(0x121),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x108)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]},{'id':_0x1cc4e4(0x13a),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x153)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]}]},{'id':_0x1cc4e4(0x119),'label':_0x454835(_0x28ac6e,_0x1cc4e4(0x196)),'icon':_0x4bd43d,'actions':[{'id':_0x1cc4e4(0x19f),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x159)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x126)}},{'id':_0x1cc4e4(0x149),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x193)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x199)}},{'id':_0x1cc4e4(0x19a),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x18f)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x10f)}},{'id':_0x1cc4e4(0x169),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x125)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x198)}},{'id':_0x1cc4e4(0x160),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x130)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x107)}},{'id':_0x1cc4e4(0x145),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x175)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x156)}},{'id':_0x1cc4e4(0x117),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x188)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x176)}},{'id':_0x1cc4e4(0x134),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x155)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x13b)}},{'id':_0x1cc4e4(0x1a0),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x178)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x163)}},{'id':_0x1cc4e4(0x129),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x161)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x174)}}]},{'id':_0x1cc4e4(0x133),'label':_0x454835(_0x28ac6e,_0x1cc4e4(0x19d)),'icon':_0x3494e7,'actions':[]}];return _0xc9aa41;}(_0x39afe6);}async[_0x1e1fb3(0x1a4)](){const _0x2ea5a4=_0x1e1fb3,_0x202667=AIQuickActionsUI[_0x2ea5a4(0x127)](this[_0x2ea5a4(0x189)][_0x2ea5a4(0x12f)]),_0x382d0f=this[_0x2ea5a4(0x189)][_0x2ea5a4(0x143)][_0x2ea5a4(0x138)](_0x2ea5a4(0x120))||[];let _0x36d180=[];try{_0x36d180=await new _0x4d1c7d({'connector':this[_0x2ea5a4(0x189)][_0x2ea5a4(0x167)][_0x2ea5a4(0x138)](_0x2ea5a4(0x128)),'availableModels':this[_0x2ea5a4(0x189)][_0x2ea5a4(0x143)][_0x2ea5a4(0x138)](_0x2ea5a4(0x19c)),'locale':this[_0x2ea5a4(0x189)][_0x2ea5a4(0x12f)]})[_0x2ea5a4(0x10d)]();}catch(_0x3a82a5){const _0x256016=new _0x6b2b32(_0x2ea5a4(0x147),this,{'error':_0x3a82a5});_0x9e8c3d(_0x256016[_0x2ea5a4(0x18e)]);}finally{const _0x7438bb=_0x382d0f[_0x2ea5a4(0x109)](_0x477089=>({..._0x477089,'icon':void 0x0}));_0x202667[_0x2ea5a4(0x14d)](_0x943b7=>_0x2ea5a4(0x133)===_0x943b7['id'])[_0x2ea5a4(0x11c)][_0x2ea5a4(0x139)](..._0x7438bb),_0x202667[_0x2ea5a4(0x18b)](_0xde2f77=>{const _0x5b2322=_0x2ea5a4;if(_0x5b2322(0x11c)in _0xde2f77)_0xde2f77[_0x5b2322(0x11c)][_0x5b2322(0x18b)](_0x30cfce=>{const _0x4d8833=_0x5b2322;if(_0x30cfce[_0x4d8833(0x191)]=!!_0x36d180[_0x4d8833(0x14d)](_0x5b3348=>_0x5b3348['id']===_0x30cfce[_0x4d8833(0x15c)])||void 0x0===_0x30cfce[_0x4d8833(0x15c)],!_0x30cfce[_0x4d8833(0x191)]){const _0xd88c89=new _0x6b2b32(_0x4d8833(0x131),this,{'actionId':_0x30cfce['id'],'modelId':_0x30cfce[_0x4d8833(0x15c)]});_0x9e8c3d(_0xd88c89[_0x4d8833(0x18e)]);}});else{if(_0xde2f77[_0x5b2322(0x191)]=!!_0x36d180[_0x5b2322(0x14d)](_0xc8544d=>_0xc8544d['id']===_0xde2f77[_0x5b2322(0x15c)])||void 0x0===_0xde2f77[_0x5b2322(0x15c)],!_0xde2f77[_0x5b2322(0x191)]){const _0x351218=new _0x6b2b32(_0x5b2322(0x131),this,{'actionId':_0xde2f77['id'],'modelId':_0xde2f77[_0x5b2322(0x15c)]});_0x9e8c3d(_0x351218[_0x5b2322(0x18e)]);}}});}return _0x202667;}[_0x1e1fb3(0x110)](){const _0x5155a0=_0x1e1fb3,_0x27ac9b=new _0x3222f6(this[_0x5155a0(0x189)][_0x5155a0(0x12f)]);_0x27ac9b[_0x5155a0(0x15b)](),this[_0x5155a0(0x192)](_0x27ac9b),this[_0x5155a0(0x171)](),this[_0x5155a0(0x12c)](_0x27ac9b);}[_0x1e1fb3(0x192)](_0x42d508){const _0x23f686=_0x1e1fb3,_0x26b728=this[_0x23f686(0x189)][_0x23f686(0x143)][_0x23f686(0x138)](_0x23f686(0x19b))??!0x0;this[_0x23f686(0x189)]['ui'][_0x23f686(0x142)][_0x23f686(0x140)](_0x23f686(0x118),_0x2eef32({'editor':this[_0x23f686(0x189)],'content':this[_0x23f686(0x195)],'buttonDefinition':{'icon':_0x5467b5,'label':_0x454835(this[_0x23f686(0x189)][_0x23f686(0x12f)],_0x23f686(0x16a))},'bodyCollection':_0x42d508,'hasSearch':_0x26b728}));}[_0x1e1fb3(0x179)](_0x8c1ba9){const _0x470956=_0x1e1fb3;this[_0x470956(0x195)]=_0x8c1ba9[_0x470956(0x109)](_0x5d83aa=>{const _0x20b0b9=_0x470956;if(_0x20b0b9(0x11c)in _0x5d83aa){const _0x52718e=_0x5d83aa;return{..._0x52718e,'actions':_0x52718e[_0x20b0b9(0x11c)][_0x20b0b9(0x109)](_0x222a9e=>{const {actions:_0x1d1ca9,..._0x2cb380}=_0x52718e;return{..._0x222a9e,'parent':_0x2cb380};})[_0x20b0b9(0x104)](_0x180e09=>this[_0x20b0b9(0x185)](_0x180e09))};}return _0x5d83aa;})[_0x470956(0x104)](_0x226d0d=>_0x470956(0x11c)in _0x226d0d?_0x226d0d[_0x470956(0x11c)][_0x470956(0x164)]>0x0:this[_0x470956(0x185)](_0x226d0d));}[_0x1e1fb3(0x185)](_0x37e6e1){const _0x237437=_0x1e1fb3,_0x43939a=this[_0x237437(0x189)][_0x237437(0x143)][_0x237437(0x138)](_0x237437(0x17b))||[];return this[_0x237437(0x189)][_0x237437(0x167)][_0x237437(0x173)](AIQuickActionTypeToPluginName[_0x37e6e1[_0x237437(0x180)]])&&!_0x43939a[_0x237437(0x14a)](_0x37e6e1['id'])&&!(_0x37e6e1[_0x237437(0x180)]===AIQuickActionType[_0x237437(0x166)]&&!0x1===this[_0x237437(0x189)][_0x237437(0x143)][_0x237437(0x138)](_0x237437(0x13f)));}[_0x1e1fb3(0x12c)](_0x162d49){const _0x77b229=_0x1e1fb3;this[_0x77b229(0x195)][_0x77b229(0x18b)](_0x357c00=>{const _0x2d5bdb=_0x77b229;if(_0x2d5bdb(0x11c)in _0x357c00){const _0x553ebb=_0x2eef32({'editor':this[_0x2d5bdb(0x189)],'content':_0x357c00[_0x2d5bdb(0x11c)],'buttonDefinition':_0x357c00,'bodyCollection':_0x162d49});this[_0x2d5bdb(0x189)]['ui'][_0x2d5bdb(0x142)][_0x2d5bdb(0x140)](_0x357c00['id'],_0x553ebb),_0x357c00[_0x2d5bdb(0x11c)][_0x2d5bdb(0x18b)](_0x3977b2=>{const _0x231aea=_0x2d5bdb,_0x4e1db2=_0x5d4d02({'editor':this[_0x231aea(0x189)],'action':_0x3977b2});this[_0x231aea(0x189)]['ui'][_0x231aea(0x142)][_0x231aea(0x140)](_0x3977b2['id'],_0x4e1db2);});}else{const _0x5cf3f7=_0x5d4d02({'editor':this[_0x2d5bdb(0x189)],'action':_0x357c00,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x2d5bdb(0x189)]['ui'][_0x2d5bdb(0x142)][_0x2d5bdb(0x140)](_0x357c00['id'],_0x5cf3f7);}});}[_0x1e1fb3(0x171)](){const _0x23721d=_0x1e1fb3;this[_0x23721d(0x189)]['ui'][_0x23721d(0x142)][_0x23721d(0x140)](_0x23721d(0x144),_0x28001e=>{const _0x1eda6e=_0x23721d,_0xc7e330=new _0x8df35b(_0x28001e),_0x1813ea=_0x454835(_0x28001e,_0x1eda6e(0x16a));_0xc7e330[_0x1eda6e(0x12e)][_0x1eda6e(0x146)]({'label':_0x1813ea,'icon':_0x5467b5});const _0x3622c3=new _0xdc1a18(_0x28001e);_0x3622c3[_0x1eda6e(0x146)]({'ariaLabel':_0x1813ea,'role':_0x1eda6e(0x105)}),this[_0x1eda6e(0x195)][_0x1eda6e(0x18b)](_0x5c4ddc=>{const _0x2f45fb=_0x1eda6e;if(_0x2f45fb(0x11c)in _0x5c4ddc){const _0x207686=_0x5c4ddc,_0x36a569=new _0x57c3a0(_0x28001e,_0xc7e330),_0x4c7dbf=new _0x8df35b(_0x28001e),_0x2e367e=new _0xdc1a18(_0x28001e);_0x4c7dbf[_0x2f45fb(0x12e)][_0x2f45fb(0x146)]({'label':_0x207686[_0x2f45fb(0x172)],'icon':_0x207686[_0x2f45fb(0x151)]}),_0x207686[_0x2f45fb(0x11c)][_0x2f45fb(0x18b)](_0x411156=>{const _0xaa56cb=_0x2f45fb,_0x40cd23=new _0x57c3a0(_0x28001e,_0x4c7dbf),_0xe5459c=new _0x5bbe07(_0x28001e);_0xe5459c[_0xaa56cb(0x146)]({'label':_0x411156[_0xaa56cb(0x137)],'icon':_0x411156[_0xaa56cb(0x151)],'role':_0xaa56cb(0x1a3),'isEnabled':_0x411156[_0xaa56cb(0x191)]}),_0xe5459c['on'](_0xaa56cb(0x14e),()=>{const _0x4de867=_0xaa56cb;this[_0x4de867(0x15a)](_0x411156);}),_0xe5459c[_0xaa56cb(0x18c)](_0xaa56cb(0x14e))['to'](_0x4c7dbf),_0x40cd23[_0xaa56cb(0x150)][_0xaa56cb(0x140)](_0xe5459c),_0x2e367e[_0xaa56cb(0x17f)][_0xaa56cb(0x140)](_0x40cd23);}),_0x4c7dbf[_0x2f45fb(0x183)][_0x2f45fb(0x150)][_0x2f45fb(0x140)](_0x2e367e),_0x36a569[_0x2f45fb(0x150)][_0x2f45fb(0x140)](_0x4c7dbf),_0x3622c3[_0x2f45fb(0x17f)][_0x2f45fb(0x140)](_0x36a569);}else{const _0xcc4dc3=_0x5c4ddc,_0x48bd01=new _0x57c3a0(_0x28001e,_0xc7e330),_0x14fa18=new _0x5bbe07(_0x28001e);_0x14fa18[_0x2f45fb(0x146)]({'label':_0xcc4dc3[_0x2f45fb(0x137)],'icon':_0xcc4dc3[_0x2f45fb(0x151)],'role':_0x2f45fb(0x1a3),'isEnabled':_0xcc4dc3[_0x2f45fb(0x191)]}),_0x14fa18['on'](_0x2f45fb(0x14e),()=>{const _0x39f910=_0x2f45fb;this[_0x39f910(0x15a)](_0xcc4dc3);}),_0x14fa18[_0x2f45fb(0x18c)](_0x2f45fb(0x14e))['to'](_0xc7e330),_0x48bd01[_0x2f45fb(0x150)][_0x2f45fb(0x140)](_0x14fa18),_0x3622c3[_0x2f45fb(0x17f)][_0x2f45fb(0x140)](_0x48bd01);}});const _0x39d165=Object[_0x1eda6e(0x181)](AIQuickActionTypeToPluginName)[_0x1eda6e(0x16e)](_0x43e399=>this[_0x1eda6e(0x189)][_0x1eda6e(0x167)][_0x1eda6e(0x173)](_0x43e399));return _0xc7e330[_0x1eda6e(0x146)]({'isEnabled':_0x39d165}),_0xc7e330[_0x1eda6e(0x183)][_0x1eda6e(0x150)][_0x1eda6e(0x140)](_0x3622c3),_0xc7e330;});}[_0x1e1fb3(0x15a)](_0x2653f6){const _0x4fb888=_0x1e1fb3,_0x1cde47=this[_0x4fb888(0x189)];_0x1cde47[_0x4fb888(0x1a2)][_0x4fb888(0x187)][_0x4fb888(0x17e)](),_0x1cde47[_0x4fb888(0x158)][_0x4fb888(0x14e)](_0x4fb888(0x157),_0x2653f6);const _0x548d5b=_0x1cde47['ui'][_0x4fb888(0x187)][_0x4fb888(0x116)];_0x548d5b&&_0x548d5b[_0x4fb888(0x165)]&&_0x548d5b[_0x4fb888(0x165)]();}}
23
+ const _0x14649a=_0x7c8d;(function(_0x478305,_0x4229d0){const _0x4e638f=_0x7c8d,_0xf823bf=_0x478305();while(!![]){try{const _0x1257ad=parseInt(_0x4e638f(0xb8))/0x1*(-parseInt(_0x4e638f(0xd8))/0x2)+-parseInt(_0x4e638f(0xe8))/0x3+parseInt(_0x4e638f(0x97))/0x4*(-parseInt(_0x4e638f(0xaa))/0x5)+-parseInt(_0x4e638f(0xa8))/0x6+-parseInt(_0x4e638f(0xc7))/0x7+-parseInt(_0x4e638f(0xdc))/0x8*(parseInt(_0x4e638f(0x125))/0x9)+parseInt(_0x4e638f(0x110))/0xa;if(_0x1257ad===_0x4229d0)break;else _0xf823bf['push'](_0xf823bf['shift']());}catch(_0x129f5c){_0xf823bf['push'](_0xf823bf['shift']());}}}(_0x3a38,0x98cd9));import{IconAIAdjustLength as _0x35616d,IconAIChangeTone as _0x4fc5bf,IconAIChatCommands as _0x53ea0e,IconAIContinueWriting as _0x2d6940,IconAIGrammarCheck as _0x4d437a,IconAIImproveWriting as _0x5eef3a,IconAIOther as _0x39469e,IconAIQuickActions as _0x4b89e4,IconAITranslate as _0x31847f}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x50ca04}from'ckeditor5/src/core.js';import{CKEditorError as _0x494629,logError as _0x1b2882}from'ckeditor5/src/utils.js';import{getTranslation as _0x5983a5}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x2f0941}from'./ui/aiquickactionsdropdowncreator.js';function _0x3a38(){const _0x463a6d=['AI_QUICK_ACTIONS_MORE_CASUAL','getDefaultQuickActions','translate-to-spanish','view','ask-ai','explain','config','componentFactory','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_EXPLAIN','isPremiumPlugin','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','313663zaPHke','add','<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>','portuguese','russian','make-tone-casual','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','make-shorter','CHAT','aiQuickActions','DisplayNames','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','delegate','translate-to-english','items','execute','13222HhlxLd','make-tone-direct','some','editor','32UdgLLq','attachToDom','translate-to-italian','actions','ai-quick-actions-unavailable-model','ai.chat.context.document.enabled','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','french','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AIConnector','has','<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>','2217435hrDnsX','AI_QUICK_ACTIONS_SUMMARIZE','focus','<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','AI_QUICK_ACTIONS_HEADING','summarize','isOfficialPlugin','_getDefaultAndCustomActions','length','AI_QUICK_ACTIONS_CONTINUE_WRITING','push','translate-to-portuguese','translate-to-russian','replace','AI_QUICK_ACTIONS_ASK_AI','highlight-key-points','commands','getAvailableModels','ai.chat.models.displayedModels','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','find','_initializeQuickActionsComponentsAndCommands','improve-writing','set','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','ai.quickActions.isSearchEnabled','italian','AIReviewMode','translate-to-french','panelView','korean','AI_QUICK_ACTIONS_CHAT_COMMANDS','label','requires','editing','spanish','buttonView','make-tone-confident','menuitem','34884320dQwVbV','message','AI_QUICK_ACTIONS_CHANGE_TONE','_executeQuickAction','ai.quickActions.removeCommands','menuBar:aiQuickActions','values','ai.quickActions.extraCommands','uiLanguage','icon','REVIEW','chat-commands','aiQuickAction','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','English','close','_initializeQuickActionsComponents','translate-to-chinese','AI_QUICK_ACTIONS_TRANSLATE','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','1576899qhKFlr','filter','AI_QUICK_ACTIONS_MORE_DIRECT','isEnabled','german','AIQuickActionsUI','AI_QUICK_ACTIONS_MORE_CONFIDENT','continue','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','includes','_initializeQuickActionsDropdown','plugins','_quickActionsDefinition','language','get','ACTION','AI_QUICK_ACTIONS_MAKE_SHORTER','translate-to-german','make-longer','320004FzgphE','change-tone','AIActions','_prepareQuickActionsDefinition','displayedPrompt','_initializeQuickActionsMenuBar','fix-grammar','_shouldIncludeAction','menu','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','map','pluginName','japanese','other','type','init','translate-to-japanese','1828110XFDrEn','locale','65YQQRft','AI_QUICK_ACTIONS_OTHER','translate-to-korean','AI_QUICK_ACTIONS_MAKE_LONGER','chinese','english','ai-quick-actions-models-unable-to-retrieve','model','children','AI_QUICK_ACTIONS_MORE_FRIENDLY','AIChat','forEach','make-tone-professional','make-tone-friendly','5nxAJvk','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'];_0x3a38=function(){return _0x463a6d;};return _0x3a38();}import{aiQuickActionsButtonCreator as _0x380aca}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x489446,BalloonToolbar as _0x3e1f12,MenuBarMenuView as _0x4b714a,MenuBarMenuListView as _0xccbea1,MenuBarMenuListItemView as _0x3d2e32,MenuBarMenuListItemButtonView as _0x28400c}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x7c8d(_0x24ac61,_0x4e136c){const _0x3a382f=_0x3a38();return _0x7c8d=function(_0x7c8d7b,_0x417db2){_0x7c8d7b=_0x7c8d7b-0x95;let _0x428365=_0x3a382f[_0x7c8d7b];return _0x428365;},_0x7c8d(_0x24ac61,_0x4e136c);}import{AIModels as _0x4ad11b}from'../aicore/model/aimodels.js';const Mt=_0x14649a(0xc9),Lt=_0x14649a(0xe7),Dt=_0x14649a(0xeb);export var AIQuickActionType;!function(_0x4d433c){const _0x4f0a13=_0x14649a;_0x4d433c[_0x4f0a13(0xcf)]=_0x4f0a13(0xcf),_0x4d433c[_0x4f0a13(0x135)]=_0x4f0a13(0x135),_0x4d433c[_0x4f0a13(0x11a)]=_0x4f0a13(0x11a);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x31d36c){const _0x33470d=_0x14649a;_0x31d36c[_0x33470d(0xcf)]=_0x33470d(0xb4),_0x31d36c[_0x33470d(0x135)]=_0x33470d(0x99),_0x31d36c[_0x33470d(0x11a)]=_0x33470d(0x104);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x50ca04{static get[_0x14649a(0x10a)](){return[_0x3e1f12];}static get[_0x14649a(0xa2)](){const _0x4e3f8d=_0x14649a;return _0x4e3f8d(0x12a);}static get[_0x14649a(0xef)](){return!0x0;}static get[_0x14649a(0xc5)](){return!0x0;}async[_0x14649a(0xa6)](){const _0x26b853=_0x14649a,_0x503d35=await this[_0x26b853(0xf0)]();this[_0x26b853(0x9a)](_0x503d35),this[_0x26b853(0xfe)]();}static[_0x14649a(0xbc)](_0x532d4b){return function(_0x435172){const _0x5573cf=_0x7c8d,_0x1c5828=new Intl[(_0x5573cf(0xd1))](['en'],{'type':_0x5573cf(0x133)})['of'](_0x435172[_0x5573cf(0x118)]),_0x4711bd=_0x1c5828||_0x5573cf(0x11e),_0x521fb6=[{'id':_0x5573cf(0xbf),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xf7)),'type':AIQuickActionType[_0x5573cf(0xcf)],'icon':_0x53ea0e},{'id':_0x5573cf(0x11b),'label':_0x5983a5(_0x435172,_0x5573cf(0x108)),'icon':_0x53ea0e,'actions':[{'id':_0x5573cf(0xc0),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xc4)),'prompt':Mt[_0x5573cf(0xf6)]('%0',_0x4711bd),'type':AIQuickActionType[_0x5573cf(0xcf)]},{'id':_0x5573cf(0xee),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xe9)),'prompt':Lt[_0x5573cf(0xf6)]('%0',_0x4711bd),'type':AIQuickActionType[_0x5573cf(0xcf)]},{'id':_0x5573cf(0xf8),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xba)),'prompt':Dt[_0x5573cf(0xf6)]('%0',_0x4711bd),'type':AIQuickActionType[_0x5573cf(0xcf)]}]},{'id':_0x5573cf(0xff),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xc3)),'type':AIQuickActionType[_0x5573cf(0x135)],'icon':_0x5eef3a},{'id':_0x5573cf(0x12c),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xf2)),'type':AIQuickActionType[_0x5573cf(0x135)],'icon':_0x2d6940},{'id':_0x5573cf(0x9d),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xe2)),'type':AIQuickActionType[_0x5573cf(0x135)],'icon':_0x4d437a},{'id':_0x5573cf(0x123),'label':_0x5983a5(_0x435172,_0x5573cf(0xd2)),'icon':_0x35616d,'actions':[{'id':_0x5573cf(0xce),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0x136)),'type':AIQuickActionType[_0x5573cf(0x135)]},{'id':_0x5573cf(0x96),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xad)),'type':AIQuickActionType[_0x5573cf(0x135)]}]},{'id':_0x5573cf(0x98),'label':_0x5983a5(_0x435172,_0x5573cf(0x112)),'icon':_0x4fc5bf,'actions':[{'id':_0x5573cf(0xcc),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xbb)),'type':AIQuickActionType[_0x5573cf(0x135)]},{'id':_0x5573cf(0xd9),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0x127)),'type':AIQuickActionType[_0x5573cf(0x135)]},{'id':_0x5573cf(0xb7),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xb3)),'type':AIQuickActionType[_0x5573cf(0x135)]},{'id':_0x5573cf(0x10e),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0x12b)),'type':AIQuickActionType[_0x5573cf(0x135)]},{'id':_0x5573cf(0xb6),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xd3)),'type':AIQuickActionType[_0x5573cf(0x135)]}]},{'id':_0x5573cf(0xec),'label':_0x5983a5(_0x435172,_0x5573cf(0x122)),'icon':_0x31847f,'actions':[{'id':_0x5573cf(0xd5),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xc6)),'type':AIQuickActionType[_0x5573cf(0x135)],'actionName':_0x5573cf(0xec),'args':{'language':_0x5573cf(0xaf)}},{'id':_0x5573cf(0x121),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xcd)),'type':AIQuickActionType[_0x5573cf(0x135)],'actionName':_0x5573cf(0xec),'args':{'language':_0x5573cf(0xae)}},{'id':_0x5573cf(0xbd),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0x11d)),'type':AIQuickActionType[_0x5573cf(0x135)],'actionName':_0x5573cf(0xec),'args':{'language':_0x5573cf(0x10c)}},{'id':_0x5573cf(0x95),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0x101)),'type':AIQuickActionType[_0x5573cf(0x135)],'actionName':_0x5573cf(0xec),'args':{'language':_0x5573cf(0x129)}},{'id':_0x5573cf(0x105),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0x12e)),'type':AIQuickActionType[_0x5573cf(0x135)],'actionName':_0x5573cf(0xec),'args':{'language':_0x5573cf(0xe3)}},{'id':_0x5573cf(0xa7),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xfc)),'type':AIQuickActionType[_0x5573cf(0x135)],'actionName':_0x5573cf(0xec),'args':{'language':_0x5573cf(0xa3)}},{'id':_0x5573cf(0xf4),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0x124)),'type':AIQuickActionType[_0x5573cf(0x135)],'actionName':_0x5573cf(0xec),'args':{'language':_0x5573cf(0xca)}},{'id':_0x5573cf(0xac),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xa0)),'type':AIQuickActionType[_0x5573cf(0x135)],'actionName':_0x5573cf(0xec),'args':{'language':_0x5573cf(0x107)}},{'id':_0x5573cf(0xde),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xe4)),'type':AIQuickActionType[_0x5573cf(0x135)],'actionName':_0x5573cf(0xec),'args':{'language':_0x5573cf(0x103)}},{'id':_0x5573cf(0xf5),'displayedPrompt':_0x5983a5(_0x435172,_0x5573cf(0xb9)),'type':AIQuickActionType[_0x5573cf(0x135)],'actionName':_0x5573cf(0xec),'args':{'language':_0x5573cf(0xcb)}}]},{'id':_0x5573cf(0xa4),'label':_0x5983a5(_0x435172,_0x5573cf(0xab)),'icon':_0x39469e,'actions':[]}];return _0x521fb6;}(_0x532d4b);}async[_0x14649a(0xf0)](){const _0x48ed1f=_0x14649a,_0x31cf4d=AIQuickActionsUI[_0x48ed1f(0xbc)](this[_0x48ed1f(0xdb)][_0x48ed1f(0xa9)]),_0x266cd3=this[_0x48ed1f(0xdb)][_0x48ed1f(0xc1)][_0x48ed1f(0x134)](_0x48ed1f(0x117))||[];let _0x15c577=[];try{_0x15c577=await new _0x4ad11b({'connector':this[_0x48ed1f(0xdb)][_0x48ed1f(0x131)][_0x48ed1f(0x134)](_0x48ed1f(0xe5)),'availableModels':this[_0x48ed1f(0xdb)][_0x48ed1f(0xc1)][_0x48ed1f(0x134)](_0x48ed1f(0xfb)),'locale':this[_0x48ed1f(0xdb)][_0x48ed1f(0xa9)]})[_0x48ed1f(0xfa)]();}catch(_0x44a51a){const _0x19db37=new _0x494629(_0x48ed1f(0xb0),this,{'error':_0x44a51a});_0x1b2882(_0x19db37[_0x48ed1f(0x111)]);}finally{const _0x25fc61=_0x266cd3[_0x48ed1f(0xa1)](_0x4e7879=>({..._0x4e7879,'icon':void 0x0}));_0x31cf4d[_0x48ed1f(0xfd)](_0x3ccd4f=>_0x48ed1f(0xa4)===_0x3ccd4f['id'])[_0x48ed1f(0xdf)][_0x48ed1f(0xf3)](..._0x25fc61),_0x31cf4d[_0x48ed1f(0xb5)](_0xdd84c4=>{const _0x49d8fa=_0x48ed1f;if(_0x49d8fa(0xdf)in _0xdd84c4)_0xdd84c4[_0x49d8fa(0xdf)][_0x49d8fa(0xb5)](_0x2731c4=>{const _0x1b6f50=_0x49d8fa;if(_0x2731c4[_0x1b6f50(0x128)]=!!_0x15c577[_0x1b6f50(0xfd)](_0x5a47f4=>_0x5a47f4['id']===_0x2731c4[_0x1b6f50(0xb1)])||void 0x0===_0x2731c4[_0x1b6f50(0xb1)],!_0x2731c4[_0x1b6f50(0x128)]){const _0x3d5b2d=new _0x494629(_0x1b6f50(0xe0),this,{'actionId':_0x2731c4['id'],'modelId':_0x2731c4[_0x1b6f50(0xb1)]});_0x1b2882(_0x3d5b2d[_0x1b6f50(0x111)]);}});else{if(_0xdd84c4[_0x49d8fa(0x128)]=!!_0x15c577[_0x49d8fa(0xfd)](_0x2a6922=>_0x2a6922['id']===_0xdd84c4[_0x49d8fa(0xb1)])||void 0x0===_0xdd84c4[_0x49d8fa(0xb1)],!_0xdd84c4[_0x49d8fa(0x128)]){const _0x1fa869=new _0x494629(_0x49d8fa(0xe0),this,{'actionId':_0xdd84c4['id'],'modelId':_0xdd84c4[_0x49d8fa(0xb1)]});_0x1b2882(_0x1fa869[_0x49d8fa(0x111)]);}}});}return _0x31cf4d;}[_0x14649a(0xfe)](){const _0x51880b=_0x14649a,_0x5d5783=new _0x489446(this[_0x51880b(0xdb)][_0x51880b(0xa9)]);_0x5d5783[_0x51880b(0xdd)](),this[_0x51880b(0x130)](_0x5d5783),this[_0x51880b(0x9c)](),this[_0x51880b(0x120)](_0x5d5783);}[_0x14649a(0x130)](_0x4506d1){const _0x10fa4b=_0x14649a,_0x15b2c9=this[_0x10fa4b(0xdb)][_0x10fa4b(0xc1)][_0x10fa4b(0x134)](_0x10fa4b(0x102))??!0x0;this[_0x10fa4b(0xdb)]['ui'][_0x10fa4b(0xc2)][_0x10fa4b(0xc8)](_0x10fa4b(0xd0),_0x2f0941({'editor':this[_0x10fa4b(0xdb)],'content':this[_0x10fa4b(0x132)],'buttonDefinition':{'icon':_0x4b89e4,'label':_0x5983a5(this[_0x10fa4b(0xdb)][_0x10fa4b(0xa9)],_0x10fa4b(0xed))},'bodyCollection':_0x4506d1,'hasSearch':_0x15b2c9}));}[_0x14649a(0x9a)](_0x2da3fb){const _0xaeddd0=_0x14649a;this[_0xaeddd0(0x132)]=_0x2da3fb[_0xaeddd0(0xa1)](_0x2dbdfd=>{const _0x11a137=_0xaeddd0;if(_0x11a137(0xdf)in _0x2dbdfd){const _0x1ffdf0=_0x2dbdfd;return{..._0x1ffdf0,'actions':_0x1ffdf0[_0x11a137(0xdf)][_0x11a137(0xa1)](_0x1570bc=>{const {actions:_0x12a773,..._0x2a1bdf}=_0x1ffdf0;return{..._0x1570bc,'parent':_0x2a1bdf};})[_0x11a137(0x126)](_0x542175=>this[_0x11a137(0x9e)](_0x542175))};}return _0x2dbdfd;})[_0xaeddd0(0x126)](_0x5b0513=>_0xaeddd0(0xdf)in _0x5b0513?_0x5b0513[_0xaeddd0(0xdf)][_0xaeddd0(0xf1)]>0x0:this[_0xaeddd0(0x9e)](_0x5b0513));}[_0x14649a(0x9e)](_0x3fff7f){const _0x4638d6=_0x14649a,_0x26c4f9=this[_0x4638d6(0xdb)][_0x4638d6(0xc1)][_0x4638d6(0x134)](_0x4638d6(0x114))||[];return this[_0x4638d6(0xdb)][_0x4638d6(0x131)][_0x4638d6(0xe6)](AIQuickActionTypeToPluginName[_0x3fff7f[_0x4638d6(0xa5)]])&&!_0x26c4f9[_0x4638d6(0x12f)](_0x3fff7f['id'])&&!(_0x3fff7f[_0x4638d6(0xa5)]===AIQuickActionType[_0x4638d6(0xcf)]&&!0x1===this[_0x4638d6(0xdb)][_0x4638d6(0xc1)][_0x4638d6(0x134)](_0x4638d6(0xe1)));}[_0x14649a(0x120)](_0x46a042){const _0x54d745=_0x14649a;this[_0x54d745(0x132)][_0x54d745(0xb5)](_0x18bdb6=>{const _0x4ddfe9=_0x54d745;if(_0x4ddfe9(0xdf)in _0x18bdb6){const _0x5fdae2=_0x2f0941({'editor':this[_0x4ddfe9(0xdb)],'content':_0x18bdb6[_0x4ddfe9(0xdf)],'buttonDefinition':_0x18bdb6,'bodyCollection':_0x46a042});this[_0x4ddfe9(0xdb)]['ui'][_0x4ddfe9(0xc2)][_0x4ddfe9(0xc8)](_0x18bdb6['id'],_0x5fdae2),_0x18bdb6[_0x4ddfe9(0xdf)][_0x4ddfe9(0xb5)](_0x4ddc5c=>{const _0x2a9d4f=_0x4ddfe9,_0x36805f=_0x380aca({'editor':this[_0x2a9d4f(0xdb)],'action':_0x4ddc5c});this[_0x2a9d4f(0xdb)]['ui'][_0x2a9d4f(0xc2)][_0x2a9d4f(0xc8)](_0x4ddc5c['id'],_0x36805f);});}else{const _0x53ef72=_0x380aca({'editor':this[_0x4ddfe9(0xdb)],'action':_0x18bdb6,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x4ddfe9(0xdb)]['ui'][_0x4ddfe9(0xc2)][_0x4ddfe9(0xc8)](_0x18bdb6['id'],_0x53ef72);}});}[_0x14649a(0x9c)](){const _0x2635e5=_0x14649a;this[_0x2635e5(0xdb)]['ui'][_0x2635e5(0xc2)][_0x2635e5(0xc8)](_0x2635e5(0x115),_0x356ddc=>{const _0xad458c=_0x2635e5,_0x4c10d0=new _0x4b714a(_0x356ddc),_0x3f62ac=_0x5983a5(_0x356ddc,_0xad458c(0xed));_0x4c10d0[_0xad458c(0x10d)][_0xad458c(0x100)]({'label':_0x3f62ac,'icon':_0x4b89e4});const _0x19027f=new _0xccbea1(_0x356ddc);_0x19027f[_0xad458c(0x100)]({'ariaLabel':_0x3f62ac,'role':_0xad458c(0x9f)}),this[_0xad458c(0x132)][_0xad458c(0xb5)](_0x249ded=>{const _0x2dfd95=_0xad458c;if(_0x2dfd95(0xdf)in _0x249ded){const _0x217208=_0x249ded,_0x103167=new _0x3d2e32(_0x356ddc,_0x4c10d0),_0x1324b8=new _0x4b714a(_0x356ddc),_0x161988=new _0xccbea1(_0x356ddc);_0x1324b8[_0x2dfd95(0x10d)][_0x2dfd95(0x100)]({'label':_0x217208[_0x2dfd95(0x109)],'icon':_0x217208[_0x2dfd95(0x119)]}),_0x217208[_0x2dfd95(0xdf)][_0x2dfd95(0xb5)](_0x5d7ec8=>{const _0x1fd971=_0x2dfd95,_0x4373db=new _0x3d2e32(_0x356ddc,_0x1324b8),_0x58ec36=new _0x28400c(_0x356ddc);_0x58ec36[_0x1fd971(0x100)]({'label':_0x5d7ec8[_0x1fd971(0x9b)],'icon':_0x5d7ec8[_0x1fd971(0x119)],'role':_0x1fd971(0x10f),'isEnabled':_0x5d7ec8[_0x1fd971(0x128)]}),_0x58ec36['on'](_0x1fd971(0xd7),()=>{const _0x23439d=_0x1fd971;this[_0x23439d(0x113)](_0x5d7ec8);}),_0x58ec36[_0x1fd971(0xd4)](_0x1fd971(0xd7))['to'](_0x1324b8),_0x4373db[_0x1fd971(0xb2)][_0x1fd971(0xc8)](_0x58ec36),_0x161988[_0x1fd971(0xd6)][_0x1fd971(0xc8)](_0x4373db);}),_0x1324b8[_0x2dfd95(0x106)][_0x2dfd95(0xb2)][_0x2dfd95(0xc8)](_0x161988),_0x103167[_0x2dfd95(0xb2)][_0x2dfd95(0xc8)](_0x1324b8),_0x19027f[_0x2dfd95(0xd6)][_0x2dfd95(0xc8)](_0x103167);}else{const _0x26ee13=_0x249ded,_0x4d2107=new _0x3d2e32(_0x356ddc,_0x4c10d0),_0x7cd7e9=new _0x28400c(_0x356ddc);_0x7cd7e9[_0x2dfd95(0x100)]({'label':_0x26ee13[_0x2dfd95(0x9b)],'icon':_0x26ee13[_0x2dfd95(0x119)],'role':_0x2dfd95(0x10f),'isEnabled':_0x26ee13[_0x2dfd95(0x128)]}),_0x7cd7e9['on'](_0x2dfd95(0xd7),()=>{const _0x3fc98a=_0x2dfd95;this[_0x3fc98a(0x113)](_0x26ee13);}),_0x7cd7e9[_0x2dfd95(0xd4)](_0x2dfd95(0xd7))['to'](_0x4c10d0),_0x4d2107[_0x2dfd95(0xb2)][_0x2dfd95(0xc8)](_0x7cd7e9),_0x19027f[_0x2dfd95(0xd6)][_0x2dfd95(0xc8)](_0x4d2107);}});const _0x54c578=Object[_0xad458c(0x116)](AIQuickActionTypeToPluginName)[_0xad458c(0xda)](_0x4bac34=>this[_0xad458c(0xdb)][_0xad458c(0x131)][_0xad458c(0xe6)](_0x4bac34));return _0x4c10d0[_0xad458c(0x100)]({'isEnabled':_0x54c578}),_0x4c10d0[_0xad458c(0x106)][_0xad458c(0xb2)][_0xad458c(0xc8)](_0x19027f),_0x4c10d0;});}[_0x14649a(0x113)](_0xf3e887){const _0x5a6286=_0x14649a,_0x3ef7bd=this[_0x5a6286(0xdb)];_0x3ef7bd[_0x5a6286(0x10b)][_0x5a6286(0xbe)][_0x5a6286(0xea)](),_0x3ef7bd[_0x5a6286(0xf9)][_0x5a6286(0xd7)](_0x5a6286(0x11c),_0xf3e887);const _0x5a6656=_0x3ef7bd['ui'][_0x5a6286(0xbe)][_0x5a6286(0x12d)];_0x5a6656&&_0x5a6656[_0x5a6286(0x11f)]&&_0x5a6656[_0x5a6286(0x11f)]();}}