@ckeditor/ckeditor5-ai 47.2.0-alpha.6 → 47.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +10 -2
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x476298,_0x8a1543){const _0x1b5d8b=_0x5929,_0x5855ce=_0x476298();while(!![]){try{const _0x4ae489=parseInt(_0x1b5d8b(0x172))/0x1*(-parseInt(_0x1b5d8b(0x175))/0x2)+-parseInt(_0x1b5d8b(0x16f))/0x3+parseInt(_0x1b5d8b(0x17b))/0x4*(parseInt(_0x1b5d8b(0x164))/0x5)+parseInt(_0x1b5d8b(0x167))/0x6*(-parseInt(_0x1b5d8b(0x16b))/0x7)+parseInt(_0x1b5d8b(0x176))/0x8+-parseInt(_0x1b5d8b(0x170))/0x9*(-parseInt(_0x1b5d8b(0x163))/0xa)+-parseInt(_0x1b5d8b(0x16d))/0xb*(-parseInt(_0x1b5d8b(0x16e))/0xc);if(_0x4ae489===_0x8a1543)break;else _0x5855ce['push'](_0x5855ce['shift']());}catch(_0x99b646){_0x5855ce['push'](_0x5855ce['shift']());}}}(_0x4d8b,0x708ea));import{parseDocument as _0x307f77}from'htmlparser2';import{append as _0x5ac0bc,appendChild as _0x235b49,find as _0x43f810,findAll as _0x3cf2d1,findOne as _0x27a242,getChildren as _0x432986,isComment as _0x25013f,isTag as _0x323c9d,prepend as _0x228e7a,prependChild as _0x97d442,removeElement as _0x38eac2,replaceElement as _0x4ad3b9,textContent as _0x6b9a47,getParent as _0x18a68f,hasChildren as _0x52429c}from'domutils';import _0x1e8098 from'dom-serializer';import{cloneNode as _0x2acfff,isDocument as _0x124b1f,isText as _0x128e63,Element as _0x56a141,Text as _0x21cf4b,Document as _0x4e2816,NodeWithChildren as _0x586f43}from'domhandler';export{_0x2acfff as cloneNode,_0x43f810 as find,_0x27a242 as findOne,_0x3cf2d1 as findAll,_0x432986 as getChildren,_0x18a68f as getParent,_0x25013f as isComment,_0x124b1f as isDocument,_0x323c9d as isTag,_0x128e63 as isText,_0x5ac0bc as append,_0x235b49 as appendChild,_0x228e7a as prepend,_0x97d442 as prependChild,_0x1e8098 as render,_0x38eac2 as removeElement,_0x4ad3b9 as replaceElement,_0x6b9a47 as textContent,_0x52429c as hasChildren,_0x56a141 as Element,_0x4e2816 as Document,_0x586f43 as NodeWithChildren,_0x21cf4b as Text};export function parse(_0x112ebe){return _0x307f77(_0x112ebe);}export function serialize(_0x1b3ded){return _0x1e8098(_0x1b3ded);}export function findByAttribute(_0x3fde31,_0x19ad0b,_0xb645e9){const _0x3141d1=_0x5929,_0x45be62=null!==_0x19ad0b?_0x49502d=>_0x49502d[_0x3141d1(0x177)][_0x3fde31]===_0x19ad0b:_0x90a78b=>Boolean(_0x90a78b[_0x3141d1(0x177)][_0x3fde31]);return _0x27a242(_0x3fe5b1=>_0x323c9d(_0x3fe5b1)&&_0x45be62(_0x3fe5b1),_0xb645e9);}export function findAllByAttribute(_0x2aca2f,_0xe64ea0,_0x1c39b4){const _0x426c71=_0x5929,_0x104411=null!==_0xe64ea0?_0x5a53f5=>_0x5a53f5[_0x426c71(0x177)][_0x2aca2f]===_0xe64ea0:_0x14b13f=>Boolean(_0x14b13f[_0x426c71(0x177)][_0x2aca2f]);return _0x3cf2d1(_0x845637=>_0x323c9d(_0x845637)&&_0x104411(_0x845637),_0x1c39b4);}export function findAllComments(_0x30775f){return _0x43f810(_0x336120=>_0x25013f(_0x336120),_0x30775f,!0x0,0x1/0x0);}function _0x5929(_0x27a2cc,_0x113126){const _0x4d8bb7=_0x4d8b();return _0x5929=function(_0x59292d,_0x5046b0){_0x59292d=_0x59292d-0x163;let _0x5df6f9=_0x4d8bb7[_0x59292d];return _0x5df6f9;},_0x5929(_0x27a2cc,_0x113126);}export function getAttribute(_0x37573c,_0x5357e8){const _0x40bd94=_0x5929;return _0x37573c&&_0x323c9d(_0x37573c)?_0x37573c[_0x40bd94(0x177)][_0x5357e8]:null;}export function setAttribute(_0x4cccd9,_0x3e9182,_0xf02a93){const _0x37d3d7=_0x5929;_0x323c9d(_0x4cccd9)&&(null===_0xf02a93?delete _0x4cccd9[_0x37d3d7(0x177)][_0x3e9182]:_0x4cccd9[_0x37d3d7(0x177)][_0x3e9182]=_0xf02a93);}export function insertElement(_0x37e371,_0x27d7c7,_0x2c9419){const _0x223661=_0x5929,_0x33daee=_0x27d7c7[_0x223661(0x178)](!0x0);_0x223661(0x17a)===_0x2c9419?_0x228e7a(_0x37e371,_0x33daee):_0x223661(0x17c)===_0x2c9419?_0x97d442(_0x37e371,_0x33daee):_0x223661(0x171)===_0x2c9419?_0x235b49(_0x37e371,_0x33daee):_0x223661(0x166)===_0x2c9419&&_0x5ac0bc(_0x37e371,_0x33daee);}export function moveElement(_0x3a8a3d,_0x56820b){_0x38eac2(_0x3a8a3d),_0x4ad3b9(_0x56820b,_0x3a8a3d);}export function clone(_0xdd3c12){const _0x50daa3=_0x5929;return _0xdd3c12[_0x50daa3(0x178)](!0x0);}export function getParents(_0x4da611){const _0x146eba=_0x5929,_0xdc0f69=[];let _0x35edb8=_0x4da611;for(;_0x35edb8;)_0x35edb8=_0x18a68f(_0x35edb8),_0x35edb8&&_0xdc0f69[_0x146eba(0x174)](_0x35edb8);return _0xdc0f69;}export function normalizeHTML(_0x56b561){const _0x44744d=_0x5929;return _0x56b561[_0x44744d(0x16c)](/^\s+/gm,'')[_0x44744d(0x16c)](/\s+$/gm,'')[_0x44744d(0x16c)](/\n*/g,'')[_0x44744d(0x16c)](/\s+/g,'\x20')[_0x44744d(0x16c)](/>\s*</g,'><');}export function areNodesSame(_0xb6aef3,_0x4ab32c){return normalizeHTML(serialize(_0xb6aef3))===normalizeHTML(serialize(_0x4ab32c));}export function getNodeNestingLevel(_0x1bea51){const _0x5d45cc=_0x5929;let _0x1671de=0x0;for(;_0x1bea51[_0x5d45cc(0x168)];)_0x1bea51=_0x1bea51[_0x5d45cc(0x168)],_0x1671de++;return _0x1671de;}function _0x4d8b(){const _0xfc46bc=['reverse','afterend','12882CbPjps','parentNode','indexOf','forEach','469fnnboP','replace','11tsWvcW','4515288sFmzHr','986178xcNAqZ','40725Ugnovg','beforeend','4oovEGj','map','push','327802fdMUPM','3183712IgAbHQ','attribs','cloneNode','nextSibling','beforebegin','7768EeGzlp','afterbegin','slice','1050VBEBMs','875tPlrhe'];_0x4d8b=function(){return _0xfc46bc;};return _0x4d8b();}export function removeElementsAfter(_0x572a47){const _0x76b8c9=_0x5929,_0x10053b=[];let _0x5a9af5=_0x572a47[_0x76b8c9(0x179)];for(;_0x5a9af5;)_0x10053b[_0x76b8c9(0x174)](_0x5a9af5),_0x5a9af5=_0x5a9af5[_0x76b8c9(0x179)];_0x10053b[_0x76b8c9(0x16a)](_0x360bee=>{_0x38eac2(_0x360bee);});}export function getNodePath(_0x3898de){const _0x53aeee=_0x5929;return[_0x3898de,...getParents(_0x3898de)][_0x53aeee(0x17d)](0x0,-0x1)[_0x53aeee(0x173)](_0x495f78=>{const _0x293e99=_0x53aeee,_0x485f9c=_0x18a68f(_0x495f78);return _0x432986(_0x485f9c)[_0x293e99(0x169)](_0x495f78);})[_0x53aeee(0x165)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53fe09=_0x100f;function _0x4943(){const _0x5c9ed8=['children','2013081LllBWE','del','1uNajBW','sup','sub','50306ncGuAg','18kGADRf','renderNode','textNodeStyle','splitTextNodeIntoWordNodes','onStreamUpdate','replaceWith','113770oiSlCE','308uXIlpN','match','reverse','64eFIrpr','stop','from','forEach','currentIndex','ai-html-streamer-current-index-out-of-bounds','childNodes','tagName','span[data-ck-html-streamer-word-chunk]','attribs','stream','1772668sAlrSC','addEventListener','timeoutAbortController','parent','isWordSplitResult','options','bind','signal','div','isStreaming','includes','document','shouldBeStreamed','map','mark','entries','nodesList','621342nmnmnY','getParsedDocumentNodeList','span','ins','querySelectorAll','push','cleanUpAnimations','abort','delay','now','1185401OofeAp','isWordSplitSource','strong','join','length','1116745iJrPUy','code'];_0x4943=function(){return _0x5c9ed8;};return _0x4943();}function _0x100f(_0x445209,_0x2c48f5){const _0x494309=_0x4943();return _0x100f=function(_0x100f1c,_0x8bcc03){_0x100f1c=_0x100f1c-0x134;let _0x2b76cd=_0x494309[_0x100f1c];return _0x2b76cd;},_0x100f(_0x445209,_0x2c48f5);}(function(_0x4f0489,_0x43ffe0){const _0x22a2b8=_0x100f,_0x583955=_0x4f0489();while(!![]){try{const _0x11b67b=parseInt(_0x22a2b8(0x142))/0x1*(-parseInt(_0x22a2b8(0x145))/0x2)+parseInt(_0x22a2b8(0x140))/0x3+-parseInt(_0x22a2b8(0x15b))/0x4+-parseInt(_0x22a2b8(0x13d))/0x5+-parseInt(_0x22a2b8(0x146))/0x6*(parseInt(_0x22a2b8(0x138))/0x7)+parseInt(_0x22a2b8(0x150))/0x8*(parseInt(_0x22a2b8(0x16c))/0x9)+parseInt(_0x22a2b8(0x14c))/0xa*(parseInt(_0x22a2b8(0x14d))/0xb);if(_0x11b67b===_0x43ffe0)break;else _0x583955['push'](_0x583955['shift']());}catch(_0x81d0b2){_0x583955['push'](_0x583955['shift']());}}}(_0x4943,0x538ad));import _0x594fb3 from'morphdom';import{NodeWithChildren as _0x430a59,Text as _0x3c8bc4,Element as _0x531a13,isText as _0x291347,isDocument as _0x6ad0f8,isTag as _0x4de91d,cloneNode as _0x5ca9ad,getChildren as _0x1a7b2e,prepend as _0x4d4840,removeElement as _0x3f0a14,textContent as _0x2cbadb,render as _0x473455}from'./htmlparser.js';import{logWarning as _0x5709c3}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x53fe09(0x160)];[_0x53fe09(0x164)]=!0x1;[_0x53fe09(0x166)]=null;[_0x53fe09(0x16b)]=[];[_0x53fe09(0x154)]=0x0;[_0x53fe09(0x15d)]=null;constructor(_0xc51764){const _0x1e1c1b=_0x53fe09;this[_0x1e1c1b(0x160)]={'delay':_0xc51764[_0x1e1c1b(0x136)]??0x14,'textNodeStyle':_0xc51764[_0x1e1c1b(0x148)],'onStreamUpdate':_0xc51764[_0x1e1c1b(0x14a)]||(()=>{})};}async[_0x53fe09(0x15a)]({document:_0x4bf546,targetElement:_0x5c4192,abortSignal:_0x9a54dc}){const _0x4dc6f1=_0x53fe09;this[_0x4dc6f1(0x164)]&&this[_0x4dc6f1(0x151)](),_0x9a54dc?.[_0x4dc6f1(0x15c)](_0x4dc6f1(0x135),this[_0x4dc6f1(0x151)][_0x4dc6f1(0x161)](this)),this[_0x4dc6f1(0x166)]=_0x5ca9ad(_0x4bf546,!0x0),this[_0x4dc6f1(0x16b)]=this[_0x4dc6f1(0x16d)](),this[_0x4dc6f1(0x164)]=!0x0,this[_0x4dc6f1(0x154)]>this[_0x4dc6f1(0x16b)][_0x4dc6f1(0x13c)]&&(_0x5709c3(_0x4dc6f1(0x155),{'currentIndex':this[_0x4dc6f1(0x154)],'nodeList':this[_0x4dc6f1(0x16b)]}),this[_0x4dc6f1(0x154)]=this[_0x4dc6f1(0x16b)][_0x4dc6f1(0x13c)]);for(let _0x3ef17c=0x0;_0x3ef17c<this[_0x4dc6f1(0x154)];_0x3ef17c++)this[_0x4dc6f1(0x16b)][_0x3ef17c][_0x4dc6f1(0x167)]=!0x0;let _0x5be555=0x0;for(let _0x236b50=this[_0x4dc6f1(0x154)];_0x236b50<this[_0x4dc6f1(0x16b)][_0x4dc6f1(0x13c)];_0x236b50++){const _0x262aa5=Date[_0x4dc6f1(0x137)](),_0x3da142=this[_0x4dc6f1(0x16b)][_0x236b50],_0x5c9f77=_0x262aa5-_0x5be555;_0x3da142[_0x4dc6f1(0x167)]=!0x0;let _0x34a6a1=_0x3da142[_0x4dc6f1(0x15e)];for(;_0x34a6a1;)_0x34a6a1[_0x4dc6f1(0x167)]=!0x0,_0x34a6a1=_0x34a6a1[_0x4dc6f1(0x15e)];if(_0x5c9f77<this[_0x4dc6f1(0x160)][_0x4dc6f1(0x136)])try{const {promise:_0x57bf78,abortController:_0x5b26c8}=pr(this[_0x4dc6f1(0x160)][_0x4dc6f1(0x136)]-_0x5c9f77);this[_0x4dc6f1(0x15d)]=_0x5b26c8,await _0x57bf78;}catch(_0x26aa8c){return;}_0x594fb3(_0x5c4192,'<'+_0x5c4192[_0x4dc6f1(0x157)]+'>'+this[_0x4dc6f1(0x147)](this[_0x4dc6f1(0x166)])+'</'+_0x5c4192[_0x4dc6f1(0x157)]+'>',{'childrenOnly':!0x0}),this[_0x4dc6f1(0x160)][_0x4dc6f1(0x14a)]&&this[_0x4dc6f1(0x160)][_0x4dc6f1(0x14a)](),this[_0x4dc6f1(0x154)]=_0x236b50,_0x5be555=Date[_0x4dc6f1(0x137)]();}this[_0x4dc6f1(0x164)]=!0x1;}[_0x53fe09(0x134)]({targetElement:_0x156263}){const _0x29cdb8=_0x53fe09;Array[_0x29cdb8(0x152)](_0x156263[_0x29cdb8(0x170)](_0x29cdb8(0x158)))[_0x29cdb8(0x14f)]()[_0x29cdb8(0x153)](_0x2fa78d=>{const _0x19b6e2=_0x29cdb8;_0x2fa78d[_0x19b6e2(0x14b)](_0x2fa78d[_0x19b6e2(0x156)][0x0]);});}[_0x53fe09(0x151)](){const _0x5e4df9=_0x53fe09;this[_0x5e4df9(0x164)]=!0x1,this[_0x5e4df9(0x15d)]&&(this[_0x5e4df9(0x15d)][_0x5e4df9(0x135)](),this[_0x5e4df9(0x15d)]=null);}[_0x53fe09(0x147)](_0x36ce6e){const _0x167197=_0x53fe09;let _0x1b0da7='';if(function(_0x4c52a4){return _0x6ad0f8(_0x4c52a4);}(_0x36ce6e)){for(const _0x3cd7d0 of _0x36ce6e[_0x167197(0x13f)])_0x1b0da7+=this[_0x167197(0x147)](_0x3cd7d0);}else{if(dr(_0x36ce6e)){if(!_0x36ce6e[_0x167197(0x167)])return'';const _0x2a2dc3=_0x36ce6e,_0x2512d6=Object[_0x167197(0x16a)](_0x2a2dc3[_0x167197(0x159)])[_0x167197(0x168)](([_0x77f970,_0x42a16c])=>_0x77f970+'=\x22'+_0x42a16c+'\x22')[_0x167197(0x13b)]('\x20');_0x1b0da7+='<'+_0x2a2dc3[_0x167197(0x157)]+(_0x2512d6?'\x20'+_0x2512d6:'')+'>';for(const _0x381a92 of _0x1a7b2e(_0x2a2dc3))_0x1b0da7+=this[_0x167197(0x147)](_0x381a92);_0x1b0da7+='</'+_0x2a2dc3[_0x167197(0x157)]+'>';}else{if(!ar(_0x36ce6e))return'';if(!_0x36ce6e[_0x167197(0x167)])return'';!function(_0x32cf4b){const _0x22d122=_0x167197;if(!_0x32cf4b[_0x22d122(0x15e)]||!dr(_0x32cf4b[_0x22d122(0x15e)]))return!0x1;if(!cr[_0x22d122(0x165)](_0x32cf4b[_0x22d122(0x15e)][_0x22d122(0x157)]))return!0x1;return!_0x2cbadb(_0x32cf4b)[_0x22d122(0x14e)](/^\s*[<>]\s*$/);}(_0x36ce6e)?_0x1b0da7+=_0x473455(_0x36ce6e):_0x1b0da7+=_0x473455(new _0x531a13(_0x167197(0x16e),{'data-ck-html-streamer-word-chunk':'','style':this[_0x167197(0x160)][_0x167197(0x148)]},[_0x36ce6e]));}}return _0x1b0da7;}[_0x53fe09(0x16d)](){const _0x1a2016=_0x53fe09,_0x3b6aad=[];return function(_0x4b743b,_0x1e696a){const _0x15a37d=_0x100f,_0x132e8f=_0x1cf663=>{const _0x575f66=_0x100f;if(_0x1e696a(_0x1cf663),_0x1cf663 instanceof _0x430a59)for(let _0x45579f=0x0;_0x45579f<_0x1cf663[_0x575f66(0x13f)][_0x575f66(0x13c)];_0x45579f++){const _0x69cae4=_0x1cf663[_0x575f66(0x13f)][_0x45579f];_0x132e8f(_0x69cae4);}};for(let _0x575dfb=0x0;_0x575dfb<_0x4b743b[_0x15a37d(0x13f)][_0x15a37d(0x13c)];_0x575dfb++)_0x132e8f(_0x4b743b[_0x15a37d(0x13f)][_0x575dfb]);}(this[_0x1a2016(0x166)],_0x267a4e=>{const _0x35a463=_0x1a2016;if(ar(_0x267a4e)){const _0x108060=this[_0x35a463(0x149)](_0x267a4e);_0x108060[_0x35a463(0x13c)]&&_0x3b6aad[_0x35a463(0x171)](..._0x108060);}_0x267a4e[_0x35a463(0x139)]||_0x267a4e[_0x35a463(0x15f)]||_0x3b6aad[_0x35a463(0x171)](_0x267a4e);}),_0x3b6aad;}[_0x53fe09(0x149)](_0x23ff03){const _0x3a219e=_0x53fe09;if(_0x23ff03[_0x3a219e(0x139)]||_0x23ff03[_0x3a219e(0x15f)])return[];const _0x54affb=_0x2cbadb(_0x23ff03)[_0x3a219e(0x14e)](/(?:\s*\S+\s*)/g),_0x4ef834=[];if(_0x54affb&&_0x54affb[_0x3a219e(0x13c)]>0x1){for(const _0x38d017 of _0x54affb){const _0x46b520=new _0x3c8bc4(_0x38d017);_0x46b520[_0x3a219e(0x15f)]=!0x0,_0x4d4840(_0x23ff03,_0x46b520),_0x4ef834[_0x3a219e(0x171)](_0x46b520);}_0x23ff03[_0x3a219e(0x139)]=!0x0,_0x3f0a14(_0x23ff03);}return _0x4ef834;}}const cr=['p','li','td','th',_0x53fe09(0x16e),'h1','h2','h3','h4','h5','h6','b',_0x53fe09(0x13a),'i','em',_0x53fe09(0x169),_0x53fe09(0x141),_0x53fe09(0x16f),_0x53fe09(0x143),_0x53fe09(0x144),'a',_0x53fe09(0x13e),_0x53fe09(0x163)];function ar(_0x1221e8){return _0x291347(_0x1221e8);}function dr(_0xfdb694){return _0x4de91d(_0xfdb694);}function pr(_0x3d9680){const _0x2e9ecc=new AbortController();return{'promise':new Promise((_0x3cb4a4,_0x1ccb39)=>{const _0x1c5074=_0x100f,_0x4a3069=setTimeout(_0x3cb4a4,_0x3d9680);_0x2e9ecc[_0x1c5074(0x162)][_0x1c5074(0x15c)](_0x1c5074(0x135),()=>{clearTimeout(_0x4a3069),_0x1ccb39();});}),'abortController':_0x2e9ecc};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x55a4(_0x5c4be4,_0xf8e26a){var _0x56606c=_0x5660();return _0x55a4=function(_0x55a4c2,_0x32c4ad){_0x55a4c2=_0x55a4c2-0xc8;var _0x45fb07=_0x56606c[_0x55a4c2];return _0x45fb07;},_0x55a4(_0x5c4be4,_0xf8e26a);}var _0x169be3=_0x55a4;(function(_0x235ede,_0x542b00){var _0x3a7ca6=_0x55a4,_0x1047a5=_0x235ede();while(!![]){try{var _0xdbde10=-parseInt(_0x3a7ca6(0xce))/0x1+parseInt(_0x3a7ca6(0xd5))/0x2+parseInt(_0x3a7ca6(0xd1))/0x3*(-parseInt(_0x3a7ca6(0xcd))/0x4)+-parseInt(_0x3a7ca6(0xcb))/0x5+parseInt(_0x3a7ca6(0xd6))/0x6*(-parseInt(_0x3a7ca6(0xcf))/0x7)+-parseInt(_0x3a7ca6(0xc8))/0x8+parseInt(_0x3a7ca6(0xcc))/0x9*(parseInt(_0x3a7ca6(0xd2))/0xa);if(_0xdbde10===_0x542b00)break;else _0x1047a5['push'](_0x1047a5['shift']());}catch(_0x164e00){_0x1047a5['push'](_0x1047a5['shift']());}}}(_0x5660,0x7ac66));import{Plugin as _0x172882}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x2d444e}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x219bad}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x172882{static get[_0x169be3(0xd0)](){return[_0x2d444e,_0x219bad];}static get[_0x169be3(0xc9)](){var _0x34eb61=_0x169be3;return _0x34eb61(0xd4);}static get[_0x169be3(0xca)](){return!0x0;}static get[_0x169be3(0xd3)](){return!0x0;}}function _0x5660(){var _0x184436=['7remXMp','requires','158691jjYSRS','50ZbaHGk','isPremiumPlugin','AIEditorIntegration','1795788XJCvOq','621090zmqAGp','3776784pmUFia','pluginName','isOfficialPlugin','3495135xMDSsm','3723849yAjvEf','40GSLmiP','660203iYYyHE'];_0x5660=function(){return _0x184436;};return _0x5660();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x20f88d=_0x23d5;(function(_0x4d2c6,_0x52512f){const _0x9a7978=_0x23d5,_0x1e6367=_0x4d2c6();while(!![]){try{const _0x36007f=parseInt(_0x9a7978(0x112))/0x1+parseInt(_0x9a7978(0x10d))/0x2*(-parseInt(_0x9a7978(0x104))/0x3)+parseInt(_0x9a7978(0x113))/0x4+-parseInt(_0x9a7978(0x102))/0x5*(parseInt(_0x9a7978(0xf0))/0x6)+parseInt(_0x9a7978(0xf4))/0x7*(-parseInt(_0x9a7978(0x105))/0x8)+-parseInt(_0x9a7978(0x10f))/0x9*(-parseInt(_0x9a7978(0x101))/0xa)+-parseInt(_0x9a7978(0x10e))/0xb*(-parseInt(_0x9a7978(0x110))/0xc);if(_0x36007f===_0x52512f)break;else _0x1e6367['push'](_0x1e6367['shift']());}catch(_0x489dd6){_0x1e6367['push'](_0x1e6367['shift']());}}}(_0x22c7,0x2107c));import{Plugin as _0x3024dd}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x52a7b3}from'./toggleaicommand.js';function _0x23d5(_0x3660e3,_0x261c01){const _0x22c7fe=_0x22c7();return _0x23d5=function(_0x23d58a,_0x36eb3f){_0x23d58a=_0x23d58a-0xef;let _0x306dfc=_0x22c7fe[_0x23d58a];return _0x306dfc;},_0x23d5(_0x3660e3,_0x261c01);}import{ButtonView as _0x493fc4,MenuBarMenuListItemButtonView as _0x320b20}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x3d84d0}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x195b48}from'../../aicore/utils/common-translations.js';import{AITabs as _0xd650c8}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x3024dd{static get[_0x20f88d(0xf7)](){return[_0xd650c8];}static get[_0x20f88d(0x111)](){const _0x43dc51=_0x20f88d;return _0x43dc51(0x109);}static get[_0x20f88d(0x107)](){return!0x0;}static get[_0x20f88d(0x106)](){return!0x0;}[_0x20f88d(0x108)](){const _0x5e8e42=_0x20f88d,_0x5ae817=this[_0x5e8e42(0xfd)];_0x5ae817[_0x5e8e42(0x100)][_0x5e8e42(0xfa)](_0x5e8e42(0xf1),new _0x52a7b3(_0x5ae817)),_0x5ae817['ui'][_0x5e8e42(0xf5)][_0x5e8e42(0xfa)](_0x5e8e42(0xf1),()=>{const _0x1c441c=_0x5e8e42,_0x5bd52b=this[_0x1c441c(0xfe)](_0x493fc4);return _0x5bd52b[_0x1c441c(0xfc)]({'tooltip':!0x0,'class':_0x1c441c(0xf3)}),_0x5bd52b;}),_0x5ae817['ui'][_0x5e8e42(0xf5)][_0x5e8e42(0xfa)](_0x5e8e42(0x10c),()=>{const _0x13de6b=_0x5e8e42,_0x240660=this[_0x13de6b(0xfe)](_0x320b20);return _0x240660[_0x13de6b(0xfc)]({'role':_0x13de6b(0x10b)}),_0x240660;});}[_0x20f88d(0xfe)](_0x17f54c){const _0x33b621=_0x20f88d,_0x261e20=this[_0x33b621(0xfd)],_0x1f6f1b=_0x261e20[_0x33b621(0x100)][_0x33b621(0x10a)](_0x33b621(0xf1)),_0x485816=new _0x17f54c(_0x261e20[_0x33b621(0xef)]);return _0x485816[_0x33b621(0xfc)]({'label':_0x195b48(_0x261e20[_0x33b621(0xef)],_0x33b621(0x103)),'icon':_0x3d84d0,'isToggleable':!0x0}),_0x485816[_0x33b621(0xf8)](_0x33b621(0xf6))['to'](_0x1f6f1b),_0x485816[_0x33b621(0xf8)](_0x33b621(0xfb))['to'](_0x1f6f1b,_0x33b621(0xff),_0x172fd0=>!!_0x172fd0),this[_0x33b621(0xf2)](_0x485816,_0x33b621(0xf9),()=>{const _0xd8d591=_0x33b621;_0x1f6f1b[_0xd8d591(0xf9)]();}),_0x485816;}}function _0x22c7(){const _0x159aa6=['ck-ai-toggle-button','14eNhxKM','componentFactory','isEnabled','requires','bind','execute','add','isOn','set','editor','_createAIUIButton','value','commands','922690erSXWJ','10fnFEnc','AI_TOGGLE_BUTTON_LABEL','5280htJAsS','972736Osahwo','isPremiumPlugin','isOfficialPlugin','init','AIToggleButtonUI','get','menuitemcheckbox','menuBar:toggleAi','118IhQTct','31130zEmdwJ','18KADDvc','516lGaviM','pluginName','31539FeqHnG','601828fpSzDx','locale','17724oRDkDG','toggleAi','listenTo'];_0x22c7=function(){return _0x159aa6;};return _0x22c7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21bffa=_0x5088;(function(_0x29d0e2,_0x217596){const _0x2dee44=_0x5088,_0x193afa=_0x29d0e2();while(!![]){try{const _0x41e86b=parseInt(_0x2dee44(0x1f0))/0x1*(parseInt(_0x2dee44(0x200))/0x2)+parseInt(_0x2dee44(0x1f2))/0x3*(parseInt(_0x2dee44(0x203))/0x4)+-parseInt(_0x2dee44(0x1fb))/0x5*(-parseInt(_0x2dee44(0x1f7))/0x6)+-parseInt(_0x2dee44(0x1ef))/0x7*(parseInt(_0x2dee44(0x1f9))/0x8)+parseInt(_0x2dee44(0x1f1))/0x9+-parseInt(_0x2dee44(0x1fa))/0xa+parseInt(_0x2dee44(0x202))/0xb*(parseInt(_0x2dee44(0x1f5))/0xc);if(_0x41e86b===_0x217596)break;else _0x193afa['push'](_0x193afa['shift']());}catch(_0x5ef7bb){_0x193afa['push'](_0x193afa['shift']());}}}(_0x4363,0xead26));function _0x5088(_0x54d76d,_0x1ed204){const _0x436365=_0x4363();return _0x5088=function(_0x5088b1,_0x36f25b){_0x5088b1=_0x5088b1-0x1ee;let _0x4890a9=_0x436365[_0x5088b1];return _0x4890a9;},_0x5088(_0x54d76d,_0x1ed204);}function _0x4363(){const _0x2324d4=['get','462iEDLUO','isEnabled','8bDKBOd','17320560BNSWjV','26170AUncdS','plugins','value','view','AITabs','84314iZrkYi','isVisible','3377UNayAz','2073304uFodZF','bind','13435429ixCdkp','5XzYUFm','6890211tsUwaW','6DPYUuF','execute','editor','85884rGPFbt'];_0x4363=function(){return _0x2324d4;};return _0x4363();}import{Command as _0x543078}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x543078{constructor(_0x24247a){const _0xef519=_0x5088;super(_0x24247a);const _0x186f86=_0x24247a[_0xef519(0x1fc)][_0xef519(0x1f6)](_0xef519(0x1ff))[_0xef519(0x1fe)];this[_0xef519(0x1ee)](_0xef519(0x1fd))['to'](_0x186f86,_0xef519(0x201)),this[_0xef519(0x1f8)]=!0x0;}[_0x21bffa(0x1f3)](){const _0x313b81=_0x21bffa,_0x4f5c8a=this[_0x313b81(0x1f4)][_0x313b81(0x1fc)][_0x313b81(0x1f6)](_0x313b81(0x1ff))[_0x313b81(0x1fe)];_0x4f5c8a[_0x313b81(0x201)]=!_0x4f5c8a[_0x313b81(0x201)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x547469=_0x466c;(function(_0x43a1d9,_0x3d3c5e){var _0x495c0c=_0x466c,_0x4fd6c6=_0x43a1d9();while(!![]){try{var _0x40c668=-parseInt(_0x495c0c(0x117))/0x1*(-parseInt(_0x495c0c(0x120))/0x2)+parseInt(_0x495c0c(0x115))/0x3*(parseInt(_0x495c0c(0x124))/0x4)+-parseInt(_0x495c0c(0x113))/0x5*(-parseInt(_0x495c0c(0x11d))/0x6)+parseInt(_0x495c0c(0x118))/0x7*(parseInt(_0x495c0c(0x119))/0x8)+-parseInt(_0x495c0c(0x11e))/0x9+-parseInt(_0x495c0c(0x11f))/0xa+parseInt(_0x495c0c(0x116))/0xb;if(_0x40c668===_0x3d3c5e)break;else _0x4fd6c6['push'](_0x4fd6c6['shift']());}catch(_0x2a7d68){_0x4fd6c6['push'](_0x4fd6c6['shift']());}}}(_0x5c3d,0xa4bfe));function _0x5c3d(){var _0x30e627=['411579larUSF','9829226mACBNp','235sWTaeL','2807rytsee','4728FSjCjw','pluginName','ai.quickActions','requires','7044GIOnEh','8461044FOaVtb','10716990UAPIyH','6870kdFGQe','isOfficialPlugin','isPremiumPlugin','define','4FpIxAg','config','2605bHbWAN','AIQuickActions'];_0x5c3d=function(){return _0x30e627;};return _0x5c3d();}function _0x466c(_0x9ee95e,_0x56a6dd){var _0x5c3dce=_0x5c3d();return _0x466c=function(_0x466c02,_0x39fb4e){_0x466c02=_0x466c02-0x113;var _0x28677f=_0x5c3dce[_0x466c02];return _0x28677f;},_0x466c(_0x9ee95e,_0x56a6dd);}import{Plugin as _0x471dad}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x5663f4}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x7b27a4}from'./aiquickactionsediting.js';import{AIActions as _0x1f95ba}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x471dad{static get[_0x547469(0x11c)](){return[_0x5663f4,_0x7b27a4,_0x1f95ba];}static get[_0x547469(0x11a)](){var _0x1fe916=_0x547469;return _0x1fe916(0x114);}static get[_0x547469(0x121)](){return!0x0;}static get[_0x547469(0x122)](){return!0x0;}constructor(_0x358a9f){var _0x192cc4=_0x547469;super(_0x358a9f),_0x358a9f[_0x192cc4(0x125)][_0x192cc4(0x123)](_0x192cc4(0x11b),{'extraCommands':[],'removeCommands':[]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x692fce=_0x44cd;(function(_0x3841c2,_0x8dbab3){const _0x272aeb=_0x44cd,_0x318110=_0x3841c2();while(!![]){try{const _0x42fac2=parseInt(_0x272aeb(0x1d4))/0x1+parseInt(_0x272aeb(0x1cb))/0x2*(parseInt(_0x272aeb(0x1dd))/0x3)+-parseInt(_0x272aeb(0x1fd))/0x4+parseInt(_0x272aeb(0x1f6))/0x5*(-parseInt(_0x272aeb(0x1d2))/0x6)+-parseInt(_0x272aeb(0x1da))/0x7*(-parseInt(_0x272aeb(0x1db))/0x8)+parseInt(_0x272aeb(0x1ea))/0x9+-parseInt(_0x272aeb(0x1fe))/0xa*(parseInt(_0x272aeb(0x1d3))/0xb);if(_0x42fac2===_0x8dbab3)break;else _0x318110['push'](_0x318110['shift']());}catch(_0x526b55){_0x318110['push'](_0x318110['shift']());}}}(_0x2627,0x3890c));import{Command as _0x3c91d3}from'ckeditor5/src/core.js';import{CKEditorError as _0x5aea4b,first as _0xedab31}from'ckeditor5/src/utils.js';function _0x44cd(_0x19a866,_0x1ddb67){const _0x262757=_0x2627();return _0x44cd=function(_0x44cd93,_0x5a4724){_0x44cd93=_0x44cd93-0x1c2;let _0x39ea88=_0x262757[_0x44cd93];return _0x39ea88;},_0x44cd(_0x19a866,_0x1ddb67);}import{AIQuickActionType as _0x435dd4}from'./aiquickactionsui.js';import{getTranslation as _0x176089}from'../aicore/utils/common-translations.js';function _0x2627(){const _0x39df76=['other','selection','AIChat','startConversation','log','AIReviewMode','_handleAIReviewAction','locale','244106lUakPK','addSelectionToChatContext','AIActions','handleAIReviewAction','prompt','setSelection','sendMessage','1109994WcMHhC','70972qyGGAk','1496rxHHHs','ai-quick-actions-plugin-not-found','parent','_expandSelectionIfCollapsed','editor','isCollapsed','7UexgkV','1729456ItgWUg','removeSelectionFromChatContext','3CuawnP','plugins','label','document','displayedPrompt','view','ACTION','REVIEW','CHAT','AIChatController','ask-ai','actionName','_handleAIActionsActionLabel','3193767eFGXMk','has','icon','getSelectedBlocks','get','args','type','_handleAIChatAction','activateTab','model','AITabs','_handleAIActionsAction','5LkkozS','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','chat','getLimitElement','execute','change','schema','827724GZcXOC','110qJGeqV','focusPromptInput','executeAction'];_0x2627=function(){return _0x39df76;};return _0x2627();}export class AIQuickActionsCommand extends _0x3c91d3{[_0x692fce(0x1fa)](_0x58b41f){const _0x22ba3c=_0x692fce;switch(this[_0x22ba3c(0x1d7)](),_0x58b41f[_0x22ba3c(0x1f0)]){case _0x435dd4[_0x22ba3c(0x1e5)]:if(!this[_0x22ba3c(0x1d8)][_0x22ba3c(0x1de)][_0x22ba3c(0x1eb)](_0x22ba3c(0x1c5))){const _0x2efaa8=_0x176089(this[_0x22ba3c(0x1d8)][_0x22ba3c(0x1ca)],_0x22ba3c(0x1f7),_0x22ba3c(0x1c5));throw new _0x5aea4b(_0x22ba3c(0x1d5),this[_0x22ba3c(0x1d8)],{'errorMessage':_0x2efaa8});}this[_0x22ba3c(0x1f1)](_0x58b41f);break;case _0x435dd4[_0x22ba3c(0x1e3)]:if(!this[_0x22ba3c(0x1d8)][_0x22ba3c(0x1de)][_0x22ba3c(0x1eb)](_0x22ba3c(0x1cd))){const _0xbdf2a5=_0x176089(this[_0x22ba3c(0x1d8)][_0x22ba3c(0x1ca)],_0x22ba3c(0x1f7),_0x22ba3c(0x1cd));throw new _0x5aea4b(_0x22ba3c(0x1d5),this[_0x22ba3c(0x1d8)],{'errorMessage':_0xbdf2a5});}this[_0x22ba3c(0x1f5)](_0x58b41f);break;case _0x435dd4[_0x22ba3c(0x1e4)]:if(!this[_0x22ba3c(0x1d8)][_0x22ba3c(0x1de)][_0x22ba3c(0x1eb)](_0x22ba3c(0x1c8))){const _0x4031cd=_0x176089(this[_0x22ba3c(0x1d8)][_0x22ba3c(0x1ca)],_0x22ba3c(0x1f7),_0x22ba3c(0x1c8));throw new _0x5aea4b(_0x22ba3c(0x1d5),this[_0x22ba3c(0x1d8)],{'errorMessage':_0x4031cd});}this[_0x22ba3c(0x1c9)](_0x58b41f);}}async[_0x692fce(0x1f1)](_0x10470a){const _0x42910a=_0x692fce,_0x38c0f8=this[_0x42910a(0x1d8)][_0x42910a(0x1de)][_0x42910a(0x1ee)](_0x42910a(0x1c5)),_0x5b6009=this[_0x42910a(0x1d8)][_0x42910a(0x1de)][_0x42910a(0x1ee)](_0x42910a(0x1e6));if(this[_0x42910a(0x1d8)][_0x42910a(0x1de)][_0x42910a(0x1ee)](_0x42910a(0x1f4))[_0x42910a(0x1e2)][_0x42910a(0x1f2)](_0x42910a(0x1f8)),_0x42910a(0x1e7)===_0x10470a['id'])_0x5b6009[_0x42910a(0x1dc)](),await _0x38c0f8[_0x42910a(0x1cc)](),_0x38c0f8[_0x42910a(0x1ff)]();else await _0x38c0f8[_0x42910a(0x1c6)](),_0x5b6009[_0x42910a(0x1dc)](),await _0x38c0f8[_0x42910a(0x1cc)](),_0x38c0f8[_0x42910a(0x1ff)](),await _0x38c0f8[_0x42910a(0x1d1)]({'message':_0x10470a[_0x42910a(0x1cf)]||_0x10470a[_0x42910a(0x1e1)],'quickActionData':{'id':_0x10470a['id'],'displayedPrompt':_0x10470a[_0x42910a(0x1e1)]}});}[_0x692fce(0x1d7)](){const _0x2fa62b=_0x692fce,_0x518d81=this[_0x2fa62b(0x1d8)],_0x32cdb6=_0x518d81[_0x2fa62b(0x1f3)][_0x2fa62b(0x1e0)][_0x2fa62b(0x1c4)];if(!_0x32cdb6[_0x2fa62b(0x1d9)])return;const _0x4c4bab=_0xedab31(_0x32cdb6[_0x2fa62b(0x1ed)]())||_0x518d81[_0x2fa62b(0x1f3)][_0x2fa62b(0x1fc)][_0x2fa62b(0x1f9)](_0x32cdb6);_0x518d81[_0x2fa62b(0x1f3)][_0x2fa62b(0x1fb)](_0x2aaf6f=>{const _0x22441d=_0x2fa62b;_0x2aaf6f[_0x22441d(0x1d0)](_0x4c4bab,'in');});}[_0x692fce(0x1e9)](_0x54910e){const _0xe662ca=_0x692fce;return _0x54910e[_0xe662ca(0x1d6)]?.[_0xe662ca(0x1df)]&&_0xe662ca(0x1c3)!==_0x54910e[_0xe662ca(0x1d6)]?.['id']?_0x54910e[_0xe662ca(0x1d6)][_0xe662ca(0x1df)]+':\x20'+_0x54910e[_0xe662ca(0x1e1)]:_0x54910e[_0xe662ca(0x1e1)];}async[_0x692fce(0x1f5)](_0x1e42dd){const _0x11fd1e=_0x692fce,_0x35914b=this[_0x11fd1e(0x1d8)][_0x11fd1e(0x1de)][_0x11fd1e(0x1ee)](_0x11fd1e(0x1cd)),_0x415d1d=_0x1e42dd[_0x11fd1e(0x1cf)]?{'userMessage':_0x1e42dd[_0x11fd1e(0x1cf)],'model':_0x1e42dd[_0x11fd1e(0x1f3)]}:{'actionName':_0x1e42dd[_0x11fd1e(0x1e8)]||_0x1e42dd['id'],'args':_0x1e42dd[_0x11fd1e(0x1ef)]},_0x23dbef=this[_0x11fd1e(0x1e9)](_0x1e42dd);await _0x35914b[_0x11fd1e(0x1c2)](_0x415d1d,_0x23dbef,_0x1e42dd[_0x11fd1e(0x1ec)]);}async[_0x692fce(0x1c9)](_0x1523f9){const _0x35b3c4=_0x692fce;console[_0x35b3c4(0x1c7)](_0x35b3c4(0x1ce),_0x1523f9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x534f31=_0x2ab5;(function(_0x54392,_0x537c15){const _0x173327=_0x2ab5,_0x28bca2=_0x54392();while(!![]){try{const _0x125561=-parseInt(_0x173327(0x1cb))/0x1+parseInt(_0x173327(0x1b9))/0x2+-parseInt(_0x173327(0x1ce))/0x3*(parseInt(_0x173327(0x1b5))/0x4)+-parseInt(_0x173327(0x1b8))/0x5*(parseInt(_0x173327(0x1c1))/0x6)+parseInt(_0x173327(0x1d0))/0x7*(parseInt(_0x173327(0x1b4))/0x8)+parseInt(_0x173327(0x1bb))/0x9*(-parseInt(_0x173327(0x1c6))/0xa)+-parseInt(_0x173327(0x1be))/0xb*(-parseInt(_0x173327(0x1c9))/0xc);if(_0x125561===_0x537c15)break;else _0x28bca2['push'](_0x28bca2['shift']());}catch(_0x19bdb0){_0x28bca2['push'](_0x28bca2['shift']());}}}(_0x3b96,0xb2128));import{Plugin as _0x8e0dea}from'ckeditor5/src/core.js';function _0x3b96(){const _0x58a7f7=['init','152166qINTEr','add','has','152AOplvA','468mzAQkP','plugins','document','3067895fDjdsd','827596cIubXQ','selection','459NopRWv','AIChat','change:range','2959LqcXeh','get','editor','6XwuBlQ','aiQuickAction','AIQuickActionsEditing','isOfficialPlugin','pluginName','22890WBcgsi','isPremiumPlugin','model','109212mqUVHv','commands','497516QeGOXb','removeSelectionFromChatContext','directChange','33789IowTVN'];_0x3b96=function(){return _0x58a7f7;};return _0x3b96();}import{AIQuickActionsCommand as _0x184ec8}from'./aiquickactionscommand.js';function _0x2ab5(_0x86704c,_0x547fc2){const _0x3b96f2=_0x3b96();return _0x2ab5=function(_0x2ab55c,_0x488a27){_0x2ab55c=_0x2ab55c-0x1b4;let _0xc7ce84=_0x3b96f2[_0x2ab55c];return _0xc7ce84;},_0x2ab5(_0x86704c,_0x547fc2);}export class AIQuickActionsEditing extends _0x8e0dea{static get[_0x534f31(0x1c5)](){const _0x359f3c=_0x534f31;return _0x359f3c(0x1c3);}static get[_0x534f31(0x1c4)](){return!0x0;}static get[_0x534f31(0x1c7)](){return!0x0;}[_0x534f31(0x1cf)](){const _0x4d9dca=_0x534f31,_0x2cb2c6=this[_0x4d9dca(0x1c0)],_0x71de3e=new _0x184ec8(this[_0x4d9dca(0x1c0)]);if(_0x2cb2c6[_0x4d9dca(0x1ca)][_0x4d9dca(0x1d1)](_0x4d9dca(0x1c2),_0x71de3e),_0x2cb2c6[_0x4d9dca(0x1b6)][_0x4d9dca(0x1d2)](_0x4d9dca(0x1bc))){const _0x1e04d6=this[_0x4d9dca(0x1c0)][_0x4d9dca(0x1b6)][_0x4d9dca(0x1bf)](_0x4d9dca(0x1bc));_0x2cb2c6[_0x4d9dca(0x1c8)][_0x4d9dca(0x1b7)][_0x4d9dca(0x1ba)]['on'](_0x4d9dca(0x1bd),(_0x19b8d2,_0x3b4c04)=>{const _0x4807c8=_0x4d9dca;_0x3b4c04[_0x4807c8(0x1cd)]&&_0x1e04d6[_0x4807c8(0x1cc)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5d4ef7=_0x4959;(function(_0x272db5,_0x2cbd54){const _0x4c37ec=_0x4959,_0x55c17b=_0x272db5();while(!![]){try{const _0x42759a=parseInt(_0x4c37ec(0x116))/0x1+parseInt(_0x4c37ec(0xdb))/0x2+parseInt(_0x4c37ec(0xef))/0x3*(parseInt(_0x4c37ec(0xe7))/0x4)+-parseInt(_0x4c37ec(0x102))/0x5*(parseInt(_0x4c37ec(0x114))/0x6)+-parseInt(_0x4c37ec(0xb2))/0x7+parseInt(_0x4c37ec(0xe9))/0x8+parseInt(_0x4c37ec(0xf8))/0x9*(-parseInt(_0x4c37ec(0x110))/0xa);if(_0x42759a===_0x2cbd54)break;else _0x55c17b['push'](_0x55c17b['shift']());}catch(_0x127977){_0x55c17b['push'](_0x55c17b['shift']());}}}(_0x159e,0x560d9));import{IconAIAdjustLength as _0xd7e876,IconAIChangeTone as _0x37b9e6,IconAIChatCommands as _0x101a5c,IconAIContinueWriting as _0x348dfe,IconAIGrammarCheck as _0x31a9e3,IconAIImproveWriting as _0x3cad43,IconAIOther as _0x47394a,IconAIQuickActions as _0x42b0fe,IconAITranslate as _0x4e71cc}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1087df}from'ckeditor5/src/core.js';import{getTranslation as _0x57208d}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4fab29}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2c29a1}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3e27b3,BalloonToolbar as _0x1268bd,MenuBarMenuView as _0x347aa3,MenuBarMenuListView as _0x1a4d88,MenuBarMenuListItemView as _0x57b7a4,MenuBarMenuListItemButtonView as _0x15281b}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const oe=_0x5d4ef7(0x112),ae=_0x5d4ef7(0xcd),se=_0x5d4ef7(0xfc);export var AIQuickActionType;!function(_0x38b5e3){const _0x29a627=_0x5d4ef7;_0x38b5e3[_0x29a627(0xa6)]=_0x29a627(0xa6),_0x38b5e3[_0x29a627(0xb3)]=_0x29a627(0xb3),_0x38b5e3[_0x29a627(0xd0)]=_0x29a627(0xd0);}(AIQuickActionType||(AIQuickActionType={}));function _0x4959(_0x4ae289,_0xa2486c){const _0x159eb4=_0x159e();return _0x4959=function(_0x4959a7,_0xc8da27){_0x4959a7=_0x4959a7-0x80;let _0x3a4ffa=_0x159eb4[_0x4959a7];return _0x3a4ffa;},_0x4959(_0x4ae289,_0xa2486c);}export var AIQuickActionTypeToPluginName;!function(_0x4af3ac){const _0x369922=_0x5d4ef7;_0x4af3ac[_0x369922(0xa6)]=_0x369922(0xc0),_0x4af3ac[_0x369922(0xb3)]=_0x369922(0x8f),_0x4af3ac[_0x369922(0xd0)]=_0x369922(0x104);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x159e(){const _0x35ed07=['get','make-tone-direct','AIChat','make-tone-professional','icon','uiLanguage','aiQuickAction','AI_QUICK_ACTIONS_MORE_DIRECT','korean','translate-to-russian','componentFactory','chinese','isPremiumPlugin','execute','ai.quickActions.removeCommands','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','REVIEW','menuBarView','portuguese','explain','AI_QUICK_ACTIONS_OTHER','items','make-tone-confident','_getDefaultAndCustomActions','_prepareQuickActionsDefinition','init','french','1330078CroeTM','russian','some','attachToDom','AI_QUICK_ACTIONS_MAKE_LONGER','includes','translate-to-german','ask-ai','change-tone','AI_QUICK_ACTIONS_EXPLAIN','children','AI_QUICK_ACTIONS_MORE_CONFIDENT','2426820Bimgcj','English','1791312ldvRgX','menu','locale','german','forEach','translate-to-chinese','3KvBliv','close','DisplayNames','AI_QUICK_ACTIONS_MORE_FRIENDLY','_quickActionsDefinition','_executeQuickAction','focus','italian','push','9xYXwJm','AI_QUICK_ACTIONS_CONTINUE_WRITING','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_CHANGE_TONE','translate','buttonView','label','editor','728495WBbNux','japanese','AIReviewMode','make-tone-friendly','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','find','other','values','translate-to-japanese','fix-grammar','panelView','AI_QUICK_ACTIONS_ASK_AI','_initializeQuickActionsMenuBar','translate-to-spanish','9860630fAWgeC','translate-to-portuguese','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_IMPROVE_WRITING','12RSPayX','AI_QUICK_ACTIONS_SUMMARIZE','200205rNtrqR','translate-to-english','isOfficialPlugin','requires','has','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuitem','_shouldIncludeAction','language','replace','english','delegate','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','summarize','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','editing','plugins','AIActions','getDefaultQuickActions','commands','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','actions','translate-to-korean','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','map','translate-to-french','type','pluginName','AI_QUICK_ACTIONS_MORE_CASUAL','displayedPrompt','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','chat-commands','make-tone-casual','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-italian','adjust-length','make-shorter','_initializeQuickActionsComponents','_initializeQuickActionsDropdown','CHAT','continue','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','_initializeQuickActionsComponentsAndCommands','menuBar:aiQuickActions','spanish','length','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','improve-writing','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','view','set','461503bpEkOZ','ACTION','AI_QUICK_ACTIONS_HEADING','config','aiQuickActions','AIQuickActionsUI','highlight-key-points','filter','make-longer','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_ADJUST_LENGTH','add'];_0x159e=function(){return _0x35ed07;};return _0x159e();}export class AIQuickActionsUI extends _0x1087df{static get[_0x5d4ef7(0x81)](){return[_0x1268bd];}static get[_0x5d4ef7(0x9a)](){const _0x1f4cc2=_0x5d4ef7;return _0x1f4cc2(0xb7);}static get[_0x5d4ef7(0x80)](){return!0x0;}static get[_0x5d4ef7(0xca)](){return!0x0;}[_0x5d4ef7(0xd9)](){const _0x41f83b=_0x5d4ef7;this[_0x41f83b(0xd8)](this[_0x41f83b(0xd7)]()),this[_0x41f83b(0xa9)]();}static[_0x5d4ef7(0x90)](_0x4f7348){return function(_0x52065e){const _0x100b39=_0x4959,_0x172de6=new Intl[(_0x100b39(0xf1))](['en'],{'type':_0x100b39(0x86)})['of'](_0x52065e[_0x100b39(0xc3)]),_0xd4f397=_0x172de6||_0x100b39(0xe8),_0x6c93f2=[{'id':_0x100b39(0xe2),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x10d)),'type':AIQuickActionType[_0x100b39(0xa6)],'icon':_0x101a5c},{'id':_0x100b39(0x9e),'label':_0x57208d(_0x52065e,_0x100b39(0x95)),'icon':_0x101a5c,'actions':[{'id':_0x100b39(0xd3),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xe4)),'prompt':oe[_0x100b39(0x87)]('%0',_0xd4f397),'type':AIQuickActionType[_0x100b39(0xa6)]},{'id':_0x100b39(0x8b),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x115)),'prompt':ae[_0x100b39(0x87)]('%0',_0xd4f397),'type':AIQuickActionType[_0x100b39(0xa6)]},{'id':_0x100b39(0xb8),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x83)),'prompt':se[_0x100b39(0x87)]('%0',_0xd4f397),'type':AIQuickActionType[_0x100b39(0xa6)]}]},{'id':_0x100b39(0xae),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x113)),'type':AIQuickActionType[_0x100b39(0xb3)],'icon':_0x3cad43},{'id':_0x100b39(0xa7),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xf9)),'type':AIQuickActionType[_0x100b39(0xb3)],'icon':_0x348dfe},{'id':_0x100b39(0x10b),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x96)),'type':AIQuickActionType[_0x100b39(0xb3)],'icon':_0x31a9e3},{'id':_0x100b39(0xa2),'label':_0x57208d(_0x52065e,_0x100b39(0xbc)),'icon':_0xd7e876,'actions':[{'id':_0x100b39(0xa3),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xbb)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0xba),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xdf)),'type':AIQuickActionType[_0x100b39(0xb3)]}]},{'id':_0x100b39(0xe3),'label':_0x57208d(_0x52065e,_0x100b39(0xfd)),'icon':_0x37b9e6,'actions':[{'id':_0x100b39(0x9f),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x9b)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0xbf),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xc5)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0x105),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xf2)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0xd6),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xe6)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0xc1),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x92)),'type':AIQuickActionType[_0x100b39(0xb3)]}]},{'id':_0x100b39(0xfe),'label':_0x57208d(_0x52065e,_0x100b39(0xce)),'icon':_0x4e71cc,'actions':[{'id':_0x100b39(0x117),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xa8)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0x88)}},{'id':_0x100b39(0xee),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xad)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xc9)}},{'id':_0x100b39(0x10f),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x9d)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xab)}},{'id':_0x100b39(0xe1),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x8a)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xec)}},{'id':_0x100b39(0x98),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xfb)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xda)}},{'id':_0x100b39(0x10a),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xa0)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0x103)}},{'id':_0x100b39(0x111),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xaf)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xd2)}},{'id':_0x100b39(0x94),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x106)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xc6)}},{'id':_0x100b39(0xa1),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x8c)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xf6)}},{'id':_0x100b39(0xc7),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xcf)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xdc)}}]},{'id':_0x100b39(0x108),'label':_0x57208d(_0x52065e,_0x100b39(0xd4)),'icon':_0x47394a,'actions':[]}];return _0x6c93f2;}(_0x4f7348);}[_0x5d4ef7(0xd7)](){const _0xe1fead=_0x5d4ef7,_0x34e2fe=AIQuickActionsUI[_0xe1fead(0x90)](this[_0xe1fead(0x101)][_0xe1fead(0xeb)]),_0x4c1030=(this[_0xe1fead(0x101)][_0xe1fead(0xb5)][_0xe1fead(0xbe)](_0xe1fead(0xfa))||[])[_0xe1fead(0x97)](_0x3e8227=>({..._0x3e8227,'icon':void 0x0}));return _0x34e2fe[_0xe1fead(0x107)](_0x5b5a60=>_0xe1fead(0x108)===_0x5b5a60['id'])[_0xe1fead(0x93)][_0xe1fead(0xf7)](..._0x4c1030),_0x34e2fe;}[_0x5d4ef7(0xa9)](){const _0x58c0a9=_0x5d4ef7,_0x317bfd=new _0x3e27b3(this[_0x58c0a9(0x101)][_0x58c0a9(0xeb)]);_0x317bfd[_0x58c0a9(0xde)](),this[_0x58c0a9(0xa5)](_0x317bfd),this[_0x58c0a9(0x10e)](),this[_0x58c0a9(0xa4)](_0x317bfd);}[_0x5d4ef7(0xa5)](_0x1923e2){const _0x481815=_0x5d4ef7;this[_0x481815(0x101)]['ui'][_0x481815(0xc8)][_0x481815(0xbd)](_0x481815(0xb6),_0x4fab29(this[_0x481815(0x101)],this[_0x481815(0xf3)],{'icon':_0x42b0fe,'label':_0x57208d(this[_0x481815(0x101)][_0x481815(0xeb)],_0x481815(0xb4))},_0x1923e2));}[_0x5d4ef7(0xd8)](_0x18ad26){const _0x59596e=_0x5d4ef7;this[_0x59596e(0xf3)]=_0x18ad26[_0x59596e(0x97)](_0x500654=>{const _0x160fe5=_0x59596e;if(_0x160fe5(0x93)in _0x500654){const _0x6278f8=_0x500654;return{..._0x6278f8,'actions':_0x6278f8[_0x160fe5(0x93)][_0x160fe5(0x97)](_0x349627=>{const {actions:_0x276ff9,..._0x1eb3b8}=_0x6278f8;return{..._0x349627,'parent':_0x1eb3b8};})[_0x160fe5(0xb9)](_0x86ea6b=>this[_0x160fe5(0x85)](_0x86ea6b))};}return _0x500654;})[_0x59596e(0xb9)](_0x5f4a28=>_0x59596e(0x93)in _0x5f4a28?_0x5f4a28[_0x59596e(0x93)][_0x59596e(0xac)]>0x0:this[_0x59596e(0x85)](_0x5f4a28));}[_0x5d4ef7(0x85)](_0x275a50){const _0x575df5=_0x5d4ef7,_0x2b8967=this[_0x575df5(0x101)][_0x575df5(0xb5)][_0x575df5(0xbe)](_0x575df5(0xcc))||[];return this[_0x575df5(0x101)][_0x575df5(0x8e)][_0x575df5(0x82)](AIQuickActionTypeToPluginName[_0x275a50[_0x575df5(0x99)]])&&!_0x2b8967[_0x575df5(0xe0)](_0x275a50['id']);}[_0x5d4ef7(0xa4)](_0xd3e210){const _0xfca8ca=_0x5d4ef7;this[_0xfca8ca(0xf3)][_0xfca8ca(0xed)](_0x5040dd=>{const _0x5f26a2=_0xfca8ca;if(_0x5f26a2(0x93)in _0x5040dd){const _0x53aa40=_0x4fab29(this[_0x5f26a2(0x101)],_0x5040dd[_0x5f26a2(0x93)],_0x5040dd,_0xd3e210);this[_0x5f26a2(0x101)]['ui'][_0x5f26a2(0xc8)][_0x5f26a2(0xbd)](_0x5040dd['id'],_0x53aa40),_0x5040dd[_0x5f26a2(0x93)][_0x5f26a2(0xed)](_0x372d69=>{const _0x3ec633=_0x5f26a2,_0x23e94f=_0x2c29a1(this[_0x3ec633(0x101)],_0x372d69);this[_0x3ec633(0x101)]['ui'][_0x3ec633(0xc8)][_0x3ec633(0xbd)](_0x372d69['id'],_0x23e94f);});}else{const _0x500299=_0x2c29a1(this[_0x5f26a2(0x101)],_0x5040dd,!0x1,!0x0,!0x1);this[_0x5f26a2(0x101)]['ui'][_0x5f26a2(0xc8)][_0x5f26a2(0xbd)](_0x5040dd['id'],_0x500299);}});}[_0x5d4ef7(0x10e)](){const _0x399abf=_0x5d4ef7;this[_0x399abf(0x101)]['ui'][_0x399abf(0xc8)][_0x399abf(0xbd)](_0x399abf(0xaa),_0x414673=>{const _0x5cdedf=_0x399abf,_0x445b78=new _0x347aa3(_0x414673),_0x345dc0=_0x57208d(_0x414673,_0x5cdedf(0xb4));_0x445b78[_0x5cdedf(0xff)][_0x5cdedf(0xb1)]({'label':_0x345dc0,'icon':_0x42b0fe});const _0x1f508d=new _0x1a4d88(_0x414673);_0x1f508d[_0x5cdedf(0xb1)]({'ariaLabel':_0x345dc0,'role':_0x5cdedf(0xea)}),this[_0x5cdedf(0xf3)][_0x5cdedf(0xed)](_0xede584=>{const _0x1d598d=_0x5cdedf;if(_0x1d598d(0x93)in _0xede584){const _0x3bcc1a=_0xede584,_0xebffa0=new _0x57b7a4(_0x414673,_0x445b78),_0x42f7fa=new _0x347aa3(_0x414673),_0x178eec=new _0x1a4d88(_0x414673);_0x42f7fa[_0x1d598d(0xff)][_0x1d598d(0xb1)]({'label':_0x3bcc1a[_0x1d598d(0x100)],'icon':_0x3bcc1a[_0x1d598d(0xc2)]}),_0x3bcc1a[_0x1d598d(0x93)][_0x1d598d(0xed)](_0x3f1ce5=>{const _0x406238=_0x1d598d,_0x2214fc=new _0x57b7a4(_0x414673,_0x42f7fa),_0x5849eb=new _0x15281b(_0x414673);_0x5849eb[_0x406238(0xb1)]({'label':_0x3f1ce5[_0x406238(0x9c)],'icon':_0x3f1ce5[_0x406238(0xc2)],'role':_0x406238(0x84)}),_0x5849eb['on'](_0x406238(0xcb),()=>{const _0x5bf3d8=_0x406238;this[_0x5bf3d8(0xf4)](_0x3f1ce5);}),_0x5849eb[_0x406238(0x89)](_0x406238(0xcb))['to'](_0x42f7fa),_0x2214fc[_0x406238(0xe5)][_0x406238(0xbd)](_0x5849eb),_0x178eec[_0x406238(0xd5)][_0x406238(0xbd)](_0x2214fc);}),_0x42f7fa[_0x1d598d(0x10c)][_0x1d598d(0xe5)][_0x1d598d(0xbd)](_0x178eec),_0xebffa0[_0x1d598d(0xe5)][_0x1d598d(0xbd)](_0x42f7fa),_0x1f508d[_0x1d598d(0xd5)][_0x1d598d(0xbd)](_0xebffa0);}else{const _0x46c1bd=_0xede584,_0x329aa1=new _0x57b7a4(_0x414673,_0x445b78),_0x149228=new _0x15281b(_0x414673);_0x149228[_0x1d598d(0xb1)]({'label':_0x46c1bd[_0x1d598d(0x9c)],'icon':_0x46c1bd[_0x1d598d(0xc2)],'role':_0x1d598d(0x84)}),_0x149228['on'](_0x1d598d(0xcb),()=>{const _0x9be638=_0x1d598d;this[_0x9be638(0xf4)](_0x46c1bd);}),_0x149228[_0x1d598d(0x89)](_0x1d598d(0xcb))['to'](_0x445b78),_0x329aa1[_0x1d598d(0xe5)][_0x1d598d(0xbd)](_0x149228),_0x1f508d[_0x1d598d(0xd5)][_0x1d598d(0xbd)](_0x329aa1);}});const _0x27463c=Object[_0x5cdedf(0x109)](AIQuickActionTypeToPluginName)[_0x5cdedf(0xdd)](_0x2e9eb2=>this[_0x5cdedf(0x101)][_0x5cdedf(0x8e)][_0x5cdedf(0x82)](_0x2e9eb2));return _0x445b78[_0x5cdedf(0xb1)]({'isEnabled':_0x27463c}),_0x445b78[_0x5cdedf(0x10c)][_0x5cdedf(0xe5)][_0x5cdedf(0xbd)](_0x1f508d),_0x445b78;});}[_0x5d4ef7(0xf4)](_0x1ff971){const _0x309b12=_0x5d4ef7,_0x559035=this[_0x309b12(0x101)];_0x559035[_0x309b12(0x8d)][_0x309b12(0xb0)][_0x309b12(0xf5)](),_0x559035[_0x309b12(0x91)][_0x309b12(0xcb)](_0x309b12(0xc4),_0x1ff971);const _0x4fd0f3=_0x559035['ui'][_0x309b12(0xb0)][_0x309b12(0xd1)];_0x4fd0f3&&_0x4fd0f3[_0x309b12(0xf0)]&&_0x4fd0f3[_0x309b12(0xf0)]();}}
|
|
23
|
+
const _0x3a55d2=_0x15b7;(function(_0x1b2b4e,_0x7be002){const _0x454b6c=_0x15b7,_0x5579c7=_0x1b2b4e();while(!![]){try{const _0x2f8793=parseInt(_0x454b6c(0x162))/0x1*(-parseInt(_0x454b6c(0x196))/0x2)+-parseInt(_0x454b6c(0x1d1))/0x3*(-parseInt(_0x454b6c(0x1ad))/0x4)+parseInt(_0x454b6c(0x1c0))/0x5*(parseInt(_0x454b6c(0x1c8))/0x6)+parseInt(_0x454b6c(0x1a4))/0x7+-parseInt(_0x454b6c(0x1ec))/0x8+-parseInt(_0x454b6c(0x15c))/0x9*(-parseInt(_0x454b6c(0x1f3))/0xa)+-parseInt(_0x454b6c(0x1ef))/0xb*(parseInt(_0x454b6c(0x174))/0xc);if(_0x2f8793===_0x7be002)break;else _0x5579c7['push'](_0x5579c7['shift']());}catch(_0x1943ca){_0x5579c7['push'](_0x5579c7['shift']());}}}(_0x1756,0x9ad5b));import{IconAIAdjustLength as _0x539680,IconAIChangeTone as _0x45ffef,IconAIChatCommands as _0x2fa8ea,IconAIContinueWriting as _0x48c0ca,IconAIGrammarCheck as _0x374ef9,IconAIImproveWriting as _0x20a670,IconAIOther as _0x131f00,IconAIQuickActions as _0x26c7e6,IconAITranslate as _0x4724ea}from'@ckeditor/ckeditor5-icons';import{Plugin as _0xf7ba5b}from'ckeditor5/src/core.js';import{getTranslation as _0x272eba}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x21388e}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5aae0a}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x36d1fe,BalloonToolbar as _0x32c798,MenuBarMenuView as _0x389b2b,MenuBarMenuListView as _0x5a2706,MenuBarMenuListItemView as _0x1b6c5e,MenuBarMenuListItemButtonView as _0x49ae8d}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x1756(){const _0x1e35e5=['AIChat','7144511zctiio','delegate','children','config','30mzkHma','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','make-tone-direct','1825713IdkKHf','translate-to-french','AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_MAKE_LONGER','find','translate-to-korean','59449HyFLVb','ACTION','_quickActionsDefinition','ai.quickActions.removeCommands','fix-grammar','add','editor','English','spanish','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','panelView','AI_QUICK_ACTIONS_IMPROVE_WRITING','translate-to-portuguese','_getDefaultAndCustomActions','locale','actions','other','AI_QUICK_ACTIONS_ASK_AI','12vXTWwv','execute','filter','AI_QUICK_ACTIONS_ADJUST_LENGTH','chinese','requires','ask-ai','translate-to-german','AIActions','displayedPrompt','AI_QUICK_ACTIONS_TRANSLATE','map','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','translate-to-russian','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','values','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','type','has','AI_QUICK_ACTIONS_HEADING','label','plugins','AI_QUICK_ACTIONS_OTHER','translate','AI_QUICK_ACTIONS_CHAT_COMMANDS','japanese','_initializeQuickActionsComponents','replace','make-tone-casual','_prepareQuickActionsDefinition','korean','26zvEZRI','chat-commands','AI_QUICK_ACTIONS_CONTINUE_WRITING','push','summarize','language','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','translate-to-chinese','AIReviewMode','improve-writing','menuBar:aiQuickActions','make-tone-confident','includes','pluginName','5095972AGFPQo','CHAT','make-tone-professional','english','AI_QUICK_ACTIONS_MORE_CONFIDENT','translate-to-japanese','change-tone','icon','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','20652NuCXVp','explain','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','init','DisplayNames','translate-to-spanish','AI_QUICK_ACTIONS_MORE_DIRECT','some','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','uiLanguage','commands','AI_QUICK_ACTIONS_CHANGE_TONE','componentFactory','_initializeQuickActionsDropdown','continue','french','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','385435pXxvcW','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','menu','getDefaultQuickActions','<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>','view','AIQuickActionsUI','forEach','78afzmBV','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','isPremiumPlugin','editing','attachToDom','_shouldIncludeAction','menuitem','456kzzzTA','AI_QUICK_ACTIONS_SUMMARIZE','make-shorter','ai.quickActions.extraCommands','german','AI_QUICK_ACTIONS_EXPLAIN','russian','buttonView','items','get','translate-to-italian','translate-to-english','menuBarView','portuguese','italian','highlight-key-points','_initializeQuickActionsMenuBar','focus','_executeQuickAction','isOfficialPlugin','close','make-tone-friendly','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-longer','length','aiQuickAction','aiQuickActions','8535464IPZoGn','set'];_0x1756=function(){return _0x1e35e5;};return _0x1756();}const oe=_0x3a55d2(0x1af),ae=_0x3a55d2(0x1c4),se=_0x3a55d2(0x187);export var AIQuickActionType;!function(_0x43a4ed){const _0x2b4316=_0x3a55d2;_0x43a4ed[_0x2b4316(0x1a5)]=_0x2b4316(0x1a5),_0x43a4ed[_0x2b4316(0x163)]=_0x2b4316(0x163),_0x43a4ed[_0x2b4316(0x184)]=_0x2b4316(0x184);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x53b533){const _0x4e8aea=_0x3a55d2;_0x53b533[_0x4e8aea(0x1a5)]=_0x4e8aea(0x1ee),_0x53b533[_0x4e8aea(0x163)]=_0x4e8aea(0x17c),_0x53b533[_0x4e8aea(0x184)]=_0x4e8aea(0x19e);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x15b7(_0x41af12,_0x2ed94c){const _0x175666=_0x1756();return _0x15b7=function(_0x15b715,_0x528017){_0x15b715=_0x15b715-0x15a;let _0x20e8ee=_0x175666[_0x15b715];return _0x20e8ee;},_0x15b7(_0x41af12,_0x2ed94c);}export class AIQuickActionsUI extends _0xf7ba5b{static get[_0x3a55d2(0x179)](){return[_0x32c798];}static get[_0x3a55d2(0x1a3)](){const _0x40749b=_0x3a55d2;return _0x40749b(0x1c6);}static get[_0x3a55d2(0x1e4)](){return!0x0;}static get[_0x3a55d2(0x1cc)](){return!0x0;}[_0x3a55d2(0x1b1)](){const _0x9e490d=_0x3a55d2;this[_0x9e490d(0x194)](this[_0x9e490d(0x16f)]()),this[_0x9e490d(0x180)]();}static[_0x3a55d2(0x1c3)](_0x5e6124){return function(_0xd0ddcd){const _0x40a787=_0x15b7,_0x425219=new Intl[(_0x40a787(0x1b2))](['en'],{'type':_0x40a787(0x19b)})['of'](_0xd0ddcd[_0x40a787(0x1b8)]),_0x24016a=_0x425219||_0x40a787(0x169),_0x410cc8=[{'id':_0x40a787(0x17a),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x173)),'type':AIQuickActionType[_0x40a787(0x1a5)],'icon':_0x2fa8ea},{'id':_0x40a787(0x197),'label':_0x272eba(_0xd0ddcd,_0x40a787(0x18f)),'icon':_0x2fa8ea,'actions':[{'id':_0x40a787(0x1ae),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1d6)),'prompt':oe[_0x40a787(0x192)]('%0',_0x24016a),'type':AIQuickActionType[_0x40a787(0x1a5)]},{'id':_0x40a787(0x19a),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1d2)),'prompt':ae[_0x40a787(0x192)]('%0',_0x24016a),'type':AIQuickActionType[_0x40a787(0x1a5)]},{'id':_0x40a787(0x1e0),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x16b)),'prompt':se[_0x40a787(0x192)]('%0',_0x24016a),'type':AIQuickActionType[_0x40a787(0x1a5)]}]},{'id':_0x40a787(0x19f),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x16d)),'type':AIQuickActionType[_0x40a787(0x163)],'icon':_0x20a670},{'id':_0x40a787(0x1bd),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x198)),'type':AIQuickActionType[_0x40a787(0x163)],'icon':_0x48c0ca},{'id':_0x40a787(0x166),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1c1)),'type':AIQuickActionType[_0x40a787(0x163)],'icon':_0x374ef9},{'id':_0x40a787(0x1b6),'label':_0x272eba(_0xd0ddcd,_0x40a787(0x177)),'icon':_0x539680,'actions':[{'id':_0x40a787(0x1d3),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1c9)),'type':AIQuickActionType[_0x40a787(0x163)]},{'id':_0x40a787(0x1e8),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x15f)),'type':AIQuickActionType[_0x40a787(0x163)]}]},{'id':_0x40a787(0x1aa),'label':_0x272eba(_0xd0ddcd,_0x40a787(0x1ba)),'icon':_0x45ffef,'actions':[{'id':_0x40a787(0x193),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x15e)),'type':AIQuickActionType[_0x40a787(0x163)]},{'id':_0x40a787(0x15b),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1b4)),'type':AIQuickActionType[_0x40a787(0x163)]},{'id':_0x40a787(0x1e6),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x181)),'type':AIQuickActionType[_0x40a787(0x163)]},{'id':_0x40a787(0x1a1),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1a8)),'type':AIQuickActionType[_0x40a787(0x163)]},{'id':_0x40a787(0x1a6),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x182)),'type':AIQuickActionType[_0x40a787(0x163)]}]},{'id':_0x40a787(0x18e),'label':_0x272eba(_0xd0ddcd,_0x40a787(0x17e)),'icon':_0x4724ea,'actions':[{'id':_0x40a787(0x1dc),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1e7)),'type':AIQuickActionType[_0x40a787(0x163)],'actionName':_0x40a787(0x18e),'args':{'language':_0x40a787(0x1a7)}},{'id':_0x40a787(0x19d),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1ca)),'type':AIQuickActionType[_0x40a787(0x163)],'actionName':_0x40a787(0x18e),'args':{'language':_0x40a787(0x178)}},{'id':_0x40a787(0x1b3),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1ac)),'type':AIQuickActionType[_0x40a787(0x163)],'actionName':_0x40a787(0x18e),'args':{'language':_0x40a787(0x16a)}},{'id':_0x40a787(0x17b),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x15a)),'type':AIQuickActionType[_0x40a787(0x163)],'actionName':_0x40a787(0x18e),'args':{'language':_0x40a787(0x1d5)}},{'id':_0x40a787(0x15d),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1b0)),'type':AIQuickActionType[_0x40a787(0x163)],'actionName':_0x40a787(0x18e),'args':{'language':_0x40a787(0x1be)}},{'id':_0x40a787(0x1a9),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1cb)),'type':AIQuickActionType[_0x40a787(0x163)],'actionName':_0x40a787(0x18e),'args':{'language':_0x40a787(0x190)}},{'id':_0x40a787(0x16e),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x185)),'type':AIQuickActionType[_0x40a787(0x163)],'actionName':_0x40a787(0x18e),'args':{'language':_0x40a787(0x1de)}},{'id':_0x40a787(0x161),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1b7)),'type':AIQuickActionType[_0x40a787(0x163)],'actionName':_0x40a787(0x18e),'args':{'language':_0x40a787(0x195)}},{'id':_0x40a787(0x1db),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x1bf)),'type':AIQuickActionType[_0x40a787(0x163)],'actionName':_0x40a787(0x18e),'args':{'language':_0x40a787(0x1df)}},{'id':_0x40a787(0x183),'displayedPrompt':_0x272eba(_0xd0ddcd,_0x40a787(0x19c)),'type':AIQuickActionType[_0x40a787(0x163)],'actionName':_0x40a787(0x18e),'args':{'language':_0x40a787(0x1d7)}}]},{'id':_0x40a787(0x172),'label':_0x272eba(_0xd0ddcd,_0x40a787(0x18d)),'icon':_0x131f00,'actions':[]}];return _0x410cc8;}(_0x5e6124);}[_0x3a55d2(0x16f)](){const _0x568e10=_0x3a55d2,_0x5233af=AIQuickActionsUI[_0x568e10(0x1c3)](this[_0x568e10(0x168)][_0x568e10(0x170)]),_0x34c636=(this[_0x568e10(0x168)][_0x568e10(0x1f2)][_0x568e10(0x1da)](_0x568e10(0x1d4))||[])[_0x568e10(0x17f)](_0x55e04d=>({..._0x55e04d,'icon':void 0x0}));return _0x5233af[_0x568e10(0x160)](_0x4f1043=>_0x568e10(0x172)===_0x4f1043['id'])[_0x568e10(0x171)][_0x568e10(0x199)](..._0x34c636),_0x5233af;}[_0x3a55d2(0x180)](){const _0x388573=_0x3a55d2,_0x2130c1=new _0x36d1fe(this[_0x388573(0x168)][_0x388573(0x170)]);_0x2130c1[_0x388573(0x1ce)](),this[_0x388573(0x1bc)](_0x2130c1),this[_0x388573(0x1e1)](),this[_0x388573(0x191)](_0x2130c1);}[_0x3a55d2(0x1bc)](_0x1729d2){const _0x922c53=_0x3a55d2;this[_0x922c53(0x168)]['ui'][_0x922c53(0x1bb)][_0x922c53(0x167)](_0x922c53(0x1eb),_0x21388e(this[_0x922c53(0x168)],this[_0x922c53(0x164)],{'icon':_0x26c7e6,'label':_0x272eba(this[_0x922c53(0x168)][_0x922c53(0x170)],_0x922c53(0x18a))},_0x1729d2));}[_0x3a55d2(0x194)](_0xfa7f23){const _0x455547=_0x3a55d2;this[_0x455547(0x164)]=_0xfa7f23[_0x455547(0x17f)](_0x52def8=>{const _0x3c5fb6=_0x455547;if(_0x3c5fb6(0x171)in _0x52def8){const _0x4c39e7=_0x52def8;return{..._0x4c39e7,'actions':_0x4c39e7[_0x3c5fb6(0x171)][_0x3c5fb6(0x17f)](_0x28e53a=>{const {actions:_0x96de30,..._0x436ad0}=_0x4c39e7;return{..._0x28e53a,'parent':_0x436ad0};})[_0x3c5fb6(0x176)](_0x29b470=>this[_0x3c5fb6(0x1cf)](_0x29b470))};}return _0x52def8;})[_0x455547(0x176)](_0x2248c1=>_0x455547(0x171)in _0x2248c1?_0x2248c1[_0x455547(0x171)][_0x455547(0x1e9)]>0x0:this[_0x455547(0x1cf)](_0x2248c1));}[_0x3a55d2(0x1cf)](_0x31335a){const _0x4cca4f=_0x3a55d2,_0xec7333=this[_0x4cca4f(0x168)][_0x4cca4f(0x1f2)][_0x4cca4f(0x1da)](_0x4cca4f(0x165))||[];return this[_0x4cca4f(0x168)][_0x4cca4f(0x18c)][_0x4cca4f(0x189)](AIQuickActionTypeToPluginName[_0x31335a[_0x4cca4f(0x188)]])&&!_0xec7333[_0x4cca4f(0x1a2)](_0x31335a['id']);}[_0x3a55d2(0x191)](_0x1db020){const _0x2d8c80=_0x3a55d2;this[_0x2d8c80(0x164)][_0x2d8c80(0x1c7)](_0x49c44f=>{const _0x30ed34=_0x2d8c80;if(_0x30ed34(0x171)in _0x49c44f){const _0x16cd97=_0x21388e(this[_0x30ed34(0x168)],_0x49c44f[_0x30ed34(0x171)],_0x49c44f,_0x1db020);this[_0x30ed34(0x168)]['ui'][_0x30ed34(0x1bb)][_0x30ed34(0x167)](_0x49c44f['id'],_0x16cd97),_0x49c44f[_0x30ed34(0x171)][_0x30ed34(0x1c7)](_0x5b76a8=>{const _0x512fef=_0x30ed34,_0x40daaf=_0x5aae0a(this[_0x512fef(0x168)],_0x5b76a8);this[_0x512fef(0x168)]['ui'][_0x512fef(0x1bb)][_0x512fef(0x167)](_0x5b76a8['id'],_0x40daaf);});}else{const _0x25e1bd=_0x5aae0a(this[_0x30ed34(0x168)],_0x49c44f,!0x1,!0x0,!0x1);this[_0x30ed34(0x168)]['ui'][_0x30ed34(0x1bb)][_0x30ed34(0x167)](_0x49c44f['id'],_0x25e1bd);}});}[_0x3a55d2(0x1e1)](){const _0x4474da=_0x3a55d2;this[_0x4474da(0x168)]['ui'][_0x4474da(0x1bb)][_0x4474da(0x167)](_0x4474da(0x1a0),_0x170bb5=>{const _0x5e8ffa=_0x4474da,_0x53ee67=new _0x389b2b(_0x170bb5),_0xc3e92a=_0x272eba(_0x170bb5,_0x5e8ffa(0x18a));_0x53ee67[_0x5e8ffa(0x1d8)][_0x5e8ffa(0x1ed)]({'label':_0xc3e92a,'icon':_0x26c7e6});const _0x5cd4f1=new _0x5a2706(_0x170bb5);_0x5cd4f1[_0x5e8ffa(0x1ed)]({'ariaLabel':_0xc3e92a,'role':_0x5e8ffa(0x1c2)}),this[_0x5e8ffa(0x164)][_0x5e8ffa(0x1c7)](_0xaa6ba1=>{const _0x298323=_0x5e8ffa;if(_0x298323(0x171)in _0xaa6ba1){const _0x2ef90c=_0xaa6ba1,_0x67e6d0=new _0x1b6c5e(_0x170bb5,_0x53ee67),_0x2ba99f=new _0x389b2b(_0x170bb5),_0x14e5d1=new _0x5a2706(_0x170bb5);_0x2ba99f[_0x298323(0x1d8)][_0x298323(0x1ed)]({'label':_0x2ef90c[_0x298323(0x18b)],'icon':_0x2ef90c[_0x298323(0x1ab)]}),_0x2ef90c[_0x298323(0x171)][_0x298323(0x1c7)](_0x611985=>{const _0x57ec3a=_0x298323,_0x25cb1c=new _0x1b6c5e(_0x170bb5,_0x2ba99f),_0x550c0c=new _0x49ae8d(_0x170bb5);_0x550c0c[_0x57ec3a(0x1ed)]({'label':_0x611985[_0x57ec3a(0x17d)],'icon':_0x611985[_0x57ec3a(0x1ab)],'role':_0x57ec3a(0x1d0)}),_0x550c0c['on'](_0x57ec3a(0x175),()=>{const _0x1e3b4f=_0x57ec3a;this[_0x1e3b4f(0x1e3)](_0x611985);}),_0x550c0c[_0x57ec3a(0x1f0)](_0x57ec3a(0x175))['to'](_0x2ba99f),_0x25cb1c[_0x57ec3a(0x1f1)][_0x57ec3a(0x167)](_0x550c0c),_0x14e5d1[_0x57ec3a(0x1d9)][_0x57ec3a(0x167)](_0x25cb1c);}),_0x2ba99f[_0x298323(0x16c)][_0x298323(0x1f1)][_0x298323(0x167)](_0x14e5d1),_0x67e6d0[_0x298323(0x1f1)][_0x298323(0x167)](_0x2ba99f),_0x5cd4f1[_0x298323(0x1d9)][_0x298323(0x167)](_0x67e6d0);}else{const _0xe46c35=_0xaa6ba1,_0x45b536=new _0x1b6c5e(_0x170bb5,_0x53ee67),_0x5ec101=new _0x49ae8d(_0x170bb5);_0x5ec101[_0x298323(0x1ed)]({'label':_0xe46c35[_0x298323(0x17d)],'icon':_0xe46c35[_0x298323(0x1ab)],'role':_0x298323(0x1d0)}),_0x5ec101['on'](_0x298323(0x175),()=>{const _0x12e971=_0x298323;this[_0x12e971(0x1e3)](_0xe46c35);}),_0x5ec101[_0x298323(0x1f0)](_0x298323(0x175))['to'](_0x53ee67),_0x45b536[_0x298323(0x1f1)][_0x298323(0x167)](_0x5ec101),_0x5cd4f1[_0x298323(0x1d9)][_0x298323(0x167)](_0x45b536);}});const _0xe22a68=Object[_0x5e8ffa(0x186)](AIQuickActionTypeToPluginName)[_0x5e8ffa(0x1b5)](_0x5c203d=>this[_0x5e8ffa(0x168)][_0x5e8ffa(0x18c)][_0x5e8ffa(0x189)](_0x5c203d));return _0x53ee67[_0x5e8ffa(0x1ed)]({'isEnabled':_0xe22a68}),_0x53ee67[_0x5e8ffa(0x16c)][_0x5e8ffa(0x1f1)][_0x5e8ffa(0x167)](_0x5cd4f1),_0x53ee67;});}[_0x3a55d2(0x1e3)](_0x167d64){const _0x5c21f2=_0x3a55d2,_0x1741b2=this[_0x5c21f2(0x168)];_0x1741b2[_0x5c21f2(0x1cd)][_0x5c21f2(0x1c5)][_0x5c21f2(0x1e2)](),_0x1741b2[_0x5c21f2(0x1b9)][_0x5c21f2(0x175)](_0x5c21f2(0x1ea),_0x167d64);const _0x3a28bb=_0x1741b2['ui'][_0x5c21f2(0x1c5)][_0x5c21f2(0x1dd)];_0x3a28bb&&_0x3a28bb[_0x5c21f2(0x1e5)]&&_0x3a28bb[_0x5c21f2(0x1e5)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3e6a(_0x456fe8,_0x19e5c4){const _0x15637d=_0x1563();return _0x3e6a=function(_0x3e6a07,_0x33424b){_0x3e6a07=_0x3e6a07-0x133;let _0x4741d6=_0x15637d[_0x3e6a07];return _0x4741d6;},_0x3e6a(_0x456fe8,_0x19e5c4);}(function(_0xf7e79c,_0x1ba950){const _0x3d5db8=_0x3e6a,_0x554816=_0xf7e79c();while(!![]){try{const _0x3fe76a=-parseInt(_0x3d5db8(0x138))/0x1+-parseInt(_0x3d5db8(0x148))/0x2+parseInt(_0x3d5db8(0x143))/0x3*(parseInt(_0x3d5db8(0x13a))/0x4)+-parseInt(_0x3d5db8(0x135))/0x5*(-parseInt(_0x3d5db8(0x142))/0x6)+-parseInt(_0x3d5db8(0x144))/0x7+-parseInt(_0x3d5db8(0x141))/0x8+parseInt(_0x3d5db8(0x13c))/0x9;if(_0x3fe76a===_0x1ba950)break;else _0x554816['push'](_0x554816['shift']());}catch(_0x15ff76){_0x554816['push'](_0x554816['shift']());}}}(_0x1563,0x73779));import{ButtonView as _0x1e8345}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x728f6a}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x3b0dd0,_0x3d342e,_0x175d10=!0x1,_0x5542b4=!0x0,_0x17ff65=!0x0){return()=>{const _0x30ab3b=_0x3e6a,_0x690ee3=_0x3b0dd0[_0x30ab3b(0x139)],_0x12e716=new _0x1e8345(_0x690ee3),_0x54e98a=_0x12e716[_0x30ab3b(0x134)];_0x17ff65&&_0x12e716[_0x30ab3b(0x13d)]({'on':{'mouseenter':_0x54e98a['to'](()=>{const _0x8d85c1=_0x30ab3b;_0x12e716[_0x8d85c1(0x14a)]();})}});const _0x44607b=_0x3d342e[_0x30ab3b(0x146)]??_0x3d342e[_0x30ab3b(0x149)]?.[_0x30ab3b(0x146)];return _0x12e716[_0x30ab3b(0x13b)]({'label':_0x3d342e[_0x30ab3b(0x133)],'withText':_0x175d10,'role':_0x30ab3b(0x145),'icon':_0x5542b4?_0x44607b??_0x728f6a:void 0x0,'tooltip':!_0x175d10,'class':_0x30ab3b(0x147)}),_0x12e716['on'](_0x30ab3b(0x13f),()=>{const _0x5b1618=_0x30ab3b;_0x3b0dd0[_0x5b1618(0x13e)][_0x5b1618(0x136)][_0x5b1618(0x14a)](),_0x3b0dd0[_0x5b1618(0x137)][_0x5b1618(0x13f)](_0x5b1618(0x140),_0x3d342e);}),_0x12e716;};}function _0x1563(){const _0x4b8ccb=['set','21099438HZsFTN','extendTemplate','editing','execute','aiQuickAction','4140096twpvEg','6KuRSKb','1884BvuASt','3181934UNwSNr','menuitem','icon','ck-ai-quick-actions-button','922952uhoBKY','parent','focus','displayedPrompt','bindTemplate','1354270YnYWgv','view','commands','884573CtdXrh','locale','1120ShOEAj'];_0x1563=function(){return _0x4b8ccb;};return _0x1563();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x24de43=_0x588e;function _0x1188(){const _0x290f85=['159668YebYbA','actions','eastSouth','optionsListView','div','focusTracker','relatedTarget','forEach','clear','.ck-ai-quick-actions-group-list','_hideNestedPanel','render','ck-ai-quick-actions-group-panel','_createActionGroupButton','add','_createGroupActionsList','element','rtl','locale','extendTemplate','_bodyCollection','694944LAjiqv','mouseleave','addMany','items','.ck-ai-quick-actions-group-panel','ArrowLeft','_setupGroupMenuBehavior','bind','72QMsFsq','7540bBOmTU','56254qzlsTe','_createActionButton','children','4067259nanbBk','set','focus','888DPuQnf','_hideAllNestedPanels','isOn','pin','destroy','uiLanguageDirection','ck-reset_all','role','_openNestedPanels','.ck-ai-quick-actions-group-button','keystrokes','contains','detachFromDom','ck-rounded-corners','focusCycler','key','21jzcyCe','_createListItems','addEventListener','get','icon','_focusables','22otjbgR','menu','content','_isMovingToNestedMenu','ck-dropdown-menu__nested-menu__panel','closest','hide','131445fVBFxz','show','setTemplate','ck-dropdown-menu-list','_showNestedPanel','label','delete','isVisible','6842360imRPFZ','ck-ai-quick-actions','ArrowRight','menuitem','ck-ai-quick-actions-group-button','bindTemplate','ck-ai-quick-actions-group-list'];_0x1188=function(){return _0x290f85;};return _0x1188();}(function(_0x5f33a1,_0x475153){const _0x3e99c2=_0x588e,_0x422bcc=_0x5f33a1();while(!![]){try{const _0x5c6cfc=parseInt(_0x3e99c2(0x15f))/0x1+-parseInt(_0x3e99c2(0x169))/0x2+-parseInt(_0x3e99c2(0x12e))/0x3*(-parseInt(_0x3e99c2(0x14a))/0x4)+-parseInt(_0x3e99c2(0x168))/0x5*(-parseInt(_0x3e99c2(0x16f))/0x6)+parseInt(_0x3e99c2(0x16c))/0x7+parseInt(_0x3e99c2(0x167))/0x8*(parseInt(_0x3e99c2(0x13b))/0x9)+-parseInt(_0x3e99c2(0x143))/0xa*(parseInt(_0x3e99c2(0x134))/0xb);if(_0x5c6cfc===_0x475153)break;else _0x422bcc['push'](_0x422bcc['shift']());}catch(_0x3cd1df){_0x422bcc['push'](_0x422bcc['shift']());}}}(_0x1188,0x7d596));import{View as _0x44b46b,ListItemView as _0x2a3e73,ListView as _0x47cc55,BalloonPanelView as _0x25c601,DropdownMenuPanelPositioningFunctions as _0x5cf0c5,DropdownMenuButtonView as _0x27f57d,ViewCollection as _0x426159,FocusCycler as _0x5caf06}from'ckeditor5/src/ui.js';function _0x588e(_0x11962a,_0x1a1126){const _0x1188bf=_0x1188();return _0x588e=function(_0x588e32,_0x4f15bf){_0x588e32=_0x588e32-0x12d;let _0xddbf21=_0x1188bf[_0x588e32];return _0xddbf21;},_0x588e(_0x11962a,_0x1a1126);}import{IconAIQuickActions as _0x4764de}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x58ad05,KeystrokeHandler as _0x40b34d}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x16ea81}from'./aiquickactionsbuttoncreator.js';const Ls=_0x24de43(0x135),Ns=_0x24de43(0x146);export class AIQuickActionsDropdownContentView extends _0x44b46b{[_0x24de43(0x15e)];[_0x24de43(0x14d)];[_0x24de43(0x14f)];[_0x24de43(0x179)];[_0x24de43(0x133)];[_0x24de43(0x17d)];[_0x24de43(0x177)]=new Set();constructor(_0x142cbb,_0x5ea2a9,_0x29e194,_0x12d052){const _0x229dd1=_0x24de43,_0x54e82d=_0x142cbb[_0x229dd1(0x15c)];super(_0x54e82d),this[_0x229dd1(0x15e)]=_0x12d052;const _0x196508=this[_0x229dd1(0x12f)](_0x142cbb,_0x5ea2a9,_0x29e194);this[_0x229dd1(0x14d)]=new _0x47cc55(_0x54e82d),this[_0x229dd1(0x14d)][_0x229dd1(0x176)]=Ls,this[_0x229dd1(0x14d)][_0x229dd1(0x162)][_0x229dd1(0x161)](_0x196508),this[_0x229dd1(0x14f)]=new _0x58ad05(),this[_0x229dd1(0x179)]=new _0x40b34d(),this[_0x229dd1(0x133)]=_0x196508,this[_0x229dd1(0x17d)]=new _0x5caf06({'focusables':this[_0x229dd1(0x133)],'focusTracker':this[_0x229dd1(0x14f)],'keystrokeHandler':this[_0x229dd1(0x179)]}),this[_0x229dd1(0x13d)]({'tag':_0x229dd1(0x14e),'attributes':{'class':['ck',_0x229dd1(0x175),_0x229dd1(0x144),_0x229dd1(0x17c)],'dir':_0x54e82d[_0x229dd1(0x174)]},'children':[this[_0x229dd1(0x14d)]]});}[_0x24de43(0x12f)](_0xae1776,_0x3964b2,_0x4f215a){const _0x2c149e=_0x24de43,_0x16bc2e=new _0x426159();return _0x3964b2[_0x2c149e(0x151)](_0x4bce00=>{const _0x45e0b0=_0x2c149e;_0x45e0b0(0x14b)in _0x4bce00?_0x16bc2e[_0x45e0b0(0x158)](this[_0x45e0b0(0x157)](_0xae1776,_0x4bce00,_0x4f215a)):_0x16bc2e[_0x45e0b0(0x158)](this[_0x45e0b0(0x16a)](_0xae1776,_0x4bce00));}),_0x16bc2e;}[_0x24de43(0x16a)](_0x53c011,_0x6be530){const _0x4f4773=_0x24de43,_0x2c8596=new _0x2a3e73(this[_0x4f4773(0x15c)]),_0x4c6c1c=_0x16ea81(_0x53c011,_0x6be530,!0x0,void 0x0!==_0x6be530[_0x4f4773(0x132)])();return _0x2c8596[_0x4f4773(0x16b)][_0x4f4773(0x158)](_0x4c6c1c),_0x2c8596;}[_0x24de43(0x157)](_0x2b24d7,_0x369f08,_0x18724c){const _0x306cfc=_0x24de43,_0x139635=new _0x2a3e73(this[_0x306cfc(0x15c)]),_0x5f0e33=new _0x27f57d(this[_0x306cfc(0x15c)]),_0x4dd231=_0x5f0e33[_0x306cfc(0x148)],_0x3ab1b0=_0x306cfc(0x15b)===_0x18724c[_0x306cfc(0x15c)][_0x306cfc(0x174)]?_0x306cfc(0x145):_0x306cfc(0x164),_0x302d8e=this[_0x306cfc(0x159)](_0x2b24d7,_0x369f08[_0x306cfc(0x14b)],_0x18724c);_0x5f0e33[_0x306cfc(0x16d)]({'label':_0x369f08[_0x306cfc(0x140)],'withText':!0x0,'role':Ns,'icon':_0x369f08[_0x306cfc(0x132)]??_0x4764de}),_0x5f0e33[_0x306cfc(0x15d)]({'on':{'mouseenter':_0x4dd231['to'](()=>{const _0xd32b54=_0x306cfc;_0x5f0e33[_0xd32b54(0x16e)]();})}});const _0x251040=new _0x25c601(this[_0x306cfc(0x15c)]);return _0x251040[_0x306cfc(0x15d)]({'attributes':{'class':['ck',_0x306cfc(0x175),_0x306cfc(0x156),_0x306cfc(0x138)]},'on':{'keydown':_0x4dd231['to'](_0x100e72=>{const _0x15d1b4=_0x306cfc;_0x100e72[_0x15d1b4(0x12d)]==_0x3ab1b0&&(_0x5f0e33[_0x15d1b4(0x16e)](),this[_0x15d1b4(0x154)](_0x251040));})}}),_0x5f0e33[_0x306cfc(0x166)](_0x306cfc(0x171))['to'](_0x251040,_0x306cfc(0x142)),this[_0x306cfc(0x15e)][_0x306cfc(0x158)](_0x251040),_0x251040[_0x306cfc(0x136)][_0x306cfc(0x158)](_0x302d8e),this[_0x306cfc(0x165)](_0x5f0e33,_0x251040),_0x139635[_0x306cfc(0x16b)][_0x306cfc(0x158)](_0x5f0e33),_0x139635;}[_0x24de43(0x159)](_0x3859ad,_0x2996f4,_0x3b0a45){const _0xfb2451=_0x24de43,_0x14be41=new _0x47cc55(this[_0xfb2451(0x15c)]);return _0x14be41[_0xfb2451(0x15d)]({'attributes':{'class':['ck',_0xfb2451(0x175),_0xfb2451(0x149),_0xfb2451(0x13e)]}}),_0x2996f4[_0xfb2451(0x151)](_0x29273f=>{const _0x1cd94a=_0xfb2451,_0x57f3d8=new _0x2a3e73(this[_0x1cd94a(0x15c)]),_0x42342a=_0x16ea81(_0x3859ad,_0x29273f,!0x0,!0x1)();_0x57f3d8[_0x1cd94a(0x16b)][_0x1cd94a(0x158)](_0x42342a),_0x3b0a45[_0x1cd94a(0x14f)][_0x1cd94a(0x158)](_0x42342a),_0x14be41[_0x1cd94a(0x162)][_0x1cd94a(0x158)](_0x57f3d8);}),_0x14be41;}[_0x24de43(0x165)](_0x33df70,_0x1b0346){const _0x18738e=_0x24de43,_0x4fa6ec=_0x33df70[_0x18738e(0x148)],_0x1ff24d=_0x18738e(0x15b)===_0x33df70[_0x18738e(0x15c)][_0x18738e(0x174)]?_0x18738e(0x164):_0x18738e(0x145);_0x33df70[_0x18738e(0x15d)]({'attributes':{'class':[_0x18738e(0x147)]},'on':{'mouseenter':_0x4fa6ec['to'](()=>{const _0x7de9af=_0x18738e;this[_0x7de9af(0x13f)](_0x1b0346,_0x33df70);}),'mouseleave':_0x4fa6ec['to'](_0x231d5b=>{const _0x1848ab=_0x18738e,_0x3309ee=_0x231d5b[_0x1848ab(0x150)];this[_0x1848ab(0x137)](_0x3309ee,_0x1b0346)||this[_0x1848ab(0x154)](_0x1b0346);}),'keydown':_0x4fa6ec['to'](_0x39631=>{const _0x4f6dfc=_0x18738e;_0x39631[_0x4f6dfc(0x12d)]==_0x1ff24d&&(this[_0x4f6dfc(0x13f)](_0x1b0346,_0x33df70),_0x1b0346[_0x4f6dfc(0x136)][_0x4f6dfc(0x131)](0x0)[_0x4f6dfc(0x16e)]());})}}),_0x1b0346['on'](_0x18738e(0x155),()=>{const _0xec2b32=_0x18738e;_0x1b0346[_0xec2b32(0x15a)]?.[_0xec2b32(0x130)](_0xec2b32(0x160),_0x40ba48=>{const _0x198d25=_0xec2b32,_0x22cea5=_0x40ba48[_0x198d25(0x150)];_0x33df70[_0x198d25(0x15a)]?.[_0x198d25(0x17a)](_0x22cea5)||this[_0x198d25(0x137)](_0x22cea5,_0x1b0346)||this[_0x198d25(0x154)](_0x1b0346);});});}[_0x24de43(0x13f)](_0x5a1052,_0x41767f){const _0x41e7fb=_0x24de43;this[_0x41e7fb(0x177)][_0x41e7fb(0x151)](_0x1ceed6=>{const _0xa8310=_0x41e7fb;_0x1ceed6!==_0x5a1052&&_0x1ceed6[_0xa8310(0x142)]&&_0x1ceed6[_0xa8310(0x13a)]();}),_0x5a1052[_0x41e7fb(0x13c)](),_0x5a1052[_0x41e7fb(0x172)]({'positions':[_0x5cf0c5[_0x41e7fb(0x14c)]],'target':_0x41767f[_0x41e7fb(0x15a)],'fitInViewport':!0x0}),this[_0x41e7fb(0x177)][_0x41e7fb(0x158)](_0x5a1052);}[_0x24de43(0x154)](_0x4b1893){const _0x43a066=_0x24de43;_0x4b1893[_0x43a066(0x13a)](),this[_0x43a066(0x177)][_0x43a066(0x141)](_0x4b1893);}[_0x24de43(0x170)](){const _0x2e8ee7=_0x24de43;this[_0x2e8ee7(0x177)][_0x2e8ee7(0x151)](_0x10e1b9=>_0x10e1b9[_0x2e8ee7(0x13a)]()),this[_0x2e8ee7(0x177)][_0x2e8ee7(0x152)]();}[_0x24de43(0x137)](_0x99fdb8,_0x4e52f1){const _0xdbf01c=_0x24de43;if(!_0x99fdb8)return!0x1;if(_0x4e52f1[_0xdbf01c(0x15a)]?.[_0xdbf01c(0x17a)](_0x99fdb8))return!0x0;const _0x1d671e=_0x99fdb8;return _0x1d671e[_0xdbf01c(0x139)]&&(null!==_0x1d671e[_0xdbf01c(0x139)](_0xdbf01c(0x163))||null!==_0x1d671e[_0xdbf01c(0x139)](_0xdbf01c(0x153))||null!==_0x1d671e[_0xdbf01c(0x139)](_0xdbf01c(0x178)));}[_0x24de43(0x173)](){const _0x53401f=_0x24de43;this[_0x53401f(0x170)](),this[_0x53401f(0x15e)][_0x53401f(0x17b)](),super[_0x53401f(0x173)]();}[_0x24de43(0x16e)](){const _0x16e566=_0x24de43;this[_0x16e566(0x14d)][_0x16e566(0x16e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x55e7(){const _0x481c28=['add','set','buttonView','173315aKLFfJ','156udrfmf','7rLdJAI','169346mAGvRb','1573QVATXb','panelView','55900cFQNhF','label','3090354vwzQHY','icon','children','3165288VkfxEW','locale','3562212OtGvZS','ck-ai-quick-actions-dropdown','11121696nQAfZd','21ukDBYX'];_0x55e7=function(){return _0x481c28;};return _0x55e7();}(function(_0x117568,_0x19beb4){const _0x2dad36=_0x29ee,_0x2bd990=_0x117568();while(!![]){try{const _0x104543=-parseInt(_0x2dad36(0x1e8))/0x1*(parseInt(_0x2dad36(0x1e9))/0x2)+-parseInt(_0x2dad36(0x1df))/0x3+-parseInt(_0x2dad36(0x1e7))/0x4*(-parseInt(_0x2dad36(0x1e6))/0x5)+parseInt(_0x2dad36(0x1da))/0x6+parseInt(_0x2dad36(0x1e2))/0x7*(-parseInt(_0x2dad36(0x1dd))/0x8)+parseInt(_0x2dad36(0x1e1))/0x9+-parseInt(_0x2dad36(0x1d8))/0xa*(-parseInt(_0x2dad36(0x1ea))/0xb);if(_0x104543===_0x19beb4)break;else _0x2bd990['push'](_0x2bd990['shift']());}catch(_0xb7c299){_0x2bd990['push'](_0x2bd990['shift']());}}}(_0x55e7,0xe4414));import{createDropdown as _0x4cdf1e}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x500128}from'@ckeditor/ckeditor5-icons';function _0x29ee(_0x2c81b7,_0x409974){const _0x55e79e=_0x55e7();return _0x29ee=function(_0x29ee10,_0x17efe9){_0x29ee10=_0x29ee10-0x1d7;let _0xa2b380=_0x55e79e[_0x29ee10];return _0xa2b380;},_0x29ee(_0x2c81b7,_0x409974);}import{AIQuickActionsDropdownContentView as _0x4b8109}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x26f293,_0x362d82,_0x56c336,_0x65caf1){return()=>{const _0x4a28a2=_0x29ee,_0x57b172=_0x26f293[_0x4a28a2(0x1de)],_0x5c3a9a=_0x4cdf1e(_0x57b172);_0x5c3a9a[_0x4a28a2(0x1e5)][_0x4a28a2(0x1e4)]({'icon':_0x56c336[_0x4a28a2(0x1db)]??_0x500128,'label':_0x56c336[_0x4a28a2(0x1d9)],'tooltip':!0x0}),_0x5c3a9a[_0x4a28a2(0x1e4)]({'class':_0x4a28a2(0x1e0)});const _0x28d66a=new _0x4b8109(_0x26f293,_0x362d82,_0x5c3a9a,_0x65caf1);return _0x5c3a9a[_0x4a28a2(0x1d7)][_0x4a28a2(0x1dc)][_0x4a28a2(0x1e3)](_0x28d66a),_0x5c3a9a;};}
|