@ckeditor/ckeditor5-ai 47.3.0-alpha.6 → 47.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.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/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d3b59=_0x5607;(function(_0x28a477,_0x111671){const _0x259083=_0x5607,_0xbfc3c5=_0x28a477();while(!![]){try{const _0x1e5dfb=-parseInt(_0x259083(0x1f6))/0x1+-parseInt(_0x259083(0x1f7))/0x2*(parseInt(_0x259083(0x22a))/0x3)+parseInt(_0x259083(0x225))/0x4+parseInt(_0x259083(0x20d))/0x5*(parseInt(_0x259083(0x212))/0x6)+-parseInt(_0x259083(0x223))/0x7+parseInt(_0x259083(0x207))/0x8*(-parseInt(_0x259083(0x1f5))/0x9)+parseInt(_0x259083(0x20b))/0xa;if(_0x1e5dfb===_0x111671)break;else _0xbfc3c5['push'](_0xbfc3c5['shift']());}catch(_0x3d9977){_0xbfc3c5['push'](_0xbfc3c5['shift']());}}}(_0x4353,0x5689b));function _0x4353(){const _0x5aee4a=['isStreaming','147drqxjj','addEventListener','strong','map','delay','tagName','mark','join','9IQQjLz','543365fnxxZn','16084GsFRkx','sup','parent','currentIndex','div','entries','querySelectorAll','splitTextNodeIntoWordNodes','includes','textNodeStyle','isWordSplitResult','span[data-ck-html-streamer-word-chunk]','childNodes','signal','match','from','641720lgNozF','cleanUpAnimations','replaceWith','sub','16820370WhQCgr','ins','5EPtTJy','push','timeoutAbortController','abort','bind','85620Yylbcm','document','span','reverse','shouldBeStreamed','children','renderNode','nodesList','getParsedDocumentNodeList','del','onStreamUpdate','code','ai-html-streamer-current-index-out-of-bounds','isWordSplitSource','options','now','stream','4190137MmcHmx','attribs','1097524TFIKYT','length','stop','forEach'];_0x4353=function(){return _0x5aee4a;};return _0x4353();}import _0x5c750f from'morphdom';function _0x5607(_0xf81bba,_0x5a507e){const _0x435337=_0x4353();return _0x5607=function(_0x560754,_0x25bb67){_0x560754=_0x560754-0x1f4;let _0x3ac46e=_0x435337[_0x560754];return _0x3ac46e;},_0x5607(_0xf81bba,_0x5a507e);}import{NodeWithChildren as _0x1f917b,Text as _0xf97fcd,Element as _0x55a4c5,isText as _0x22914d,isDocument as _0x52f139,isTag as _0x54e023,cloneNode as _0x30b9d3,getChildren as _0x53f377,prepend as _0x3a1765,removeElement as _0x45b3e1,textContent as _0x22d713,render as _0x14e5f7}from'./htmlparser.js';import{logWarning as _0x33fd07}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x3d3b59(0x220)];[_0x3d3b59(0x229)]=!0x1;[_0x3d3b59(0x213)]=null;[_0x3d3b59(0x219)]=[];[_0x3d3b59(0x1fa)]=0x0;[_0x3d3b59(0x20f)]=null;constructor(_0x4d02dd){const _0x2b4195=_0x3d3b59;this[_0x2b4195(0x220)]={'delay':_0x4d02dd[_0x2b4195(0x22e)]??0x14,'textNodeStyle':_0x4d02dd[_0x2b4195(0x200)],'onStreamUpdate':_0x4d02dd[_0x2b4195(0x21c)]||(()=>{})};}async[_0x3d3b59(0x222)]({document:_0x54a05c,targetElement:_0x501935,abortSignal:_0x236c08}){const _0x425710=_0x3d3b59;this[_0x425710(0x229)]&&this[_0x425710(0x227)](),_0x236c08?.[_0x425710(0x22b)](_0x425710(0x210),this[_0x425710(0x227)][_0x425710(0x211)](this)),this[_0x425710(0x213)]=_0x30b9d3(_0x54a05c,!0x0),this[_0x425710(0x219)]=this[_0x425710(0x21a)](),this[_0x425710(0x229)]=!0x0,this[_0x425710(0x1fa)]>this[_0x425710(0x219)][_0x425710(0x226)]&&(_0x33fd07(_0x425710(0x21e),{'currentIndex':this[_0x425710(0x1fa)],'nodeList':this[_0x425710(0x219)]}),this[_0x425710(0x1fa)]=this[_0x425710(0x219)][_0x425710(0x226)]);for(let _0x49c9be=0x0;_0x49c9be<this[_0x425710(0x1fa)];_0x49c9be++)this[_0x425710(0x219)][_0x49c9be][_0x425710(0x216)]=!0x0;let _0x35317c=0x0;for(let _0x3bc118=this[_0x425710(0x1fa)];_0x3bc118<this[_0x425710(0x219)][_0x425710(0x226)];_0x3bc118++){const _0xd7070f=Date[_0x425710(0x221)](),_0x4b7cf6=this[_0x425710(0x219)][_0x3bc118],_0x500dcd=_0xd7070f-_0x35317c;_0x4b7cf6[_0x425710(0x216)]=!0x0;let _0x3c0c1d=_0x4b7cf6[_0x425710(0x1f9)];for(;_0x3c0c1d;)_0x3c0c1d[_0x425710(0x216)]=!0x0,_0x3c0c1d=_0x3c0c1d[_0x425710(0x1f9)];if(_0x500dcd<this[_0x425710(0x220)][_0x425710(0x22e)])try{const {promise:_0x3d7905,abortController:_0x12de14}=pr(this[_0x425710(0x220)][_0x425710(0x22e)]-_0x500dcd);this[_0x425710(0x20f)]=_0x12de14,await _0x3d7905;}catch(_0x585d4b){return;}_0x5c750f(_0x501935,'<'+_0x501935[_0x425710(0x22f)]+'>'+this[_0x425710(0x218)](this[_0x425710(0x213)])+'</'+_0x501935[_0x425710(0x22f)]+'>',{'childrenOnly':!0x0}),this[_0x425710(0x220)][_0x425710(0x21c)]&&this[_0x425710(0x220)][_0x425710(0x21c)](),this[_0x425710(0x1fa)]=_0x3bc118,_0x35317c=Date[_0x425710(0x221)]();}this[_0x425710(0x229)]=!0x1;}[_0x3d3b59(0x208)]({targetElement:_0xb190f7}){const _0x477360=_0x3d3b59;Array[_0x477360(0x206)](_0xb190f7[_0x477360(0x1fd)](_0x477360(0x202)))[_0x477360(0x215)]()[_0x477360(0x228)](_0x5eb1c7=>{const _0x2728d9=_0x477360;_0x5eb1c7[_0x2728d9(0x209)](_0x5eb1c7[_0x2728d9(0x203)][0x0]);});}[_0x3d3b59(0x227)](){const _0x492156=_0x3d3b59;this[_0x492156(0x229)]=!0x1,this[_0x492156(0x20f)]&&(this[_0x492156(0x20f)][_0x492156(0x210)](),this[_0x492156(0x20f)]=null);}[_0x3d3b59(0x218)](_0x29e041){const _0xc56cc5=_0x3d3b59;let _0x4c3bab='';if(function(_0x38a89f){return _0x52f139(_0x38a89f);}(_0x29e041)){for(const _0x1566ad of _0x29e041[_0xc56cc5(0x217)])_0x4c3bab+=this[_0xc56cc5(0x218)](_0x1566ad);}else{if(dr(_0x29e041)){if(!_0x29e041[_0xc56cc5(0x216)])return'';const _0x56a86c=_0x29e041,_0x390751=Object[_0xc56cc5(0x1fc)](_0x56a86c[_0xc56cc5(0x224)])[_0xc56cc5(0x22d)](([_0x4c5794,_0x25d2e2])=>_0x4c5794+'=\x22'+_0x25d2e2+'\x22')[_0xc56cc5(0x1f4)]('\x20');_0x4c3bab+='<'+_0x56a86c[_0xc56cc5(0x22f)]+(_0x390751?'\x20'+_0x390751:'')+'>';for(const _0x120ac2 of _0x53f377(_0x56a86c))_0x4c3bab+=this[_0xc56cc5(0x218)](_0x120ac2);_0x4c3bab+='</'+_0x56a86c[_0xc56cc5(0x22f)]+'>';}else{if(!ar(_0x29e041))return'';if(!_0x29e041[_0xc56cc5(0x216)])return'';!function(_0xc9d36b){const _0x14bc10=_0xc56cc5;if(!_0xc9d36b[_0x14bc10(0x1f9)]||!dr(_0xc9d36b[_0x14bc10(0x1f9)]))return!0x1;if(!cr[_0x14bc10(0x1ff)](_0xc9d36b[_0x14bc10(0x1f9)][_0x14bc10(0x22f)]))return!0x1;return!_0x22d713(_0xc9d36b)[_0x14bc10(0x205)](/^\s*[<>]\s*$/);}(_0x29e041)?_0x4c3bab+=_0x14e5f7(_0x29e041):_0x4c3bab+=_0x14e5f7(new _0x55a4c5(_0xc56cc5(0x214),{'data-ck-html-streamer-word-chunk':'','style':this[_0xc56cc5(0x220)][_0xc56cc5(0x200)]},[_0x29e041]));}}return _0x4c3bab;}[_0x3d3b59(0x21a)](){const _0x11c9b3=_0x3d3b59,_0xb056a3=[];return function(_0x5c28d5,_0x3438c4){const _0x1130ff=_0x5607,_0x4ecc2c=_0x53e40e=>{const _0x116ee2=_0x5607;if(_0x3438c4(_0x53e40e),_0x53e40e instanceof _0x1f917b)for(let _0x199596=0x0;_0x199596<_0x53e40e[_0x116ee2(0x217)][_0x116ee2(0x226)];_0x199596++){const _0x213ad4=_0x53e40e[_0x116ee2(0x217)][_0x199596];_0x4ecc2c(_0x213ad4);}};for(let _0x283f84=0x0;_0x283f84<_0x5c28d5[_0x1130ff(0x217)][_0x1130ff(0x226)];_0x283f84++)_0x4ecc2c(_0x5c28d5[_0x1130ff(0x217)][_0x283f84]);}(this[_0x11c9b3(0x213)],_0x305493=>{const _0xf8bc04=_0x11c9b3;if(ar(_0x305493)){const _0x3f1d71=this[_0xf8bc04(0x1fe)](_0x305493);_0x3f1d71[_0xf8bc04(0x226)]&&_0xb056a3[_0xf8bc04(0x20e)](..._0x3f1d71);}_0x305493[_0xf8bc04(0x21f)]||_0x305493[_0xf8bc04(0x201)]||_0xb056a3[_0xf8bc04(0x20e)](_0x305493);}),_0xb056a3;}[_0x3d3b59(0x1fe)](_0x566022){const _0x12414e=_0x3d3b59;if(_0x566022[_0x12414e(0x21f)]||_0x566022[_0x12414e(0x201)])return[];const _0x327e35=_0x22d713(_0x566022)[_0x12414e(0x205)](/(?:\s*\S+\s*)/g),_0x1616b0=[];if(_0x327e35&&_0x327e35[_0x12414e(0x226)]>0x1){for(const _0x327626 of _0x327e35){const _0x552060=new _0xf97fcd(_0x327626);_0x552060[_0x12414e(0x201)]=!0x0,_0x3a1765(_0x566022,_0x552060),_0x1616b0[_0x12414e(0x20e)](_0x552060);}_0x566022[_0x12414e(0x21f)]=!0x0,_0x45b3e1(_0x566022);}return _0x1616b0;}}const cr=['p','li','td','th',_0x3d3b59(0x214),'h1','h2','h3','h4','h5','h6','b',_0x3d3b59(0x22c),'i','em',_0x3d3b59(0x230),_0x3d3b59(0x21b),_0x3d3b59(0x20c),_0x3d3b59(0x1f8),_0x3d3b59(0x20a),'a',_0x3d3b59(0x21d),_0x3d3b59(0x1fb)];function ar(_0x1c193f){return _0x22914d(_0x1c193f);}function dr(_0x1ce329){return _0x54e023(_0x1ce329);}function pr(_0x25eade){const _0x112ac4=new AbortController();return{'promise':new Promise((_0x52206a,_0x196c95)=>{const _0x51cb48=_0x5607,_0x2469db=setTimeout(_0x52206a,_0x25eade);_0x112ac4[_0x51cb48(0x204)][_0x51cb48(0x22b)](_0x51cb48(0x210),()=>{clearTimeout(_0x2469db),_0x196c95();});}),'abortController':_0x112ac4};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xc845(){const _0x77bc0f=['type','Home','2644270hcYWhj','signal','stop','touchstart','bind','scrollTo','auto','45BjvEIP','key','addEventListener','animationFrameId','61229UCmTxE','_rafUpdate','8156XlNnCZ','PageDown','isRunning','106190KNLSfp','_onUserEvent','keydown','deltaY','ArrowUp','21uCtuwg','End','2694320xocluF','1942228mLiUxm','element','3126414sHcbgj','ArrowDown','PageUp','360KGObQg','start','isUserPaused','destroy','pointerdown','_stop','_isAtBottom','includes','wheel','abortController','scrollHeight','abort'];_0xc845=function(){return _0x77bc0f;};return _0xc845();}function _0x51c9(_0x3e259c,_0x179967){const _0xc8455e=_0xc845();return _0x51c9=function(_0x51c910,_0x430e18){_0x51c910=_0x51c910-0x1cd;let _0x445af4=_0xc8455e[_0x51c910];return _0x445af4;},_0x51c9(_0x3e259c,_0x179967);}const _0x3f35b6=_0x51c9;(function(_0x32b4d2,_0x2625c9){const _0x5bab94=_0x51c9,_0x50f2e5=_0x32b4d2();while(!![]){try{const _0x3f0ef1=-parseInt(_0x5bab94(0x1e6))/0x1+-parseInt(_0x5bab94(0x1e3))/0x2*(-parseInt(_0x5bab94(0x1eb))/0x3)+-parseInt(_0x5bab94(0x1ee))/0x4+parseInt(_0x5bab94(0x1ed))/0x5+-parseInt(_0x5bab94(0x1f0))/0x6+-parseInt(_0x5bab94(0x1e1))/0x7*(parseInt(_0x5bab94(0x1f3))/0x8)+-parseInt(_0x5bab94(0x1dd))/0x9*(-parseInt(_0x5bab94(0x1d6))/0xa);if(_0x3f0ef1===_0x2625c9)break;else _0x50f2e5['push'](_0x50f2e5['shift']());}catch(_0x103b1c){_0x50f2e5['push'](_0x50f2e5['shift']());}}}(_0xc845,0x5d88a));const ws=[_0x3f35b6(0x1d0),_0x3f35b6(0x1d9),_0x3f35b6(0x1f7),_0x3f35b6(0x1e8)],Fs=[_0x3f35b6(0x1ea),_0x3f35b6(0x1f1),_0x3f35b6(0x1f2),_0x3f35b6(0x1e4),_0x3f35b6(0x1d5),_0x3f35b6(0x1ec),'\x20'];export class ScrollManager{[_0x3f35b6(0x1ef)];[_0x3f35b6(0x1e0)];[_0x3f35b6(0x1e5)];[_0x3f35b6(0x1d1)];[_0x3f35b6(0x1f5)];constructor(_0x114651){const _0x2e95e8=_0x3f35b6;this[_0x2e95e8(0x1ef)]=_0x114651,this[_0x2e95e8(0x1e0)]=null,this[_0x2e95e8(0x1e5)]=!0x1,this[_0x2e95e8(0x1d1)]=new AbortController(),this[_0x2e95e8(0x1f5)]=!0x1;for(const _0x1d924f of ws){const _0x526170=_0x2e95e8(0x1e8)!==_0x1d924f;this[_0x2e95e8(0x1ef)][_0x2e95e8(0x1df)](_0x1d924f,this[_0x2e95e8(0x1e7)][_0x2e95e8(0x1da)](this),{'passive':_0x526170,'signal':this[_0x2e95e8(0x1d1)][_0x2e95e8(0x1d7)]});}}[_0x3f35b6(0x1f4)](){const _0x297062=_0x3f35b6;this[_0x297062(0x1e5)]||(this[_0x297062(0x1e5)]=!0x0,this[_0x297062(0x1f5)]=!0x1,this[_0x297062(0x1e0)]=requestAnimationFrame(this[_0x297062(0x1e2)][_0x297062(0x1da)](this)));}[_0x3f35b6(0x1d8)](){requestAnimationFrame(()=>{const _0x298a21=_0x51c9;this[_0x298a21(0x1cd)]();});}[_0x3f35b6(0x1f6)](){const _0x19de68=_0x3f35b6;this[_0x19de68(0x1cd)](),this[_0x19de68(0x1d1)][_0x19de68(0x1d3)]();}[_0x3f35b6(0x1cd)](){const _0x1495c1=_0x3f35b6;null!==this[_0x1495c1(0x1e0)]&&(cancelAnimationFrame(this[_0x1495c1(0x1e0)]),this[_0x1495c1(0x1e0)]=null),this[_0x1495c1(0x1e5)]&&(this[_0x1495c1(0x1e5)]=!0x1),this[_0x1495c1(0x1f5)]=!0x1;}[_0x3f35b6(0x1e7)](_0x3f3399){const _0x3358cd=_0x3f35b6;if(this[_0x3358cd(0x1e5)]){if(_0x3358cd(0x1e8)===_0x3f3399[_0x3358cd(0x1d4)]){const _0x527024=_0x3f3399[_0x3358cd(0x1de)];if(!Fs[_0x3358cd(0x1cf)](_0x527024))return;}_0x3f3399 instanceof WheelEvent?_0x3f3399[_0x3358cd(0x1e9)]<0x0?this[_0x3358cd(0x1f5)]=!0x0:this[_0x3358cd(0x1f5)]=!this[_0x3358cd(0x1ce)]():this[_0x3358cd(0x1f5)]=!0x0;}}[_0x3f35b6(0x1ce)](){const _0x1ff4c2=_0x3f35b6,{scrollTop:_0x50beb6,scrollHeight:_0x25946a,clientHeight:_0x240c01}=this[_0x1ff4c2(0x1ef)];return _0x25946a-_0x50beb6-_0x240c01<=0x5;}[_0x3f35b6(0x1e2)](){const _0x66e2a9=_0x3f35b6;this[_0x66e2a9(0x1e5)]&&(this[_0x66e2a9(0x1f5)]||this[_0x66e2a9(0x1ef)][_0x66e2a9(0x1db)]({'top':this[_0x66e2a9(0x1ef)][_0x66e2a9(0x1d2)],'behavior':_0x66e2a9(0x1dc)}),this[_0x66e2a9(0x1e0)]=requestAnimationFrame(this[_0x66e2a9(0x1e2)][_0x66e2a9(0x1da)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4e2d42=_0x36b2;(function(_0x452451,_0x12f0f6){var _0x5113d1=_0x36b2,_0x33cc95=_0x452451();while(!![]){try{var _0xdd2a0b=-parseInt(_0x5113d1(0x1bb))/0x1*(-parseInt(_0x5113d1(0x1c6))/0x2)+-parseInt(_0x5113d1(0x1ba))/0x3+parseInt(_0x5113d1(0x1bd))/0x4*(parseInt(_0x5113d1(0x1c1))/0x5)+parseInt(_0x5113d1(0x1be))/0x6+parseInt(_0x5113d1(0x1b8))/0x7*(-parseInt(_0x5113d1(0x1c2))/0x8)+-parseInt(_0x5113d1(0x1c5))/0x9+parseInt(_0x5113d1(0x1bf))/0xa;if(_0xdd2a0b===_0x12f0f6)break;else _0x33cc95['push'](_0x33cc95['shift']());}catch(_0xcb253){_0x33cc95['push'](_0x33cc95['shift']());}}}(_0x1b54,0x82d51));import{Plugin as _0x5c20c5}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0xcb484f}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x2d1b78}from'@ckeditor/ckeditor5-collaboration-core';function _0x36b2(_0x34b93,_0x4a23bd){var _0x1b540b=_0x1b54();return _0x36b2=function(_0x36b21f,_0xa453e5){_0x36b21f=_0x36b21f-0x1b8;var _0x3acf44=_0x1b540b[_0x36b21f];return _0x3acf44;},_0x36b2(_0x34b93,_0x4a23bd);}export class AIEditorIntegration extends _0x5c20c5{static get[_0x4e2d42(0x1c3)](){return[_0xcb484f,_0x2d1b78];}static get[_0x4e2d42(0x1c0)](){var _0x51aaa7=_0x4e2d42;return _0x51aaa7(0x1c4);}static get[_0x4e2d42(0x1b9)](){return!0x0;}static get[_0x4e2d42(0x1bc)](){return!0x0;}}function _0x1b54(){var _0x26bbae=['19819KQRNIX','isPremiumPlugin','6088WsUOLr','1185252XknpAZ','17725980OXozyV','pluginName','1285FVkCQA','6368YFkdzr','requires','AIEditorIntegration','7608267bhRtJh','76bOjbYq','7973uNGAkZ','isOfficialPlugin','2479560kxWugz'];_0x1b54=function(){return _0x26bbae;};return _0x1b54();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c59c4=_0x5836;(function(_0x27e44f,_0x2d44f8){const _0x250dff=_0x5836,_0x7ebcd0=_0x27e44f();while(!![]){try{const _0x34e4d8=parseInt(_0x250dff(0xfe))/0x1*(-parseInt(_0x250dff(0x103))/0x2)+parseInt(_0x250dff(0xfd))/0x3+parseInt(_0x250dff(0xf1))/0x4*(-parseInt(_0x250dff(0x101))/0x5)+parseInt(_0x250dff(0x108))/0x6*(parseInt(_0x250dff(0xf0))/0x7)+-parseInt(_0x250dff(0xed))/0x8*(-parseInt(_0x250dff(0x10a))/0x9)+parseInt(_0x250dff(0x105))/0xa+parseInt(_0x250dff(0xfb))/0xb*(-parseInt(_0x250dff(0x107))/0xc);if(_0x34e4d8===_0x2d44f8)break;else _0x7ebcd0['push'](_0x7ebcd0['shift']());}catch(_0x31ccd5){_0x7ebcd0['push'](_0x7ebcd0['shift']());}}}(_0xfe34,0x48c13));import{Plugin as _0x4cb192}from'ckeditor5/src/core.js';function _0xfe34(){const _0x66225f=['7PKrvxD','4CUmDam','isOn','init','locale','menuBar:toggleAi','isOfficialPlugin','ck-ai-toggle-button','AIToggleButtonUI','get','AI_TOGGLE_BUTTON_LABEL','40359kzripd','commands','408201Sqrhuk','1uCwMBw','requires','componentFactory','769985KlHXaO','menuitemcheckbox','1188302cqlIMg','add','1703040jUPktb','_createAIUIButton','840cjcSJA','2722134hjDMNf','set','9gvnRxY','editor','bind','isPremiumPlugin','isEnabled','execute','toggleAi','pluginName','4343368CuxshI','listenTo','value'];_0xfe34=function(){return _0x66225f;};return _0xfe34();}import{ToggleAICommand as _0x5b28c1}from'./toggleaicommand.js';import{ButtonView as _0x33babf,MenuBarMenuListItemButtonView as _0x460f16}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x443c3b}from'@ckeditor/ckeditor5-icons';function _0x5836(_0x2ae9d0,_0x92f83f){const _0xfe344b=_0xfe34();return _0x5836=function(_0x5836c9,_0x1bb63f){_0x5836c9=_0x5836c9-0xeb;let _0x191063=_0xfe344b[_0x5836c9];return _0x191063;},_0x5836(_0x2ae9d0,_0x92f83f);}import{getTranslation as _0x1e4a48}from'../../aicore/utils/common-translations.js';import{AITabs as _0x43606e}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x4cb192{static get[_0x3c59c4(0xff)](){return[_0x43606e];}static get[_0x3c59c4(0xec)](){const _0x18ca11=_0x3c59c4;return _0x18ca11(0xf8);}static get[_0x3c59c4(0xf6)](){return!0x0;}static get[_0x3c59c4(0x10d)](){return!0x0;}[_0x3c59c4(0xf3)](){const _0x372d4c=_0x3c59c4,_0x58d623=this[_0x372d4c(0x10b)];_0x58d623[_0x372d4c(0xfc)][_0x372d4c(0x104)](_0x372d4c(0xeb),new _0x5b28c1(_0x58d623)),_0x58d623['ui'][_0x372d4c(0x100)][_0x372d4c(0x104)](_0x372d4c(0xeb),()=>{const _0x350742=_0x372d4c,_0x59d8e7=this[_0x350742(0x106)](_0x33babf);return _0x59d8e7[_0x350742(0x109)]({'tooltip':!0x0,'class':_0x350742(0xf7)}),_0x59d8e7;}),_0x58d623['ui'][_0x372d4c(0x100)][_0x372d4c(0x104)](_0x372d4c(0xf5),()=>{const _0x1ebce6=_0x372d4c,_0x2dd4f2=this[_0x1ebce6(0x106)](_0x460f16);return _0x2dd4f2[_0x1ebce6(0x109)]({'role':_0x1ebce6(0x102)}),_0x2dd4f2;});}[_0x3c59c4(0x106)](_0x232453){const _0x5ea83c=_0x3c59c4,_0x31f935=this[_0x5ea83c(0x10b)],_0x122db0=_0x31f935[_0x5ea83c(0xfc)][_0x5ea83c(0xf9)](_0x5ea83c(0xeb)),_0x3afcc1=new _0x232453(_0x31f935[_0x5ea83c(0xf4)]);return _0x3afcc1[_0x5ea83c(0x109)]({'label':_0x1e4a48(_0x31f935[_0x5ea83c(0xf4)],_0x5ea83c(0xfa)),'icon':_0x443c3b,'isToggleable':!0x0}),_0x3afcc1[_0x5ea83c(0x10c)](_0x5ea83c(0x10e))['to'](_0x122db0),_0x3afcc1[_0x5ea83c(0x10c)](_0x5ea83c(0xf2))['to'](_0x122db0,_0x5ea83c(0xef),_0x3f58c3=>!!_0x3f58c3),this[_0x5ea83c(0xee)](_0x3afcc1,_0x5ea83c(0x10f),()=>{const _0x1821fb=_0x5ea83c;_0x122db0[_0x1821fb(0x10f)]();}),_0x3afcc1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5d53ae=_0x2ae4;function _0x2ae4(_0x2271f4,_0x5878ad){const _0x22de2e=_0x22de();return _0x2ae4=function(_0x2ae4b7,_0x38b294){_0x2ae4b7=_0x2ae4b7-0xef;let _0x472775=_0x22de2e[_0x2ae4b7];return _0x472775;},_0x2ae4(_0x2271f4,_0x5878ad);}(function(_0x3d4751,_0x47ff7a){const _0xda44c=_0x2ae4,_0x23b883=_0x3d4751();while(!![]){try{const _0x33ad84=-parseInt(_0xda44c(0xf5))/0x1*(-parseInt(_0xda44c(0xf4))/0x2)+parseInt(_0xda44c(0xfb))/0x3+parseInt(_0xda44c(0x103))/0x4*(-parseInt(_0xda44c(0x100))/0x5)+parseInt(_0xda44c(0x101))/0x6*(-parseInt(_0xda44c(0xf3))/0x7)+-parseInt(_0xda44c(0xfa))/0x8*(parseInt(_0xda44c(0xf1))/0x9)+-parseInt(_0xda44c(0xef))/0xa+parseInt(_0xda44c(0xf9))/0xb*(parseInt(_0xda44c(0x104))/0xc);if(_0x33ad84===_0x47ff7a)break;else _0x23b883['push'](_0x23b883['shift']());}catch(_0x751907){_0x23b883['push'](_0x23b883['shift']());}}}(_0x22de,0x687a8));function _0x22de(){const _0x3d926b=['23089584rBjyOK','8182040iVDvzW','view','9vEMOSO','AITabs','7vzHgaz','1576434rylAqj','1dEcKIh','editor','get','execute','11qIxjoV','4405408mwMHOB','530271hnqytR','bind','plugins','value','isVisible','1222465qDJoFU','5086734AePcJK','isEnabled','4gzfgZg'];_0x22de=function(){return _0x3d926b;};return _0x22de();}import{Command as _0x2afb38}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x2afb38{constructor(_0x21b160){const _0x37e0c2=_0x2ae4;super(_0x21b160);const _0x143c09=_0x21b160[_0x37e0c2(0xfd)][_0x37e0c2(0xf7)](_0x37e0c2(0xf2))[_0x37e0c2(0xf0)];this[_0x37e0c2(0xfc)](_0x37e0c2(0xfe))['to'](_0x143c09,_0x37e0c2(0xff)),this[_0x37e0c2(0x102)]=!0x0;}[_0x5d53ae(0xf8)](){const _0x485175=_0x5d53ae,_0x5d460f=this[_0x485175(0xf6)][_0x485175(0xfd)][_0x485175(0xf7)](_0x485175(0xf2))[_0x485175(0xf0)];_0x5d460f[_0x485175(0xff)]=!_0x5d460f[_0x485175(0xff)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3fdff3=_0x2231;(function(_0x2c2ef8,_0x3e8908){var _0x10bf84=_0x2231,_0x1d7fda=_0x2c2ef8();while(!![]){try{var _0x18fd1b=-parseInt(_0x10bf84(0x10e))/0x1+-parseInt(_0x10bf84(0x109))/0x2+-parseInt(_0x10bf84(0x108))/0x3+-parseInt(_0x10bf84(0x110))/0x4*(parseInt(_0x10bf84(0x10a))/0x5)+-parseInt(_0x10bf84(0x10b))/0x6+-parseInt(_0x10bf84(0x113))/0x7+parseInt(_0x10bf84(0x112))/0x8;if(_0x18fd1b===_0x3e8908)break;else _0x1d7fda['push'](_0x1d7fda['shift']());}catch(_0x207722){_0x1d7fda['push'](_0x1d7fda['shift']());}}}(_0x54f2,0x1d580));import{Plugin as _0x1ae7e4}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x6a40be}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x48eedd}from'./aiquickactionsediting.js';import{AIActions as _0xd6cdd9}from'../aiactions/aiactions.js';function _0x54f2(){var _0x358cb2=['59475jpCRnP','955860RovGSy','config','define','136639lzpdWJ','AIQuickActions','80yfAdxc','ai.quickActions','6502032JbrGaZ','474089EXmldb','requires','isPremiumPlugin','isOfficialPlugin','pluginName','242508qzgJpC','20300wovfrm'];_0x54f2=function(){return _0x358cb2;};return _0x54f2();}function _0x2231(_0x23d34d,_0x1d852d){var _0x54f2c9=_0x54f2();return _0x2231=function(_0x2231d9,_0x2ac04e){_0x2231d9=_0x2231d9-0x106;var _0x5b9e9e=_0x54f2c9[_0x2231d9];return _0x5b9e9e;},_0x2231(_0x23d34d,_0x1d852d);}export class AIQuickActions extends _0x1ae7e4{static get[_0x3fdff3(0x114)](){return[_0x6a40be,_0x48eedd,_0xd6cdd9];}static get[_0x3fdff3(0x107)](){var _0x7935a5=_0x3fdff3;return _0x7935a5(0x10f);}static get[_0x3fdff3(0x106)](){return!0x0;}static get[_0x3fdff3(0x115)](){return!0x0;}constructor(_0x5c0f52){var _0x388bb5=_0x3fdff3;super(_0x5c0f52),_0x5c0f52[_0x388bb5(0x10c)][_0x388bb5(0x10d)](_0x388bb5(0x111),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e2fc0=_0x3884;(function(_0x195356,_0xe2334c){const _0x4a2a1e=_0x3884,_0x413518=_0x195356();while(!![]){try{const _0x24b58c=-parseInt(_0x4a2a1e(0xf2))/0x1+parseInt(_0x4a2a1e(0xdd))/0x2*(-parseInt(_0x4a2a1e(0xee))/0x3)+-parseInt(_0x4a2a1e(0xf7))/0x4+-parseInt(_0x4a2a1e(0x119))/0x5*(parseInt(_0x4a2a1e(0xde))/0x6)+-parseInt(_0x4a2a1e(0xe6))/0x7*(-parseInt(_0x4a2a1e(0xe0))/0x8)+-parseInt(_0x4a2a1e(0xfa))/0x9+parseInt(_0x4a2a1e(0xfb))/0xa;if(_0x24b58c===_0xe2334c)break;else _0x413518['push'](_0x413518['shift']());}catch(_0x342f8b){_0x413518['push'](_0x413518['shift']());}}}(_0x46c7,0x51474));import{Command as _0x2de5a8}from'ckeditor5/src/core.js';import{CKEditorError as _0x4a1fec,first as _0xb10fcf}from'ckeditor5/src/utils.js';function _0x46c7(){const _0x367d4e=['has','getSelectedBlocks','displayedPrompt','focusPromptInput','other','_handleAIActionsAction','CHAT','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','args','type','ask-ai','locale','AIChatController','plugins','get','AITabs','removeSelectionFromChatContext','change','ai-quick-actions-plugin-not-found','view','_handleAIChatAction','log','executeAction','handleAIReviewAction','addSelectionToChatContext','ACTION','prompt','actionName','isCollapsed','9210SZOoXM','260290AGiBZx','1722yyWoyp','getLimitElement','8QnZYSE','sendMessage','document','execute','REVIEW','startConversation','3308522xrHJdj','_expandSelectionIfCollapsed','icon','editor','_handleAIReviewAction','schema','label','AIActions','3pHljPA','chat','model','setSelection','486329PVwOCg','parent','AIChat','selection','activateTab','722676NhqVKV','AIReviewMode','_handleAIActionsActionLabel','1886445FVbYhe','13956720tFRbln'];_0x46c7=function(){return _0x367d4e;};return _0x46c7();}function _0x3884(_0x55a612,_0x312118){const _0x46c7c0=_0x46c7();return _0x3884=function(_0x3884aa,_0x196612){_0x3884aa=_0x3884aa-0xdd;let _0x79782d=_0x46c7c0[_0x3884aa];return _0x79782d;},_0x3884(_0x55a612,_0x312118);}import{AIQuickActionType as _0x414723}from'./aiquickactionsui.js';import{getTranslation as _0x4f6468}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x2de5a8{[_0x2e2fc0(0xe3)](_0x34f515){const _0x21633c=_0x2e2fc0;switch(this[_0x21633c(0xe7)](),_0x34f515[_0x21633c(0x105)]){case _0x414723[_0x21633c(0x102)]:if(!this[_0x21633c(0xe9)][_0x21633c(0x109)][_0x21633c(0xfc)](_0x21633c(0xf4))){const _0x485edb=_0x4f6468(this[_0x21633c(0xe9)][_0x21633c(0x107)],_0x21633c(0x103),_0x21633c(0xf4));throw new _0x4a1fec(_0x21633c(0x10e),this[_0x21633c(0xe9)],{'errorMessage':_0x485edb});}this[_0x21633c(0x110)](_0x34f515);break;case _0x414723[_0x21633c(0x115)]:if(!this[_0x21633c(0xe9)][_0x21633c(0x109)][_0x21633c(0xfc)](_0x21633c(0xed))){const _0x50a25c=_0x4f6468(this[_0x21633c(0xe9)][_0x21633c(0x107)],_0x21633c(0x103),_0x21633c(0xed));throw new _0x4a1fec(_0x21633c(0x10e),this[_0x21633c(0xe9)],{'errorMessage':_0x50a25c});}this[_0x21633c(0x101)](_0x34f515);break;case _0x414723[_0x21633c(0xe4)]:if(!this[_0x21633c(0xe9)][_0x21633c(0x109)][_0x21633c(0xfc)](_0x21633c(0xf8))){const _0x249077=_0x4f6468(this[_0x21633c(0xe9)][_0x21633c(0x107)],_0x21633c(0x103),_0x21633c(0xf8));throw new _0x4a1fec(_0x21633c(0x10e),this[_0x21633c(0xe9)],{'errorMessage':_0x249077});}this[_0x21633c(0xea)](_0x34f515);}}async[_0x2e2fc0(0x110)](_0x2c9cc2){const _0x12409f=_0x2e2fc0,_0x3fa42b=this[_0x12409f(0xe9)][_0x12409f(0x109)][_0x12409f(0x10a)](_0x12409f(0xf4)),_0x18a7b0=this[_0x12409f(0xe9)][_0x12409f(0x109)][_0x12409f(0x10a)](_0x12409f(0x108));if(this[_0x12409f(0xe9)][_0x12409f(0x109)][_0x12409f(0x10a)](_0x12409f(0x10b))[_0x12409f(0x10f)][_0x12409f(0xf6)](_0x12409f(0xef)),_0x12409f(0x106)===_0x2c9cc2['id'])_0x18a7b0[_0x12409f(0x10c)](),await _0x3fa42b[_0x12409f(0x114)](),_0x3fa42b[_0x12409f(0xff)]();else await _0x3fa42b[_0x12409f(0xe5)](),_0x18a7b0[_0x12409f(0x10c)](),await _0x3fa42b[_0x12409f(0x114)](),_0x3fa42b[_0x12409f(0xff)](),await _0x3fa42b[_0x12409f(0xe1)]({'message':_0x2c9cc2[_0x12409f(0x116)]||_0x2c9cc2[_0x12409f(0xfe)],'quickActionData':{'id':_0x2c9cc2['id'],'displayedPrompt':_0x2c9cc2[_0x12409f(0xfe)]}});}[_0x2e2fc0(0xe7)](){const _0x1e7240=_0x2e2fc0,_0xc72a32=this[_0x1e7240(0xe9)],_0x491fb9=_0xc72a32[_0x1e7240(0xf0)][_0x1e7240(0xe2)][_0x1e7240(0xf5)];if(!_0x491fb9[_0x1e7240(0x118)])return;const _0x5eaeb0=_0xb10fcf(_0x491fb9[_0x1e7240(0xfd)]())||_0xc72a32[_0x1e7240(0xf0)][_0x1e7240(0xeb)][_0x1e7240(0xdf)](_0x491fb9);_0xc72a32[_0x1e7240(0xf0)][_0x1e7240(0x10d)](_0x3ed108=>{const _0x4eff11=_0x1e7240;_0x3ed108[_0x4eff11(0xf1)](_0x5eaeb0,'in');});}[_0x2e2fc0(0xf9)](_0x529972){const _0x4d1520=_0x2e2fc0;return _0x529972[_0x4d1520(0xf3)]?.[_0x4d1520(0xec)]&&_0x4d1520(0x100)!==_0x529972[_0x4d1520(0xf3)]?.['id']?_0x529972[_0x4d1520(0xf3)][_0x4d1520(0xec)]+':\x20'+_0x529972[_0x4d1520(0xfe)]:_0x529972[_0x4d1520(0xfe)];}async[_0x2e2fc0(0x101)](_0x37ec6a){const _0x35a296=_0x2e2fc0,_0x19f952=this[_0x35a296(0xe9)][_0x35a296(0x109)][_0x35a296(0x10a)](_0x35a296(0xed)),_0x12f6d7=_0x37ec6a[_0x35a296(0x116)]?{'userMessage':_0x37ec6a[_0x35a296(0x116)],'model':_0x37ec6a[_0x35a296(0xf0)]}:{'actionName':_0x37ec6a[_0x35a296(0x117)]||_0x37ec6a['id'],'args':_0x37ec6a[_0x35a296(0x104)]},_0x2481cd=this[_0x35a296(0xf9)](_0x37ec6a);await _0x19f952[_0x35a296(0x112)](_0x12f6d7,_0x2481cd,_0x37ec6a[_0x35a296(0xe8)]);}async[_0x2e2fc0(0xea)](_0x3391db){const _0x1fda76=_0x2e2fc0;console[_0x1fda76(0x111)](_0x1fda76(0x113),_0x3391db);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ad521=_0x3a11;function _0x39b5(){const _0xd960d8=['isPremiumPlugin','isOfficialPlugin','get','2157633RjfggZ','11nsBblr','5YyMSxA','pluginName','1954729Gnhyqh','160fNqWwj','removeSelectionFromChatContext','aiQuickAction','189108QDlbha','directChange','8eMfSIf','add','6324tFzydu','AIChat','plugins','model','232998iDgisj','selection','commands','has','document','AIQuickActionsEditing','init','41129yXMwPa','1259780mRIIBN','change:range','editor'];_0x39b5=function(){return _0xd960d8;};return _0x39b5();}(function(_0x6b5d4e,_0x3d5fe7){const _0x3082c5=_0x3a11,_0x200aa8=_0x6b5d4e();while(!![]){try{const _0x50d3b8=parseInt(_0x3082c5(0xc8))/0x1*(-parseInt(_0x3082c5(0xd3))/0x2)+-parseInt(_0x3082c5(0xcf))/0x3+-parseInt(_0x3082c5(0xc1))/0x4+-parseInt(_0x3082c5(0xc9))/0x5*(-parseInt(_0x3082c5(0xd7))/0x6)+parseInt(_0x3082c5(0xcb))/0x7+-parseInt(_0x3082c5(0xd1))/0x8*(-parseInt(_0x3082c5(0xc7))/0x9)+parseInt(_0x3082c5(0xcc))/0xa*(parseInt(_0x3082c5(0xc0))/0xb);if(_0x50d3b8===_0x3d5fe7)break;else _0x200aa8['push'](_0x200aa8['shift']());}catch(_0x1562ae){_0x200aa8['push'](_0x200aa8['shift']());}}}(_0x39b5,0x3204e));function _0x3a11(_0x856f3f,_0x2a60b7){const _0x39b570=_0x39b5();return _0x3a11=function(_0x3a11e3,_0x4df4c9){_0x3a11e3=_0x3a11e3-0xba;let _0x512207=_0x39b570[_0x3a11e3];return _0x512207;},_0x3a11(_0x856f3f,_0x2a60b7);}import{Plugin as _0x8de810}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x59b696}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x8de810{static get[_0x2ad521(0xca)](){const _0x7c2ebc=_0x2ad521;return _0x7c2ebc(0xbe);}static get[_0x2ad521(0xc5)](){return!0x0;}static get[_0x2ad521(0xc4)](){return!0x0;}[_0x2ad521(0xbf)](){const _0x5ccc0c=_0x2ad521,_0x231d08=this[_0x5ccc0c(0xc3)],_0x2495ec=new _0x59b696(this[_0x5ccc0c(0xc3)]);if(_0x231d08[_0x5ccc0c(0xbb)][_0x5ccc0c(0xd2)](_0x5ccc0c(0xce),_0x2495ec),_0x231d08[_0x5ccc0c(0xd5)][_0x5ccc0c(0xbc)](_0x5ccc0c(0xd4))){const _0x8a9904=this[_0x5ccc0c(0xc3)][_0x5ccc0c(0xd5)][_0x5ccc0c(0xc6)](_0x5ccc0c(0xd4));_0x231d08[_0x5ccc0c(0xd6)][_0x5ccc0c(0xbd)][_0x5ccc0c(0xba)]['on'](_0x5ccc0c(0xc2),(_0x6014a7,_0x43898a)=>{const _0x3c8839=_0x5ccc0c;_0x43898a[_0x3c8839(0xd0)]&&_0x8a9904[_0x3c8839(0xcd)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x478cbf=_0x4905;(function(_0x685f6e,_0x5893d8){const _0xa00d84=_0x4905,_0x1ff95c=_0x685f6e();while(!![]){try{const _0x253e36=-parseInt(_0xa00d84(0x1bf))/0x1*(parseInt(_0xa00d84(0x1cd))/0x2)+-parseInt(_0xa00d84(0x177))/0x3+parseInt(_0xa00d84(0x1b5))/0x4+parseInt(_0xa00d84(0x172))/0x5+parseInt(_0xa00d84(0x1c3))/0x6*(-parseInt(_0xa00d84(0x17e))/0x7)+parseInt(_0xa00d84(0x1a6))/0x8+-parseInt(_0xa00d84(0x173))/0x9*(-parseInt(_0xa00d84(0x1ca))/0xa);if(_0x253e36===_0x5893d8)break;else _0x1ff95c['push'](_0x1ff95c['shift']());}catch(_0x469fdd){_0x1ff95c['push'](_0x1ff95c['shift']());}}}(_0x5cff,0x70acb));import{IconAIAdjustLength as _0x40b26b,IconAIChangeTone as _0x8c87c7,IconAIChatCommands as _0x49fea5,IconAIContinueWriting as _0x1dfd88,IconAIGrammarCheck as _0x502223,IconAIImproveWriting as _0x56c052,IconAIOther as _0x253779,IconAIQuickActions as _0x4fc483,IconAITranslate as _0x37128b}from'@ckeditor/ckeditor5-icons';function _0x4905(_0x5daffd,_0x4d7440){const _0x5cff2b=_0x5cff();return _0x4905=function(_0x490502,_0x1ab096){_0x490502=_0x490502-0x147;let _0x27131e=_0x5cff2b[_0x490502];return _0x27131e;},_0x4905(_0x5daffd,_0x4d7440);}import{Plugin as _0x42c531}from'ckeditor5/src/core.js';import{CKEditorError as _0x3336d7,logError as _0x31e67a}from'ckeditor5/src/utils.js';import{getTranslation as _0x542ec2}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0xcf5db3}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x24e08d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x13c1b9,BalloonToolbar as _0x36cb7,MenuBarMenuView as _0x422edf,MenuBarMenuListView as _0x1bf45e,MenuBarMenuListItemView as _0xdde5f6,MenuBarMenuListItemButtonView as _0xaa55d5}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x8e8595}from'../aicore/model/aimodels.js';const Lt=_0x478cbf(0x184),Dt=_0x478cbf(0x1cc),Ht=_0x478cbf(0x1a4);export var AIQuickActionType;!function(_0x1c8204){const _0x101b01=_0x478cbf;_0x1c8204[_0x101b01(0x1a5)]=_0x101b01(0x1a5),_0x1c8204[_0x101b01(0x192)]=_0x101b01(0x192),_0x1c8204[_0x101b01(0x1d6)]=_0x101b01(0x1d6);}(AIQuickActionType||(AIQuickActionType={}));function _0x5cff(){const _0x1b13d8=['translate-to-spanish','spanish','map','_executeQuickAction','russian','AI_QUICK_ACTIONS_HEADING','2326612XXKrfx','AIChat','make-tone-friendly','add','buttonView','icon','AIQuickActionsUI','ai.quickActions.isSearchEnabled','make-tone-confident','_initializeQuickActionsComponentsAndCommands','90239zFlzZl','AI_QUICK_ACTIONS_TRANSLATE','ai-quick-actions-unavailable-model','menuBarView','66gUCTuT','chinese','replace','explain','ai-quick-actions-models-unable-to-retrieve','korean','AI_QUICK_ACTIONS_ADJUST_LENGTH','21010PeHomr','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','<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>','4KzXFMP','make-tone-professional','improve-writing','language','AI_QUICK_ACTIONS_CHAT_COMMANDS','summarize','filter','attachToDom','ai.quickActions.removeCommands','REVIEW','editing','plugins','has','panelView','AI_QUICK_ACTIONS_OTHER','pluginName','forEach','_getDefaultAndCustomActions','other','AI_QUICK_ACTIONS_EXPLAIN','DisplayNames','AI_QUICK_ACTIONS_MORE_FRIENDLY','message','isPremiumPlugin','children','japanese','label','german','find','translate-to-italian','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MAKE_LONGER','_prepareQuickActionsDefinition','translate-to-russian','values','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','ask-ai','translate','uiLanguage','push','commands','highlight-key-points','menu','translate-to-english','close','model','_initializeQuickActionsMenuBar','get','AI_QUICK_ACTIONS_MAKE_SHORTER','adjust-length','componentFactory','french','aiQuickAction','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_CHANGE_TONE','requires','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','execute','make-shorter','make-tone-casual','focus','getAvailableModels','AI_QUICK_ACTIONS_MORE_CONFIDENT','make-longer','some','AIReviewMode','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_CONTINUE_WRITING','displayedPrompt','aiQuickActions','2471690vOnUXp','2079XqrHpD','getDefaultQuickActions','_shouldIncludeAction','AI_QUICK_ACTIONS_SUMMARIZE','2088903PrrPdQ','portuguese','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','init','config','items','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','550459GTFtRV','delegate','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-chinese','view','chat-commands','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','type','translate-to-portuguese','English','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','editor','AIActions','includes','locale','change-tone','set','isOfficialPlugin','continue','ACTION','_quickActionsDefinition','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AIConnector','_initializeQuickActionsDropdown','menuBar:aiQuickActions','AI_QUICK_ACTIONS_MORE_DIRECT','isEnabled','make-tone-direct','italian','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','length','actions','ai.chat.models.displayedModels','english','AI_QUICK_ACTIONS_IMPROVE_WRITING','<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>','CHAT','5135832ZuxNrt','AI_QUICK_ACTIONS_ASK_AI','menuitem','translate-to-french','translate-to-japanese','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-korean','translate-to-german','_initializeQuickActionsComponents'];_0x5cff=function(){return _0x1b13d8;};return _0x5cff();}export var AIQuickActionTypeToPluginName;!function(_0xafa73f){const _0x456ce8=_0x478cbf;_0xafa73f[_0x456ce8(0x1a5)]=_0x456ce8(0x1b6),_0xafa73f[_0x456ce8(0x192)]=_0x456ce8(0x18b),_0xafa73f[_0x456ce8(0x1d6)]=_0x456ce8(0x16d);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x42c531{static get[_0x478cbf(0x163)](){return[_0x36cb7];}static get[_0x478cbf(0x1dc)](){const _0x4aa745=_0x478cbf;return _0x4aa745(0x1bb);}static get[_0x478cbf(0x190)](){return!0x0;}static get[_0x478cbf(0x1e4)](){return!0x0;}async[_0x478cbf(0x17a)](){const _0x22b40f=_0x478cbf,_0x33e741=await this[_0x22b40f(0x1de)]();this[_0x22b40f(0x14c)](_0x33e741),this[_0x22b40f(0x1be)]();}static[_0x478cbf(0x174)](_0x4696e2){return function(_0x2a49ee){const _0x2faac3=_0x4905,_0x3dcf05=new Intl[(_0x2faac3(0x1e1))](['en'],{'type':_0x2faac3(0x1d0)})['of'](_0x2a49ee[_0x2faac3(0x152)]),_0x55e4a3=_0x3dcf05||_0x2faac3(0x187),_0x3969c4=[{'id':_0x2faac3(0x150),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x1a7)),'type':AIQuickActionType[_0x2faac3(0x1a5)],'icon':_0x49fea5},{'id':_0x2faac3(0x183),'label':_0x542ec2(_0x2a49ee,_0x2faac3(0x1d1)),'icon':_0x49fea5,'actions':[{'id':_0x2faac3(0x1c6),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x1e0)),'prompt':Lt[_0x2faac3(0x1c5)]('%0',_0x55e4a3),'type':AIQuickActionType[_0x2faac3(0x1a5)]},{'id':_0x2faac3(0x1d2),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x176)),'prompt':Dt[_0x2faac3(0x1c5)]('%0',_0x55e4a3),'type':AIQuickActionType[_0x2faac3(0x1a5)]},{'id':_0x2faac3(0x155),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x194)),'prompt':Ht[_0x2faac3(0x1c5)]('%0',_0x55e4a3),'type':AIQuickActionType[_0x2faac3(0x1a5)]}]},{'id':_0x2faac3(0x1cf),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x1a3)),'type':AIQuickActionType[_0x2faac3(0x192)],'icon':_0x56c052},{'id':_0x2faac3(0x191),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x16f)),'type':AIQuickActionType[_0x2faac3(0x192)],'icon':_0x1dfd88},{'id':_0x2faac3(0x19d),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x189)),'type':AIQuickActionType[_0x2faac3(0x192)],'icon':_0x502223},{'id':_0x2faac3(0x15d),'label':_0x542ec2(_0x2a49ee,_0x2faac3(0x1c9)),'icon':_0x40b26b,'actions':[{'id':_0x2faac3(0x166),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x15c)),'type':AIQuickActionType[_0x2faac3(0x192)]},{'id':_0x2faac3(0x16b),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x14b)),'type':AIQuickActionType[_0x2faac3(0x192)]}]},{'id':_0x2faac3(0x18e),'label':_0x542ec2(_0x2a49ee,_0x2faac3(0x162)),'icon':_0x8c87c7,'actions':[{'id':_0x2faac3(0x167),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x180)),'type':AIQuickActionType[_0x2faac3(0x192)]},{'id':_0x2faac3(0x19a),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x198)),'type':AIQuickActionType[_0x2faac3(0x192)]},{'id':_0x2faac3(0x1b7),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x1e2)),'type':AIQuickActionType[_0x2faac3(0x192)]},{'id':_0x2faac3(0x1bd),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x16a)),'type':AIQuickActionType[_0x2faac3(0x192)]},{'id':_0x2faac3(0x1ce),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x14f)),'type':AIQuickActionType[_0x2faac3(0x192)]}]},{'id':_0x2faac3(0x151),'label':_0x542ec2(_0x2a49ee,_0x2faac3(0x1c0)),'icon':_0x37128b,'actions':[{'id':_0x2faac3(0x157),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x17d)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x1a2)}},{'id':_0x2faac3(0x181),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x1cb)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x1c4)}},{'id':_0x2faac3(0x1af),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x179)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x1b0)}},{'id':_0x2faac3(0x1ad),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x16e)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x147)}},{'id':_0x2faac3(0x1a9),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x188)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x15f)}},{'id':_0x2faac3(0x1aa),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x1ab)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x1e6)}},{'id':_0x2faac3(0x186),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x19e)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x178)}},{'id':_0x2faac3(0x1ac),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x161)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x1c8)}},{'id':_0x2faac3(0x149),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x19c)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x19b)}},{'id':_0x2faac3(0x14d),'displayedPrompt':_0x542ec2(_0x2a49ee,_0x2faac3(0x164)),'type':AIQuickActionType[_0x2faac3(0x192)],'actionName':_0x2faac3(0x151),'args':{'language':_0x2faac3(0x1b3)}}]},{'id':_0x2faac3(0x1df),'label':_0x542ec2(_0x2a49ee,_0x2faac3(0x1db)),'icon':_0x253779,'actions':[]}];return _0x3969c4;}(_0x4696e2);}async[_0x478cbf(0x1de)](){const _0x2ec372=_0x478cbf,_0xce9f20=AIQuickActionsUI[_0x2ec372(0x174)](this[_0x2ec372(0x18a)][_0x2ec372(0x18d)]),_0x5b1f4a=this[_0x2ec372(0x18a)][_0x2ec372(0x17b)][_0x2ec372(0x15b)](_0x2ec372(0x14a))||[];let _0x16b102=[];try{_0x16b102=await new _0x8e8595({'connector':this[_0x2ec372(0x18a)][_0x2ec372(0x1d8)][_0x2ec372(0x15b)](_0x2ec372(0x195)),'availableModels':this[_0x2ec372(0x18a)][_0x2ec372(0x17b)][_0x2ec372(0x15b)](_0x2ec372(0x1a1))})[_0x2ec372(0x169)]();}catch(_0x50f0e4){const _0x3a9902=new _0x3336d7(_0x2ec372(0x1c7),this,{'error':_0x50f0e4});_0x31e67a(_0x3a9902[_0x2ec372(0x1e3)]);}finally{const _0xe2bd49=_0x5b1f4a[_0x2ec372(0x1b1)](_0x25ff85=>({..._0x25ff85,'icon':void 0x0}));_0xce9f20[_0x2ec372(0x148)](_0x3f05a1=>_0x2ec372(0x1df)===_0x3f05a1['id'])[_0x2ec372(0x1a0)][_0x2ec372(0x153)](..._0xe2bd49),_0xce9f20[_0x2ec372(0x1dd)](_0x2690e6=>{const _0xa93e9a=_0x2ec372;if(_0xa93e9a(0x1a0)in _0x2690e6)_0x2690e6[_0xa93e9a(0x1a0)][_0xa93e9a(0x1dd)](_0x7c3cb5=>{const _0x380482=_0xa93e9a;if(_0x7c3cb5[_0x380482(0x199)]=!!_0x16b102[_0x380482(0x148)](_0x2679af=>_0x2679af['id']===_0x7c3cb5[_0x380482(0x159)])||void 0x0===_0x7c3cb5[_0x380482(0x159)],!_0x7c3cb5[_0x380482(0x199)]){const _0xcaf66c=new _0x3336d7(_0x380482(0x1c1),this,{'actionId':_0x7c3cb5['id'],'modelId':_0x7c3cb5[_0x380482(0x159)]});_0x31e67a(_0xcaf66c[_0x380482(0x1e3)]);}});else{if(_0x2690e6[_0xa93e9a(0x199)]=!!_0x16b102[_0xa93e9a(0x148)](_0x4cd65c=>_0x4cd65c['id']===_0x2690e6[_0xa93e9a(0x159)])||void 0x0===_0x2690e6[_0xa93e9a(0x159)],!_0x2690e6[_0xa93e9a(0x199)]){const _0xd6100a=new _0x3336d7(_0xa93e9a(0x1c1),this,{'actionId':_0x2690e6['id'],'modelId':_0x2690e6[_0xa93e9a(0x159)]});_0x31e67a(_0xd6100a[_0xa93e9a(0x1e3)]);}}});}return _0xce9f20;}[_0x478cbf(0x1be)](){const _0x38c4a9=_0x478cbf,_0x9666ae=new _0x13c1b9(this[_0x38c4a9(0x18a)][_0x38c4a9(0x18d)]);_0x9666ae[_0x38c4a9(0x1d4)](),this[_0x38c4a9(0x196)](_0x9666ae),this[_0x38c4a9(0x15a)](),this[_0x38c4a9(0x1ae)](_0x9666ae);}[_0x478cbf(0x196)](_0x25f887){const _0x4679af=_0x478cbf,_0x29d993=this[_0x4679af(0x18a)][_0x4679af(0x17b)][_0x4679af(0x15b)](_0x4679af(0x1bc))??!0x0;this[_0x4679af(0x18a)]['ui'][_0x4679af(0x15e)][_0x4679af(0x1b8)](_0x4679af(0x171),_0xcf5db3({'editor':this[_0x4679af(0x18a)],'content':this[_0x4679af(0x193)],'buttonDefinition':{'icon':_0x4fc483,'label':_0x542ec2(this[_0x4679af(0x18a)][_0x4679af(0x18d)],_0x4679af(0x1b4))},'bodyCollection':_0x25f887,'hasSearch':_0x29d993}));}[_0x478cbf(0x14c)](_0x39e4db){const _0x5ee56e=_0x478cbf;this[_0x5ee56e(0x193)]=_0x39e4db[_0x5ee56e(0x1b1)](_0x47eef3=>{const _0x5e4f79=_0x5ee56e;if(_0x5e4f79(0x1a0)in _0x47eef3){const _0x8c4748=_0x47eef3;return{..._0x8c4748,'actions':_0x8c4748[_0x5e4f79(0x1a0)][_0x5e4f79(0x1b1)](_0x2bf0ad=>{const {actions:_0x240e40,..._0x216b5f}=_0x8c4748;return{..._0x2bf0ad,'parent':_0x216b5f};})[_0x5e4f79(0x1d3)](_0xabd628=>this[_0x5e4f79(0x175)](_0xabd628))};}return _0x47eef3;})[_0x5ee56e(0x1d3)](_0x3a6c8d=>_0x5ee56e(0x1a0)in _0x3a6c8d?_0x3a6c8d[_0x5ee56e(0x1a0)][_0x5ee56e(0x19f)]>0x0:this[_0x5ee56e(0x175)](_0x3a6c8d));}[_0x478cbf(0x175)](_0x480b1e){const _0x4148c9=_0x478cbf,_0x44ef9b=this[_0x4148c9(0x18a)][_0x4148c9(0x17b)][_0x4148c9(0x15b)](_0x4148c9(0x1d5))||[];return this[_0x4148c9(0x18a)][_0x4148c9(0x1d8)][_0x4148c9(0x1d9)](AIQuickActionTypeToPluginName[_0x480b1e[_0x4148c9(0x185)]])&&!_0x44ef9b[_0x4148c9(0x18c)](_0x480b1e['id']);}[_0x478cbf(0x1ae)](_0x517a41){const _0x3b5393=_0x478cbf;this[_0x3b5393(0x193)][_0x3b5393(0x1dd)](_0x6e61b3=>{const _0x5463e5=_0x3b5393;if(_0x5463e5(0x1a0)in _0x6e61b3){const _0x284ba0=_0xcf5db3({'editor':this[_0x5463e5(0x18a)],'content':_0x6e61b3[_0x5463e5(0x1a0)],'buttonDefinition':_0x6e61b3,'bodyCollection':_0x517a41});this[_0x5463e5(0x18a)]['ui'][_0x5463e5(0x15e)][_0x5463e5(0x1b8)](_0x6e61b3['id'],_0x284ba0),_0x6e61b3[_0x5463e5(0x1a0)][_0x5463e5(0x1dd)](_0x11cc2e=>{const _0x4744a6=_0x5463e5,_0x95a015=_0x24e08d({'editor':this[_0x4744a6(0x18a)],'action':_0x11cc2e});this[_0x4744a6(0x18a)]['ui'][_0x4744a6(0x15e)][_0x4744a6(0x1b8)](_0x11cc2e['id'],_0x95a015);});}else{const _0x53f73b=_0x24e08d({'editor':this[_0x5463e5(0x18a)],'action':_0x6e61b3,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x5463e5(0x18a)]['ui'][_0x5463e5(0x15e)][_0x5463e5(0x1b8)](_0x6e61b3['id'],_0x53f73b);}});}[_0x478cbf(0x15a)](){const _0x53bb00=_0x478cbf;this[_0x53bb00(0x18a)]['ui'][_0x53bb00(0x15e)][_0x53bb00(0x1b8)](_0x53bb00(0x197),_0x5110cc=>{const _0x431e9d=_0x53bb00,_0x1eb584=new _0x422edf(_0x5110cc),_0x13952f=_0x542ec2(_0x5110cc,_0x431e9d(0x1b4));_0x1eb584[_0x431e9d(0x1b9)][_0x431e9d(0x18f)]({'label':_0x13952f,'icon':_0x4fc483});const _0x473718=new _0x1bf45e(_0x5110cc);_0x473718[_0x431e9d(0x18f)]({'ariaLabel':_0x13952f,'role':_0x431e9d(0x156)}),this[_0x431e9d(0x193)][_0x431e9d(0x1dd)](_0x19d3f1=>{const _0x243581=_0x431e9d;if(_0x243581(0x1a0)in _0x19d3f1){const _0x1b6eac=_0x19d3f1,_0x1770b7=new _0xdde5f6(_0x5110cc,_0x1eb584),_0x231c0d=new _0x422edf(_0x5110cc),_0x108797=new _0x1bf45e(_0x5110cc);_0x231c0d[_0x243581(0x1b9)][_0x243581(0x18f)]({'label':_0x1b6eac[_0x243581(0x1e7)],'icon':_0x1b6eac[_0x243581(0x1ba)]}),_0x1b6eac[_0x243581(0x1a0)][_0x243581(0x1dd)](_0x2327c4=>{const _0x356299=_0x243581,_0x20e076=new _0xdde5f6(_0x5110cc,_0x231c0d),_0x13c50b=new _0xaa55d5(_0x5110cc);_0x13c50b[_0x356299(0x18f)]({'label':_0x2327c4[_0x356299(0x170)],'icon':_0x2327c4[_0x356299(0x1ba)],'role':_0x356299(0x1a8),'isEnabled':_0x2327c4[_0x356299(0x199)]}),_0x13c50b['on'](_0x356299(0x165),()=>{const _0x4e83a8=_0x356299;this[_0x4e83a8(0x1b2)](_0x2327c4);}),_0x13c50b[_0x356299(0x17f)](_0x356299(0x165))['to'](_0x231c0d),_0x20e076[_0x356299(0x1e5)][_0x356299(0x1b8)](_0x13c50b),_0x108797[_0x356299(0x17c)][_0x356299(0x1b8)](_0x20e076);}),_0x231c0d[_0x243581(0x1da)][_0x243581(0x1e5)][_0x243581(0x1b8)](_0x108797),_0x1770b7[_0x243581(0x1e5)][_0x243581(0x1b8)](_0x231c0d),_0x473718[_0x243581(0x17c)][_0x243581(0x1b8)](_0x1770b7);}else{const _0x56e0d6=_0x19d3f1,_0x46773a=new _0xdde5f6(_0x5110cc,_0x1eb584),_0x66a8c5=new _0xaa55d5(_0x5110cc);_0x66a8c5[_0x243581(0x18f)]({'label':_0x56e0d6[_0x243581(0x170)],'icon':_0x56e0d6[_0x243581(0x1ba)],'role':_0x243581(0x1a8),'isEnabled':_0x56e0d6[_0x243581(0x199)]}),_0x66a8c5['on'](_0x243581(0x165),()=>{const _0x3ebfdf=_0x243581;this[_0x3ebfdf(0x1b2)](_0x56e0d6);}),_0x66a8c5[_0x243581(0x17f)](_0x243581(0x165))['to'](_0x1eb584),_0x46773a[_0x243581(0x1e5)][_0x243581(0x1b8)](_0x66a8c5),_0x473718[_0x243581(0x17c)][_0x243581(0x1b8)](_0x46773a);}});const _0x25f0f0=Object[_0x431e9d(0x14e)](AIQuickActionTypeToPluginName)[_0x431e9d(0x16c)](_0x532ac7=>this[_0x431e9d(0x18a)][_0x431e9d(0x1d8)][_0x431e9d(0x1d9)](_0x532ac7));return _0x1eb584[_0x431e9d(0x18f)]({'isEnabled':_0x25f0f0}),_0x1eb584[_0x431e9d(0x1da)][_0x431e9d(0x1e5)][_0x431e9d(0x1b8)](_0x473718),_0x1eb584;});}[_0x478cbf(0x1b2)](_0x2f561b){const _0x4a9549=_0x478cbf,_0x37ac05=this[_0x4a9549(0x18a)];_0x37ac05[_0x4a9549(0x1d7)][_0x4a9549(0x182)][_0x4a9549(0x168)](),_0x37ac05[_0x4a9549(0x154)][_0x4a9549(0x165)](_0x4a9549(0x160),_0x2f561b);const _0x432102=_0x37ac05['ui'][_0x4a9549(0x182)][_0x4a9549(0x1c2)];_0x432102&&_0x432102[_0x4a9549(0x158)]&&_0x432102[_0x4a9549(0x158)]();}}
|
|
23
|
+
const _0x4ac7db=_0x25ad;(function(_0x12c7dd,_0x1297fe){const _0x4fe1c4=_0x25ad,_0x33b598=_0x12c7dd();while(!![]){try{const _0x11b729=parseInt(_0x4fe1c4(0x157))/0x1*(parseInt(_0x4fe1c4(0x1a2))/0x2)+parseInt(_0x4fe1c4(0x1b4))/0x3+parseInt(_0x4fe1c4(0x163))/0x4+parseInt(_0x4fe1c4(0x14d))/0x5*(-parseInt(_0x4fe1c4(0x17a))/0x6)+parseInt(_0x4fe1c4(0x145))/0x7*(-parseInt(_0x4fe1c4(0x1aa))/0x8)+parseInt(_0x4fe1c4(0x180))/0x9*(-parseInt(_0x4fe1c4(0x198))/0xa)+parseInt(_0x4fe1c4(0x1cb))/0xb*(parseInt(_0x4fe1c4(0x159))/0xc);if(_0x11b729===_0x1297fe)break;else _0x33b598['push'](_0x33b598['shift']());}catch(_0x37626a){_0x33b598['push'](_0x33b598['shift']());}}}(_0xf328,0x74a85));import{IconAIAdjustLength as _0x1443fb,IconAIChangeTone as _0x1cae9c,IconAIChatCommands as _0x436057,IconAIContinueWriting as _0x1bc866,IconAIGrammarCheck as _0x342f01,IconAIImproveWriting as _0x2200e0,IconAIOther as _0x5a582e,IconAIQuickActions as _0x1cc797,IconAITranslate as _0x554e87}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x2fd18e}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ded9a,logError as _0xa6f9b9}from'ckeditor5/src/utils.js';import{getTranslation as _0x2765b4}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x12f573}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x29af85}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3cee9b,BalloonToolbar as _0x1037b1,MenuBarMenuView as _0x20a762,MenuBarMenuListView as _0x810034,MenuBarMenuListItemView as _0x4e8a46,MenuBarMenuListItemButtonView as _0x24d86b}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x25ad(_0x549f51,_0x3b4053){const _0xf3289b=_0xf328();return _0x25ad=function(_0x25ad0e,_0x496bcb){_0x25ad0e=_0x25ad0e-0x131;let _0x3cbee4=_0xf3289b[_0x25ad0e];return _0x3cbee4;},_0x25ad(_0x549f51,_0x3b4053);}import{AIModels as _0x14352c}from'../aicore/model/aimodels.js';const ae=_0x4ac7db(0x1d1),se=_0x4ac7db(0x158),re=_0x4ac7db(0x195);export var AIQuickActionType;!function(_0x2d4990){const _0x4b6853=_0x4ac7db;_0x2d4990[_0x4b6853(0x131)]=_0x4b6853(0x131),_0x2d4990[_0x4b6853(0x1b9)]=_0x4b6853(0x1b9),_0x2d4990[_0x4b6853(0x133)]=_0x4b6853(0x133);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;function _0xf328(){const _0x4c4dff=['highlight-key-points','replace','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_MORE_CONFIDENT','990VosFCq','translate-to-french','editing','chinese','view','icon','make-tone-confident','translate-to-korean','translate-to-japanese','make-tone-friendly','12658HrDLeh','german','make-tone-direct','translate-to-chinese','translate-to-italian','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE','88vvmZSd','init','continue','values','find','buttonView','improve-writing','fix-grammar','delegate','AIQuickActionsUI','1014807NVFPKU','make-shorter','adjust-length','AIChat','_initializeQuickActionsMenuBar','ACTION','ai-quick-actions-unavailable-model','commands','portuguese','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_EXPLAIN','getDefaultQuickActions','length','items','forEach','make-tone-professional','change-tone','includes','AIConnector','getAvailableModels','some','AI_QUICK_ACTIONS_MORE_CASUAL','English','8691782ATTXqH','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_CHANGE_TONE','displayedPrompt','actions','AI_QUICK_ACTIONS_HEADING','<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>','message','ai.quickActions.isSearchEnabled','CHAT','AIReviewMode','REVIEW','_initializeQuickActionsDropdown','other','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','translate','menuBar:aiQuickActions','plugins','_shouldIncludeAction','AI_QUICK_ACTIONS_MORE_DIRECT','chat-commands','map','config','focus','AI_QUICK_ACTIONS_ASK_AI','spanish','requires','347011ZfTvZt','russian','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','japanese','aiQuickAction','uiLanguage','pluginName','summarize','10eIXOZC','explain','translate-to-german','language','menuitem','ai.quickActions.extraCommands','locale','korean','_initializeQuickActionsComponents','add','118spubsT','<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>','12JcDwTH','_executeQuickAction','aiQuickActions','AI_QUICK_ACTIONS_OTHER','set','ask-ai','AI_QUICK_ACTIONS_SUMMARIZE','get','AI_QUICK_ACTIONS_IMPROVE_WRITING','model','856296nDGbTh','isPremiumPlugin','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','french','filter','menu','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','ai-quick-actions-models-unable-to-retrieve','attachToDom','translate-to-russian','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_MORE_FRIENDLY','translate-to-spanish','_quickActionsDefinition','has','translate-to-english','ai.chat.models.displayedModels','isEnabled','panelView','AI_QUICK_ACTIONS_MAKE_SHORTER','editor','componentFactory','english','2703486drnQYJ','make-tone-casual','execute','close','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','make-longer','15003zvPTOQ','DisplayNames','menuBarView','ai.quickActions.removeCommands','_prepareQuickActionsDefinition','label','AIActions','type','children','push','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','italian','isOfficialPlugin','translate-to-portuguese','AI_QUICK_ACTIONS_TRANSLATE_GERMAN'];_0xf328=function(){return _0x4c4dff;};return _0xf328();}!function(_0x19703a){const _0x275dda=_0x4ac7db;_0x19703a[_0x275dda(0x131)]=_0x275dda(0x1b7),_0x19703a[_0x275dda(0x1b9)]=_0x275dda(0x186),_0x19703a[_0x275dda(0x133)]=_0x275dda(0x132);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x2fd18e{static get[_0x4ac7db(0x144)](){return[_0x1037b1];}static get[_0x4ac7db(0x14b)](){const _0x54d824=_0x4ac7db;return _0x54d824(0x1b3);}static get[_0x4ac7db(0x18d)](){return!0x0;}static get[_0x4ac7db(0x164)](){return!0x0;}async[_0x4ac7db(0x1ab)](){const _0x19a0d2=_0x4ac7db,_0x443e9e=await this[_0x19a0d2(0x1cc)]();this[_0x19a0d2(0x184)](_0x443e9e),this[_0x19a0d2(0x1a7)]();}static[_0x4ac7db(0x1bf)](_0x293acf){return function(_0x9746fa){const _0x3e6673=_0x25ad,_0x5aeeb0=new Intl[(_0x3e6673(0x181))](['en'],{'type':_0x3e6673(0x150)})['of'](_0x9746fa[_0x3e6673(0x14a)]),_0x539ed2=_0x5aeeb0||_0x3e6673(0x1ca),_0x4f68eb=[{'id':_0x3e6673(0x15e),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x142)),'type':AIQuickActionType[_0x3e6673(0x131)],'icon':_0x436057},{'id':_0x3e6673(0x13e),'label':_0x2765b4(_0x9746fa,_0x3e6673(0x1a8)),'icon':_0x436057,'actions':[{'id':_0x3e6673(0x14e),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x1be)),'prompt':ae[_0x3e6673(0x191)]('%0',_0x539ed2),'type':AIQuickActionType[_0x3e6673(0x131)]},{'id':_0x3e6673(0x14c),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x15f)),'prompt':se[_0x3e6673(0x191)]('%0',_0x539ed2),'type':AIQuickActionType[_0x3e6673(0x131)]},{'id':_0x3e6673(0x190),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x138)),'prompt':re[_0x3e6673(0x191)]('%0',_0x539ed2),'type':AIQuickActionType[_0x3e6673(0x131)]}]},{'id':_0x3e6673(0x1b0),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x161)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'icon':_0x2200e0},{'id':_0x3e6673(0x1ac),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x16d)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'icon':_0x1bc866},{'id':_0x3e6673(0x1b1),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x165)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'icon':_0x342f01},{'id':_0x3e6673(0x1b6),'label':_0x2765b4(_0x9746fa,_0x3e6673(0x193)),'icon':_0x1443fb,'actions':[{'id':_0x3e6673(0x1b5),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x176)),'type':AIQuickActionType[_0x3e6673(0x1b9)]},{'id':_0x3e6673(0x17f),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x137)),'type':AIQuickActionType[_0x3e6673(0x1b9)]}]},{'id':_0x3e6673(0x1c4),'label':_0x2765b4(_0x9746fa,_0x3e6673(0x1cd)),'icon':_0x1cae9c,'actions':[{'id':_0x3e6673(0x17b),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x1c9)),'type':AIQuickActionType[_0x3e6673(0x1b9)]},{'id':_0x3e6673(0x1a4),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x13d)),'type':AIQuickActionType[_0x3e6673(0x1b9)]},{'id':_0x3e6673(0x1a1),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x16e)),'type':AIQuickActionType[_0x3e6673(0x1b9)]},{'id':_0x3e6673(0x19e),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x197)),'type':AIQuickActionType[_0x3e6673(0x1b9)]},{'id':_0x3e6673(0x1c3),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x147)),'type':AIQuickActionType[_0x3e6673(0x1b9)]}]},{'id':_0x3e6673(0x139),'label':_0x2765b4(_0x9746fa,_0x3e6673(0x1a9)),'icon':_0x554e87,'actions':[{'id':_0x3e6673(0x172),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x169)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x179)}},{'id':_0x3e6673(0x1a5),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x17e)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x19b)}},{'id':_0x3e6673(0x16f),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x18b)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x143)}},{'id':_0x3e6673(0x14f),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x18f)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x1a3)}},{'id':_0x3e6673(0x199),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x1bd)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x166)}},{'id':_0x3e6673(0x1a0),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x192)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x148)}},{'id':_0x3e6673(0x18e),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x136)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x1bc)}},{'id':_0x3e6673(0x19f),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x194)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x154)}},{'id':_0x3e6673(0x1a6),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x196)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x18c)}},{'id':_0x3e6673(0x16c),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x18a)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x146)}}]},{'id':_0x3e6673(0x135),'label':_0x2765b4(_0x9746fa,_0x3e6673(0x15c)),'icon':_0x5a582e,'actions':[]}];return _0x4f68eb;}(_0x293acf);}async[_0x4ac7db(0x1cc)](){const _0x31feb7=_0x4ac7db,_0x41e4a8=AIQuickActionsUI[_0x31feb7(0x1bf)](this[_0x31feb7(0x177)][_0x31feb7(0x153)]),_0x2fe9c6=this[_0x31feb7(0x177)][_0x31feb7(0x140)][_0x31feb7(0x160)](_0x31feb7(0x152))||[];let _0x3288f1=[];try{_0x3288f1=await new _0x14352c({'connector':this[_0x31feb7(0x177)][_0x31feb7(0x13b)][_0x31feb7(0x160)](_0x31feb7(0x1c6)),'availableModels':this[_0x31feb7(0x177)][_0x31feb7(0x140)][_0x31feb7(0x160)](_0x31feb7(0x173))})[_0x31feb7(0x1c7)]();}catch(_0x4bb75b){const _0x206e1a=new _0x3ded9a(_0x31feb7(0x16a),this,{'error':_0x4bb75b});_0xa6f9b9(_0x206e1a[_0x31feb7(0x1d2)]);}finally{const _0x20acce=_0x2fe9c6[_0x31feb7(0x13f)](_0x44131b=>({..._0x44131b,'icon':void 0x0}));_0x41e4a8[_0x31feb7(0x1ae)](_0x332b54=>_0x31feb7(0x135)===_0x332b54['id'])[_0x31feb7(0x1cf)][_0x31feb7(0x189)](..._0x20acce),_0x41e4a8[_0x31feb7(0x1c2)](_0x4f3a30=>{const _0x292be5=_0x31feb7;if(_0x292be5(0x1cf)in _0x4f3a30)_0x4f3a30[_0x292be5(0x1cf)][_0x292be5(0x1c2)](_0x5a2aa8=>{const _0x278113=_0x292be5;if(_0x5a2aa8[_0x278113(0x174)]=!!_0x3288f1[_0x278113(0x1ae)](_0x834891=>_0x834891['id']===_0x5a2aa8[_0x278113(0x162)])||void 0x0===_0x5a2aa8[_0x278113(0x162)],!_0x5a2aa8[_0x278113(0x174)]){const _0xc6a310=new _0x3ded9a(_0x278113(0x1ba),this,{'actionId':_0x5a2aa8['id'],'modelId':_0x5a2aa8[_0x278113(0x162)]});_0xa6f9b9(_0xc6a310[_0x278113(0x1d2)]);}});else{if(_0x4f3a30[_0x292be5(0x174)]=!!_0x3288f1[_0x292be5(0x1ae)](_0x29d92c=>_0x29d92c['id']===_0x4f3a30[_0x292be5(0x162)])||void 0x0===_0x4f3a30[_0x292be5(0x162)],!_0x4f3a30[_0x292be5(0x174)]){const _0x4b70a3=new _0x3ded9a(_0x292be5(0x1ba),this,{'actionId':_0x4f3a30['id'],'modelId':_0x4f3a30[_0x292be5(0x162)]});_0xa6f9b9(_0x4b70a3[_0x292be5(0x1d2)]);}}});}return _0x41e4a8;}[_0x4ac7db(0x1a7)](){const _0x1ebcb8=_0x4ac7db,_0x22eec3=new _0x3cee9b(this[_0x1ebcb8(0x177)][_0x1ebcb8(0x153)]);_0x22eec3[_0x1ebcb8(0x16b)](),this[_0x1ebcb8(0x134)](_0x22eec3),this[_0x1ebcb8(0x1b8)](),this[_0x1ebcb8(0x155)](_0x22eec3);}[_0x4ac7db(0x134)](_0xfa7a27){const _0x532df0=_0x4ac7db,_0x300288=this[_0x532df0(0x177)][_0x532df0(0x140)][_0x532df0(0x160)](_0x532df0(0x1d3))??!0x0;this[_0x532df0(0x177)]['ui'][_0x532df0(0x178)][_0x532df0(0x156)](_0x532df0(0x15b),_0x12f573({'editor':this[_0x532df0(0x177)],'content':this[_0x532df0(0x170)],'buttonDefinition':{'icon':_0x1cc797,'label':_0x2765b4(this[_0x532df0(0x177)][_0x532df0(0x153)],_0x532df0(0x1d0))},'bodyCollection':_0xfa7a27,'hasSearch':_0x300288}));}[_0x4ac7db(0x184)](_0x8854d4){const _0x5c1300=_0x4ac7db;this[_0x5c1300(0x170)]=_0x8854d4[_0x5c1300(0x13f)](_0x3fc990=>{const _0x3f4138=_0x5c1300;if(_0x3f4138(0x1cf)in _0x3fc990){const _0x3bd288=_0x3fc990;return{..._0x3bd288,'actions':_0x3bd288[_0x3f4138(0x1cf)][_0x3f4138(0x13f)](_0x1a8f8e=>{const {actions:_0x1b1f68,..._0x30ee96}=_0x3bd288;return{..._0x1a8f8e,'parent':_0x30ee96};})[_0x3f4138(0x167)](_0x30bf19=>this[_0x3f4138(0x13c)](_0x30bf19))};}return _0x3fc990;})[_0x5c1300(0x167)](_0x1d5067=>_0x5c1300(0x1cf)in _0x1d5067?_0x1d5067[_0x5c1300(0x1cf)][_0x5c1300(0x1c0)]>0x0:this[_0x5c1300(0x13c)](_0x1d5067));}[_0x4ac7db(0x13c)](_0x18593b){const _0x27f061=_0x4ac7db,_0xb194ac=this[_0x27f061(0x177)][_0x27f061(0x140)][_0x27f061(0x160)](_0x27f061(0x183))||[];return this[_0x27f061(0x177)][_0x27f061(0x13b)][_0x27f061(0x171)](AIQuickActionTypeToPluginName[_0x18593b[_0x27f061(0x187)]])&&!_0xb194ac[_0x27f061(0x1c5)](_0x18593b['id']);}[_0x4ac7db(0x155)](_0x8f6796){const _0x47a8c2=_0x4ac7db;this[_0x47a8c2(0x170)][_0x47a8c2(0x1c2)](_0x58510d=>{const _0x115456=_0x47a8c2;if(_0x115456(0x1cf)in _0x58510d){const _0x358bf0=_0x12f573({'editor':this[_0x115456(0x177)],'content':_0x58510d[_0x115456(0x1cf)],'buttonDefinition':_0x58510d,'bodyCollection':_0x8f6796});this[_0x115456(0x177)]['ui'][_0x115456(0x178)][_0x115456(0x156)](_0x58510d['id'],_0x358bf0),_0x58510d[_0x115456(0x1cf)][_0x115456(0x1c2)](_0x5c1a65=>{const _0x1fd8a5=_0x115456,_0x1f5906=_0x29af85({'editor':this[_0x1fd8a5(0x177)],'action':_0x5c1a65});this[_0x1fd8a5(0x177)]['ui'][_0x1fd8a5(0x178)][_0x1fd8a5(0x156)](_0x5c1a65['id'],_0x1f5906);});}else{const _0x877fea=_0x29af85({'editor':this[_0x115456(0x177)],'action':_0x58510d,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x115456(0x177)]['ui'][_0x115456(0x178)][_0x115456(0x156)](_0x58510d['id'],_0x877fea);}});}[_0x4ac7db(0x1b8)](){const _0x1972c4=_0x4ac7db;this[_0x1972c4(0x177)]['ui'][_0x1972c4(0x178)][_0x1972c4(0x156)](_0x1972c4(0x13a),_0x3fdb80=>{const _0x2e577d=_0x1972c4,_0x20e7f1=new _0x20a762(_0x3fdb80),_0x104a60=_0x2765b4(_0x3fdb80,_0x2e577d(0x1d0));_0x20e7f1[_0x2e577d(0x1af)][_0x2e577d(0x15d)]({'label':_0x104a60,'icon':_0x1cc797});const _0x127cef=new _0x810034(_0x3fdb80);_0x127cef[_0x2e577d(0x15d)]({'ariaLabel':_0x104a60,'role':_0x2e577d(0x168)}),this[_0x2e577d(0x170)][_0x2e577d(0x1c2)](_0x48770d=>{const _0x266eba=_0x2e577d;if(_0x266eba(0x1cf)in _0x48770d){const _0x3d4135=_0x48770d,_0x2084e3=new _0x4e8a46(_0x3fdb80,_0x20e7f1),_0x35c0cb=new _0x20a762(_0x3fdb80),_0x4ffd15=new _0x810034(_0x3fdb80);_0x35c0cb[_0x266eba(0x1af)][_0x266eba(0x15d)]({'label':_0x3d4135[_0x266eba(0x185)],'icon':_0x3d4135[_0x266eba(0x19d)]}),_0x3d4135[_0x266eba(0x1cf)][_0x266eba(0x1c2)](_0x252387=>{const _0x44a6da=_0x266eba,_0x12d0f5=new _0x4e8a46(_0x3fdb80,_0x35c0cb),_0x43d370=new _0x24d86b(_0x3fdb80);_0x43d370[_0x44a6da(0x15d)]({'label':_0x252387[_0x44a6da(0x1ce)],'icon':_0x252387[_0x44a6da(0x19d)],'role':_0x44a6da(0x151),'isEnabled':_0x252387[_0x44a6da(0x174)]}),_0x43d370['on'](_0x44a6da(0x17c),()=>{const _0x530444=_0x44a6da;this[_0x530444(0x15a)](_0x252387);}),_0x43d370[_0x44a6da(0x1b2)](_0x44a6da(0x17c))['to'](_0x35c0cb),_0x12d0f5[_0x44a6da(0x188)][_0x44a6da(0x156)](_0x43d370),_0x4ffd15[_0x44a6da(0x1c1)][_0x44a6da(0x156)](_0x12d0f5);}),_0x35c0cb[_0x266eba(0x175)][_0x266eba(0x188)][_0x266eba(0x156)](_0x4ffd15),_0x2084e3[_0x266eba(0x188)][_0x266eba(0x156)](_0x35c0cb),_0x127cef[_0x266eba(0x1c1)][_0x266eba(0x156)](_0x2084e3);}else{const _0x4c1638=_0x48770d,_0x41ae00=new _0x4e8a46(_0x3fdb80,_0x20e7f1),_0x4d03ce=new _0x24d86b(_0x3fdb80);_0x4d03ce[_0x266eba(0x15d)]({'label':_0x4c1638[_0x266eba(0x1ce)],'icon':_0x4c1638[_0x266eba(0x19d)],'role':_0x266eba(0x151),'isEnabled':_0x4c1638[_0x266eba(0x174)]}),_0x4d03ce['on'](_0x266eba(0x17c),()=>{const _0x2d5e7c=_0x266eba;this[_0x2d5e7c(0x15a)](_0x4c1638);}),_0x4d03ce[_0x266eba(0x1b2)](_0x266eba(0x17c))['to'](_0x20e7f1),_0x41ae00[_0x266eba(0x188)][_0x266eba(0x156)](_0x4d03ce),_0x127cef[_0x266eba(0x1c1)][_0x266eba(0x156)](_0x41ae00);}});const _0x5a8950=Object[_0x2e577d(0x1ad)](AIQuickActionTypeToPluginName)[_0x2e577d(0x1c8)](_0x201229=>this[_0x2e577d(0x177)][_0x2e577d(0x13b)][_0x2e577d(0x171)](_0x201229));return _0x20e7f1[_0x2e577d(0x15d)]({'isEnabled':_0x5a8950}),_0x20e7f1[_0x2e577d(0x175)][_0x2e577d(0x188)][_0x2e577d(0x156)](_0x127cef),_0x20e7f1;});}[_0x4ac7db(0x15a)](_0x3c95a1){const _0x5a351b=_0x4ac7db,_0x3316b8=this[_0x5a351b(0x177)];_0x3316b8[_0x5a351b(0x19a)][_0x5a351b(0x19c)][_0x5a351b(0x141)](),_0x3316b8[_0x5a351b(0x1bb)][_0x5a351b(0x17c)](_0x5a351b(0x149),_0x3c95a1);const _0x406742=_0x3316b8['ui'][_0x5a351b(0x19c)][_0x5a351b(0x182)];_0x406742&&_0x406742[_0x5a351b(0x17d)]&&_0x406742[_0x5a351b(0x17d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xea29(_0x4e6c56,_0x258837){const _0x1a0ebf=_0x1a0e();return _0xea29=function(_0xea29b9,_0x1bb398){_0xea29b9=_0xea29b9-0x175;let _0x1669fe=_0x1a0ebf[_0xea29b9];return _0x1669fe;},_0xea29(_0x4e6c56,_0x258837);}function _0x1a0e(){const _0x31b9fe=['focus','isEnabled','editing','commands','1258620NypgsM','displayedPrompt','7xcOWWe','icon','ck-ai-quick-actions-button','set','bindTemplate','extendTemplate','723756btzqev','menuitem','7927272ULHbKi','locale','810200ojUJft','execute','parent','2074854SLkpPB','1451184QKZxEE','view','411806Snymkm','aiQuickAction'];_0x1a0e=function(){return _0x31b9fe;};return _0x1a0e();}(function(_0x9d261a,_0x3a9aae){const _0x516b5a=_0xea29,_0x5c98fa=_0x9d261a();while(!![]){try{const _0x11d52d=parseInt(_0x516b5a(0x180))/0x1+-parseInt(_0x516b5a(0x17a))/0x2+parseInt(_0x516b5a(0x176))/0x3+-parseInt(_0x516b5a(0x17e))/0x4+-parseInt(_0x516b5a(0x186))/0x5+-parseInt(_0x516b5a(0x17d))/0x6*(parseInt(_0x516b5a(0x188))/0x7)+parseInt(_0x516b5a(0x178))/0x8;if(_0x11d52d===_0x3a9aae)break;else _0x5c98fa['push'](_0x5c98fa['shift']());}catch(_0x2e90f8){_0x5c98fa['push'](_0x5c98fa['shift']());}}}(_0x1a0e,0x4400a));import{ButtonView as _0x12e533}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x209dd2}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x1a431e){const {editor:_0x13e27b,action:_0x14b22f,withText:_0xf01849=!0x1,withIcon:_0x3b74e1=!0x0,isInDropdown:_0x3c27b1=!0x0,shouldPreventFocus:_0x5761f9=!0x1}=_0x1a431e;return()=>{const _0x448998=_0xea29,_0x4fd74f=_0x13e27b[_0x448998(0x179)],_0x3889b2=new _0x12e533(_0x4fd74f),_0x3093c1=_0x3889b2[_0x448998(0x18c)];_0x3c27b1&&_0x3889b2[_0x448998(0x175)]({'on':{'mouseenter':_0x3093c1['to'](()=>{const _0x15b7f9=_0x448998;_0x5761f9&&_0x5761f9()||_0x3889b2[_0x15b7f9(0x182)]();})}});const _0x4e5f86=_0x14b22f[_0x448998(0x189)]??_0x14b22f[_0x448998(0x17c)]?.[_0x448998(0x189)];return _0x3889b2[_0x448998(0x18b)]({'label':_0x14b22f[_0x448998(0x187)],'withText':_0xf01849,'role':_0x448998(0x177),'icon':_0x3b74e1?_0x4e5f86??_0x209dd2:void 0x0,'tooltip':!_0xf01849,'class':_0x448998(0x18a),'isEnabled':_0x14b22f[_0x448998(0x183)]}),_0x3889b2['on'](_0x448998(0x17b),()=>{const _0x364560=_0x448998;_0x13e27b[_0x364560(0x184)][_0x364560(0x17f)][_0x364560(0x182)](),_0x13e27b[_0x364560(0x185)][_0x364560(0x17b)](_0x364560(0x181),_0x14b22f);}),_0x3889b2;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3072(_0x64d1ad,_0x2cd725){const _0x2ea903=_0x2ea9();return _0x3072=function(_0x3072d4,_0x3cdae6){_0x3072d4=_0x3072d4-0xae;let _0x15531d=_0x2ea903[_0x3072d4];return _0x15531d;},_0x3072(_0x64d1ad,_0x2cd725);}const _0x29089c=_0x3072;(function(_0x5e398d,_0x543eb9){const _0x4fd553=_0x3072,_0x3f25a8=_0x5e398d();while(!![]){try{const _0x1c71d8=parseInt(_0x4fd553(0x11b))/0x1+-parseInt(_0x4fd553(0x131))/0x2+-parseInt(_0x4fd553(0xc9))/0x3*(-parseInt(_0x4fd553(0xe9))/0x4)+-parseInt(_0x4fd553(0xb3))/0x5+parseInt(_0x4fd553(0xba))/0x6+parseInt(_0x4fd553(0x120))/0x7*(parseInt(_0x4fd553(0xd8))/0x8)+-parseInt(_0x4fd553(0x119))/0x9*(parseInt(_0x4fd553(0x126))/0xa);if(_0x1c71d8===_0x543eb9)break;else _0x3f25a8['push'](_0x3f25a8['shift']());}catch(_0x4a3e86){_0x3f25a8['push'](_0x3f25a8['shift']());}}}(_0x2ea9,0xf0cee));import{View as _0x2d2e00,ListItemView as _0x30504e,ListView as _0x4a5df2,BalloonPanelView as _0x111ffd,DropdownMenuPanelPositioningFunctions as _0x5896a9,ViewCollection as _0x51cbc9,FocusCycler as _0x5674f2,ButtonView as _0x348523,IconView as _0x8785b7,HighlightedTextView as _0x1f0a8e,ButtonLabelWithHighlightView as _0x294077,SearchTextView as _0x25c9e8}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x52c6c4}from'@ckeditor/ckeditor5-icons';function _0x2ea9(){const _0x286e66=['_showNestedPanel','ck-ai-quick-actions-search-result__action-row','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','locale','_createGroupActionsList','bindTemplate','addEventListener','icon','addMany','_createSearchResultIndividualActionButton','eastSouth','_createSearchResultGroupedActionButton','ck-ai-quick-actions','first','setTemplate','destroy','push','view','_createSearchResultContentView','ArrowLeft','element','forEach','_hideAllNestedPanels','mouseleave','ck-dropdown-menu__nested-menu__panel','570897DEUUKJ','menuitem','799484hhOIjj','_allSearchableItems','children','role','keystrokes','60767xFLtEg','_createActionButton','button','ArrowRight','_getButtonKeystroke','.ck-ai-quick-actions-group-panel','160xqsHWJ','ck-reset_all','isEnabled','relatedTarget','_hideNestedPanel','rtl','ck-ai-quick-actions-search-result-button','delete','commands','execute','AI_QUICK_ACTIONS_SEARCH','2821524PGeWxk','_createActionGroupButton','some','editing','ck-ai-quick-actions-search-result__content','optionsListView','ck-ai-quick-actions-group-list','span','focusTracker','_focusables','3899505fILOTF','_getPanelKeystroke','isVisible','closest','pin','ck-ai-quick-actions-search-result__group-row','ck-dropdown-menu-list','846444npjXkL','ck-button_with-text','clear','detachFromDom','text','_searchTextView','menu','_setupActionButtonExecution','get','_bodyCollection','activeElement','content','contains','_openNestedPanels','isOn','75YyRveY','_handleSearchResultButtonClick','items','render','focus','ck-ai-quick-actions-button__group-icon','ck-rounded-corners','_isMovingToNestedMenu','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','fire','.ck-ai-quick-actions-group-list','_isSearchFocused','_createListItems','fieldView','queryView','1744krPFiY','ck-ai-quick-actions-button_with-group__close-paren','uiLanguageDirection','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','key','_createSearchResultActionButton','hide','add','ck-ai-quick-actions-button_with-group__open-paren','ck-ai-quick-actions-group-panel','chain','_createSearchTextView','ck-ai-quick-actions-search','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ownerDocument','_createSearchResultGroupRow','ck-ai-quick-actions-group-button','217428TZzkBa','set','displayedPrompt','_handlePanelKeydown','parent','extendTemplate','.ck-ai-quick-actions-group-button','focusCycler','ck-button','ck-ai-quick-actions-search-result-button_with-group','aiQuickAction','div','bind','_createSearchResultActionRow','_hasSearch','ck-ai-quick-actions-button','actions','_setupGroupMenuBehavior','label','resetSearch','ck-ai-quick-actions-button_with-group','show','reset'];_0x2ea9=function(){return _0x286e66;};return _0x2ea9();}import{FocusTracker as _0x1b6230,KeystrokeHandler as _0x4aab1a}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x1979b1}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x10f7c7}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x345c85}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x24f748}from'./aiquickactionsfilteredlistview.js';const Ts=_0x29089c(0xc0),Rs=_0x29089c(0x11a);export class AIQuickActionsDropdownContentView extends _0x2d2e00{[_0x29089c(0xc3)];[_0x29089c(0xae)];[_0x29089c(0xbf)]=null;[_0x29089c(0x11c)]=[];[_0x29089c(0x11d)];[_0x29089c(0xb1)];[_0x29089c(0x11f)];[_0x29089c(0xb2)];[_0x29089c(0xf0)];[_0x29089c(0xc7)]=new Set();[_0x29089c(0xf7)];constructor(_0x98dca7,_0x24c376,_0x3c3a55,_0x5541d5,_0x39949a=!0x1){const _0x18a989=_0x29089c,_0x36460f=_0x98dca7[_0x18a989(0x103)];super(_0x36460f),this[_0x18a989(0xc3)]=_0x5541d5,this[_0x18a989(0xf7)]=_0x39949a;const _0x230d8b=this[_0x18a989(0xd5)](_0x98dca7,_0x24c376,_0x3c3a55);this[_0x18a989(0xae)]=new _0x24f748(_0x36460f,_0x230d8b,this[_0x18a989(0x11c)]),this[_0x18a989(0xae)][_0x18a989(0x11e)]=Ts,this[_0x18a989(0xae)][_0x18a989(0xcb)][_0x18a989(0x108)](_0x230d8b),this[_0x18a989(0xb1)]=new _0x1b6230(),this[_0x18a989(0x11f)]=new _0x4aab1a(),_0x39949a&&(this[_0x18a989(0xbf)]=this[_0x18a989(0xe3)]()),this[_0x18a989(0xb2)]=_0x230d8b,this[_0x18a989(0xf0)]=new _0x5674f2({'focusables':this[_0x18a989(0xb2)],'focusTracker':this[_0x18a989(0xb1)],'keystrokeHandler':this[_0x18a989(0x11f)]}),_0x39949a&&this[_0x18a989(0xbf)]&&this[_0x18a989(0xf0)][_0x18a989(0xe2)](this[_0x18a989(0xbf)][_0x18a989(0xf0)]);const _0xec61ba=_0x39949a&&this[_0x18a989(0xbf)]?[this[_0x18a989(0xbf)]]:[this[_0x18a989(0xae)]];this[_0x18a989(0x11d)]=new _0x51cbc9(_0xec61ba),this[_0x18a989(0x10e)]({'tag':_0x18a989(0xf4),'attributes':{'class':['ck',_0x18a989(0x127),_0x18a989(0x10c),_0x18a989(0xcf)],'dir':_0x36460f[_0x18a989(0xda)]},'children':this[_0x18a989(0x11d)]});}[_0x29089c(0xe3)](){const _0x3cef3e=_0x29089c;return new _0x25c9e8(this[_0x3cef3e(0x103)],{'filteredView':this[_0x3cef3e(0xae)],'queryView':{'label':_0x345c85(this[_0x3cef3e(0x103)],_0x3cef3e(0x130))},'class':_0x3cef3e(0xe4),'infoView':{'text':{'notFound':{'primary':_0x345c85(this[_0x3cef3e(0x103)],_0x3cef3e(0xe5))}}}});}[_0x29089c(0xd4)](){const _0x2742ea=_0x29089c;if(!this[_0x2742ea(0xf7)]||!this[_0x2742ea(0xbf)]||!this[_0x2742ea(0xbf)][_0x2742ea(0xd7)][_0x2742ea(0xd6)][_0x2742ea(0x114)])return!0x1;const _0x5e2a54=this[_0x2742ea(0xbf)][_0x2742ea(0xd7)][_0x2742ea(0xd6)][_0x2742ea(0x114)][_0x2742ea(0xe6)]?.[_0x2742ea(0xc4)];return this[_0x2742ea(0xbf)][_0x2742ea(0xd7)][_0x2742ea(0xd6)][_0x2742ea(0x114)][_0x2742ea(0xc6)](_0x5e2a54);}[_0x29089c(0xd5)](_0x407c9c,_0x41ceb3,_0x291eb1){const _0xbe939=_0x29089c,_0x42f0e0=new _0x51cbc9();return _0x41ceb3[_0xbe939(0x115)](_0x40779f=>{const _0x40b3c1=_0xbe939;if(_0x40b3c1(0xf9)in _0x40779f){const {listItem:_0x477109}=this[_0x40b3c1(0x132)](_0x407c9c,_0x40779f,_0x291eb1);_0x42f0e0[_0x40b3c1(0xdf)](_0x477109),_0x40779f[_0x40b3c1(0xf9)][_0x40b3c1(0x115)](_0x3eda0e=>{const _0x591aa0=_0x40b3c1;this[_0x591aa0(0x121)](_0x407c9c,_0x3eda0e,_0x40779f[_0x591aa0(0xfb)],_0x40779f[_0x591aa0(0x107)]);const {listItem:_0x2b4fd1,highlightViews:_0x3420c8}=this[_0x591aa0(0xdd)](_0x407c9c,_0x3eda0e,_0x40779f[_0x591aa0(0xfb)],_0x40779f[_0x591aa0(0x107)]);this[_0x591aa0(0x11c)][_0x591aa0(0x110)]({'item':_0x2b4fd1,'label':_0x3eda0e[_0x591aa0(0xeb)],'groupLabel':_0x40779f[_0x591aa0(0xfb)],'highlightViews':_0x3420c8});});}else{const {listItem:_0x50899b}=this[_0x40b3c1(0x121)](_0x407c9c,_0x40779f);_0x42f0e0[_0x40b3c1(0xdf)](_0x50899b);const _0x4d95d4=_0x50899b[_0x40b3c1(0x11d)][_0x40b3c1(0x10d)];if(_0x4d95d4){const {listItem:_0x3a7079,highlightViews:_0x5a9236}=this[_0x40b3c1(0xdd)](_0x407c9c,_0x40779f);this[_0x40b3c1(0x11c)][_0x40b3c1(0x110)]({'item':_0x3a7079,'label':_0x4d95d4[_0x40b3c1(0xfb)]||'','highlightViews':_0x5a9236});}}}),_0x42f0e0;}[_0x29089c(0x121)](_0x1846c1,_0x4a6a26,_0x5dc4e2,_0x141ccd){const _0x42a148=_0x29089c,_0x4bb34e=new _0x30504e(this[_0x42a148(0x103)]);if(_0x5dc4e2&&_0x141ccd){const _0x2a958a=new _0x348523(this[_0x42a148(0x103)]),_0x511645=_0x2a958a[_0x42a148(0x105)],_0x5bc37d=new _0x1f0a8e();_0x5bc37d[_0x42a148(0xbe)]=_0x4a6a26[_0x42a148(0xeb)];const _0x470622=new _0x1f0a8e();_0x470622[_0x42a148(0xbe)]=_0x5dc4e2;const _0x50b26d=new _0x8785b7();_0x50b26d[_0x42a148(0xc5)]=_0x141ccd,_0x50b26d[_0x42a148(0xee)]({'attributes':{'class':_0x42a148(0xce)}});const _0x3f4fa5=new _0x2d2e00(this[_0x42a148(0x103)]);_0x3f4fa5[_0x42a148(0x10e)]({'tag':_0x42a148(0xb0),'attributes':{'class':_0x42a148(0xe0)},'children':[{'text':'\x20('}]});const _0x1481a7=new _0x2d2e00(this[_0x42a148(0x103)]);return _0x1481a7[_0x42a148(0x10e)]({'tag':_0x42a148(0xb0),'attributes':{'class':_0x42a148(0xd9)},'children':[{'text':')'}]}),_0x2a958a[_0x42a148(0xea)]({'label':_0x4a6a26[_0x42a148(0xeb)]+'\x20('+_0x5dc4e2+')','withText':!0x0,'role':_0x42a148(0x11a),'class':_0x42a148(0xd1),'tooltip':!0x1}),_0x2a958a[_0x42a148(0x10e)]({'tag':_0x42a148(0x122),'attributes':{'class':['ck',_0x42a148(0xf1),_0x42a148(0xbb),_0x42a148(0xf8),_0x42a148(0xfd)],'type':_0x42a148(0x122),'role':_0x42a148(0x11a),'tabindex':'-1'},'children':[_0x5bc37d,_0x3f4fa5,_0x50b26d,_0x470622,_0x1481a7],'on':{'mouseenter':_0x511645['to'](()=>{const _0x54f315=_0x42a148;this[_0x54f315(0xd4)]()||_0x2a958a[_0x54f315(0xcd)]();}),'click':_0x511645['to'](()=>{const _0x15479f=_0x42a148;_0x2a958a[_0x15479f(0xd2)](_0x15479f(0x12f));})}}),_0x2a958a['on'](_0x42a148(0x12f),()=>{const _0x4d9ada=_0x42a148;_0x1846c1[_0x4d9ada(0x134)][_0x4d9ada(0x111)][_0x4d9ada(0xcd)](),_0x1846c1[_0x4d9ada(0x12e)][_0x4d9ada(0x12f)](_0x4d9ada(0xf3),_0x4a6a26);}),_0x4bb34e[_0x42a148(0x11d)][_0x42a148(0xdf)](_0x2a958a),{'listItem':_0x4bb34e,'highlightViews':[_0x5bc37d,_0x470622]};}{const _0x1ded3f=new _0x294077(),_0x5121f4=new _0x348523(this[_0x42a148(0x103)],_0x1ded3f),_0x94d921=_0x5121f4[_0x42a148(0x105)],_0xb36665=_0x4a6a26[_0x42a148(0x107)]??_0x4a6a26[_0x42a148(0xed)]?.[_0x42a148(0x107)],_0x21d4f6=void 0x0!==_0x4a6a26[_0x42a148(0x107)];return _0x5121f4[_0x42a148(0xea)]({'label':_0x4a6a26[_0x42a148(0xeb)],'withText':!0x0,'role':_0x42a148(0x11a),'icon':_0x21d4f6?_0xb36665??_0x52c6c4:void 0x0,'tooltip':!0x1,'class':_0x42a148(0xf8)}),_0x5121f4[_0x42a148(0xee)]({'on':{'mouseenter':_0x94d921['to'](()=>{const _0x2b5675=_0x42a148;this[_0x2b5675(0xd4)]()||_0x5121f4[_0x2b5675(0xcd)]();})}}),_0x5121f4['on'](_0x42a148(0x12f),()=>{const _0x1dcce5=_0x42a148;_0x1846c1[_0x1dcce5(0x134)][_0x1dcce5(0x111)][_0x1dcce5(0xcd)](),_0x1846c1[_0x1dcce5(0x12e)][_0x1dcce5(0x12f)](_0x1dcce5(0xf3),_0x4a6a26);}),_0x4bb34e[_0x42a148(0x11d)][_0x42a148(0xdf)](_0x5121f4),{'listItem':_0x4bb34e,'highlightViews':[_0x1ded3f]};}}[_0x29089c(0xdd)](_0x500735,_0x12144d,_0x175dc3,_0x33e210){const _0x28be91=_0x29089c;return _0x175dc3&&_0x33e210?this[_0x28be91(0x10b)](_0x500735,_0x12144d,_0x175dc3,_0x33e210):this[_0x28be91(0x109)](_0x500735,_0x12144d);}[_0x29089c(0x10b)](_0x1b9a7e,_0x603ed7,_0x4e03fe,_0xd02fd4){const _0x25bed3=_0x29089c,_0x48432c=new _0x30504e(this[_0x25bed3(0x103)]),_0x5a1374=new _0x348523(this[_0x25bed3(0x103)]),_0x5a93c2=_0x5a1374[_0x25bed3(0x105)],{view:_0x5ee194,highlightView:_0x1199d5}=this[_0x25bed3(0xe7)](_0x4e03fe,_0xd02fd4),{view:_0x36026c,highlightView:_0x188155}=this[_0x25bed3(0xf6)](_0x603ed7[_0x25bed3(0xeb)]),_0x49d1e8=this[_0x25bed3(0x112)](_0x5ee194,_0x36026c);return _0x5a1374[_0x25bed3(0xea)]({'label':_0x603ed7[_0x25bed3(0xeb)],'withText':!0x0,'role':_0x25bed3(0x11a),'class':_0x25bed3(0xdb),'tooltip':!0x1}),_0x5a1374[_0x25bed3(0x10e)]({'tag':_0x25bed3(0x122),'attributes':{'class':['ck',_0x25bed3(0xf1),_0x25bed3(0xbb),_0x25bed3(0xf8),_0x25bed3(0x12c),_0x25bed3(0xf2)],'type':_0x25bed3(0x122),'role':_0x25bed3(0x11a),'tabindex':'-1'},'children':[_0x49d1e8],'on':{'mouseenter':_0x5a93c2['to'](()=>{const _0x53e309=_0x25bed3;this[_0x53e309(0xd4)]()||_0x5a1374[_0x53e309(0xcd)]();}),'click':_0x5a93c2['to'](()=>{const _0x186240=_0x25bed3;this[_0x186240(0xca)](_0x5a1374);})}}),this[_0x25bed3(0xc1)](_0x5a1374,_0x1b9a7e,_0x603ed7),_0x48432c[_0x25bed3(0x11d)][_0x25bed3(0xdf)](_0x5a1374),{'listItem':_0x48432c,'highlightViews':[_0x1199d5,_0x188155]};}[_0x29089c(0x109)](_0x573236,_0xb90ace){const _0x38a2ad=_0x29089c,_0x34823e=new _0x30504e(this[_0x38a2ad(0x103)]),_0x13cddc=new _0x294077(),_0x164c13=new _0x348523(this[_0x38a2ad(0x103)],_0x13cddc),_0x46b8ff=_0x164c13[_0x38a2ad(0x105)];return _0x164c13[_0x38a2ad(0xea)]({'label':_0xb90ace[_0x38a2ad(0xeb)],'withText':!0x0,'role':_0x38a2ad(0x11a),'icon':void 0x0,'tooltip':!0x1,'class':_0x38a2ad(0x102)}),_0x164c13[_0x38a2ad(0xee)]({'on':{'mouseenter':_0x46b8ff['to'](()=>{const _0x231fac=_0x38a2ad;this[_0x231fac(0xd4)]()||_0x164c13[_0x231fac(0xcd)]();})}}),this[_0x38a2ad(0xc1)](_0x164c13,_0x573236,_0xb90ace),_0x34823e[_0x38a2ad(0x11d)][_0x38a2ad(0xdf)](_0x164c13),{'listItem':_0x34823e,'highlightViews':[_0x13cddc]};}[_0x29089c(0xe7)](_0x587cd4,_0x3d2ee3){const _0x4ac9f2=_0x29089c,_0x2df605=new _0x2d2e00(this[_0x4ac9f2(0x103)]),_0xc311e9=new _0x8785b7();_0xc311e9[_0x4ac9f2(0xc5)]=_0x3d2ee3,_0xc311e9[_0x4ac9f2(0xee)]({'attributes':{'class':_0x4ac9f2(0xce)}});const _0x2622bf=new _0x1f0a8e();return _0x2622bf[_0x4ac9f2(0xbe)]=_0x587cd4,_0x2df605[_0x4ac9f2(0x10e)]({'tag':_0x4ac9f2(0xf4),'attributes':{'class':_0x4ac9f2(0xb8)},'children':[_0xc311e9,_0x2622bf]}),{'view':_0x2df605,'highlightView':_0x2622bf};}[_0x29089c(0xf6)](_0x4d7cf8){const _0x5be897=_0x29089c,_0x111050=new _0x2d2e00(this[_0x5be897(0x103)]),_0x5c35d4=new _0x1f0a8e();return _0x5c35d4[_0x5be897(0xbe)]=_0x4d7cf8,_0x111050[_0x5be897(0x10e)]({'tag':_0x5be897(0xf4),'attributes':{'class':_0x5be897(0x101)},'children':[_0x5c35d4]}),{'view':_0x111050,'highlightView':_0x5c35d4};}[_0x29089c(0x112)](_0x12c4f5,_0x2f99e5){const _0x464877=_0x29089c,_0x597658=new _0x2d2e00(this[_0x464877(0x103)]);return _0x597658[_0x464877(0x10e)]({'tag':_0x464877(0xf4),'attributes':{'class':_0x464877(0x135)},'children':[_0x12c4f5,_0x2f99e5]}),_0x597658;}[_0x29089c(0xc1)](_0x204354,_0x46ea60,_0x5a57da){const _0x22f358=_0x29089c;_0x204354['on'](_0x22f358(0x12f),()=>{const _0x32d6cb=_0x22f358;_0x46ea60[_0x32d6cb(0x134)][_0x32d6cb(0x111)][_0x32d6cb(0xcd)](),_0x46ea60[_0x32d6cb(0x12e)][_0x32d6cb(0x12f)](_0x32d6cb(0xf3),_0x5a57da);});}[_0x29089c(0x132)](_0x43b2a7,_0x4bfaf0,_0x9b7ff3){const _0x1d5b42=_0x29089c,_0x2a956c=new _0x30504e(this[_0x1d5b42(0x103)]),_0x4b0aa4=new _0x294077(),_0x294723=new _0x10f7c7(this[_0x1d5b42(0x103)],_0x4b0aa4),_0x2e6ca9=_0x294723[_0x1d5b42(0x105)],_0x91867=this[_0x1d5b42(0xb4)](_0x9b7ff3),_0x1cda9a=this[_0x1d5b42(0x104)](_0x43b2a7,_0x4bfaf0[_0x1d5b42(0xf9)],_0x9b7ff3);_0x294723[_0x1d5b42(0xea)]({'label':_0x4bfaf0[_0x1d5b42(0xfb)],'withText':!0x0,'role':Rs,'icon':_0x4bfaf0[_0x1d5b42(0x107)]??_0x52c6c4,'isEnabled':_0x4bfaf0[_0x1d5b42(0xf9)][_0x1d5b42(0x133)](_0x5d4e6=>_0x5d4e6[_0x1d5b42(0x128)])}),_0x294723[_0x1d5b42(0xee)]({'on':{'mouseenter':_0x2e6ca9['to'](()=>{const _0x2e14c8=_0x1d5b42;this[_0x2e14c8(0xd4)]()||_0x294723[_0x2e14c8(0xcd)]();})}});const _0x1a6c05=new _0x111ffd(this[_0x1d5b42(0x103)]);return _0x1a6c05[_0x1d5b42(0xee)]({'attributes':{'class':['ck',_0x1d5b42(0x127),_0x1d5b42(0xe1),_0x1d5b42(0x118)]},'on':{'keydown':_0x2e6ca9['to'](_0x1c4021=>{const _0xd92f8f=_0x1d5b42;this[_0xd92f8f(0xec)](_0x1c4021,_0x91867,_0x294723,_0x1a6c05);})}}),_0x294723[_0x1d5b42(0xf5)](_0x1d5b42(0xc8))['to'](_0x1a6c05,_0x1d5b42(0xb5)),this[_0x1d5b42(0xc3)][_0x1d5b42(0xdf)](_0x1a6c05),_0x1a6c05[_0x1d5b42(0xc5)][_0x1d5b42(0xdf)](_0x1cda9a),this[_0x1d5b42(0xfa)](_0x294723,_0x1a6c05),_0x2a956c[_0x1d5b42(0x11d)][_0x1d5b42(0xdf)](_0x294723),{'listItem':_0x2a956c,'highlightView':_0x4b0aa4};}[_0x29089c(0x104)](_0x35d7ae,_0x5e4652,_0x4df75d){const _0x1670f0=_0x29089c,_0x55d218=new _0x4a5df2(this[_0x1670f0(0x103)]);return _0x55d218[_0x1670f0(0xee)]({'attributes':{'class':['ck',_0x1670f0(0x127),_0x1670f0(0xaf),_0x1670f0(0xb9)]}}),_0x5e4652[_0x1670f0(0x115)](_0x27d3e1=>{const _0x25e833=_0x1670f0,_0x46bda0=new _0x30504e(this[_0x25e833(0x103)]),_0x6957a7=_0x1979b1({'editor':_0x35d7ae,'action':_0x27d3e1,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x25e833(0xd4)]()})();_0x46bda0[_0x25e833(0x11d)][_0x25e833(0xdf)](_0x6957a7),_0x4df75d[_0x25e833(0xb1)][_0x25e833(0xdf)](_0x6957a7),_0x55d218[_0x25e833(0xcb)][_0x25e833(0xdf)](_0x46bda0);}),_0x55d218;}[_0x29089c(0xfa)](_0x50a0dd,_0x232bf3){const _0x3179d2=_0x29089c,_0x354dc8=_0x50a0dd[_0x3179d2(0x105)],_0x35bb92=this[_0x3179d2(0x124)](_0x50a0dd);_0x50a0dd[_0x3179d2(0xee)]({'attributes':{'class':[_0x3179d2(0xe8)]},'on':{'mouseenter':_0x354dc8['to'](()=>{const _0x224acb=_0x3179d2;this[_0x224acb(0x100)](_0x232bf3,_0x50a0dd);}),'mouseleave':_0x354dc8['to'](_0x379103=>{const _0x5be83c=_0x3179d2,_0x2a9586=_0x379103[_0x5be83c(0x129)];this[_0x5be83c(0xd0)](_0x2a9586,_0x232bf3)||this[_0x5be83c(0x12a)](_0x232bf3);}),'keydown':_0x354dc8['to'](_0x44fb73=>{const _0x1f7772=_0x3179d2;_0x44fb73[_0x1f7772(0xdc)]==_0x35bb92&&(this[_0x1f7772(0x100)](_0x232bf3,_0x50a0dd),_0x232bf3[_0x1f7772(0xc5)][_0x1f7772(0xc2)](0x0)[_0x1f7772(0xcd)]());})}}),_0x232bf3['on'](_0x3179d2(0xcc),()=>{const _0x1d1cfd=_0x3179d2;_0x232bf3[_0x1d1cfd(0x114)]?.[_0x1d1cfd(0x106)](_0x1d1cfd(0x117),_0x1fcd54=>{const _0x5c7b6c=_0x1d1cfd,_0x127aba=_0x1fcd54[_0x5c7b6c(0x129)];_0x50a0dd[_0x5c7b6c(0x114)]?.[_0x5c7b6c(0xc6)](_0x127aba)||this[_0x5c7b6c(0xd0)](_0x127aba,_0x232bf3)||this[_0x5c7b6c(0x12a)](_0x232bf3);});});}[_0x29089c(0x100)](_0x5294e2,_0x33a21e){const _0x4a34fb=_0x29089c;this[_0x4a34fb(0xc7)][_0x4a34fb(0x115)](_0xa51780=>{const _0x7e14f3=_0x4a34fb;_0xa51780!==_0x5294e2&&_0xa51780[_0x7e14f3(0xb5)]&&_0xa51780[_0x7e14f3(0xde)]();}),_0x5294e2[_0x4a34fb(0xfe)](),_0x5294e2[_0x4a34fb(0xb7)]({'positions':[_0x5896a9[_0x4a34fb(0x10a)]],'target':_0x33a21e[_0x4a34fb(0x114)],'fitInViewport':!0x0}),this[_0x4a34fb(0xc7)][_0x4a34fb(0xdf)](_0x5294e2);}[_0x29089c(0x12a)](_0x4c844f){const _0x3ca086=_0x29089c;_0x4c844f[_0x3ca086(0xde)](),this[_0x3ca086(0xc7)][_0x3ca086(0x12d)](_0x4c844f);}[_0x29089c(0x116)](){const _0x2fe782=_0x29089c;this[_0x2fe782(0xc7)][_0x2fe782(0x115)](_0x432af0=>_0x432af0[_0x2fe782(0xde)]()),this[_0x2fe782(0xc7)][_0x2fe782(0xbc)]();}[_0x29089c(0xd0)](_0x5d27eb,_0x13b04a){const _0x4009e8=_0x29089c;if(!_0x5d27eb)return!0x1;if(_0x13b04a[_0x4009e8(0x114)]?.[_0x4009e8(0xc6)](_0x5d27eb))return!0x0;const _0x2d1c05=_0x5d27eb;return _0x2d1c05[_0x4009e8(0xb6)]&&(null!==_0x2d1c05[_0x4009e8(0xb6)](_0x4009e8(0x125))||null!==_0x2d1c05[_0x4009e8(0xb6)](_0x4009e8(0xd3))||null!==_0x2d1c05[_0x4009e8(0xb6)](_0x4009e8(0xef)));}[_0x29089c(0xfc)](){const _0xaf2335=_0x29089c;this[_0xaf2335(0xbf)]&&this[_0xaf2335(0xbf)][_0xaf2335(0xff)]();}[_0x29089c(0x10f)](){const _0x21ba5f=_0x29089c;this[_0x21ba5f(0x116)](),this[_0x21ba5f(0xc3)][_0x21ba5f(0xbd)](),super[_0x21ba5f(0x10f)]();}[_0x29089c(0xcd)](){const _0x43af0f=_0x29089c;this[_0x43af0f(0xbf)]?this[_0x43af0f(0xbf)][_0x43af0f(0xcd)]():this[_0x43af0f(0xae)][_0x43af0f(0xcd)]();}[_0x29089c(0xb4)](_0x738e7c){const _0x6899ed=_0x29089c;return _0x6899ed(0x12b)===_0x738e7c[_0x6899ed(0x103)][_0x6899ed(0xda)]?_0x6899ed(0x123):_0x6899ed(0x113);}[_0x29089c(0x124)](_0x5211e8){const _0x43069e=_0x29089c;return _0x43069e(0x12b)===_0x5211e8[_0x43069e(0x103)][_0x43069e(0xda)]?_0x43069e(0x113):_0x43069e(0x123);}[_0x29089c(0xec)](_0xe1a8f3,_0x2ce8c2,_0x2383a6,_0x45081f){const _0xe2a404=_0x29089c;_0xe1a8f3[_0xe2a404(0xdc)]==_0x2ce8c2&&(_0x2383a6[_0xe2a404(0xcd)](),this[_0xe2a404(0x12a)](_0x45081f));}[_0x29089c(0xca)](_0x5e4f5b){const _0x476bd7=_0x29089c;_0x5e4f5b[_0x476bd7(0xd2)](_0x476bd7(0x12f));}}
|
|
23
|
+
const _0x5157c1=_0x1e18;(function(_0x30913d,_0x23619a){const _0x3002b9=_0x1e18,_0xa2c8b9=_0x30913d();while(!![]){try{const _0x345c94=parseInt(_0x3002b9(0x1a3))/0x1*(parseInt(_0x3002b9(0x1d2))/0x2)+parseInt(_0x3002b9(0x1f0))/0x3+parseInt(_0x3002b9(0x1f5))/0x4*(parseInt(_0x3002b9(0x1ff))/0x5)+-parseInt(_0x3002b9(0x1f4))/0x6*(-parseInt(_0x3002b9(0x1da))/0x7)+-parseInt(_0x3002b9(0x18e))/0x8*(-parseInt(_0x3002b9(0x1b4))/0x9)+-parseInt(_0x3002b9(0x205))/0xa+-parseInt(_0x3002b9(0x1e0))/0xb;if(_0x345c94===_0x23619a)break;else _0xa2c8b9['push'](_0xa2c8b9['shift']());}catch(_0x6e67c1){_0xa2c8b9['push'](_0xa2c8b9['shift']());}}}(_0x2818,0xd0fea));import{View as _0x27ef48,ListItemView as _0x409cc1,ListView as _0x5d023a,BalloonPanelView as _0x8c826c,DropdownMenuPanelPositioningFunctions as _0x3ff9c0,ViewCollection as _0x623257,FocusCycler as _0x7078de,ButtonView as _0x955150,IconView as _0xb8b5c9,HighlightedTextView as _0xcaccef,ButtonLabelWithHighlightView as _0x2002e6,SearchTextView as _0x3202f8}from'ckeditor5/src/ui.js';function _0x1e18(_0x5b3b10,_0x15def6){const _0x281857=_0x2818();return _0x1e18=function(_0x1e18d7,_0x19db33){_0x1e18d7=_0x1e18d7-0x181;let _0x396380=_0x281857[_0x1e18d7];return _0x396380;},_0x1e18(_0x5b3b10,_0x15def6);}import{IconAIQuickActions as _0x47060a}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x30040f,KeystrokeHandler as _0x40ead1}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x588179}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x360ac4}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x14c797}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x1b37c3}from'./aiquickactionsfilteredlistview.js';function _0x2818(){const _0x5a9fec=['ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_getButtonKeystroke','ck-button_with-text','bind','_createSearchResultActionButton','ck-ai-quick-actions-group-panel','first','_createGroupActionsList','_createActionButton','ck-rounded-corners','_setupActionButtonExecution','ArrowRight','focus','_createSearchResultGroupRow','ck-ai-quick-actions-group-list','some','719272BqxtmR','span','_hideNestedPanel','resetSearch','ck-ai-quick-actions-search-result-button','destroy','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','button','relatedTarget','ck-ai-quick-actions-search','queryView','_createActionGroupButton','ck-ai-quick-actions-button__group-icon','_createSearchResultContentView','_createSearchResultActionRow','activeElement','ck-ai-quick-actions-button_with-group','clear','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','view','show','351797zEUYDf','_openNestedPanels','ck-ai-quick-actions','push','delete','closest','chain','editing','set','ck-ai-quick-actions-search-result__group-row','actions','_allSearchableItems','ck-ai-quick-actions-search-result__action-row','_handlePanelKeydown','_setupGroupMenuBehavior','_createSearchResultGroupedActionButton','ck-ai-quick-actions-search-result-button_with-group','9zrmzel','ck-ai-quick-actions-group-button','ck-ai-quick-actions-search-result__content','addMany','_createSearchResultIndividualActionButton','content','ck-dropdown-menu__nested-menu__panel','_searchTextView','rtl','isVisible','eastSouth','_getPanelKeystroke','_createListItems','parent','mouseleave','_bodyCollection','_isSearchFocused','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_focusables','fieldView','ck-ai-quick-actions-button_with-group__open-paren','uiLanguageDirection','ck-ai-quick-actions-button','render','reset','ArrowLeft','menuitem','aiQuickAction','.ck-ai-quick-actions-group-list','children','4AiuFCt','isEnabled','contains','_hasSearch','ck-ai-quick-actions-button_with-group__close-paren','displayedPrompt','text','menu','14eIhFpt','.ck-ai-quick-actions-group-panel','AI_QUICK_ACTIONS_SEARCH','items','ck-button','element','22383570UCGAdW','addEventListener','div','label','hide','ck-dropdown-menu-list','add','isOn','forEach','_hideAllNestedPanels','fire','commands','optionsListView','_createSearchTextView','execute','icon','4474206jfHuDX','ownerDocument','extendTemplate','_showNestedPanel','942246EPyDSX','13316SiVmWi','locale','ck-reset_all','bindTemplate','role','key','_handleSearchResultButtonClick','keystrokes','.ck-ai-quick-actions-group-button','_isMovingToNestedMenu','2550HwCIQd','focusTracker','setTemplate','focusCycler','detachFromDom','get','14058650eZuyDA','pin'];_0x2818=function(){return _0x5a9fec;};return _0x2818();}const Ts=_0x5157c1(0x1d9),Rs=_0x5157c1(0x1ce);export class AIQuickActionsDropdownContentView extends _0x27ef48{[_0x5157c1(0x1c3)];[_0x5157c1(0x1ec)];[_0x5157c1(0x1bb)]=null;[_0x5157c1(0x1ae)]=[];[_0x5157c1(0x1d1)];[_0x5157c1(0x200)];[_0x5157c1(0x1fc)];[_0x5157c1(0x1c6)];[_0x5157c1(0x202)];[_0x5157c1(0x1a4)]=new Set();[_0x5157c1(0x1d5)];constructor(_0x96cba0,_0x626ecd,_0x443fcb,_0x202302,_0x3025e8=!0x1){const _0x5ae024=_0x5157c1,_0x590de3=_0x96cba0[_0x5ae024(0x1f6)];super(_0x590de3),this[_0x5ae024(0x1c3)]=_0x202302,this[_0x5ae024(0x1d5)]=_0x3025e8;const _0x2436d9=this[_0x5ae024(0x1c0)](_0x96cba0,_0x626ecd,_0x443fcb);this[_0x5ae024(0x1ec)]=new _0x1b37c3(_0x590de3,_0x2436d9,this[_0x5ae024(0x1ae)]),this[_0x5ae024(0x1ec)][_0x5ae024(0x1f9)]=Ts,this[_0x5ae024(0x1ec)][_0x5ae024(0x1dd)][_0x5ae024(0x1b7)](_0x2436d9),this[_0x5ae024(0x200)]=new _0x30040f(),this[_0x5ae024(0x1fc)]=new _0x40ead1(),_0x3025e8&&(this[_0x5ae024(0x1bb)]=this[_0x5ae024(0x1ed)]()),this[_0x5ae024(0x1c6)]=_0x2436d9,this[_0x5ae024(0x202)]=new _0x7078de({'focusables':this[_0x5ae024(0x1c6)],'focusTracker':this[_0x5ae024(0x200)],'keystrokeHandler':this[_0x5ae024(0x1fc)]}),_0x3025e8&&this[_0x5ae024(0x1bb)]&&this[_0x5ae024(0x202)][_0x5ae024(0x1a9)](this[_0x5ae024(0x1bb)][_0x5ae024(0x202)]);const _0x2edead=_0x3025e8&&this[_0x5ae024(0x1bb)]?[this[_0x5ae024(0x1bb)]]:[this[_0x5ae024(0x1ec)]];this[_0x5ae024(0x1d1)]=new _0x623257(_0x2edead),this[_0x5ae024(0x201)]({'tag':_0x5ae024(0x1e2),'attributes':{'class':['ck',_0x5ae024(0x1f7),_0x5ae024(0x1a5),_0x5ae024(0x187)],'dir':_0x590de3[_0x5ae024(0x1c9)]},'children':this[_0x5ae024(0x1d1)]});}[_0x5157c1(0x1ed)](){const _0x318330=_0x5157c1;return new _0x3202f8(this[_0x318330(0x1f6)],{'filteredView':this[_0x318330(0x1ec)],'queryView':{'label':_0x14c797(this[_0x318330(0x1f6)],_0x318330(0x1dc))},'class':_0x318330(0x197),'infoView':{'text':{'notFound':{'primary':_0x14c797(this[_0x318330(0x1f6)],_0x318330(0x1c5))}}}});}[_0x5157c1(0x1c4)](){const _0x2af420=_0x5157c1;if(!this[_0x2af420(0x1d5)]||!this[_0x2af420(0x1bb)]||!this[_0x2af420(0x1bb)][_0x2af420(0x198)][_0x2af420(0x1c7)][_0x2af420(0x1df)])return!0x1;const _0x404d39=this[_0x2af420(0x1bb)][_0x2af420(0x198)][_0x2af420(0x1c7)][_0x2af420(0x1df)][_0x2af420(0x1f1)]?.[_0x2af420(0x19d)];return this[_0x2af420(0x1bb)][_0x2af420(0x198)][_0x2af420(0x1c7)][_0x2af420(0x1df)][_0x2af420(0x1d4)](_0x404d39);}[_0x5157c1(0x1c0)](_0x1c9888,_0x244ce9,_0x63f04){const _0x502492=_0x5157c1,_0x202439=new _0x623257();return _0x244ce9[_0x502492(0x1e8)](_0x5173af=>{const _0x5c1a45=_0x502492;if(_0x5c1a45(0x1ad)in _0x5173af){const {listItem:_0x3fceed}=this[_0x5c1a45(0x199)](_0x1c9888,_0x5173af,_0x63f04);_0x202439[_0x5c1a45(0x1e6)](_0x3fceed),_0x5173af[_0x5c1a45(0x1ad)][_0x5c1a45(0x1e8)](_0x5e9884=>{const _0x217218=_0x5c1a45;this[_0x217218(0x186)](_0x1c9888,_0x5e9884,_0x5173af[_0x217218(0x1e3)],_0x5173af[_0x217218(0x1ef)]);const {listItem:_0x298656,highlightViews:_0x5ada42}=this[_0x217218(0x182)](_0x1c9888,_0x5e9884,_0x5173af[_0x217218(0x1e3)],_0x5173af[_0x217218(0x1ef)]);this[_0x217218(0x1ae)][_0x217218(0x1a6)]({'item':_0x298656,'label':_0x5e9884[_0x217218(0x1d7)],'groupLabel':_0x5173af[_0x217218(0x1e3)],'highlightViews':_0x5ada42});});}else{const {listItem:_0x5e1797}=this[_0x5c1a45(0x186)](_0x1c9888,_0x5173af);_0x202439[_0x5c1a45(0x1e6)](_0x5e1797);const _0x423117=_0x5e1797[_0x5c1a45(0x1d1)][_0x5c1a45(0x184)];if(_0x423117){const {listItem:_0x18479e,highlightViews:_0x305fc5}=this[_0x5c1a45(0x182)](_0x1c9888,_0x5173af);this[_0x5c1a45(0x1ae)][_0x5c1a45(0x1a6)]({'item':_0x18479e,'label':_0x423117[_0x5c1a45(0x1e3)]||'','highlightViews':_0x305fc5});}}}),_0x202439;}[_0x5157c1(0x186)](_0x29248a,_0x2b7287,_0x42f6e1,_0x3d398f){const _0x2acb0b=_0x5157c1,_0x543898=new _0x409cc1(this[_0x2acb0b(0x1f6)]);if(_0x42f6e1&&_0x3d398f){const _0x5b03f3=new _0x955150(this[_0x2acb0b(0x1f6)]),_0x22c479=_0x5b03f3[_0x2acb0b(0x1f8)],_0x3e45ec=new _0xcaccef();_0x3e45ec[_0x2acb0b(0x1d8)]=_0x2b7287[_0x2acb0b(0x1d7)];const _0x2263af=new _0xcaccef();_0x2263af[_0x2acb0b(0x1d8)]=_0x42f6e1;const _0x541052=new _0xb8b5c9();_0x541052[_0x2acb0b(0x1b9)]=_0x3d398f,_0x541052[_0x2acb0b(0x1f2)]({'attributes':{'class':_0x2acb0b(0x19a)}});const _0x31f4f5=new _0x27ef48(this[_0x2acb0b(0x1f6)]);_0x31f4f5[_0x2acb0b(0x201)]({'tag':_0x2acb0b(0x18f),'attributes':{'class':_0x2acb0b(0x1c8)},'children':[{'text':'\x20('}]});const _0x19740b=new _0x27ef48(this[_0x2acb0b(0x1f6)]);return _0x19740b[_0x2acb0b(0x201)]({'tag':_0x2acb0b(0x18f),'attributes':{'class':_0x2acb0b(0x1d6)},'children':[{'text':')'}]}),_0x5b03f3[_0x2acb0b(0x1ab)]({'label':_0x2b7287[_0x2acb0b(0x1d7)]+'\x20('+_0x42f6e1+')','withText':!0x0,'role':_0x2acb0b(0x1ce),'class':_0x2acb0b(0x1a0),'tooltip':!0x1}),_0x5b03f3[_0x2acb0b(0x201)]({'tag':_0x2acb0b(0x195),'attributes':{'class':['ck',_0x2acb0b(0x1de),_0x2acb0b(0x209),_0x2acb0b(0x1ca),_0x2acb0b(0x19e)],'type':_0x2acb0b(0x195),'role':_0x2acb0b(0x1ce),'tabindex':'-1'},'children':[_0x3e45ec,_0x31f4f5,_0x541052,_0x2263af,_0x19740b],'on':{'mouseenter':_0x22c479['to'](()=>{const _0x16454d=_0x2acb0b;this[_0x16454d(0x1c4)]()||_0x5b03f3[_0x16454d(0x18a)]();}),'click':_0x22c479['to'](()=>{const _0x34cc57=_0x2acb0b;_0x5b03f3[_0x34cc57(0x1ea)](_0x34cc57(0x1ee));})}}),_0x5b03f3['on'](_0x2acb0b(0x1ee),()=>{const _0x243fdb=_0x2acb0b;_0x29248a[_0x243fdb(0x1aa)][_0x243fdb(0x1a1)][_0x243fdb(0x18a)](),_0x29248a[_0x243fdb(0x1eb)][_0x243fdb(0x1ee)](_0x243fdb(0x1cf),_0x2b7287);}),_0x543898[_0x2acb0b(0x1d1)][_0x2acb0b(0x1e6)](_0x5b03f3),{'listItem':_0x543898,'highlightViews':[_0x3e45ec,_0x2263af]};}{const _0x1941e7=new _0x2002e6(),_0x146c14=new _0x955150(this[_0x2acb0b(0x1f6)],_0x1941e7),_0x1adddc=_0x146c14[_0x2acb0b(0x1f8)],_0x10f38e=_0x2b7287[_0x2acb0b(0x1ef)]??_0x2b7287[_0x2acb0b(0x1c1)]?.[_0x2acb0b(0x1ef)],_0x57c06d=void 0x0!==_0x2b7287[_0x2acb0b(0x1ef)];return _0x146c14[_0x2acb0b(0x1ab)]({'label':_0x2b7287[_0x2acb0b(0x1d7)],'withText':!0x0,'role':_0x2acb0b(0x1ce),'icon':_0x57c06d?_0x10f38e??_0x47060a:void 0x0,'tooltip':!0x1,'class':_0x2acb0b(0x1ca)}),_0x146c14[_0x2acb0b(0x1f2)]({'on':{'mouseenter':_0x1adddc['to'](()=>{const _0x403d88=_0x2acb0b;this[_0x403d88(0x1c4)]()||_0x146c14[_0x403d88(0x18a)]();})}}),_0x146c14['on'](_0x2acb0b(0x1ee),()=>{const _0x39a4c5=_0x2acb0b;_0x29248a[_0x39a4c5(0x1aa)][_0x39a4c5(0x1a1)][_0x39a4c5(0x18a)](),_0x29248a[_0x39a4c5(0x1eb)][_0x39a4c5(0x1ee)](_0x39a4c5(0x1cf),_0x2b7287);}),_0x543898[_0x2acb0b(0x1d1)][_0x2acb0b(0x1e6)](_0x146c14),{'listItem':_0x543898,'highlightViews':[_0x1941e7]};}}[_0x5157c1(0x182)](_0x2268c5,_0x55733b,_0x19b4f4,_0x2798c7){const _0x44f081=_0x5157c1;return _0x19b4f4&&_0x2798c7?this[_0x44f081(0x1b2)](_0x2268c5,_0x55733b,_0x19b4f4,_0x2798c7):this[_0x44f081(0x1b8)](_0x2268c5,_0x55733b);}[_0x5157c1(0x1b2)](_0xea122f,_0x1fd41a,_0x57ef2b,_0x2f35f2){const _0x57a4fe=_0x5157c1,_0x37cd18=new _0x409cc1(this[_0x57a4fe(0x1f6)]),_0x59078e=new _0x955150(this[_0x57a4fe(0x1f6)]),_0x1af4af=_0x59078e[_0x57a4fe(0x1f8)],{view:_0xcfa7c5,highlightView:_0x3a9089}=this[_0x57a4fe(0x18b)](_0x57ef2b,_0x2f35f2),{view:_0x3ad63d,highlightView:_0x5ada09}=this[_0x57a4fe(0x19c)](_0x1fd41a[_0x57a4fe(0x1d7)]),_0x1925f2=this[_0x57a4fe(0x19b)](_0xcfa7c5,_0x3ad63d);return _0x59078e[_0x57a4fe(0x1ab)]({'label':_0x1fd41a[_0x57a4fe(0x1d7)],'withText':!0x0,'role':_0x57a4fe(0x1ce),'class':_0x57a4fe(0x194),'tooltip':!0x1}),_0x59078e[_0x57a4fe(0x201)]({'tag':_0x57a4fe(0x195),'attributes':{'class':['ck',_0x57a4fe(0x1de),_0x57a4fe(0x209),_0x57a4fe(0x1ca),_0x57a4fe(0x192),_0x57a4fe(0x1b3)],'type':_0x57a4fe(0x195),'role':_0x57a4fe(0x1ce),'tabindex':'-1'},'children':[_0x1925f2],'on':{'mouseenter':_0x1af4af['to'](()=>{const _0x1cea39=_0x57a4fe;this[_0x1cea39(0x1c4)]()||_0x59078e[_0x1cea39(0x18a)]();}),'click':_0x1af4af['to'](()=>{const _0x694545=_0x57a4fe;this[_0x694545(0x1fb)](_0x59078e);})}}),this[_0x57a4fe(0x188)](_0x59078e,_0xea122f,_0x1fd41a),_0x37cd18[_0x57a4fe(0x1d1)][_0x57a4fe(0x1e6)](_0x59078e),{'listItem':_0x37cd18,'highlightViews':[_0x3a9089,_0x5ada09]};}[_0x5157c1(0x1b8)](_0x47fd2b,_0x277776){const _0x3771c7=_0x5157c1,_0x29c0c5=new _0x409cc1(this[_0x3771c7(0x1f6)]),_0x519d76=new _0x2002e6(),_0xf00877=new _0x955150(this[_0x3771c7(0x1f6)],_0x519d76),_0x46de8a=_0xf00877[_0x3771c7(0x1f8)];return _0xf00877[_0x3771c7(0x1ab)]({'label':_0x277776[_0x3771c7(0x1d7)],'withText':!0x0,'role':_0x3771c7(0x1ce),'icon':void 0x0,'tooltip':!0x1,'class':_0x3771c7(0x207)}),_0xf00877[_0x3771c7(0x1f2)]({'on':{'mouseenter':_0x46de8a['to'](()=>{const _0x5a1975=_0x3771c7;this[_0x5a1975(0x1c4)]()||_0xf00877[_0x5a1975(0x18a)]();})}}),this[_0x3771c7(0x188)](_0xf00877,_0x47fd2b,_0x277776),_0x29c0c5[_0x3771c7(0x1d1)][_0x3771c7(0x1e6)](_0xf00877),{'listItem':_0x29c0c5,'highlightViews':[_0x519d76]};}[_0x5157c1(0x18b)](_0x49a4a0,_0x4797a0){const _0x4e57e1=_0x5157c1,_0x4bd96b=new _0x27ef48(this[_0x4e57e1(0x1f6)]),_0x53cad1=new _0xb8b5c9();_0x53cad1[_0x4e57e1(0x1b9)]=_0x4797a0,_0x53cad1[_0x4e57e1(0x1f2)]({'attributes':{'class':_0x4e57e1(0x19a)}});const _0x2b5c61=new _0xcaccef();return _0x2b5c61[_0x4e57e1(0x1d8)]=_0x49a4a0,_0x4bd96b[_0x4e57e1(0x201)]({'tag':_0x4e57e1(0x1e2),'attributes':{'class':_0x4e57e1(0x1ac)},'children':[_0x53cad1,_0x2b5c61]}),{'view':_0x4bd96b,'highlightView':_0x2b5c61};}[_0x5157c1(0x19c)](_0x42507b){const _0x5e4fd1=_0x5157c1,_0x436540=new _0x27ef48(this[_0x5e4fd1(0x1f6)]),_0x34296a=new _0xcaccef();return _0x34296a[_0x5e4fd1(0x1d8)]=_0x42507b,_0x436540[_0x5e4fd1(0x201)]({'tag':_0x5e4fd1(0x1e2),'attributes':{'class':_0x5e4fd1(0x1af)},'children':[_0x34296a]}),{'view':_0x436540,'highlightView':_0x34296a};}[_0x5157c1(0x19b)](_0x1e204f,_0x384cfb){const _0x3e185a=_0x5157c1,_0x5b145c=new _0x27ef48(this[_0x3e185a(0x1f6)]);return _0x5b145c[_0x3e185a(0x201)]({'tag':_0x3e185a(0x1e2),'attributes':{'class':_0x3e185a(0x1b6)},'children':[_0x1e204f,_0x384cfb]}),_0x5b145c;}[_0x5157c1(0x188)](_0x30bd0a,_0x4d38cc,_0xc69b6b){const _0x4660e3=_0x5157c1;_0x30bd0a['on'](_0x4660e3(0x1ee),()=>{const _0x30b35d=_0x4660e3;_0x4d38cc[_0x30b35d(0x1aa)][_0x30b35d(0x1a1)][_0x30b35d(0x18a)](),_0x4d38cc[_0x30b35d(0x1eb)][_0x30b35d(0x1ee)](_0x30b35d(0x1cf),_0xc69b6b);});}[_0x5157c1(0x199)](_0x5c537b,_0x4dde78,_0x5b294b){const _0x47024e=_0x5157c1,_0x5cbd90=new _0x409cc1(this[_0x47024e(0x1f6)]),_0x2a807d=new _0x2002e6(),_0x26d848=new _0x360ac4(this[_0x47024e(0x1f6)],_0x2a807d),_0x4cbd89=_0x26d848[_0x47024e(0x1f8)],_0x430f0d=this[_0x47024e(0x1bf)](_0x5b294b),_0x23ab25=this[_0x47024e(0x185)](_0x5c537b,_0x4dde78[_0x47024e(0x1ad)],_0x5b294b);_0x26d848[_0x47024e(0x1ab)]({'label':_0x4dde78[_0x47024e(0x1e3)],'withText':!0x0,'role':Rs,'icon':_0x4dde78[_0x47024e(0x1ef)]??_0x47060a,'isEnabled':_0x4dde78[_0x47024e(0x1ad)][_0x47024e(0x18d)](_0x3cac2b=>_0x3cac2b[_0x47024e(0x1d3)])}),_0x26d848[_0x47024e(0x1f2)]({'on':{'mouseenter':_0x4cbd89['to'](()=>{const _0x3052dc=_0x47024e;this[_0x3052dc(0x1c4)]()||_0x26d848[_0x3052dc(0x18a)]();})}});const _0x4a5305=new _0x8c826c(this[_0x47024e(0x1f6)]);return _0x4a5305[_0x47024e(0x1f2)]({'attributes':{'class':['ck',_0x47024e(0x1f7),_0x47024e(0x183),_0x47024e(0x1ba)]},'on':{'keydown':_0x4cbd89['to'](_0x325b54=>{const _0x180692=_0x47024e;this[_0x180692(0x1b0)](_0x325b54,_0x430f0d,_0x26d848,_0x4a5305);})}}),_0x26d848[_0x47024e(0x181)](_0x47024e(0x1e7))['to'](_0x4a5305,_0x47024e(0x1bd)),this[_0x47024e(0x1c3)][_0x47024e(0x1e6)](_0x4a5305),_0x4a5305[_0x47024e(0x1b9)][_0x47024e(0x1e6)](_0x23ab25),this[_0x47024e(0x1b1)](_0x26d848,_0x4a5305),_0x5cbd90[_0x47024e(0x1d1)][_0x47024e(0x1e6)](_0x26d848),{'listItem':_0x5cbd90,'highlightView':_0x2a807d};}[_0x5157c1(0x185)](_0x651f99,_0x1e9b84,_0x36fd31){const _0x5cbdaf=_0x5157c1,_0x5de83b=new _0x5d023a(this[_0x5cbdaf(0x1f6)]);return _0x5de83b[_0x5cbdaf(0x1f2)]({'attributes':{'class':['ck',_0x5cbdaf(0x1f7),_0x5cbdaf(0x18c),_0x5cbdaf(0x1e5)]}}),_0x1e9b84[_0x5cbdaf(0x1e8)](_0x2bf311=>{const _0x18d82b=_0x5cbdaf,_0x1afe51=new _0x409cc1(this[_0x18d82b(0x1f6)]),_0x256232=_0x588179({'editor':_0x651f99,'action':_0x2bf311,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x18d82b(0x1c4)]()})();_0x1afe51[_0x18d82b(0x1d1)][_0x18d82b(0x1e6)](_0x256232),_0x36fd31[_0x18d82b(0x200)][_0x18d82b(0x1e6)](_0x256232),_0x5de83b[_0x18d82b(0x1dd)][_0x18d82b(0x1e6)](_0x1afe51);}),_0x5de83b;}[_0x5157c1(0x1b1)](_0x20278c,_0x3f2076){const _0x485b82=_0x5157c1,_0x49ce5c=_0x20278c[_0x485b82(0x1f8)],_0x27dbd7=this[_0x485b82(0x208)](_0x20278c);_0x20278c[_0x485b82(0x1f2)]({'attributes':{'class':[_0x485b82(0x1b5)]},'on':{'mouseenter':_0x49ce5c['to'](()=>{const _0x1b62a3=_0x485b82;this[_0x1b62a3(0x1f3)](_0x3f2076,_0x20278c);}),'mouseleave':_0x49ce5c['to'](_0x54bab7=>{const _0x4cd5fa=_0x485b82,_0x5b4084=_0x54bab7[_0x4cd5fa(0x196)];this[_0x4cd5fa(0x1fe)](_0x5b4084,_0x3f2076)||this[_0x4cd5fa(0x190)](_0x3f2076);}),'keydown':_0x49ce5c['to'](_0x104bd0=>{const _0x123496=_0x485b82;_0x104bd0[_0x123496(0x1fa)]==_0x27dbd7&&(this[_0x123496(0x1f3)](_0x3f2076,_0x20278c),_0x3f2076[_0x123496(0x1b9)][_0x123496(0x204)](0x0)[_0x123496(0x18a)]());})}}),_0x3f2076['on'](_0x485b82(0x1cb),()=>{const _0x19055f=_0x485b82;_0x3f2076[_0x19055f(0x1df)]?.[_0x19055f(0x1e1)](_0x19055f(0x1c2),_0x183da1=>{const _0x4ebf2f=_0x19055f,_0x51b69f=_0x183da1[_0x4ebf2f(0x196)];_0x20278c[_0x4ebf2f(0x1df)]?.[_0x4ebf2f(0x1d4)](_0x51b69f)||this[_0x4ebf2f(0x1fe)](_0x51b69f,_0x3f2076)||this[_0x4ebf2f(0x190)](_0x3f2076);});});}[_0x5157c1(0x1f3)](_0x1928ed,_0x487759){const _0x4bad30=_0x5157c1;this[_0x4bad30(0x1a4)][_0x4bad30(0x1e8)](_0x47df9e=>{const _0x2c9be9=_0x4bad30;_0x47df9e!==_0x1928ed&&_0x47df9e[_0x2c9be9(0x1bd)]&&_0x47df9e[_0x2c9be9(0x1e4)]();}),_0x1928ed[_0x4bad30(0x1a2)](),_0x1928ed[_0x4bad30(0x206)]({'positions':[_0x3ff9c0[_0x4bad30(0x1be)]],'target':_0x487759[_0x4bad30(0x1df)],'fitInViewport':!0x0}),this[_0x4bad30(0x1a4)][_0x4bad30(0x1e6)](_0x1928ed);}[_0x5157c1(0x190)](_0x15fb18){const _0x5a6ae8=_0x5157c1;_0x15fb18[_0x5a6ae8(0x1e4)](),this[_0x5a6ae8(0x1a4)][_0x5a6ae8(0x1a7)](_0x15fb18);}[_0x5157c1(0x1e9)](){const _0x130e61=_0x5157c1;this[_0x130e61(0x1a4)][_0x130e61(0x1e8)](_0x33b7d3=>_0x33b7d3[_0x130e61(0x1e4)]()),this[_0x130e61(0x1a4)][_0x130e61(0x19f)]();}[_0x5157c1(0x1fe)](_0x150648,_0x239824){const _0x1fbac7=_0x5157c1;if(!_0x150648)return!0x1;if(_0x239824[_0x1fbac7(0x1df)]?.[_0x1fbac7(0x1d4)](_0x150648))return!0x0;const _0x491ec4=_0x150648;return _0x491ec4[_0x1fbac7(0x1a8)]&&(null!==_0x491ec4[_0x1fbac7(0x1a8)](_0x1fbac7(0x1db))||null!==_0x491ec4[_0x1fbac7(0x1a8)](_0x1fbac7(0x1d0))||null!==_0x491ec4[_0x1fbac7(0x1a8)](_0x1fbac7(0x1fd)));}[_0x5157c1(0x191)](){const _0x317194=_0x5157c1;this[_0x317194(0x1bb)]&&this[_0x317194(0x1bb)][_0x317194(0x1cc)]();}[_0x5157c1(0x193)](){const _0x5aa897=_0x5157c1;this[_0x5aa897(0x1e9)](),this[_0x5aa897(0x1c3)][_0x5aa897(0x203)](),super[_0x5aa897(0x193)]();}[_0x5157c1(0x18a)](){const _0x3b71d5=_0x5157c1;this[_0x3b71d5(0x1bb)]?this[_0x3b71d5(0x1bb)][_0x3b71d5(0x18a)]():this[_0x3b71d5(0x1ec)][_0x3b71d5(0x18a)]();}[_0x5157c1(0x1bf)](_0x4ca1a1){const _0x563b39=_0x5157c1;return _0x563b39(0x1bc)===_0x4ca1a1[_0x563b39(0x1f6)][_0x563b39(0x1c9)]?_0x563b39(0x189):_0x563b39(0x1cd);}[_0x5157c1(0x208)](_0x86185a){const _0x26b445=_0x5157c1;return _0x26b445(0x1bc)===_0x86185a[_0x26b445(0x1f6)][_0x26b445(0x1c9)]?_0x26b445(0x1cd):_0x26b445(0x189);}[_0x5157c1(0x1b0)](_0x42a552,_0x56824e,_0x3e1167,_0x40973f){const _0x59e104=_0x5157c1;_0x42a552[_0x59e104(0x1fa)]==_0x56824e&&(_0x3e1167[_0x59e104(0x18a)](),this[_0x59e104(0x190)](_0x40973f));}[_0x5157c1(0x1fb)](_0x38549d){const _0x55e23a=_0x5157c1;_0x38549d[_0x55e23a(0x1ea)](_0x55e23a(0x1ee));}}
|