@ckeditor/ckeditor5-ai 47.0.0-alpha.8 → 47.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +4 -4
- 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.d.ts +197 -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.d.ts +30 -0
- 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/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.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 +1 -1
- 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/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.d.ts +1 -0
- 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.d.ts +49 -0
- 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/aireviewmodels.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/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/aireviewmodeformamanager.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.d.ts +14 -0
- 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/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x45da14,_0x25d2f5){const _0x1a7e13=_0x3de1,_0x1edc43=_0x45da14();while(!![]){try{const _0x209cec=-parseInt(_0x1a7e13(0x1d8))/0x1+parseInt(_0x1a7e13(0x1da))/0x2+parseInt(_0x1a7e13(0x1d1))/0x3*(parseInt(_0x1a7e13(0x1d3))/0x4)+-parseInt(_0x1a7e13(0x1d7))/0x5*(-parseInt(_0x1a7e13(0x1d2))/0x6)+-parseInt(_0x1a7e13(0x1d9))/0x7*(-parseInt(_0x1a7e13(0x1ca))/0x8)+-parseInt(_0x1a7e13(0x1e2))/0x9+-parseInt(_0x1a7e13(0x1db))/0xa*(parseInt(_0x1a7e13(0x1cb))/0xb);if(_0x209cec===_0x25d2f5)break;else _0x1edc43['push'](_0x1edc43['shift']());}catch(_0x2742ce){_0x1edc43['push'](_0x1edc43['shift']());}}}(_0x3bd7,0xe463c));import{parseDocument as _0x4c8cc7}from'htmlparser2';import{append as _0x54a5e9,appendChild as _0x3d80f9,find as _0x434452,findAll as _0xa1c0e,findOne as _0x41004f,getChildren as _0x13b4b8,isComment as _0x37b0ef,isTag as _0x3ac049,prepend as _0x47004c,prependChild as _0x34bf9e,removeElement as _0x5e6fe7,replaceElement as _0x161f71,textContent as _0x260e37,getParent as _0x5ade47,hasChildren as _0x159a5d}from'domutils';import _0x497781 from'dom-serializer';import{cloneNode as _0x1f97d4,isDocument as _0x4b8618,isText as _0x38d533,Element as _0x90b494,Text as _0x1fe6b4,Document as _0x5eb30d,NodeWithChildren as _0x1f3b21}from'domhandler';function _0x3de1(_0x35751b,_0x422c64){const _0x3bd7ee=_0x3bd7();return _0x3de1=function(_0x3de1ea,_0x189491){_0x3de1ea=_0x3de1ea-0x1ca;let _0x92d158=_0x3bd7ee[_0x3de1ea];return _0x92d158;},_0x3de1(_0x35751b,_0x422c64);}export{_0x1f97d4 as cloneNode,_0x434452 as find,_0x41004f as findOne,_0xa1c0e as findAll,_0x13b4b8 as getChildren,_0x5ade47 as getParent,_0x37b0ef as isComment,_0x4b8618 as isDocument,_0x3ac049 as isTag,_0x38d533 as isText,_0x54a5e9 as append,_0x3d80f9 as appendChild,_0x47004c as prepend,_0x34bf9e as prependChild,_0x497781 as render,_0x5e6fe7 as removeElement,_0x161f71 as replaceElement,_0x260e37 as textContent,_0x159a5d as hasChildren,_0x90b494 as Element,_0x5eb30d as Document,_0x1f3b21 as NodeWithChildren,_0x1fe6b4 as Text};export function parse(_0x2a0f7f){return _0x4c8cc7(_0x2a0f7f);}export function serialize(_0x339293){return _0x497781(_0x339293);}export function findByAttribute(_0x4529b9,_0x2fc990,_0x362f9f){const _0x10d5f3=_0x3de1,_0x5bc346=null!==_0x2fc990?_0x182880=>_0x182880[_0x10d5f3(0x1d4)][_0x4529b9]===_0x2fc990:_0x3d33ac=>Boolean(_0x3d33ac[_0x10d5f3(0x1d4)][_0x4529b9]);return _0x41004f(_0x45372b=>_0x3ac049(_0x45372b)&&_0x5bc346(_0x45372b),_0x362f9f);}export function findAllByAttribute(_0x1dfe08,_0x28cd61,_0x1902d1){const _0x48bb2b=_0x3de1,_0x4a6c3f=null!==_0x28cd61?_0x2dcf75=>_0x2dcf75[_0x48bb2b(0x1d4)][_0x1dfe08]===_0x28cd61:_0x528284=>Boolean(_0x528284[_0x48bb2b(0x1d4)][_0x1dfe08]);return _0xa1c0e(_0x274349=>_0x3ac049(_0x274349)&&_0x4a6c3f(_0x274349),_0x1902d1);}export function findAllComments(_0x11dc0d){return _0x434452(_0x195843=>_0x37b0ef(_0x195843),_0x11dc0d,!0x0,0x1/0x0);}export function getAttribute(_0x481da7,_0x56c903){const _0x577522=_0x3de1;return _0x481da7&&_0x3ac049(_0x481da7)?_0x481da7[_0x577522(0x1d4)][_0x56c903]:null;}export function setAttribute(_0x3cc5b4,_0x292cfc,_0xb3559d){const _0x136af3=_0x3de1;_0x3ac049(_0x3cc5b4)&&(null===_0xb3559d?delete _0x3cc5b4[_0x136af3(0x1d4)][_0x292cfc]:_0x3cc5b4[_0x136af3(0x1d4)][_0x292cfc]=_0xb3559d);}export function insertElement(_0x4c751d,_0x3f089a,_0x15ad58){const _0x5786dc=_0x3de1,_0x97f9e0=_0x3f089a[_0x5786dc(0x1e3)](!0x0);_0x5786dc(0x1d6)===_0x15ad58?_0x47004c(_0x4c751d,_0x97f9e0):_0x5786dc(0x1d5)===_0x15ad58?_0x34bf9e(_0x4c751d,_0x97f9e0):_0x5786dc(0x1df)===_0x15ad58?_0x3d80f9(_0x4c751d,_0x97f9e0):_0x5786dc(0x1dd)===_0x15ad58&&_0x54a5e9(_0x4c751d,_0x97f9e0);}export function moveElement(_0x5b4076,_0x482ddc){_0x5e6fe7(_0x5b4076),_0x161f71(_0x482ddc,_0x5b4076);}export function clone(_0x25cddf){const _0x3f80a8=_0x3de1;return _0x25cddf[_0x3f80a8(0x1e3)](!0x0);}export function getParents(_0x7696b4){const _0x69887=_0x3de1,_0x5198b9=[];let _0x3097d4=_0x7696b4;for(;_0x3097d4;)_0x3097d4=_0x5ade47(_0x3097d4),_0x3097d4&&_0x5198b9[_0x69887(0x1cf)](_0x3097d4);return _0x5198b9;}export function normalizeHTML(_0x48323e){const _0x2f46db=_0x3de1;return _0x48323e[_0x2f46db(0x1cd)](/^\s+/gm,'')[_0x2f46db(0x1cd)](/\s+$/gm,'')[_0x2f46db(0x1cd)](/\n*/g,'')[_0x2f46db(0x1cd)](/\s+/g,'\x20')[_0x2f46db(0x1cd)](/>\s*</g,'><');}export function areNodesSame(_0x42316a,_0x1f98eb){return normalizeHTML(serialize(_0x42316a))===normalizeHTML(serialize(_0x1f98eb));}function _0x3bd7(){const _0x5e3c93=['84778kfYrpP','7kuMtvF','2432394uUPcnK','10cPsMAE','slice','afterend','reverse','beforeend','forEach','parentNode','8449866FLADbZ','cloneNode','2800352xhwAXf','20218407aZndwM','map','replace','nextSibling','push','indexOf','1521RfEBUr','466866llSAoQ','12076PILeWc','attribs','afterbegin','beforebegin','45RveYOP'];_0x3bd7=function(){return _0x5e3c93;};return _0x3bd7();}export function getNodeNestingLevel(_0x4e8011){const _0x2e7514=_0x3de1;let _0x138ecf=0x0;for(;_0x4e8011[_0x2e7514(0x1e1)];)_0x4e8011=_0x4e8011[_0x2e7514(0x1e1)],_0x138ecf++;return _0x138ecf;}export function removeElementsAfter(_0x1fd62f){const _0x19f743=_0x3de1,_0x189337=[];let _0x4ffc8e=_0x1fd62f[_0x19f743(0x1ce)];for(;_0x4ffc8e;)_0x189337[_0x19f743(0x1cf)](_0x4ffc8e),_0x4ffc8e=_0x4ffc8e[_0x19f743(0x1ce)];_0x189337[_0x19f743(0x1e0)](_0x3cf81b=>{_0x5e6fe7(_0x3cf81b);});}export function getNodePath(_0x3368fa){const _0x544e7a=_0x3de1;return[_0x3368fa,...getParents(_0x3368fa)][_0x544e7a(0x1dc)](0x0,-0x1)[_0x544e7a(0x1cc)](_0x2e5c5b=>{const _0x1b6294=_0x544e7a,_0x538fbf=_0x5ade47(_0x2e5c5b);return _0x13b4b8(_0x538fbf)[_0x1b6294(0x1d0)](_0x2e5c5b);})[_0x544e7a(0x1de)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x80c624=_0x1b75;(function(_0xa21376,_0x194277){const _0x40f4cc=_0x1b75,_0x15ab72=_0xa21376();while(!![]){try{const _0x4ff36b=parseInt(_0x40f4cc(0xe5))/0x1+-parseInt(_0x40f4cc(0xf5))/0x2*(parseInt(_0x40f4cc(0xc0))/0x3)+-parseInt(_0x40f4cc(0xe4))/0x4*(-parseInt(_0x40f4cc(0xe6))/0x5)+parseInt(_0x40f4cc(0xbf))/0x6+-parseInt(_0x40f4cc(0xde))/0x7+parseInt(_0x40f4cc(0xbc))/0x8*(parseInt(_0x40f4cc(0xc6))/0x9)+-parseInt(_0x40f4cc(0xbe))/0xa*(-parseInt(_0x40f4cc(0xc7))/0xb);if(_0x4ff36b===_0x194277)break;else _0x15ab72['push'](_0x15ab72['shift']());}catch(_0x55986d){_0x15ab72['push'](_0x15ab72['shift']());}}}(_0x2aba,0xaf692));import _0x12e701 from'morphdom';function _0x1b75(_0x3cf300,_0x1f5168){const _0x2abaeb=_0x2aba();return _0x1b75=function(_0x1b7563,_0x4eaff4){_0x1b7563=_0x1b7563-0xb9;let _0xa599f7=_0x2abaeb[_0x1b7563];return _0xa599f7;},_0x1b75(_0x3cf300,_0x1f5168);}import{NodeWithChildren as _0x21585b,Text as _0x17815a,Element as _0x4fa9bd,isText as _0x4d96c0,isDocument as _0x58d3b6,isTag as _0x48fc88,cloneNode as _0x325663,getChildren as _0x495753,prepend as _0x211a38,removeElement as _0x2121bf,textContent as _0x2ff8d2,render as _0x135121}from'./htmlparser.js';import{logWarning as _0x142cbe}from'ckeditor5/src/utils.js';function _0x2aba(){const _0x204316=['delay','document','nodesList','currentIndex','4tnyIwp','268675hBSjgY','1718755lLLvYk','attribs','now','join','tagName','timeoutAbortController','isWordSplitResult','addEventListener','replaceWith','strong','bind','textNodeStyle','stop','html-streamer-current-index-out-of-bounds','getParsedDocumentNodeList','10KEBmVs','code','del','length','sup','16nAKgcT','signal','110eVFUUg','7684164EHQleh','760644QGdUMl','from','shouldBeStreamed','childNodes','entries','onStreamUpdate','4575897qCrUPU','211717lotyrs','isStreaming','querySelectorAll','splitTextNodeIntoWordNodes','options','match','sub','includes','abort','span','ins','isWordSplitSource','parent','children','stream','map','push','renderNode','forEach','reverse','cleanUpAnimations','mark','div','7948367sxyKQu','span[data-ck-html-streamer-word-chunk]'];_0x2aba=function(){return _0x204316;};return _0x2aba();}export class HTMLStreamer{[_0x80c624(0xcb)];[_0x80c624(0xc8)]=!0x1;[_0x80c624(0xe1)]=null;[_0x80c624(0xe2)]=[];[_0x80c624(0xe3)]=0x0;[_0x80c624(0xeb)]=null;constructor(_0x1eaae4){const _0x5c7191=_0x80c624;this[_0x5c7191(0xcb)]={'delay':_0x1eaae4[_0x5c7191(0xe0)]??0x14,'textNodeStyle':_0x1eaae4[_0x5c7191(0xf1)],'onStreamUpdate':_0x1eaae4[_0x5c7191(0xc5)]||(()=>{})};}async[_0x80c624(0xd5)]({document:_0x202088,targetElement:_0xfc9f27,abortSignal:_0x6bbd0}){const _0x11f982=_0x80c624;this[_0x11f982(0xc8)]&&this[_0x11f982(0xf2)](),_0x6bbd0?.[_0x11f982(0xed)](_0x11f982(0xcf),this[_0x11f982(0xf2)][_0x11f982(0xf0)](this)),this[_0x11f982(0xe1)]=_0x325663(_0x202088,!0x0),this[_0x11f982(0xe2)]=this[_0x11f982(0xf4)](),this[_0x11f982(0xc8)]=!0x0,this[_0x11f982(0xe3)]>this[_0x11f982(0xe2)][_0x11f982(0xba)]&&(_0x142cbe(_0x11f982(0xf3),{'currentIndex':this[_0x11f982(0xe3)],'nodeList':this[_0x11f982(0xe2)]}),this[_0x11f982(0xe3)]=this[_0x11f982(0xe2)][_0x11f982(0xba)]);for(let _0x4ed59f=0x0;_0x4ed59f<this[_0x11f982(0xe3)];_0x4ed59f++)this[_0x11f982(0xe2)][_0x4ed59f][_0x11f982(0xc2)]=!0x0;let _0x4774bb=0x0;for(let _0x478605=this[_0x11f982(0xe3)];_0x478605<this[_0x11f982(0xe2)][_0x11f982(0xba)];_0x478605++){const _0x5f20fc=Date[_0x11f982(0xe8)](),_0x100f89=this[_0x11f982(0xe2)][_0x478605],_0x574561=_0x5f20fc-_0x4774bb;_0x100f89[_0x11f982(0xc2)]=!0x0;let _0x23f1d8=_0x100f89[_0x11f982(0xd3)];for(;_0x23f1d8;)_0x23f1d8[_0x11f982(0xc2)]=!0x0,_0x23f1d8=_0x23f1d8[_0x11f982(0xd3)];if(_0x574561<this[_0x11f982(0xcb)][_0x11f982(0xe0)])try{const {promise:_0x38522f,abortController:_0x2ed3b9}=mr(this[_0x11f982(0xcb)][_0x11f982(0xe0)]-_0x574561);this[_0x11f982(0xeb)]=_0x2ed3b9,await _0x38522f;}catch(_0x51040f){return;}_0x12e701(_0xfc9f27,'<'+_0xfc9f27[_0x11f982(0xea)]+'>'+this[_0x11f982(0xd8)](this[_0x11f982(0xe1)])+'</'+_0xfc9f27[_0x11f982(0xea)]+'>',{'childrenOnly':!0x0}),this[_0x11f982(0xcb)][_0x11f982(0xc5)]&&this[_0x11f982(0xcb)][_0x11f982(0xc5)](),this[_0x11f982(0xe3)]=_0x478605,_0x4774bb=Date[_0x11f982(0xe8)]();}this[_0x11f982(0xc8)]=!0x1;}[_0x80c624(0xdb)]({targetElement:_0x443737}){const _0x158334=_0x80c624;Array[_0x158334(0xc1)](_0x443737[_0x158334(0xc9)](_0x158334(0xdf)))[_0x158334(0xda)]()[_0x158334(0xd9)](_0x592209=>{const _0x4efd8c=_0x158334;_0x592209[_0x4efd8c(0xee)](_0x592209[_0x4efd8c(0xc3)][0x0]);});}[_0x80c624(0xf2)](){const _0x20e86a=_0x80c624;this[_0x20e86a(0xc8)]=!0x1,this[_0x20e86a(0xeb)]&&(this[_0x20e86a(0xeb)][_0x20e86a(0xcf)](),this[_0x20e86a(0xeb)]=null);}[_0x80c624(0xd8)](_0x53ec18){const _0x232bcf=_0x80c624;let _0x1f99c4='';if(function(_0x3c95d9){return _0x58d3b6(_0x3c95d9);}(_0x53ec18)){for(const _0x243b78 of _0x53ec18[_0x232bcf(0xd4)])_0x1f99c4+=this[_0x232bcf(0xd8)](_0x243b78);}else{if(ar(_0x53ec18)){if(!_0x53ec18[_0x232bcf(0xc2)])return'';const _0x3f26bd=_0x53ec18,_0x32b272=Object[_0x232bcf(0xc4)](_0x3f26bd[_0x232bcf(0xe7)])[_0x232bcf(0xd6)](([_0x5a5631,_0x12e6af])=>_0x5a5631+'=\x22'+_0x12e6af+'\x22')[_0x232bcf(0xe9)]('\x20');_0x1f99c4+='<'+_0x3f26bd[_0x232bcf(0xea)]+(_0x32b272?'\x20'+_0x32b272:'')+'>';for(const _0x5873d6 of _0x495753(_0x3f26bd))_0x1f99c4+=this[_0x232bcf(0xd8)](_0x5873d6);_0x1f99c4+='</'+_0x3f26bd[_0x232bcf(0xea)]+'>';}else{if(!cr(_0x53ec18))return'';if(!_0x53ec18[_0x232bcf(0xc2)])return'';!function(_0x38ac08){const _0x994496=_0x232bcf;if(!_0x38ac08[_0x994496(0xd3)]||!ar(_0x38ac08[_0x994496(0xd3)]))return!0x1;if(!hr[_0x994496(0xce)](_0x38ac08[_0x994496(0xd3)][_0x994496(0xea)]))return!0x1;return!_0x2ff8d2(_0x38ac08)[_0x994496(0xcc)](/^\s*[<>]\s*$/);}(_0x53ec18)?_0x1f99c4+=_0x135121(_0x53ec18):_0x1f99c4+=_0x135121(new _0x4fa9bd(_0x232bcf(0xd0),{'data-ck-html-streamer-word-chunk':'','style':this[_0x232bcf(0xcb)][_0x232bcf(0xf1)]},[_0x53ec18]));}}return _0x1f99c4;}[_0x80c624(0xf4)](){const _0x3936b6=_0x80c624,_0x58c69a=[];return function(_0x22b2b4,_0x3a010){const _0x1d6521=_0x1b75,_0x1a1234=_0x568ac3=>{const _0x24d653=_0x1b75;if(_0x3a010(_0x568ac3),_0x568ac3 instanceof _0x21585b)for(let _0x1a677a=0x0;_0x1a677a<_0x568ac3[_0x24d653(0xd4)][_0x24d653(0xba)];_0x1a677a++){const _0x365081=_0x568ac3[_0x24d653(0xd4)][_0x1a677a];_0x1a1234(_0x365081);}};for(let _0x115781=0x0;_0x115781<_0x22b2b4[_0x1d6521(0xd4)][_0x1d6521(0xba)];_0x115781++)_0x1a1234(_0x22b2b4[_0x1d6521(0xd4)][_0x115781]);}(this[_0x3936b6(0xe1)],_0x2a714d=>{const _0x458c02=_0x3936b6;if(cr(_0x2a714d)){const _0x32fc18=this[_0x458c02(0xca)](_0x2a714d);_0x32fc18[_0x458c02(0xba)]&&_0x58c69a[_0x458c02(0xd7)](..._0x32fc18);}_0x2a714d[_0x458c02(0xd2)]||_0x2a714d[_0x458c02(0xec)]||_0x58c69a[_0x458c02(0xd7)](_0x2a714d);}),_0x58c69a;}[_0x80c624(0xca)](_0x1f0fec){const _0x27b032=_0x80c624;if(_0x1f0fec[_0x27b032(0xd2)]||_0x1f0fec[_0x27b032(0xec)])return[];const _0x1a798a=_0x2ff8d2(_0x1f0fec)[_0x27b032(0xcc)](/(?:\s*\S+\s*)/g),_0x26b0b1=[];if(_0x1a798a&&_0x1a798a[_0x27b032(0xba)]>0x1){for(const _0x74b085 of _0x1a798a){const _0x1f8cb0=new _0x17815a(_0x74b085);_0x1f8cb0[_0x27b032(0xec)]=!0x0,_0x211a38(_0x1f0fec,_0x1f8cb0),_0x26b0b1[_0x27b032(0xd7)](_0x1f8cb0);}_0x1f0fec[_0x27b032(0xd2)]=!0x0,_0x2121bf(_0x1f0fec);}return _0x26b0b1;}}const hr=['p','li','td','th',_0x80c624(0xd0),'h1','h2','h3','h4','h5','h6','b',_0x80c624(0xef),'i','em',_0x80c624(0xdc),_0x80c624(0xb9),_0x80c624(0xd1),_0x80c624(0xbb),_0x80c624(0xcd),'a',_0x80c624(0xf6),_0x80c624(0xdd)];function cr(_0x415ff6){return _0x4d96c0(_0x415ff6);}function ar(_0x121461){return _0x48fc88(_0x121461);}function mr(_0x5623db){const _0x5eb230=new AbortController();return{'promise':new Promise((_0x4b28bf,_0x235924)=>{const _0x38adc9=_0x1b75,_0x49204f=setTimeout(_0x4b28bf,_0x5623db);_0x5eb230[_0x38adc9(0xbd)][_0x38adc9(0xed)](_0x38adc9(0xcf),()=>{clearTimeout(_0x49204f),_0x235924();});}),'abortController':_0x5eb230};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x51a3df=_0x39bf;(function(_0x5f5d50,_0x1adc45){var _0x44facc=_0x39bf,_0x4d692e=_0x5f5d50();while(!![]){try{var _0x130854=parseInt(_0x44facc(0x9e))/0x1*(parseInt(_0x44facc(0x9c))/0x2)+parseInt(_0x44facc(0x98))/0x3+-parseInt(_0x44facc(0x9b))/0x4+parseInt(_0x44facc(0x9d))/0x5*(parseInt(_0x44facc(0xa3))/0x6)+parseInt(_0x44facc(0xa2))/0x7*(-parseInt(_0x44facc(0x9a))/0x8)+-parseInt(_0x44facc(0x97))/0x9+parseInt(_0x44facc(0xa0))/0xa*(parseInt(_0x44facc(0xa4))/0xb);if(_0x130854===_0x1adc45)break;else _0x4d692e['push'](_0x4d692e['shift']());}catch(_0x42d22b){_0x4d692e['push'](_0x4d692e['shift']());}}}(_0x87ed,0xac91d));function _0x39bf(_0x4a6e7a,_0x5a676b){var _0x87edf9=_0x87ed();return _0x39bf=function(_0x39bfdd,_0x3a7808){_0x39bfdd=_0x39bfdd-0x95;var _0x5ea6e0=_0x87edf9[_0x39bfdd];return _0x5ea6e0;},_0x39bf(_0x4a6e7a,_0x5a676b);}import{Plugin as _0x5a74d9}from'ckeditor5/src/core.js';function _0x87ed(){var _0x30154e=['isOfficialPlugin','4129938TnLVll','2372790zGWCVu','isPremiumPlugin','43128VSpJMW','1782852NPiDpA','6oLefgO','1745paCYRA','361398TQNCkN','AIEditorIntegration','17590CjSelz','requires','1239CYHrEE','7668hivGJF','1529mDjRGA','pluginName'];_0x87ed=function(){return _0x30154e;};return _0x87ed();}import{AIToggleButtonUI as _0xbd9b4d}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x5a74d9{static get[_0x51a3df(0xa1)](){return[_0xbd9b4d];}static get[_0x51a3df(0x95)](){var _0x395cb7=_0x51a3df;return _0x395cb7(0x9f);}static get[_0x51a3df(0x96)](){return!0x0;}static get[_0x51a3df(0x99)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22b18d=_0x8ccb;(function(_0x4d9dd1,_0x58188e){const _0x2fbfd1=_0x8ccb,_0x5e801f=_0x4d9dd1();while(!![]){try{const _0x4bd72c=-parseInt(_0x2fbfd1(0x10a))/0x1+-parseInt(_0x2fbfd1(0x112))/0x2+-parseInt(_0x2fbfd1(0x11b))/0x3+parseInt(_0x2fbfd1(0x103))/0x4*(-parseInt(_0x2fbfd1(0x118))/0x5)+parseInt(_0x2fbfd1(0x104))/0x6*(-parseInt(_0x2fbfd1(0x119))/0x7)+parseInt(_0x2fbfd1(0x100))/0x8*(-parseInt(_0x2fbfd1(0x116))/0x9)+-parseInt(_0x2fbfd1(0xfa))/0xa*(-parseInt(_0x2fbfd1(0x109))/0xb);if(_0x4bd72c===_0x58188e)break;else _0x5e801f['push'](_0x5e801f['shift']());}catch(_0x379203){_0x5e801f['push'](_0x5e801f['shift']());}}}(_0x4e06,0xcac37));import{Plugin as _0x26aa0c}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x28966d}from'./toggleaicommand.js';import{ButtonView as _0x15dd45,MenuBarMenuListItemButtonView as _0x12e816}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x5ed52f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2f32ec}from'../../aicore/utils/common-translations.js';function _0x8ccb(_0x3ea9bf,_0xf4ccd2){const _0x4e06c5=_0x4e06();return _0x8ccb=function(_0x8ccb3c,_0x516a0a){_0x8ccb3c=_0x8ccb3c-0xf9;let _0x33b544=_0x4e06c5[_0x8ccb3c];return _0x33b544;},_0x8ccb(_0x3ea9bf,_0xf4ccd2);}import{AITabs as _0x41c5b2}from'../../aitabs/aitabs.js';function _0x4e06(){const _0x3e0109=['get','306WBNkss','menuitemcheckbox','35285yBrZmt','156149SHdAuC','isOfficialPlugin','1772643ImoJIx','ck-ai-toggle-button','commands','10730120qervJZ','editor','value','bind','pluginName','componentFactory','17304xEAkwm','AI_TOGGLE_BUTTON_LABEL','_createAIUIButton','500jdEcpR','222JXgqCK','execute','isEnabled','toggleAi','isOn','44ZJiIBz','529659jAaxUD','requires','locale','menuBar:toggleAi','isPremiumPlugin','init','AIToggleButtonUI','set','1119926MlrmIA','add','listenTo'];_0x4e06=function(){return _0x3e0109;};return _0x4e06();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x26aa0c{static get[_0x22b18d(0x10b)](){return[_0x41c5b2];}static get[_0x22b18d(0xfe)](){const _0x2f4c78=_0x22b18d;return _0x2f4c78(0x110);}static get[_0x22b18d(0x11a)](){return!0x0;}static get[_0x22b18d(0x10e)](){return!0x0;}[_0x22b18d(0x10f)](){const _0xf92134=_0x22b18d,_0x450a0f=this[_0xf92134(0xfb)];_0x450a0f[_0xf92134(0xf9)][_0xf92134(0x113)](_0xf92134(0x107),new _0x28966d(_0x450a0f)),_0x450a0f['ui'][_0xf92134(0xff)][_0xf92134(0x113)](_0xf92134(0x107),()=>{const _0x397914=_0xf92134,_0x5a90a4=this[_0x397914(0x102)](_0x15dd45);return _0x5a90a4[_0x397914(0x111)]({'tooltip':!0x0,'class':_0x397914(0x11c)}),_0x5a90a4;}),_0x450a0f['ui'][_0xf92134(0xff)][_0xf92134(0x113)](_0xf92134(0x10d),()=>{const _0x239fd2=_0xf92134,_0x491f67=this[_0x239fd2(0x102)](_0x12e816);return _0x491f67[_0x239fd2(0x111)]({'role':_0x239fd2(0x117)}),_0x491f67;});}[_0x22b18d(0x102)](_0x413b72){const _0x48e28c=_0x22b18d,_0x3b8db4=this[_0x48e28c(0xfb)],_0x40578f=_0x3b8db4[_0x48e28c(0xf9)][_0x48e28c(0x115)](_0x48e28c(0x107)),_0x2da547=new _0x413b72(_0x3b8db4[_0x48e28c(0x10c)]);return _0x2da547[_0x48e28c(0x111)]({'label':_0x2f32ec(_0x3b8db4[_0x48e28c(0x10c)],_0x48e28c(0x101)),'icon':_0x5ed52f,'isToggleable':!0x0}),_0x2da547[_0x48e28c(0xfd)](_0x48e28c(0x106))['to'](_0x40578f),_0x2da547[_0x48e28c(0xfd)](_0x48e28c(0x108))['to'](_0x40578f,_0x48e28c(0xfc),_0x51e6eb=>!!_0x51e6eb),this[_0x48e28c(0x114)](_0x2da547,_0x48e28c(0x105),()=>{const _0x1a7af5=_0x48e28c;_0x40578f[_0x1a7af5(0x105)]();}),_0x2da547;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3e80(){const _0x3d62ff=['483210ZFcgXx','126500pKvleK','2IaHanj','editor','2105604cyLgsu','isVisible','129147CJVdDT','240maEWDR','isEnabled','view','execute','plugins','value','9MugiVT','8806xmmwCy','20cCuoIW','120CqRGbN','get','31495ULTLOS','165244FmhKkl','AITabs','bind'];_0x3e80=function(){return _0x3d62ff;};return _0x3e80();}const _0x589f0c=_0x6fd7;function _0x6fd7(_0x16789d,_0x1675d3){const _0x3e80c8=_0x3e80();return _0x6fd7=function(_0x6fd723,_0x14b883){_0x6fd723=_0x6fd723-0x1ab;let _0x131ae2=_0x3e80c8[_0x6fd723];return _0x131ae2;},_0x6fd7(_0x16789d,_0x1675d3);}(function(_0x5bb9b5,_0x5baac4){const _0x21b105=_0x6fd7,_0x48a4ba=_0x5bb9b5();while(!![]){try{const _0x24919c=-parseInt(_0x21b105(0x1ac))/0x1*(-parseInt(_0x21b105(0x1be))/0x2)+-parseInt(_0x21b105(0x1b3))/0x3*(-parseInt(_0x21b105(0x1b9))/0x4)+-parseInt(_0x21b105(0x1b8))/0x5*(-parseInt(_0x21b105(0x1b6))/0x6)+parseInt(_0x21b105(0x1b4))/0x7*(parseInt(_0x21b105(0x1ad))/0x8)+-parseInt(_0x21b105(0x1bc))/0x9+-parseInt(_0x21b105(0x1b5))/0xa*(parseInt(_0x21b105(0x1bd))/0xb)+-parseInt(_0x21b105(0x1c0))/0xc;if(_0x24919c===_0x5baac4)break;else _0x48a4ba['push'](_0x48a4ba['shift']());}catch(_0x3e9de0){_0x48a4ba['push'](_0x48a4ba['shift']());}}}(_0x3e80,0x28323));import{Command as _0x26cb5f}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x26cb5f{constructor(_0x1bdfdc){const _0x17cbb1=_0x6fd7;super(_0x1bdfdc);const _0x148f10=_0x1bdfdc[_0x17cbb1(0x1b1)][_0x17cbb1(0x1b7)](_0x17cbb1(0x1ba))[_0x17cbb1(0x1af)];this[_0x17cbb1(0x1bb)](_0x17cbb1(0x1b2))['to'](_0x148f10,_0x17cbb1(0x1ab)),this[_0x17cbb1(0x1ae)]=!0x0;}[_0x589f0c(0x1b0)](){const _0x368944=_0x589f0c,_0x434949=this[_0x368944(0x1bf)][_0x368944(0x1b1)][_0x368944(0x1b7)](_0x368944(0x1ba))[_0x368944(0x1af)];_0x434949[_0x368944(0x1ab)]=!_0x434949[_0x368944(0x1ab)];}}
|
|
@@ -202,3 +202,4 @@ export interface AIQuickActionsConfig {
|
|
|
202
202
|
export type AICustomQuickActionDefinition = Required<Pick<AIQuickActionDefinition, 'id' | 'displayedPrompt' | 'prompt' | 'type'>> & {
|
|
203
203
|
requiresContent?: boolean;
|
|
204
204
|
};
|
|
205
|
+
export type AIQuickActionRequestData = Pick<AIQuickActionDefinition, 'id' | 'displayedPrompt'>;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1f94(_0x12a4a8,_0x451feb){var _0x413fdc=_0x413f();return _0x1f94=function(_0x1f9443,_0x703383){_0x1f9443=_0x1f9443-0x128;var _0xcf09ba=_0x413fdc[_0x1f9443];return _0xcf09ba;},_0x1f94(_0x12a4a8,_0x451feb);}var _0x27f3e1=_0x1f94;(function(_0x47af38,_0x4cd84e){var _0xdbf197=_0x1f94,_0x45b3dc=_0x47af38();while(!![]){try{var _0x178b6b=-parseInt(_0xdbf197(0x12d))/0x1*(parseInt(_0xdbf197(0x132))/0x2)+-parseInt(_0xdbf197(0x139))/0x3+parseInt(_0xdbf197(0x133))/0x4+parseInt(_0xdbf197(0x137))/0x5*(parseInt(_0xdbf197(0x12c))/0x6)+parseInt(_0xdbf197(0x12f))/0x7*(parseInt(_0xdbf197(0x136))/0x8)+parseInt(_0xdbf197(0x135))/0x9+-parseInt(_0xdbf197(0x130))/0xa;if(_0x178b6b===_0x4cd84e)break;else _0x45b3dc['push'](_0x45b3dc['shift']());}catch(_0xf1237c){_0x45b3dc['push'](_0x45b3dc['shift']());}}}(_0x413f,0x62581));import{Plugin as _0x11fa58}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x1bb66c}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x34c4ee}from'./aiquickactionsediting.js';export class AIQuickActions extends _0x11fa58{static get[_0x27f3e1(0x134)](){return[_0x1bb66c,_0x34c4ee];}static get[_0x27f3e1(0x129)](){var _0x42bdcd=_0x27f3e1;return _0x42bdcd(0x138);}static get[_0x27f3e1(0x128)](){return!0x0;}static get[_0x27f3e1(0x12b)](){return!0x0;}constructor(_0x60d61e){var _0x5ae911=_0x27f3e1;super(_0x60d61e),_0x60d61e[_0x5ae911(0x12e)][_0x5ae911(0x12a)](_0x5ae911(0x131),{'extraCommands':[],'removeCommands':[]});}}function _0x413f(){var _0x92419=['define','isPremiumPlugin','42JwbRvW','1VrODvP','config','925519rVQkad','13477810sbWJRh','ai.quickActions','424774WQEdQN','2571200sLXoXw','requires','5375565vdJwfE','40IZHBgv','158645faxDoP','AIQuickActions','480864VUFxMJ','isOfficialPlugin','pluginName'];_0x413f=function(){return _0x92419;};return _0x413f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x568fe5=_0x1e2f;(function(_0x516fcc,_0x516afa){const _0x1c45c4=_0x1e2f,_0x45dc07=_0x516fcc();while(!![]){try{const _0xfe3df9=-parseInt(_0x1c45c4(0x148))/0x1+-parseInt(_0x1c45c4(0x118))/0x2*(parseInt(_0x1c45c4(0x13f))/0x3)+-parseInt(_0x1c45c4(0x132))/0x4*(parseInt(_0x1c45c4(0x137))/0x5)+-parseInt(_0x1c45c4(0x116))/0x6*(parseInt(_0x1c45c4(0x134))/0x7)+parseInt(_0x1c45c4(0x11e))/0x8*(parseInt(_0x1c45c4(0x12d))/0x9)+-parseInt(_0x1c45c4(0x120))/0xa+parseInt(_0x1c45c4(0x121))/0xb;if(_0xfe3df9===_0x516afa)break;else _0x45dc07['push'](_0x45dc07['shift']());}catch(_0x240091){_0x45dc07['push'](_0x45dc07['shift']());}}}(_0x8402,0x22602));import{Command as _0xbda9ef}from'ckeditor5/src/core.js';import{CKEditorError as _0x534e13,first as _0x3f5fa2}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x4a5a5d}from'./aiquickactionsui.js';function _0x1e2f(_0x550c77,_0xad2946){const _0x8402a2=_0x8402();return _0x1e2f=function(_0x1e2f2c,_0x4d81ba){_0x1e2f2c=_0x1e2f2c-0x116;let _0x32f5a4=_0x8402a2[_0x1e2f2c];return _0x32f5a4;},_0x1e2f(_0x550c77,_0xad2946);}import{getTranslation as _0x5b9472}from'../aicore/utils/common-translations.js';function _0x8402(){const _0x52c4f2=['focusPromptInput','56NgQVsm','activateTab','AIActions','35ofqxGz','getLimitElement','_expandSelectionIfCollapsed','AIChatController','execute','AITabs','parent','removeSelectionFromChatContext','3VynnTm','isCollapsed','ACTION','startConversation','label','_handleAIActionsActionLabel','CHAT','handleAIReviewAction','getSelectedBlocks','222815GWhkfV','change','_handleAIChatAction','ask-ai','model','log','executeAction','prompt','AIReviewMode','document','AIChat','addSelectionToChatContext','72714vEFCDu','get','380664afPLPZ','schema','view','locale','REVIEW','_handleAIActionsAction','67520LhJiGq','selection','204900YRLswF','9109892YcZxGM','_handleAIReviewAction','sendMessage','type','ai-quick-actions-plugin-not-found','actionName','editor','chat','setSelection','plugins','other','has','72sZpAXY','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','args','displayedPrompt','icon','128172JhINob'];_0x8402=function(){return _0x52c4f2;};return _0x8402();}export class AIQuickActionsCommand extends _0xbda9ef{[_0x568fe5(0x13b)](_0x422c06){const _0x9b9477=_0x568fe5;switch(_0x422c06[_0x9b9477(0x124)]){case _0x4a5a5d[_0x9b9477(0x145)]:if(!this[_0x9b9477(0x127)][_0x9b9477(0x12a)][_0x9b9477(0x12c)](_0x9b9477(0x152))){const _0x13a3a0=_0x5b9472(this[_0x9b9477(0x127)][_0x9b9477(0x11b)],_0x9b9477(0x12e),_0x9b9477(0x152));throw new _0x534e13(_0x9b9477(0x125),this[_0x9b9477(0x127)],{'errorMessage':_0x13a3a0});}this[_0x9b9477(0x14a)](_0x422c06);break;case _0x4a5a5d[_0x9b9477(0x141)]:if(!this[_0x9b9477(0x127)][_0x9b9477(0x12a)][_0x9b9477(0x12c)](_0x9b9477(0x136))){const _0x4ed41b=_0x5b9472(this[_0x9b9477(0x127)][_0x9b9477(0x11b)],_0x9b9477(0x12e),_0x9b9477(0x136));throw new _0x534e13(_0x9b9477(0x125),this[_0x9b9477(0x127)],{'errorMessage':_0x4ed41b});}this[_0x9b9477(0x11d)](_0x422c06);break;case _0x4a5a5d[_0x9b9477(0x11c)]:if(!this[_0x9b9477(0x127)][_0x9b9477(0x12a)][_0x9b9477(0x12c)](_0x9b9477(0x150))){const _0x559f14=_0x5b9472(this[_0x9b9477(0x127)][_0x9b9477(0x11b)],_0x9b9477(0x12e),_0x9b9477(0x150));throw new _0x534e13(_0x9b9477(0x125),this[_0x9b9477(0x127)],{'errorMessage':_0x559f14});}this[_0x9b9477(0x122)](_0x422c06);}}async[_0x568fe5(0x14a)](_0x40f8d5){const _0x470527=_0x568fe5,_0x3dfaf5=this[_0x470527(0x127)][_0x470527(0x12a)][_0x470527(0x117)](_0x470527(0x152)),_0x1ef823=this[_0x470527(0x127)][_0x470527(0x12a)][_0x470527(0x117)](_0x470527(0x13a));if(this[_0x470527(0x127)][_0x470527(0x12a)][_0x470527(0x117)](_0x470527(0x13c))[_0x470527(0x11a)][_0x470527(0x135)](_0x470527(0x128)),_0x470527(0x14b)===_0x40f8d5['id'])_0x1ef823[_0x470527(0x13e)](),this[_0x470527(0x139)](),await _0x3dfaf5[_0x470527(0x153)](),_0x3dfaf5[_0x470527(0x133)]();else await _0x3dfaf5[_0x470527(0x142)](),await _0x3dfaf5[_0x470527(0x153)](),await _0x3dfaf5[_0x470527(0x123)]({'message':_0x40f8d5[_0x470527(0x14f)]||_0x40f8d5[_0x470527(0x130)],'quickActionData':{'id':_0x40f8d5['id'],'displayedPrompt':_0x40f8d5[_0x470527(0x130)]}});}[_0x568fe5(0x139)](){const _0x333eba=_0x568fe5,_0x4cc7f0=this[_0x333eba(0x127)],_0x4f5c14=_0x4cc7f0[_0x333eba(0x14c)][_0x333eba(0x151)][_0x333eba(0x11f)];if(!_0x4f5c14[_0x333eba(0x140)])return;const _0x4cd8f7=_0x3f5fa2(_0x4f5c14[_0x333eba(0x147)]())||_0x4cc7f0[_0x333eba(0x14c)][_0x333eba(0x119)][_0x333eba(0x138)](_0x4f5c14);_0x4cc7f0[_0x333eba(0x14c)][_0x333eba(0x149)](_0x41c0ee=>{const _0x181814=_0x333eba;_0x41c0ee[_0x181814(0x129)](_0x4cd8f7,'in');});}[_0x568fe5(0x144)](_0x7e2ab){const _0x24b841=_0x568fe5;return _0x7e2ab[_0x24b841(0x13d)]?.[_0x24b841(0x143)]&&_0x24b841(0x12b)!==_0x7e2ab[_0x24b841(0x13d)]?.['id']?_0x7e2ab[_0x24b841(0x13d)][_0x24b841(0x143)]+':\x20'+_0x7e2ab[_0x24b841(0x130)]:_0x7e2ab[_0x24b841(0x130)];}async[_0x568fe5(0x11d)](_0x6fdb95){const _0x5ae3a4=_0x568fe5,_0x212bb4=this[_0x5ae3a4(0x127)][_0x5ae3a4(0x12a)][_0x5ae3a4(0x117)](_0x5ae3a4(0x136)),_0x481018=_0x6fdb95[_0x5ae3a4(0x14f)]?{'userMessage':_0x6fdb95[_0x5ae3a4(0x14f)],'model':_0x6fdb95[_0x5ae3a4(0x14c)]}:{'actionName':_0x6fdb95[_0x5ae3a4(0x126)]||_0x6fdb95['id'],'args':_0x6fdb95[_0x5ae3a4(0x12f)]},_0x1a8da6=this[_0x5ae3a4(0x144)](_0x6fdb95);await _0x212bb4[_0x5ae3a4(0x14e)](_0x481018,_0x1a8da6,_0x6fdb95[_0x5ae3a4(0x131)]);}async[_0x568fe5(0x122)](_0xa4a122){const _0x35bdd2=_0x568fe5;console[_0x35bdd2(0x14d)](_0x35bdd2(0x146),_0xa4a122);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x17b8(){const _0x12582d=['change:range','commands','add','isOfficialPlugin','219694TBbfiJ','isPremiumPlugin','AIQuickActionsEditing','init','model','93xaFzVA','106566JCSzpm','12FfCoyV','3856908FsjjUJ','aiQuickAction','pluginName','document','384lnNrYL','17662610FfBTCy','get','574870HdEFCz','directChange','editor','has','156863yETgkr','56jrkLmh','44sSPoiQ','AIChat','removeSelectionFromChatContext','557343phSuaJ','selection','plugins'];_0x17b8=function(){return _0x12582d;};return _0x17b8();}const _0x259a14=_0x40b4;(function(_0x47896e,_0x3b23ac){const _0x3aa363=_0x40b4,_0x501e7a=_0x47896e();while(!![]){try{const _0x25b1b6=parseInt(_0x3aa363(0x7c))/0x1+parseInt(_0x3aa363(0x82))/0x2*(-parseInt(_0x3aa363(0x81))/0x3)+-parseInt(_0x3aa363(0x83))/0x4*(-parseInt(_0x3aa363(0x6c))/0x5)+parseInt(_0x3aa363(0x69))/0x6*(-parseInt(_0x3aa363(0x70))/0x7)+-parseInt(_0x3aa363(0x71))/0x8*(-parseInt(_0x3aa363(0x75))/0x9)+parseInt(_0x3aa363(0x6a))/0xa+-parseInt(_0x3aa363(0x72))/0xb*(-parseInt(_0x3aa363(0x84))/0xc);if(_0x25b1b6===_0x3b23ac)break;else _0x501e7a['push'](_0x501e7a['shift']());}catch(_0x1e8c43){_0x501e7a['push'](_0x501e7a['shift']());}}}(_0x17b8,0xeb5d5));import{Plugin as _0x244b7c}from'ckeditor5/src/core.js';function _0x40b4(_0x369f45,_0x135149){const _0x17b885=_0x17b8();return _0x40b4=function(_0x40b4b2,_0x1c8711){_0x40b4b2=_0x40b4b2-0x67;let _0x3efb7b=_0x17b885[_0x40b4b2];return _0x3efb7b;},_0x40b4(_0x369f45,_0x135149);}import{AIQuickActionsCommand as _0x3f46e9}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x244b7c{static get[_0x259a14(0x67)](){const _0x1f5eeb=_0x259a14;return _0x1f5eeb(0x7e);}static get[_0x259a14(0x7b)](){return!0x0;}static get[_0x259a14(0x7d)](){return!0x0;}[_0x259a14(0x7f)](){const _0x399f56=_0x259a14,_0x31518e=this[_0x399f56(0x6e)],_0x1fd7ef=new _0x3f46e9(this[_0x399f56(0x6e)]);if(_0x31518e[_0x399f56(0x79)][_0x399f56(0x7a)](_0x399f56(0x85),_0x1fd7ef),_0x31518e[_0x399f56(0x77)][_0x399f56(0x6f)](_0x399f56(0x73))){const _0x520d69=this[_0x399f56(0x6e)][_0x399f56(0x77)][_0x399f56(0x6b)](_0x399f56(0x73));_0x31518e[_0x399f56(0x80)][_0x399f56(0x68)][_0x399f56(0x76)]['on'](_0x399f56(0x78),(_0x5c4d97,_0x3f3edd)=>{const _0x3c32ca=_0x399f56;_0x3f3edd[_0x3c32ca(0x6d)]&&_0x520d69[_0x3c32ca(0x74)]();});}}}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
6
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
7
|
+
import { BalloonToolbar } from 'ckeditor5/src/ui.js';
|
|
5
8
|
import '../../theme/aiquickactions/aiquickactions.css';
|
|
6
9
|
/**
|
|
7
10
|
* Defines the different types of AI quick actions available in the editor.
|
|
@@ -30,6 +33,52 @@ export declare enum AIQuickActionTypeToPluginName {
|
|
|
30
33
|
ACTION = "AIActions",
|
|
31
34
|
REVIEW = "AIReviewMode"
|
|
32
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* UI plugin for AI Quick Actions that provides a set of predefined AI-powered tools.
|
|
38
|
+
*
|
|
39
|
+
* This plugin manages the creation and configuration of AI quick action buttons and dropdowns
|
|
40
|
+
* in the editor's toolbar. It handles both individual actions and grouped actions, automatically
|
|
41
|
+
* filtering based on available plugins and creating the appropriate UI components.
|
|
42
|
+
*
|
|
43
|
+
* The plugin supports three types of AI actions:
|
|
44
|
+
* - AICHAT: Opens interactive AI chat interface
|
|
45
|
+
* - AIACTIONS: Shows results in inline balloon popups
|
|
46
|
+
* - REVIEW: Opens detailed AI review interface
|
|
47
|
+
*/
|
|
48
|
+
export declare class AIQuickActionsUI extends Plugin {
|
|
49
|
+
/**
|
|
50
|
+
* @inheritDoc
|
|
51
|
+
*/
|
|
52
|
+
static get requires(): readonly [typeof BalloonToolbar];
|
|
53
|
+
/**
|
|
54
|
+
* @inheritDoc
|
|
55
|
+
*/
|
|
56
|
+
static get pluginName(): "AIQuickActionsUI";
|
|
57
|
+
/**
|
|
58
|
+
* @inheritDoc
|
|
59
|
+
*/
|
|
60
|
+
static get isOfficialPlugin(): true;
|
|
61
|
+
/**
|
|
62
|
+
* @inheritDoc
|
|
63
|
+
*/
|
|
64
|
+
static get isPremiumPlugin(): true;
|
|
65
|
+
/**
|
|
66
|
+
* Initializes the AI Quick Actions UI plugin.
|
|
67
|
+
*
|
|
68
|
+
* Sets up the default quick actions configuration and creates all necessary
|
|
69
|
+
* UI components and commands for the quick actions functionality.
|
|
70
|
+
*
|
|
71
|
+
* @inheritDoc
|
|
72
|
+
*/
|
|
73
|
+
init(): void;
|
|
74
|
+
/**
|
|
75
|
+
* Returns the default quick actions configuration.
|
|
76
|
+
*
|
|
77
|
+
* @param locale The editor's locale for text translation
|
|
78
|
+
* @returns Array of quick action definitions and groups
|
|
79
|
+
*/
|
|
80
|
+
static getDefaultQuickActions(locale: Locale): Array<AIQuickActionsGroupDefinition | AIQuickActionDefinition>;
|
|
81
|
+
}
|
|
33
82
|
/**
|
|
34
83
|
* Defines a group of related AI quick actions that appear together in a dropdown.
|
|
35
84
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x10a1(){const _0x2ee80c=['_initializeQuickActionsComponentsAndCommands','componentFactory','translate-to-chinese','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_ASK_AI','set','add','AI_QUICK_ACTIONS_OTHER','139528yOQWvo','AI_QUICK_ACTIONS_MORE_FRIENDLY','getDefaultQuickActions','find','CHAT','uiLanguage','editing','menu','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_shouldIncludeAction','make-tone-confident','attachToDom','47948OpEztJ','AI_QUICK_ACTIONS_MORE_CONFIDENT','1364010dchAwN','558366eNUTvc','init','_initializeQuickActionsDropdown','69820oxpScI','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','english','ask-ai','translate-to-spanish','includes','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','type','displayedPrompt','<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>','explain','make-shorter','make-tone-friendly','highlight-key-points','plugins','AIQuickActionsUI','length','isPremiumPlugin','chinese','menuBarView','icon','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','aiQuickActions','view','AIChat','translate-to-german','fix-grammar','other','change-tone','translate','language','push','319ILaCEH','pluginName','<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_CONTINUE_WRITING','ai.quickActions.extraCommands','_prepareQuickActionsDefinition','replace','make-tone-direct','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','translate-to-korean','summarize','get','translate-to-italian','close','menuBar:aiQuickActions','children','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','make-tone-casual','spanish','portuguese','_getDefaultAndCustomActions','isOfficialPlugin','actions','2oPnOeB','AI_QUICK_ACTIONS_MORE_DIRECT','some','filter','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AIActions','translate-to-japanese','make-longer','buttonView','make-tone-professional','ACTION','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE','DisplayNames','japanese','russian','AI_QUICK_ACTIONS_MORE_CASUAL','AIReviewMode','AI_QUICK_ACTIONS_CHANGE_TONE','items','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','locale','chat-commands','continue','commands','_executeQuickAction','korean','English','1179150TYWVfj','values','translate-to-portuguese','italian','execute','translate-to-french','panelView','requires','AI_QUICK_ACTIONS_SUMMARIZE','translate-to-english','focus','forEach','label','map','_initializeQuickActionsComponents','translate-to-russian','AI_QUICK_ACTIONS_MAKE_SHORTER','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','config','delegate','french','improve-writing','81895maLsKI','has','_quickActionsDefinition','aiQuickAction','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_ADJUST_LENGTH','editor','menuitem','german','90TLqaOU','<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_IMPROVE_WRITING','4uXKSVS','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_CHAT_COMMANDS','ai.quickActions.removeCommands','REVIEW'];_0x10a1=function(){return _0x2ee80c;};return _0x10a1();}const _0x1743f1=_0x4bb3;(function(_0x13f366,_0x4f5179){const _0x3287b0=_0x4bb3,_0x566bc0=_0x13f366();while(!![]){try{const _0x36a807=-parseInt(_0x3287b0(0x14c))/0x1+-parseInt(_0x3287b0(0x18a))/0x2*(-parseInt(_0x3287b0(0x14f))/0x3)+-parseInt(_0x3287b0(0x130))/0x4*(parseInt(_0x3287b0(0x124))/0x5)+parseInt(_0x3287b0(0x14e))/0x6+parseInt(_0x3287b0(0x10d))/0x7+-parseInt(_0x3287b0(0x140))/0x8*(parseInt(_0x3287b0(0x12d))/0x9)+-parseInt(_0x3287b0(0x152))/0xa*(parseInt(_0x3287b0(0x173))/0xb);if(_0x36a807===_0x4f5179)break;else _0x566bc0['push'](_0x566bc0['shift']());}catch(_0x548cde){_0x566bc0['push'](_0x566bc0['shift']());}}}(_0x10a1,0x22594));import{IconAIAdjustLength as _0x53f75f,IconAIAskAI as _0x9aa5ff,IconAIChangeTone as _0x42b7cf,IconAIChatCommands as _0x23f44c,IconAIContinueWriting as _0x1d11f3,IconAIGrammarCheck as _0x3e4b95,IconAIImproveWriting as _0x15188f,IconAIOther as _0x32025e,IconAIQuickActions as _0xc71bed,IconAITranslate as _0x39e7d4}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x460787}from'ckeditor5/src/core.js';function _0x4bb3(_0x4dd38e,_0x3d2811){const _0x10a180=_0x10a1();return _0x4bb3=function(_0x4bb375,_0x320752){_0x4bb375=_0x4bb375-0x10a;let _0x379a98=_0x10a180[_0x4bb375];return _0x379a98;},_0x4bb3(_0x4dd38e,_0x3d2811);}import{getTranslation as _0x57e1a1}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4370f8}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x321dff}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x36a397,BalloonToolbar as _0x374b5e,MenuBarMenuView as _0x9fd362,MenuBarMenuListView as _0xae30bf,MenuBarMenuListItemView as _0x2e0f7c,MenuBarMenuListItemButtonView as _0x3c7306}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Wt=_0x1743f1(0x15c),Bt=_0x1743f1(0x175),Jt=_0x1743f1(0x12e);export var AIQuickActionType;!function(_0x32e2b9){const _0x41d099=_0x1743f1;_0x32e2b9[_0x41d099(0x144)]=_0x41d099(0x144),_0x32e2b9[_0x41d099(0x194)]=_0x41d099(0x194),_0x32e2b9[_0x41d099(0x135)]=_0x41d099(0x135);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x571a86){const _0x455f9b=_0x1743f1;_0x571a86[_0x455f9b(0x144)]=_0x455f9b(0x16b),_0x571a86[_0x455f9b(0x194)]=_0x455f9b(0x18f),_0x571a86[_0x455f9b(0x135)]=_0x455f9b(0x19b);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x460787{static get[_0x1743f1(0x114)](){return[_0x374b5e];}static get[_0x1743f1(0x174)](){const _0x21949e=_0x1743f1;return _0x21949e(0x162);}static get[_0x1743f1(0x188)](){return!0x0;}static get[_0x1743f1(0x164)](){return!0x0;}[_0x1743f1(0x150)](){const _0x5eff94=_0x1743f1;this[_0x5eff94(0x178)](this[_0x5eff94(0x187)]()),this[_0x5eff94(0x136)]();}static[_0x1743f1(0x142)](_0x1625c3){return function(_0x574459){const _0x5f161f=_0x4bb3,_0x3149f8=new Intl[(_0x5f161f(0x197))](['en'],{'type':_0x5f161f(0x171)})['of'](_0x574459[_0x5f161f(0x145)]),_0x525f7d=_0x3149f8||_0x5f161f(0x10c),_0x38336f=[{'id':_0x5f161f(0x155),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x13c)),'type':AIQuickActionType[_0x5f161f(0x144)],'icon':_0x9aa5ff},{'id':_0x5f161f(0x1a0),'label':_0x57e1a1(_0x574459,_0x5f161f(0x133)),'icon':_0x23f44c,'actions':[{'id':_0x5f161f(0x15d),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x131)),'prompt':Wt[_0x5f161f(0x179)]('%0',_0x525f7d),'type':AIQuickActionType[_0x5f161f(0x144)]},{'id':_0x5f161f(0x17d),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x115)),'prompt':Bt[_0x5f161f(0x179)]('%0',_0x525f7d),'type':AIQuickActionType[_0x5f161f(0x144)]},{'id':_0x5f161f(0x160),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x18e)),'prompt':Jt[_0x5f161f(0x179)]('%0',_0x525f7d),'type':AIQuickActionType[_0x5f161f(0x144)]}]},{'id':_0x5f161f(0x123),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x12f)),'type':AIQuickActionType[_0x5f161f(0x194)],'icon':_0x15188f},{'id':_0x5f161f(0x1a1),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x176)),'type':AIQuickActionType[_0x5f161f(0x194)],'icon':_0x1d11f3},{'id':_0x5f161f(0x16d),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x11f)),'type':AIQuickActionType[_0x5f161f(0x194)],'icon':_0x3e4b95},{'id':_0x5f161f(0x158),'label':_0x57e1a1(_0x574459,_0x5f161f(0x129)),'icon':_0x53f75f,'actions':[{'id':_0x5f161f(0x15e),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x11d)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x191),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x13b)),'type':AIQuickActionType[_0x5f161f(0x194)]}]},{'id':_0x5f161f(0x16f),'label':_0x57e1a1(_0x574459,_0x5f161f(0x19c)),'icon':_0x42b7cf,'actions':[{'id':_0x5f161f(0x184),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x19a)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x17a),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x18b)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x15f),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x141)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x14a),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x14d)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x193),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x148)),'type':AIQuickActionType[_0x5f161f(0x194)]}]},{'id':_0x5f161f(0x170),'label':_0x57e1a1(_0x574459,_0x5f161f(0x196)),'icon':_0x39e7d4,'actions':[{'id':_0x5f161f(0x116),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x159)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x154)}},{'id':_0x5f161f(0x138),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x139)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x165)}},{'id':_0x5f161f(0x156),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x153)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x185)}},{'id':_0x5f161f(0x16c),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x17b)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x12c)}},{'id':_0x5f161f(0x112),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x128)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x122)}},{'id':_0x5f161f(0x190),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x195)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x198)}},{'id':_0x5f161f(0x10f),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x183)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x186)}},{'id':_0x5f161f(0x17c),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x168)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x10b)}},{'id':_0x5f161f(0x17f),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x19e)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x110)}},{'id':_0x5f161f(0x11c),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x13a)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x199)}}]},{'id':_0x5f161f(0x16e),'label':_0x57e1a1(_0x574459,_0x5f161f(0x13f)),'icon':_0x32025e,'actions':[]}];return _0x38336f;}(_0x1625c3);}[_0x1743f1(0x187)](){const _0x2d8698=_0x1743f1,_0x2c876c=AIQuickActionsUI[_0x2d8698(0x142)](this[_0x2d8698(0x12a)][_0x2d8698(0x19f)]),_0x391c31=(this[_0x2d8698(0x12a)][_0x2d8698(0x120)][_0x2d8698(0x17e)](_0x2d8698(0x177))||[])[_0x2d8698(0x11a)](_0x2b1a4b=>({..._0x2b1a4b,'icon':void 0x0}));return _0x2c876c[_0x2d8698(0x143)](_0x18d5af=>_0x2d8698(0x16e)===_0x18d5af['id'])[_0x2d8698(0x189)][_0x2d8698(0x172)](..._0x391c31),_0x2c876c;}[_0x1743f1(0x136)](){const _0x40aeb3=_0x1743f1,_0x5b1b36=new _0x36a397(this[_0x40aeb3(0x12a)][_0x40aeb3(0x19f)]);_0x5b1b36[_0x40aeb3(0x14b)](),this[_0x40aeb3(0x151)](_0x5b1b36),this[_0x40aeb3(0x11e)](),this[_0x40aeb3(0x11b)](_0x5b1b36);}[_0x1743f1(0x151)](_0x9d4583){const _0x4feb91=_0x1743f1;this[_0x4feb91(0x12a)]['ui'][_0x4feb91(0x137)][_0x4feb91(0x13e)](_0x4feb91(0x169),_0x4370f8(this[_0x4feb91(0x12a)],this[_0x4feb91(0x126)],{'icon':_0xc71bed,'label':_0x57e1a1(this[_0x4feb91(0x12a)][_0x4feb91(0x19f)],_0x4feb91(0x132))},_0x9d4583));}[_0x1743f1(0x178)](_0x5a5bcd){const _0x1d48af=_0x1743f1;this[_0x1d48af(0x126)]=_0x5a5bcd[_0x1d48af(0x11a)](_0x4de0ec=>{const _0x180f8d=_0x1d48af;if(_0x180f8d(0x189)in _0x4de0ec){const _0x3d2424=_0x4de0ec;return{..._0x3d2424,'actions':_0x3d2424[_0x180f8d(0x189)][_0x180f8d(0x11a)](_0x40f273=>{const {actions:_0x4412ba,..._0x20002b}=_0x3d2424;return{..._0x40f273,'parent':_0x20002b};})[_0x180f8d(0x18d)](_0x48c6d7=>this[_0x180f8d(0x149)](_0x48c6d7))};}return _0x4de0ec;})[_0x1d48af(0x18d)](_0x2f6498=>_0x1d48af(0x189)in _0x2f6498?_0x2f6498[_0x1d48af(0x189)][_0x1d48af(0x163)]>0x0:this[_0x1d48af(0x149)](_0x2f6498));}[_0x1743f1(0x149)](_0x19200d){const _0x3097c2=_0x1743f1,_0x103e13=this[_0x3097c2(0x12a)][_0x3097c2(0x120)][_0x3097c2(0x17e)](_0x3097c2(0x134))||[];return this[_0x3097c2(0x12a)][_0x3097c2(0x161)][_0x3097c2(0x125)](AIQuickActionTypeToPluginName[_0x19200d[_0x3097c2(0x15a)]])&&!_0x103e13[_0x3097c2(0x157)](_0x19200d['id']);}[_0x1743f1(0x11b)](_0x506bcb){const _0x452c96=_0x1743f1;this[_0x452c96(0x126)][_0x452c96(0x118)](_0x271c69=>{const _0x2d3d77=_0x452c96;if(_0x2d3d77(0x189)in _0x271c69){const _0x2f8db1=_0x4370f8(this[_0x2d3d77(0x12a)],_0x271c69[_0x2d3d77(0x189)],_0x271c69,_0x506bcb);this[_0x2d3d77(0x12a)]['ui'][_0x2d3d77(0x137)][_0x2d3d77(0x13e)](_0x271c69['id'],_0x2f8db1),_0x271c69[_0x2d3d77(0x189)][_0x2d3d77(0x118)](_0x390f41=>{const _0x250521=_0x2d3d77,_0x52ea9c=_0x321dff(this[_0x250521(0x12a)],_0x390f41);this[_0x250521(0x12a)]['ui'][_0x250521(0x137)][_0x250521(0x13e)](_0x390f41['id'],_0x52ea9c);});}else{const _0x1e9291=_0x321dff(this[_0x2d3d77(0x12a)],_0x271c69);this[_0x2d3d77(0x12a)]['ui'][_0x2d3d77(0x137)][_0x2d3d77(0x13e)](_0x271c69['id'],_0x1e9291);}});}[_0x1743f1(0x11e)](){const _0x4cb658=_0x1743f1;this[_0x4cb658(0x12a)]['ui'][_0x4cb658(0x137)][_0x4cb658(0x13e)](_0x4cb658(0x181),_0x2ac930=>{const _0x411b26=_0x4cb658,_0x11afeb=new _0x9fd362(_0x2ac930),_0x226e9f=_0x57e1a1(_0x2ac930,_0x411b26(0x132));_0x11afeb[_0x411b26(0x192)][_0x411b26(0x13d)]({'label':_0x226e9f,'icon':_0xc71bed});const _0x112019=new _0xae30bf(_0x2ac930);_0x112019[_0x411b26(0x13d)]({'ariaLabel':_0x226e9f,'role':_0x411b26(0x147)}),this[_0x411b26(0x126)][_0x411b26(0x118)](_0x17f1c1=>{const _0x19c737=_0x411b26;if(_0x19c737(0x189)in _0x17f1c1){const _0x52e14b=_0x17f1c1,_0x4bd5d6=new _0x2e0f7c(_0x2ac930,_0x11afeb),_0x20fd82=new _0x9fd362(_0x2ac930),_0x3d9042=new _0xae30bf(_0x2ac930);_0x20fd82[_0x19c737(0x192)][_0x19c737(0x13d)]({'label':_0x52e14b[_0x19c737(0x119)],'icon':_0x52e14b[_0x19c737(0x167)]}),_0x52e14b[_0x19c737(0x189)][_0x19c737(0x118)](_0x4d23ee=>{const _0x3d9244=_0x19c737,_0x1e8a7c=new _0x2e0f7c(_0x2ac930,_0x20fd82),_0x1a8a6b=new _0x3c7306(_0x2ac930);_0x1a8a6b[_0x3d9244(0x13d)]({'label':_0x4d23ee[_0x3d9244(0x15b)],'icon':_0x4d23ee[_0x3d9244(0x167)],'role':_0x3d9244(0x12b)}),_0x1a8a6b['on'](_0x3d9244(0x111),()=>{const _0x2ab4f7=_0x3d9244;this[_0x2ab4f7(0x10a)](_0x4d23ee);}),_0x1a8a6b[_0x3d9244(0x121)](_0x3d9244(0x111))['to'](_0x20fd82),_0x1e8a7c[_0x3d9244(0x182)][_0x3d9244(0x13e)](_0x1a8a6b),_0x3d9042[_0x3d9244(0x19d)][_0x3d9244(0x13e)](_0x1e8a7c);}),_0x20fd82[_0x19c737(0x113)][_0x19c737(0x182)][_0x19c737(0x13e)](_0x3d9042),_0x4bd5d6[_0x19c737(0x182)][_0x19c737(0x13e)](_0x20fd82),_0x112019[_0x19c737(0x19d)][_0x19c737(0x13e)](_0x4bd5d6);}else{const _0xf1329d=_0x17f1c1,_0x575f36=new _0x2e0f7c(_0x2ac930,_0x11afeb),_0x4bc993=new _0x3c7306(_0x2ac930);_0x4bc993[_0x19c737(0x13d)]({'label':_0xf1329d[_0x19c737(0x15b)],'icon':_0xf1329d[_0x19c737(0x167)],'role':_0x19c737(0x12b)}),_0x4bc993['on'](_0x19c737(0x111),()=>{const _0x48679f=_0x19c737;this[_0x48679f(0x10a)](_0xf1329d);}),_0x4bc993[_0x19c737(0x121)](_0x19c737(0x111))['to'](_0x11afeb),_0x575f36[_0x19c737(0x182)][_0x19c737(0x13e)](_0x4bc993),_0x112019[_0x19c737(0x19d)][_0x19c737(0x13e)](_0x575f36);}});const _0x129fae=Object[_0x411b26(0x10e)](AIQuickActionTypeToPluginName)[_0x411b26(0x18c)](_0x3c0d7a=>this[_0x411b26(0x12a)][_0x411b26(0x161)][_0x411b26(0x125)](_0x3c0d7a));return _0x11afeb[_0x411b26(0x13d)]({'isEnabled':_0x129fae}),_0x11afeb[_0x411b26(0x113)][_0x411b26(0x182)][_0x411b26(0x13e)](_0x112019),_0x11afeb;});}[_0x1743f1(0x10a)](_0x14ed4d){const _0x1c0b3e=_0x1743f1,_0x4ca453=this[_0x1c0b3e(0x12a)];_0x4ca453[_0x1c0b3e(0x146)][_0x1c0b3e(0x16a)][_0x1c0b3e(0x117)](),_0x4ca453[_0x1c0b3e(0x1a2)][_0x1c0b3e(0x111)](_0x1c0b3e(0x127),_0x14ed4d);const _0x129b0f=_0x4ca453['ui'][_0x1c0b3e(0x16a)][_0x1c0b3e(0x166)];_0x129b0f&&_0x129b0f[_0x1c0b3e(0x180)]&&_0x129b0f[_0x1c0b3e(0x180)]();}}
|
|
23
|
+
const _0x51e8e0=_0x151a;(function(_0x43d8ba,_0x25bc23){const _0x4e94b9=_0x151a,_0x43a298=_0x43d8ba();while(!![]){try{const _0x3730ec=parseInt(_0x4e94b9(0x233))/0x1+-parseInt(_0x4e94b9(0x1b8))/0x2+-parseInt(_0x4e94b9(0x1b5))/0x3+parseInt(_0x4e94b9(0x1f9))/0x4+-parseInt(_0x4e94b9(0x1ce))/0x5+parseInt(_0x4e94b9(0x208))/0x6+-parseInt(_0x4e94b9(0x1d0))/0x7;if(_0x3730ec===_0x25bc23)break;else _0x43a298['push'](_0x43a298['shift']());}catch(_0x313a3){_0x43a298['push'](_0x43a298['shift']());}}}(_0x35f5,0x1c283));import{IconAIAdjustLength as _0x9de14b,IconAIAskAI as _0x59d408,IconAIChangeTone as _0x1bcfcb,IconAIChatCommands as _0x87065c,IconAIContinueWriting as _0x3368af,IconAIGrammarCheck as _0x51d786,IconAIImproveWriting as _0x27ab6a,IconAIOther as _0x2533ad,IconAIQuickActions as _0x1a8cd1,IconAITranslate as _0x484913}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x4c664e}from'ckeditor5/src/core.js';import{getTranslation as _0x5ef184}from'../aicore/utils/common-translations.js';function _0x35f5(){const _0x5e7f07=['make-tone-confident','summarize','length','highlight-key-points','chat-commands','make-longer','actions','494451tOfiXF','make-tone-casual','items','254392LsAMDh','italian','make-tone-direct','menuitem','componentFactory','map','_quickActionsDefinition','add','push','AI_QUICK_ACTIONS_MORE_CONFIDENT','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_MORE_DIRECT','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','japanese','portuguese','other','locale','plugins','make-tone-professional','make-shorter','isOfficialPlugin','364190fmZvgY','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','393295BOJFNS','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','spanish','REVIEW','AI_QUICK_ACTIONS_SUMMARIZE','_prepareQuickActionsDefinition','translate-to-french','ACTION','filter','<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>','init','translate-to-german','AIActions','editing','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','view','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','german','delegate','AI_QUICK_ACTIONS_OTHER','ai.quickActions.extraCommands','English','set','config','chinese','has','get','DisplayNames','menuBarView','translate-to-portuguese','find','french','russian','ask-ai','commands','_initializeQuickActionsMenuBar','_initializeQuickActionsDropdown','<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>','forEach','422868uNLUmF','korean','panelView','aiQuickAction','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_EXPLAIN','replace','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','attachToDom','uiLanguage','ai.quickActions.removeCommands','english','CHAT','values','1352418YybyUq','translate-to-korean','language','translate-to-spanish','AIReviewMode','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','focus','AI_QUICK_ACTIONS_MORE_FRIENDLY','explain','execute','label','translate','aiQuickActions','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','includes','isPremiumPlugin','some','translate-to-english','requires','menu','change-tone','editor','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','_initializeQuickActionsComponents','pluginName','AIChat','make-tone-friendly','icon','translate-to-chinese','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','menuBar:aiQuickActions','AI_QUICK_ACTIONS_MAKE_LONGER','displayedPrompt','AIQuickActionsUI','AI_QUICK_ACTIONS_CONTINUE_WRITING','translate-to-italian','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_IMPROVE_WRITING','_shouldIncludeAction','AI_QUICK_ACTIONS_MORE_CASUAL','continue','type','205247TpbCtT','children','<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>','adjust-length','_executeQuickAction','translate-to-russian','improve-writing','buttonView','close','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_MAKE_SHORTER','fix-grammar','translate-to-japanese'];_0x35f5=function(){return _0x5e7f07;};return _0x35f5();}import{aiQuickActionsDropdownCreator as _0x10a857}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5372bd}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x2ae2a2,BalloonToolbar as _0x82d9db,MenuBarMenuView as _0x1fa1df,MenuBarMenuListView as _0x41384a,MenuBarMenuListItemView as _0x2d844c,MenuBarMenuListItemButtonView as _0x350329}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const te=_0x51e8e0(0x1db),ee=_0x51e8e0(0x235),ie=_0x51e8e0(0x1f7);export var AIQuickActionType;!function(_0x14c9a8){const _0x4ca079=_0x51e8e0;_0x14c9a8[_0x4ca079(0x206)]=_0x4ca079(0x206),_0x14c9a8[_0x4ca079(0x1d9)]=_0x4ca079(0x1d9),_0x14c9a8[_0x4ca079(0x1d5)]=_0x4ca079(0x1d5);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;function _0x151a(_0x134e04,_0x4742ff){const _0x35f531=_0x35f5();return _0x151a=function(_0x151af0,_0x37bcd4){_0x151af0=_0x151af0-0x1b4;let _0x535601=_0x35f531[_0x151af0];return _0x535601;},_0x151a(_0x134e04,_0x4742ff);}!function(_0x1b3a63){const _0x3d8732=_0x51e8e0;_0x1b3a63[_0x3d8732(0x206)]=_0x3d8732(0x221),_0x1b3a63[_0x3d8732(0x1d9)]=_0x3d8732(0x1de),_0x1b3a63[_0x3d8732(0x1d5)]=_0x3d8732(0x20c);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x4c664e{static get[_0x51e8e0(0x21a)](){return[_0x82d9db];}static get[_0x51e8e0(0x220)](){const _0x1551ea=_0x51e8e0;return _0x1551ea(0x22a);}static get[_0x51e8e0(0x1cd)](){return!0x0;}static get[_0x51e8e0(0x217)](){return!0x0;}[_0x51e8e0(0x1dc)](){const _0x252d9b=_0x51e8e0;this[_0x252d9b(0x1d7)](this[_0x252d9b(0x1c2)]()),this[_0x252d9b(0x1c4)]();}static[_0x51e8e0(0x225)](_0x40406d){return function(_0x195d41){const _0x39efcd=_0x151a,_0x46bbde=new Intl[(_0x39efcd(0x1ed))](['en'],{'type':_0x39efcd(0x20a)})['of'](_0x195d41[_0x39efcd(0x203)]),_0x2859cd=_0x46bbde||_0x39efcd(0x1e7),_0x3429ad=[{'id':_0x39efcd(0x1f3),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1d2)),'type':AIQuickActionType[_0x39efcd(0x206)],'icon':_0x59d408},{'id':_0x39efcd(0x247),'label':_0x5ef184(_0x195d41,_0x39efcd(0x23c)),'icon':_0x87065c,'actions':[{'id':_0x39efcd(0x210),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1fe)),'prompt':te[_0x39efcd(0x1ff)]('%0',_0x2859cd),'type':AIQuickActionType[_0x39efcd(0x206)]},{'id':_0x39efcd(0x244),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1d6)),'prompt':ee[_0x39efcd(0x1ff)]('%0',_0x2859cd),'type':AIQuickActionType[_0x39efcd(0x206)]},{'id':_0x39efcd(0x246),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x215)),'prompt':ie[_0x39efcd(0x1ff)]('%0',_0x2859cd),'type':AIQuickActionType[_0x39efcd(0x206)]}]},{'id':_0x39efcd(0x239),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x22e)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'icon':_0x27ab6a},{'id':_0x39efcd(0x231),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x22b)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'icon':_0x3368af},{'id':_0x39efcd(0x241),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x201)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'icon':_0x51d786},{'id':_0x39efcd(0x236),'label':_0x5ef184(_0x195d41,_0x39efcd(0x1d1)),'icon':_0x9de14b,'actions':[{'id':_0x39efcd(0x1cc),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x240)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x248),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x228)),'type':AIQuickActionType[_0x39efcd(0x1d9)]}]},{'id':_0x39efcd(0x21c),'label':_0x5ef184(_0x195d41,_0x39efcd(0x1fd)),'icon':_0x1bcfcb,'actions':[{'id':_0x39efcd(0x1b6),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x230)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x1ba),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1c3)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x222),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x20f)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x243),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1c1)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x1cb),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x200)),'type':AIQuickActionType[_0x39efcd(0x1d9)]}]},{'id':_0x39efcd(0x213),'label':_0x5ef184(_0x195d41,_0x39efcd(0x23f)),'icon':_0x484913,'actions':[{'id':_0x39efcd(0x219),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x21e)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x205)}},{'id':_0x39efcd(0x224),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x22d)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1ea)}},{'id':_0x39efcd(0x20b),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x20d)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1d4)}},{'id':_0x39efcd(0x1dd),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x226)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1e3)}},{'id':_0x39efcd(0x1d8),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1e0)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1f1)}},{'id':_0x39efcd(0x242),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x23e)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1c6)}},{'id':_0x39efcd(0x1ef),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1cf)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1c7)}},{'id':_0x39efcd(0x209),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1e2)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1fa)}},{'id':_0x39efcd(0x22c),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1c5)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1b9)}},{'id':_0x39efcd(0x238),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1d3)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1f2)}}]},{'id':_0x39efcd(0x1c8),'label':_0x5ef184(_0x195d41,_0x39efcd(0x1e5)),'icon':_0x2533ad,'actions':[]}];return _0x3429ad;}(_0x40406d);}[_0x51e8e0(0x1c2)](){const _0x3d4275=_0x51e8e0,_0x3879aa=AIQuickActionsUI[_0x3d4275(0x225)](this[_0x3d4275(0x21d)][_0x3d4275(0x1c9)]),_0x24721c=(this[_0x3d4275(0x21d)][_0x3d4275(0x1e9)][_0x3d4275(0x1ec)](_0x3d4275(0x1e6))||[])[_0x3d4275(0x1bd)](_0x2d9912=>({..._0x2d9912,'icon':void 0x0}));return _0x3879aa[_0x3d4275(0x1f0)](_0x1c24e5=>_0x3d4275(0x1c8)===_0x1c24e5['id'])[_0x3d4275(0x1b4)][_0x3d4275(0x1c0)](..._0x24721c),_0x3879aa;}[_0x51e8e0(0x1c4)](){const _0x506b17=_0x51e8e0,_0x5c4832=new _0x2ae2a2(this[_0x506b17(0x21d)][_0x506b17(0x1c9)]);_0x5c4832[_0x506b17(0x202)](),this[_0x506b17(0x1f6)](_0x5c4832),this[_0x506b17(0x1f5)](),this[_0x506b17(0x21f)](_0x5c4832);}[_0x51e8e0(0x1f6)](_0x2d1eb2){const _0x24d6bd=_0x51e8e0;this[_0x24d6bd(0x21d)]['ui'][_0x24d6bd(0x1bc)][_0x24d6bd(0x1bf)](_0x24d6bd(0x214),_0x10a857(this[_0x24d6bd(0x21d)],this[_0x24d6bd(0x1be)],{'icon':_0x1a8cd1,'label':_0x5ef184(this[_0x24d6bd(0x21d)][_0x24d6bd(0x1c9)],_0x24d6bd(0x23d))},_0x2d1eb2));}[_0x51e8e0(0x1d7)](_0x5afab1){const _0x233474=_0x51e8e0;this[_0x233474(0x1be)]=_0x5afab1[_0x233474(0x1bd)](_0x2bffe0=>{const _0x3562b6=_0x233474;if(_0x3562b6(0x1b4)in _0x2bffe0){const _0x2ae1d0=_0x2bffe0;return{..._0x2ae1d0,'actions':_0x2ae1d0[_0x3562b6(0x1b4)][_0x3562b6(0x1bd)](_0x327889=>{const {actions:_0x1cb242,..._0x392f6e}=_0x2ae1d0;return{..._0x327889,'parent':_0x392f6e};})[_0x3562b6(0x1da)](_0x490406=>this[_0x3562b6(0x22f)](_0x490406))};}return _0x2bffe0;})[_0x233474(0x1da)](_0x7259ed=>_0x233474(0x1b4)in _0x7259ed?_0x7259ed[_0x233474(0x1b4)][_0x233474(0x245)]>0x0:this[_0x233474(0x22f)](_0x7259ed));}[_0x51e8e0(0x22f)](_0x4c4c6c){const _0x458b89=_0x51e8e0,_0x5c740f=this[_0x458b89(0x21d)][_0x458b89(0x1e9)][_0x458b89(0x1ec)](_0x458b89(0x204))||[];return this[_0x458b89(0x21d)][_0x458b89(0x1ca)][_0x458b89(0x1eb)](AIQuickActionTypeToPluginName[_0x4c4c6c[_0x458b89(0x232)]])&&!_0x5c740f[_0x458b89(0x216)](_0x4c4c6c['id']);}[_0x51e8e0(0x21f)](_0x3509f8){const _0x2b7347=_0x51e8e0;this[_0x2b7347(0x1be)][_0x2b7347(0x1f8)](_0x23fac1=>{const _0x48970c=_0x2b7347;if(_0x48970c(0x1b4)in _0x23fac1){const _0x4c73ca=_0x10a857(this[_0x48970c(0x21d)],_0x23fac1[_0x48970c(0x1b4)],_0x23fac1,_0x3509f8);this[_0x48970c(0x21d)]['ui'][_0x48970c(0x1bc)][_0x48970c(0x1bf)](_0x23fac1['id'],_0x4c73ca),_0x23fac1[_0x48970c(0x1b4)][_0x48970c(0x1f8)](_0x31d132=>{const _0x4b94f3=_0x48970c,_0x10aa55=_0x5372bd(this[_0x4b94f3(0x21d)],_0x31d132);this[_0x4b94f3(0x21d)]['ui'][_0x4b94f3(0x1bc)][_0x4b94f3(0x1bf)](_0x31d132['id'],_0x10aa55);});}else{const _0x44102b=_0x5372bd(this[_0x48970c(0x21d)],_0x23fac1);this[_0x48970c(0x21d)]['ui'][_0x48970c(0x1bc)][_0x48970c(0x1bf)](_0x23fac1['id'],_0x44102b);}});}[_0x51e8e0(0x1f5)](){const _0x349f48=_0x51e8e0;this[_0x349f48(0x21d)]['ui'][_0x349f48(0x1bc)][_0x349f48(0x1bf)](_0x349f48(0x227),_0x30eaa4=>{const _0x38164a=_0x349f48,_0x4ad320=new _0x1fa1df(_0x30eaa4),_0x584388=_0x5ef184(_0x30eaa4,_0x38164a(0x23d));_0x4ad320[_0x38164a(0x23a)][_0x38164a(0x1e8)]({'label':_0x584388,'icon':_0x1a8cd1});const _0x5deee8=new _0x41384a(_0x30eaa4);_0x5deee8[_0x38164a(0x1e8)]({'ariaLabel':_0x584388,'role':_0x38164a(0x21b)}),this[_0x38164a(0x1be)][_0x38164a(0x1f8)](_0x2f2464=>{const _0x27963e=_0x38164a;if(_0x27963e(0x1b4)in _0x2f2464){const _0x5603c3=_0x2f2464,_0x567870=new _0x2d844c(_0x30eaa4,_0x4ad320),_0x11d451=new _0x1fa1df(_0x30eaa4),_0x5b260d=new _0x41384a(_0x30eaa4);_0x11d451[_0x27963e(0x23a)][_0x27963e(0x1e8)]({'label':_0x5603c3[_0x27963e(0x212)],'icon':_0x5603c3[_0x27963e(0x223)]}),_0x5603c3[_0x27963e(0x1b4)][_0x27963e(0x1f8)](_0x2559c1=>{const _0x105bcc=_0x27963e,_0xebe906=new _0x2d844c(_0x30eaa4,_0x11d451),_0x35eabd=new _0x350329(_0x30eaa4);_0x35eabd[_0x105bcc(0x1e8)]({'label':_0x2559c1[_0x105bcc(0x229)],'icon':_0x2559c1[_0x105bcc(0x223)],'role':_0x105bcc(0x1bb)}),_0x35eabd['on'](_0x105bcc(0x211),()=>{const _0x35d545=_0x105bcc;this[_0x35d545(0x237)](_0x2559c1);}),_0x35eabd[_0x105bcc(0x1e4)](_0x105bcc(0x211))['to'](_0x11d451),_0xebe906[_0x105bcc(0x234)][_0x105bcc(0x1bf)](_0x35eabd),_0x5b260d[_0x105bcc(0x1b7)][_0x105bcc(0x1bf)](_0xebe906);}),_0x11d451[_0x27963e(0x1fb)][_0x27963e(0x234)][_0x27963e(0x1bf)](_0x5b260d),_0x567870[_0x27963e(0x234)][_0x27963e(0x1bf)](_0x11d451),_0x5deee8[_0x27963e(0x1b7)][_0x27963e(0x1bf)](_0x567870);}else{const _0x392656=_0x2f2464,_0x3278af=new _0x2d844c(_0x30eaa4,_0x4ad320),_0x5b3abf=new _0x350329(_0x30eaa4);_0x5b3abf[_0x27963e(0x1e8)]({'label':_0x392656[_0x27963e(0x229)],'icon':_0x392656[_0x27963e(0x223)],'role':_0x27963e(0x1bb)}),_0x5b3abf['on'](_0x27963e(0x211),()=>{const _0x57a3b1=_0x27963e;this[_0x57a3b1(0x237)](_0x392656);}),_0x5b3abf[_0x27963e(0x1e4)](_0x27963e(0x211))['to'](_0x4ad320),_0x3278af[_0x27963e(0x234)][_0x27963e(0x1bf)](_0x5b3abf),_0x5deee8[_0x27963e(0x1b7)][_0x27963e(0x1bf)](_0x3278af);}});const _0x8f0c81=Object[_0x38164a(0x207)](AIQuickActionTypeToPluginName)[_0x38164a(0x218)](_0x3c39e0=>this[_0x38164a(0x21d)][_0x38164a(0x1ca)][_0x38164a(0x1eb)](_0x3c39e0));return _0x4ad320[_0x38164a(0x1e8)]({'isEnabled':_0x8f0c81}),_0x4ad320[_0x38164a(0x1fb)][_0x38164a(0x234)][_0x38164a(0x1bf)](_0x5deee8),_0x4ad320;});}[_0x51e8e0(0x237)](_0x14fb75){const _0x1c8f6d=_0x51e8e0,_0x35c729=this[_0x1c8f6d(0x21d)];_0x35c729[_0x1c8f6d(0x1df)][_0x1c8f6d(0x1e1)][_0x1c8f6d(0x20e)](),_0x35c729[_0x1c8f6d(0x1f4)][_0x1c8f6d(0x211)](_0x1c8f6d(0x1fc),_0x14fb75);const _0x4c394b=_0x35c729['ui'][_0x1c8f6d(0x1e1)][_0x1c8f6d(0x1ee)];_0x4c394b&&_0x4c394b[_0x1c8f6d(0x23b)]&&_0x4c394b[_0x1c8f6d(0x23b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x16f9f6,_0x258bee){const _0xd3ba63=_0x5d7d,_0x25e6ad=_0x16f9f6();while(!![]){try{const _0x5dc0d8=-parseInt(_0xd3ba63(0xcf))/0x1*(parseInt(_0xd3ba63(0xd2))/0x2)+-parseInt(_0xd3ba63(0xd6))/0x3*(parseInt(_0xd3ba63(0xe5))/0x4)+-parseInt(_0xd3ba63(0xd8))/0x5*(-parseInt(_0xd3ba63(0xdb))/0x6)+-parseInt(_0xd3ba63(0xda))/0x7*(parseInt(_0xd3ba63(0xcc))/0x8)+-parseInt(_0xd3ba63(0xe1))/0x9*(parseInt(_0xd3ba63(0xe2))/0xa)+-parseInt(_0xd3ba63(0xd9))/0xb+parseInt(_0xd3ba63(0xde))/0xc;if(_0x5dc0d8===_0x258bee)break;else _0x25e6ad['push'](_0x25e6ad['shift']());}catch(_0x1d94ae){_0x25e6ad['push'](_0x25e6ad['shift']());}}}(_0x5f24,0xe7810));function _0x5f24(){const _0x4f9b5f=['14ySRIkn','parent','bindTemplate','editing','7836DSQugE','set','625ASnzls','8223017qqMoiu','21JIZcmb','29658uzHdFP','view','displayedPrompt','53045460rJlWqr','focus','commands','4862205jWdFTp','10eDNgMS','icon','extendTemplate','2784ZUXsTe','locale','1275752NTKOQx','menuitem','execute','72277gyAIxv','ck-ai-quick-actions-button','aiQuickAction'];_0x5f24=function(){return _0x4f9b5f;};return _0x5f24();}import{ButtonView as _0x588966}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x1d9d53}from'@ckeditor/ckeditor5-icons';function _0x5d7d(_0x3bba75,_0x338aba){const _0x5f2410=_0x5f24();return _0x5d7d=function(_0x5d7d98,_0x283c34){_0x5d7d98=_0x5d7d98-0xcb;let _0x4097a3=_0x5f2410[_0x5d7d98];return _0x4097a3;},_0x5d7d(_0x3bba75,_0x338aba);}export function aiQuickActionsButtonCreator(_0x374d16,_0x2be609,_0x1fe0aa=!0x1,_0x5f11ec=!0x0){return()=>{const _0x3a3b03=_0x5d7d,_0x569485=_0x374d16[_0x3a3b03(0xcb)],_0x480329=new _0x588966(_0x569485),_0x290bd9=_0x480329[_0x3a3b03(0xd4)];_0x480329[_0x3a3b03(0xe4)]({'on':{'mouseenter':_0x290bd9['to'](()=>{const _0x54b397=_0x3a3b03;_0x480329[_0x54b397(0xdf)]();})}});const _0x18b6c3=_0x2be609[_0x3a3b03(0xe3)]??_0x2be609[_0x3a3b03(0xd3)]?.[_0x3a3b03(0xe3)];return _0x480329[_0x3a3b03(0xd7)]({'label':_0x2be609[_0x3a3b03(0xdd)],'withText':_0x1fe0aa,'role':_0x3a3b03(0xcd),'icon':_0x5f11ec?_0x18b6c3??_0x1d9d53:void 0x0,'tooltip':!_0x1fe0aa,'class':_0x3a3b03(0xd0)}),_0x480329['on'](_0x3a3b03(0xce),()=>{const _0x1e4a5c=_0x3a3b03;_0x374d16[_0x1e4a5c(0xd5)][_0x1e4a5c(0xdc)][_0x1e4a5c(0xdf)](),_0x374d16[_0x1e4a5c(0xe0)][_0x1e4a5c(0xce)](_0x1e4a5c(0xd1),_0x2be609);}),_0x480329;};}
|