@ckeditor/ckeditor5-ai 47.7.0-alpha.0 → 47.7.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- 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/aiformtoolbarview.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/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.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/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.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/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.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/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.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/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/createresizebutton.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/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b2474=_0x4a8a;function _0x3878(){const _0x2f8b49=['splitTextNodeIntoWordNodes','from','tagName','children','now','isWordSplitSource','78RrNaBs','span','replaceWith','11301790Npuuwq','98399QWegFT','parent','textNodeStyle','536IWzpzX','abort','16496RACEaN','signal','stop','div','cleanUpAnimations','lastUpdateTime','del','timeoutAbortController','span[data-ck-html-streamer-word-chunk]','149616yDejUO','sub','588756SpYopU','map','getParsedDocumentNodeList','document','match','push','renderNode','reverse','length','entries','delay','attribs','21MaUedX','isStreaming','mark','strong','215048gyJJVI','childNodes','currentIndex','106345aQqWhH','shouldBeStreamed','forEach','includes','isWordSplitResult','querySelectorAll','join','bind','nodesList','ins','stream','sup','1166aWXsFy','addEventListener','options','code','reset','onStreamUpdate','9guvvsf'];_0x3878=function(){return _0x2f8b49;};return _0x3878();}(function(_0x3cdbd4,_0x168a12){const _0x5c9027=_0x4a8a,_0xcec418=_0x3cdbd4();while(!![]){try{const _0x1bac30=parseInt(_0x5c9027(0x163))/0x1+-parseInt(_0x5c9027(0x16e))/0x2+-parseInt(_0x5c9027(0x17a))/0x3*(-parseInt(_0x5c9027(0x17e))/0x4)+-parseInt(_0x5c9027(0x181))/0x5*(parseInt(_0x5c9027(0x15a))/0x6)+parseInt(_0x5c9027(0x15e))/0x7*(parseInt(_0x5c9027(0x161))/0x8)+-parseInt(_0x5c9027(0x193))/0x9*(-parseInt(_0x5c9027(0x15d))/0xa)+parseInt(_0x5c9027(0x18d))/0xb*(-parseInt(_0x5c9027(0x16c))/0xc);if(_0x1bac30===_0x168a12)break;else _0xcec418['push'](_0xcec418['shift']());}catch(_0x4410ba){_0xcec418['push'](_0xcec418['shift']());}}}(_0x3878,0x8bbb9));import _0x178c00 from'morphdom';import{NodeWithChildren as _0x550a5d,Text as _0x52c200,Element as _0x30b848,isText as _0x55dfe1,isDocument as _0x57c853,isTag as _0x5a5695,cloneNode as _0x4a05a1,getChildren as _0x280cd7,prepend as _0xdb80fb,removeElement as _0x4e0aa8,textContent as _0x17603f,render as _0x44d675}from'./htmlparser.js';function _0x4a8a(_0x971df2,_0x47d68d){const _0x38781a=_0x3878();return _0x4a8a=function(_0x4a8a18,_0x5818c5){_0x4a8a18=_0x4a8a18-0x154;let _0x4bf322=_0x38781a[_0x4a8a18];return _0x4bf322;},_0x4a8a(_0x971df2,_0x47d68d);}export class HTMLStreamer{[_0x5b2474(0x18f)];[_0x5b2474(0x17b)]=!0x1;[_0x5b2474(0x171)]=null;[_0x5b2474(0x189)]=[];[_0x5b2474(0x180)]=0x0;[_0x5b2474(0x16a)]=null;[_0x5b2474(0x168)]=0x0;constructor(_0x1ab449){const _0x4c32da=_0x5b2474;this[_0x4c32da(0x18f)]={'delay':_0x1ab449[_0x4c32da(0x178)]??0x14,'textNodeStyle':_0x1ab449[_0x4c32da(0x160)],'onStreamUpdate':_0x1ab449[_0x4c32da(0x192)]||(()=>{})};}async[_0x5b2474(0x18b)]({document:_0x54d4f4,targetElement:_0x3259ac,abortSignal:_0xd8117a}){const _0xe5a94=_0x5b2474;this[_0xe5a94(0x17b)]&&this[_0xe5a94(0x165)](),_0xd8117a?.[_0xe5a94(0x18e)](_0xe5a94(0x162),this[_0xe5a94(0x165)][_0xe5a94(0x188)](this)),this[_0xe5a94(0x171)]=_0x4a05a1(_0x54d4f4,!0x0),this[_0xe5a94(0x189)]=this[_0xe5a94(0x170)](),this[_0xe5a94(0x17b)]=!0x0,this[_0xe5a94(0x180)]>this[_0xe5a94(0x189)][_0xe5a94(0x176)]&&(this[_0xe5a94(0x180)]=this[_0xe5a94(0x189)][_0xe5a94(0x176)]);for(let _0x35a41b=0x0;_0x35a41b<this[_0xe5a94(0x180)];_0x35a41b++)this[_0xe5a94(0x189)][_0x35a41b][_0xe5a94(0x182)]=!0x0;do{const _0x51ec2f=Date[_0xe5a94(0x158)](),_0x3e2f78=this[_0xe5a94(0x189)][this[_0xe5a94(0x180)]],_0x1c4392=_0x51ec2f-this[_0xe5a94(0x168)];if(_0x3e2f78){_0x3e2f78[_0xe5a94(0x182)]=!0x0;let _0x2a69a8=_0x3e2f78[_0xe5a94(0x15f)];for(;_0x2a69a8;)_0x2a69a8[_0xe5a94(0x182)]=!0x0,_0x2a69a8=_0x2a69a8[_0xe5a94(0x15f)];}if(_0x1c4392<this[_0xe5a94(0x18f)][_0xe5a94(0x178)])try{const {promise:_0x36f034,abortController:_0x5f565a}=Ls(this[_0xe5a94(0x18f)][_0xe5a94(0x178)]-_0x1c4392);this[_0xe5a94(0x16a)]=_0x5f565a,await _0x36f034;}catch(_0x28ff0e){return;}_0x178c00(_0x3259ac,'<'+_0x3259ac[_0xe5a94(0x156)]+'>'+this[_0xe5a94(0x174)](this[_0xe5a94(0x171)])+'</'+_0x3259ac[_0xe5a94(0x156)]+'>',{'childrenOnly':!0x0}),this[_0xe5a94(0x18f)][_0xe5a94(0x192)]&&this[_0xe5a94(0x18f)][_0xe5a94(0x192)](),this[_0xe5a94(0x180)]++,this[_0xe5a94(0x168)]=Date[_0xe5a94(0x158)]();}while(this[_0xe5a94(0x180)]<this[_0xe5a94(0x189)][_0xe5a94(0x176)]);this[_0xe5a94(0x180)]=this[_0xe5a94(0x189)][_0xe5a94(0x176)],this[_0xe5a94(0x17b)]=!0x1;}[_0x5b2474(0x191)](){const _0x4043ff=_0x5b2474;this[_0x4043ff(0x17b)]=!0x1,this[_0x4043ff(0x171)]=null,this[_0x4043ff(0x189)]=[],this[_0x4043ff(0x180)]=0x0,this[_0x4043ff(0x16a)]=null;}[_0x5b2474(0x167)]({targetElement:_0x4177c6}){const _0x3f47a6=_0x5b2474;Array[_0x3f47a6(0x155)](_0x4177c6[_0x3f47a6(0x186)](_0x3f47a6(0x16b)))[_0x3f47a6(0x175)]()[_0x3f47a6(0x183)](_0x1bd255=>{const _0x3bbc50=_0x3f47a6;_0x1bd255[_0x3bbc50(0x15c)](_0x1bd255[_0x3bbc50(0x17f)][0x0]);});}[_0x5b2474(0x165)](){const _0xb7c5d5=_0x5b2474;this[_0xb7c5d5(0x17b)]=!0x1,this[_0xb7c5d5(0x16a)]&&(this[_0xb7c5d5(0x16a)][_0xb7c5d5(0x162)](),this[_0xb7c5d5(0x16a)]=null);}[_0x5b2474(0x174)](_0x545189){const _0x233c66=_0x5b2474;let _0x3f9c02='';if(function(_0x4d876c){return _0x57c853(_0x4d876c);}(_0x545189)){for(const _0x285059 of _0x545189[_0x233c66(0x157)])_0x3f9c02+=this[_0x233c66(0x174)](_0x285059);}else{if(Ts(_0x545189)){if(!_0x545189[_0x233c66(0x182)])return'';const _0x1c7a30=_0x545189,_0x1487fd=Object[_0x233c66(0x177)](_0x1c7a30[_0x233c66(0x179)])[_0x233c66(0x16f)](([_0x2b867c,_0x485695])=>_0x2b867c+'=\x22'+_0x485695+'\x22')[_0x233c66(0x187)]('\x20');_0x3f9c02+='<'+_0x1c7a30[_0x233c66(0x156)]+(_0x1487fd?'\x20'+_0x1487fd:'')+'>';for(const _0x220d1c of _0x280cd7(_0x1c7a30))_0x3f9c02+=this[_0x233c66(0x174)](_0x220d1c);_0x3f9c02+='</'+_0x1c7a30[_0x233c66(0x156)]+'>';}else{if(!Ss(_0x545189))return'';if(!_0x545189[_0x233c66(0x182)])return'';!function(_0x2b5fb3){const _0x43b76f=_0x233c66;if(!_0x2b5fb3[_0x43b76f(0x15f)]||!Ts(_0x2b5fb3[_0x43b76f(0x15f)]))return!0x1;if(!ys[_0x43b76f(0x184)](_0x2b5fb3[_0x43b76f(0x15f)][_0x43b76f(0x156)]))return!0x1;return!_0x17603f(_0x2b5fb3)[_0x43b76f(0x172)](/^\s*[<>]\s*$/);}(_0x545189)?_0x3f9c02+=_0x44d675(_0x545189):_0x3f9c02+=_0x44d675(new _0x30b848(_0x233c66(0x15b),{'data-ck-html-streamer-word-chunk':'','style':this[_0x233c66(0x18f)][_0x233c66(0x160)]},[_0x545189]));}}return _0x3f9c02;}[_0x5b2474(0x170)](){const _0x3b8b1c=_0x5b2474,_0x493262=[];return function(_0x446609,_0x13ecb0){const _0x236619=_0x4a8a,_0x1ab2dd=_0x103343=>{const _0x3017a1=_0x4a8a;if(_0x13ecb0(_0x103343),_0x103343 instanceof _0x550a5d)for(let _0x5818d1=0x0;_0x5818d1<_0x103343[_0x3017a1(0x157)][_0x3017a1(0x176)];_0x5818d1++){const _0x1985cc=_0x103343[_0x3017a1(0x157)][_0x5818d1];_0x1ab2dd(_0x1985cc);}};for(let _0x24dce8=0x0;_0x24dce8<_0x446609[_0x236619(0x157)][_0x236619(0x176)];_0x24dce8++)_0x1ab2dd(_0x446609[_0x236619(0x157)][_0x24dce8]);}(this[_0x3b8b1c(0x171)],_0x340711=>{const _0x2c126c=_0x3b8b1c;if(Ss(_0x340711)){const _0x5f3bf4=this[_0x2c126c(0x154)](_0x340711);_0x5f3bf4[_0x2c126c(0x176)]&&_0x493262[_0x2c126c(0x173)](..._0x5f3bf4);}_0x340711[_0x2c126c(0x159)]||_0x340711[_0x2c126c(0x185)]||_0x493262[_0x2c126c(0x173)](_0x340711);}),_0x493262;}[_0x5b2474(0x154)](_0x5a62a0){const _0x47d332=_0x5b2474;if(_0x5a62a0[_0x47d332(0x159)]||_0x5a62a0[_0x47d332(0x185)])return[];const _0x34c62a=_0x17603f(_0x5a62a0)[_0x47d332(0x172)](/(?:\s*\S+\s*)/g),_0x3c4a28=[];if(_0x34c62a&&_0x34c62a[_0x47d332(0x176)]>0x1){for(const _0xac23f6 of _0x34c62a){const _0x1d2d99=new _0x52c200(_0xac23f6);_0x1d2d99[_0x47d332(0x185)]=!0x0,_0xdb80fb(_0x5a62a0,_0x1d2d99),_0x3c4a28[_0x47d332(0x173)](_0x1d2d99);}_0x5a62a0[_0x47d332(0x159)]=!0x0,_0x4e0aa8(_0x5a62a0);}return _0x3c4a28;}}const ys=['p','li','td','th',_0x5b2474(0x15b),'h1','h2','h3','h4','h5','h6','b',_0x5b2474(0x17d),'i','em',_0x5b2474(0x17c),_0x5b2474(0x169),_0x5b2474(0x18a),_0x5b2474(0x18c),_0x5b2474(0x16d),'a',_0x5b2474(0x190),_0x5b2474(0x166)];function Ss(_0x4aaecd){return _0x55dfe1(_0x4aaecd);}function Ts(_0x5c78dc){return _0x5a5695(_0x5c78dc);}function Ls(_0x370382){const _0x353f46=new AbortController();return{'promise':new Promise((_0x4e1308,_0xedaa70)=>{const _0x12ed16=_0x4a8a,_0x47b487=setTimeout(_0x4e1308,_0x370382);_0x353f46[_0x12ed16(0x164)][_0x12ed16(0x18e)](_0x12ed16(0x162),()=>{clearTimeout(_0x47b487),_0xedaa70();});}),'abortController':_0x353f46};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x577caa=_0x3727;(function(_0x4b2b76,_0x155820){var _0x2651d4=_0x3727,_0x424ca2=_0x4b2b76();while(!![]){try{var _0x419e86=parseInt(_0x2651d4(0xe8))/0x1+-parseInt(_0x2651d4(0xe0))/0x2*(-parseInt(_0x2651d4(0xe3))/0x3)+parseInt(_0x2651d4(0xde))/0x4*(parseInt(_0x2651d4(0xe1))/0x5)+-parseInt(_0x2651d4(0xe6))/0x6+-parseInt(_0x2651d4(0xdb))/0x7*(-parseInt(_0x2651d4(0xe7))/0x8)+parseInt(_0x2651d4(0xdd))/0x9+-parseInt(_0x2651d4(0xdc))/0xa;if(_0x419e86===_0x155820)break;else _0x424ca2['push'](_0x424ca2['shift']());}catch(_0x437c17){_0x424ca2['push'](_0x424ca2['shift']());}}}(_0x18a7,0x9bf9a));function _0x3727(_0x15e423,_0x134804){var _0x18a7f6=_0x18a7();return _0x3727=function(_0x3727d5,_0xe27533){_0x3727d5=_0x3727d5-0xdb;var _0x5a1f35=_0x18a7f6[_0x3727d5];return _0x5a1f35;},_0x3727(_0x15e423,_0x134804);}import{Plugin as _0x49db5f}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x550ecf}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x28b955}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x4c2265}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x18a7(){var _0x3492d1=['isPremiumPlugin','813930VkuMSd','8CHhHBd','314162frxaNl','pluginName','8457554XvnKpc','30694560LxWAlN','3714003EaZkQn','28LChTqT','isOfficialPlugin','474HKAFdb','806405bwFlwz','AIEditorIntegration','9873JBgmZi','requires'];_0x18a7=function(){return _0x3492d1;};return _0x18a7();}export class AIEditorIntegration extends _0x49db5f{static get[_0x577caa(0xe4)](){return[_0x550ecf,_0x28b955,_0x4c2265];}static get[_0x577caa(0xe9)](){var _0x1875bb=_0x577caa;return _0x1875bb(0xe2);}static get[_0x577caa(0xdf)](){return!0x0;}static get[_0x577caa(0xe5)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2754c5=_0x3e6f;(function(_0x3d571a,_0xdaa05a){const _0x39b7db=_0x3e6f,_0x45d0a8=_0x3d571a();while(!![]){try{const _0x184738=-parseInt(_0x39b7db(0x81))/0x1*(-parseInt(_0x39b7db(0x78))/0x2)+-parseInt(_0x39b7db(0x70))/0x3+-parseInt(_0x39b7db(0x73))/0x4*(parseInt(_0x39b7db(0x8d))/0x5)+-parseInt(_0x39b7db(0x6c))/0x6*(-parseInt(_0x39b7db(0x74))/0x7)+parseInt(_0x39b7db(0x79))/0x8*(-parseInt(_0x39b7db(0x6a))/0x9)+parseInt(_0x39b7db(0x7a))/0xa+-parseInt(_0x39b7db(0x8a))/0xb*(-parseInt(_0x39b7db(0x6e))/0xc);if(_0x184738===_0xdaa05a)break;else _0x45d0a8['push'](_0x45d0a8['shift']());}catch(_0x58e759){_0x45d0a8['push'](_0x45d0a8['shift']());}}}(_0x3172,0xaf245));import{Plugin as _0x37af9d}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x3f42bd}from'./toggleaicommand.js';import{ButtonView as _0x32797d,MenuBarMenuListItemButtonView as _0x145b65}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x12b1ba}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4b274f}from'../../aicore/utils/common-translations.js';function _0x3e6f(_0x2a6439,_0x49b404){const _0x317200=_0x3172();return _0x3e6f=function(_0x3e6f4d,_0x24e505){_0x3e6f4d=_0x3e6f4d-0x69;let _0x12f48b=_0x317200[_0x3e6f4d];return _0x12f48b;},_0x3e6f(_0x2a6439,_0x49b404);}function _0x3172(){const _0xb6ac7=['2557572sixhbe','execute','_createAIUIButton','4LJndea','125153uvtLEL','menuitemcheckbox','componentFactory','requires','2jThlGb','82816wGjNLq','7602410hUmYyH','get','listenTo','isEnabled','bind','AI_TOGGLE_BUTTON_LABEL','commands','1184542SQllgM','locale','isPremiumPlugin','init','isOfficialPlugin','set','toggleAi','pluginName','menuBar:toggleAi','3734610XlYSMi','add','AIToggleButtonUI','4701085oPfJqu','ck-ai-toggle-button','99hOXlZm','isOn','114RNUMPP','value','12aDOqtF','editor'];_0x3172=function(){return _0xb6ac7;};return _0x3172();}import{AITabs as _0x11fcae}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x37af9d{static get[_0x2754c5(0x77)](){return[_0x11fcae];}static get[_0x2754c5(0x88)](){const _0x4370b6=_0x2754c5;return _0x4370b6(0x8c);}static get[_0x2754c5(0x85)](){return!0x0;}static get[_0x2754c5(0x83)](){return!0x0;}[_0x2754c5(0x84)](){const _0x144106=_0x2754c5,_0x3e6f55=this[_0x144106(0x6f)];_0x3e6f55[_0x144106(0x80)][_0x144106(0x8b)](_0x144106(0x87),new _0x3f42bd(_0x3e6f55)),_0x3e6f55['ui'][_0x144106(0x76)][_0x144106(0x8b)](_0x144106(0x87),()=>{const _0x42b0b5=_0x144106,_0x2d28bd=this[_0x42b0b5(0x72)](_0x32797d);return _0x2d28bd[_0x42b0b5(0x86)]({'tooltip':!0x0,'class':_0x42b0b5(0x69)}),_0x2d28bd;}),_0x3e6f55['ui'][_0x144106(0x76)][_0x144106(0x8b)](_0x144106(0x89),()=>{const _0x49213f=_0x144106,_0x24f705=this[_0x49213f(0x72)](_0x145b65);return _0x24f705[_0x49213f(0x86)]({'role':_0x49213f(0x75)}),_0x24f705;});}[_0x2754c5(0x72)](_0x59de33){const _0x5f1c40=_0x2754c5,_0x2319b3=this[_0x5f1c40(0x6f)],_0x31054b=_0x2319b3[_0x5f1c40(0x80)][_0x5f1c40(0x7b)](_0x5f1c40(0x87)),_0x27dd1a=new _0x59de33(_0x2319b3[_0x5f1c40(0x82)]);return _0x27dd1a[_0x5f1c40(0x86)]({'label':_0x4b274f(_0x2319b3[_0x5f1c40(0x82)],_0x5f1c40(0x7f)),'icon':_0x12b1ba,'isToggleable':!0x0}),_0x27dd1a[_0x5f1c40(0x7e)](_0x5f1c40(0x7d))['to'](_0x31054b),_0x27dd1a[_0x5f1c40(0x7e)](_0x5f1c40(0x6b))['to'](_0x31054b,_0x5f1c40(0x6d),_0x5d7a25=>!!_0x5d7a25),this[_0x5f1c40(0x7c)](_0x27dd1a,_0x5f1c40(0x71),()=>{const _0x26f3a6=_0x5f1c40;_0x31054b[_0x26f3a6(0x71)]();}),_0x27dd1a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27bf87=_0x21c2;(function(_0x3db1e4,_0x123423){const _0xaf44b0=_0x21c2,_0x42afa6=_0x3db1e4();while(!![]){try{const _0x43686f=parseInt(_0xaf44b0(0x188))/0x1*(parseInt(_0xaf44b0(0x197))/0x2)+parseInt(_0xaf44b0(0x196))/0x3+-parseInt(_0xaf44b0(0x193))/0x4*(parseInt(_0xaf44b0(0x192))/0x5)+-parseInt(_0xaf44b0(0x18a))/0x6+parseInt(_0xaf44b0(0x18b))/0x7+parseInt(_0xaf44b0(0x191))/0x8+parseInt(_0xaf44b0(0x18e))/0x9;if(_0x43686f===_0x123423)break;else _0x42afa6['push'](_0x42afa6['shift']());}catch(_0x20160c){_0x42afa6['push'](_0x42afa6['shift']());}}}(_0x48f5,0x556fd));import{Command as _0x5cf548}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x5cf548{constructor(_0x2cc7cc){const _0x50f170=_0x21c2;super(_0x2cc7cc);const _0x38d506=_0x2cc7cc[_0x50f170(0x186)][_0x50f170(0x198)](_0x50f170(0x18c))[_0x50f170(0x18d)];this[_0x50f170(0x195)](_0x50f170(0x187))['to'](_0x38d506,_0x50f170(0x194)),this[_0x50f170(0x189)]=!0x0;}[_0x27bf87(0x190)](){const _0x188d0c=_0x27bf87,_0x391933=this[_0x188d0c(0x18f)][_0x188d0c(0x186)][_0x188d0c(0x198)](_0x188d0c(0x18c))[_0x188d0c(0x18d)];_0x391933[_0x188d0c(0x194)]=!_0x391933[_0x188d0c(0x194)];}}function _0x21c2(_0xa8ce6e,_0x328685){const _0x48f527=_0x48f5();return _0x21c2=function(_0x21c2fc,_0x4b1fed){_0x21c2fc=_0x21c2fc-0x186;let _0x1d838a=_0x48f527[_0x21c2fc];return _0x1d838a;},_0x21c2(_0xa8ce6e,_0x328685);}function _0x48f5(){const _0x88deaa=['plugins','value','3lzPTyN','isEnabled','3940998lGoCIa','381640lahmNE','AITabs','view','6703947kfSBcY','editor','execute','5141632MlFzkY','5uuEwsN','2138096NAJbAe','isVisible','bind','240690lgLEsc','12646gZcJbt','get'];_0x48f5=function(){return _0x88deaa;};return _0x48f5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x585550=_0x365c;(function(_0x2476ba,_0x110d95){var _0x535a75=_0x365c,_0x172865=_0x2476ba();while(!![]){try{var _0x2f390b=parseInt(_0x535a75(0x1a6))/0x1*(-parseInt(_0x535a75(0x1a1))/0x2)+-parseInt(_0x535a75(0x1a5))/0x3+parseInt(_0x535a75(0x196))/0x4+parseInt(_0x535a75(0x19d))/0x5*(parseInt(_0x535a75(0x194))/0x6)+-parseInt(_0x535a75(0x1a2))/0x7*(-parseInt(_0x535a75(0x199))/0x8)+parseInt(_0x535a75(0x198))/0x9*(parseInt(_0x535a75(0x1a4))/0xa)+-parseInt(_0x535a75(0x19e))/0xb*(parseInt(_0x535a75(0x1a0))/0xc);if(_0x2f390b===_0x110d95)break;else _0x172865['push'](_0x172865['shift']());}catch(_0x493df3){_0x172865['push'](_0x172865['shift']());}}}(_0x53c5,0xf3ab5));function _0x365c(_0x3eadaf,_0x30ffb1){var _0x53c5d6=_0x53c5();return _0x365c=function(_0x365cec,_0x46d82e){_0x365cec=_0x365cec-0x193;var _0xf58f0f=_0x53c5d6[_0x365cec];return _0xf58f0f;},_0x365c(_0x3eadaf,_0x30ffb1);}import{Plugin as _0x2fcaf6}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x5b831e}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x9d37e4}from'./aiquickactionsediting.js';import{AIActions as _0x4a6bb3}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x2fcaf6{static get[_0x585550(0x19f)](){return[_0x5b831e,_0x9d37e4,_0x4a6bb3];}static get[_0x585550(0x19a)](){var _0x1694cd=_0x585550;return _0x1694cd(0x1a3);}static get[_0x585550(0x19b)](){return!0x0;}static get[_0x585550(0x193)](){return!0x0;}constructor(_0x21a110){var _0x33f9b7=_0x585550;super(_0x21a110),_0x21a110[_0x33f9b7(0x19c)][_0x33f9b7(0x197)](_0x33f9b7(0x195),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}function _0x53c5(){var _0x29f865=['AIQuickActions','9024310bmjwmu','1152615ayfqOX','2jCOiLS','isPremiumPlugin','72AjzoVO','ai.quickActions','3277944GCACIX','define','9IJRHho','14984TdsiBi','pluginName','isOfficialPlugin','config','156905ZgBEuz','121nZpkWe','requires','2369244sNAExR','76522mXMtyj','5726zVFaKU'];_0x53c5=function(){return _0x29f865;};return _0x53c5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4dd721=_0x4810;function _0x4810(_0x270682,_0x4b92f1){const _0x49fdd6=_0x49fd();return _0x4810=function(_0x481075,_0x3d73c6){_0x481075=_0x481075-0x187;let _0x1ca5d3=_0x49fdd6[_0x481075];return _0x1ca5d3;},_0x4810(_0x270682,_0x4b92f1);}(function(_0x33f884,_0x2f27b4){const _0x49a62a=_0x4810,_0x262a01=_0x33f884();while(!![]){try{const _0x860bb8=-parseInt(_0x49a62a(0x1b6))/0x1+-parseInt(_0x49a62a(0x1a2))/0x2+parseInt(_0x49a62a(0x19d))/0x3+parseInt(_0x49a62a(0x19e))/0x4+parseInt(_0x49a62a(0x1c1))/0x5+parseInt(_0x49a62a(0x1bf))/0x6*(-parseInt(_0x49a62a(0x19a))/0x7)+-parseInt(_0x49a62a(0x190))/0x8*(-parseInt(_0x49a62a(0x1c2))/0x9);if(_0x860bb8===_0x2f27b4)break;else _0x262a01['push'](_0x262a01['shift']());}catch(_0x245a29){_0x262a01['push'](_0x262a01['shift']());}}}(_0x49fd,0xa9d40));import{Command as _0x23b846}from'ckeditor5/src/core.js';import{CKEditorError as _0x28189c,first as _0x301800}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x3227ec}from'./aiquickactionsui.js';function _0x49fd(){const _0x472997=['addSelectionToChatContext','4388536KqVSTm','model','selection','removeSelectionFromChatContext','isCollapsed','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','parent','startConversation','CHAT','ai-quick-actions-plugin-not-found','4248433ghwNmD','has','actionName','547251wsVkfR','2689684RSJKcC','isVisible','editor','AIActions','1901288AaUakC','chat','ask-ai','getSelectedBlocks','log','activateTab','document','view','AIChat','_handleAIActionsAction','icon','sendMessage','_handleAIActionsActionLabel','plugins','get','label','ACTION','execute','displayedPrompt','AITabs','451760zdXkPZ','_expandSelectionIfCollapsed','activeTab','AIReviewMode','REVIEW','locale','getLimitElement','AIChatController','prompt','6vMqjPD','_handleAIChatAction','3764835lyBwGd','18fgDbLy','setSelection','args','focusPromptInput','change','_handleAIReviewAction','type','other','executeAction','handleAIReviewAction','schema'];_0x49fd=function(){return _0x472997;};return _0x49fd();}import{getTranslation as _0x1b5161}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x23b846{[_0x4dd721(0x1b3)](_0x279a71){const _0x431b3b=_0x4dd721;switch(this[_0x431b3b(0x1b7)](),_0x279a71[_0x431b3b(0x18a)]){case _0x3227ec[_0x431b3b(0x198)]:if(!this[_0x431b3b(0x1a0)][_0x431b3b(0x1af)][_0x431b3b(0x19b)](_0x431b3b(0x1aa))){const _0x470956=_0x1b5161(this[_0x431b3b(0x1a0)][_0x431b3b(0x1bb)],_0x431b3b(0x195),_0x431b3b(0x1aa));throw new _0x28189c(_0x431b3b(0x199),this[_0x431b3b(0x1a0)],{'errorMessage':_0x470956});}this[_0x431b3b(0x1c0)](_0x279a71);break;case _0x3227ec[_0x431b3b(0x1b2)]:if(!this[_0x431b3b(0x1a0)][_0x431b3b(0x1af)][_0x431b3b(0x19b)](_0x431b3b(0x1a1))){const _0x3b7c89=_0x1b5161(this[_0x431b3b(0x1a0)][_0x431b3b(0x1bb)],_0x431b3b(0x195),_0x431b3b(0x1a1));throw new _0x28189c(_0x431b3b(0x199),this[_0x431b3b(0x1a0)],{'errorMessage':_0x3b7c89});}this[_0x431b3b(0x1ab)](_0x279a71);break;case _0x3227ec[_0x431b3b(0x1ba)]:if(!this[_0x431b3b(0x1a0)][_0x431b3b(0x1af)][_0x431b3b(0x19b)](_0x431b3b(0x1b9))){const _0x1867e3=_0x1b5161(this[_0x431b3b(0x1a0)][_0x431b3b(0x1bb)],_0x431b3b(0x195),_0x431b3b(0x1b9));throw new _0x28189c(_0x431b3b(0x199),this[_0x431b3b(0x1a0)],{'errorMessage':_0x1867e3});}this[_0x431b3b(0x189)](_0x279a71);}}async[_0x4dd721(0x1c0)](_0x54c15a){const _0x3119ee=_0x4dd721,_0x553e33=this[_0x3119ee(0x1a0)][_0x3119ee(0x1af)][_0x3119ee(0x1b0)](_0x3119ee(0x1aa)),_0x137cc4=this[_0x3119ee(0x1a0)][_0x3119ee(0x1af)][_0x3119ee(0x1b0)](_0x3119ee(0x1bd)),_0x4ba80f=this[_0x3119ee(0x1a0)][_0x3119ee(0x1af)][_0x3119ee(0x1b0)](_0x3119ee(0x1b5))[_0x3119ee(0x1a9)];if(_0x4ba80f[_0x3119ee(0x19f)]||(_0x4ba80f[_0x3119ee(0x19f)]=!0x0),_0x3119ee(0x1a3)!==_0x4ba80f[_0x3119ee(0x1b8)]&&_0x4ba80f[_0x3119ee(0x1a7)](_0x3119ee(0x1a3)),_0x3119ee(0x1a4)===_0x54c15a['id'])_0x137cc4[_0x3119ee(0x193)](),await _0x553e33[_0x3119ee(0x18f)](),_0x553e33[_0x3119ee(0x187)]();else await _0x553e33[_0x3119ee(0x197)](),_0x137cc4[_0x3119ee(0x193)](),await _0x553e33[_0x3119ee(0x18f)](),_0x553e33[_0x3119ee(0x187)](),await _0x553e33[_0x3119ee(0x1ad)]({'message':_0x54c15a[_0x3119ee(0x1be)]||_0x54c15a[_0x3119ee(0x1b4)],'attributes':{'quickActionData':{'id':_0x54c15a['id']},'displayedPrompt':_0x54c15a[_0x3119ee(0x1b4)]}});}[_0x4dd721(0x1b7)](){const _0x548b9f=_0x4dd721,_0x345f4a=this[_0x548b9f(0x1a0)],_0xdc56ea=_0x345f4a[_0x548b9f(0x191)][_0x548b9f(0x1a8)][_0x548b9f(0x192)];if(!_0xdc56ea[_0x548b9f(0x194)])return;const _0x4d3e71=_0x301800(_0xdc56ea[_0x548b9f(0x1a5)]())||_0x345f4a[_0x548b9f(0x191)][_0x548b9f(0x18e)][_0x548b9f(0x1bc)](_0xdc56ea);_0x345f4a[_0x548b9f(0x191)][_0x548b9f(0x188)](_0x386669=>{const _0x4acc47=_0x548b9f;_0x386669[_0x4acc47(0x1c3)](_0x4d3e71,'in');});}[_0x4dd721(0x1ae)](_0x1b62ca){const _0x221dd1=_0x4dd721;return _0x1b62ca[_0x221dd1(0x196)]?.[_0x221dd1(0x1b1)]&&_0x221dd1(0x18b)!==_0x1b62ca[_0x221dd1(0x196)]?.['id']?_0x1b62ca[_0x221dd1(0x196)][_0x221dd1(0x1b1)]+':\x20'+_0x1b62ca[_0x221dd1(0x1b4)]:_0x1b62ca[_0x221dd1(0x1b4)];}async[_0x4dd721(0x1ab)](_0x564ea1){const _0x46130a=_0x4dd721,_0x3e4508=this[_0x46130a(0x1a0)][_0x46130a(0x1af)][_0x46130a(0x1b0)](_0x46130a(0x1a1)),_0x3925f5=_0x564ea1[_0x46130a(0x1be)]?{'userMessage':_0x564ea1[_0x46130a(0x1be)],'model':_0x564ea1[_0x46130a(0x191)]}:{'actionName':_0x564ea1[_0x46130a(0x19c)]||_0x564ea1['id'],'args':_0x564ea1[_0x46130a(0x1c4)]},_0x8279d7=this[_0x46130a(0x1ae)](_0x564ea1);await _0x3e4508[_0x46130a(0x18c)](_0x3925f5,_0x8279d7,_0x564ea1[_0x46130a(0x1ac)]);}async[_0x4dd721(0x189)](_0x39faa6){const _0x5861c0=_0x4dd721;console[_0x5861c0(0x1a6)](_0x5861c0(0x18d),_0x39faa6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a1ca7=_0x49d1;(function(_0x2079bb,_0x55719d){const _0x1c3141=_0x49d1,_0x44ea60=_0x2079bb();while(!![]){try{const _0x2cd199=-parseInt(_0x1c3141(0x1c5))/0x1+parseInt(_0x1c3141(0x1b1))/0x2+-parseInt(_0x1c3141(0x1c1))/0x3+parseInt(_0x1c3141(0x1bd))/0x4+parseInt(_0x1c3141(0x1bf))/0x5*(-parseInt(_0x1c3141(0x1c2))/0x6)+parseInt(_0x1c3141(0x1ae))/0x7*(-parseInt(_0x1c3141(0x1aa))/0x8)+parseInt(_0x1c3141(0x1ab))/0x9;if(_0x2cd199===_0x55719d)break;else _0x44ea60['push'](_0x44ea60['shift']());}catch(_0x1b5a9e){_0x44ea60['push'](_0x44ea60['shift']());}}}(_0x9258,0x8bdb9));import{Plugin as _0x5da957}from'ckeditor5/src/core.js';function _0x9258(){const _0x20676e=['pluginName','525742zlyaQb','AIQuickActionsEditing','commands','init','add','model','editor','change:range','isPremiumPlugin','isOfficialPlugin','has','selection','2678804wpXScY','removeSelectionFromChatContext','650tjpMxn','aiQuickAction','2699589gvuHrO','6054qsRxHY','AIChat','document','573917HtOcAx','1143448IdiRLQ','16352631uVtmXs','directChange','get','28ImGrnP','plugins'];_0x9258=function(){return _0x20676e;};return _0x9258();}import{AIQuickActionsCommand as _0xa593f2}from'./aiquickactionscommand.js';function _0x49d1(_0x21a710,_0x44c814){const _0x9258ef=_0x9258();return _0x49d1=function(_0x49d1c8,_0x275a5f){_0x49d1c8=_0x49d1c8-0x1aa;let _0x43df70=_0x9258ef[_0x49d1c8];return _0x43df70;},_0x49d1(_0x21a710,_0x44c814);}export class AIQuickActionsEditing extends _0x5da957{static get[_0x1a1ca7(0x1b0)](){const _0x507e84=_0x1a1ca7;return _0x507e84(0x1b2);}static get[_0x1a1ca7(0x1ba)](){return!0x0;}static get[_0x1a1ca7(0x1b9)](){return!0x0;}[_0x1a1ca7(0x1b4)](){const _0x558fb2=_0x1a1ca7,_0x5e6f9c=this[_0x558fb2(0x1b7)],_0x2d3e5d=new _0xa593f2(this[_0x558fb2(0x1b7)]);if(_0x5e6f9c[_0x558fb2(0x1b3)][_0x558fb2(0x1b5)](_0x558fb2(0x1c0),_0x2d3e5d),_0x5e6f9c[_0x558fb2(0x1af)][_0x558fb2(0x1bb)](_0x558fb2(0x1c3))){const _0x5a6e35=this[_0x558fb2(0x1b7)][_0x558fb2(0x1af)][_0x558fb2(0x1ad)](_0x558fb2(0x1c3));_0x5e6f9c[_0x558fb2(0x1b6)][_0x558fb2(0x1c4)][_0x558fb2(0x1bc)]['on'](_0x558fb2(0x1b8),(_0x5e0f7f,_0x5c51b3)=>{const _0x32013b=_0x558fb2;_0x5c51b3[_0x32013b(0x1ac)]&&_0x5a6e35[_0x32013b(0x1be)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x20864e=_0x5ea3;(function(_0x1a5379,_0x1625dd){const _0x1abeb7=_0x5ea3,_0x4d4dd9=_0x1a5379();while(!![]){try{const _0x576943=-parseInt(_0x1abeb7(0x1e9))/0x1*(-parseInt(_0x1abeb7(0x264))/0x2)+parseInt(_0x1abeb7(0x21b))/0x3*(-parseInt(_0x1abeb7(0x251))/0x4)+parseInt(_0x1abeb7(0x1ef))/0x5*(parseInt(_0x1abeb7(0x1fc))/0x6)+-parseInt(_0x1abeb7(0x221))/0x7+-parseInt(_0x1abeb7(0x242))/0x8*(-parseInt(_0x1abeb7(0x20c))/0x9)+-parseInt(_0x1abeb7(0x21c))/0xa+-parseInt(_0x1abeb7(0x272))/0xb*(-parseInt(_0x1abeb7(0x22e))/0xc);if(_0x576943===_0x1625dd)break;else _0x4d4dd9['push'](_0x4d4dd9['shift']());}catch(_0x4425eb){_0x4d4dd9['push'](_0x4d4dd9['shift']());}}}(_0x243f,0xc9a97));function _0x5ea3(_0x5c3754,_0x444e58){const _0x243f37=_0x243f();return _0x5ea3=function(_0x5ea3de,_0x23d5d8){_0x5ea3de=_0x5ea3de-0x1e3;let _0x3bd970=_0x243f37[_0x5ea3de];return _0x3bd970;},_0x5ea3(_0x5c3754,_0x444e58);}import{IconAIAdjustLength as _0x5476b2,IconAIChangeTone as _0x11b74c,IconAIChatCommands as _0x3a46dc,IconAIContinueWriting as _0x44e727,IconAIGrammarCheck as _0xb42b6a,IconAIImproveWriting as _0x518c8b,IconAIOther as _0x3d6a06,IconAIQuickActions as _0x3424e6,IconAITranslate as _0x1f1912}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x5d6d0d}from'ckeditor5/src/core.js';import{CKEditorError as _0x1ce2e2,logError as _0x9d7beb}from'ckeditor5/src/utils.js';import{getTranslation as _0x52e94d}from'../aicore/utils/common-translations.js';function _0x243f(){const _0x3bfa24=['init','children','chat-commands','korean','isEnabled','AI_QUICK_ACTIONS_IMPROVE_WRITING','ai.quickActions.removeCommands','_initializeQuickActionsMenuBar','translate-to-french','componentFactory','ai-quick-actions-unavailable-model','215112xhZKbY','pluginName','translate','french','REVIEW','AIChat','translate-to-spanish','values','AI_QUICK_ACTIONS_CHAT_COMMANDS','make-tone-casual','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_MAKE_LONGER','change-tone','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','highlight-key-points','540IbnjGR','AIConnector','type','actions','ACTION','set','make-tone-professional','russian','map','explain','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-italian','find','filter','summarize','ai.quickActions.extraCommands','config','_getDefaultAndCustomActions','AIActions','54AIJrSj','icon','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','translate-to-german','focus','_initializeQuickActionsComponentsAndCommands','make-shorter','includes','AI_QUICK_ACTIONS_OTHER','translate-to-english','other','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','6831341brnVjJ','AI_QUICK_ACTIONS_ADJUST_LENGTH','spanish','menuBarView','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','_prepareQuickActionsDefinition','adjust-length','editor','AI_QUICK_ACTIONS_MORE_CONFIDENT','translate-to-chinese','<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>','CHAT','translate-to-japanese','locale','length','execute','AI_QUICK_ACTIONS_MORE_FRIENDLY','isPremiumPlugin','translate-to-russian','getDefaultQuickActions','has','AI_QUICK_ACTIONS_MAKE_SHORTER','push','language','items','English','2049MdKUgG','add','_initializeQuickActionsDropdown','fix-grammar','continue','make-longer','5qelmrh','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','english','<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_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_EXPLAIN','_executeQuickAction','portuguese','menu','make-tone-confident','get','italian','4432890EqhTuA','forEach','make-tone-direct','_shouldIncludeAction','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_MORE_CASUAL','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','aiQuickActions','close','_quickActionsDefinition','some','menuBar:aiQuickActions','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','attachToDom','AI_QUICK_ACTIONS_SUMMARIZE','261lDcsXh','displayedPrompt','AIQuickActionsUI','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','uiLanguage','ask-ai','getAll','translate-to-korean','chinese','translate-to-portuguese','german','message','requires','ai.quickActions.isSearchEnabled','DisplayNames','9234hlRVul','14484990bSUoDa','label','improve-writing','japanese','_initializeQuickActionsComponents','5228832iNfkoA','commands','isOfficialPlugin','view','editing','make-tone-friendly','menuitem','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','model','delegate','aiQuickAction','36RDfrpk','AIReviewMode','ai.chat.context.document.enabled','buttonView','panelView','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_HEADING','plugins','replace'];_0x243f=function(){return _0x3bfa24;};return _0x243f();}import{aiQuickActionsDropdownCreator as _0x5f0fb3}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x3876dc}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x4676bc,BalloonToolbar as _0x3d5da2,MenuBarMenuView as _0x39bbad,MenuBarMenuListView as _0x50d7b8,MenuBarMenuListItemView as _0x14afc1,MenuBarMenuListItemButtonView as _0x1fe0e6}from'ckeditor5/src/ui.js';import{AIModels as _0xd0d2ac}from'../aicore/model/aimodels.js';import{AIConnector as _0x4503c4}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const vt=_0x20864e(0x27c),Pt=_0x20864e(0x1f2),Kt=_0x20864e(0x25b);export var AIQuickActionType;!function(_0x1bd1c8){const _0x4c4d5d=_0x20864e;_0x1bd1c8[_0x4c4d5d(0x27d)]=_0x4c4d5d(0x27d),_0x1bd1c8[_0x4c4d5d(0x255)]=_0x4c4d5d(0x255),_0x1bd1c8[_0x4c4d5d(0x246)]=_0x4c4d5d(0x246);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x223547){const _0x21ffae=_0x20864e;_0x223547[_0x21ffae(0x27d)]=_0x21ffae(0x247),_0x223547[_0x21ffae(0x255)]=_0x21ffae(0x263),_0x223547[_0x21ffae(0x246)]=_0x21ffae(0x22f);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x5d6d0d{static get[_0x20864e(0x218)](){return[_0x3d5da2,_0x4503c4];}static get[_0x20864e(0x243)](){const _0x15233c=_0x20864e;return _0x15233c(0x20e);}static get[_0x20864e(0x223)](){return!0x0;}static get[_0x20864e(0x283)](){return!0x0;}async[_0x20864e(0x237)](){const _0x10feb8=_0x20864e,_0x1e0c03=await this[_0x10feb8(0x262)]();this[_0x10feb8(0x277)](_0x1e0c03),this[_0x10feb8(0x26a)]();}static[_0x20864e(0x285)](_0x8f3816){return function(_0x2a26af){const _0x33726c=_0x5ea3,_0xb182c9=new Intl[(_0x33726c(0x21a))](['en'],{'type':_0x33726c(0x1e6)})['of'](_0x2a26af[_0x33726c(0x210)]),_0x5a6fd4=_0xb182c9||_0x33726c(0x1e8),_0x518c33=[{'id':_0x33726c(0x211),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x24c)),'type':AIQuickActionType[_0x33726c(0x27d)],'icon':_0x3a46dc},{'id':_0x33726c(0x239),'label':_0x52e94d(_0x2a26af,_0x33726c(0x24a)),'icon':_0x3a46dc,'actions':[{'id':_0x33726c(0x25a),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x1f5)),'prompt':vt[_0x33726c(0x236)]('%0',_0x5a6fd4),'type':AIQuickActionType[_0x33726c(0x27d)]},{'id':_0x33726c(0x25f),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x20b)),'prompt':Pt[_0x33726c(0x236)]('%0',_0x5a6fd4),'type':AIQuickActionType[_0x33726c(0x27d)]},{'id':_0x33726c(0x250),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x276)),'prompt':Kt[_0x33726c(0x236)]('%0',_0x5a6fd4),'type':AIQuickActionType[_0x33726c(0x27d)]}]},{'id':_0x33726c(0x21e),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x23c)),'type':AIQuickActionType[_0x33726c(0x255)],'icon':_0x518c8b},{'id':_0x33726c(0x1ed),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x228)),'type':AIQuickActionType[_0x33726c(0x255)],'icon':_0x44e727},{'id':_0x33726c(0x1ec),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x22a)),'type':AIQuickActionType[_0x33726c(0x255)],'icon':_0xb42b6a},{'id':_0x33726c(0x278),'label':_0x52e94d(_0x2a26af,_0x33726c(0x273)),'icon':_0x5476b2,'actions':[{'id':_0x33726c(0x26b),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x1e4)),'type':AIQuickActionType[_0x33726c(0x255)]},{'id':_0x33726c(0x1ee),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x24d)),'type':AIQuickActionType[_0x33726c(0x255)]}]},{'id':_0x33726c(0x24e),'label':_0x52e94d(_0x2a26af,_0x33726c(0x229)),'icon':_0x11b74c,'actions':[{'id':_0x33726c(0x24b),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x201)),'type':AIQuickActionType[_0x33726c(0x255)]},{'id':_0x33726c(0x1fe),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x270)),'type':AIQuickActionType[_0x33726c(0x255)]},{'id':_0x33726c(0x226),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x282)),'type':AIQuickActionType[_0x33726c(0x255)]},{'id':_0x33726c(0x1f9),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x27a)),'type':AIQuickActionType[_0x33726c(0x255)]},{'id':_0x33726c(0x257),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x233)),'type':AIQuickActionType[_0x33726c(0x255)]}]},{'id':_0x33726c(0x244),'label':_0x52e94d(_0x2a26af,_0x33726c(0x1f4)),'icon':_0x1f1912,'actions':[{'id':_0x33726c(0x26e),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x267)),'type':AIQuickActionType[_0x33726c(0x255)],'actionName':_0x33726c(0x244),'args':{'language':_0x33726c(0x1f1)}},{'id':_0x33726c(0x27b),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x1f3)),'type':AIQuickActionType[_0x33726c(0x255)],'actionName':_0x33726c(0x244),'args':{'language':_0x33726c(0x214)}},{'id':_0x33726c(0x248),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x24f)),'type':AIQuickActionType[_0x33726c(0x255)],'actionName':_0x33726c(0x244),'args':{'language':_0x33726c(0x274)}},{'id':_0x33726c(0x268),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x271)),'type':AIQuickActionType[_0x33726c(0x255)],'actionName':_0x33726c(0x244),'args':{'language':_0x33726c(0x216)}},{'id':_0x33726c(0x23f),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x266)),'type':AIQuickActionType[_0x33726c(0x255)],'actionName':_0x33726c(0x244),'args':{'language':_0x33726c(0x245)}},{'id':_0x33726c(0x27e),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x20f)),'type':AIQuickActionType[_0x33726c(0x255)],'actionName':_0x33726c(0x244),'args':{'language':_0x33726c(0x21f)}},{'id':_0x33726c(0x215),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x203)),'type':AIQuickActionType[_0x33726c(0x255)],'actionName':_0x33726c(0x244),'args':{'language':_0x33726c(0x1f7)}},{'id':_0x33726c(0x213),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x200)),'type':AIQuickActionType[_0x33726c(0x255)],'actionName':_0x33726c(0x244),'args':{'language':_0x33726c(0x23a)}},{'id':_0x33726c(0x25c),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x1f0)),'type':AIQuickActionType[_0x33726c(0x255)],'actionName':_0x33726c(0x244),'args':{'language':_0x33726c(0x1fb)}},{'id':_0x33726c(0x284),'displayedPrompt':_0x52e94d(_0x2a26af,_0x33726c(0x209)),'type':AIQuickActionType[_0x33726c(0x255)],'actionName':_0x33726c(0x244),'args':{'language':_0x33726c(0x258)}}]},{'id':_0x33726c(0x26f),'label':_0x52e94d(_0x2a26af,_0x33726c(0x26d)),'icon':_0x3d6a06,'actions':[]}];return _0x518c33;}(_0x8f3816);}async[_0x20864e(0x262)](){const _0x3f5a64=_0x20864e,_0x2e7f6d=AIQuickActionsUI[_0x3f5a64(0x285)](this[_0x3f5a64(0x279)][_0x3f5a64(0x27f)]),_0xd0fe55=this[_0x3f5a64(0x279)][_0x3f5a64(0x261)][_0x3f5a64(0x1fa)](_0x3f5a64(0x260))||[];let _0x1d3598=[];try{_0x1d3598=await new _0xd0d2ac({'connector':this[_0x3f5a64(0x279)][_0x3f5a64(0x235)][_0x3f5a64(0x1fa)](_0x3f5a64(0x252)),'locale':this[_0x3f5a64(0x279)][_0x3f5a64(0x27f)]})[_0x3f5a64(0x212)]();}catch(_0x54b499){const _0x42d8d1=new _0x1ce2e2(_0x3f5a64(0x202),this,{'error':_0x54b499});_0x9d7beb(_0x42d8d1[_0x3f5a64(0x217)]);}finally{const _0x4f89f8=_0xd0fe55[_0x3f5a64(0x259)](_0x1142af=>({..._0x1142af,'icon':void 0x0}));_0x2e7f6d[_0x3f5a64(0x25d)](_0x5d227d=>_0x3f5a64(0x26f)===_0x5d227d['id'])[_0x3f5a64(0x254)][_0x3f5a64(0x1e5)](..._0x4f89f8),_0x2e7f6d[_0x3f5a64(0x1fd)](_0x5672a4=>{const _0x332f8a=_0x3f5a64;if(_0x332f8a(0x254)in _0x5672a4)_0x5672a4[_0x332f8a(0x254)][_0x332f8a(0x1fd)](_0x54dee4=>{const _0x4b40d4=_0x332f8a;if(_0x54dee4[_0x4b40d4(0x23b)]=!!_0x1d3598[_0x4b40d4(0x25d)](_0x2a506d=>_0x2a506d['id']===_0x54dee4[_0x4b40d4(0x22b)])||void 0x0===_0x54dee4[_0x4b40d4(0x22b)],!_0x54dee4[_0x4b40d4(0x23b)]){const _0x14f1b7=new _0x1ce2e2(_0x4b40d4(0x241),this,{'actionId':_0x54dee4['id'],'modelId':_0x54dee4[_0x4b40d4(0x22b)]});_0x9d7beb(_0x14f1b7[_0x4b40d4(0x217)]);}});else{if(_0x5672a4[_0x332f8a(0x23b)]=!!_0x1d3598[_0x332f8a(0x25d)](_0x537606=>_0x537606['id']===_0x5672a4[_0x332f8a(0x22b)])||void 0x0===_0x5672a4[_0x332f8a(0x22b)],!_0x5672a4[_0x332f8a(0x23b)]){const _0x192964=new _0x1ce2e2(_0x332f8a(0x241),this,{'actionId':_0x5672a4['id'],'modelId':_0x5672a4[_0x332f8a(0x22b)]});_0x9d7beb(_0x192964[_0x332f8a(0x217)]);}}});}return _0x2e7f6d;}[_0x20864e(0x26a)](){const _0x576e2b=_0x20864e,_0x2b512f=new _0x4676bc(this[_0x576e2b(0x279)][_0x576e2b(0x27f)]);_0x2b512f[_0x576e2b(0x20a)](),this[_0x576e2b(0x1eb)](_0x2b512f),this[_0x576e2b(0x23e)](),this[_0x576e2b(0x220)](_0x2b512f);}[_0x20864e(0x1eb)](_0x5de2fe){const _0x9a1e2b=_0x20864e,_0xcd37ac=this[_0x9a1e2b(0x279)][_0x9a1e2b(0x261)][_0x9a1e2b(0x1fa)](_0x9a1e2b(0x219))??!0x0;this[_0x9a1e2b(0x279)]['ui'][_0x9a1e2b(0x240)][_0x9a1e2b(0x1ea)](_0x9a1e2b(0x204),_0x5f0fb3({'editor':this[_0x9a1e2b(0x279)],'content':this[_0x9a1e2b(0x206)],'buttonDefinition':{'icon':_0x3424e6,'label':_0x52e94d(this[_0x9a1e2b(0x279)][_0x9a1e2b(0x27f)],_0x9a1e2b(0x234))},'bodyCollection':_0x5de2fe,'hasSearch':_0xcd37ac}));}[_0x20864e(0x277)](_0xb95635){const _0x2d2baf=_0x20864e;this[_0x2d2baf(0x206)]=_0xb95635[_0x2d2baf(0x259)](_0xd378a5=>{const _0x2fe05e=_0x2d2baf;if(_0x2fe05e(0x254)in _0xd378a5){const _0x4fda85=_0xd378a5;return{..._0x4fda85,'actions':_0x4fda85[_0x2fe05e(0x254)][_0x2fe05e(0x259)](_0x1a1eaa=>{const {actions:_0x5c2ebc,..._0x251a26}=_0x4fda85;return{..._0x1a1eaa,'parent':_0x251a26};})[_0x2fe05e(0x25e)](_0x152e25=>this[_0x2fe05e(0x1ff)](_0x152e25))};}return _0xd378a5;})[_0x2d2baf(0x25e)](_0x45bdbe=>_0x2d2baf(0x254)in _0x45bdbe?_0x45bdbe[_0x2d2baf(0x254)][_0x2d2baf(0x280)]>0x0:this[_0x2d2baf(0x1ff)](_0x45bdbe));}[_0x20864e(0x1ff)](_0x1b8afb){const _0xecec84=_0x20864e,_0x3e865a=this[_0xecec84(0x279)][_0xecec84(0x261)][_0xecec84(0x1fa)](_0xecec84(0x23d))||[];return this[_0xecec84(0x279)][_0xecec84(0x235)][_0xecec84(0x1e3)](AIQuickActionTypeToPluginName[_0x1b8afb[_0xecec84(0x253)]])&&!_0x3e865a[_0xecec84(0x26c)](_0x1b8afb['id'])&&!(_0x1b8afb[_0xecec84(0x253)]===AIQuickActionType[_0xecec84(0x27d)]&&!0x1===this[_0xecec84(0x279)][_0xecec84(0x261)][_0xecec84(0x1fa)](_0xecec84(0x230)));}[_0x20864e(0x220)](_0x3109a6){const _0x172f82=_0x20864e;this[_0x172f82(0x206)][_0x172f82(0x1fd)](_0x57a87f=>{const _0x295a55=_0x172f82;if(_0x295a55(0x254)in _0x57a87f){const _0x3831ef=_0x5f0fb3({'editor':this[_0x295a55(0x279)],'content':_0x57a87f[_0x295a55(0x254)],'buttonDefinition':_0x57a87f,'bodyCollection':_0x3109a6});this[_0x295a55(0x279)]['ui'][_0x295a55(0x240)][_0x295a55(0x1ea)](_0x57a87f['id'],_0x3831ef),_0x57a87f[_0x295a55(0x254)][_0x295a55(0x1fd)](_0x1499a3=>{const _0x4dddbd=_0x295a55,_0xca5eeb=_0x3876dc({'editor':this[_0x4dddbd(0x279)],'action':_0x1499a3});this[_0x4dddbd(0x279)]['ui'][_0x4dddbd(0x240)][_0x4dddbd(0x1ea)](_0x1499a3['id'],_0xca5eeb);});}else{const _0x34ead4=_0x3876dc({'editor':this[_0x295a55(0x279)],'action':_0x57a87f,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x295a55(0x279)]['ui'][_0x295a55(0x240)][_0x295a55(0x1ea)](_0x57a87f['id'],_0x34ead4);}});}[_0x20864e(0x23e)](){const _0x19109a=_0x20864e;this[_0x19109a(0x279)]['ui'][_0x19109a(0x240)][_0x19109a(0x1ea)](_0x19109a(0x208),_0x3a5443=>{const _0x57e078=_0x19109a,_0x43e72f=new _0x39bbad(_0x3a5443),_0x46acaa=_0x52e94d(_0x3a5443,_0x57e078(0x234));_0x43e72f[_0x57e078(0x231)][_0x57e078(0x256)]({'label':_0x46acaa,'icon':_0x3424e6});const _0x40047b=new _0x50d7b8(_0x3a5443);_0x40047b[_0x57e078(0x256)]({'ariaLabel':_0x46acaa,'role':_0x57e078(0x1f8)}),this[_0x57e078(0x206)][_0x57e078(0x1fd)](_0x2c9489=>{const _0x39dc67=_0x57e078;if(_0x39dc67(0x254)in _0x2c9489){const _0x16ddd0=_0x2c9489,_0x38eb8c=new _0x14afc1(_0x3a5443,_0x43e72f),_0x5853c8=new _0x39bbad(_0x3a5443),_0x5308f7=new _0x50d7b8(_0x3a5443);_0x5853c8[_0x39dc67(0x231)][_0x39dc67(0x256)]({'label':_0x16ddd0[_0x39dc67(0x21d)],'icon':_0x16ddd0[_0x39dc67(0x265)]}),_0x16ddd0[_0x39dc67(0x254)][_0x39dc67(0x1fd)](_0x493687=>{const _0x48ede4=_0x39dc67,_0x54a7d4=new _0x14afc1(_0x3a5443,_0x5853c8),_0x3b0ad7=new _0x1fe0e6(_0x3a5443);_0x3b0ad7[_0x48ede4(0x256)]({'label':_0x493687[_0x48ede4(0x20d)],'icon':_0x493687[_0x48ede4(0x265)],'role':_0x48ede4(0x227),'isEnabled':_0x493687[_0x48ede4(0x23b)]}),_0x3b0ad7['on'](_0x48ede4(0x281),()=>{const _0x34fe45=_0x48ede4;this[_0x34fe45(0x1f6)](_0x493687);}),_0x3b0ad7[_0x48ede4(0x22c)](_0x48ede4(0x281))['to'](_0x5853c8),_0x54a7d4[_0x48ede4(0x238)][_0x48ede4(0x1ea)](_0x3b0ad7),_0x5308f7[_0x48ede4(0x1e7)][_0x48ede4(0x1ea)](_0x54a7d4);}),_0x5853c8[_0x39dc67(0x232)][_0x39dc67(0x238)][_0x39dc67(0x1ea)](_0x5308f7),_0x38eb8c[_0x39dc67(0x238)][_0x39dc67(0x1ea)](_0x5853c8),_0x40047b[_0x39dc67(0x1e7)][_0x39dc67(0x1ea)](_0x38eb8c);}else{const _0x419921=_0x2c9489,_0xbbf498=new _0x14afc1(_0x3a5443,_0x43e72f),_0x44d8b3=new _0x1fe0e6(_0x3a5443);_0x44d8b3[_0x39dc67(0x256)]({'label':_0x419921[_0x39dc67(0x20d)],'icon':_0x419921[_0x39dc67(0x265)],'role':_0x39dc67(0x227),'isEnabled':_0x419921[_0x39dc67(0x23b)]}),_0x44d8b3['on'](_0x39dc67(0x281),()=>{const _0x55bce5=_0x39dc67;this[_0x55bce5(0x1f6)](_0x419921);}),_0x44d8b3[_0x39dc67(0x22c)](_0x39dc67(0x281))['to'](_0x43e72f),_0xbbf498[_0x39dc67(0x238)][_0x39dc67(0x1ea)](_0x44d8b3),_0x40047b[_0x39dc67(0x1e7)][_0x39dc67(0x1ea)](_0xbbf498);}});const _0x621385=Object[_0x57e078(0x249)](AIQuickActionTypeToPluginName)[_0x57e078(0x207)](_0x2e0a93=>this[_0x57e078(0x279)][_0x57e078(0x235)][_0x57e078(0x1e3)](_0x2e0a93));return _0x43e72f[_0x57e078(0x256)]({'isEnabled':_0x621385}),_0x43e72f[_0x57e078(0x232)][_0x57e078(0x238)][_0x57e078(0x1ea)](_0x40047b),_0x43e72f;});}[_0x20864e(0x1f6)](_0x275e45){const _0x39af38=_0x20864e,_0x21ac99=this[_0x39af38(0x279)];_0x21ac99[_0x39af38(0x225)][_0x39af38(0x224)][_0x39af38(0x269)](),_0x21ac99[_0x39af38(0x222)][_0x39af38(0x281)](_0x39af38(0x22d),_0x275e45);const _0x25e448=_0x21ac99['ui'][_0x39af38(0x224)][_0x39af38(0x275)];_0x25e448&&_0x25e448[_0x39af38(0x205)]&&_0x25e448[_0x39af38(0x205)]();}}
|
|
23
|
+
const _0x1c48f4=_0x5c9c;(function(_0x18516c,_0x37dbde){const _0x85069c=_0x5c9c,_0x4d1316=_0x18516c();while(!![]){try{const _0x27a13c=-parseInt(_0x85069c(0x116))/0x1+parseInt(_0x85069c(0xf6))/0x2*(parseInt(_0x85069c(0x171))/0x3)+-parseInt(_0x85069c(0x14e))/0x4*(-parseInt(_0x85069c(0x15d))/0x5)+-parseInt(_0x85069c(0x146))/0x6*(parseInt(_0x85069c(0x13c))/0x7)+-parseInt(_0x85069c(0x114))/0x8*(parseInt(_0x85069c(0xfa))/0x9)+-parseInt(_0x85069c(0x15f))/0xa*(parseInt(_0x85069c(0x16e))/0xb)+-parseInt(_0x85069c(0x11e))/0xc*(-parseInt(_0x85069c(0x154))/0xd);if(_0x27a13c===_0x37dbde)break;else _0x4d1316['push'](_0x4d1316['shift']());}catch(_0x316f1f){_0x4d1316['push'](_0x4d1316['shift']());}}}(_0x1bd9,0x996d1));import{IconAIAdjustLength as _0x3458e5,IconAIChangeTone as _0x1bc972,IconAIChatCommands as _0x4db17f,IconAIContinueWriting as _0x1b6513,IconAIGrammarCheck as _0x1305b7,IconAIImproveWriting as _0x41b880,IconAIOther as _0x5e6e15,IconAIQuickActions as _0x1bff73,IconAITranslate as _0x44da77}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x2e1d81}from'ckeditor5/src/core.js';import{CKEditorError as _0x14757a,logError as _0x5e5c23}from'ckeditor5/src/utils.js';function _0x5c9c(_0xfff466,_0x41a11e){const _0x1bd936=_0x1bd9();return _0x5c9c=function(_0x5c9cd1,_0x4cfb3f){_0x5c9cd1=_0x5c9cd1-0xee;let _0x1aa812=_0x1bd936[_0x5c9cd1];return _0x1aa812;},_0x5c9c(_0xfff466,_0x41a11e);}import{getTranslation as _0x32f977}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x25f2e3}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5a2591}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x314612,BalloonToolbar as _0x2313f2,MenuBarMenuView as _0x3cf859,MenuBarMenuListView as _0x462c9b,MenuBarMenuListItemView as _0x89f7d3,MenuBarMenuListItemButtonView as _0x4f458f}from'ckeditor5/src/ui.js';import{AIModels as _0x447f87}from'../aicore/model/aimodels.js';import{AIConnector as _0x174cab}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x1c48f4(0x13a),ie=_0x1c48f4(0x11a),ne=_0x1c48f4(0x170);export var AIQuickActionType;function _0x1bd9(){const _0x2f1a01=['english','japanese','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','get','spanish','translate-to-japanese','make-tone-friendly','translate-to-korean','6rZDEje','make-tone-direct','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','REVIEW','menuitem','translate-to-chinese','380hjuzXp','_getDefaultAndCustomActions','aiQuickAction','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','language','delegate','260DctlOy','AIQuickActionsUI','execute','AI_QUICK_ACTIONS_EXPLAIN','view','AI_QUICK_ACTIONS_CONTINUE_WRITING','requires','make-tone-confident','ai-quick-actions-unavailable-model','11760GjDXup','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','130YioHkb','translate-to-portuguese','french','AI_QUICK_ACTIONS_ADJUST_LENGTH','_quickActionsDefinition','panelView','AI_QUICK_ACTIONS_TRANSLATE','translate-to-italian','make-longer','chat-commands','English','german','items','forEach','message','299079EzfpNY','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','<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>','402666WcCLiZ','icon','getAll','adjust-length','italian','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_MORE_FRIENDLY','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','buttonView','_executeQuickAction','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','translate-to-spanish','locale','portuguese','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','find','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_MORE_CASUAL','make-tone-casual','translate-to-german','some','config','ACTION','DisplayNames','summarize','map','highlight-key-points','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_MAKE_SHORTER','AIReviewMode','model','editing','_shouldIncludeAction','componentFactory','explain','add','displayedPrompt','push','AI_QUICK_ACTIONS_MAKE_LONGER','8fEprGg','actions','ai.chat.context.document.enabled','translate','495UYmTys','commands','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','type','AI_QUICK_ACTIONS_CHAT_COMMANDS','ai.quickActions.extraCommands','AIActions','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','length','plugins','AI_QUICK_ACTIONS_IMPROVE_WRITING','isEnabled','russian','includes','replace','ask-ai','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_CHANGE_TONE','has','AIConnector','getDefaultQuickActions','change-tone','translate-to-english','AI_QUICK_ACTIONS_OTHER','aiQuickActions','_initializeQuickActionsComponentsAndCommands','1976TUOPZe','editor','583682vDOVGq','init','make-tone-professional','continue','<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>','_prepareQuickActionsDefinition','AIChat','AI_QUICK_ACTIONS_SUMMARIZE','1063644Ysoblk','_initializeQuickActionsComponents','menu','close','make-shorter','set','children','translate-to-french','label','filter','focus','uiLanguage','attachToDom','pluginName','fix-grammar','ai.quickActions.isSearchEnabled','korean','other','isOfficialPlugin','AI_QUICK_ACTIONS_ASK_AI','translate-to-russian','isPremiumPlugin','values','improve-writing','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','chinese','_initializeQuickActionsDropdown','menuBar:aiQuickActions','<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>','CHAT','6677377DOOXYP'];_0x1bd9=function(){return _0x2f1a01;};return _0x1bd9();}!function(_0x135f8f){const _0x53ef06=_0x1c48f4;_0x135f8f[_0x53ef06(0x13b)]=_0x53ef06(0x13b),_0x135f8f[_0x53ef06(0x189)]=_0x53ef06(0x189),_0x135f8f[_0x53ef06(0x14b)]=_0x53ef06(0x14b);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xf6d429){const _0x3e1063=_0x1c48f4;_0xf6d429[_0x3e1063(0x13b)]=_0x3e1063(0x11c),_0xf6d429[_0x3e1063(0x189)]=_0x3e1063(0x100),_0xf6d429[_0x3e1063(0x14b)]=_0x3e1063(0x190);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x2e1d81{static get[_0x1c48f4(0x15a)](){return[_0x2313f2,_0x174cab];}static get[_0x1c48f4(0x12b)](){const _0x56979d=_0x1c48f4;return _0x56979d(0x155);}static get[_0x1c48f4(0x130)](){return!0x0;}static get[_0x1c48f4(0x133)](){return!0x0;}async[_0x1c48f4(0x117)](){const _0x40ea1b=_0x1c48f4,_0x24e991=await this[_0x40ea1b(0x14f)]();this[_0x40ea1b(0x11b)](_0x24e991),this[_0x40ea1b(0x113)]();}static[_0x1c48f4(0x10e)](_0x374a42){return function(_0x1fcc79){const _0x1e186b=_0x5c9c,_0x222e53=new Intl[(_0x1e186b(0x18a))](['en'],{'type':_0x1e186b(0x152)})['of'](_0x1fcc79[_0x1e186b(0x129)]),_0x563df1=_0x222e53||_0x1e186b(0x169),_0x49dee5=[{'id':_0x1e186b(0x109),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x131)),'type':AIQuickActionType[_0x1e186b(0x13b)],'icon':_0x4db17f},{'id':_0x1e186b(0x168),'label':_0x32f977(_0x1fcc79,_0x1e186b(0xfe)),'icon':_0x4db17f,'actions':[{'id':_0x1e186b(0xf1),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x157)),'prompt':ee[_0x1e186b(0x108)]('%0',_0x563df1),'type':AIQuickActionType[_0x1e186b(0x13b)]},{'id':_0x1e186b(0x18b),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x11d)),'prompt':ie[_0x1e186b(0x108)]('%0',_0x563df1),'type':AIQuickActionType[_0x1e186b(0x13b)]},{'id':_0x1e186b(0x18d),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x148)),'prompt':ne[_0x1e186b(0x108)]('%0',_0x563df1),'type':AIQuickActionType[_0x1e186b(0x13b)]}]},{'id':_0x1e186b(0x135),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x104)),'type':AIQuickActionType[_0x1e186b(0x189)],'icon':_0x41b880},{'id':_0x1e186b(0x119),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x159)),'type':AIQuickActionType[_0x1e186b(0x189)],'icon':_0x1b6513},{'id':_0x1e186b(0x12c),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x15e)),'type':AIQuickActionType[_0x1e186b(0x189)],'icon':_0x1305b7},{'id':_0x1e186b(0x174),'label':_0x32f977(_0x1fcc79,_0x1e186b(0x162)),'icon':_0x3458e5,'actions':[{'id':_0x1e186b(0x122),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x18f)),'type':AIQuickActionType[_0x1e186b(0x189)]},{'id':_0x1e186b(0x167),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0xf5)),'type':AIQuickActionType[_0x1e186b(0x189)]}]},{'id':_0x1e186b(0x10f),'label':_0x32f977(_0x1fcc79,_0x1e186b(0x10b)),'icon':_0x1bc972,'actions':[{'id':_0x1e186b(0x185),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x184)),'type':AIQuickActionType[_0x1e186b(0x189)]},{'id':_0x1e186b(0x147),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x176)),'type':AIQuickActionType[_0x1e186b(0x189)]},{'id':_0x1e186b(0x144),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x177)),'type':AIQuickActionType[_0x1e186b(0x189)]},{'id':_0x1e186b(0x15b),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x180)),'type':AIQuickActionType[_0x1e186b(0x189)]},{'id':_0x1e186b(0x118),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x101)),'type':AIQuickActionType[_0x1e186b(0x189)]}]},{'id':_0x1e186b(0xf9),'label':_0x32f977(_0x1fcc79,_0x1e186b(0x165)),'icon':_0x44da77,'actions':[{'id':_0x1e186b(0x110),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x17c)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x13d)}},{'id':_0x1e186b(0x14d),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x13f)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x137)}},{'id':_0x1e186b(0x17d),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x14a)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x142)}},{'id':_0x1e186b(0x186),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0xfc)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x16a)}},{'id':_0x1e186b(0x125),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x140)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x161)}},{'id':_0x1e186b(0x143),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x136)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x13e)}},{'id':_0x1e186b(0x160),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x181)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x17f)}},{'id':_0x1e186b(0x145),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x16f)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x12e)}},{'id':_0x1e186b(0x166),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x151)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x175)}},{'id':_0x1e186b(0x132),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x179)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x106)}}]},{'id':_0x1e186b(0x12f),'label':_0x32f977(_0x1fcc79,_0x1e186b(0x111)),'icon':_0x5e6e15,'actions':[]}];return _0x49dee5;}(_0x374a42);}async[_0x1c48f4(0x14f)](){const _0x60572e=_0x1c48f4,_0x49bb36=AIQuickActionsUI[_0x60572e(0x10e)](this[_0x60572e(0x115)][_0x60572e(0x17e)]),_0x47bd87=this[_0x60572e(0x115)][_0x60572e(0x188)][_0x60572e(0x141)](_0x60572e(0xff))||[];let _0x409a22=[];try{_0x409a22=await new _0x447f87({'connector':this[_0x60572e(0x115)][_0x60572e(0x103)][_0x60572e(0x141)](_0x60572e(0x10d)),'locale':this[_0x60572e(0x115)][_0x60572e(0x17e)]})[_0x60572e(0x173)]();}catch(_0x50b9f2){const _0x2235b7=new _0x14757a(_0x60572e(0x10a),this,{'error':_0x50b9f2});_0x5e5c23(_0x2235b7[_0x60572e(0x16d)]);}finally{const _0x55f783=_0x47bd87[_0x60572e(0x18c)](_0x3533ce=>({..._0x3533ce,'icon':void 0x0}));_0x49bb36[_0x60572e(0x182)](_0x22a88f=>_0x60572e(0x12f)===_0x22a88f['id'])[_0x60572e(0xf7)][_0x60572e(0xf4)](..._0x55f783),_0x49bb36[_0x60572e(0x16c)](_0x19766f=>{const _0x5e37ad=_0x60572e;if(_0x5e37ad(0xf7)in _0x19766f)_0x19766f[_0x5e37ad(0xf7)][_0x5e37ad(0x16c)](_0xe351e1=>{const _0x522f43=_0x5e37ad;if(_0xe351e1[_0x522f43(0x105)]=!!_0x409a22[_0x522f43(0x182)](_0x46b2f3=>_0x46b2f3['id']===_0xe351e1[_0x522f43(0x191)])||void 0x0===_0xe351e1[_0x522f43(0x191)],!_0xe351e1[_0x522f43(0x105)]){const _0x1e588a=new _0x14757a(_0x522f43(0x15c),this,{'actionId':_0xe351e1['id'],'modelId':_0xe351e1[_0x522f43(0x191)]});_0x5e5c23(_0x1e588a[_0x522f43(0x16d)]);}});else{if(_0x19766f[_0x5e37ad(0x105)]=!!_0x409a22[_0x5e37ad(0x182)](_0x3eac60=>_0x3eac60['id']===_0x19766f[_0x5e37ad(0x191)])||void 0x0===_0x19766f[_0x5e37ad(0x191)],!_0x19766f[_0x5e37ad(0x105)]){const _0x44c761=new _0x14757a(_0x5e37ad(0x15c),this,{'actionId':_0x19766f['id'],'modelId':_0x19766f[_0x5e37ad(0x191)]});_0x5e5c23(_0x44c761[_0x5e37ad(0x16d)]);}}});}return _0x49bb36;}[_0x1c48f4(0x113)](){const _0x28f44f=_0x1c48f4,_0x44c810=new _0x314612(this[_0x28f44f(0x115)][_0x28f44f(0x17e)]);_0x44c810[_0x28f44f(0x12a)](),this[_0x28f44f(0x138)](_0x44c810),this[_0x28f44f(0x18e)](),this[_0x28f44f(0x11f)](_0x44c810);}[_0x1c48f4(0x138)](_0xa9b10e){const _0x4c5597=_0x1c48f4,_0xb6ddf9=this[_0x4c5597(0x115)][_0x4c5597(0x188)][_0x4c5597(0x141)](_0x4c5597(0x12d))??!0x0;this[_0x4c5597(0x115)]['ui'][_0x4c5597(0xf0)][_0x4c5597(0xf2)](_0x4c5597(0x112),_0x25f2e3({'editor':this[_0x4c5597(0x115)],'content':this[_0x4c5597(0x163)],'buttonDefinition':{'icon':_0x1bff73,'label':_0x32f977(this[_0x4c5597(0x115)][_0x4c5597(0x17e)],_0x4c5597(0x183))},'bodyCollection':_0xa9b10e,'hasSearch':_0xb6ddf9}));}[_0x1c48f4(0x11b)](_0x1f026){const _0x556983=_0x1c48f4;this[_0x556983(0x163)]=_0x1f026[_0x556983(0x18c)](_0x4f1a78=>{const _0x5b4c6f=_0x556983;if(_0x5b4c6f(0xf7)in _0x4f1a78){const _0x9c10de=_0x4f1a78;return{..._0x9c10de,'actions':_0x9c10de[_0x5b4c6f(0xf7)][_0x5b4c6f(0x18c)](_0x2d48d2=>{const {actions:_0x214f23,..._0xe1431}=_0x9c10de;return{..._0x2d48d2,'parent':_0xe1431};})[_0x5b4c6f(0x127)](_0x3cfe93=>this[_0x5b4c6f(0xef)](_0x3cfe93))};}return _0x4f1a78;})[_0x556983(0x127)](_0x74b0bd=>_0x556983(0xf7)in _0x74b0bd?_0x74b0bd[_0x556983(0xf7)][_0x556983(0x102)]>0x0:this[_0x556983(0xef)](_0x74b0bd));}[_0x1c48f4(0xef)](_0x3438d9){const _0x49a27a=_0x1c48f4,_0x282c7f=this[_0x49a27a(0x115)][_0x49a27a(0x188)][_0x49a27a(0x141)](_0x49a27a(0x149))||[];return this[_0x49a27a(0x115)][_0x49a27a(0x103)][_0x49a27a(0x10c)](AIQuickActionTypeToPluginName[_0x3438d9[_0x49a27a(0xfd)]])&&!_0x282c7f[_0x49a27a(0x107)](_0x3438d9['id'])&&!(_0x3438d9[_0x49a27a(0xfd)]===AIQuickActionType[_0x49a27a(0x13b)]&&!0x1===this[_0x49a27a(0x115)][_0x49a27a(0x188)][_0x49a27a(0x141)](_0x49a27a(0xf8)));}[_0x1c48f4(0x11f)](_0x46780a){const _0x3d2c14=_0x1c48f4;this[_0x3d2c14(0x163)][_0x3d2c14(0x16c)](_0x59b7a5=>{const _0xbff568=_0x3d2c14;if(_0xbff568(0xf7)in _0x59b7a5){const _0x42929b=_0x25f2e3({'editor':this[_0xbff568(0x115)],'content':_0x59b7a5[_0xbff568(0xf7)],'buttonDefinition':_0x59b7a5,'bodyCollection':_0x46780a});this[_0xbff568(0x115)]['ui'][_0xbff568(0xf0)][_0xbff568(0xf2)](_0x59b7a5['id'],_0x42929b),_0x59b7a5[_0xbff568(0xf7)][_0xbff568(0x16c)](_0x1147a5=>{const _0x4d30a4=_0xbff568,_0xa49c2e=_0x5a2591({'editor':this[_0x4d30a4(0x115)],'action':_0x1147a5});this[_0x4d30a4(0x115)]['ui'][_0x4d30a4(0xf0)][_0x4d30a4(0xf2)](_0x1147a5['id'],_0xa49c2e);});}else{const _0x393ca2=_0x5a2591({'editor':this[_0xbff568(0x115)],'action':_0x59b7a5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0xbff568(0x115)]['ui'][_0xbff568(0xf0)][_0xbff568(0xf2)](_0x59b7a5['id'],_0x393ca2);}});}[_0x1c48f4(0x18e)](){const _0xf33992=_0x1c48f4;this[_0xf33992(0x115)]['ui'][_0xf33992(0xf0)][_0xf33992(0xf2)](_0xf33992(0x139),_0x5d5de2=>{const _0x2f8f83=_0xf33992,_0x46e261=new _0x3cf859(_0x5d5de2),_0x2f4c3c=_0x32f977(_0x5d5de2,_0x2f8f83(0x183));_0x46e261[_0x2f8f83(0x17a)][_0x2f8f83(0x123)]({'label':_0x2f4c3c,'icon':_0x1bff73});const _0x2b0d31=new _0x462c9b(_0x5d5de2);_0x2b0d31[_0x2f8f83(0x123)]({'ariaLabel':_0x2f4c3c,'role':_0x2f8f83(0x120)}),this[_0x2f8f83(0x163)][_0x2f8f83(0x16c)](_0x2a5907=>{const _0x55b667=_0x2f8f83;if(_0x55b667(0xf7)in _0x2a5907){const _0x38d726=_0x2a5907,_0x323761=new _0x89f7d3(_0x5d5de2,_0x46e261),_0x16514d=new _0x3cf859(_0x5d5de2),_0x4734d1=new _0x462c9b(_0x5d5de2);_0x16514d[_0x55b667(0x17a)][_0x55b667(0x123)]({'label':_0x38d726[_0x55b667(0x126)],'icon':_0x38d726[_0x55b667(0x172)]}),_0x38d726[_0x55b667(0xf7)][_0x55b667(0x16c)](_0x13112d=>{const _0x129575=_0x55b667,_0x5441bf=new _0x89f7d3(_0x5d5de2,_0x16514d),_0x2e2779=new _0x4f458f(_0x5d5de2);_0x2e2779[_0x129575(0x123)]({'label':_0x13112d[_0x129575(0xf3)],'icon':_0x13112d[_0x129575(0x172)],'role':_0x129575(0x14c),'isEnabled':_0x13112d[_0x129575(0x105)]}),_0x2e2779['on'](_0x129575(0x156),()=>{const _0x1408c2=_0x129575;this[_0x1408c2(0x17b)](_0x13112d);}),_0x2e2779[_0x129575(0x153)](_0x129575(0x156))['to'](_0x16514d),_0x5441bf[_0x129575(0x124)][_0x129575(0xf2)](_0x2e2779),_0x4734d1[_0x129575(0x16b)][_0x129575(0xf2)](_0x5441bf);}),_0x16514d[_0x55b667(0x164)][_0x55b667(0x124)][_0x55b667(0xf2)](_0x4734d1),_0x323761[_0x55b667(0x124)][_0x55b667(0xf2)](_0x16514d),_0x2b0d31[_0x55b667(0x16b)][_0x55b667(0xf2)](_0x323761);}else{const _0x164795=_0x2a5907,_0xb73b65=new _0x89f7d3(_0x5d5de2,_0x46e261),_0xe4296d=new _0x4f458f(_0x5d5de2);_0xe4296d[_0x55b667(0x123)]({'label':_0x164795[_0x55b667(0xf3)],'icon':_0x164795[_0x55b667(0x172)],'role':_0x55b667(0x14c),'isEnabled':_0x164795[_0x55b667(0x105)]}),_0xe4296d['on'](_0x55b667(0x156),()=>{const _0x4d624a=_0x55b667;this[_0x4d624a(0x17b)](_0x164795);}),_0xe4296d[_0x55b667(0x153)](_0x55b667(0x156))['to'](_0x46e261),_0xb73b65[_0x55b667(0x124)][_0x55b667(0xf2)](_0xe4296d),_0x2b0d31[_0x55b667(0x16b)][_0x55b667(0xf2)](_0xb73b65);}});const _0x2c435e=Object[_0x2f8f83(0x134)](AIQuickActionTypeToPluginName)[_0x2f8f83(0x187)](_0x584d5f=>this[_0x2f8f83(0x115)][_0x2f8f83(0x103)][_0x2f8f83(0x10c)](_0x584d5f));return _0x46e261[_0x2f8f83(0x123)]({'isEnabled':_0x2c435e}),_0x46e261[_0x2f8f83(0x164)][_0x2f8f83(0x124)][_0x2f8f83(0xf2)](_0x2b0d31),_0x46e261;});}[_0x1c48f4(0x17b)](_0x48b82b){const _0x2dc236=_0x1c48f4,_0x5005ad=this[_0x2dc236(0x115)];_0x5005ad[_0x2dc236(0xee)][_0x2dc236(0x158)][_0x2dc236(0x128)](),_0x5005ad[_0x2dc236(0xfb)][_0x2dc236(0x156)](_0x2dc236(0x150),_0x48b82b);const _0xeb501b=_0x5005ad['ui'][_0x2dc236(0x158)][_0x2dc236(0x178)];_0xeb501b&&_0xeb501b[_0x2dc236(0x121)]&&_0xeb501b[_0x2dc236(0x121)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5839bb,_0x905882){const _0x3a34b3=_0xed45,_0x2c0085=_0x5839bb();while(!![]){try{const _0x4d7f9d=-parseInt(_0x3a34b3(0x1af))/0x1*(-parseInt(_0x3a34b3(0x1c5))/0x2)+parseInt(_0x3a34b3(0x1b0))/0x3+-parseInt(_0x3a34b3(0x1b7))/0x4+-parseInt(_0x3a34b3(0x1b2))/0x5*(-parseInt(_0x3a34b3(0x1ae))/0x6)+-parseInt(_0x3a34b3(0x1bd))/0x7*(parseInt(_0x3a34b3(0x1ad))/0x8)+-parseInt(_0x3a34b3(0x1c2))/0x9+parseInt(_0x3a34b3(0x1b4))/0xa*(parseInt(_0x3a34b3(0x1bb))/0xb);if(_0x4d7f9d===_0x905882)break;else _0x2c0085['push'](_0x2c0085['shift']());}catch(_0x49d76c){_0x2c0085['push'](_0x2c0085['shift']());}}}(_0x192a,0xed39c));import{ButtonView as _0x2825a4}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x36f78d}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x1a0efa){const {editor:_0x4c610d,action:_0x4309a0,withText:_0x658b7f=!0x1,withIcon:_0x3e8b50=!0x0,isInDropdown:_0x30fb74=!0x0,shouldPreventFocus:_0x12a54a=!0x1}=_0x1a0efa;return()=>{const _0x519cd3=_0xed45,_0x5a8d94=_0x4c610d[_0x519cd3(0x1c1)],_0xb0b41=new _0x2825a4(_0x5a8d94),_0x316ca8=_0xb0b41[_0x519cd3(0x1c6)];_0x30fb74&&_0xb0b41[_0x519cd3(0x1b5)]({'on':{'mouseenter':_0x316ca8['to'](()=>{const _0x30665a=_0x519cd3;_0x12a54a&&_0x12a54a()||_0xb0b41[_0x30665a(0x1b3)]();})}});const _0x5af833=_0x4309a0[_0x519cd3(0x1bc)]??_0x4309a0[_0x519cd3(0x1c3)]?.[_0x519cd3(0x1bc)];return _0xb0b41[_0x519cd3(0x1b9)]({'label':_0x4309a0[_0x519cd3(0x1be)],'withText':_0x658b7f,'role':_0x519cd3(0x1ac),'icon':_0x3e8b50?_0x5af833??_0x36f78d:void 0x0,'tooltip':!_0x658b7f,'class':_0x519cd3(0x1bf),'isEnabled':_0x4309a0[_0x519cd3(0x1b8)]}),_0xb0b41['on'](_0x519cd3(0x1ba),()=>{const _0x433bc3=_0x519cd3;_0x4c610d[_0x433bc3(0x1c4)][_0x433bc3(0x1b6)][_0x433bc3(0x1b3)](),_0x4c610d[_0x433bc3(0x1c0)][_0x433bc3(0x1ba)](_0x433bc3(0x1b1),_0x4309a0);}),_0xb0b41;};}function _0xed45(_0x35563c,_0x2a7197){const _0x192a6e=_0x192a();return _0xed45=function(_0xed4582,_0x45a1c3){_0xed4582=_0xed4582-0x1ac;let _0x1d89ee=_0x192a6e[_0xed4582];return _0x1d89ee;},_0xed45(_0x35563c,_0x2a7197);}function _0x192a(){const _0xa32e3d=['focus','3231390AIbTle','extendTemplate','view','6119748jOEGzI','isEnabled','set','execute','44HeVDOU','icon','4017209ItzEMP','displayedPrompt','ck-ai-quick-actions-button','commands','locale','4578039FPTZZS','parent','editing','70WRdOvm','bindTemplate','menuitem','8CxOEfa','763728VMJuxH','34333ELgySM','2506152YEdnhn','aiQuickAction','10BCAERX'];_0x192a=function(){return _0xa32e3d;};return _0x192a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5b46(_0x196b3b,_0x5013b2){const _0x3ff77c=_0x3ff7();return _0x5b46=function(_0x5b4648,_0x131e41){_0x5b4648=_0x5b4648-0x142;let _0x1255c6=_0x3ff77c[_0x5b4648];return _0x1255c6;},_0x5b46(_0x196b3b,_0x5013b2);}const _0x30874c=_0x5b46;function _0x3ff7(){const _0x5b86ab=['ArrowLeft','isVisible','extendTemplate','forEach','push','_createSearchResultGroupRow','_focusables','3812016sJZvXO','setTemplate','ck-ai-quick-actions-button_with-group','closest','isEnabled','set','detachFromDom','relatedTarget','addMany','fieldView','rtl','5855859vuaDJm','isOn','role','ck-ai-quick-actions-search-result__group-row','mouseleave','chain','button','.ck-ai-quick-actions-group-button','AI_QUICK_ACTIONS_SEARCH','bind','label','keystrokes','_bodyCollection','clear','render','activeElement','_searchTextView','queryView','ck-reset_all','_createSearchResultActionRow','_setupActionButtonExecution','get','reset','_createSearchResultContentView','12376tAXnvl','ck-ai-quick-actions-button__group-icon','span','focusCycler','aiQuickAction','_setupGroupMenuBehavior','ck-dropdown-menu-list','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_isSearchFocused','view','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-search-result-button_with-group','_handleSearchResultButtonClick','452760IAySrm','_hideAllNestedPanels','fire','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','_createSearchResultGroupedActionButton','locale','ck-ai-quick-actions-group-list','_handlePanelKeydown','ck-dropdown-menu__nested-menu__panel','5FwwRfC','ArrowRight','_createSearchResultIndividualActionButton','some','ck-button','ck-ai-quick-actions-search-result__action-row','focusTracker','_openNestedPanels','10RPIUMr','content','ck-ai-quick-actions-search-result__content','resetSearch','menuitem','bindTemplate','_createSearchResultActionButton','ck-ai-quick-actions-button_with-group__open-paren','1490896RKQeCg','uiLanguageDirection','_createSearchTextView','ck-ai-quick-actions-group-panel','_isMovingToNestedMenu','show','1098oHMzNW','pin','_getButtonKeystroke','first','ck-ai-quick-actions-button','_getPanelKeystroke','_allSearchableItems','add','key','_showNestedPanel','editing','.ck-ai-quick-actions-group-panel','items','ck-ai-quick-actions','contains','ownerDocument','commands','delete','ck-ai-quick-actions-button_with-group__close-paren','_createGroupActionsList','children','eastSouth','ck-ai-quick-actions-group-button','620150KNfVyS','_createListItems','focus','_createActionButton','displayedPrompt','div','1161146MveEPU','menu','_hideNestedPanel','icon','optionsListView','destroy','execute','ck-ai-quick-actions-search-result-button','_createActionGroupButton','element','text','addEventListener','.ck-ai-quick-actions-group-list','ck-button_with-text','ck-rounded-corners','ck-ai-quick-actions-search','hide','parent','actions','_hasSearch'];_0x3ff7=function(){return _0x5b86ab;};return _0x3ff7();}(function(_0x351708,_0x3bfd63){const _0x4855d6=_0x5b46,_0x460310=_0x351708();while(!![]){try{const _0xd36555=-parseInt(_0x4855d6(0x147))/0x1+parseInt(_0x4855d6(0x14d))/0x2+parseInt(_0x4855d6(0x199))/0x3+parseInt(_0x4855d6(0x1b2))/0x4*(parseInt(_0x4855d6(0x1a2))/0x5)+-parseInt(_0x4855d6(0x1b8))/0x6*(parseInt(_0x4855d6(0x18b))/0x7)+-parseInt(_0x4855d6(0x168))/0x8+parseInt(_0x4855d6(0x173))/0x9*(parseInt(_0x4855d6(0x1aa))/0xa);if(_0xd36555===_0x3bfd63)break;else _0x460310['push'](_0x460310['shift']());}catch(_0x4c778e){_0x460310['push'](_0x460310['shift']());}}}(_0x3ff7,0x51b50));import{View as _0x1a8283,ListItemView as _0x5ad26a,ListView as _0x410673,BalloonPanelView as _0x4b03f3,DropdownMenuPanelPositioningFunctions as _0x44665f,ViewCollection as _0x1ec019,FocusCycler as _0x5687f2,ButtonView as _0x55edd7,IconView as _0x56c090,HighlightedTextView as _0x2e94ae,ButtonLabelWithHighlightView as _0x461244,SearchTextView as _0x280525}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x338984}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x5daaae,KeystrokeHandler as _0x4ac8a3}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x1f6e3c}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0xbc8687}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x5526fb}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x432e27}from'./aiquickactionsfilteredlistview.js';const Ks=_0x30874c(0x14e),Os=_0x30874c(0x1ae);export class AIQuickActionsDropdownContentView extends _0x1a8283{[_0x30874c(0x17f)];[_0x30874c(0x151)];[_0x30874c(0x183)]=null;[_0x30874c(0x1be)]=[];[_0x30874c(0x144)];[_0x30874c(0x1a8)];[_0x30874c(0x17e)];[_0x30874c(0x167)];[_0x30874c(0x18e)];[_0x30874c(0x1a9)]=new Set();[_0x30874c(0x160)];constructor(_0x3fdf50,_0x4afa6c,_0x445cc3,_0xda210d,_0x22cb87=!0x1){const _0xfa7931=_0x30874c,_0xb3bf13=_0x3fdf50[_0xfa7931(0x19e)];super(_0xb3bf13),this[_0xfa7931(0x17f)]=_0xda210d,this[_0xfa7931(0x160)]=_0x22cb87;const _0x135a75=this[_0xfa7931(0x148)](_0x3fdf50,_0x4afa6c,_0x445cc3);this[_0xfa7931(0x151)]=new _0x432e27(_0xb3bf13,_0x135a75,this[_0xfa7931(0x1be)]),this[_0xfa7931(0x151)][_0xfa7931(0x175)]=Ks,this[_0xfa7931(0x151)][_0xfa7931(0x1c4)][_0xfa7931(0x170)](_0x135a75),this[_0xfa7931(0x1a8)]=new _0x5daaae(),this[_0xfa7931(0x17e)]=new _0x4ac8a3(),_0x22cb87&&(this[_0xfa7931(0x183)]=this[_0xfa7931(0x1b4)]()),this[_0xfa7931(0x167)]=_0x135a75,this[_0xfa7931(0x18e)]=new _0x5687f2({'focusables':this[_0xfa7931(0x167)],'focusTracker':this[_0xfa7931(0x1a8)],'keystrokeHandler':this[_0xfa7931(0x17e)]}),_0x22cb87&&this[_0xfa7931(0x183)]&&this[_0xfa7931(0x18e)][_0xfa7931(0x178)](this[_0xfa7931(0x183)][_0xfa7931(0x18e)]);const _0x44a1c4=_0x22cb87&&this[_0xfa7931(0x183)]?[this[_0xfa7931(0x183)]]:[this[_0xfa7931(0x151)]];this[_0xfa7931(0x144)]=new _0x1ec019(_0x44a1c4),this[_0xfa7931(0x169)]({'tag':_0xfa7931(0x14c),'attributes':{'class':['ck',_0xfa7931(0x185),_0xfa7931(0x1c5),_0xfa7931(0x15b)],'dir':_0xb3bf13[_0xfa7931(0x1b3)]},'children':this[_0xfa7931(0x144)]});}[_0x30874c(0x1b4)](){const _0x280044=_0x30874c;return new _0x280525(this[_0x280044(0x19e)],{'filteredView':this[_0x280044(0x151)],'queryView':{'label':_0x5526fb(this[_0x280044(0x19e)],_0x280044(0x17b))},'class':_0x280044(0x15c),'infoView':{'text':{'notFound':{'primary':_0x5526fb(this[_0x280044(0x19e)],_0x280044(0x193))}}}});}[_0x30874c(0x194)](){const _0x1017a6=_0x30874c;if(!this[_0x1017a6(0x160)]||!this[_0x1017a6(0x183)]||!this[_0x1017a6(0x183)][_0x1017a6(0x184)][_0x1017a6(0x171)][_0x1017a6(0x156)])return!0x1;const _0xf8c620=this[_0x1017a6(0x183)][_0x1017a6(0x184)][_0x1017a6(0x171)][_0x1017a6(0x156)][_0x1017a6(0x1c7)]?.[_0x1017a6(0x182)];return this[_0x1017a6(0x183)][_0x1017a6(0x184)][_0x1017a6(0x171)][_0x1017a6(0x156)][_0x1017a6(0x1c6)](_0xf8c620);}[_0x30874c(0x148)](_0x354976,_0x441348,_0x1b2464){const _0x41cec7=_0x30874c,_0x37631f=new _0x1ec019();return _0x441348[_0x41cec7(0x164)](_0x3efc69=>{const _0x2e2c9a=_0x41cec7;if(_0x2e2c9a(0x15f)in _0x3efc69){const {listItem:_0x3d021b}=this[_0x2e2c9a(0x155)](_0x354976,_0x3efc69,_0x1b2464);_0x37631f[_0x2e2c9a(0x1bf)](_0x3d021b),_0x3efc69[_0x2e2c9a(0x15f)][_0x2e2c9a(0x164)](_0x4d216f=>{const _0x1e312b=_0x2e2c9a;this[_0x1e312b(0x14a)](_0x354976,_0x4d216f,_0x3efc69[_0x1e312b(0x17d)],_0x3efc69[_0x1e312b(0x150)]);const {listItem:_0x4f10e6,highlightViews:_0x11a207}=this[_0x1e312b(0x1b0)](_0x354976,_0x4d216f,_0x3efc69[_0x1e312b(0x17d)],_0x3efc69[_0x1e312b(0x150)]);this[_0x1e312b(0x1be)][_0x1e312b(0x165)]({'item':_0x4f10e6,'label':_0x4d216f[_0x1e312b(0x14b)],'groupLabel':_0x3efc69[_0x1e312b(0x17d)],'highlightViews':_0x11a207});});}else{const {listItem:_0x175144}=this[_0x2e2c9a(0x14a)](_0x354976,_0x3efc69);_0x37631f[_0x2e2c9a(0x1bf)](_0x175144);const _0x1d108e=_0x175144[_0x2e2c9a(0x144)][_0x2e2c9a(0x1bb)];if(_0x1d108e){const {listItem:_0x10ad8f,highlightViews:_0x4aa590}=this[_0x2e2c9a(0x1b0)](_0x354976,_0x3efc69);this[_0x2e2c9a(0x1be)][_0x2e2c9a(0x165)]({'item':_0x10ad8f,'label':_0x1d108e[_0x2e2c9a(0x17d)]||'','highlightViews':_0x4aa590});}}}),_0x37631f;}[_0x30874c(0x14a)](_0x25e503,_0x3aa5cc,_0x4b0271,_0x61f1e7){const _0x959201=_0x30874c,_0x250937=new _0x5ad26a(this[_0x959201(0x19e)]);if(_0x4b0271&&_0x61f1e7){const _0x123f3c=new _0x55edd7(this[_0x959201(0x19e)]),_0x14d7ad=_0x123f3c[_0x959201(0x1af)],_0x50e99c=new _0x2e94ae();_0x50e99c[_0x959201(0x157)]=_0x3aa5cc[_0x959201(0x14b)];const _0x4b49dc=new _0x2e94ae();_0x4b49dc[_0x959201(0x157)]=_0x4b0271;const _0x7ea6a8=new _0x56c090();_0x7ea6a8[_0x959201(0x1ab)]=_0x61f1e7,_0x7ea6a8[_0x959201(0x163)]({'attributes':{'class':_0x959201(0x18c)}});const _0x5e48dd=new _0x1a8283(this[_0x959201(0x19e)]);_0x5e48dd[_0x959201(0x169)]({'tag':_0x959201(0x18d),'attributes':{'class':_0x959201(0x1b1)},'children':[{'text':'\x20('}]});const _0x3c6e13=new _0x1a8283(this[_0x959201(0x19e)]);return _0x3c6e13[_0x959201(0x169)]({'tag':_0x959201(0x18d),'attributes':{'class':_0x959201(0x142)},'children':[{'text':')'}]}),_0x123f3c[_0x959201(0x16d)]({'label':_0x3aa5cc[_0x959201(0x14b)]+'\x20('+_0x4b0271+')','withText':!0x0,'role':_0x959201(0x1ae),'class':_0x959201(0x196),'tooltip':!0x1}),_0x123f3c[_0x959201(0x169)]({'tag':_0x959201(0x179),'attributes':{'class':['ck',_0x959201(0x1a6),_0x959201(0x15a),_0x959201(0x1bc),_0x959201(0x16a)],'type':_0x959201(0x179),'role':_0x959201(0x1ae),'tabindex':'-1'},'children':[_0x50e99c,_0x5e48dd,_0x7ea6a8,_0x4b49dc,_0x3c6e13],'on':{'mouseenter':_0x14d7ad['to'](()=>{const _0x2348a4=_0x959201;this[_0x2348a4(0x194)]()||_0x123f3c[_0x2348a4(0x149)]();}),'click':_0x14d7ad['to'](()=>{const _0x406408=_0x959201;_0x123f3c[_0x406408(0x19b)](_0x406408(0x153));})}}),_0x123f3c['on'](_0x959201(0x153),()=>{const _0x5a9e88=_0x959201;_0x25e503[_0x5a9e88(0x1c2)][_0x5a9e88(0x195)][_0x5a9e88(0x149)](),_0x25e503[_0x5a9e88(0x1c8)][_0x5a9e88(0x153)](_0x5a9e88(0x18f),_0x3aa5cc);}),_0x250937[_0x959201(0x144)][_0x959201(0x1bf)](_0x123f3c),{'listItem':_0x250937,'highlightViews':[_0x50e99c,_0x4b49dc]};}{const _0x4c187d=new _0x461244(),_0x549732=new _0x55edd7(this[_0x959201(0x19e)],_0x4c187d),_0x4935ef=_0x549732[_0x959201(0x1af)],_0x2c3685=_0x3aa5cc[_0x959201(0x150)]??_0x3aa5cc[_0x959201(0x15e)]?.[_0x959201(0x150)],_0x46ef26=void 0x0!==_0x3aa5cc[_0x959201(0x150)];return _0x549732[_0x959201(0x16d)]({'label':_0x3aa5cc[_0x959201(0x14b)],'withText':!0x0,'role':_0x959201(0x1ae),'icon':_0x46ef26?_0x2c3685??_0x338984:void 0x0,'tooltip':!0x1,'class':_0x959201(0x1bc)}),_0x549732[_0x959201(0x163)]({'on':{'mouseenter':_0x4935ef['to'](()=>{const _0xbaf45c=_0x959201;this[_0xbaf45c(0x194)]()||_0x549732[_0xbaf45c(0x149)]();})}}),_0x549732['on'](_0x959201(0x153),()=>{const _0x1c4f0d=_0x959201;_0x25e503[_0x1c4f0d(0x1c2)][_0x1c4f0d(0x195)][_0x1c4f0d(0x149)](),_0x25e503[_0x1c4f0d(0x1c8)][_0x1c4f0d(0x153)](_0x1c4f0d(0x18f),_0x3aa5cc);}),_0x250937[_0x959201(0x144)][_0x959201(0x1bf)](_0x549732),{'listItem':_0x250937,'highlightViews':[_0x4c187d]};}}[_0x30874c(0x1b0)](_0x3c1b5f,_0x3e7c43,_0x2d482d,_0x71d8a0){const _0x22ead1=_0x30874c;return _0x2d482d&&_0x71d8a0?this[_0x22ead1(0x19d)](_0x3c1b5f,_0x3e7c43,_0x2d482d,_0x71d8a0):this[_0x22ead1(0x1a4)](_0x3c1b5f,_0x3e7c43);}[_0x30874c(0x19d)](_0x5c4932,_0x297e51,_0x1bfbbd,_0x408d2d){const _0x38ba8b=_0x30874c,_0x3809e6=new _0x5ad26a(this[_0x38ba8b(0x19e)]),_0x5a7706=new _0x55edd7(this[_0x38ba8b(0x19e)]),_0xef7dcd=_0x5a7706[_0x38ba8b(0x1af)],{view:_0x3656d3,highlightView:_0x2b8f8b}=this[_0x38ba8b(0x166)](_0x1bfbbd,_0x408d2d),{view:_0x1bf349,highlightView:_0x10a0d9}=this[_0x38ba8b(0x186)](_0x297e51[_0x38ba8b(0x14b)]),_0x2c32fc=this[_0x38ba8b(0x18a)](_0x3656d3,_0x1bf349);return _0x5a7706[_0x38ba8b(0x16d)]({'label':_0x297e51[_0x38ba8b(0x14b)],'withText':!0x0,'role':_0x38ba8b(0x1ae),'class':_0x38ba8b(0x19c),'tooltip':!0x1}),_0x5a7706[_0x38ba8b(0x169)]({'tag':_0x38ba8b(0x179),'attributes':{'class':['ck',_0x38ba8b(0x1a6),_0x38ba8b(0x15a),_0x38ba8b(0x1bc),_0x38ba8b(0x154),_0x38ba8b(0x197)],'type':_0x38ba8b(0x179),'role':_0x38ba8b(0x1ae),'tabindex':'-1'},'children':[_0x2c32fc],'on':{'mouseenter':_0xef7dcd['to'](()=>{const _0x201c02=_0x38ba8b;this[_0x201c02(0x194)]()||_0x5a7706[_0x201c02(0x149)]();}),'click':_0xef7dcd['to'](()=>{const _0x83e49a=_0x38ba8b;this[_0x83e49a(0x198)](_0x5a7706);})}}),this[_0x38ba8b(0x187)](_0x5a7706,_0x5c4932,_0x297e51),_0x3809e6[_0x38ba8b(0x144)][_0x38ba8b(0x1bf)](_0x5a7706),{'listItem':_0x3809e6,'highlightViews':[_0x2b8f8b,_0x10a0d9]};}[_0x30874c(0x1a4)](_0x4ffee5,_0x48c6a3){const _0xb9b2f6=_0x30874c,_0x22e3b4=new _0x5ad26a(this[_0xb9b2f6(0x19e)]),_0x3868ed=new _0x461244(),_0x5dd9b5=new _0x55edd7(this[_0xb9b2f6(0x19e)],_0x3868ed),_0x20fb32=_0x5dd9b5[_0xb9b2f6(0x1af)];return _0x5dd9b5[_0xb9b2f6(0x16d)]({'label':_0x48c6a3[_0xb9b2f6(0x14b)],'withText':!0x0,'role':_0xb9b2f6(0x1ae),'icon':void 0x0,'tooltip':!0x1,'class':_0xb9b2f6(0x192)}),_0x5dd9b5[_0xb9b2f6(0x163)]({'on':{'mouseenter':_0x20fb32['to'](()=>{const _0x1300ab=_0xb9b2f6;this[_0x1300ab(0x194)]()||_0x5dd9b5[_0x1300ab(0x149)]();})}}),this[_0xb9b2f6(0x187)](_0x5dd9b5,_0x4ffee5,_0x48c6a3),_0x22e3b4[_0xb9b2f6(0x144)][_0xb9b2f6(0x1bf)](_0x5dd9b5),{'listItem':_0x22e3b4,'highlightViews':[_0x3868ed]};}[_0x30874c(0x166)](_0x9c860c,_0x19be79){const _0x957059=_0x30874c,_0x594541=new _0x1a8283(this[_0x957059(0x19e)]),_0x44beba=new _0x56c090();_0x44beba[_0x957059(0x1ab)]=_0x19be79,_0x44beba[_0x957059(0x163)]({'attributes':{'class':_0x957059(0x18c)}});const _0xaed1e9=new _0x2e94ae();return _0xaed1e9[_0x957059(0x157)]=_0x9c860c,_0x594541[_0x957059(0x169)]({'tag':_0x957059(0x14c),'attributes':{'class':_0x957059(0x176)},'children':[_0x44beba,_0xaed1e9]}),{'view':_0x594541,'highlightView':_0xaed1e9};}[_0x30874c(0x186)](_0x340c25){const _0x361a0b=_0x30874c,_0x505bc1=new _0x1a8283(this[_0x361a0b(0x19e)]),_0x2743bc=new _0x2e94ae();return _0x2743bc[_0x361a0b(0x157)]=_0x340c25,_0x505bc1[_0x361a0b(0x169)]({'tag':_0x361a0b(0x14c),'attributes':{'class':_0x361a0b(0x1a7)},'children':[_0x2743bc]}),{'view':_0x505bc1,'highlightView':_0x2743bc};}[_0x30874c(0x18a)](_0x24cb69,_0xffcd24){const _0x5c0b19=_0x30874c,_0x956b93=new _0x1a8283(this[_0x5c0b19(0x19e)]);return _0x956b93[_0x5c0b19(0x169)]({'tag':_0x5c0b19(0x14c),'attributes':{'class':_0x5c0b19(0x1ac)},'children':[_0x24cb69,_0xffcd24]}),_0x956b93;}[_0x30874c(0x187)](_0x12bcc4,_0x2fdffd,_0x489e03){const _0x97391f=_0x30874c;_0x12bcc4['on'](_0x97391f(0x153),()=>{const _0x4f3b5a=_0x97391f;_0x2fdffd[_0x4f3b5a(0x1c2)][_0x4f3b5a(0x195)][_0x4f3b5a(0x149)](),_0x2fdffd[_0x4f3b5a(0x1c8)][_0x4f3b5a(0x153)](_0x4f3b5a(0x18f),_0x489e03);});}[_0x30874c(0x155)](_0x2622c0,_0x336899,_0x108e6d){const _0x689367=_0x30874c,_0x1d3f52=new _0x5ad26a(this[_0x689367(0x19e)]),_0x23109a=new _0x461244(),_0x2fd1ef=new _0xbc8687(this[_0x689367(0x19e)],_0x23109a),_0x3c0558=_0x2fd1ef[_0x689367(0x1af)],_0x10d8c1=this[_0x689367(0x1bd)](_0x108e6d),_0x9d76ab=this[_0x689367(0x143)](_0x2622c0,_0x336899[_0x689367(0x15f)],_0x108e6d);_0x2fd1ef[_0x689367(0x16d)]({'label':_0x336899[_0x689367(0x17d)],'withText':!0x0,'role':Os,'icon':_0x336899[_0x689367(0x150)]??_0x338984,'isEnabled':_0x336899[_0x689367(0x15f)][_0x689367(0x1a5)](_0x15c9f6=>_0x15c9f6[_0x689367(0x16c)])}),_0x2fd1ef[_0x689367(0x163)]({'on':{'mouseenter':_0x3c0558['to'](()=>{const _0x5a11da=_0x689367;this[_0x5a11da(0x194)]()||_0x2fd1ef[_0x5a11da(0x149)]();})}});const _0x87a679=new _0x4b03f3(this[_0x689367(0x19e)]);return _0x87a679[_0x689367(0x163)]({'attributes':{'class':['ck',_0x689367(0x185),_0x689367(0x1b5),_0x689367(0x1a1)]},'on':{'keydown':_0x3c0558['to'](_0x40e19e=>{const _0x892698=_0x689367;this[_0x892698(0x1a0)](_0x40e19e,_0x10d8c1,_0x2fd1ef,_0x87a679);})}}),_0x2fd1ef[_0x689367(0x17c)](_0x689367(0x174))['to'](_0x87a679,_0x689367(0x162)),this[_0x689367(0x17f)][_0x689367(0x1bf)](_0x87a679),_0x87a679[_0x689367(0x1ab)][_0x689367(0x1bf)](_0x9d76ab),this[_0x689367(0x190)](_0x2fd1ef,_0x87a679),_0x1d3f52[_0x689367(0x144)][_0x689367(0x1bf)](_0x2fd1ef),{'listItem':_0x1d3f52,'highlightView':_0x23109a};}[_0x30874c(0x143)](_0x51ca90,_0x4550b9,_0x18fe17){const _0x2ce843=_0x30874c,_0x38f373=new _0x410673(this[_0x2ce843(0x19e)]);return _0x38f373[_0x2ce843(0x163)]({'attributes':{'class':['ck',_0x2ce843(0x185),_0x2ce843(0x19f),_0x2ce843(0x191)]}}),_0x4550b9[_0x2ce843(0x164)](_0x368398=>{const _0x198798=_0x2ce843,_0xf689d5=new _0x5ad26a(this[_0x198798(0x19e)]),_0xe7629b=_0x1f6e3c({'editor':_0x51ca90,'action':_0x368398,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x198798(0x194)]()})();_0xf689d5[_0x198798(0x144)][_0x198798(0x1bf)](_0xe7629b),_0x18fe17[_0x198798(0x1a8)][_0x198798(0x1bf)](_0xe7629b),_0x38f373[_0x198798(0x1c4)][_0x198798(0x1bf)](_0xf689d5);}),_0x38f373;}[_0x30874c(0x190)](_0x235081,_0x5a5b17){const _0x468f14=_0x30874c,_0x32f569=_0x235081[_0x468f14(0x1af)],_0x3f1e91=this[_0x468f14(0x1ba)](_0x235081);_0x235081[_0x468f14(0x163)]({'attributes':{'class':[_0x468f14(0x146)]},'on':{'mouseenter':_0x32f569['to'](()=>{const _0x588a3d=_0x468f14;this[_0x588a3d(0x1c1)](_0x5a5b17,_0x235081);}),'mouseleave':_0x32f569['to'](_0x58f3db=>{const _0x56e780=_0x468f14,_0x2469c3=_0x58f3db[_0x56e780(0x16f)];this[_0x56e780(0x1b6)](_0x2469c3,_0x5a5b17)||this[_0x56e780(0x14f)](_0x5a5b17);}),'keydown':_0x32f569['to'](_0x50e1f4=>{const _0x50f7f3=_0x468f14;_0x50e1f4[_0x50f7f3(0x1c0)]==_0x3f1e91&&(this[_0x50f7f3(0x1c1)](_0x5a5b17,_0x235081),_0x5a5b17[_0x50f7f3(0x1ab)][_0x50f7f3(0x188)](0x0)[_0x50f7f3(0x149)]());})}}),_0x5a5b17['on'](_0x468f14(0x181),()=>{const _0x1900ac=_0x468f14;_0x5a5b17[_0x1900ac(0x156)]?.[_0x1900ac(0x158)](_0x1900ac(0x177),_0x16b780=>{const _0x29f1d0=_0x1900ac,_0x5786ce=_0x16b780[_0x29f1d0(0x16f)];_0x235081[_0x29f1d0(0x156)]?.[_0x29f1d0(0x1c6)](_0x5786ce)||this[_0x29f1d0(0x1b6)](_0x5786ce,_0x5a5b17)||this[_0x29f1d0(0x14f)](_0x5a5b17);});});}[_0x30874c(0x1c1)](_0x2b1b1f,_0xe37883){const _0x597a85=_0x30874c;this[_0x597a85(0x1a9)][_0x597a85(0x164)](_0x4e4fb1=>{const _0x426d8e=_0x597a85;_0x4e4fb1!==_0x2b1b1f&&_0x4e4fb1[_0x426d8e(0x162)]&&_0x4e4fb1[_0x426d8e(0x15d)]();}),_0x2b1b1f[_0x597a85(0x1b7)](),_0x2b1b1f[_0x597a85(0x1b9)]({'positions':[_0x44665f[_0x597a85(0x145)]],'target':_0xe37883[_0x597a85(0x156)],'fitInViewport':!0x0}),this[_0x597a85(0x1a9)][_0x597a85(0x1bf)](_0x2b1b1f);}[_0x30874c(0x14f)](_0x101d4b){const _0x31c0ae=_0x30874c;_0x101d4b[_0x31c0ae(0x15d)](),this[_0x31c0ae(0x1a9)][_0x31c0ae(0x1c9)](_0x101d4b);}[_0x30874c(0x19a)](){const _0x55f5df=_0x30874c;this[_0x55f5df(0x1a9)][_0x55f5df(0x164)](_0xf969bf=>_0xf969bf[_0x55f5df(0x15d)]()),this[_0x55f5df(0x1a9)][_0x55f5df(0x180)]();}[_0x30874c(0x1b6)](_0x341d84,_0x14e0d5){const _0x26d180=_0x30874c;if(!_0x341d84)return!0x1;if(_0x14e0d5[_0x26d180(0x156)]?.[_0x26d180(0x1c6)](_0x341d84))return!0x0;const _0x449073=_0x341d84;return _0x449073[_0x26d180(0x16b)]&&(null!==_0x449073[_0x26d180(0x16b)](_0x26d180(0x1c3))||null!==_0x449073[_0x26d180(0x16b)](_0x26d180(0x159))||null!==_0x449073[_0x26d180(0x16b)](_0x26d180(0x17a)));}[_0x30874c(0x1ad)](){const _0x539c2c=_0x30874c;this[_0x539c2c(0x183)]&&this[_0x539c2c(0x183)][_0x539c2c(0x189)]();}[_0x30874c(0x152)](){const _0x49af31=_0x30874c;this[_0x49af31(0x19a)](),this[_0x49af31(0x17f)][_0x49af31(0x16e)](),super[_0x49af31(0x152)]();}[_0x30874c(0x149)](){const _0x19a4ba=_0x30874c;this[_0x19a4ba(0x183)]?this[_0x19a4ba(0x183)][_0x19a4ba(0x149)]():this[_0x19a4ba(0x151)][_0x19a4ba(0x149)]();}[_0x30874c(0x1bd)](_0x3acb0b){const _0x377552=_0x30874c;return _0x377552(0x172)===_0x3acb0b[_0x377552(0x19e)][_0x377552(0x1b3)]?_0x377552(0x1a3):_0x377552(0x161);}[_0x30874c(0x1ba)](_0xe68623){const _0x2efdad=_0x30874c;return _0x2efdad(0x172)===_0xe68623[_0x2efdad(0x19e)][_0x2efdad(0x1b3)]?_0x2efdad(0x161):_0x2efdad(0x1a3);}[_0x30874c(0x1a0)](_0x4377dd,_0x32434a,_0x5a11eb,_0x485e76){const _0x217c36=_0x30874c;_0x4377dd[_0x217c36(0x1c0)]==_0x32434a&&(_0x5a11eb[_0x217c36(0x149)](),this[_0x217c36(0x14f)](_0x485e76));}[_0x30874c(0x198)](_0x234034){const _0x5d8285=_0x30874c;_0x234034[_0x5d8285(0x19b)](_0x5d8285(0x153));}}
|
|
23
|
+
const _0x515e9e=_0x1aec;(function(_0x326b23,_0x3db75e){const _0x51d140=_0x1aec,_0x5c15c7=_0x326b23();while(!![]){try{const _0x447331=parseInt(_0x51d140(0xb3))/0x1+-parseInt(_0x51d140(0xc0))/0x2*(parseInt(_0x51d140(0x115))/0x3)+-parseInt(_0x51d140(0xdf))/0x4*(-parseInt(_0x51d140(0xff))/0x5)+parseInt(_0x51d140(0xb6))/0x6+parseInt(_0x51d140(0xc3))/0x7+-parseInt(_0x51d140(0xfc))/0x8*(parseInt(_0x51d140(0x114))/0x9)+parseInt(_0x51d140(0xe3))/0xa*(-parseInt(_0x51d140(0xb8))/0xb);if(_0x447331===_0x3db75e)break;else _0x5c15c7['push'](_0x5c15c7['shift']());}catch(_0x22ed76){_0x5c15c7['push'](_0x5c15c7['shift']());}}}(_0x26fa,0x5ba30));import{View as _0x24dad6,ListItemView as _0x27d115,ListView as _0x4f0778,BalloonPanelView as _0x415521,DropdownMenuPanelPositioningFunctions as _0x10ee05,ViewCollection as _0x53279c,FocusCycler as _0x22d2f3,ButtonView as _0x465415,IconView as _0x3c0a13,HighlightedTextView as _0x1faf9e,ButtonLabelWithHighlightView as _0x177e8b,SearchTextView as _0x409402}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x557e4c}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x55646d,KeystrokeHandler as _0x5c96ed}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x794d58}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x4a913a}from'./dropdownmenubuttonwithhighlightview.js';function _0x26fa(){const _0x1cae0f=['_bodyCollection','ArrowRight','isOn','bindTemplate','addEventListener','104GurpIq','view','show','ownerDocument','80GWATOb','ck-ai-quick-actions-search-result__action-row','mouseleave','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','displayedPrompt','get','_createActionButton','ck-ai-quick-actions-button_with-group__open-paren','role','focusTracker','ck-ai-quick-actions-search-result-button_with-group','items','_allSearchableItems','_createSearchResultActionButton','icon','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-search-result-button','commands','_createListItems','_isSearchFocused','locale','_createSearchTextView','_getButtonKeystroke','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-button__group-icon','10448umuXZb','element','ck-button','129710xfVDul','_createSearchResultGroupRow','optionsListView','div','_createSearchResultGroupedActionButton','aiQuickAction','_setupActionButtonExecution','key','children','ck-ai-quick-actions-button','chain','addMany','some','button','setTemplate','_hasSearch','eastSouth','delete','_isMovingToNestedMenu','keystrokes','clear','2979FVgEhp','3kEstxu','bind','_setupGroupMenuBehavior','resetSearch','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-search-result__content','ck-rounded-corners','pin','_createSearchResultIndividualActionButton','fieldView','ck-reset_all','uiLanguageDirection','_showNestedPanel','ck-dropdown-menu-list','menuitem','rtl','forEach','add','.ck-ai-quick-actions-group-panel','_createGroupActionsList','ck-ai-quick-actions-group-list','ArrowLeft','hide','detachFromDom','closest','ck-ai-quick-actions-group-button','text','_hideNestedPanel','AI_QUICK_ACTIONS_SEARCH','_searchTextView','.ck-ai-quick-actions-group-list','queryView','extendTemplate','_handleSearchResultButtonClick','relatedTarget','contains','ck-ai-quick-actions-button_with-group__close-paren','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-button_with-text','305704FOXuug','set','span','3491502PSrHfV','_handlePanelKeydown','792286yatLYH','label','editing','reset','activeElement','_createSearchResultActionRow','_focusables','ck-ai-quick-actions','1146640sjZUMs','ck-ai-quick-actions-search','ck-ai-quick-actions-button_with-group','2765315FWbmkn','ck-ai-quick-actions-search-result__group-row','parent','_createActionGroupButton','push','_openNestedPanels','execute','ck-dropdown-menu__nested-menu__panel','_getPanelKeystroke','destroy','focusCycler','menu','first','render','.ck-ai-quick-actions-group-button','actions','_hideAllNestedPanels','focus','_createSearchResultContentView','isVisible','content','fire','isEnabled'];_0x26fa=function(){return _0x1cae0f;};return _0x26fa();}import{getTranslation as _0x1de53a}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x18c106}from'./aiquickactionsfilteredlistview.js';const Gs=_0x515e9e(0xce),Ks=_0x515e9e(0x123);function _0x1aec(_0xe1b1fc,_0xb7227e){const _0x26fa17=_0x26fa();return _0x1aec=function(_0x1aecfd,_0x227133){_0x1aecfd=_0x1aecfd-0x9f;let _0x33fd2a=_0x26fa17[_0x1aecfd];return _0x33fd2a;},_0x1aec(_0xe1b1fc,_0xb7227e);}export class AIQuickActionsDropdownContentView extends _0x24dad6{[_0x515e9e(0xda)];[_0x515e9e(0x101)];[_0x515e9e(0xa9)]=null;[_0x515e9e(0xef)]=[];[_0x515e9e(0x107)];[_0x515e9e(0xec)];[_0x515e9e(0x112)];[_0x515e9e(0xbe)];[_0x515e9e(0xcd)];[_0x515e9e(0xc8)]=new Set();[_0x515e9e(0x10e)];constructor(_0x5615bb,_0x2799a0,_0x5d91b9,_0x79c483,_0x4e4617=!0x1){const _0x561172=_0x515e9e,_0x37db40=_0x5615bb[_0x561172(0xf7)];super(_0x37db40),this[_0x561172(0xda)]=_0x79c483,this[_0x561172(0x10e)]=_0x4e4617;const _0x498098=this[_0x561172(0xf5)](_0x5615bb,_0x2799a0,_0x5d91b9);this[_0x561172(0x101)]=new _0x18c106(_0x37db40,_0x498098,this[_0x561172(0xef)]),this[_0x561172(0x101)][_0x561172(0xeb)]=Gs,this[_0x561172(0x101)][_0x561172(0xee)][_0x561172(0x10a)](_0x498098),this[_0x561172(0xec)]=new _0x55646d(),this[_0x561172(0x112)]=new _0x5c96ed(),_0x4e4617&&(this[_0x561172(0xa9)]=this[_0x561172(0xf8)]()),this[_0x561172(0xbe)]=_0x498098,this[_0x561172(0xcd)]=new _0x22d2f3({'focusables':this[_0x561172(0xbe)],'focusTracker':this[_0x561172(0xec)],'keystrokeHandler':this[_0x561172(0x112)]}),_0x4e4617&&this[_0x561172(0xa9)]&&this[_0x561172(0xcd)][_0x561172(0x109)](this[_0x561172(0xa9)][_0x561172(0xcd)]);const _0x24a270=_0x4e4617&&this[_0x561172(0xa9)]?[this[_0x561172(0xa9)]]:[this[_0x561172(0x101)]];this[_0x561172(0x107)]=new _0x53279c(_0x24a270),this[_0x561172(0x10d)]({'tag':_0x561172(0x102),'attributes':{'class':['ck',_0x561172(0x11f),_0x561172(0xbf),_0x561172(0x11b)],'dir':_0x37db40[_0x561172(0x120)]},'children':this[_0x561172(0x107)]});}[_0x515e9e(0xf8)](){const _0x5c5657=_0x515e9e;return new _0x409402(this[_0x5c5657(0xf7)],{'filteredView':this[_0x5c5657(0x101)],'queryView':{'label':_0x1de53a(this[_0x5c5657(0xf7)],_0x5c5657(0xa8))},'class':_0x5c5657(0xc1),'infoView':{'text':{'notFound':{'primary':_0x1de53a(this[_0x5c5657(0xf7)],_0x5c5657(0xfa))}}}});}[_0x515e9e(0xf6)](){const _0x22d6b5=_0x515e9e;if(!this[_0x22d6b5(0x10e)]||!this[_0x22d6b5(0xa9)]||!this[_0x22d6b5(0xa9)][_0x22d6b5(0xab)][_0x22d6b5(0x11e)][_0x22d6b5(0xfd)])return!0x1;const _0x226485=this[_0x22d6b5(0xa9)][_0x22d6b5(0xab)][_0x22d6b5(0x11e)][_0x22d6b5(0xfd)][_0x22d6b5(0xe2)]?.[_0x22d6b5(0xbc)];return this[_0x22d6b5(0xa9)][_0x22d6b5(0xab)][_0x22d6b5(0x11e)][_0x22d6b5(0xfd)][_0x22d6b5(0xaf)](_0x226485);}[_0x515e9e(0xf5)](_0x2f4c4a,_0x102fc2,_0x258a02){const _0x54f3b7=_0x515e9e,_0x5cb59c=new _0x53279c();return _0x102fc2[_0x54f3b7(0x125)](_0x163b6d=>{const _0x3a5ebb=_0x54f3b7;if(_0x3a5ebb(0xd2)in _0x163b6d){const {listItem:_0x3f0f21}=this[_0x3a5ebb(0xc6)](_0x2f4c4a,_0x163b6d,_0x258a02);_0x5cb59c[_0x3a5ebb(0x126)](_0x3f0f21),_0x163b6d[_0x3a5ebb(0xd2)][_0x3a5ebb(0x125)](_0x228e25=>{const _0x2dfa61=_0x3a5ebb;this[_0x2dfa61(0xe9)](_0x2f4c4a,_0x228e25,_0x163b6d[_0x2dfa61(0xb9)],_0x163b6d[_0x2dfa61(0xf1)]);const {listItem:_0x1eda21,highlightViews:_0x183d23}=this[_0x2dfa61(0xf0)](_0x2f4c4a,_0x228e25,_0x163b6d[_0x2dfa61(0xb9)],_0x163b6d[_0x2dfa61(0xf1)]);this[_0x2dfa61(0xef)][_0x2dfa61(0xc7)]({'item':_0x1eda21,'label':_0x228e25[_0x2dfa61(0xe7)],'groupLabel':_0x163b6d[_0x2dfa61(0xb9)],'highlightViews':_0x183d23});});}else{const {listItem:_0x31fb1c}=this[_0x3a5ebb(0xe9)](_0x2f4c4a,_0x163b6d);_0x5cb59c[_0x3a5ebb(0x126)](_0x31fb1c);const _0x159b6a=_0x31fb1c[_0x3a5ebb(0x107)][_0x3a5ebb(0xcf)];if(_0x159b6a){const {listItem:_0x2adcee,highlightViews:_0x62d6cc}=this[_0x3a5ebb(0xf0)](_0x2f4c4a,_0x163b6d);this[_0x3a5ebb(0xef)][_0x3a5ebb(0xc7)]({'item':_0x2adcee,'label':_0x159b6a[_0x3a5ebb(0xb9)]||'','highlightViews':_0x62d6cc});}}}),_0x5cb59c;}[_0x515e9e(0xe9)](_0x137323,_0xad82b,_0xa841e9,_0x339fe8){const _0x513109=_0x515e9e,_0x652251=new _0x27d115(this[_0x513109(0xf7)]);if(_0xa841e9&&_0x339fe8){const _0x3a3bff=new _0x465415(this[_0x513109(0xf7)]),_0x3de298=_0x3a3bff[_0x513109(0xdd)],_0x50cbc4=new _0x1faf9e();_0x50cbc4[_0x513109(0xa6)]=_0xad82b[_0x513109(0xe7)];const _0x22a651=new _0x1faf9e();_0x22a651[_0x513109(0xa6)]=_0xa841e9;const _0x38a7ef=new _0x3c0a13();_0x38a7ef[_0x513109(0xd7)]=_0x339fe8,_0x38a7ef[_0x513109(0xac)]({'attributes':{'class':_0x513109(0xfb)}});const _0x161c82=new _0x24dad6(this[_0x513109(0xf7)]);_0x161c82[_0x513109(0x10d)]({'tag':_0x513109(0xb5),'attributes':{'class':_0x513109(0xea)},'children':[{'text':'\x20('}]});const _0x25fbb6=new _0x24dad6(this[_0x513109(0xf7)]);return _0x25fbb6[_0x513109(0x10d)]({'tag':_0x513109(0xb5),'attributes':{'class':_0x513109(0xb0)},'children':[{'text':')'}]}),_0x3a3bff[_0x513109(0xb4)]({'label':_0xad82b[_0x513109(0xe7)]+'\x20('+_0xa841e9+')','withText':!0x0,'role':_0x513109(0x123),'class':_0x513109(0xe6),'tooltip':!0x1}),_0x3a3bff[_0x513109(0x10d)]({'tag':_0x513109(0x10c),'attributes':{'class':['ck',_0x513109(0xfe),_0x513109(0xb2),_0x513109(0x108),_0x513109(0xc2)],'type':_0x513109(0x10c),'role':_0x513109(0x123),'tabindex':'-1'},'children':[_0x50cbc4,_0x161c82,_0x38a7ef,_0x22a651,_0x25fbb6],'on':{'mouseenter':_0x3de298['to'](()=>{const _0x190571=_0x513109;this[_0x190571(0xf6)]()||_0x3a3bff[_0x190571(0xd4)]();}),'click':_0x3de298['to'](()=>{const _0x2277c1=_0x513109;_0x3a3bff[_0x2277c1(0xd8)](_0x2277c1(0xc9));})}}),_0x3a3bff['on'](_0x513109(0xc9),()=>{const _0x109309=_0x513109;_0x137323[_0x109309(0xba)][_0x109309(0xe0)][_0x109309(0xd4)](),_0x137323[_0x109309(0xf4)][_0x109309(0xc9)](_0x109309(0x104),_0xad82b);}),_0x652251[_0x513109(0x107)][_0x513109(0x126)](_0x3a3bff),{'listItem':_0x652251,'highlightViews':[_0x50cbc4,_0x22a651]};}{const _0x769ea2=new _0x177e8b(),_0x34d317=new _0x465415(this[_0x513109(0xf7)],_0x769ea2),_0x3a06ea=_0x34d317[_0x513109(0xdd)],_0x167678=_0xad82b[_0x513109(0xf1)]??_0xad82b[_0x513109(0xc5)]?.[_0x513109(0xf1)],_0x175457=void 0x0!==_0xad82b[_0x513109(0xf1)];return _0x34d317[_0x513109(0xb4)]({'label':_0xad82b[_0x513109(0xe7)],'withText':!0x0,'role':_0x513109(0x123),'icon':_0x175457?_0x167678??_0x557e4c:void 0x0,'tooltip':!0x1,'class':_0x513109(0x108)}),_0x34d317[_0x513109(0xac)]({'on':{'mouseenter':_0x3a06ea['to'](()=>{const _0x5b4f84=_0x513109;this[_0x5b4f84(0xf6)]()||_0x34d317[_0x5b4f84(0xd4)]();})}}),_0x34d317['on'](_0x513109(0xc9),()=>{const _0x4b64cf=_0x513109;_0x137323[_0x4b64cf(0xba)][_0x4b64cf(0xe0)][_0x4b64cf(0xd4)](),_0x137323[_0x4b64cf(0xf4)][_0x4b64cf(0xc9)](_0x4b64cf(0x104),_0xad82b);}),_0x652251[_0x513109(0x107)][_0x513109(0x126)](_0x34d317),{'listItem':_0x652251,'highlightViews':[_0x769ea2]};}}[_0x515e9e(0xf0)](_0x3f6a9d,_0xb07e7e,_0xb1b0e8,_0x3fee04){const _0x4cc8d3=_0x515e9e;return _0xb1b0e8&&_0x3fee04?this[_0x4cc8d3(0x103)](_0x3f6a9d,_0xb07e7e,_0xb1b0e8,_0x3fee04):this[_0x4cc8d3(0x11d)](_0x3f6a9d,_0xb07e7e);}[_0x515e9e(0x103)](_0x5c62f0,_0x5f07e6,_0x1e6138,_0x159b82){const _0xc0b560=_0x515e9e,_0x1e7f82=new _0x27d115(this[_0xc0b560(0xf7)]),_0x402563=new _0x465415(this[_0xc0b560(0xf7)]),_0xcd8270=_0x402563[_0xc0b560(0xdd)],{view:_0x15a724,highlightView:_0x954170}=this[_0xc0b560(0x100)](_0x1e6138,_0x159b82),{view:_0x1f7bec,highlightView:_0x5eaaf8}=this[_0xc0b560(0xbd)](_0x5f07e6[_0xc0b560(0xe7)]),_0xad1891=this[_0xc0b560(0xd5)](_0x15a724,_0x1f7bec);return _0x402563[_0xc0b560(0xb4)]({'label':_0x5f07e6[_0xc0b560(0xe7)],'withText':!0x0,'role':_0xc0b560(0x123),'class':_0xc0b560(0xf2),'tooltip':!0x1}),_0x402563[_0xc0b560(0x10d)]({'tag':_0xc0b560(0x10c),'attributes':{'class':['ck',_0xc0b560(0xfe),_0xc0b560(0xb2),_0xc0b560(0x108),_0xc0b560(0xf3),_0xc0b560(0xed)],'type':_0xc0b560(0x10c),'role':_0xc0b560(0x123),'tabindex':'-1'},'children':[_0xad1891],'on':{'mouseenter':_0xcd8270['to'](()=>{const _0x370bc1=_0xc0b560;this[_0x370bc1(0xf6)]()||_0x402563[_0x370bc1(0xd4)]();}),'click':_0xcd8270['to'](()=>{const _0x1f20a1=_0xc0b560;this[_0x1f20a1(0xad)](_0x402563);})}}),this[_0xc0b560(0x105)](_0x402563,_0x5c62f0,_0x5f07e6),_0x1e7f82[_0xc0b560(0x107)][_0xc0b560(0x126)](_0x402563),{'listItem':_0x1e7f82,'highlightViews':[_0x954170,_0x5eaaf8]};}[_0x515e9e(0x11d)](_0x470f35,_0x50c54e){const _0x3b65fd=_0x515e9e,_0x96070=new _0x27d115(this[_0x3b65fd(0xf7)]),_0x5cc2b8=new _0x177e8b(),_0x15096f=new _0x465415(this[_0x3b65fd(0xf7)],_0x5cc2b8),_0x298e9e=_0x15096f[_0x3b65fd(0xdd)];return _0x15096f[_0x3b65fd(0xb4)]({'label':_0x50c54e[_0x3b65fd(0xe7)],'withText':!0x0,'role':_0x3b65fd(0x123),'icon':void 0x0,'tooltip':!0x1,'class':_0x3b65fd(0xb1)}),_0x15096f[_0x3b65fd(0xac)]({'on':{'mouseenter':_0x298e9e['to'](()=>{const _0x53a5e9=_0x3b65fd;this[_0x53a5e9(0xf6)]()||_0x15096f[_0x53a5e9(0xd4)]();})}}),this[_0x3b65fd(0x105)](_0x15096f,_0x470f35,_0x50c54e),_0x96070[_0x3b65fd(0x107)][_0x3b65fd(0x126)](_0x15096f),{'listItem':_0x96070,'highlightViews':[_0x5cc2b8]};}[_0x515e9e(0x100)](_0x51cfbf,_0x46af34){const _0x494ce2=_0x515e9e,_0x2f5dd6=new _0x24dad6(this[_0x494ce2(0xf7)]),_0x12f681=new _0x3c0a13();_0x12f681[_0x494ce2(0xd7)]=_0x46af34,_0x12f681[_0x494ce2(0xac)]({'attributes':{'class':_0x494ce2(0xfb)}});const _0x53ae8b=new _0x1faf9e();return _0x53ae8b[_0x494ce2(0xa6)]=_0x51cfbf,_0x2f5dd6[_0x494ce2(0x10d)]({'tag':_0x494ce2(0x102),'attributes':{'class':_0x494ce2(0xc4)},'children':[_0x12f681,_0x53ae8b]}),{'view':_0x2f5dd6,'highlightView':_0x53ae8b};}[_0x515e9e(0xbd)](_0x4e0b65){const _0x45a18c=_0x515e9e,_0x356a74=new _0x24dad6(this[_0x45a18c(0xf7)]),_0x7fe40a=new _0x1faf9e();return _0x7fe40a[_0x45a18c(0xa6)]=_0x4e0b65,_0x356a74[_0x45a18c(0x10d)]({'tag':_0x45a18c(0x102),'attributes':{'class':_0x45a18c(0xe4)},'children':[_0x7fe40a]}),{'view':_0x356a74,'highlightView':_0x7fe40a};}[_0x515e9e(0xd5)](_0x331c28,_0x2407c2){const _0x3a1118=_0x515e9e,_0x141a33=new _0x24dad6(this[_0x3a1118(0xf7)]);return _0x141a33[_0x3a1118(0x10d)]({'tag':_0x3a1118(0x102),'attributes':{'class':_0x3a1118(0x11a)},'children':[_0x331c28,_0x2407c2]}),_0x141a33;}[_0x515e9e(0x105)](_0x44ea99,_0x35e875,_0x28e4d3){const _0x265518=_0x515e9e;_0x44ea99['on'](_0x265518(0xc9),()=>{const _0x42327c=_0x265518;_0x35e875[_0x42327c(0xba)][_0x42327c(0xe0)][_0x42327c(0xd4)](),_0x35e875[_0x42327c(0xf4)][_0x42327c(0xc9)](_0x42327c(0x104),_0x28e4d3);});}[_0x515e9e(0xc6)](_0x17db62,_0x7bf547,_0xfac794){const _0x451474=_0x515e9e,_0x32c5d=new _0x27d115(this[_0x451474(0xf7)]),_0x554206=new _0x177e8b(),_0x52618f=new _0x4a913a(this[_0x451474(0xf7)],_0x554206),_0x15c4b0=_0x52618f[_0x451474(0xdd)],_0xa8f745=this[_0x451474(0xcb)](_0xfac794),_0x561b47=this[_0x451474(0x9f)](_0x17db62,_0x7bf547[_0x451474(0xd2)],_0xfac794);_0x52618f[_0x451474(0xb4)]({'label':_0x7bf547[_0x451474(0xb9)],'withText':!0x0,'role':Ks,'icon':_0x7bf547[_0x451474(0xf1)]??_0x557e4c,'isEnabled':_0x7bf547[_0x451474(0xd2)][_0x451474(0x10b)](_0x242565=>_0x242565[_0x451474(0xd9)])}),_0x52618f[_0x451474(0xac)]({'on':{'mouseenter':_0x15c4b0['to'](()=>{const _0x407bd4=_0x451474;this[_0x407bd4(0xf6)]()||_0x52618f[_0x407bd4(0xd4)]();})}});const _0x458e49=new _0x415521(this[_0x451474(0xf7)]);return _0x458e49[_0x451474(0xac)]({'attributes':{'class':['ck',_0x451474(0x11f),_0x451474(0x119),_0x451474(0xca)]},'on':{'keydown':_0x15c4b0['to'](_0x491f15=>{const _0x50154b=_0x451474;this[_0x50154b(0xb7)](_0x491f15,_0xa8f745,_0x52618f,_0x458e49);})}}),_0x52618f[_0x451474(0x116)](_0x451474(0xdc))['to'](_0x458e49,_0x451474(0xd6)),this[_0x451474(0xda)][_0x451474(0x126)](_0x458e49),_0x458e49[_0x451474(0xd7)][_0x451474(0x126)](_0x561b47),this[_0x451474(0x117)](_0x52618f,_0x458e49),_0x32c5d[_0x451474(0x107)][_0x451474(0x126)](_0x52618f),{'listItem':_0x32c5d,'highlightView':_0x554206};}[_0x515e9e(0x9f)](_0x315edd,_0x35b52a,_0x3d9739){const _0x3da6a2=_0x515e9e,_0x4bd7ff=new _0x4f0778(this[_0x3da6a2(0xf7)]);return _0x4bd7ff[_0x3da6a2(0xac)]({'attributes':{'class':['ck',_0x3da6a2(0x11f),_0x3da6a2(0xa0),_0x3da6a2(0x122)]}}),_0x35b52a[_0x3da6a2(0x125)](_0x348bb3=>{const _0x1aeb9a=_0x3da6a2,_0x115fdd=new _0x27d115(this[_0x1aeb9a(0xf7)]),_0xdc0953=_0x794d58({'editor':_0x315edd,'action':_0x348bb3,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x1aeb9a(0xf6)]()})();_0x115fdd[_0x1aeb9a(0x107)][_0x1aeb9a(0x126)](_0xdc0953),_0x3d9739[_0x1aeb9a(0xec)][_0x1aeb9a(0x126)](_0xdc0953),_0x4bd7ff[_0x1aeb9a(0xee)][_0x1aeb9a(0x126)](_0x115fdd);}),_0x4bd7ff;}[_0x515e9e(0x117)](_0x1cfd4d,_0x8590d9){const _0x26cd04=_0x515e9e,_0x3e6ea2=_0x1cfd4d[_0x26cd04(0xdd)],_0x332a19=this[_0x26cd04(0xf9)](_0x1cfd4d);_0x1cfd4d[_0x26cd04(0xac)]({'attributes':{'class':[_0x26cd04(0xa5)]},'on':{'mouseenter':_0x3e6ea2['to'](()=>{const _0x2ae95f=_0x26cd04;this[_0x2ae95f(0x121)](_0x8590d9,_0x1cfd4d);}),'mouseleave':_0x3e6ea2['to'](_0x9b658b=>{const _0x3e3a9b=_0x26cd04,_0x72d3d1=_0x9b658b[_0x3e3a9b(0xae)];this[_0x3e3a9b(0x111)](_0x72d3d1,_0x8590d9)||this[_0x3e3a9b(0xa7)](_0x8590d9);}),'keydown':_0x3e6ea2['to'](_0x4eb995=>{const _0x26541b=_0x26cd04;_0x4eb995[_0x26541b(0x106)]==_0x332a19&&(this[_0x26541b(0x121)](_0x8590d9,_0x1cfd4d),_0x8590d9[_0x26541b(0xd7)][_0x26541b(0xe8)](0x0)[_0x26541b(0xd4)]());})}}),_0x8590d9['on'](_0x26cd04(0xd0),()=>{const _0x1014d1=_0x26cd04;_0x8590d9[_0x1014d1(0xfd)]?.[_0x1014d1(0xde)](_0x1014d1(0xe5),_0x2c1452=>{const _0x511801=_0x1014d1,_0x27229e=_0x2c1452[_0x511801(0xae)];_0x1cfd4d[_0x511801(0xfd)]?.[_0x511801(0xaf)](_0x27229e)||this[_0x511801(0x111)](_0x27229e,_0x8590d9)||this[_0x511801(0xa7)](_0x8590d9);});});}[_0x515e9e(0x121)](_0x3b538c,_0x559b6c){const _0x3ac74a=_0x515e9e;this[_0x3ac74a(0xc8)][_0x3ac74a(0x125)](_0x48b5e8=>{const _0x78e1e3=_0x3ac74a;_0x48b5e8!==_0x3b538c&&_0x48b5e8[_0x78e1e3(0xd6)]&&_0x48b5e8[_0x78e1e3(0xa2)]();}),_0x3b538c[_0x3ac74a(0xe1)](),_0x3b538c[_0x3ac74a(0x11c)]({'positions':[_0x10ee05[_0x3ac74a(0x10f)]],'target':_0x559b6c[_0x3ac74a(0xfd)],'fitInViewport':!0x0}),this[_0x3ac74a(0xc8)][_0x3ac74a(0x126)](_0x3b538c);}[_0x515e9e(0xa7)](_0x3b8f2a){const _0x2efb84=_0x515e9e;_0x3b8f2a[_0x2efb84(0xa2)](),this[_0x2efb84(0xc8)][_0x2efb84(0x110)](_0x3b8f2a);}[_0x515e9e(0xd3)](){const _0x101a0b=_0x515e9e;this[_0x101a0b(0xc8)][_0x101a0b(0x125)](_0x2143e5=>_0x2143e5[_0x101a0b(0xa2)]()),this[_0x101a0b(0xc8)][_0x101a0b(0x113)]();}[_0x515e9e(0x111)](_0x35fba5,_0x13d832){const _0x3deea4=_0x515e9e;if(!_0x35fba5)return!0x1;if(_0x13d832[_0x3deea4(0xfd)]?.[_0x3deea4(0xaf)](_0x35fba5))return!0x0;const _0x5811c9=_0x35fba5;return _0x5811c9[_0x3deea4(0xa4)]&&(null!==_0x5811c9[_0x3deea4(0xa4)](_0x3deea4(0x127))||null!==_0x5811c9[_0x3deea4(0xa4)](_0x3deea4(0xaa))||null!==_0x5811c9[_0x3deea4(0xa4)](_0x3deea4(0xd1)));}[_0x515e9e(0x118)](){const _0x52960b=_0x515e9e;this[_0x52960b(0xa9)]&&this[_0x52960b(0xa9)][_0x52960b(0xbb)]();}[_0x515e9e(0xcc)](){const _0x372c03=_0x515e9e;this[_0x372c03(0xd3)](),this[_0x372c03(0xda)][_0x372c03(0xa3)](),super[_0x372c03(0xcc)]();}[_0x515e9e(0xd4)](){const _0x2f0d89=_0x515e9e;this[_0x2f0d89(0xa9)]?this[_0x2f0d89(0xa9)][_0x2f0d89(0xd4)]():this[_0x2f0d89(0x101)][_0x2f0d89(0xd4)]();}[_0x515e9e(0xcb)](_0x47de92){const _0x296b58=_0x515e9e;return _0x296b58(0x124)===_0x47de92[_0x296b58(0xf7)][_0x296b58(0x120)]?_0x296b58(0xdb):_0x296b58(0xa1);}[_0x515e9e(0xf9)](_0x24c5f3){const _0x51261c=_0x515e9e;return _0x51261c(0x124)===_0x24c5f3[_0x51261c(0xf7)][_0x51261c(0x120)]?_0x51261c(0xa1):_0x51261c(0xdb);}[_0x515e9e(0xb7)](_0x6950e4,_0x45eaaf,_0x836459,_0x3661db){const _0x374370=_0x515e9e;_0x6950e4[_0x374370(0x106)]==_0x45eaaf&&(_0x836459[_0x374370(0xd4)](),this[_0x374370(0xa7)](_0x3661db));}[_0x515e9e(0xad)](_0x154d8b){const _0x359d8d=_0x515e9e;_0x154d8b[_0x359d8d(0xd8)](_0x359d8d(0xc9));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5b5bbc,_0x297792){const _0x331191=_0x3b8b,_0x63b6d3=_0x5b5bbc();while(!![]){try{const _0x1c2211=parseInt(_0x331191(0x13b))/0x1*(-parseInt(_0x331191(0x124))/0x2)+parseInt(_0x331191(0x12d))/0x3+parseInt(_0x331191(0x137))/0x4+-parseInt(_0x331191(0x12a))/0x5*(parseInt(_0x331191(0x120))/0x6)+parseInt(_0x331191(0x12c))/0x7+parseInt(_0x331191(0x11c))/0x8*(-parseInt(_0x331191(0x11f))/0x9)+parseInt(_0x331191(0x11d))/0xa;if(_0x1c2211===_0x297792)break;else _0x63b6d3['push'](_0x63b6d3['shift']());}catch(_0x1495ae){_0x63b6d3['push'](_0x63b6d3['shift']());}}}(_0x3f5c,0x9f793));import{createDropdown as _0x196cdb}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x21d95c}from'@ckeditor/ckeditor5-icons';function _0x3f5c(){const _0x3b9880=['length','5ctmmDk','hideFakeVisualSelection','8892163HihoDe','339465yFczgR','ai-quick-actions-dropdown-selection','from','change:isOpen','selection','plugins','document','set','panelView','has','295376iexnuE','ck-ai-quick-actions-dropdown','showFakeVisualSelection','get','1yLuLSM','model','icon','8PEixvu','7523090yVLJPj','buttonView','2285721flrwTR','7289052XFqUza','children','locale','resetSearch','175206LKxSgW','getRanges','AIEditing','add','label'];_0x3f5c=function(){return _0x3b9880;};return _0x3f5c();}import{AIQuickActionsDropdownContentView as _0x240bc9}from'./aiquickactionsdropdowncontentview.js';function _0x3b8b(_0x923516,_0xbd0bcf){const _0x3f5c26=_0x3f5c();return _0x3b8b=function(_0x3b8bbe,_0x460508){_0x3b8bbe=_0x3b8bbe-0x11a;let _0x4896ef=_0x3f5c26[_0x3b8bbe];return _0x4896ef;},_0x3b8b(_0x923516,_0xbd0bcf);}import{AIEditing as _0x33c506}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x1f6601){const {editor:_0x4947ac,content:_0x3121e6,buttonDefinition:_0x1e5e34,bodyCollection:_0xd7cd76,hasSearch:_0x761123=!0x1}=_0x1f6601;return()=>{const _0x2bbc28=_0x3b8b,_0x55e23e=_0x4947ac[_0x2bbc28(0x122)],_0x372527=_0x196cdb(_0x55e23e);_0x372527[_0x2bbc28(0x11e)][_0x2bbc28(0x134)]({'icon':_0x1e5e34[_0x2bbc28(0x11b)]??_0x21d95c,'label':_0x1e5e34[_0x2bbc28(0x128)],'tooltip':!0x0}),_0x372527[_0x2bbc28(0x134)]({'class':_0x2bbc28(0x138)});const _0x4e8c43=new _0x240bc9(_0x4947ac,_0x3121e6,_0x372527,_0xd7cd76,_0x761123);if(_0x372527[_0x2bbc28(0x135)][_0x2bbc28(0x121)][_0x2bbc28(0x127)](_0x4e8c43),_0x761123){const _0x4cf22f=_0x2bbc28(0x12e);_0x372527['on'](_0x2bbc28(0x130),(_0x2011b4,_0x291d55,_0x2e1a0f)=>{const _0x1b49b4=_0x2bbc28;if(_0x2e1a0f){if(_0x4947ac[_0x1b49b4(0x132)][_0x1b49b4(0x136)](_0x1b49b4(0x126))){const _0x125cd9=_0x4947ac[_0x1b49b4(0x132)][_0x1b49b4(0x13a)](_0x33c506),_0x4a9910=_0x4947ac[_0x1b49b4(0x11a)][_0x1b49b4(0x133)][_0x1b49b4(0x131)],_0x36cfe3=Array[_0x1b49b4(0x12f)](_0x4a9910[_0x1b49b4(0x125)]());_0x36cfe3[_0x1b49b4(0x129)]>0x0&&_0x125cd9[_0x1b49b4(0x139)](_0x36cfe3,_0x4cf22f,!0x1,!0x0);}}else _0x4947ac[_0x1b49b4(0x132)][_0x1b49b4(0x136)](_0x1b49b4(0x126))&&_0x4947ac[_0x1b49b4(0x132)][_0x1b49b4(0x13a)](_0x33c506)[_0x1b49b4(0x12b)](_0x4cf22f),_0x4e8c43[_0x1b49b4(0x123)]();});}return _0x372527;};}
|