@ckeditor/ckeditor5-ai 47.3.0-alpha.3 → 47.3.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.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/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/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/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.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/aiediting.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/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/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/aitogglebutton/aitogglebuttonui.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/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.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/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/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1de6f3,_0x4e5ec4){const _0x11fd9c=_0x1584,_0x425f75=_0x1de6f3();while(!![]){try{const _0x66d068=parseInt(_0x11fd9c(0x99))/0x1+-parseInt(_0x11fd9c(0x8b))/0x2+-parseInt(_0x11fd9c(0x97))/0x3*(parseInt(_0x11fd9c(0x8e))/0x4)+parseInt(_0x11fd9c(0x8f))/0x5+-parseInt(_0x11fd9c(0x9b))/0x6*(-parseInt(_0x11fd9c(0x8a))/0x7)+-parseInt(_0x11fd9c(0x93))/0x8+parseInt(_0x11fd9c(0x96))/0x9;if(_0x66d068===_0x4e5ec4)break;else _0x425f75['push'](_0x425f75['shift']());}catch(_0x5eccc8){_0x425f75['push'](_0x425f75['shift']());}}}(_0x36cd,0xdaf0f));import{parseDocument as _0x54e7b1}from'htmlparser2';import{append as _0x427765,appendChild as _0x1dcdfa,find as _0x1b781d,findAll as _0x2080ad,findOne as _0x40d471,getChildren as _0x572ded,isComment as _0x41c65e,isTag as _0x5f0149,prepend as _0x530977,prependChild as _0x2b2ef4,removeElement as _0xcc3068,replaceElement as _0x4c2af0,textContent as _0x1578f8,getParent as _0x4a85a8,hasChildren as _0x4298e2}from'domutils';import _0xb37256 from'dom-serializer';import{cloneNode as _0x2e4c98,isDocument as _0xbcc221,isText as _0x2da110,Element as _0x3a04ee,Text as _0x213fe5,Document as _0xafc938,NodeWithChildren as _0x19fe56}from'domhandler';export{_0x2e4c98 as cloneNode,_0x1b781d as find,_0x40d471 as findOne,_0x2080ad as findAll,_0x572ded as getChildren,_0x4a85a8 as getParent,_0x41c65e as isComment,_0xbcc221 as isDocument,_0x5f0149 as isTag,_0x2da110 as isText,_0x427765 as append,_0x1dcdfa as appendChild,_0x530977 as prepend,_0x2b2ef4 as prependChild,_0xb37256 as render,_0xcc3068 as removeElement,_0x4c2af0 as replaceElement,_0x1578f8 as textContent,_0x4298e2 as hasChildren,_0x3a04ee as Element,_0xafc938 as Document,_0x19fe56 as NodeWithChildren,_0x213fe5 as Text};export function parse(_0x192bcc){return _0x54e7b1(_0x192bcc);}export function serialize(_0x14ae41){return _0xb37256(_0x14ae41);}export function findByAttribute(_0x4c7c8c,_0x301d2f,_0x38c341){const _0x2d78dc=_0x1584,_0x4ca9ff=null!==_0x301d2f?_0x11d68d=>_0x11d68d[_0x2d78dc(0x89)][_0x4c7c8c]===_0x301d2f:_0x149f9a=>Boolean(_0x149f9a[_0x2d78dc(0x89)][_0x4c7c8c]);return _0x40d471(_0xb6bad2=>_0x5f0149(_0xb6bad2)&&_0x4ca9ff(_0xb6bad2),_0x38c341);}export function findAllByAttribute(_0x2b6508,_0x53c6ad,_0x474f11){const _0x59d4e5=_0x1584,_0x5ea2ee=null!==_0x53c6ad?_0x1733bc=>_0x1733bc[_0x59d4e5(0x89)][_0x2b6508]===_0x53c6ad:_0x29a9d8=>Boolean(_0x29a9d8[_0x59d4e5(0x89)][_0x2b6508]);return _0x2080ad(_0x3b39eb=>_0x5f0149(_0x3b39eb)&&_0x5ea2ee(_0x3b39eb),_0x474f11);}export function findAllComments(_0x1d1f5e){return _0x1b781d(_0x5e4e3d=>_0x41c65e(_0x5e4e3d),_0x1d1f5e,!0x0,0x1/0x0);}export function getAttribute(_0x475b06,_0xa88c8e){const _0x183418=_0x1584;return _0x475b06&&_0x5f0149(_0x475b06)?_0x475b06[_0x183418(0x89)][_0xa88c8e]:null;}export function setAttribute(_0x14bc7b,_0x76f61e,_0x2b9241){const _0xddec0d=_0x1584;_0x5f0149(_0x14bc7b)&&(null===_0x2b9241?delete _0x14bc7b[_0xddec0d(0x89)][_0x76f61e]:_0x14bc7b[_0xddec0d(0x89)][_0x76f61e]=_0x2b9241);}export function insertElement(_0x27888b,_0x536265,_0x3dcf05){const _0x1e54ec=_0x1584,_0x2584e1=_0x536265[_0x1e54ec(0x88)](!0x0);_0x1e54ec(0x91)===_0x3dcf05?_0x530977(_0x27888b,_0x2584e1):_0x1e54ec(0x86)===_0x3dcf05?_0x2b2ef4(_0x27888b,_0x2584e1):_0x1e54ec(0x9a)===_0x3dcf05?_0x1dcdfa(_0x27888b,_0x2584e1):_0x1e54ec(0x92)===_0x3dcf05&&_0x427765(_0x27888b,_0x2584e1);}function _0x1584(_0x324a42,_0x1c4941){const _0x36cd03=_0x36cd();return _0x1584=function(_0x1584c7,_0x2c3955){_0x1584c7=_0x1584c7-0x86;let _0xd2778b=_0x36cd03[_0x1584c7];return _0xd2778b;},_0x1584(_0x324a42,_0x1c4941);}export function moveElement(_0x12c352,_0x9669cf){_0xcc3068(_0x12c352),_0x4c2af0(_0x9669cf,_0x12c352);}export function clone(_0x57f2a4){const _0x1c866d=_0x1584;return _0x57f2a4[_0x1c866d(0x88)](!0x0);}export function getParents(_0x586729){const _0x1cfdae=_0x1584,_0x5811fc=[];let _0x245444=_0x586729;for(;_0x245444;)_0x245444=_0x4a85a8(_0x245444),_0x245444&&_0x5811fc[_0x1cfdae(0x90)](_0x245444);return _0x5811fc;}export function normalizeHTML(_0x9ff2d1){const _0x5f0097=_0x1584;return _0x9ff2d1[_0x5f0097(0x8d)](/^\s+/gm,'')[_0x5f0097(0x8d)](/\s+$/gm,'')[_0x5f0097(0x8d)](/\n*/g,'')[_0x5f0097(0x8d)](/\s+/g,'\x20')[_0x5f0097(0x8d)](/>\s*</g,'><');}export function areNodesSame(_0x2d7dad,_0x2f02d5){return normalizeHTML(serialize(_0x2d7dad))===normalizeHTML(serialize(_0x2f02d5));}export function getNodeNestingLevel(_0x384ec6){const _0x57bfdd=_0x1584;let _0x4a7a47=0x0;for(;_0x384ec6[_0x57bfdd(0x98)];)_0x384ec6=_0x384ec6[_0x57bfdd(0x98)],_0x4a7a47++;return _0x4a7a47;}export function removeElementsAfter(_0x1931f9){const _0x2c8799=_0x1584,_0x5edada=[];let _0x483e32=_0x1931f9[_0x2c8799(0x9d)];for(;_0x483e32;)_0x5edada[_0x2c8799(0x90)](_0x483e32),_0x483e32=_0x483e32[_0x2c8799(0x9d)];_0x5edada[_0x2c8799(0x95)](_0x49ed8a=>{_0xcc3068(_0x49ed8a);});}function _0x36cd(){const _0x4a078c=['3273320vNRYEG','reverse','replace','116IjLOCa','3493615AYcqul','push','beforebegin','afterend','6304904SBCoVd','indexOf','forEach','12083121cKSCXp','123021YapGWX','parentNode','1246470lopUnD','beforeend','6bPyckN','map','nextSibling','afterbegin','slice','cloneNode','attribs','8560979rSPqDM'];_0x36cd=function(){return _0x4a078c;};return _0x36cd();}export function getNodePath(_0x3d40a3){const _0x461f67=_0x1584;return[_0x3d40a3,...getParents(_0x3d40a3)][_0x461f67(0x87)](0x0,-0x1)[_0x461f67(0x9c)](_0x4cf945=>{const _0x50f60f=_0x461f67,_0x21828f=_0x4a85a8(_0x4cf945);return _0x572ded(_0x21828f)[_0x50f60f(0x94)](_0x4cf945);})[_0x461f67(0x8c)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x176ba4=_0x4e59;(function(_0x3d0ecf,_0x5b5266){const _0x34317b=_0x4e59,_0x3fa154=_0x3d0ecf();while(!![]){try{const _0x306e84=parseInt(_0x34317b(0x1f3))/0x1*(parseInt(_0x34317b(0x1bb))/0x2)+-parseInt(_0x34317b(0x1cf))/0x3*(parseInt(_0x34317b(0x1d4))/0x4)+parseInt(_0x34317b(0x1db))/0x5+parseInt(_0x34317b(0x1cb))/0x6+parseInt(_0x34317b(0x1f4))/0x7+parseInt(_0x34317b(0x1ba))/0x8+-parseInt(_0x34317b(0x1be))/0x9;if(_0x306e84===_0x5b5266)break;else _0x3fa154['push'](_0x3fa154['shift']());}catch(_0x54bfdc){_0x3fa154['push'](_0x3fa154['shift']());}}}(_0x1ab6,0x3a59a));import _0x506c57 from'morphdom';import{NodeWithChildren as _0x2bffe1,Text as _0x31f7a0,Element as _0x2667db,isText as _0x4920c9,isDocument as _0x1fb635,isTag as _0xd9b535,cloneNode as _0x2d62ed,getChildren as _0x3b08f1,prepend as _0x368b28,removeElement as _0x4734ef,textContent as _0x3561a5,render as _0x36e78f}from'./htmlparser.js';import{logWarning as _0x18c8f0}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x176ba4(0x1c3)];[_0x176ba4(0x1d9)]=!0x1;[_0x176ba4(0x1df)]=null;[_0x176ba4(0x1ee)]=[];[_0x176ba4(0x1e7)]=0x0;[_0x176ba4(0x1da)]=null;constructor(_0x5ca913){const _0x3f9214=_0x176ba4;this[_0x3f9214(0x1c3)]={'delay':_0x5ca913[_0x3f9214(0x1de)]??0x14,'textNodeStyle':_0x5ca913[_0x3f9214(0x1ce)],'onStreamUpdate':_0x5ca913[_0x3f9214(0x1cd)]||(()=>{})};}async[_0x176ba4(0x1ea)]({document:_0x483d99,targetElement:_0x1709b8,abortSignal:_0x395bf0}){const _0xada2ce=_0x176ba4;this[_0xada2ce(0x1d9)]&&this[_0xada2ce(0x1d2)](),_0x395bf0?.[_0xada2ce(0x1e9)](_0xada2ce(0x1d0),this[_0xada2ce(0x1d2)][_0xada2ce(0x1c4)](this)),this[_0xada2ce(0x1df)]=_0x2d62ed(_0x483d99,!0x0),this[_0xada2ce(0x1ee)]=this[_0xada2ce(0x1e5)](),this[_0xada2ce(0x1d9)]=!0x0,this[_0xada2ce(0x1e7)]>this[_0xada2ce(0x1ee)][_0xada2ce(0x1ed)]&&(_0x18c8f0(_0xada2ce(0x1c0),{'currentIndex':this[_0xada2ce(0x1e7)],'nodeList':this[_0xada2ce(0x1ee)]}),this[_0xada2ce(0x1e7)]=this[_0xada2ce(0x1ee)][_0xada2ce(0x1ed)]);for(let _0x39c12c=0x0;_0x39c12c<this[_0xada2ce(0x1e7)];_0x39c12c++)this[_0xada2ce(0x1ee)][_0x39c12c][_0xada2ce(0x1f5)]=!0x0;let _0x384e26=0x0;for(let _0x479d11=this[_0xada2ce(0x1e7)];_0x479d11<this[_0xada2ce(0x1ee)][_0xada2ce(0x1ed)];_0x479d11++){const _0x237f93=Date[_0xada2ce(0x1f0)](),_0xd13b65=this[_0xada2ce(0x1ee)][_0x479d11],_0x115270=_0x237f93-_0x384e26;_0xd13b65[_0xada2ce(0x1f5)]=!0x0;let _0x2e923b=_0xd13b65[_0xada2ce(0x1dc)];for(;_0x2e923b;)_0x2e923b[_0xada2ce(0x1f5)]=!0x0,_0x2e923b=_0x2e923b[_0xada2ce(0x1dc)];if(_0x115270<this[_0xada2ce(0x1c3)][_0xada2ce(0x1de)])try{const {promise:_0x59529a,abortController:_0x57a267}=pr(this[_0xada2ce(0x1c3)][_0xada2ce(0x1de)]-_0x115270);this[_0xada2ce(0x1da)]=_0x57a267,await _0x59529a;}catch(_0x270983){return;}_0x506c57(_0x1709b8,'<'+_0x1709b8[_0xada2ce(0x1bc)]+'>'+this[_0xada2ce(0x1c5)](this[_0xada2ce(0x1df)])+'</'+_0x1709b8[_0xada2ce(0x1bc)]+'>',{'childrenOnly':!0x0}),this[_0xada2ce(0x1c3)][_0xada2ce(0x1cd)]&&this[_0xada2ce(0x1c3)][_0xada2ce(0x1cd)](),this[_0xada2ce(0x1e7)]=_0x479d11,_0x384e26=Date[_0xada2ce(0x1f0)]();}this[_0xada2ce(0x1d9)]=!0x1;}[_0x176ba4(0x1c2)]({targetElement:_0xd818ae}){const _0x445ca6=_0x176ba4;Array[_0x445ca6(0x1ec)](_0xd818ae[_0x445ca6(0x1c1)](_0x445ca6(0x1d8)))[_0x445ca6(0x1f2)]()[_0x445ca6(0x1e0)](_0x3edd68=>{const _0x47f593=_0x445ca6;_0x3edd68[_0x47f593(0x1bf)](_0x3edd68[_0x47f593(0x1e3)][0x0]);});}[_0x176ba4(0x1d2)](){const _0x222147=_0x176ba4;this[_0x222147(0x1d9)]=!0x1,this[_0x222147(0x1da)]&&(this[_0x222147(0x1da)][_0x222147(0x1d0)](),this[_0x222147(0x1da)]=null);}[_0x176ba4(0x1c5)](_0x4aa9b2){const _0x1a8887=_0x176ba4;let _0x2416e6='';if(function(_0x13540e){return _0x1fb635(_0x13540e);}(_0x4aa9b2)){for(const _0x2fb8d9 of _0x4aa9b2[_0x1a8887(0x1d3)])_0x2416e6+=this[_0x1a8887(0x1c5)](_0x2fb8d9);}else{if(dr(_0x4aa9b2)){if(!_0x4aa9b2[_0x1a8887(0x1f5)])return'';const _0x50399f=_0x4aa9b2,_0x2e23c9=Object[_0x1a8887(0x1e6)](_0x50399f[_0x1a8887(0x1c6)])[_0x1a8887(0x1e1)](([_0x2bc5c4,_0x5b06d6])=>_0x2bc5c4+'=\x22'+_0x5b06d6+'\x22')[_0x1a8887(0x1f1)]('\x20');_0x2416e6+='<'+_0x50399f[_0x1a8887(0x1bc)]+(_0x2e23c9?'\x20'+_0x2e23c9:'')+'>';for(const _0xb64724 of _0x3b08f1(_0x50399f))_0x2416e6+=this[_0x1a8887(0x1c5)](_0xb64724);_0x2416e6+='</'+_0x50399f[_0x1a8887(0x1bc)]+'>';}else{if(!ar(_0x4aa9b2))return'';if(!_0x4aa9b2[_0x1a8887(0x1f5)])return'';!function(_0x4aafc5){const _0xe7e011=_0x1a8887;if(!_0x4aafc5[_0xe7e011(0x1dc)]||!dr(_0x4aafc5[_0xe7e011(0x1dc)]))return!0x1;if(!cr[_0xe7e011(0x1e4)](_0x4aafc5[_0xe7e011(0x1dc)][_0xe7e011(0x1bc)]))return!0x1;return!_0x3561a5(_0x4aafc5)[_0xe7e011(0x1cc)](/^\s*[<>]\s*$/);}(_0x4aa9b2)?_0x2416e6+=_0x36e78f(_0x4aa9b2):_0x2416e6+=_0x36e78f(new _0x2667db(_0x1a8887(0x1eb),{'data-ck-html-streamer-word-chunk':'','style':this[_0x1a8887(0x1c3)][_0x1a8887(0x1ce)]},[_0x4aa9b2]));}}return _0x2416e6;}[_0x176ba4(0x1e5)](){const _0x208c37=_0x176ba4,_0x2baef8=[];return function(_0x1d6659,_0x573299){const _0x3175f9=_0x4e59,_0x39627d=_0x1a535f=>{const _0x44f08a=_0x4e59;if(_0x573299(_0x1a535f),_0x1a535f instanceof _0x2bffe1)for(let _0x4ac9df=0x0;_0x4ac9df<_0x1a535f[_0x44f08a(0x1d3)][_0x44f08a(0x1ed)];_0x4ac9df++){const _0x1a60db=_0x1a535f[_0x44f08a(0x1d3)][_0x4ac9df];_0x39627d(_0x1a60db);}};for(let _0x553bc7=0x0;_0x553bc7<_0x1d6659[_0x3175f9(0x1d3)][_0x3175f9(0x1ed)];_0x553bc7++)_0x39627d(_0x1d6659[_0x3175f9(0x1d3)][_0x553bc7]);}(this[_0x208c37(0x1df)],_0x1cf22f=>{const _0x45c5bc=_0x208c37;if(ar(_0x1cf22f)){const _0x22278a=this[_0x45c5bc(0x1ca)](_0x1cf22f);_0x22278a[_0x45c5bc(0x1ed)]&&_0x2baef8[_0x45c5bc(0x1d7)](..._0x22278a);}_0x1cf22f[_0x45c5bc(0x1dd)]||_0x1cf22f[_0x45c5bc(0x1e2)]||_0x2baef8[_0x45c5bc(0x1d7)](_0x1cf22f);}),_0x2baef8;}[_0x176ba4(0x1ca)](_0x3a13e5){const _0x17cd60=_0x176ba4;if(_0x3a13e5[_0x17cd60(0x1dd)]||_0x3a13e5[_0x17cd60(0x1e2)])return[];const _0x2227c7=_0x3561a5(_0x3a13e5)[_0x17cd60(0x1cc)](/(?:\s*\S+\s*)/g),_0x3786dd=[];if(_0x2227c7&&_0x2227c7[_0x17cd60(0x1ed)]>0x1){for(const _0x59f2a1 of _0x2227c7){const _0x3895d7=new _0x31f7a0(_0x59f2a1);_0x3895d7[_0x17cd60(0x1e2)]=!0x0,_0x368b28(_0x3a13e5,_0x3895d7),_0x3786dd[_0x17cd60(0x1d7)](_0x3895d7);}_0x3a13e5[_0x17cd60(0x1dd)]=!0x0,_0x4734ef(_0x3a13e5);}return _0x3786dd;}}const cr=['p','li','td','th',_0x176ba4(0x1eb),'h1','h2','h3','h4','h5','h6','b',_0x176ba4(0x1c9),'i','em',_0x176ba4(0x1c8),_0x176ba4(0x1bd),_0x176ba4(0x1e8),_0x176ba4(0x1c7),_0x176ba4(0x1ef),'a',_0x176ba4(0x1d6),_0x176ba4(0x1d1)];function ar(_0x2a09ab){return _0x4920c9(_0x2a09ab);}function dr(_0x58b3e6){return _0xd9b535(_0x58b3e6);}function pr(_0x397ea8){const _0x4da7f8=new AbortController();return{'promise':new Promise((_0x391573,_0x274bb8)=>{const _0x4d2938=_0x4e59,_0x3c6dec=setTimeout(_0x391573,_0x397ea8);_0x4da7f8[_0x4d2938(0x1d5)][_0x4d2938(0x1e9)](_0x4d2938(0x1d0),()=>{clearTimeout(_0x3c6dec),_0x274bb8();});}),'abortController':_0x4da7f8};}function _0x4e59(_0x498235,_0x13c49a){const _0x1ab620=_0x1ab6();return _0x4e59=function(_0x4e592e,_0xa7be30){_0x4e592e=_0x4e592e-0x1ba;let _0x384c51=_0x1ab620[_0x4e592e];return _0x384c51;},_0x4e59(_0x498235,_0x13c49a);}function _0x1ab6(){const _0x2a69bc=['1067297FwEHTe','shouldBeStreamed','452760nwOPQN','1796ErifHZ','tagName','del','6023646KKVQcj','replaceWith','ai-html-streamer-current-index-out-of-bounds','querySelectorAll','cleanUpAnimations','options','bind','renderNode','attribs','sup','mark','strong','splitTextNodeIntoWordNodes','2764230JDLRgU','match','onStreamUpdate','textNodeStyle','1148442CdSNjg','abort','div','stop','children','4HYECfw','signal','code','push','span[data-ck-html-streamer-word-chunk]','isStreaming','timeoutAbortController','2311965GdZNeY','parent','isWordSplitSource','delay','document','forEach','map','isWordSplitResult','childNodes','includes','getParsedDocumentNodeList','entries','currentIndex','ins','addEventListener','stream','span','from','length','nodesList','sub','now','join','reverse','177pZcIgC'];_0x1ab6=function(){return _0x2a69bc;};return _0x1ab6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2999(_0x1a39d1,_0x38a936){const _0xcd6734=_0xcd67();return _0x2999=function(_0x299988,_0x477d08){_0x299988=_0x299988-0x158;let _0x42f83e=_0xcd6734[_0x299988];return _0x42f83e;},_0x2999(_0x1a39d1,_0x38a936);}const _0xdf850e=_0x2999;(function(_0x259981,_0x29e931){const _0x4f47c6=_0x2999,_0x474df3=_0x259981();while(!![]){try{const _0x71ca69=parseInt(_0x4f47c6(0x173))/0x1+-parseInt(_0x4f47c6(0x17a))/0x2+-parseInt(_0x4f47c6(0x15c))/0x3*(-parseInt(_0x4f47c6(0x172))/0x4)+-parseInt(_0x4f47c6(0x166))/0x5+-parseInt(_0x4f47c6(0x16e))/0x6*(-parseInt(_0x4f47c6(0x15f))/0x7)+parseInt(_0x4f47c6(0x16c))/0x8+-parseInt(_0x4f47c6(0x16d))/0x9*(parseInt(_0x4f47c6(0x15d))/0xa);if(_0x71ca69===_0x29e931)break;else _0x474df3['push'](_0x474df3['shift']());}catch(_0x563264){_0x474df3['push'](_0x474df3['shift']());}}}(_0xcd67,0x7883a));import{Plugin as _0x420943}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x889f5e}from'./toggleaicommand.js';import{ButtonView as _0x5321a1,MenuBarMenuListItemButtonView as _0x2bc501}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x32ae3f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x490517}from'../../aicore/utils/common-translations.js';function _0xcd67(){const _0x24a4b4=['init','execute','bind','2531860GUHOgO','494564oGvuXj','editor','ck-ai-toggle-button','pluginName','listenTo','isOfficialPlugin','get','997038YocuBn','add','requires','AIToggleButtonUI','menuitemcheckbox','3LbVaxb','90RDRtKJ','value','77zoyKaw','isEnabled','AI_TOGGLE_BUTTON_LABEL','menuBar:toggleAi','locale','isOn','set','2798405MlpjBN','componentFactory','commands','_createAIUIButton','toggleAi','isPremiumPlugin','3950368HBhvtR','720666OqlGyE','355182Rbubkr'];_0xcd67=function(){return _0x24a4b4;};return _0xcd67();}import{AITabs as _0x5a9793}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x420943{static get[_0xdf850e(0x159)](){return[_0x5a9793];}static get[_0xdf850e(0x176)](){const _0x5c8bd5=_0xdf850e;return _0x5c8bd5(0x15a);}static get[_0xdf850e(0x178)](){return!0x0;}static get[_0xdf850e(0x16b)](){return!0x0;}[_0xdf850e(0x16f)](){const _0x11e675=_0xdf850e,_0xb6ee01=this[_0x11e675(0x174)];_0xb6ee01[_0x11e675(0x168)][_0x11e675(0x158)](_0x11e675(0x16a),new _0x889f5e(_0xb6ee01)),_0xb6ee01['ui'][_0x11e675(0x167)][_0x11e675(0x158)](_0x11e675(0x16a),()=>{const _0x1488cf=_0x11e675,_0x4668ff=this[_0x1488cf(0x169)](_0x5321a1);return _0x4668ff[_0x1488cf(0x165)]({'tooltip':!0x0,'class':_0x1488cf(0x175)}),_0x4668ff;}),_0xb6ee01['ui'][_0x11e675(0x167)][_0x11e675(0x158)](_0x11e675(0x162),()=>{const _0xa2bab4=_0x11e675,_0x39353f=this[_0xa2bab4(0x169)](_0x2bc501);return _0x39353f[_0xa2bab4(0x165)]({'role':_0xa2bab4(0x15b)}),_0x39353f;});}[_0xdf850e(0x169)](_0x4f2000){const _0x37a8d8=_0xdf850e,_0x55ab56=this[_0x37a8d8(0x174)],_0x1b87c9=_0x55ab56[_0x37a8d8(0x168)][_0x37a8d8(0x179)](_0x37a8d8(0x16a)),_0xa08b05=new _0x4f2000(_0x55ab56[_0x37a8d8(0x163)]);return _0xa08b05[_0x37a8d8(0x165)]({'label':_0x490517(_0x55ab56[_0x37a8d8(0x163)],_0x37a8d8(0x161)),'icon':_0x32ae3f,'isToggleable':!0x0}),_0xa08b05[_0x37a8d8(0x171)](_0x37a8d8(0x160))['to'](_0x1b87c9),_0xa08b05[_0x37a8d8(0x171)](_0x37a8d8(0x164))['to'](_0x1b87c9,_0x37a8d8(0x15e),_0x1c273e=>!!_0x1c273e),this[_0x37a8d8(0x177)](_0xa08b05,_0x37a8d8(0x170),()=>{const _0xe5ca52=_0x37a8d8;_0x1b87c9[_0xe5ca52(0x170)]();}),_0xa08b05;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4802(_0x178e1f,_0x16f0d9){const _0x510793=_0x5107();return _0x4802=function(_0x4802ba,_0x2ccde2){_0x4802ba=_0x4802ba-0xf1;let _0x2baa52=_0x510793[_0x4802ba];return _0x2baa52;},_0x4802(_0x178e1f,_0x16f0d9);}const _0x48bca5=_0x4802;(function(_0x35017b,_0x286b70){const _0x2c46aa=_0x4802,_0x72ef06=_0x35017b();while(!![]){try{const _0x2f8be8=parseInt(_0x2c46aa(0x170))/0x1+parseInt(_0x2c46aa(0x106))/0x2*(-parseInt(_0x2c46aa(0xfe))/0x3)+parseInt(_0x2c46aa(0x133))/0x4+-parseInt(_0x2c46aa(0x16d))/0x5+-parseInt(_0x2c46aa(0x15f))/0x6+parseInt(_0x2c46aa(0x12b))/0x7*(-parseInt(_0x2c46aa(0x110))/0x8)+parseInt(_0x2c46aa(0x12f))/0x9;if(_0x2f8be8===_0x286b70)break;else _0x72ef06['push'](_0x72ef06['shift']());}catch(_0x2afdfe){_0x72ef06['push'](_0x72ef06['shift']());}}}(_0x5107,0xcbf0b));import{IconAIAdjustLength as _0x48b93b,IconAIChangeTone as _0x3b45f8,IconAIChatCommands as _0x48757b,IconAIContinueWriting as _0x287942,IconAIGrammarCheck as _0x4b0656,IconAIImproveWriting as _0x4c951e,IconAIOther as _0xf97e65,IconAIQuickActions as _0x165c4a,IconAITranslate as _0x427101}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x33aeb5}from'ckeditor5/src/core.js';import{CKEditorError as _0x2af8c5,logError as _0x252cfd}from'ckeditor5/src/utils.js';import{getTranslation as _0x210400}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x388621}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5f1f82}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x460f6c,BalloonToolbar as _0x118be7,MenuBarMenuView as _0x5eda52,MenuBarMenuListView as _0x2a95e1,MenuBarMenuListItemView as _0x1f2bae,MenuBarMenuListItemButtonView as _0x12efab}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x1c0b6d}from'../aicore/model/aimodels.js';function _0x5107(){const _0x19bf46=['19130238iFaHHK','AI_QUICK_ACTIONS_CHANGE_TONE','focus','summarize','2857320tDhklR','ACTION','french','translate-to-korean','continue','_initializeQuickActionsDropdown','translate-to-spanish','change-tone','length','editing','chat-commands','translate-to-english','plugins','AIQuickActionsUI','includes','menu','menuitem','values','close','AIConnector','AI_QUICK_ACTIONS_MAKE_SHORTER','model','language','config','AIActions','AI_QUICK_ACTIONS_TRANSLATE','menuBar:aiQuickActions','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','portuguese','make-shorter','English','push','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','CHAT','panelView','ask-ai','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_ASK_AI','getAvailableModels','getDefaultQuickActions','7804602bGmXCe','<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','translate-to-japanese','_shouldIncludeAction','AIChat','replace','highlight-key-points','view','get','ai-quick-actions-models-unable-to-retrieve','translate-to-italian','italian','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','1773180qVaMmf','attachToDom','componentFactory','599122aTVDHA','label','ai.quickActions.isSearchEnabled','isPremiumPlugin','AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_SUMMARIZE','locale','uiLanguage','make-tone-direct','explain','make-tone-confident','DisplayNames','korean','pluginName','commands','delegate','translate-to-chinese','init','translate-to-french','find','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','requires','AIReviewMode','buttonView','AI_QUICK_ACTIONS_MORE_FRIENDLY','aiQuickAction','russian','ai-quick-actions-unavailable-model','other','adjust-length','isEnabled','spanish','AI_QUICK_ACTIONS_MAKE_LONGER','<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>','<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>','has','execute','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','message','filter','make-longer','add','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','aiQuickActions','15ytgiRH','ai.quickActions.removeCommands','items','isOfficialPlugin','_getDefaultAndCustomActions','actions','AI_QUICK_ACTIONS_CHAT_COMMANDS','displayedPrompt','115458tTmUin','japanese','ai.chat.models.displayedModels','german','AI_QUICK_ACTIONS_MORE_DIRECT','translate-to-german','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_ADJUST_LENGTH','REVIEW','editor','2776LiWVAJ','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','improve-writing','fix-grammar','_initializeQuickActionsComponentsAndCommands','map','menuBarView','set','translate-to-portuguese','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-russian','chinese','some','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_CONTINUE_WRITING','icon','_executeQuickAction','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','english','children','make-tone-friendly','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_IMPROVE_WRITING','_prepareQuickActionsDefinition','translate','make-tone-professional','13307DKrYaK','make-tone-casual','_quickActionsDefinition','forEach'];_0x5107=function(){return _0x19bf46;};return _0x5107();}const ae=_0x48bca5(0xf3),se=_0x48bca5(0xf2),re=_0x48bca5(0x160);export var AIQuickActionType;!function(_0xd8599b){const _0x4fa95a=_0x48bca5;_0xd8599b[_0x4fa95a(0x158)]=_0x4fa95a(0x158),_0xd8599b[_0x4fa95a(0x134)]=_0x4fa95a(0x134),_0xd8599b[_0x4fa95a(0x10e)]=_0x4fa95a(0x10e);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3028a4){const _0x8fd746=_0x48bca5;_0x3028a4[_0x8fd746(0x158)]=_0x8fd746(0x164),_0x3028a4[_0x8fd746(0x134)]=_0x8fd746(0x14b),_0x3028a4[_0x8fd746(0x10e)]=_0x8fd746(0x187);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x33aeb5{static get[_0x48bca5(0x186)](){return[_0x118be7];}static get[_0x48bca5(0x17d)](){const _0x556b06=_0x48bca5;return _0x556b06(0x140);}static get[_0x48bca5(0x101)](){return!0x0;}static get[_0x48bca5(0x173)](){return!0x0;}async[_0x48bca5(0x181)](){const _0x528668=_0x48bca5,_0x32f44f=await this[_0x528668(0x102)]();this[_0x528668(0x128)](_0x32f44f),this[_0x528668(0x114)]();}static[_0x48bca5(0x15e)](_0x22c312){return function(_0x14c304){const _0x3d2c5a=_0x4802,_0x8957bd=new Intl[(_0x3d2c5a(0x17b))](['en'],{'type':_0x3d2c5a(0x149)})['of'](_0x14c304[_0x3d2c5a(0x177)]),_0x563e5d=_0x8957bd||_0x3d2c5a(0x151),_0x27f657=[{'id':_0x3d2c5a(0x15a),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x15c)),'type':AIQuickActionType[_0x3d2c5a(0x158)],'icon':_0x48757b},{'id':_0x3d2c5a(0x13d),'label':_0x210400(_0x14c304,_0x3d2c5a(0x104)),'icon':_0x48757b,'actions':[{'id':_0x3d2c5a(0x179),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x154)),'prompt':ae[_0x3d2c5a(0x165)]('%0',_0x563e5d),'type':AIQuickActionType[_0x3d2c5a(0x158)]},{'id':_0x3d2c5a(0x132),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x175)),'prompt':se[_0x3d2c5a(0x165)]('%0',_0x563e5d),'type':AIQuickActionType[_0x3d2c5a(0x158)]},{'id':_0x3d2c5a(0x166),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0xfc)),'prompt':re[_0x3d2c5a(0x165)]('%0',_0x563e5d),'type':AIQuickActionType[_0x3d2c5a(0x158)]}]},{'id':_0x3d2c5a(0x112),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x127)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'icon':_0x4c951e},{'id':_0x3d2c5a(0x137),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x11f)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'icon':_0x287942},{'id':_0x3d2c5a(0x113),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0xf6)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'icon':_0x4b0656},{'id':_0x3d2c5a(0x18e),'label':_0x210400(_0x14c304,_0x3d2c5a(0x10d)),'icon':_0x48b93b,'actions':[{'id':_0x3d2c5a(0x150),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x147)),'type':AIQuickActionType[_0x3d2c5a(0x134)]},{'id':_0x3d2c5a(0xf9),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0xf1)),'type':AIQuickActionType[_0x3d2c5a(0x134)]}]},{'id':_0x3d2c5a(0x13a),'label':_0x210400(_0x14c304,_0x3d2c5a(0x130)),'icon':_0x3b45f8,'actions':[{'id':_0x3d2c5a(0x12c),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x174)),'type':AIQuickActionType[_0x3d2c5a(0x134)]},{'id':_0x3d2c5a(0x178),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x10a)),'type':AIQuickActionType[_0x3d2c5a(0x134)]},{'id':_0x3d2c5a(0x125),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x189)),'type':AIQuickActionType[_0x3d2c5a(0x134)]},{'id':_0x3d2c5a(0x17a),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x11d)),'type':AIQuickActionType[_0x3d2c5a(0x134)]},{'id':_0x3d2c5a(0x12a),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x14e)),'type':AIQuickActionType[_0x3d2c5a(0x134)]}]},{'id':_0x3d2c5a(0x129),'label':_0x210400(_0x14c304,_0x3d2c5a(0x14c)),'icon':_0x427101,'actions':[{'id':_0x3d2c5a(0x13e),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x156)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x123)}},{'id':_0x3d2c5a(0x180),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x153)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x11b)}},{'id':_0x3d2c5a(0x139),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x157)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x190)}},{'id':_0x3d2c5a(0x10b),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x155)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x109)}},{'id':_0x3d2c5a(0x182),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x16c)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x135)}},{'id':_0x3d2c5a(0x162),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x119)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x107)}},{'id':_0x3d2c5a(0x118),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x111)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x14f)}},{'id':_0x3d2c5a(0x136),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x10c)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x17c)}},{'id':_0x3d2c5a(0x16a),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x185)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x16b)}},{'id':_0x3d2c5a(0x11a),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x122)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x18b)}}]},{'id':_0x3d2c5a(0x18d),'label':_0x210400(_0x14c304,_0x3d2c5a(0x11e)),'icon':_0xf97e65,'actions':[]}];return _0x27f657;}(_0x22c312);}async[_0x48bca5(0x102)](){const _0x302f22=_0x48bca5,_0x58b8e6=AIQuickActionsUI[_0x302f22(0x15e)](this[_0x302f22(0x10f)][_0x302f22(0x176)]),_0x26e4f9=this[_0x302f22(0x10f)][_0x302f22(0x14a)][_0x302f22(0x168)](_0x302f22(0x184))||[];let _0x58e208=[];try{_0x58e208=await new _0x1c0b6d({'connector':this[_0x302f22(0x10f)][_0x302f22(0x13f)][_0x302f22(0x168)](_0x302f22(0x146)),'availableModels':this[_0x302f22(0x10f)][_0x302f22(0x14a)][_0x302f22(0x168)](_0x302f22(0x108))})[_0x302f22(0x15d)]();}catch(_0x4100ac){const _0x5229c9=new _0x2af8c5(_0x302f22(0x169),this,{'error':_0x4100ac});_0x252cfd(_0x5229c9[_0x302f22(0xf7)]);}finally{const _0x214398=_0x26e4f9[_0x302f22(0x115)](_0x21ef05=>({..._0x21ef05,'icon':void 0x0}));_0x58b8e6[_0x302f22(0x183)](_0x3a4fd9=>_0x302f22(0x18d)===_0x3a4fd9['id'])[_0x302f22(0x103)][_0x302f22(0x152)](..._0x214398),_0x58b8e6[_0x302f22(0x12e)](_0x14455f=>{const _0x272b14=_0x302f22;if(_0x272b14(0x103)in _0x14455f)_0x14455f[_0x272b14(0x103)][_0x272b14(0x12e)](_0x8c952a=>{const _0x1a19f7=_0x272b14;if(_0x8c952a[_0x1a19f7(0x18f)]=!!_0x58e208[_0x1a19f7(0x183)](_0x221f37=>_0x221f37['id']===_0x8c952a[_0x1a19f7(0x148)])||void 0x0===_0x8c952a[_0x1a19f7(0x148)],!_0x8c952a[_0x1a19f7(0x18f)]){const _0x473cd2=new _0x2af8c5(_0x1a19f7(0x18c),this,{'actionId':_0x8c952a['id'],'modelId':_0x8c952a[_0x1a19f7(0x148)]});_0x252cfd(_0x473cd2[_0x1a19f7(0xf7)]);}});else{if(_0x14455f[_0x272b14(0x18f)]=!!_0x58e208[_0x272b14(0x183)](_0xec6b9c=>_0xec6b9c['id']===_0x14455f[_0x272b14(0x148)])||void 0x0===_0x14455f[_0x272b14(0x148)],!_0x14455f[_0x272b14(0x18f)]){const _0x1f789f=new _0x2af8c5(_0x272b14(0x18c),this,{'actionId':_0x14455f['id'],'modelId':_0x14455f[_0x272b14(0x148)]});_0x252cfd(_0x1f789f[_0x272b14(0xf7)]);}}});}return _0x58b8e6;}[_0x48bca5(0x114)](){const _0x585ce2=_0x48bca5,_0x261bc0=new _0x460f6c(this[_0x585ce2(0x10f)][_0x585ce2(0x176)]);_0x261bc0[_0x585ce2(0x16e)](),this[_0x585ce2(0x138)](_0x261bc0),this[_0x585ce2(0x15b)](),this[_0x585ce2(0x126)](_0x261bc0);}[_0x48bca5(0x138)](_0x5c7944){const _0x5da533=_0x48bca5,_0x895d73=this[_0x5da533(0x10f)][_0x5da533(0x14a)][_0x5da533(0x168)](_0x5da533(0x172))??!0x0;this[_0x5da533(0x10f)]['ui'][_0x5da533(0x16f)][_0x5da533(0xfa)](_0x5da533(0xfd),_0x388621({'editor':this[_0x5da533(0x10f)],'content':this[_0x5da533(0x12d)],'buttonDefinition':{'icon':_0x165c4a,'label':_0x210400(this[_0x5da533(0x10f)][_0x5da533(0x176)],_0x5da533(0xfb))},'bodyCollection':_0x5c7944,'hasSearch':_0x895d73}));}[_0x48bca5(0x128)](_0x53dcc1){const _0x4588c6=_0x48bca5;this[_0x4588c6(0x12d)]=_0x53dcc1[_0x4588c6(0x115)](_0x6f20a2=>{const _0x5ac55e=_0x4588c6;if(_0x5ac55e(0x103)in _0x6f20a2){const _0x47162e=_0x6f20a2;return{..._0x47162e,'actions':_0x47162e[_0x5ac55e(0x103)][_0x5ac55e(0x115)](_0x4b4538=>{const {actions:_0x5b2417,..._0x21162b}=_0x47162e;return{..._0x4b4538,'parent':_0x21162b};})[_0x5ac55e(0xf8)](_0x36076f=>this[_0x5ac55e(0x163)](_0x36076f))};}return _0x6f20a2;})[_0x4588c6(0xf8)](_0x5312e5=>_0x4588c6(0x103)in _0x5312e5?_0x5312e5[_0x4588c6(0x103)][_0x4588c6(0x13b)]>0x0:this[_0x4588c6(0x163)](_0x5312e5));}[_0x48bca5(0x163)](_0x2133bb){const _0x4c8779=_0x48bca5,_0x4937cd=this[_0x4c8779(0x10f)][_0x4c8779(0x14a)][_0x4c8779(0x168)](_0x4c8779(0xff))||[];return this[_0x4c8779(0x10f)][_0x4c8779(0x13f)][_0x4c8779(0xf4)](AIQuickActionTypeToPluginName[_0x2133bb[_0x4c8779(0x161)]])&&!_0x4937cd[_0x4c8779(0x141)](_0x2133bb['id']);}[_0x48bca5(0x126)](_0x2acedc){const _0x3cc01c=_0x48bca5;this[_0x3cc01c(0x12d)][_0x3cc01c(0x12e)](_0x411d6d=>{const _0x24026a=_0x3cc01c;if(_0x24026a(0x103)in _0x411d6d){const _0x1629fa=_0x388621({'editor':this[_0x24026a(0x10f)],'content':_0x411d6d[_0x24026a(0x103)],'buttonDefinition':_0x411d6d,'bodyCollection':_0x2acedc});this[_0x24026a(0x10f)]['ui'][_0x24026a(0x16f)][_0x24026a(0xfa)](_0x411d6d['id'],_0x1629fa),_0x411d6d[_0x24026a(0x103)][_0x24026a(0x12e)](_0xebdbc9=>{const _0x336d35=_0x24026a,_0x388651=_0x5f1f82({'editor':this[_0x336d35(0x10f)],'action':_0xebdbc9});this[_0x336d35(0x10f)]['ui'][_0x336d35(0x16f)][_0x336d35(0xfa)](_0xebdbc9['id'],_0x388651);});}else{const _0x265efd=_0x5f1f82({'editor':this[_0x24026a(0x10f)],'action':_0x411d6d,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x24026a(0x10f)]['ui'][_0x24026a(0x16f)][_0x24026a(0xfa)](_0x411d6d['id'],_0x265efd);}});}[_0x48bca5(0x15b)](){const _0x359071=_0x48bca5;this[_0x359071(0x10f)]['ui'][_0x359071(0x16f)][_0x359071(0xfa)](_0x359071(0x14d),_0x4318e4=>{const _0x4668e8=_0x359071,_0x29bda8=new _0x5eda52(_0x4318e4),_0x6f12a0=_0x210400(_0x4318e4,_0x4668e8(0xfb));_0x29bda8[_0x4668e8(0x188)][_0x4668e8(0x117)]({'label':_0x6f12a0,'icon':_0x165c4a});const _0x2646e5=new _0x2a95e1(_0x4318e4);_0x2646e5[_0x4668e8(0x117)]({'ariaLabel':_0x6f12a0,'role':_0x4668e8(0x142)}),this[_0x4668e8(0x12d)][_0x4668e8(0x12e)](_0x5159d3=>{const _0x32d1e1=_0x4668e8;if(_0x32d1e1(0x103)in _0x5159d3){const _0x145d96=_0x5159d3,_0x3935f9=new _0x1f2bae(_0x4318e4,_0x29bda8),_0x59330e=new _0x5eda52(_0x4318e4),_0x38c584=new _0x2a95e1(_0x4318e4);_0x59330e[_0x32d1e1(0x188)][_0x32d1e1(0x117)]({'label':_0x145d96[_0x32d1e1(0x171)],'icon':_0x145d96[_0x32d1e1(0x120)]}),_0x145d96[_0x32d1e1(0x103)][_0x32d1e1(0x12e)](_0x6050c3=>{const _0x126366=_0x32d1e1,_0x9478af=new _0x1f2bae(_0x4318e4,_0x59330e),_0x20744b=new _0x12efab(_0x4318e4);_0x20744b[_0x126366(0x117)]({'label':_0x6050c3[_0x126366(0x105)],'icon':_0x6050c3[_0x126366(0x120)],'role':_0x126366(0x143),'isEnabled':_0x6050c3[_0x126366(0x18f)]}),_0x20744b['on'](_0x126366(0xf5),()=>{const _0x55b084=_0x126366;this[_0x55b084(0x121)](_0x6050c3);}),_0x20744b[_0x126366(0x17f)](_0x126366(0xf5))['to'](_0x59330e),_0x9478af[_0x126366(0x124)][_0x126366(0xfa)](_0x20744b),_0x38c584[_0x126366(0x100)][_0x126366(0xfa)](_0x9478af);}),_0x59330e[_0x32d1e1(0x159)][_0x32d1e1(0x124)][_0x32d1e1(0xfa)](_0x38c584),_0x3935f9[_0x32d1e1(0x124)][_0x32d1e1(0xfa)](_0x59330e),_0x2646e5[_0x32d1e1(0x100)][_0x32d1e1(0xfa)](_0x3935f9);}else{const _0x2cec96=_0x5159d3,_0x3dd64f=new _0x1f2bae(_0x4318e4,_0x29bda8),_0x2add77=new _0x12efab(_0x4318e4);_0x2add77[_0x32d1e1(0x117)]({'label':_0x2cec96[_0x32d1e1(0x105)],'icon':_0x2cec96[_0x32d1e1(0x120)],'role':_0x32d1e1(0x143),'isEnabled':_0x2cec96[_0x32d1e1(0x18f)]}),_0x2add77['on'](_0x32d1e1(0xf5),()=>{const _0x20b6be=_0x32d1e1;this[_0x20b6be(0x121)](_0x2cec96);}),_0x2add77[_0x32d1e1(0x17f)](_0x32d1e1(0xf5))['to'](_0x29bda8),_0x3dd64f[_0x32d1e1(0x124)][_0x32d1e1(0xfa)](_0x2add77),_0x2646e5[_0x32d1e1(0x100)][_0x32d1e1(0xfa)](_0x3dd64f);}});const _0x131fac=Object[_0x4668e8(0x144)](AIQuickActionTypeToPluginName)[_0x4668e8(0x11c)](_0x526eae=>this[_0x4668e8(0x10f)][_0x4668e8(0x13f)][_0x4668e8(0xf4)](_0x526eae));return _0x29bda8[_0x4668e8(0x117)]({'isEnabled':_0x131fac}),_0x29bda8[_0x4668e8(0x159)][_0x4668e8(0x124)][_0x4668e8(0xfa)](_0x2646e5),_0x29bda8;});}[_0x48bca5(0x121)](_0x51c30f){const _0xdb60f=_0x48bca5,_0x58a449=this[_0xdb60f(0x10f)];_0x58a449[_0xdb60f(0x13c)][_0xdb60f(0x167)][_0xdb60f(0x131)](),_0x58a449[_0xdb60f(0x17e)][_0xdb60f(0xf5)](_0xdb60f(0x18a),_0x51c30f);const _0x12912c=_0x58a449['ui'][_0xdb60f(0x167)][_0xdb60f(0x116)];_0x12912c&&_0x12912c[_0xdb60f(0x145)]&&_0x12912c[_0xdb60f(0x145)]();}}
|
|
23
|
+
const _0x4650d5=_0x1adf;(function(_0x47209a,_0x3cf0b4){const _0x164a86=_0x1adf,_0x5e6359=_0x47209a();while(!![]){try{const _0x2ad33b=parseInt(_0x164a86(0x25c))/0x1+-parseInt(_0x164a86(0x262))/0x2*(-parseInt(_0x164a86(0x259))/0x3)+-parseInt(_0x164a86(0x270))/0x4+-parseInt(_0x164a86(0x1fd))/0x5+parseInt(_0x164a86(0x24c))/0x6*(parseInt(_0x164a86(0x260))/0x7)+-parseInt(_0x164a86(0x266))/0x8+-parseInt(_0x164a86(0x27e))/0x9*(parseInt(_0x164a86(0x289))/0xa);if(_0x2ad33b===_0x3cf0b4)break;else _0x5e6359['push'](_0x5e6359['shift']());}catch(_0x3c4f49){_0x5e6359['push'](_0x5e6359['shift']());}}}(_0x58c3,0x2fcd1));import{IconAIAdjustLength as _0x133ceb,IconAIChangeTone as _0xb5fb4a,IconAIChatCommands as _0x31e9cc,IconAIContinueWriting as _0x134cdf,IconAIGrammarCheck as _0x49677c,IconAIImproveWriting as _0x29e235,IconAIOther as _0x2e3bca,IconAIQuickActions as _0x362020,IconAITranslate as _0x4cbad4}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x234c61}from'ckeditor5/src/core.js';import{CKEditorError as _0x4b9e35,logError as _0x15d564}from'ckeditor5/src/utils.js';import{getTranslation as _0x4f6c39}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x1014e7}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x20d605}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x37c278,BalloonToolbar as _0x27798f,MenuBarMenuView as _0x420976,MenuBarMenuListView as _0x585355,MenuBarMenuListItemView as _0xfeb2ef,MenuBarMenuListItemButtonView as _0x4bc993}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x2a27f0}from'../aicore/model/aimodels.js';const ae=_0x4650d5(0x243),se=_0x4650d5(0x24d),re=_0x4650d5(0x1f8);export var AIQuickActionType;!function(_0x1c70b9){const _0x13d273=_0x4650d5;_0x1c70b9[_0x13d273(0x219)]=_0x13d273(0x219),_0x1c70b9[_0x13d273(0x1f5)]=_0x13d273(0x1f5),_0x1c70b9[_0x13d273(0x27d)]=_0x13d273(0x27d);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;function _0x1adf(_0x3cda4c,_0x5f2923){const _0x58c38f=_0x58c3();return _0x1adf=function(_0x1adfe7,_0x10cdef){_0x1adfe7=_0x1adfe7-0x1ed;let _0x1555be=_0x58c38f[_0x1adfe7];return _0x1555be;},_0x1adf(_0x3cda4c,_0x5f2923);}!function(_0x1cdb79){const _0x2da469=_0x4650d5;_0x1cdb79[_0x2da469(0x219)]=_0x2da469(0x203),_0x1cdb79[_0x2da469(0x1f5)]=_0x2da469(0x1fe),_0x1cdb79[_0x2da469(0x27d)]=_0x2da469(0x277);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x234c61{static get[_0x4650d5(0x208)](){return[_0x27798f];}static get[_0x4650d5(0x224)](){const _0x207aef=_0x4650d5;return _0x207aef(0x23b);}static get[_0x4650d5(0x249)](){return!0x0;}static get[_0x4650d5(0x24f)](){return!0x0;}async[_0x4650d5(0x20c)](){const _0x5c0cba=_0x4650d5,_0x57413e=await this[_0x5c0cba(0x23a)]();this[_0x5c0cba(0x214)](_0x57413e),this[_0x5c0cba(0x239)]();}static[_0x4650d5(0x25d)](_0x53e226){return function(_0x3fdb73){const _0x1fc72a=_0x1adf,_0xf52a7f=new Intl[(_0x1fc72a(0x252))](['en'],{'type':_0x1fc72a(0x21a)})['of'](_0x3fdb73[_0x1fc72a(0x264)]),_0x39c801=_0xf52a7f||_0x1fc72a(0x247),_0x2aefad=[{'id':_0x1fc72a(0x25e),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x21b)),'type':AIQuickActionType[_0x1fc72a(0x219)],'icon':_0x31e9cc},{'id':_0x1fc72a(0x272),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x24b)),'icon':_0x31e9cc,'actions':[{'id':_0x1fc72a(0x227),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x20a)),'prompt':ae[_0x1fc72a(0x26b)]('%0',_0x39c801),'type':AIQuickActionType[_0x1fc72a(0x219)]},{'id':_0x1fc72a(0x21d),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x23e)),'prompt':se[_0x1fc72a(0x26b)]('%0',_0x39c801),'type':AIQuickActionType[_0x1fc72a(0x219)]},{'id':_0x1fc72a(0x222),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x22d)),'prompt':re[_0x1fc72a(0x26b)]('%0',_0x39c801),'type':AIQuickActionType[_0x1fc72a(0x219)]}]},{'id':_0x1fc72a(0x28c),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x246)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'icon':_0x29e235},{'id':_0x1fc72a(0x1f3),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x1f0)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'icon':_0x134cdf},{'id':_0x1fc72a(0x282),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x20e)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'icon':_0x49677c},{'id':_0x1fc72a(0x242),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x275)),'icon':_0x133ceb,'actions':[{'id':_0x1fc72a(0x225),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x229)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x23c),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x25b)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]}]},{'id':_0x1fc72a(0x1fb),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x27a)),'icon':_0xb5fb4a,'actions':[{'id':_0x1fc72a(0x216),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x263)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x27b),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x21f)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x212),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x210)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x244),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x233)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x221),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x206)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]}]},{'id':_0x1fc72a(0x209),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x240)),'icon':_0x4cbad4,'actions':[{'id':_0x1fc72a(0x1ee),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x215)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x22c)}},{'id':_0x1fc72a(0x232),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x213)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x248)}},{'id':_0x1fc72a(0x1f4),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x251)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x1f6)}},{'id':_0x1fc72a(0x286),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x223)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x1f7)}},{'id':_0x1fc72a(0x23f),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x256)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x268)}},{'id':_0x1fc72a(0x22b),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x284)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x265)}},{'id':_0x1fc72a(0x250),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x231)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x207)}},{'id':_0x1fc72a(0x205),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x26a)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x21c)}},{'id':_0x1fc72a(0x202),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x204)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x1fa)}},{'id':_0x1fc72a(0x26e),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x269)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x20d)}}]},{'id':_0x1fc72a(0x24e),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x27f)),'icon':_0x2e3bca,'actions':[]}];return _0x2aefad;}(_0x53e226);}async[_0x4650d5(0x23a)](){const _0x4dee59=_0x4650d5,_0x2f5fb2=AIQuickActionsUI[_0x4dee59(0x25d)](this[_0x4dee59(0x20f)][_0x4dee59(0x257)]),_0x47ea85=this[_0x4dee59(0x20f)][_0x4dee59(0x20b)][_0x4dee59(0x226)](_0x4dee59(0x278))||[];let _0x459e77=[];try{_0x459e77=await new _0x2a27f0({'connector':this[_0x4dee59(0x20f)][_0x4dee59(0x21e)][_0x4dee59(0x226)](_0x4dee59(0x22a)),'availableModels':this[_0x4dee59(0x20f)][_0x4dee59(0x20b)][_0x4dee59(0x226)](_0x4dee59(0x1fc))})[_0x4dee59(0x255)]();}catch(_0x183935){const _0x4c930e=new _0x4b9e35(_0x4dee59(0x25a),this,{'error':_0x183935});_0x15d564(_0x4c930e[_0x4dee59(0x26f)]);}finally{const _0x42b263=_0x47ea85[_0x4dee59(0x22f)](_0x5eb65b=>({..._0x5eb65b,'icon':void 0x0}));_0x2f5fb2[_0x4dee59(0x28d)](_0x420bc1=>_0x4dee59(0x24e)===_0x420bc1['id'])[_0x4dee59(0x288)][_0x4dee59(0x27c)](..._0x42b263),_0x2f5fb2[_0x4dee59(0x234)](_0x442fed=>{const _0x471eab=_0x4dee59;if(_0x471eab(0x288)in _0x442fed)_0x442fed[_0x471eab(0x288)][_0x471eab(0x234)](_0x307ef2=>{const _0xbd5c5d=_0x471eab;if(_0x307ef2[_0xbd5c5d(0x200)]=!!_0x459e77[_0xbd5c5d(0x28d)](_0x3385d3=>_0x3385d3['id']===_0x307ef2[_0xbd5c5d(0x285)])||void 0x0===_0x307ef2[_0xbd5c5d(0x285)],!_0x307ef2[_0xbd5c5d(0x200)]){const _0x4025d2=new _0x4b9e35(_0xbd5c5d(0x26d),this,{'actionId':_0x307ef2['id'],'modelId':_0x307ef2[_0xbd5c5d(0x285)]});_0x15d564(_0x4025d2[_0xbd5c5d(0x26f)]);}});else{if(_0x442fed[_0x471eab(0x200)]=!!_0x459e77[_0x471eab(0x28d)](_0x1472be=>_0x1472be['id']===_0x442fed[_0x471eab(0x285)])||void 0x0===_0x442fed[_0x471eab(0x285)],!_0x442fed[_0x471eab(0x200)]){const _0x35c9c6=new _0x4b9e35(_0x471eab(0x26d),this,{'actionId':_0x442fed['id'],'modelId':_0x442fed[_0x471eab(0x285)]});_0x15d564(_0x35c9c6[_0x471eab(0x26f)]);}}});}return _0x2f5fb2;}[_0x4650d5(0x239)](){const _0x172804=_0x4650d5,_0x2ce69d=new _0x37c278(this[_0x172804(0x20f)][_0x172804(0x257)]);_0x2ce69d[_0x172804(0x25f)](),this[_0x172804(0x253)](_0x2ce69d),this[_0x172804(0x1ef)](),this[_0x172804(0x241)](_0x2ce69d);}[_0x4650d5(0x253)](_0x1899ce){const _0x241439=_0x4650d5,_0x5241d1=this[_0x241439(0x20f)][_0x241439(0x20b)][_0x241439(0x226)](_0x241439(0x273))??!0x0;this[_0x241439(0x20f)]['ui'][_0x241439(0x261)][_0x241439(0x28b)](_0x241439(0x201),_0x1014e7({'editor':this[_0x241439(0x20f)],'content':this[_0x241439(0x24a)],'buttonDefinition':{'icon':_0x362020,'label':_0x4f6c39(this[_0x241439(0x20f)][_0x241439(0x257)],_0x241439(0x26c))},'bodyCollection':_0x1899ce,'hasSearch':_0x5241d1}));}[_0x4650d5(0x214)](_0x4652d9){const _0x232317=_0x4650d5;this[_0x232317(0x24a)]=_0x4652d9[_0x232317(0x22f)](_0xdb08bd=>{const _0x350e56=_0x232317;if(_0x350e56(0x288)in _0xdb08bd){const _0x5812f7=_0xdb08bd;return{..._0x5812f7,'actions':_0x5812f7[_0x350e56(0x288)][_0x350e56(0x22f)](_0x414f50=>{const {actions:_0x39dc41,..._0x367c7f}=_0x5812f7;return{..._0x414f50,'parent':_0x367c7f};})[_0x350e56(0x237)](_0x5f5acf=>this[_0x350e56(0x218)](_0x5f5acf))};}return _0xdb08bd;})[_0x232317(0x237)](_0x182793=>_0x232317(0x288)in _0x182793?_0x182793[_0x232317(0x288)][_0x232317(0x211)]>0x0:this[_0x232317(0x218)](_0x182793));}[_0x4650d5(0x218)](_0x374679){const _0x288da2=_0x4650d5,_0x18e3d1=this[_0x288da2(0x20f)][_0x288da2(0x20b)][_0x288da2(0x226)](_0x288da2(0x280))||[];return this[_0x288da2(0x20f)][_0x288da2(0x21e)][_0x288da2(0x230)](AIQuickActionTypeToPluginName[_0x374679[_0x288da2(0x279)]])&&!_0x18e3d1[_0x288da2(0x1f1)](_0x374679['id']);}[_0x4650d5(0x241)](_0x18be7c){const _0x510fcc=_0x4650d5;this[_0x510fcc(0x24a)][_0x510fcc(0x234)](_0x304f34=>{const _0x20bfbd=_0x510fcc;if(_0x20bfbd(0x288)in _0x304f34){const _0x2315a9=_0x1014e7({'editor':this[_0x20bfbd(0x20f)],'content':_0x304f34[_0x20bfbd(0x288)],'buttonDefinition':_0x304f34,'bodyCollection':_0x18be7c});this[_0x20bfbd(0x20f)]['ui'][_0x20bfbd(0x261)][_0x20bfbd(0x28b)](_0x304f34['id'],_0x2315a9),_0x304f34[_0x20bfbd(0x288)][_0x20bfbd(0x234)](_0x384f61=>{const _0x4525ec=_0x20bfbd,_0x355bdc=_0x20d605({'editor':this[_0x4525ec(0x20f)],'action':_0x384f61});this[_0x4525ec(0x20f)]['ui'][_0x4525ec(0x261)][_0x4525ec(0x28b)](_0x384f61['id'],_0x355bdc);});}else{const _0x1f18c6=_0x20d605({'editor':this[_0x20bfbd(0x20f)],'action':_0x304f34,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x20bfbd(0x20f)]['ui'][_0x20bfbd(0x261)][_0x20bfbd(0x28b)](_0x304f34['id'],_0x1f18c6);}});}[_0x4650d5(0x1ef)](){const _0xc15b1d=_0x4650d5;this[_0xc15b1d(0x20f)]['ui'][_0xc15b1d(0x261)][_0xc15b1d(0x28b)](_0xc15b1d(0x245),_0x347ca3=>{const _0x15846f=_0xc15b1d,_0x1d9845=new _0x420976(_0x347ca3),_0x2ec835=_0x4f6c39(_0x347ca3,_0x15846f(0x26c));_0x1d9845[_0x15846f(0x287)][_0x15846f(0x1f9)]({'label':_0x2ec835,'icon':_0x362020});const _0x3a2c54=new _0x585355(_0x347ca3);_0x3a2c54[_0x15846f(0x1f9)]({'ariaLabel':_0x2ec835,'role':_0x15846f(0x254)}),this[_0x15846f(0x24a)][_0x15846f(0x234)](_0x3fe389=>{const _0x2a5bea=_0x15846f;if(_0x2a5bea(0x288)in _0x3fe389){const _0x50645b=_0x3fe389,_0x166072=new _0xfeb2ef(_0x347ca3,_0x1d9845),_0x3bdc74=new _0x420976(_0x347ca3),_0x2d475f=new _0x585355(_0x347ca3);_0x3bdc74[_0x2a5bea(0x287)][_0x2a5bea(0x1f9)]({'label':_0x50645b[_0x2a5bea(0x22e)],'icon':_0x50645b[_0x2a5bea(0x236)]}),_0x50645b[_0x2a5bea(0x288)][_0x2a5bea(0x234)](_0x58137f=>{const _0x316bdb=_0x2a5bea,_0x121c5a=new _0xfeb2ef(_0x347ca3,_0x3bdc74),_0x3a7ced=new _0x4bc993(_0x347ca3);_0x3a7ced[_0x316bdb(0x1f9)]({'label':_0x58137f[_0x316bdb(0x217)],'icon':_0x58137f[_0x316bdb(0x236)],'role':_0x316bdb(0x1ed),'isEnabled':_0x58137f[_0x316bdb(0x200)]}),_0x3a7ced['on'](_0x316bdb(0x220),()=>{const _0x51a29d=_0x316bdb;this[_0x51a29d(0x1f2)](_0x58137f);}),_0x3a7ced[_0x316bdb(0x258)](_0x316bdb(0x220))['to'](_0x3bdc74),_0x121c5a[_0x316bdb(0x228)][_0x316bdb(0x28b)](_0x3a7ced),_0x2d475f[_0x316bdb(0x276)][_0x316bdb(0x28b)](_0x121c5a);}),_0x3bdc74[_0x2a5bea(0x271)][_0x2a5bea(0x228)][_0x2a5bea(0x28b)](_0x2d475f),_0x166072[_0x2a5bea(0x228)][_0x2a5bea(0x28b)](_0x3bdc74),_0x3a2c54[_0x2a5bea(0x276)][_0x2a5bea(0x28b)](_0x166072);}else{const _0x4e9ffe=_0x3fe389,_0x2435f3=new _0xfeb2ef(_0x347ca3,_0x1d9845),_0x534c5f=new _0x4bc993(_0x347ca3);_0x534c5f[_0x2a5bea(0x1f9)]({'label':_0x4e9ffe[_0x2a5bea(0x217)],'icon':_0x4e9ffe[_0x2a5bea(0x236)],'role':_0x2a5bea(0x1ed),'isEnabled':_0x4e9ffe[_0x2a5bea(0x200)]}),_0x534c5f['on'](_0x2a5bea(0x220),()=>{const _0x534602=_0x2a5bea;this[_0x534602(0x1f2)](_0x4e9ffe);}),_0x534c5f[_0x2a5bea(0x258)](_0x2a5bea(0x220))['to'](_0x1d9845),_0x2435f3[_0x2a5bea(0x228)][_0x2a5bea(0x28b)](_0x534c5f),_0x3a2c54[_0x2a5bea(0x276)][_0x2a5bea(0x28b)](_0x2435f3);}});const _0x1c7ef0=Object[_0x15846f(0x238)](AIQuickActionTypeToPluginName)[_0x15846f(0x23d)](_0x1e7040=>this[_0x15846f(0x20f)][_0x15846f(0x21e)][_0x15846f(0x230)](_0x1e7040));return _0x1d9845[_0x15846f(0x1f9)]({'isEnabled':_0x1c7ef0}),_0x1d9845[_0x15846f(0x271)][_0x15846f(0x228)][_0x15846f(0x28b)](_0x3a2c54),_0x1d9845;});}[_0x4650d5(0x1f2)](_0x51cd90){const _0x580ec1=_0x4650d5,_0x568a53=this[_0x580ec1(0x20f)];_0x568a53[_0x580ec1(0x281)][_0x580ec1(0x1ff)][_0x580ec1(0x28a)](),_0x568a53[_0x580ec1(0x267)][_0x580ec1(0x220)](_0x580ec1(0x235),_0x51cd90);const _0x40eb3=_0x568a53['ui'][_0x580ec1(0x1ff)][_0x580ec1(0x283)];_0x40eb3&&_0x40eb3[_0x580ec1(0x274)]&&_0x40eb3[_0x580ec1(0x274)]();}}function _0x58c3(){const _0x1af00b=['other','isPremiumPlugin','translate-to-portuguese','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','DisplayNames','_initializeQuickActionsDropdown','menu','getAvailableModels','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','locale','delegate','159GPmhfV','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_MAKE_LONGER','127328bzOoRV','getDefaultQuickActions','ask-ai','attachToDom','70VFnaaG','componentFactory','10760GFcbwe','AI_QUICK_ACTIONS_MORE_CASUAL','uiLanguage','japanese','1056728GeIweJ','commands','french','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','replace','AI_QUICK_ACTIONS_HEADING','ai-quick-actions-unavailable-model','translate-to-russian','message','1123928mfNMfR','panelView','chat-commands','ai.quickActions.isSearchEnabled','close','AI_QUICK_ACTIONS_ADJUST_LENGTH','items','AIReviewMode','ai.quickActions.extraCommands','type','AI_QUICK_ACTIONS_CHANGE_TONE','make-tone-direct','push','REVIEW','9LOLvUg','AI_QUICK_ACTIONS_OTHER','ai.quickActions.removeCommands','editing','fix-grammar','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','model','translate-to-german','buttonView','actions','825790LrbMqK','focus','add','improve-writing','find','menuitem','translate-to-english','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_CONTINUE_WRITING','includes','_executeQuickAction','continue','translate-to-spanish','ACTION','spanish','german','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','set','italian','change-tone','ai.chat.models.displayedModels','362465IofEak','AIActions','view','isEnabled','aiQuickActions','translate-to-italian','AIChat','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','translate-to-korean','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','portuguese','requires','translate','AI_QUICK_ACTIONS_EXPLAIN','config','init','russian','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','editor','AI_QUICK_ACTIONS_MORE_FRIENDLY','length','make-tone-friendly','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-tone-casual','displayedPrompt','_shouldIncludeAction','CHAT','language','AI_QUICK_ACTIONS_ASK_AI','korean','summarize','plugins','AI_QUICK_ACTIONS_MORE_DIRECT','execute','make-tone-professional','highlight-key-points','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','pluginName','make-shorter','get','explain','children','AI_QUICK_ACTIONS_MAKE_SHORTER','AIConnector','translate-to-japanese','english','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','label','map','has','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','translate-to-chinese','AI_QUICK_ACTIONS_MORE_CONFIDENT','forEach','aiQuickAction','icon','filter','values','_initializeQuickActionsComponentsAndCommands','_getDefaultAndCustomActions','AIQuickActionsUI','make-longer','some','AI_QUICK_ACTIONS_SUMMARIZE','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE','_initializeQuickActionsComponents','adjust-length','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-confident','menuBar:aiQuickActions','AI_QUICK_ACTIONS_IMPROVE_WRITING','English','chinese','isOfficialPlugin','_quickActionsDefinition','AI_QUICK_ACTIONS_CHAT_COMMANDS','210882PrSGHr','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>'];_0x58c3=function(){return _0x1af00b;};return _0x58c3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x18c969,_0x126068){const _0x1b9efb=_0x1e13,_0x4dac4a=_0x18c969();while(!![]){try{const _0x5105fa=parseInt(_0x1b9efb(0x1bd))/0x1+parseInt(_0x1b9efb(0x1b5))/0x2+parseInt(_0x1b9efb(0x1b7))/0x3+-parseInt(_0x1b9efb(0x1ba))/0x4+parseInt(_0x1b9efb(0x1c2))/0x5+parseInt(_0x1b9efb(0x1b3))/0x6+-parseInt(_0x1b9efb(0x1b6))/0x7*(parseInt(_0x1b9efb(0x1c1))/0x8);if(_0x5105fa===_0x126068)break;else _0x4dac4a['push'](_0x4dac4a['shift']());}catch(_0x3652d1){_0x4dac4a['push'](_0x4dac4a['shift']());}}}(_0x343f,0x1c965));function _0x1e13(_0x519072,_0x1ceff6){const _0x343f8b=_0x343f();return _0x1e13=function(_0x1e1333,_0x37ecfc){_0x1e1333=_0x1e1333-0x1b1;let _0x2f125a=_0x343f8b[_0x1e1333];return _0x2f125a;},_0x1e13(_0x519072,_0x1ceff6);}import{ButtonView as _0x6c64db}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xa16ca4}from'@ckeditor/ckeditor5-icons';function _0x343f(){const _0xcaf76=['190636TBsqZq','826cKQFBl','651060ubDpJR','menuitem','commands','876816JJQupk','aiQuickAction','locale','224874EuOQMm','extendTemplate','editing','execute','23816sSqucL','16295xPfGZr','ck-ai-quick-actions-button','icon','focus','set','displayedPrompt','view','isEnabled','parent','882672SHjSxU','bindTemplate'];_0x343f=function(){return _0xcaf76;};return _0x343f();}export function aiQuickActionsButtonCreator(_0x4c238f){const {editor:_0x1baa4a,action:_0x1fcc6c,withText:_0x3e0c35=!0x1,withIcon:_0x5e3109=!0x0,isInDropdown:_0x93841f=!0x0,shouldPreventFocus:_0x3b4ea4=!0x1}=_0x4c238f;return()=>{const _0x23454e=_0x1e13,_0x5acd30=_0x1baa4a[_0x23454e(0x1bc)],_0x53fc53=new _0x6c64db(_0x5acd30),_0xfb7942=_0x53fc53[_0x23454e(0x1b4)];_0x93841f&&_0x53fc53[_0x23454e(0x1be)]({'on':{'mouseenter':_0xfb7942['to'](()=>{const _0x17b26b=_0x23454e;_0x3b4ea4&&_0x3b4ea4()||_0x53fc53[_0x17b26b(0x1c5)]();})}});const _0x1a7232=_0x1fcc6c[_0x23454e(0x1c4)]??_0x1fcc6c[_0x23454e(0x1b2)]?.[_0x23454e(0x1c4)];return _0x53fc53[_0x23454e(0x1c6)]({'label':_0x1fcc6c[_0x23454e(0x1c7)],'withText':_0x3e0c35,'role':_0x23454e(0x1b8),'icon':_0x5e3109?_0x1a7232??_0xa16ca4:void 0x0,'tooltip':!_0x3e0c35,'class':_0x23454e(0x1c3),'isEnabled':_0x1fcc6c[_0x23454e(0x1b1)]}),_0x53fc53['on'](_0x23454e(0x1c0),()=>{const _0x5e1d22=_0x23454e;_0x1baa4a[_0x5e1d22(0x1bf)][_0x5e1d22(0x1c8)][_0x5e1d22(0x1c5)](),_0x1baa4a[_0x5e1d22(0x1b9)][_0x5e1d22(0x1c0)](_0x5e1d22(0x1bb),_0x1fcc6c);}),_0x53fc53;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5cd532=_0x7a98;(function(_0x3fcb62,_0x495154){const _0x177876=_0x7a98,_0x304749=_0x3fcb62();while(!![]){try{const _0x131b08=parseInt(_0x177876(0x109))/0x1*(-parseInt(_0x177876(0xd8))/0x2)+parseInt(_0x177876(0xde))/0x3+parseInt(_0x177876(0xd5))/0x4+-parseInt(_0x177876(0xed))/0x5*(parseInt(_0x177876(0x125))/0x6)+parseInt(_0x177876(0xbd))/0x7+parseInt(_0x177876(0xc6))/0x8*(parseInt(_0x177876(0x108))/0x9)+parseInt(_0x177876(0x11e))/0xa;if(_0x131b08===_0x495154)break;else _0x304749['push'](_0x304749['shift']());}catch(_0x43437a){_0x304749['push'](_0x304749['shift']());}}}(_0x419d,0x73a52));import{View as _0x7af21c,ListItemView as _0x533f7b,ListView as _0x211034,BalloonPanelView as _0x5a3fc0,DropdownMenuPanelPositioningFunctions as _0x5d0500,ViewCollection as _0x32e778,FocusCycler as _0x376e71,ButtonView as _0x3b9af5,IconView as _0xe49dde,HighlightedTextView as _0x201c1b,ButtonLabelWithHighlightView as _0x442376,SearchTextView as _0x58a305}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x304c09}from'@ckeditor/ckeditor5-icons';function _0x419d(){const _0x4c23a9=['setTemplate','ck-button_with-text','_createSearchTextView','ck-ai-quick-actions-group-button','text','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','bind','328568trVqYN','items','ck-button','_showNestedPanel','ck-ai-quick-actions-button_with-group__open-paren','ck-ai-quick-actions-search-result__action-row','_bodyCollection','label','focusTracker','clear','ck-dropdown-menu__nested-menu__panel','div','reset','_setupActionButtonExecution','children','578272pBrOdu','push','addMany','257586PtZXAp','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','some','_createSearchResultGroupRow','ck-ai-quick-actions-group-list','isVisible','1110897tjLeuJ','_openNestedPanels','ck-ai-quick-actions-button_with-group','_createListItems','_createSearchResultActionButton','uiLanguageDirection','ownerDocument','first','_createGroupActionsList','add','get','menu','menuitem','_createSearchResultIndividualActionButton','bindTemplate','235zqXkpX','role','contains','actions','keystrokes','ck-ai-quick-actions-search-result-button','AI_QUICK_ACTIONS_SEARCH','.ck-ai-quick-actions-group-list','.ck-ai-quick-actions-group-panel','rtl','fire','focus','_handleSearchResultButtonClick','ck-ai-quick-actions-search-result__content','icon','relatedTarget','span','fieldView','aiQuickAction','delete','ck-ai-quick-actions-button_with-group__close-paren','_allSearchableItems','_createSearchResultActionRow','_createSearchResultGroupedActionButton','editing','isOn','detachFromDom','45VQVJTZ','7vrCjTK','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','set','execute','mouseleave','activeElement','optionsListView','locale','ck-reset_all','_hideNestedPanel','destroy','key','extendTemplate','_createActionGroupButton','ArrowLeft','_isMovingToNestedMenu','queryView','chain','focusCycler','addEventListener','isEnabled','8664710IHFRKT','ArrowRight','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-button','forEach','ck-ai-quick-actions-search','closest','82758yWvQpN','content','_createActionButton','ck-ai-quick-actions-button__group-icon','_getPanelKeystroke','_handlePanelKeydown','_getButtonKeystroke','displayedPrompt','_focusables','_createSearchResultContentView','_isSearchFocused','element','.ck-ai-quick-actions-group-button','resetSearch','ck-ai-quick-actions-search-result-button_with-group','pin','_searchTextView','eastSouth','render','ck-rounded-corners','ck-ai-quick-actions','ck-ai-quick-actions-search-result__group-row','_hideAllNestedPanels','button','view','show','hide','_hasSearch','commands','parent','_setupGroupMenuBehavior','ck-dropdown-menu-list','3057677WoysCp','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'];_0x419d=function(){return _0x4c23a9;};return _0x419d();}import{FocusTracker as _0x20a433,KeystrokeHandler as _0x220951}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x4bc13e}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0xedf5fb}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x22012c}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x240cbb}from'./aiquickactionsfilteredlistview.js';const ys=_0x5cd532(0xe9),Ts=_0x5cd532(0xea);function _0x7a98(_0x33be37,_0x342556){const _0x419dfc=_0x419d();return _0x7a98=function(_0x7a9896,_0x553780){_0x7a9896=_0x7a9896-0xae;let _0x4c6b8e=_0x419dfc[_0x7a9896];return _0x4c6b8e;},_0x7a98(_0x33be37,_0x342556);}export class AIQuickActionsDropdownContentView extends _0x7af21c{[_0x5cd532(0xcc)];[_0x5cd532(0x10f)];[_0x5cd532(0x135)]=null;[_0x5cd532(0x102)]=[];[_0x5cd532(0xd4)];[_0x5cd532(0xce)];[_0x5cd532(0xf1)];[_0x5cd532(0x12d)];[_0x5cd532(0x11b)];[_0x5cd532(0xdf)]=new Set();[_0x5cd532(0xb8)];constructor(_0x2f156,_0x10028d,_0x5b207d,_0x4b3231,_0x5b72be=!0x1){const _0x2bc33e=_0x5cd532,_0x125c02=_0x2f156[_0x2bc33e(0x110)];super(_0x125c02),this[_0x2bc33e(0xcc)]=_0x4b3231,this[_0x2bc33e(0xb8)]=_0x5b72be;const _0xdef376=this[_0x2bc33e(0xe1)](_0x2f156,_0x10028d,_0x5b207d);this[_0x2bc33e(0x10f)]=new _0x240cbb(_0x125c02,_0xdef376,this[_0x2bc33e(0x102)]),this[_0x2bc33e(0x10f)][_0x2bc33e(0xee)]=ys,this[_0x2bc33e(0x10f)][_0x2bc33e(0xc7)][_0x2bc33e(0xd7)](_0xdef376),this[_0x2bc33e(0xce)]=new _0x20a433(),this[_0x2bc33e(0xf1)]=new _0x220951(),_0x5b72be&&(this[_0x2bc33e(0x135)]=this[_0x2bc33e(0xc1)]()),this[_0x2bc33e(0x12d)]=_0xdef376,this[_0x2bc33e(0x11b)]=new _0x376e71({'focusables':this[_0x2bc33e(0x12d)],'focusTracker':this[_0x2bc33e(0xce)],'keystrokeHandler':this[_0x2bc33e(0xf1)]}),_0x5b72be&&this[_0x2bc33e(0x135)]&&this[_0x2bc33e(0x11b)][_0x2bc33e(0x11a)](this[_0x2bc33e(0x135)][_0x2bc33e(0x11b)]);const _0x533307=_0x5b72be&&this[_0x2bc33e(0x135)]?[this[_0x2bc33e(0x135)]]:[this[_0x2bc33e(0x10f)]];this[_0x2bc33e(0xd4)]=new _0x32e778(_0x533307),this[_0x2bc33e(0xbf)]({'tag':_0x2bc33e(0xd1),'attributes':{'class':['ck',_0x2bc33e(0x111),_0x2bc33e(0xb1),_0x2bc33e(0xb0)],'dir':_0x125c02[_0x2bc33e(0xe3)]},'children':this[_0x2bc33e(0xd4)]});}[_0x5cd532(0xc1)](){const _0x1d8d00=_0x5cd532;return new _0x58a305(this[_0x1d8d00(0x110)],{'filteredView':this[_0x1d8d00(0x10f)],'queryView':{'label':_0x22012c(this[_0x1d8d00(0x110)],_0x1d8d00(0xf3))},'class':_0x1d8d00(0x123),'infoView':{'text':{'notFound':{'primary':_0x22012c(this[_0x1d8d00(0x110)],_0x1d8d00(0x10a))}}}});}[_0x5cd532(0x12f)](){const _0x41cc17=_0x5cd532;if(!this[_0x41cc17(0xb8)]||!this[_0x41cc17(0x135)]||!this[_0x41cc17(0x135)][_0x41cc17(0x119)][_0x41cc17(0xfe)][_0x41cc17(0x130)])return!0x1;const _0xb38e3a=this[_0x41cc17(0x135)][_0x41cc17(0x119)][_0x41cc17(0xfe)][_0x41cc17(0x130)][_0x41cc17(0xe4)]?.[_0x41cc17(0x10e)];return this[_0x41cc17(0x135)][_0x41cc17(0x119)][_0x41cc17(0xfe)][_0x41cc17(0x130)][_0x41cc17(0xef)](_0xb38e3a);}[_0x5cd532(0xe1)](_0x456b16,_0x4110d4,_0x74d846){const _0x46e697=_0x5cd532,_0x4431f2=new _0x32e778();return _0x4110d4[_0x46e697(0x122)](_0xf5a9a7=>{const _0x207191=_0x46e697;if(_0x207191(0xf0)in _0xf5a9a7){const {listItem:_0x5c925a}=this[_0x207191(0x116)](_0x456b16,_0xf5a9a7,_0x74d846);_0x4431f2[_0x207191(0xe7)](_0x5c925a),_0xf5a9a7[_0x207191(0xf0)][_0x207191(0x122)](_0x1bad85=>{const _0x5f3dd6=_0x207191;this[_0x5f3dd6(0x127)](_0x456b16,_0x1bad85,_0xf5a9a7[_0x5f3dd6(0xcd)],_0xf5a9a7[_0x5f3dd6(0xfb)]);const {listItem:_0x5c84a1,highlightViews:_0xfe2b24}=this[_0x5f3dd6(0xe2)](_0x456b16,_0x1bad85,_0xf5a9a7[_0x5f3dd6(0xcd)],_0xf5a9a7[_0x5f3dd6(0xfb)]);this[_0x5f3dd6(0x102)][_0x5f3dd6(0xd6)]({'item':_0x5c84a1,'label':_0x1bad85[_0x5f3dd6(0x12c)],'groupLabel':_0xf5a9a7[_0x5f3dd6(0xcd)],'highlightViews':_0xfe2b24});});}else{const {listItem:_0x274a79}=this[_0x207191(0x127)](_0x456b16,_0xf5a9a7);_0x4431f2[_0x207191(0xe7)](_0x274a79);const _0x1e9446=_0x274a79[_0x207191(0xd4)][_0x207191(0xe5)];if(_0x1e9446){const {listItem:_0x171284,highlightViews:_0x2a2c0b}=this[_0x207191(0xe2)](_0x456b16,_0xf5a9a7);this[_0x207191(0x102)][_0x207191(0xd6)]({'item':_0x171284,'label':_0x1e9446[_0x207191(0xcd)]||'','highlightViews':_0x2a2c0b});}}}),_0x4431f2;}[_0x5cd532(0x127)](_0x1d7c40,_0x12d55e,_0x1a9ab4,_0x5257b5){const _0x32f4cf=_0x5cd532,_0xcd2183=new _0x533f7b(this[_0x32f4cf(0x110)]);if(_0x1a9ab4&&_0x5257b5){const _0x25b8ea=new _0x3b9af5(this[_0x32f4cf(0x110)]),_0x3b2d6f=_0x25b8ea[_0x32f4cf(0xec)],_0x5833e6=new _0x201c1b();_0x5833e6[_0x32f4cf(0xc3)]=_0x12d55e[_0x32f4cf(0x12c)];const _0x5177fd=new _0x201c1b();_0x5177fd[_0x32f4cf(0xc3)]=_0x1a9ab4;const _0x24c7f7=new _0xe49dde();_0x24c7f7[_0x32f4cf(0x126)]=_0x5257b5,_0x24c7f7[_0x32f4cf(0x115)]({'attributes':{'class':_0x32f4cf(0x128)}});const _0xbdc532=new _0x7af21c(this[_0x32f4cf(0x110)]);_0xbdc532[_0x32f4cf(0xbf)]({'tag':_0x32f4cf(0xfd),'attributes':{'class':_0x32f4cf(0xca)},'children':[{'text':'\x20('}]});const _0x517a3a=new _0x7af21c(this[_0x32f4cf(0x110)]);return _0x517a3a[_0x32f4cf(0xbf)]({'tag':_0x32f4cf(0xfd),'attributes':{'class':_0x32f4cf(0x101)},'children':[{'text':')'}]}),_0x25b8ea[_0x32f4cf(0x10b)]({'label':_0x12d55e[_0x32f4cf(0x12c)]+'\x20('+_0x1a9ab4+')','withText':!0x0,'role':_0x32f4cf(0xea),'class':_0x32f4cf(0xc4),'tooltip':!0x1}),_0x25b8ea[_0x32f4cf(0xbf)]({'tag':_0x32f4cf(0xb4),'attributes':{'class':['ck',_0x32f4cf(0xc8),_0x32f4cf(0xc0),_0x32f4cf(0x121),_0x32f4cf(0xe0)],'type':_0x32f4cf(0xb4),'role':_0x32f4cf(0xea),'tabindex':'-1'},'children':[_0x5833e6,_0xbdc532,_0x24c7f7,_0x5177fd,_0x517a3a],'on':{'mouseenter':_0x3b2d6f['to'](()=>{const _0x462708=_0x32f4cf;this[_0x462708(0x12f)]()||_0x25b8ea[_0x462708(0xf8)]();}),'click':_0x3b2d6f['to'](()=>{const _0xae2c14=_0x32f4cf;_0x25b8ea[_0xae2c14(0xf7)](_0xae2c14(0x10c));})}}),_0x25b8ea['on'](_0x32f4cf(0x10c),()=>{const _0x1214c7=_0x32f4cf;_0x1d7c40[_0x1214c7(0x105)][_0x1214c7(0xb5)][_0x1214c7(0xf8)](),_0x1d7c40[_0x1214c7(0xb9)][_0x1214c7(0x10c)](_0x1214c7(0xff),_0x12d55e);}),_0xcd2183[_0x32f4cf(0xd4)][_0x32f4cf(0xe7)](_0x25b8ea),{'listItem':_0xcd2183,'highlightViews':[_0x5833e6,_0x5177fd]};}{const _0x301273=new _0x442376(),_0x4a1b18=new _0x3b9af5(this[_0x32f4cf(0x110)],_0x301273),_0x56592c=_0x4a1b18[_0x32f4cf(0xec)],_0x2953ff=_0x12d55e[_0x32f4cf(0xfb)]??_0x12d55e[_0x32f4cf(0xba)]?.[_0x32f4cf(0xfb)],_0x3beff2=void 0x0!==_0x12d55e[_0x32f4cf(0xfb)];return _0x4a1b18[_0x32f4cf(0x10b)]({'label':_0x12d55e[_0x32f4cf(0x12c)],'withText':!0x0,'role':_0x32f4cf(0xea),'icon':_0x3beff2?_0x2953ff??_0x304c09:void 0x0,'tooltip':!0x1,'class':_0x32f4cf(0x121)}),_0x4a1b18[_0x32f4cf(0x115)]({'on':{'mouseenter':_0x56592c['to'](()=>{const _0x397ba4=_0x32f4cf;this[_0x397ba4(0x12f)]()||_0x4a1b18[_0x397ba4(0xf8)]();})}}),_0x4a1b18['on'](_0x32f4cf(0x10c),()=>{const _0x3d4043=_0x32f4cf;_0x1d7c40[_0x3d4043(0x105)][_0x3d4043(0xb5)][_0x3d4043(0xf8)](),_0x1d7c40[_0x3d4043(0xb9)][_0x3d4043(0x10c)](_0x3d4043(0xff),_0x12d55e);}),_0xcd2183[_0x32f4cf(0xd4)][_0x32f4cf(0xe7)](_0x4a1b18),{'listItem':_0xcd2183,'highlightViews':[_0x301273]};}}[_0x5cd532(0xe2)](_0x2c4d60,_0x3daaa5,_0x906db8,_0x567f5f){const _0x3572b3=_0x5cd532;return _0x906db8&&_0x567f5f?this[_0x3572b3(0x104)](_0x2c4d60,_0x3daaa5,_0x906db8,_0x567f5f):this[_0x3572b3(0xeb)](_0x2c4d60,_0x3daaa5);}[_0x5cd532(0x104)](_0x1e42fb,_0x2cd6ab,_0x598d86,_0x58f63b){const _0x720f08=_0x5cd532,_0x661b1b=new _0x533f7b(this[_0x720f08(0x110)]),_0x218d37=new _0x3b9af5(this[_0x720f08(0x110)]),_0x2b9ca=_0x218d37[_0x720f08(0xec)],{view:_0xb9cad3,highlightView:_0x2507ff}=this[_0x720f08(0xdb)](_0x598d86,_0x58f63b),{view:_0x1e6e22,highlightView:_0x1af29e}=this[_0x720f08(0x103)](_0x2cd6ab[_0x720f08(0x12c)]),_0x26673f=this[_0x720f08(0x12e)](_0xb9cad3,_0x1e6e22);return _0x218d37[_0x720f08(0x10b)]({'label':_0x2cd6ab[_0x720f08(0x12c)],'withText':!0x0,'role':_0x720f08(0xea),'class':_0x720f08(0xd9),'tooltip':!0x1}),_0x218d37[_0x720f08(0xbf)]({'tag':_0x720f08(0xb4),'attributes':{'class':['ck',_0x720f08(0xc8),_0x720f08(0xc0),_0x720f08(0x121),_0x720f08(0xf2),_0x720f08(0x133)],'type':_0x720f08(0xb4),'role':_0x720f08(0xea),'tabindex':'-1'},'children':[_0x26673f],'on':{'mouseenter':_0x2b9ca['to'](()=>{const _0x2f436d=_0x720f08;this[_0x2f436d(0x12f)]()||_0x218d37[_0x2f436d(0xf8)]();}),'click':_0x2b9ca['to'](()=>{const _0x1d6a5b=_0x720f08;this[_0x1d6a5b(0xf9)](_0x218d37);})}}),this[_0x720f08(0xd3)](_0x218d37,_0x1e42fb,_0x2cd6ab),_0x661b1b[_0x720f08(0xd4)][_0x720f08(0xe7)](_0x218d37),{'listItem':_0x661b1b,'highlightViews':[_0x2507ff,_0x1af29e]};}[_0x5cd532(0xeb)](_0x58ca5b,_0x20585b){const _0x3ab3c8=_0x5cd532,_0x43c802=new _0x533f7b(this[_0x3ab3c8(0x110)]),_0x13741b=new _0x442376(),_0x17a2b9=new _0x3b9af5(this[_0x3ab3c8(0x110)],_0x13741b),_0x1097e8=_0x17a2b9[_0x3ab3c8(0xec)];return _0x17a2b9[_0x3ab3c8(0x10b)]({'label':_0x20585b[_0x3ab3c8(0x12c)],'withText':!0x0,'role':_0x3ab3c8(0xea),'icon':void 0x0,'tooltip':!0x1,'class':_0x3ab3c8(0xbe)}),_0x17a2b9[_0x3ab3c8(0x115)]({'on':{'mouseenter':_0x1097e8['to'](()=>{const _0x5a7717=_0x3ab3c8;this[_0x5a7717(0x12f)]()||_0x17a2b9[_0x5a7717(0xf8)]();})}}),this[_0x3ab3c8(0xd3)](_0x17a2b9,_0x58ca5b,_0x20585b),_0x43c802[_0x3ab3c8(0xd4)][_0x3ab3c8(0xe7)](_0x17a2b9),{'listItem':_0x43c802,'highlightViews':[_0x13741b]};}[_0x5cd532(0xdb)](_0x47e736,_0x224cad){const _0x2157f3=_0x5cd532,_0x8bb496=new _0x7af21c(this[_0x2157f3(0x110)]),_0x4b3fac=new _0xe49dde();_0x4b3fac[_0x2157f3(0x126)]=_0x224cad,_0x4b3fac[_0x2157f3(0x115)]({'attributes':{'class':_0x2157f3(0x128)}});const _0xaec466=new _0x201c1b();return _0xaec466[_0x2157f3(0xc3)]=_0x47e736,_0x8bb496[_0x2157f3(0xbf)]({'tag':_0x2157f3(0xd1),'attributes':{'class':_0x2157f3(0xb2)},'children':[_0x4b3fac,_0xaec466]}),{'view':_0x8bb496,'highlightView':_0xaec466};}[_0x5cd532(0x103)](_0x243812){const _0x399807=_0x5cd532,_0xaa1111=new _0x7af21c(this[_0x399807(0x110)]),_0x39b639=new _0x201c1b();return _0x39b639[_0x399807(0xc3)]=_0x243812,_0xaa1111[_0x399807(0xbf)]({'tag':_0x399807(0xd1),'attributes':{'class':_0x399807(0xcb)},'children':[_0x39b639]}),{'view':_0xaa1111,'highlightView':_0x39b639};}[_0x5cd532(0x12e)](_0x42b70c,_0xc1733a){const _0x543d71=_0x5cd532,_0x433a64=new _0x7af21c(this[_0x543d71(0x110)]);return _0x433a64[_0x543d71(0xbf)]({'tag':_0x543d71(0xd1),'attributes':{'class':_0x543d71(0xfa)},'children':[_0x42b70c,_0xc1733a]}),_0x433a64;}[_0x5cd532(0xd3)](_0x5ae3c1,_0x4b5630,_0x21978e){const _0x220ffd=_0x5cd532;_0x5ae3c1['on'](_0x220ffd(0x10c),()=>{const _0x5f0910=_0x220ffd;_0x4b5630[_0x5f0910(0x105)][_0x5f0910(0xb5)][_0x5f0910(0xf8)](),_0x4b5630[_0x5f0910(0xb9)][_0x5f0910(0x10c)](_0x5f0910(0xff),_0x21978e);});}[_0x5cd532(0x116)](_0x345809,_0x5d479c,_0x3b4711){const _0x2b98aa=_0x5cd532,_0x22607b=new _0x533f7b(this[_0x2b98aa(0x110)]),_0x72df95=new _0x442376(),_0x1b6452=new _0xedf5fb(this[_0x2b98aa(0x110)],_0x72df95),_0x4b8db9=_0x1b6452[_0x2b98aa(0xec)],_0x57fb76=this[_0x2b98aa(0x129)](_0x3b4711),_0x1cb031=this[_0x2b98aa(0xe6)](_0x345809,_0x5d479c[_0x2b98aa(0xf0)],_0x3b4711);_0x1b6452[_0x2b98aa(0x10b)]({'label':_0x5d479c[_0x2b98aa(0xcd)],'withText':!0x0,'role':Ts,'icon':_0x5d479c[_0x2b98aa(0xfb)]??_0x304c09,'isEnabled':_0x5d479c[_0x2b98aa(0xf0)][_0x2b98aa(0xda)](_0x463626=>_0x463626[_0x2b98aa(0x11d)])}),_0x1b6452[_0x2b98aa(0x115)]({'on':{'mouseenter':_0x4b8db9['to'](()=>{const _0x5b41d6=_0x2b98aa;this[_0x5b41d6(0x12f)]()||_0x1b6452[_0x5b41d6(0xf8)]();})}});const _0x7a3cd5=new _0x5a3fc0(this[_0x2b98aa(0x110)]);return _0x7a3cd5[_0x2b98aa(0x115)]({'attributes':{'class':['ck',_0x2b98aa(0x111),_0x2b98aa(0x120),_0x2b98aa(0xd0)]},'on':{'keydown':_0x4b8db9['to'](_0x68861a=>{const _0x2a73b2=_0x2b98aa;this[_0x2a73b2(0x12a)](_0x68861a,_0x57fb76,_0x1b6452,_0x7a3cd5);})}}),_0x1b6452[_0x2b98aa(0xc5)](_0x2b98aa(0x106))['to'](_0x7a3cd5,_0x2b98aa(0xdd)),this[_0x2b98aa(0xcc)][_0x2b98aa(0xe7)](_0x7a3cd5),_0x7a3cd5[_0x2b98aa(0x126)][_0x2b98aa(0xe7)](_0x1cb031),this[_0x2b98aa(0xbb)](_0x1b6452,_0x7a3cd5),_0x22607b[_0x2b98aa(0xd4)][_0x2b98aa(0xe7)](_0x1b6452),{'listItem':_0x22607b,'highlightView':_0x72df95};}[_0x5cd532(0xe6)](_0x36fa4c,_0x46e891,_0x40cdbf){const _0x4fc2e5=_0x5cd532,_0x28afc0=new _0x211034(this[_0x4fc2e5(0x110)]);return _0x28afc0[_0x4fc2e5(0x115)]({'attributes':{'class':['ck',_0x4fc2e5(0x111),_0x4fc2e5(0xdc),_0x4fc2e5(0xbc)]}}),_0x46e891[_0x4fc2e5(0x122)](_0x1c610d=>{const _0x295fc5=_0x4fc2e5,_0x3e2557=new _0x533f7b(this[_0x295fc5(0x110)]),_0x2a7075=_0x4bc13e({'editor':_0x36fa4c,'action':_0x1c610d,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x295fc5(0x12f)]()})();_0x3e2557[_0x295fc5(0xd4)][_0x295fc5(0xe7)](_0x2a7075),_0x40cdbf[_0x295fc5(0xce)][_0x295fc5(0xe7)](_0x2a7075),_0x28afc0[_0x295fc5(0xc7)][_0x295fc5(0xe7)](_0x3e2557);}),_0x28afc0;}[_0x5cd532(0xbb)](_0x44b5c9,_0x4bfebf){const _0xb50a5=_0x5cd532,_0x52793d=_0x44b5c9[_0xb50a5(0xec)],_0x491ad7=this[_0xb50a5(0x12b)](_0x44b5c9);_0x44b5c9[_0xb50a5(0x115)]({'attributes':{'class':[_0xb50a5(0xc2)]},'on':{'mouseenter':_0x52793d['to'](()=>{const _0x227610=_0xb50a5;this[_0x227610(0xc9)](_0x4bfebf,_0x44b5c9);}),'mouseleave':_0x52793d['to'](_0x201354=>{const _0x26b2de=_0xb50a5,_0x5da9f0=_0x201354[_0x26b2de(0xfc)];this[_0x26b2de(0x118)](_0x5da9f0,_0x4bfebf)||this[_0x26b2de(0x112)](_0x4bfebf);}),'keydown':_0x52793d['to'](_0x40dffe=>{const _0x3cb85a=_0xb50a5;_0x40dffe[_0x3cb85a(0x114)]==_0x491ad7&&(this[_0x3cb85a(0xc9)](_0x4bfebf,_0x44b5c9),_0x4bfebf[_0x3cb85a(0x126)][_0x3cb85a(0xe8)](0x0)[_0x3cb85a(0xf8)]());})}}),_0x4bfebf['on'](_0xb50a5(0xaf),()=>{const _0x1049ae=_0xb50a5;_0x4bfebf[_0x1049ae(0x130)]?.[_0x1049ae(0x11c)](_0x1049ae(0x10d),_0x3b6043=>{const _0x2607da=_0x1049ae,_0xf29fdc=_0x3b6043[_0x2607da(0xfc)];_0x44b5c9[_0x2607da(0x130)]?.[_0x2607da(0xef)](_0xf29fdc)||this[_0x2607da(0x118)](_0xf29fdc,_0x4bfebf)||this[_0x2607da(0x112)](_0x4bfebf);});});}[_0x5cd532(0xc9)](_0x38cae7,_0x4a310c){const _0x250acc=_0x5cd532;this[_0x250acc(0xdf)][_0x250acc(0x122)](_0x5e4492=>{const _0x54d442=_0x250acc;_0x5e4492!==_0x38cae7&&_0x5e4492[_0x54d442(0xdd)]&&_0x5e4492[_0x54d442(0xb7)]();}),_0x38cae7[_0x250acc(0xb6)](),_0x38cae7[_0x250acc(0x134)]({'positions':[_0x5d0500[_0x250acc(0xae)]],'target':_0x4a310c[_0x250acc(0x130)],'fitInViewport':!0x0}),this[_0x250acc(0xdf)][_0x250acc(0xe7)](_0x38cae7);}[_0x5cd532(0x112)](_0x1547a9){const _0x4b7d85=_0x5cd532;_0x1547a9[_0x4b7d85(0xb7)](),this[_0x4b7d85(0xdf)][_0x4b7d85(0x100)](_0x1547a9);}[_0x5cd532(0xb3)](){const _0x40d62d=_0x5cd532;this[_0x40d62d(0xdf)][_0x40d62d(0x122)](_0x1b5295=>_0x1b5295[_0x40d62d(0xb7)]()),this[_0x40d62d(0xdf)][_0x40d62d(0xcf)]();}[_0x5cd532(0x118)](_0x299692,_0x5eef9b){const _0x4964d4=_0x5cd532;if(!_0x299692)return!0x1;if(_0x5eef9b[_0x4964d4(0x130)]?.[_0x4964d4(0xef)](_0x299692))return!0x0;const _0xcf3b67=_0x299692;return _0xcf3b67[_0x4964d4(0x124)]&&(null!==_0xcf3b67[_0x4964d4(0x124)](_0x4964d4(0xf5))||null!==_0xcf3b67[_0x4964d4(0x124)](_0x4964d4(0xf4))||null!==_0xcf3b67[_0x4964d4(0x124)](_0x4964d4(0x131)));}[_0x5cd532(0x132)](){const _0x116056=_0x5cd532;this[_0x116056(0x135)]&&this[_0x116056(0x135)][_0x116056(0xd2)]();}[_0x5cd532(0x113)](){const _0x14ea9a=_0x5cd532;this[_0x14ea9a(0xb3)](),this[_0x14ea9a(0xcc)][_0x14ea9a(0x107)](),super[_0x14ea9a(0x113)]();}[_0x5cd532(0xf8)](){const _0x5e9f65=_0x5cd532;this[_0x5e9f65(0x135)]?this[_0x5e9f65(0x135)][_0x5e9f65(0xf8)]():this[_0x5e9f65(0x10f)][_0x5e9f65(0xf8)]();}[_0x5cd532(0x129)](_0xa19aa9){const _0x531da9=_0x5cd532;return _0x531da9(0xf6)===_0xa19aa9[_0x531da9(0x110)][_0x531da9(0xe3)]?_0x531da9(0x11f):_0x531da9(0x117);}[_0x5cd532(0x12b)](_0x468848){const _0xb532ad=_0x5cd532;return _0xb532ad(0xf6)===_0x468848[_0xb532ad(0x110)][_0xb532ad(0xe3)]?_0xb532ad(0x117):_0xb532ad(0x11f);}[_0x5cd532(0x12a)](_0x1eeddc,_0x21f7eb,_0x571df8,_0x3ad58e){const _0x3e9de5=_0x5cd532;_0x1eeddc[_0x3e9de5(0x114)]==_0x21f7eb&&(_0x571df8[_0x3e9de5(0xf8)](),this[_0x3e9de5(0x112)](_0x3ad58e));}[_0x5cd532(0xf9)](_0x40e98d){const _0x25becf=_0x5cd532;_0x40e98d[_0x25becf(0xf7)](_0x25becf(0x10c));}}
|
|
23
|
+
const _0x918bd=_0x385e;(function(_0x231ebb,_0xb1a076){const _0x150f23=_0x385e,_0x577c3f=_0x231ebb();while(!![]){try{const _0x5304e1=-parseInt(_0x150f23(0x1f8))/0x1+-parseInt(_0x150f23(0x1d5))/0x2*(parseInt(_0x150f23(0x1a0))/0x3)+parseInt(_0x150f23(0x213))/0x4+-parseInt(_0x150f23(0x1ed))/0x5+parseInt(_0x150f23(0x218))/0x6+-parseInt(_0x150f23(0x1c2))/0x7+parseInt(_0x150f23(0x1e7))/0x8*(parseInt(_0x150f23(0x1e2))/0x9);if(_0x5304e1===_0xb1a076)break;else _0x577c3f['push'](_0x577c3f['shift']());}catch(_0x2877ed){_0x577c3f['push'](_0x577c3f['shift']());}}}(_0x547e,0xdd2b9));import{View as _0x3638cd,ListItemView as _0x40222b,ListView as _0x3a44a9,BalloonPanelView as _0x5a4e79,DropdownMenuPanelPositioningFunctions as _0x1fcf45,ViewCollection as _0x39b30e,FocusCycler as _0x1e9565,ButtonView as _0x13db5e,IconView as _0x5c2fbc,HighlightedTextView as _0x6140f3,ButtonLabelWithHighlightView as _0x4f1b02,SearchTextView as _0x42b25e}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x332d74}from'@ckeditor/ckeditor5-icons';function _0x385e(_0x327d62,_0x324b89){const _0x547efa=_0x547e();return _0x385e=function(_0x385e7a,_0x3fe018){_0x385e7a=_0x385e7a-0x1a0;let _0x287159=_0x547efa[_0x385e7a];return _0x287159;},_0x385e(_0x327d62,_0x324b89);}import{FocusTracker as _0x2b33a3,KeystrokeHandler as _0x242a5f}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x2c6f55}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x5c924c}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x218172}from'../../aicore/utils/common-translations.js';function _0x547e(){const _0x407e7f=['children','icon','_showNestedPanel','some','3ptQCBo','_hideNestedPanel','push','ArrowLeft','ck-ai-quick-actions-search-result__group-row','ck-ai-quick-actions-button__group-icon','optionsListView','hide','execute','ck-reset_all','_createSearchResultActionRow','get','_getPanelKeystroke','_handlePanelKeydown','ck-ai-quick-actions-search-result__action-row','_createSearchResultContentView','key','_createSearchResultGroupRow','_createGroupActionsList','fieldView','ck-ai-quick-actions-group-panel','addMany','_setupActionButtonExecution','parent','bindTemplate','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group__open-paren','commands','set','_createListItems','reset','rtl','focusTracker','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','8660736ZjAKNy','queryView','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','ArrowRight','ck-ai-quick-actions-search-result__content','content','_isSearchFocused','element','ck-ai-quick-actions-group-list','_setupGroupMenuBehavior','ck-dropdown-menu-list','AI_QUICK_ACTIONS_SEARCH','_createSearchTextView','.ck-ai-quick-actions-group-panel','label','fire','actions','ck-ai-quick-actions-group-button','addEventListener','2832706lVnwxD','_createActionButton','role','span','ck-ai-quick-actions-button_with-group','eastSouth','closest','.ck-ai-quick-actions-group-button','isEnabled','focusCycler','_isMovingToNestedMenu','_allSearchableItems','forEach','189BfHQlE','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_bodyCollection','bind','editing','1110696SNNAfd','_focusables','delete','aiQuickAction','_getButtonKeystroke','ck-ai-quick-actions-search-result-button','6075180mBNEIa','uiLanguageDirection','_searchTextView','destroy','add','_hideAllNestedPanels','mouseleave','menu','text','.ck-ai-quick-actions-group-list','items','47195OLsQvo','detachFromDom','button','chain','activeElement','keystrokes','extendTemplate','view','render','ck-rounded-corners','displayedPrompt','ck-ai-quick-actions-search','locale','contains','focus','ck-button','clear','ck-ai-quick-actions','_createActionGroupButton','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-search-result-button_with-group','ownerDocument','ck-ai-quick-actions-button_with-group__close-paren','_createSearchResultActionButton','pin','relatedTarget','setTemplate','6946076MLwNax','menuitem','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_createSearchResultGroupedActionButton','_createSearchResultIndividualActionButton','1017894dGtxsU','resetSearch','_handleSearchResultButtonClick','first','ck-button_with-text','_hasSearch','_openNestedPanels','isOn','isVisible','show','div'];_0x547e=function(){return _0x407e7f;};return _0x547e();}import{AIQuickActionsFilteredListView as _0x121891}from'./aiquickactionsfilteredlistview.js';const ys=_0x918bd(0x1f4),Ts=_0x918bd(0x214);export class AIQuickActionsDropdownContentView extends _0x3638cd{[_0x918bd(0x1e4)];[_0x918bd(0x1a6)];[_0x918bd(0x1ef)]=null;[_0x918bd(0x1e0)]=[];[_0x918bd(0x223)];[_0x918bd(0x1c0)];[_0x918bd(0x1fd)];[_0x918bd(0x1e8)];[_0x918bd(0x1de)];[_0x918bd(0x21e)]=new Set();[_0x918bd(0x21d)];constructor(_0x597686,_0x5b219e,_0xbe1d6,_0x470b18,_0x51a017=!0x1){const _0x2f71f6=_0x918bd,_0xab24a=_0x597686[_0x2f71f6(0x204)];super(_0xab24a),this[_0x2f71f6(0x1e4)]=_0x470b18,this[_0x2f71f6(0x21d)]=_0x51a017;const _0x38b4db=this[_0x2f71f6(0x1bd)](_0x597686,_0x5b219e,_0xbe1d6);this[_0x2f71f6(0x1a6)]=new _0x121891(_0xab24a,_0x38b4db,this[_0x2f71f6(0x1e0)]),this[_0x2f71f6(0x1a6)][_0x2f71f6(0x1d7)]=ys,this[_0x2f71f6(0x1a6)][_0x2f71f6(0x1f7)][_0x2f71f6(0x1b5)](_0x38b4db),this[_0x2f71f6(0x1c0)]=new _0x2b33a3(),this[_0x2f71f6(0x1fd)]=new _0x242a5f(),_0x51a017&&(this[_0x2f71f6(0x1ef)]=this[_0x2f71f6(0x1ce)]()),this[_0x2f71f6(0x1e8)]=_0x38b4db,this[_0x2f71f6(0x1de)]=new _0x1e9565({'focusables':this[_0x2f71f6(0x1e8)],'focusTracker':this[_0x2f71f6(0x1c0)],'keystrokeHandler':this[_0x2f71f6(0x1fd)]}),_0x51a017&&this[_0x2f71f6(0x1ef)]&&this[_0x2f71f6(0x1de)][_0x2f71f6(0x1fb)](this[_0x2f71f6(0x1ef)][_0x2f71f6(0x1de)]);const _0x126e4a=_0x51a017&&this[_0x2f71f6(0x1ef)]?[this[_0x2f71f6(0x1ef)]]:[this[_0x2f71f6(0x1a6)]];this[_0x2f71f6(0x223)]=new _0x39b30e(_0x126e4a),this[_0x2f71f6(0x212)]({'tag':_0x2f71f6(0x222),'attributes':{'class':['ck',_0x2f71f6(0x1a9),_0x2f71f6(0x209),_0x2f71f6(0x201)],'dir':_0xab24a[_0x2f71f6(0x1ee)]},'children':this[_0x2f71f6(0x223)]});}[_0x918bd(0x1ce)](){const _0x3f3b6f=_0x918bd;return new _0x42b25e(this[_0x3f3b6f(0x204)],{'filteredView':this[_0x3f3b6f(0x1a6)],'queryView':{'label':_0x218172(this[_0x3f3b6f(0x204)],_0x3f3b6f(0x1cd))},'class':_0x3f3b6f(0x203),'infoView':{'text':{'notFound':{'primary':_0x218172(this[_0x3f3b6f(0x204)],_0x3f3b6f(0x215))}}}});}[_0x918bd(0x1c8)](){const _0x3f58e3=_0x918bd;if(!this[_0x3f58e3(0x21d)]||!this[_0x3f58e3(0x1ef)]||!this[_0x3f58e3(0x1ef)][_0x3f58e3(0x1c3)][_0x3f58e3(0x1b3)][_0x3f58e3(0x1c9)])return!0x1;const _0x2616c6=this[_0x3f58e3(0x1ef)][_0x3f58e3(0x1c3)][_0x3f58e3(0x1b3)][_0x3f58e3(0x1c9)][_0x3f58e3(0x20d)]?.[_0x3f58e3(0x1fc)];return this[_0x3f58e3(0x1ef)][_0x3f58e3(0x1c3)][_0x3f58e3(0x1b3)][_0x3f58e3(0x1c9)][_0x3f58e3(0x205)](_0x2616c6);}[_0x918bd(0x1bd)](_0x43e8f1,_0x3232e9,_0x3e13ff){const _0x3b1a97=_0x918bd,_0x22fca0=new _0x39b30e();return _0x3232e9[_0x3b1a97(0x1e1)](_0xe8dd77=>{const _0x12131c=_0x3b1a97;if(_0x12131c(0x1d2)in _0xe8dd77){const {listItem:_0x39ec36}=this[_0x12131c(0x20a)](_0x43e8f1,_0xe8dd77,_0x3e13ff);_0x22fca0[_0x12131c(0x1f1)](_0x39ec36),_0xe8dd77[_0x12131c(0x1d2)][_0x12131c(0x1e1)](_0x4a88fc=>{const _0x30410a=_0x12131c;this[_0x30410a(0x1d6)](_0x43e8f1,_0x4a88fc,_0xe8dd77[_0x30410a(0x1d0)],_0xe8dd77[_0x30410a(0x224)]);const {listItem:_0x594d8a,highlightViews:_0x438f69}=this[_0x30410a(0x20f)](_0x43e8f1,_0x4a88fc,_0xe8dd77[_0x30410a(0x1d0)],_0xe8dd77[_0x30410a(0x224)]);this[_0x30410a(0x1e0)][_0x30410a(0x1a2)]({'item':_0x594d8a,'label':_0x4a88fc[_0x30410a(0x202)],'groupLabel':_0xe8dd77[_0x30410a(0x1d0)],'highlightViews':_0x438f69});});}else{const {listItem:_0x5abb08}=this[_0x12131c(0x1d6)](_0x43e8f1,_0xe8dd77);_0x22fca0[_0x12131c(0x1f1)](_0x5abb08);const _0x238705=_0x5abb08[_0x12131c(0x223)][_0x12131c(0x21b)];if(_0x238705){const {listItem:_0x2734fc,highlightViews:_0x2ede40}=this[_0x12131c(0x20f)](_0x43e8f1,_0xe8dd77);this[_0x12131c(0x1e0)][_0x12131c(0x1a2)]({'item':_0x2734fc,'label':_0x238705[_0x12131c(0x1d0)]||'','highlightViews':_0x2ede40});}}}),_0x22fca0;}[_0x918bd(0x1d6)](_0x8ca381,_0x14441f,_0x40ab62,_0x4c2771){const _0x495eee=_0x918bd,_0x2b5e31=new _0x40222b(this[_0x495eee(0x204)]);if(_0x40ab62&&_0x4c2771){const _0x50bdf3=new _0x13db5e(this[_0x495eee(0x204)]),_0x4701f8=_0x50bdf3[_0x495eee(0x1b8)],_0x3a392a=new _0x6140f3();_0x3a392a[_0x495eee(0x1f5)]=_0x14441f[_0x495eee(0x202)];const _0x4670e0=new _0x6140f3();_0x4670e0[_0x495eee(0x1f5)]=_0x40ab62;const _0x34016f=new _0x5c2fbc();_0x34016f[_0x495eee(0x1c7)]=_0x4c2771,_0x34016f[_0x495eee(0x1fe)]({'attributes':{'class':_0x495eee(0x1a5)}});const _0xe0c3c8=new _0x3638cd(this[_0x495eee(0x204)]);_0xe0c3c8[_0x495eee(0x212)]({'tag':_0x495eee(0x1d8),'attributes':{'class':_0x495eee(0x1ba)},'children':[{'text':'\x20('}]});const _0x18862b=new _0x3638cd(this[_0x495eee(0x204)]);return _0x18862b[_0x495eee(0x212)]({'tag':_0x495eee(0x1d8),'attributes':{'class':_0x495eee(0x20e)},'children':[{'text':')'}]}),_0x50bdf3[_0x495eee(0x1bc)]({'label':_0x14441f[_0x495eee(0x202)]+'\x20('+_0x40ab62+')','withText':!0x0,'role':_0x495eee(0x214),'class':_0x495eee(0x1c4),'tooltip':!0x1}),_0x50bdf3[_0x495eee(0x212)]({'tag':_0x495eee(0x1fa),'attributes':{'class':['ck',_0x495eee(0x207),_0x495eee(0x21c),_0x495eee(0x1b9),_0x495eee(0x1d9)],'type':_0x495eee(0x1fa),'role':_0x495eee(0x214),'tabindex':'-1'},'children':[_0x3a392a,_0xe0c3c8,_0x34016f,_0x4670e0,_0x18862b],'on':{'mouseenter':_0x4701f8['to'](()=>{const _0x31ac42=_0x495eee;this[_0x31ac42(0x1c8)]()||_0x50bdf3[_0x31ac42(0x206)]();}),'click':_0x4701f8['to'](()=>{const _0x3af398=_0x495eee;_0x50bdf3[_0x3af398(0x1d1)](_0x3af398(0x1a8));})}}),_0x50bdf3['on'](_0x495eee(0x1a8),()=>{const _0x3fdb8d=_0x495eee;_0x8ca381[_0x3fdb8d(0x1e6)][_0x3fdb8d(0x1ff)][_0x3fdb8d(0x206)](),_0x8ca381[_0x3fdb8d(0x1bb)][_0x3fdb8d(0x1a8)](_0x3fdb8d(0x1ea),_0x14441f);}),_0x2b5e31[_0x495eee(0x223)][_0x495eee(0x1f1)](_0x50bdf3),{'listItem':_0x2b5e31,'highlightViews':[_0x3a392a,_0x4670e0]};}{const _0x44a5ec=new _0x4f1b02(),_0x4f68c2=new _0x13db5e(this[_0x495eee(0x204)],_0x44a5ec),_0x14a947=_0x4f68c2[_0x495eee(0x1b8)],_0x3c5153=_0x14441f[_0x495eee(0x224)]??_0x14441f[_0x495eee(0x1b7)]?.[_0x495eee(0x224)],_0x2d7bb8=void 0x0!==_0x14441f[_0x495eee(0x224)];return _0x4f68c2[_0x495eee(0x1bc)]({'label':_0x14441f[_0x495eee(0x202)],'withText':!0x0,'role':_0x495eee(0x214),'icon':_0x2d7bb8?_0x3c5153??_0x332d74:void 0x0,'tooltip':!0x1,'class':_0x495eee(0x1b9)}),_0x4f68c2[_0x495eee(0x1fe)]({'on':{'mouseenter':_0x14a947['to'](()=>{const _0x460235=_0x495eee;this[_0x460235(0x1c8)]()||_0x4f68c2[_0x460235(0x206)]();})}}),_0x4f68c2['on'](_0x495eee(0x1a8),()=>{const _0xf96123=_0x495eee;_0x8ca381[_0xf96123(0x1e6)][_0xf96123(0x1ff)][_0xf96123(0x206)](),_0x8ca381[_0xf96123(0x1bb)][_0xf96123(0x1a8)](_0xf96123(0x1ea),_0x14441f);}),_0x2b5e31[_0x495eee(0x223)][_0x495eee(0x1f1)](_0x4f68c2),{'listItem':_0x2b5e31,'highlightViews':[_0x44a5ec]};}}[_0x918bd(0x20f)](_0x37e14a,_0x51a729,_0x2e28ab,_0x3196c5){const _0x56d8b9=_0x918bd;return _0x2e28ab&&_0x3196c5?this[_0x56d8b9(0x216)](_0x37e14a,_0x51a729,_0x2e28ab,_0x3196c5):this[_0x56d8b9(0x217)](_0x37e14a,_0x51a729);}[_0x918bd(0x216)](_0x2c5fdd,_0xa6ff74,_0x599b1c,_0x2fd159){const _0x470284=_0x918bd,_0x4fa93f=new _0x40222b(this[_0x470284(0x204)]),_0xd6bbd2=new _0x13db5e(this[_0x470284(0x204)]),_0x992aa0=_0xd6bbd2[_0x470284(0x1b8)],{view:_0x39aedf,highlightView:_0x3fd173}=this[_0x470284(0x1b1)](_0x599b1c,_0x2fd159),{view:_0x48332e,highlightView:_0x5466db}=this[_0x470284(0x1aa)](_0xa6ff74[_0x470284(0x202)]),_0x54cbd9=this[_0x470284(0x1af)](_0x39aedf,_0x48332e);return _0xd6bbd2[_0x470284(0x1bc)]({'label':_0xa6ff74[_0x470284(0x202)],'withText':!0x0,'role':_0x470284(0x214),'class':_0x470284(0x1c1),'tooltip':!0x1}),_0xd6bbd2[_0x470284(0x212)]({'tag':_0x470284(0x1fa),'attributes':{'class':['ck',_0x470284(0x207),_0x470284(0x21c),_0x470284(0x1b9),_0x470284(0x1ec),_0x470284(0x20c)],'type':_0x470284(0x1fa),'role':_0x470284(0x214),'tabindex':'-1'},'children':[_0x54cbd9],'on':{'mouseenter':_0x992aa0['to'](()=>{const _0x30a4f3=_0x470284;this[_0x30a4f3(0x1c8)]()||_0xd6bbd2[_0x30a4f3(0x206)]();}),'click':_0x992aa0['to'](()=>{const _0x3e0c7f=_0x470284;this[_0x3e0c7f(0x21a)](_0xd6bbd2);})}}),this[_0x470284(0x1b6)](_0xd6bbd2,_0x2c5fdd,_0xa6ff74),_0x4fa93f[_0x470284(0x223)][_0x470284(0x1f1)](_0xd6bbd2),{'listItem':_0x4fa93f,'highlightViews':[_0x3fd173,_0x5466db]};}[_0x918bd(0x217)](_0x30750d,_0x231ca9){const _0x2d883f=_0x918bd,_0x842f42=new _0x40222b(this[_0x2d883f(0x204)]),_0x3e0209=new _0x4f1b02(),_0x2f7539=new _0x13db5e(this[_0x2d883f(0x204)],_0x3e0209),_0x2b354b=_0x2f7539[_0x2d883f(0x1b8)];return _0x2f7539[_0x2d883f(0x1bc)]({'label':_0x231ca9[_0x2d883f(0x202)],'withText':!0x0,'role':_0x2d883f(0x214),'icon':void 0x0,'tooltip':!0x1,'class':_0x2d883f(0x1e3)}),_0x2f7539[_0x2d883f(0x1fe)]({'on':{'mouseenter':_0x2b354b['to'](()=>{const _0x3f01de=_0x2d883f;this[_0x3f01de(0x1c8)]()||_0x2f7539[_0x3f01de(0x206)]();})}}),this[_0x2d883f(0x1b6)](_0x2f7539,_0x30750d,_0x231ca9),_0x842f42[_0x2d883f(0x223)][_0x2d883f(0x1f1)](_0x2f7539),{'listItem':_0x842f42,'highlightViews':[_0x3e0209]};}[_0x918bd(0x1b1)](_0xabe77b,_0x46bc9b){const _0x5aed52=_0x918bd,_0x4db9fc=new _0x3638cd(this[_0x5aed52(0x204)]),_0x38fbfc=new _0x5c2fbc();_0x38fbfc[_0x5aed52(0x1c7)]=_0x46bc9b,_0x38fbfc[_0x5aed52(0x1fe)]({'attributes':{'class':_0x5aed52(0x1a5)}});const _0x27186a=new _0x6140f3();return _0x27186a[_0x5aed52(0x1f5)]=_0xabe77b,_0x4db9fc[_0x5aed52(0x212)]({'tag':_0x5aed52(0x222),'attributes':{'class':_0x5aed52(0x1a4)},'children':[_0x38fbfc,_0x27186a]}),{'view':_0x4db9fc,'highlightView':_0x27186a};}[_0x918bd(0x1aa)](_0x1e0fc3){const _0x40589c=_0x918bd,_0x5ccfd0=new _0x3638cd(this[_0x40589c(0x204)]),_0xde6031=new _0x6140f3();return _0xde6031[_0x40589c(0x1f5)]=_0x1e0fc3,_0x5ccfd0[_0x40589c(0x212)]({'tag':_0x40589c(0x222),'attributes':{'class':_0x40589c(0x1ae)},'children':[_0xde6031]}),{'view':_0x5ccfd0,'highlightView':_0xde6031};}[_0x918bd(0x1af)](_0x43b07a,_0xc49ef7){const _0x32ae94=_0x918bd,_0x3e4f54=new _0x3638cd(this[_0x32ae94(0x204)]);return _0x3e4f54[_0x32ae94(0x212)]({'tag':_0x32ae94(0x222),'attributes':{'class':_0x32ae94(0x1c6)},'children':[_0x43b07a,_0xc49ef7]}),_0x3e4f54;}[_0x918bd(0x1b6)](_0x52a80e,_0x9830f6,_0x101245){const _0x172cb1=_0x918bd;_0x52a80e['on'](_0x172cb1(0x1a8),()=>{const _0x23a6f9=_0x172cb1;_0x9830f6[_0x23a6f9(0x1e6)][_0x23a6f9(0x1ff)][_0x23a6f9(0x206)](),_0x9830f6[_0x23a6f9(0x1bb)][_0x23a6f9(0x1a8)](_0x23a6f9(0x1ea),_0x101245);});}[_0x918bd(0x20a)](_0x183d0f,_0x3acf33,_0x101c30){const _0xa26ccb=_0x918bd,_0x186a76=new _0x40222b(this[_0xa26ccb(0x204)]),_0x1f1cc1=new _0x4f1b02(),_0x531c2b=new _0x5c924c(this[_0xa26ccb(0x204)],_0x1f1cc1),_0x5eca61=_0x531c2b[_0xa26ccb(0x1b8)],_0x33de24=this[_0xa26ccb(0x1ac)](_0x101c30),_0x1bfa0a=this[_0xa26ccb(0x1b2)](_0x183d0f,_0x3acf33[_0xa26ccb(0x1d2)],_0x101c30);_0x531c2b[_0xa26ccb(0x1bc)]({'label':_0x3acf33[_0xa26ccb(0x1d0)],'withText':!0x0,'role':Ts,'icon':_0x3acf33[_0xa26ccb(0x224)]??_0x332d74,'isEnabled':_0x3acf33[_0xa26ccb(0x1d2)][_0xa26ccb(0x226)](_0x4c2de1=>_0x4c2de1[_0xa26ccb(0x1dd)])}),_0x531c2b[_0xa26ccb(0x1fe)]({'on':{'mouseenter':_0x5eca61['to'](()=>{const _0x5ce796=_0xa26ccb;this[_0x5ce796(0x1c8)]()||_0x531c2b[_0x5ce796(0x206)]();})}});const _0x346ed5=new _0x5a4e79(this[_0xa26ccb(0x204)]);return _0x346ed5[_0xa26ccb(0x1fe)]({'attributes':{'class':['ck',_0xa26ccb(0x1a9),_0xa26ccb(0x1b4),_0xa26ccb(0x20b)]},'on':{'keydown':_0x5eca61['to'](_0x595f89=>{const _0xc81e04=_0xa26ccb;this[_0xc81e04(0x1ad)](_0x595f89,_0x33de24,_0x531c2b,_0x346ed5);})}}),_0x531c2b[_0xa26ccb(0x1e5)](_0xa26ccb(0x21f))['to'](_0x346ed5,_0xa26ccb(0x220)),this[_0xa26ccb(0x1e4)][_0xa26ccb(0x1f1)](_0x346ed5),_0x346ed5[_0xa26ccb(0x1c7)][_0xa26ccb(0x1f1)](_0x1bfa0a),this[_0xa26ccb(0x1cb)](_0x531c2b,_0x346ed5),_0x186a76[_0xa26ccb(0x223)][_0xa26ccb(0x1f1)](_0x531c2b),{'listItem':_0x186a76,'highlightView':_0x1f1cc1};}[_0x918bd(0x1b2)](_0x54626a,_0x287db3,_0x3a48dd){const _0xf43aaf=_0x918bd,_0x253d7b=new _0x3a44a9(this[_0xf43aaf(0x204)]);return _0x253d7b[_0xf43aaf(0x1fe)]({'attributes':{'class':['ck',_0xf43aaf(0x1a9),_0xf43aaf(0x1ca),_0xf43aaf(0x1cc)]}}),_0x287db3[_0xf43aaf(0x1e1)](_0x34f753=>{const _0x13c2c5=_0xf43aaf,_0x237243=new _0x40222b(this[_0x13c2c5(0x204)]),_0x2547e4=_0x2c6f55({'editor':_0x54626a,'action':_0x34f753,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x13c2c5(0x1c8)]()})();_0x237243[_0x13c2c5(0x223)][_0x13c2c5(0x1f1)](_0x2547e4),_0x3a48dd[_0x13c2c5(0x1c0)][_0x13c2c5(0x1f1)](_0x2547e4),_0x253d7b[_0x13c2c5(0x1f7)][_0x13c2c5(0x1f1)](_0x237243);}),_0x253d7b;}[_0x918bd(0x1cb)](_0x33e2d7,_0x34aeef){const _0x39f0c5=_0x918bd,_0x455bc9=_0x33e2d7[_0x39f0c5(0x1b8)],_0x1516aa=this[_0x39f0c5(0x1eb)](_0x33e2d7);_0x33e2d7[_0x39f0c5(0x1fe)]({'attributes':{'class':[_0x39f0c5(0x1d3)]},'on':{'mouseenter':_0x455bc9['to'](()=>{const _0x4b1d7f=_0x39f0c5;this[_0x4b1d7f(0x225)](_0x34aeef,_0x33e2d7);}),'mouseleave':_0x455bc9['to'](_0x353407=>{const _0x5d7538=_0x39f0c5,_0x530535=_0x353407[_0x5d7538(0x211)];this[_0x5d7538(0x1df)](_0x530535,_0x34aeef)||this[_0x5d7538(0x1a1)](_0x34aeef);}),'keydown':_0x455bc9['to'](_0x4d78e0=>{const _0x427c96=_0x39f0c5;_0x4d78e0[_0x427c96(0x1b0)]==_0x1516aa&&(this[_0x427c96(0x225)](_0x34aeef,_0x33e2d7),_0x34aeef[_0x427c96(0x1c7)][_0x427c96(0x1ab)](0x0)[_0x427c96(0x206)]());})}}),_0x34aeef['on'](_0x39f0c5(0x200),()=>{const _0x521e56=_0x39f0c5;_0x34aeef[_0x521e56(0x1c9)]?.[_0x521e56(0x1d4)](_0x521e56(0x1f3),_0x534864=>{const _0x44fc0e=_0x521e56,_0x35d133=_0x534864[_0x44fc0e(0x211)];_0x33e2d7[_0x44fc0e(0x1c9)]?.[_0x44fc0e(0x205)](_0x35d133)||this[_0x44fc0e(0x1df)](_0x35d133,_0x34aeef)||this[_0x44fc0e(0x1a1)](_0x34aeef);});});}[_0x918bd(0x225)](_0x4c1c42,_0x5edc17){const _0x5efeb4=_0x918bd;this[_0x5efeb4(0x21e)][_0x5efeb4(0x1e1)](_0x41c175=>{const _0x268c2a=_0x5efeb4;_0x41c175!==_0x4c1c42&&_0x41c175[_0x268c2a(0x220)]&&_0x41c175[_0x268c2a(0x1a7)]();}),_0x4c1c42[_0x5efeb4(0x221)](),_0x4c1c42[_0x5efeb4(0x210)]({'positions':[_0x1fcf45[_0x5efeb4(0x1da)]],'target':_0x5edc17[_0x5efeb4(0x1c9)],'fitInViewport':!0x0}),this[_0x5efeb4(0x21e)][_0x5efeb4(0x1f1)](_0x4c1c42);}[_0x918bd(0x1a1)](_0x368a15){const _0x445b0d=_0x918bd;_0x368a15[_0x445b0d(0x1a7)](),this[_0x445b0d(0x21e)][_0x445b0d(0x1e9)](_0x368a15);}[_0x918bd(0x1f2)](){const _0x3877e6=_0x918bd;this[_0x3877e6(0x21e)][_0x3877e6(0x1e1)](_0x4d5c08=>_0x4d5c08[_0x3877e6(0x1a7)]()),this[_0x3877e6(0x21e)][_0x3877e6(0x208)]();}[_0x918bd(0x1df)](_0x1da211,_0x313dbb){const _0x1592a1=_0x918bd;if(!_0x1da211)return!0x1;if(_0x313dbb[_0x1592a1(0x1c9)]?.[_0x1592a1(0x205)](_0x1da211))return!0x0;const _0x5147aa=_0x1da211;return _0x5147aa[_0x1592a1(0x1db)]&&(null!==_0x5147aa[_0x1592a1(0x1db)](_0x1592a1(0x1cf))||null!==_0x5147aa[_0x1592a1(0x1db)](_0x1592a1(0x1f6))||null!==_0x5147aa[_0x1592a1(0x1db)](_0x1592a1(0x1dc)));}[_0x918bd(0x219)](){const _0x28fdd8=_0x918bd;this[_0x28fdd8(0x1ef)]&&this[_0x28fdd8(0x1ef)][_0x28fdd8(0x1be)]();}[_0x918bd(0x1f0)](){const _0x238dd7=_0x918bd;this[_0x238dd7(0x1f2)](),this[_0x238dd7(0x1e4)][_0x238dd7(0x1f9)](),super[_0x238dd7(0x1f0)]();}[_0x918bd(0x206)](){const _0x47e414=_0x918bd;this[_0x47e414(0x1ef)]?this[_0x47e414(0x1ef)][_0x47e414(0x206)]():this[_0x47e414(0x1a6)][_0x47e414(0x206)]();}[_0x918bd(0x1ac)](_0x1249b6){const _0x33a1eb=_0x918bd;return _0x33a1eb(0x1bf)===_0x1249b6[_0x33a1eb(0x204)][_0x33a1eb(0x1ee)]?_0x33a1eb(0x1c5):_0x33a1eb(0x1a3);}[_0x918bd(0x1eb)](_0xfd09c9){const _0x3ec426=_0x918bd;return _0x3ec426(0x1bf)===_0xfd09c9[_0x3ec426(0x204)][_0x3ec426(0x1ee)]?_0x3ec426(0x1a3):_0x3ec426(0x1c5);}[_0x918bd(0x1ad)](_0x518b63,_0x1ece08,_0x3a09be,_0x1878aa){const _0x9d8a52=_0x918bd;_0x518b63[_0x9d8a52(0x1b0)]==_0x1ece08&&(_0x3a09be[_0x9d8a52(0x206)](),this[_0x9d8a52(0x1a1)](_0x1878aa));}[_0x918bd(0x21a)](_0x2614da){const _0x31c26b=_0x918bd;_0x2614da[_0x31c26b(0x1d1)](_0x31c26b(0x1a8));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x35940e,_0x418072){const _0x394056=_0x177b,_0x20ff07=_0x35940e();while(!![]){try{const _0x1ec9ac=-parseInt(_0x394056(0xf5))/0x1+-parseInt(_0x394056(0xe0))/0x2*(parseInt(_0x394056(0xf0))/0x3)+-parseInt(_0x394056(0xec))/0x4*(-parseInt(_0x394056(0xd8))/0x5)+parseInt(_0x394056(0xe2))/0x6+-parseInt(_0x394056(0xf6))/0x7*(-parseInt(_0x394056(0xe3))/0x8)+-parseInt(_0x394056(0xe9))/0x9+parseInt(_0x394056(0xf9))/0xa;if(_0x1ec9ac===_0x418072)break;else _0x20ff07['push'](_0x20ff07['shift']());}catch(_0x4210e1){_0x20ff07['push'](_0x20ff07['shift']());}}}(_0x36e7,0x6f19b));import{createDropdown as _0xa75936}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xc9980a}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x227ba9}from'./aiquickactionsdropdowncontentview.js';function _0x177b(_0x5bbf04,_0x45e28f){const _0x36e728=_0x36e7();return _0x177b=function(_0x177be3,_0x18f0b7){_0x177be3=_0x177be3-0xd8;let _0x12e86e=_0x36e728[_0x177be3];return _0x12e86e;},_0x177b(_0x5bbf04,_0x45e28f);}import{AIEditing as _0x5e6ea7}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x43938f){const {editor:_0x1aefe9,content:_0x2235ac,buttonDefinition:_0x23c13e,bodyCollection:_0x2547ca,hasSearch:_0x4d45df=!0x1}=_0x43938f;return()=>{const _0x13db09=_0x177b,_0x50c2b8=_0x1aefe9[_0x13db09(0xda)],_0x5163c3=_0xa75936(_0x50c2b8);_0x5163c3[_0x13db09(0xea)][_0x13db09(0xdd)]({'icon':_0x23c13e[_0x13db09(0xe8)]??_0xc9980a,'label':_0x23c13e[_0x13db09(0xe7)],'tooltip':!0x0}),_0x5163c3[_0x13db09(0xdd)]({'class':_0x13db09(0xe5)});const _0x5d318f=new _0x227ba9(_0x1aefe9,_0x2235ac,_0x5163c3,_0x2547ca,_0x4d45df);if(_0x5163c3[_0x13db09(0xeb)][_0x13db09(0xf2)][_0x13db09(0xf1)](_0x5d318f),_0x4d45df){const _0x42721f=_0x13db09(0xe4);_0x5163c3['on'](_0x13db09(0xed),(_0x3d571d,_0x390303,_0x1ddc43)=>{const _0x5c7e17=_0x13db09;if(_0x1ddc43){if(_0x1aefe9[_0x5c7e17(0xf7)][_0x5c7e17(0xef)](_0x5c7e17(0xee))){const _0x4a6846=_0x1aefe9[_0x5c7e17(0xf7)][_0x5c7e17(0xf8)](_0x5e6ea7),_0x209ba8=_0x1aefe9[_0x5c7e17(0xf3)][_0x5c7e17(0xd9)][_0x5c7e17(0xe1)],_0x574aea=Array[_0x5c7e17(0xdb)](_0x209ba8[_0x5c7e17(0xde)]());_0x574aea[_0x5c7e17(0xdc)]>0x0&&_0x4a6846[_0x5c7e17(0xe6)](_0x574aea,_0x42721f,!0x1,!0x0);}}else _0x1aefe9[_0x5c7e17(0xf7)][_0x5c7e17(0xef)](_0x5c7e17(0xee))&&_0x1aefe9[_0x5c7e17(0xf7)][_0x5c7e17(0xf8)](_0x5e6ea7)[_0x5c7e17(0xf4)](_0x42721f),_0x5d318f[_0x5c7e17(0xdf)]();});}return _0x5163c3;};}function _0x36e7(){const _0x4080f4=['buttonView','panelView','75484YiiDtc','change:isOpen','AIEditing','has','12UIwtjw','add','children','model','hideFakeVisualSelection','766152aNAgLO','7lmIMUW','plugins','get','14674140eAlpCs','235NyWvtU','document','locale','from','length','set','getRanges','resetSearch','371334PRJpNK','selection','1355250eELJTJ','1909256xzIEXz','ai-quick-actions-dropdown-selection','ck-ai-quick-actions-dropdown','showFakeVisualSelection','label','icon','7694964JylfCB'];_0x36e7=function(){return _0x4080f4;};return _0x36e7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1f5b(){const _0x4ac8bb=['resetActiveStateInResults','showDiffInBalloon','click','clearAllMarkers','ai.reviewMode.translations','switchToReadOnly','panel','markChangeAsRejected','showReviewCompletedView','setAvailableChecks','config','ck-ai-review-mode-diff','ai-review-mode-check-run-general-error','locale','title','.ck-ai-review-mode__check-run-result','deactivateChange','ai-review-mode-source-check-not-found','changeMarkerRemoved','listenTo','finished','ready','changeMarkerClick','emitter','startsWith','models','ck-ai-review-mode-highlights','_TITLE','hover','AI_REVIEW_CHECK_','replaceAll','264DDbkfE','closest','getDomRoot','content','reviewCheckResultDeactivated','markerElement','144819Raadfw','abort','AIReviewModeUI','355242TTcumm','AIReviewModeEditing','options','error-general','AIConnector','isChangeActive','updateChangeState','changeMarkerBlurred','activateChange','toggleDiff','changeId','markChangeAsPending','contentInitial','requires','args','translate','markChangePositionInEditorContent','domEvent','reviewCheckRunUpdated','aborted','documentData','plugins','forceReadyState','params','start','processedResultsCount','showChunkErrorView','leaveReviewModeResultList','setActiveStateInResults','setCheckResultTitle','addClass','acceptChange','markChangeAsOutdated','reviewCheckResultAdded','hideDiffInBalloon','applyChange','getCheckById','getActiveChanges','markChangeAsAccepted','subTitle','currentError','AI_MODEL_DESCRIPTION_','showGeneralReviewModeErrorView','document','domElement','3qzfSIX','init','toUpperCase','4156900lyRJjW','1137444JcceOZ','unmodified','_aiConnector','_aiReviewModeUi','getEditor','acceptAllChanges','pluginName','leaveReviewMode','getMarkerElementForChange','showNoChangesView','abortReviewStream','removeClass','switchToEdit','getChangeElement','_translateReviewChecks','_DESCRIPTION','1285768yxNKWQ','editing','changeMarkerHovered','_currentReviewCheckRun','hideChangeBalloon','getDocumentData','description','showActionsWhenResultIsReady','_onDiffChange','stopListening','map','_logError','diffContent','AIReviewModeController','changeMarkerRestored','_OPTIONS_LABEL','change','reviewCheckResultChangeStatusUpdated','includes','1123745dRvuJq','get','error-chunk','_aiReviewModeEditing','result','showCheckRunResult','finishReview','length','prompt','label','6EGrwCr','custom','reviewCheckResultReady','context','getRoot','getReviewCheckList','contentNew','removeCheckById','isCustom','showCheckRunResults','markAllChangesAsAccepted','loading','viewportOffset','reviewCheckResultActivated','ai-request-aborted','checks','2170952DdHLXD','source','dismissChange','find','addResultChanges','data','ai-review-mode-check-run-chunk-error','message','ai-review-mode-no-current-check-run','showChangeBalloon','isAnyChangeActivated','_getTranslationWithDefault','ai-review-mode-models-unable-to-retrieve','_aiReviewCheckList','updateDocumentData','_isDiffOn','isOfficialPlugin','showReviewCheckList','sendRating','getChangeById','hasModifications','_changeActivationSource','ai-review-mode-check-run-failed','_onReviewModeRunLeave','restart','status','view','rejectChange','_OPTIONS_DATA_','model','isPremiumPlugin','getAll','showGeneralResultsErrorView','retryReview','runReviewCheck','changes'];_0x1f5b=function(){return _0x4ac8bb;};return _0x1f5b();}const _0x459cda=_0x6674;(function(_0x5a64a5,_0xc23a80){const _0x52c312=_0x6674,_0x40fd0f=_0x5a64a5();while(!![]){try{const _0x589cb0=parseInt(_0x52c312(0x26b))/0x1*(-parseInt(_0x52c312(0x23e))/0x2)+-parseInt(_0x52c312(0x1e2))/0x3*(-parseInt(_0x52c312(0x1c5))/0x4)+parseInt(_0x52c312(0x1d8))/0x5+-parseInt(_0x52c312(0x26f))/0x6+parseInt(_0x52c312(0x1f2))/0x7+-parseInt(_0x52c312(0x235))/0x8*(parseInt(_0x52c312(0x23b))/0x9)+parseInt(_0x52c312(0x26e))/0xa;if(_0x589cb0===_0xc23a80)break;else _0x40fd0f['push'](_0x40fd0f['shift']());}catch(_0x138503){_0x40fd0f['push'](_0x40fd0f['shift']());}}}(_0x1f5b,0x53033));import{ContextPlugin as _0x5092fd}from'ckeditor5/src/core.js';import{CKEditorError as _0x244d19,logError as _0x5d95de,scrollAncestorsToShowTarget as _0x162aa2,scrollViewportToShowTarget as _0x223172}from'ckeditor5/src/utils.js';import{AIConnector as _0x19d8ec}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x3aee9b}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x3721fb}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1ab082}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x5a2deb}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x205fee}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x2235a2}from'../aicore/utils/common-translations.js';function _0x6674(_0x3d07f7,_0x424d8d){const _0x1f5bd4=_0x1f5b();return _0x6674=function(_0x667480,_0x3607cc){_0x667480=_0x667480-0x1bf;let _0x19457e=_0x1f5bd4[_0x667480];return _0x19457e;},_0x6674(_0x3d07f7,_0x424d8d);}export class AIReviewModeController extends _0x5092fd{[_0x459cda(0x271)];[_0x459cda(0x272)];[_0x459cda(0x1db)];[_0x459cda(0x1ff)];[_0x459cda(0x1c8)];[_0x459cda(0x201)]=!0x1;[_0x459cda(0x207)]=null;static get[_0x459cda(0x24b)](){return[_0x19d8ec];}static get[_0x459cda(0x275)](){const _0xf757cf=_0x459cda;return _0xf757cf(0x1d2);}static get[_0x459cda(0x202)](){return!0x0;}static get[_0x459cda(0x210)](){return!0x0;}async[_0x459cda(0x26c)](){const _0x2717b1=_0x459cda;this[_0x2717b1(0x271)]=this[_0x2717b1(0x1e5)][_0x2717b1(0x253)][_0x2717b1(0x1d9)](_0x2717b1(0x242)),this[_0x2717b1(0x272)]=this[_0x2717b1(0x1e5)][_0x2717b1(0x253)][_0x2717b1(0x1d9)](_0x2717b1(0x23d)),this[_0x2717b1(0x1db)]=this[_0x2717b1(0x1e5)][_0x2717b1(0x253)][_0x2717b1(0x1d9)](_0x2717b1(0x23f));const _0x2db3b5=this[_0x2717b1(0x1e5)][_0x2717b1(0x220)][_0x2717b1(0x1d9)](_0x2717b1(0x21a));if(_0x2db3b5){for(const _0x415836 of _0x205fee)_0x2717b1(0x24d)===_0x415836['id']&&(_0x415836[_0x2717b1(0x240)][0x0][_0x2717b1(0x1f7)]=_0x2db3b5);}const _0x585111=this[_0x2717b1(0x1c3)](_0x205fee);this[_0x2717b1(0x1ff)]=new _0x3aee9b(_0x585111);const _0x7c790b=this[_0x2717b1(0x1ff)][_0x2717b1(0x1f1)][_0x2717b1(0x1f5)](_0x26e15f=>_0x2717b1(0x1e3)===_0x26e15f['id']);if(_0x7c790b)try{const _0x9eaa3c=await new _0x5a2deb({'connector':this[_0x2717b1(0x271)]})[_0x2717b1(0x211)]();_0x7c790b[_0x2717b1(0x22f)]=_0x9eaa3c[_0x2717b1(0x1cf)](_0x17f9b1=>({..._0x17f9b1,'description':this[_0x2717b1(0x1fd)](_0x2717b1(0x267)+_0x17f9b1['id'][_0x2717b1(0x26d)](),_0x17f9b1[_0x2717b1(0x1cb)])}));}catch(_0x54d993){this[_0x2717b1(0x1ff)][_0x2717b1(0x1e9)](_0x2717b1(0x1e3)),this[_0x2717b1(0x1d0)](new _0x244d19(_0x2717b1(0x1fe),this,{'error':_0x54d993}));}this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x1e7),()=>{const _0xa09478=_0x2717b1;this[_0xa09478(0x272)][_0xa09478(0x21f)](this[_0xa09478(0x1ff)][_0xa09478(0x1f1)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x214),async(_0x1fa051,_0x105e2f)=>{const _0xf5e683=_0x2717b1,_0x15e18b=this[_0xf5e683(0x1ff)][_0xf5e683(0x262)](_0x105e2f['id']);if(_0x15e18b){this[_0xf5e683(0x1cd)](this[_0xf5e683(0x201)]),_0x105e2f[_0xf5e683(0x1ea)]?this[_0xf5e683(0x1c8)]=new _0x1ab082(_0x105e2f[_0xf5e683(0x24c)][_0xf5e683(0x1e0)],_0x105e2f[_0xf5e683(0x24c)][_0xf5e683(0x20f)],this[_0xf5e683(0x1db)][_0xf5e683(0x1ca)](),_0x15e18b,this[_0xf5e683(0x271)]):this[_0xf5e683(0x1c8)]=new _0x3721fb(this[_0xf5e683(0x1db)][_0xf5e683(0x1ca)](),_0x15e18b,this[_0xf5e683(0x271)],_0x105e2f[_0xf5e683(0x255)],_0x105e2f[_0xf5e683(0x24c)]),this[_0xf5e683(0x272)][_0xf5e683(0x25b)](this[_0xf5e683(0x1c8)][_0xf5e683(0x224)],this[_0xf5e683(0x1c8)][_0xf5e683(0x265)]),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x250),(_0x1e181a,_0x4cca6b)=>{const _0x54ff84=_0xf5e683;_0x54ff84(0x1f7)===_0x4cca6b[_0x54ff84(0x20b)]||_0x54ff84(0x1ed)===_0x4cca6b[_0x54ff84(0x20b)]?(this[_0x54ff84(0x1db)][_0x54ff84(0x21b)](),this[_0x54ff84(0x272)][_0x54ff84(0x1eb)](_0x4cca6b)):_0x54ff84(0x22a)===_0x4cca6b[_0x54ff84(0x20b)]?this[_0x54ff84(0x272)][_0x54ff84(0x21e)]():_0x54ff84(0x22b)===_0x4cca6b[_0x54ff84(0x20b)]?this[_0x54ff84(0x272)][_0x54ff84(0x1cc)]():_0x54ff84(0x270)===_0x4cca6b[_0x54ff84(0x20b)]?this[_0x54ff84(0x272)][_0x54ff84(0x278)]():_0x54ff84(0x241)===_0x4cca6b[_0x54ff84(0x20b)]?(this[_0x54ff84(0x272)][_0x54ff84(0x212)](),this[_0x54ff84(0x1d0)](new _0x244d19(_0x54ff84(0x222),this,this[_0x54ff84(0x1c8)]?.[_0x54ff84(0x266)]))):_0x54ff84(0x1da)===_0x4cca6b[_0x54ff84(0x20b)]?(this[_0x54ff84(0x272)][_0x54ff84(0x258)](),this[_0x54ff84(0x1d0)](new _0x244d19(_0x54ff84(0x1f8),this,this[_0x54ff84(0x1c8)]?.[_0x54ff84(0x266)]))):_0x54ff84(0x251)===_0x4cca6b[_0x54ff84(0x20b)]&&(this[_0x54ff84(0x1c8)]&&this[_0x54ff84(0x1c8)][_0x54ff84(0x257)]>0x0?setTimeout(()=>{const _0x21678f=_0x54ff84;this[_0x21678f(0x1c8)]?.[_0x21678f(0x254)]();},0x0):this[_0x54ff84(0x209)](!0x0)),_0x54ff84(0x22b)!==_0x4cca6b[_0x54ff84(0x20b)]&&_0x54ff84(0x1da)!==_0x4cca6b[_0x54ff84(0x20b)]&&_0x54ff84(0x241)!==_0x4cca6b[_0x54ff84(0x20b)]||this[_0x54ff84(0x1c8)]?.[_0x54ff84(0x204)]();}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x25f),(_0x17993c,_0x543e07)=>{const _0x2c2c1d=_0xf5e683;if(!this[_0x2c2c1d(0x1c8)])throw new _0x244d19(_0x2c2c1d(0x1fa),this);const _0x16ee88=this[_0x2c2c1d(0x1db)][_0x2c2c1d(0x1d1)](_0x543e07[_0x2c2c1d(0x1dc)][_0x2c2c1d(0x24a)],_0x543e07[_0x2c2c1d(0x1dc)][_0x2c2c1d(0x1e8)]);_0x543e07[_0x2c2c1d(0x1f3)][_0x2c2c1d(0x1f6)](_0x543e07[_0x2c2c1d(0x1dc)]['id'],_0x16ee88);}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x1e4),(_0x3b77ba,_0x136952)=>{const _0x866e55=_0xf5e683;for(const _0x30ac6c of _0x136952[_0x866e55(0x215)])this[_0x866e55(0x272)][_0x866e55(0x1dd)](_0x30ac6c);this[_0x866e55(0x1db)][_0x866e55(0x24e)](_0x136952[_0x866e55(0x215)],_0x136952[_0x866e55(0x1f3)][_0x866e55(0x252)]);}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x1d6),(_0x519d6f,_0x306855)=>{const _0x37f104=_0xf5e683;this[_0x37f104(0x272)][_0x37f104(0x244)](_0x306855[_0x37f104(0x1d5)]['id'],_0x306855[_0x37f104(0x20b)]);}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x1ef),(_0x2e81be,_0x41d441)=>{const _0x1a5bee=_0xf5e683;this[_0x1a5bee(0x272)][_0x1a5bee(0x25a)](_0x41d441[_0x1a5bee(0x1d5)]['id']);const _0x6d3bbf=this[_0x1a5bee(0x1db)][_0x1a5bee(0x277)](_0x41d441[_0x1a5bee(0x1d5)]['id']);if(!_0x6d3bbf)return;if(_0x1a5bee(0x238)===this[_0x1a5bee(0x207)]){const _0x1d40fb=this[_0x1a5bee(0x272)][_0x1a5bee(0x1c2)](_0x41d441[_0x1a5bee(0x1d5)]['id']);_0x1d40fb&&_0x162aa2(_0x1d40fb[_0x1a5bee(0x236)](_0x1a5bee(0x225))||_0x1d40fb);}else{if(_0x1a5bee(0x21c)===this[_0x1a5bee(0x207)]){const _0x21c001={'target':_0x6d3bbf[_0x1a5bee(0x26a)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x223172(_0x21c001);}}const _0x55e4a6=this[_0x1a5bee(0x1db)][_0x1a5bee(0x273)]();this[_0x1a5bee(0x272)][_0x1a5bee(0x1fb)](_0x41d441[_0x1a5bee(0x1d5)],_0x6d3bbf[_0x1a5bee(0x26a)],void 0x0,_0x1a5bee(0x218),_0x55e4a6?.[_0x1a5bee(0x1c6)]?.[_0x1a5bee(0x20c)]?.[_0x1a5bee(0x237)](),_0x55e4a6?.['ui']?.[_0x1a5bee(0x1ee)]);}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x239),()=>{const _0x3246a8=_0xf5e683;this[_0x3246a8(0x272)][_0x3246a8(0x216)](),this[_0x3246a8(0x272)][_0x3246a8(0x1c9)]();});try{await this[_0xf5e683(0x1c8)][_0xf5e683(0x256)]();}catch(_0x22006b){_0x22006b instanceof Error&&_0x22006b[_0xf5e683(0x1f9)][_0xf5e683(0x1d7)](_0xf5e683(0x1f0))||(_0x22006b instanceof _0x244d19?this[_0xf5e683(0x1d0)](_0x22006b):this[_0xf5e683(0x1d0)](new _0x244d19(_0xf5e683(0x208),this,{'error':_0x22006b})));}}else this[_0xf5e683(0x1d0)](new _0x244d19(_0xf5e683(0x227),this,{'checkId':_0x105e2f['id']}));}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x276),()=>{const _0x1dfa07=_0x2717b1;this[_0x1dfa07(0x209)]();}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x259),()=>{const _0x19bf11=_0x2717b1;this[_0x19bf11(0x209)](!0x0);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x1bf),()=>{const _0x4c3502=_0x2717b1;this[_0x4c3502(0x1c8)]&&this[_0x4c3502(0x1c8)][_0x4c3502(0x23c)]();}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x1de),()=>{const _0x20373f=_0x2717b1;this[_0x20373f(0x209)](!0x0);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x274),()=>{const _0x337aa0=_0x2717b1;if(!this[_0x337aa0(0x1c8)])return;const _0x22e923=this[_0x337aa0(0x1c8)][_0x337aa0(0x263)]();_0x22e923[_0x337aa0(0x1df)]&&(this[_0x337aa0(0x1db)][_0x337aa0(0x261)](_0x22e923[_0x337aa0(0x1cf)](_0x4d5f28=>_0x4d5f28['id'])),this[_0x337aa0(0x1c8)][_0x337aa0(0x1ec)](),this[_0x337aa0(0x1c8)][_0x337aa0(0x204)]());}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x25d),(_0x2bcffb,_0x3f89ce)=>{const _0x51f970=_0x2717b1;this[_0x51f970(0x1c8)]&&this[_0x51f970(0x1c8)][_0x51f970(0x243)](_0x3f89ce['id'])&&(this[_0x51f970(0x1db)][_0x51f970(0x261)]([_0x3f89ce['id']]),this[_0x51f970(0x1c8)][_0x51f970(0x264)](_0x3f89ce['id']),this[_0x51f970(0x272)][_0x51f970(0x1c9)](),this[_0x51f970(0x1c8)][_0x51f970(0x204)](_0x3f89ce['id']));}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x1f4),(_0x4b4646,_0x4bc13b)=>{const _0x30edac=_0x2717b1;this[_0x30edac(0x1c8)]&&this[_0x30edac(0x1c8)][_0x30edac(0x243)](_0x4bc13b['id'])&&(this[_0x30edac(0x1db)][_0x30edac(0x20d)](_0x4bc13b['id']),this[_0x30edac(0x1c8)][_0x30edac(0x21d)](_0x4bc13b['id']),this[_0x30edac(0x272)][_0x30edac(0x1c9)](),this[_0x30edac(0x1c8)][_0x30edac(0x204)](_0x4bc13b['id']));}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x247),(_0x281ca8,_0x1fb4a2)=>{const _0x16179b=_0x2717b1;this[_0x16179b(0x201)]=_0x1fb4a2['on'],this[_0x16179b(0x1cd)](this[_0x16179b(0x201)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x213),async()=>{const _0x316f0a=_0x2717b1;this[_0x316f0a(0x1c8)]&&(this[_0x316f0a(0x1db)][_0x316f0a(0x219)](),this[_0x316f0a(0x1c8)][_0x316f0a(0x200)](this[_0x316f0a(0x1db)][_0x316f0a(0x1ca)]()),await this[_0x316f0a(0x1c8)][_0x316f0a(0x20a)]());}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x246),(_0x2fac5a,_0x345323)=>{const _0x42bc5b=_0x2717b1;this[_0x42bc5b(0x1c8)]&&(this[_0x42bc5b(0x207)]=_0x42bc5b(0x21c),this[_0x42bc5b(0x1c8)][_0x42bc5b(0x246)](_0x345323['id']));}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x226),()=>{const _0xbe4170=_0x2717b1;this[_0xbe4170(0x1c8)]&&this[_0xbe4170(0x1c8)][_0xbe4170(0x226)]();}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x22c),(_0x150b11,_0x363616)=>{const _0x26d66f=_0x2717b1;if(!this[_0x26d66f(0x1c8)])return;this[_0x26d66f(0x207)]=_0x26d66f(0x238),this[_0x26d66f(0x1c8)][_0x26d66f(0x246)](_0x363616[_0x26d66f(0x248)]);const _0x443fa8=this[_0x26d66f(0x1c8)][_0x26d66f(0x205)](_0x363616[_0x26d66f(0x248)]);if(!_0x443fa8)return;const _0x1d0e04=this[_0x26d66f(0x1db)][_0x26d66f(0x273)]();this[_0x26d66f(0x272)][_0x26d66f(0x1fb)](_0x443fa8,_0x363616[_0x26d66f(0x23a)],_0x363616[_0x26d66f(0x24f)],_0x26d66f(0x218),_0x1d0e04?.[_0x26d66f(0x1c6)]?.[_0x26d66f(0x20c)]?.[_0x26d66f(0x237)](),_0x1d0e04?.['ui']?.[_0x26d66f(0x1ee)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x1c7),(_0x58187c,_0x95e92d)=>{const _0x5edaf2=_0x2717b1;if(!this[_0x5edaf2(0x1c8)])return;if(this[_0x5edaf2(0x1c8)][_0x5edaf2(0x1fc)]())return;const _0x4b3ad4=this[_0x5edaf2(0x1c8)][_0x5edaf2(0x205)](_0x95e92d[_0x5edaf2(0x248)]);if(!_0x4b3ad4)return;const _0x26cb9a=this[_0x5edaf2(0x1db)][_0x5edaf2(0x273)]();this[_0x5edaf2(0x272)][_0x5edaf2(0x1fb)](_0x4b3ad4,_0x95e92d[_0x5edaf2(0x23a)],_0x95e92d[_0x5edaf2(0x24f)],_0x5edaf2(0x232),_0x26cb9a?.[_0x5edaf2(0x1c6)]?.[_0x5edaf2(0x20c)]?.[_0x5edaf2(0x237)](),_0x26cb9a?.['ui']?.[_0x5edaf2(0x1ee)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x245),()=>{const _0x22a3a1=_0x2717b1;if(!this[_0x22a3a1(0x1c8)])return;this[_0x22a3a1(0x1c8)][_0x22a3a1(0x1fc)]()||this[_0x22a3a1(0x272)][_0x22a3a1(0x1c9)]();}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x228),(_0x160ec6,_0x182199)=>{const _0x244f09=_0x2717b1;this[_0x244f09(0x1c8)]&&this[_0x244f09(0x1c8)][_0x244f09(0x25e)](_0x182199[_0x244f09(0x248)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x1d3),(_0x1d6109,_0x183f6f)=>{const _0x54894f=_0x2717b1;this[_0x54894f(0x1c8)]&&this[_0x54894f(0x1c8)][_0x54894f(0x249)](_0x183f6f[_0x54894f(0x248)]);});}[_0x459cda(0x209)](_0x1290a8=!0x1){const _0x2aa7e1=_0x459cda;this[_0x2aa7e1(0x1c8)]&&(this[_0x2aa7e1(0x1c8)][_0x2aa7e1(0x206)]||this[_0x2aa7e1(0x1c8)][_0x2aa7e1(0x204)](),this[_0x2aa7e1(0x1c8)][_0x2aa7e1(0x1ce)](),this[_0x2aa7e1(0x1c8)][_0x2aa7e1(0x23c)](),this[_0x2aa7e1(0x1c8)]=void 0x0),_0x1290a8&&this[_0x2aa7e1(0x272)][_0x2aa7e1(0x203)](),this[_0x2aa7e1(0x1db)][_0x2aa7e1(0x219)](),this[_0x2aa7e1(0x1db)][_0x2aa7e1(0x1c1)](),this[_0x2aa7e1(0x207)]=null;const _0x1e0a8f=this[_0x2aa7e1(0x1db)][_0x2aa7e1(0x273)]();_0x1e0a8f&&_0x1e0a8f[_0x2aa7e1(0x1c6)][_0x2aa7e1(0x20c)][_0x2aa7e1(0x1d5)](_0x3f63ca=>{const _0x3f7470=_0x2aa7e1,_0x1a5cf0=_0x1e0a8f[_0x3f7470(0x1c6)][_0x3f7470(0x20c)][_0x3f7470(0x269)][_0x3f7470(0x1e6)]();_0x3f63ca[_0x3f7470(0x1c0)](_0x3f7470(0x221),_0x1a5cf0),_0x3f63ca[_0x3f7470(0x1c0)](_0x3f7470(0x230),_0x1a5cf0);});}[_0x459cda(0x1cd)](_0x21a6c8){const _0x56bed0=_0x459cda,_0x1bf076=this[_0x56bed0(0x1db)][_0x56bed0(0x273)]();_0x21a6c8?this[_0x56bed0(0x272)][_0x56bed0(0x260)]():this[_0x56bed0(0x272)][_0x56bed0(0x217)](),_0x1bf076&&_0x1bf076[_0x56bed0(0x1c6)][_0x56bed0(0x20c)][_0x56bed0(0x1d5)](_0x44f7ac=>{const _0x214de9=_0x56bed0,_0x443e30=_0x1bf076[_0x214de9(0x1c6)][_0x214de9(0x20c)][_0x214de9(0x269)][_0x214de9(0x1e6)]();_0x44f7ac[_0x214de9(0x1c0)](_0x214de9(0x221),_0x443e30),_0x44f7ac[_0x214de9(0x1c0)](_0x214de9(0x230),_0x443e30),_0x44f7ac[_0x214de9(0x25c)](_0x21a6c8?_0x214de9(0x221):_0x214de9(0x230),_0x443e30);});}[_0x459cda(0x1c3)](_0x2ca4d5){const _0x4caa28=_0x459cda;return _0x2ca4d5[_0x4caa28(0x1cf)](_0x3dc012=>{const _0x88937=_0x4caa28,_0x400f47=_0x88937(0x233)+_0x3dc012['id'][_0x88937(0x26d)]()[_0x88937(0x234)]('-','_'),_0x1d41de={..._0x3dc012,'title':this[_0x88937(0x1fd)](_0x400f47+_0x88937(0x231),_0x3dc012[_0x88937(0x224)]),'description':this[_0x88937(0x1fd)](_0x400f47+_0x88937(0x1c4),_0x3dc012[_0x88937(0x1cb)])};return _0x3dc012[_0x88937(0x240)]&&(_0x1d41de[_0x88937(0x240)]=_0x3dc012[_0x88937(0x240)][_0x88937(0x1cf)](_0x56d87=>({..._0x56d87,'label':this[_0x88937(0x1fd)](_0x400f47+_0x88937(0x1d4),_0x56d87[_0x88937(0x1e1)]||''),'data':_0x56d87[_0x88937(0x1f7)]?_0x56d87[_0x88937(0x1f7)][_0x88937(0x1cf)](_0x38dd9b=>({..._0x38dd9b,'label':this[_0x88937(0x1fd)](_0x400f47+_0x88937(0x20e)+_0x38dd9b['id'][_0x88937(0x26d)](),_0x38dd9b[_0x88937(0x1e1)])})):void 0x0}))),_0x1d41de;});}[_0x459cda(0x1fd)](_0x7e5418,_0x48bacb){const _0x2ed208=_0x459cda,_0x26cd98=this[_0x2ed208(0x1e5)][_0x2ed208(0x223)],_0x869b11=_0x2235a2(_0x26cd98,_0x7e5418);return _0x869b11===_0x7e5418?_0x48bacb:_0x869b11;}[_0x459cda(0x1d0)](_0x319778){const _0x1ed4e5=_0x459cda;_0x5d95de(_0x319778[_0x1ed4e5(0x1f9)]),_0x319778[_0x1ed4e5(0x1f9)][_0x1ed4e5(0x22e)](_0x1ed4e5(0x1fe))?this[_0x1ed4e5(0x272)][_0x1ed4e5(0x268)]():this[_0x1ed4e5(0x272)][_0x1ed4e5(0x212)]();}}
|
|
23
|
+
const _0x372c2a=_0x10ac;(function(_0x485cbd,_0x21609e){const _0x199305=_0x10ac,_0x203a5d=_0x485cbd();while(!![]){try{const _0x31323c=-parseInt(_0x199305(0x261))/0x1+parseInt(_0x199305(0x244))/0x2+-parseInt(_0x199305(0x1dd))/0x3+parseInt(_0x199305(0x23d))/0x4*(-parseInt(_0x199305(0x245))/0x5)+parseInt(_0x199305(0x257))/0x6*(-parseInt(_0x199305(0x228))/0x7)+-parseInt(_0x199305(0x1fa))/0x8*(-parseInt(_0x199305(0x1d8))/0x9)+parseInt(_0x199305(0x22a))/0xa*(parseInt(_0x199305(0x205))/0xb);if(_0x31323c===_0x21609e)break;else _0x203a5d['push'](_0x203a5d['shift']());}catch(_0x3552e0){_0x203a5d['push'](_0x203a5d['shift']());}}}(_0x4918,0xc1e77));import{ContextPlugin as _0x266d3b}from'ckeditor5/src/core.js';function _0x4918(){const _0x5f3c2d=['start','hideDiffInBalloon','getEditor','viewportOffset','.ck-ai-review-mode__check-run-result','changeId','subTitle','isCustom','clearAllMarkers','AIConnector','AI_REVIEW_CHECK_','3324461YJWlGH','markAllChangesAsAccepted','10JdVCwX','hideChangeBalloon','model','AIReviewModeController','error-chunk','showCheckRunResults','checks','updateDocumentData','diffContent','sendRating','status','unmodified','showReviewCompletedView','_logError','_isDiffOn','isOfficialPlugin','_changeActivationSource','getChangeById','forceReadyState','4XfBMVa','prompt','leaveReviewModeResultList','locale','init','acceptChange','getDomRoot','715176zPvZfd','551305lCmSnZ','_currentReviewCheckRun','message','config','label','ready','_DESCRIPTION','showChunkErrorView','removeCheckById','_aiReviewCheckList','acceptAllChanges','includes','custom','ai-review-mode-check-run-failed','map','changeMarkerRemoved','abortReviewStream','getActiveChanges','18cFFJKs','contentInitial','reviewCheckResultDeactivated','_TITLE','hover','markChangeAsRejected','_translateReviewChecks','_onDiffChange','source','setCheckResultTitle','1399330UyoLVi','documentData','finished','requires','_aiReviewModeEditing','stopListening','showReviewCheckList','abort','contentNew','addResultChanges','AIReviewModeUI','getCheckById','hasModifications','markChangeAsPending','finishReview','deactivateChange','restart','removeClass','showGeneralResultsErrorView','ai-review-mode-no-current-check-run','get','markChangePositionInEditorContent','setActiveStateInResults','leaveReviewMode','_OPTIONS_LABEL','updateChangeState','_aiReviewModeUi','aborted','document','_OPTIONS_DATA_','ck-ai-review-mode-diff','showCheckRunResult','reviewCheckRunUpdated','replaceAll','dismissChange','activateChange','pluginName','_getTranslationWithDefault','toUpperCase','reviewCheckResultChangeStatusUpdated','ai-review-mode-check-run-chunk-error','showChangeBalloon','isChangeActive','data','getAll','_onReviewModeRunLeave','showGeneralReviewModeErrorView','args','params','plugins','6100101xCwHiq','click','resetActiveStateInResults','AIReviewModeEditing','addClass','4069164usZuzT','translate','markerElement','loading','processedResultsCount','ck-ai-review-mode-highlights','panel','changeMarkerHovered','title','find','runReviewCheck','ai.reviewMode.translations','options','ai-review-mode-check-run-general-error','changeMarkerBlurred','reviewCheckResultActivated','markChangeAsAccepted','switchToReadOnly','getDocumentData','retryReview','domEvent','content','isAnyChangeActivated','ai-review-mode-models-unable-to-retrieve','emitter','domElement','view','getMarkerElementForChange','result','8SJCdno','changeMarkerRestored','reviewCheckResultReady','setAvailableChecks','showActionsWhenResultIsReady','getReviewCheckList','toggleDiff','changes','length','applyChange','getChangeElement','44545622XLWsZL','changeMarkerClick','ai-review-mode-source-check-not-found','_aiConnector','listenTo','editing','currentError','reviewCheckResultAdded','context','showNoChangesView','description','ai-request-aborted','change','isPremiumPlugin','showDiffInBalloon','startsWith','markChangeAsOutdated','rejectChange','error-general','getRoot','models','switchToEdit','AI_MODEL_DESCRIPTION_','closest'];_0x4918=function(){return _0x5f3c2d;};return _0x4918();}import{CKEditorError as _0x4e7eb4,logError as _0x1fc349,scrollAncestorsToShowTarget as _0x4483a0,scrollViewportToShowTarget as _0x3339e3}from'ckeditor5/src/utils.js';function _0x10ac(_0x5b91ec,_0x3b5c94){const _0x4918cb=_0x4918();return _0x10ac=function(_0x10ace9,_0x175074){_0x10ace9=_0x10ace9-0x1ce;let _0x20622a=_0x4918cb[_0x10ace9];return _0x20622a;},_0x10ac(_0x5b91ec,_0x3b5c94);}import{AIConnector as _0x18fbce}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x34b9f7}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x4e095a}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x5e67ff}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x3de7d7}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x15cfa0}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x23070d}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x266d3b{[_0x372c2a(0x208)];[_0x372c2a(0x27b)];[_0x372c2a(0x265)];[_0x372c2a(0x24e)];[_0x372c2a(0x246)];[_0x372c2a(0x238)]=!0x1;[_0x372c2a(0x23a)]=null;static get[_0x372c2a(0x264)](){return[_0x18fbce];}static get[_0x372c2a(0x285)](){const _0x9b80e7=_0x372c2a;return _0x9b80e7(0x22d);}static get[_0x372c2a(0x239)](){return!0x0;}static get[_0x372c2a(0x212)](){return!0x0;}async[_0x372c2a(0x241)](){const _0x3008f0=_0x372c2a;this[_0x3008f0(0x208)]=this[_0x3008f0(0x20d)][_0x3008f0(0x1d7)][_0x3008f0(0x275)](_0x3008f0(0x226)),this[_0x3008f0(0x27b)]=this[_0x3008f0(0x20d)][_0x3008f0(0x1d7)][_0x3008f0(0x275)](_0x3008f0(0x26b)),this[_0x3008f0(0x265)]=this[_0x3008f0(0x20d)][_0x3008f0(0x1d7)][_0x3008f0(0x275)](_0x3008f0(0x1db));const _0x3fee9e=this[_0x3008f0(0x20d)][_0x3008f0(0x248)][_0x3008f0(0x275)](_0x3008f0(0x1e8));if(_0x3fee9e){for(const _0x3b7f74 of _0x15cfa0)_0x3008f0(0x1de)===_0x3b7f74['id']&&(_0x3b7f74[_0x3008f0(0x1e9)][0x0][_0x3008f0(0x1d1)]=_0x3fee9e);}const _0xe6cdd4=this[_0x3008f0(0x25d)](_0x15cfa0);this[_0x3008f0(0x24e)]=new _0x34b9f7(_0xe6cdd4);const _0x5ecc15=this[_0x3008f0(0x24e)][_0x3008f0(0x230)][_0x3008f0(0x1e6)](_0x47ec14=>_0x3008f0(0x251)===_0x47ec14['id']);if(_0x5ecc15)try{const _0x2cda58=await new _0x3de7d7({'connector':this[_0x3008f0(0x208)]})[_0x3008f0(0x1d2)]();_0x5ecc15[_0x3008f0(0x219)]=_0x2cda58[_0x3008f0(0x253)](_0x24570a=>({..._0x24570a,'description':this[_0x3008f0(0x286)](_0x3008f0(0x21b)+_0x24570a['id'][_0x3008f0(0x287)](),_0x24570a[_0x3008f0(0x20f)])}));}catch(_0x18f814){this[_0x3008f0(0x24e)][_0x3008f0(0x24d)](_0x3008f0(0x251)),this[_0x3008f0(0x237)](new _0x4e7eb4(_0x3008f0(0x1f4),this,{'error':_0x18f814}));}this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x1ff),()=>{const _0x33be2f=_0x3008f0;this[_0x33be2f(0x27b)][_0x33be2f(0x1fd)](this[_0x33be2f(0x24e)][_0x33be2f(0x230)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x1e7),async(_0x384e10,_0x5b6f5c)=>{const _0x299ef4=_0x3008f0,_0x4de950=this[_0x299ef4(0x24e)][_0x299ef4(0x26c)](_0x5b6f5c['id']);if(_0x4de950){this[_0x299ef4(0x25e)](this[_0x299ef4(0x238)]),_0x5b6f5c[_0x299ef4(0x224)]?this[_0x299ef4(0x246)]=new _0x5e67ff(_0x5b6f5c[_0x299ef4(0x1d5)][_0x299ef4(0x23e)],_0x5b6f5c[_0x299ef4(0x1d5)][_0x299ef4(0x22c)],this[_0x299ef4(0x265)][_0x299ef4(0x1ef)](),_0x4de950,this[_0x299ef4(0x208)]):this[_0x299ef4(0x246)]=new _0x4e095a(this[_0x299ef4(0x265)][_0x299ef4(0x1ef)](),_0x4de950,this[_0x299ef4(0x208)],_0x5b6f5c[_0x299ef4(0x1d6)],_0x5b6f5c[_0x299ef4(0x1d5)]),this[_0x299ef4(0x27b)][_0x299ef4(0x260)](this[_0x299ef4(0x246)][_0x299ef4(0x1e5)],this[_0x299ef4(0x246)][_0x299ef4(0x223)]),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x281),(_0x51e9e1,_0x2c9540)=>{const _0x23f27d=_0x299ef4;_0x23f27d(0x1d1)===_0x2c9540[_0x23f27d(0x234)]||_0x23f27d(0x1e0)===_0x2c9540[_0x23f27d(0x234)]?(this[_0x23f27d(0x265)][_0x23f27d(0x1ee)](),this[_0x23f27d(0x27b)][_0x23f27d(0x22f)](_0x2c9540)):_0x23f27d(0x263)===_0x2c9540[_0x23f27d(0x234)]?this[_0x23f27d(0x27b)][_0x23f27d(0x236)]():_0x23f27d(0x24a)===_0x2c9540[_0x23f27d(0x234)]?this[_0x23f27d(0x27b)][_0x23f27d(0x1fe)]():_0x23f27d(0x235)===_0x2c9540[_0x23f27d(0x234)]?this[_0x23f27d(0x27b)][_0x23f27d(0x20e)]():_0x23f27d(0x217)===_0x2c9540[_0x23f27d(0x234)]?(this[_0x23f27d(0x27b)][_0x23f27d(0x273)](),this[_0x23f27d(0x237)](new _0x4e7eb4(_0x23f27d(0x1ea),this,this[_0x23f27d(0x246)]?.[_0x23f27d(0x20b)]))):_0x23f27d(0x22e)===_0x2c9540[_0x23f27d(0x234)]?(this[_0x23f27d(0x27b)][_0x23f27d(0x24c)](),this[_0x23f27d(0x237)](new _0x4e7eb4(_0x23f27d(0x1ce),this,this[_0x23f27d(0x246)]?.[_0x23f27d(0x20b)]))):_0x23f27d(0x27c)===_0x2c9540[_0x23f27d(0x234)]&&(this[_0x23f27d(0x246)]&&this[_0x23f27d(0x246)][_0x23f27d(0x1e1)]>0x0?setTimeout(()=>{const _0x55daf4=_0x23f27d;this[_0x55daf4(0x246)]?.[_0x55daf4(0x23c)]();},0x0):this[_0x23f27d(0x1d3)](!0x0)),_0x23f27d(0x24a)!==_0x2c9540[_0x23f27d(0x234)]&&_0x23f27d(0x22e)!==_0x2c9540[_0x23f27d(0x234)]&&_0x23f27d(0x217)!==_0x2c9540[_0x23f27d(0x234)]||this[_0x23f27d(0x246)]?.[_0x23f27d(0x233)]();}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x20c),(_0x174706,_0x4650bb)=>{const _0x2cf31c=_0x299ef4;if(!this[_0x2cf31c(0x246)])throw new _0x4e7eb4(_0x2cf31c(0x274),this);const _0x5e6c16=this[_0x2cf31c(0x265)][_0x2cf31c(0x232)](_0x4650bb[_0x2cf31c(0x1f9)][_0x2cf31c(0x258)],_0x4650bb[_0x2cf31c(0x1f9)][_0x2cf31c(0x269)]);_0x4650bb[_0x2cf31c(0x25f)][_0x2cf31c(0x26a)](_0x4650bb[_0x2cf31c(0x1f9)]['id'],_0x5e6c16);}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x1fc),(_0x5825f0,_0x315031)=>{const _0xc16db5=_0x299ef4;for(const _0xbff897 of _0x315031[_0xc16db5(0x201)])this[_0xc16db5(0x27b)][_0xc16db5(0x280)](_0xbff897);this[_0xc16db5(0x265)][_0xc16db5(0x276)](_0x315031[_0xc16db5(0x201)],_0x315031[_0xc16db5(0x25f)][_0xc16db5(0x262)]);}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x288),(_0x4be954,_0x3a5f8b)=>{const _0x1856fe=_0x299ef4;this[_0x1856fe(0x27b)][_0x1856fe(0x27a)](_0x3a5f8b[_0x1856fe(0x211)]['id'],_0x3a5f8b[_0x1856fe(0x234)]);}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x1ec),(_0x5cd182,_0x513dde)=>{const _0x2fb5f9=_0x299ef4;this[_0x2fb5f9(0x27b)][_0x2fb5f9(0x277)](_0x513dde[_0x2fb5f9(0x211)]['id']);const _0x3d77cf=this[_0x2fb5f9(0x265)][_0x2fb5f9(0x1f8)](_0x513dde[_0x2fb5f9(0x211)]['id']);if(!_0x3d77cf)return;if(_0x2fb5f9(0x1f2)===this[_0x2fb5f9(0x23a)]){const _0x20954a=this[_0x2fb5f9(0x27b)][_0x2fb5f9(0x204)](_0x513dde[_0x2fb5f9(0x211)]['id']);_0x20954a&&_0x4483a0(_0x20954a[_0x2fb5f9(0x21c)](_0x2fb5f9(0x221))||_0x20954a);}else{if(_0x2fb5f9(0x1e3)===this[_0x2fb5f9(0x23a)]){const _0x5bc5ba={'target':_0x3d77cf[_0x2fb5f9(0x1f6)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x3339e3(_0x5bc5ba);}}const _0x1417cf=this[_0x2fb5f9(0x265)][_0x2fb5f9(0x21f)]();this[_0x2fb5f9(0x27b)][_0x2fb5f9(0x1cf)](_0x513dde[_0x2fb5f9(0x211)],_0x3d77cf[_0x2fb5f9(0x1f6)],void 0x0,_0x2fb5f9(0x1d9),_0x1417cf?.[_0x2fb5f9(0x20a)]?.[_0x2fb5f9(0x1f7)]?.[_0x2fb5f9(0x243)](),_0x1417cf?.['ui']?.[_0x2fb5f9(0x220)]);}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x259),()=>{const _0x4b85f1=_0x299ef4;this[_0x4b85f1(0x27b)][_0x4b85f1(0x1da)](),this[_0x4b85f1(0x27b)][_0x4b85f1(0x22b)]();});try{await this[_0x299ef4(0x246)][_0x299ef4(0x21d)]();}catch(_0x46c20d){_0x46c20d instanceof Error&&_0x46c20d[_0x299ef4(0x247)][_0x299ef4(0x250)](_0x299ef4(0x210))||(_0x46c20d instanceof _0x4e7eb4?this[_0x299ef4(0x237)](_0x46c20d):this[_0x299ef4(0x237)](new _0x4e7eb4(_0x299ef4(0x252),this,{'error':_0x46c20d})));}}else this[_0x299ef4(0x237)](new _0x4e7eb4(_0x299ef4(0x207),this,{'checkId':_0x5b6f5c['id']}));}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x278),()=>{const _0x5e0284=_0x3008f0;this[_0x5e0284(0x1d3)]();}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x23f),()=>{const _0x24126b=_0x3008f0;this[_0x24126b(0x1d3)](!0x0);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x255),()=>{const _0x4519be=_0x3008f0;this[_0x4519be(0x246)]&&this[_0x4519be(0x246)][_0x4519be(0x268)]();}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x26f),()=>{const _0x54f31d=_0x3008f0;this[_0x54f31d(0x1d3)](!0x0);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x24f),()=>{const _0x4e4bf5=_0x3008f0;if(!this[_0x4e4bf5(0x246)])return;const _0x293406=this[_0x4e4bf5(0x246)][_0x4e4bf5(0x256)]();_0x293406[_0x4e4bf5(0x202)]&&(this[_0x4e4bf5(0x265)][_0x4e4bf5(0x203)](_0x293406[_0x4e4bf5(0x253)](_0x4fe5c6=>_0x4fe5c6['id'])),this[_0x4e4bf5(0x246)][_0x4e4bf5(0x229)](),this[_0x4e4bf5(0x246)][_0x4e4bf5(0x233)]());}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x242),(_0x15934b,_0x3353cb)=>{const _0x4d9729=_0x3008f0;this[_0x4d9729(0x246)]&&this[_0x4d9729(0x246)][_0x4d9729(0x1d0)](_0x3353cb['id'])&&(this[_0x4d9729(0x265)][_0x4d9729(0x203)]([_0x3353cb['id']]),this[_0x4d9729(0x246)][_0x4d9729(0x1ed)](_0x3353cb['id']),this[_0x4d9729(0x27b)][_0x4d9729(0x22b)](),this[_0x4d9729(0x246)][_0x4d9729(0x233)](_0x3353cb['id']));}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x283),(_0x2240e8,_0x51b052)=>{const _0x3a221d=_0x3008f0;this[_0x3a221d(0x246)]&&this[_0x3a221d(0x246)][_0x3a221d(0x1d0)](_0x51b052['id'])&&(this[_0x3a221d(0x265)][_0x3a221d(0x216)](_0x51b052['id']),this[_0x3a221d(0x246)][_0x3a221d(0x25c)](_0x51b052['id']),this[_0x3a221d(0x27b)][_0x3a221d(0x22b)](),this[_0x3a221d(0x246)][_0x3a221d(0x233)](_0x51b052['id']));}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x200),(_0x5e31e0,_0x53ebd7)=>{const _0x17cd8e=_0x3008f0;this[_0x17cd8e(0x238)]=_0x53ebd7['on'],this[_0x17cd8e(0x25e)](this[_0x17cd8e(0x238)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x1f0),async()=>{const _0x81ec90=_0x3008f0;this[_0x81ec90(0x246)]&&(this[_0x81ec90(0x265)][_0x81ec90(0x225)](),this[_0x81ec90(0x246)][_0x81ec90(0x231)](this[_0x81ec90(0x265)][_0x81ec90(0x1ef)]()),await this[_0x81ec90(0x246)][_0x81ec90(0x271)]());}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x284),(_0x27fb5b,_0x37eb87)=>{const _0x21dedc=_0x3008f0;this[_0x21dedc(0x246)]&&(this[_0x21dedc(0x23a)]=_0x21dedc(0x1e3),this[_0x21dedc(0x246)][_0x21dedc(0x284)](_0x37eb87['id']));}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x270),()=>{const _0x4e9a0d=_0x3008f0;this[_0x4e9a0d(0x246)]&&this[_0x4e9a0d(0x246)][_0x4e9a0d(0x270)]();}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x206),(_0x89b764,_0x5bcb5e)=>{const _0xaf924c=_0x3008f0;if(!this[_0xaf924c(0x246)])return;this[_0xaf924c(0x23a)]=_0xaf924c(0x1f2),this[_0xaf924c(0x246)][_0xaf924c(0x284)](_0x5bcb5e[_0xaf924c(0x222)]);const _0xaf8bc8=this[_0xaf924c(0x246)][_0xaf924c(0x23b)](_0x5bcb5e[_0xaf924c(0x222)]);if(!_0xaf8bc8)return;const _0x2b2232=this[_0xaf924c(0x265)][_0xaf924c(0x21f)]();this[_0xaf924c(0x27b)][_0xaf924c(0x1cf)](_0xaf8bc8,_0x5bcb5e[_0xaf924c(0x1df)],_0x5bcb5e[_0xaf924c(0x1f1)],_0xaf924c(0x1d9),_0x2b2232?.[_0xaf924c(0x20a)]?.[_0xaf924c(0x1f7)]?.[_0xaf924c(0x243)](),_0x2b2232?.['ui']?.[_0xaf924c(0x220)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x1e4),(_0x56210b,_0x2fe784)=>{const _0x110b39=_0x3008f0;if(!this[_0x110b39(0x246)])return;if(this[_0x110b39(0x246)][_0x110b39(0x1f3)]())return;const _0x8941d1=this[_0x110b39(0x246)][_0x110b39(0x23b)](_0x2fe784[_0x110b39(0x222)]);if(!_0x8941d1)return;const _0xd0534b=this[_0x110b39(0x265)][_0x110b39(0x21f)]();this[_0x110b39(0x27b)][_0x110b39(0x1cf)](_0x8941d1,_0x2fe784[_0x110b39(0x1df)],_0x2fe784[_0x110b39(0x1f1)],_0x110b39(0x25b),_0xd0534b?.[_0x110b39(0x20a)]?.[_0x110b39(0x1f7)]?.[_0x110b39(0x243)](),_0xd0534b?.['ui']?.[_0x110b39(0x220)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x1eb),()=>{const _0x58d0da=_0x3008f0;if(!this[_0x58d0da(0x246)])return;this[_0x58d0da(0x246)][_0x58d0da(0x1f3)]()||this[_0x58d0da(0x27b)][_0x58d0da(0x22b)]();}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x254),(_0x33be46,_0x1a4548)=>{const _0x19dbed=_0x3008f0;this[_0x19dbed(0x246)]&&this[_0x19dbed(0x246)][_0x19dbed(0x215)](_0x1a4548[_0x19dbed(0x222)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x1fb),(_0xe221a9,_0x3458e7)=>{const _0x5ec81e=_0x3008f0;this[_0x5ec81e(0x246)]&&this[_0x5ec81e(0x246)][_0x5ec81e(0x26e)](_0x3458e7[_0x5ec81e(0x222)]);});}[_0x372c2a(0x1d3)](_0x348471=!0x1){const _0x1b7312=_0x372c2a;this[_0x1b7312(0x246)]&&(this[_0x1b7312(0x246)][_0x1b7312(0x26d)]||this[_0x1b7312(0x246)][_0x1b7312(0x233)](),this[_0x1b7312(0x246)][_0x1b7312(0x266)](),this[_0x1b7312(0x246)][_0x1b7312(0x268)](),this[_0x1b7312(0x246)]=void 0x0),_0x348471&&this[_0x1b7312(0x27b)][_0x1b7312(0x267)](),this[_0x1b7312(0x265)][_0x1b7312(0x225)](),this[_0x1b7312(0x265)][_0x1b7312(0x21a)](),this[_0x1b7312(0x23a)]=null;const _0x590cc2=this[_0x1b7312(0x265)][_0x1b7312(0x21f)]();_0x590cc2&&_0x590cc2[_0x1b7312(0x20a)][_0x1b7312(0x1f7)][_0x1b7312(0x211)](_0x1f5e2d=>{const _0x350658=_0x1b7312,_0x53f023=_0x590cc2[_0x350658(0x20a)][_0x350658(0x1f7)][_0x350658(0x27d)][_0x350658(0x218)]();_0x1f5e2d[_0x350658(0x272)](_0x350658(0x27f),_0x53f023),_0x1f5e2d[_0x350658(0x272)](_0x350658(0x1e2),_0x53f023);});}[_0x372c2a(0x25e)](_0x3b4389){const _0x642c83=_0x372c2a,_0x485edf=this[_0x642c83(0x265)][_0x642c83(0x21f)]();_0x3b4389?this[_0x642c83(0x27b)][_0x642c83(0x21e)]():this[_0x642c83(0x27b)][_0x642c83(0x213)](),_0x485edf&&_0x485edf[_0x642c83(0x20a)][_0x642c83(0x1f7)][_0x642c83(0x211)](_0x3d7d6a=>{const _0x3ad10d=_0x642c83,_0x20ddca=_0x485edf[_0x3ad10d(0x20a)][_0x3ad10d(0x1f7)][_0x3ad10d(0x27d)][_0x3ad10d(0x218)]();_0x3d7d6a[_0x3ad10d(0x272)](_0x3ad10d(0x27f),_0x20ddca),_0x3d7d6a[_0x3ad10d(0x272)](_0x3ad10d(0x1e2),_0x20ddca),_0x3d7d6a[_0x3ad10d(0x1dc)](_0x3b4389?_0x3ad10d(0x27f):_0x3ad10d(0x1e2),_0x20ddca);});}[_0x372c2a(0x25d)](_0x345b5a){const _0x54a87d=_0x372c2a;return _0x345b5a[_0x54a87d(0x253)](_0x566266=>{const _0x8b27b9=_0x54a87d,_0x3c180d=_0x8b27b9(0x227)+_0x566266['id'][_0x8b27b9(0x287)]()[_0x8b27b9(0x282)]('-','_'),_0x3f60f2={..._0x566266,'title':this[_0x8b27b9(0x286)](_0x3c180d+_0x8b27b9(0x25a),_0x566266[_0x8b27b9(0x1e5)]),'description':this[_0x8b27b9(0x286)](_0x3c180d+_0x8b27b9(0x24b),_0x566266[_0x8b27b9(0x20f)])};return _0x566266[_0x8b27b9(0x1e9)]&&(_0x3f60f2[_0x8b27b9(0x1e9)]=_0x566266[_0x8b27b9(0x1e9)][_0x8b27b9(0x253)](_0x39ba1f=>({..._0x39ba1f,'label':this[_0x8b27b9(0x286)](_0x3c180d+_0x8b27b9(0x279),_0x39ba1f[_0x8b27b9(0x249)]||''),'data':_0x39ba1f[_0x8b27b9(0x1d1)]?_0x39ba1f[_0x8b27b9(0x1d1)][_0x8b27b9(0x253)](_0x25f37b=>({..._0x25f37b,'label':this[_0x8b27b9(0x286)](_0x3c180d+_0x8b27b9(0x27e)+_0x25f37b['id'][_0x8b27b9(0x287)](),_0x25f37b[_0x8b27b9(0x249)])})):void 0x0}))),_0x3f60f2;});}[_0x372c2a(0x286)](_0x220388,_0x823f23){const _0x9d1fcd=_0x372c2a,_0x2779d1=this[_0x9d1fcd(0x20d)][_0x9d1fcd(0x240)],_0x141782=_0x23070d(_0x2779d1,_0x220388);return _0x141782===_0x220388?_0x823f23:_0x141782;}[_0x372c2a(0x237)](_0x3d5ae7){const _0x47e488=_0x372c2a;_0x1fc349(_0x3d5ae7[_0x47e488(0x247)]),_0x3d5ae7[_0x47e488(0x247)][_0x47e488(0x214)](_0x47e488(0x1f4))?this[_0x47e488(0x27b)][_0x47e488(0x1d4)]():this[_0x47e488(0x27b)][_0x47e488(0x273)]();}}
|