@ckeditor/ckeditor5-ai 47.2.0-alpha.4 → 47.2.0-alpha.6
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/aichat/utils/scrollmanager.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/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/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/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/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x597b26=_0x4c99;function _0x4c99(_0x5f4f7d,_0x4f08bf){const _0x1d2853=_0x1d28();return _0x4c99=function(_0x4c993d,_0x354312){_0x4c993d=_0x4c993d-0x126;let _0x26f59c=_0x1d2853[_0x4c993d];return _0x26f59c;},_0x4c99(_0x5f4f7d,_0x4f08bf);}(function(_0x5adcd9,_0x4d2062){const _0x18d42a=_0x4c99,_0x4348ee=_0x5adcd9();while(!![]){try{const _0x3d6b82=parseInt(_0x18d42a(0x13f))/0x1*(parseInt(_0x18d42a(0x154))/0x2)+-parseInt(_0x18d42a(0x140))/0x3*(-parseInt(_0x18d42a(0x137))/0x4)+-parseInt(_0x18d42a(0x14b))/0x5+parseInt(_0x18d42a(0x149))/0x6*(parseInt(_0x18d42a(0x163))/0x7)+parseInt(_0x18d42a(0x132))/0x8*(-parseInt(_0x18d42a(0x12d))/0x9)+parseInt(_0x18d42a(0x13e))/0xa*(parseInt(_0x18d42a(0x138))/0xb)+-parseInt(_0x18d42a(0x14f))/0xc;if(_0x3d6b82===_0x4d2062)break;else _0x4348ee['push'](_0x4348ee['shift']());}catch(_0x694c5e){_0x4348ee['push'](_0x4348ee['shift']());}}}(_0x1d28,0x4f81c));import _0x301321 from'morphdom';import{NodeWithChildren as _0x3847c3,Text as _0x19b9af,Element as _0xb98a8b,isText as _0x284d23,isDocument as _0x442b5d,isTag as _0x8b6ff0,cloneNode as _0xab6616,getChildren as _0x2b7abd,prepend as _0xb8a99c,removeElement as _0x2e9c5f,textContent as _0x57b31b,render as _0x36b328}from'./htmlparser.js';import{logWarning as _0x58791b}from'ckeditor5/src/utils.js';function _0x1d28(){const _0x1c954d=['addEventListener','currentIndex','strong','2762mhCaRa','options','bind','del','getParsedDocumentNodeList','timeoutAbortController','abort','length','push','signal','childNodes','span','nodesList','splitTextNodeIntoWordNodes','from','3640IDbAwo','div','isStreaming','stream','children','isWordSplitResult','sub','onStreamUpdate','includes','10233NMjZko','shouldBeStreamed','tagName','cleanUpAnimations','code','40KlmPnw','parent','entries','match','renderNode','212fveSlJ','5525498SVshEy','delay','forEach','attribs','join','span[data-ck-html-streamer-word-chunk]','10CWkAiH','403GEMRbb','5667wBoRgi','sup','now','ai-html-streamer-current-index-out-of-bounds','replaceWith','stop','ins','isWordSplitSource','map','24jTeCAZ','reverse','549315PhIxgZ','mark','document','querySelectorAll','8638200EGtXmT','textNodeStyle'];_0x1d28=function(){return _0x1c954d;};return _0x1d28();}export class HTMLStreamer{[_0x597b26(0x155)];[_0x597b26(0x126)]=!0x1;[_0x597b26(0x14d)]=null;[_0x597b26(0x160)]=[];[_0x597b26(0x152)]=0x0;[_0x597b26(0x159)]=null;constructor(_0x38f6b7){const _0x51dfe5=_0x597b26;this[_0x51dfe5(0x155)]={'delay':_0x38f6b7[_0x51dfe5(0x139)]??0x14,'textNodeStyle':_0x38f6b7[_0x51dfe5(0x150)],'onStreamUpdate':_0x38f6b7[_0x51dfe5(0x12b)]||(()=>{})};}async[_0x597b26(0x127)]({document:_0x1082f6,targetElement:_0x5dcb23,abortSignal:_0x5d858b}){const _0x1ca17f=_0x597b26;this[_0x1ca17f(0x126)]&&this[_0x1ca17f(0x145)](),_0x5d858b?.[_0x1ca17f(0x151)](_0x1ca17f(0x15a),this[_0x1ca17f(0x145)][_0x1ca17f(0x156)](this)),this[_0x1ca17f(0x14d)]=_0xab6616(_0x1082f6,!0x0),this[_0x1ca17f(0x160)]=this[_0x1ca17f(0x158)](),this[_0x1ca17f(0x126)]=!0x0,this[_0x1ca17f(0x152)]>this[_0x1ca17f(0x160)][_0x1ca17f(0x15b)]&&(_0x58791b(_0x1ca17f(0x143),{'currentIndex':this[_0x1ca17f(0x152)],'nodeList':this[_0x1ca17f(0x160)]}),this[_0x1ca17f(0x152)]=this[_0x1ca17f(0x160)][_0x1ca17f(0x15b)]);for(let _0x228774=0x0;_0x228774<this[_0x1ca17f(0x152)];_0x228774++)this[_0x1ca17f(0x160)][_0x228774][_0x1ca17f(0x12e)]=!0x0;let _0x3e4f17=0x0;for(let _0x4ea320=this[_0x1ca17f(0x152)];_0x4ea320<this[_0x1ca17f(0x160)][_0x1ca17f(0x15b)];_0x4ea320++){const _0x5ef5f6=Date[_0x1ca17f(0x142)](),_0x37eeb1=this[_0x1ca17f(0x160)][_0x4ea320],_0x501114=_0x5ef5f6-_0x3e4f17;_0x37eeb1[_0x1ca17f(0x12e)]=!0x0;let _0x4b8a4c=_0x37eeb1[_0x1ca17f(0x133)];for(;_0x4b8a4c;)_0x4b8a4c[_0x1ca17f(0x12e)]=!0x0,_0x4b8a4c=_0x4b8a4c[_0x1ca17f(0x133)];if(_0x501114<this[_0x1ca17f(0x155)][_0x1ca17f(0x139)])try{const {promise:_0x3bb724,abortController:_0x37f03e}=br(this[_0x1ca17f(0x155)][_0x1ca17f(0x139)]-_0x501114);this[_0x1ca17f(0x159)]=_0x37f03e,await _0x3bb724;}catch(_0x2c9a2b){return;}_0x301321(_0x5dcb23,'<'+_0x5dcb23[_0x1ca17f(0x12f)]+'>'+this[_0x1ca17f(0x136)](this[_0x1ca17f(0x14d)])+'</'+_0x5dcb23[_0x1ca17f(0x12f)]+'>',{'childrenOnly':!0x0}),this[_0x1ca17f(0x155)][_0x1ca17f(0x12b)]&&this[_0x1ca17f(0x155)][_0x1ca17f(0x12b)](),this[_0x1ca17f(0x152)]=_0x4ea320,_0x3e4f17=Date[_0x1ca17f(0x142)]();}this[_0x1ca17f(0x126)]=!0x1;}[_0x597b26(0x130)]({targetElement:_0x428aa1}){const _0x3a2ba4=_0x597b26;Array[_0x3a2ba4(0x162)](_0x428aa1[_0x3a2ba4(0x14e)](_0x3a2ba4(0x13d)))[_0x3a2ba4(0x14a)]()[_0x3a2ba4(0x13a)](_0x26a2fd=>{const _0x416148=_0x3a2ba4;_0x26a2fd[_0x416148(0x144)](_0x26a2fd[_0x416148(0x15e)][0x0]);});}[_0x597b26(0x145)](){const _0x3e9dbb=_0x597b26;this[_0x3e9dbb(0x126)]=!0x1,this[_0x3e9dbb(0x159)]&&(this[_0x3e9dbb(0x159)][_0x3e9dbb(0x15a)](),this[_0x3e9dbb(0x159)]=null);}[_0x597b26(0x136)](_0x122125){const _0x2de036=_0x597b26;let _0x18e6a2='';if(function(_0xe6ec67){return _0x442b5d(_0xe6ec67);}(_0x122125)){for(const _0x118cad of _0x122125[_0x2de036(0x128)])_0x18e6a2+=this[_0x2de036(0x136)](_0x118cad);}else{if(pr(_0x122125)){if(!_0x122125[_0x2de036(0x12e)])return'';const _0x3004e0=_0x122125,_0x289901=Object[_0x2de036(0x134)](_0x3004e0[_0x2de036(0x13b)])[_0x2de036(0x148)](([_0x4662ac,_0x3979f3])=>_0x4662ac+'=\x22'+_0x3979f3+'\x22')[_0x2de036(0x13c)]('\x20');_0x18e6a2+='<'+_0x3004e0[_0x2de036(0x12f)]+(_0x289901?'\x20'+_0x289901:'')+'>';for(const _0x583364 of _0x2b7abd(_0x3004e0))_0x18e6a2+=this[_0x2de036(0x136)](_0x583364);_0x18e6a2+='</'+_0x3004e0[_0x2de036(0x12f)]+'>';}else{if(!dr(_0x122125))return'';if(!_0x122125[_0x2de036(0x12e)])return'';!function(_0x1c1367){const _0x26f7f2=_0x2de036;if(!_0x1c1367[_0x26f7f2(0x133)]||!pr(_0x1c1367[_0x26f7f2(0x133)]))return!0x1;if(!ar[_0x26f7f2(0x12c)](_0x1c1367[_0x26f7f2(0x133)][_0x26f7f2(0x12f)]))return!0x1;return!_0x57b31b(_0x1c1367)[_0x26f7f2(0x135)](/^\s*[<>]\s*$/);}(_0x122125)?_0x18e6a2+=_0x36b328(_0x122125):_0x18e6a2+=_0x36b328(new _0xb98a8b(_0x2de036(0x15f),{'data-ck-html-streamer-word-chunk':'','style':this[_0x2de036(0x155)][_0x2de036(0x150)]},[_0x122125]));}}return _0x18e6a2;}[_0x597b26(0x158)](){const _0x5c9b4b=_0x597b26,_0x5478ad=[];return function(_0x2b0700,_0x268164){const _0x4b5f1c=_0x4c99,_0x370c5c=_0x399c73=>{const _0x1b5e6b=_0x4c99;if(_0x268164(_0x399c73),_0x399c73 instanceof _0x3847c3)for(let _0x21595f=0x0;_0x21595f<_0x399c73[_0x1b5e6b(0x128)][_0x1b5e6b(0x15b)];_0x21595f++){const _0x4e6eba=_0x399c73[_0x1b5e6b(0x128)][_0x21595f];_0x370c5c(_0x4e6eba);}};for(let _0x718dd1=0x0;_0x718dd1<_0x2b0700[_0x4b5f1c(0x128)][_0x4b5f1c(0x15b)];_0x718dd1++)_0x370c5c(_0x2b0700[_0x4b5f1c(0x128)][_0x718dd1]);}(this[_0x5c9b4b(0x14d)],_0x330016=>{const _0x3f96b7=_0x5c9b4b;if(dr(_0x330016)){const _0xd6412f=this[_0x3f96b7(0x161)](_0x330016);_0xd6412f[_0x3f96b7(0x15b)]&&_0x5478ad[_0x3f96b7(0x15c)](..._0xd6412f);}_0x330016[_0x3f96b7(0x147)]||_0x330016[_0x3f96b7(0x129)]||_0x5478ad[_0x3f96b7(0x15c)](_0x330016);}),_0x5478ad;}[_0x597b26(0x161)](_0x3b3080){const _0x1c10e3=_0x597b26;if(_0x3b3080[_0x1c10e3(0x147)]||_0x3b3080[_0x1c10e3(0x129)])return[];const _0x24b451=_0x57b31b(_0x3b3080)[_0x1c10e3(0x135)](/(?:\s*\S+\s*)/g),_0x5d5b61=[];if(_0x24b451&&_0x24b451[_0x1c10e3(0x15b)]>0x1){for(const _0x359241 of _0x24b451){const _0x22a4ed=new _0x19b9af(_0x359241);_0x22a4ed[_0x1c10e3(0x129)]=!0x0,_0xb8a99c(_0x3b3080,_0x22a4ed),_0x5d5b61[_0x1c10e3(0x15c)](_0x22a4ed);}_0x3b3080[_0x1c10e3(0x147)]=!0x0,_0x2e9c5f(_0x3b3080);}return _0x5d5b61;}}const ar=['p','li','td','th',_0x597b26(0x15f),'h1','h2','h3','h4','h5','h6','b',_0x597b26(0x153),'i','em',_0x597b26(0x14c),_0x597b26(0x157),_0x597b26(0x146),_0x597b26(0x141),_0x597b26(0x12a),'a',_0x597b26(0x131),_0x597b26(0x164)];function dr(_0x4626ca){return _0x284d23(_0x4626ca);}function pr(_0x55dacb){return _0x8b6ff0(_0x55dacb);}function br(_0x41045d){const _0x1230d4=new AbortController();return{'promise':new Promise((_0x593120,_0x1685c2)=>{const _0x743d8b=_0x4c99,_0x302e20=setTimeout(_0x593120,_0x41045d);_0x1230d4[_0x743d8b(0x15d)][_0x743d8b(0x151)](_0x743d8b(0x15a),()=>{clearTimeout(_0x302e20),_0x1685c2();});}),'abortController':_0x1230d4};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1afaca=_0x36e2;(function(_0x4e505f,_0x2a1949){var _0x4419a5=_0x36e2,_0x4fb47f=_0x4e505f();while(!![]){try{var _0x4af0d1=-parseInt(_0x4419a5(0x111))/0x1+parseInt(_0x4419a5(0x110))/0x2*(-parseInt(_0x4419a5(0x10f))/0x3)+-parseInt(_0x4419a5(0x109))/0x4*(-parseInt(_0x4419a5(0x112))/0x5)+-parseInt(_0x4419a5(0x104))/0x6*(-parseInt(_0x4419a5(0x10d))/0x7)+parseInt(_0x4419a5(0x106))/0x8*(parseInt(_0x4419a5(0x10e))/0x9)+-parseInt(_0x4419a5(0x10b))/0xa+parseInt(_0x4419a5(0x103))/0xb;if(_0x4af0d1===_0x2a1949)break;else _0x4fb47f['push'](_0x4fb47f['shift']());}catch(_0x4c1ace){_0x4fb47f['push'](_0x4fb47f['shift']());}}}(_0x59a2,0xdd7b7));function _0x36e2(_0x432e48,_0x2f3390){var _0x59a2f1=_0x59a2();return _0x36e2=function(_0x36e24c,_0x20e441){_0x36e24c=_0x36e24c-0x103;var _0x534cd2=_0x59a2f1[_0x36e24c];return _0x534cd2;},_0x36e2(_0x432e48,_0x2f3390);}import{Plugin as _0xb405e7}from'ckeditor5/src/core.js';function _0x59a2(){var _0x3a67e7=['95HWCKOC','23705473ydblfm','378RBDetZ','pluginName','104gkwtDu','requires','isOfficialPlugin','296584BEiiST','AIEditorIntegration','12910020sguWuO','isPremiumPlugin','49287wUaDpD','571239rPXzIv','51iSNyCX','137500tJIrIy','1465580GLsNuK'];_0x59a2=function(){return _0x3a67e7;};return _0x59a2();}import{AIToggleButtonUI as _0x3eea6f}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x5625d4}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0xb405e7{static get[_0x1afaca(0x107)](){return[_0x3eea6f,_0x5625d4];}static get[_0x1afaca(0x105)](){var _0x440f67=_0x1afaca;return _0x440f67(0x10a);}static get[_0x1afaca(0x108)](){return!0x0;}static get[_0x1afaca(0x10c)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2ea7(_0x8dd8d1,_0x50fb6e){const _0xca1072=_0xca10();return _0x2ea7=function(_0x2ea71e,_0x5715df){_0x2ea71e=_0x2ea71e-0xc1;let _0x239c21=_0xca1072[_0x2ea71e];return _0x239c21;},_0x2ea7(_0x8dd8d1,_0x50fb6e);}const _0x120e3c=_0x2ea7;(function(_0x385d28,_0x33a5c7){const _0x1d1894=_0x2ea7,_0x303f82=_0x385d28();while(!![]){try{const _0x2802a1=-parseInt(_0x1d1894(0xc6))/0x1*(-parseInt(_0x1d1894(0xd9))/0x2)+-parseInt(_0x1d1894(0xcf))/0x3+-parseInt(_0x1d1894(0xdf))/0x4*(-parseInt(_0x1d1894(0xc2))/0x5)+-parseInt(_0x1d1894(0xc7))/0x6*(parseInt(_0x1d1894(0xda))/0x7)+-parseInt(_0x1d1894(0xd3))/0x8*(-parseInt(_0x1d1894(0xc8))/0x9)+parseInt(_0x1d1894(0xc4))/0xa+parseInt(_0x1d1894(0xd1))/0xb;if(_0x2802a1===_0x33a5c7)break;else _0x303f82['push'](_0x303f82['shift']());}catch(_0x1d9015){_0x303f82['push'](_0x303f82['shift']());}}}(_0xca10,0xa106d));import{Plugin as _0x2e3667}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x4641e2}from'./toggleaicommand.js';import{ButtonView as _0x1dc7ac,MenuBarMenuListItemButtonView as _0xa0cefd}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x56c303}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x862c31}from'../../aicore/utils/common-translations.js';import{AITabs as _0x119641}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0xca10(){const _0x1618d7=['AIToggleButtonUI','isOfficialPlugin','init','get','280RFtSYG','componentFactory','isEnabled','listenTo','isOn','menuitemcheckbox','value','53720exXUAz','bind','3420030tEmPmu','pluginName','163467OmeJxO','2466MlhVwY','2392596gokjnt','execute','_createAIUIButton','locale','toggleAi','set','add','1988088xayXSF','AI_TOGGLE_BUTTON_LABEL','7589868YEHjci','requires','16peVImH','ck-ai-toggle-button','editor','menuBar:toggleAi','commands','isPremiumPlugin','2lDwaaU','19705Uyxhvj'];_0xca10=function(){return _0x1618d7;};return _0xca10();}export class AIToggleButtonUI extends _0x2e3667{static get[_0x120e3c(0xd2)](){return[_0x119641];}static get[_0x120e3c(0xc5)](){const _0x3de454=_0x120e3c;return _0x3de454(0xdb);}static get[_0x120e3c(0xdc)](){return!0x0;}static get[_0x120e3c(0xd8)](){return!0x0;}[_0x120e3c(0xdd)](){const _0x46934b=_0x120e3c,_0xab77ee=this[_0x46934b(0xd5)];_0xab77ee[_0x46934b(0xd7)][_0x46934b(0xce)](_0x46934b(0xcc),new _0x4641e2(_0xab77ee)),_0xab77ee['ui'][_0x46934b(0xe0)][_0x46934b(0xce)](_0x46934b(0xcc),()=>{const _0x4b8f10=_0x46934b,_0x4e2c82=this[_0x4b8f10(0xca)](_0x1dc7ac);return _0x4e2c82[_0x4b8f10(0xcd)]({'tooltip':!0x0,'class':_0x4b8f10(0xd4)}),_0x4e2c82;}),_0xab77ee['ui'][_0x46934b(0xe0)][_0x46934b(0xce)](_0x46934b(0xd6),()=>{const _0x469ace=_0x46934b,_0x24a436=this[_0x469ace(0xca)](_0xa0cefd);return _0x24a436[_0x469ace(0xcd)]({'role':_0x469ace(0xe4)}),_0x24a436;});}[_0x120e3c(0xca)](_0x5ebc6a){const _0x247eb9=_0x120e3c,_0x59b148=this[_0x247eb9(0xd5)],_0x2d8df1=_0x59b148[_0x247eb9(0xd7)][_0x247eb9(0xde)](_0x247eb9(0xcc)),_0x1a28b4=new _0x5ebc6a(_0x59b148[_0x247eb9(0xcb)]);return _0x1a28b4[_0x247eb9(0xcd)]({'label':_0x862c31(_0x59b148[_0x247eb9(0xcb)],_0x247eb9(0xd0)),'icon':_0x56c303,'isToggleable':!0x0}),_0x1a28b4[_0x247eb9(0xc3)](_0x247eb9(0xe1))['to'](_0x2d8df1),_0x1a28b4[_0x247eb9(0xc3)](_0x247eb9(0xe3))['to'](_0x2d8df1,_0x247eb9(0xc1),_0x5edc68=>!!_0x5edc68),this[_0x247eb9(0xe2)](_0x1a28b4,_0x247eb9(0xc9),()=>{const _0x1e2ef1=_0x247eb9;_0x2d8df1[_0x1e2ef1(0xc9)]();}),_0x1a28b4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x175414=_0xb187;(function(_0x90465b,_0x45e79d){const _0x92f93a=_0xb187,_0x53a0f9=_0x90465b();while(!![]){try{const _0x1034b5=-parseInt(_0x92f93a(0x10e))/0x1+-parseInt(_0x92f93a(0x112))/0x2*(parseInt(_0x92f93a(0x117))/0x3)+parseInt(_0x92f93a(0x118))/0x4+-parseInt(_0x92f93a(0x110))/0x5+-parseInt(_0x92f93a(0x10f))/0x6+-parseInt(_0x92f93a(0x113))/0x7*(parseInt(_0x92f93a(0x11a))/0x8)+parseInt(_0x92f93a(0x119))/0x9;if(_0x1034b5===_0x45e79d)break;else _0x53a0f9['push'](_0x53a0f9['shift']());}catch(_0x16ef11){_0x53a0f9['push'](_0x53a0f9['shift']());}}}(_0x4963,0xe40fc));import{Command as _0x4aed60}from'ckeditor5/src/core.js';function _0x4963(){const _0x575efd=['bind','isEnabled','1582693PjMOZQ','2854692xsZsBc','4519710zxwUTG','plugins','493198JdoCsn','21bVaGuK','value','view','AITabs','15XPuqKq','6829924GGsXQv','40410342vykGEY','2847912bNRYLr','get','editor','isVisible','execute'];_0x4963=function(){return _0x575efd;};return _0x4963();}function _0xb187(_0x449bfd,_0xe25550){const _0x496361=_0x4963();return _0xb187=function(_0xb18791,_0x5731a8){_0xb18791=_0xb18791-0x10c;let _0x48bbbf=_0x496361[_0xb18791];return _0x48bbbf;},_0xb187(_0x449bfd,_0xe25550);}export class ToggleAICommand extends _0x4aed60{constructor(_0x3f441b){const _0x54fe3a=_0xb187;super(_0x3f441b);const _0x34c659=_0x3f441b[_0x54fe3a(0x111)][_0x54fe3a(0x11b)](_0x54fe3a(0x116))[_0x54fe3a(0x115)];this[_0x54fe3a(0x10c)](_0x54fe3a(0x114))['to'](_0x34c659,_0x54fe3a(0x11d)),this[_0x54fe3a(0x10d)]=!0x0;}[_0x175414(0x11e)](){const _0x4b98ab=_0x175414,_0x5504b0=this[_0x4b98ab(0x11c)][_0x4b98ab(0x111)][_0x4b98ab(0x11b)](_0x4b98ab(0x116))[_0x4b98ab(0x115)];_0x5504b0[_0x4b98ab(0x11d)]=!_0x5504b0[_0x4b98ab(0x11d)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3f929a=_0x1086;(function(_0x77c8ee,_0x4722c0){var _0x37be85=_0x1086,_0x81aa2f=_0x77c8ee();while(!![]){try{var _0x27d76d=parseInt(_0x37be85(0xad))/0x1+-parseInt(_0x37be85(0xae))/0x2+-parseInt(_0x37be85(0xa3))/0x3*(parseInt(_0x37be85(0xaa))/0x4)+-parseInt(_0x37be85(0xac))/0x5*(parseInt(_0x37be85(0xa5))/0x6)+-parseInt(_0x37be85(0xa2))/0x7+-parseInt(_0x37be85(0xa1))/0x8*(parseInt(_0x37be85(0xa6))/0x9)+parseInt(_0x37be85(0xa8))/0xa*(parseInt(_0x37be85(0xab))/0xb);if(_0x27d76d===_0x4722c0)break;else _0x81aa2f['push'](_0x81aa2f['shift']());}catch(_0x22efd5){_0x81aa2f['push'](_0x81aa2f['shift']());}}}(_0x1e52,0x89693));import{Plugin as _0x399412}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x4cdf41}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x182f67}from'./aiquickactionsediting.js';import{AIActions as _0x42af5b}from'../aiactions/aiactions.js';function _0x1086(_0x7e9607,_0x54fb81){var _0x1e5243=_0x1e52();return _0x1086=function(_0x108626,_0x42636b){_0x108626=_0x108626-0x9c;var _0x5a8aa6=_0x1e5243[_0x108626];return _0x5a8aa6;},_0x1086(_0x7e9607,_0x54fb81);}function _0x1e52(){var _0x168be4=['131403pTmgeQ','ai.quickActions','6IiPKyV','477oyxGDB','AIQuickActions','70IwgDvh','config','44JzjaXk','2758415uOEpWW','1550555pGnoNK','566360TnuHcm','716906dymdWF','requires','isOfficialPlugin','define','isPremiumPlugin','pluginName','78192xTONIc','633381EdPmzw'];_0x1e52=function(){return _0x168be4;};return _0x1e52();}export class AIQuickActions extends _0x399412{static get[_0x3f929a(0x9c)](){return[_0x4cdf41,_0x182f67,_0x42af5b];}static get[_0x3f929a(0xa0)](){var _0x2b4947=_0x3f929a;return _0x2b4947(0xa7);}static get[_0x3f929a(0x9d)](){return!0x0;}static get[_0x3f929a(0x9f)](){return!0x0;}constructor(_0x1e023b){var _0x2c72be=_0x3f929a;super(_0x1e023b),_0x1e023b[_0x2c72be(0xa9)][_0x2c72be(0x9e)](_0x2c72be(0xa4),{'extraCommands':[],'removeCommands':[]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf85acf=_0x1a4c;function _0x1a4c(_0x1ba669,_0x8abef4){const _0x5041c3=_0x5041();return _0x1a4c=function(_0x1a4c55,_0x5b7a5d){_0x1a4c55=_0x1a4c55-0xaf;let _0x357abb=_0x5041c3[_0x1a4c55];return _0x357abb;},_0x1a4c(_0x1ba669,_0x8abef4);}(function(_0x1d5bf7,_0x4a0cba){const _0xd14c08=_0x1a4c,_0x39f222=_0x1d5bf7();while(!![]){try{const _0x3aef48=-parseInt(_0xd14c08(0xc2))/0x1*(-parseInt(_0xd14c08(0xe4))/0x2)+parseInt(_0xd14c08(0xc1))/0x3*(parseInt(_0xd14c08(0xb9))/0x4)+-parseInt(_0xd14c08(0xb4))/0x5+parseInt(_0xd14c08(0xb1))/0x6+parseInt(_0xd14c08(0xcf))/0x7*(parseInt(_0xd14c08(0xaf))/0x8)+parseInt(_0xd14c08(0xcc))/0x9+-parseInt(_0xd14c08(0xb2))/0xa;if(_0x3aef48===_0x4a0cba)break;else _0x39f222['push'](_0x39f222['shift']());}catch(_0x348cc4){_0x39f222['push'](_0x39f222['shift']());}}}(_0x5041,0x9f365));import{Command as _0x39d1d5}from'ckeditor5/src/core.js';function _0x5041(){const _0x57adf4=['has','isCollapsed','schema','AIChatController','other','AIChat','addSelectionToChatContext','get','log','ask-ai','label','sendMessage','AIActions','ACTION','ai-quick-actions-plugin-not-found','activateTab','_handleAIChatAction','22iwITea','locale','getSelectedBlocks','displayedPrompt','startConversation','plugins','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AITabs','8IjiRMw','args','4170162LnlInK','26488680RHUYMZ','document','1506390RtcTjE','prompt','executeAction','REVIEW','_handleAIReviewAction','18784PhGZEz','model','CHAT','parent','setSelection','icon','focusPromptInput','view','606mOGnvm','24805NvzcfQ','AIReviewMode','handleAIReviewAction','chat','removeSelectionFromChatContext','actionName','change','_handleAIActionsAction','editor','type','7965927AyxlFT','execute','_handleAIActionsActionLabel','5604914qoWrxk','_expandSelectionIfCollapsed','getLimitElement','selection'];_0x5041=function(){return _0x57adf4;};return _0x5041();}import{CKEditorError as _0x83e851,first as _0x3f75c3}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x205d62}from'./aiquickactionsui.js';import{getTranslation as _0x81c73c}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x39d1d5{[_0xf85acf(0xcd)](_0x2b074c){const _0x30990b=_0xf85acf;switch(this[_0x30990b(0xd0)](),_0x2b074c[_0x30990b(0xcb)]){case _0x205d62[_0x30990b(0xbb)]:if(!this[_0x30990b(0xca)][_0x30990b(0xe9)][_0x30990b(0xd3)](_0x30990b(0xd8))){const _0x53b1f5=_0x81c73c(this[_0x30990b(0xca)][_0x30990b(0xe5)],_0x30990b(0xea),_0x30990b(0xd8));throw new _0x83e851(_0x30990b(0xe1),this[_0x30990b(0xca)],{'errorMessage':_0x53b1f5});}this[_0x30990b(0xe3)](_0x2b074c);break;case _0x205d62[_0x30990b(0xe0)]:if(!this[_0x30990b(0xca)][_0x30990b(0xe9)][_0x30990b(0xd3)](_0x30990b(0xdf))){const _0x4acabb=_0x81c73c(this[_0x30990b(0xca)][_0x30990b(0xe5)],_0x30990b(0xea),_0x30990b(0xdf));throw new _0x83e851(_0x30990b(0xe1),this[_0x30990b(0xca)],{'errorMessage':_0x4acabb});}this[_0x30990b(0xc9)](_0x2b074c);break;case _0x205d62[_0x30990b(0xb7)]:if(!this[_0x30990b(0xca)][_0x30990b(0xe9)][_0x30990b(0xd3)](_0x30990b(0xc3))){const _0x6e5be3=_0x81c73c(this[_0x30990b(0xca)][_0x30990b(0xe5)],_0x30990b(0xea),_0x30990b(0xc3));throw new _0x83e851(_0x30990b(0xe1),this[_0x30990b(0xca)],{'errorMessage':_0x6e5be3});}this[_0x30990b(0xb8)](_0x2b074c);}}async[_0xf85acf(0xe3)](_0x518bf0){const _0x3e4557=_0xf85acf,_0x1c63d2=this[_0x3e4557(0xca)][_0x3e4557(0xe9)][_0x3e4557(0xda)](_0x3e4557(0xd8)),_0x334789=this[_0x3e4557(0xca)][_0x3e4557(0xe9)][_0x3e4557(0xda)](_0x3e4557(0xd6));if(this[_0x3e4557(0xca)][_0x3e4557(0xe9)][_0x3e4557(0xda)](_0x3e4557(0xeb))[_0x3e4557(0xc0)][_0x3e4557(0xe2)](_0x3e4557(0xc5)),_0x3e4557(0xdc)===_0x518bf0['id'])_0x334789[_0x3e4557(0xc6)](),await _0x1c63d2[_0x3e4557(0xd9)](),_0x1c63d2[_0x3e4557(0xbf)]();else await _0x1c63d2[_0x3e4557(0xe8)](),_0x334789[_0x3e4557(0xc6)](),await _0x1c63d2[_0x3e4557(0xd9)](),_0x1c63d2[_0x3e4557(0xbf)](),await _0x1c63d2[_0x3e4557(0xde)]({'message':_0x518bf0[_0x3e4557(0xb5)]||_0x518bf0[_0x3e4557(0xe7)],'quickActionData':{'id':_0x518bf0['id'],'displayedPrompt':_0x518bf0[_0x3e4557(0xe7)]}});}[_0xf85acf(0xd0)](){const _0x2ea527=_0xf85acf,_0x5a10ce=this[_0x2ea527(0xca)],_0x410cc9=_0x5a10ce[_0x2ea527(0xba)][_0x2ea527(0xb3)][_0x2ea527(0xd2)];if(!_0x410cc9[_0x2ea527(0xd4)])return;const _0x35a377=_0x3f75c3(_0x410cc9[_0x2ea527(0xe6)]())||_0x5a10ce[_0x2ea527(0xba)][_0x2ea527(0xd5)][_0x2ea527(0xd1)](_0x410cc9);_0x5a10ce[_0x2ea527(0xba)][_0x2ea527(0xc8)](_0x36c5c9=>{const _0x5696a4=_0x2ea527;_0x36c5c9[_0x5696a4(0xbd)](_0x35a377,'in');});}[_0xf85acf(0xce)](_0xa45c09){const _0x18b9c1=_0xf85acf;return _0xa45c09[_0x18b9c1(0xbc)]?.[_0x18b9c1(0xdd)]&&_0x18b9c1(0xd7)!==_0xa45c09[_0x18b9c1(0xbc)]?.['id']?_0xa45c09[_0x18b9c1(0xbc)][_0x18b9c1(0xdd)]+':\x20'+_0xa45c09[_0x18b9c1(0xe7)]:_0xa45c09[_0x18b9c1(0xe7)];}async[_0xf85acf(0xc9)](_0x28138b){const _0x5b95a9=_0xf85acf,_0x152eaa=this[_0x5b95a9(0xca)][_0x5b95a9(0xe9)][_0x5b95a9(0xda)](_0x5b95a9(0xdf)),_0x1ef96e=_0x28138b[_0x5b95a9(0xb5)]?{'userMessage':_0x28138b[_0x5b95a9(0xb5)],'model':_0x28138b[_0x5b95a9(0xba)]}:{'actionName':_0x28138b[_0x5b95a9(0xc7)]||_0x28138b['id'],'args':_0x28138b[_0x5b95a9(0xb0)]},_0x65a75c=this[_0x5b95a9(0xce)](_0x28138b);await _0x152eaa[_0x5b95a9(0xb6)](_0x1ef96e,_0x65a75c,_0x28138b[_0x5b95a9(0xbe)]);}async[_0xf85acf(0xb8)](_0x517ba5){const _0x1a428a=_0xf85acf;console[_0x1a428a(0xdb)](_0x1a428a(0xc4),_0x517ba5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2c37(_0x3a1908,_0x2b1a3f){const _0x202d19=_0x202d();return _0x2c37=function(_0x2c371a,_0x374c86){_0x2c371a=_0x2c371a-0x1d4;let _0xd51d06=_0x202d19[_0x2c371a];return _0xd51d06;},_0x2c37(_0x3a1908,_0x2b1a3f);}function _0x202d(){const _0x411d5b=['selection','removeSelectionFromChatContext','230803mFkhpa','pluginName','AIQuickActionsEditing','change:range','add','1157370KDpHPe','1184790uNaKwm','commands','plugins','document','get','aiQuickAction','model','directChange','1162860iLidOx','9MgHAaT','AIChat','has','isPremiumPlugin','init','editor','isOfficialPlugin','7414370URTXeX','8NxoVLc','2PPgotu','1177264wUtWNB','3341282ezYTkU'];_0x202d=function(){return _0x411d5b;};return _0x202d();}const _0x55ca1f=_0x2c37;(function(_0x57cc5b,_0x31b066){const _0x4899f0=_0x2c37,_0x4d9db9=_0x57cc5b();while(!![]){try{const _0x77472a=-parseInt(_0x4899f0(0x1ed))/0x1*(parseInt(_0x4899f0(0x1e8))/0x2)+-parseInt(_0x4899f0(0x1d6))/0x3+-parseInt(_0x4899f0(0x1e9))/0x4+-parseInt(_0x4899f0(0x1de))/0x5+parseInt(_0x4899f0(0x1d5))/0x6+-parseInt(_0x4899f0(0x1ea))/0x7*(-parseInt(_0x4899f0(0x1e7))/0x8)+-parseInt(_0x4899f0(0x1df))/0x9*(-parseInt(_0x4899f0(0x1e6))/0xa);if(_0x77472a===_0x31b066)break;else _0x4d9db9['push'](_0x4d9db9['shift']());}catch(_0x451830){_0x4d9db9['push'](_0x4d9db9['shift']());}}}(_0x202d,0x3f3dd));import{Plugin as _0x530563}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x44b912}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x530563{static get[_0x55ca1f(0x1ee)](){const _0x51ba30=_0x55ca1f;return _0x51ba30(0x1ef);}static get[_0x55ca1f(0x1e5)](){return!0x0;}static get[_0x55ca1f(0x1e2)](){return!0x0;}[_0x55ca1f(0x1e3)](){const _0xaa31a9=_0x55ca1f,_0x5d3748=this[_0xaa31a9(0x1e4)],_0xf005e6=new _0x44b912(this[_0xaa31a9(0x1e4)]);if(_0x5d3748[_0xaa31a9(0x1d7)][_0xaa31a9(0x1d4)](_0xaa31a9(0x1db),_0xf005e6),_0x5d3748[_0xaa31a9(0x1d8)][_0xaa31a9(0x1e1)](_0xaa31a9(0x1e0))){const _0x43c0f8=this[_0xaa31a9(0x1e4)][_0xaa31a9(0x1d8)][_0xaa31a9(0x1da)](_0xaa31a9(0x1e0));_0x5d3748[_0xaa31a9(0x1dc)][_0xaa31a9(0x1d9)][_0xaa31a9(0x1eb)]['on'](_0xaa31a9(0x1f0),(_0x360526,_0x264644)=>{const _0x36a77a=_0xaa31a9;_0x264644[_0x36a77a(0x1dd)]&&_0x43c0f8[_0x36a77a(0x1ec)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e877a=_0x27bd;(function(_0xb3f3fe,_0x1f6a3c){const _0x411c92=_0x27bd,_0x3f7e3f=_0xb3f3fe();while(!![]){try{const _0x12b24f=-parseInt(_0x411c92(0xcf))/0x1+-parseInt(_0x411c92(0xc8))/0x2*(parseInt(_0x411c92(0xb6))/0x3)+-parseInt(_0x411c92(0xfb))/0x4+parseInt(_0x411c92(0x93))/0x5+parseInt(_0x411c92(0xf7))/0x6*(-parseInt(_0x411c92(0xa1))/0x7)+-parseInt(_0x411c92(0xc6))/0x8*(parseInt(_0x411c92(0xd1))/0x9)+parseInt(_0x411c92(0x102))/0xa;if(_0x12b24f===_0x1f6a3c)break;else _0x3f7e3f['push'](_0x3f7e3f['shift']());}catch(_0xc73f1b){_0x3f7e3f['push'](_0x3f7e3f['shift']());}}}(_0x5e81,0x67251));function _0x27bd(_0x1ef7f6,_0x2e04c0){const _0x5e8157=_0x5e81();return _0x27bd=function(_0x27bd93,_0x34c4dd){_0x27bd93=_0x27bd93-0x8a;let _0x2425d8=_0x5e8157[_0x27bd93];return _0x2425d8;},_0x27bd(_0x1ef7f6,_0x2e04c0);}import{IconAIAdjustLength as _0x4a56a3,IconAIChangeTone as _0x57ce19,IconAIChatCommands as _0x1e5240,IconAIContinueWriting as _0x5b3275,IconAIGrammarCheck as _0x4ef6e3,IconAIImproveWriting as _0x51f3b0,IconAIOther as _0x35c3c8,IconAIQuickActions as _0x17c44f,IconAITranslate as _0x40f186}from'@ckeditor/ckeditor5-icons';function _0x5e81(){const _0x361dd4=['buttonView','AI_QUICK_ACTIONS_OTHER','chinese','english','find','AI_QUICK_ACTIONS_IMPROVE_WRITING','language','DisplayNames','_initializeQuickActionsComponents','menu','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','_quickActionsDefinition','russian','menuBar:aiQuickActions','korean','1702960lBXFbz','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','1186908UHbdkK','isOfficialPlugin','improve-writing','actions','translate-to-english','menuitem','add','149090HOoHYp','make-tone-friendly','9GTnXhW','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_CONTINUE_WRITING','ask-ai','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','other','uiLanguage','CHAT','attachToDom','chat-commands','commands','AI_QUICK_ACTIONS_EXPLAIN','getDefaultQuickActions','AI_QUICK_ACTIONS_MORE_FRIENDLY','icon','filter','_getDefaultAndCustomActions','init','<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>','aiQuickActions','_prepareQuickActionsDefinition','forEach','has','delegate','AIReviewMode','AI_QUICK_ACTIONS_CHANGE_TONE','panelView','_initializeQuickActionsMenuBar','translate-to-korean','translate-to-japanese','pluginName','isPremiumPlugin','includes','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_CHAT_COMMANDS','componentFactory','4495794OsktAm','AI_QUICK_ACTIONS_MORE_CONFIDENT','_shouldIncludeAction','label','1555988zeiqWB','spanish','AI_QUICK_ACTIONS_MAKE_SHORTER','change-tone','close','requires','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','22670310SeVUly','editor','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','japanese','translate-to-german','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','children','ai.quickActions.removeCommands','map','AI_QUICK_ACTIONS_MORE_CASUAL','translate','aiQuickAction','view','_initializeQuickActionsComponentsAndCommands','translate-to-italian','AI_QUICK_ACTIONS_ASK_AI','make-tone-direct','push','AIChat','french','summarize','make-tone-casual','menuBarView','explain','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-longer','items','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_SUMMARIZE','execute','translate-to-russian','_executeQuickAction','german','translate-to-portuguese','italian','editing','AIQuickActionsUI','replace','1245800ABsywh','focus','ACTION','values','get','highlight-key-points','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','make-shorter','AI_QUICK_ACTIONS_TRANSLATE','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-confident','continue','length','7lDntTi','portuguese','translate-to-french','AIActions','config','translate-to-chinese','locale','_initializeQuickActionsDropdown','translate-to-spanish','AI_QUICK_ACTIONS_MORE_DIRECT','some','displayedPrompt','plugins','set','make-tone-professional','type','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','fix-grammar','English','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','3VehRCK'];_0x5e81=function(){return _0x361dd4;};return _0x5e81();}import{Plugin as _0x39990b}from'ckeditor5/src/core.js';import{getTranslation as _0x160a5a}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x44662b}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5edf5b}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x383cfd,BalloonToolbar as _0xbbc452,MenuBarMenuView as _0x438f2e,MenuBarMenuListView as _0x4da4dd,MenuBarMenuListItemView as _0x3a938c,MenuBarMenuListItemButtonView as _0x19fc9f}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Mt=_0x5e877a(0x9d),Lt=_0x5e877a(0x104),Dt=_0x5e877a(0xe5);export var AIQuickActionType;!function(_0x225324){const _0x256b60=_0x5e877a;_0x225324[_0x256b60(0xda)]=_0x256b60(0xda),_0x225324[_0x256b60(0x95)]=_0x256b60(0x95),_0x225324[_0x256b60(0xb4)]=_0x256b60(0xb4);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x1c3319){const _0x46fa22=_0x5e877a;_0x1c3319[_0x46fa22(0xda)]=_0x46fa22(0x116),_0x1c3319[_0x46fa22(0x95)]=_0x46fa22(0xa4),_0x1c3319[_0x46fa22(0xb4)]=_0x46fa22(0xeb);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x39990b{static get[_0x5e877a(0x100)](){return[_0xbbc452];}static get[_0x5e877a(0xf1)](){const _0x57d160=_0x5e877a;return _0x57d160(0x91);}static get[_0x5e877a(0xc9)](){return!0x0;}static get[_0x5e877a(0xf2)](){return!0x0;}[_0x5e877a(0xe4)](){const _0x3b54c6=_0x5e877a;this[_0x3b54c6(0xe7)](this[_0x3b54c6(0xe3)]()),this[_0x3b54c6(0x111)]();}static[_0x5e877a(0xdf)](_0x2eb10b){return function(_0x437efb){const _0xc9e370=_0x27bd,_0x5564af=new Intl[(_0xc9e370(0xbe))](['en'],{'type':_0xc9e370(0xbd)})['of'](_0x437efb[_0xc9e370(0xd9)]),_0x170e75=_0x5564af||_0xc9e370(0xb3),_0x384476=[{'id':_0xc9e370(0xd5),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x113)),'type':AIQuickActionType[_0xc9e370(0xda)],'icon':_0x1e5240},{'id':_0xc9e370(0xdc),'label':_0x160a5a(_0x437efb,_0xc9e370(0xf5)),'icon':_0x1e5240,'actions':[{'id':_0xc9e370(0x11b),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xde)),'prompt':Mt[_0xc9e370(0x92)]('%0',_0x170e75),'type':AIQuickActionType[_0xc9e370(0xda)]},{'id':_0xc9e370(0x118),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x121)),'prompt':Lt[_0xc9e370(0x92)]('%0',_0x170e75),'type':AIQuickActionType[_0xc9e370(0xda)]},{'id':_0xc9e370(0x98),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x109)),'prompt':Dt[_0xc9e370(0x92)]('%0',_0x170e75),'type':AIQuickActionType[_0xc9e370(0xda)]}]},{'id':_0xc9e370(0xca),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xbc)),'type':AIQuickActionType[_0xc9e370(0x95)],'icon':_0x51f3b0},{'id':_0xc9e370(0x9f),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xd4)),'type':AIQuickActionType[_0xc9e370(0x95)],'icon':_0x5b3275},{'id':_0xc9e370(0xb2),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x106)),'type':AIQuickActionType[_0xc9e370(0x95)],'icon':_0x4ef6e3},{'id':_0xc9e370(0x11c),'label':_0x160a5a(_0x437efb,_0xc9e370(0xd6)),'icon':_0x4a56a3,'actions':[{'id':_0xc9e370(0x9b),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xfd)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0x11e),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x99)),'type':AIQuickActionType[_0xc9e370(0x95)]}]},{'id':_0xc9e370(0xfe),'label':_0x160a5a(_0x437efb,_0xc9e370(0xec)),'icon':_0x57ce19,'actions':[{'id':_0xc9e370(0x119),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x10d)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0x114),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xaa)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0xd0),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xe0)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0x9e),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xf8)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0xaf),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xd3)),'type':AIQuickActionType[_0xc9e370(0x95)]}]},{'id':_0xc9e370(0x10e),'label':_0x160a5a(_0x437efb,_0xc9e370(0x9c)),'icon':_0x40f186,'actions':[{'id':_0xc9e370(0xcc),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x11d)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xba)}},{'id':_0xc9e370(0xa6),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xb1)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xb9)}},{'id':_0xc9e370(0xa9),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xb5)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xfc)}},{'id':_0xc9e370(0x108),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x101)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0x8d)}},{'id':_0xc9e370(0xa3),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x9a)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0x117)}},{'id':_0xc9e370(0xf0),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xf4)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0x107)}},{'id':_0xc9e370(0x8e),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xc1)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xa2)}},{'id':_0xc9e370(0xef),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x120)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xc5)}},{'id':_0xc9e370(0x112),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xc7)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0x8f)}},{'id':_0xc9e370(0x8b),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xd7)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xc3)}}]},{'id':_0xc9e370(0xd8),'label':_0x160a5a(_0x437efb,_0xc9e370(0xb8)),'icon':_0x35c3c8,'actions':[]}];return _0x384476;}(_0x2eb10b);}[_0x5e877a(0xe3)](){const _0x572c89=_0x5e877a,_0x52fc28=AIQuickActionsUI[_0x572c89(0xdf)](this[_0x572c89(0x103)][_0x572c89(0xa7)]),_0x330987=(this[_0x572c89(0x103)][_0x572c89(0xa5)][_0x572c89(0x97)](_0x572c89(0xd2))||[])[_0x572c89(0x10c)](_0x2fa9aa=>({..._0x2fa9aa,'icon':void 0x0}));return _0x52fc28[_0x572c89(0xbb)](_0x350b79=>_0x572c89(0xd8)===_0x350b79['id'])[_0x572c89(0xcb)][_0x572c89(0x115)](..._0x330987),_0x52fc28;}[_0x5e877a(0x111)](){const _0x5d32a9=_0x5e877a,_0xd8668c=new _0x383cfd(this[_0x5d32a9(0x103)][_0x5d32a9(0xa7)]);_0xd8668c[_0x5d32a9(0xdb)](),this[_0x5d32a9(0xa8)](_0xd8668c),this[_0x5d32a9(0xee)](),this[_0x5d32a9(0xbf)](_0xd8668c);}[_0x5e877a(0xa8)](_0x3b3be5){const _0x18bb8d=_0x5e877a;this[_0x18bb8d(0x103)]['ui'][_0x18bb8d(0xf6)][_0x18bb8d(0xce)](_0x18bb8d(0xe6),_0x44662b(this[_0x18bb8d(0x103)],this[_0x18bb8d(0xc2)],{'icon':_0x17c44f,'label':_0x160a5a(this[_0x18bb8d(0x103)][_0x18bb8d(0xa7)],_0x18bb8d(0x105))},_0x3b3be5));}[_0x5e877a(0xe7)](_0x34014d){const _0x140b98=_0x5e877a;this[_0x140b98(0xc2)]=_0x34014d[_0x140b98(0x10c)](_0x308888=>{const _0x437a64=_0x140b98;if(_0x437a64(0xcb)in _0x308888){const _0xf261b4=_0x308888;return{..._0xf261b4,'actions':_0xf261b4[_0x437a64(0xcb)][_0x437a64(0x10c)](_0x4cb054=>{const {actions:_0xc784ee,..._0x2a823e}=_0xf261b4;return{..._0x4cb054,'parent':_0x2a823e};})[_0x437a64(0xe2)](_0x1219da=>this[_0x437a64(0xf9)](_0x1219da))};}return _0x308888;})[_0x140b98(0xe2)](_0x4ac3eb=>_0x140b98(0xcb)in _0x4ac3eb?_0x4ac3eb[_0x140b98(0xcb)][_0x140b98(0xa0)]>0x0:this[_0x140b98(0xf9)](_0x4ac3eb));}[_0x5e877a(0xf9)](_0x4f1d84){const _0x2520f8=_0x5e877a,_0x672c4=this[_0x2520f8(0x103)][_0x2520f8(0xa5)][_0x2520f8(0x97)](_0x2520f8(0x10b))||[];return this[_0x2520f8(0x103)][_0x2520f8(0xad)][_0x2520f8(0xe9)](AIQuickActionTypeToPluginName[_0x4f1d84[_0x2520f8(0xb0)]])&&!_0x672c4[_0x2520f8(0xf3)](_0x4f1d84['id']);}[_0x5e877a(0xbf)](_0x3ad643){const _0x48507e=_0x5e877a;this[_0x48507e(0xc2)][_0x48507e(0xe8)](_0xb97f5e=>{const _0x46ad59=_0x48507e;if(_0x46ad59(0xcb)in _0xb97f5e){const _0x3690b2=_0x44662b(this[_0x46ad59(0x103)],_0xb97f5e[_0x46ad59(0xcb)],_0xb97f5e,_0x3ad643);this[_0x46ad59(0x103)]['ui'][_0x46ad59(0xf6)][_0x46ad59(0xce)](_0xb97f5e['id'],_0x3690b2),_0xb97f5e[_0x46ad59(0xcb)][_0x46ad59(0xe8)](_0x2576e8=>{const _0x42e921=_0x46ad59,_0x116b86=_0x5edf5b(this[_0x42e921(0x103)],_0x2576e8);this[_0x42e921(0x103)]['ui'][_0x42e921(0xf6)][_0x42e921(0xce)](_0x2576e8['id'],_0x116b86);});}else{const _0x52aae0=_0x5edf5b(this[_0x46ad59(0x103)],_0xb97f5e,!0x1,!0x0,!0x1);this[_0x46ad59(0x103)]['ui'][_0x46ad59(0xf6)][_0x46ad59(0xce)](_0xb97f5e['id'],_0x52aae0);}});}[_0x5e877a(0xee)](){const _0x2c8014=_0x5e877a;this[_0x2c8014(0x103)]['ui'][_0x2c8014(0xf6)][_0x2c8014(0xce)](_0x2c8014(0xc4),_0x2c7df1=>{const _0xd129f0=_0x2c8014,_0x401bfd=new _0x438f2e(_0x2c7df1),_0x4dea73=_0x160a5a(_0x2c7df1,_0xd129f0(0x105));_0x401bfd[_0xd129f0(0xb7)][_0xd129f0(0xae)]({'label':_0x4dea73,'icon':_0x17c44f});const _0x226bdd=new _0x4da4dd(_0x2c7df1);_0x226bdd[_0xd129f0(0xae)]({'ariaLabel':_0x4dea73,'role':_0xd129f0(0xc0)}),this[_0xd129f0(0xc2)][_0xd129f0(0xe8)](_0x30e341=>{const _0x10f3d0=_0xd129f0;if(_0x10f3d0(0xcb)in _0x30e341){const _0x56d353=_0x30e341,_0x12020a=new _0x3a938c(_0x2c7df1,_0x401bfd),_0x3a3c5a=new _0x438f2e(_0x2c7df1),_0x599fe8=new _0x4da4dd(_0x2c7df1);_0x3a3c5a[_0x10f3d0(0xb7)][_0x10f3d0(0xae)]({'label':_0x56d353[_0x10f3d0(0xfa)],'icon':_0x56d353[_0x10f3d0(0xe1)]}),_0x56d353[_0x10f3d0(0xcb)][_0x10f3d0(0xe8)](_0x5e48d6=>{const _0x5bffb5=_0x10f3d0,_0x28a208=new _0x3a938c(_0x2c7df1,_0x3a3c5a),_0x448b8d=new _0x19fc9f(_0x2c7df1);_0x448b8d[_0x5bffb5(0xae)]({'label':_0x5e48d6[_0x5bffb5(0xac)],'icon':_0x5e48d6[_0x5bffb5(0xe1)],'role':_0x5bffb5(0xcd)}),_0x448b8d['on'](_0x5bffb5(0x8a),()=>{const _0x40b6e3=_0x5bffb5;this[_0x40b6e3(0x8c)](_0x5e48d6);}),_0x448b8d[_0x5bffb5(0xea)](_0x5bffb5(0x8a))['to'](_0x3a3c5a),_0x28a208[_0x5bffb5(0x10a)][_0x5bffb5(0xce)](_0x448b8d),_0x599fe8[_0x5bffb5(0x11f)][_0x5bffb5(0xce)](_0x28a208);}),_0x3a3c5a[_0x10f3d0(0xed)][_0x10f3d0(0x10a)][_0x10f3d0(0xce)](_0x599fe8),_0x12020a[_0x10f3d0(0x10a)][_0x10f3d0(0xce)](_0x3a3c5a),_0x226bdd[_0x10f3d0(0x11f)][_0x10f3d0(0xce)](_0x12020a);}else{const _0x48b2b6=_0x30e341,_0xdc1aa6=new _0x3a938c(_0x2c7df1,_0x401bfd),_0x258bf2=new _0x19fc9f(_0x2c7df1);_0x258bf2[_0x10f3d0(0xae)]({'label':_0x48b2b6[_0x10f3d0(0xac)],'icon':_0x48b2b6[_0x10f3d0(0xe1)],'role':_0x10f3d0(0xcd)}),_0x258bf2['on'](_0x10f3d0(0x8a),()=>{const _0x1ae33d=_0x10f3d0;this[_0x1ae33d(0x8c)](_0x48b2b6);}),_0x258bf2[_0x10f3d0(0xea)](_0x10f3d0(0x8a))['to'](_0x401bfd),_0xdc1aa6[_0x10f3d0(0x10a)][_0x10f3d0(0xce)](_0x258bf2),_0x226bdd[_0x10f3d0(0x11f)][_0x10f3d0(0xce)](_0xdc1aa6);}});const _0x3e825a=Object[_0xd129f0(0x96)](AIQuickActionTypeToPluginName)[_0xd129f0(0xab)](_0xf6484d=>this[_0xd129f0(0x103)][_0xd129f0(0xad)][_0xd129f0(0xe9)](_0xf6484d));return _0x401bfd[_0xd129f0(0xae)]({'isEnabled':_0x3e825a}),_0x401bfd[_0xd129f0(0xed)][_0xd129f0(0x10a)][_0xd129f0(0xce)](_0x226bdd),_0x401bfd;});}[_0x5e877a(0x8c)](_0x3078bc){const _0x1569d9=_0x5e877a,_0x2b6cfa=this[_0x1569d9(0x103)];_0x2b6cfa[_0x1569d9(0x90)][_0x1569d9(0x110)][_0x1569d9(0x94)](),_0x2b6cfa[_0x1569d9(0xdd)][_0x1569d9(0x8a)](_0x1569d9(0x10f),_0x3078bc);const _0x92d256=_0x2b6cfa['ui'][_0x1569d9(0x110)][_0x1569d9(0x11a)];_0x92d256&&_0x92d256[_0x1569d9(0xff)]&&_0x92d256[_0x1569d9(0xff)]();}}
|
|
23
|
+
const _0x5d4ef7=_0x4959;(function(_0x272db5,_0x2cbd54){const _0x4c37ec=_0x4959,_0x55c17b=_0x272db5();while(!![]){try{const _0x42759a=parseInt(_0x4c37ec(0x116))/0x1+parseInt(_0x4c37ec(0xdb))/0x2+parseInt(_0x4c37ec(0xef))/0x3*(parseInt(_0x4c37ec(0xe7))/0x4)+-parseInt(_0x4c37ec(0x102))/0x5*(parseInt(_0x4c37ec(0x114))/0x6)+-parseInt(_0x4c37ec(0xb2))/0x7+parseInt(_0x4c37ec(0xe9))/0x8+parseInt(_0x4c37ec(0xf8))/0x9*(-parseInt(_0x4c37ec(0x110))/0xa);if(_0x42759a===_0x2cbd54)break;else _0x55c17b['push'](_0x55c17b['shift']());}catch(_0x127977){_0x55c17b['push'](_0x55c17b['shift']());}}}(_0x159e,0x560d9));import{IconAIAdjustLength as _0xd7e876,IconAIChangeTone as _0x37b9e6,IconAIChatCommands as _0x101a5c,IconAIContinueWriting as _0x348dfe,IconAIGrammarCheck as _0x31a9e3,IconAIImproveWriting as _0x3cad43,IconAIOther as _0x47394a,IconAIQuickActions as _0x42b0fe,IconAITranslate as _0x4e71cc}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1087df}from'ckeditor5/src/core.js';import{getTranslation as _0x57208d}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4fab29}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2c29a1}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3e27b3,BalloonToolbar as _0x1268bd,MenuBarMenuView as _0x347aa3,MenuBarMenuListView as _0x1a4d88,MenuBarMenuListItemView as _0x57b7a4,MenuBarMenuListItemButtonView as _0x15281b}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const oe=_0x5d4ef7(0x112),ae=_0x5d4ef7(0xcd),se=_0x5d4ef7(0xfc);export var AIQuickActionType;!function(_0x38b5e3){const _0x29a627=_0x5d4ef7;_0x38b5e3[_0x29a627(0xa6)]=_0x29a627(0xa6),_0x38b5e3[_0x29a627(0xb3)]=_0x29a627(0xb3),_0x38b5e3[_0x29a627(0xd0)]=_0x29a627(0xd0);}(AIQuickActionType||(AIQuickActionType={}));function _0x4959(_0x4ae289,_0xa2486c){const _0x159eb4=_0x159e();return _0x4959=function(_0x4959a7,_0xc8da27){_0x4959a7=_0x4959a7-0x80;let _0x3a4ffa=_0x159eb4[_0x4959a7];return _0x3a4ffa;},_0x4959(_0x4ae289,_0xa2486c);}export var AIQuickActionTypeToPluginName;!function(_0x4af3ac){const _0x369922=_0x5d4ef7;_0x4af3ac[_0x369922(0xa6)]=_0x369922(0xc0),_0x4af3ac[_0x369922(0xb3)]=_0x369922(0x8f),_0x4af3ac[_0x369922(0xd0)]=_0x369922(0x104);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x159e(){const _0x35ed07=['get','make-tone-direct','AIChat','make-tone-professional','icon','uiLanguage','aiQuickAction','AI_QUICK_ACTIONS_MORE_DIRECT','korean','translate-to-russian','componentFactory','chinese','isPremiumPlugin','execute','ai.quickActions.removeCommands','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','REVIEW','menuBarView','portuguese','explain','AI_QUICK_ACTIONS_OTHER','items','make-tone-confident','_getDefaultAndCustomActions','_prepareQuickActionsDefinition','init','french','1330078CroeTM','russian','some','attachToDom','AI_QUICK_ACTIONS_MAKE_LONGER','includes','translate-to-german','ask-ai','change-tone','AI_QUICK_ACTIONS_EXPLAIN','children','AI_QUICK_ACTIONS_MORE_CONFIDENT','2426820Bimgcj','English','1791312ldvRgX','menu','locale','german','forEach','translate-to-chinese','3KvBliv','close','DisplayNames','AI_QUICK_ACTIONS_MORE_FRIENDLY','_quickActionsDefinition','_executeQuickAction','focus','italian','push','9xYXwJm','AI_QUICK_ACTIONS_CONTINUE_WRITING','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','<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_CHANGE_TONE','translate','buttonView','label','editor','728495WBbNux','japanese','AIReviewMode','make-tone-friendly','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','find','other','values','translate-to-japanese','fix-grammar','panelView','AI_QUICK_ACTIONS_ASK_AI','_initializeQuickActionsMenuBar','translate-to-spanish','9860630fAWgeC','translate-to-portuguese','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_IMPROVE_WRITING','12RSPayX','AI_QUICK_ACTIONS_SUMMARIZE','200205rNtrqR','translate-to-english','isOfficialPlugin','requires','has','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuitem','_shouldIncludeAction','language','replace','english','delegate','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','summarize','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','editing','plugins','AIActions','getDefaultQuickActions','commands','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','actions','translate-to-korean','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','map','translate-to-french','type','pluginName','AI_QUICK_ACTIONS_MORE_CASUAL','displayedPrompt','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','chat-commands','make-tone-casual','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-italian','adjust-length','make-shorter','_initializeQuickActionsComponents','_initializeQuickActionsDropdown','CHAT','continue','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','_initializeQuickActionsComponentsAndCommands','menuBar:aiQuickActions','spanish','length','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','improve-writing','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','view','set','461503bpEkOZ','ACTION','AI_QUICK_ACTIONS_HEADING','config','aiQuickActions','AIQuickActionsUI','highlight-key-points','filter','make-longer','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_ADJUST_LENGTH','add'];_0x159e=function(){return _0x35ed07;};return _0x159e();}export class AIQuickActionsUI extends _0x1087df{static get[_0x5d4ef7(0x81)](){return[_0x1268bd];}static get[_0x5d4ef7(0x9a)](){const _0x1f4cc2=_0x5d4ef7;return _0x1f4cc2(0xb7);}static get[_0x5d4ef7(0x80)](){return!0x0;}static get[_0x5d4ef7(0xca)](){return!0x0;}[_0x5d4ef7(0xd9)](){const _0x41f83b=_0x5d4ef7;this[_0x41f83b(0xd8)](this[_0x41f83b(0xd7)]()),this[_0x41f83b(0xa9)]();}static[_0x5d4ef7(0x90)](_0x4f7348){return function(_0x52065e){const _0x100b39=_0x4959,_0x172de6=new Intl[(_0x100b39(0xf1))](['en'],{'type':_0x100b39(0x86)})['of'](_0x52065e[_0x100b39(0xc3)]),_0xd4f397=_0x172de6||_0x100b39(0xe8),_0x6c93f2=[{'id':_0x100b39(0xe2),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x10d)),'type':AIQuickActionType[_0x100b39(0xa6)],'icon':_0x101a5c},{'id':_0x100b39(0x9e),'label':_0x57208d(_0x52065e,_0x100b39(0x95)),'icon':_0x101a5c,'actions':[{'id':_0x100b39(0xd3),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xe4)),'prompt':oe[_0x100b39(0x87)]('%0',_0xd4f397),'type':AIQuickActionType[_0x100b39(0xa6)]},{'id':_0x100b39(0x8b),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x115)),'prompt':ae[_0x100b39(0x87)]('%0',_0xd4f397),'type':AIQuickActionType[_0x100b39(0xa6)]},{'id':_0x100b39(0xb8),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x83)),'prompt':se[_0x100b39(0x87)]('%0',_0xd4f397),'type':AIQuickActionType[_0x100b39(0xa6)]}]},{'id':_0x100b39(0xae),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x113)),'type':AIQuickActionType[_0x100b39(0xb3)],'icon':_0x3cad43},{'id':_0x100b39(0xa7),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xf9)),'type':AIQuickActionType[_0x100b39(0xb3)],'icon':_0x348dfe},{'id':_0x100b39(0x10b),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x96)),'type':AIQuickActionType[_0x100b39(0xb3)],'icon':_0x31a9e3},{'id':_0x100b39(0xa2),'label':_0x57208d(_0x52065e,_0x100b39(0xbc)),'icon':_0xd7e876,'actions':[{'id':_0x100b39(0xa3),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xbb)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0xba),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xdf)),'type':AIQuickActionType[_0x100b39(0xb3)]}]},{'id':_0x100b39(0xe3),'label':_0x57208d(_0x52065e,_0x100b39(0xfd)),'icon':_0x37b9e6,'actions':[{'id':_0x100b39(0x9f),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x9b)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0xbf),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xc5)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0x105),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xf2)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0xd6),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xe6)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0xc1),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x92)),'type':AIQuickActionType[_0x100b39(0xb3)]}]},{'id':_0x100b39(0xfe),'label':_0x57208d(_0x52065e,_0x100b39(0xce)),'icon':_0x4e71cc,'actions':[{'id':_0x100b39(0x117),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xa8)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0x88)}},{'id':_0x100b39(0xee),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xad)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xc9)}},{'id':_0x100b39(0x10f),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x9d)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xab)}},{'id':_0x100b39(0xe1),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x8a)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xec)}},{'id':_0x100b39(0x98),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xfb)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xda)}},{'id':_0x100b39(0x10a),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xa0)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0x103)}},{'id':_0x100b39(0x111),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xaf)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xd2)}},{'id':_0x100b39(0x94),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x106)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xc6)}},{'id':_0x100b39(0xa1),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x8c)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xf6)}},{'id':_0x100b39(0xc7),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xcf)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xdc)}}]},{'id':_0x100b39(0x108),'label':_0x57208d(_0x52065e,_0x100b39(0xd4)),'icon':_0x47394a,'actions':[]}];return _0x6c93f2;}(_0x4f7348);}[_0x5d4ef7(0xd7)](){const _0xe1fead=_0x5d4ef7,_0x34e2fe=AIQuickActionsUI[_0xe1fead(0x90)](this[_0xe1fead(0x101)][_0xe1fead(0xeb)]),_0x4c1030=(this[_0xe1fead(0x101)][_0xe1fead(0xb5)][_0xe1fead(0xbe)](_0xe1fead(0xfa))||[])[_0xe1fead(0x97)](_0x3e8227=>({..._0x3e8227,'icon':void 0x0}));return _0x34e2fe[_0xe1fead(0x107)](_0x5b5a60=>_0xe1fead(0x108)===_0x5b5a60['id'])[_0xe1fead(0x93)][_0xe1fead(0xf7)](..._0x4c1030),_0x34e2fe;}[_0x5d4ef7(0xa9)](){const _0x58c0a9=_0x5d4ef7,_0x317bfd=new _0x3e27b3(this[_0x58c0a9(0x101)][_0x58c0a9(0xeb)]);_0x317bfd[_0x58c0a9(0xde)](),this[_0x58c0a9(0xa5)](_0x317bfd),this[_0x58c0a9(0x10e)](),this[_0x58c0a9(0xa4)](_0x317bfd);}[_0x5d4ef7(0xa5)](_0x1923e2){const _0x481815=_0x5d4ef7;this[_0x481815(0x101)]['ui'][_0x481815(0xc8)][_0x481815(0xbd)](_0x481815(0xb6),_0x4fab29(this[_0x481815(0x101)],this[_0x481815(0xf3)],{'icon':_0x42b0fe,'label':_0x57208d(this[_0x481815(0x101)][_0x481815(0xeb)],_0x481815(0xb4))},_0x1923e2));}[_0x5d4ef7(0xd8)](_0x18ad26){const _0x59596e=_0x5d4ef7;this[_0x59596e(0xf3)]=_0x18ad26[_0x59596e(0x97)](_0x500654=>{const _0x160fe5=_0x59596e;if(_0x160fe5(0x93)in _0x500654){const _0x6278f8=_0x500654;return{..._0x6278f8,'actions':_0x6278f8[_0x160fe5(0x93)][_0x160fe5(0x97)](_0x349627=>{const {actions:_0x276ff9,..._0x1eb3b8}=_0x6278f8;return{..._0x349627,'parent':_0x1eb3b8};})[_0x160fe5(0xb9)](_0x86ea6b=>this[_0x160fe5(0x85)](_0x86ea6b))};}return _0x500654;})[_0x59596e(0xb9)](_0x5f4a28=>_0x59596e(0x93)in _0x5f4a28?_0x5f4a28[_0x59596e(0x93)][_0x59596e(0xac)]>0x0:this[_0x59596e(0x85)](_0x5f4a28));}[_0x5d4ef7(0x85)](_0x275a50){const _0x575df5=_0x5d4ef7,_0x2b8967=this[_0x575df5(0x101)][_0x575df5(0xb5)][_0x575df5(0xbe)](_0x575df5(0xcc))||[];return this[_0x575df5(0x101)][_0x575df5(0x8e)][_0x575df5(0x82)](AIQuickActionTypeToPluginName[_0x275a50[_0x575df5(0x99)]])&&!_0x2b8967[_0x575df5(0xe0)](_0x275a50['id']);}[_0x5d4ef7(0xa4)](_0xd3e210){const _0xfca8ca=_0x5d4ef7;this[_0xfca8ca(0xf3)][_0xfca8ca(0xed)](_0x5040dd=>{const _0x5f26a2=_0xfca8ca;if(_0x5f26a2(0x93)in _0x5040dd){const _0x53aa40=_0x4fab29(this[_0x5f26a2(0x101)],_0x5040dd[_0x5f26a2(0x93)],_0x5040dd,_0xd3e210);this[_0x5f26a2(0x101)]['ui'][_0x5f26a2(0xc8)][_0x5f26a2(0xbd)](_0x5040dd['id'],_0x53aa40),_0x5040dd[_0x5f26a2(0x93)][_0x5f26a2(0xed)](_0x372d69=>{const _0x3ec633=_0x5f26a2,_0x23e94f=_0x2c29a1(this[_0x3ec633(0x101)],_0x372d69);this[_0x3ec633(0x101)]['ui'][_0x3ec633(0xc8)][_0x3ec633(0xbd)](_0x372d69['id'],_0x23e94f);});}else{const _0x500299=_0x2c29a1(this[_0x5f26a2(0x101)],_0x5040dd,!0x1,!0x0,!0x1);this[_0x5f26a2(0x101)]['ui'][_0x5f26a2(0xc8)][_0x5f26a2(0xbd)](_0x5040dd['id'],_0x500299);}});}[_0x5d4ef7(0x10e)](){const _0x399abf=_0x5d4ef7;this[_0x399abf(0x101)]['ui'][_0x399abf(0xc8)][_0x399abf(0xbd)](_0x399abf(0xaa),_0x414673=>{const _0x5cdedf=_0x399abf,_0x445b78=new _0x347aa3(_0x414673),_0x345dc0=_0x57208d(_0x414673,_0x5cdedf(0xb4));_0x445b78[_0x5cdedf(0xff)][_0x5cdedf(0xb1)]({'label':_0x345dc0,'icon':_0x42b0fe});const _0x1f508d=new _0x1a4d88(_0x414673);_0x1f508d[_0x5cdedf(0xb1)]({'ariaLabel':_0x345dc0,'role':_0x5cdedf(0xea)}),this[_0x5cdedf(0xf3)][_0x5cdedf(0xed)](_0xede584=>{const _0x1d598d=_0x5cdedf;if(_0x1d598d(0x93)in _0xede584){const _0x3bcc1a=_0xede584,_0xebffa0=new _0x57b7a4(_0x414673,_0x445b78),_0x42f7fa=new _0x347aa3(_0x414673),_0x178eec=new _0x1a4d88(_0x414673);_0x42f7fa[_0x1d598d(0xff)][_0x1d598d(0xb1)]({'label':_0x3bcc1a[_0x1d598d(0x100)],'icon':_0x3bcc1a[_0x1d598d(0xc2)]}),_0x3bcc1a[_0x1d598d(0x93)][_0x1d598d(0xed)](_0x3f1ce5=>{const _0x406238=_0x1d598d,_0x2214fc=new _0x57b7a4(_0x414673,_0x42f7fa),_0x5849eb=new _0x15281b(_0x414673);_0x5849eb[_0x406238(0xb1)]({'label':_0x3f1ce5[_0x406238(0x9c)],'icon':_0x3f1ce5[_0x406238(0xc2)],'role':_0x406238(0x84)}),_0x5849eb['on'](_0x406238(0xcb),()=>{const _0x5bf3d8=_0x406238;this[_0x5bf3d8(0xf4)](_0x3f1ce5);}),_0x5849eb[_0x406238(0x89)](_0x406238(0xcb))['to'](_0x42f7fa),_0x2214fc[_0x406238(0xe5)][_0x406238(0xbd)](_0x5849eb),_0x178eec[_0x406238(0xd5)][_0x406238(0xbd)](_0x2214fc);}),_0x42f7fa[_0x1d598d(0x10c)][_0x1d598d(0xe5)][_0x1d598d(0xbd)](_0x178eec),_0xebffa0[_0x1d598d(0xe5)][_0x1d598d(0xbd)](_0x42f7fa),_0x1f508d[_0x1d598d(0xd5)][_0x1d598d(0xbd)](_0xebffa0);}else{const _0x46c1bd=_0xede584,_0x329aa1=new _0x57b7a4(_0x414673,_0x445b78),_0x149228=new _0x15281b(_0x414673);_0x149228[_0x1d598d(0xb1)]({'label':_0x46c1bd[_0x1d598d(0x9c)],'icon':_0x46c1bd[_0x1d598d(0xc2)],'role':_0x1d598d(0x84)}),_0x149228['on'](_0x1d598d(0xcb),()=>{const _0x9be638=_0x1d598d;this[_0x9be638(0xf4)](_0x46c1bd);}),_0x149228[_0x1d598d(0x89)](_0x1d598d(0xcb))['to'](_0x445b78),_0x329aa1[_0x1d598d(0xe5)][_0x1d598d(0xbd)](_0x149228),_0x1f508d[_0x1d598d(0xd5)][_0x1d598d(0xbd)](_0x329aa1);}});const _0x27463c=Object[_0x5cdedf(0x109)](AIQuickActionTypeToPluginName)[_0x5cdedf(0xdd)](_0x2e9eb2=>this[_0x5cdedf(0x101)][_0x5cdedf(0x8e)][_0x5cdedf(0x82)](_0x2e9eb2));return _0x445b78[_0x5cdedf(0xb1)]({'isEnabled':_0x27463c}),_0x445b78[_0x5cdedf(0x10c)][_0x5cdedf(0xe5)][_0x5cdedf(0xbd)](_0x1f508d),_0x445b78;});}[_0x5d4ef7(0xf4)](_0x1ff971){const _0x309b12=_0x5d4ef7,_0x559035=this[_0x309b12(0x101)];_0x559035[_0x309b12(0x8d)][_0x309b12(0xb0)][_0x309b12(0xf5)](),_0x559035[_0x309b12(0x91)][_0x309b12(0xcb)](_0x309b12(0xc4),_0x1ff971);const _0x4fd0f3=_0x559035['ui'][_0x309b12(0xb0)][_0x309b12(0xd1)];_0x4fd0f3&&_0x4fd0f3[_0x309b12(0xf0)]&&_0x4fd0f3[_0x309b12(0xf0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xdcee(){const _0x3c7b08=['execute','view','56085vLWZGX','editing','aiQuickAction','585381JyGOax','set','displayedPrompt','menuitem','commands','extendTemplate','ck-ai-quick-actions-button','icon','1448wOOyvC','422735vlbiku','bindTemplate','660162TdqjDv','focus','parent','766154KVTiIT','2213420pQWuuT','locale','18yLQGyJ','4bdIueI','4340jgDkjv'];_0xdcee=function(){return _0x3c7b08;};return _0xdcee();}(function(_0x1bea0b,_0x5d7693){const _0x36215b=_0x5b4f,_0x40afc5=_0x1bea0b();while(!![]){try{const _0x59dae1=parseInt(_0x36215b(0xef))/0x1+-parseInt(_0x36215b(0x100))/0x2+-parseInt(_0x36215b(0xf2))/0x3*(-parseInt(_0x36215b(0xeb))/0x4)+-parseInt(_0x36215b(0xfb))/0x5+-parseInt(_0x36215b(0xfd))/0x6+parseInt(_0x36215b(0xec))/0x7*(parseInt(_0x36215b(0xfa))/0x8)+parseInt(_0x36215b(0x103))/0x9*(parseInt(_0x36215b(0x101))/0xa);if(_0x59dae1===_0x5d7693)break;else _0x40afc5['push'](_0x40afc5['shift']());}catch(_0x5c1376){_0x40afc5['push'](_0x40afc5['shift']());}}}(_0xdcee,0x37c71));import{ButtonView as _0x81fd66}from'ckeditor5/src/ui.js';function _0x5b4f(_0x3d297d,_0x1f9f38){const _0xdcee39=_0xdcee();return _0x5b4f=function(_0x5b4f3b,_0x55a740){_0x5b4f3b=_0x5b4f3b-0xeb;let _0x5b4801=_0xdcee39[_0x5b4f3b];return _0x5b4801;},_0x5b4f(_0x3d297d,_0x1f9f38);}import{IconAIQuickActions as _0x1d0dcf}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x2c3e26,_0x2774ce,_0x286ecf=!0x1,_0x9a477b=!0x0,_0x57202a=!0x0){return()=>{const _0x2beea8=_0x5b4f,_0x1b8f3c=_0x2c3e26[_0x2beea8(0x102)],_0x215348=new _0x81fd66(_0x1b8f3c),_0x2d82a0=_0x215348[_0x2beea8(0xfc)];_0x57202a&&_0x215348[_0x2beea8(0xf7)]({'on':{'mouseenter':_0x2d82a0['to'](()=>{const _0x34b7dd=_0x2beea8;_0x215348[_0x34b7dd(0xfe)]();})}});const _0x245619=_0x2774ce[_0x2beea8(0xf9)]??_0x2774ce[_0x2beea8(0xff)]?.[_0x2beea8(0xf9)];return _0x215348[_0x2beea8(0xf3)]({'label':_0x2774ce[_0x2beea8(0xf4)],'withText':_0x286ecf,'role':_0x2beea8(0xf5),'icon':_0x9a477b?_0x245619??_0x1d0dcf:void 0x0,'tooltip':!_0x286ecf,'class':_0x2beea8(0xf8)}),_0x215348['on'](_0x2beea8(0xed),()=>{const _0x27e2ed=_0x2beea8;_0x2c3e26[_0x27e2ed(0xf0)][_0x27e2ed(0xee)][_0x27e2ed(0xfe)](),_0x2c3e26[_0x27e2ed(0xf6)][_0x27e2ed(0xed)](_0x27e2ed(0xf1),_0x2774ce);}),_0x215348;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1a12(_0x5c179f,_0xf058ed){const _0x35a4be=_0x35a4();return _0x1a12=function(_0x1a123e,_0x44d303){_0x1a123e=_0x1a123e-0xd1;let _0x56aef6=_0x35a4be[_0x1a123e];return _0x56aef6;},_0x1a12(_0x5c179f,_0xf058ed);}const _0x1e81b3=_0x1a12;(function(_0x475768,_0x18075c){const _0x568ab0=_0x1a12,_0x2aff16=_0x475768();while(!![]){try{const _0x4257bf=-parseInt(_0x568ab0(0x114))/0x1+parseInt(_0x568ab0(0xe5))/0x2*(-parseInt(_0x568ab0(0xff))/0x3)+-parseInt(_0x568ab0(0x11e))/0x4*(parseInt(_0x568ab0(0xf8))/0x5)+-parseInt(_0x568ab0(0x10b))/0x6+-parseInt(_0x568ab0(0x11a))/0x7+parseInt(_0x568ab0(0xe2))/0x8*(parseInt(_0x568ab0(0x100))/0x9)+parseInt(_0x568ab0(0x10c))/0xa;if(_0x4257bf===_0x18075c)break;else _0x2aff16['push'](_0x2aff16['shift']());}catch(_0x387950){_0x2aff16['push'](_0x2aff16['shift']());}}}(_0x35a4,0xbbab0));import{View as _0x1d4985,ListItemView as _0x27f69e,ListView as _0x2e588b,BalloonPanelView as _0x162f8d,DropdownMenuPanelPositioningFunctions as _0x2be76e,DropdownMenuButtonView as _0x17f6a1,ViewCollection as _0x31ae0a,FocusCycler as _0x3a16ed}from'ckeditor5/src/ui.js';function _0x35a4(){const _0x146572=['_setupGroupMenuBehavior','_isMovingToNestedMenu','focusCycler','ck-ai-quick-actions-group-panel','_createActionButton','6471948zAApEH','show','relatedTarget','addEventListener','976dTShVj','_showNestedPanel','ck-ai-quick-actions-group-button','addMany','hide','uiLanguageDirection','ck-reset_all','clear','closest','destroy','element','menuitem','bind','ck-rounded-corners','ck-ai-quick-actions-group-list','ck-dropdown-menu-list','_focusables','rtl','keystrokes','focus','314920VVqswL','.ck-ai-quick-actions-group-panel','children','4PZfEpP','setTemplate','key','_openNestedPanels','icon','role','_hideAllNestedPanels','.ck-ai-quick-actions-group-button','contains','optionsListView','mouseleave','forEach','get','ArrowRight','_createListItems','menu','ck-ai-quick-actions','_createGroupActionsList','set','6340cnWMXq','detachFromDom','content','_bodyCollection','bindTemplate','add','pin','674421jQhZSo','333GCdIqd','_hideNestedPanel','label','delete','ck-dropdown-menu__nested-menu__panel','extendTemplate','isVisible','isOn','_createActionGroupButton','div','actions','7671936suqXYu','32754590RGMNeZ','ArrowLeft','locale','items','.ck-ai-quick-actions-group-list','focusTracker','render','eastSouth','1001050OvAaJf'];_0x35a4=function(){return _0x146572;};return _0x35a4();}import{IconAIQuickActions as _0x3ad20e}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x22169b,KeystrokeHandler as _0x5f07af}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x5ed03a}from'./aiquickactionsbuttoncreator.js';const vs=_0x1e81b3(0xf4),Ls=_0x1e81b3(0xd9);export class AIQuickActionsDropdownContentView extends _0x1d4985{[_0x1e81b3(0xfb)];[_0x1e81b3(0xee)];[_0x1e81b3(0x111)];[_0x1e81b3(0xe0)];[_0x1e81b3(0xde)];[_0x1e81b3(0x117)];[_0x1e81b3(0xe8)]=new Set();constructor(_0x5d3934,_0x4ccc44,_0x4a610b,_0xe09056){const _0x11c0f3=_0x1e81b3,_0x281fde=_0x5d3934[_0x11c0f3(0x10e)];super(_0x281fde),this[_0x11c0f3(0xfb)]=_0xe09056;const _0x210898=this[_0x11c0f3(0xf3)](_0x5d3934,_0x4ccc44,_0x4a610b);this[_0x11c0f3(0xee)]=new _0x2e588b(_0x281fde),this[_0x11c0f3(0xee)][_0x11c0f3(0xea)]=vs,this[_0x11c0f3(0xee)][_0x11c0f3(0x10f)][_0x11c0f3(0xd1)](_0x210898),this[_0x11c0f3(0x111)]=new _0x22169b(),this[_0x11c0f3(0xe0)]=new _0x5f07af(),this[_0x11c0f3(0xde)]=_0x210898,this[_0x11c0f3(0x117)]=new _0x3a16ed({'focusables':this[_0x11c0f3(0xde)],'focusTracker':this[_0x11c0f3(0x111)],'keystrokeHandler':this[_0x11c0f3(0xe0)]}),this[_0x11c0f3(0xe6)]({'tag':_0x11c0f3(0x109),'attributes':{'class':['ck',_0x11c0f3(0xd4),_0x11c0f3(0xf5),_0x11c0f3(0xdb)],'dir':_0x281fde[_0x11c0f3(0xd3)]},'children':[this[_0x11c0f3(0xee)]]});}[_0x1e81b3(0xf3)](_0x51bed9,_0x337d24,_0x2d59ab){const _0x20ee7d=_0x1e81b3,_0x4f0313=new _0x31ae0a();return _0x337d24[_0x20ee7d(0xf0)](_0x337b7d=>{const _0x56daff=_0x20ee7d;_0x56daff(0x10a)in _0x337b7d?_0x4f0313[_0x56daff(0xfd)](this[_0x56daff(0x108)](_0x51bed9,_0x337b7d,_0x2d59ab)):_0x4f0313[_0x56daff(0xfd)](this[_0x56daff(0x119)](_0x51bed9,_0x337b7d));}),_0x4f0313;}[_0x1e81b3(0x119)](_0x13d09d,_0x3a59db){const _0x20274f=_0x1e81b3,_0x391cb4=new _0x27f69e(this[_0x20274f(0x10e)]),_0x2f117b=_0x5ed03a(_0x13d09d,_0x3a59db,!0x0,void 0x0!==_0x3a59db[_0x20274f(0xe9)])();return _0x391cb4[_0x20274f(0xe4)][_0x20274f(0xfd)](_0x2f117b),_0x391cb4;}[_0x1e81b3(0x108)](_0x51a2b6,_0xffe876,_0x9c9ecc){const _0x4bc160=_0x1e81b3,_0x48b1de=new _0x27f69e(this[_0x4bc160(0x10e)]),_0x43f5f3=new _0x17f6a1(this[_0x4bc160(0x10e)]),_0xe76408=_0x43f5f3[_0x4bc160(0xfc)],_0x59923d=_0x4bc160(0xdf)===_0x9c9ecc[_0x4bc160(0x10e)][_0x4bc160(0xd3)]?_0x4bc160(0xf2):_0x4bc160(0x10d),_0x13934d=this[_0x4bc160(0xf6)](_0x51a2b6,_0xffe876[_0x4bc160(0x10a)],_0x9c9ecc);_0x43f5f3[_0x4bc160(0xf7)]({'label':_0xffe876[_0x4bc160(0x102)],'withText':!0x0,'role':Ls,'icon':_0xffe876[_0x4bc160(0xe9)]??_0x3ad20e}),_0x43f5f3[_0x4bc160(0x105)]({'on':{'mouseenter':_0xe76408['to'](()=>{const _0x94b7d=_0x4bc160;_0x43f5f3[_0x94b7d(0xe1)]();})}});const _0x3567d2=new _0x162f8d(this[_0x4bc160(0x10e)]);return _0x3567d2[_0x4bc160(0x105)]({'attributes':{'class':['ck',_0x4bc160(0xd4),_0x4bc160(0x118),_0x4bc160(0x104)]},'on':{'keydown':_0xe76408['to'](_0x23a195=>{const _0x5b8381=_0x4bc160;_0x23a195[_0x5b8381(0xe7)]==_0x59923d&&(_0x43f5f3[_0x5b8381(0xe1)](),this[_0x5b8381(0x101)](_0x3567d2));})}}),_0x43f5f3[_0x4bc160(0xda)](_0x4bc160(0x107))['to'](_0x3567d2,_0x4bc160(0x106)),this[_0x4bc160(0xfb)][_0x4bc160(0xfd)](_0x3567d2),_0x3567d2[_0x4bc160(0xfa)][_0x4bc160(0xfd)](_0x13934d),this[_0x4bc160(0x115)](_0x43f5f3,_0x3567d2),_0x48b1de[_0x4bc160(0xe4)][_0x4bc160(0xfd)](_0x43f5f3),_0x48b1de;}[_0x1e81b3(0xf6)](_0x363dbe,_0x4fae50,_0x3ee46d){const _0x51e768=_0x1e81b3,_0x33cd1d=new _0x2e588b(this[_0x51e768(0x10e)]);return _0x33cd1d[_0x51e768(0x105)]({'attributes':{'class':['ck',_0x51e768(0xd4),_0x51e768(0xdc),_0x51e768(0xdd)]}}),_0x4fae50[_0x51e768(0xf0)](_0x715393=>{const _0x39f385=_0x51e768,_0x18307e=new _0x27f69e(this[_0x39f385(0x10e)]),_0xbdf9d2=_0x5ed03a(_0x363dbe,_0x715393,!0x0,!0x1)();_0x18307e[_0x39f385(0xe4)][_0x39f385(0xfd)](_0xbdf9d2),_0x3ee46d[_0x39f385(0x111)][_0x39f385(0xfd)](_0xbdf9d2),_0x33cd1d[_0x39f385(0x10f)][_0x39f385(0xfd)](_0x18307e);}),_0x33cd1d;}[_0x1e81b3(0x115)](_0x276a3b,_0x54da1c){const _0x1bd2a4=_0x1e81b3,_0x208d83=_0x276a3b[_0x1bd2a4(0xfc)],_0x394b57=_0x1bd2a4(0xdf)===_0x276a3b[_0x1bd2a4(0x10e)][_0x1bd2a4(0xd3)]?_0x1bd2a4(0x10d):_0x1bd2a4(0xf2);_0x276a3b[_0x1bd2a4(0x105)]({'attributes':{'class':[_0x1bd2a4(0x120)]},'on':{'mouseenter':_0x208d83['to'](()=>{const _0x35847c=_0x1bd2a4;this[_0x35847c(0x11f)](_0x54da1c,_0x276a3b);}),'mouseleave':_0x208d83['to'](_0x531f1b=>{const _0x1d5626=_0x1bd2a4,_0xa79a86=_0x531f1b[_0x1d5626(0x11c)];this[_0x1d5626(0x116)](_0xa79a86,_0x54da1c)||this[_0x1d5626(0x101)](_0x54da1c);}),'keydown':_0x208d83['to'](_0xe4ca6c=>{const _0x14b9a7=_0x1bd2a4;_0xe4ca6c[_0x14b9a7(0xe7)]==_0x394b57&&(this[_0x14b9a7(0x11f)](_0x54da1c,_0x276a3b),_0x54da1c[_0x14b9a7(0xfa)][_0x14b9a7(0xf1)](0x0)[_0x14b9a7(0xe1)]());})}}),_0x54da1c['on'](_0x1bd2a4(0x112),()=>{const _0x23e509=_0x1bd2a4;_0x54da1c[_0x23e509(0xd8)]?.[_0x23e509(0x11d)](_0x23e509(0xef),_0x5dce6f=>{const _0x396531=_0x23e509,_0x22d249=_0x5dce6f[_0x396531(0x11c)];_0x276a3b[_0x396531(0xd8)]?.[_0x396531(0xed)](_0x22d249)||this[_0x396531(0x116)](_0x22d249,_0x54da1c)||this[_0x396531(0x101)](_0x54da1c);});});}[_0x1e81b3(0x11f)](_0x390838,_0x36fe04){const _0x1d70d7=_0x1e81b3;this[_0x1d70d7(0xe8)][_0x1d70d7(0xf0)](_0x55adf9=>{const _0xccd142=_0x1d70d7;_0x55adf9!==_0x390838&&_0x55adf9[_0xccd142(0x106)]&&_0x55adf9[_0xccd142(0xd2)]();}),_0x390838[_0x1d70d7(0x11b)](),_0x390838[_0x1d70d7(0xfe)]({'positions':[_0x2be76e[_0x1d70d7(0x113)]],'target':_0x36fe04[_0x1d70d7(0xd8)],'fitInViewport':!0x0}),this[_0x1d70d7(0xe8)][_0x1d70d7(0xfd)](_0x390838);}[_0x1e81b3(0x101)](_0x3f909a){const _0x5ae14b=_0x1e81b3;_0x3f909a[_0x5ae14b(0xd2)](),this[_0x5ae14b(0xe8)][_0x5ae14b(0x103)](_0x3f909a);}[_0x1e81b3(0xeb)](){const _0x1c3b3c=_0x1e81b3;this[_0x1c3b3c(0xe8)][_0x1c3b3c(0xf0)](_0x1ebfdb=>_0x1ebfdb[_0x1c3b3c(0xd2)]()),this[_0x1c3b3c(0xe8)][_0x1c3b3c(0xd5)]();}[_0x1e81b3(0x116)](_0x32231f,_0x49514a){const _0x2a059f=_0x1e81b3;if(!_0x32231f)return!0x1;if(_0x49514a[_0x2a059f(0xd8)]?.[_0x2a059f(0xed)](_0x32231f))return!0x0;const _0x43cdde=_0x32231f;return _0x43cdde[_0x2a059f(0xd6)]&&(null!==_0x43cdde[_0x2a059f(0xd6)](_0x2a059f(0xe3))||null!==_0x43cdde[_0x2a059f(0xd6)](_0x2a059f(0x110))||null!==_0x43cdde[_0x2a059f(0xd6)](_0x2a059f(0xec)));}[_0x1e81b3(0xd7)](){const _0x2443d2=_0x1e81b3;this[_0x2443d2(0xeb)](),this[_0x2443d2(0xfb)][_0x2443d2(0xf9)](),super[_0x2443d2(0xd7)]();}[_0x1e81b3(0xe1)](){const _0x442eae=_0x1e81b3;this[_0x442eae(0xee)][_0x442eae(0xe1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4ec03e,_0x3bfc86){const _0x412a64=_0x553c,_0x3caa4=_0x4ec03e();while(!![]){try{const _0x22ae15=-parseInt(_0x412a64(0x103))/0x1+parseInt(_0x412a64(0x104))/0x2*(parseInt(_0x412a64(0xf8))/0x3)+-parseInt(_0x412a64(0xf9))/0x4*(parseInt(_0x412a64(0xfc))/0x5)+-parseInt(_0x412a64(0xf7))/0x6+-parseInt(_0x412a64(0x105))/0x7+-parseInt(_0x412a64(0xfe))/0x8+parseInt(_0x412a64(0xfa))/0x9*(parseInt(_0x412a64(0x106))/0xa);if(_0x22ae15===_0x3bfc86)break;else _0x3caa4['push'](_0x3caa4['shift']());}catch(_0x1c8d7e){_0x3caa4['push'](_0x3caa4['shift']());}}}(_0x3045,0x3bc8e));function _0x3045(){const _0x589425=['1153383Pslata','15870LepvxF','ck-ai-quick-actions-dropdown','icon','locale','1165494jyIjSc','216GYHHbd','204zpHeOw','6021rEwQSq','add','42495xiUYeZ','set','1728336aFSgHj','label','children','buttonView','panelView','89044uNCOIp','7798wmtGan'];_0x3045=function(){return _0x589425;};return _0x3045();}function _0x553c(_0xc5ac9,_0x47ed18){const _0x3045a3=_0x3045();return _0x553c=function(_0x553c0f,_0x4b610a){_0x553c0f=_0x553c0f-0xf6;let _0x2656fb=_0x3045a3[_0x553c0f];return _0x2656fb;},_0x553c(_0xc5ac9,_0x47ed18);}import{createDropdown as _0x3b08f4}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5c0d23}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x4dd846}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x21a8ea,_0x200dd7,_0x5501e6,_0x450e31){return()=>{const _0xb2f2da=_0x553c,_0x230610=_0x21a8ea[_0xb2f2da(0xf6)],_0x44b0d8=_0x3b08f4(_0x230610);_0x44b0d8[_0xb2f2da(0x101)][_0xb2f2da(0xfd)]({'icon':_0x5501e6[_0xb2f2da(0x108)]??_0x5c0d23,'label':_0x5501e6[_0xb2f2da(0xff)],'tooltip':!0x0}),_0x44b0d8[_0xb2f2da(0xfd)]({'class':_0xb2f2da(0x107)});const _0x310a6e=new _0x4dd846(_0x21a8ea,_0x200dd7,_0x44b0d8,_0x450e31);return _0x44b0d8[_0xb2f2da(0x102)][_0xb2f2da(0x100)][_0xb2f2da(0xfb)](_0x310a6e),_0x44b0d8;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x315004=_0x22c7;function _0x3322(){const _0x3f8c0a=['1aGfFbY','20tbmrDL','Readability','Confident','837340nRXmuo','friendly','Direct','Adjust\x20tone\x20and\x20style','Clarity','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','Spanish','3249402lAvFix','italian','make','Custom\x20command','Professional','correctness','casual','Translate\x20the\x20text\x20into\x20another\x20language.','Translate','14091440NSwgQw','Italian','readability','dropdown','29406zrmqpn','French','professional','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','french','2403528sDGvZs','chinese','Shorter','Portuguese','confident','Adjust\x20length','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','translate','English','korean','Correctness','make-tone','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Friendly','Longer','spanish','german','direct','German','Russian','Chinese\x20(Simplified)','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','portuguese','318722IrQsak','Select\x20language','clarity','japanese','1386036vsSXEI','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','shorter','russian','322NELBek','custom','Casual','Japanese','language','Korean','longer','english'];_0x3322=function(){return _0x3f8c0a;};return _0x3322();}function _0x22c7(_0x55914a,_0xa3294c){const _0x332244=_0x3322();return _0x22c7=function(_0x22c78c,_0x3cc596){_0x22c78c=_0x22c78c-0xd4;let _0x383c25=_0x332244[_0x22c78c];return _0x383c25;},_0x22c7(_0x55914a,_0xa3294c);}(function(_0x37820c,_0x3f50c0){const _0x3642a1=_0x22c7,_0x2f0d41=_0x37820c();while(!![]){try{const _0x1faf3b=parseInt(_0x3642a1(0xe4))/0x1*(parseInt(_0x3642a1(0xd4))/0x2)+parseInt(_0x3642a1(0xef))/0x3+parseInt(_0x3642a1(0xe5))/0x4*(parseInt(_0x3642a1(0xe8))/0x5)+-parseInt(_0x3642a1(0xfc))/0x6*(parseInt(_0x3642a1(0xdc))/0x7)+parseInt(_0x3642a1(0x101))/0x8+-parseInt(_0x3642a1(0xd8))/0x9+-parseInt(_0x3642a1(0xf8))/0xa;if(_0x1faf3b===_0x3f50c0)break;else _0x2f0d41['push'](_0x2f0d41['shift']());}catch(_0x4c7220){_0x2f0d41['push'](_0x2f0d41['shift']());}}}(_0x3322,0x90742));export const AI_REVIEW_CHECKS=[{'id':_0x315004(0xdd),'title':_0x315004(0xf2),'description':_0x315004(0xd9),'isParameterized':!0x0},{'id':_0x315004(0xf4),'title':_0x315004(0x10b),'description':_0x315004(0xff),'isParameterized':!0x1},{'id':_0x315004(0xd6),'title':_0x315004(0xec),'description':_0x315004(0x116),'isParameterized':!0x1},{'id':_0x315004(0xfa),'title':_0x315004(0xe6),'description':_0x315004(0x107),'isParameterized':!0x1},{'id':_0x315004(0xf1),'title':_0x315004(0x106),'description':_0x315004(0xed),'isParameterized':!0x0,'options':[{'formType':_0x315004(0xfb),'label':_0x315004(0x106),'default':_0x315004(0xe2),'data':[{'label':_0x315004(0x10f),'id':_0x315004(0xe2)},{'label':_0x315004(0x103),'id':_0x315004(0xda)}]}]},{'id':_0x315004(0x10c),'title':_0x315004(0xeb),'description':_0x315004(0x10d),'isParameterized':!0x0,'options':[{'formType':_0x315004(0xfb),'label':_0x315004(0xeb),'default':_0x315004(0xf5),'data':[{'label':_0x315004(0xde),'id':_0x315004(0xf5)},{'label':_0x315004(0xea),'id':_0x315004(0x112)},{'label':_0x315004(0x10e),'id':_0x315004(0xe9)},{'label':_0x315004(0xe7),'id':_0x315004(0x105)},{'label':_0x315004(0xf3),'id':_0x315004(0xfe)}]}]},{'id':_0x315004(0x108),'title':_0x315004(0xf7),'description':_0x315004(0xf6),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x315004(0xfb),'label':_0x315004(0xd5),'argsKey':_0x315004(0xe0),'data':[{'label':_0x315004(0x109),'id':_0x315004(0xe3)},{'label':_0x315004(0xee),'id':_0x315004(0x110)},{'label':_0x315004(0xfd),'id':_0x315004(0x100)},{'label':_0x315004(0x113),'id':_0x315004(0x111)},{'label':_0x315004(0x115),'id':_0x315004(0x102)},{'label':_0x315004(0xdf),'id':_0x315004(0xd7)},{'label':_0x315004(0x114),'id':_0x315004(0xdb)},{'label':_0x315004(0x104),'id':_0x315004(0x117)},{'label':_0x315004(0xe1),'id':_0x315004(0x10a)},{'label':_0x315004(0xf9),'id':_0x315004(0xf0)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x154f98=_0x4169;(function(_0xa62800,_0xdb98dd){var _0x143cce=_0x4169,_0x2b3006=_0xa62800();while(!![]){try{var _0x50cc56=parseInt(_0x143cce(0x12b))/0x1*(parseInt(_0x143cce(0x120))/0x2)+-parseInt(_0x143cce(0x12a))/0x3*(-parseInt(_0x143cce(0x129))/0x4)+parseInt(_0x143cce(0x12d))/0x5+-parseInt(_0x143cce(0x12f))/0x6+parseInt(_0x143cce(0x12e))/0x7*(-parseInt(_0x143cce(0x128))/0x8)+parseInt(_0x143cce(0x121))/0x9*(parseInt(_0x143cce(0x122))/0xa)+-parseInt(_0x143cce(0x124))/0xb;if(_0x50cc56===_0xdb98dd)break;else _0x2b3006['push'](_0x2b3006['shift']());}catch(_0x44f812){_0x2b3006['push'](_0x2b3006['shift']());}}}(_0x36ce,0x437f8));import{ContextPlugin as _0xc6d80f}from'ckeditor5/src/core.js';function _0x4169(_0x34e86c,_0x5b6ba0){var _0x36cef4=_0x36ce();return _0x4169=function(_0x416982,_0x2b9c27){_0x416982=_0x416982-0x120;var _0x3507bb=_0x36cef4[_0x416982];return _0x3507bb;},_0x4169(_0x34e86c,_0x5b6ba0);}import{AIReviewModeController as _0x536884}from'./aireviewmodecontroller.js';function _0x36ce(){var _0x3cf737=['1644875DZATUZ','222719vEDEgq','307776UnMkQb','34JlQDFZ','9PuXNgh','5154710IjiGjw','pluginName','12714867INGUfs','requires','isPremiumPlugin','AIReviewMode','40OlwGIH','508jMGIFk','10143nLVzuN','21701ngqLGM','isOfficialPlugin'];_0x36ce=function(){return _0x3cf737;};return _0x36ce();}import{AIReviewModeUI as _0xa9eaf0}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x33c2f9}from'./aireviewmodeediting.js';export class AIReviewMode extends _0xc6d80f{static get[_0x154f98(0x125)](){return[_0x536884,_0xa9eaf0,_0x33c2f9];}static get[_0x154f98(0x123)](){var _0x2124cc=_0x154f98;return _0x2124cc(0x127);}static get[_0x154f98(0x12c)](){return!0x0;}static get[_0x154f98(0x126)](){return!0x0;}}
|