@ckeditor/ckeditor5-ai 47.4.0-alpha.0 → 47.4.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/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.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/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/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/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/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/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/aichathistoryview.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/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/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.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/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x220c1e=_0x15ef;(function(_0x319e19,_0x449b9e){const _0x3edba8=_0x15ef,_0x467f86=_0x319e19();while(!![]){try{const _0x168e50=-parseInt(_0x3edba8(0x1ec))/0x1+-parseInt(_0x3edba8(0x1b4))/0x2*(parseInt(_0x3edba8(0x1b8))/0x3)+parseInt(_0x3edba8(0x1b2))/0x4+parseInt(_0x3edba8(0x1b5))/0x5*(-parseInt(_0x3edba8(0x1ce))/0x6)+parseInt(_0x3edba8(0x1ee))/0x7+parseInt(_0x3edba8(0x1d3))/0x8*(-parseInt(_0x3edba8(0x1bf))/0x9)+parseInt(_0x3edba8(0x1d8))/0xa*(parseInt(_0x3edba8(0x1e7))/0xb);if(_0x168e50===_0x449b9e)break;else _0x467f86['push'](_0x467f86['shift']());}catch(_0x5d299c){_0x467f86['push'](_0x467f86['shift']());}}}(_0x41d0,0x1ab07));import _0x1e5161 from'morphdom';import{NodeWithChildren as _0x1e500a,Text as _0x9050e2,Element as _0x28f479,isText as _0x2c636e,isDocument as _0x31870e,isTag as _0x454fa0,cloneNode as _0x50cc2f,getChildren as _0x55c7aa,prepend as _0x227680,removeElement as _0x5b5939,textContent as _0x2e7124,render as _0x26c7ab}from'./htmlparser.js';import{logWarning as _0x572e88}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x220c1e(0x1c1)];[_0x220c1e(0x1c4)]=!0x1;[_0x220c1e(0x1cb)]=null;[_0x220c1e(0x1e6)]=[];[_0x220c1e(0x1e2)]=0x0;[_0x220c1e(0x1b7)]=null;constructor(_0x46f805){const _0x1db0de=_0x220c1e;this[_0x1db0de(0x1c1)]={'delay':_0x46f805[_0x1db0de(0x1b6)]??0x14,'textNodeStyle':_0x46f805[_0x1db0de(0x1c8)],'onStreamUpdate':_0x46f805[_0x1db0de(0x1c6)]||(()=>{})};}async[_0x220c1e(0x1cf)]({document:_0x37129e,targetElement:_0x959728,abortSignal:_0x572bd8}){const _0x20bd86=_0x220c1e;this[_0x20bd86(0x1c4)]&&this[_0x20bd86(0x1e0)](),_0x572bd8?.[_0x20bd86(0x1c5)](_0x20bd86(0x1db),this[_0x20bd86(0x1e0)][_0x20bd86(0x1bd)](this)),this[_0x20bd86(0x1cb)]=_0x50cc2f(_0x37129e,!0x0),this[_0x20bd86(0x1e6)]=this[_0x20bd86(0x1d6)](),this[_0x20bd86(0x1c4)]=!0x0,this[_0x20bd86(0x1e2)]>this[_0x20bd86(0x1e6)][_0x20bd86(0x1e4)]&&(_0x572e88(_0x20bd86(0x1be),{'currentIndex':this[_0x20bd86(0x1e2)],'nodeList':this[_0x20bd86(0x1e6)]}),this[_0x20bd86(0x1e2)]=this[_0x20bd86(0x1e6)][_0x20bd86(0x1e4)]);for(let _0x259cc8=0x0;_0x259cc8<this[_0x20bd86(0x1e2)];_0x259cc8++)this[_0x20bd86(0x1e6)][_0x259cc8][_0x20bd86(0x1ed)]=!0x0;let _0x2debfa=0x0;for(let _0x5531bd=this[_0x20bd86(0x1e2)];_0x5531bd<this[_0x20bd86(0x1e6)][_0x20bd86(0x1e4)];_0x5531bd++){const _0x3d61ef=Date[_0x20bd86(0x1d7)](),_0x4761ec=this[_0x20bd86(0x1e6)][_0x5531bd],_0x5999c5=_0x3d61ef-_0x2debfa;_0x4761ec[_0x20bd86(0x1ed)]=!0x0;let _0x232483=_0x4761ec[_0x20bd86(0x1c3)];for(;_0x232483;)_0x232483[_0x20bd86(0x1ed)]=!0x0,_0x232483=_0x232483[_0x20bd86(0x1c3)];if(_0x5999c5<this[_0x20bd86(0x1c1)][_0x20bd86(0x1b6)])try{const {promise:_0x5bd3c9,abortController:_0x112a32}=dr(this[_0x20bd86(0x1c1)][_0x20bd86(0x1b6)]-_0x5999c5);this[_0x20bd86(0x1b7)]=_0x112a32,await _0x5bd3c9;}catch(_0x2160a9){return;}_0x1e5161(_0x959728,'<'+_0x959728[_0x20bd86(0x1cc)]+'>'+this[_0x20bd86(0x1cd)](this[_0x20bd86(0x1cb)])+'</'+_0x959728[_0x20bd86(0x1cc)]+'>',{'childrenOnly':!0x0}),this[_0x20bd86(0x1c1)][_0x20bd86(0x1c6)]&&this[_0x20bd86(0x1c1)][_0x20bd86(0x1c6)](),this[_0x20bd86(0x1e2)]=_0x5531bd,_0x2debfa=Date[_0x20bd86(0x1d7)]();}this[_0x20bd86(0x1c4)]=!0x1;}[_0x220c1e(0x1e1)]({targetElement:_0x56c312}){const _0x3cbae7=_0x220c1e;Array[_0x3cbae7(0x1d1)](_0x56c312[_0x3cbae7(0x1c7)](_0x3cbae7(0x1eb)))[_0x3cbae7(0x1e3)]()[_0x3cbae7(0x1d9)](_0x107cda=>{const _0x44f320=_0x3cbae7;_0x107cda[_0x44f320(0x1e5)](_0x107cda[_0x44f320(0x1ea)][0x0]);});}[_0x220c1e(0x1e0)](){const _0x3f5e4c=_0x220c1e;this[_0x3f5e4c(0x1c4)]=!0x1,this[_0x3f5e4c(0x1b7)]&&(this[_0x3f5e4c(0x1b7)][_0x3f5e4c(0x1db)](),this[_0x3f5e4c(0x1b7)]=null);}[_0x220c1e(0x1cd)](_0x382ca8){const _0x32f91e=_0x220c1e;let _0x39c2b3='';if(function(_0x3d0663){return _0x31870e(_0x3d0663);}(_0x382ca8)){for(const _0x5c38b2 of _0x382ca8[_0x32f91e(0x1dc)])_0x39c2b3+=this[_0x32f91e(0x1cd)](_0x5c38b2);}else{if(ar(_0x382ca8)){if(!_0x382ca8[_0x32f91e(0x1ed)])return'';const _0x44e9f0=_0x382ca8,_0x39973e=Object[_0x32f91e(0x1b3)](_0x44e9f0[_0x32f91e(0x1de)])[_0x32f91e(0x1da)](([_0x44aa75,_0x32224d])=>_0x44aa75+'=\x22'+_0x32224d+'\x22')[_0x32f91e(0x1ba)]('\x20');_0x39c2b3+='<'+_0x44e9f0[_0x32f91e(0x1cc)]+(_0x39973e?'\x20'+_0x39973e:'')+'>';for(const _0x485290 of _0x55c7aa(_0x44e9f0))_0x39c2b3+=this[_0x32f91e(0x1cd)](_0x485290);_0x39c2b3+='</'+_0x44e9f0[_0x32f91e(0x1cc)]+'>';}else{if(!cr(_0x382ca8))return'';if(!_0x382ca8[_0x32f91e(0x1ed)])return'';!function(_0x4df50d){const _0x58ca1d=_0x32f91e;if(!_0x4df50d[_0x58ca1d(0x1c3)]||!ar(_0x4df50d[_0x58ca1d(0x1c3)]))return!0x1;if(!hr[_0x58ca1d(0x1ca)](_0x4df50d[_0x58ca1d(0x1c3)][_0x58ca1d(0x1cc)]))return!0x1;return!_0x2e7124(_0x4df50d)[_0x58ca1d(0x1e9)](/^\s*[<>]\s*$/);}(_0x382ca8)?_0x39c2b3+=_0x26c7ab(_0x382ca8):_0x39c2b3+=_0x26c7ab(new _0x28f479(_0x32f91e(0x1c2),{'data-ck-html-streamer-word-chunk':'','style':this[_0x32f91e(0x1c1)][_0x32f91e(0x1c8)]},[_0x382ca8]));}}return _0x39c2b3;}[_0x220c1e(0x1d6)](){const _0x4a37ac=_0x220c1e,_0x48a0bd=[];return function(_0x534a46,_0x3587ba){const _0x3e8792=_0x15ef,_0x24ebcf=_0x184a9c=>{const _0x29a4dd=_0x15ef;if(_0x3587ba(_0x184a9c),_0x184a9c instanceof _0x1e500a)for(let _0x416d9a=0x0;_0x416d9a<_0x184a9c[_0x29a4dd(0x1dc)][_0x29a4dd(0x1e4)];_0x416d9a++){const _0x45b539=_0x184a9c[_0x29a4dd(0x1dc)][_0x416d9a];_0x24ebcf(_0x45b539);}};for(let _0x4bd92f=0x0;_0x4bd92f<_0x534a46[_0x3e8792(0x1dc)][_0x3e8792(0x1e4)];_0x4bd92f++)_0x24ebcf(_0x534a46[_0x3e8792(0x1dc)][_0x4bd92f]);}(this[_0x4a37ac(0x1cb)],_0xba281=>{const _0x10040d=_0x4a37ac;if(cr(_0xba281)){const _0x395fa6=this[_0x10040d(0x1d4)](_0xba281);_0x395fa6[_0x10040d(0x1e4)]&&_0x48a0bd[_0x10040d(0x1d5)](..._0x395fa6);}_0xba281[_0x10040d(0x1d0)]||_0xba281[_0x10040d(0x1dd)]||_0x48a0bd[_0x10040d(0x1d5)](_0xba281);}),_0x48a0bd;}[_0x220c1e(0x1d4)](_0x2c90a6){const _0x5fc396=_0x220c1e;if(_0x2c90a6[_0x5fc396(0x1d0)]||_0x2c90a6[_0x5fc396(0x1dd)])return[];const _0xe0b09b=_0x2e7124(_0x2c90a6)[_0x5fc396(0x1e9)](/(?:\s*\S+\s*)/g),_0xeca47d=[];if(_0xe0b09b&&_0xe0b09b[_0x5fc396(0x1e4)]>0x1){for(const _0x49e979 of _0xe0b09b){const _0x3df6f5=new _0x9050e2(_0x49e979);_0x3df6f5[_0x5fc396(0x1dd)]=!0x0,_0x227680(_0x2c90a6,_0x3df6f5),_0xeca47d[_0x5fc396(0x1d5)](_0x3df6f5);}_0x2c90a6[_0x5fc396(0x1d0)]=!0x0,_0x5b5939(_0x2c90a6);}return _0xeca47d;}}const hr=['p','li','td','th',_0x220c1e(0x1c2),'h1','h2','h3','h4','h5','h6','b',_0x220c1e(0x1df),'i','em',_0x220c1e(0x1c0),_0x220c1e(0x1b9),_0x220c1e(0x1bc),_0x220c1e(0x1b1),_0x220c1e(0x1e8),'a',_0x220c1e(0x1c9),_0x220c1e(0x1bb)];function cr(_0x2fe0fa){return _0x2c636e(_0x2fe0fa);}function _0x15ef(_0x223ea8,_0x49bcbe){const _0x41d017=_0x41d0();return _0x15ef=function(_0x15ef2a,_0x4b6349){_0x15ef2a=_0x15ef2a-0x1b1;let _0xbc39a5=_0x41d017[_0x15ef2a];return _0xbc39a5;},_0x15ef(_0x223ea8,_0x49bcbe);}function _0x41d0(){const _0x3dbd3c=['11fyYVHl','sub','match','childNodes','span[data-ck-html-streamer-word-chunk]','45101rgtzJl','shouldBeStreamed','827253dqeiDA','sup','431288iZXSLS','entries','10524pnxMgu','20275lGwbEs','delay','timeoutAbortController','3NgOyHt','del','join','div','ins','bind','ai-html-streamer-current-index-out-of-bounds','1584Iqlpbe','mark','options','span','parent','isStreaming','addEventListener','onStreamUpdate','querySelectorAll','textNodeStyle','code','includes','document','tagName','renderNode','282XQlHhD','stream','isWordSplitSource','from','signal','8848rQnjhF','splitTextNodeIntoWordNodes','push','getParsedDocumentNodeList','now','3189220eBCTDU','forEach','map','abort','children','isWordSplitResult','attribs','strong','stop','cleanUpAnimations','currentIndex','reverse','length','replaceWith','nodesList'];_0x41d0=function(){return _0x3dbd3c;};return _0x41d0();}function ar(_0x2ba84b){return _0x454fa0(_0x2ba84b);}function dr(_0x5a80b9){const _0x26ac61=new AbortController();return{'promise':new Promise((_0x141dda,_0x523dff)=>{const _0x37435f=_0x15ef,_0x18d070=setTimeout(_0x141dda,_0x5a80b9);_0x26ac61[_0x37435f(0x1d2)][_0x37435f(0x1c5)](_0x37435f(0x1db),()=>{clearTimeout(_0x18d070),_0x523dff();});}),'abortController':_0x26ac61};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2caada=_0xdb1e;function _0xdb1e(_0x3e4cda,_0x43412a){var _0xa909d7=_0xa909();return _0xdb1e=function(_0xdb1e04,_0x571a3b){_0xdb1e04=_0xdb1e04-0x195;var _0x21b69f=_0xa909d7[_0xdb1e04];return _0x21b69f;},_0xdb1e(_0x3e4cda,_0x43412a);}function _0xa909(){var _0x4a2e30=['6213660GatAuV','isPremiumPlugin','AIEditorIntegration','97523lzDzfU','pluginName','704gULpSu','33939WWeklT','8TYkeUW','40972968fujsGr','315672qmNlcU','6jDzxdZ','isOfficialPlugin','requires','11BJWHQg','21DhcrGI','3076969ekCqRz','2746035HLnHUp'];_0xa909=function(){return _0x4a2e30;};return _0xa909();}(function(_0x3cb0db,_0x304bd7){var _0x1b807c=_0xdb1e,_0x4852ae=_0x3cb0db();while(!![]){try{var _0x52f663=-parseInt(_0x1b807c(0x196))/0x1+parseInt(_0x1b807c(0x19c))/0x2*(-parseInt(_0x1b807c(0x1a1))/0x3)+-parseInt(_0x1b807c(0x19a))/0x4*(parseInt(_0x1b807c(0x1a3))/0x5)+parseInt(_0x1b807c(0x19d))/0x6*(parseInt(_0x1b807c(0x1a2))/0x7)+-parseInt(_0x1b807c(0x198))/0x8*(parseInt(_0x1b807c(0x199))/0x9)+parseInt(_0x1b807c(0x1a4))/0xa*(-parseInt(_0x1b807c(0x1a0))/0xb)+parseInt(_0x1b807c(0x19b))/0xc;if(_0x52f663===_0x304bd7)break;else _0x4852ae['push'](_0x4852ae['shift']());}catch(_0x1f9149){_0x4852ae['push'](_0x4852ae['shift']());}}}(_0xa909,0x927aa));import{Plugin as _0x4f9825}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4e44a3}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x11985f}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x4f9825{static get[_0x2caada(0x19f)](){return[_0x4e44a3,_0x11985f];}static get[_0x2caada(0x197)](){var _0x2e098e=_0x2caada;return _0x2e098e(0x195);}static get[_0x2caada(0x19e)](){return!0x0;}static get[_0x2caada(0x1a5)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ea455=_0x2c83;(function(_0x40237d,_0x5494f5){const _0x5e90f0=_0x2c83,_0xe13d4f=_0x40237d();while(!![]){try{const _0x1f18c7=-parseInt(_0x5e90f0(0xfd))/0x1+parseInt(_0x5e90f0(0xfb))/0x2+parseInt(_0x5e90f0(0xf1))/0x3*(parseInt(_0x5e90f0(0xf8))/0x4)+parseInt(_0x5e90f0(0x109))/0x5*(parseInt(_0x5e90f0(0xf0))/0x6)+parseInt(_0x5e90f0(0x10d))/0x7*(-parseInt(_0x5e90f0(0x107))/0x8)+parseInt(_0x5e90f0(0xfa))/0x9+-parseInt(_0x5e90f0(0x101))/0xa;if(_0x1f18c7===_0x5494f5)break;else _0xe13d4f['push'](_0xe13d4f['shift']());}catch(_0xb6558d){_0xe13d4f['push'](_0xe13d4f['shift']());}}}(_0xb17c,0x8e5c3));import{Plugin as _0x5c5637}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x1fa97e}from'./toggleaicommand.js';import{ButtonView as _0x212cf5,MenuBarMenuListItemButtonView as _0x3ae8a4}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x1fe43d}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1373d4}from'../../aicore/utils/common-translations.js';import{AITabs as _0x46b253}from'../../aitabs/aitabs.js';function _0xb17c(){const _0xc37ba8=['execute','9654170oMunes','isOfficialPlugin','requires','AI_TOGGLE_BUTTON_LABEL','isOn','listenTo','2568EAGEIT','menuitemcheckbox','1867340OevboH','locale','get','_createAIUIButton','24353PpXftB','init','ck-ai-toggle-button','isEnabled','AIToggleButtonUI','componentFactory','12CuscDg','9EHwAPl','value','editor','set','pluginName','add','commands','995116rFcSBt','toggleAi','8127693FlFeMO','1407948gdhLSA','menuBar:toggleAi','435041ypOrZS','isPremiumPlugin','bind'];_0xb17c=function(){return _0xc37ba8;};return _0xb17c();}function _0x2c83(_0x41b506,_0x494e8f){const _0xb17cc1=_0xb17c();return _0x2c83=function(_0x2c8362,_0x31f827){_0x2c8362=_0x2c8362-0xf0;let _0x39677f=_0xb17cc1[_0x2c8362];return _0x39677f;},_0x2c83(_0x41b506,_0x494e8f);}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x5c5637{static get[_0x3ea455(0x103)](){return[_0x46b253];}static get[_0x3ea455(0xf5)](){const _0x599dad=_0x3ea455;return _0x599dad(0x111);}static get[_0x3ea455(0x102)](){return!0x0;}static get[_0x3ea455(0xfe)](){return!0x0;}[_0x3ea455(0x10e)](){const _0x4ad333=_0x3ea455,_0x4e6d47=this[_0x4ad333(0xf3)];_0x4e6d47[_0x4ad333(0xf7)][_0x4ad333(0xf6)](_0x4ad333(0xf9),new _0x1fa97e(_0x4e6d47)),_0x4e6d47['ui'][_0x4ad333(0x112)][_0x4ad333(0xf6)](_0x4ad333(0xf9),()=>{const _0x1c7e0f=_0x4ad333,_0x2aa3df=this[_0x1c7e0f(0x10c)](_0x212cf5);return _0x2aa3df[_0x1c7e0f(0xf4)]({'tooltip':!0x0,'class':_0x1c7e0f(0x10f)}),_0x2aa3df;}),_0x4e6d47['ui'][_0x4ad333(0x112)][_0x4ad333(0xf6)](_0x4ad333(0xfc),()=>{const _0x39651f=_0x4ad333,_0x2a2f41=this[_0x39651f(0x10c)](_0x3ae8a4);return _0x2a2f41[_0x39651f(0xf4)]({'role':_0x39651f(0x108)}),_0x2a2f41;});}[_0x3ea455(0x10c)](_0x3ff8dd){const _0x47ef94=_0x3ea455,_0xc0a496=this[_0x47ef94(0xf3)],_0x1c29a2=_0xc0a496[_0x47ef94(0xf7)][_0x47ef94(0x10b)](_0x47ef94(0xf9)),_0x4dade8=new _0x3ff8dd(_0xc0a496[_0x47ef94(0x10a)]);return _0x4dade8[_0x47ef94(0xf4)]({'label':_0x1373d4(_0xc0a496[_0x47ef94(0x10a)],_0x47ef94(0x104)),'icon':_0x1fe43d,'isToggleable':!0x0}),_0x4dade8[_0x47ef94(0xff)](_0x47ef94(0x110))['to'](_0x1c29a2),_0x4dade8[_0x47ef94(0xff)](_0x47ef94(0x105))['to'](_0x1c29a2,_0x47ef94(0xf2),_0x280ba8=>!!_0x280ba8),this[_0x47ef94(0x106)](_0x4dade8,_0x47ef94(0x100),()=>{const _0x3df284=_0x47ef94;_0x1c29a2[_0x3df284(0x100)]();}),_0x4dade8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x21b8(){const _0x5572cd=['bind','editor','plugins','122052muQHDR','326givgXW','view','1911602sXpNKo','execute','3039128GKBdQS','value','298596efDWaB','isVisible','11060UXQtpS','419952sudDnc','isEnabled','745tlYkuR','get','AITabs','9xYqljY'];_0x21b8=function(){return _0x5572cd;};return _0x21b8();}const _0x19ee4d=_0x5c4e;function _0x5c4e(_0x2ec666,_0x1f8434){const _0x21b8d1=_0x21b8();return _0x5c4e=function(_0x5c4ece,_0x1719db){_0x5c4ece=_0x5c4ece-0x7e;let _0x3767e8=_0x21b8d1[_0x5c4ece];return _0x3767e8;},_0x5c4e(_0x2ec666,_0x1f8434);}(function(_0x155263,_0x589707){const _0x1fd4c7=_0x5c4e,_0x734391=_0x155263();while(!![]){try{const _0x2af3e7=-parseInt(_0x1fd4c7(0x88))/0x1*(-parseInt(_0x1fd4c7(0x90))/0x2)+parseInt(_0x1fd4c7(0x86))/0x3+-parseInt(_0x1fd4c7(0x8f))/0x4+-parseInt(_0x1fd4c7(0x85))/0x5+parseInt(_0x1fd4c7(0x83))/0x6+parseInt(_0x1fd4c7(0x7f))/0x7+parseInt(_0x1fd4c7(0x81))/0x8*(-parseInt(_0x1fd4c7(0x8b))/0x9);if(_0x2af3e7===_0x589707)break;else _0x734391['push'](_0x734391['shift']());}catch(_0x3df925){_0x734391['push'](_0x734391['shift']());}}}(_0x21b8,0x29e87));import{Command as _0x15fec0}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x15fec0{constructor(_0x5d9f43){const _0x207663=_0x5c4e;super(_0x5d9f43);const _0x1ccd1f=_0x5d9f43[_0x207663(0x8e)][_0x207663(0x89)](_0x207663(0x8a))[_0x207663(0x7e)];this[_0x207663(0x8c)](_0x207663(0x82))['to'](_0x1ccd1f,_0x207663(0x84)),this[_0x207663(0x87)]=!0x0;}[_0x19ee4d(0x80)](){const _0x2cc06e=_0x19ee4d,_0x1790d4=this[_0x2cc06e(0x8d)][_0x2cc06e(0x8e)][_0x2cc06e(0x89)](_0x2cc06e(0x8a))[_0x2cc06e(0x7e)];_0x1790d4[_0x2cc06e(0x84)]=!_0x1790d4[_0x2cc06e(0x84)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x20d1a5=_0x1c86;function _0x40cb(){var _0x114326=['5804235iCouHA','62886ZxAWQS','3352000jixFwS','86hdPKzd','config','7236876yiTltE','requires','4228fCRFgE','8VKwHnH','pluginName','define','AIQuickActions','584vqZxHC','isOfficialPlugin','ai.quickActions','116851znBNsL','11201778JQlUto','isPremiumPlugin'];_0x40cb=function(){return _0x114326;};return _0x40cb();}(function(_0xaf4e58,_0x99d2ee){var _0x2e8df1=_0x1c86,_0x34d03=_0xaf4e58();while(!![]){try{var _0x4bd39f=-parseInt(_0x2e8df1(0xef))/0x1*(-parseInt(_0x2e8df1(0xeb))/0x2)+-parseInt(_0x2e8df1(0xe9))/0x3*(-parseInt(_0x2e8df1(0xf0))/0x4)+-parseInt(_0x2e8df1(0xfa))/0x5+-parseInt(_0x2e8df1(0xed))/0x6+-parseInt(_0x2e8df1(0xf7))/0x7*(-parseInt(_0x2e8df1(0xf4))/0x8)+parseInt(_0x2e8df1(0xf8))/0x9+parseInt(_0x2e8df1(0xea))/0xa;if(_0x4bd39f===_0x99d2ee)break;else _0x34d03['push'](_0x34d03['shift']());}catch(_0x33dda4){_0x34d03['push'](_0x34d03['shift']());}}}(_0x40cb,0x9ff3e));import{Plugin as _0x31bc33}from'ckeditor5/src/core.js';function _0x1c86(_0x3de3c7,_0x1f24e6){var _0x40cbdb=_0x40cb();return _0x1c86=function(_0x1c8671,_0x4245c3){_0x1c8671=_0x1c8671-0xe9;var _0x53ba6a=_0x40cbdb[_0x1c8671];return _0x53ba6a;},_0x1c86(_0x3de3c7,_0x1f24e6);}import{AIQuickActionsUI as _0x42a07d}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x490dce}from'./aiquickactionsediting.js';import{AIActions as _0x268134}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x31bc33{static get[_0x20d1a5(0xee)](){return[_0x42a07d,_0x490dce,_0x268134];}static get[_0x20d1a5(0xf1)](){var _0x51e65a=_0x20d1a5;return _0x51e65a(0xf3);}static get[_0x20d1a5(0xf5)](){return!0x0;}static get[_0x20d1a5(0xf9)](){return!0x0;}constructor(_0x4d694f){var _0x316832=_0x20d1a5;super(_0x4d694f),_0x4d694f[_0x316832(0xec)][_0x316832(0xf2)](_0x316832(0xf6),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x591d76=_0x2a8f;function _0x2a8f(_0x48ca8b,_0x4cf117){const _0x5c26a3=_0x5c26();return _0x2a8f=function(_0x2a8f68,_0x47452e){_0x2a8f68=_0x2a8f68-0x1c0;let _0x59e75a=_0x5c26a3[_0x2a8f68];return _0x59e75a;},_0x2a8f(_0x48ca8b,_0x4cf117);}function _0x5c26(){const _0x3cc0d8=['REVIEW','view','AIActions','chat','label','get','locale','_handleAIActionsActionLabel','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','startConversation','AIChat','ask-ai','editor','isVisible','getLimitElement','ACTION','_expandSelectionIfCollapsed','schema','icon','handleAIReviewAction','setSelection','544599tyOHlL','removeSelectionFromChatContext','_handleAIReviewAction','prompt','sendMessage','activeTab','AIChatController','1498398MoWHox','8694280jLSDgI','has','other','args','plugins','addSelectionToChatContext','parent','change','execute','isCollapsed','log','58890xFbfGe','model','displayedPrompt','activateTab','36bgmDhF','_handleAIActionsAction','12NKHWPf','AIReviewMode','380XuZGVO','getSelectedBlocks','2150874AhLAMP','actionName','AITabs','executeAction','_handleAIChatAction','CHAT','selection','2977849guTKaS','document','focusPromptInput','type','ai-quick-actions-plugin-not-found','758221WQhjwI'];_0x5c26=function(){return _0x3cc0d8;};return _0x5c26();}(function(_0x2951a8,_0x3b65c8){const _0x188afb=_0x2a8f,_0x1bcc5d=_0x2951a8();while(!![]){try{const _0x57e178=-parseInt(_0x188afb(0x1e2))/0x1+parseInt(_0x188afb(0x1d6))/0x2+parseInt(_0x188afb(0x1c0))/0x3+-parseInt(_0x188afb(0x1d0))/0x4*(-parseInt(_0x188afb(0x1cc))/0x5)+parseInt(_0x188afb(0x1d2))/0x6*(parseInt(_0x188afb(0x1dd))/0x7)+parseInt(_0x188afb(0x1c1))/0x8+parseInt(_0x188afb(0x1f8))/0x9*(-parseInt(_0x188afb(0x1d4))/0xa);if(_0x57e178===_0x3b65c8)break;else _0x1bcc5d['push'](_0x1bcc5d['shift']());}catch(_0x231366){_0x1bcc5d['push'](_0x1bcc5d['shift']());}}}(_0x5c26,0x88ee1));import{Command as _0x1383c7}from'ckeditor5/src/core.js';import{CKEditorError as _0x538241,first as _0x569bbc}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x30d486}from'./aiquickactionsui.js';import{getTranslation as _0x1030db}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x1383c7{[_0x591d76(0x1c9)](_0x4fd756){const _0x1d747a=_0x591d76;switch(this[_0x1d747a(0x1f3)](),_0x4fd756[_0x1d747a(0x1e0)]){case _0x30d486[_0x1d747a(0x1db)]:if(!this[_0x1d747a(0x1ef)][_0x1d747a(0x1c5)][_0x1d747a(0x1c2)](_0x1d747a(0x1ed))){const _0x3ea40e=_0x1030db(this[_0x1d747a(0x1ef)][_0x1d747a(0x1e9)],_0x1d747a(0x1eb),_0x1d747a(0x1ed));throw new _0x538241(_0x1d747a(0x1e1),this[_0x1d747a(0x1ef)],{'errorMessage':_0x3ea40e});}this[_0x1d747a(0x1da)](_0x4fd756);break;case _0x30d486[_0x1d747a(0x1f2)]:if(!this[_0x1d747a(0x1ef)][_0x1d747a(0x1c5)][_0x1d747a(0x1c2)](_0x1d747a(0x1e5))){const _0x37ad1f=_0x1030db(this[_0x1d747a(0x1ef)][_0x1d747a(0x1e9)],_0x1d747a(0x1eb),_0x1d747a(0x1e5));throw new _0x538241(_0x1d747a(0x1e1),this[_0x1d747a(0x1ef)],{'errorMessage':_0x37ad1f});}this[_0x1d747a(0x1d1)](_0x4fd756);break;case _0x30d486[_0x1d747a(0x1e3)]:if(!this[_0x1d747a(0x1ef)][_0x1d747a(0x1c5)][_0x1d747a(0x1c2)](_0x1d747a(0x1d3))){const _0x391d5b=_0x1030db(this[_0x1d747a(0x1ef)][_0x1d747a(0x1e9)],_0x1d747a(0x1eb),_0x1d747a(0x1d3));throw new _0x538241(_0x1d747a(0x1e1),this[_0x1d747a(0x1ef)],{'errorMessage':_0x391d5b});}this[_0x1d747a(0x1fa)](_0x4fd756);}}async[_0x591d76(0x1da)](_0x101bd6){const _0x473404=_0x591d76,_0xab012=this[_0x473404(0x1ef)][_0x473404(0x1c5)][_0x473404(0x1e8)](_0x473404(0x1ed)),_0x50e873=this[_0x473404(0x1ef)][_0x473404(0x1c5)][_0x473404(0x1e8)](_0x473404(0x1fe)),_0x5c554f=this[_0x473404(0x1ef)][_0x473404(0x1c5)][_0x473404(0x1e8)](_0x473404(0x1d8))[_0x473404(0x1e4)];if(_0x5c554f[_0x473404(0x1f0)]||(_0x5c554f[_0x473404(0x1f0)]=!0x0),_0x473404(0x1e6)!==_0x5c554f[_0x473404(0x1fd)]&&_0x5c554f[_0x473404(0x1cf)](_0x473404(0x1e6)),_0x473404(0x1ee)===_0x101bd6['id'])_0x50e873[_0x473404(0x1f9)](),await _0xab012[_0x473404(0x1c6)](),_0xab012[_0x473404(0x1df)]();else await _0xab012[_0x473404(0x1ec)](),_0x50e873[_0x473404(0x1f9)](),await _0xab012[_0x473404(0x1c6)](),_0xab012[_0x473404(0x1df)](),await _0xab012[_0x473404(0x1fc)]({'message':_0x101bd6[_0x473404(0x1fb)]||_0x101bd6[_0x473404(0x1ce)],'quickActionData':{'id':_0x101bd6['id'],'displayedPrompt':_0x101bd6[_0x473404(0x1ce)]}});}[_0x591d76(0x1f3)](){const _0x59531f=_0x591d76,_0x248ac3=this[_0x59531f(0x1ef)],_0x4c2b3e=_0x248ac3[_0x59531f(0x1cd)][_0x59531f(0x1de)][_0x59531f(0x1dc)];if(!_0x4c2b3e[_0x59531f(0x1ca)])return;const _0x2d202d=_0x569bbc(_0x4c2b3e[_0x59531f(0x1d5)]())||_0x248ac3[_0x59531f(0x1cd)][_0x59531f(0x1f4)][_0x59531f(0x1f1)](_0x4c2b3e);_0x248ac3[_0x59531f(0x1cd)][_0x59531f(0x1c8)](_0xa183f8=>{const _0x3d1e14=_0x59531f;_0xa183f8[_0x3d1e14(0x1f7)](_0x2d202d,'in');});}[_0x591d76(0x1ea)](_0x4e69c4){const _0x59060a=_0x591d76;return _0x4e69c4[_0x59060a(0x1c7)]?.[_0x59060a(0x1e7)]&&_0x59060a(0x1c3)!==_0x4e69c4[_0x59060a(0x1c7)]?.['id']?_0x4e69c4[_0x59060a(0x1c7)][_0x59060a(0x1e7)]+':\x20'+_0x4e69c4[_0x59060a(0x1ce)]:_0x4e69c4[_0x59060a(0x1ce)];}async[_0x591d76(0x1d1)](_0x45ab5e){const _0x4c1a92=_0x591d76,_0x49ffc7=this[_0x4c1a92(0x1ef)][_0x4c1a92(0x1c5)][_0x4c1a92(0x1e8)](_0x4c1a92(0x1e5)),_0x5f3e7b=_0x45ab5e[_0x4c1a92(0x1fb)]?{'userMessage':_0x45ab5e[_0x4c1a92(0x1fb)],'model':_0x45ab5e[_0x4c1a92(0x1cd)]}:{'actionName':_0x45ab5e[_0x4c1a92(0x1d7)]||_0x45ab5e['id'],'args':_0x45ab5e[_0x4c1a92(0x1c4)]},_0x5c002b=this[_0x4c1a92(0x1ea)](_0x45ab5e);await _0x49ffc7[_0x4c1a92(0x1d9)](_0x5f3e7b,_0x5c002b,_0x45ab5e[_0x4c1a92(0x1f5)]);}async[_0x591d76(0x1fa)](_0x265055){const _0x20d30d=_0x591d76;console[_0x20d30d(0x1cb)](_0x20d30d(0x1f6),_0x265055);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xbffa(_0x3e785f,_0x40be5b){const _0x525a39=_0x525a();return _0xbffa=function(_0xbffab0,_0x338ad9){_0xbffab0=_0xbffab0-0x174;let _0x4084a0=_0x525a39[_0xbffab0];return _0x4084a0;},_0xbffa(_0x3e785f,_0x40be5b);}const _0xd27cc3=_0xbffa;(function(_0x15dbb7,_0x3ae0e8){const _0x151648=_0xbffa,_0x573859=_0x15dbb7();while(!![]){try{const _0x543fdb=-parseInt(_0x151648(0x185))/0x1*(parseInt(_0x151648(0x17a))/0x2)+parseInt(_0x151648(0x176))/0x3+parseInt(_0x151648(0x178))/0x4+-parseInt(_0x151648(0x179))/0x5+parseInt(_0x151648(0x17f))/0x6+parseInt(_0x151648(0x180))/0x7+-parseInt(_0x151648(0x182))/0x8;if(_0x543fdb===_0x3ae0e8)break;else _0x573859['push'](_0x573859['shift']());}catch(_0x16a90f){_0x573859['push'](_0x573859['shift']());}}}(_0x525a,0x27a25));import{Plugin as _0x19ae97}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x221f9a}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x19ae97{static get[_0xd27cc3(0x181)](){const _0x4fe09b=_0xd27cc3;return _0x4fe09b(0x188);}static get[_0xd27cc3(0x187)](){return!0x0;}static get[_0xd27cc3(0x174)](){return!0x0;}[_0xd27cc3(0x17e)](){const _0x25923c=_0xd27cc3,_0x32c381=this[_0x25923c(0x186)],_0x4deca6=new _0x221f9a(this[_0x25923c(0x186)]);if(_0x32c381[_0x25923c(0x18c)][_0x25923c(0x17b)](_0x25923c(0x18e),_0x4deca6),_0x32c381[_0x25923c(0x183)][_0x25923c(0x175)](_0x25923c(0x177))){const _0x150857=this[_0x25923c(0x186)][_0x25923c(0x183)][_0x25923c(0x18a)](_0x25923c(0x177));_0x32c381[_0x25923c(0x17d)][_0x25923c(0x18d)][_0x25923c(0x17c)]['on'](_0x25923c(0x18b),(_0x289504,_0x1ac57f)=>{const _0x4bc958=_0x25923c;_0x1ac57f[_0x4bc958(0x184)]&&_0x150857[_0x4bc958(0x189)]();});}}}function _0x525a(){const _0x37b850=['has','720927qSPmkM','AIChat','1236200rWiCQP','687150pzvqdH','2PQlZVk','add','selection','model','init','947772ghpPUQ','893550MvsFhB','pluginName','2732456rOSKvw','plugins','directChange','193643IExgJN','editor','isOfficialPlugin','AIQuickActionsEditing','removeSelectionFromChatContext','get','change:range','commands','document','aiQuickAction','isPremiumPlugin'];_0x525a=function(){return _0x37b850;};return _0x525a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2f2340=_0x4e89;(function(_0x38675e,_0x51d7df){const _0x5d14ea=_0x4e89,_0x4e6d46=_0x38675e();while(!![]){try{const _0x3718d5=-parseInt(_0x5d14ea(0x1a3))/0x1+-parseInt(_0x5d14ea(0x186))/0x2*(parseInt(_0x5d14ea(0x15d))/0x3)+-parseInt(_0x5d14ea(0x171))/0x4*(parseInt(_0x5d14ea(0x165))/0x5)+-parseInt(_0x5d14ea(0x145))/0x6*(parseInt(_0x5d14ea(0x117))/0x7)+parseInt(_0x5d14ea(0x133))/0x8+-parseInt(_0x5d14ea(0x156))/0x9*(-parseInt(_0x5d14ea(0x118))/0xa)+parseInt(_0x5d14ea(0x125))/0xb*(parseInt(_0x5d14ea(0x131))/0xc);if(_0x3718d5===_0x51d7df)break;else _0x4e6d46['push'](_0x4e6d46['shift']());}catch(_0x119a3a){_0x4e6d46['push'](_0x4e6d46['shift']());}}}(_0x1819,0x24cd7));import{IconAIAdjustLength as _0x1bb7b7,IconAIChangeTone as _0x8e13fd,IconAIChatCommands as _0x37006e,IconAIContinueWriting as _0x348f31,IconAIGrammarCheck as _0x442516,IconAIImproveWriting as _0x2ae24a,IconAIOther as _0x37dbb9,IconAIQuickActions as _0x28273c,IconAITranslate as _0x4ca8f2}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x5b48ce}from'ckeditor5/src/core.js';import{CKEditorError as _0x52bd9b,logError as _0x56183e}from'ckeditor5/src/utils.js';import{getTranslation as _0x1392fc}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4030ba}from'./ui/aiquickactionsdropdowncreator.js';function _0x1819(){const _0x3c739e=['has','aiQuickAction','execute','chinese','AIConnector','highlight-key-points','buttonView','make-tone-professional','translate','close','AI_QUICK_ACTIONS_MORE_CASUAL','3739128XmWXqz','values','1878680KZDmBR','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_CONTINUE_WRITING','isEnabled','getDefaultQuickActions','includes','portuguese','japanese','REVIEW','french','make-tone-friendly','AI_QUICK_ACTIONS_MAKE_LONGER','_initializeQuickActionsDropdown','init','make-tone-confident','translate-to-russian','AI_QUICK_ACTIONS_TRANSLATE','isOfficialPlugin','10266lMdyDa','editor','requires','filter','AI_QUICK_ACTIONS_SUMMARIZE','spanish','uiLanguage','ai.chat.context.document.enabled','AIQuickActionsUI','DisplayNames','CHAT','displayedPrompt','get','make-longer','forEach','_shouldIncludeAction','_initializeQuickActionsComponents','9KIfowE','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','explain','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_EXPLAIN','3519fVrXoL','AI_QUICK_ACTIONS_MORE_FRIENDLY','getAvailableModels','translate-to-french','ai-quick-actions-models-unable-to-retrieve','model','replace','italian','1760EqoTNk','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','ai.quickActions.removeCommands','pluginName','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','componentFactory','<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>','commands','AIActions','ai.quickActions.isSearchEnabled','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','3136hhIKZa','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','locale','translate-to-japanese','_prepareQuickActionsDefinition','_getDefaultAndCustomActions','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','editing','change-tone','menuitem','items','continue','adjust-length','translate-to-german','_initializeQuickActionsComponentsAndCommands','focus','_executeQuickAction','chat-commands','make-tone-direct','make-tone-casual','168LwVbar','message','actions','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_OTHER','delegate','AIChat','translate-to-chinese','other','view','AI_QUICK_ACTIONS_CHAT_COMMANDS','english','improve-writing','ai-quick-actions-unavailable-model','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_IMPROVE_WRITING','English','AI_QUICK_ACTIONS_MORE_DIRECT','russian','add','icon','german','isPremiumPlugin','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','make-shorter','children','set','40805okCxYJ','translate-to-english','language','ACTION','summarize','menu','push','AI_QUICK_ACTIONS_MORE_CONFIDENT','AIReviewMode','ai.chat.models.displayedModels','ask-ai','label','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','config','korean','AI_QUICK_ACTIONS_MAKE_SHORTER','length','AI_QUICK_ACTIONS_ADJUST_LENGTH','translate-to-italian','<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>','type','ai.quickActions.extraCommands','menuBar:aiQuickActions','798vVzwnB','2146730NIhhLi','translate-to-portuguese','aiQuickActions','attachToDom','menuBarView','find','fix-grammar','map','_quickActionsDefinition','panelView','some','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','plugins','11cJLkXE'];_0x1819=function(){return _0x3c739e;};return _0x1819();}import{aiQuickActionsButtonCreator as _0x354996}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x11056c,BalloonToolbar as _0x4eb171,MenuBarMenuView as _0xbd6320,MenuBarMenuListView as _0x1128b,MenuBarMenuListItemView as _0x527de0,MenuBarMenuListItemButtonView as _0xf17067}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x1ce1e1}from'../aicore/model/aimodels.js';const ie=_0x2f2340(0x166),ne=_0x2f2340(0x16c),oe=_0x2f2340(0x113);export var AIQuickActionType;!function(_0x4a97ca){const _0x59e90c=_0x2f2340;_0x4a97ca[_0x59e90c(0x14f)]=_0x59e90c(0x14f),_0x4a97ca[_0x59e90c(0x1a6)]=_0x59e90c(0x1a6),_0x4a97ca[_0x59e90c(0x13b)]=_0x59e90c(0x13b);}(AIQuickActionType||(AIQuickActionType={}));function _0x4e89(_0x1096d3,_0x3594ea){const _0x1819ff=_0x1819();return _0x4e89=function(_0x4e898b,_0xe5bcfa){_0x4e898b=_0x4e898b-0x105;let _0x4cd5da=_0x1819ff[_0x4e898b];return _0x4cd5da;},_0x4e89(_0x1096d3,_0x3594ea);}export var AIQuickActionTypeToPluginName;!function(_0x566a0d){const _0x5dc10=_0x2f2340;_0x566a0d[_0x5dc10(0x14f)]=_0x5dc10(0x18c),_0x566a0d[_0x5dc10(0x1a6)]=_0x5dc10(0x16e),_0x566a0d[_0x5dc10(0x13b)]=_0x5dc10(0x107);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x5b48ce{static get[_0x2f2340(0x147)](){return[_0x4eb171];}static get[_0x2f2340(0x169)](){const _0x23d30c=_0x2f2340;return _0x23d30c(0x14d);}static get[_0x2f2340(0x144)](){return!0x0;}static get[_0x2f2340(0x19e)](){return!0x0;}async[_0x2f2340(0x140)](){const _0x425c4f=_0x2f2340,_0x380d5a=await this[_0x425c4f(0x176)]();this[_0x425c4f(0x175)](_0x380d5a),this[_0x425c4f(0x180)]();}static[_0x2f2340(0x137)](_0x1430d0){return function(_0x31367b){const _0x35bffa=_0x4e89,_0x92dee8=new Intl[(_0x35bffa(0x14e))](['en'],{'type':_0x35bffa(0x1a5)})['of'](_0x31367b[_0x35bffa(0x14b)]),_0x204311=_0x92dee8||_0x35bffa(0x198),_0x5b65fe=[{'id':_0x35bffa(0x109),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x189)),'type':AIQuickActionType[_0x35bffa(0x14f)],'icon':_0x37006e},{'id':_0x35bffa(0x183),'label':_0x1392fc(_0x31367b,_0x35bffa(0x190)),'icon':_0x37006e,'actions':[{'id':_0x35bffa(0x159),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x15c)),'prompt':ie[_0x35bffa(0x163)]('%0',_0x204311),'type':AIQuickActionType[_0x35bffa(0x14f)]},{'id':_0x35bffa(0x1a7),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x149)),'prompt':ne[_0x35bffa(0x163)]('%0',_0x204311),'type':AIQuickActionType[_0x35bffa(0x14f)]},{'id':_0x35bffa(0x12b),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x19f)),'prompt':oe[_0x35bffa(0x163)]('%0',_0x204311),'type':AIQuickActionType[_0x35bffa(0x14f)]}]},{'id':_0x35bffa(0x192),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x197)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'icon':_0x2ae24a},{'id':_0x35bffa(0x17d),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x135)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'icon':_0x348f31},{'id':_0x35bffa(0x11e),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x194)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'icon':_0x442516},{'id':_0x35bffa(0x17e),'label':_0x1392fc(_0x31367b,_0x35bffa(0x111)),'icon':_0x1bb7b7,'actions':[{'id':_0x35bffa(0x1a0),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x10f)),'type':AIQuickActionType[_0x35bffa(0x1a6)]},{'id':_0x35bffa(0x152),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x13e)),'type':AIQuickActionType[_0x35bffa(0x1a6)]}]},{'id':_0x35bffa(0x17a),'label':_0x1392fc(_0x31367b,_0x35bffa(0x134)),'icon':_0x8e13fd,'actions':[{'id':_0x35bffa(0x185),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x130)),'type':AIQuickActionType[_0x35bffa(0x1a6)]},{'id':_0x35bffa(0x184),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x199)),'type':AIQuickActionType[_0x35bffa(0x1a6)]},{'id':_0x35bffa(0x13d),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x15e)),'type':AIQuickActionType[_0x35bffa(0x1a6)]},{'id':_0x35bffa(0x141),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x106)),'type':AIQuickActionType[_0x35bffa(0x1a6)]},{'id':_0x35bffa(0x12d),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x170)),'type':AIQuickActionType[_0x35bffa(0x1a6)]}]},{'id':_0x35bffa(0x12e),'label':_0x1392fc(_0x31367b,_0x35bffa(0x143)),'icon':_0x4ca8f2,'actions':[{'id':_0x35bffa(0x1a4),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x15b)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x191)}},{'id':_0x35bffa(0x18d),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x16a)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x129)}},{'id':_0x35bffa(0x195),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x158)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x14a)}},{'id':_0x35bffa(0x17f),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x196)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x19d)}},{'id':_0x35bffa(0x160),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x10c)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x13c)}},{'id':_0x35bffa(0x174),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x15a)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x13a)}},{'id':_0x35bffa(0x119),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x167)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x139)}},{'id':_0x35bffa(0x157),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x178)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x10e)}},{'id':_0x35bffa(0x112),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x123)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x164)}},{'id':_0x35bffa(0x142),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x172)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x19a)}}]},{'id':_0x35bffa(0x18e),'label':_0x1392fc(_0x31367b,_0x35bffa(0x18a)),'icon':_0x37dbb9,'actions':[]}];return _0x5b65fe;}(_0x1430d0);}async[_0x2f2340(0x176)](){const _0x580495=_0x2f2340,_0x3984e4=AIQuickActionsUI[_0x580495(0x137)](this[_0x580495(0x146)][_0x580495(0x173)]),_0x91bc6=this[_0x580495(0x146)][_0x580495(0x10d)][_0x580495(0x151)](_0x580495(0x115))||[];let _0x2c296e=[];try{_0x2c296e=await new _0x1ce1e1({'connector':this[_0x580495(0x146)][_0x580495(0x124)][_0x580495(0x151)](_0x580495(0x12a)),'availableModels':this[_0x580495(0x146)][_0x580495(0x10d)][_0x580495(0x151)](_0x580495(0x108)),'locale':this[_0x580495(0x146)][_0x580495(0x173)]})[_0x580495(0x15f)]();}catch(_0x49d0ca){const _0x38e5b9=new _0x52bd9b(_0x580495(0x161),this,{'error':_0x49d0ca});_0x56183e(_0x38e5b9[_0x580495(0x187)]);}finally{const _0x5a6f3d=_0x91bc6[_0x580495(0x11f)](_0x5442de=>({..._0x5442de,'icon':void 0x0}));_0x3984e4[_0x580495(0x11d)](_0x583da4=>_0x580495(0x18e)===_0x583da4['id'])[_0x580495(0x188)][_0x580495(0x105)](..._0x5a6f3d),_0x3984e4[_0x580495(0x153)](_0x3b7a74=>{const _0x42e04c=_0x580495;if(_0x42e04c(0x188)in _0x3b7a74)_0x3b7a74[_0x42e04c(0x188)][_0x42e04c(0x153)](_0xfca467=>{const _0x245a1e=_0x42e04c;if(_0xfca467[_0x245a1e(0x136)]=!!_0x2c296e[_0x245a1e(0x11d)](_0x3b0346=>_0x3b0346['id']===_0xfca467[_0x245a1e(0x162)])||void 0x0===_0xfca467[_0x245a1e(0x162)],!_0xfca467[_0x245a1e(0x136)]){const _0x58cac4=new _0x52bd9b(_0x245a1e(0x193),this,{'actionId':_0xfca467['id'],'modelId':_0xfca467[_0x245a1e(0x162)]});_0x56183e(_0x58cac4[_0x245a1e(0x187)]);}});else{if(_0x3b7a74[_0x42e04c(0x136)]=!!_0x2c296e[_0x42e04c(0x11d)](_0xd1aa3c=>_0xd1aa3c['id']===_0x3b7a74[_0x42e04c(0x162)])||void 0x0===_0x3b7a74[_0x42e04c(0x162)],!_0x3b7a74[_0x42e04c(0x136)]){const _0x1d9710=new _0x52bd9b(_0x42e04c(0x193),this,{'actionId':_0x3b7a74['id'],'modelId':_0x3b7a74[_0x42e04c(0x162)]});_0x56183e(_0x1d9710[_0x42e04c(0x187)]);}}});}return _0x3984e4;}[_0x2f2340(0x180)](){const _0x1042ba=_0x2f2340,_0x152134=new _0x11056c(this[_0x1042ba(0x146)][_0x1042ba(0x173)]);_0x152134[_0x1042ba(0x11b)](),this[_0x1042ba(0x13f)](_0x152134),this[_0x1042ba(0x177)](),this[_0x1042ba(0x155)](_0x152134);}[_0x2f2340(0x13f)](_0x18aeef){const _0x5d1829=_0x2f2340,_0x2384ef=this[_0x5d1829(0x146)][_0x5d1829(0x10d)][_0x5d1829(0x151)](_0x5d1829(0x16f))??!0x0;this[_0x5d1829(0x146)]['ui'][_0x5d1829(0x16b)][_0x5d1829(0x19b)](_0x5d1829(0x11a),_0x4030ba({'editor':this[_0x5d1829(0x146)],'content':this[_0x5d1829(0x120)],'buttonDefinition':{'icon':_0x28273c,'label':_0x1392fc(this[_0x5d1829(0x146)][_0x5d1829(0x173)],_0x5d1829(0x10b))},'bodyCollection':_0x18aeef,'hasSearch':_0x2384ef}));}[_0x2f2340(0x175)](_0x5a83b2){const _0x12688b=_0x2f2340;this[_0x12688b(0x120)]=_0x5a83b2[_0x12688b(0x11f)](_0x429c85=>{const _0x293970=_0x12688b;if(_0x293970(0x188)in _0x429c85){const _0xf87b1a=_0x429c85;return{..._0xf87b1a,'actions':_0xf87b1a[_0x293970(0x188)][_0x293970(0x11f)](_0x362999=>{const {actions:_0x2519c8,..._0x392da2}=_0xf87b1a;return{..._0x362999,'parent':_0x392da2};})[_0x293970(0x148)](_0x34986d=>this[_0x293970(0x154)](_0x34986d))};}return _0x429c85;})[_0x12688b(0x148)](_0xfaa743=>_0x12688b(0x188)in _0xfaa743?_0xfaa743[_0x12688b(0x188)][_0x12688b(0x110)]>0x0:this[_0x12688b(0x154)](_0xfaa743));}[_0x2f2340(0x154)](_0x18cf8e){const _0x517b22=_0x2f2340,_0x57aaf9=this[_0x517b22(0x146)][_0x517b22(0x10d)][_0x517b22(0x151)](_0x517b22(0x168))||[];return this[_0x517b22(0x146)][_0x517b22(0x124)][_0x517b22(0x126)](AIQuickActionTypeToPluginName[_0x18cf8e[_0x517b22(0x114)]])&&!_0x57aaf9[_0x517b22(0x138)](_0x18cf8e['id'])&&!(_0x18cf8e[_0x517b22(0x114)]===AIQuickActionType[_0x517b22(0x14f)]&&!0x1===this[_0x517b22(0x146)][_0x517b22(0x10d)][_0x517b22(0x151)](_0x517b22(0x14c)));}[_0x2f2340(0x155)](_0x24b008){const _0x4f925e=_0x2f2340;this[_0x4f925e(0x120)][_0x4f925e(0x153)](_0x5c6f20=>{const _0x4a1c44=_0x4f925e;if(_0x4a1c44(0x188)in _0x5c6f20){const _0x3ca1f4=_0x4030ba({'editor':this[_0x4a1c44(0x146)],'content':_0x5c6f20[_0x4a1c44(0x188)],'buttonDefinition':_0x5c6f20,'bodyCollection':_0x24b008});this[_0x4a1c44(0x146)]['ui'][_0x4a1c44(0x16b)][_0x4a1c44(0x19b)](_0x5c6f20['id'],_0x3ca1f4),_0x5c6f20[_0x4a1c44(0x188)][_0x4a1c44(0x153)](_0x5b13d9=>{const _0x325f40=_0x4a1c44,_0x13bf9e=_0x354996({'editor':this[_0x325f40(0x146)],'action':_0x5b13d9});this[_0x325f40(0x146)]['ui'][_0x325f40(0x16b)][_0x325f40(0x19b)](_0x5b13d9['id'],_0x13bf9e);});}else{const _0x5b7884=_0x354996({'editor':this[_0x4a1c44(0x146)],'action':_0x5c6f20,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x4a1c44(0x146)]['ui'][_0x4a1c44(0x16b)][_0x4a1c44(0x19b)](_0x5c6f20['id'],_0x5b7884);}});}[_0x2f2340(0x177)](){const _0x5b7e34=_0x2f2340;this[_0x5b7e34(0x146)]['ui'][_0x5b7e34(0x16b)][_0x5b7e34(0x19b)](_0x5b7e34(0x116),_0x7318c7=>{const _0x22b114=_0x5b7e34,_0x5465a0=new _0xbd6320(_0x7318c7),_0x3e1307=_0x1392fc(_0x7318c7,_0x22b114(0x10b));_0x5465a0[_0x22b114(0x12c)][_0x22b114(0x1a2)]({'label':_0x3e1307,'icon':_0x28273c});const _0x23901f=new _0x1128b(_0x7318c7);_0x23901f[_0x22b114(0x1a2)]({'ariaLabel':_0x3e1307,'role':_0x22b114(0x1a8)}),this[_0x22b114(0x120)][_0x22b114(0x153)](_0x2b988f=>{const _0x52e9e1=_0x22b114;if(_0x52e9e1(0x188)in _0x2b988f){const _0x2998f2=_0x2b988f,_0x2e01e7=new _0x527de0(_0x7318c7,_0x5465a0),_0x34477e=new _0xbd6320(_0x7318c7),_0x1ce872=new _0x1128b(_0x7318c7);_0x34477e[_0x52e9e1(0x12c)][_0x52e9e1(0x1a2)]({'label':_0x2998f2[_0x52e9e1(0x10a)],'icon':_0x2998f2[_0x52e9e1(0x19c)]}),_0x2998f2[_0x52e9e1(0x188)][_0x52e9e1(0x153)](_0xe27cee=>{const _0x34dd37=_0x52e9e1,_0x3650d3=new _0x527de0(_0x7318c7,_0x34477e),_0xd3f95a=new _0xf17067(_0x7318c7);_0xd3f95a[_0x34dd37(0x1a2)]({'label':_0xe27cee[_0x34dd37(0x150)],'icon':_0xe27cee[_0x34dd37(0x19c)],'role':_0x34dd37(0x17b),'isEnabled':_0xe27cee[_0x34dd37(0x136)]}),_0xd3f95a['on'](_0x34dd37(0x128),()=>{const _0xe98d90=_0x34dd37;this[_0xe98d90(0x182)](_0xe27cee);}),_0xd3f95a[_0x34dd37(0x18b)](_0x34dd37(0x128))['to'](_0x34477e),_0x3650d3[_0x34dd37(0x1a1)][_0x34dd37(0x19b)](_0xd3f95a),_0x1ce872[_0x34dd37(0x17c)][_0x34dd37(0x19b)](_0x3650d3);}),_0x34477e[_0x52e9e1(0x121)][_0x52e9e1(0x1a1)][_0x52e9e1(0x19b)](_0x1ce872),_0x2e01e7[_0x52e9e1(0x1a1)][_0x52e9e1(0x19b)](_0x34477e),_0x23901f[_0x52e9e1(0x17c)][_0x52e9e1(0x19b)](_0x2e01e7);}else{const _0x11ebc0=_0x2b988f,_0xba4403=new _0x527de0(_0x7318c7,_0x5465a0),_0x522f4e=new _0xf17067(_0x7318c7);_0x522f4e[_0x52e9e1(0x1a2)]({'label':_0x11ebc0[_0x52e9e1(0x150)],'icon':_0x11ebc0[_0x52e9e1(0x19c)],'role':_0x52e9e1(0x17b),'isEnabled':_0x11ebc0[_0x52e9e1(0x136)]}),_0x522f4e['on'](_0x52e9e1(0x128),()=>{const _0x23cb4a=_0x52e9e1;this[_0x23cb4a(0x182)](_0x11ebc0);}),_0x522f4e[_0x52e9e1(0x18b)](_0x52e9e1(0x128))['to'](_0x5465a0),_0xba4403[_0x52e9e1(0x1a1)][_0x52e9e1(0x19b)](_0x522f4e),_0x23901f[_0x52e9e1(0x17c)][_0x52e9e1(0x19b)](_0xba4403);}});const _0x16612a=Object[_0x22b114(0x132)](AIQuickActionTypeToPluginName)[_0x22b114(0x122)](_0x2a5c66=>this[_0x22b114(0x146)][_0x22b114(0x124)][_0x22b114(0x126)](_0x2a5c66));return _0x5465a0[_0x22b114(0x1a2)]({'isEnabled':_0x16612a}),_0x5465a0[_0x22b114(0x121)][_0x22b114(0x1a1)][_0x22b114(0x19b)](_0x23901f),_0x5465a0;});}[_0x2f2340(0x182)](_0x19d2c5){const _0x33d14c=_0x2f2340,_0x40eba2=this[_0x33d14c(0x146)];_0x40eba2[_0x33d14c(0x179)][_0x33d14c(0x18f)][_0x33d14c(0x181)](),_0x40eba2[_0x33d14c(0x16d)][_0x33d14c(0x128)](_0x33d14c(0x127),_0x19d2c5);const _0x2c1b76=_0x40eba2['ui'][_0x33d14c(0x18f)][_0x33d14c(0x11c)];_0x2c1b76&&_0x2c1b76[_0x33d14c(0x12f)]&&_0x2c1b76[_0x33d14c(0x12f)]();}}
|
|
23
|
+
const _0x44fdd1=_0x1062;(function(_0x1b9ce0,_0x56e53d){const _0x359282=_0x1062,_0x29e5e0=_0x1b9ce0();while(!![]){try{const _0x57dfe3=-parseInt(_0x359282(0x25a))/0x1+-parseInt(_0x359282(0x25f))/0x2*(parseInt(_0x359282(0x281))/0x3)+parseInt(_0x359282(0x21c))/0x4+parseInt(_0x359282(0x240))/0x5*(-parseInt(_0x359282(0x221))/0x6)+-parseInt(_0x359282(0x279))/0x7+parseInt(_0x359282(0x204))/0x8*(-parseInt(_0x359282(0x273))/0x9)+parseInt(_0x359282(0x254))/0xa;if(_0x57dfe3===_0x56e53d)break;else _0x29e5e0['push'](_0x29e5e0['shift']());}catch(_0x4e5000){_0x29e5e0['push'](_0x29e5e0['shift']());}}}(_0x5320,0x79003));import{IconAIAdjustLength as _0x1d8f6b,IconAIChangeTone as _0x44e114,IconAIChatCommands as _0x56a10e,IconAIContinueWriting as _0x2abb60,IconAIGrammarCheck as _0x435220,IconAIImproveWriting as _0x5f5d11,IconAIOther as _0x293b1d,IconAIQuickActions as _0x475237,IconAITranslate as _0x2b74e0}from'@ckeditor/ckeditor5-icons';import{Plugin as _0xbe3db7}from'ckeditor5/src/core.js';function _0x1062(_0x5a99c2,_0x2e6396){const _0x53208e=_0x5320();return _0x1062=function(_0x10622c,_0x5c7897){_0x10622c=_0x10622c-0x1ec;let _0x28ce4f=_0x53208e[_0x10622c];return _0x28ce4f;},_0x1062(_0x5a99c2,_0x2e6396);}import{CKEditorError as _0x17a8ad,logError as _0x134a73}from'ckeditor5/src/utils.js';import{getTranslation as _0x3ce4fa}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x3f0d06}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x443355}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x269235,BalloonToolbar as _0x12d8f3,MenuBarMenuView as _0xdefdb7,MenuBarMenuListView as _0x459761,MenuBarMenuListItemView as _0x324268,MenuBarMenuListItemButtonView as _0x19b5cf}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x22ffd3}from'../aicore/model/aimodels.js';const te=_0x44fdd1(0x260),ee=_0x44fdd1(0x27d),ie=_0x44fdd1(0x227);function _0x5320(){const _0x1d6126=['commands','delegate','map','translate-to-korean','translate-to-russian','AIQuickActionsUI','_executeQuickAction','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','English','ai.quickActions.extraCommands','AIChat','portuguese','_quickActionsDefinition','children','continue','224793SHbsAu','has','translate-to-italian','DisplayNames','displayedPrompt','pluginName','3585617dAxRVs','items','getAvailableModels','push','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-friendly','change-tone','translate-to-portuguese','166695mcmhlx','actions','_getDefaultAndCustomActions','config','get','isEnabled','other','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_IMPROVE_WRITING','ask-ai','ai.quickActions.isSearchEnabled','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','make-tone-casual','AI_QUICK_ACTIONS_MORE_CASUAL','panelView','componentFactory','isPremiumPlugin','translate-to-german','AI_QUICK_ACTIONS_ADJUST_LENGTH','some','plugins','aiQuickAction','editing','filter','values','find','view','AI_QUICK_ACTIONS_SUMMARIZE','CHAT','menuBarView','includes','add','uiLanguage','spanish','REVIEW','AI_QUICK_ACTIONS_CHAT_COMMANDS','english','224XMIenC','make-shorter','menuitem','locale','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','translate','ai-quick-actions-unavailable-model','adjust-length','ai.chat.context.document.enabled','ACTION','AI_QUICK_ACTIONS_EXPLAIN','make-longer','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_MORE_FRIENDLY','attachToDom','russian','AIActions','menu','type','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','chinese','aiQuickActions','3348244JggWMk','buttonView','close','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_CHANGE_TONE','36ZlixUE','ai.chat.models.displayedModels','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','make-tone-confident','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_MORE_CONFIDENT','<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>','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','set','highlight-key-points','AIReviewMode','replace','label','requires','korean','AI_QUICK_ACTIONS_CONTINUE_WRITING','init','menuBar:aiQuickActions','_shouldIncludeAction','icon','make-tone-direct','german','explain','execute','AI_QUICK_ACTIONS_HEADING','AIConnector','japanese','translate-to-english','_initializeQuickActionsMenuBar','length','_prepareQuickActionsDefinition','595480ALNgAu','isOfficialPlugin','_initializeQuickActionsDropdown','ai.quickActions.removeCommands','make-tone-professional','chat-commands','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MAKE_SHORTER','translate-to-chinese','translate-to-japanese','summarize','editor','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_TRANSLATE','focus','translate-to-french','AI_QUICK_ACTIONS_MORE_DIRECT','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','18768410uaYgzp','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','message','forEach','improve-writing','french','236555SRIGHa','AI_QUICK_ACTIONS_ASK_AI','model','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','translate-to-spanish','2YBvGgg','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','italian','language','fix-grammar'];_0x5320=function(){return _0x1d6126;};return _0x5320();}export var AIQuickActionType;!function(_0x409eac){const _0x2972eb=_0x44fdd1;_0x409eac[_0x2972eb(0x1fb)]=_0x2972eb(0x1fb),_0x409eac[_0x2972eb(0x20f)]=_0x2972eb(0x20f),_0x409eac[_0x2972eb(0x201)]=_0x2972eb(0x201);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x9293f3){const _0x578cca=_0x44fdd1;_0x9293f3[_0x578cca(0x1fb)]=_0x578cca(0x26e),_0x9293f3[_0x578cca(0x20f)]=_0x578cca(0x216),_0x9293f3[_0x578cca(0x201)]=_0x578cca(0x22b);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0xbe3db7{static get[_0x44fdd1(0x22e)](){return[_0x12d8f3];}static get[_0x44fdd1(0x278)](){const _0x4b2710=_0x44fdd1;return _0x4b2710(0x269);}static get[_0x44fdd1(0x241)](){return!0x0;}static get[_0x44fdd1(0x1ef)](){return!0x0;}async[_0x44fdd1(0x231)](){const _0x4729b7=_0x44fdd1,_0x14f210=await this[_0x4729b7(0x283)]();this[_0x4729b7(0x23f)](_0x14f210),this[_0x4729b7(0x246)]();}static[_0x44fdd1(0x252)](_0x4cf748){return function(_0x280a0c){const _0x85ce5=_0x1062,_0x3e0a0c=new Intl[(_0x85ce5(0x276))](['en'],{'type':_0x85ce5(0x262)})['of'](_0x280a0c[_0x85ce5(0x1ff)]),_0x121a62=_0x3e0a0c||_0x85ce5(0x26c),_0x221056=[{'id':_0x85ce5(0x28a),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x25b)),'type':AIQuickActionType[_0x85ce5(0x1fb)],'icon':_0x56a10e},{'id':_0x85ce5(0x245),'label':_0x3ce4fa(_0x280a0c,_0x85ce5(0x202)),'icon':_0x56a10e,'actions':[{'id':_0x85ce5(0x237),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x210)),'prompt':te[_0x85ce5(0x22c)]('%0',_0x121a62),'type':AIQuickActionType[_0x85ce5(0x1fb)]},{'id':_0x85ce5(0x24b),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x1fa)),'prompt':ee[_0x85ce5(0x22c)]('%0',_0x121a62),'type':AIQuickActionType[_0x85ce5(0x1fb)]},{'id':_0x85ce5(0x22a),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x219)),'prompt':ie[_0x85ce5(0x22c)]('%0',_0x121a62),'type':AIQuickActionType[_0x85ce5(0x1fb)]}]},{'id':_0x85ce5(0x258),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x289)),'type':AIQuickActionType[_0x85ce5(0x20f)],'icon':_0x5f5d11},{'id':_0x85ce5(0x272),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x230)),'type':AIQuickActionType[_0x85ce5(0x20f)],'icon':_0x2abb60},{'id':_0x85ce5(0x263),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x20a)),'type':AIQuickActionType[_0x85ce5(0x20f)],'icon':_0x435220},{'id':_0x85ce5(0x20d),'label':_0x3ce4fa(_0x280a0c,_0x85ce5(0x1f1)),'icon':_0x1d8f6b,'actions':[{'id':_0x85ce5(0x205),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x248)),'type':AIQuickActionType[_0x85ce5(0x20f)]},{'id':_0x85ce5(0x211),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x208)),'type':AIQuickActionType[_0x85ce5(0x20f)]}]},{'id':_0x85ce5(0x27f),'label':_0x3ce4fa(_0x280a0c,_0x85ce5(0x220)),'icon':_0x44e114,'actions':[{'id':_0x85ce5(0x28d),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x1ec)),'type':AIQuickActionType[_0x85ce5(0x20f)]},{'id':_0x85ce5(0x235),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x251)),'type':AIQuickActionType[_0x85ce5(0x20f)]},{'id':_0x85ce5(0x27e),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x213)),'type':AIQuickActionType[_0x85ce5(0x20f)]},{'id':_0x85ce5(0x224),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x226)),'type':AIQuickActionType[_0x85ce5(0x20f)]},{'id':_0x85ce5(0x244),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x209)),'type':AIQuickActionType[_0x85ce5(0x20f)]}]},{'id':_0x85ce5(0x20b),'label':_0x3ce4fa(_0x280a0c,_0x85ce5(0x24e)),'icon':_0x2b74e0,'actions':[{'id':_0x85ce5(0x23c),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x24d)),'type':AIQuickActionType[_0x85ce5(0x20f)],'actionName':_0x85ce5(0x20b),'args':{'language':_0x85ce5(0x203)}},{'id':_0x85ce5(0x249),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x26b)),'type':AIQuickActionType[_0x85ce5(0x20f)],'actionName':_0x85ce5(0x20b),'args':{'language':_0x85ce5(0x21a)}},{'id':_0x85ce5(0x25e),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x253)),'type':AIQuickActionType[_0x85ce5(0x20f)],'actionName':_0x85ce5(0x20b),'args':{'language':_0x85ce5(0x200)}},{'id':_0x85ce5(0x1f0),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x28c)),'type':AIQuickActionType[_0x85ce5(0x20f)],'actionName':_0x85ce5(0x20b),'args':{'language':_0x85ce5(0x236)}},{'id':_0x85ce5(0x250),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x255)),'type':AIQuickActionType[_0x85ce5(0x20f)],'actionName':_0x85ce5(0x20b),'args':{'language':_0x85ce5(0x259)}},{'id':_0x85ce5(0x24a),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x223)),'type':AIQuickActionType[_0x85ce5(0x20f)],'actionName':_0x85ce5(0x20b),'args':{'language':_0x85ce5(0x23b)}},{'id':_0x85ce5(0x280),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x247)),'type':AIQuickActionType[_0x85ce5(0x20f)],'actionName':_0x85ce5(0x20b),'args':{'language':_0x85ce5(0x26f)}},{'id':_0x85ce5(0x267),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x288)),'type':AIQuickActionType[_0x85ce5(0x20f)],'actionName':_0x85ce5(0x20b),'args':{'language':_0x85ce5(0x22f)}},{'id':_0x85ce5(0x275),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x25d)),'type':AIQuickActionType[_0x85ce5(0x20f)],'actionName':_0x85ce5(0x20b),'args':{'language':_0x85ce5(0x261)}},{'id':_0x85ce5(0x268),'displayedPrompt':_0x3ce4fa(_0x280a0c,_0x85ce5(0x228)),'type':AIQuickActionType[_0x85ce5(0x20f)],'actionName':_0x85ce5(0x20b),'args':{'language':_0x85ce5(0x215)}}]},{'id':_0x85ce5(0x287),'label':_0x3ce4fa(_0x280a0c,_0x85ce5(0x21f)),'icon':_0x293b1d,'actions':[]}];return _0x221056;}(_0x4cf748);}async[_0x44fdd1(0x283)](){const _0x1b8ea4=_0x44fdd1,_0x257809=AIQuickActionsUI[_0x1b8ea4(0x252)](this[_0x1b8ea4(0x24c)][_0x1b8ea4(0x207)]),_0x50352a=this[_0x1b8ea4(0x24c)][_0x1b8ea4(0x284)][_0x1b8ea4(0x285)](_0x1b8ea4(0x26d))||[];let _0x44f78a=[];try{_0x44f78a=await new _0x22ffd3({'connector':this[_0x1b8ea4(0x24c)][_0x1b8ea4(0x1f3)][_0x1b8ea4(0x285)](_0x1b8ea4(0x23a)),'availableModels':this[_0x1b8ea4(0x24c)][_0x1b8ea4(0x284)][_0x1b8ea4(0x285)](_0x1b8ea4(0x222)),'locale':this[_0x1b8ea4(0x24c)][_0x1b8ea4(0x207)]})[_0x1b8ea4(0x27b)]();}catch(_0x116b65){const _0x440636=new _0x17a8ad(_0x1b8ea4(0x225),this,{'error':_0x116b65});_0x134a73(_0x440636[_0x1b8ea4(0x256)]);}finally{const _0x552dda=_0x50352a[_0x1b8ea4(0x266)](_0x5af8e0=>({..._0x5af8e0,'icon':void 0x0}));_0x257809[_0x1b8ea4(0x1f8)](_0xfff3b4=>_0x1b8ea4(0x287)===_0xfff3b4['id'])[_0x1b8ea4(0x282)][_0x1b8ea4(0x27c)](..._0x552dda),_0x257809[_0x1b8ea4(0x257)](_0x4ed9bd=>{const _0x470e2a=_0x1b8ea4;if(_0x470e2a(0x282)in _0x4ed9bd)_0x4ed9bd[_0x470e2a(0x282)][_0x470e2a(0x257)](_0x438286=>{const _0x35b5f6=_0x470e2a;if(_0x438286[_0x35b5f6(0x286)]=!!_0x44f78a[_0x35b5f6(0x1f8)](_0x1eb6fe=>_0x1eb6fe['id']===_0x438286[_0x35b5f6(0x25c)])||void 0x0===_0x438286[_0x35b5f6(0x25c)],!_0x438286[_0x35b5f6(0x286)]){const _0x76e86b=new _0x17a8ad(_0x35b5f6(0x20c),this,{'actionId':_0x438286['id'],'modelId':_0x438286[_0x35b5f6(0x25c)]});_0x134a73(_0x76e86b[_0x35b5f6(0x256)]);}});else{if(_0x4ed9bd[_0x470e2a(0x286)]=!!_0x44f78a[_0x470e2a(0x1f8)](_0x51e94e=>_0x51e94e['id']===_0x4ed9bd[_0x470e2a(0x25c)])||void 0x0===_0x4ed9bd[_0x470e2a(0x25c)],!_0x4ed9bd[_0x470e2a(0x286)]){const _0x537568=new _0x17a8ad(_0x470e2a(0x20c),this,{'actionId':_0x4ed9bd['id'],'modelId':_0x4ed9bd[_0x470e2a(0x25c)]});_0x134a73(_0x537568[_0x470e2a(0x256)]);}}});}return _0x257809;}[_0x44fdd1(0x246)](){const _0x93f1d4=_0x44fdd1,_0x1ae28a=new _0x269235(this[_0x93f1d4(0x24c)][_0x93f1d4(0x207)]);_0x1ae28a[_0x93f1d4(0x214)](),this[_0x93f1d4(0x242)](_0x1ae28a),this[_0x93f1d4(0x23d)](),this[_0x93f1d4(0x212)](_0x1ae28a);}[_0x44fdd1(0x242)](_0x4d9772){const _0x48fdc0=_0x44fdd1,_0x595bf4=this[_0x48fdc0(0x24c)][_0x48fdc0(0x284)][_0x48fdc0(0x285)](_0x48fdc0(0x28b))??!0x0;this[_0x48fdc0(0x24c)]['ui'][_0x48fdc0(0x1ee)][_0x48fdc0(0x1fe)](_0x48fdc0(0x21b),_0x3f0d06({'editor':this[_0x48fdc0(0x24c)],'content':this[_0x48fdc0(0x270)],'buttonDefinition':{'icon':_0x475237,'label':_0x3ce4fa(this[_0x48fdc0(0x24c)][_0x48fdc0(0x207)],_0x48fdc0(0x239))},'bodyCollection':_0x4d9772,'hasSearch':_0x595bf4}));}[_0x44fdd1(0x23f)](_0x1ba29d){const _0x52c360=_0x44fdd1;this[_0x52c360(0x270)]=_0x1ba29d[_0x52c360(0x266)](_0x5dc735=>{const _0x45c0ad=_0x52c360;if(_0x45c0ad(0x282)in _0x5dc735){const _0x25617b=_0x5dc735;return{..._0x25617b,'actions':_0x25617b[_0x45c0ad(0x282)][_0x45c0ad(0x266)](_0x5b067d=>{const {actions:_0xc5d25e,..._0x1b42f3}=_0x25617b;return{..._0x5b067d,'parent':_0x1b42f3};})[_0x45c0ad(0x1f6)](_0x4568d4=>this[_0x45c0ad(0x233)](_0x4568d4))};}return _0x5dc735;})[_0x52c360(0x1f6)](_0x385e5f=>_0x52c360(0x282)in _0x385e5f?_0x385e5f[_0x52c360(0x282)][_0x52c360(0x23e)]>0x0:this[_0x52c360(0x233)](_0x385e5f));}[_0x44fdd1(0x233)](_0x18afc6){const _0x51b273=_0x44fdd1,_0x436ac0=this[_0x51b273(0x24c)][_0x51b273(0x284)][_0x51b273(0x285)](_0x51b273(0x243))||[];return this[_0x51b273(0x24c)][_0x51b273(0x1f3)][_0x51b273(0x274)](AIQuickActionTypeToPluginName[_0x18afc6[_0x51b273(0x218)]])&&!_0x436ac0[_0x51b273(0x1fd)](_0x18afc6['id'])&&!(_0x18afc6[_0x51b273(0x218)]===AIQuickActionType[_0x51b273(0x1fb)]&&!0x1===this[_0x51b273(0x24c)][_0x51b273(0x284)][_0x51b273(0x285)](_0x51b273(0x20e)));}[_0x44fdd1(0x212)](_0x4b9561){const _0x386d57=_0x44fdd1;this[_0x386d57(0x270)][_0x386d57(0x257)](_0x1c3bf5=>{const _0x503f24=_0x386d57;if(_0x503f24(0x282)in _0x1c3bf5){const _0x1e8748=_0x3f0d06({'editor':this[_0x503f24(0x24c)],'content':_0x1c3bf5[_0x503f24(0x282)],'buttonDefinition':_0x1c3bf5,'bodyCollection':_0x4b9561});this[_0x503f24(0x24c)]['ui'][_0x503f24(0x1ee)][_0x503f24(0x1fe)](_0x1c3bf5['id'],_0x1e8748),_0x1c3bf5[_0x503f24(0x282)][_0x503f24(0x257)](_0x567cf8=>{const _0x31df84=_0x503f24,_0x1de845=_0x443355({'editor':this[_0x31df84(0x24c)],'action':_0x567cf8});this[_0x31df84(0x24c)]['ui'][_0x31df84(0x1ee)][_0x31df84(0x1fe)](_0x567cf8['id'],_0x1de845);});}else{const _0x1565e3=_0x443355({'editor':this[_0x503f24(0x24c)],'action':_0x1c3bf5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x503f24(0x24c)]['ui'][_0x503f24(0x1ee)][_0x503f24(0x1fe)](_0x1c3bf5['id'],_0x1565e3);}});}[_0x44fdd1(0x23d)](){const _0x577bb8=_0x44fdd1;this[_0x577bb8(0x24c)]['ui'][_0x577bb8(0x1ee)][_0x577bb8(0x1fe)](_0x577bb8(0x232),_0x4f8166=>{const _0x502166=_0x577bb8,_0x343d96=new _0xdefdb7(_0x4f8166),_0x3eff23=_0x3ce4fa(_0x4f8166,_0x502166(0x239));_0x343d96[_0x502166(0x21d)][_0x502166(0x229)]({'label':_0x3eff23,'icon':_0x475237});const _0x1756fe=new _0x459761(_0x4f8166);_0x1756fe[_0x502166(0x229)]({'ariaLabel':_0x3eff23,'role':_0x502166(0x217)}),this[_0x502166(0x270)][_0x502166(0x257)](_0x4102c8=>{const _0x19b5bd=_0x502166;if(_0x19b5bd(0x282)in _0x4102c8){const _0x539531=_0x4102c8,_0x3001dc=new _0x324268(_0x4f8166,_0x343d96),_0x31d136=new _0xdefdb7(_0x4f8166),_0x495e98=new _0x459761(_0x4f8166);_0x31d136[_0x19b5bd(0x21d)][_0x19b5bd(0x229)]({'label':_0x539531[_0x19b5bd(0x22d)],'icon':_0x539531[_0x19b5bd(0x234)]}),_0x539531[_0x19b5bd(0x282)][_0x19b5bd(0x257)](_0x5328a9=>{const _0x4c8e63=_0x19b5bd,_0x23a81a=new _0x324268(_0x4f8166,_0x31d136),_0x433277=new _0x19b5cf(_0x4f8166);_0x433277[_0x4c8e63(0x229)]({'label':_0x5328a9[_0x4c8e63(0x277)],'icon':_0x5328a9[_0x4c8e63(0x234)],'role':_0x4c8e63(0x206),'isEnabled':_0x5328a9[_0x4c8e63(0x286)]}),_0x433277['on'](_0x4c8e63(0x238),()=>{const _0x3bd194=_0x4c8e63;this[_0x3bd194(0x26a)](_0x5328a9);}),_0x433277[_0x4c8e63(0x265)](_0x4c8e63(0x238))['to'](_0x31d136),_0x23a81a[_0x4c8e63(0x271)][_0x4c8e63(0x1fe)](_0x433277),_0x495e98[_0x4c8e63(0x27a)][_0x4c8e63(0x1fe)](_0x23a81a);}),_0x31d136[_0x19b5bd(0x1ed)][_0x19b5bd(0x271)][_0x19b5bd(0x1fe)](_0x495e98),_0x3001dc[_0x19b5bd(0x271)][_0x19b5bd(0x1fe)](_0x31d136),_0x1756fe[_0x19b5bd(0x27a)][_0x19b5bd(0x1fe)](_0x3001dc);}else{const _0x27a65b=_0x4102c8,_0x51729e=new _0x324268(_0x4f8166,_0x343d96),_0x1412ec=new _0x19b5cf(_0x4f8166);_0x1412ec[_0x19b5bd(0x229)]({'label':_0x27a65b[_0x19b5bd(0x277)],'icon':_0x27a65b[_0x19b5bd(0x234)],'role':_0x19b5bd(0x206),'isEnabled':_0x27a65b[_0x19b5bd(0x286)]}),_0x1412ec['on'](_0x19b5bd(0x238),()=>{const _0x1a5f71=_0x19b5bd;this[_0x1a5f71(0x26a)](_0x27a65b);}),_0x1412ec[_0x19b5bd(0x265)](_0x19b5bd(0x238))['to'](_0x343d96),_0x51729e[_0x19b5bd(0x271)][_0x19b5bd(0x1fe)](_0x1412ec),_0x1756fe[_0x19b5bd(0x27a)][_0x19b5bd(0x1fe)](_0x51729e);}});const _0xbe530c=Object[_0x502166(0x1f7)](AIQuickActionTypeToPluginName)[_0x502166(0x1f2)](_0x460f84=>this[_0x502166(0x24c)][_0x502166(0x1f3)][_0x502166(0x274)](_0x460f84));return _0x343d96[_0x502166(0x229)]({'isEnabled':_0xbe530c}),_0x343d96[_0x502166(0x1ed)][_0x502166(0x271)][_0x502166(0x1fe)](_0x1756fe),_0x343d96;});}[_0x44fdd1(0x26a)](_0x6a9f4){const _0x499c43=_0x44fdd1,_0x3d1db5=this[_0x499c43(0x24c)];_0x3d1db5[_0x499c43(0x1f5)][_0x499c43(0x1f9)][_0x499c43(0x24f)](),_0x3d1db5[_0x499c43(0x264)][_0x499c43(0x238)](_0x499c43(0x1f4),_0x6a9f4);const _0x2199d7=_0x3d1db5['ui'][_0x499c43(0x1f9)][_0x499c43(0x1fc)];_0x2199d7&&_0x2199d7[_0x499c43(0x21e)]&&_0x2199d7[_0x499c43(0x21e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x301c52,_0x1fcd58){const _0x51a600=_0x4c8d,_0x4c25cc=_0x301c52();while(!![]){try{const _0x231114=parseInt(_0x51a600(0x1a0))/0x1*(-parseInt(_0x51a600(0x1a4))/0x2)+parseInt(_0x51a600(0x19f))/0x3*(-parseInt(_0x51a600(0x1a9))/0x4)+parseInt(_0x51a600(0x1ae))/0x5+parseInt(_0x51a600(0x1ad))/0x6+-parseInt(_0x51a600(0x1a8))/0x7*(-parseInt(_0x51a600(0x1aa))/0x8)+-parseInt(_0x51a600(0x1a2))/0x9*(-parseInt(_0x51a600(0x19d))/0xa)+parseInt(_0x51a600(0x1a6))/0xb;if(_0x231114===_0x1fcd58)break;else _0x4c25cc['push'](_0x4c25cc['shift']());}catch(_0x28cd54){_0x4c25cc['push'](_0x4c25cc['shift']());}}}(_0x39c9,0x2c371));import{ButtonView as _0x358de0}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x56c862}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x19e022){const {editor:_0x5bba6e,action:_0x30ba43,withText:_0x456a4d=!0x1,withIcon:_0x3b950e=!0x0,isInDropdown:_0x258f59=!0x0,shouldPreventFocus:_0x267ebd=!0x1}=_0x19e022;return()=>{const _0x299f89=_0x4c8d,_0x13ec7b=_0x5bba6e[_0x299f89(0x1ac)],_0x841290=new _0x358de0(_0x13ec7b),_0x140886=_0x841290[_0x299f89(0x1af)];_0x258f59&&_0x841290[_0x299f89(0x19c)]({'on':{'mouseenter':_0x140886['to'](()=>{const _0x5e03b2=_0x299f89;_0x267ebd&&_0x267ebd()||_0x841290[_0x5e03b2(0x19e)]();})}});const _0x2328da=_0x30ba43[_0x299f89(0x1ab)]??_0x30ba43[_0x299f89(0x198)]?.[_0x299f89(0x1ab)];return _0x841290[_0x299f89(0x195)]({'label':_0x30ba43[_0x299f89(0x1a5)],'withText':_0x456a4d,'role':_0x299f89(0x19a),'icon':_0x3b950e?_0x2328da??_0x56c862:void 0x0,'tooltip':!_0x456a4d,'class':_0x299f89(0x19b),'isEnabled':_0x30ba43[_0x299f89(0x1a7)]}),_0x841290['on'](_0x299f89(0x199),()=>{const _0x148bf5=_0x299f89;_0x5bba6e[_0x148bf5(0x197)][_0x148bf5(0x196)][_0x148bf5(0x19e)](),_0x5bba6e[_0x148bf5(0x1a3)][_0x148bf5(0x199)](_0x148bf5(0x1a1),_0x30ba43);}),_0x841290;};}function _0x4c8d(_0x4cac5e,_0x5c04e9){const _0x39c963=_0x39c9();return _0x4c8d=function(_0x4c8d0d,_0xd38b85){_0x4c8d0d=_0x4c8d0d-0x195;let _0x7eec70=_0x39c963[_0x4c8d0d];return _0x7eec70;},_0x4c8d(_0x4cac5e,_0x5c04e9);}function _0x39c9(){const _0xa97fdd=['editing','parent','execute','menuitem','ck-ai-quick-actions-button','extendTemplate','867290YiiCaw','focus','3JQbDwY','2XwDQyN','aiQuickAction','9tnFcrx','commands','179812oZWjhT','displayedPrompt','4798200ewRzah','isEnabled','70uMzKNS','1172364rzBdPJ','31776BdDVwU','icon','locale','543348GIIvAp','4005sZhxYn','bindTemplate','set','view'];_0x39c9=function(){return _0xa97fdd;};return _0x39c9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x9e12(){const _0x1adcf5=['_createSearchTextView','ck-ai-quick-actions-group-list','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','push','activeElement','relatedTarget','extendTemplate','set','element','198271GWShcx','ck-ai-quick-actions-button_with-group','1064928SalDDC','content','_createActionGroupButton','_bodyCollection','_isSearchFocused','delete','_createSearchResultActionButton','get','6gwgBEM','mouseleave','14dtxcYO','pin','role','destroy','text','ck-ai-quick-actions','_searchTextView','children','add','view','label','items','rtl','_handlePanelKeydown','2867192mSZZWL','ownerDocument','466803CeZmtI','ck-ai-quick-actions-search-result-button','fieldView','execute','span','_allSearchableItems','parent','_createSearchResultGroupedActionButton','isEnabled','addMany','isVisible','displayedPrompt','.ck-ai-quick-actions-group-button','_createSearchResultIndividualActionButton','queryView','ArrowRight','clear','ArrowLeft','isOn','eastSouth','_hasSearch','_createSearchResultActionRow','addEventListener','_setupGroupMenuBehavior','uiLanguageDirection','reset','menu','_createSearchResultGroupRow','_createListItems','ck-ai-quick-actions-search','focusTracker','render','setTemplate','_handleSearchResultButtonClick','fire','key','optionsListView','_hideNestedPanel','ck-dropdown-menu-list','actions','ck-ai-quick-actions-button__group-icon','_showNestedPanel','resetSearch','first','show','forEach','ck-ai-quick-actions-button_with-group__close-paren','ck-ai-quick-actions-button_with-group__open-paren','contains','_createSearchResultContentView','1355885YulcPs','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','AI_QUICK_ACTIONS_SEARCH','detachFromDom','ck-reset_all','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','button','ck-ai-quick-actions-group-button','ck-ai-quick-actions-search-result__content','ck-button','focusCycler','editing','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','125679nGVeVY','keystrokes','ck-ai-quick-actions-search-result__action-row','_focusables','_isMovingToNestedMenu','ck-ai-quick-actions-search-result-button_with-group','aiQuickAction','393816RJyFeY','ck-rounded-corners','commands','bind','ck-ai-quick-actions-search-result__group-row','some','div','closest','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel','icon','menuitem','_getButtonKeystroke','_hideAllNestedPanels','_createActionButton','ck-ai-quick-actions-button','_setupActionButtonExecution','_createGroupActionsList','ck-button_with-text','_getPanelKeystroke','locale','focus','_openNestedPanels','.ck-ai-quick-actions-group-panel','bindTemplate','chain','hide','.ck-ai-quick-actions-group-list'];_0x9e12=function(){return _0x1adcf5;};return _0x9e12();}const _0x545bba=_0x46d4;(function(_0x3653e3,_0x48db8b){const _0x8dd6e3=_0x46d4,_0x1e5613=_0x3653e3();while(!![]){try{const _0x39aeda=parseInt(_0x8dd6e3(0x1e2))/0x1+-parseInt(_0x8dd6e3(0x1ec))/0x2*(parseInt(_0x8dd6e3(0x1b6))/0x3)+-parseInt(_0x8dd6e3(0x1bd))/0x4+parseInt(_0x8dd6e3(0x1a9))/0x5+parseInt(_0x8dd6e3(0x1e4))/0x6*(parseInt(_0x8dd6e3(0x1ee))/0x7)+-parseInt(_0x8dd6e3(0x175))/0x8+-parseInt(_0x8dd6e3(0x177))/0x9;if(_0x39aeda===_0x48db8b)break;else _0x1e5613['push'](_0x1e5613['shift']());}catch(_0x40355e){_0x1e5613['push'](_0x1e5613['shift']());}}}(_0x9e12,0x2e649));import{View as _0x220615,ListItemView as _0xe8f768,ListView as _0x54696f,BalloonPanelView as _0x1e9995,DropdownMenuPanelPositioningFunctions as _0x16a84e,ViewCollection as _0x9295f7,FocusCycler as _0x2aa209,ButtonView as _0x2e432e,IconView as _0x397224,HighlightedTextView as _0x2ccfa4,ButtonLabelWithHighlightView as _0xa48b0b,SearchTextView as _0x2356ed}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5a66ce}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x34dd79,KeystrokeHandler as _0x2bf5f7}from'ckeditor5/src/utils.js';function _0x46d4(_0x4abcf7,_0x3b9898){const _0x9e1229=_0x9e12();return _0x46d4=function(_0x46d4a0,_0x5cb522){_0x46d4a0=_0x46d4a0-0x16c;let _0x5d5a50=_0x9e1229[_0x46d4a0];return _0x5d5a50;},_0x46d4(_0x4abcf7,_0x3b9898);}import{aiQuickActionsButtonCreator as _0x244e49}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x164265}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x4e723f}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x341d0e}from'./aiquickactionsfilteredlistview.js';const ys=_0x545bba(0x191),Ts=_0x545bba(0x1c8);export class AIQuickActionsDropdownContentView extends _0x220615{[_0x545bba(0x1e7)];[_0x545bba(0x19b)];[_0x545bba(0x16d)]=null;[_0x545bba(0x17c)]=[];[_0x545bba(0x16e)];[_0x545bba(0x195)];[_0x545bba(0x1b7)];[_0x545bba(0x1b9)];[_0x545bba(0x1b3)];[_0x545bba(0x1d3)]=new Set();[_0x545bba(0x18b)];constructor(_0x482877,_0x3dcf38,_0x202fc3,_0x55344f,_0x3ee7c6=!0x1){const _0x11a1bf=_0x545bba,_0x263141=_0x482877[_0x11a1bf(0x1d1)];super(_0x263141),this[_0x11a1bf(0x1e7)]=_0x55344f,this[_0x11a1bf(0x18b)]=_0x3ee7c6;const _0x29f8ce=this[_0x11a1bf(0x193)](_0x482877,_0x3dcf38,_0x202fc3);this[_0x11a1bf(0x19b)]=new _0x341d0e(_0x263141,_0x29f8ce,this[_0x11a1bf(0x17c)]),this[_0x11a1bf(0x19b)][_0x11a1bf(0x1f0)]=ys,this[_0x11a1bf(0x19b)][_0x11a1bf(0x172)][_0x11a1bf(0x180)](_0x29f8ce),this[_0x11a1bf(0x195)]=new _0x34dd79(),this[_0x11a1bf(0x1b7)]=new _0x2bf5f7(),_0x3ee7c6&&(this[_0x11a1bf(0x16d)]=this[_0x11a1bf(0x1d9)]()),this[_0x11a1bf(0x1b9)]=_0x29f8ce,this[_0x11a1bf(0x1b3)]=new _0x2aa209({'focusables':this[_0x11a1bf(0x1b9)],'focusTracker':this[_0x11a1bf(0x195)],'keystrokeHandler':this[_0x11a1bf(0x1b7)]}),_0x3ee7c6&&this[_0x11a1bf(0x16d)]&&this[_0x11a1bf(0x1b3)][_0x11a1bf(0x1d6)](this[_0x11a1bf(0x16d)][_0x11a1bf(0x1b3)]);const _0x184dc8=_0x3ee7c6&&this[_0x11a1bf(0x16d)]?[this[_0x11a1bf(0x16d)]]:[this[_0x11a1bf(0x19b)]];this[_0x11a1bf(0x16e)]=new _0x9295f7(_0x184dc8),this[_0x11a1bf(0x197)]({'tag':_0x11a1bf(0x1c3),'attributes':{'class':['ck',_0x11a1bf(0x1ad),_0x11a1bf(0x16c),_0x11a1bf(0x1be)],'dir':_0x263141[_0x11a1bf(0x18f)]},'children':this[_0x11a1bf(0x16e)]});}[_0x545bba(0x1d9)](){const _0xa021f2=_0x545bba;return new _0x2356ed(this[_0xa021f2(0x1d1)],{'filteredView':this[_0xa021f2(0x19b)],'queryView':{'label':_0x4e723f(this[_0xa021f2(0x1d1)],_0xa021f2(0x1ab))},'class':_0xa021f2(0x194),'infoView':{'text':{'notFound':{'primary':_0x4e723f(this[_0xa021f2(0x1d1)],_0xa021f2(0x1ae))}}}});}[_0x545bba(0x1e8)](){const _0x13dcd8=_0x545bba;if(!this[_0x13dcd8(0x18b)]||!this[_0x13dcd8(0x16d)]||!this[_0x13dcd8(0x16d)][_0x13dcd8(0x185)][_0x13dcd8(0x179)][_0x13dcd8(0x1e1)])return!0x1;const _0x12a520=this[_0x13dcd8(0x16d)][_0x13dcd8(0x185)][_0x13dcd8(0x179)][_0x13dcd8(0x1e1)][_0x13dcd8(0x176)]?.[_0x13dcd8(0x1dd)];return this[_0x13dcd8(0x16d)][_0x13dcd8(0x185)][_0x13dcd8(0x179)][_0x13dcd8(0x1e1)][_0x13dcd8(0x1a7)](_0x12a520);}[_0x545bba(0x193)](_0x18c292,_0x2fac7c,_0x4f0915){const _0x3a42dc=_0x545bba,_0x1ef2eb=new _0x9295f7();return _0x2fac7c[_0x3a42dc(0x1a4)](_0x39df71=>{const _0x343eb0=_0x3a42dc;if(_0x343eb0(0x19e)in _0x39df71){const {listItem:_0x59892a}=this[_0x343eb0(0x1e6)](_0x18c292,_0x39df71,_0x4f0915);_0x1ef2eb[_0x343eb0(0x16f)](_0x59892a),_0x39df71[_0x343eb0(0x19e)][_0x343eb0(0x1a4)](_0x5e49cc=>{const _0x60e68=_0x343eb0;this[_0x60e68(0x1cb)](_0x18c292,_0x5e49cc,_0x39df71[_0x60e68(0x171)],_0x39df71[_0x60e68(0x1c7)]);const {listItem:_0x18c195,highlightViews:_0x5d8b79}=this[_0x60e68(0x1ea)](_0x18c292,_0x5e49cc,_0x39df71[_0x60e68(0x171)],_0x39df71[_0x60e68(0x1c7)]);this[_0x60e68(0x17c)][_0x60e68(0x1dc)]({'item':_0x18c195,'label':_0x5e49cc[_0x60e68(0x182)],'groupLabel':_0x39df71[_0x60e68(0x171)],'highlightViews':_0x5d8b79});});}else{const {listItem:_0x30f818}=this[_0x343eb0(0x1cb)](_0x18c292,_0x39df71);_0x1ef2eb[_0x343eb0(0x16f)](_0x30f818);const _0x951e7f=_0x30f818[_0x343eb0(0x16e)][_0x343eb0(0x1a2)];if(_0x951e7f){const {listItem:_0x497105,highlightViews:_0x547140}=this[_0x343eb0(0x1ea)](_0x18c292,_0x39df71);this[_0x343eb0(0x17c)][_0x343eb0(0x1dc)]({'item':_0x497105,'label':_0x951e7f[_0x343eb0(0x171)]||'','highlightViews':_0x547140});}}}),_0x1ef2eb;}[_0x545bba(0x1cb)](_0x57be0b,_0x3543f4,_0x3a1240,_0x4643ea){const _0x143413=_0x545bba,_0x4f7af3=new _0xe8f768(this[_0x143413(0x1d1)]);if(_0x3a1240&&_0x4643ea){const _0x428315=new _0x2e432e(this[_0x143413(0x1d1)]),_0x275f72=_0x428315[_0x143413(0x1d5)],_0x4dbfe7=new _0x2ccfa4();_0x4dbfe7[_0x143413(0x1f2)]=_0x3543f4[_0x143413(0x182)];const _0x2c8841=new _0x2ccfa4();_0x2c8841[_0x143413(0x1f2)]=_0x3a1240;const _0x20079f=new _0x397224();_0x20079f[_0x143413(0x1e5)]=_0x4643ea,_0x20079f[_0x143413(0x1df)]({'attributes':{'class':_0x143413(0x19f)}});const _0x20affb=new _0x220615(this[_0x143413(0x1d1)]);_0x20affb[_0x143413(0x197)]({'tag':_0x143413(0x17b),'attributes':{'class':_0x143413(0x1a6)},'children':[{'text':'\x20('}]});const _0x2f3b8e=new _0x220615(this[_0x143413(0x1d1)]);return _0x2f3b8e[_0x143413(0x197)]({'tag':_0x143413(0x17b),'attributes':{'class':_0x143413(0x1a5)},'children':[{'text':')'}]}),_0x428315[_0x143413(0x1e0)]({'label':_0x3543f4[_0x143413(0x182)]+'\x20('+_0x3a1240+')','withText':!0x0,'role':_0x143413(0x1c8),'class':_0x143413(0x1aa),'tooltip':!0x1}),_0x428315[_0x143413(0x197)]({'tag':_0x143413(0x1af),'attributes':{'class':['ck',_0x143413(0x1b2),_0x143413(0x1cf),_0x143413(0x1cc),_0x143413(0x1e3)],'type':_0x143413(0x1af),'role':_0x143413(0x1c8),'tabindex':'-1'},'children':[_0x4dbfe7,_0x20affb,_0x20079f,_0x2c8841,_0x2f3b8e],'on':{'mouseenter':_0x275f72['to'](()=>{const _0x323882=_0x143413;this[_0x323882(0x1e8)]()||_0x428315[_0x323882(0x1d2)]();}),'click':_0x275f72['to'](()=>{const _0x4767ac=_0x143413;_0x428315[_0x4767ac(0x199)](_0x4767ac(0x17a));})}}),_0x428315['on'](_0x143413(0x17a),()=>{const _0x1b39f5=_0x143413;_0x57be0b[_0x1b39f5(0x1b4)][_0x1b39f5(0x170)][_0x1b39f5(0x1d2)](),_0x57be0b[_0x1b39f5(0x1bf)][_0x1b39f5(0x17a)](_0x1b39f5(0x1bc),_0x3543f4);}),_0x4f7af3[_0x143413(0x16e)][_0x143413(0x16f)](_0x428315),{'listItem':_0x4f7af3,'highlightViews':[_0x4dbfe7,_0x2c8841]};}{const _0x37bf35=new _0xa48b0b(),_0x33a0b2=new _0x2e432e(this[_0x143413(0x1d1)],_0x37bf35),_0xd0a2eb=_0x33a0b2[_0x143413(0x1d5)],_0x460660=_0x3543f4[_0x143413(0x1c7)]??_0x3543f4[_0x143413(0x17d)]?.[_0x143413(0x1c7)],_0x5a05e7=void 0x0!==_0x3543f4[_0x143413(0x1c7)];return _0x33a0b2[_0x143413(0x1e0)]({'label':_0x3543f4[_0x143413(0x182)],'withText':!0x0,'role':_0x143413(0x1c8),'icon':_0x5a05e7?_0x460660??_0x5a66ce:void 0x0,'tooltip':!0x1,'class':_0x143413(0x1cc)}),_0x33a0b2[_0x143413(0x1df)]({'on':{'mouseenter':_0xd0a2eb['to'](()=>{const _0x4ab81f=_0x143413;this[_0x4ab81f(0x1e8)]()||_0x33a0b2[_0x4ab81f(0x1d2)]();})}}),_0x33a0b2['on'](_0x143413(0x17a),()=>{const _0x273b4c=_0x143413;_0x57be0b[_0x273b4c(0x1b4)][_0x273b4c(0x170)][_0x273b4c(0x1d2)](),_0x57be0b[_0x273b4c(0x1bf)][_0x273b4c(0x17a)](_0x273b4c(0x1bc),_0x3543f4);}),_0x4f7af3[_0x143413(0x16e)][_0x143413(0x16f)](_0x33a0b2),{'listItem':_0x4f7af3,'highlightViews':[_0x37bf35]};}}[_0x545bba(0x1ea)](_0x59f6f0,_0xa01a6d,_0x489354,_0x10f1e2){const _0x5bced8=_0x545bba;return _0x489354&&_0x10f1e2?this[_0x5bced8(0x17e)](_0x59f6f0,_0xa01a6d,_0x489354,_0x10f1e2):this[_0x5bced8(0x184)](_0x59f6f0,_0xa01a6d);}[_0x545bba(0x17e)](_0x596450,_0x2a6d9d,_0x540b0a,_0x2f467f){const _0x134902=_0x545bba,_0x47015e=new _0xe8f768(this[_0x134902(0x1d1)]),_0x193c34=new _0x2e432e(this[_0x134902(0x1d1)]),_0xac9312=_0x193c34[_0x134902(0x1d5)],{view:_0x70437,highlightView:_0x499558}=this[_0x134902(0x192)](_0x540b0a,_0x2f467f),{view:_0x4d6f56,highlightView:_0x4b7b76}=this[_0x134902(0x18c)](_0x2a6d9d[_0x134902(0x182)]),_0x4fea7d=this[_0x134902(0x1a8)](_0x70437,_0x4d6f56);return _0x193c34[_0x134902(0x1e0)]({'label':_0x2a6d9d[_0x134902(0x182)],'withText':!0x0,'role':_0x134902(0x1c8),'class':_0x134902(0x1b5),'tooltip':!0x1}),_0x193c34[_0x134902(0x197)]({'tag':_0x134902(0x1af),'attributes':{'class':['ck',_0x134902(0x1b2),_0x134902(0x1cf),_0x134902(0x1cc),_0x134902(0x178),_0x134902(0x1bb)],'type':_0x134902(0x1af),'role':_0x134902(0x1c8),'tabindex':'-1'},'children':[_0x4fea7d],'on':{'mouseenter':_0xac9312['to'](()=>{const _0x4077a5=_0x134902;this[_0x4077a5(0x1e8)]()||_0x193c34[_0x4077a5(0x1d2)]();}),'click':_0xac9312['to'](()=>{const _0xaaf211=_0x134902;this[_0xaaf211(0x198)](_0x193c34);})}}),this[_0x134902(0x1cd)](_0x193c34,_0x596450,_0x2a6d9d),_0x47015e[_0x134902(0x16e)][_0x134902(0x16f)](_0x193c34),{'listItem':_0x47015e,'highlightViews':[_0x499558,_0x4b7b76]};}[_0x545bba(0x184)](_0x33ebee,_0x5e1451){const _0x1cf1ef=_0x545bba,_0x39db59=new _0xe8f768(this[_0x1cf1ef(0x1d1)]),_0x11aad7=new _0xa48b0b(),_0x480720=new _0x2e432e(this[_0x1cf1ef(0x1d1)],_0x11aad7),_0xd5b7bc=_0x480720[_0x1cf1ef(0x1d5)];return _0x480720[_0x1cf1ef(0x1e0)]({'label':_0x5e1451[_0x1cf1ef(0x182)],'withText':!0x0,'role':_0x1cf1ef(0x1c8),'icon':void 0x0,'tooltip':!0x1,'class':_0x1cf1ef(0x1db)}),_0x480720[_0x1cf1ef(0x1df)]({'on':{'mouseenter':_0xd5b7bc['to'](()=>{const _0x1adbb8=_0x1cf1ef;this[_0x1adbb8(0x1e8)]()||_0x480720[_0x1adbb8(0x1d2)]();})}}),this[_0x1cf1ef(0x1cd)](_0x480720,_0x33ebee,_0x5e1451),_0x39db59[_0x1cf1ef(0x16e)][_0x1cf1ef(0x16f)](_0x480720),{'listItem':_0x39db59,'highlightViews':[_0x11aad7]};}[_0x545bba(0x192)](_0x2f6db8,_0x17ef5a){const _0x2ea616=_0x545bba,_0x794fe4=new _0x220615(this[_0x2ea616(0x1d1)]),_0x27dae1=new _0x397224();_0x27dae1[_0x2ea616(0x1e5)]=_0x17ef5a,_0x27dae1[_0x2ea616(0x1df)]({'attributes':{'class':_0x2ea616(0x19f)}});const _0x2a55ac=new _0x2ccfa4();return _0x2a55ac[_0x2ea616(0x1f2)]=_0x2f6db8,_0x794fe4[_0x2ea616(0x197)]({'tag':_0x2ea616(0x1c3),'attributes':{'class':_0x2ea616(0x1c1)},'children':[_0x27dae1,_0x2a55ac]}),{'view':_0x794fe4,'highlightView':_0x2a55ac};}[_0x545bba(0x18c)](_0x5350f5){const _0x300891=_0x545bba,_0x42fd1e=new _0x220615(this[_0x300891(0x1d1)]),_0x46f276=new _0x2ccfa4();return _0x46f276[_0x300891(0x1f2)]=_0x5350f5,_0x42fd1e[_0x300891(0x197)]({'tag':_0x300891(0x1c3),'attributes':{'class':_0x300891(0x1b8)},'children':[_0x46f276]}),{'view':_0x42fd1e,'highlightView':_0x46f276};}[_0x545bba(0x1a8)](_0x29d335,_0x5a50aa){const _0x18971d=_0x545bba,_0x36f8b1=new _0x220615(this[_0x18971d(0x1d1)]);return _0x36f8b1[_0x18971d(0x197)]({'tag':_0x18971d(0x1c3),'attributes':{'class':_0x18971d(0x1b1)},'children':[_0x29d335,_0x5a50aa]}),_0x36f8b1;}[_0x545bba(0x1cd)](_0x373ae0,_0x1ad440,_0x2db01b){const _0x265a69=_0x545bba;_0x373ae0['on'](_0x265a69(0x17a),()=>{const _0x4d37d7=_0x265a69;_0x1ad440[_0x4d37d7(0x1b4)][_0x4d37d7(0x170)][_0x4d37d7(0x1d2)](),_0x1ad440[_0x4d37d7(0x1bf)][_0x4d37d7(0x17a)](_0x4d37d7(0x1bc),_0x2db01b);});}[_0x545bba(0x1e6)](_0xf94005,_0x200cad,_0x3b69c9){const _0x42edaa=_0x545bba,_0x38812a=new _0xe8f768(this[_0x42edaa(0x1d1)]),_0x2c8588=new _0xa48b0b(),_0x2680eb=new _0x164265(this[_0x42edaa(0x1d1)],_0x2c8588),_0x33b32d=_0x2680eb[_0x42edaa(0x1d5)],_0x3acdcc=this[_0x42edaa(0x1d0)](_0x3b69c9),_0x18df34=this[_0x42edaa(0x1ce)](_0xf94005,_0x200cad[_0x42edaa(0x19e)],_0x3b69c9);_0x2680eb[_0x42edaa(0x1e0)]({'label':_0x200cad[_0x42edaa(0x171)],'withText':!0x0,'role':Ts,'icon':_0x200cad[_0x42edaa(0x1c7)]??_0x5a66ce,'isEnabled':_0x200cad[_0x42edaa(0x19e)][_0x42edaa(0x1c2)](_0x12e3a0=>_0x12e3a0[_0x42edaa(0x17f)])}),_0x2680eb[_0x42edaa(0x1df)]({'on':{'mouseenter':_0x33b32d['to'](()=>{const _0x2fe6ad=_0x42edaa;this[_0x2fe6ad(0x1e8)]()||_0x2680eb[_0x2fe6ad(0x1d2)]();})}});const _0x24fd76=new _0x1e9995(this[_0x42edaa(0x1d1)]);return _0x24fd76[_0x42edaa(0x1df)]({'attributes':{'class':['ck',_0x42edaa(0x1ad),_0x42edaa(0x1c5),_0x42edaa(0x1c6)]},'on':{'keydown':_0x33b32d['to'](_0x11ccc4=>{const _0x548402=_0x42edaa;this[_0x548402(0x174)](_0x11ccc4,_0x3acdcc,_0x2680eb,_0x24fd76);})}}),_0x2680eb[_0x42edaa(0x1c0)](_0x42edaa(0x189))['to'](_0x24fd76,_0x42edaa(0x181)),this[_0x42edaa(0x1e7)][_0x42edaa(0x16f)](_0x24fd76),_0x24fd76[_0x42edaa(0x1e5)][_0x42edaa(0x16f)](_0x18df34),this[_0x42edaa(0x18e)](_0x2680eb,_0x24fd76),_0x38812a[_0x42edaa(0x16e)][_0x42edaa(0x16f)](_0x2680eb),{'listItem':_0x38812a,'highlightView':_0x2c8588};}[_0x545bba(0x1ce)](_0x6e83e8,_0x571d2d,_0x27c3f7){const _0x56a835=_0x545bba,_0x585949=new _0x54696f(this[_0x56a835(0x1d1)]);return _0x585949[_0x56a835(0x1df)]({'attributes':{'class':['ck',_0x56a835(0x1ad),_0x56a835(0x1da),_0x56a835(0x19d)]}}),_0x571d2d[_0x56a835(0x1a4)](_0x2c94df=>{const _0x2b9a52=_0x56a835,_0x856122=new _0xe8f768(this[_0x2b9a52(0x1d1)]),_0x51c3b1=_0x244e49({'editor':_0x6e83e8,'action':_0x2c94df,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x2b9a52(0x1e8)]()})();_0x856122[_0x2b9a52(0x16e)][_0x2b9a52(0x16f)](_0x51c3b1),_0x27c3f7[_0x2b9a52(0x195)][_0x2b9a52(0x16f)](_0x51c3b1),_0x585949[_0x2b9a52(0x172)][_0x2b9a52(0x16f)](_0x856122);}),_0x585949;}[_0x545bba(0x18e)](_0x51888e,_0x405a71){const _0x58772b=_0x545bba,_0x91429e=_0x51888e[_0x58772b(0x1d5)],_0xa08442=this[_0x58772b(0x1c9)](_0x51888e);_0x51888e[_0x58772b(0x1df)]({'attributes':{'class':[_0x58772b(0x1b0)]},'on':{'mouseenter':_0x91429e['to'](()=>{const _0x4eba5b=_0x58772b;this[_0x4eba5b(0x1a0)](_0x405a71,_0x51888e);}),'mouseleave':_0x91429e['to'](_0x56f985=>{const _0x43526a=_0x58772b,_0x4a6915=_0x56f985[_0x43526a(0x1de)];this[_0x43526a(0x1ba)](_0x4a6915,_0x405a71)||this[_0x43526a(0x19c)](_0x405a71);}),'keydown':_0x91429e['to'](_0x34f20e=>{const _0x1f7755=_0x58772b;_0x34f20e[_0x1f7755(0x19a)]==_0xa08442&&(this[_0x1f7755(0x1a0)](_0x405a71,_0x51888e),_0x405a71[_0x1f7755(0x1e5)][_0x1f7755(0x1eb)](0x0)[_0x1f7755(0x1d2)]());})}}),_0x405a71['on'](_0x58772b(0x196),()=>{const _0x495806=_0x58772b;_0x405a71[_0x495806(0x1e1)]?.[_0x495806(0x18d)](_0x495806(0x1ed),_0x1cf4c6=>{const _0xc2ea7=_0x495806,_0x2e92cc=_0x1cf4c6[_0xc2ea7(0x1de)];_0x51888e[_0xc2ea7(0x1e1)]?.[_0xc2ea7(0x1a7)](_0x2e92cc)||this[_0xc2ea7(0x1ba)](_0x2e92cc,_0x405a71)||this[_0xc2ea7(0x19c)](_0x405a71);});});}[_0x545bba(0x1a0)](_0x3cc4c2,_0x5d4b8c){const _0x26a252=_0x545bba;this[_0x26a252(0x1d3)][_0x26a252(0x1a4)](_0x444901=>{const _0x56938d=_0x26a252;_0x444901!==_0x3cc4c2&&_0x444901[_0x56938d(0x181)]&&_0x444901[_0x56938d(0x1d7)]();}),_0x3cc4c2[_0x26a252(0x1a3)](),_0x3cc4c2[_0x26a252(0x1ef)]({'positions':[_0x16a84e[_0x26a252(0x18a)]],'target':_0x5d4b8c[_0x26a252(0x1e1)],'fitInViewport':!0x0}),this[_0x26a252(0x1d3)][_0x26a252(0x16f)](_0x3cc4c2);}[_0x545bba(0x19c)](_0x5c7f7c){const _0x364f38=_0x545bba;_0x5c7f7c[_0x364f38(0x1d7)](),this[_0x364f38(0x1d3)][_0x364f38(0x1e9)](_0x5c7f7c);}[_0x545bba(0x1ca)](){const _0x3d5110=_0x545bba;this[_0x3d5110(0x1d3)][_0x3d5110(0x1a4)](_0x26c211=>_0x26c211[_0x3d5110(0x1d7)]()),this[_0x3d5110(0x1d3)][_0x3d5110(0x187)]();}[_0x545bba(0x1ba)](_0x2bfcc1,_0x5a8e24){const _0x47a53c=_0x545bba;if(!_0x2bfcc1)return!0x1;if(_0x5a8e24[_0x47a53c(0x1e1)]?.[_0x47a53c(0x1a7)](_0x2bfcc1))return!0x0;const _0x142076=_0x2bfcc1;return _0x142076[_0x47a53c(0x1c4)]&&(null!==_0x142076[_0x47a53c(0x1c4)](_0x47a53c(0x1d4))||null!==_0x142076[_0x47a53c(0x1c4)](_0x47a53c(0x1d8))||null!==_0x142076[_0x47a53c(0x1c4)](_0x47a53c(0x183)));}[_0x545bba(0x1a1)](){const _0x5f49a3=_0x545bba;this[_0x5f49a3(0x16d)]&&this[_0x5f49a3(0x16d)][_0x5f49a3(0x190)]();}[_0x545bba(0x1f1)](){const _0x22c328=_0x545bba;this[_0x22c328(0x1ca)](),this[_0x22c328(0x1e7)][_0x22c328(0x1ac)](),super[_0x22c328(0x1f1)]();}[_0x545bba(0x1d2)](){const _0x4e875f=_0x545bba;this[_0x4e875f(0x16d)]?this[_0x4e875f(0x16d)][_0x4e875f(0x1d2)]():this[_0x4e875f(0x19b)][_0x4e875f(0x1d2)]();}[_0x545bba(0x1d0)](_0x3a6d4d){const _0x25e65c=_0x545bba;return _0x25e65c(0x173)===_0x3a6d4d[_0x25e65c(0x1d1)][_0x25e65c(0x18f)]?_0x25e65c(0x186):_0x25e65c(0x188);}[_0x545bba(0x1c9)](_0x398428){const _0xef0957=_0x545bba;return _0xef0957(0x173)===_0x398428[_0xef0957(0x1d1)][_0xef0957(0x18f)]?_0xef0957(0x188):_0xef0957(0x186);}[_0x545bba(0x174)](_0x4e6799,_0x280d90,_0x384e72,_0x3040eb){const _0x394f21=_0x545bba;_0x4e6799[_0x394f21(0x19a)]==_0x280d90&&(_0x384e72[_0x394f21(0x1d2)](),this[_0x394f21(0x19c)](_0x3040eb));}[_0x545bba(0x198)](_0x5eb018){const _0xa69819=_0x545bba;_0x5eb018[_0xa69819(0x199)](_0xa69819(0x17a));}}
|
|
23
|
+
const _0x3fc8c7=_0x1802;(function(_0x2a1f23,_0x494407){const _0x5c8b2c=_0x1802,_0x465c48=_0x2a1f23();while(!![]){try{const _0x27c82f=parseInt(_0x5c8b2c(0x174))/0x1+parseInt(_0x5c8b2c(0x15b))/0x2+parseInt(_0x5c8b2c(0x1ad))/0x3+-parseInt(_0x5c8b2c(0x1af))/0x4+parseInt(_0x5c8b2c(0x138))/0x5+-parseInt(_0x5c8b2c(0x164))/0x6+-parseInt(_0x5c8b2c(0x14f))/0x7*(parseInt(_0x5c8b2c(0x13d))/0x8);if(_0x27c82f===_0x494407)break;else _0x465c48['push'](_0x465c48['shift']());}catch(_0x5d01f6){_0x465c48['push'](_0x465c48['shift']());}}}(_0x2217,0x49a63));import{View as _0x3bac1c,ListItemView as _0x1da524,ListView as _0x3fb5b0,BalloonPanelView as _0x15351d,DropdownMenuPanelPositioningFunctions as _0x5a64dc,ViewCollection as _0x2e4e92,FocusCycler as _0x4ce5e4,ButtonView as _0x43e7cb,IconView as _0x486394,HighlightedTextView as _0x26b71b,ButtonLabelWithHighlightView as _0x394771,SearchTextView as _0xcdc736}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4f2a7f}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x29aab2,KeystrokeHandler as _0x576d75}from'ckeditor5/src/utils.js';function _0x1802(_0x49b366,_0x1279be){const _0x221766=_0x2217();return _0x1802=function(_0x18024a,_0xbe7d6f){_0x18024a=_0x18024a-0x12e;let _0xe1def3=_0x221766[_0x18024a];return _0xe1def3;},_0x1802(_0x49b366,_0x1279be);}import{aiQuickActionsButtonCreator as _0x53c1ea}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x134ded}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x19fb5f}from'../../aicore/utils/common-translations.js';function _0x2217(){const _0x1d42e9=['execute','isEnabled','push','isOn','content','_handlePanelKeydown','focus','forEach','ck-dropdown-menu-list','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','1330bmnVca','AI_QUICK_ACTIONS_SEARCH','pin','.ck-ai-quick-actions-group-panel','_createSearchResultGroupRow','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','ck-button_with-text','relatedTarget','ck-ai-quick-actions-search-result-button','key','isVisible','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','1032050qlgBGu','_openNestedPanels','_hasSearch','_createSearchResultContentView','_createSearchTextView','children','queryView','ck-ai-quick-actions-group-button','ck-ai-quick-actions-search-result__group-row','2375124oOmpaS','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','chain','_createListItems','ck-button','_hideAllNestedPanels','.ck-ai-quick-actions-group-list','extendTemplate','ck-ai-quick-actions-button','detachFromDom','uiLanguageDirection','bindTemplate','resetSearch','ck-ai-quick-actions-search-result__content','locale','reset','204308TeLtUx','items','destroy','_getButtonKeystroke','clear','_hideNestedPanel','view','div','displayedPrompt','set','_createSearchResultActionRow','mouseleave','role','aiQuickAction','_createSearchResultGroupedActionButton','_createSearchResultActionButton','keystrokes','_showNestedPanel','ck-reset_all','contains','_focusables','ck-ai-quick-actions-button_with-group__close-paren','button','ArrowRight','menu','hide','icon','_allSearchableItems','ownerDocument','_bodyCollection','_isSearchFocused','_getPanelKeystroke','fieldView','ck-ai-quick-actions-group-list','_handleSearchResultButtonClick','actions','ArrowLeft','focusCycler','ck-ai-quick-actions-button_with-group','commands','fire','first','_createSearchResultIndividualActionButton','_setupActionButtonExecution','some','rtl','label','render','ck-ai-quick-actions-button_with-group__open-paren','addEventListener','optionsListView','_createGroupActionsList','ck-ai-quick-actions','bind','ck-dropdown-menu__nested-menu__panel','delete','ck-ai-quick-actions-search-result__action-row','526485NGXMiV','menuitem','579836qPHZuP','_setupGroupMenuBehavior','ck-rounded-corners','show','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-group-panel','closest','setTemplate','ck-ai-quick-actions-button__group-icon','_searchTextView','ck-ai-quick-actions-search-result-button_with-group','element','editing','eastSouth','add','2921460AwaqQu','_isMovingToNestedMenu','span','activeElement','focusTracker','26848GRPjPm','text','parent','addMany','get','_createActionButton','ck-ai-quick-actions-search','_createActionGroupButton'];_0x2217=function(){return _0x1d42e9;};return _0x2217();}import{AIQuickActionsFilteredListView as _0x5dc006}from'./aiquickactionsfilteredlistview.js';const Ts=_0x3fc8c7(0x18c),Rs=_0x3fc8c7(0x1ae);export class AIQuickActionsDropdownContentView extends _0x3bac1c{[_0x3fc8c7(0x191)];[_0x3fc8c7(0x1a6)];[_0x3fc8c7(0x132)]=null;[_0x3fc8c7(0x18f)]=[];[_0x3fc8c7(0x160)];[_0x3fc8c7(0x13c)];[_0x3fc8c7(0x184)];[_0x3fc8c7(0x188)];[_0x3fc8c7(0x199)];[_0x3fc8c7(0x15c)]=new Set();[_0x3fc8c7(0x15d)];constructor(_0x232109,_0x1c3282,_0x19ed93,_0xc7ed3b,_0x23e008=!0x1){const _0x1b0e0b=_0x3fc8c7,_0x38e457=_0x232109[_0x1b0e0b(0x172)];super(_0x38e457),this[_0x1b0e0b(0x191)]=_0xc7ed3b,this[_0x1b0e0b(0x15d)]=_0x23e008;const _0x58b259=this[_0x1b0e0b(0x167)](_0x232109,_0x1c3282,_0x19ed93);this[_0x1b0e0b(0x1a6)]=new _0x5dc006(_0x38e457,_0x58b259,this[_0x1b0e0b(0x18f)]),this[_0x1b0e0b(0x1a6)][_0x1b0e0b(0x180)]=Ts,this[_0x1b0e0b(0x1a6)][_0x1b0e0b(0x175)][_0x1b0e0b(0x140)](_0x58b259),this[_0x1b0e0b(0x13c)]=new _0x29aab2(),this[_0x1b0e0b(0x184)]=new _0x576d75(),_0x23e008&&(this[_0x1b0e0b(0x132)]=this[_0x1b0e0b(0x15f)]()),this[_0x1b0e0b(0x188)]=_0x58b259,this[_0x1b0e0b(0x199)]=new _0x4ce5e4({'focusables':this[_0x1b0e0b(0x188)],'focusTracker':this[_0x1b0e0b(0x13c)],'keystrokeHandler':this[_0x1b0e0b(0x184)]}),_0x23e008&&this[_0x1b0e0b(0x132)]&&this[_0x1b0e0b(0x199)][_0x1b0e0b(0x166)](this[_0x1b0e0b(0x132)][_0x1b0e0b(0x199)]);const _0x1990e4=_0x23e008&&this[_0x1b0e0b(0x132)]?[this[_0x1b0e0b(0x132)]]:[this[_0x1b0e0b(0x1a6)]];this[_0x1b0e0b(0x160)]=new _0x2e4e92(_0x1990e4),this[_0x1b0e0b(0x130)]({'tag':_0x1b0e0b(0x17b),'attributes':{'class':['ck',_0x1b0e0b(0x186),_0x1b0e0b(0x1a8),_0x1b0e0b(0x1b1)],'dir':_0x38e457[_0x1b0e0b(0x16e)]},'children':this[_0x1b0e0b(0x160)]});}[_0x3fc8c7(0x15f)](){const _0x1226e9=_0x3fc8c7;return new _0xcdc736(this[_0x1226e9(0x172)],{'filteredView':this[_0x1226e9(0x1a6)],'queryView':{'label':_0x19fb5f(this[_0x1226e9(0x172)],_0x1226e9(0x150))},'class':_0x1226e9(0x143),'infoView':{'text':{'notFound':{'primary':_0x19fb5f(this[_0x1226e9(0x172)],_0x1226e9(0x14e))}}}});}[_0x3fc8c7(0x192)](){const _0x59640c=_0x3fc8c7;if(!this[_0x59640c(0x15d)]||!this[_0x59640c(0x132)]||!this[_0x59640c(0x132)][_0x59640c(0x161)][_0x59640c(0x194)][_0x59640c(0x134)])return!0x1;const _0x4bec54=this[_0x59640c(0x132)][_0x59640c(0x161)][_0x59640c(0x194)][_0x59640c(0x134)][_0x59640c(0x190)]?.[_0x59640c(0x13b)];return this[_0x59640c(0x132)][_0x59640c(0x161)][_0x59640c(0x194)][_0x59640c(0x134)][_0x59640c(0x187)](_0x4bec54);}[_0x3fc8c7(0x167)](_0x1bcdd1,_0x16eafd,_0x3101ae){const _0x5b85fd=_0x3fc8c7,_0xd9a07c=new _0x2e4e92();return _0x16eafd[_0x5b85fd(0x14c)](_0x6f46f7=>{const _0x2f5bed=_0x5b85fd;if(_0x2f5bed(0x197)in _0x6f46f7){const {listItem:_0x5c3af3}=this[_0x2f5bed(0x144)](_0x1bcdd1,_0x6f46f7,_0x3101ae);_0xd9a07c[_0x2f5bed(0x137)](_0x5c3af3),_0x6f46f7[_0x2f5bed(0x197)][_0x2f5bed(0x14c)](_0x22b527=>{const _0x438e54=_0x2f5bed;this[_0x438e54(0x142)](_0x1bcdd1,_0x22b527,_0x6f46f7[_0x438e54(0x1a2)],_0x6f46f7[_0x438e54(0x18e)]);const {listItem:_0x3df5ca,highlightViews:_0x311c93}=this[_0x438e54(0x183)](_0x1bcdd1,_0x22b527,_0x6f46f7[_0x438e54(0x1a2)],_0x6f46f7[_0x438e54(0x18e)]);this[_0x438e54(0x18f)][_0x438e54(0x147)]({'item':_0x3df5ca,'label':_0x22b527[_0x438e54(0x17c)],'groupLabel':_0x6f46f7[_0x438e54(0x1a2)],'highlightViews':_0x311c93});});}else{const {listItem:_0x41b82e}=this[_0x2f5bed(0x142)](_0x1bcdd1,_0x6f46f7);_0xd9a07c[_0x2f5bed(0x137)](_0x41b82e);const _0x4bdb95=_0x41b82e[_0x2f5bed(0x160)][_0x2f5bed(0x19d)];if(_0x4bdb95){const {listItem:_0x13a629,highlightViews:_0x1f7f07}=this[_0x2f5bed(0x183)](_0x1bcdd1,_0x6f46f7);this[_0x2f5bed(0x18f)][_0x2f5bed(0x147)]({'item':_0x13a629,'label':_0x4bdb95[_0x2f5bed(0x1a2)]||'','highlightViews':_0x1f7f07});}}}),_0xd9a07c;}[_0x3fc8c7(0x142)](_0xf47cc2,_0x420dc5,_0x4cb5f7,_0x226169){const _0x44f92e=_0x3fc8c7,_0x3b5052=new _0x1da524(this[_0x44f92e(0x172)]);if(_0x4cb5f7&&_0x226169){const _0x4bfba1=new _0x43e7cb(this[_0x44f92e(0x172)]),_0x4c826e=_0x4bfba1[_0x44f92e(0x16f)],_0x5cea4d=new _0x26b71b();_0x5cea4d[_0x44f92e(0x13e)]=_0x420dc5[_0x44f92e(0x17c)];const _0x1bc0c3=new _0x26b71b();_0x1bc0c3[_0x44f92e(0x13e)]=_0x4cb5f7;const _0x357423=new _0x486394();_0x357423[_0x44f92e(0x149)]=_0x226169,_0x357423[_0x44f92e(0x16b)]({'attributes':{'class':_0x44f92e(0x131)}});const _0x6404ff=new _0x3bac1c(this[_0x44f92e(0x172)]);_0x6404ff[_0x44f92e(0x130)]({'tag':_0x44f92e(0x13a),'attributes':{'class':_0x44f92e(0x1a4)},'children':[{'text':'\x20('}]});const _0x1cbbaa=new _0x3bac1c(this[_0x44f92e(0x172)]);return _0x1cbbaa[_0x44f92e(0x130)]({'tag':_0x44f92e(0x13a),'attributes':{'class':_0x44f92e(0x189)},'children':[{'text':')'}]}),_0x4bfba1[_0x44f92e(0x17d)]({'label':_0x420dc5[_0x44f92e(0x17c)]+'\x20('+_0x4cb5f7+')','withText':!0x0,'role':_0x44f92e(0x1ae),'class':_0x44f92e(0x154),'tooltip':!0x1}),_0x4bfba1[_0x44f92e(0x130)]({'tag':_0x44f92e(0x18a),'attributes':{'class':['ck',_0x44f92e(0x168),_0x44f92e(0x155),_0x44f92e(0x16c),_0x44f92e(0x19a)],'type':_0x44f92e(0x18a),'role':_0x44f92e(0x1ae),'tabindex':'-1'},'children':[_0x5cea4d,_0x6404ff,_0x357423,_0x1bc0c3,_0x1cbbaa],'on':{'mouseenter':_0x4c826e['to'](()=>{const _0x21273a=_0x44f92e;this[_0x21273a(0x192)]()||_0x4bfba1[_0x21273a(0x14b)]();}),'click':_0x4c826e['to'](()=>{const _0x20ba26=_0x44f92e;_0x4bfba1[_0x20ba26(0x19c)](_0x20ba26(0x145));})}}),_0x4bfba1['on'](_0x44f92e(0x145),()=>{const _0x58f66a=_0x44f92e;_0xf47cc2[_0x58f66a(0x135)][_0x58f66a(0x17a)][_0x58f66a(0x14b)](),_0xf47cc2[_0x58f66a(0x19b)][_0x58f66a(0x145)](_0x58f66a(0x181),_0x420dc5);}),_0x3b5052[_0x44f92e(0x160)][_0x44f92e(0x137)](_0x4bfba1),{'listItem':_0x3b5052,'highlightViews':[_0x5cea4d,_0x1bc0c3]};}{const _0x1efd78=new _0x394771(),_0x5809a3=new _0x43e7cb(this[_0x44f92e(0x172)],_0x1efd78),_0x811d3b=_0x5809a3[_0x44f92e(0x16f)],_0x4769d9=_0x420dc5[_0x44f92e(0x18e)]??_0x420dc5[_0x44f92e(0x13f)]?.[_0x44f92e(0x18e)],_0x1b6add=void 0x0!==_0x420dc5[_0x44f92e(0x18e)];return _0x5809a3[_0x44f92e(0x17d)]({'label':_0x420dc5[_0x44f92e(0x17c)],'withText':!0x0,'role':_0x44f92e(0x1ae),'icon':_0x1b6add?_0x4769d9??_0x4f2a7f:void 0x0,'tooltip':!0x1,'class':_0x44f92e(0x16c)}),_0x5809a3[_0x44f92e(0x16b)]({'on':{'mouseenter':_0x811d3b['to'](()=>{const _0x233eda=_0x44f92e;this[_0x233eda(0x192)]()||_0x5809a3[_0x233eda(0x14b)]();})}}),_0x5809a3['on'](_0x44f92e(0x145),()=>{const _0x5abfac=_0x44f92e;_0xf47cc2[_0x5abfac(0x135)][_0x5abfac(0x17a)][_0x5abfac(0x14b)](),_0xf47cc2[_0x5abfac(0x19b)][_0x5abfac(0x145)](_0x5abfac(0x181),_0x420dc5);}),_0x3b5052[_0x44f92e(0x160)][_0x44f92e(0x137)](_0x5809a3),{'listItem':_0x3b5052,'highlightViews':[_0x1efd78]};}}[_0x3fc8c7(0x183)](_0x3bbe77,_0x225e1b,_0x442c1e,_0x3e19bf){const _0x27a4bd=_0x3fc8c7;return _0x442c1e&&_0x3e19bf?this[_0x27a4bd(0x182)](_0x3bbe77,_0x225e1b,_0x442c1e,_0x3e19bf):this[_0x27a4bd(0x19e)](_0x3bbe77,_0x225e1b);}[_0x3fc8c7(0x182)](_0x44eecc,_0x40db7d,_0x31c46e,_0x3a4742){const _0x1c51ad=_0x3fc8c7,_0x14c572=new _0x1da524(this[_0x1c51ad(0x172)]),_0x4b6a6a=new _0x43e7cb(this[_0x1c51ad(0x172)]),_0x8f8eb9=_0x4b6a6a[_0x1c51ad(0x16f)],{view:_0x54e0cb,highlightView:_0x3ba234}=this[_0x1c51ad(0x153)](_0x31c46e,_0x3a4742),{view:_0x9d85f6,highlightView:_0x282d13}=this[_0x1c51ad(0x17e)](_0x40db7d[_0x1c51ad(0x17c)]),_0x37ca02=this[_0x1c51ad(0x15e)](_0x54e0cb,_0x9d85f6);return _0x4b6a6a[_0x1c51ad(0x17d)]({'label':_0x40db7d[_0x1c51ad(0x17c)],'withText':!0x0,'role':_0x1c51ad(0x1ae),'class':_0x1c51ad(0x15a),'tooltip':!0x1}),_0x4b6a6a[_0x1c51ad(0x130)]({'tag':_0x1c51ad(0x18a),'attributes':{'class':['ck',_0x1c51ad(0x168),_0x1c51ad(0x155),_0x1c51ad(0x16c),_0x1c51ad(0x157),_0x1c51ad(0x133)],'type':_0x1c51ad(0x18a),'role':_0x1c51ad(0x1ae),'tabindex':'-1'},'children':[_0x37ca02],'on':{'mouseenter':_0x8f8eb9['to'](()=>{const _0x2f9a61=_0x1c51ad;this[_0x2f9a61(0x192)]()||_0x4b6a6a[_0x2f9a61(0x14b)]();}),'click':_0x8f8eb9['to'](()=>{const _0x96f454=_0x1c51ad;this[_0x96f454(0x196)](_0x4b6a6a);})}}),this[_0x1c51ad(0x19f)](_0x4b6a6a,_0x44eecc,_0x40db7d),_0x14c572[_0x1c51ad(0x160)][_0x1c51ad(0x137)](_0x4b6a6a),{'listItem':_0x14c572,'highlightViews':[_0x3ba234,_0x282d13]};}[_0x3fc8c7(0x19e)](_0x45bd86,_0x3c494e){const _0x4f61d5=_0x3fc8c7,_0x953856=new _0x1da524(this[_0x4f61d5(0x172)]),_0x15bec4=new _0x394771(),_0x130673=new _0x43e7cb(this[_0x4f61d5(0x172)],_0x15bec4),_0x1f238f=_0x130673[_0x4f61d5(0x16f)];return _0x130673[_0x4f61d5(0x17d)]({'label':_0x3c494e[_0x4f61d5(0x17c)],'withText':!0x0,'role':_0x4f61d5(0x1ae),'icon':void 0x0,'tooltip':!0x1,'class':_0x4f61d5(0x165)}),_0x130673[_0x4f61d5(0x16b)]({'on':{'mouseenter':_0x1f238f['to'](()=>{const _0x398cd3=_0x4f61d5;this[_0x398cd3(0x192)]()||_0x130673[_0x398cd3(0x14b)]();})}}),this[_0x4f61d5(0x19f)](_0x130673,_0x45bd86,_0x3c494e),_0x953856[_0x4f61d5(0x160)][_0x4f61d5(0x137)](_0x130673),{'listItem':_0x953856,'highlightViews':[_0x15bec4]};}[_0x3fc8c7(0x153)](_0x185431,_0x1e24f1){const _0x13e2db=_0x3fc8c7,_0x12b17f=new _0x3bac1c(this[_0x13e2db(0x172)]),_0x4920eb=new _0x486394();_0x4920eb[_0x13e2db(0x149)]=_0x1e24f1,_0x4920eb[_0x13e2db(0x16b)]({'attributes':{'class':_0x13e2db(0x131)}});const _0x2f3968=new _0x26b71b();return _0x2f3968[_0x13e2db(0x13e)]=_0x185431,_0x12b17f[_0x13e2db(0x130)]({'tag':_0x13e2db(0x17b),'attributes':{'class':_0x13e2db(0x163)},'children':[_0x4920eb,_0x2f3968]}),{'view':_0x12b17f,'highlightView':_0x2f3968};}[_0x3fc8c7(0x17e)](_0x416b79){const _0x41a3b9=_0x3fc8c7,_0x35507b=new _0x3bac1c(this[_0x41a3b9(0x172)]),_0x1c57dd=new _0x26b71b();return _0x1c57dd[_0x41a3b9(0x13e)]=_0x416b79,_0x35507b[_0x41a3b9(0x130)]({'tag':_0x41a3b9(0x17b),'attributes':{'class':_0x41a3b9(0x1ac)},'children':[_0x1c57dd]}),{'view':_0x35507b,'highlightView':_0x1c57dd};}[_0x3fc8c7(0x15e)](_0x1e6a77,_0x3090d9){const _0x30bf90=_0x3fc8c7,_0x133af2=new _0x3bac1c(this[_0x30bf90(0x172)]);return _0x133af2[_0x30bf90(0x130)]({'tag':_0x30bf90(0x17b),'attributes':{'class':_0x30bf90(0x171)},'children':[_0x1e6a77,_0x3090d9]}),_0x133af2;}[_0x3fc8c7(0x19f)](_0x170863,_0x2f2f8f,_0x140ef9){const _0x2c75fa=_0x3fc8c7;_0x170863['on'](_0x2c75fa(0x145),()=>{const _0x42c74b=_0x2c75fa;_0x2f2f8f[_0x42c74b(0x135)][_0x42c74b(0x17a)][_0x42c74b(0x14b)](),_0x2f2f8f[_0x42c74b(0x19b)][_0x42c74b(0x145)](_0x42c74b(0x181),_0x140ef9);});}[_0x3fc8c7(0x144)](_0x4ddaf2,_0x45d027,_0x4bdff6){const _0x211775=_0x3fc8c7,_0x39a02a=new _0x1da524(this[_0x211775(0x172)]),_0x3cbbcd=new _0x394771(),_0xb0666b=new _0x134ded(this[_0x211775(0x172)],_0x3cbbcd),_0x282ab8=_0xb0666b[_0x211775(0x16f)],_0x1d1541=this[_0x211775(0x193)](_0x4bdff6),_0x566900=this[_0x211775(0x1a7)](_0x4ddaf2,_0x45d027[_0x211775(0x197)],_0x4bdff6);_0xb0666b[_0x211775(0x17d)]({'label':_0x45d027[_0x211775(0x1a2)],'withText':!0x0,'role':Rs,'icon':_0x45d027[_0x211775(0x18e)]??_0x4f2a7f,'isEnabled':_0x45d027[_0x211775(0x197)][_0x211775(0x1a0)](_0x56b1e7=>_0x56b1e7[_0x211775(0x146)])}),_0xb0666b[_0x211775(0x16b)]({'on':{'mouseenter':_0x282ab8['to'](()=>{const _0x5837b3=_0x211775;this[_0x5837b3(0x192)]()||_0xb0666b[_0x5837b3(0x14b)]();})}});const _0x4744c9=new _0x15351d(this[_0x211775(0x172)]);return _0x4744c9[_0x211775(0x16b)]({'attributes':{'class':['ck',_0x211775(0x186),_0x211775(0x12e),_0x211775(0x1aa)]},'on':{'keydown':_0x282ab8['to'](_0x4a44d2=>{const _0x9efaaf=_0x211775;this[_0x9efaaf(0x14a)](_0x4a44d2,_0x1d1541,_0xb0666b,_0x4744c9);})}}),_0xb0666b[_0x211775(0x1a9)](_0x211775(0x148))['to'](_0x4744c9,_0x211775(0x159)),this[_0x211775(0x191)][_0x211775(0x137)](_0x4744c9),_0x4744c9[_0x211775(0x149)][_0x211775(0x137)](_0x566900),this[_0x211775(0x1b0)](_0xb0666b,_0x4744c9),_0x39a02a[_0x211775(0x160)][_0x211775(0x137)](_0xb0666b),{'listItem':_0x39a02a,'highlightView':_0x3cbbcd};}[_0x3fc8c7(0x1a7)](_0x59fe06,_0x9420f5,_0x355be3){const _0x26cb15=_0x3fc8c7,_0x318a6e=new _0x3fb5b0(this[_0x26cb15(0x172)]);return _0x318a6e[_0x26cb15(0x16b)]({'attributes':{'class':['ck',_0x26cb15(0x186),_0x26cb15(0x195),_0x26cb15(0x14d)]}}),_0x9420f5[_0x26cb15(0x14c)](_0x419c9f=>{const _0x27b368=_0x26cb15,_0x4151d2=new _0x1da524(this[_0x27b368(0x172)]),_0x5dd3b6=_0x53c1ea({'editor':_0x59fe06,'action':_0x419c9f,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x27b368(0x192)]()})();_0x4151d2[_0x27b368(0x160)][_0x27b368(0x137)](_0x5dd3b6),_0x355be3[_0x27b368(0x13c)][_0x27b368(0x137)](_0x5dd3b6),_0x318a6e[_0x27b368(0x175)][_0x27b368(0x137)](_0x4151d2);}),_0x318a6e;}[_0x3fc8c7(0x1b0)](_0x4071b4,_0x4f2e9b){const _0x5c8c97=_0x3fc8c7,_0x445a94=_0x4071b4[_0x5c8c97(0x16f)],_0x5d3f1f=this[_0x5c8c97(0x177)](_0x4071b4);_0x4071b4[_0x5c8c97(0x16b)]({'attributes':{'class':[_0x5c8c97(0x162)]},'on':{'mouseenter':_0x445a94['to'](()=>{const _0x28a4e0=_0x5c8c97;this[_0x28a4e0(0x185)](_0x4f2e9b,_0x4071b4);}),'mouseleave':_0x445a94['to'](_0x59a0f8=>{const _0x216355=_0x5c8c97,_0xce56b5=_0x59a0f8[_0x216355(0x156)];this[_0x216355(0x139)](_0xce56b5,_0x4f2e9b)||this[_0x216355(0x179)](_0x4f2e9b);}),'keydown':_0x445a94['to'](_0x24cb76=>{const _0x4db371=_0x5c8c97;_0x24cb76[_0x4db371(0x158)]==_0x5d3f1f&&(this[_0x4db371(0x185)](_0x4f2e9b,_0x4071b4),_0x4f2e9b[_0x4db371(0x149)][_0x4db371(0x141)](0x0)[_0x4db371(0x14b)]());})}}),_0x4f2e9b['on'](_0x5c8c97(0x1a3),()=>{const _0x20b89a=_0x5c8c97;_0x4f2e9b[_0x20b89a(0x134)]?.[_0x20b89a(0x1a5)](_0x20b89a(0x17f),_0x51db62=>{const _0x2b4410=_0x20b89a,_0x21a0fa=_0x51db62[_0x2b4410(0x156)];_0x4071b4[_0x2b4410(0x134)]?.[_0x2b4410(0x187)](_0x21a0fa)||this[_0x2b4410(0x139)](_0x21a0fa,_0x4f2e9b)||this[_0x2b4410(0x179)](_0x4f2e9b);});});}[_0x3fc8c7(0x185)](_0x4ba31d,_0x18128f){const _0x1e1552=_0x3fc8c7;this[_0x1e1552(0x15c)][_0x1e1552(0x14c)](_0x2d5fe3=>{const _0x28c4b0=_0x1e1552;_0x2d5fe3!==_0x4ba31d&&_0x2d5fe3[_0x28c4b0(0x159)]&&_0x2d5fe3[_0x28c4b0(0x18d)]();}),_0x4ba31d[_0x1e1552(0x1b2)](),_0x4ba31d[_0x1e1552(0x151)]({'positions':[_0x5a64dc[_0x1e1552(0x136)]],'target':_0x18128f[_0x1e1552(0x134)],'fitInViewport':!0x0}),this[_0x1e1552(0x15c)][_0x1e1552(0x137)](_0x4ba31d);}[_0x3fc8c7(0x179)](_0x3567d6){const _0x4f70ba=_0x3fc8c7;_0x3567d6[_0x4f70ba(0x18d)](),this[_0x4f70ba(0x15c)][_0x4f70ba(0x1ab)](_0x3567d6);}[_0x3fc8c7(0x169)](){const _0x3f04d9=_0x3fc8c7;this[_0x3f04d9(0x15c)][_0x3f04d9(0x14c)](_0x1ce8b9=>_0x1ce8b9[_0x3f04d9(0x18d)]()),this[_0x3f04d9(0x15c)][_0x3f04d9(0x178)]();}[_0x3fc8c7(0x139)](_0x2be2a0,_0x124e87){const _0x32a4f2=_0x3fc8c7;if(!_0x2be2a0)return!0x1;if(_0x124e87[_0x32a4f2(0x134)]?.[_0x32a4f2(0x187)](_0x2be2a0))return!0x0;const _0xc31f5f=_0x2be2a0;return _0xc31f5f[_0x32a4f2(0x12f)]&&(null!==_0xc31f5f[_0x32a4f2(0x12f)](_0x32a4f2(0x152))||null!==_0xc31f5f[_0x32a4f2(0x12f)](_0x32a4f2(0x16a))||null!==_0xc31f5f[_0x32a4f2(0x12f)](_0x32a4f2(0x1b3)));}[_0x3fc8c7(0x170)](){const _0x26ebaa=_0x3fc8c7;this[_0x26ebaa(0x132)]&&this[_0x26ebaa(0x132)][_0x26ebaa(0x173)]();}[_0x3fc8c7(0x176)](){const _0x4b27c3=_0x3fc8c7;this[_0x4b27c3(0x169)](),this[_0x4b27c3(0x191)][_0x4b27c3(0x16d)](),super[_0x4b27c3(0x176)]();}[_0x3fc8c7(0x14b)](){const _0x3e23a6=_0x3fc8c7;this[_0x3e23a6(0x132)]?this[_0x3e23a6(0x132)][_0x3e23a6(0x14b)]():this[_0x3e23a6(0x1a6)][_0x3e23a6(0x14b)]();}[_0x3fc8c7(0x193)](_0x35dedf){const _0x11e49f=_0x3fc8c7;return _0x11e49f(0x1a1)===_0x35dedf[_0x11e49f(0x172)][_0x11e49f(0x16e)]?_0x11e49f(0x18b):_0x11e49f(0x198);}[_0x3fc8c7(0x177)](_0x344f73){const _0xaa5b2c=_0x3fc8c7;return _0xaa5b2c(0x1a1)===_0x344f73[_0xaa5b2c(0x172)][_0xaa5b2c(0x16e)]?_0xaa5b2c(0x198):_0xaa5b2c(0x18b);}[_0x3fc8c7(0x14a)](_0x146ff2,_0x5a4dae,_0x34ff7c,_0x1376b0){const _0x4f0f3c=_0x3fc8c7;_0x146ff2[_0x4f0f3c(0x158)]==_0x5a4dae&&(_0x34ff7c[_0x4f0f3c(0x14b)](),this[_0x4f0f3c(0x179)](_0x1376b0));}[_0x3fc8c7(0x196)](_0x3a1653){const _0x36717a=_0x3fc8c7;_0x3a1653[_0x36717a(0x19c)](_0x36717a(0x145));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1b8fb9,_0x5e5cfd){const _0x3cfc07=_0x2b3a,_0x4df663=_0x1b8fb9();while(!![]){try{const _0x30bdb2=parseInt(_0x3cfc07(0x1fd))/0x1*(parseInt(_0x3cfc07(0x203))/0x2)+parseInt(_0x3cfc07(0x1e9))/0x3*(parseInt(_0x3cfc07(0x1ff))/0x4)+-parseInt(_0x3cfc07(0x1ed))/0x5+parseInt(_0x3cfc07(0x1e8))/0x6+-parseInt(_0x3cfc07(0x1fb))/0x7+parseInt(_0x3cfc07(0x1e1))/0x8*(-parseInt(_0x3cfc07(0x202))/0x9)+parseInt(_0x3cfc07(0x1f0))/0xa*(parseInt(_0x3cfc07(0x1e3))/0xb);if(_0x30bdb2===_0x5e5cfd)break;else _0x4df663['push'](_0x4df663['shift']());}catch(_0x233156){_0x4df663['push'](_0x4df663['shift']());}}}(_0x506c,0x6d072));import{createDropdown as _0x27d818}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4f5915}from'@ckeditor/ckeditor5-icons';function _0x506c(){const _0x301704=['ai-quick-actions-dropdown-selection','locale','plugins','selection','resetSearch','document','4861808FWIBEi','buttonView','33COyzdJ','hideFakeVisualSelection','3553208tuBIGF','add','getRanges','9VpRmnP','31380CfqzmT','2863936LJGryx','AIEditing','11mcnIAL','icon','children','set','panelView','3218622xPdmCB','3VLhiPG','showFakeVisualSelection','model','has','3385070TwGvcg','ck-ai-quick-actions-dropdown','length','2336190AgfiYD','change:isOpen','from','get','label'];_0x506c=function(){return _0x301704;};return _0x506c();}import{AIQuickActionsDropdownContentView as _0x4e7452}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x5af8a8}from'../../aicore/aiediting.js';function _0x2b3a(_0x1d17e8,_0x5d284a){const _0x506cf0=_0x506c();return _0x2b3a=function(_0x2b3a63,_0x3248fd){_0x2b3a63=_0x2b3a63-0x1e1;let _0x8d4e9f=_0x506cf0[_0x2b3a63];return _0x8d4e9f;},_0x2b3a(_0x1d17e8,_0x5d284a);}export function aiQuickActionsDropdownCreator(_0x5a0f19){const {editor:_0xe8a8a3,content:_0x438a81,buttonDefinition:_0x429db8,bodyCollection:_0x59701b,hasSearch:_0x28d8a3=!0x1}=_0x5a0f19;return()=>{const _0x5e8eb0=_0x2b3a,_0x2b6688=_0xe8a8a3[_0x5e8eb0(0x1f6)],_0xf54d9b=_0x27d818(_0x2b6688);_0xf54d9b[_0x5e8eb0(0x1fc)][_0x5e8eb0(0x1e6)]({'icon':_0x429db8[_0x5e8eb0(0x1e4)]??_0x4f5915,'label':_0x429db8[_0x5e8eb0(0x1f4)],'tooltip':!0x0}),_0xf54d9b[_0x5e8eb0(0x1e6)]({'class':_0x5e8eb0(0x1ee)});const _0x2b0337=new _0x4e7452(_0xe8a8a3,_0x438a81,_0xf54d9b,_0x59701b,_0x28d8a3);if(_0xf54d9b[_0x5e8eb0(0x1e7)][_0x5e8eb0(0x1e5)][_0x5e8eb0(0x200)](_0x2b0337),_0x28d8a3){const _0x8c6e55=_0x5e8eb0(0x1f5);_0xf54d9b['on'](_0x5e8eb0(0x1f1),(_0x1d82eb,_0x517187,_0x48277d)=>{const _0x535772=_0x5e8eb0;if(_0x48277d){if(_0xe8a8a3[_0x535772(0x1f7)][_0x535772(0x1ec)](_0x535772(0x1e2))){const _0x363a01=_0xe8a8a3[_0x535772(0x1f7)][_0x535772(0x1f3)](_0x5af8a8),_0x547692=_0xe8a8a3[_0x535772(0x1eb)][_0x535772(0x1fa)][_0x535772(0x1f8)],_0x38aa8c=Array[_0x535772(0x1f2)](_0x547692[_0x535772(0x201)]());_0x38aa8c[_0x535772(0x1ef)]>0x0&&_0x363a01[_0x535772(0x1ea)](_0x38aa8c,_0x8c6e55,!0x1,!0x0);}}else _0xe8a8a3[_0x535772(0x1f7)][_0x535772(0x1ec)](_0x535772(0x1e2))&&_0xe8a8a3[_0x535772(0x1f7)][_0x535772(0x1f3)](_0x5af8a8)[_0x535772(0x1fe)](_0x8c6e55),_0x2b0337[_0x535772(0x1f9)]();});}return _0xf54d9b;};}
|