@ckeditor/ckeditor5-ai 47.4.0-alpha.2 → 47.4.0-alpha.4
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.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x10e9eb,_0x15169e){const _0x4df2ea=_0x34ce,_0x5ec5ba=_0x10e9eb();while(!![]){try{const _0x2e2feb=parseInt(_0x4df2ea(0x187))/0x1*(parseInt(_0x4df2ea(0x1a4))/0x2)+-parseInt(_0x4df2ea(0x185))/0x3*(-parseInt(_0x4df2ea(0x161))/0x4)+parseInt(_0x4df2ea(0x193))/0x5+-parseInt(_0x4df2ea(0x1b7))/0x6+parseInt(_0x4df2ea(0x195))/0x7+-parseInt(_0x4df2ea(0x16c))/0x8+-parseInt(_0x4df2ea(0x17e))/0x9;if(_0x2e2feb===_0x15169e)break;else _0x5ec5ba['push'](_0x5ec5ba['shift']());}catch(_0x50dfe8){_0x5ec5ba['push'](_0x5ec5ba['shift']());}}}(_0x4668,0x57617));import{findOne as _0x44aad1,getAttribute as _0x42d47d,Document as _0xfc6f62,serialize as _0x10f6cc,parse as _0x5d965f}from'./htmlparser.js';import{fixElementSuggestionRange as _0x1191aa}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x5ed014,_DetachOperation as _0x5907d4,_removeFromModelNodeList as _0x187b69,_insertIntoModelNodeList as _0x28bc2d}from'ckeditor5/src/engine.js';import{uid as _0x1e4107}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x3dfe17,changeGroups:_0xd5e7c4,documentContextContent:_0x57be97,showDiff:_0x43dd25,trimUnchanged:_0xadb127=!0x0}){const _0x5e2189=_0x34ce;return _0xd5e7c4[_0x5e2189(0x15b)](_0x48ac5a=>{const _0x5803c1=_0x5e2189,_0x5af388=new _0xfc6f62([]),_0x3859c0=new _0xfc6f62([]);for(const _0x30992e of _0x48ac5a[_0x5803c1(0x17d)])if(_0x43dd25&&_0x5803c1(0x1b3)==_0x30992e[_0x5803c1(0x178)]||_0x3859c0[_0x5803c1(0x18f)][_0x5803c1(0x199)](_0x30992e[_0x5803c1(0x171)][_0x5803c1(0x172)](!0x0)),_0x5803c1(0x177)!=_0x30992e[_0x5803c1(0x178)]&&(_0x43dd25||_0x5803c1(0x1b3)!=_0x30992e[_0x5803c1(0x178)])){const _0x1d2628=_0x44aad1(_0x3396a5=>_0x42d47d(_0x3396a5,_0x5803c1(0x176))==_0x30992e['id'],_0x57be97,!0x0);_0x1d2628&&_0x5af388[_0x5803c1(0x18f)][_0x5803c1(0x199)](_0x1d2628[_0x5803c1(0x172)](!0x0));}const {content:_0x42f6a3,hasChanges:_0x7bf0f2}=function(_0x469fbb,_0x1db15f,_0x432c70,_0x5e26b,_0xe6a630=!0x0){const _0x350387=_0x5803c1,_0x51b634=_0x469fbb[_0x350387(0x182)][_0x350387(0x1b5)](_0x350387(0x1b1)),_0x2ac400=_0x10f6cc(_0x1db15f),_0x37c259=_0x10f6cc(_0x432c70),_0x404e1e=_0x469fbb[_0x350387(0x196)][_0x350387(0x155)](_0x2ac400,_0x350387(0x18a)),_0x48c3da=_0x469fbb[_0x350387(0x17f)][_0x350387(0x19f)](_0x404e1e,0x0),_0x30e19e=_0x51b634[_0x350387(0x159)](_0x2ac400,_0x37c259,{'anchor':_0x48c3da,'markDeletions':_0x5e26b,'context':_0x350387(0x18a)}),_0x27c3a4=_0x30e19e[_0x350387(0x1b8)]();if(0x0==_0x27c3a4[_0x350387(0x19b)])return{'content':_0x1db15f[_0x350387(0x172)](!0x0),'hasChanges':!0x1};_0x5e26b?function(_0x2256d7,_0x2171b7,_0x2fdfd8){const _0x333cee=_0x350387;if(0x0==_0x2256d7[_0x333cee(0x19b)])return;const _0x66e3b9=_0x2fdfd8[_0x333cee(0x182)][_0x333cee(0x1b5)](_0x333cee(0x1b1)),_0x2ea073=_0x2fdfd8[_0x333cee(0x182)][_0x333cee(0x1b5)](_0x333cee(0x15e));_0x2fdfd8[_0x333cee(0x17f)][_0x333cee(0x1b9)](_0x1bfc27=>{const _0x5564f2=_0x333cee,_0x4b3084=new Set();for(let _0x21a7c4=0x0;_0x21a7c4<_0x2256d7[_0x5564f2(0x19b)];_0x21a7c4++){const _0x5af3fa=_0x2256d7[_0x21a7c4];if(_0x5af3fa[_0x5564f2(0x16d)]=null,_0x5af3fa[_0x5564f2(0x190)]=!0x1,_0x66e3b9[_0x5564f2(0x184)](_0x5af3fa)){const _0x5f3281=_0x1191aa(_0x5af3fa[_0x5564f2(0x1af)],_0x2fdfd8[_0x5564f2(0x17f)]),_0x266652=_0x5564f2(0x191)+_0x1e4107()+_0x5564f2(0x157);_0x2171b7[_0x5564f2(0x162)][_0x5564f2(0x150)](_0x266652,_0x5f3281);}else switch(_0x5af3fa[_0x5564f2(0x178)]){case _0x5564f2(0x15a):{if(_0x5af3fa[_0x5564f2(0x180)]==_0x5af3fa[_0x5564f2(0x158)])break;_0x1bfc27[_0x5564f2(0x197)][_0x5564f2(0x1b0)](_0x5af3fa),_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a3)](_0x5af3fa);const _0x47eee1=_0x5564f2(0x18e),_0x416e9a=_0x5af3fa[_0x5564f2(0x173)],_0x3e0229=_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a6)](_0x416e9a,_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x19f)](_0x416e9a[_0x5564f2(0x183)],_0x5564f2(0x175))),_0x12b47d=_0x5564f2(0x1a7)+_0x47eee1+':'+_0x1e4107()+_0x5564f2(0x157);_0x2171b7[_0x5564f2(0x162)][_0x5564f2(0x150)](_0x12b47d,_0x3e0229);break;}case _0x5564f2(0x1b4):case _0x5564f2(0x16f):case _0x5564f2(0x188):{if(_0x5af3fa[_0x5564f2(0x18d)]==_0x5af3fa[_0x5564f2(0x160)])break;_0x1bfc27[_0x5564f2(0x197)][_0x5564f2(0x1b0)](_0x5af3fa),_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a3)](_0x5af3fa);const _0x343d80=_0x5af3fa[_0x5564f2(0x16b)];if(!_0x2ea073[_0x5564f2(0x147)](_0x343d80))break;const _0x2c4344=_0x1191aa(_0x5af3fa[_0x5564f2(0x1a9)],_0x2fdfd8[_0x5564f2(0x17f)]),_0x3e7191=_0x5564f2(0x1a7)+_0x343d80+':'+_0x1e4107()+_0x5564f2(0x157);_0x2171b7[_0x5564f2(0x162)][_0x5564f2(0x150)](_0x3e7191,_0x2c4344);break;}case _0x5564f2(0x1ac):{_0x1bfc27[_0x5564f2(0x197)][_0x5564f2(0x1b0)](_0x5af3fa),_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a3)](_0x5af3fa);if(_0x2256d7[_0x21a7c4+0x1]&&_0x5564f2(0x1a1)==_0x2256d7[_0x21a7c4+0x1][_0x5564f2(0x178)]){ro(_0x2171b7,_0x5af3fa);break;}const _0x347a83=_0x5af3fa[_0x5564f2(0x173)],_0x52b92a=_0x5af3fa[_0x5564f2(0x14c)],_0x301537=_0x1191aa(_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a6)](_0x347a83,_0x347a83[_0x5564f2(0x19c)](_0x52b92a)),_0x2fdfd8[_0x5564f2(0x17f)]),_0x350e2a=_0x5564f2(0x165)+_0x1e4107()+_0x5564f2(0x157);_0x2171b7[_0x5564f2(0x162)][_0x5564f2(0x150)](_0x350e2a,_0x301537);break;}case _0x5564f2(0x1a8):{_0x1bfc27[_0x5564f2(0x197)][_0x5564f2(0x1b0)](_0x5af3fa),_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a3)](_0x5af3fa);const _0x572859=_0x5af3fa[_0x5564f2(0x1b6)],_0x417df7=_0x5af3fa[_0x5564f2(0x15c)],_0x2c0613=_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a6)](_0x572859,_0x417df7),_0x42d03d=_0x5564f2(0x165)+_0x1e4107()+_0x5564f2(0x157);_0x2171b7[_0x5564f2(0x162)][_0x5564f2(0x150)](_0x42d03d,_0x2c0613);break;}case _0x5564f2(0x1a1):{_0x1bfc27[_0x5564f2(0x197)][_0x5564f2(0x1b0)](_0x5af3fa),_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a3)](_0x5af3fa),_0x2256d7[_0x21a7c4-0x1]&&_0x5564f2(0x1ac)==_0x2256d7[_0x21a7c4-0x1][_0x5564f2(0x178)]&&ro(_0x2171b7,_0x5af3fa);const _0x1b9b25=_0x5af3fa[_0x5564f2(0x163)](),_0x1ac4d3=_0x5af3fa[_0x5564f2(0x14c)];for(let _0x5527bb=0x0;_0x5527bb<_0x1ac4d3;_0x5527bb++){const _0x3d1cf9=_0x1b9b25[_0x5564f2(0x19c)](_0x5527bb)[_0x5564f2(0x183)];_0x4b3084[_0x5564f2(0x19a)](_0x3d1cf9);}break;}case _0x5564f2(0x1a2):{const _0x506773=_0x5af3fa[_0x5564f2(0x1ba)],_0x47857b=_0x5af3fa[_0x5564f2(0x14c)],_0x17e031=new _0x5907d4(_0x506773,_0x47857b);_0x1bfc27[_0x5564f2(0x197)][_0x5564f2(0x1b0)](_0x17e031),_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x1a3)](_0x17e031);break;}}}for(const _0x6bf53d of _0x4b3084){const _0x2403d9=_0x2fdfd8[_0x5564f2(0x17f)][_0x5564f2(0x189)](_0x6bf53d),_0x435282=_0x5564f2(0x151)+_0x1e4107()+_0x5564f2(0x157);_0x2171b7[_0x5564f2(0x162)][_0x5564f2(0x150)](_0x435282,_0x1191aa(_0x2403d9,_0x2fdfd8[_0x5564f2(0x17f)]));}});}(_0x27c3a4,_0x404e1e,_0x469fbb):_0x469fbb[_0x350387(0x17f)][_0x350387(0x1b9)](_0x3f7c20=>{const _0x164ac5=_0x350387;for(const _0x2b05ca of _0x27c3a4)if(_0x164ac5(0x1a2)==_0x2b05ca[_0x164ac5(0x178)]){const _0x4479e2=_0x2b05ca[_0x164ac5(0x1ba)],_0x29a560=_0x2b05ca[_0x164ac5(0x14c)],_0x4ac4f4=new _0x5907d4(_0x4479e2,_0x29a560);_0x3f7c20[_0x164ac5(0x197)][_0x164ac5(0x1b0)](_0x4ac4f4),_0x469fbb[_0x164ac5(0x17f)][_0x164ac5(0x1a3)](_0x4ac4f4);}else{if(_0x164ac5(0x15d)==_0x2b05ca[_0x164ac5(0x178)]){const _0x4e8585=_0x2b05ca[_0x164ac5(0x18c)],_0x3ed7b2=_0x2b05ca[_0x164ac5(0x1af)];_0x404e1e[_0x164ac5(0x162)][_0x164ac5(0x150)](_0x4e8585,_0x3ed7b2);}else _0x2b05ca[_0x164ac5(0x16d)]=null,_0x2b05ca[_0x164ac5(0x190)]=!0x1,_0x3f7c20[_0x164ac5(0x197)][_0x164ac5(0x1b0)](_0x2b05ca),_0x469fbb[_0x164ac5(0x17f)][_0x164ac5(0x1a3)](_0x2b05ca);}});if(_0xe6a630){const _0x5a9b2b=getMinimalSelection(_0x469fbb,_0x27c3a4,_0x404e1e);expandSelectionWithContext(_0x469fbb[_0x350387(0x17f)],_0x5a9b2b),function(_0x1f1b0e,_0x347862){const _0xd45d54=_0x350387,_0xe1eef6=_0x347862[_0xd45d54(0x149)]()[_0xd45d54(0x181)];let _0x57f939=_0x347862[_0xd45d54(0x149)]()[_0xd45d54(0x175)];const _0xaaab5d=_0xe1eef6[_0xd45d54(0x1a0)];(_0x57f939[_0xd45d54(0x1ad)]||_0x57f939[_0xd45d54(0x183)]&&_0x57f939[_0xd45d54(0x183)]['is'](_0xd45d54(0x14a)))&&(_0x28bc2d(_0x57f939,_0xd45d54(0x153)),_0x57f939=_0x57f939[_0xd45d54(0x19c)](0x3)),(_0xe1eef6[_0xd45d54(0x1ad)]||_0xe1eef6[_0xd45d54(0x1ae)]&&_0xe1eef6[_0xd45d54(0x1ae)]['is'](_0xd45d54(0x14a)))&&(_0x28bc2d(_0xe1eef6,_0xd45d54(0x153)),function(_0x4c8b8b,_0x4615b,_0x5e8a87){const _0x19c420=_0xd45d54;for(let [_0x41351a,_0x3e83fe]of _0x4c8b8b[_0x19c420(0x162)]){const _0x8505c3=_0x3e83fe[_0x19c420(0x148)](_0x4615b,_0x5e8a87,!0x1);_0x3e83fe=_0x8505c3[0x0],_0x4c8b8b[_0x19c420(0x162)][_0x19c420(0x150)](_0x41351a,_0x3e83fe);}}(_0xaaab5d,_0xe1eef6,0x3),_0xe1eef6[_0xd45d54(0x14d)]==_0x57f939[_0xd45d54(0x14d)]&&(_0x57f939=_0x57f939[_0xd45d54(0x19c)](0x3)));const _0x5b2967=_0x1f1b0e[_0xd45d54(0x1a6)](_0x1f1b0e[_0xd45d54(0x19f)](_0xaaab5d,0x0),_0xe1eef6),_0x53ccb8=_0x1f1b0e[_0xd45d54(0x1a6)](_0x57f939,_0x1f1b0e[_0xd45d54(0x19f)](_0xaaab5d,_0xd45d54(0x175))),_0x29101a=[..._0x5b2967[_0xd45d54(0x168)](),..._0x53ccb8[_0xd45d54(0x168)]()];_0x29101a[_0xd45d54(0x192)]();for(const _0x3fefaf of _0x29101a)_0x187b69(_0x3fefaf),_transformMarkersByDeletion(_0xaaab5d,_0x3fefaf);}(_0x469fbb[_0x350387(0x17f)],_0x5a9b2b);}const _0x15b79d=_0x469fbb[_0x350387(0x196)][_0x350387(0x170)](_0x404e1e,{'showSuggestionHighlights':!0x0});return{'content':_0x5d965f(_0x15b79d),'hasChanges':!0x0};}(_0x3dfe17,_0x5af388,_0x3859c0,_0x43dd25,_0xadb127);return{'type':_0x48ac5a[_0x5803c1(0x17d)][0x0][_0x5803c1(0x178)],'index':_0x48ac5a[_0x5803c1(0x1aa)],'content':_0x42f6a3,'hasChanges':_0x7bf0f2};});}function ro(_0x2e15ba,_0x2819b7){const _0x36aaaa=_0x34ce;for(const [_0x363de4,_0x7dc7e3]of _0x2e15ba[_0x36aaaa(0x162)]){const _0x5b66d2=_0x5ed014[_0x36aaaa(0x179)](_0x7dc7e3[_0x36aaaa(0x14f)](_0x2819b7));_0x2e15ba[_0x36aaaa(0x162)][_0x36aaaa(0x150)](_0x363de4,_0x5b66d2);}}export function getMinimalSelection(_0x1d9bac,_0x21ea26,_0x2925d6){const _0x485c6e=_0x34ce,_0x3ee202=_0x1d9bac[_0x485c6e(0x182)][_0x485c6e(0x1b5)](_0x485c6e(0x1b1));let _0x26e71f=_0x1d9bac[_0x485c6e(0x17f)][_0x485c6e(0x19f)](_0x2925d6,Number[_0x485c6e(0x1a5)]),_0x246cd0=_0x1d9bac[_0x485c6e(0x17f)][_0x485c6e(0x19f)](_0x2925d6,0x0);for(const _0x14e99a of _0x21ea26){let _0x16933b,_0x40f773;if(_0x3ee202[_0x485c6e(0x184)](_0x14e99a))_0x16933b=_0x14e99a[_0x485c6e(0x1af)][_0x485c6e(0x181)],_0x40f773=_0x14e99a[_0x485c6e(0x1af)][_0x485c6e(0x175)];else switch(_0x26e71f=_0x26e71f[_0x485c6e(0x14f)](_0x14e99a),_0x246cd0=_0x246cd0[_0x485c6e(0x14f)](_0x14e99a),_0x14e99a[_0x485c6e(0x178)]){case _0x485c6e(0x15a):_0x16933b=_0x14e99a[_0x485c6e(0x173)],_0x40f773=_0x16933b[_0x485c6e(0x19c)](0x1);break;case _0x485c6e(0x1b4):case _0x485c6e(0x16f):case _0x485c6e(0x188):_0x16933b=_0x14e99a[_0x485c6e(0x1a9)][_0x485c6e(0x181)],_0x40f773=_0x14e99a[_0x485c6e(0x1a9)][_0x485c6e(0x175)];break;case _0x485c6e(0x1ac):_0x16933b=_0x14e99a[_0x485c6e(0x173)],_0x40f773=_0x16933b[_0x485c6e(0x19c)](_0x14e99a[_0x485c6e(0x14c)]);break;case _0x485c6e(0x1a8):_0x16933b=_0x14e99a[_0x485c6e(0x1b6)],_0x40f773=_0x14e99a[_0x485c6e(0x15c)];break;case _0x485c6e(0x19d):{const _0x5b2755=_0x14e99a[_0x485c6e(0x17a)][_0x485c6e(0x1ab)][_0x485c6e(0x17c)](0x0,-0x1);_0x16933b=_0x1d9bac[_0x485c6e(0x17f)][_0x485c6e(0x18b)](_0x2925d6,_0x5b2755),_0x40f773=_0x16933b[_0x485c6e(0x19c)](0x1);break;}case _0x485c6e(0x1a2):{const _0x5ed2e4=_0x14e99a[_0x485c6e(0x14c)],_0x16c456=_0x14e99a[_0x485c6e(0x1ba)][_0x485c6e(0x148)](_0x14e99a[_0x485c6e(0x17a)],_0x5ed2e4),_0x16e5ef=_0x14e99a[_0x485c6e(0x163)]();_0x485c6e(0x1a2)==_0x14e99a[_0x485c6e(0x178)]?(_0x16933b=_0x16c456,_0x40f773=_0x16c456):(_0x16933b=_0x16e5ef,_0x40f773=_0x16e5ef[_0x485c6e(0x19c)](_0x5ed2e4));break;}}_0x16933b&&_0x16933b[_0x485c6e(0x156)](_0x26e71f)&&(_0x26e71f=_0x16933b[_0x485c6e(0x167)](),_0x26e71f[_0x485c6e(0x1b2)]=_0x485c6e(0x164)),_0x40f773&&_0x40f773[_0x485c6e(0x16a)](_0x246cd0)&&(_0x246cd0=_0x40f773[_0x485c6e(0x167)](),_0x246cd0[_0x485c6e(0x1b2)]=_0x485c6e(0x164));}return _0x1d9bac[_0x485c6e(0x17f)][_0x485c6e(0x17b)](_0x1d9bac[_0x485c6e(0x17f)][_0x485c6e(0x1a6)](_0x26e71f,_0x246cd0));}export function expandSelectionWithContext(_0x4d86bc,_0x4066ef){const _0x27c732=_0x34ce;so(_0x4d86bc,_0x4066ef,_0x27c732(0x198));const _0x12fc8b=_0x4066ef[_0x27c732(0x149)]();_0x4066ef[_0x27c732(0x14b)]([]),_0x4066ef[_0x27c732(0x14b)](_0x12fc8b,{'backward':!0x0}),so(_0x4d86bc,_0x4066ef,_0x27c732(0x152));}function so(_0x5da4f9,_0x3847fe,_0x1bae29){const _0x450bcb=_0x34ce;let _0x200985=0x14;for(;_0x200985;){_0x5da4f9[_0x450bcb(0x174)](_0x3847fe,{'unit':_0x450bcb(0x19e),'direction':_0x1bae29}),_0x200985--;const _0x99f9db=_0x3847fe[_0x450bcb(0x16e)][_0x450bcb(0x198)==_0x1bae29?_0x450bcb(0x1ae):_0x450bcb(0x183)];if(_0x99f9db&&_0x99f9db['is'](_0x450bcb(0x186))&&_0x5da4f9[_0x450bcb(0x14e)][_0x450bcb(0x166)](_0x99f9db)&&_0x5da4f9[_0x450bcb(0x14e)][_0x450bcb(0x15f)](_0x99f9db))break;}}function _0x4668(){const _0x7f2907=['228WTdPxr','element','695142OsfnFG','changeAttribute','createRangeOn','$root','createPositionFromPath','name','oldValue','$elementName','children','isDocumentOperation','suggestion:deletion:','reverse','1392905yMJBJb','offset','1362396MFgCRb','data','batch','forward','push','add','length','getShiftedBy','merge','word','createPositionAt','root','move','remove','applyOperation','2akZpZq','POSITIVE_INFINITY','createRange','suggestion:attribute:','split','range','index','path','insert','textNode','nodeBefore','newRange','addOperation','DocumentCompare','stickiness','removed','addAttribute','get','splitPosition','3997590oAgVwZ','getOperations','change','sourcePosition','isRegisteredAttribute','_getTransformedByInsertion','getFirstRange','$text','setTo','howMany','parent','schema','getTransformedByOperation','set','suggestion:formatBlock:$fakeWrap:','backward','...','_getTransformedByDeletion','parse','isBefore',':$aiSuggestion','newName','getDiff','rename','map','moveTargetPosition','marker','SuggestionsConversion','isObject','newValue','35252cFxOda','markers','getMovedRangeStart','toNone','suggestion:insertion:','isBlock','clone','getMinimalFlatRanges','delete','isAfter','key','2667128rNiOAa','baseVersion','focus','removeAttribute','stringify','node','cloneNode','position','modifySelection','end','data-id','new','type','_createFromRanges','targetPosition','createSelection','slice','changes','4325148QhxuUQ','model','oldName','start','plugins','nodeAfter','isMarkedRemoveOperation'];_0x4668=function(){return _0x7f2907;};return _0x4668();}function _0x34ce(_0xb0fb8a,_0x440b56){const _0x46685e=_0x4668();return _0x34ce=function(_0x34ceb8,_0x2f4075){_0x34ceb8=_0x34ceb8-0x147;let _0x1f0b09=_0x46685e[_0x34ceb8];return _0x1f0b09;},_0x34ce(_0xb0fb8a,_0x440b56);}export function _transformMarkersByDeletion(_0x5933e7,_0x3e4268){const _0x58b47b=_0x34ce;for(const [_0x3c3661,_0x5f028f]of _0x5933e7[_0x58b47b(0x162)]){const _0x925790=_0x5f028f[_0x58b47b(0x154)](_0x3e4268[_0x58b47b(0x181)],_0x3e4268[_0x58b47b(0x175)][_0x58b47b(0x194)]-_0x3e4268[_0x58b47b(0x181)][_0x58b47b(0x194)]);null!=_0x925790?_0x5933e7[_0x58b47b(0x162)][_0x58b47b(0x150)](_0x3c3661,_0x925790):_0x5933e7[_0x58b47b(0x162)][_0x58b47b(0x169)](_0x3c3661);}}
|
|
23
|
+
(function(_0x26c051,_0x48dc59){const _0x39263e=_0x5bfe,_0x10054c=_0x26c051();while(!![]){try{const _0x195aee=-parseInt(_0x39263e(0x21b))/0x1+-parseInt(_0x39263e(0x1dc))/0x2*(-parseInt(_0x39263e(0x239))/0x3)+-parseInt(_0x39263e(0x229))/0x4+parseInt(_0x39263e(0x1e7))/0x5*(parseInt(_0x39263e(0x1ce))/0x6)+parseInt(_0x39263e(0x1e5))/0x7+parseInt(_0x39263e(0x1e2))/0x8+-parseInt(_0x39263e(0x211))/0x9*(-parseInt(_0x39263e(0x1e3))/0xa);if(_0x195aee===_0x48dc59)break;else _0x10054c['push'](_0x10054c['shift']());}catch(_0x3ce0fc){_0x10054c['push'](_0x10054c['shift']());}}}(_0x3932,0x6971f));import{findOne as _0x383c2c,getAttribute as _0x36ca91,Document as _0x184bb5,serialize as _0x19e812,parse as _0x309a26}from'./htmlparser.js';function _0x3932(){const _0x5d8af7=['643724gOrxFb','suggestion:attribute:','offset','toNone','textNode','_getTransformedByDeletion','range','setTo','name','word','map','batch','removeAttribute','index','3307520btjpYJ','isRegisteredAttribute','markers','new','change','$root','createPositionAt','nodeAfter','isBefore','POSITIVE_INFINITY','isAfter','_getTransformedByInsertion','splitPosition','clone','isObject','getDiff','3mNnFTy','insert','length','data','stickiness','changes','forward','type','DocumentCompare','_createFromRanges','78cvEwTk','$elementName','node','element','applyOperation','sourcePosition','split','add','getShiftedBy','key','remove','howMany','oldValue','stringify','1379164wFutPd','modifySelection','getOperations','isBlock','createRangeOn','focus','2313712mpwMjl','10SlxUcb','path','1059695agZQjK','newName','94415xImVBO','newValue','merge','createRange','oldName','getMinimalFlatRanges','delete','children','suggestion:deletion:','data-id','end','start','suggestion:insertion:','isDocumentOperation','isMarkedRemoveOperation','getMovedRangeStart','baseVersion','createPositionFromPath','slice','moveTargetPosition','getFirstRange','reverse','get','removed','targetPosition','model','rename','newRange','move','getTransformedByOperation',':$aiSuggestion','schema','parse','$text','...','marker','root','set','plugins','addAttribute','nodeBefore','createSelection','4741623SuOoGz','cloneNode','position','addOperation','backward','parent','suggestion:formatBlock:$fakeWrap:','changeAttribute','push','SuggestionsConversion'];_0x3932=function(){return _0x5d8af7;};return _0x3932();}import{fixElementSuggestionRange as _0x25e256}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x52d3fa,_DetachOperation as _0x23b923,_removeFromModelNodeList as _0xef1b0b,_insertIntoModelNodeList as _0xfc68fb}from'ckeditor5/src/engine.js';import{uid as _0x156100}from'ckeditor5/src/utils.js';function _0x5bfe(_0x2a7dc3,_0x28e937){const _0x393210=_0x3932();return _0x5bfe=function(_0x5bfe58,_0x502014){_0x5bfe58=_0x5bfe58-0x1cd;let _0x3ab0a3=_0x393210[_0x5bfe58];return _0x3ab0a3;},_0x5bfe(_0x2a7dc3,_0x28e937);}export function getSuggestionPartsFromReply({editor:_0xed5a10,changeGroups:_0x18fe48,documentContextContent:_0x254c06,showDiff:_0x3b1940,trimUnchanged:_0x417864=!0x0}){const _0x3eef49=_0x5bfe;return _0x18fe48[_0x3eef49(0x225)](_0x1c1fc2=>{const _0x29c74c=_0x3eef49,_0x1d486f=new _0x184bb5([]),_0x14e592=new _0x184bb5([]);for(const _0x1d3c57 of _0x1c1fc2[_0x29c74c(0x23e)])if(_0x3b1940&&_0x29c74c(0x1fe)==_0x1d3c57[_0x29c74c(0x240)]||_0x14e592[_0x29c74c(0x1ee)][_0x29c74c(0x219)](_0x1d3c57[_0x29c74c(0x1d0)][_0x29c74c(0x212)](!0x0)),_0x29c74c(0x22c)!=_0x1d3c57[_0x29c74c(0x240)]&&(_0x3b1940||_0x29c74c(0x1fe)!=_0x1d3c57[_0x29c74c(0x240)])){const _0x5cfef1=_0x383c2c(_0x3cf347=>_0x36ca91(_0x3cf347,_0x29c74c(0x1f0))==_0x1d3c57['id'],_0x254c06,!0x0);_0x5cfef1&&_0x1d486f[_0x29c74c(0x1ee)][_0x29c74c(0x219)](_0x5cfef1[_0x29c74c(0x212)](!0x0));}const {content:_0x35acd3,hasChanges:_0x3492aa}=function(_0x42e7ca,_0x134f8d,_0x128423,_0x5e5fdb,_0x210a19=!0x0){const _0x6c6ac1=_0x29c74c,_0x33e181=_0x42e7ca[_0x6c6ac1(0x20d)][_0x6c6ac1(0x1fd)](_0x6c6ac1(0x241)),_0x16def8=_0x19e812(_0x134f8d),_0x5012c6=_0x19e812(_0x128423),_0x2df189=_0x42e7ca[_0x6c6ac1(0x23c)][_0x6c6ac1(0x207)](_0x16def8,_0x6c6ac1(0x22e)),_0xf10871=_0x42e7ca[_0x6c6ac1(0x200)][_0x6c6ac1(0x22f)](_0x2df189,0x0),_0x4137af=_0x33e181[_0x6c6ac1(0x238)](_0x16def8,_0x5012c6,{'anchor':_0xf10871,'markDeletions':_0x5e5fdb,'context':_0x6c6ac1(0x22e)}),_0x34c922=_0x4137af[_0x6c6ac1(0x1de)]();if(0x0==_0x34c922[_0x6c6ac1(0x23b)])return{'content':_0x134f8d[_0x6c6ac1(0x212)](!0x0),'hasChanges':!0x1};_0x5e5fdb?function(_0x4ab555,_0xfc658d,_0x5be572){const _0x15d6d3=_0x6c6ac1;if(0x0==_0x4ab555[_0x15d6d3(0x23b)])return;const _0x168087=_0x5be572[_0x15d6d3(0x20d)][_0x15d6d3(0x1fd)](_0x15d6d3(0x241)),_0x1bf403=_0x5be572[_0x15d6d3(0x20d)][_0x15d6d3(0x1fd)](_0x15d6d3(0x21a));_0x5be572[_0x15d6d3(0x200)][_0x15d6d3(0x22d)](_0x49416c=>{const _0x4ce0fc=_0x15d6d3,_0x26627f=new Set();for(let _0x378e9e=0x0;_0x378e9e<_0x4ab555[_0x4ce0fc(0x23b)];_0x378e9e++){const _0x1d56b6=_0x4ab555[_0x378e9e];if(_0x1d56b6[_0x4ce0fc(0x1f7)]=null,_0x1d56b6[_0x4ce0fc(0x1f4)]=!0x1,_0x168087[_0x4ce0fc(0x1f5)](_0x1d56b6)){const _0x5a3962=_0x25e256(_0x1d56b6[_0x4ce0fc(0x202)],_0x5be572[_0x4ce0fc(0x200)]),_0x260369=_0x4ce0fc(0x1ef)+_0x156100()+_0x4ce0fc(0x205);_0xfc658d[_0x4ce0fc(0x22b)][_0x4ce0fc(0x20c)](_0x260369,_0x5a3962);}else switch(_0x1d56b6[_0x4ce0fc(0x240)]){case _0x4ce0fc(0x201):{if(_0x1d56b6[_0x4ce0fc(0x1eb)]==_0x1d56b6[_0x4ce0fc(0x1e6)])break;_0x49416c[_0x4ce0fc(0x226)][_0x4ce0fc(0x214)](_0x1d56b6),_0x5be572[_0x4ce0fc(0x200)][_0x4ce0fc(0x1d2)](_0x1d56b6);const _0x30725a=_0x4ce0fc(0x1cf),_0x2ef7a4=_0x1d56b6[_0x4ce0fc(0x213)],_0x368d0b=_0x5be572[_0x4ce0fc(0x200)][_0x4ce0fc(0x1ea)](_0x2ef7a4,_0x5be572[_0x4ce0fc(0x200)][_0x4ce0fc(0x22f)](_0x2ef7a4[_0x4ce0fc(0x230)],_0x4ce0fc(0x1f1))),_0x253dcc=_0x4ce0fc(0x21c)+_0x30725a+':'+_0x156100()+_0x4ce0fc(0x205);_0xfc658d[_0x4ce0fc(0x22b)][_0x4ce0fc(0x20c)](_0x253dcc,_0x368d0b);break;}case _0x4ce0fc(0x20e):case _0x4ce0fc(0x227):case _0x4ce0fc(0x218):{if(_0x1d56b6[_0x4ce0fc(0x1da)]==_0x1d56b6[_0x4ce0fc(0x1e8)])break;_0x49416c[_0x4ce0fc(0x226)][_0x4ce0fc(0x214)](_0x1d56b6),_0x5be572[_0x4ce0fc(0x200)][_0x4ce0fc(0x1d2)](_0x1d56b6);const _0x1b09df=_0x1d56b6[_0x4ce0fc(0x1d7)];if(!_0x1bf403[_0x4ce0fc(0x22a)](_0x1b09df))break;const _0x5a560e=_0x25e256(_0x1d56b6[_0x4ce0fc(0x221)],_0x5be572[_0x4ce0fc(0x200)]),_0x2f3438=_0x4ce0fc(0x21c)+_0x1b09df+':'+_0x156100()+_0x4ce0fc(0x205);_0xfc658d[_0x4ce0fc(0x22b)][_0x4ce0fc(0x20c)](_0x2f3438,_0x5a560e);break;}case _0x4ce0fc(0x23a):{_0x49416c[_0x4ce0fc(0x226)][_0x4ce0fc(0x214)](_0x1d56b6),_0x5be572[_0x4ce0fc(0x200)][_0x4ce0fc(0x1d2)](_0x1d56b6);if(_0x4ab555[_0x378e9e+0x1]&&_0x4ce0fc(0x203)==_0x4ab555[_0x378e9e+0x1][_0x4ce0fc(0x240)]){ro(_0xfc658d,_0x1d56b6);break;}const _0x3aea61=_0x1d56b6[_0x4ce0fc(0x213)],_0x2b6c6b=_0x1d56b6[_0x4ce0fc(0x1d9)],_0x33415c=_0x25e256(_0x5be572[_0x4ce0fc(0x200)][_0x4ce0fc(0x1ea)](_0x3aea61,_0x3aea61[_0x4ce0fc(0x1d6)](_0x2b6c6b)),_0x5be572[_0x4ce0fc(0x200)]),_0x48468a=_0x4ce0fc(0x1f3)+_0x156100()+_0x4ce0fc(0x205);_0xfc658d[_0x4ce0fc(0x22b)][_0x4ce0fc(0x20c)](_0x48468a,_0x33415c);break;}case _0x4ce0fc(0x1d4):{_0x49416c[_0x4ce0fc(0x226)][_0x4ce0fc(0x214)](_0x1d56b6),_0x5be572[_0x4ce0fc(0x200)][_0x4ce0fc(0x1d2)](_0x1d56b6);const _0x47c830=_0x1d56b6[_0x4ce0fc(0x235)],_0x30e92c=_0x1d56b6[_0x4ce0fc(0x1fa)],_0x1a5988=_0x5be572[_0x4ce0fc(0x200)][_0x4ce0fc(0x1ea)](_0x47c830,_0x30e92c),_0x110ee5=_0x4ce0fc(0x1f3)+_0x156100()+_0x4ce0fc(0x205);_0xfc658d[_0x4ce0fc(0x22b)][_0x4ce0fc(0x20c)](_0x110ee5,_0x1a5988);break;}case _0x4ce0fc(0x203):{_0x49416c[_0x4ce0fc(0x226)][_0x4ce0fc(0x214)](_0x1d56b6),_0x5be572[_0x4ce0fc(0x200)][_0x4ce0fc(0x1d2)](_0x1d56b6),_0x4ab555[_0x378e9e-0x1]&&_0x4ce0fc(0x23a)==_0x4ab555[_0x378e9e-0x1][_0x4ce0fc(0x240)]&&ro(_0xfc658d,_0x1d56b6);const _0x51b6f5=_0x1d56b6[_0x4ce0fc(0x1f6)](),_0x222dcb=_0x1d56b6[_0x4ce0fc(0x1d9)];for(let _0x20712f=0x0;_0x20712f<_0x222dcb;_0x20712f++){const _0x2f8fe6=_0x51b6f5[_0x4ce0fc(0x1d6)](_0x20712f)[_0x4ce0fc(0x230)];_0x26627f[_0x4ce0fc(0x1d5)](_0x2f8fe6);}break;}case _0x4ce0fc(0x1d8):{const _0x1bb73b=_0x1d56b6[_0x4ce0fc(0x1d3)],_0x5cac20=_0x1d56b6[_0x4ce0fc(0x1d9)],_0x243fdb=new _0x23b923(_0x1bb73b,_0x5cac20);_0x49416c[_0x4ce0fc(0x226)][_0x4ce0fc(0x214)](_0x243fdb),_0x5be572[_0x4ce0fc(0x200)][_0x4ce0fc(0x1d2)](_0x243fdb);break;}}}for(const _0x20a7d2 of _0x26627f){const _0x5bfee6=_0x5be572[_0x4ce0fc(0x200)][_0x4ce0fc(0x1e0)](_0x20a7d2),_0x3c8b41=_0x4ce0fc(0x217)+_0x156100()+_0x4ce0fc(0x205);_0xfc658d[_0x4ce0fc(0x22b)][_0x4ce0fc(0x20c)](_0x3c8b41,_0x25e256(_0x5bfee6,_0x5be572[_0x4ce0fc(0x200)]));}});}(_0x34c922,_0x2df189,_0x42e7ca):_0x42e7ca[_0x6c6ac1(0x200)][_0x6c6ac1(0x22d)](_0x4fc38e=>{const _0x57b278=_0x6c6ac1;for(const _0x5338e0 of _0x34c922)if(_0x57b278(0x1d8)==_0x5338e0[_0x57b278(0x240)]){const _0x43b52a=_0x5338e0[_0x57b278(0x1d3)],_0x5b07d4=_0x5338e0[_0x57b278(0x1d9)],_0x9a90e8=new _0x23b923(_0x43b52a,_0x5b07d4);_0x4fc38e[_0x57b278(0x226)][_0x57b278(0x214)](_0x9a90e8),_0x42e7ca[_0x57b278(0x200)][_0x57b278(0x1d2)](_0x9a90e8);}else{if(_0x57b278(0x20a)==_0x5338e0[_0x57b278(0x240)]){const _0x8969f4=_0x5338e0[_0x57b278(0x223)],_0x4a9e85=_0x5338e0[_0x57b278(0x202)];_0x2df189[_0x57b278(0x22b)][_0x57b278(0x20c)](_0x8969f4,_0x4a9e85);}else _0x5338e0[_0x57b278(0x1f7)]=null,_0x5338e0[_0x57b278(0x1f4)]=!0x1,_0x4fc38e[_0x57b278(0x226)][_0x57b278(0x214)](_0x5338e0),_0x42e7ca[_0x57b278(0x200)][_0x57b278(0x1d2)](_0x5338e0);}});if(_0x210a19){const _0x5c4158=getMinimalSelection(_0x42e7ca,_0x34c922,_0x2df189);expandSelectionWithContext(_0x42e7ca[_0x6c6ac1(0x200)],_0x5c4158),function(_0x5a4f83,_0x302933){const _0x3df51d=_0x6c6ac1,_0x4001f7=_0x302933[_0x3df51d(0x1fb)]()[_0x3df51d(0x1f2)];let _0x4c0784=_0x302933[_0x3df51d(0x1fb)]()[_0x3df51d(0x1f1)];const _0x59bb65=_0x4001f7[_0x3df51d(0x20b)];(_0x4c0784[_0x3df51d(0x21f)]||_0x4c0784[_0x3df51d(0x230)]&&_0x4c0784[_0x3df51d(0x230)]['is'](_0x3df51d(0x208)))&&(_0xfc68fb(_0x4c0784,_0x3df51d(0x209)),_0x4c0784=_0x4c0784[_0x3df51d(0x1d6)](0x3)),(_0x4001f7[_0x3df51d(0x21f)]||_0x4001f7[_0x3df51d(0x20f)]&&_0x4001f7[_0x3df51d(0x20f)]['is'](_0x3df51d(0x208)))&&(_0xfc68fb(_0x4001f7,_0x3df51d(0x209)),function(_0x26cda2,_0x1766a7,_0xe367c7){const _0x2613aa=_0x3df51d;for(let [_0x510646,_0x2883e2]of _0x26cda2[_0x2613aa(0x22b)]){const _0x2a978c=_0x2883e2[_0x2613aa(0x234)](_0x1766a7,_0xe367c7,!0x1);_0x2883e2=_0x2a978c[0x0],_0x26cda2[_0x2613aa(0x22b)][_0x2613aa(0x20c)](_0x510646,_0x2883e2);}}(_0x59bb65,_0x4001f7,0x3),_0x4001f7[_0x3df51d(0x216)]==_0x4c0784[_0x3df51d(0x216)]&&(_0x4c0784=_0x4c0784[_0x3df51d(0x1d6)](0x3)));const _0x3b94c3=_0x5a4f83[_0x3df51d(0x1ea)](_0x5a4f83[_0x3df51d(0x22f)](_0x59bb65,0x0),_0x4001f7),_0x116f27=_0x5a4f83[_0x3df51d(0x1ea)](_0x4c0784,_0x5a4f83[_0x3df51d(0x22f)](_0x59bb65,_0x3df51d(0x1f1))),_0x5c1c4a=[..._0x3b94c3[_0x3df51d(0x1ec)](),..._0x116f27[_0x3df51d(0x1ec)]()];_0x5c1c4a[_0x3df51d(0x1fc)]();for(const _0x550fe8 of _0x5c1c4a)_0xef1b0b(_0x550fe8),_transformMarkersByDeletion(_0x59bb65,_0x550fe8);}(_0x42e7ca[_0x6c6ac1(0x200)],_0x5c4158);}const _0x2c41ce=_0x42e7ca[_0x6c6ac1(0x23c)][_0x6c6ac1(0x1db)](_0x2df189,{'showSuggestionHighlights':!0x0});return{'content':_0x309a26(_0x2c41ce),'hasChanges':!0x0};}(_0xed5a10,_0x1d486f,_0x14e592,_0x3b1940,_0x417864);return{'type':_0x1c1fc2[_0x29c74c(0x23e)][0x0][_0x29c74c(0x240)],'index':_0x1c1fc2[_0x29c74c(0x228)],'content':_0x35acd3,'hasChanges':_0x3492aa};});}function ro(_0x42c911,_0x334f5a){const _0x208659=_0x5bfe;for(const [_0x33367a,_0x2e5c30]of _0x42c911[_0x208659(0x22b)]){const _0x2b2d91=_0x52d3fa[_0x208659(0x1cd)](_0x2e5c30[_0x208659(0x204)](_0x334f5a));_0x42c911[_0x208659(0x22b)][_0x208659(0x20c)](_0x33367a,_0x2b2d91);}}export function getMinimalSelection(_0x3186d3,_0x17e59b,_0x405ce0){const _0x3a87e0=_0x5bfe,_0x16844f=_0x3186d3[_0x3a87e0(0x20d)][_0x3a87e0(0x1fd)](_0x3a87e0(0x241));let _0x9b925=_0x3186d3[_0x3a87e0(0x200)][_0x3a87e0(0x22f)](_0x405ce0,Number[_0x3a87e0(0x232)]),_0x1ae761=_0x3186d3[_0x3a87e0(0x200)][_0x3a87e0(0x22f)](_0x405ce0,0x0);for(const _0x544308 of _0x17e59b){let _0x45f4a8,_0x303955;if(_0x16844f[_0x3a87e0(0x1f5)](_0x544308))_0x45f4a8=_0x544308[_0x3a87e0(0x202)][_0x3a87e0(0x1f2)],_0x303955=_0x544308[_0x3a87e0(0x202)][_0x3a87e0(0x1f1)];else switch(_0x9b925=_0x9b925[_0x3a87e0(0x204)](_0x544308),_0x1ae761=_0x1ae761[_0x3a87e0(0x204)](_0x544308),_0x544308[_0x3a87e0(0x240)]){case _0x3a87e0(0x201):_0x45f4a8=_0x544308[_0x3a87e0(0x213)],_0x303955=_0x45f4a8[_0x3a87e0(0x1d6)](0x1);break;case _0x3a87e0(0x20e):case _0x3a87e0(0x227):case _0x3a87e0(0x218):_0x45f4a8=_0x544308[_0x3a87e0(0x221)][_0x3a87e0(0x1f2)],_0x303955=_0x544308[_0x3a87e0(0x221)][_0x3a87e0(0x1f1)];break;case _0x3a87e0(0x23a):_0x45f4a8=_0x544308[_0x3a87e0(0x213)],_0x303955=_0x45f4a8[_0x3a87e0(0x1d6)](_0x544308[_0x3a87e0(0x1d9)]);break;case _0x3a87e0(0x1d4):_0x45f4a8=_0x544308[_0x3a87e0(0x235)],_0x303955=_0x544308[_0x3a87e0(0x1fa)];break;case _0x3a87e0(0x1e9):{const _0x56471d=_0x544308[_0x3a87e0(0x1ff)][_0x3a87e0(0x1e4)][_0x3a87e0(0x1f9)](0x0,-0x1);_0x45f4a8=_0x3186d3[_0x3a87e0(0x200)][_0x3a87e0(0x1f8)](_0x405ce0,_0x56471d),_0x303955=_0x45f4a8[_0x3a87e0(0x1d6)](0x1);break;}case _0x3a87e0(0x1d8):{const _0x593aff=_0x544308[_0x3a87e0(0x1d9)],_0x4cc8c6=_0x544308[_0x3a87e0(0x1d3)][_0x3a87e0(0x234)](_0x544308[_0x3a87e0(0x1ff)],_0x593aff),_0x48109d=_0x544308[_0x3a87e0(0x1f6)]();_0x3a87e0(0x1d8)==_0x544308[_0x3a87e0(0x240)]?(_0x45f4a8=_0x4cc8c6,_0x303955=_0x4cc8c6):(_0x45f4a8=_0x48109d,_0x303955=_0x48109d[_0x3a87e0(0x1d6)](_0x593aff));break;}}_0x45f4a8&&_0x45f4a8[_0x3a87e0(0x231)](_0x9b925)&&(_0x9b925=_0x45f4a8[_0x3a87e0(0x236)](),_0x9b925[_0x3a87e0(0x23d)]=_0x3a87e0(0x21e)),_0x303955&&_0x303955[_0x3a87e0(0x233)](_0x1ae761)&&(_0x1ae761=_0x303955[_0x3a87e0(0x236)](),_0x1ae761[_0x3a87e0(0x23d)]=_0x3a87e0(0x21e));}return _0x3186d3[_0x3a87e0(0x200)][_0x3a87e0(0x210)](_0x3186d3[_0x3a87e0(0x200)][_0x3a87e0(0x1ea)](_0x9b925,_0x1ae761));}export function expandSelectionWithContext(_0x16fa94,_0x363604){const _0x40eab8=_0x5bfe;so(_0x16fa94,_0x363604,_0x40eab8(0x23f));const _0x134158=_0x363604[_0x40eab8(0x1fb)]();_0x363604[_0x40eab8(0x222)]([]),_0x363604[_0x40eab8(0x222)](_0x134158,{'backward':!0x0}),so(_0x16fa94,_0x363604,_0x40eab8(0x215));}function so(_0x37ad20,_0x536212,_0x476327){const _0x8529a9=_0x5bfe;let _0x1eb74c=0x14;for(;_0x1eb74c;){_0x37ad20[_0x8529a9(0x1dd)](_0x536212,{'unit':_0x8529a9(0x224),'direction':_0x476327}),_0x1eb74c--;const _0x430322=_0x536212[_0x8529a9(0x1e1)][_0x8529a9(0x23f)==_0x476327?_0x8529a9(0x20f):_0x8529a9(0x230)];if(_0x430322&&_0x430322['is'](_0x8529a9(0x1d1))&&_0x37ad20[_0x8529a9(0x206)][_0x8529a9(0x1df)](_0x430322)&&_0x37ad20[_0x8529a9(0x206)][_0x8529a9(0x237)](_0x430322))break;}}export function _transformMarkersByDeletion(_0x4411c4,_0x4d8f94){const _0x35e484=_0x5bfe;for(const [_0x16c4d6,_0x4f069d]of _0x4411c4[_0x35e484(0x22b)]){const _0x1c9bd0=_0x4f069d[_0x35e484(0x220)](_0x4d8f94[_0x35e484(0x1f2)],_0x4d8f94[_0x35e484(0x1f1)][_0x35e484(0x21d)]-_0x4d8f94[_0x35e484(0x1f2)][_0x35e484(0x21d)]);null!=_0x1c9bd0?_0x4411c4[_0x35e484(0x22b)][_0x35e484(0x20c)](_0x16c4d6,_0x1c9bd0):_0x4411c4[_0x35e484(0x22b)][_0x35e484(0x1ed)](_0x16c4d6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5ce873,_0x251f33){const _0x120029=_0x4a0a,_0x32ed07=_0x5ce873();while(!![]){try{const _0x36b01e=-parseInt(_0x120029(0xea))/0x1+-parseInt(_0x120029(0xf9))/0x2*(parseInt(_0x120029(0xe7))/0x3)+parseInt(_0x120029(0xfa))/0x4*(parseInt(_0x120029(0xee))/0x5)+-parseInt(_0x120029(0xf0))/0x6*(parseInt(_0x120029(0xf8))/0x7)+-parseInt(_0x120029(0xe3))/0x8+parseInt(_0x120029(0xe9))/0x9*(-parseInt(_0x120029(0xf6))/0xa)+parseInt(_0x120029(0xe6))/0xb;if(_0x36b01e===_0x251f33)break;else _0x32ed07['push'](_0x32ed07['shift']());}catch(_0x297b52){_0x32ed07['push'](_0x32ed07['shift']());}}}(_0x5796,0x75536));import{parseDocument as _0x1c1b0a}from'htmlparser2';import{append as _0x2203d0,appendChild as _0x52004b,find as _0x3ff098,findAll as _0x39afb0,findOne as _0x379d5e,getChildren as _0x11b8b5,isComment as _0x4e0b81,isTag as _0xbce537,prepend as _0x10caa7,prependChild as _0x360907,removeElement as _0x3a5318,replaceElement as _0x54591b,textContent as _0x55b78d,getParent as _0x2637d2,hasChildren as _0x3311e1}from'domutils';import _0x52e4f9 from'dom-serializer';import{cloneNode as _0x1c5cde,isDocument as _0x56667f,isText as _0x521209,Element as _0x3979f7,Text as _0x1ea111,Document as _0x24fa46,NodeWithChildren as _0x1934af}from'domhandler';export{_0x1c5cde as cloneNode,_0x3ff098 as find,_0x379d5e as findOne,_0x39afb0 as findAll,_0x11b8b5 as getChildren,_0x2637d2 as getParent,_0x4e0b81 as isComment,_0x56667f as isDocument,_0xbce537 as isTag,_0x521209 as isText,_0x2203d0 as append,_0x52004b as appendChild,_0x10caa7 as prepend,_0x360907 as prependChild,_0x52e4f9 as render,_0x3a5318 as removeElement,_0x54591b as replaceElement,_0x55b78d as textContent,_0x3311e1 as hasChildren,_0x3979f7 as Element,_0x24fa46 as Document,_0x1934af as NodeWithChildren,_0x1ea111 as Text};function _0x5796(){const _0x22102f=['1400932yUrnPT','cloneNode','afterend','6474200SQUgiS','parentNode','beforeend','32310135WnkkpM','39nqaeKX','map','9810vMmbjf','724030oSxdor','reverse','nextSibling','push','10NAnrBN','forEach','1002Vuwawl','attribs','afterbegin','slice','indexOf','beforebegin','4290oHilfe','replace','9289ajhYRG','143794jEdcjW'];_0x5796=function(){return _0x22102f;};return _0x5796();}export function parse(_0x2e0fce){return _0x1c1b0a(_0x2e0fce);}export function serialize(_0x1458a5){return _0x52e4f9(_0x1458a5);}export function findByAttribute(_0x5094f5,_0x13150,_0x5da1d9){const _0x29d3fa=_0x4a0a,_0x1f0e8a=null!==_0x13150?_0x40b4f7=>_0x40b4f7[_0x29d3fa(0xf1)][_0x5094f5]===_0x13150:_0x29dc75=>Boolean(_0x29dc75[_0x29d3fa(0xf1)][_0x5094f5]);return _0x379d5e(_0x5ed937=>_0xbce537(_0x5ed937)&&_0x1f0e8a(_0x5ed937),_0x5da1d9);}export function findAllByAttribute(_0x389712,_0xe228ef,_0x5b8b56){const _0x428192=_0x4a0a,_0xafad5d=null!==_0xe228ef?_0x47263f=>_0x47263f[_0x428192(0xf1)][_0x389712]===_0xe228ef:_0x472128=>Boolean(_0x472128[_0x428192(0xf1)][_0x389712]);return _0x39afb0(_0x5ed289=>_0xbce537(_0x5ed289)&&_0xafad5d(_0x5ed289),_0x5b8b56);}export function findAllComments(_0x18f41b){return _0x3ff098(_0x109e86=>_0x4e0b81(_0x109e86),_0x18f41b,!0x0,0x1/0x0);}export function getAttribute(_0xc24d05,_0x420360){const _0x25c12f=_0x4a0a;return _0xc24d05&&_0xbce537(_0xc24d05)?_0xc24d05[_0x25c12f(0xf1)][_0x420360]:null;}export function setAttribute(_0x5a820b,_0x4a8efc,_0x4575af){const _0x26eea9=_0x4a0a;_0xbce537(_0x5a820b)&&(null===_0x4575af?delete _0x5a820b[_0x26eea9(0xf1)][_0x4a8efc]:_0x5a820b[_0x26eea9(0xf1)][_0x4a8efc]=_0x4575af);}export function insertElement(_0x5f4658,_0x29b319,_0x3fa1b7){const _0x4ef290=_0x4a0a,_0x197024=_0x29b319[_0x4ef290(0xfb)](!0x0);_0x4ef290(0xf5)===_0x3fa1b7?_0x10caa7(_0x5f4658,_0x197024):_0x4ef290(0xf2)===_0x3fa1b7?_0x360907(_0x5f4658,_0x197024):_0x4ef290(0xe5)===_0x3fa1b7?_0x52004b(_0x5f4658,_0x197024):_0x4ef290(0xfc)===_0x3fa1b7&&_0x2203d0(_0x5f4658,_0x197024);}function _0x4a0a(_0x1ce16b,_0x12bd14){const _0x579696=_0x5796();return _0x4a0a=function(_0x4a0aca,_0x31f93e){_0x4a0aca=_0x4a0aca-0xe3;let _0x38584c=_0x579696[_0x4a0aca];return _0x38584c;},_0x4a0a(_0x1ce16b,_0x12bd14);}export function moveElement(_0xdfc299,_0x38243b){_0x3a5318(_0xdfc299),_0x54591b(_0x38243b,_0xdfc299);}export function clone(_0x36ffd0){const _0x49bc31=_0x4a0a;return _0x36ffd0[_0x49bc31(0xfb)](!0x0);}export function getParents(_0x156ac0){const _0x4d559a=_0x4a0a,_0x3bcee0=[];let _0x1b3dc9=_0x156ac0;for(;_0x1b3dc9;)_0x1b3dc9=_0x2637d2(_0x1b3dc9),_0x1b3dc9&&_0x3bcee0[_0x4d559a(0xed)](_0x1b3dc9);return _0x3bcee0;}export function normalizeHTML(_0x35965d){const _0x4cefcb=_0x4a0a;return _0x35965d[_0x4cefcb(0xf7)](/^\s+/gm,'')[_0x4cefcb(0xf7)](/\s+$/gm,'')[_0x4cefcb(0xf7)](/\n*/g,'')[_0x4cefcb(0xf7)](/\s+/g,'\x20')[_0x4cefcb(0xf7)](/>\s*</g,'><');}export function areNodesSame(_0x58c9ad,_0x4bbdc9){return normalizeHTML(serialize(_0x58c9ad))===normalizeHTML(serialize(_0x4bbdc9));}export function getNodeNestingLevel(_0x1dd27a){const _0x422e23=_0x4a0a;let _0x3c98d1=0x0;for(;_0x1dd27a[_0x422e23(0xe4)];)_0x1dd27a=_0x1dd27a[_0x422e23(0xe4)],_0x3c98d1++;return _0x3c98d1;}export function removeElementsAfter(_0x4d8a40){const _0xc7f109=_0x4a0a,_0x4c7e33=[];let _0x19cbf3=_0x4d8a40[_0xc7f109(0xec)];for(;_0x19cbf3;)_0x4c7e33[_0xc7f109(0xed)](_0x19cbf3),_0x19cbf3=_0x19cbf3[_0xc7f109(0xec)];_0x4c7e33[_0xc7f109(0xef)](_0x51e853=>{_0x3a5318(_0x51e853);});}export function getNodePath(_0x2d21ce){const _0x3c995b=_0x4a0a;return[_0x2d21ce,...getParents(_0x2d21ce)][_0x3c995b(0xf3)](0x0,-0x1)[_0x3c995b(0xe8)](_0x220074=>{const _0x119657=_0x3c995b,_0x123488=_0x2637d2(_0x220074);return _0x11b8b5(_0x123488)[_0x119657(0xf4)](_0x220074);})[_0x3c995b(0xeb)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x125543=_0x206a;(function(_0x2ab6b6,_0x130022){const _0x344f96=_0x206a,_0x50b9d5=_0x2ab6b6();while(!![]){try{const _0x5bf934=-parseInt(_0x344f96(0x142))/0x1*(-parseInt(_0x344f96(0x152))/0x2)+parseInt(_0x344f96(0x145))/0x3+parseInt(_0x344f96(0x11c))/0x4+parseInt(_0x344f96(0x144))/0x5+parseInt(_0x344f96(0x118))/0x6+-parseInt(_0x344f96(0x13a))/0x7*(parseInt(_0x344f96(0x14b))/0x8)+-parseInt(_0x344f96(0x13b))/0x9*(parseInt(_0x344f96(0x128))/0xa);if(_0x5bf934===_0x130022)break;else _0x50b9d5['push'](_0x50b9d5['shift']());}catch(_0x4cf1b5){_0x50b9d5['push'](_0x50b9d5['shift']());}}}(_0x51a5,0x37ed1));import _0x4e8083 from'morphdom';function _0x206a(_0xd0948a,_0x1d16e5){const _0x51a531=_0x51a5();return _0x206a=function(_0x206a40,_0x34bb04){_0x206a40=_0x206a40-0x117;let _0x2cb9b6=_0x51a531[_0x206a40];return _0x2cb9b6;},_0x206a(_0xd0948a,_0x1d16e5);}import{NodeWithChildren as _0x40c488,Text as _0xb8dc81,Element as _0x131538,isText as _0x220a4c,isDocument as _0x3437d8,isTag as _0x23e314,cloneNode as _0x4bb836,getChildren as _0x26815e,prepend as _0x142513,removeElement as _0x4dbd70,textContent as _0x4f1f42,render as _0x5345a4}from'./htmlparser.js';import{logWarning as _0x34c410}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x125543(0x12e)];[_0x125543(0x129)]=!0x1;[_0x125543(0x12f)]=null;[_0x125543(0x12a)]=[];[_0x125543(0x13f)]=0x0;[_0x125543(0x119)]=null;constructor(_0x5e7a42){const _0x199efe=_0x125543;this[_0x199efe(0x12e)]={'delay':_0x5e7a42[_0x199efe(0x153)]??0x14,'textNodeStyle':_0x5e7a42[_0x199efe(0x122)],'onStreamUpdate':_0x5e7a42[_0x199efe(0x138)]||(()=>{})};}async[_0x125543(0x117)]({document:_0x33f43e,targetElement:_0x395faf,abortSignal:_0x4248ae}){const _0x2ab4bb=_0x125543;this[_0x2ab4bb(0x129)]&&this[_0x2ab4bb(0x137)](),_0x4248ae?.[_0x2ab4bb(0x14f)](_0x2ab4bb(0x14e),this[_0x2ab4bb(0x137)][_0x2ab4bb(0x11d)](this)),this[_0x2ab4bb(0x12f)]=_0x4bb836(_0x33f43e,!0x0),this[_0x2ab4bb(0x12a)]=this[_0x2ab4bb(0x11a)](),this[_0x2ab4bb(0x129)]=!0x0,this[_0x2ab4bb(0x13f)]>this[_0x2ab4bb(0x12a)][_0x2ab4bb(0x13d)]&&(_0x34c410(_0x2ab4bb(0x146),{'currentIndex':this[_0x2ab4bb(0x13f)],'nodeList':this[_0x2ab4bb(0x12a)]}),this[_0x2ab4bb(0x13f)]=this[_0x2ab4bb(0x12a)][_0x2ab4bb(0x13d)]);for(let _0x45b92b=0x0;_0x45b92b<this[_0x2ab4bb(0x13f)];_0x45b92b++)this[_0x2ab4bb(0x12a)][_0x45b92b][_0x2ab4bb(0x148)]=!0x0;let _0x338885=0x0;for(let _0x2b09ed=this[_0x2ab4bb(0x13f)];_0x2b09ed<this[_0x2ab4bb(0x12a)][_0x2ab4bb(0x13d)];_0x2b09ed++){const _0x4965c5=Date[_0x2ab4bb(0x139)](),_0x2a4c28=this[_0x2ab4bb(0x12a)][_0x2b09ed],_0x535f16=_0x4965c5-_0x338885;_0x2a4c28[_0x2ab4bb(0x148)]=!0x0;let _0x1b3870=_0x2a4c28[_0x2ab4bb(0x13c)];for(;_0x1b3870;)_0x1b3870[_0x2ab4bb(0x148)]=!0x0,_0x1b3870=_0x1b3870[_0x2ab4bb(0x13c)];if(_0x535f16<this[_0x2ab4bb(0x12e)][_0x2ab4bb(0x153)])try{const {promise:_0x25b1f9,abortController:_0x1b32d7}=br(this[_0x2ab4bb(0x12e)][_0x2ab4bb(0x153)]-_0x535f16);this[_0x2ab4bb(0x119)]=_0x1b32d7,await _0x25b1f9;}catch(_0x346f0a){return;}_0x4e8083(_0x395faf,'<'+_0x395faf[_0x2ab4bb(0x11b)]+'>'+this[_0x2ab4bb(0x150)](this[_0x2ab4bb(0x12f)])+'</'+_0x395faf[_0x2ab4bb(0x11b)]+'>',{'childrenOnly':!0x0}),this[_0x2ab4bb(0x12e)][_0x2ab4bb(0x138)]&&this[_0x2ab4bb(0x12e)][_0x2ab4bb(0x138)](),this[_0x2ab4bb(0x13f)]=_0x2b09ed,_0x338885=Date[_0x2ab4bb(0x139)]();}this[_0x2ab4bb(0x129)]=!0x1;}[_0x125543(0x126)]({targetElement:_0x85988c}){const _0x2d382c=_0x125543;Array[_0x2d382c(0x14d)](_0x85988c[_0x2d382c(0x11e)](_0x2d382c(0x130)))[_0x2d382c(0x149)]()[_0x2d382c(0x13e)](_0x35e7a5=>{const _0x518ff3=_0x2d382c;_0x35e7a5[_0x518ff3(0x133)](_0x35e7a5[_0x518ff3(0x127)][0x0]);});}[_0x125543(0x137)](){const _0x383c76=_0x125543;this[_0x383c76(0x129)]=!0x1,this[_0x383c76(0x119)]&&(this[_0x383c76(0x119)][_0x383c76(0x14e)](),this[_0x383c76(0x119)]=null);}[_0x125543(0x150)](_0x32c36d){const _0x4ec12=_0x125543;let _0x41dee4='';if(function(_0xdba292){return _0x3437d8(_0xdba292);}(_0x32c36d)){for(const _0x589972 of _0x32c36d[_0x4ec12(0x132)])_0x41dee4+=this[_0x4ec12(0x150)](_0x589972);}else{if(pr(_0x32c36d)){if(!_0x32c36d[_0x4ec12(0x148)])return'';const _0x5024b3=_0x32c36d,_0x7b0496=Object[_0x4ec12(0x12d)](_0x5024b3[_0x4ec12(0x11f)])[_0x4ec12(0x120)](([_0x284ab2,_0x4ff3b8])=>_0x284ab2+'=\x22'+_0x4ff3b8+'\x22')[_0x4ec12(0x12b)]('\x20');_0x41dee4+='<'+_0x5024b3[_0x4ec12(0x11b)]+(_0x7b0496?'\x20'+_0x7b0496:'')+'>';for(const _0x46330f of _0x26815e(_0x5024b3))_0x41dee4+=this[_0x4ec12(0x150)](_0x46330f);_0x41dee4+='</'+_0x5024b3[_0x4ec12(0x11b)]+'>';}else{if(!dr(_0x32c36d))return'';if(!_0x32c36d[_0x4ec12(0x148)])return'';!function(_0x5456ce){const _0x37c91f=_0x4ec12;if(!_0x5456ce[_0x37c91f(0x13c)]||!pr(_0x5456ce[_0x37c91f(0x13c)]))return!0x1;if(!ar[_0x37c91f(0x131)](_0x5456ce[_0x37c91f(0x13c)][_0x37c91f(0x11b)]))return!0x1;return!_0x4f1f42(_0x5456ce)[_0x37c91f(0x125)](/^\s*[<>]\s*$/);}(_0x32c36d)?_0x41dee4+=_0x5345a4(_0x32c36d):_0x41dee4+=_0x5345a4(new _0x131538(_0x4ec12(0x143),{'data-ck-html-streamer-word-chunk':'','style':this[_0x4ec12(0x12e)][_0x4ec12(0x122)]},[_0x32c36d]));}}return _0x41dee4;}[_0x125543(0x11a)](){const _0x42cafb=_0x125543,_0x4000ff=[];return function(_0x233c3a,_0x319d90){const _0x21a30a=_0x206a,_0x5212a2=_0x40529f=>{const _0x3c980=_0x206a;if(_0x319d90(_0x40529f),_0x40529f instanceof _0x40c488)for(let _0x1a1c3e=0x0;_0x1a1c3e<_0x40529f[_0x3c980(0x132)][_0x3c980(0x13d)];_0x1a1c3e++){const _0x574912=_0x40529f[_0x3c980(0x132)][_0x1a1c3e];_0x5212a2(_0x574912);}};for(let _0x16377d=0x0;_0x16377d<_0x233c3a[_0x21a30a(0x132)][_0x21a30a(0x13d)];_0x16377d++)_0x5212a2(_0x233c3a[_0x21a30a(0x132)][_0x16377d]);}(this[_0x42cafb(0x12f)],_0xea222b=>{const _0x3fc4ca=_0x42cafb;if(dr(_0xea222b)){const _0x3c3b54=this[_0x3fc4ca(0x134)](_0xea222b);_0x3c3b54[_0x3fc4ca(0x13d)]&&_0x4000ff[_0x3fc4ca(0x151)](..._0x3c3b54);}_0xea222b[_0x3fc4ca(0x140)]||_0xea222b[_0x3fc4ca(0x12c)]||_0x4000ff[_0x3fc4ca(0x151)](_0xea222b);}),_0x4000ff;}[_0x125543(0x134)](_0x30f37f){const _0x4bc449=_0x125543;if(_0x30f37f[_0x4bc449(0x140)]||_0x30f37f[_0x4bc449(0x12c)])return[];const _0x567f0b=_0x4f1f42(_0x30f37f)[_0x4bc449(0x125)](/(?:\s*\S+\s*)/g),_0x4ee512=[];if(_0x567f0b&&_0x567f0b[_0x4bc449(0x13d)]>0x1){for(const _0x29abd3 of _0x567f0b){const _0x4ec7c3=new _0xb8dc81(_0x29abd3);_0x4ec7c3[_0x4bc449(0x12c)]=!0x0,_0x142513(_0x30f37f,_0x4ec7c3),_0x4ee512[_0x4bc449(0x151)](_0x4ec7c3);}_0x30f37f[_0x4bc449(0x140)]=!0x0,_0x4dbd70(_0x30f37f);}return _0x4ee512;}}const ar=['p','li','td','th',_0x125543(0x143),'h1','h2','h3','h4','h5','h6','b',_0x125543(0x135),'i','em',_0x125543(0x147),_0x125543(0x14c),_0x125543(0x14a),_0x125543(0x141),_0x125543(0x136),'a',_0x125543(0x123),_0x125543(0x121)];function _0x51a5(){const _0x1bd46b=['entries','options','document','span[data-ck-html-streamer-word-chunk]','includes','children','replaceWith','splitTextNodeIntoWordNodes','strong','sub','stop','onStreamUpdate','now','6202WcJhIP','4399587NItNsz','parent','length','forEach','currentIndex','isWordSplitSource','sup','63669leIHvv','span','647100lKFZgt','678069DEIPFG','ai-html-streamer-current-index-out-of-bounds','mark','shouldBeStreamed','reverse','ins','368awsdIr','del','from','abort','addEventListener','renderNode','push','2oQhncd','delay','stream','2646102TehrsM','timeoutAbortController','getParsedDocumentNodeList','tagName','1549544ADEFCi','bind','querySelectorAll','attribs','map','div','textNodeStyle','code','signal','match','cleanUpAnimations','childNodes','20TmJNOl','isStreaming','nodesList','join','isWordSplitResult'];_0x51a5=function(){return _0x1bd46b;};return _0x51a5();}function dr(_0x59e173){return _0x220a4c(_0x59e173);}function pr(_0xe417f4){return _0x23e314(_0xe417f4);}function br(_0x280e09){const _0x236ed7=new AbortController();return{'promise':new Promise((_0x3679ff,_0x533652)=>{const _0x4a076f=_0x206a,_0x4268fe=setTimeout(_0x3679ff,_0x280e09);_0x236ed7[_0x4a076f(0x124)][_0x4a076f(0x14f)](_0x4a076f(0x14e),()=>{clearTimeout(_0x4268fe),_0x533652();});}),'abortController':_0x236ed7};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x672fa8=_0x1ec4;(function(_0x5a7604,_0x18c7e1){const _0x365ebc=_0x1ec4,_0x3316e3=_0x5a7604();while(!![]){try{const _0x1b74b9=parseInt(_0x365ebc(0x185))/0x1+-parseInt(_0x365ebc(0x17c))/0x2+-parseInt(_0x365ebc(0x191))/0x3+parseInt(_0x365ebc(0x18a))/0x4*(-parseInt(_0x365ebc(0x1a0))/0x5)+-parseInt(_0x365ebc(0x19c))/0x6*(-parseInt(_0x365ebc(0x17e))/0x7)+parseInt(_0x365ebc(0x182))/0x8*(parseInt(_0x365ebc(0x196))/0x9)+-parseInt(_0x365ebc(0x17b))/0xa;if(_0x1b74b9===_0x18c7e1)break;else _0x3316e3['push'](_0x3316e3['shift']());}catch(_0x4afbb3){_0x3316e3['push'](_0x3316e3['shift']());}}}(_0x84e0,0x83c41));const As=[_0x672fa8(0x177),_0x672fa8(0x195),_0x672fa8(0x186),_0x672fa8(0x19e)],fs=[_0x672fa8(0x17d),_0x672fa8(0x194),_0x672fa8(0x199),_0x672fa8(0x179),_0x672fa8(0x183),_0x672fa8(0x19f),'\x20'];function _0x1ec4(_0x46f96e,_0x3e23b3){const _0x84e02a=_0x84e0();return _0x1ec4=function(_0x1ec4e3,_0x5c7bd9){_0x1ec4e3=_0x1ec4e3-0x176;let _0x18ad49=_0x84e02a[_0x1ec4e3];return _0x18ad49;},_0x1ec4(_0x46f96e,_0x3e23b3);}export class ScrollManager{[_0x672fa8(0x193)];[_0x672fa8(0x197)];[_0x672fa8(0x189)];[_0x672fa8(0x18f)];[_0x672fa8(0x178)];constructor(_0x22f484){const _0x5266f8=_0x672fa8;this[_0x5266f8(0x193)]=_0x22f484,this[_0x5266f8(0x197)]=null,this[_0x5266f8(0x189)]=!0x1,this[_0x5266f8(0x18f)]=new AbortController(),this[_0x5266f8(0x178)]=!0x1;for(const _0x4a842e of As){const _0x2a6b10=_0x5266f8(0x19e)!==_0x4a842e;this[_0x5266f8(0x193)][_0x5266f8(0x19a)](_0x4a842e,this[_0x5266f8(0x18c)][_0x5266f8(0x18d)](this),{'passive':_0x2a6b10,'signal':this[_0x5266f8(0x18f)][_0x5266f8(0x192)]});}}[_0x672fa8(0x17f)](){const _0x5c0e48=_0x672fa8;this[_0x5c0e48(0x189)]||(this[_0x5c0e48(0x189)]=!0x0,this[_0x5c0e48(0x178)]=!0x1,this[_0x5c0e48(0x197)]=requestAnimationFrame(this[_0x5c0e48(0x184)][_0x5c0e48(0x18d)](this)));}[_0x672fa8(0x19b)](){requestAnimationFrame(()=>{const _0x56113a=_0x1ec4;this[_0x56113a(0x18e)]();});}[_0x672fa8(0x198)](){const _0x9b63fa=_0x672fa8;this[_0x9b63fa(0x18e)](),this[_0x9b63fa(0x18f)][_0x9b63fa(0x190)]();}[_0x672fa8(0x18e)](){const _0x599e06=_0x672fa8;null!==this[_0x599e06(0x197)]&&(cancelAnimationFrame(this[_0x599e06(0x197)]),this[_0x599e06(0x197)]=null),this[_0x599e06(0x189)]&&(this[_0x599e06(0x189)]=!0x1),this[_0x599e06(0x178)]=!0x1;}[_0x672fa8(0x18c)](_0x2d2d96){const _0x217d09=_0x672fa8;if(this[_0x217d09(0x189)]){if(_0x217d09(0x19e)===_0x2d2d96[_0x217d09(0x176)]){const _0x53ff1f=_0x2d2d96[_0x217d09(0x188)];if(!fs[_0x217d09(0x187)](_0x53ff1f))return;}_0x2d2d96 instanceof WheelEvent?_0x2d2d96[_0x217d09(0x19d)]<0x0?this[_0x217d09(0x178)]=!0x0:this[_0x217d09(0x178)]=!this[_0x217d09(0x180)]():this[_0x217d09(0x178)]=!0x0;}}[_0x672fa8(0x180)](){const _0x15129d=_0x672fa8,{scrollTop:_0x92884a,scrollHeight:_0x39deb0,clientHeight:_0x46aa86}=this[_0x15129d(0x193)];return _0x39deb0-_0x92884a-_0x46aa86<=0x5;}[_0x672fa8(0x184)](){const _0x379424=_0x672fa8;this[_0x379424(0x189)]&&(this[_0x379424(0x178)]||this[_0x379424(0x193)][_0x379424(0x18b)]({'top':this[_0x379424(0x193)][_0x379424(0x181)],'behavior':_0x379424(0x17a)}),this[_0x379424(0x197)]=requestAnimationFrame(this[_0x379424(0x184)][_0x379424(0x18d)](this)));}}function _0x84e0(){const _0x385966=['keydown','End','49415kFGfLV','type','wheel','isUserPaused','PageDown','auto','4792130DdWiKW','744328AXPJkl','ArrowUp','310863IvsgCL','start','_isAtBottom','scrollHeight','12248ijwoJc','Home','_rafUpdate','1003063KFyMxc','pointerdown','includes','key','isRunning','164wRcovS','scrollTo','_onUserEvent','bind','_stop','abortController','abort','45444jKPQIq','signal','element','ArrowDown','touchstart','4491hVxWNo','animationFrameId','destroy','PageUp','addEventListener','stop','6dUbRgx','deltaY'];_0x84e0=function(){return _0x385966;};return _0x84e0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7a311d=_0x1d44;(function(_0x444578,_0x297811){const _0x59b226=_0x1d44,_0x20700d=_0x444578();while(!![]){try{const _0x29a8f0=-parseInt(_0x59b226(0x1cd))/0x1+-parseInt(_0x59b226(0x1c7))/0x2*(parseInt(_0x59b226(0x1d5))/0x3)+parseInt(_0x59b226(0x1da))/0x4+parseInt(_0x59b226(0x1db))/0x5+parseInt(_0x59b226(0x1c8))/0x6+parseInt(_0x59b226(0x1d1))/0x7*(parseInt(_0x59b226(0x1dc))/0x8)+-parseInt(_0x59b226(0x1e1))/0x9*(parseInt(_0x59b226(0x1c3))/0xa);if(_0x29a8f0===_0x297811)break;else _0x20700d['push'](_0x20700d['shift']());}catch(_0x15cbf7){_0x20700d['push'](_0x20700d['shift']());}}}(_0x1f99,0x23c95));import{Plugin as _0x5c8aa8}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x2d4a1a}from'./toggleaicommand.js';function _0x1d44(_0x12cc57,_0x1ddca4){const _0x1f9919=_0x1f99();return _0x1d44=function(_0x1d4407,_0x5ab2d7){_0x1d4407=_0x1d4407-0x1bf;let _0x3fb24b=_0x1f9919[_0x1d4407];return _0x3fb24b;},_0x1d44(_0x12cc57,_0x1ddca4);}import{ButtonView as _0x12e5bc,MenuBarMenuListItemButtonView as _0x2d29db}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0xbc96b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4f3767}from'../../aicore/utils/common-translations.js';function _0x1f99(){const _0x2cb85d=['locale','9OBtqpD','toggleAi','editor','isOn','value','2894230MaVfAd','_createAIUIButton','componentFactory','isEnabled','2oXIXPL','1399842Aglltx','ck-ai-toggle-button','menuitemcheckbox','AIToggleButtonUI','execute','86247xgfSCP','set','init','add','1572221sYHChE','requires','get','bind','493338osHaBg','commands','pluginName','isPremiumPlugin','listenTo','839104gzHKky','95055aEIXdm','8qgIooz','isOfficialPlugin','menuBar:toggleAi','AI_TOGGLE_BUTTON_LABEL'];_0x1f99=function(){return _0x2cb85d;};return _0x1f99();}import{AITabs as _0xd8f0c4}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x5c8aa8{static get[_0x7a311d(0x1d2)](){return[_0xd8f0c4];}static get[_0x7a311d(0x1d7)](){const _0x49a1f9=_0x7a311d;return _0x49a1f9(0x1cb);}static get[_0x7a311d(0x1dd)](){return!0x0;}static get[_0x7a311d(0x1d8)](){return!0x0;}[_0x7a311d(0x1cf)](){const _0x375068=_0x7a311d,_0x383c53=this[_0x375068(0x1c0)];_0x383c53[_0x375068(0x1d6)][_0x375068(0x1d0)](_0x375068(0x1bf),new _0x2d4a1a(_0x383c53)),_0x383c53['ui'][_0x375068(0x1c5)][_0x375068(0x1d0)](_0x375068(0x1bf),()=>{const _0x540103=_0x375068,_0x406dda=this[_0x540103(0x1c4)](_0x12e5bc);return _0x406dda[_0x540103(0x1ce)]({'tooltip':!0x0,'class':_0x540103(0x1c9)}),_0x406dda;}),_0x383c53['ui'][_0x375068(0x1c5)][_0x375068(0x1d0)](_0x375068(0x1de),()=>{const _0xf3b0f4=_0x375068,_0x208406=this[_0xf3b0f4(0x1c4)](_0x2d29db);return _0x208406[_0xf3b0f4(0x1ce)]({'role':_0xf3b0f4(0x1ca)}),_0x208406;});}[_0x7a311d(0x1c4)](_0x267baa){const _0x557b65=_0x7a311d,_0x109e0f=this[_0x557b65(0x1c0)],_0x318808=_0x109e0f[_0x557b65(0x1d6)][_0x557b65(0x1d3)](_0x557b65(0x1bf)),_0x11e416=new _0x267baa(_0x109e0f[_0x557b65(0x1e0)]);return _0x11e416[_0x557b65(0x1ce)]({'label':_0x4f3767(_0x109e0f[_0x557b65(0x1e0)],_0x557b65(0x1df)),'icon':_0xbc96b,'isToggleable':!0x0}),_0x11e416[_0x557b65(0x1d4)](_0x557b65(0x1c6))['to'](_0x318808),_0x11e416[_0x557b65(0x1d4)](_0x557b65(0x1c1))['to'](_0x318808,_0x557b65(0x1c2),_0x3aaa66=>!!_0x3aaa66),this[_0x557b65(0x1d9)](_0x11e416,_0x557b65(0x1cc),()=>{const _0x3c0da7=_0x557b65;_0x318808[_0x3c0da7(0x1cc)]();}),_0x11e416;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30d144=_0x117a;(function(_0x166feb,_0x28aeae){const _0x5503b5=_0x117a,_0x32d865=_0x166feb();while(!![]){try{const _0x1f0ec8=-parseInt(_0x5503b5(0x84))/0x1*(-parseInt(_0x5503b5(0x73))/0x2)+-parseInt(_0x5503b5(0xa9))/0x3*(parseInt(_0x5503b5(0x8a))/0x4)+-parseInt(_0x5503b5(0xa5))/0x5*(parseInt(_0x5503b5(0x83))/0x6)+parseInt(_0x5503b5(0x79))/0x7+parseInt(_0x5503b5(0x8c))/0x8*(-parseInt(_0x5503b5(0x77))/0x9)+-parseInt(_0x5503b5(0x9e))/0xa+parseInt(_0x5503b5(0x9b))/0xb;if(_0x1f0ec8===_0x28aeae)break;else _0x32d865['push'](_0x32d865['shift']());}catch(_0x1c4b94){_0x32d865['push'](_0x32d865['shift']());}}}(_0x4a41,0x25ca4));import{Command as _0x3dc396}from'ckeditor5/src/core.js';function _0x117a(_0x361607,_0x4e8f20){const _0x4a4173=_0x4a41();return _0x117a=function(_0x117a63,_0x4583ea){_0x117a63=_0x117a63-0x6e;let _0x4baf11=_0x4a4173[_0x117a63];return _0x4baf11;},_0x117a(_0x361607,_0x4e8f20);}import{CKEditorError as _0x19ffe1,first as _0x5e275e}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0xf98786}from'./aiquickactionsui.js';import{getTranslation as _0x13c3d7}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x3dc396{[_0x30d144(0x8d)](_0x6689f7){const _0x3f550c=_0x30d144;switch(this[_0x3f550c(0x81)](),_0x6689f7[_0x3f550c(0x93)]){case _0xf98786[_0x3f550c(0x86)]:if(!this[_0x3f550c(0x75)][_0x3f550c(0x92)][_0x3f550c(0x78)](_0x3f550c(0xa7))){const _0x6acef9=_0x13c3d7(this[_0x3f550c(0x75)][_0x3f550c(0x98)],_0x3f550c(0x87),_0x3f550c(0xa7));throw new _0x19ffe1(_0x3f550c(0xa6),this[_0x3f550c(0x75)],{'errorMessage':_0x6acef9});}this[_0x3f550c(0x9d)](_0x6689f7);break;case _0xf98786[_0x3f550c(0x71)]:if(!this[_0x3f550c(0x75)][_0x3f550c(0x92)][_0x3f550c(0x78)](_0x3f550c(0x96))){const _0x58bea4=_0x13c3d7(this[_0x3f550c(0x75)][_0x3f550c(0x98)],_0x3f550c(0x87),_0x3f550c(0x96));throw new _0x19ffe1(_0x3f550c(0xa6),this[_0x3f550c(0x75)],{'errorMessage':_0x58bea4});}this[_0x3f550c(0x90)](_0x6689f7);break;case _0xf98786[_0x3f550c(0x97)]:if(!this[_0x3f550c(0x75)][_0x3f550c(0x92)][_0x3f550c(0x78)](_0x3f550c(0x82))){const _0x59aa86=_0x13c3d7(this[_0x3f550c(0x75)][_0x3f550c(0x98)],_0x3f550c(0x87),_0x3f550c(0x82));throw new _0x19ffe1(_0x3f550c(0xa6),this[_0x3f550c(0x75)],{'errorMessage':_0x59aa86});}this[_0x3f550c(0xaa)](_0x6689f7);}}async[_0x30d144(0x9d)](_0x2cc5a7){const _0x5ba141=_0x30d144,_0x1dbb6f=this[_0x5ba141(0x75)][_0x5ba141(0x92)][_0x5ba141(0x8f)](_0x5ba141(0xa7)),_0x5b5545=this[_0x5ba141(0x75)][_0x5ba141(0x92)][_0x5ba141(0x8f)](_0x5ba141(0x72)),_0x135a98=this[_0x5ba141(0x75)][_0x5ba141(0x92)][_0x5ba141(0x8f)](_0x5ba141(0x7e))[_0x5ba141(0x7f)];if(_0x135a98[_0x5ba141(0xa1)]||(_0x135a98[_0x5ba141(0xa1)]=!0x0),_0x5ba141(0x6f)!==_0x135a98[_0x5ba141(0x89)]&&_0x135a98[_0x5ba141(0x70)](_0x5ba141(0x6f)),_0x5ba141(0x7b)===_0x2cc5a7['id'])_0x5b5545[_0x5ba141(0x94)](),await _0x1dbb6f[_0x5ba141(0x7a)](),_0x1dbb6f[_0x5ba141(0xa4)]();else await _0x1dbb6f[_0x5ba141(0x9a)](),_0x5b5545[_0x5ba141(0x94)](),await _0x1dbb6f[_0x5ba141(0x7a)](),_0x1dbb6f[_0x5ba141(0xa4)](),await _0x1dbb6f[_0x5ba141(0xa3)]({'message':_0x2cc5a7[_0x5ba141(0x80)]||_0x2cc5a7[_0x5ba141(0x8e)],'quickActionData':{'id':_0x2cc5a7['id'],'displayedPrompt':_0x2cc5a7[_0x5ba141(0x8e)]}});}[_0x30d144(0x81)](){const _0x2e3217=_0x30d144,_0x5e6b7f=this[_0x2e3217(0x75)],_0x52c130=_0x5e6b7f[_0x2e3217(0x99)][_0x2e3217(0x7c)][_0x2e3217(0xab)];if(!_0x52c130[_0x2e3217(0x91)])return;const _0x3969a3=_0x5e275e(_0x52c130[_0x2e3217(0xa0)]())||_0x5e6b7f[_0x2e3217(0x99)][_0x2e3217(0x6e)][_0x2e3217(0xa2)](_0x52c130);_0x5e6b7f[_0x2e3217(0x99)][_0x2e3217(0x74)](_0x301308=>{const _0x934e81=_0x2e3217;_0x301308[_0x934e81(0x76)](_0x3969a3,'in');});}[_0x30d144(0xa8)](_0x156df0){const _0x598f4f=_0x30d144;return _0x156df0[_0x598f4f(0xad)]?.[_0x598f4f(0xac)]&&_0x598f4f(0x85)!==_0x156df0[_0x598f4f(0xad)]?.['id']?_0x156df0[_0x598f4f(0xad)][_0x598f4f(0xac)]+':\x20'+_0x156df0[_0x598f4f(0x8e)]:_0x156df0[_0x598f4f(0x8e)];}async[_0x30d144(0x90)](_0x189078){const _0x55a5fb=_0x30d144,_0x22764e=this[_0x55a5fb(0x75)][_0x55a5fb(0x92)][_0x55a5fb(0x8f)](_0x55a5fb(0x96)),_0x3eb1fb=_0x189078[_0x55a5fb(0x80)]?{'userMessage':_0x189078[_0x55a5fb(0x80)],'model':_0x189078[_0x55a5fb(0x99)]}:{'actionName':_0x189078[_0x55a5fb(0x7d)]||_0x189078['id'],'args':_0x189078[_0x55a5fb(0x8b)]},_0x59c3da=this[_0x55a5fb(0xa8)](_0x189078);await _0x22764e[_0x55a5fb(0x95)](_0x3eb1fb,_0x59c3da,_0x189078[_0x55a5fb(0x88)]);}async[_0x30d144(0xaa)](_0x17cea6){const _0x56300c=_0x30d144;console[_0x56300c(0x9f)](_0x56300c(0x9c),_0x17cea6);}}function _0x4a41(){const _0x5c4ec4=['ask-ai','document','actionName','AITabs','view','prompt','_expandSelectionIfCollapsed','AIReviewMode','12gpwntK','24793hEjRuc','other','CHAT','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','icon','activeTab','8lqoysU','args','24tAcmsm','execute','displayedPrompt','get','_handleAIActionsAction','isCollapsed','plugins','type','removeSelectionFromChatContext','executeAction','AIActions','REVIEW','locale','model','startConversation','6295058GkOEAk','handleAIReviewAction','_handleAIChatAction','1780280pSRtZP','log','getSelectedBlocks','isVisible','getLimitElement','sendMessage','focusPromptInput','591835otEoET','ai-quick-actions-plugin-not-found','AIChat','_handleAIActionsActionLabel','124635KeWUYI','_handleAIReviewAction','selection','label','parent','schema','chat','activateTab','ACTION','AIChatController','2eTTIdL','change','editor','setSelection','71010LNXNIX','has','554673lhLqCj','addSelectionToChatContext'];_0x4a41=function(){return _0x5c4ec4;};return _0x4a41();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x27d264=_0x325d;(function(_0x5d4ffd,_0x2e61b9){const _0x28988e=_0x325d,_0x55a036=_0x5d4ffd();while(!![]){try{const _0x2ed56d=-parseInt(_0x28988e(0x1ba))/0x1+parseInt(_0x28988e(0x195))/0x2*(-parseInt(_0x28988e(0x1ac))/0x3)+-parseInt(_0x28988e(0x171))/0x4*(-parseInt(_0x28988e(0x169))/0x5)+-parseInt(_0x28988e(0x1de))/0x6*(-parseInt(_0x28988e(0x196))/0x7)+-parseInt(_0x28988e(0x1d6))/0x8*(-parseInt(_0x28988e(0x182))/0x9)+parseInt(_0x28988e(0x1c9))/0xa*(parseInt(_0x28988e(0x1df))/0xb)+-parseInt(_0x28988e(0x192))/0xc;if(_0x2ed56d===_0x2e61b9)break;else _0x55a036['push'](_0x55a036['shift']());}catch(_0x3c94e2){_0x55a036['push'](_0x55a036['shift']());}}}(_0x102c,0x5100e));import{IconAIAdjustLength as _0x37062b,IconAIChangeTone as _0x112e4e,IconAIChatCommands as _0x4a4db2,IconAIContinueWriting as _0x270248,IconAIGrammarCheck as _0x3ad7f9,IconAIImproveWriting as _0x515261,IconAIOther as _0x18534b,IconAIQuickActions as _0x477520,IconAITranslate as _0x44b5db}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1537ea}from'ckeditor5/src/core.js';function _0x102c(){const _0x420a15=['locale','aiQuickActions','_shouldIncludeAction','icon','REVIEW','length','AI_QUICK_ACTIONS_ADJUST_LENGTH','AIQuickActionsUI','highlight-key-points','portuguese','displayedPrompt','3246872TiTviD','_initializeQuickActionsComponentsAndCommands','improve-writing','AI_QUICK_ACTIONS_MORE_DIRECT','_quickActionsDefinition','label','AI_QUICK_ACTIONS_MORE_CONFIDENT','continue','119694kLEQll','1044395blmswI','attachToDom','ask-ai','ai.quickActions.isSearchEnabled','get','close','isPremiumPlugin','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','map','isEnabled','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','chinese','model','ai.chat.models.displayedModels','fix-grammar','AIActions','_initializeQuickActionsDropdown','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_IMPROVE_WRITING','make-tone-professional','korean','uiLanguage','aiQuickAction','componentFactory','translate-to-english','summarize','translate-to-portuguese','children','DisplayNames','AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_CONTINUE_WRITING','other','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AIChat','ai.chat.context.document.enabled','_prepareQuickActionsDefinition','make-tone-confident','ai.quickActions.removeCommands','items','pluginName','translate-to-chinese','80QUzZdt','translate-to-french','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','filter','english','AI_QUICK_ACTIONS_MAKE_LONGER','menuitem','translate-to-korean','151736brOgML','french','init','replace','AI_QUICK_ACTIONS_HEADING','ai-quick-actions-unavailable-model','translate-to-russian','has','AIConnector','translate-to-japanese','editor','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_getDefaultAndCustomActions','language','requires','menuBarView','make-tone-direct','9PlVnbX','translate-to-german','menu','AI_QUICK_ACTIONS_OTHER','view','push','values','buttonView','set','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_CHANGE_TONE','delegate','includes','translate','ACTION','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','8720160YhGVGi','find','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','1880bCwnaD','49peMekN','adjust-length','AI_QUICK_ACTIONS_SUMMARIZE','isOfficialPlugin','AI_QUICK_ACTIONS_MAKE_SHORTER','make-tone-casual','CHAT','japanese','make-longer','execute','russian','getAvailableModels','config','chat-commands','actions','AI_QUICK_ACTIONS_MORE_FRIENDLY','_executeQuickAction','AI_QUICK_ACTIONS_CHAT_COMMANDS','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','italian','English','spanish','6GGqDca','panelView','menuBar:aiQuickActions','some','getDefaultQuickActions','translate-to-italian','_initializeQuickActionsComponents','commands','AI_QUICK_ACTIONS_TRANSLATE','ai-quick-actions-models-unable-to-retrieve','message','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','make-tone-friendly','add','566821KSMdoO','ai.quickActions.extraCommands','explain','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','plugins','change-tone','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','make-shorter','focus','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','german','AIReviewMode','forEach','editing','50NQweBA','type'];_0x102c=function(){return _0x420a15;};return _0x102c();}import{CKEditorError as _0x364e45,logError as _0x1ffbf}from'ckeditor5/src/utils.js';import{getTranslation as _0x1398e8}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x50585d}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x57ab04}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x17fa35,BalloonToolbar as _0x209b72,MenuBarMenuView as _0x5e51fd,MenuBarMenuListView as _0x34bc12,MenuBarMenuListItemView as _0x158e63,MenuBarMenuListItemButtonView as _0x1fe2f7}from'ckeditor5/src/ui.js';function _0x325d(_0xbb3456,_0x16d77c){const _0x102c23=_0x102c();return _0x325d=function(_0x325d50,_0x276f99){_0x325d50=_0x325d50-0x150;let _0x528b7e=_0x102c23[_0x325d50];return _0x528b7e;},_0x325d(_0xbb3456,_0x16d77c);}import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0xf736fe}from'../aicore/model/aimodels.js';const oe=_0x27d264(0x1a8),ae=_0x27d264(0x1f2),se=_0x27d264(0x1f1);export var AIQuickActionType;!function(_0x3bfa04){const _0x5a6bc7=_0x27d264;_0x3bfa04[_0x5a6bc7(0x19c)]=_0x5a6bc7(0x19c),_0x3bfa04[_0x5a6bc7(0x190)]=_0x5a6bc7(0x190),_0x3bfa04[_0x5a6bc7(0x1cf)]=_0x5a6bc7(0x1cf);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3f3a3b){const _0x15106b=_0x27d264;_0x3f3a3b[_0x15106b(0x19c)]=_0x15106b(0x161),_0x3f3a3b[_0x15106b(0x190)]=_0x15106b(0x1ef),_0x3f3a3b[_0x15106b(0x1cf)]=_0x15106b(0x1c6);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1537ea{static get[_0x27d264(0x17f)](){return[_0x209b72];}static get[_0x27d264(0x167)](){const _0x3050de=_0x27d264;return _0x3050de(0x1d2);}static get[_0x27d264(0x199)](){return!0x0;}static get[_0x27d264(0x1e5)](){return!0x0;}async[_0x27d264(0x173)](){const _0x4f7333=_0x27d264,_0x1c249c=await this[_0x4f7333(0x17d)]();this[_0x4f7333(0x163)](_0x1c249c),this[_0x4f7333(0x1d7)]();}static[_0x27d264(0x1b0)](_0x3009ec){return function(_0x577e41){const _0x40cdd7=_0x325d,_0x47ac4b=new Intl[(_0x40cdd7(0x15a))](['en'],{'type':_0x40cdd7(0x17e)})['of'](_0x577e41[_0x40cdd7(0x153)]),_0x30878d=_0x47ac4b||_0x40cdd7(0x1aa),_0x44b518=[{'id':_0x40cdd7(0x1e1),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1c0)),'type':AIQuickActionType[_0x40cdd7(0x19c)],'icon':_0x4a4db2},{'id':_0x40cdd7(0x1a3),'label':_0x1398e8(_0x577e41,_0x40cdd7(0x1a7)),'icon':_0x4a4db2,'actions':[{'id':_0x40cdd7(0x1bc),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1f3)),'prompt':oe[_0x40cdd7(0x174)]('%0',_0x30878d),'type':AIQuickActionType[_0x40cdd7(0x19c)]},{'id':_0x40cdd7(0x157),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x198)),'prompt':ae[_0x40cdd7(0x174)]('%0',_0x30878d),'type':AIQuickActionType[_0x40cdd7(0x19c)]},{'id':_0x40cdd7(0x1d3),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1ea)),'prompt':se[_0x40cdd7(0x174)]('%0',_0x30878d),'type':AIQuickActionType[_0x40cdd7(0x19c)]}]},{'id':_0x40cdd7(0x1d8),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x150)),'type':AIQuickActionType[_0x40cdd7(0x190)],'icon':_0x515261},{'id':_0x40cdd7(0x1dd),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x15d)),'type':AIQuickActionType[_0x40cdd7(0x190)],'icon':_0x270248},{'id':_0x40cdd7(0x1ee),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x16b)),'type':AIQuickActionType[_0x40cdd7(0x190)],'icon':_0x3ad7f9},{'id':_0x40cdd7(0x197),'label':_0x1398e8(_0x577e41,_0x40cdd7(0x1d1)),'icon':_0x37062b,'actions':[{'id':_0x40cdd7(0x1c2),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x19a)),'type':AIQuickActionType[_0x40cdd7(0x190)]},{'id':_0x40cdd7(0x19e),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x16e)),'type':AIQuickActionType[_0x40cdd7(0x190)]}]},{'id':_0x40cdd7(0x1bf),'label':_0x1398e8(_0x577e41,_0x40cdd7(0x18c)),'icon':_0x112e4e,'actions':[{'id':_0x40cdd7(0x19b),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x15b)),'type':AIQuickActionType[_0x40cdd7(0x190)]},{'id':_0x40cdd7(0x181),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1d9)),'type':AIQuickActionType[_0x40cdd7(0x190)]},{'id':_0x40cdd7(0x1b8),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1a5)),'type':AIQuickActionType[_0x40cdd7(0x190)]},{'id':_0x40cdd7(0x164),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1dc)),'type':AIQuickActionType[_0x40cdd7(0x190)]},{'id':_0x40cdd7(0x151),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x17c)),'type':AIQuickActionType[_0x40cdd7(0x190)]}]},{'id':_0x40cdd7(0x18f),'label':_0x1398e8(_0x577e41,_0x40cdd7(0x1b4)),'icon':_0x44b5db,'actions':[{'id':_0x40cdd7(0x156),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1c4)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x16d)}},{'id':_0x40cdd7(0x168),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x160)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x1eb)}},{'id':_0x40cdd7(0x15f),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x15c)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x1ab)}},{'id':_0x40cdd7(0x183),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1c1)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x1c5)}},{'id':_0x40cdd7(0x16a),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1e6)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x172)}},{'id':_0x40cdd7(0x17a),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x194)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x19d)}},{'id':_0x40cdd7(0x158),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1bd)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x1d4)}},{'id':_0x40cdd7(0x170),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1e9)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x152)}},{'id':_0x40cdd7(0x1b1),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x1b7)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x1a9)}},{'id':_0x40cdd7(0x177),'displayedPrompt':_0x1398e8(_0x577e41,_0x40cdd7(0x191)),'type':AIQuickActionType[_0x40cdd7(0x190)],'actionName':_0x40cdd7(0x18f),'args':{'language':_0x40cdd7(0x1a0)}}]},{'id':_0x40cdd7(0x15e),'label':_0x1398e8(_0x577e41,_0x40cdd7(0x185)),'icon':_0x18534b,'actions':[]}];return _0x44b518;}(_0x3009ec);}async[_0x27d264(0x17d)](){const _0x30ce49=_0x27d264,_0x29ca6d=AIQuickActionsUI[_0x30ce49(0x1b0)](this[_0x30ce49(0x17b)][_0x30ce49(0x1cb)]),_0x202fb3=this[_0x30ce49(0x17b)][_0x30ce49(0x1a2)][_0x30ce49(0x1e3)](_0x30ce49(0x1bb))||[];let _0x551bbf=[];try{_0x551bbf=await new _0xf736fe({'connector':this[_0x30ce49(0x17b)][_0x30ce49(0x1be)][_0x30ce49(0x1e3)](_0x30ce49(0x179)),'availableModels':this[_0x30ce49(0x17b)][_0x30ce49(0x1a2)][_0x30ce49(0x1e3)](_0x30ce49(0x1ed)),'locale':this[_0x30ce49(0x17b)][_0x30ce49(0x1cb)]})[_0x30ce49(0x1a1)]();}catch(_0x1fc475){const _0x5836da=new _0x364e45(_0x30ce49(0x1b5),this,{'error':_0x1fc475});_0x1ffbf(_0x5836da[_0x30ce49(0x1b6)]);}finally{const _0x4de6b9=_0x202fb3[_0x30ce49(0x1e7)](_0xe20e30=>({..._0xe20e30,'icon':void 0x0}));_0x29ca6d[_0x30ce49(0x193)](_0x2bc65a=>_0x30ce49(0x15e)===_0x2bc65a['id'])[_0x30ce49(0x1a4)][_0x30ce49(0x187)](..._0x4de6b9),_0x29ca6d[_0x30ce49(0x1c7)](_0x229de3=>{const _0x4f4c59=_0x30ce49;if(_0x4f4c59(0x1a4)in _0x229de3)_0x229de3[_0x4f4c59(0x1a4)][_0x4f4c59(0x1c7)](_0x394392=>{const _0x44cc5=_0x4f4c59;if(_0x394392[_0x44cc5(0x1e8)]=!!_0x551bbf[_0x44cc5(0x193)](_0x5e7e0c=>_0x5e7e0c['id']===_0x394392[_0x44cc5(0x1ec)])||void 0x0===_0x394392[_0x44cc5(0x1ec)],!_0x394392[_0x44cc5(0x1e8)]){const _0x26093b=new _0x364e45(_0x44cc5(0x176),this,{'actionId':_0x394392['id'],'modelId':_0x394392[_0x44cc5(0x1ec)]});_0x1ffbf(_0x26093b[_0x44cc5(0x1b6)]);}});else{if(_0x229de3[_0x4f4c59(0x1e8)]=!!_0x551bbf[_0x4f4c59(0x193)](_0x3c51af=>_0x3c51af['id']===_0x229de3[_0x4f4c59(0x1ec)])||void 0x0===_0x229de3[_0x4f4c59(0x1ec)],!_0x229de3[_0x4f4c59(0x1e8)]){const _0x332446=new _0x364e45(_0x4f4c59(0x176),this,{'actionId':_0x229de3['id'],'modelId':_0x229de3[_0x4f4c59(0x1ec)]});_0x1ffbf(_0x332446[_0x4f4c59(0x1b6)]);}}});}return _0x29ca6d;}[_0x27d264(0x1d7)](){const _0x3b2eca=_0x27d264,_0x5f5590=new _0x17fa35(this[_0x3b2eca(0x17b)][_0x3b2eca(0x1cb)]);_0x5f5590[_0x3b2eca(0x1e0)](),this[_0x3b2eca(0x1f0)](_0x5f5590),this[_0x3b2eca(0x18b)](),this[_0x3b2eca(0x1b2)](_0x5f5590);}[_0x27d264(0x1f0)](_0x2bbdcc){const _0x481e1b=_0x27d264,_0x127131=this[_0x481e1b(0x17b)][_0x481e1b(0x1a2)][_0x481e1b(0x1e3)](_0x481e1b(0x1e2))??!0x0;this[_0x481e1b(0x17b)]['ui'][_0x481e1b(0x155)][_0x481e1b(0x1b9)](_0x481e1b(0x1cc),_0x50585d({'editor':this[_0x481e1b(0x17b)],'content':this[_0x481e1b(0x1da)],'buttonDefinition':{'icon':_0x477520,'label':_0x1398e8(this[_0x481e1b(0x17b)][_0x481e1b(0x1cb)],_0x481e1b(0x175))},'bodyCollection':_0x2bbdcc,'hasSearch':_0x127131}));}[_0x27d264(0x163)](_0x5d4fdc){const _0x344929=_0x27d264;this[_0x344929(0x1da)]=_0x5d4fdc[_0x344929(0x1e7)](_0x1f6fbb=>{const _0x459bc0=_0x344929;if(_0x459bc0(0x1a4)in _0x1f6fbb){const _0x2351ad=_0x1f6fbb;return{..._0x2351ad,'actions':_0x2351ad[_0x459bc0(0x1a4)][_0x459bc0(0x1e7)](_0x45ba14=>{const {actions:_0x467a72,..._0x33856b}=_0x2351ad;return{..._0x45ba14,'parent':_0x33856b};})[_0x459bc0(0x16c)](_0x39485d=>this[_0x459bc0(0x1cd)](_0x39485d))};}return _0x1f6fbb;})[_0x344929(0x16c)](_0x116ed3=>_0x344929(0x1a4)in _0x116ed3?_0x116ed3[_0x344929(0x1a4)][_0x344929(0x1d0)]>0x0:this[_0x344929(0x1cd)](_0x116ed3));}[_0x27d264(0x1cd)](_0x4e7e69){const _0x34add8=_0x27d264,_0xe9fa7b=this[_0x34add8(0x17b)][_0x34add8(0x1a2)][_0x34add8(0x1e3)](_0x34add8(0x165))||[];return this[_0x34add8(0x17b)][_0x34add8(0x1be)][_0x34add8(0x178)](AIQuickActionTypeToPluginName[_0x4e7e69[_0x34add8(0x1ca)]])&&!_0xe9fa7b[_0x34add8(0x18e)](_0x4e7e69['id'])&&!(_0x4e7e69[_0x34add8(0x1ca)]===AIQuickActionType[_0x34add8(0x19c)]&&!0x1===this[_0x34add8(0x17b)][_0x34add8(0x1a2)][_0x34add8(0x1e3)](_0x34add8(0x162)));}[_0x27d264(0x1b2)](_0x210a1a){const _0x197018=_0x27d264;this[_0x197018(0x1da)][_0x197018(0x1c7)](_0x3b687d=>{const _0x442838=_0x197018;if(_0x442838(0x1a4)in _0x3b687d){const _0x2e57f7=_0x50585d({'editor':this[_0x442838(0x17b)],'content':_0x3b687d[_0x442838(0x1a4)],'buttonDefinition':_0x3b687d,'bodyCollection':_0x210a1a});this[_0x442838(0x17b)]['ui'][_0x442838(0x155)][_0x442838(0x1b9)](_0x3b687d['id'],_0x2e57f7),_0x3b687d[_0x442838(0x1a4)][_0x442838(0x1c7)](_0x4f65e=>{const _0x14b9ee=_0x442838,_0x2c9ce4=_0x57ab04({'editor':this[_0x14b9ee(0x17b)],'action':_0x4f65e});this[_0x14b9ee(0x17b)]['ui'][_0x14b9ee(0x155)][_0x14b9ee(0x1b9)](_0x4f65e['id'],_0x2c9ce4);});}else{const _0x510d9a=_0x57ab04({'editor':this[_0x442838(0x17b)],'action':_0x3b687d,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x442838(0x17b)]['ui'][_0x442838(0x155)][_0x442838(0x1b9)](_0x3b687d['id'],_0x510d9a);}});}[_0x27d264(0x18b)](){const _0x25ac66=_0x27d264;this[_0x25ac66(0x17b)]['ui'][_0x25ac66(0x155)][_0x25ac66(0x1b9)](_0x25ac66(0x1ae),_0x13c3ca=>{const _0xa3d23=_0x25ac66,_0x8e68ab=new _0x5e51fd(_0x13c3ca),_0x4eec76=_0x1398e8(_0x13c3ca,_0xa3d23(0x175));_0x8e68ab[_0xa3d23(0x189)][_0xa3d23(0x18a)]({'label':_0x4eec76,'icon':_0x477520});const _0x4a15a1=new _0x34bc12(_0x13c3ca);_0x4a15a1[_0xa3d23(0x18a)]({'ariaLabel':_0x4eec76,'role':_0xa3d23(0x184)}),this[_0xa3d23(0x1da)][_0xa3d23(0x1c7)](_0x5b0382=>{const _0xe879e7=_0xa3d23;if(_0xe879e7(0x1a4)in _0x5b0382){const _0x22048c=_0x5b0382,_0xaee6a7=new _0x158e63(_0x13c3ca,_0x8e68ab),_0x1f0317=new _0x5e51fd(_0x13c3ca),_0x228c6d=new _0x34bc12(_0x13c3ca);_0x1f0317[_0xe879e7(0x189)][_0xe879e7(0x18a)]({'label':_0x22048c[_0xe879e7(0x1db)],'icon':_0x22048c[_0xe879e7(0x1ce)]}),_0x22048c[_0xe879e7(0x1a4)][_0xe879e7(0x1c7)](_0x3b3b00=>{const _0x15486d=_0xe879e7,_0x58f022=new _0x158e63(_0x13c3ca,_0x1f0317),_0x1f4ecf=new _0x1fe2f7(_0x13c3ca);_0x1f4ecf[_0x15486d(0x18a)]({'label':_0x3b3b00[_0x15486d(0x1d5)],'icon':_0x3b3b00[_0x15486d(0x1ce)],'role':_0x15486d(0x16f),'isEnabled':_0x3b3b00[_0x15486d(0x1e8)]}),_0x1f4ecf['on'](_0x15486d(0x19f),()=>{const _0x4afd87=_0x15486d;this[_0x4afd87(0x1a6)](_0x3b3b00);}),_0x1f4ecf[_0x15486d(0x18d)](_0x15486d(0x19f))['to'](_0x1f0317),_0x58f022[_0x15486d(0x159)][_0x15486d(0x1b9)](_0x1f4ecf),_0x228c6d[_0x15486d(0x166)][_0x15486d(0x1b9)](_0x58f022);}),_0x1f0317[_0xe879e7(0x1ad)][_0xe879e7(0x159)][_0xe879e7(0x1b9)](_0x228c6d),_0xaee6a7[_0xe879e7(0x159)][_0xe879e7(0x1b9)](_0x1f0317),_0x4a15a1[_0xe879e7(0x166)][_0xe879e7(0x1b9)](_0xaee6a7);}else{const _0x2aaba9=_0x5b0382,_0x2fd2eb=new _0x158e63(_0x13c3ca,_0x8e68ab),_0x4da15b=new _0x1fe2f7(_0x13c3ca);_0x4da15b[_0xe879e7(0x18a)]({'label':_0x2aaba9[_0xe879e7(0x1d5)],'icon':_0x2aaba9[_0xe879e7(0x1ce)],'role':_0xe879e7(0x16f),'isEnabled':_0x2aaba9[_0xe879e7(0x1e8)]}),_0x4da15b['on'](_0xe879e7(0x19f),()=>{const _0x474d27=_0xe879e7;this[_0x474d27(0x1a6)](_0x2aaba9);}),_0x4da15b[_0xe879e7(0x18d)](_0xe879e7(0x19f))['to'](_0x8e68ab),_0x2fd2eb[_0xe879e7(0x159)][_0xe879e7(0x1b9)](_0x4da15b),_0x4a15a1[_0xe879e7(0x166)][_0xe879e7(0x1b9)](_0x2fd2eb);}});const _0xc29d5d=Object[_0xa3d23(0x188)](AIQuickActionTypeToPluginName)[_0xa3d23(0x1af)](_0x3a9fe4=>this[_0xa3d23(0x17b)][_0xa3d23(0x1be)][_0xa3d23(0x178)](_0x3a9fe4));return _0x8e68ab[_0xa3d23(0x18a)]({'isEnabled':_0xc29d5d}),_0x8e68ab[_0xa3d23(0x1ad)][_0xa3d23(0x159)][_0xa3d23(0x1b9)](_0x4a15a1),_0x8e68ab;});}[_0x27d264(0x1a6)](_0x514d16){const _0xcf1ede=_0x27d264,_0x2a506e=this[_0xcf1ede(0x17b)];_0x2a506e[_0xcf1ede(0x1c8)][_0xcf1ede(0x186)][_0xcf1ede(0x1c3)](),_0x2a506e[_0xcf1ede(0x1b3)][_0xcf1ede(0x19f)](_0xcf1ede(0x154),_0x514d16);const _0x3ac280=_0x2a506e['ui'][_0xcf1ede(0x186)][_0xcf1ede(0x180)];_0x3ac280&&_0x3ac280[_0xcf1ede(0x1e4)]&&_0x3ac280[_0xcf1ede(0x1e4)]();}}
|
|
23
|
+
const _0x43ea7f=_0x54ad;(function(_0x3d3344,_0x38f607){const _0x4396e7=_0x54ad,_0xbb8f63=_0x3d3344();while(!![]){try{const _0x382826=parseInt(_0x4396e7(0x179))/0x1+parseInt(_0x4396e7(0xef))/0x2*(-parseInt(_0x4396e7(0x144))/0x3)+-parseInt(_0x4396e7(0x168))/0x4*(-parseInt(_0x4396e7(0xf9))/0x5)+parseInt(_0x4396e7(0x105))/0x6*(parseInt(_0x4396e7(0x138))/0x7)+-parseInt(_0x4396e7(0x146))/0x8+-parseInt(_0x4396e7(0xe7))/0x9+parseInt(_0x4396e7(0x125))/0xa;if(_0x382826===_0x38f607)break;else _0xbb8f63['push'](_0xbb8f63['shift']());}catch(_0x402809){_0xbb8f63['push'](_0xbb8f63['shift']());}}}(_0x524e,0xd6a78));import{IconAIAdjustLength as _0x3a0ec3,IconAIChangeTone as _0x5471a6,IconAIChatCommands as _0x5b3d32,IconAIContinueWriting as _0x5bf661,IconAIGrammarCheck as _0x50cde9,IconAIImproveWriting as _0x24d58e,IconAIOther as _0x57fc9b,IconAIQuickActions as _0x3e4678,IconAITranslate as _0xe7ced5}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x38158c}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ceb3e,logError as _0x596a0b}from'ckeditor5/src/utils.js';import{getTranslation as _0x466751}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0xeb777d}from'./ui/aiquickactionsdropdowncreator.js';function _0x54ad(_0x3578de,_0x195316){const _0x524e1e=_0x524e();return _0x54ad=function(_0x54adbe,_0x294067){_0x54adbe=_0x54adbe-0xdb;let _0x46dd69=_0x524e1e[_0x54adbe];return _0x46dd69;},_0x54ad(_0x3578de,_0x195316);}import{aiQuickActionsButtonCreator as _0x2e32f2}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x4684d7,BalloonToolbar as _0x52367f,MenuBarMenuView as _0x574203,MenuBarMenuListView as _0xd53a66,MenuBarMenuListItemView as _0x7236c3,MenuBarMenuListItemButtonView as _0x306f8d}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x45d7aa}from'../aicore/model/aimodels.js';const oe=_0x43ea7f(0xdf),ae=_0x43ea7f(0xfe),se=_0x43ea7f(0x11f);export var AIQuickActionType;!function(_0x4b550a){const _0xfe9d7f=_0x43ea7f;_0x4b550a[_0xfe9d7f(0xdc)]=_0xfe9d7f(0xdc),_0x4b550a[_0xfe9d7f(0x112)]=_0xfe9d7f(0x112),_0x4b550a[_0xfe9d7f(0x121)]=_0xfe9d7f(0x121);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x37f253){const _0x82ce0f=_0x43ea7f;_0x37f253[_0x82ce0f(0xdc)]=_0x82ce0f(0x10b),_0x37f253[_0x82ce0f(0x112)]=_0x82ce0f(0xed),_0x37f253[_0x82ce0f(0x121)]=_0x82ce0f(0x101);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x524e(){const _0x310ca9=['_initializeQuickActionsMenuBar','explain','_initializeQuickActionsComponents','translate','make-tone-direct','improve-writing','continue','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_MORE_CASUAL','717692cNluXQ','AI_QUICK_ACTIONS_ADJUST_LENGTH','menuBarView','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','_executeQuickAction','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_CHANGE_TONE','commands','close','AI_QUICK_ACTIONS_HEADING','label','portuguese','componentFactory','translate-to-portuguese','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','italian','1125040elXgkt','translate-to-chinese','_quickActionsDefinition','some','german','CHAT','make-longer','attachToDom','<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>','English','requires','icon','AIQuickActionsUI','spanish','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','12896622BzJLdH','length','filter','has','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AIActions','isOfficialPlugin','1359444HSogtM','AI_QUICK_ACTIONS_CONTINUE_WRITING','english','displayedPrompt','fix-grammar','children','execute','forEach','AI_QUICK_ACTIONS_CHAT_COMMANDS','translate-to-italian','20bHokgT','aiQuickAction','DisplayNames','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','adjust-length','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_MAKE_LONGER','ai.chat.models.displayedModels','AIReviewMode','translate-to-russian','set','AIConnector','87486CzIcju','change-tone','actions','AI_QUICK_ACTIONS_MORE_FRIENDLY','push','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AIChat','AI_QUICK_ACTIONS_EXPLAIN','isEnabled','ai.quickActions.isSearchEnabled','translate-to-english','values','make-tone-professional','ACTION','highlight-key-points','get','locale','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','config','translate-to-french','_getDefaultAndCustomActions','make-tone-casual','editor','replace','chat-commands','AI_QUICK_ACTIONS_MORE_DIRECT','<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>','focus','REVIEW','aiQuickActions','editing','model','20311250uHQTyW','translate-to-japanese','_initializeQuickActionsDropdown','french','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','ai.quickActions.extraCommands','includes','pluginName','AI_QUICK_ACTIONS_ASK_AI','russian','find','uiLanguage','getAvailableModels','summarize','_shouldIncludeAction','AI_QUICK_ACTIONS_OTHER','make-tone-friendly','AI_QUICK_ACTIONS_MAKE_SHORTER','280fgvsrU','menuitem','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-korean','ai.chat.context.document.enabled','buttonView','getDefaultQuickActions','menu','japanese','AI_QUICK_ACTIONS_SUMMARIZE','3jubFvq','_initializeQuickActionsComponentsAndCommands','11721544ZVIgqR','make-tone-confident','translate-to-german','chinese','ai.quickActions.removeCommands','type','add','init','view','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','korean','language','delegate','isPremiumPlugin','items','map','menuBar:aiQuickActions','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','panelView','make-shorter','plugins','ai-quick-actions-unavailable-model','other','message','ask-ai'];_0x524e=function(){return _0x310ca9;};return _0x524e();}export class AIQuickActionsUI extends _0x38158c{static get[_0x43ea7f(0xe1)](){return[_0x52367f];}static get[_0x43ea7f(0x12d)](){const _0x3a8cb4=_0x43ea7f;return _0x3a8cb4(0xe3);}static get[_0x43ea7f(0xee)](){return!0x0;}static get[_0x43ea7f(0x153)](){return!0x0;}async[_0x43ea7f(0x14d)](){const _0xf84fb7=_0x43ea7f,_0xfdb86d=await this[_0xf84fb7(0x119)]();this[_0xf84fb7(0x16e)](_0xfdb86d),this[_0xf84fb7(0x145)]();}static[_0x43ea7f(0x140)](_0x27e200){return function(_0x4c2f11){const _0x565fc0=_0x54ad,_0x46c642=new Intl[(_0x565fc0(0xfb))](['en'],{'type':_0x565fc0(0x151)})['of'](_0x4c2f11[_0x565fc0(0x131)]),_0x32d8be=_0x46c642||_0x565fc0(0xe0),_0x2425c6=[{'id':_0x565fc0(0x15e),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x12e)),'type':AIQuickActionType[_0x565fc0(0xdc)],'icon':_0x5b3d32},{'id':_0x565fc0(0x11d),'label':_0x466751(_0x4c2f11,_0x565fc0(0xf7)),'icon':_0x5b3d32,'actions':[{'id':_0x565fc0(0x160),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x10c)),'prompt':oe[_0x565fc0(0x11c)]('%0',_0x32d8be),'type':AIQuickActionType[_0x565fc0(0xdc)]},{'id':_0x565fc0(0x133),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x143)),'prompt':ae[_0x565fc0(0x11c)]('%0',_0x32d8be),'type':AIQuickActionType[_0x565fc0(0xdc)]},{'id':_0x565fc0(0x113),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x14f)),'prompt':se[_0x565fc0(0x11c)]('%0',_0x32d8be),'type':AIQuickActionType[_0x565fc0(0xdc)]}]},{'id':_0x565fc0(0x164),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x16b)),'type':AIQuickActionType[_0x565fc0(0x112)],'icon':_0x24d58e},{'id':_0x565fc0(0x165),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0xf0)),'type':AIQuickActionType[_0x565fc0(0x112)],'icon':_0x5bf661},{'id':_0x565fc0(0xf3),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x157)),'type':AIQuickActionType[_0x565fc0(0x112)],'icon':_0x50cde9},{'id':_0x565fc0(0xfd),'label':_0x466751(_0x4c2f11,_0x565fc0(0x169)),'icon':_0x3a0ec3,'actions':[{'id':_0x565fc0(0x159),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x137)),'type':AIQuickActionType[_0x565fc0(0x112)]},{'id':_0x565fc0(0xdd),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0xff)),'type':AIQuickActionType[_0x565fc0(0x112)]}]},{'id':_0x565fc0(0x106),'label':_0x466751(_0x4c2f11,_0x565fc0(0x16f)),'icon':_0x5471a6,'actions':[{'id':_0x565fc0(0x11a),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x167)),'type':AIQuickActionType[_0x565fc0(0x112)]},{'id':_0x565fc0(0x163),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x11e)),'type':AIQuickActionType[_0x565fc0(0x112)]},{'id':_0x565fc0(0x136),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x108)),'type':AIQuickActionType[_0x565fc0(0x112)]},{'id':_0x565fc0(0x147),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x166)),'type':AIQuickActionType[_0x565fc0(0x112)]},{'id':_0x565fc0(0x111),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x177)),'type':AIQuickActionType[_0x565fc0(0x112)]}]},{'id':_0x565fc0(0x162),'label':_0x466751(_0x4c2f11,_0x565fc0(0x13b)),'icon':_0xe7ced5,'actions':[{'id':_0x565fc0(0x10f),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0xeb)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0xf1)}},{'id':_0x565fc0(0x17a),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x12a)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x149)}},{'id':_0x565fc0(0x129),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x13a)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0xe4)}},{'id':_0x565fc0(0x148),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0xe6)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0xdb)}},{'id':_0x565fc0(0x118),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x16c)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x128)}},{'id':_0x565fc0(0x126),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x13c)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x142)}},{'id':_0x565fc0(0x176),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x116)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x174)}},{'id':_0x565fc0(0x13d),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0xec)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x150)}},{'id':_0x565fc0(0xf8),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x10a)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x178)}},{'id':_0x565fc0(0x102),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0xfc)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x12f)}}]},{'id':_0x565fc0(0x15c),'label':_0x466751(_0x4c2f11,_0x565fc0(0x135)),'icon':_0x57fc9b,'actions':[]}];return _0x2425c6;}(_0x27e200);}async[_0x43ea7f(0x119)](){const _0x5267ad=_0x43ea7f,_0x2d42d1=AIQuickActionsUI[_0x5267ad(0x140)](this[_0x5267ad(0x11b)][_0x5267ad(0x115)]),_0x3a47b1=this[_0x5267ad(0x11b)][_0x5267ad(0x117)][_0x5267ad(0x114)](_0x5267ad(0x12b))||[];let _0xf68b32=[];try{_0xf68b32=await new _0x45d7aa({'connector':this[_0x5267ad(0x11b)][_0x5267ad(0x15a)][_0x5267ad(0x114)](_0x5267ad(0x104)),'availableModels':this[_0x5267ad(0x11b)][_0x5267ad(0x117)][_0x5267ad(0x114)](_0x5267ad(0x100)),'locale':this[_0x5267ad(0x11b)][_0x5267ad(0x115)]})[_0x5267ad(0x132)]();}catch(_0xfcea){const _0xd76d80=new _0x3ceb3e(_0x5267ad(0xe5),this,{'error':_0xfcea});_0x596a0b(_0xd76d80[_0x5267ad(0x15d)]);}finally{const _0x2d3544=_0x3a47b1[_0x5267ad(0x155)](_0x309aeb=>({..._0x309aeb,'icon':void 0x0}));_0x2d42d1[_0x5267ad(0x130)](_0x3dd321=>_0x5267ad(0x15c)===_0x3dd321['id'])[_0x5267ad(0x107)][_0x5267ad(0x109)](..._0x2d3544),_0x2d42d1[_0x5267ad(0xf6)](_0x5343b3=>{const _0x480d34=_0x5267ad;if(_0x480d34(0x107)in _0x5343b3)_0x5343b3[_0x480d34(0x107)][_0x480d34(0xf6)](_0x43a418=>{const _0x4b3c43=_0x480d34;if(_0x43a418[_0x4b3c43(0x10d)]=!!_0xf68b32[_0x4b3c43(0x130)](_0xfc2c27=>_0xfc2c27['id']===_0x43a418[_0x4b3c43(0x124)])||void 0x0===_0x43a418[_0x4b3c43(0x124)],!_0x43a418[_0x4b3c43(0x10d)]){const _0x275fd6=new _0x3ceb3e(_0x4b3c43(0x15b),this,{'actionId':_0x43a418['id'],'modelId':_0x43a418[_0x4b3c43(0x124)]});_0x596a0b(_0x275fd6[_0x4b3c43(0x15d)]);}});else{if(_0x5343b3[_0x480d34(0x10d)]=!!_0xf68b32[_0x480d34(0x130)](_0x4591f8=>_0x4591f8['id']===_0x5343b3[_0x480d34(0x124)])||void 0x0===_0x5343b3[_0x480d34(0x124)],!_0x5343b3[_0x480d34(0x10d)]){const _0x1e40cc=new _0x3ceb3e(_0x480d34(0x15b),this,{'actionId':_0x5343b3['id'],'modelId':_0x5343b3[_0x480d34(0x124)]});_0x596a0b(_0x1e40cc[_0x480d34(0x15d)]);}}});}return _0x2d42d1;}[_0x43ea7f(0x145)](){const _0x23079b=_0x43ea7f,_0x576a44=new _0x4684d7(this[_0x23079b(0x11b)][_0x23079b(0x115)]);_0x576a44[_0x23079b(0xde)](),this[_0x23079b(0x127)](_0x576a44),this[_0x23079b(0x15f)](),this[_0x23079b(0x161)](_0x576a44);}[_0x43ea7f(0x127)](_0xd08d8){const _0x1d6ad7=_0x43ea7f,_0x18516d=this[_0x1d6ad7(0x11b)][_0x1d6ad7(0x117)][_0x1d6ad7(0x114)](_0x1d6ad7(0x10e))??!0x0;this[_0x1d6ad7(0x11b)]['ui'][_0x1d6ad7(0x175)][_0x1d6ad7(0x14c)](_0x1d6ad7(0x122),_0xeb777d({'editor':this[_0x1d6ad7(0x11b)],'content':this[_0x1d6ad7(0x17b)],'buttonDefinition':{'icon':_0x3e4678,'label':_0x466751(this[_0x1d6ad7(0x11b)][_0x1d6ad7(0x115)],_0x1d6ad7(0x172))},'bodyCollection':_0xd08d8,'hasSearch':_0x18516d}));}[_0x43ea7f(0x16e)](_0x3de680){const _0x1fd4c0=_0x43ea7f;this[_0x1fd4c0(0x17b)]=_0x3de680[_0x1fd4c0(0x155)](_0xb00bb3=>{const _0x1760d9=_0x1fd4c0;if(_0x1760d9(0x107)in _0xb00bb3){const _0x1a5138=_0xb00bb3;return{..._0x1a5138,'actions':_0x1a5138[_0x1760d9(0x107)][_0x1760d9(0x155)](_0x7eab2e=>{const {actions:_0x5e403a,..._0x46a3b9}=_0x1a5138;return{..._0x7eab2e,'parent':_0x46a3b9};})[_0x1760d9(0xe9)](_0x34a6d9=>this[_0x1760d9(0x134)](_0x34a6d9))};}return _0xb00bb3;})[_0x1fd4c0(0xe9)](_0x3f46e7=>_0x1fd4c0(0x107)in _0x3f46e7?_0x3f46e7[_0x1fd4c0(0x107)][_0x1fd4c0(0xe8)]>0x0:this[_0x1fd4c0(0x134)](_0x3f46e7));}[_0x43ea7f(0x134)](_0xd83e1f){const _0x248a60=_0x43ea7f,_0x27ef6e=this[_0x248a60(0x11b)][_0x248a60(0x117)][_0x248a60(0x114)](_0x248a60(0x14a))||[];return this[_0x248a60(0x11b)][_0x248a60(0x15a)][_0x248a60(0xea)](AIQuickActionTypeToPluginName[_0xd83e1f[_0x248a60(0x14b)]])&&!_0x27ef6e[_0x248a60(0x12c)](_0xd83e1f['id'])&&!(_0xd83e1f[_0x248a60(0x14b)]===AIQuickActionType[_0x248a60(0xdc)]&&!0x1===this[_0x248a60(0x11b)][_0x248a60(0x117)][_0x248a60(0x114)](_0x248a60(0x13e)));}[_0x43ea7f(0x161)](_0x43d201){const _0x5a2dd8=_0x43ea7f;this[_0x5a2dd8(0x17b)][_0x5a2dd8(0xf6)](_0x55b132=>{const _0x4f281e=_0x5a2dd8;if(_0x4f281e(0x107)in _0x55b132){const _0x3a6488=_0xeb777d({'editor':this[_0x4f281e(0x11b)],'content':_0x55b132[_0x4f281e(0x107)],'buttonDefinition':_0x55b132,'bodyCollection':_0x43d201});this[_0x4f281e(0x11b)]['ui'][_0x4f281e(0x175)][_0x4f281e(0x14c)](_0x55b132['id'],_0x3a6488),_0x55b132[_0x4f281e(0x107)][_0x4f281e(0xf6)](_0x171955=>{const _0x5f4612=_0x4f281e,_0x4a30d1=_0x2e32f2({'editor':this[_0x5f4612(0x11b)],'action':_0x171955});this[_0x5f4612(0x11b)]['ui'][_0x5f4612(0x175)][_0x5f4612(0x14c)](_0x171955['id'],_0x4a30d1);});}else{const _0x3b7665=_0x2e32f2({'editor':this[_0x4f281e(0x11b)],'action':_0x55b132,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x4f281e(0x11b)]['ui'][_0x4f281e(0x175)][_0x4f281e(0x14c)](_0x55b132['id'],_0x3b7665);}});}[_0x43ea7f(0x15f)](){const _0x271885=_0x43ea7f;this[_0x271885(0x11b)]['ui'][_0x271885(0x175)][_0x271885(0x14c)](_0x271885(0x156),_0x4ac09f=>{const _0x59e5cc=_0x271885,_0x54ad76=new _0x574203(_0x4ac09f),_0x1a4fd3=_0x466751(_0x4ac09f,_0x59e5cc(0x172));_0x54ad76[_0x59e5cc(0x13f)][_0x59e5cc(0x103)]({'label':_0x1a4fd3,'icon':_0x3e4678});const _0x2e4cca=new _0xd53a66(_0x4ac09f);_0x2e4cca[_0x59e5cc(0x103)]({'ariaLabel':_0x1a4fd3,'role':_0x59e5cc(0x141)}),this[_0x59e5cc(0x17b)][_0x59e5cc(0xf6)](_0x1321f8=>{const _0x116569=_0x59e5cc;if(_0x116569(0x107)in _0x1321f8){const _0x4c33b1=_0x1321f8,_0x5d2b04=new _0x7236c3(_0x4ac09f,_0x54ad76),_0x280416=new _0x574203(_0x4ac09f),_0x17d024=new _0xd53a66(_0x4ac09f);_0x280416[_0x116569(0x13f)][_0x116569(0x103)]({'label':_0x4c33b1[_0x116569(0x173)],'icon':_0x4c33b1[_0x116569(0xe2)]}),_0x4c33b1[_0x116569(0x107)][_0x116569(0xf6)](_0x3a1b09=>{const _0x4e3add=_0x116569,_0x1ece58=new _0x7236c3(_0x4ac09f,_0x280416),_0x16cb40=new _0x306f8d(_0x4ac09f);_0x16cb40[_0x4e3add(0x103)]({'label':_0x3a1b09[_0x4e3add(0xf2)],'icon':_0x3a1b09[_0x4e3add(0xe2)],'role':_0x4e3add(0x139),'isEnabled':_0x3a1b09[_0x4e3add(0x10d)]}),_0x16cb40['on'](_0x4e3add(0xf5),()=>{const _0xce97bb=_0x4e3add;this[_0xce97bb(0x16d)](_0x3a1b09);}),_0x16cb40[_0x4e3add(0x152)](_0x4e3add(0xf5))['to'](_0x280416),_0x1ece58[_0x4e3add(0xf4)][_0x4e3add(0x14c)](_0x16cb40),_0x17d024[_0x4e3add(0x154)][_0x4e3add(0x14c)](_0x1ece58);}),_0x280416[_0x116569(0x158)][_0x116569(0xf4)][_0x116569(0x14c)](_0x17d024),_0x5d2b04[_0x116569(0xf4)][_0x116569(0x14c)](_0x280416),_0x2e4cca[_0x116569(0x154)][_0x116569(0x14c)](_0x5d2b04);}else{const _0xfd7ab=_0x1321f8,_0x5a872c=new _0x7236c3(_0x4ac09f,_0x54ad76),_0x1b6ef5=new _0x306f8d(_0x4ac09f);_0x1b6ef5[_0x116569(0x103)]({'label':_0xfd7ab[_0x116569(0xf2)],'icon':_0xfd7ab[_0x116569(0xe2)],'role':_0x116569(0x139),'isEnabled':_0xfd7ab[_0x116569(0x10d)]}),_0x1b6ef5['on'](_0x116569(0xf5),()=>{const _0x21ab34=_0x116569;this[_0x21ab34(0x16d)](_0xfd7ab);}),_0x1b6ef5[_0x116569(0x152)](_0x116569(0xf5))['to'](_0x54ad76),_0x5a872c[_0x116569(0xf4)][_0x116569(0x14c)](_0x1b6ef5),_0x2e4cca[_0x116569(0x154)][_0x116569(0x14c)](_0x5a872c);}});const _0x243c4d=Object[_0x59e5cc(0x110)](AIQuickActionTypeToPluginName)[_0x59e5cc(0x17c)](_0x3fc8c7=>this[_0x59e5cc(0x11b)][_0x59e5cc(0x15a)][_0x59e5cc(0xea)](_0x3fc8c7));return _0x54ad76[_0x59e5cc(0x103)]({'isEnabled':_0x243c4d}),_0x54ad76[_0x59e5cc(0x158)][_0x59e5cc(0xf4)][_0x59e5cc(0x14c)](_0x2e4cca),_0x54ad76;});}[_0x43ea7f(0x16d)](_0x34f50c){const _0x3c36ca=_0x43ea7f,_0x29940a=this[_0x3c36ca(0x11b)];_0x29940a[_0x3c36ca(0x123)][_0x3c36ca(0x14e)][_0x3c36ca(0x120)](),_0x29940a[_0x3c36ca(0x170)][_0x3c36ca(0xf5)](_0x3c36ca(0xfa),_0x34f50c);const _0xc75076=_0x29940a['ui'][_0x3c36ca(0x14e)][_0x3c36ca(0x16a)];_0xc75076&&_0xc75076[_0x3c36ca(0x171)]&&_0xc75076[_0x3c36ca(0x171)]();}}
|